/******/ (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 = "./build/index.js");
/******/ })
/************************************************************************/
/******/ ({
/***/ "./build/components/datetime.js":
/*!**************************************!*\
!*** ./build/components/datetime.js ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar flatpickr = __webpack_require__(/*! flatpickr */ \"./node_modules/.pnpm/registry.npmjs.org/flatpickr/4.6.3/node_modules/flatpickr/dist/flatpickr.js\");\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n/**\r\n * Date/Time\r\n */\n\n\nexports.DateTime = function (props) {\n // Create the date/time element\n var elDateTime = document.createElement(\"div\");\n elDateTime.className = \"date-time\"; // Create the textbox\n\n var textbox = gd_bs_1.Components.InputGroup({\n el: elDateTime,\n label: props.label\n }); // Get the options and default the values\n\n var options = props.options || {};\n options.enableTime = props.showTime;\n options.defaultDate = props.value ? new Date(props.value) : null;\n options.dateFormat = options.dateFormat || \"m-d-Y\" + (props.showTime ? \" H:i K\" : \"\"); // Apply the plugin\n\n var datetime = flatpickr(textbox.el.querySelector(\"input\"), options); // Create the element\n\n var el = document.createElement(\"div\");\n el.appendChild(elDateTime); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Return the element\n\n\n return {\n el: elDateTime,\n flatpickrObj: datetime,\n getDate: function getDate() {\n return datetime.selectedDates[0];\n },\n getValue: function getValue() {\n return textbox.getValue();\n },\n setValue: function setValue(dt, dtFormat) {\n // Default the format\n dtFormat = dtFormat || (props.options ? props.options.dateFormat : null); // Set the date/time\n\n datetime.setDate(dt, true, dtFormat);\n }\n };\n};\n\n//# sourceURL=webpack:///./build/components/datetime.js?");
/***/ }),
/***/ "./build/components/field.js":
/*!***********************************!*\
!*** ./build/components/field.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\");\n/**\r\n * Field\r\n */\n\n\nexports.Field = function (props) {\n var control;\n var lookupFieldInfo = null;\n var mmsFieldInfo = null; // Method to get the choice options\n\n var getChoiceItems = function getChoiceItems(isCheckbox, field, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the choices\n\n for (var i = 0; i < field.Choices.results.length; i++) {\n var choice = field.Choices.results[i];\n var isSelected = false; // Determine if this choice is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n // See if this choice is selected\n if (choice == selectedValues[j]) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // See if this is a checkbox\n\n\n if (isCheckbox) {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice\n });\n } else {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice,\n text: choice,\n value: choice\n });\n }\n } // See if this is a dropdown and no selected values exists, and this is a required field\n\n\n if (!isCheckbox && items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to generate the lookup dropdown items\n\n\n var getLookupItems = function getLookupItems(field, lookupItems, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the lookup items\n\n for (var i = 0; i < lookupItems.length; i++) {\n var item = lookupItems[i];\n var isSelected = false; // Determine if this lookup is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n var id = selectedValues[j] ? selectedValues[j].Id : null; // See if this choice is selected\n\n if (item.Id == id) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // Add the item\n\n\n items.push({\n isSelected: isSelected,\n text: item[field.LookupField],\n value: item.Id.toString()\n });\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to get the mms dropdown items\n\n\n var getMMSItems = function getMMSItems(term, selectedValues) {\n if (selectedValues === void 0) {\n selectedValues = [];\n }\n\n var items = []; // See if information exists\n\n if (term.info) {\n var isSelected = false; // Parse the selected values\n\n for (var i = 0; i < selectedValues.length; i++) {\n // See if this item is selected\n if (selectedValues[i] == term.info.id) {\n isSelected = true;\n break;\n }\n } // Add the heading\n\n\n items.push({\n isHeader: true,\n isSelected: isSelected,\n text: term.info.name,\n value: term.info.id\n });\n } // Parse the terms\n\n\n for (var termName in term) {\n var child = term[termName]; // Skip the info and parent properties\n\n if (termName == \"info\" || termName == \"parent\") {\n continue;\n } // Get the child items\n\n\n var childItems = getMMSItems(child, selectedValues); // Add the item\n\n items = items.concat(childItems);\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && isRequired) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Set the properties based on the field link\n\n\n var fieldLink = props.listInfo.fieldLinks ? props.listInfo.fieldLinks[props.field.InternalName] : null;\n var isReadonly = fieldLink && typeof fieldLink.ReadOnly === \"boolean\" ? fieldLink.ReadOnly : props.field.ReadOnlyField;\n var isRequired = fieldLink && typeof fieldLink.Required === \"boolean\" ? fieldLink.Required : props.field.Required; // See if this is an internal field\n\n if (props.field.CanBeDeleted == false) {\n // Override the property based on the field property\n isReadonly = isReadonly || props.field.ReadOnlyField;\n } // Set the default properties for the control\n\n\n var controlProps = {\n description: props.field.Description,\n errorMessage: props.errorMessage,\n isReadonly: isReadonly,\n label: (isRequired ? \"* \" : \"\") + props.field.Title,\n name: props.field.InternalName,\n onControlRendering: function onControlRendering(control) {\n // Execute the event\n return props.onControlRendering ? props.onControlRendering(control, props.field) : null;\n },\n onControlRendered: function onControlRendered(formControl) {\n // Save the control\n control = formControl; // Execute the event\n\n return props.onControlRendered ? props.onControlRendered(control, props.field) : null;\n },\n required: isRequired,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: props.value\n }; // See if this is a new form, a default value exists and no value has been defined\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New && props.field.DefaultValue && props.value == null) {\n // Set the default value\n controlProps.value = props.field.DefaultValue;\n } // Set the type\n\n\n var onControlRendered = null;\n var onControlRendering = null;\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Checkbox; // Create the item\n\n controlProps.items = [{\n label: controlProps.label\n }]; // Clear the label\n\n controlProps.label = \"\";\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n var displayRadioButtons = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // See if we are displaying radio buttons\n\n if (displayRadioButtons) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Switch;\n } else {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown;\n } // Get the items\n\n\n var items = getChoiceItems(displayRadioButtons, props.field, props.value); // See if this is not a required field\n\n if (!isRequired) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items;\n break;\n // Currency Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextField; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Call the event\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n var showTime_1 = props.field.DisplayFormat == gd_sprest_1.SPTypes.DateFormat.DateTime; // Set the type\n\n controlProps.type = isReadonly ? gd_bs_1.Components.FormControlTypes.Readonly : null; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // See if this field is readonly and a value exists\n\n if (props.value && isReadonly) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n } else {\n // Render a date picker\n var dt_1 = datetime_1.DateTime({\n el: control.el,\n showTime: showTime_1,\n value: control.props.value\n }); // Set the get value event\n\n control.props.onGetValue = function () {\n // Return the value\n return dt_1.getDate();\n };\n } // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // See if this field is readonly and a value exists\n if (isReadonly) {\n // Update the value\n controlProps.type = gd_bs_1.Components.FormControlTypes.Readonly; // Ensure a value exists\n\n if (props.value) {\n // Set the rendered event\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n };\n }\n } else {\n // Set the rendering event\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Display a loading message\n\n controlProps.loadingMessage = \"Loading the Lookup Data\"; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Load the field information\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n lookupFieldInfo = fieldInfo; // Update the multi property\n\n controlProps.multi = lookupFieldInfo.multi; // Get the drop down information\n\n gd_sprest_1.Helper.ListFormField.loadLookupData(lookupFieldInfo, 500).then( // Success\n function (items) {\n // Set the type\n controlProps.type = lookupFieldInfo.multi ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // Get the dropdown items\n\n var ddlItems = getLookupItems(props.field, items, props.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !lookupFieldInfo.multi) {\n // Add a blank entry\n ddlItems = [{\n text: \"\",\n value: null\n }].concat(ddlItems);\n } // Set the items\n\n\n controlProps.items = ddlItems; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the lookup field values for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the field information for field '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n controlProps.el.innerHTML = \"\";\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: \"Error loading the lookup field information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n });\n };\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var isChoice = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // Default the multi property\n\n controlProps.multi = true; // Set the type\n\n controlProps.type = isChoice ? gd_bs_1.Components.FormControlTypes.Switch : gd_bs_1.Components.FormControlTypes.MultiDropdown; // Update the value\n\n controlProps.value = (props.value ? props.value.results : null) || props.value; // Set the items\n\n controlProps.items = getChoiceItems(isChoice, props.field, props.value);\n break;\n // Note\n\n case gd_sprest_1.SPTypes.FieldType.Note:\n // Set the properties\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextArea;\n controlProps.rows = props.field.NumberOfLines;\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField = props.field;\n var numberProps = controlProps; // See if this is a percentage\n\n if (numberField.ShowAsPercentage) {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range; // Set the max value\n\n numberProps.max = numberField.MaximumValue == Number.MAX_VALUE ? 100 : numberField.MaximumValue; // Set the min value\n\n numberProps.min = numberField.MinimumValue == -1.7976931348623157e+308 ? 0 : numberField.MinimumValue; // Set the value\n\n numberProps.value = numberProps.value == null || numberProps.value == Number.MIN_VALUE ? 0 : numberProps.value;\n } // Else, see if the min/max values are defined\n else if (typeof numberField.MaximumValue == \"number\" && typeof numberField.MinimumValue == \"number\") {\n // Update the properties to display a range\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range;\n numberProps.max = numberField.MaximumValue;\n numberProps.min = numberField.MinimumValue;\n numberProps.value = typeof numberProps.value == \"number\" ? numberProps.value : numberProps.min;\n } else {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.TextField;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n var desc_1 = null;\n var url_1 = null;\n var value_1 = props.value; // See if a value exists\n\n if (props.value) {\n // Update the value\n controlProps.value = props.value.Url;\n } // Set the render event\n\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Clear the element\n\n control.el.innerHTML = \"\"; // Render the description\n\n desc_1 = gd_bs_1.Components.FormControl({\n className: \"mb-1\",\n el: control.el,\n placeholder: \"Description\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Description : null\n }); // Render the url\n\n url_1 = gd_bs_1.Components.FormControl({\n el: control.el,\n placeholder: \"Url\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Url : null\n }); // Set the get value event\n\n control.props.onGetValue = function (controlProps) {\n // Return the value\n return {\n Description: desc_1.getValue(),\n Url: url_1.getValue()\n };\n }; // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n }; // Set the validate event\n\n\n controlProps.onValidate = function (control) {\n var descValid,\n urlValid = false; // Get the form control elements\n\n var elFormControl = control.el.querySelectorAll(\".form-control\");\n var elDesc = elFormControl[0];\n var elUrl = elFormControl[1]; // See if the description exists\n\n if (elDesc) {\n // Clear the classes\n elDesc.classList.remove(\"is-invalid\");\n elDesc.classList.remove(\"is-valid\"); // Set the flag\n\n descValid = control.required ? desc_1.getValue() ? true : false : true; // Set the class\n\n elDesc.classList.add(descValid ? \"is-valid\" : \"is-invalid\");\n } // See if the url exists\n\n\n if (elUrl) {\n // Clear the classes\n elUrl.classList.remove(\"is-invalid\");\n elUrl.classList.remove(\"is-valid\"); // Set the flag\n\n urlValid = control.required ? url_1.getValue() ? true : false : true; // Set the class\n\n elUrl.classList.add(urlValid ? \"is-valid\" : \"is-invalid\");\n } // Return the flag if this field is required\n\n\n return descValid && urlValid;\n };\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Set the type\n controlProps.type = isReadonly ? gd_bs_1.Components.FormControlTypes.Readonly : peoplePicker_1.PeoplePickerControlType; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // See if this field is readonly and a value exists\n\n if (props.value && isReadonly) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n } // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n } // See if this is a taxonomy field\n\n\n if (/^TaxonomyFieldType/.test(props.field.TypeAsString)) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown; // Set a render event\n\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Display a loading message\n controlProps.loadingMessage = \"Loading the MMS Data\"; // Load the field information\n\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n mmsFieldInfo = fieldInfo; // Set the type\n\n controlProps.type = mmsFieldInfo.multi ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // Load the value field\n\n gd_sprest_1.Helper.ListFormField.loadMMSValueField(mmsFieldInfo).then( // Success\n function (valueField) {\n // Set the value field\n mmsFieldInfo.valueField = valueField; // See if this is a new form\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n var fieldValue = []; // Get the default values\n\n var values = (props.field.DefaultValue || \"\").split(\";#\");\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i].split(\"|\");\n\n if (value.length == 2) {\n // Add the term id\n fieldValue.push(value[1]);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } else {\n var fieldValue = props.value; // Get the field value\n\n var values = fieldValue && fieldValue.results ? fieldValue.results : [fieldValue]; // Clear the field values\n\n fieldValue = []; // Parse the values\n\n for (var i = 0; i < values.length; i++) {\n // Ensure the value exists\n if (values[i] && values[i].TermGuid) {\n // Add the value\n fieldValue.push(values[i].TermGuid);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } // Load the terms\n\n\n gd_sprest_1.Helper.ListFormField.loadMMSData(mmsFieldInfo).then( // Success\n function (terms) {\n // Get the items\n var items = getMMSItems(gd_sprest_1.Helper.Taxonomy.toObject(terms), controlProps.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !mmsFieldInfo.multi) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms terms for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms value field for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n }, function (msg) {\n // Display an error message\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: msg,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(msg) : null;\n });\n });\n };\n } // Return the field\n\n\n return {\n control: control,\n controlProps: controlProps,\n getValue: function getValue() {\n var fieldValue = {\n name: props.field.InternalName,\n value: control ? control.getValue() : null\n }; // Update the field name/value, based on the type\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Update the value\n fieldValue.value = fieldValue.value ? true : false;\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.Dropdown) {\n // See if there is a value\n var ddlValue = fieldValue.value;\n\n if (ddlValue) {\n // Update the field value\n fieldValue.value = ddlValue.value || ddlValue.text;\n }\n } else {\n // See if there is a value\n var cbValue = fieldValue.value;\n\n if (cbValue) {\n // Update the field value\n fieldValue.value = cbValue.label;\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value || null;\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value ? fieldValue.value.toISOString() : null;\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (lookupFieldInfo.multi) {\n var values_1 = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values_1.length; j++) {\n // Add the value\n fieldValue.value.results.push(values_1[j].value || values_1[j].text);\n }\n } else {\n // Update the field value\n fieldValue.value = fieldValue.value ? fieldValue.value.value || fieldValue.value.text : null; // Ensure a value exists, otherwise null\n\n fieldValue.value = fieldValue.value || null;\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var values = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values.length; j++) {\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.MultiDropdown) {\n // See if there is a value\n var ddlValue = values[j]; // Add the values\n\n fieldValue.value.results.push(ddlValue.value || ddlValue.text);\n } else {\n // See if there is a value\n var cbValue = values[j]; // Add the values\n\n fieldValue.value.results.push(cbValue.label);\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField = props.field; // Ensure a field value exists\n\n if (fieldValue.value) {\n // See if this is a percentage\n if (numberField.ShowAsPercentage) {\n // Update the value\n fieldValue.value = fieldValue.value / 100;\n }\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n // See if the field value exists\n if (fieldValue.value && fieldValue.value.Url) {\n // Set the url, and validate the format\n var url = fieldValue.value.Url;\n\n if (url && /^http/.test(url.toLowerCase()) == false) {\n // Update the url, otherwise the request will fail\n url = \"https://\" + url;\n } // Add the metadata\n\n\n fieldValue.value = {\n __metadata: {\n type: \"Types.SP.FieldUrlValue\"\n },\n Description: fieldValue.value.Description || \"\",\n Url: url\n };\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (props.field.AllowMultipleValues) {\n var values_2 = fieldValue.value || []; // Default the value\n\n fieldValue.value = {\n results: []\n }; // Parse the options\n\n for (var j = 0; j < values_2.length; j++) {\n var userValue = values_2[j]; // Add the field value\n\n userValue.Id ? fieldValue.value.results.push(userValue.Id) : null;\n }\n } else {\n var userValue = fieldValue.value ? fieldValue.value[0] : null; // Set the field value\n\n fieldValue.value = userValue && userValue.Id ? userValue.Id : null;\n }\n\n break;\n // MMS\n\n default:\n // See if this is a MMS field\n if (mmsFieldInfo) {\n // See if this is a multi field\n if (mmsFieldInfo.multi) {\n // Update the field name to the value field\n fieldValue.name = mmsFieldInfo ? mmsFieldInfo.valueField.InternalName : fieldValue.name + \"_0\"; // Parse the field values\n\n var fieldValues = fieldValue.value || [];\n fieldValue.value = [];\n\n for (var j = 0; j < fieldValues.length; j++) {\n var termInfo = fieldValues[j]; // Add the field value\n\n fieldValue.value.push(-1 + \";#\" + termInfo.text + \"|\" + termInfo.value);\n } // Set the field value\n\n\n fieldValue.value = fieldValue.value.join(\";#\");\n } else {\n // Update the value\n fieldValue.value = fieldValue.value && fieldValue.value.value ? {\n __metadata: {\n type: \"Types.SP.Taxonomy.TaxonomyFieldValue\"\n },\n Label: fieldValue.value.text,\n TermGuid: fieldValue.value.value,\n WssId: -1\n } : null;\n }\n }\n\n break;\n } // Return the field value\n\n\n return fieldValue;\n },\n isValid: function isValid() {\n // Validate the control\n var isValid = control ? control.isValid : false; // Call the event\n\n isValid = props.onValidate ? props.onValidate(props.field, control) : isValid; // Return the flag\n\n return isValid;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/components/field.js?");
/***/ }),
/***/ "./build/components/index.js":
/*!***********************************!*\
!*** ./build/components/index.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n\nvar listFormDialog_1 = __webpack_require__(/*! ./listFormDialog */ \"./build/components/listFormDialog.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\"); // Extend the components\n\n\ngd_bs_1.Components[\"DateTime\"] = datetime_1.DateTime;\ngd_bs_1.Components[\"Field\"] = field_1.Field;\ngd_bs_1.Components[\"ListForm\"] = listForm_1.ListForm;\ngd_bs_1.Components[\"ListFormDialog\"] = listFormDialog_1.ListFormDialog;\ngd_bs_1.Components[\"PeoplePicker\"] = peoplePicker_1.PeoplePicker; // Export the components\n\nexports[\"default\"] = gd_bs_1.Components;\n\n//# sourceURL=webpack:///./build/components/index.js?");
/***/ }),
/***/ "./build/components/listForm.js":
/*!**************************************!*\
!*** ./build/components/listForm.js ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\"); // Extend the list form\n\n\nexports.ListForm = gd_sprest_1.Helper.ListForm; // Method to get the fields to render\n\nvar getFieldsToRender = function getFieldsToRender(props) {\n var fieldNames = []; // See if the \"include\" fields property is defined\n\n if (props.includeFields) {\n // Set the field names\n fieldNames = props.includeFields;\n } else {\n // Parse the fields\n for (var fieldName in props.info.fields) {\n // See if the \"exclude\" property is set\n if (props.excludeFields) {\n var renderFl = true; // Parse the fields\n\n for (var i = 0; i < props.excludeFields.length; i++) {\n // See if we are excluding this field\n if (props.excludeFields[i] == fieldName) {\n // Set the flag\n renderFl = false;\n break;\n }\n } // Skip this field, if we are not rendering it\n\n\n if (!renderFl) {\n continue;\n }\n } // Add the field name\n\n\n fieldNames.push(fieldName);\n }\n } // Return the field names\n\n\n return fieldNames;\n}; // Method to render a display form for an item\n\n\nexports.ListForm.renderDisplayForm = function (props) {\n var form = null; // Render a loading message\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n });\n var hasUserField = false;\n var mapper = {};\n var rows = []; // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n var items = []; // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the item\n\n items.push({\n buttons: [{\n className: \"mr-1\",\n href: attachment.ServerRelativeUrl,\n isSmall: true,\n text: attachment.FileName\n }]\n });\n } // Render a toolbar\n\n\n gd_bs_1.Components.Toolbar({\n el: control.el,\n items: items\n });\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName];\n var html = props.info.fieldValuesAsHtml[fieldName] || props.info.fieldValuesAsHtml[fieldName.replace(/\\_/g, \"_x005f_\")] || \"\"; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if this is a note field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note) {\n // Update the html\n html = html.replace(/\\r?\\n/g, ' ');\n } // Else, see if this is a user field\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Set the flag\n hasUserField = true;\n } // Set the control\n\n\n mapper[fieldName] = {\n data: html,\n description: field.Description,\n isReadonly: true,\n label: field.Title,\n name: field.InternalName,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: html\n }; // Update the type, based on the field\n\n switch (field.FieldTypeKind) {\n case gd_sprest_1.SPTypes.FieldType.Note:\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.TextArea;\n break;\n } // Detect html\n\n\n if (/<*>/g.test(html)) {\n // Update the control to be read-only\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.Readonly; // Set the rendered event\n\n mapper[fieldName].onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = control.props.data;\n };\n } // Add the row\n\n\n rows.push({\n columns: [{\n control: mapper[fieldName]\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl ? mapper[refControl.name] : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n form = gd_bs_1.Components.Form({\n el: props.el,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n return props.onControlRendering ? props.onControlRendering(control, props.info.fields[control.name]) : null;\n },\n rows: props.template || rows\n }); // See if we are displaying a user field\n\n if (hasUserField) {\n // Enable the persona\n window[\"ProcessImn\"]();\n } // Return the form informaiton\n\n\n return {\n get el() {\n return form ? form.el : null;\n }\n\n };\n}; // Render the edit form\n\n\nexports.ListForm.renderEditForm = function (props) {\n var mapper = {};\n var rows = [];\n var value = {};\n var attachments = {\n \"delete\": [],\n \"new\": []\n }; // Method to add a refresh alert\n\n var addRefreshLink = function addRefreshLink() {\n // Ensure the link doesn't already exist\n if (props.el.querySelector(\".refresh-btn\")) {\n return;\n } // Create the refresh button\n\n\n var alert = gd_bs_1.Components.ButtonGroup({\n className: \"refresh-btn\",\n buttonType: gd_bs_1.Components.ButtonTypes.Danger,\n buttons: [{\n text: \"Refresh Form\",\n onClick: function onClick() {\n // Clear the element and reload the form\n props.el.innerHTML = \"\"; // Render the form\n\n exports.ListForm.renderEditForm(props);\n }\n }, {\n text: \"Refresh Page\",\n onClick: function onClick() {\n // Refresh the page\n document.location.href = document.location.href;\n }\n }]\n }); // Add the element at the top\n\n props.el.insertBefore(alert.el, props.el.children[0]);\n }; // Method to remove the attachments\n\n\n var removeAttachments = function removeAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"delete\"].length == 0) {\n resolve();\n return;\n } // Get the web\n\n\n props.info.list.ParentWeb().execute(function (web) {\n // Parse the attachments\n gd_sprest_1.Helper.Executor(attachments[\"delete\"], function (attachment) {\n // Get the attachment file\n web.getFileByServerRelativeUrl(attachment.ServerRelativeUrl)[\"delete\"]().execute(); // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n // See if this is the target attachment\n if (props.info.attachments[i].ServerRelativeUrl == attachment.ServerRelativeUrl) {\n // Remove this item\n props.info.attachments.splice(i, 1);\n break;\n }\n }\n }).then(function () {\n // Wait for the files to be deleted\n web.done(function () {\n // Clear the attachments\n attachments[\"delete\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n });\n }; // Method to save the attachments\n\n\n var saveAttachments = function saveAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"new\"].length == 0) {\n resolve();\n return;\n } // Parse the attachments\n\n\n gd_sprest_1.Helper.Executor(attachments[\"new\"], function (attachment) {\n // Get the item's attachments\n props.info.list.Items(info.item.Id).AttachmentFiles() // Add the file\n .add(attachment.name, attachment.data) // Execute the request\n .execute(function (attachment) {\n // Ensure attachments exist\n info.attachments = info.attachments || []; // Append the attachment\n\n info.attachments.push(attachment);\n });\n }).then(function () {\n // Wait for the files to upload\n props.info.list.done(function () {\n // Clear the attachments\n attachments[\"new\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n }; // Render a loading message\n\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n }); // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n // Render a toolbar\n var toolbar = gd_bs_1.Components.Toolbar({\n el: control.el,\n items: [{\n buttons: [{\n className: \"upload-btn mr-1\",\n isSmall: true,\n text: \"Upload\",\n type: gd_bs_1.Components.ButtonTypes.Secondary,\n onClick: function onClick(btn, ev) {\n var elUpload = ev.currentTarget; // Display an upload dialog\n\n gd_sprest_1.Helper.ListForm.showFileDialog().then(function (fileInfo) {\n // Get the buttons and remove any duplicates\n var buttons = elUpload.parentElement.querySelectorAll(\".btn\");\n\n for (var i = 0; i < buttons.length; i++) {\n var button = buttons[i]; // See if this is the associated button\n\n if (button.innerText.replace(/X$/, '') == fileInfo.name) {\n // Get the badge\n var badge = button.querySelector(\".badge\");\n\n if (badge) {\n // Remove the button\n badge.click();\n }\n\n break;\n }\n } // Save the file information\n\n\n attachments[\"new\"].push(fileInfo); // Append the attachment\n\n elUpload.parentElement.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: fileInfo.name\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: fileInfo,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var fileName = btn.data.name; // Parse the array\n\n for (var i = 0; i < attachments[\"new\"].length; i++) {\n // See if this is the target attachment\n if (attachments[\"new\"][i].name == fileName) {\n // Remove this attachment\n attachments[\"new\"].splice(i, 1);\n break;\n }\n } // Get the files\n\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i = 0; i < files.length; i++) {\n var file = files[i]; // See if this is the target button\n\n if (file.innerText == fileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n });\n }\n }]\n }]\n }); // Get the button group\n\n var btnGroup = toolbar.el.querySelector(\".btn-group\");\n\n if (btnGroup) {\n // Parse the attachments\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the attachment\n\n btnGroup.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: attachment.FileName\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: attachment,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var attachment = btn.data; // Add this file for deletion\n\n attachments[\"delete\"].push(attachment); // Get the files\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i_1 = 0; i_1 < files.length; i_1++) {\n var file = files[i_1]; // See if this is the target button\n\n if (file.innerText == attachment.FileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n }\n }\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName]; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if the item exists\n\n\n value[fieldName] = null;\n\n if (props.info.item) {\n // Set the value\n value[fieldName] = props.info.item[fieldName]; // See if this is a lookup or user field\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Lookup || field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Update the value\n value[fieldName] = value[fieldName + \"Id\"] || (value[fieldName] ? value[fieldName].Id : null) || value[fieldName];\n }\n } // See if this is an edit form\n\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.Edit) {\n // See if we are hiding the field\n if (field.SchemaXml.indexOf('ShowInEditForm=\"FALSE\"') > 0) {\n continue;\n }\n } // See if this is a display form\n\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.Display) {\n // See if we are hiding the field\n if (field.SchemaXml.indexOf('ShowInDisplayForm=\"FALSE\"') > 0) {\n continue;\n }\n } // See if this is a new form\n\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n // See if we are hiding the field\n if (field.SchemaXml.indexOf('ShowInNewForm=\"FALSE\"') > 0) {\n continue;\n }\n } // See if this is a read-only field\n\n\n if (field.ReadOnlyField) {\n // Do not render in the new form\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n continue;\n }\n } // Do not render a hidden taxonomy field\n\n\n if (field.Hidden && field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note && /_0$/.test(field.Title)) {\n continue;\n } // See if this is an invalid field type\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Invalid) {\n // Ensure it's not a taxonomy field\n if (!/^TaxonomyFieldType/.test(field.TypeAsString)) {\n continue;\n }\n } // Else, see if this is a calculated column\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Calculated) {\n // Do not render in the new/edit forms\n if (props.controlMode != gd_sprest_1.SPTypes.ControlMode.Display) {\n continue;\n }\n } // Create the control\n\n\n var fieldControl = field_1.Field({\n controlMode: props.controlMode,\n field: field,\n listInfo: props.info,\n value: value[fieldName],\n onControlRendered: function onControlRendered(control, field) {\n // Update the mapper\n mapper[field.InternalName].control = control;\n },\n onValidate: props.onValidate,\n onError: function onError(msg) {\n // Add the refresh link\n addRefreshLink(); // Call the event\n\n props.onError ? props.onError(msg) : null;\n }\n }); // Update the mapper\n\n mapper[fieldName] = fieldControl; // Add the row\n\n rows.push({\n columns: [{\n control: fieldControl.controlProps\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl && mapper[refControl.name] ? mapper[refControl.name].controlProps : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n var form = gd_bs_1.Components.Form({\n el: props.el,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n var updateReadOnly = function updateReadOnly(control) {\n // See if this control is readonly\n if (control.isReadonly) {\n var html_1 = props.info.fieldValuesAsHtml[field.InternalName]; // Update the control properties\n\n control.type = gd_bs_1.Components.FormControlTypes.Readonly; // Detect html\n\n if (/<*>/g.test(html_1)) {\n // Update the control properties\n control.data = html_1;\n } // Set the rendered event\n\n\n control.onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = html_1 || control.props.value;\n }; // See if this is a user field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User && window[\"ProcessImn\"]) {\n // Enable the persona\n window[\"ProcessImn\"]();\n }\n }\n }; // Execute the rendering event\n\n\n var field = props.info.fields[control.name];\n var returnVal = props.onControlRendering ? props.onControlRendering(control, field) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the event to complete\n returnVal.then(function (ctrlProps) {\n // Update the properties\n updateReadOnly(ctrlProps || control);\n });\n } else {\n // Update the properties\n updateReadOnly(control);\n }\n },\n rows: props.template || rows,\n value: value\n }); // Method to get the values\n\n var getValues = function getValues() {\n var values = {}; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Get the form field and skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Get the field value\n\n\n var fieldValue = formField.getValue(); // Set the item value\n\n values[fieldValue.name] = fieldValue.value;\n } // Return the form values\n\n\n return values;\n }; // Return the form\n\n\n return {\n appendControls: function appendControls(controls) {\n form.appendControls(controls);\n },\n appendRows: function appendRows(rows) {\n form.appendRows(rows);\n },\n el: form.el,\n getControl: function getControl(fieldName) {\n return mapper[fieldName] ? mapper[fieldName].control : null;\n },\n getValues: getValues,\n isValid: function isValid() {\n var isValid = true; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Validate the form field and update the status flag\n\n\n var controlIsValid = formField.isValid();\n isValid = isValid && controlIsValid;\n } // Return the flag\n\n\n return isValid;\n },\n save: function save() {\n var onSaving = function onSaving(values) {\n return new Promise(function (resolve) {\n // See if a save event exists\n var returnVal = props.onSaving ? props.onSaving(values) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (newValues) {\n // Resolve the promise\n resolve(newValues || values);\n });\n } else {\n // Resolve the promise\n resolve(values);\n }\n });\n }; // Return a promise\n\n\n return new Promise(function (resolve, reject) {\n // Call the saving event\n onSaving(getValues()).then(function (values) {\n // Update the item\n exports.ListForm.saveItem(props.info, values).then(function (info) {\n // Remove the attachments\n removeAttachments(info).then(function () {\n // Save the attachments\n saveAttachments(info).then(function () {\n // Update the info\n props.info = info; // Resolve the promise\n\n resolve(props.info.item);\n });\n });\n }, reject);\n });\n });\n }\n };\n};\n\n//# sourceURL=webpack:///./build/components/listForm.js?");
/***/ }),
/***/ "./build/components/listFormDialog.js":
/*!********************************************!*\
!*** ./build/components/listFormDialog.js ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n/**\r\n * List Form Dialog\r\n */\n\n\nexports.ListFormDialog = function (props) {\n var form = null;\n var modalProps = props.modalProps || {}; // Method to save the form\n\n var saveForm = function saveForm() {\n // Hide the form\n form.el.classList.add(\"d-none\"); // Hide the footer\n\n elFooter.classList.add(\"d-none\"); // Add a progress\n\n var progress = gd_bs_1.Components.Progress({\n el: form.el.parentElement,\n isAnimated: true,\n isStriped: true,\n size: 100\n }).el; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Ensure the form is valid\n if (!form.isValid()) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Reject the promise\n\n reject(\"Form is invalid\"); // Return\n\n return;\n } // Save the form\n\n\n form.save().then(function (item) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Call the save event\n\n props.onSaved ? props.onSaved(item) : null; // Resolve the promise\n\n resolve(item);\n }, reject);\n });\n }; // Update the properties\n\n\n modalProps.el = modalProps.el || props.el;\n modalProps.title = modalProps.title || props.listName;\n modalProps.body = gd_bs_1.Components.Progress({\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form...\",\n size: 100\n }).el.outerHTML; // Set the on render event\n\n modalProps.onRenderBody = function (el) {\n // Create an instance of the list form\n listForm_1.ListForm.create({\n excludeFields: props.excludeFields,\n fields: props.fields,\n item: props.item,\n itemId: props.itemId,\n listName: props.listName,\n loadAttachments: props.loadAttachments,\n query: props.query,\n webUrl: props.webUrl\n }).then( // Success\n function (info) {\n // Clear the modal body\n el.innerHTML = \"\"; // Ensure the item exists, otherwise default to the new form\n\n var controlMode = props.item || props.itemId > 0 ? props.controlMode : gd_sprest_1.SPTypes.ControlMode.New; // Check the control mode\n\n switch (controlMode) {\n // Edit Form\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Render the list form\n form = listForm_1.ListForm.renderEditForm({\n controlMode: props.controlMode,\n el: el,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n onSaving: props.onSaving,\n info: info,\n template: props.template\n });\n break;\n // Default - Display Form\n\n default:\n // Render the list form\n listForm_1.ListForm.renderDisplayForm({\n el: el,\n info: info,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n template: props.template\n });\n break;\n } // Display the actions\n\n\n elFooter.classList.remove(\"d-none\");\n }, // Error\n function () {\n // Log the error\n console.error(\"Error loading the list form information.\"); // Clear the modal\n\n el.innerHTML = \"\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: el,\n content: \"Error loading the list form information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n });\n });\n }; // Set the render footer event\n\n\n modalProps.onRenderFooter = function (el) {\n // Parse the actions\n var actions = props.actions || null;\n\n if (actions == null) {\n // Default the actions based on the control mode\n switch (props.controlMode) {\n // Edit\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Update\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // New\n\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Save\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // Default - Display\n\n default:\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }]\n };\n break;\n }\n } // Set the element\n\n\n actions.el = el; // Render the toolbar\n\n gd_bs_1.Components.Toolbar(actions);\n }; // Create the dialog\n\n\n var dialog = gd_bs_1.Components.Modal(modalProps); // Hide the actions\n\n var elFooter = dialog.el.querySelector(\".modal-footer\");\n elFooter.classList.add(\"d-none\"); // Add the class name\n\n dialog.el.classList.add(\"listformdialog\"); // Set the save method\n\n form == null ? null : dialog.saveForm = saveForm; // See if we are displaying it by default\n\n if (props.visible) {\n // Display the dialog\n dialog.show();\n } // Return the dialog\n\n\n return dialog;\n};\n\n//# sourceURL=webpack:///./build/components/listFormDialog.js?");
/***/ }),
/***/ "./build/components/peoplePicker.js":
/*!******************************************!*\
!*** ./build/components/peoplePicker.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n/**\r\n * People Picker\r\n */\n\n\nexports.PeoplePicker = function (props) {\n var _filterText = null;\n var _users = []; // Method to add a user\n\n var addUser = function addUser(userInfo) {\n var user = typeof userInfo === \"string\" ? JSON.parse(userInfo) : userInfo; // Adds the button\n\n var addButton = function addButton(userInfo) {\n // See if the picker is read only\n if (props.readOnly) {\n // Render a button\n gd_bs_1.Components.Button({\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title\n });\n } else {\n // Render a button\n var btn_1 = gd_bs_1.Components.Button({\n data: userInfo,\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title,\n badge: {\n className: \"ml-2\",\n content: \"×\",\n isPill: true,\n type: gd_bs_1.Components.BadgeTypes.Light,\n onClick: function onClick() {\n // Remove the button\n elSelectedUsers.removeChild(btn_1.el);\n }\n }\n }); // Set the data attribute\n\n btn_1.el.setAttribute(\"data-user\", JSON.stringify(userInfo.stringify()));\n }\n }; // See if we are allowing multiple users\n\n\n var allowMultple = typeof props.multi == \"boolean\" ? props.multi : false;\n\n if (!allowMultple) {\n // Remove existing users\n while (elSelectedUsers.firstChild) {\n elSelectedUsers.removeChild(elSelectedUsers.firstChild);\n }\n } // Ensure this is a user object\n\n\n if (user.EntityData) {\n // Ensure the group or user id is set\n if (user.EntityData.SPGroupID) {\n // Find the user by id\n gd_sprest_1.Web().SiteGroups(parseInt(user.EntityData.SPGroupID)).execute(function (group) {\n // Add the button\n addButton(group);\n });\n } else if (user.EntityData.SPUserID) {\n // Find the user by id\n gd_sprest_1.Web().getUserById(parseInt(user.EntityData.SPUserID)).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n } else {\n // Find the user\n gd_sprest_1.Web().ensureUser(user.Key).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n }, addButton);\n }\n } else {\n // Find the user by id\n gd_sprest_1.Web().getUserById(user).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n }\n }; // Method to search for the users\n\n\n var searchUsers = function searchUsers(el, searchText, searchAll) {\n if (searchAll === void 0) {\n searchAll = true;\n } // Ensure 3 characters exist\n\n\n if (_filterText.length > 2) {\n // Search for the user\n gd_sprest_1.PeoplePicker().clientPeoplePickerSearchUser({\n MaximumEntitySuggestions: 15,\n PrincipalSource: searchAll ? gd_sprest_1.SPTypes.PrincipalSources.All : gd_sprest_1.SPTypes.PrincipalSources.UserInfoList,\n PrincipalType: props.allowGroups ? gd_sprest_1.SPTypes.PrincipalTypes.All : gd_sprest_1.SPTypes.PrincipalTypes.User,\n QueryString: _filterText\n }).execute(function (search) {\n // Ensure the search text matches\n if (_filterText != searchText) {\n return;\n } // Clear the users results\n\n\n _users = []; // Set the menu header\n\n el.innerHTML = '
Search Results for \"' + searchText + '\"
';\n el.innerHTML += ''; // See if no users were found\n\n if (search.ClientPeoplePickerSearchUser.length == 0) {\n // Add a message\n el.innerHTML += '
No results were found...
';\n return;\n } // Parse the users\n\n\n for (var i = 0; i < search.ClientPeoplePickerSearchUser.length; i++) {\n var exists = false;\n var user = search.ClientPeoplePickerSearchUser[i]; // Save the user\n\n _users.push(user); // Parse the selected users\n\n\n for (var j = 0; j < elSelectedUsers.children.length; j++) {\n var userInfo = JSON.parse(elSelectedUsers.children[j].getAttribute(\"data-user\")); // See if this user is already selected\n\n if (exists = user.Key == userInfo.Key) {\n break;\n }\n } // Ensure the user isn't already selected\n\n\n if (exists) {\n continue;\n } // Create the item\n\n\n var elItem = document.createElement(\"a\");\n elItem.className = \"dropdown-item\";\n elItem.href = \"#\";\n elItem.innerHTML = user.DisplayText;\n elItem.setAttribute(\"data-user\", JSON.stringify(user));\n el.appendChild(elItem); // Set the click event\n\n elItem.addEventListener(\"click\", function (ev) {\n var userInfo = ev.currentTarget.getAttribute(\"data-user\"); // Add the user\n\n addUser(userInfo); // Hide the menu\n\n elMenu.classList.remove(\"show\"); // Clear the search text\n\n elTextbox.querySelector(\"input\").value = \"\";\n });\n }\n });\n }\n }; // Method to set the value\n\n\n var setValue = function setValue(selectedUsers) {\n if (selectedUsers === void 0) {\n selectedUsers = [];\n } // Clear the selected users\n\n\n elSelectedUsers.innerHTML = \"\"; // Parse the selected users\n\n for (var i = 0; i < selectedUsers.length; i++) {\n // Add the user\n addUser(selectedUsers[i]);\n }\n }; // Create the people picker\n\n\n var elPeoplePicker = document.createElement(\"div\");\n elPeoplePicker.className = \"people-picker\"; // Add the selected users\n\n var elSelectedUsers = document.createElement(\"div\");\n elSelectedUsers.style.position = \"relative\";\n elPeoplePicker.appendChild(elSelectedUsers); // Create the textbox\n\n var elTextbox = gd_bs_1.Components.InputGroup({\n placeholder: props.placeholder == null ? \"Search\" : props.placeholder,\n onChange: function onChange(searchText) {\n // See if a value exists\n if (searchText) {\n // Set the filter text\n _filterText = searchText; // Set the header\n\n elMenu.innerHTML = ['
'].join('\\n'); // Show the dropdown\n\n if (!elMenu.classList.contains(\"show\")) {\n elMenu.classList.add(\"show\");\n } // Wait 500ms before searching\n\n\n setTimeout(function () {\n // Ensure the filters match\n if (searchText == _filterText) {\n // Search for the users\n searchUsers(elMenu, searchText, props.searchLocal ? false : true);\n }\n }, 500);\n } else {\n // Hide the dropdown\n if (elMenu.classList.contains(\"show\")) {\n elMenu.classList.remove(\"show\");\n }\n }\n }\n }).el;\n props.readOnly ? elTextbox.classList.add(\"d-none\") : null;\n elPeoplePicker.appendChild(elTextbox); // Add the dropdown menu\n\n var elMenu = document.createElement(\"div\");\n elMenu.className = \"dropdown-menu\";\n elMenu.style.position = \"relative\";\n elPeoplePicker.appendChild(elMenu); // Set the value and ensure it's a \n\n var value = props.value || [];\n\n if (_typeof(props.value) != \"object\") {\n // Set the default selected users\n setValue([value]);\n } else {\n // See if this is a user object\n var userValue = value;\n\n if (userValue.EntityData) {\n // Set the value\n value = userValue.EntityData.SPGroupID || userValue.EntityData.SPUserID; // Set the default selected users\n\n setValue([value]);\n } else {\n // Set the default selected users\n setValue(value);\n }\n } // Create the element\n\n\n var el = document.createElement(\"div\");\n el.appendChild(elPeoplePicker); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Return the people picker\n\n\n return {\n el: elPeoplePicker,\n getValue: function getValue() {\n var selectedUsers = []; // Parse the selected users\n\n for (var i = 0; i < elSelectedUsers.children.length; i++) {\n var userInfo = JSON.parse(elSelectedUsers.children[i].getAttribute(\"data-user\"));\n var user = gd_sprest_1.Helper.parse(userInfo); // Add this user\n\n selectedUsers.push(user);\n } // Return the value\n\n\n return selectedUsers;\n },\n setValue: setValue\n };\n}; // Customize the form control\n\n\nexports.PeoplePickerControlType = 100;\ngd_bs_1.Components.FormControlTypes[\"PeoplePicker\"] = exports.PeoplePickerControlType;\ngd_bs_1.Components.CustomControls.registerType(exports.PeoplePickerControlType, function (props) {\n var picker = null; // Set the created method\n\n var onRendered = props.onControlRendered;\n\n props.onControlRendered = function (ctrl) {\n // Render a people picker\n picker = exports.PeoplePicker({\n allowGroups: props.allowGroups,\n className: props.className,\n el: ctrl.el,\n label: props.label,\n multi: props.multi,\n readOnly: props.isReadonly,\n searchLocal: props.searchLocal,\n value: props.value\n }); // Call the custom render event\n\n onRendered ? onRendered(ctrl) : null;\n }; // Register a people picker\n\n\n props.onGetValue = function () {\n // Return the value\n return picker.getValue();\n };\n});\n\n//# sourceURL=webpack:///./build/components/peoplePicker.js?");
/***/ }),
/***/ "./build/index.js":
/*!************************!*\
!*** ./build/index.js ***!
\************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nfunction __export(m) {\n for (var p in m) {\n if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n }\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n}); // The bootstrap library\n\n__export(__webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\")); // The SharePoint library\n\n\n__export(__webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\")); // SharePoint bootstrap components/webparts\n\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nexports.Icons = gd_bs_1.Icons;\nexports.IconTypes = gd_bs_1.IconTypes;\n\nvar components_1 = __webpack_require__(/*! ./components */ \"./build/components/index.js\");\n\nexports.Components = components_1[\"default\"];\n\nvar WebParts = __webpack_require__(/*! ./webparts */ \"./build/webparts/index.js\");\n\nexports.WebParts = WebParts; // Styling\n\n__webpack_require__(/*! ./styles */ \"./build/styles.js\"); // Ensure the global variable exists\n\n\nvar $REST = window && window[\"$REST\"];\n\nif ($REST) {\n // Update the $REST global variable\n $REST.Components = components_1[\"default\"];\n $REST.IconTypes = gd_bs_1.IconTypes;\n $REST.Icons = gd_bs_1.Icons;\n $REST.WebParts = WebParts;\n} // Ensure the SP library exists\n\n\nif (window[\"SP\"] && window[\"SP\"].SOD) {\n // Notify waiting scripts\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs\") : null;\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs.js\") : null;\n}\n\n//# sourceURL=webpack:///./build/index.js?");
/***/ }),
/***/ "./build/styles.js":
/*!*************************!*\
!*** ./build/styles.js ***!
\*************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n!function (e) {\n var t = {};\n\n function r(a) {\n if (t[a]) return t[a].exports;\n var n = t[a] = {\n i: a,\n l: !1,\n exports: {}\n };\n return e[a].call(n.exports, n, n.exports, r), n.l = !0, n.exports;\n }\n\n r.m = e, r.c = t, r.d = function (e, t, a) {\n r.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: a\n });\n }, r.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, r.t = function (e, t) {\n if (1 & t && (e = r(e)), 8 & t) return e;\n if (4 & t && \"object\" == _typeof(e) && e && e.__esModule) return e;\n var a = Object.create(null);\n if (r.r(a), Object.defineProperty(a, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var n in e) {\n r.d(a, n, function (t) {\n return e[t];\n }.bind(null, n));\n }\n return a;\n }, r.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e[\"default\"];\n } : function () {\n return e;\n };\n return r.d(t, \"a\", t), t;\n }, r.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, r.p = \"\", r(r.s = 1);\n}([function (e, t, r) {\n \"use strict\";\n\n e.exports = function (e) {\n var t = [];\n return t.toString = function () {\n return this.map(function (t) {\n var r = function (e, t) {\n var r = e[1] || \"\",\n a = e[3];\n if (!a) return r;\n\n if (t && \"function\" == typeof btoa) {\n var n = (o = a, p = btoa(unescape(encodeURIComponent(JSON.stringify(o)))), l = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(p), \"/*# \".concat(l, \" */\")),\n i = a.sources.map(function (e) {\n return \"/*# sourceURL=\".concat(a.sourceRoot || \"\").concat(e, \" */\");\n });\n return [r].concat(i).concat([n]).join(\"\\n\");\n }\n\n var o, p, l;\n return [r].join(\"\\n\");\n }(t, e);\n\n return t[2] ? \"@media \".concat(t[2], \" {\").concat(r, \"}\") : r;\n }).join(\"\");\n }, t.i = function (e, r, a) {\n \"string\" == typeof e && (e = [[null, e, \"\"]]);\n var n = {};\n if (a) for (var i = 0; i < this.length; i++) {\n var o = this[i][0];\n null != o && (n[o] = !0);\n }\n\n for (var p = 0; p < e.length; p++) {\n var l = [].concat(e[p]);\n a && n[l[0]] || (r && (l[2] ? l[2] = \"\".concat(r, \" and \").concat(l[2]) : l[2] = r), t.push(l));\n }\n }, t;\n };\n}, function (e, t, r) {\n var a = r(2),\n n = r(3);\n \"string\" == typeof (n = n.__esModule ? n[\"default\"] : n) && (n = [[e.i, n, \"\"]]);\n var i = {\n insert: \"head\",\n singleton: !1\n };\n a(n, i);\n e.exports = n.locals || {};\n}, function (e, t, r) {\n \"use strict\";\n\n var a,\n n = function n() {\n return void 0 === a && (a = Boolean(window && document && document.all && !window.atob)), a;\n },\n i = function () {\n var e = {};\n return function (t) {\n if (void 0 === e[t]) {\n var r = document.querySelector(t);\n if (window.HTMLIFrameElement && r instanceof window.HTMLIFrameElement) try {\n r = r.contentDocument.head;\n } catch (e) {\n r = null;\n }\n e[t] = r;\n }\n\n return e[t];\n };\n }(),\n o = [];\n\n function p(e) {\n for (var t = -1, r = 0; r < o.length; r++) {\n if (o[r].identifier === e) {\n t = r;\n break;\n }\n }\n\n return t;\n }\n\n function l(e, t) {\n for (var r = {}, a = [], n = 0; n < e.length; n++) {\n var i = e[n],\n l = t.base ? i[0] + t.base : i[0],\n c = r[l] || 0,\n d = \"\".concat(l, \" \").concat(c);\n r[l] = c + 1;\n var s = p(d),\n f = {\n css: i[1],\n media: i[2],\n sourceMap: i[3]\n };\n -1 !== s ? (o[s].references++, o[s].updater(f)) : o.push({\n identifier: d,\n updater: u(f, t),\n references: 1\n }), a.push(d);\n }\n\n return a;\n }\n\n function c(e) {\n var t = document.createElement(\"style\"),\n a = e.attributes || {};\n\n if (void 0 === a.nonce) {\n var n = r.nc;\n n && (a.nonce = n);\n }\n\n if (Object.keys(a).forEach(function (e) {\n t.setAttribute(e, a[e]);\n }), \"function\" == typeof e.insert) e.insert(t);else {\n var o = i(e.insert || \"head\");\n if (!o) throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n o.appendChild(t);\n }\n return t;\n }\n\n var d,\n s = (d = [], function (e, t) {\n return d[e] = t, d.filter(Boolean).join(\"\\n\");\n });\n\n function f(e, t, r, a) {\n var n = r ? \"\" : a.media ? \"@media \".concat(a.media, \" {\").concat(a.css, \"}\") : a.css;\n if (e.styleSheet) e.styleSheet.cssText = s(t, n);else {\n var i = document.createTextNode(n),\n o = e.childNodes;\n o[t] && e.removeChild(o[t]), o.length ? e.insertBefore(i, o[t]) : e.appendChild(i);\n }\n }\n\n function b(e, t, r) {\n var a = r.css,\n n = r.media,\n i = r.sourceMap;\n if (n ? e.setAttribute(\"media\", n) : e.removeAttribute(\"media\"), i && btoa && (a += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i)))), \" */\")), e.styleSheet) e.styleSheet.cssText = a;else {\n for (; e.firstChild;) {\n e.removeChild(e.firstChild);\n }\n\n e.appendChild(document.createTextNode(a));\n }\n }\n\n var h = null,\n k = 0;\n\n function u(e, t) {\n var r, a, n;\n\n if (t.singleton) {\n var i = k++;\n r = h || (h = c(t)), a = f.bind(null, r, i, !1), n = f.bind(null, r, i, !0);\n } else r = c(t), a = b.bind(null, r, t), n = function n() {\n !function (e) {\n if (null === e.parentNode) return !1;\n e.parentNode.removeChild(e);\n }(r);\n };\n\n return a(e), function (t) {\n if (t) {\n if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return;\n a(e = t);\n } else n();\n };\n }\n\n e.exports = function (e, t) {\n (t = t || {}).singleton || \"boolean\" == typeof t.singleton || (t.singleton = n());\n var r = l(e = e || [], t);\n return function (e) {\n if (e = e || [], \"[object Array]\" === Object.prototype.toString.call(e)) {\n for (var a = 0; a < r.length; a++) {\n var n = p(r[a]);\n o[n].references--;\n }\n\n for (var i = l(e, t), c = 0; c < r.length; c++) {\n var d = p(r[c]);\n 0 === o[d].references && (o[d].updater(), o.splice(d, 1));\n }\n\n r = i;\n }\n };\n };\n}, function (e, t, r) {\n var a = r(0),\n n = r(4);\n (t = a(!1)).i(n), t.push([e.i, \".wp-tabs .nav>.nav-item{cursor:pointer}.wp-tabs>.is-hidden,.wp-tabs .ms-rte-wpbox.is-hidden{left:-1000vw;position:absolute;overflow:hidden}.wp-tabs{border-spacing:0px}.wp-tabs .ms-webpart-chrome-title{display:none}.wp-tabs .wp-tab{margin-bottom:0px;margin-top:0px;padding-bottom:0px;padding-top:0px}.wp-tabs .wp-tab .ms-PartSpacingVertical{display:none}.listformdialog .modal-dialog{max-width:60vw}.listformdialog .modal-dialog .modal-body{max-height:75vh;overflow-y:auto}#calendarFields.dropdown-menu{display:block;max-height:250px;position:relative;overflow-y:auto}#selectedFields.dropdown-menu{border:none;display:block;position:relative}.people-picker .btn>.badge{color:black;text-decoration:none}\\n\", \"\"]), e.exports = t;\n}, function (e, t, r) {\n (t = r(0)(!1)).push([e.i, '.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none !important;box-shadow:none !important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:\\'\\';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{/*\\n /*rtl:begin:ignore*/left:0;/*\\n /*rtl:end:ignore*/}/*\\n /*rtl:begin:ignore*/\\n/*\\n /*rtl:end:ignore*/\\n.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{/*\\n /*rtl:begin:ignore*/right:0;/*\\n /*rtl:end:ignore*/}/*\\n /*rtl:begin:ignore*/\\n/*\\n /*rtl:end:ignore*/\\n.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9;}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px;}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%;}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.15);-webkit-box-sizing:border-box;box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:\"\";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6);top:26%}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\\\\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto;}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px;}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;}.dayContainer + .dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,0.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,0.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:\"\";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}', \"\"]), e.exports = t;\n}]);\n\n//# sourceURL=webpack:///./build/styles.js?");
/***/ }),
/***/ "./build/webparts/base/helper.js":
/*!***************************************!*\
!*** ./build/webparts/base/helper.js ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Helper Methods\r\n */\n\n\nexports.Helper = {\n // Method to get the webpart\n getWebPart: function getWebPart(wpId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the current context\n var context = SP.ClientContext.get_current(); // Get the webpart from the current page\n\n var page = context.get_web().getFileByServerRelativeUrl(gd_sprest_1.ContextInfo.serverRequestPath);\n var wpMgr = page.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);\n var wpDef = wpMgr.get_webParts().getById(wpId);\n var wp = wpDef.get_webPart();\n context.load(wp, \"Properties\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n // Resolve the promise\n resolve({\n Context: context,\n Properties: wp.get_properties(),\n WebPart: wp,\n WebPartDefinition: wpDef\n });\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // Reject the promise\n\n\n reject(args[1] ? args[1].get_message() : \"\");\n });\n });\n },\n // Method to get the webpart id for a specified element\n getWebPartId: function getWebPartId(el) {\n // Loop until we find the webpart id\n while (el) {\n // See if this element contains the webpart id\n var wpId = el.getAttribute(\"webpartid\");\n\n if (wpId) {\n // Return the webpart id\n return wpId;\n } // Check the parent\n\n\n el = el.parentElement;\n } // Unable to detect\n\n\n return \"\";\n },\n // Method to render the edit form\n renderEditForm: function renderEditForm(wpInfo, formControls) {\n if (formControls === void 0) {\n formControls = [];\n }\n\n var rows = []; // Parse the controls\n\n for (var i = 0; i < formControls.length; i++) {\n // Add the control\n rows.push({\n columns: [{\n control: formControls[i]\n }]\n });\n } // Render the form\n\n\n return gd_bs_1.Components.Form({\n el: wpInfo.el.querySelector(\".wp-cfg-form\"),\n rows: rows,\n value: wpInfo.cfg\n });\n },\n // Method to save the webpart configuration\n saveConfiguration: function saveConfiguration(wpId, cfgId, wpCfg) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Update the webpart content elements\n if (exports.Helper.updateWebPartContentElements(wpId, cfgId, wpCfg)) {\n // Wiki page detected, resolve the promise and do nothing\n resolve();\n return;\n } // Get the target webpart\n\n\n exports.Helper.getWebPart(wpId).then(function (wpInfo) {\n // Get the content\n var content = wpInfo && wpInfo.Properties.get_fieldValues()[\"Content\"];\n\n if (content) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = content; // Get the configuration element and update it\n\n var elCfg = el.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Update the webpart\n\n wpInfo.Properties.set_item(\"Content\", el.innerHTML);\n wpInfo.WebPartDefinition.saveWebPartChanges();\n wpInfo.Context.load(wpInfo.WebPartDefinition); // Execute the request\n\n wpInfo.Context.executeQueryAsync( // Success\n function () {\n // Disable the edit page warning\n if (SP && SP.Ribbon && SP.Ribbon.PageState && SP.Ribbon.PageState.PageStateHandler) {\n SP.Ribbon.PageState.PageStateHandler.ignoreNextUnload = true;\n } // Refresh the page\n\n\n window.location.href = window.location.pathname + \"?DisplayMode=Design\"; // Resolve the promise\n\n resolve();\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var message = args[1].get_message(); // Log\n\n console.error(\"[gd-sprest] Error saving the configuration. \" + message); // Reject the promise\n\n reject(message);\n });\n }\n });\n });\n },\n // Method to update the configuration element\n updateConfigurationInElement: function updateConfigurationInElement(cfgId, elTarget, wpCfg) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = elTarget.value; // Get the configuration element and update it\n\n var cfg = el.querySelector(\"#\" + cfgId);\n cfg ? cfg.innerText = JSON.stringify(wpCfg) : null; // Update the value\n\n elTarget.value = el.innerHTML;\n },\n // Method to update the webpart content elements\n updateWebPartContentElements: function updateWebPartContentElements(wpId, cfgId, wpCfg) {\n // Get the webpart element\n var elWebPart = document.querySelector(\"div[webpartid='\" + wpId + \"']\");\n\n if (elWebPart) {\n var wpContent = null;\n var wpPageContent = null; // Get the associated webpart id\n\n var wpId2 = elWebPart.getAttribute(\"webpartid2\"); // Update the configuration\n\n var elCfg = elWebPart.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Parse the hidden elements on the page\n\n var hiddenElements = document.querySelectorAll(\"input[type='hidden']\");\n\n for (var i = 0; i < hiddenElements.length; i++) {\n var elHidden = hiddenElements[i]; // See if we have found the webpart content and page content hidden elements\n\n if (wpContent && wpPageContent) {\n continue;\n } // See if this is a hidden webpart content element\n\n\n if (elHidden.name && elHidden.name.indexOf(\"scriptcontent\") == elHidden.name.length - 13) {\n // See if it's for this webpart\n if (elHidden.name.indexOf(wpId2) == 0) {\n // Set the webpart content element\n wpContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpContent, wpCfg);\n } // Continue the loop\n\n\n continue;\n } // Create an element and set the inner html to the value\n\n\n var el = document.createElement(\"div\");\n el.innerHTML = elHidden.value; // See if this is a hidden field element\n\n if (el.querySelector(\"#\" + cfgId)) {\n // Set the webpart page content\n wpPageContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpPageContent, wpCfg); // Continue the loop\n\n continue;\n }\n } // Return true, if the page content exists\n\n\n return wpPageContent != null;\n } // Webpart is not in a content field\n\n\n return false;\n }\n};\n\n//# sourceURL=webpack:///./build/webparts/base/helper.js?");
/***/ }),
/***/ "./build/webparts/base/index.js":
/*!**************************************!*\
!*** ./build/webparts/base/index.js ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nfunction __export(m) {\n for (var p in m) {\n if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n }\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n__export(__webpack_require__(/*! ./helper */ \"./build/webparts/base/helper.js\"));\n\n__export(__webpack_require__(/*! ./wp */ \"./build/webparts/base/wp.js\"));\n\n__export(__webpack_require__(/*! ./wpCfg */ \"./build/webparts/base/wpCfg.js\"));\n\n//# sourceURL=webpack:///./build/webparts/base/index.js?");
/***/ }),
/***/ "./build/webparts/base/wp.js":
/*!***********************************!*\
!*** ./build/webparts/base/wp.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\n\nvar wpCfg_1 = __webpack_require__(/*! ./wpCfg */ \"./build/webparts/base/wpCfg.js\");\n/**\r\n * Web Part\r\n */\n\n\nexports.WebPart = function (props) {\n var _cfg = {};\n var _wp = null;\n /**\r\n * Method to add the help link to a script part editor.\r\n * @wpId - The webpart id.\r\n */\n\n var addHelpLink = function addHelpLink() {\n // Ensure the help properties exist\n if (props.helpProps) {\n // Get the webpart's \"Snippet\"\n var link = document.querySelector(\"div[webpartid='\" + _wp.wpId + \"'] a[title='Edit Snippet']\");\n\n if (link) {\n // Create the help link\n var helpLink = document.createElement(\"a\");\n helpLink.href = props.helpProps.url || \"#\";\n helpLink.style.paddingLeft = \"10px\";\n helpLink.setAttribute(\"role\", \"button\");\n helpLink.title = props.helpProps.title || \"Help\";\n helpLink.innerHTML = \"\" + helpLink.title + \"\";\n helpLink.target = \"_blank\"; // Append the link\n\n link.parentElement.appendChild(helpLink);\n }\n }\n };\n /**\r\n * Method to get the webpart id for a specified element\r\n * @param el - The target element.\r\n */\n\n\n var getWebPartId = function getWebPartId(el) {\n // Loop until we find the webpart id\n while (el) {\n // See if this element contains the webpart id\n var wpId = el.getAttribute(\"webpartid\");\n\n if (wpId) {\n // Return the webpart id\n return wpId;\n } // Check the parent\n\n\n el = el.parentElement;\n } // Unable to detect\n\n\n return \"\";\n };\n /**\r\n * Method to get the webpart information\r\n */\n\n\n var getWebPartInfo = function getWebPartInfo() {\n var targetInfo = {\n cfg: null,\n el: null,\n wpId: null\n }; // Ensure the element id exists\n\n if (props.elementId) {\n // Get the webpart elements\n var elements = document.querySelectorAll(\"#\" + props.elementId);\n\n for (var i = 0; i < elements.length; i++) {\n var elWebPart = elements[i]; // See if we have already configured this element\n\n if (elWebPart.getAttribute(\"data-isConfigured\")) {\n continue;\n } // Get the webpart id\n\n\n var wpId = getWebPartId(elWebPart);\n\n if (wpId) {\n // See if the configuration element exists\n var elCfg = elWebPart.parentElement.querySelector(\"#\" + props.cfgElementId);\n\n if (elCfg) {\n try {\n // Parse the configuration\n var data = elCfg.innerText.trim();\n var cfg = data.length > 0 ? JSON.parse(data) : null; // See if the webaprt id exists\n\n if (cfg && cfg.WebPartId) {\n // See if it's for this webpart\n if (cfg.WebPartId == wpId) {\n // Set the target information\n targetInfo = {\n cfg: cfg,\n el: elWebPart,\n wpId: wpId\n };\n break;\n }\n } else {\n // Set the target information\n targetInfo = {\n cfg: {\n WebPartId: wpId\n },\n el: elWebPart,\n wpId: wpId\n };\n break;\n }\n } catch (ex) {\n // Set the target information\n targetInfo = {\n cfg: {\n WebPartId: wpId\n },\n el: elWebPart,\n wpId: wpId\n }; // Log\n\n console.log(\"[bs-webpart] Error parsing the configuration for the webpart element '\" + props.cfgElementId + \"'.\");\n } // Break from the loop\n\n\n break;\n } else {\n // Set the target information\n targetInfo = {\n cfg: {\n WebPartId: wpId\n },\n el: elWebPart,\n wpId: wpId\n };\n break;\n }\n }\n } // Ensure elements were found\n\n\n if (elements.length == 0) {\n // Log\n console.log(\"[bs-webpart] Error - Unable to find the webpart element with id '\" + props.elementId + \"'.\");\n }\n } else {\n // Log\n console.log(\"[bs-webpart] The target element id is not defined.\");\n } // Ensure the target element exists\n\n\n if (targetInfo.el) {\n // Set the configuration flag\n targetInfo.el.setAttribute(\"data-isConfigured\", \"true\");\n } // Return the target information\n\n\n return targetInfo;\n };\n /**\r\n * Method to render the webpart\r\n */\n\n\n var render = function render() {\n // Get the webpart information\n _wp = getWebPartInfo();\n\n if (_wp == null || _wp.el == null) {\n // Log\n console.log(\"[bs-webpart] The target webpart element '\" + props.elementId + \"' was not found.\");\n return;\n } // Set the configuration\n\n\n _cfg = _wp.cfg; // Get the webpart element\n\n var elWebPart = _wp.wpId ? document.querySelector(\"div[webpartid='\" + _wp.wpId + \"']\") : null;\n\n if (elWebPart) {\n // Add the default bootstrap class name\n elWebPart.className += \" bs \" + (props.wpClassName || \"\");\n } // See if a class name exists\n\n\n if (props.className && _wp.el.className.indexOf(props.className) < 0) {\n // Set the class name\n _wp.el.className += \" \" + props.className;\n } // See if the page is being edited\n\n\n var returnVal = null;\n\n if (gd_sprest_1.Helper.WebPart.isEditMode()) {\n // Add the help link\n addHelpLink(); // Add the edit class name\n\n _wp.el.classList.add(\"is-edit\"); // Call the render event\n\n\n if (props.onRenderEdit) {\n // Execute the render edit event\n returnVal = props.onRenderEdit(_wp);\n } // See if we are displaying the default edit form\n else if (props.editForm) {\n // Display the edit form\n wpCfg_1.WPCfg(_cfg, _wp, props);\n }\n } else {\n // See if the configuration is defined, but has no value\n if (_wp.cfg || (props.cfgElementId || \"\").length == 0) {\n // Execute the render edit event\n returnVal = props.onRenderDisplay(_wp);\n } else {\n // Render a message\n _wp.el.innerHTML = '
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/checkboxGroup/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Class Names\r\n */\r\nvar ClassNames = /** @class */ (function () {\r\n // Constructor\r\n function ClassNames(items) {\r\n this._items = null;\r\n // Set the items\r\n this._items = items || [];\r\n }\r\n // Gets a class name by type\r\n // The enumerator value is equal to the index + 1\r\n ClassNames.prototype.getByType = function (type) { return this._items[type - 1]; };\r\n // Parse the class names\r\n ClassNames.prototype.parse = function (callback) {\r\n // Parse the items\r\n for (var i = 0; i < this._items.length; i++) {\r\n // Call the callback\r\n callback(this._items[i]);\r\n }\r\n };\r\n return ClassNames;\r\n}());\r\nexports.ClassNames = ClassNames;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/index.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/index.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar collapse = __webpack_require__(/*! bootstrap/js/dist/collapse */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/collapse.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/templates.js\");\r\n/**\r\n * Collapse\r\n */\r\nvar _Collapse = /** @class */ (function (_super) {\r\n __extends(_Collapse, _super);\r\n // Constructor\r\n function _Collapse(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n // Create the collapse\r\n _this._bootstrapObj = new collapse(_this.el, _this.props.options);\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Collapse.prototype.configure = function () {\r\n // Set the attributes\r\n this.props.id ? this.el.id = this.props.id : null;\r\n this.props.isMulti ? this.el.classList.add(\"multi-collapse\") : null;\r\n // Set the content\r\n var content = this.props.content || \"\";\r\n var body = this.el.querySelector(\".card\");\r\n if (typeof (content) === \"string\") {\r\n // Set the html\r\n body.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n body.appendChild(content);\r\n }\r\n // Execute the render event\r\n this.props.onRender ? this.props.onRender(this.props, body) : null;\r\n };\r\n /**\r\n * Bootstrap\r\n */\r\n // Disposes the collapse\r\n _Collapse.prototype.dispose = function () { this._bootstrapObj.dispose(); };\r\n // Toggles the collapse\r\n _Collapse.prototype.toggle = function () { this._bootstrapObj.toggle(); };\r\n return _Collapse;\r\n}(base_1.Base));\r\nexports.Collapse = function (props) { return new _Collapse(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/templates.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/templates.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/formItem.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/formItem.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Dropdown Form Item\r\n */\r\nvar DropdownFormItem = /** @class */ (function () {\r\n // Constructor\r\n function DropdownFormItem(props, parent) {\r\n this._el = null;\r\n this._isSelected = false;\r\n this._parent = null;\r\n this._props = null;\r\n // Save the properties\r\n this._parent = parent;\r\n this._props = props;\r\n // Configure the item\r\n this.configure();\r\n }\r\n // Configures the item\r\n DropdownFormItem.prototype.configure = function () {\r\n // See if this is a divider\r\n if (this._props.isDivider) {\r\n // Create the divider\r\n this._el = document.createElement(\"optgroup\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-divider\");\r\n }\r\n // Else, see if this is a header\r\n else if (this._props.isHeader) {\r\n // Create the header\r\n this._el = document.createElement(\"optgroup\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-header\");\r\n this._el.label = this._props.text == null ? \"\" : this._props.text;\r\n }\r\n else {\r\n // Create the option\r\n this._el = document.createElement(\"option\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.disabled = this._props.isDisabled ? true : false;\r\n this._el.innerHTML = this._props.text == null ? \"\" : this._props.text;\r\n // See if the item is selected\r\n if (this._props.isSelected) {\r\n // Select the option\r\n this._el.selected = true;\r\n }\r\n // Else, see if a value exists\r\n else if (typeof (this._parent.value) !== \"undefined\") {\r\n // Ensure it's an array\r\n var values = this._parent.value && this._parent.value.length && typeof (this._parent.value) !== \"string\" ? this._parent.value : [this._parent.value];\r\n // Parse the values\r\n for (var i = 0; i < values.length; i++) {\r\n var value = typeof (this._props.value) === \"undefined\" ? this._props.text : this._props.value;\r\n // See if this item is selected\r\n if (value == values[i]) {\r\n // Select the option\r\n this._el.selected = true;\r\n break;\r\n }\r\n }\r\n }\r\n // Set the flag\r\n this._isSelected = this._el.selected;\r\n }\r\n };\r\n Object.defineProperty(DropdownFormItem.prototype, \"el\", {\r\n /**\r\n * Public Interface\r\n */\r\n // The component HTML element\r\n get: function () { return this._el; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DropdownFormItem.prototype, \"isSelected\", {\r\n // Returns true if the item is selected\r\n get: function () { return this._isSelected; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DropdownFormItem.prototype, \"props\", {\r\n // The component properties\r\n get: function () { return this._props; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Toggles the item selection\r\n DropdownFormItem.prototype.toggle = function () {\r\n // Skip the dividers, headers\r\n if (this._props.isDivider || this._props.isHeader) {\r\n return;\r\n }\r\n // Update the selected flag\r\n this._isSelected = !this._isSelected;\r\n var option = this._el;\r\n // See if the value needs to be updated\r\n if (option.selected != this._isSelected) {\r\n // Update the option\r\n option.selected = this._isSelected;\r\n }\r\n };\r\n return DropdownFormItem;\r\n}());\r\nexports.DropdownFormItem = DropdownFormItem;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/formItem.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/index.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/index.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar dropdown = __webpack_require__(/*! bootstrap/js/dist/dropdown */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/dropdown.js\");\r\n__webpack_require__(/*! popper.js */ \"./node_modules/.pnpm/registry.npmjs.org/popper.js/1.16.1/node_modules/popper.js/dist/esm/popper.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar button_1 = __webpack_require__(/*! ../button */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/button/index.js\");\r\nvar formItem_1 = __webpack_require__(/*! ./formItem */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/formItem.js\");\r\nvar item_1 = __webpack_require__(/*! ./item */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/item.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/templates.js\");\r\n/**\r\n * Dropdown Types\r\n */\r\nvar DropdownTypes;\r\n(function (DropdownTypes) {\r\n DropdownTypes[DropdownTypes[\"Danger\"] = 1] = \"Danger\";\r\n DropdownTypes[DropdownTypes[\"Info\"] = 2] = \"Info\";\r\n DropdownTypes[DropdownTypes[\"Primary\"] = 3] = \"Primary\";\r\n DropdownTypes[DropdownTypes[\"Secondary\"] = 4] = \"Secondary\";\r\n DropdownTypes[DropdownTypes[\"Success\"] = 5] = \"Success\";\r\n DropdownTypes[DropdownTypes[\"Warning\"] = 6] = \"Warning\";\r\n})(DropdownTypes = exports.DropdownTypes || (exports.DropdownTypes = {}));\r\n// Gets the template\r\nvar GetHTML = function (props) {\r\n // See if we are rendering items for a form\r\n if (props.formFl) {\r\n return templates_1.HTMLForm;\r\n }\r\n // See if we are rendering for a nav bar\r\n if (props.navFl) {\r\n return templates_1.HTMLNav;\r\n }\r\n // See if we are rendering a split button dropdown\r\n if (props.isSplit) {\r\n return templates_1.HTMLSplit;\r\n }\r\n // Return the default template\r\n return templates_1.HTML;\r\n};\r\n/**\r\n * Dropdown\r\n * @property props - The dropdown properties.\r\n */\r\nvar _Dropdown = /** @class */ (function (_super) {\r\n __extends(_Dropdown, _super);\r\n // Constructor\r\n function _Dropdown(props) {\r\n var _this = _super.call(this, GetHTML(props), props) || this;\r\n _this._items = null;\r\n // Configure the dropdown\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n // Create the bootstrap object\r\n var elToggle = _this.el.querySelector(\"*[data-toggle='dropdown']\");\r\n _this._bootstrapObj = elToggle ? new dropdown(elToggle) : null;\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Dropdown.prototype.configure = function () {\r\n // See if this is for a form\r\n if (this.props.formFl) {\r\n // Configure the dropdown for a form\r\n this.configureForm();\r\n }\r\n // Else, see if this is for a nav bar\r\n else if (this.props.navFl) {\r\n // Configure the dropdown for a nav bar\r\n this.configureNavBar();\r\n }\r\n else {\r\n // Configure the dropdown\r\n this.configureDefault();\r\n }\r\n // Render the items\r\n this.renderItems();\r\n // See if we are only rendering a menu\r\n if (this.props.menuOnly) {\r\n // Update the element\r\n this.el = this.el.querySelector(\".dropdown-menu\");\r\n }\r\n };\r\n // Configures the dropdown\r\n _Dropdown.prototype.configureDefault = function () {\r\n // Set the attributes\r\n this.el.title = this.props.title == null ? \"\" : this.props.title;\r\n this.props.dropLeft ? this.el.classList.add(\"dropleft\") : null;\r\n this.props.dropRight ? this.el.classList.add(\"dropright\") : null;\r\n this.props.dropUp ? this.el.classList.add(\"dropup\") : null;\r\n // Set the type\r\n var btnType = button_1.ButtonClassNames.getByType(this.props.type) || button_1.ButtonClassNames.getByType(button_1.ButtonTypes.Primary);\r\n // See if this is a split button\r\n if (this.props.isSplit) {\r\n // Update a label\r\n var label = this.el.querySelector(\"button\");\r\n label.classList.add(btnType);\r\n label.disabled = this.props.isReadonly ? true : false;\r\n label.innerHTML = this.props.label == null ? \"\" : this.props.label;\r\n // Set the click event to disable the postback\r\n label.addEventListener(\"click\", function (ev) { ev.preventDefault(); });\r\n }\r\n else {\r\n // Update the label\r\n var label = this.el.querySelector(\".dropdown-toggle\");\r\n label.innerHTML = this.props.label == null ? \"\" : this.props.label;\r\n }\r\n // Update the dropdown\r\n var dropdown = this.el.querySelector(\".dropdown-toggle\");\r\n dropdown.classList.add(btnType);\r\n dropdown.disabled = this.props.isReadonly ? true : false;\r\n // See if we are rendering the menu only\r\n var menu = this.el.querySelector(\".dropdown-menu\");\r\n if (this.props.menuOnly) {\r\n // Update the menu\r\n this.props.id ? menu.id = this.props.id : null;\r\n menu.className = this.props.className ? this.props.className : \"\";\r\n menu.classList.add(\"dropdown-menu\");\r\n }\r\n else {\r\n // Update the menu\r\n this.props.id ? menu.setAttribute(\"aria-labelledby\", this.props.id) : null;\r\n }\r\n };\r\n // Configure the events\r\n _Dropdown.prototype.configureEvents = function () {\r\n var _this = this;\r\n // See if this is a select element and a change event exists\r\n var menu = this.el.querySelector(\"select\");\r\n if (menu) {\r\n // See if multiple options are allowed\r\n if (this.props.multi == true) {\r\n // Add a scroll event\r\n menu.addEventListener(\"click\", function (ev) {\r\n var selectedIdx = -1;\r\n // Get the mouse position\r\n var xPos = ev.clientX;\r\n var yPos = ev.clientY;\r\n // Parse the items\r\n for (var i = 0; i < _this._items.length; i++) {\r\n var item = _this._items[i];\r\n var itemPos = item.el.getBoundingClientRect();\r\n // See if this item was selected\r\n if (xPos >= itemPos.left && xPos <= itemPos.right &&\r\n yPos >= itemPos.top && yPos <= itemPos.bottom) {\r\n // Set the index\r\n selectedIdx = i;\r\n // Toggle the item\r\n item.toggle();\r\n // Break from the loop\r\n break;\r\n }\r\n }\r\n // See if an item was selected\r\n if (selectedIdx >= 0) {\r\n // Parse the items\r\n for (var i = 0; i < _this._items.length; i++) {\r\n var item = _this._items[i];\r\n // Skip the selected item\r\n if (selectedIdx == i) {\r\n continue;\r\n }\r\n // See if this item was selected\r\n if (item.isSelected) {\r\n // Ensure the element is still selected\r\n item.el.selected = true;\r\n }\r\n }\r\n // Call the change event\r\n _this.props.onChange ? _this.props.onChange(_this.getValue(), ev) : null;\r\n }\r\n });\r\n }\r\n else {\r\n // Add a change event\r\n menu.addEventListener(\"change\", function (ev) {\r\n // Parse the items\r\n for (var i = 0; i < _this._items.length; i++) {\r\n var item = _this._items[i];\r\n // See if this item was selected\r\n if (ev.target.value == item.props.text) {\r\n // Ensure this item is selected\r\n if (!item.isSelected) {\r\n item.toggle();\r\n }\r\n // Call the change event\r\n _this.props.onChange ? _this.props.onChange(item.props, ev) : null;\r\n }\r\n else {\r\n // Unselect the other values\r\n if (item.isSelected) {\r\n item.toggle();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n };\r\n // Configures the dropdown for a form\r\n _Dropdown.prototype.configureForm = function () {\r\n // Configure the label\r\n var elLabel = this.el.querySelector(\"label\");\r\n var label = this.props.label == null ? \"\" : this.props.label;\r\n if (label) {\r\n // Set the label\r\n elLabel.innerHTML = label;\r\n }\r\n else {\r\n // Remove the label\r\n elLabel.remove();\r\n }\r\n // Update the dropdown\r\n var dropdown = this.el.querySelector(\"select\");\r\n dropdown.className = this.props.className || \"\";\r\n dropdown.classList.add(\"form-control\");\r\n dropdown.disabled = this.props.isReadonly ? true : false;\r\n dropdown.multiple = this.props.multi ? true : false;\r\n dropdown.title = this.props.title == null ? \"\" : this.props.title;\r\n };\r\n // Configure the item events\r\n _Dropdown.prototype.configureItemEvents = function (item) {\r\n var _this = this;\r\n // Ensure this isn't a header/divider\r\n if (item.props.isDivider || item.props.isHeader) {\r\n return;\r\n }\r\n // See if multi selections is not allowed\r\n if (this.props.multi != true) {\r\n // Add a click event\r\n item.el.addEventListener(\"click\", function (ev) {\r\n // Parse the items\r\n for (var i = 0; i < _this._items.length; i++) {\r\n var selectedItem = _this._items[i];\r\n // Skip this item\r\n if (item.el.innerHTML == selectedItem.el.innerHTML) {\r\n continue;\r\n }\r\n // Ensure this item is selected\r\n if (selectedItem.isSelected) {\r\n // Unselect the item\r\n selectedItem.toggle();\r\n }\r\n }\r\n });\r\n }\r\n // See if there is a change event\r\n if (this.props.onChange) {\r\n // Add a click event\r\n item.el.addEventListener(\"click\", function (ev) {\r\n // Execute the event\r\n _this.props.onChange(_this.getValue(), ev);\r\n });\r\n }\r\n };\r\n // Configures the dropdown for a nav bar\r\n _Dropdown.prototype.configureNavBar = function () {\r\n // Update the link\r\n var link = this.el.querySelector(\"a\");\r\n link.id = \"navbarDDL_\" + (this.props.label == null ? \"\" : this.props.label);\r\n link.title = this.props.title == null ? \"\" : this.props.title;\r\n this.props.isReadonly ? link.setAttribute(\"aria-disabled\", \"true\") : null;\r\n link.innerHTML = this.props.label == null ? \"\" : this.props.label;\r\n // See if we are rendering the menu only\r\n var menu = this.el.querySelector(\".dropdown-menu\");\r\n if (this.props.menuOnly) {\r\n // Update the menu\r\n this.props.id ? menu.id = this.props.id : null;\r\n menu.className = this.props.className ? this.props.className : \"\";\r\n menu.classList.add(\"dropdown-menu\");\r\n }\r\n else {\r\n // Update the menu\r\n this.props.id ? menu.setAttribute(\"aria-labelledby\", this.props.id) : null;\r\n }\r\n };\r\n // Renders the items\r\n _Dropdown.prototype.renderItems = function () {\r\n // Clear the items\r\n this._items = [];\r\n // Get the menu\r\n var menu = this.el.querySelector(\".dropdown-menu\") || this.el.querySelector(\"select\");\r\n var isForm = menu.nodeName == \"SELECT\";\r\n // Parse the items\r\n var items = this.props.items || [];\r\n for (var i = 0; i < items.length; i++) {\r\n // Create the item\r\n var item = isForm ? new formItem_1.DropdownFormItem(items[i], this.props) : new item_1.DropdownItem(items[i], this.props);\r\n this._items.push(item);\r\n // See if this isn't for a form\r\n if (!isForm) {\r\n // Configure the item events\r\n this.configureItemEvents(item);\r\n }\r\n // Add the item to the menu\r\n menu.appendChild(item.el);\r\n }\r\n // See if this is a form\r\n if (isForm) {\r\n // Ensure the selected values match the index\r\n var idx = menu.selectedIndex;\r\n if (this._items[idx] && this._items[idx].isSelected == false) {\r\n // Select the item\r\n this._items[idx].toggle();\r\n }\r\n }\r\n };\r\n /**\r\n * Bootstrap\r\n */\r\n // Disposes the dropdown\r\n _Dropdown.prototype.dispose = function () { this._bootstrapObj ? this._bootstrapObj.dispose() : null; };\r\n // Toggles the menu\r\n _Dropdown.prototype.toggle = function () { this._bootstrapObj ? this._bootstrapObj.toggle() : null; };\r\n // Updates the dropdown\r\n _Dropdown.prototype.update = function () { this._bootstrapObj ? this._bootstrapObj.update() : null; };\r\n /**\r\n * Public Interface\r\n */\r\n // Gets the value\r\n _Dropdown.prototype.getValue = function () {\r\n var values = [];\r\n // Parse the items\r\n for (var i = 0; i < this._items.length; i++) {\r\n var item = this._items[i];\r\n // See if this item is selected\r\n if (item.isSelected) {\r\n // Add the value\r\n values.push(item.props);\r\n }\r\n }\r\n // Return the value\r\n return this.props.multi ? values : values[0];\r\n };\r\n Object.defineProperty(_Dropdown.prototype, \"isMulti\", {\r\n // Returns true if the dropdown allows multiple selections\r\n get: function () { return this.props.multi; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Sets the dropdown items\r\n _Dropdown.prototype.setItems = function (newItems) {\r\n if (newItems === void 0) { newItems = []; }\r\n // Update the properties\r\n this.props.items = newItems;\r\n // Get the menu\r\n var menu = this.el.querySelector(\".dropdown-menu\") || this.el.querySelector(\"select\");\r\n // Clear the menu\r\n while (menu.firstChild) {\r\n menu.removeChild(menu.firstChild);\r\n }\r\n // Render the items\r\n this.renderItems();\r\n };\r\n // Sets the dropdown value\r\n _Dropdown.prototype.setValue = function (value) {\r\n // Ensure it's an array\r\n var values = value == null ? [] : (typeof (value.length) === \"number\" && typeof (value) !== \"string\" ? value : [value]);\r\n // Parse the items\r\n for (var i = 0; i < this._items.length; i++) {\r\n var item = this._items[i];\r\n // Toggle checked items\r\n item.isSelected ? item.toggle() : null;\r\n }\r\n // Parse the values\r\n for (var i = 0; i < values.length; i++) {\r\n var value_1 = values[i];\r\n var ddlText = value_1 ? value_1.text || value_1 : null;\r\n var ddlValue = value_1 ? value_1.value || value_1 : null;\r\n // Parse the items\r\n for (var j = 0; j < this._items.length; j++) {\r\n var item = this._items[j];\r\n // See if this is the target item\r\n if (typeof (item.props.value) === \"undefined\") {\r\n // Select this item if the text matches\r\n item.props.text == ddlText ? item.toggle() : null;\r\n }\r\n else {\r\n // Select this item if the value matches\r\n item.props.value == ddlValue ? item.toggle() : null;\r\n }\r\n }\r\n }\r\n // See if this is a form\r\n var ddl = this.el.querySelector(\"select\");\r\n if (ddl) {\r\n // Ensure the selected values match the index\r\n if (this._items[ddl.selectedIndex] && this._items[ddl.selectedIndex].isSelected == false) {\r\n // Select the item\r\n this._items[ddl.selectedIndex].toggle();\r\n }\r\n }\r\n };\r\n return _Dropdown;\r\n}(base_1.Base));\r\nexports.Dropdown = function (props) { return new _Dropdown(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/item.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/item.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Dropdown Item\r\n */\r\nvar DropdownItem = /** @class */ (function () {\r\n // Constructor\r\n function DropdownItem(props, parent) {\r\n this._el = null;\r\n this._isSelected = false;\r\n this._parent = null;\r\n this._props = null;\r\n // Save the properties\r\n this._parent = parent;\r\n this._props = props;\r\n // Configure the item\r\n this.configure();\r\n // Configure the events\r\n this.configureEvents();\r\n }\r\n // Configures the item\r\n DropdownItem.prototype.configure = function () {\r\n // See if this is a divider\r\n if (this._props.isDivider) {\r\n // Add the divider\r\n this._el = document.createElement(\"div\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-divider\");\r\n this._props.isDisabled ? this._el.classList.add(\"disabled\") : null;\r\n }\r\n // Else, see if this is a header\r\n else if (this._props.isHeader) {\r\n // Add the header\r\n this._el = document.createElement(\"h6\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-header\");\r\n this._props.isDisabled ? this._el.classList.add(\"disabled\") : null;\r\n this._el.innerHTML = this._props.text == null ? \"\" : this._props.text;\r\n }\r\n else {\r\n // See if we are rendering this in a nav bar\r\n if (this._parent.navFl) {\r\n // Add the item\r\n this._el = document.createElement(\"a\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-item\");\r\n this._props.isDisabled ? this._el.classList.add(\"disabled\") : null;\r\n this._props.target ? this._el.setAttribute(\"data-target\", this._props.target) : null;\r\n this._props.toggle ? this._el.setAttribute(\"data-toggle\", this._props.toggle) : null;\r\n this._el.href = this._props.href || \"#\";\r\n this._el.innerHTML = this._props.text == null ? \"\" : this._props.text;\r\n }\r\n else {\r\n // Create the item\r\n this._el = document.createElement(\"a\");\r\n this._el.className = this._props.className || \"\";\r\n this._el.classList.add(\"dropdown-item\");\r\n this._props.isDisabled ? this._el.classList.add(\"disabled\") : null;\r\n this._props.target ? this._el.setAttribute(\"data-target\", this._props.target) : null;\r\n this._props.toggle ? this._el.setAttribute(\"data-toggle\", this._props.toggle) : null;\r\n this._el.href = this._props.href || \"#\";\r\n this._el.innerHTML = this._props.text == null ? \"\" : this._props.text;\r\n // See if this item is selected\r\n if (this._props.isSelected) {\r\n // Select the item\r\n this._el.classList.add(\"active\");\r\n }\r\n // Else, see if a value exists\r\n else if (typeof (this._parent.value) !== \"undefined\") {\r\n // Ensure it's an array\r\n var values = this._parent.value && this._parent.value.length && typeof (this._parent.value) !== \"string\" ? this._parent.value : [this._parent.value];\r\n // Parse the values\r\n for (var j = 0; j < values.length; j++) {\r\n var value = typeof (this._props.value) === \"undefined\" ? this._props.text : this._props.value;\r\n // See if this item is selected\r\n if (value == values[j]) {\r\n // Select the item\r\n this._el.classList.add(\"active\");\r\n break;\r\n }\r\n }\r\n }\r\n // Set the flag\r\n this._isSelected = this._el.classList.contains(\"active\");\r\n }\r\n }\r\n };\r\n // Configures the events\r\n DropdownItem.prototype.configureEvents = function () {\r\n var _this = this;\r\n // Set the click event\r\n this._el.addEventListener(\"click\", function (ev) {\r\n // Toggle the item\r\n _this.toggle();\r\n // See if there is a click event defined\r\n if (_this._props.onClick) {\r\n // Execute the event\r\n _this._props.onClick(_this._props, ev);\r\n }\r\n });\r\n };\r\n Object.defineProperty(DropdownItem.prototype, \"el\", {\r\n /**\r\n * Public Interface\r\n */\r\n // The component HTML element\r\n get: function () { return this._el; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DropdownItem.prototype, \"isSelected\", {\r\n // Returns true if the item is selected\r\n get: function () { return this._isSelected; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DropdownItem.prototype, \"props\", {\r\n // The component properties\r\n get: function () { return this._props; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Toggles the item selection\r\n DropdownItem.prototype.toggle = function () {\r\n // Skip the dividers, headers and nav items\r\n if (this._props.isDivider || this._props.isHeader || this._parent.navFl) {\r\n return;\r\n }\r\n // Update the selected flag\r\n this._isSelected = !this._isSelected;\r\n // Update the class\r\n if (this._isSelected) {\r\n // Add the active class\r\n this._el.classList.add(\"active\");\r\n }\r\n else {\r\n // Remove the active class\r\n this._el.classList.remove(\"active\");\r\n }\r\n };\r\n return DropdownItem;\r\n}());\r\nexports.DropdownItem = DropdownItem;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/item.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/templates.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/templates.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Dropdown\r\nexports.HTML = \"\\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/control.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/control.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar checkboxGroup_1 = __webpack_require__(/*! ../checkboxGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/checkboxGroup/index.js\");\r\nvar custom_1 = __webpack_require__(/*! ./custom */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/custom.js\");\r\nvar dropdown_1 = __webpack_require__(/*! ../dropdown */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/index.js\");\r\nvar inputGroup_1 = __webpack_require__(/*! ../inputGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/index.js\");\r\nvar listBox_1 = __webpack_require__(/*! ../listBox */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/index.js\");\r\n/**\r\n * Form Control\r\n */\r\nvar FormControl = /** @class */ (function () {\r\n // Constructor\r\n function FormControl(props, elLabel) {\r\n this._cb = null;\r\n this._el = null;\r\n this._elLabel = null;\r\n this._ddl = null;\r\n this._lb = null;\r\n this._tb = null;\r\n // Save the parameters\r\n this._props = props;\r\n this._elLabel = elLabel;\r\n // Create the control\r\n this.create();\r\n // Configure the control\r\n this.configure();\r\n }\r\n // Configure the control\r\n FormControl.prototype.configure = function () {\r\n // Ensure a control was created\r\n if (this.control) {\r\n // Set the element\r\n this._el = this.control.el;\r\n // See if an error message exists\r\n if (this._props.errorMessage) {\r\n // Get the group\r\n var elGroup = this._el.querySelector(\".input-group\") || this._el.querySelector(\".form-check:last-child\");\r\n if (elGroup) {\r\n // Add the error message\r\n var elErrorMessage = document.createElement(\"div\");\r\n elErrorMessage.className = \"invalid-feedback\";\r\n elErrorMessage.innerHTML = this._props.errorMessage;\r\n elGroup.appendChild(elErrorMessage);\r\n }\r\n }\r\n // See if an element was defined to render to\r\n if (this._props.el) {\r\n // Append the control to the element\r\n this._props.el.appendChild(this._el);\r\n }\r\n }\r\n };\r\n // Creates the control\r\n FormControl.prototype.create = function () {\r\n // Parse the custom classes to add\r\n var className = [(this._props.className || \"\"), (this._props.controlClassName || \"\")].join(\" \").trim();\r\n // Render the control based on the type\r\n switch (this._props.type) {\r\n // Checkbox\r\n case _1.FormControlTypes.Checkbox:\r\n var cbProps = this._props;\r\n // Add the checkbox group\r\n this._cb = checkboxGroup_1.CheckboxGroup({\r\n className: className,\r\n hideLabel: true,\r\n isInline: cbProps.isInline,\r\n isReadonly: this._props.isReadonly,\r\n items: cbProps.items,\r\n multi: cbProps.multi,\r\n onChange: cbProps.onChange,\r\n title: this._props.title,\r\n type: checkboxGroup_1.CheckboxGroupTypes.Checkbox,\r\n value: this._props.value\r\n });\r\n break;\r\n // Color Picker\r\n case _1.FormControlTypes.ColorPicker:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.ColorPicker,\r\n value: this._props.value\r\n });\r\n break;\r\n // Datalist\r\n case _1.FormControlTypes.Datalist:\r\n // Add the dropdown\r\n this._ddl = dropdown_1.Dropdown({\r\n className: className,\r\n formFl: true,\r\n isDatalist: true,\r\n isReadonly: this._props.isReadonly,\r\n items: this._props.items,\r\n onChange: this._props.onChange,\r\n title: this._props.title,\r\n value: this._props.value\r\n });\r\n break;\r\n // Dropdown\r\n case _1.FormControlTypes.Dropdown:\r\n // Add the dropdown\r\n this._ddl = dropdown_1.Dropdown({\r\n className: className,\r\n formFl: true,\r\n isReadonly: this._props.isReadonly,\r\n items: this._props.items,\r\n onChange: this._props.onChange,\r\n title: this._props.title,\r\n value: this._props.value\r\n });\r\n break;\r\n // Email\r\n case _1.FormControlTypes.Email:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.Email,\r\n value: this._props.value\r\n });\r\n break;\r\n // File\r\n case _1.FormControlTypes.File:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.File,\r\n value: this._props.value\r\n });\r\n break;\r\n // List Box\r\n case _1.FormControlTypes.ListBox:\r\n // Add the list box\r\n this._lb = listBox_1.ListBox({\r\n id: this._props.name,\r\n items: this._props.items,\r\n multi: this._props.multi,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n value: this._props.value\r\n });\r\n break;\r\n // Multi-Dropdown\r\n case _1.FormControlTypes.MultiDropdown:\r\n // Add the dropdown\r\n this._ddl = dropdown_1.Dropdown({\r\n className: className,\r\n formFl: true,\r\n isReadonly: this._props.isReadonly,\r\n items: this._props.items,\r\n multi: true,\r\n onChange: this._props.onChange,\r\n title: this._props.title,\r\n value: this._props.value\r\n });\r\n break;\r\n // Password\r\n case _1.FormControlTypes.Password:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.Password,\r\n value: this._props.value\r\n });\r\n break;\r\n // Radio\r\n case _1.FormControlTypes.Radio:\r\n // Add the checkbox group\r\n this._cb = checkboxGroup_1.CheckboxGroup({\r\n className: className,\r\n hideLabel: true,\r\n isReadonly: this._props.isReadonly,\r\n items: this._props.items,\r\n multi: this._props.multi,\r\n onChange: this._props.onChange,\r\n title: this._props.title,\r\n type: checkboxGroup_1.CheckboxGroupTypes.Radio,\r\n value: this._props.value\r\n });\r\n break;\r\n // Range\r\n case _1.FormControlTypes.Range:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n min: this._props.min || 0,\r\n max: this._props.max || 100,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n step: this._props.step,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.Range,\r\n value: this._props.value\r\n });\r\n break;\r\n // Read Only\r\n case _1.FormControlTypes.Readonly:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: true,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.TextField,\r\n value: this._props.value\r\n });\r\n break;\r\n // Switch\r\n case _1.FormControlTypes.Switch:\r\n // Add the checkbox group\r\n this._cb = checkboxGroup_1.CheckboxGroup({\r\n className: className,\r\n hideLabel: true,\r\n isReadonly: this._props.isReadonly,\r\n items: this._props.items,\r\n multi: this._props.multi,\r\n onChange: this._props.onChange,\r\n title: this._props.title,\r\n type: checkboxGroup_1.CheckboxGroupTypes.Switch,\r\n value: this._props.value\r\n });\r\n break;\r\n // Text Area\r\n case _1.FormControlTypes.TextArea:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n rows: this._props.rows,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.TextArea,\r\n value: this._props.value\r\n });\r\n break;\r\n // Text Field\r\n case _1.FormControlTypes.TextField:\r\n // Add the input\r\n this._tb = inputGroup_1.InputGroup({\r\n className: className,\r\n isReadonly: this._props.isReadonly,\r\n onChange: this._props.onChange,\r\n placeholder: this._props.placeholder,\r\n title: this._props.title,\r\n type: inputGroup_1.InputGroupTypes.TextField,\r\n value: this._props.value\r\n });\r\n break;\r\n // Custom Type\r\n default:\r\n // Create the default element\r\n this._el = document.createElement(\"div\");\r\n // See if there is a custom type\r\n var custom = custom_1.CustomControls.getByType(this._props.type);\r\n if (custom && typeof (custom) === \"function\") {\r\n // Execute the event\r\n custom(this._props);\r\n }\r\n break;\r\n }\r\n };\r\n Object.defineProperty(FormControl.prototype, \"el\", {\r\n /**\r\n * Public Interface\r\n */\r\n get: function () { return this._el; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"checkbox\", {\r\n // The checkbox control\r\n get: function () { return this._cb; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"dropdown\", {\r\n // The dropdown control\r\n get: function () { return this._ddl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"control\", {\r\n // The textbox control\r\n get: function () { return this._cb || this._ddl || this._lb || this._tb; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"listbox\", {\r\n // The listbox control\r\n get: function () { return this._lb; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"textbox\", {\r\n // The textbox control\r\n get: function () { return this._tb; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Method to get the form control value\r\n FormControl.prototype.getValue = function () {\r\n // See if there is an override event\r\n if (this._props.onGetValue) {\r\n return this._props.onGetValue(this._props);\r\n }\r\n // See if this is a checkbox\r\n if (this._cb) {\r\n // See if the items were defined\r\n if (this._props.items) {\r\n // Return the value(s)\r\n return this._cb.getValue();\r\n }\r\n // Return the value\r\n return this._cb.getValue() ? true : false;\r\n }\r\n // See if this is a dropdown\r\n if (this._ddl) {\r\n // Return the value\r\n return this._ddl.getValue();\r\n }\r\n // See if this is a list box\r\n if (this._lb) {\r\n // Return the value\r\n return this._lb.getValue();\r\n }\r\n // See if this is a textbox\r\n if (this._tb) {\r\n // Return the value\r\n return this._tb.getValue();\r\n }\r\n };\r\n Object.defineProperty(FormControl.prototype, \"isValid\", {\r\n // Validates the control\r\n get: function () {\r\n var validation = { isValid: true };\r\n // Get the element and value\r\n var elControl = (this._cb || this._ddl || this._lb || this._tb) ? (this._cb || this._ddl || this._lb || this._tb).el : this._el;\r\n var value = this.getValue();\r\n // See if this control is required\r\n if (this._props.required) {\r\n // See if a value doesn't exists\r\n if (value == null) {\r\n // Set the flag\r\n validation.isValid = false;\r\n }\r\n // Else, see if the value is an array\r\n else if (typeof (value.length) === \"number\") {\r\n // Set the flag\r\n validation.isValid = value.length > 0;\r\n }\r\n }\r\n // See if an event exists\r\n if (this._props.onValidate) {\r\n // Call the event\r\n var returnValue = this._props.onValidate(this._props, value);\r\n if (typeof (returnValue) === \"boolean\") {\r\n // Set the flag\r\n validation.isValid = returnValue;\r\n }\r\n // Else, ensure it exists\r\n else if (returnValue) {\r\n // Set the validation\r\n validation = returnValue;\r\n }\r\n }\r\n // Get the form control\r\n var elFormControl = elControl.querySelector(\".form-control\");\r\n if (elFormControl) {\r\n // Clear the invalid/valid classes\r\n elFormControl.classList.remove(\"is-invalid\");\r\n elFormControl.classList.remove(\"is-valid\");\r\n // Set the class\r\n elFormControl.classList.add(validation.isValid ? \"is-valid\" : \"is-invalid\");\r\n }\r\n else {\r\n var validateControls = function (controls) {\r\n // Parse the controls\r\n for (var i = 0; i < controls.length; i++) {\r\n var control = controls[i];\r\n // Clear the invalid/valid classes\r\n control.classList.remove(\"is-invalid\");\r\n control.classList.remove(\"is-valid\");\r\n // Set the class\r\n control.classList.add(validation.isValid ? \"is-valid\" : \"is-invalid\");\r\n }\r\n };\r\n // Get the checkboxes\r\n var elCheckboxes = elControl.querySelectorAll(\".form-check-input\");\r\n if (elCheckboxes.length > 0) {\r\n // Validate the controls\r\n validateControls(elCheckboxes);\r\n // Set the form control\r\n elFormControl = elCheckboxes.length > 0 ? elCheckboxes[elCheckboxes.length - 1] : elFormControl;\r\n }\r\n // Get the custom controls\r\n var elCustomControls = elControl.querySelectorAll(\".custom-control-input\");\r\n if (elCustomControls.length > 0) {\r\n // Validate the controls\r\n validateControls(elCustomControls);\r\n // Set the form control\r\n elFormControl = elCustomControls.length > 0 ? elCustomControls[elCustomControls.length - 1] : elFormControl;\r\n }\r\n }\r\n // Ensure the form control exists\r\n if (elFormControl) {\r\n // See if there is invalid feedback\r\n if (validation.invalidMessage || this._props.errorMessage) {\r\n // Get the element\r\n var elMessage = elControl.querySelector(\".invalid-feedback\");\r\n if (elMessage == null) {\r\n // Create the element\r\n elMessage = document.createElement(\"div\");\r\n elMessage.className = \"invalid-feedback\";\r\n elFormControl.parentElement.appendChild(elMessage);\r\n }\r\n // Set the message\r\n elMessage.innerHTML = validation.invalidMessage || this._props.errorMessage;\r\n }\r\n // See if there is valid feedback\r\n if (validation.validMessage) {\r\n // Get the element\r\n var elMessage = elControl.querySelector(\".valid-feedback\");\r\n if (elMessage == null) {\r\n // Create the element\r\n elMessage = document.createElement(\"div\");\r\n elMessage.className = \"valid-feedback\";\r\n elFormControl.parentElement.appendChild(elMessage);\r\n }\r\n // Set the message\r\n elMessage.innerHTML = validation.validMessage;\r\n }\r\n }\r\n // Return the flag\r\n return validation.isValid;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormControl.prototype, \"props\", {\r\n // The form control properties\r\n get: function () { return this._props; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Sets the form control label\r\n FormControl.prototype.setLabel = function (value) {\r\n // Update the label\r\n this._elLabel ? this._elLabel.innerHTML = value || \"\" : null;\r\n };\r\n // Sets the form control value\r\n FormControl.prototype.setValue = function (value) {\r\n // Set the value\r\n this.control ? this.control.setValue(value) : null;\r\n };\r\n return FormControl;\r\n}());\r\nexports.FormControl = FormControl;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/control.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/custom.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/custom.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Custom Controls\r\n */\r\nvar CustomControls = /** @class */ (function () {\r\n function CustomControls() {\r\n }\r\n // Gets the event by type\r\n CustomControls.getByType = function (key) { return this._customTypes[key]; };\r\n // Registers a custom control type\r\n CustomControls.registerType = function (key, event) { this._customTypes[key] = event; };\r\n CustomControls._customTypes = {};\r\n return CustomControls;\r\n}());\r\nexports.CustomControls = CustomControls;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/custom.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/group.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/group.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar control_1 = __webpack_require__(/*! ./control */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/control.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js\");\r\n/**\r\n * Form Group\r\n */\r\nvar FormGroup = /** @class */ (function () {\r\n // Constructor\r\n function FormGroup(props, formProps) {\r\n this._control = null;\r\n this._el = null;\r\n this._props = null;\r\n this._formProps = null;\r\n // Save the properties\r\n this._props = props;\r\n this._formProps = formProps;\r\n // Create the element\r\n var el = document.createElement(\"div\");\r\n el.innerHTML = templates_1.HTMLGroup;\r\n this._el = el.firstChild;\r\n // Configure the control\r\n this.configure();\r\n }\r\n // Configure the row\r\n FormGroup.prototype.configure = function () {\r\n var _this = this;\r\n // Execute the rendering event\r\n this.configureEvents(this._props.onControlRendering).then(function () {\r\n // Execute the parent rendering event\r\n _this.configureEvents(_this._formProps.onControlRendering).then(function () {\r\n // Render the control\r\n _this.render();\r\n });\r\n });\r\n };\r\n // Configure the events\r\n FormGroup.prototype.configureEvents = function (event) {\r\n var _this = this;\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Execute the rendering event\r\n var returnVal = event ? event(_this._props) : null;\r\n if (returnVal && returnVal.then) {\r\n // Wait for the event to complete\r\n returnVal.then(function (props) {\r\n // Update the properties\r\n _this._props = props;\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Executes after the control is rendered\r\n FormGroup.prototype.onRendered = function () {\r\n // Execute the rendered events\r\n this._props.onControlRendered ? this._props.onControlRendered(this._control) : null;\r\n this._formProps.onControlRendered ? this._formProps.onControlRendered(this._control) : null;\r\n };\r\n // Renders the control\r\n FormGroup.prototype.render = function () {\r\n // Update the label\r\n var elLabel = this._el.querySelector(\"label\");\r\n var label = this._props.label || (this._control && this._control.props.label);\r\n if (label) {\r\n // Set the text\r\n elLabel.innerHTML = label;\r\n }\r\n else {\r\n // Remove the label\r\n this._el.removeChild(elLabel);\r\n elLabel = null;\r\n }\r\n // Update the description\r\n var elDescription = this._el.querySelector(\"small\");\r\n var description = this._props.description || (this._control && this._control.props.description);\r\n if (description) {\r\n // Set the text\r\n elDescription.innerHTML = description;\r\n }\r\n else {\r\n // Remove the description\r\n this._el.removeChild(elDescription);\r\n elDescription = null;\r\n }\r\n // Create the control\r\n this._control = new control_1.FormControl(this._props, elLabel);\r\n // Append the control, after the label\r\n elDescription ? this._el.insertBefore(this._control.el, elDescription) : this._el.appendChild(this._control.el);\r\n // Execute the rendered event\r\n this.onRendered();\r\n };\r\n Object.defineProperty(FormGroup.prototype, \"control\", {\r\n /**\r\n * Public Interface\r\n */\r\n get: function () { return this._control; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormGroup.prototype, \"el\", {\r\n get: function () { return this._el; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return FormGroup;\r\n}());\r\nexports.FormGroup = FormGroup;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/group.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/index.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/index.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar control_1 = __webpack_require__(/*! ./control */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/control.js\");\r\nvar group_1 = __webpack_require__(/*! ./group */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/group.js\");\r\nvar row_1 = __webpack_require__(/*! ./row */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/row.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js\");\r\n__export(__webpack_require__(/*! ./custom */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/custom.js\"));\r\n/**\r\n * Form\r\n * @property props - The form properties.\r\n */\r\nvar _Form = /** @class */ (function (_super) {\r\n __extends(_Form, _super);\r\n // Constructor\r\n function _Form(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n _this._groups = null;\r\n _this._rows = null;\r\n // Configure the form\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the form\r\n _Form.prototype.configure = function () {\r\n // Clear the groups and rows\r\n this._groups = [];\r\n this._rows = [];\r\n // Append the controls\r\n this.appendControls(this.props.controls);\r\n // Append the rows\r\n this.appendRows(this.props.rows);\r\n };\r\n // Configure the events\r\n _Form.prototype.configureEvents = function () {\r\n var _this = this;\r\n // Wait before executing the rendered event, otherwise the controls will be null\r\n setTimeout(function () {\r\n // Execute the event\r\n _this.props.onRendered ? _this.props.onRendered(_this.controls) : null;\r\n }, 10);\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n // Append controls to the form\r\n _Form.prototype.appendControls = function (controls) {\r\n if (controls === void 0) { controls = []; }\r\n // Parse the controls\r\n for (var i = 0; i < controls.length; i++) {\r\n // Create the group\r\n var group = new group_1.FormGroup(controls[i], this.props);\r\n this._groups.push(group);\r\n this.el.appendChild(group.el);\r\n }\r\n };\r\n // Append rows to the form\r\n _Form.prototype.appendRows = function (rows) {\r\n if (rows === void 0) { rows = []; }\r\n // Parse the rows\r\n for (var i = 0; i < rows.length; i++) {\r\n // Create the row\r\n var row = new row_1.FormRow(rows[i], this.props);\r\n this._rows.push(row);\r\n this.el.appendChild(row.el);\r\n }\r\n };\r\n Object.defineProperty(_Form.prototype, \"controls\", {\r\n // The forms controls\r\n get: function () {\r\n var controls = [];\r\n // Parse the groups\r\n for (var i = 0; i < this._groups.length; i++) {\r\n // Add the control\r\n controls.push(this._groups[i].control);\r\n }\r\n // Parse the rows\r\n for (var i = 0; i < this._rows.length; i++) {\r\n // Add the controls\r\n controls = controls.concat(this._rows[i].controls);\r\n }\r\n // Return the controls\r\n return controls;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Gets a form control by its name\r\n _Form.prototype.getControl = function (name) {\r\n // Parse the controls\r\n var controls = this.controls;\r\n for (var i = 0; i < controls.length; i++) {\r\n var control = controls[i];\r\n // See if this is the control we are looking for\r\n if (control.props.name == name) {\r\n // Return the control\r\n return control;\r\n }\r\n }\r\n // Control not found\r\n return null;\r\n };\r\n // Gets the form values\r\n _Form.prototype.getValues = function () {\r\n var values = {};\r\n // Parse the controls\r\n var controls = this.controls;\r\n for (var i = 0; i < controls.length; i++) {\r\n var control = controls[i];\r\n if (control.props.name) {\r\n // Set the value\r\n values[control.props.name] = control.getValue();\r\n }\r\n }\r\n // Return the values\r\n return values;\r\n };\r\n // Validates the form\r\n _Form.prototype.isValid = function () {\r\n var isValid = true;\r\n // Parse the controls\r\n var controls = this.controls;\r\n for (var i = 0; i < controls.length; i++) {\r\n // See if this control is valid\r\n if (controls[i].isValid == false) {\r\n // Set the flag\r\n isValid = false;\r\n }\r\n }\r\n // Return the flag\r\n return isValid;\r\n };\r\n return _Form;\r\n}(base_1.Base));\r\nexports.Form = function (props) { return new _Form(props); };\r\n/**\r\n * Form Control\r\n */\r\nexports.FormControl = function (props) { return new control_1.FormControl(props); };\r\n/**\r\n * Form Control Types\r\n */\r\nvar FormControlTypes;\r\n(function (FormControlTypes) {\r\n FormControlTypes[FormControlTypes[\"Checkbox\"] = 1] = \"Checkbox\";\r\n FormControlTypes[FormControlTypes[\"ColorPicker\"] = 2] = \"ColorPicker\";\r\n FormControlTypes[FormControlTypes[\"Email\"] = 3] = \"Email\";\r\n FormControlTypes[FormControlTypes[\"Datalist\"] = 4] = \"Datalist\";\r\n FormControlTypes[FormControlTypes[\"Dropdown\"] = 5] = \"Dropdown\";\r\n FormControlTypes[FormControlTypes[\"File\"] = 6] = \"File\";\r\n FormControlTypes[FormControlTypes[\"ListBox\"] = 7] = \"ListBox\";\r\n FormControlTypes[FormControlTypes[\"MultiDropdown\"] = 8] = \"MultiDropdown\";\r\n FormControlTypes[FormControlTypes[\"Password\"] = 9] = \"Password\";\r\n FormControlTypes[FormControlTypes[\"Radio\"] = 10] = \"Radio\";\r\n FormControlTypes[FormControlTypes[\"Range\"] = 11] = \"Range\";\r\n FormControlTypes[FormControlTypes[\"Readonly\"] = 12] = \"Readonly\";\r\n FormControlTypes[FormControlTypes[\"Switch\"] = 13] = \"Switch\";\r\n FormControlTypes[FormControlTypes[\"TextArea\"] = 14] = \"TextArea\";\r\n FormControlTypes[FormControlTypes[\"TextField\"] = 15] = \"TextField\";\r\n})(FormControlTypes = exports.FormControlTypes || (exports.FormControlTypes = {}));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/row.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/row.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar group_1 = __webpack_require__(/*! ./group */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/group.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js\");\r\n/**\r\n * Form Row\r\n */\r\nvar FormRow = /** @class */ (function () {\r\n // Constructor\r\n function FormRow(props, parent) {\r\n this._columns = null;\r\n this._el = null;\r\n this._parent = null;\r\n this._props = null;\r\n // Save the parameters\r\n this._parent = parent;\r\n this._props = props;\r\n // Create the element\r\n var el = document.createElement(\"div\");\r\n el.innerHTML = templates_1.HTMLRow;\r\n this._el = el.firstChild;\r\n // Configure the row\r\n this.configure();\r\n }\r\n // Configure the row\r\n FormRow.prototype.configure = function () {\r\n // Set the attributes\r\n this._props.isCentered ? this._el.classList.add(\"align-items-center\") : null;\r\n // Set the class name\r\n var classNames = this._parent.rowClassName ? this._parent.rowClassName.split(' ') : [];\r\n classNames = this._props.className ? classNames.concat(this._props.className.split(' ')) : classNames;\r\n for (var i = 0; i < classNames.length; i++) {\r\n this._el.classList.add(classNames[i]);\r\n }\r\n // Clear the columns and group\r\n this._columns = [];\r\n // Render the columns\r\n this.renderColumns();\r\n };\r\n // Render the columns\r\n FormRow.prototype.renderColumns = function () {\r\n // Parse the columns\r\n var columns = this._props.columns || [];\r\n for (var i = 0; i < columns.length; i++) {\r\n var columnProps = columns[i];\r\n // Set the value\r\n var value = columnProps.control.value;\r\n if (this._parent.value) {\r\n // Set the value\r\n value = this._parent.value[columnProps.control.name] || value;\r\n }\r\n columnProps.control.value = value;\r\n // Create the column\r\n var column = new group_1.FormGroup(columnProps.control, this._parent);\r\n this._columns.push(column);\r\n this._el.appendChild(column.el);\r\n // Create the column\r\n var colSize = columnProps.size > 0 && columnProps.size < 13 ? columnProps.size : 0;\r\n // See if this column is auto sized\r\n if (columnProps.isAutoSized || this.props.isAutoSized || this.props.isCentered) {\r\n // Add the class name\r\n column.el.classList.add(\"col-auto\");\r\n }\r\n // Else, see if a size is defined\r\n else if (colSize > 0 && colSize < 13) {\r\n // Add the class name based on the size\r\n column.el.classList.add(\"col-\" + colSize);\r\n }\r\n else {\r\n // Default the size\r\n column.el.classList.add(\"col\");\r\n }\r\n }\r\n };\r\n Object.defineProperty(FormRow.prototype, \"el\", {\r\n /**\r\n * Public Interface\r\n */\r\n // The component HTML element\r\n get: function () { return this._el; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormRow.prototype, \"controls\", {\r\n // The form controls\r\n get: function () {\r\n var controls = [];\r\n // Parse the columns\r\n for (var i = 0; i < this._columns.length; i++) {\r\n // Add the control\r\n controls.push(this._columns[i].control);\r\n }\r\n // Return the controls\r\n return controls;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(FormRow.prototype, \"props\", {\r\n // The component properties\r\n get: function () { return this._props; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return FormRow;\r\n}());\r\nexports.FormRow = FormRow;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/row.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Form\r\nexports.HTML = \"\";\r\n// Group\r\nexports.HTMLGroup = \"\\n
\\n \\n \\n
\".trim();\r\n// Row\r\nexports.HTMLRow = \"\";\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/index.js":
/*!********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/index.js ***!
\********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(/*! ./accordion */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/accordion/index.js\"));\r\n__export(__webpack_require__(/*! ./alert */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/alert/index.js\"));\r\n__export(__webpack_require__(/*! ./badge */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/badge/index.js\"));\r\n__export(__webpack_require__(/*! ./breadcrumb */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/breadcrumb/index.js\"));\r\n__export(__webpack_require__(/*! ./button */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/button/index.js\"));\r\n__export(__webpack_require__(/*! ./buttonGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/buttonGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./card */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/card/index.js\"));\r\n__export(__webpack_require__(/*! ./cardGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/cardGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./carousel */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/carousel/index.js\"));\r\n__export(__webpack_require__(/*! ./checkboxGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/checkboxGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./collapse */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/collapse/index.js\"));\r\n__export(__webpack_require__(/*! ./dropdown */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/dropdown/index.js\"));\r\n__export(__webpack_require__(/*! ./form */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/form/index.js\"));\r\n__export(__webpack_require__(/*! ./inputGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./jumbotron */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/index.js\"));\r\n__export(__webpack_require__(/*! ./listBox */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/index.js\"));\r\n__export(__webpack_require__(/*! ./listGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./modal */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/index.js\"));\r\n__export(__webpack_require__(/*! ./nav */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/index.js\"));\r\n__export(__webpack_require__(/*! ./navbar */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/navbar/index.js\"));\r\n__export(__webpack_require__(/*! ./pagination */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/index.js\"));\r\n__export(__webpack_require__(/*! ./popover */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/popover/index.js\"));\r\n__export(__webpack_require__(/*! ./progress */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/index.js\"));\r\n__export(__webpack_require__(/*! ./progressGroup */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/index.js\"));\r\n__export(__webpack_require__(/*! ./spinner */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/index.js\"));\r\n__export(__webpack_require__(/*! ./table */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/index.js\"));\r\n__export(__webpack_require__(/*! ./toast */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/index.js\"));\r\n__export(__webpack_require__(/*! ./toolbar */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toolbar/index.js\"));\r\n__export(__webpack_require__(/*! ./tooltip */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/tooltip/index.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/index.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/index.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar button_1 = __webpack_require__(/*! ../button */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/button/index.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/templates.js\");\r\n/**\r\n * Input Group Types\r\n */\r\nvar InputGroupTypes;\r\n(function (InputGroupTypes) {\r\n InputGroupTypes[InputGroupTypes[\"ColorPicker\"] = 1] = \"ColorPicker\";\r\n InputGroupTypes[InputGroupTypes[\"Email\"] = 2] = \"Email\";\r\n InputGroupTypes[InputGroupTypes[\"File\"] = 3] = \"File\";\r\n InputGroupTypes[InputGroupTypes[\"Password\"] = 4] = \"Password\";\r\n InputGroupTypes[InputGroupTypes[\"Range\"] = 5] = \"Range\";\r\n InputGroupTypes[InputGroupTypes[\"Search\"] = 6] = \"Search\";\r\n InputGroupTypes[InputGroupTypes[\"TextArea\"] = 7] = \"TextArea\";\r\n InputGroupTypes[InputGroupTypes[\"TextField\"] = 8] = \"TextField\";\r\n})(InputGroupTypes = exports.InputGroupTypes || (exports.InputGroupTypes = {}));\r\n/**\r\n * Input Group\r\n * @param props The input group properties.\r\n */\r\nvar _InputGroup = /** @class */ (function (_super) {\r\n __extends(_InputGroup, _super);\r\n // Constructor\r\n function _InputGroup(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the textbox\r\n _this.configureTextbox();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _InputGroup.prototype.configure = function () {\r\n var elInput = this.el.querySelector(\"input\");\r\n // Set the class names\r\n this.props.isLarge ? this.el.classList.add(\"input-group-lg\") : null;\r\n this.props.isSmall ? this.el.classList.add(\"input-group-sm\") : null;\r\n // See if a label exists\r\n var label = this.el.querySelector(\"label\");\r\n if (this.props.label) {\r\n // Update the label\r\n this.props.id ? label.setAttribute(\"for\", this.props.id) : null;\r\n label.innerHTML = this.props.label;\r\n }\r\n else {\r\n // Remove the label\r\n this.el.removeChild(label);\r\n }\r\n // See if the label exists\r\n if (this.props.prependedLabel) {\r\n // Add the label\r\n var label_1 = document.createElement(\"span\");\r\n label_1.classList.add(\"input-group-text\");\r\n label_1.innerHTML = this.props.prependedLabel;\r\n this.el.insertBefore(label_1, elInput);\r\n }\r\n // Parse the buttons\r\n var buttons = this.props.prependedButtons || [];\r\n for (var i = 0; i < buttons.length; i++) {\r\n // Add the button\r\n this.el.insertBefore(button_1.Button(buttons[i]).el, elInput);\r\n }\r\n // Default the appended buttons\r\n var appendedButtons = this.props.appendedButtons || [];\r\n if (this.props.type == InputGroupTypes.Range) {\r\n // Add the button\r\n appendedButtons.push({\r\n id: \"range-value\",\r\n text: this.props.value == null ? \"\" : this.props.value\r\n });\r\n }\r\n // See if the label exists\r\n if (this.props.appendedLabel) {\r\n // Add the label\r\n var label_2 = document.createElement(\"span\");\r\n label_2.classList.add(\"input-group-text\");\r\n label_2.innerHTML = this.props.appendedLabel;\r\n this.el.appendChild(label_2);\r\n }\r\n // Parse the buttons\r\n for (var i = 0; i < appendedButtons.length; i++) {\r\n // Add the button\r\n this.el.appendChild(button_1.Button(appendedButtons[i]).el);\r\n }\r\n };\r\n // Configure the events\r\n _InputGroup.prototype.configureEvents = function () {\r\n var _this = this;\r\n var isMultiLine = this.props.type == InputGroupTypes.TextArea;\r\n var elInput = this.el.querySelector(\"input\") || this.el.querySelector(\"textarea\");\r\n // See if a change event exists\r\n var callbackValue = null;\r\n if (this.props.onChange) {\r\n // Add an input event\r\n elInput.addEventListener(\"input\", function (ev) {\r\n // See if we have already executed the change event\r\n if (callbackValue != elInput.value) {\r\n // Set the value\r\n callbackValue = elInput.value;\r\n // Call the change event\r\n _this.props.onChange(callbackValue, ev);\r\n }\r\n });\r\n }\r\n // See if this is a range\r\n if (this.props.type == InputGroupTypes.Range) {\r\n // Add a change event\r\n elInput.addEventListener(\"input\", function () {\r\n // Get the button\r\n var btn = _this.el.querySelector(\"#range-value\");\r\n if (btn) {\r\n // Update the value\r\n btn.innerHTML = elInput.value;\r\n }\r\n });\r\n }\r\n // See if this is not a multi-line\r\n if (!isMultiLine) {\r\n // Add a mouse up event to detect the clear event\r\n elInput.addEventListener(\"mouseup\", function (ev) {\r\n // Get the current value\r\n var el = ev.currentTarget;\r\n var oldValue = el.value;\r\n // Wait for the user to stop updating the value\r\n setTimeout(function () {\r\n // Get the current value\r\n var currentValue = el.value;\r\n // See if the values have changed\r\n if (currentValue != oldValue) {\r\n // See if we have already executed the change event\r\n if (callbackValue != currentValue) {\r\n // Set the value\r\n callbackValue = currentValue;\r\n // Call the events\r\n _this.props.onChange ? _this.props.onChange(callbackValue, ev) : null;\r\n _this.props.onClear && callbackValue == \"\" ? _this.props.onClear() : null;\r\n }\r\n }\r\n }, 1);\r\n });\r\n }\r\n };\r\n // Configures the text box\r\n _InputGroup.prototype.configureTextbox = function () {\r\n var isTextArea = this.props.type == InputGroupTypes.TextArea;\r\n var input = this.el.querySelector(\"input\");\r\n var textarea = this.el.querySelector(\"textarea\");\r\n // See if this is a text area\r\n if (isTextArea) {\r\n // Remove the input\r\n this.el.removeChild(input);\r\n // Update the textbox\r\n this.props.id ? textarea.id = this.props.id : null;\r\n this.props.placeholder ? textarea.placeholder = this.props.placeholder : null;\r\n textarea.readOnly = this.props.isReadonly ? true : false;\r\n textarea.rows = this.props.rows;\r\n this.props.title ? textarea.title = this.props.title : null;\r\n }\r\n else {\r\n // Remove the textarea\r\n this.el.removeChild(textarea);\r\n // Update the textbox\r\n this.props.id ? input.id = this.props.id : null;\r\n this.props.placeholder ? input.placeholder = this.props.placeholder : null;\r\n input.readOnly = this.props.isReadonly ? true : false;\r\n this.props.title ? input.title = this.props.title : null;\r\n typeof (this.props.min) === \"number\" ? input.min = this.props.min + \"\" : null;\r\n typeof (this.props.max) === \"number\" ? input.max = this.props.max + \"\" : null;\r\n typeof (this.props.step) === \"number\" ? input.step = this.props.step + \"\" : null;\r\n // Update the type\r\n switch (this.props.type) {\r\n // Color Picker\r\n case InputGroupTypes.ColorPicker:\r\n input.classList.add(\"form-control-color\");\r\n input.type = \"color\";\r\n break;\r\n // Email\r\n case InputGroupTypes.Email:\r\n input.classList.add(\"form-email\");\r\n input.type = \"email\";\r\n break;\r\n // File\r\n case InputGroupTypes.File:\r\n input.classList.remove(\"form-control\");\r\n input.classList.add(\"form-file-input\");\r\n input.type = \"file\";\r\n break;\r\n // Password\r\n case InputGroupTypes.Password:\r\n input.classList.add(\"form-password\");\r\n input.type = \"password\";\r\n break;\r\n // Range\r\n case InputGroupTypes.Range:\r\n input.classList.add(\"form-range\");\r\n input.type = \"range\";\r\n break;\r\n // Search\r\n case InputGroupTypes.Search:\r\n input.classList.add(\"form-search\");\r\n input.type = \"search\";\r\n input.setAttribute(\"aria-label\", \"Search\");\r\n break;\r\n }\r\n }\r\n // Set the default value\r\n this.setValue(this.props.value);\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n _InputGroup.prototype.getValue = function () { return this.textbox.value; };\r\n // Method to set the value\r\n _InputGroup.prototype.setValue = function (value) {\r\n if (value === void 0) { value = \"\"; }\r\n this.textbox.value = value;\r\n };\r\n Object.defineProperty(_InputGroup.prototype, \"textbox\", {\r\n // Returns the textbox\r\n get: function () { return this.el.querySelector(\"input\") || this.el.querySelector(\"textarea\"); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return _InputGroup;\r\n}(base_1.Base));\r\nexports.InputGroup = function (props) { return new _InputGroup(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/templates.js":
/*!***********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/templates.js ***!
\***********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n \\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/inputGroup/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/index.js":
/*!******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/index.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/templates.js\");\r\n/**\r\n * Jumbotron\r\n */\r\nvar _Jumbotron = /** @class */ (function (_super) {\r\n __extends(_Jumbotron, _super);\r\n // Constructor\r\n function _Jumbotron(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Jumbotron.prototype.configure = function () {\r\n // Set the class names\r\n this.props.isFluid ? this.el.classList.add(\"jumbotron-fluid\") : null;\r\n // Set the title\r\n var title = this.el.querySelector(\"h1\");\r\n if (this.props.title) {\r\n // Set the title\r\n title.innerHTML = this.props.title;\r\n }\r\n else {\r\n // Remove the title\r\n this.el.removeChild(title);\r\n }\r\n // Set the lead\r\n var lead = this.el.querySelector(\"p\");\r\n if (this.props.lead) {\r\n // Set the lead\r\n lead.innerHTML = this.props.lead;\r\n }\r\n else {\r\n // Remove the lead\r\n this.el.removeChild(lead);\r\n }\r\n // Set the content\r\n var content = this.props.content || \"\";\r\n if (typeof (content) === \"string\") {\r\n // Set the html\r\n this.el.innerHTML += content;\r\n }\r\n else {\r\n // Append the element\r\n this.el.appendChild(content);\r\n }\r\n };\r\n // Configures the events\r\n _Jumbotron.prototype.configureEvents = function () {\r\n // Call the render event\r\n this.props.onRenderContent ? this.props.onRenderContent(this.el) : null;\r\n };\r\n return _Jumbotron;\r\n}(base_1.Base));\r\nexports.Jumbotron = function (props) { return new _Jumbotron(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/templates.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/templates.js ***!
\**********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/jumbotron/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/index.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/index.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/templates.js\");\r\n/**\r\n * List Box\r\n * @property props - The list box properties.\r\n */\r\nvar _ListBox = /** @class */ (function (_super) {\r\n __extends(_ListBox, _super);\r\n // Constructor\r\n function _ListBox(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n _this._elLabel = null;\r\n _this._elSearchBox = null;\r\n _this._elDatalist = null;\r\n _this._elValues = null;\r\n _this._items = null;\r\n _this._selectedItems = null;\r\n // Configure the list box\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configures the list box\r\n _ListBox.prototype.configure = function () {\r\n this._elLabel = this.el.querySelector(\"label\");\r\n this._elSearchBox = this.el.querySelector(\"input\");\r\n this._elDatalist = this.el.querySelector(\"datalist\");\r\n this._elValues = this.el.querySelector(\"ul\");\r\n // See if the placeholder exists\r\n if (this.props.placeholder) {\r\n // Update the placeholder\r\n this._elSearchBox.placeholder = this.props.placeholder;\r\n }\r\n // See if the id is set\r\n if (this.props.id) {\r\n // Update the ids\r\n this.el.id = this.props.id;\r\n this._elLabel.setAttribute(\"for\", this.props.id + \"-search\");\r\n this._elSearchBox.id = this.props.id + \"-search\";\r\n this._elSearchBox.setAttribute(\"list\", this.props.id + \"-list\");\r\n this._elDatalist.id = this.props.id + \"-list\";\r\n }\r\n // Set the options\r\n this.setOptions(this.props.items);\r\n // Set the value\r\n this.setValue(this.props.value);\r\n };\r\n // Configures the events\r\n _ListBox.prototype.configureEvents = function () {\r\n var _this = this;\r\n // Set the change event on the search box\r\n this._elSearchBox.addEventListener(\"input\", function (ev) {\r\n var value = _this._elSearchBox.value;\r\n // Parse the items\r\n for (var i = 0; i < _this._items.length; i++) {\r\n var item = _this._items[i];\r\n // See if this is the target item\r\n if (item.text == value) {\r\n // See if this is a multi-select\r\n if (_this.props.multi) {\r\n var existsFl = false;\r\n // Parse the selected items\r\n for (var j = 0; j < _this._selectedItems.length; j++) {\r\n var selectedItem = _this._selectedItems[j];\r\n // See if this item is already selected\r\n if (selectedItem.text == item.text) {\r\n // Set the flag\r\n existsFl = true;\r\n break;\r\n }\r\n }\r\n // Ensure the item wasn't already selected\r\n if (!existsFl) {\r\n // Set the value\r\n _this.setValue(_this._selectedItems.concat(item).sort(function (a, b) {\r\n if (a.text < b.text) {\r\n return -1;\r\n }\r\n if (a.text > b.text) {\r\n return 1;\r\n }\r\n return 0;\r\n }));\r\n // Call the change event\r\n _this.props.onChange ? _this.props.onChange(_this._selectedItems) : null;\r\n }\r\n }\r\n else {\r\n // Set the value\r\n _this.setValue(value);\r\n // Call the change event\r\n _this.props.onChange ? _this.props.onChange(_this._selectedItems) : null;\r\n }\r\n // Clear the selected value\r\n _this._elSearchBox.value = \"\";\r\n }\r\n }\r\n });\r\n };\r\n // Method to configure the item event\r\n _ListBox.prototype.configureItemEvent = function (elItem, item) {\r\n var _this = this;\r\n // Add a click event to the badge\r\n elItem.querySelector(\".badge\").addEventListener(\"click\", function () {\r\n // Remove the item\r\n _this._elValues.removeChild(elItem);\r\n // Find the selected item\r\n for (var i = 0; i < _this._selectedItems.length; i++) {\r\n var selectedItem = _this._selectedItems[i];\r\n // See if this is the target item\r\n if (selectedItem.text == item.text) {\r\n // Remove this item\r\n _this._selectedItems.splice(i, 1);\r\n // Call the change event\r\n _this.props.onChange ? _this.props.onChange(_this._selectedItems) : null;\r\n break;\r\n }\r\n }\r\n });\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n _ListBox.prototype.getValue = function () { return this._selectedItems; };\r\n _ListBox.prototype.setOptions = function (items) {\r\n if (items === void 0) { items = []; }\r\n var elDatalist = this.el.querySelector(\"datalist\");\r\n // Save a reference to the items\r\n this._items = items;\r\n // Clear the options\r\n while (elDatalist.firstChild) {\r\n elDatalist.removeChild(elDatalist.firstChild);\r\n }\r\n // Clear the value\r\n this._elSearchBox.value = \"\";\r\n this._selectedItems = [];\r\n // Parse the items\r\n for (var i = 0; i < items.length; i++) {\r\n // Add the option\r\n var elOption = document.createElement(\"option\");\r\n elOption.value = items[i].text;\r\n elDatalist.appendChild(elOption);\r\n }\r\n };\r\n // Set the value\r\n _ListBox.prototype.setValue = function (value) {\r\n // Clear the items\r\n this._selectedItems = [];\r\n while (this._elValues.firstChild) {\r\n this._elValues.removeChild(this._elValues.firstChild);\r\n }\r\n // Parse the values\r\n if (value) {\r\n // Ensure this is an array\r\n var values = typeof (value) === \"string\" ? [value] : value;\r\n // Parse the values\r\n for (var i = 0; i < values.length; i++) {\r\n var itemValue = values[i];\r\n itemValue = typeof (itemValue) === \"string\" ? itemValue : itemValue.text;\r\n // Parse the items\r\n for (var j = 0; j < this._items.length; j++) {\r\n var item = this._items[j];\r\n // See if this is the target item\r\n if (item.text == itemValue) {\r\n // Add the selected item\r\n this._selectedItems.push(item);\r\n // Create the list item\r\n var elItem = document.createElement(\"div\");\r\n elItem.innerHTML = templates_1.HTMLItem;\r\n elItem = elItem.firstChild;\r\n this._elValues.appendChild(elItem);\r\n // Set the text value\r\n var text = document.createTextNode(item.text);\r\n elItem.insertBefore(text, elItem.querySelector(\"span\"));\r\n // Configure the event for this item\r\n this.configureItemEvent(elItem, item);\r\n // Break from the loop\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n return _ListBox;\r\n}(base_1.Base));\r\nexports.ListBox = function (props) { return new _ListBox(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/templates.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/templates.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n \\n \\n
\\n
\".trim();\r\nexports.HTMLItem = \"\\n
\\n ×\\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listBox/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/index.js":
/*!******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/index.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__webpack_require__(/*! bootstrap/js/dist/tab */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/tab.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar classNames_1 = __webpack_require__(/*! ../classNames */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js\");\r\nvar item_1 = __webpack_require__(/*! ./item */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/item.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/templates.js\");\r\n/**\r\n * List Group Item Types\r\n */\r\nvar ListGroupItemTypes;\r\n(function (ListGroupItemTypes) {\r\n ListGroupItemTypes[ListGroupItemTypes[\"Danger\"] = 1] = \"Danger\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Dark\"] = 2] = \"Dark\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Info\"] = 3] = \"Info\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Light\"] = 4] = \"Light\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Primary\"] = 5] = \"Primary\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Secondary\"] = 6] = \"Secondary\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Success\"] = 7] = \"Success\";\r\n ListGroupItemTypes[ListGroupItemTypes[\"Warning\"] = 8] = \"Warning\";\r\n})(ListGroupItemTypes = exports.ListGroupItemTypes || (exports.ListGroupItemTypes = {}));\r\n/**\r\n * List Group Classes\r\n */\r\nexports.ListGroupClassNames = new classNames_1.ClassNames([\r\n \"list-group-item-danger\",\r\n \"list-group-item-dark\",\r\n \"list-group-item-info\",\r\n \"list-group-item-light\",\r\n \"list-group-item-primary\",\r\n \"list-group-item-secondary\",\r\n \"list-group-item-success\",\r\n \"list-group-item-warning\"\r\n]);\r\n/**\r\n * List Group\r\n * @param props The list group properties.\r\n */\r\nvar _ListGroup = /** @class */ (function (_super) {\r\n __extends(_ListGroup, _super);\r\n // Constructor\r\n function _ListGroup(props) {\r\n var _this = _super.call(this, props.isTabs && props.colWidth > 0 && props.colWidth < 12 ? templates_1.HTMLTabs : templates_1.HTML, props) || this;\r\n _this._items = null;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _ListGroup.prototype.configure = function () {\r\n // Update the list group\r\n var listGroup = this.el.querySelector(\".list-group\") || this.el;\r\n this.props.isFlush ? listGroup.classList.add(\"list-group-flush\") : null;\r\n this.props.isHorizontal ? listGroup.classList.add(\"list-group-horizontal\") : null;\r\n this.props.isTabs ? listGroup.setAttribute(\"role\", \"tablist\") : null;\r\n // See if the column width is defined\r\n var column = this.el.querySelector(\".col\");\r\n if (column) {\r\n // Update the width\r\n column.className = \"col-\" + this.props.colWidth;\r\n }\r\n // Render the items\r\n this.renderItems(listGroup);\r\n };\r\n // Render the items\r\n _ListGroup.prototype.renderItems = function (listGroup) {\r\n // Clear the items\r\n this._items = [];\r\n // Get the tab content element\r\n var tabs = this.el.querySelector(\".tab-content\");\r\n // Parse the items\r\n var items = this.props.items || [];\r\n for (var i = 0; i < items.length; i++) {\r\n // Create the item\r\n var item = new item_1.ListGroupItem(items[i], tabs ? true : false);\r\n this._items.push(item);\r\n listGroup.appendChild(item.el);\r\n // See if we are rendering tabs\r\n if (tabs) {\r\n // Add the tab content\r\n tabs.appendChild(item.elTab);\r\n // See if the fade option is enabled\r\n if (this.props.fadeTabs) {\r\n // Set the class name\r\n item.elTab.classList.add(\"fade\");\r\n // See if the tab is active\r\n if (item.props.isActive) {\r\n // Set the class name\r\n item.elTab.classList.add(\"show\");\r\n }\r\n }\r\n }\r\n }\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n _ListGroup.prototype.showTab = function (tabId) {\r\n // Parse the tabs\r\n for (var i = 0; i < this._items.length; i++) {\r\n var item = this._items[i];\r\n // See if this is the target tab\r\n if (tabId === i + 1 || item.elTab.id == tabId) {\r\n // Toggle it if it's not visible\r\n item.isVisible ? null : item.toggle(this.props.fadeTabs);\r\n }\r\n // Else, see if it's visible\r\n else if (item.isVisible) {\r\n // Toggle it\r\n item.toggle(this.props.fadeTabs);\r\n }\r\n }\r\n };\r\n return _ListGroup;\r\n}(base_1.Base));\r\nexports.ListGroup = function (props) { return new _ListGroup(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/item.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/item.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar badge_1 = __webpack_require__(/*! ../badge */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/badge/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/index.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/templates.js\");\r\n/**\r\n * List Group Item\r\n */\r\nvar ListGroupItem = /** @class */ (function (_super) {\r\n __extends(ListGroupItem, _super);\r\n // Constructor\r\n function ListGroupItem(props, isTab) {\r\n if (isTab === void 0) { isTab = false; }\r\n var _this = _super.call(this, templates_1.HTMLItem, props) || this;\r\n _this._elTab = null;\r\n // See if this is for a tab\r\n if (isTab) {\r\n // Create the tab element\r\n var el = document.createElement(\"div\");\r\n el.innerHTML = templates_1.HTMLTab;\r\n _this._elTab = el.firstChild;\r\n }\r\n // Configure the item\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n return _this;\r\n }\r\n // Configure the item\r\n ListGroupItem.prototype.configure = function () {\r\n // Set the class name\r\n this.props.badge ? this.el.classList.add(\"d-flex\") : null;\r\n this.props.badge ? this.el.classList.add(\"justify-content-between\") : null;\r\n this.props.isActive ? this.el.classList.add(\"active\") : null;\r\n this.props.isDisabled ? this.el.classList.add(\"disabled\") : null;\r\n // Set the class name\r\n var className = _1.ListGroupClassNames.getByType(this.props.type);\r\n className ? this.el.classList.add(className) : null;\r\n // See if this is a tab\r\n if (this._elTab) {\r\n var tabId = this.props.tabName.replace(/[^a-zA-Z0-9]/, \"\");\r\n // Set the properties\r\n this.el.setAttribute(\"href\", \"#\" + tabId);\r\n this.el.setAttribute(\"data-toggle\", \"list\");\r\n this.el.setAttribute(\"aria-controls\", tabId);\r\n this.el.innerHTML = this.props.tabName;\r\n // Update the tab\r\n this._elTab.id = tabId;\r\n this._elTab.setAttribute(\"aria-labelledby\", tabId);\r\n this.props.isActive ? this._elTab.classList.add(\"active\") : null;\r\n }\r\n else {\r\n // Set the properties\r\n this.el.setAttribute(\"href\", this.props.href || \"#\");\r\n }\r\n // See if there is a badge\r\n if (this.props.badge) {\r\n // Append a badge\r\n this.el.appendChild(badge_1.Badge(this.props.badge).el);\r\n }\r\n // Set the content\r\n var content = this.props.content || \"\";\r\n var elContent = this._elTab || this.el;\r\n if (typeof (content) === \"string\") {\r\n // Set the html\r\n elContent.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n elContent.appendChild(content);\r\n }\r\n };\r\n // Configures the events\r\n ListGroupItem.prototype.configureEvents = function () {\r\n var _this = this;\r\n // See if there is a click event\r\n if (this.props.onClick) {\r\n // Add a click event\r\n this.el.addEventListener(\"click\", function (ev) {\r\n // Execute the event\r\n _this.props.onClick(_this.el, _this.props);\r\n });\r\n }\r\n // See if there is a render event\r\n if (this.props.onRender) {\r\n // Execute the render event\r\n this.props.onRender(this._elTab || this.el, this.props);\r\n }\r\n };\r\n Object.defineProperty(ListGroupItem.prototype, \"elTab\", {\r\n /**\r\n * Public Interface\r\n */\r\n // The HTML tab element\r\n get: function () { return this._elTab; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ListGroupItem.prototype, \"isVisible\", {\r\n // Returns true if the link is visible\r\n get: function () { return this.el.classList.contains(\"active\"); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Toggles a link\r\n ListGroupItem.prototype.toggle = function (fadeTabs) {\r\n // See if this item is currently active\r\n if (this.isVisible) {\r\n // Hide this link and tab\r\n this.el.classList.remove(\"active\");\r\n this._elTab.classList.remove(\"active\");\r\n this._elTab.classList.remove(\"show\");\r\n }\r\n else {\r\n // Show this link and tab\r\n this.el.classList.add(\"active\");\r\n this._elTab.classList.add(\"active\");\r\n fadeTabs ? this._elTab.classList.add(\"show\") : null;\r\n }\r\n };\r\n return ListGroupItem;\r\n}(base_1.Base));\r\nexports.ListGroupItem = ListGroupItem;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/item.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/templates.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/templates.js ***!
\**********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// List Group\r\nexports.HTML = \"\";\r\n// Item\r\nexports.HTMLItem = \"\";\r\n// Tab\r\nexports.HTMLTab = \"\";\r\n// Tabs\r\nexports.HTMLTabs = \"\\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/listGroup/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/index.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/index.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar modal = __webpack_require__(/*! bootstrap/js/dist/modal */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/modal.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar classNames_1 = __webpack_require__(/*! ../classNames */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/templates.js\");\r\n/**\r\n * Modal Types\r\n */\r\nvar ModalTypes;\r\n(function (ModalTypes) {\r\n ModalTypes[ModalTypes[\"Small\"] = 1] = \"Small\";\r\n ModalTypes[ModalTypes[\"Medium\"] = 2] = \"Medium\";\r\n ModalTypes[ModalTypes[\"Large\"] = 3] = \"Large\";\r\n ModalTypes[ModalTypes[\"XLarge\"] = 4] = \"XLarge\";\r\n ModalTypes[ModalTypes[\"Full\"] = 5] = \"Full\";\r\n ModalTypes[ModalTypes[\"FullSmall\"] = 6] = \"FullSmall\";\r\n ModalTypes[ModalTypes[\"FullMedium\"] = 7] = \"FullMedium\";\r\n ModalTypes[ModalTypes[\"FullLarge\"] = 8] = \"FullLarge\";\r\n ModalTypes[ModalTypes[\"FullXLarge\"] = 9] = \"FullXLarge\";\r\n ModalTypes[ModalTypes[\"PanelSmall\"] = 10] = \"PanelSmall\";\r\n ModalTypes[ModalTypes[\"PanelMedium\"] = 11] = \"PanelMedium\";\r\n ModalTypes[ModalTypes[\"PanelLarge\"] = 12] = \"PanelLarge\";\r\n ModalTypes[ModalTypes[\"PanelXLarge\"] = 13] = \"PanelXLarge\";\r\n})(ModalTypes = exports.ModalTypes || (exports.ModalTypes = {}));\r\n/**\r\n * Modal Classes\r\n */\r\nexports.ModalClassNames = new classNames_1.ClassNames([\r\n \"modal-sm\",\r\n \"\",\r\n \"modal-lg\",\r\n \"modal-xl\",\r\n \"modal-fullscreen\",\r\n \"modal-fullscreen-sm-down\",\r\n \"modal-fullscreen-md-down\",\r\n \"modal-fullscreen-lg-down\",\r\n \"modal-fullscreen-xl-down\",\r\n \"panel-sm\",\r\n \"panel-md\",\r\n \"panel-lg\",\r\n \"panel-xl\"\r\n]);\r\n/**\r\n * Modal\r\n * @param props The modal properties.\r\n */\r\nvar _Modal = /** @class */ (function (_super) {\r\n __extends(_Modal, _super);\r\n // Constructor\r\n function _Modal(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Modal.prototype.configure = function () {\r\n // Set the modal attributes\r\n this.props.id ? this.el.id = this.props.id : null;\r\n this.props.disableFade ? null : this.el.classList.add(\"fade\");\r\n this.props.isStatic ? this.el.setAttribute(\"data-backdrop\", \"static\") : null;\r\n // Update the dialog\r\n var dialog = this.el.querySelector(\".modal-dialog\");\r\n this.props.isCentered ? dialog.classList.add(\"modal-dialog-centered\") : null;\r\n // See if this is a panel\r\n switch (this.props.type) {\r\n case ModalTypes.PanelSmall:\r\n case ModalTypes.PanelMedium:\r\n case ModalTypes.PanelLarge:\r\n case ModalTypes.PanelXLarge:\r\n dialog.classList.add(exports.ModalClassNames.getByType(ModalTypes.Full));\r\n break;\r\n }\r\n // Add the class name, based on the type\r\n dialog.classList.add(exports.ModalClassNames.getByType(this.props.type));\r\n // Update the title\r\n this.setTitle(this.props.title);\r\n // See if we are hiding the close button\r\n if (this.props.hideCloseButton) {\r\n // Remove the close button\r\n dialog.querySelector(\"button.close\").remove();\r\n }\r\n // Update the body\r\n var body = this.el.querySelector(\".modal-body\");\r\n var content = this.props.body || \"\";\r\n if (typeof (content) === \"string\") {\r\n // Set the HTML\r\n body.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n body.appendChild(content);\r\n }\r\n // Update the footer\r\n var footer = this.el.querySelector(\".modal-footer\");\r\n content = this.props.footer || \"\";\r\n if (typeof (content) === \"string\") {\r\n // Set the HTML\r\n footer.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n footer.appendChild(content);\r\n }\r\n // Get the modal options\r\n var options = this.props.options || {};\r\n // See if this is a static modal\r\n if (this.props.isStatic) {\r\n // Set the backdrop\r\n options.backdrop = \"static\";\r\n }\r\n // Create the modal\r\n this._bootstrapObj = new modal(this.el, options);\r\n // The option to 'show' doesn't seem to work\r\n if (options.show) {\r\n // Show the modal\r\n this.show();\r\n }\r\n };\r\n // Configure the events\r\n _Modal.prototype.configureEvents = function () {\r\n var _this = this;\r\n // Execute the events\r\n this.props.onRenderBody ? this.props.onRenderBody(this.el.querySelector(\".modal-body\")) : null;\r\n this.props.onRenderFooter ? this.props.onRenderFooter(this.el.querySelector(\".modal-footer\")) : null;\r\n // Get the close button\r\n var elClose = this.el.querySelector(\"button.close\");\r\n if (elClose) {\r\n // Add a click event\r\n elClose.addEventListener(\"click\", function () {\r\n // Hide the modal\r\n _this.hide();\r\n });\r\n }\r\n // See if there is a close event\r\n if (this.props.onClose) {\r\n // Add a hidden event\r\n this.el.addEventListener(\"hidden.bs.modal\", function () {\r\n // Call the event\r\n _this.props.onClose(_this.el);\r\n });\r\n }\r\n };\r\n /**\r\n * Bootstrap\r\n */\r\n // Disposes the modal\r\n _Modal.prototype.dispose = function () { this._bootstrapObj.dispose(); };\r\n // Updates the modal\r\n _Modal.prototype.handleUpdate = function () { this._bootstrapObj.handleUpdate(); };\r\n // Hides the modal\r\n _Modal.prototype.hide = function () { this._bootstrapObj.hide(); };\r\n // Shows the modal\r\n _Modal.prototype.show = function () { this._bootstrapObj.show(); };\r\n // Toggles the modal\r\n _Modal.prototype.toggle = function () { this._bootstrapObj.toggle(); };\r\n Object.defineProperty(_Modal.prototype, \"isVisible\", {\r\n /**\r\n * Public Interface\r\n */\r\n // Returns true if the modal is visible\r\n get: function () { return this.el.classList.contains(\"show\"); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Updates the title\r\n _Modal.prototype.setTitle = function (title) {\r\n // Get the title\r\n var elTitle = this.el.querySelector(\".modal-title\");\r\n // Set the text\r\n elTitle.innerHTML = title == null ? \"\" : title;\r\n };\r\n return _Modal;\r\n}(base_1.Base));\r\nexports.Modal = function (props) { return new _Modal(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/templates.js":
/*!******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/templates.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n
\\n
\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/modal/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/index.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/index.js ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__webpack_require__(/*! bootstrap/js/dist/tab */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/tab.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar link_1 = __webpack_require__(/*! ./link */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/link.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/templates.js\");\r\n/**\r\n * Navigation\r\n * @param props - The navigation properties.\r\n */\r\nvar _Nav = /** @class */ (function (_super) {\r\n __extends(_Nav, _super);\r\n // Constructor\r\n function _Nav(props) {\r\n var _this = _super.call(this, props.isTabs ? (props.isVertical ? templates_1.HTMLVerticalTabs : templates_1.HTMLTabs) : templates_1.HTML, props) || this;\r\n _this._links = null;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Nav.prototype.configure = function () {\r\n // Update the navigation\r\n var nav = this.el.querySelector(\".nav\");\r\n this.props.id ? nav.id = this.props.id : null;\r\n this.props.enableFill ? this.el.classList.add(\"nav-fill\") : null;\r\n this.props.isJustified ? this.el.classList.add(\"nav-justified\") : null;\r\n this.props.isPills ? this.el.classList.add(\"nav-pills\") : null;\r\n this.props.isTabs ? this.el.classList.add(\"nav-tabs\") : null;\r\n this.props.isVertical ? this.el.classList.add(\"flex-column\") : null;\r\n // Render the nav links\r\n this.renderItems();\r\n };\r\n // Renders the links\r\n _Nav.prototype.renderItems = function () {\r\n // Clear the links\r\n this._links = [];\r\n // Get the nav and tab elements\r\n var nav = this.el.querySelector(\".nav\") || this.el;\r\n var tabs = this.el.querySelector(\".tab-content\");\r\n // Parse the navigation items\r\n var links = this.props.items || [];\r\n for (var i = 0; i < links.length; i++) {\r\n // Create the link\r\n var link = new link_1.NavLink(links[i], tabs ? true : false);\r\n nav.appendChild(link.el);\r\n this._links.push(link);\r\n // See if we are rendering tabs\r\n if (tabs) {\r\n // Add the tab content\r\n tabs.appendChild(link.elTab);\r\n // See if the fade option is enabled\r\n if (this.props.fadeTabs) {\r\n // Set the class name\r\n link.elTab.classList.add(\"fade\");\r\n // See if the tab is active\r\n if (link.props.isActive) {\r\n // Set the class name\r\n link.elTab.classList.add(\"show\");\r\n }\r\n }\r\n }\r\n }\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n // Shows a tab\r\n _Nav.prototype.showTab = function (tabId) {\r\n // Ensure tabs exist\r\n if (this.props.isTabs) {\r\n // Parse the tabs\r\n for (var i = 0; i < this._links.length; i++) {\r\n var link = this._links[i];\r\n // See if this is the target tab\r\n if (tabId === i + 1 || link.elTab.id == tabId) {\r\n // Toggle it if it's not visible\r\n link.isVisible ? null : link.toggle(this.props.fadeTabs);\r\n }\r\n // Else, see if it's visible\r\n else if (link.isVisible) {\r\n // Toggle it\r\n link.toggle(this.props.fadeTabs);\r\n }\r\n }\r\n }\r\n };\r\n return _Nav;\r\n}(base_1.Base));\r\nexports.Nav = function (props) { return new _Nav(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/link.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/link.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/templates.js\");\r\n/**\r\n * Nav Link\r\n */\r\nvar NavLink = /** @class */ (function (_super) {\r\n __extends(NavLink, _super);\r\n // Constructor\r\n function NavLink(props, isTab) {\r\n var _this = _super.call(this, templates_1.HTMLLink, props) || this;\r\n _this._elLink = null;\r\n _this._elTab = null;\r\n // See if this is for a tab\r\n if (isTab) {\r\n // Create the tab element\r\n var el = document.createElement(\"div\");\r\n el.innerHTML = templates_1.HTMLTab;\r\n _this._elTab = el.firstChild;\r\n }\r\n // Configure the item\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n return _this;\r\n }\r\n // Configure the item\r\n NavLink.prototype.configure = function () {\r\n // Update the link\r\n this._elLink = this.el.querySelector(\"a.nav-link\");\r\n this.props.isActive ? this._elLink.classList.add(\"active\") : null;\r\n this.props.isDisabled ? this._elLink.classList.add(\"disabled\") : null;\r\n this._elLink.innerHTML = this.props.title == null ? \"\" : this.props.title;\r\n // See if this is a tab\r\n if (this._elTab) {\r\n var tabId = this.props.title.replace(/[^a-zA-Z0-9]/, \"\");\r\n // Set the properties\r\n this._elLink.setAttribute(\"href\", \"#\" + tabId);\r\n this._elLink.setAttribute(\"data-toggle\", \"tab\");\r\n this._elLink.setAttribute(\"aria-controls\", tabId);\r\n this._elLink.innerHTML = this.props.title == null ? \"\" : this.props.title;\r\n // Update the tab\r\n this._elTab.id = tabId;\r\n this._elTab.setAttribute(\"aria-labelledby\", tabId);\r\n // See if this tab is active\r\n if (this.props.isActive) {\r\n // Update the classes\r\n this._elTab.classList.add(\"active\");\r\n }\r\n // Set the content\r\n var content = this.props.tabContent || \"\";\r\n if (typeof (content) === \"string\") {\r\n // Set the html\r\n this._elTab.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n this._elTab.appendChild(content);\r\n }\r\n }\r\n else {\r\n // Set the properties\r\n this._elLink.setAttribute(\"href\", this.props.href || \"#\");\r\n }\r\n };\r\n // Configures the events\r\n NavLink.prototype.configureEvents = function () {\r\n var _this = this;\r\n // See if there is a click event\r\n if (this.props.onClick) {\r\n // Add a click event\r\n this.el.addEventListener(\"click\", function (ev) {\r\n // Execute the event\r\n _this.props.onClick(_this.props, ev);\r\n });\r\n }\r\n // Execute the tab render event\r\n this._elTab && this.props.onRenderTab ? this.props.onRenderTab(this.props, this._elTab) : null;\r\n };\r\n Object.defineProperty(NavLink.prototype, \"elTab\", {\r\n /**\r\n * Public Interface\r\n */\r\n // The HTML tab element\r\n get: function () { return this._elTab; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NavLink.prototype, \"isVisible\", {\r\n // Returns true if the link is visible\r\n get: function () { return this._elLink.classList.contains(\"active\"); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // Toggles a link\r\n NavLink.prototype.toggle = function (fadeTabs) {\r\n // See if this item is currently active\r\n if (this.isVisible) {\r\n // Hide this link and tab\r\n this._elLink.classList.remove(\"active\");\r\n this._elTab.classList.remove(\"active\");\r\n this._elTab.classList.remove(\"show\");\r\n }\r\n else {\r\n // Show this link and tab\r\n this._elLink.classList.add(\"active\");\r\n this._elTab.classList.add(\"active\");\r\n fadeTabs ? this._elTab.classList.add(\"show\") : null;\r\n }\r\n };\r\n return NavLink;\r\n}(base_1.Base));\r\nexports.NavLink = NavLink;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/link.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/templates.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/nav/templates.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Nav\r\nexports.HTML = \"
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/navbar/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/index.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/index.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/templates.js\");\r\n/**\r\n * Pagination Alignment\r\n */\r\nvar PaginationAlignment;\r\n(function (PaginationAlignment) {\r\n PaginationAlignment[PaginationAlignment[\"Center\"] = 1] = \"Center\";\r\n PaginationAlignment[PaginationAlignment[\"Left\"] = 2] = \"Left\";\r\n PaginationAlignment[PaginationAlignment[\"Right\"] = 3] = \"Right\";\r\n})(PaginationAlignment = exports.PaginationAlignment || (exports.PaginationAlignment = {}));\r\n/**\r\n * Pagination\r\n */\r\nvar _Pagination = /** @class */ (function (_super) {\r\n __extends(_Pagination, _super);\r\n // Constructor\r\n function _Pagination(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n _this._items = null;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Pagination.prototype.configure = function () {\r\n // Update the nav properties\r\n this.props.label ? this.el.setAttribute(\"aria-label\", this.props.label) : null;\r\n // Update the list\r\n var list = this.el.querySelector(\"ul\");\r\n this.props.isLarge ? list.classList.add(\"pagination-lg\") : null;\r\n this.props.isSmall ? list.classList.add(\"pagination-sm\") : null;\r\n // Read the alignment\r\n switch (this.props.alignment) {\r\n // Danger\r\n case PaginationAlignment.Center:\r\n list.classList.add(\"justify-content-center\");\r\n break;\r\n // Dark\r\n case PaginationAlignment.Right:\r\n list.classList.add(\"justify-content-end\");\r\n break;\r\n }\r\n // Render the page numbers\r\n this.renderPageNumbers(list);\r\n };\r\n // Configures the next/previous buttons, based on the active index\r\n _Pagination.prototype.configureNextPrevButtons = function (activePage) {\r\n // Update the previous button\r\n var prevItem = this._items[0];\r\n if (activePage == 1) {\r\n // Ensure the previous item is disabled\r\n prevItem.classList.add(\"disabled\");\r\n }\r\n else {\r\n // Ensure the previous item is enabled\r\n prevItem.classList.remove(\"disabled\");\r\n }\r\n // Update the next button\r\n var nextItem = this._items[this._items.length - 1];\r\n if (activePage == this._items.length - 2) {\r\n // Ensure the previous item is disabled\r\n nextItem.classList.add(\"disabled\");\r\n }\r\n else {\r\n // Ensure the previous item is enabled\r\n nextItem.classList.remove(\"disabled\");\r\n }\r\n };\r\n // Configure the events\r\n _Pagination.prototype.configureEvents = function (item) {\r\n var _this = this;\r\n // See if this is the next or previous item and skip it\r\n var link = item.querySelector(\"a\").getAttribute(\"aria-label\");\r\n if (link == \"Previous\" || link == \"Next\") {\r\n var isPrevious_1 = link == \"Previous\";\r\n // Add a click event\r\n item.addEventListener(\"click\", function (ev) {\r\n // Prevent the page from moving to the top\r\n ev.preventDefault();\r\n // Do nothing if it's disabled\r\n if (item.classList.contains(\"disabled\")) {\r\n return;\r\n }\r\n // Parse the items, excluding the next/previous items\r\n for (var i = 1; i < _this._items.length - 1; i++) {\r\n var item_1 = _this._items[i];\r\n // See if this item is active\r\n if (item_1.classList.contains(\"active\")) {\r\n // See if the previous button was clicked\r\n if (isPrevious_1) {\r\n // Click the previous item if it's available\r\n i - 1 > 0 ? _this._items[i - 1].click() : null;\r\n }\r\n else {\r\n // Click the next item if it's available\r\n i < _this._items.length - 2 ? _this._items[i + 1].click() : null;\r\n }\r\n // Break from the loop\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n var pageNumber_1 = parseInt(link);\r\n // Add a click event\r\n item.addEventListener(\"click\", function (ev) {\r\n // Prevent the page from moving to the top\r\n ev.preventDefault();\r\n // Parse the active items\r\n var activeItems = _this.el.querySelectorAll(\".page-item.active\");\r\n for (var i = 0; i < activeItems.length; i++) {\r\n var item_2 = activeItems[i];\r\n // Clear the active class\r\n item_2.classList.remove(\"active\");\r\n // Remove the active span\r\n var span_1 = item_2.querySelector(\"span\");\r\n span_1 ? span_1.remove() : null;\r\n }\r\n // Make this item active\r\n item.classList.add(\"active\");\r\n // Add the span\r\n var span = document.createElement(\"span\");\r\n span.classList.add(\"sr-only\");\r\n span.innerHTML = \"(current)\";\r\n item.appendChild(span);\r\n // Configure the next/previous buttons\r\n _this.configureNextPrevButtons(pageNumber_1);\r\n // Class the click event\r\n _this.props.onClick ? _this.props.onClick(parseInt(item.innerHTML), ev) : null;\r\n });\r\n }\r\n };\r\n // Creates an page number item\r\n _Pagination.prototype.createItem = function (text) {\r\n // Create the item\r\n var el = document.createElement(\"div\");\r\n el.innerHTML = templates_1.HTMLItem;\r\n var item = el.firstChild;\r\n this._items.push(item);\r\n // Update the link\r\n var link = item.querySelector(\"a\");\r\n link.innerHTML = text;\r\n link.setAttribute(\"aria-label\", link.innerHTML);\r\n // Configure the events\r\n this.configureEvents(item);\r\n // Return the item\r\n return item;\r\n };\r\n // Renders the page numbers\r\n _Pagination.prototype.renderPageNumbers = function (list) {\r\n // Clear the items\r\n this._items = [];\r\n // Create the previous link\r\n var item = this.createItem(\"Previous\");\r\n list.appendChild(item);\r\n // Loop for the number of pages to create\r\n // Parse the number of pages\r\n var pages = this.props.numberOfPages || 1;\r\n for (var i = 1; i <= pages; i++) {\r\n // Create a link\r\n item = this.createItem(i.toString());\r\n list.appendChild(item);\r\n }\r\n // Create the next link\r\n item = this.createItem(\"Next\");\r\n list.appendChild(item);\r\n // Set the first page number as active\r\n this._items[1].click();\r\n };\r\n return _Pagination;\r\n}(base_1.Base));\r\nexports.Pagination = function (props) { return new _Pagination(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/templates.js":
/*!***********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/templates.js ***!
\***********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Pagination\r\nexports.HTML = \"\\n\".trim();\r\n// Item\r\nexports.HTMLItem = \"\\n
\\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/pagination/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/popover/index.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/popover/index.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar popover = __webpack_require__(/*! bootstrap/js/dist/popover */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/popover.js\");\r\n__webpack_require__(/*! popper.js */ \"./node_modules/.pnpm/registry.npmjs.org/popper.js/1.16.1/node_modules/popper.js/dist/esm/popper.js\");\r\nvar button_1 = __webpack_require__(/*! ../button */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/button/index.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\n/**\r\n * Popover Types\r\n */\r\nvar PopoverTypes;\r\n(function (PopoverTypes) {\r\n PopoverTypes[PopoverTypes[\"Auto\"] = 1] = \"Auto\";\r\n PopoverTypes[PopoverTypes[\"Bottom\"] = 2] = \"Bottom\";\r\n PopoverTypes[PopoverTypes[\"Left\"] = 3] = \"Left\";\r\n PopoverTypes[PopoverTypes[\"Right\"] = 4] = \"Right\";\r\n PopoverTypes[PopoverTypes[\"Top\"] = 5] = \"Top\";\r\n})(PopoverTypes = exports.PopoverTypes || (exports.PopoverTypes = {}));\r\n/**\r\n * Popover\r\n */\r\nvar _Popover = /** @class */ (function (_super) {\r\n __extends(_Popover, _super);\r\n // Constructor\r\n function _Popover(props) {\r\n var _this = _super.call(this, \"\", props) || this;\r\n _this._popovers = null;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent, if the target wasn't specified\r\n _this.props.target ? null : _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Popover.prototype.configure = function () {\r\n // Ensure the main popover element exists\r\n // This will ensure the popovers are wrapped with a parent element with the \"bs\" class applied to it.\r\n this._popovers = document.querySelector(\"#bs-popovers\");\r\n if (this._popovers == null) {\r\n // Create the main element\r\n this._popovers = document.createElement(\"div\");\r\n this._popovers.classList.add(\"bs\");\r\n this._popovers.id = \"bs-popovers\";\r\n // Add it to the page\r\n document.body.appendChild(this._popovers);\r\n }\r\n // Set the options to target the main popover element\r\n var options = this.props.options || {};\r\n options.container = \"#bs-popovers\";\r\n // See if the placement needs to be set\r\n if (options.placement == null) {\r\n // Set the type\r\n switch (this.props.type) {\r\n // Auto\r\n case PopoverTypes.Auto:\r\n options.placement = \"auto\";\r\n break;\r\n // Bottom\r\n case PopoverTypes.Bottom:\r\n options.placement = \"bottom\";\r\n break;\r\n // Left\r\n case PopoverTypes.Left:\r\n options.placement = \"left\";\r\n break;\r\n // Right\r\n case PopoverTypes.Right:\r\n options.placement = \"right\";\r\n break;\r\n // Top\r\n case PopoverTypes.Top:\r\n options.placement = \"top\";\r\n break;\r\n }\r\n }\r\n // See if we are targeting an element\r\n var elPopover = null;\r\n if (this.props.target) {\r\n // Set the popover to the target element\r\n elPopover = this.props.target;\r\n // Ensure the attributes are set in the target element\r\n elPopover.setAttribute(\"tabindex\", \"0\");\r\n elPopover.setAttribute(\"toggle\", \"popover\");\r\n elPopover.setAttribute(\"trigger\", \"focus\");\r\n // Update this element\r\n this.el = elPopover;\r\n }\r\n else {\r\n // Create the button\r\n var btnProps = this.props.btnProps || {};\r\n btnProps.isLink = this.props.isDismissible ? true : false;\r\n btnProps.toggle = \"popover\";\r\n this.props.isDismissible ? btnProps.trigger = \"focus\" : null;\r\n var button = button_1.Button(btnProps);\r\n // Update this element\r\n this.el = button.el;\r\n // Set the popover title and content\r\n typeof (options.title) === \"string\" ? this.el.setAttribute(\"title\", options.title) : null;\r\n typeof (options.content) === \"string\" ? this.el.setAttribute(\"data-content\", options.content) : null;\r\n }\r\n // Create the popover\r\n this._bootstrapObj = new popover(this.el, options);\r\n };\r\n // Configures the events\r\n _Popover.prototype.configureEvents = function () {\r\n // Set a click event\r\n this.el.addEventListener(\"click\", function (ev) {\r\n // Prevent the page from moving to the top\r\n ev.preventDefault();\r\n });\r\n };\r\n /**\r\n * Bootstrap\r\n */\r\n // Disposes the popover\r\n _Popover.prototype.dispose = function () { this._bootstrapObj.dispose(); };\r\n // Disables the popover\r\n _Popover.prototype.disable = function () { this._bootstrapObj.disable(); };\r\n // Enables the popover\r\n _Popover.prototype.enable = function () { this._bootstrapObj.enable(); };\r\n // Toggles the popover\r\n _Popover.prototype.toggle = function () { this._bootstrapObj.toggle(); };\r\n // Enables toggling \r\n _Popover.prototype.toggleEnabled = function () { this._bootstrapObj.toggleEnabled(); };\r\n // Updates the popover\r\n _Popover.prototype.update = function () { this._bootstrapObj.update(); };\r\n return _Popover;\r\n}(base_1.Base));\r\nexports.Popover = function (props) { return new _Popover(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/popover/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/index.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/index.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/templates.js\");\r\n/**\r\n * Progress\r\n */\r\nvar _Progress = /** @class */ (function (_super) {\r\n __extends(_Progress, _super);\r\n // Constructor\r\n function _Progress(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Progress.prototype.configure = function () {\r\n // Set the default values\r\n var maxValue = typeof (this.props.max) === \"number\" ? this.props.max : 100;\r\n var minValue = typeof (this.props.min) === \"number\" ? this.props.min : 0;\r\n var size = typeof (this.props.size) === \"number\" ? this.props.size : 0;\r\n // Update the progress bar\r\n var progressBar = this.el.querySelector(\".progress-bar\");\r\n progressBar.style.width = size + \"%\";\r\n progressBar.setAttribute(\"aria-valuenow\", size.toString());\r\n progressBar.setAttribute(\"aria-valuemin\", minValue.toString());\r\n progressBar.setAttribute(\"aria-valuemax\", maxValue.toString());\r\n this.props.isAnimated ? progressBar.classList.add(\"progress-bar-animated\") : null;\r\n this.props.isStriped ? progressBar.classList.add(\"progress-bar-striped\") : null;\r\n this.props.label ? progressBar.innerHTML = this.props.label : null;\r\n };\r\n Object.defineProperty(_Progress.prototype, \"progressBar\", {\r\n /**\r\n * Public Interface\r\n */\r\n // Return the progress bar element\r\n get: function () { return this.el.querySelector(\".progress-bar\"); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return _Progress;\r\n}(base_1.Base));\r\nexports.Progress = function (props) { return new _Progress(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/templates.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/templates.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/index.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/index.js ***!
\**********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar progress_1 = __webpack_require__(/*! ../progress */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progress/index.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/templates.js\");\r\n/**\r\n * Progress Group\r\n * @param props The progress group properties.\r\n */\r\nvar _ProgressGroup = /** @class */ (function (_super) {\r\n __extends(_ProgressGroup, _super);\r\n // Constructor\r\n function _ProgressGroup(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _ProgressGroup.prototype.configure = function () {\r\n // Parse the progress bars\r\n var progressbars = this.props.progressbars || [];\r\n for (var i = 0; i < progressbars.length; i++) {\r\n // Add the progress bar\r\n this.el.appendChild(progress_1.Progress(progressbars[i]).progressBar);\r\n }\r\n };\r\n return _ProgressGroup;\r\n}(base_1.Base));\r\nexports.ProgressGroup = function (props) { return new _ProgressGroup(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/templates.js":
/*!**************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/templates.js ***!
\**************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\";\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/progressGroup/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/index.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/index.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar classNames_1 = __webpack_require__(/*! ../classNames */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/classNames.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/templates.js\");\r\n/**\r\n * Spinner Types\r\n */\r\nvar SpinnerTypes;\r\n(function (SpinnerTypes) {\r\n SpinnerTypes[SpinnerTypes[\"Danger\"] = 1] = \"Danger\";\r\n SpinnerTypes[SpinnerTypes[\"Dark\"] = 2] = \"Dark\";\r\n SpinnerTypes[SpinnerTypes[\"Info\"] = 3] = \"Info\";\r\n SpinnerTypes[SpinnerTypes[\"Light\"] = 4] = \"Light\";\r\n SpinnerTypes[SpinnerTypes[\"Primary\"] = 5] = \"Primary\";\r\n SpinnerTypes[SpinnerTypes[\"Secondary\"] = 6] = \"Secondary\";\r\n SpinnerTypes[SpinnerTypes[\"Success\"] = 7] = \"Success\";\r\n SpinnerTypes[SpinnerTypes[\"Warning\"] = 8] = \"Warning\";\r\n})(SpinnerTypes = exports.SpinnerTypes || (exports.SpinnerTypes = {}));\r\n/**\r\n * Spinner Class Names\r\n */\r\nexports.SpinnerClassNames = new classNames_1.ClassNames([\r\n \"text-danger\",\r\n \"text-dark\",\r\n \"text-info\",\r\n \"text-light\",\r\n \"text-primary\",\r\n \"text-secondary\",\r\n \"text-success\",\r\n \"text-warning\"\r\n]);\r\n/**\r\n * Spinner\r\n * @param props The spinner properties.\r\n */\r\nvar _Spinner = /** @class */ (function (_super) {\r\n __extends(_Spinner, _super);\r\n // Constructor\r\n function _Spinner(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Spinner.prototype.configure = function () {\r\n // Set the class name\r\n if (this.props.isGrowing) {\r\n // Set the class\r\n this.el.classList.add(\"spinner-grow\" + (this.props.isSmall ? \"-sm\" : \"\"));\r\n }\r\n else {\r\n // Set the class\r\n this.el.classList.add(\"spinner-border\" + (this.props.isSmall ? \"-sm\" : \"\"));\r\n }\r\n // Set the class name\r\n this.el.classList.add(exports.SpinnerClassNames.getByType(this.props.type) || exports.SpinnerClassNames.getByType(SpinnerTypes.Primary));\r\n // See if text is defined\r\n if (this.props.text) {\r\n // Update the text\r\n this.el.querySelector(\"span\").innerHTML = this.props.text;\r\n }\r\n };\r\n return _Spinner;\r\n}(base_1.Base));\r\nexports.Spinner = function (props) { return new _Spinner(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/templates.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/templates.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n Loading...\\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/spinner/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/index.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/index.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/templates.js\");\r\n/**\r\n * Table\r\n */\r\nvar _Table = /** @class */ (function (_super) {\r\n __extends(_Table, _super);\r\n // Constructor\r\n function _Table(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Table.prototype.configure = function () {\r\n // See if columns are defined\r\n var head = this.el.querySelector(\"thead\");\r\n if (this.props.columns) {\r\n // Append the row\r\n var row = document.createElement(\"tr\");\r\n head.appendChild(row);\r\n // Parse the columns\r\n for (var i = 0; i < this.props.columns.length; i++) {\r\n // Append the column\r\n var column = document.createElement(\"th\");\r\n row.appendChild(column);\r\n // Render the column\r\n this.renderColumn(i, column, this.props.columns[i]);\r\n }\r\n // See if there is an event\r\n if (this.props.onRenderHeaderRow) {\r\n // Call the event\r\n this.props.onRenderHeaderRow(row);\r\n }\r\n }\r\n // Add the rows\r\n this.addRows(this.props.rows);\r\n };\r\n // Renders a column\r\n _Table.prototype.renderColumn = function (colIdx, column, props) {\r\n var _this = this;\r\n column.innerHTML = props.isHidden ? \"\" : props.title || props.name;\r\n column.setAttribute(\"scope\", \"col\");\r\n // See if there is an event for this column\r\n if (props.onRenderHeader) {\r\n // Call the event\r\n props.onRenderHeader(column, props);\r\n }\r\n // See if there is an event for this component\r\n if (this.props.onRenderHeaderCell) {\r\n // Call the event\r\n this.props.onRenderHeaderCell(column, props);\r\n }\r\n // See if there is a click event\r\n if (props.onClickHeader || this.props.onClickHeader) {\r\n // Add the click event\r\n column.addEventListener(\"click\", function (ev) {\r\n // Call the event\r\n props.onClickHeader ? props.onClickHeader(column, props) : null;\r\n _this.props.onClickHeader ? _this.props.onClickHeader(column, props) : null;\r\n });\r\n }\r\n };\r\n // Renders a cell\r\n _Table.prototype.renderCell = function (row, props, data) {\r\n var _this = this;\r\n // Create the cell\r\n var cell = document.createElement(\"td\");\r\n cell.className = props.className || \"\";\r\n cell.innerHTML = data[props.name] == null ? \"\" : data[props.name];\r\n row.appendChild(cell);\r\n // See if there is a scope\r\n if (props.scope) {\r\n // Set the scope\r\n cell.setAttribute(\"scope\", props.scope);\r\n }\r\n // See if there is an event for this column\r\n if (props.onRenderCell) {\r\n // Call the event\r\n props.onRenderCell(cell, props, data);\r\n }\r\n // See if there is an event for this component\r\n if (this.props.onRenderCell) {\r\n // Call the event\r\n this.props.onRenderCell(cell, props, data);\r\n }\r\n // See if there is a click event\r\n if (props.onClickCell || this.props.onClickCell) {\r\n // Add the click event\r\n cell.addEventListener(\"click\", function (ev) {\r\n // Call the event\r\n props.onClickCell ? props.onClickCell(cell, props, data) : null;\r\n _this.props.onClickCell ? _this.props.onClickCell(cell, props, data) : null;\r\n });\r\n }\r\n };\r\n // Renders a row\r\n _Table.prototype.renderRow = function (row, data) {\r\n // See if columns\r\n for (var i = 0; i < this.props.columns.length; i++) {\r\n // Create the cell\r\n this.renderCell(row, this.props.columns[i], data);\r\n }\r\n // See if there is an event\r\n if (this.props.onRenderRow) {\r\n // Call the event\r\n this.props.onRenderRow(row, data);\r\n }\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n // Method to add the rows\r\n _Table.prototype.addRows = function (rows) {\r\n if (rows === void 0) { rows = []; }\r\n var tbody = this.el.querySelector(\"tbody\");\r\n // Parse the rows\r\n for (var i = 0; i < rows.length; i++) {\r\n // Create the row\r\n var row = document.createElement(\"tr\");\r\n tbody.appendChild(row);\r\n // Render the row\r\n this.renderRow(row, rows[i]);\r\n }\r\n };\r\n return _Table;\r\n}(base_1.Base));\r\nexports.Table = function (props) { return new _Table(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/templates.js":
/*!******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/templates.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\\n \\n \\n
\".trim();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/table/templates.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/index.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/index.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar toast = __webpack_require__(/*! bootstrap/js/dist/toast */ \"./node_modules/.pnpm/registry.npmjs.org/bootstrap/5.0.0-alpha1_popper.js@1.16.1/node_modules/bootstrap/js/dist/toast.js\");\r\nvar base_1 = __webpack_require__(/*! ../base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/base.js\");\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/templates.js\");\r\n/**\r\n * Toast\r\n * @param props - The toast properties.\r\n */\r\nvar _Toast = /** @class */ (function (_super) {\r\n __extends(_Toast, _super);\r\n // Constructor\r\n function _Toast(props) {\r\n var _this = _super.call(this, templates_1.HTML, props) || this;\r\n // Configure the collapse\r\n _this.configure();\r\n // Configure the events\r\n _this.configureEvents();\r\n // Configure the parent\r\n _this.configureParent();\r\n return _this;\r\n }\r\n // Configure the card group\r\n _Toast.prototype.configure = function () {\r\n var header = this.el.querySelector(\".toast-header\");\r\n // See if we are rendering an image\r\n var img = header.querySelector(\"img\");\r\n if (this.props.headerImgSrc) {\r\n // Create the image\r\n img.className = this.props.headerImgClass || \"\";\r\n img.src = this.props.headerImgSrc;\r\n }\r\n else {\r\n // Remove the image\r\n img.remove();\r\n }\r\n // See if header text is defined\r\n var headerText = header.querySelector(\"strong\");\r\n if (this.props.headerText) {\r\n // Update the header text\r\n headerText.innerHTML = this.props.headerText;\r\n }\r\n else {\r\n // Remove the header\r\n headerText.remove();\r\n }\r\n // See if muted text is defined\r\n var mutedText = header.querySelector(\"small\");\r\n if (this.props.mutedText) {\r\n // Create the text\r\n mutedText.innerHTML = this.props.mutedText;\r\n }\r\n else {\r\n // Remove the element\r\n mutedText.remove();\r\n }\r\n // See if we are creating the close button\r\n var closeButton = header.querySelector(\"button\");\r\n if (this.props.hideCloseButton) {\r\n // Remove the button\r\n closeButton.remove();\r\n }\r\n // Update the body\r\n var body = this.el.querySelector(\".toast-body\");\r\n var content = this.props.body || \"\";\r\n if (typeof (content) === \"string\") {\r\n // Set the html\r\n body.innerHTML = content;\r\n }\r\n else {\r\n // Append the element\r\n body.appendChild(content);\r\n }\r\n // Initialize the toast component\r\n var options = this.props.options || {};\r\n this._bootstrapObj = new toast(this.el, options);\r\n // See if we are showing this toast\r\n if (options.autohide == false) {\r\n // Show the toast\r\n this.show();\r\n }\r\n };\r\n // Configures the events\r\n _Toast.prototype.configureEvents = function () {\r\n var _this = this;\r\n // Execute the render events\r\n this.props.onRenderHeader ? this.props.onRenderHeader(this.el.querySelector(\".toast-header\"), this.props.data) : null;\r\n this.props.onRenderBody ? this.props.onRenderBody(this.el.querySelector(\".toast-body\"), this.props.data) : null;\r\n // See if the click event exists\r\n if (this.props.onClick) {\r\n // Set the click event\r\n this.el.addEventListener(\"click\", function () {\r\n // Execute the click event\r\n _this.props.onClick(_this.el, _this.props.data);\r\n });\r\n }\r\n };\r\n /**\r\n * Bootstrap\r\n */\r\n // Hides the toast\r\n _Toast.prototype.hide = function () { this._bootstrapObj.hide(); };\r\n // Shows the toast\r\n _Toast.prototype.show = function () { this._bootstrapObj.show(); };\r\n return _Toast;\r\n}(base_1.Base));\r\nexports.Toast = function (props) { return new _Toast(props); };\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/templates.js":
/*!******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-bs/3.0.8/node_modules/gd-bs/build/components/toast/templates.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.HTML = \"\\n
\";\r\n break;\r\n case \"User\":\r\n case \"UserMulti\":\r\n for (var i = 0; i < ctx.CurrentFieldValue.length; i++) {\r\n var userValue = ctx.CurrentFieldValue[i];\r\n // Add the user value\r\n fieldValue +=\r\n // User Lookup ID\r\n userValue.EntityData.SPUserID +\r\n // Delimiter\r\n sptypes_1.SPTypes.ClientTemplatesUtility.UserLookupDelimitString +\r\n // User Lookup Value\r\n userValue.DisplayText +\r\n // Optional Delimiter\r\n ((i == ctx.CurrentFieldValue.length - 1 ? \"\" : sptypes_1.SPTypes.ClientTemplatesUtility.UserLookupDelimitString));\r\n }\r\n break;\r\n }\r\n ;\r\n // Update the current field value\r\n ctx.CurrentFieldValue = fieldValue;\r\n }\r\n // Determine the control mode\r\n var controlMode = sptypes_1.SPTypes.ControlMode.Display;\r\n if (requireValueFl && (fieldValue == null || fieldValue == \"\")) {\r\n // Inherit the control mode\r\n controlMode = ctx.ControlMode;\r\n }\r\n // Return the display value of the field\r\n return exports.JSLink.renderField(ctx, field, controlMode);\r\n },\r\n /**\r\n * Disable quick edit for the specified field.\r\n * @param ctx - The client context.\r\n * @param field - The field to disable edit.\r\n */\r\n disableQuickEdit: function (ctx, field) {\r\n // Ensure we are in grid edit mode\r\n if (ctx.inGridMode) {\r\n // Disable editing for this field\r\n field.AllowGridEditing = false;\r\n return \"\";\r\n }\r\n // Return the default field value html\r\n return exports.JSLink.renderField(ctx, field);\r\n },\r\n /**\r\n * Returns the list view.\r\n * @param ctx - The client context.\r\n */\r\n getListView: function (ctx) {\r\n // Get the webpart\r\n var wp = exports.JSLink.getWebPart(ctx);\r\n if (wp) {\r\n // Find the list form table\r\n wp = wp.querySelector(\".ms-formtable\");\r\n }\r\n // Return the list view\r\n return wp;\r\n },\r\n /**\r\n * Returns the list view items.\r\n * @param ctx - The client context.\r\n */\r\n getListViewItems: function (ctx) {\r\n // Return the list view items\r\n return ctx.ListData ? ctx.ListData.Row : [];\r\n },\r\n /**\r\n * Returns the selected list view items\r\n */\r\n getListViewSelectedItems: function () {\r\n // Return the selected items\r\n return lib_1.ContextInfo.window[\"SP\"].ListOperation.Selection.getSelectedItems();\r\n },\r\n /**\r\n * Returns the webpart containing the JSLink field/form/view.\r\n * @param ctx - The client context.\r\n */\r\n getWebPart: function (ctx) {\r\n // Return the webpart\r\n return lib_1.ContextInfo.document.querySelector(\"#WebPart\" + (ctx.FormUniqueId || ctx.wpq));\r\n },\r\n /**\r\n * Hides the specified field.\r\n * @param ctx - The client context.\r\n * @param field - The field to hide.\r\n */\r\n hideField: function (ctx, field) {\r\n // Ensure the hide event has been created\r\n if (!exports.JSLink._hideEventFl) {\r\n // Set the flag\r\n exports.JSLink._hideEventFl = true;\r\n // Create the event\r\n lib_1.ContextInfo.window.addEventListener(\"load\", function () {\r\n // Query for the elements to hide\r\n var fieldElements = lib_1.ContextInfo.document.querySelectorAll(\".hide-field\");\r\n for (var _i = 0, fieldElements_1 = fieldElements; _i < fieldElements_1.length; _i++) {\r\n var fieldElement = fieldElements_1[_i];\r\n // Get the parent row\r\n var parentRow = fieldElement.parentNode && fieldElement.parentNode.parentNode ? fieldElement.parentNode.parentNode : null;\r\n if (parentRow) {\r\n // Ensure the parent row exists\r\n if (fieldElement.parentNode.getAttribute(\"data-field-name\") != parentRow.getAttribute(\"data-field-name\")) {\r\n // Find the parent row\r\n while (parentRow && parentRow.nodeName.toLowerCase() != \"tr\") {\r\n // Update the parent node\r\n parentRow = parentRow.parentNode;\r\n }\r\n }\r\n // Hide the parent row\r\n if (parentRow) {\r\n parentRow.style.display = \"none\";\r\n }\r\n }\r\n }\r\n });\r\n }\r\n },\r\n /**\r\n * Registers the JSLink configuration\r\n * @param cfg - The JSLink configuration.\r\n */\r\n register: function (cfg) {\r\n // Ensure a configuration exists\r\n if (cfg) {\r\n // Get the template manager\r\n var templateManager = lib_1.ContextInfo.window.SPClientTemplates;\r\n templateManager = templateManager ? templateManager.TemplateManager : null;\r\n // Ensure it exists\r\n if (templateManager) {\r\n // Apply the customization\r\n templateManager.RegisterTemplateOverrides(cfg);\r\n }\r\n }\r\n },\r\n /**\r\n * Removes the field and html from the page.\r\n * @param ctx - The client context.\r\n * @param field - The field to remove.\r\n */\r\n removeField: function (ctx, field) {\r\n // Hide the field\r\n exports.JSLink.hideField(ctx, field);\r\n // Return an empty element\r\n return \"\";\r\n },\r\n /**\r\n * Method to render the default html for a field.\r\n * @param ctx - The client context.\r\n * @param field - The form field.\r\n * @param formType - The form type. (Display, Edit, New or View)\r\n */\r\n renderField: function (ctx, field, formType) {\r\n // Determine the field type\r\n var fieldType = field ? field.Type : (ctx.CurrentFieldSchema ? ctx.CurrentFieldSchema.Type : null);\r\n // Ensure the form type is set\r\n formType = formType ? formType : ctx.ControlMode;\r\n // Ensure a field to method mapper exists\r\n if (exports.JSLink._fieldToMethodMapper[fieldType] && exports.JSLink._fieldToMethodMapper[fieldType][formType]) {\r\n // Return the default html for this field\r\n var defaultHtml = exports.JSLink._fieldToMethodMapper[fieldType][formType](ctx);\r\n if (defaultHtml) {\r\n return defaultHtml;\r\n }\r\n }\r\n // Set the field renderer based on the field type\r\n var field = ctx.CurrentFieldSchema;\r\n var fieldRenderer = null;\r\n switch (field.Type) {\r\n case \"AllDayEvent\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"AllDayEventFieldRenderer\"](field.Name);\r\n break;\r\n case \"Attachments\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"AttachmentFieldRenderer\"](field.Name);\r\n break;\r\n case \"BusinessData\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"BusinessDataFieldRenderer\"](field.Name);\r\n break;\r\n case \"Computed\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"ComputedFieldRenderer\"](field.Name);\r\n break;\r\n case \"CrossProjectLink\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"ProjectLinkFieldRenderer\"](field.Name);\r\n break;\r\n case \"Currency\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"NumberFieldRenderer\"](field.Name);\r\n break;\r\n case \"DateTime\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"DateTimeFieldRenderer\"](field.Name);\r\n break;\r\n case \"Lookup\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"LookupFieldRenderer\"](field.Name);\r\n break;\r\n case \"LookupMulti\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"LookupFieldRenderer\"](field.Name);\r\n break;\r\n case \"Note\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"NoteFieldRenderer\"](field.Name);\r\n break;\r\n case \"Number\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"NumberFieldRenderer\"](field.Name);\r\n break;\r\n case \"Recurrence\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"RecurrenceFieldRenderer\"](field.Name);\r\n break;\r\n case \"Text\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"TextFieldRenderer\"](field.Name);\r\n break;\r\n case \"URL\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"UrlFieldRenderer\"](field.Name);\r\n break;\r\n case \"User\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"UserFieldRenderer\"](field.Name);\r\n break;\r\n case \"UserMulti\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"UserFieldRenderer\"](field.Name);\r\n break;\r\n case \"WorkflowStatus\":\r\n fieldRenderer = new lib_1.ContextInfo.window[\"RawFieldRenderer\"](field.Name);\r\n break;\r\n }\r\n ;\r\n // Get the current item\r\n var currentItem = ctx.CurrentItem || ctx.ListData.Items[0];\r\n // Return the item's field value html\r\n return fieldRenderer ? fieldRenderer.RenderField(ctx, field, currentItem, ctx.ListSchema) : currentItem[field.Name];\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/jslink.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listForm.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listForm.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar __1 = __webpack_require__(/*! .. */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\r\n/**\r\n * List Form\r\n */\r\nexports.ListForm = {\r\n // Method to create an instance of the list form\r\n create: function (props) {\r\n var _info = null;\r\n var _props = null;\r\n var _reject = null;\r\n var _resolve = null;\r\n // Save the properties\r\n _props = props || {};\r\n _props.fields = _props.fields;\r\n // Method to load the list data\r\n var load = function () {\r\n // Clear the information\r\n _info = {\r\n item: _props.item,\r\n query: _props.query || {}\r\n };\r\n // Load the list data\r\n loadListData().then(\r\n // Success\r\n function () {\r\n // See if the fields have been defined\r\n if (_props.fields) {\r\n // Process the fields\r\n processFields();\r\n // Load the item data\r\n loadItem();\r\n }\r\n else {\r\n // Load the content type\r\n loadContentType();\r\n }\r\n }, \r\n // Reject\r\n _reject);\r\n };\r\n // Method to load a content type for the associated fields\r\n var loadContentType = function () {\r\n // Load the content types\r\n _info.list.ContentTypes()\r\n // Query for the default content type and expand the field links\r\n .query({\r\n Filter: _props.contentType ? \"Name eq '\" + _props.contentType + \"'\" : null,\r\n Expand: [\"FieldLinks\"],\r\n Select: [\"*\", \"FieldLinks/DisplayName\", \"FieldLinks/Hidden\", \"FieldLinks/Name\", \"FieldLinks/ReadOnly\", \"FieldLinks/Required\"],\r\n Top: 1\r\n })\r\n // Execute the request, but wait for the previous one to be completed\r\n .execute(function (ct) {\r\n // Resolve the promise\r\n loadDefaultFields(ct.results[0]);\r\n }, _reject);\r\n };\r\n // Method to load the default fields\r\n var loadDefaultFields = function (ct) {\r\n var fields = ct ? ct.FieldLinks.results : [];\r\n var formFields = {};\r\n var formLinks = {};\r\n // Parse the field links\r\n for (var i = 0; i < fields.length; i++) {\r\n var fieldLink = fields[i];\r\n // Get the field\r\n var field = _info.fields[fieldLink.Name];\r\n if (field) {\r\n // Skip the content type field\r\n if (field.InternalName == \"ContentType\") {\r\n continue;\r\n }\r\n // Skip hidden fields\r\n if (field.Hidden || fieldLink.Hidden) {\r\n continue;\r\n }\r\n // Save the form field and link\r\n formFields[field.InternalName] = field;\r\n formLinks[field.InternalName] = fieldLink;\r\n }\r\n }\r\n // Update the fields\r\n _info.contentType = ct;\r\n _info.fields = formFields;\r\n _info.fieldLinks = formLinks;\r\n // Load the item data\r\n loadItem();\r\n };\r\n // Method to load the field data\r\n var loadFieldData = function (fields) {\r\n // Clear the fields\r\n _info.fields = {};\r\n // Parse the fields\r\n for (var i = 0; i < fields.results.length; i++) {\r\n var field = fields.results[i];\r\n // See if the exclude fields is defined\r\n if (_props.excludeFields) {\r\n var excludeField = false;\r\n // Parse the fields to exclude\r\n for (var j = 0; j < _props.excludeFields.length; j++) {\r\n // See if we are excluding this field\r\n if (_props.excludeFields[j] == field.InternalName) {\r\n // Set the flag\r\n excludeField = true;\r\n break;\r\n }\r\n }\r\n // See if we are excluding the field\r\n if (excludeField) {\r\n continue;\r\n }\r\n }\r\n // Save the field\r\n _info.fields[field.InternalName] = field;\r\n }\r\n };\r\n // Method to load the item\r\n var loadItem = function () {\r\n var reloadItem = false;\r\n // See if the item already exist\r\n if (_info.item) {\r\n // Parse the fields\r\n for (var fieldName in _info.fields) {\r\n var field = _info.fields[fieldName];\r\n // See what type of field this is\r\n switch (field.FieldTypeKind) {\r\n // Lookup or User Field\r\n case __1.SPTypes.FieldType.Lookup:\r\n case __1.SPTypes.FieldType.User:\r\n var fieldValue = _info.item[fieldName + \"Id\"];\r\n // Ensure the value exists\r\n if (fieldValue) {\r\n // See if a value exists\r\n if (fieldValue.results ? fieldValue.results.length > 0 : fieldValue > 0) {\r\n // Ensure the field data has been loaded\r\n if (_info.item[fieldName] == null) {\r\n // Set the flag\r\n reloadItem = true;\r\n }\r\n }\r\n }\r\n break;\r\n // Default\r\n default:\r\n // See if this is an taxonomy field\r\n if (field.TypeAsString.indexOf(\"TaxonomyFieldType\") == 0) {\r\n var fieldValue_1 = _info.item[fieldName + \"Id\"];\r\n // Ensure the value exists\r\n if (fieldValue_1) {\r\n // See if a field value exists\r\n if (fieldValue_1.results ? fieldValue_1.results.length > 0 : fieldValue_1 != null) {\r\n // Parse the fields\r\n for (var fieldName_1 in _info.fields) {\r\n var valueField = _info.fields[fieldName_1];\r\n // See if this is the value field\r\n if (valueField.InternalName == field.InternalName + \"_0\" || valueField.Title == field.InternalName + \"_0\") {\r\n // Ensure the value field is loaded\r\n if (_info.item[valueField.InternalName] == null) {\r\n // Set the flag\r\n reloadItem = true;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n break;\r\n }\r\n // See if we are reloading the item\r\n if (reloadItem) {\r\n break;\r\n }\r\n }\r\n }\r\n // See if the item exists\r\n if (_info.item && !reloadItem) {\r\n // See if we are loading attachments\r\n if (_props.loadAttachments && _info.attachments == null) {\r\n // Load the attachments\r\n exports.ListForm.loadAttachments(_props).then(function (attachments) {\r\n // Set the attachments\r\n _info.attachments = attachments;\r\n // Resolve the promise\r\n _resolve(_info);\r\n }, _reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n _resolve(_info);\r\n }\r\n }\r\n // Else, see if we are loading the list item\r\n else if (reloadItem || _props.itemId > 0) {\r\n // Update the item query\r\n _info.query = exports.ListForm.generateODataQuery(_info, _props.loadAttachments);\r\n // Get the list item\r\n _info.list.Items(reloadItem ? _props.item.Id : _props.itemId)\r\n // Set the query\r\n .query(_info.query)\r\n // Execute the request\r\n .execute(function (item) {\r\n // Save the attachments\r\n _info.attachments = item.AttachmentFiles.results;\r\n // Save the item\r\n _info.item = item;\r\n // Refresh the item\r\n exports.ListForm.refreshItem(_info).then(function (info) {\r\n // Update the info\r\n _info = info;\r\n // Resolve the promise\r\n _resolve(_info);\r\n }, _reject);\r\n }, _reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n _resolve(_info);\r\n }\r\n };\r\n // Method to load the list data\r\n var loadListData = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the list & fields already exist\r\n if (_info.list && _info.fields) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n // Get the web\r\n __1.Web(_props.webUrl)\r\n // Get the list\r\n .Lists(_props.listName)\r\n // Execute the request\r\n .execute(function (list) {\r\n // Save the list and web url\r\n _info.list = list;\r\n _info.webUrl = _props.webUrl;\r\n }, reject)\r\n // Load the fields\r\n .Fields()\r\n // Execute the request\r\n .execute(function (fields) {\r\n // Load the field data\r\n loadFieldData(fields);\r\n // Resolve the promise\r\n resolve();\r\n }, reject, true);\r\n });\r\n };\r\n // Method to process the fields\r\n var processFields = function () {\r\n var formFields = {};\r\n // Parse the fields provided\r\n for (var i = 0; i < _props.fields.length; i++) {\r\n var field = _info.fields[_props.fields[i]];\r\n // Ensure the field exists\r\n if (field) {\r\n // Save the field\r\n formFields[field.InternalName] = field;\r\n // See if this is a taxonomy field\r\n if (field.TypeAsString.indexOf(\"TaxonomyFieldType\") == 0) {\r\n // Parse the list fields\r\n for (var fieldName in _info.fields) {\r\n var valueField = _info.fields[fieldName];\r\n // See if this is a value field\r\n if (valueField.InternalName == field.InternalName + \"_0\" || valueField.Title == field.InternalName + \"_0\") {\r\n // Include this field\r\n formFields[valueField.InternalName] = valueField;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n // Update the fields\r\n _info.fields = formFields;\r\n };\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Save the methods\r\n _reject = reject;\r\n _resolve = resolve;\r\n // Load the list data\r\n load();\r\n });\r\n },\r\n // Method to generate the odata query\r\n generateODataQuery: function (info, loadAttachments) {\r\n if (loadAttachments === void 0) { loadAttachments = false; }\r\n var query = info.query || {};\r\n // Default the select query to get all the fields by default\r\n query.Select = query.Select || [\"*\"];\r\n query.Expand = query.Expand || [];\r\n // See if we are loading the attachments\r\n if (loadAttachments) {\r\n // Expand the attachment files collection\r\n query.Expand.push(\"AttachmentFiles\");\r\n // Select the attachment files\r\n query.Select.push(\"Attachments\");\r\n query.Select.push(\"AttachmentFiles\");\r\n }\r\n // Parse the fields\r\n for (var fieldName in info.fields) {\r\n var field = info.fields[fieldName];\r\n // Update the query, based on the type\r\n switch (field.FieldTypeKind) {\r\n // Lookup Field\r\n case __1.SPTypes.FieldType.Lookup:\r\n var lookupField = field;\r\n // See if this is an associated lookup field\r\n if (lookupField.PrimaryFieldId) {\r\n // Parse the form fields to find the parent field\r\n for (var parentFieldName in info.fields) {\r\n var parentField = info.fields[parentFieldName];\r\n // See if the parent field is being loaded\r\n if (parentField.Id == lookupField.PrimaryFieldId) {\r\n // Select the field\r\n query.Select.push(parentField.InternalName + \"/\" + lookupField.LookupField);\r\n break;\r\n }\r\n }\r\n }\r\n else {\r\n // Expand the field\r\n query.Expand.push(field.InternalName);\r\n // Select the fields\r\n query.Select.push(field.InternalName + \"/Id\");\r\n query.Select.push(field.InternalName + \"/\" + field.LookupField);\r\n }\r\n break;\r\n // User Field\r\n case __1.SPTypes.FieldType.User:\r\n // Expand the field\r\n query.Expand.push(field.InternalName);\r\n // Select the fields\r\n query.Select.push(field.InternalName + \"/Id\");\r\n query.Select.push(field.InternalName + \"/Title\");\r\n break;\r\n // Default\r\n default:\r\n // See if this is an taxonomy field\r\n if (field.TypeAsString.indexOf(\"TaxonomyFieldType\") == 0) {\r\n // Parse the fields\r\n for (var fieldName_2 in info.fields) {\r\n var valueField = info.fields[fieldName_2];\r\n // See if this is the value field\r\n if (valueField.InternalName == field.InternalName + \"_0\" || valueField.Title == field.InternalName + \"_0\") {\r\n // Include the value field\r\n query.Select.push(valueField.InternalName);\r\n break;\r\n }\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n // Return the query\r\n return query;\r\n },\r\n // Method to load the item attachments\r\n loadAttachments: function (info) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure the item id exists\r\n var itemId = info.item ? info.item.Id : info.itemId;\r\n if (itemId > 0) {\r\n // Get the web\r\n __1.Web(info.webUrl)\r\n // Get the list\r\n .Lists(info.listName)\r\n // Get the item\r\n .Items(itemId)\r\n // Get the attachment files\r\n .AttachmentFiles()\r\n // Execute the request\r\n .execute(function (attachments) {\r\n // Ensure the attachments exist\r\n if (!attachments.existsFl) {\r\n // Reject the promise\r\n reject(attachments.response);\r\n return;\r\n }\r\n // Resolve the promise\r\n resolve(attachments.results || []);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve([]);\r\n }\r\n });\r\n },\r\n // Method to refresh an item\r\n refreshItem: function (info) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Update the query\r\n info.query = exports.ListForm.generateODataQuery(info, true);\r\n // Get the item\r\n info.list.Items(info.item.Id).query(info.query).execute(function (item) {\r\n // Update the item\r\n info.item = item;\r\n // Get the item values\r\n info.list.Items(item.Id).query({\r\n Expand: [\"FieldValuesAsText\"]\r\n }).execute(function (item) {\r\n // Set the values\r\n info.fieldValuesAsText = item.FieldValuesAsText;\r\n });\r\n // Get the html values for this item\r\n // This is needed for complex field values\r\n info.list.Items(item.Id).FieldValuesAsHtml().execute(function (values) {\r\n // Set the values\r\n info.fieldValuesAsHtml = values;\r\n // Resolve the promise\r\n resolve(info);\r\n }, true);\r\n }, reject);\r\n });\r\n },\r\n // Method to remove attachments from an item\r\n removeAttachment: function (info, fileName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure attachments exist\r\n if (info.attachments) {\r\n // Parse the attachments\r\n for (var i = 0; i < info.attachments.length; i++) {\r\n // See if this is the target attachment\r\n var attachment = info.attachments[i];\r\n if (attachment.FileName == fileName) {\r\n // Get the web\r\n __1.Web(info.webUrl)\r\n // Get the file\r\n .getFileByServerRelativeUrl(attachment.ServerRelativeUrl)\r\n // Delete the file\r\n .delete()\r\n // Execute the request\r\n .execute(function () {\r\n // Resolve the promise\r\n resolve(info);\r\n }, reject);\r\n // Attachment found\r\n return;\r\n }\r\n // Attachment not found\r\n reject(\"Attachment '\" + fileName + \"' was not found.\");\r\n }\r\n }\r\n else {\r\n // Attachments not loaded\r\n reject(\"Attachment '\" + fileName + \"' was not found.\");\r\n }\r\n });\r\n },\r\n // Method to save attachments to an existing item\r\n saveAttachments: function (info, attachmentInfo) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var itemId = info.item ? info.item.Id : info.itemId;\r\n if (itemId > 0) {\r\n // Get the web\r\n var attachments = __1.Web(info.webUrl)\r\n // Get the lists\r\n .Lists(info.listName)\r\n // Get the item\r\n .Items(itemId)\r\n // Get the attachment files\r\n .AttachmentFiles();\r\n // Parse the attachment information\r\n for (var i = 0; i < attachmentInfo.length; i++) {\r\n var attachment = attachmentInfo[i];\r\n // Add the attachment\r\n attachments.add(attachment.name, attachment.data).execute(true);\r\n }\r\n // Wait for the requests to complete\r\n attachments.done(function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Resolve the promise\r\n resolve.apply(args);\r\n });\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n },\r\n // Method to save a new or existing item\r\n saveItem: function (info, formValues) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if this is an existing item\r\n if (info.item && info.item.update) {\r\n // Update the item\r\n info.item.update(formValues).execute(function (response) {\r\n // Refresh the item\r\n exports.ListForm.refreshItem(info).then(function (info) {\r\n // Resolve the promise\r\n resolve(info);\r\n }, reject);\r\n });\r\n }\r\n else {\r\n // Set the metadata type\r\n formValues[\"__metadata\"] = { type: info.list.ListItemEntityTypeFullName };\r\n // Add the item\r\n info.list.Items().add(formValues)\r\n // Execute the request\r\n .execute(function (item) {\r\n // Update the info\r\n info.item = item;\r\n // Refresh the item\r\n exports.ListForm.refreshItem(info).then(function (info) {\r\n // Resolve the promise\r\n resolve(info);\r\n });\r\n }, reject);\r\n }\r\n });\r\n },\r\n // Method to show a file dialog\r\n showFileDialog: function (info, onSave) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Method to add an attachment\r\n var addAttachment = function (name, data) {\r\n // Call the save event\r\n onSave ? onSave({ name: name, data: data }) : null;\r\n // Get the list\r\n info.list\r\n // Get the item\r\n .Items(info.item.Id)\r\n // Get the attachments\r\n .AttachmentFiles()\r\n // Add the file\r\n .add(name, data)\r\n // Execute the request\r\n .execute(function () {\r\n // Refresh the item\r\n exports.ListForm.refreshItem(info).then(function (info) {\r\n // Remove the element\r\n document.body.removeChild(el);\r\n // Resolve the promise\r\n resolve(info);\r\n });\r\n }, reject);\r\n };\r\n // Method to read the file\r\n var readFile = function (ev) {\r\n // Get the source file\r\n var srcFile = ev.target[\"files\"][0];\r\n if (srcFile) {\r\n var reader = new FileReader();\r\n // Set the file loaded event\r\n reader.onloadend = function (ev) {\r\n var attachment = null;\r\n var ext = srcFile.name.split(\".\");\r\n ext = ext[ext.length - 1].toLowerCase();\r\n // See if the info exists\r\n if (info) {\r\n // Add the attachment\r\n addAttachment(srcFile.name, ev.target.result);\r\n }\r\n else {\r\n // Remove the element\r\n document.body.removeChild(el);\r\n // Resolve the promise with the file information\r\n resolve({\r\n data: ev.target.result,\r\n name: srcFile.name\r\n });\r\n }\r\n };\r\n // Set the error\r\n reader.onerror = function (ev) {\r\n // Remove the element\r\n document.body.removeChild(el);\r\n // Reject the promise\r\n reject(ev.target.error);\r\n };\r\n // Read the file\r\n reader.readAsArrayBuffer(srcFile);\r\n }\r\n };\r\n // Create the file element\r\n var el = document.body.querySelector(\"#listform-attachment\");\r\n if (el == null) {\r\n el = document.createElement(\"input\");\r\n // Set the properties\r\n el.id = \"listform-attachment\";\r\n el.type = \"file\";\r\n el.hidden = true;\r\n el.onchange = readFile;\r\n // Add the element to the body\r\n document.body.appendChild(el);\r\n }\r\n // Show the dialog\r\n el.click();\r\n });\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listForm.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listFormField.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listFormField.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar __1 = __webpack_require__(/*! .. */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\r\n/**\r\n * List Form Field\r\n */\r\nexports.ListFormField = {\r\n // Method to create an instance of the list form field\r\n create: function (props) {\r\n var _fieldInfo = props || {};\r\n var _reject = null;\r\n var _resolve = null;\r\n // Load the field\r\n var load = function () {\r\n // See if the field exists\r\n if (_fieldInfo.field) {\r\n // Process the field\r\n processField();\r\n }\r\n // Else, load the field from the information provided\r\n else {\r\n // Get the web\r\n __1.Web(_fieldInfo.webUrl)\r\n // Get the list\r\n .Lists(_fieldInfo.listName)\r\n // Get the fields\r\n .Fields()\r\n // Get the field by its internal name\r\n .getByInternalNameOrTitle(_fieldInfo.name)\r\n // Execute the request\r\n .execute(function (field) {\r\n // Save the field\r\n _fieldInfo.field = field;\r\n // Process the field\r\n processField();\r\n }, _reject);\r\n }\r\n };\r\n // Method to proces the field and save its information\r\n var processField = function () {\r\n // Update the field information\r\n _fieldInfo.defaultValue = _fieldInfo.field.DefaultValue;\r\n _fieldInfo.readOnly = _fieldInfo.field.ReadOnlyField;\r\n _fieldInfo.required = _fieldInfo.field.Required ? true : false;\r\n _fieldInfo.title = _fieldInfo.field.Title;\r\n _fieldInfo.type = _fieldInfo.field.FieldTypeKind;\r\n _fieldInfo.typeAsString = _fieldInfo.field.TypeAsString;\r\n // Update the field info, based on the type\r\n switch (_fieldInfo.type) {\r\n // Choice\r\n case __1.SPTypes.FieldType.Choice:\r\n case __1.SPTypes.FieldType.MultiChoice:\r\n var choices = _fieldInfo.field.Choices;\r\n _fieldInfo.choices = (choices ? choices[\"results\"] : null) || [];\r\n _fieldInfo.multi = _fieldInfo.type == __1.SPTypes.FieldType.MultiChoice;\r\n break;\r\n // Date/Time\r\n case __1.SPTypes.FieldType.DateTime:\r\n var fldDate = _fieldInfo.field;\r\n _fieldInfo.showTime = fldDate.DisplayFormat == __1.SPTypes.DateFormat.DateTime;\r\n break;\r\n // Lookup\r\n case __1.SPTypes.FieldType.Lookup:\r\n var fldLookup = _fieldInfo.field;\r\n _fieldInfo.lookupField = fldLookup.LookupField;\r\n _fieldInfo.lookupListId = fldLookup.LookupList;\r\n _fieldInfo.lookupWebId = fldLookup.LookupWebId;\r\n _fieldInfo.multi = fldLookup.AllowMultipleValues;\r\n break;\r\n // Number\r\n case __1.SPTypes.FieldType.Number:\r\n var fldNumber = _fieldInfo.field;\r\n var startIdx = fldNumber.SchemaXml.indexOf('Decimals=\"') + 10;\r\n _fieldInfo.decimals = startIdx > 10 ? parseInt(fldNumber.SchemaXml.substr(startIdx, fldNumber.SchemaXml.substr(startIdx).indexOf('\"'))) : 0;\r\n _fieldInfo.maxValue = fldNumber.MaximumValue;\r\n _fieldInfo.minValue = fldNumber.MinimumValue;\r\n _fieldInfo.showAsPercentage = fldNumber.SchemaXml.indexOf('Percentage=\"TRUE\"') > 0;\r\n break;\r\n // Note\r\n case __1.SPTypes.FieldType.Note:\r\n var fldNote = _fieldInfo.field;\r\n _fieldInfo.multiline = true;\r\n _fieldInfo.richText = fldNote.RichText;\r\n _fieldInfo.rows = fldNote.NumberOfLines;\r\n break;\r\n // Text\r\n case __1.SPTypes.FieldType.Text:\r\n _fieldInfo.multiline = false;\r\n _fieldInfo.richText = false;\r\n _fieldInfo.rows = 1;\r\n break;\r\n // User\r\n case __1.SPTypes.FieldType.User:\r\n var fldUser = _fieldInfo.field;\r\n _fieldInfo.allowGroups = fldUser.SelectionMode == __1.SPTypes.FieldUserSelectionType.PeopleAndGroups;\r\n _fieldInfo.multi = fldUser.AllowMultipleValues;\r\n break;\r\n // Default\r\n default:\r\n // See if this is an MMS field\r\n if (_fieldInfo.typeAsString.indexOf(\"TaxonomyFieldType\") == 0) {\r\n var fldMMS = _fieldInfo.field;\r\n _fieldInfo.multi = fldMMS.AllowMultipleValues;\r\n _fieldInfo.termId = fldMMS.IsAnchorValid ? fldMMS.AnchorId : fldMMS.TermSetId;\r\n _fieldInfo.termSetId = fldMMS.TermSetId;\r\n _fieldInfo.termStoreId = fldMMS.SspId;\r\n }\r\n break;\r\n }\r\n // Resolve the promise\r\n _resolve(_fieldInfo);\r\n };\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Save the methods\r\n _resolve = resolve;\r\n _reject = reject;\r\n // See if the field exists\r\n if (_fieldInfo.field) {\r\n // Process the field\r\n processField();\r\n }\r\n else {\r\n // Load the field\r\n load();\r\n }\r\n });\r\n },\r\n // Method to load the lookup data\r\n loadLookupData: function (info, queryTop) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the current site collection\r\n __1.Site()\r\n // Get the web containing the lookup list\r\n .openWebById(info.lookupWebId)\r\n // Execute the request\r\n .execute(function (web) {\r\n // Get the list\r\n web.Lists()\r\n // Get the list by id\r\n .getById(info.lookupListId)\r\n // Get the items\r\n .Items()\r\n // Set the query\r\n .query({\r\n GetAllItems: true,\r\n Select: [\"ID\", info.lookupField],\r\n Top: queryTop > 0 && queryTop <= 5000 ? queryTop : 500\r\n })\r\n // Execute the request\r\n .execute(function (items) {\r\n // Resolve the promise\r\n resolve(items.results);\r\n }, reject);\r\n }, reject);\r\n });\r\n },\r\n // Method to load the mms data\r\n loadMMSData: function (info) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the term set\r\n __1.Helper.Taxonomy.getTermSetById(info.termStoreId, info.termSetId).then(function (termSet) {\r\n // Get the target root term\r\n var root = __1.Helper.Taxonomy.findById(termSet, info.termId);\r\n // See if the root node doesn't exist\r\n if (root == null) {\r\n // Set the root to the term set\r\n root = __1.Helper.Taxonomy.findById(termSet, info.termSetId);\r\n }\r\n // Resolve the request\r\n resolve(__1.Helper.Taxonomy.toArray(root));\r\n }, reject);\r\n });\r\n },\r\n // Method to load the mms value field\r\n loadMMSValueField: function (info) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the web\r\n __1.Web(info.webUrl)\r\n // Get the list\r\n .Lists(info.listName)\r\n // Get the fields\r\n .Fields()\r\n // Get the hidden field\r\n .getByInternalNameOrTitle(info.name + \"_0\")\r\n // Execute the request\r\n .execute(\r\n // Success\r\n function (field) {\r\n // Resolve the promise\r\n resolve(field);\r\n }, \r\n // Error\r\n function () {\r\n // Reject w/ a message\r\n reject(\"Unable to find the hidden value field for '\" + info.name + \"'.\");\r\n });\r\n });\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/listFormField.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addContentEditorWebPart.js":
/*!**************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addContentEditorWebPart.js ***!
\**************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar webpart_1 = __webpack_require__(/*! ../webpart */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/webpart.js\");\r\n// Method to add a script editor webpart to the page\r\nexports.addContentEditorWebPart = function (url, wpProps) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the current context\r\n var context = SP.ClientContext.get_current();\r\n // Get the webpart manager for the page\r\n var page = context.get_web().getFileByServerRelativeUrl(url);\r\n var wpMgr = page.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);\r\n // Create the webpart\r\n var wp = wpMgr.importWebPart(webpart_1.WebPart.generateContentEditorXML(wpProps)).get_webPart();\r\n // Add the webpart to the page\r\n wpMgr.addWebPart(wp, wpProps.zone || \"\", wpProps.index || 0);\r\n // Save the page\r\n context.load(wp);\r\n context.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Resolve the promise\r\n resolve();\r\n }, \r\n // Error\r\n function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1] ? args[1].get_message() : \"\");\r\n });\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addContentEditorWebPart.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addScriptEditorWebPart.js":
/*!*************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addScriptEditorWebPart.js ***!
\*************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar webpart_1 = __webpack_require__(/*! ../webpart */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/webpart.js\");\r\n// Method to add a script editor webpart to the page\r\nexports.addScriptEditorWebPart = function (url, wpProps) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the current context\r\n var context = SP.ClientContext.get_current();\r\n // Get the webpart manager for the page\r\n var page = context.get_web().getFileByServerRelativeUrl(url);\r\n var wpMgr = page.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);\r\n // Create the webpart\r\n var wp = wpMgr.importWebPart(webpart_1.WebPart.generateScriptEditorXML(wpProps)).get_webPart();\r\n // Add the webpart to the page\r\n wpMgr.addWebPart(wp, wpProps.zone || \"\", wpProps.index || 0);\r\n // Save the page\r\n context.load(wp);\r\n context.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Resolve the promise\r\n resolve();\r\n }, \r\n // Error\r\n function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1] ? args[1].get_message() : \"\");\r\n });\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addScriptEditorWebPart.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createContentType.js":
/*!********************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createContentType.js ***!
\********************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\n/**\r\n * Creates a content type in a web or specified list.\r\n * @param ctInfo - The content type information.\r\n * @param parentInfo - The parent content type id and url containing it.\r\n * @param webUrl - The relative url to create the content type in.\r\n * @param listName - The list name to add the content type to.\r\n */\r\nexports.createContentType = function (ctInfo, parentInfo, webUrl, listName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the context\r\n var ctx = webUrl ? new SP.ClientContext(webUrl) : SP.ClientContext.get_current();\r\n // Get the parent content type\r\n var parentContentType = (parentInfo.Url ? ctx.get_site().openWeb(parentInfo.Url) : ctx.get_web()).get_contentTypes().getById(parentInfo.Id);\r\n // Create the content type\r\n var ct = new SP.ContentTypeCreationInformation();\r\n ctInfo.Description != null ? ct.set_description(ctInfo.Description) : null;\r\n ctInfo.Group != null ? ct.set_group(ctInfo.Group) : null;\r\n ct.set_name(ctInfo.Name);\r\n ct.set_parentContentType(parentContentType);\r\n // Add the content type\r\n var src = listName ? ctx.get_web().get_lists().getByTitle(listName) : ctx.get_web();\r\n var contentTypes = src.get_contentTypes();\r\n contentTypes.add(ct);\r\n ctx.load(contentTypes);\r\n // Execute the request\r\n ctx.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Set the content type collection\r\n var cts = (listName ? lib_1.Web().Lists(listName) : lib_1.Web()).ContentTypes();\r\n // Find the content type\r\n cts.query({ Filter: \"Name eq '\" + ctInfo.Name + \"'\" }).execute(function (cts) {\r\n // Resolve the request\r\n resolve(cts.results[0]);\r\n });\r\n }, \r\n // Error\r\n function (sender, args) {\r\n // Log\r\n console.log(\"[gd-sprest][Create Content Type] Error adding the content type.\", ctInfo.Name);\r\n // Reject the request\r\n reject(args.get_message());\r\n });\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createContentType.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createDocSet.js":
/*!***************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createDocSet.js ***!
\***************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar request_1 = __webpack_require__(/*! ./request */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/request.js\");\r\n/**\r\n * Creates a document set item.\r\n * @param name - The name of the document set folder to create.\r\n * @param listName - The name of the document set library.\r\n * @param webUrl - The url of the web containing the document set library.\r\n */\r\nexports.createDocSet = function (name, listName, webUrl) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the document set's root folder\r\n lib_1.Web(webUrl).Lists(listName).query({ Expand: [\"ContentTypes\", \"ParentWeb\", \"RootFolder\"] }).execute(function (list) {\r\n // Parse the content types\r\n var ctId = \"0x0120D520\";\r\n for (var i = 0; i < list.ContentTypes.results.length; i++) {\r\n // See if this is the document set content type\r\n if (list.ContentTypes.results[i].StringId.indexOf(ctId) == 0) {\r\n // Set the content type id\r\n ctId = list.ContentTypes.results[i].StringId;\r\n break;\r\n }\r\n }\r\n // Create the document set item\r\n request_1.request({\r\n method: \"POST\",\r\n url: list.ParentWebUrl + \"/_vti_bin/listdata.svc/\" + list.Title.replace(/ /g, \"\"),\r\n headers: {\r\n Accept: \"application/json;odata=verbose\",\r\n \"Content-Type\": \"application/json;odata=verbose\",\r\n Slug: list.RootFolder.ServerRelativeUrl + \"/\" + name + \"|\" + ctId,\r\n \"X-Requested-With\": \"XMLHttpRequest\"\r\n },\r\n data: {\r\n Title: name,\r\n Path: list.RootFolder.ServerRelativeUrl\r\n }\r\n }).then(function (response) {\r\n // See if the request was successful\r\n if (response.d && response.d.Id > 0) {\r\n // Get the document set item and resolve the promise\r\n lib_1.Web(webUrl).Lists(listName).Items(response.d.Id).execute(resolve);\r\n }\r\n else {\r\n // Reject the promise\r\n reject(response[\"response\"]);\r\n }\r\n });\r\n }, reject);\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createDocSet.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/hasPermissions.js":
/*!*****************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/hasPermissions.js ***!
\*****************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Determines if the user has permissions, based on the permission kind value\r\n */\r\nexports.hasPermissions = function (permissionMask, permissions) {\r\n if (permissions === void 0) { permissions = []; }\r\n var hasPermissions = false;\r\n // Set the permissions\r\n var requestedPermissions = typeof (permissions) === \"number\" ? [permissions] : permissions;\r\n // Ensure the base permissions exist\r\n if (SP && SP.BasePermissions) {\r\n // Initialize the base permissions from the value\r\n var basePermissions = new SP.BasePermissions();\r\n basePermissions.initPropertiesFromJson(permissionMask);\r\n // Default the permission flag\r\n hasPermissions = true;\r\n // Parse the requested permissions\r\n for (var i = 0; i < requestedPermissions.length; i++) {\r\n // See if the user has permissions\r\n if (!basePermissions.has(requestedPermissions[i])) {\r\n // Set the flag and break from the loop\r\n hasPermissions = false;\r\n break;\r\n }\r\n }\r\n }\r\n else {\r\n // Log\r\n console.info(\"[gd-sprest] The 'SP' core library is not available.\");\r\n }\r\n // Return the value\r\n return hasPermissions;\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/hasPermissions.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/index.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/index.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(/*! ./addContentEditorWebPart */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addContentEditorWebPart.js\"));\r\n__export(__webpack_require__(/*! ./addScriptEditorWebPart */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/addScriptEditorWebPart.js\"));\r\n__export(__webpack_require__(/*! ./createContentType */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createContentType.js\"));\r\n__export(__webpack_require__(/*! ./createDocSet */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/createDocSet.js\"));\r\n__export(__webpack_require__(/*! ./hasPermissions */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/hasPermissions.js\"));\r\n__export(__webpack_require__(/*! ./parse */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/parse.js\"));\r\n__export(__webpack_require__(/*! ./request */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/request.js\"));\r\n__export(__webpack_require__(/*! ./setContentTypeFields */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setContentTypeFields.js\"));\r\n__export(__webpack_require__(/*! ./setGroupOwner */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setGroupOwner.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/parse.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/parse.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Convert a JSON string to a base object\r\n */\r\nexports.parse = function (jsonString) {\r\n // Try to parse the string\r\n try {\r\n var obj = JSON.parse(jsonString);\r\n // Create a base object\r\n var base = new utils_1.Base(obj.props);\r\n // Set the properties\r\n base.response = obj.response;\r\n base.status = obj.status;\r\n base.targetInfo = obj.targetInfo;\r\n // Update the object\r\n utils_1.Request.updateDataObject(base, false);\r\n // Return the base object\r\n return base;\r\n }\r\n catch (_a) { }\r\n return null;\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/parse.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/request.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/request.js ***!
\**********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * XML HTTP Request\r\n */\r\nexports.request = function (props) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Execute the request and resolve the promise\r\n (new utils_1.Base({\r\n method: props.method || \"GET\",\r\n url: props.url,\r\n requestHeader: props.headers,\r\n data: props.data\r\n })).execute(resolve, reject);\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/request.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setContentTypeFields.js":
/*!***********************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setContentTypeFields.js ***!
\***********************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\n/**\r\n * Sets the field links associated with a content type.\r\n * @param ctInfo - The content type information\r\n */\r\nexports.setContentTypeFields = function (ctInfo) {\r\n // Clears the content type field links\r\n var clearLinks = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the links\r\n getLinks().then(function (fieldLinks) {\r\n var skipFields = [];\r\n // See if we need to remove any fields\r\n if (fieldLinks.length > 0) {\r\n var updateFl = false;\r\n // Set the context\r\n var ctx = ctInfo.webUrl ? new SP.ClientContext(ctInfo.webUrl) : new SP.ClientContext(lib_1.ContextInfo.webServerRelativeUrl);\r\n // Get the source\r\n var src = ctInfo.listName ? ctx.get_web().get_lists().getByTitle(ctInfo.listName) : ctx.get_web();\r\n // Get the content type\r\n var contentType = src.get_contentTypes().getById(ctInfo.id);\r\n // Parse the content type field links\r\n for (var i = 0; i < fieldLinks.length; i++) {\r\n var fieldLink = fieldLinks[i];\r\n var removeFl = true;\r\n var _loop_1 = function (j) {\r\n var field = ctInfo.fields[j];\r\n var fieldName = typeof (field) === \"string\" ? field : field.Name || field.FieldInternalName;\r\n // See if we are keeping this field\r\n if (fieldName == fieldLink.Name) {\r\n var propUpdateFl_1 = false;\r\n // Checks if an update is needed\r\n var updateField = function (oldValue, newValue) {\r\n // Ensure a value exists\r\n if (newValue == null) {\r\n return;\r\n }\r\n // See if an update is needed\r\n if (oldValue == newValue) {\r\n return;\r\n }\r\n // Set the flag\r\n propUpdateFl_1 = true;\r\n };\r\n // Update the properties\r\n updateField(fieldLink.DisplayName, field.DisplayName);\r\n updateField(fieldLink.Hidden, field.Hidden);\r\n updateField(fieldLink.ReadOnly, field.ReadOnly);\r\n updateField(fieldLink.Required, field.Required);\r\n updateField(fieldLink.ShowInDisplayForm, field.ShowInDisplayForm);\r\n // See if an update to the property is needed\r\n if (!propUpdateFl_1) {\r\n // Set the flag to not remove this field reference\r\n removeFl = false;\r\n // Add the field to skip\r\n skipFields.push(fieldLink);\r\n }\r\n return \"break\";\r\n }\r\n };\r\n // Parse the fields to add\r\n for (var j = 0; j < ctInfo.fields.length; j++) {\r\n var state_1 = _loop_1(j);\r\n if (state_1 === \"break\")\r\n break;\r\n }\r\n // See if we are removing the field\r\n if (removeFl) {\r\n // Remove the field link\r\n contentType.get_fieldLinks().getById(fieldLink.Id).deleteObject();\r\n // Set the flag\r\n updateFl = true;\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Removing the field link: \" + fieldLink.Name);\r\n }\r\n }\r\n // See if an update is required\r\n if (updateFl) {\r\n // Update the content type\r\n contentType.update(false);\r\n // Execute the request\r\n ctx.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Removed the field links successfully.\");\r\n // Resolve the request\r\n resolve(skipFields);\r\n }, \r\n // Error\r\n function (sender, args) {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Error removing the field links.\");\r\n // Reject the request\r\n reject();\r\n });\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] No fields need to be removed.\");\r\n // Resolve the request\r\n resolve(skipFields);\r\n }\r\n }\r\n else {\r\n // Resolve the request\r\n resolve(skipFields);\r\n }\r\n }, reject);\r\n });\r\n };\r\n // Creates the field links\r\n var createLinks = function (skipFields) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the context\r\n var ctx = ctInfo.webUrl ? new SP.ClientContext(ctInfo.webUrl) : new SP.ClientContext(lib_1.ContextInfo.webServerRelativeUrl);\r\n // Get the source\r\n var src = ctInfo.listName ? ctx.get_web().get_lists().getByTitle(ctInfo.listName) : ctx.get_web();\r\n var skipField = function (fieldName, fields) {\r\n for (var i = 0; i < fields.length; i++) {\r\n // See if we are skipping this field\r\n if (fields[i].Name == fieldName) {\r\n return true;\r\n }\r\n }\r\n };\r\n // Parse the fields to add\r\n var fields = [];\r\n for (var i = 0; i < ctInfo.fields.length; i++) {\r\n var fieldInfo = ctInfo.fields[i];\r\n var fieldName = typeof (fieldInfo) === \"string\" ? fieldInfo : fieldInfo.Name || fieldInfo.FieldInternalName;\r\n // See if we are skipping this field\r\n if (skipField(fieldName, skipFields)) {\r\n continue;\r\n }\r\n // Load the field\r\n var field = src.get_fields().getByInternalNameOrTitle(fieldName);\r\n ctx.load(field);\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Adding the field link: \" + fieldName);\r\n // Save a reference to this field\r\n fields.push({ ref: field, info: fieldInfo });\r\n }\r\n // See if an update is needed\r\n if (fields.length > 0) {\r\n // Execute the request\r\n ctx.executeQueryAsync(function () {\r\n // Get the content type\r\n var contentType = src.get_contentTypes().getById(ctInfo.id);\r\n ctx.load(contentType);\r\n // Parse the fields\r\n for (var i = 0; i < fields.length; i++) {\r\n var field = fields[i];\r\n /**\r\n * The field link set_[property] methods don't seem to work. Setting the field information seems to be the only way.\r\n * The read only property is the only one that doesn't seem to work.\r\n */\r\n // See if the field ref has properties to update\r\n if (typeof (field.info) !== \"string\") {\r\n // Update the field properties\r\n field.info.DisplayName != null ? field.ref.set_title(field.info.DisplayName) : null;\r\n field.info.Hidden != null ? field.ref.set_hidden(field.info.Hidden) : null;\r\n field.info.ReadOnly != null ? field.ref.set_readOnlyField(field.info.ReadOnly) : null;\r\n field.info.Required != null ? field.ref.set_required(field.info.Required) : null;\r\n field.info.ShowInDisplayForm != null ? field.ref.setShowInDisplayForm(field.info.ShowInDisplayForm) : null;\r\n }\r\n // Create the field link\r\n var fieldLink = new SP.FieldLinkCreationInformation();\r\n fieldLink.set_field(field.ref);\r\n // Add the field link to the content type\r\n contentType.get_fieldLinks().add(fieldLink);\r\n }\r\n // Update the content type\r\n contentType.update(false);\r\n // Execute the request\r\n ctx.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Added the field links successfully.\");\r\n // Resolve the request\r\n resolve();\r\n }, \r\n // Error\r\n function (sender, args) {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Error adding field references.\", args.get_message());\r\n // Reject the request\r\n reject();\r\n });\r\n }, function (sender, args) {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Error getting field references.\", args.get_message());\r\n // Resolve the request\r\n resolve();\r\n });\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] No fields need to be added.\");\r\n // Resolve the request\r\n resolve();\r\n }\r\n });\r\n };\r\n // Gets the content type field links\r\n var getLinks = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var ct = null;\r\n // See if list name exists\r\n if (ctInfo.listName) {\r\n // Get the list content type\r\n ct = lib_1.Web(ctInfo.webUrl).Lists(ctInfo.listName).ContentTypes(ctInfo.id);\r\n }\r\n else {\r\n // Get the content type\r\n ct = lib_1.Web(ctInfo.webUrl).ContentTypes(ctInfo.id);\r\n }\r\n // Query the field links\r\n ct.FieldLinks().query({\r\n Select: [\"DisplayName\", \"Id\", \"Name\", \"Required\", \"ReadOnly\", \"ShowInDisplayForm\"]\r\n }).execute(function (fieldLinks) {\r\n // Resolve the request\r\n resolve(fieldLinks.results);\r\n }, reject);\r\n });\r\n };\r\n // Set the order of the field references\r\n var setOrder = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the context\r\n var ctx = ctInfo.webUrl ? new SP.ClientContext(ctInfo.webUrl) : new SP.ClientContext(lib_1.ContextInfo.webServerRelativeUrl);\r\n // Get the source\r\n var src = ctInfo.listName ? ctx.get_web().get_lists().getByTitle(ctInfo.listName) : ctx.get_web();\r\n // Get the content type\r\n var contentType = src.get_contentTypes().getById(ctInfo.id);\r\n // Parse the fields to add\r\n var fieldNames = [];\r\n for (var i = 0; i < ctInfo.fields.length; i++) {\r\n var fieldInfo = ctInfo.fields[i];\r\n var fieldName = typeof (fieldInfo) === \"string\" ? fieldInfo : fieldInfo.Name || fieldInfo.FieldInternalName;\r\n // Add the field name\r\n fieldNames.push(fieldName);\r\n }\r\n // Reorder the content type\r\n contentType.get_fieldLinks().reorder(fieldNames);\r\n // Update the content type\r\n contentType.update(ctInfo.listName ? false : true);\r\n // Execute the request\r\n ctx.executeQueryAsync(\r\n // Success\r\n function () {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Updated the field order successfully.\");\r\n // Resolve the request\r\n resolve();\r\n }, \r\n // Error\r\n function (sender, args) {\r\n // Log\r\n console.log(\"[gd-sprest][Set Content Type Fields] Error updating the field order.\", args.get_message());\r\n // Reject the request\r\n reject();\r\n });\r\n });\r\n };\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure fields exist\r\n if (ctInfo.fields) {\r\n // Clear the links\r\n clearLinks().then(function (skipFields) {\r\n // Create the links\r\n createLinks(skipFields).then(function () {\r\n // Set the field order\r\n setOrder().then(resolve, reject);\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setContentTypeFields.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setGroupOwner.js":
/*!****************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setGroupOwner.js ***!
\****************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Sets the group owner\r\n * This uses JSOM to set a site group owner's property to another group. You can only set the owner to a user, using the REST API.\r\n */\r\nexports.setGroupOwner = function (groupName, ownerName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the site groups\r\n var context = new SP.ClientContext();\r\n var siteGroups = context.get_web().get_siteGroups();\r\n // Get the groups\r\n var group = siteGroups.getByName(groupName);\r\n var owner = siteGroups.getByName(ownerName);\r\n // Set the owner\r\n group.set_owner(owner);\r\n // Save the changes\r\n group.update();\r\n // Execute the request\r\n context.executeQueryAsync(resolve, reject);\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/methods/setGroupOwner.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/ribbonLink.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/ribbonLink.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Ribbon Link\r\n */\r\nexports.RibbonLink = function (props) {\r\n // Creates the ribbon link\r\n var create = function () {\r\n var link = null;\r\n // Default the append flag\r\n var appendFl = typeof (props.appendFl) === \"boolean\" ? props.appendFl : false;\r\n // Get the link\r\n link = _elTopBar.querySelector(\"#\" + props.id);\r\n if (link == null) {\r\n // Create the link\r\n link = document.createElement(\"a\");\r\n link.className = \"ms-promotedActionButton \" + (props.className || \"\");\r\n link.href = props.href ? props.href : \"javascript:void()\";\r\n link.innerHTML = \"\" + props.title + \"\";\r\n link.id = props.id;\r\n link.onclick = props.onClick;\r\n // Add the link\r\n appendFl ? _elTopBar.appendChild(link) : _elTopBar.insertBefore(link, _elTopBar.firstChild);\r\n }\r\n // Return the link\r\n return link;\r\n };\r\n // Gets the top bar element\r\n var _elTopBar = null;\r\n var getTopBar = function () {\r\n // See if the bar exists\r\n if (_elTopBar == null) {\r\n // Set the element\r\n _elTopBar = document.querySelector(\"#RibbonContainer-TabRowRight\");\r\n }\r\n // Return the element\r\n return _elTopBar;\r\n };\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the top bar exists\r\n if (getTopBar()) {\r\n // Create the link\r\n var el = create();\r\n if (el) {\r\n // Resolve the promise\r\n resolve(el);\r\n }\r\n }\r\n else if (window) {\r\n // Wait for the window to be loaded\r\n window.addEventListener(\"load\", function () {\r\n // See if the top bar exists\r\n if (getTopBar()) {\r\n // Create the link\r\n var el = create();\r\n if (el) {\r\n // Resolve the promise\r\n resolve(el);\r\n }\r\n }\r\n });\r\n }\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/ribbonLink.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sbLink.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sbLink.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Suite Bar Link\r\n */\r\nexports.SuiteBarLink = function (props) {\r\n // Creates the ribbon link\r\n var create = function () {\r\n // Default the append flag\r\n var appendFl = typeof (props.appendFl) === \"boolean\" ? props.appendFl : true;\r\n // Query for the link, and ensure it exists\r\n var link = _elTopLinks.querySelector(\"#\" + props.id);\r\n if (link == null) {\r\n // Create a list link\r\n link = document.createElement(\"a\");\r\n link.className = \"ms-core-suiteLink-a \" + (props.className || \"\");\r\n link.href = props.href ? props.href : \"javascript:void()\";\r\n link.id = props.id;\r\n link.innerHTML = props.title;\r\n link.onclick = props.onClick;\r\n // Create the suite bar link\r\n var sbLink = document.createElement(\"li\");\r\n sbLink.className = \"ms-core-suiteLink\";\r\n sbLink.appendChild(link);\r\n // Append the item to the list\r\n appendFl ? _elTopLinks.appendChild(sbLink) : _elTopLinks.insertBefore(sbLink, _elTopLinks.firstChild);\r\n }\r\n // Return the link\r\n return link;\r\n };\r\n // Gets the top links element\r\n var _elTopLinks = null;\r\n var getTopLinks = function () {\r\n // See if the bar exists\r\n if (_elTopLinks == null) {\r\n // Set the element\r\n _elTopLinks = document.querySelector(\"#suiteLinksBox > ul\");\r\n }\r\n // Return the element\r\n return _elTopLinks;\r\n };\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the top links exists\r\n if (getTopLinks()) {\r\n // Create the link\r\n var el = create();\r\n if (el) {\r\n // Resolve the promise\r\n resolve(el);\r\n }\r\n }\r\n else if (window) {\r\n // Wait for the window to be loaded\r\n window.addEventListener(\"load\", function () {\r\n // See if the top links exists\r\n if (getTopLinks()) {\r\n // Create the link\r\n var el = create();\r\n if (el) {\r\n // Resolve the promise\r\n resolve(el);\r\n }\r\n }\r\n });\r\n }\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sbLink.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/calloutManager.js":
/*!************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/calloutManager.js ***!
\************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Callout Manager\r\n */\r\nexports.CalloutManager = (function () {\r\n // Return the callout manager\r\n return {\r\n /** Closes all callouts on the page. */\r\n closeAll: function () {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].closeAll();\r\n },\r\n /** Returns true if the associated callout is open. */\r\n containsOneCalloutOpen: function (el) {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].containsOneCalloutOpen(el);\r\n },\r\n /** Returns an callout action entry. */\r\n createAction: function (options) {\r\n // Create the callout action options entry\r\n var caOptions = new window[\"CalloutActionOptions\"]();\r\n // Update the options\r\n for (var key in options) {\r\n // Set the option\r\n caOptions[key] = options[key];\r\n }\r\n // Create the action\r\n return new window[\"CalloutAction\"](caOptions);\r\n },\r\n /** Returns an callout action menu entries. */\r\n createMenuEntries: function (entries) {\r\n var menuEntries = [];\r\n // Parse the action options\r\n for (var i = 0; i < entries.length; i++) {\r\n var entry = entries[i];\r\n // Add the action\r\n menuEntries.push(new window[\"CalloutActionMenuEntry\"](entry.text, entry.onClickCallback, entry.iconUrl));\r\n }\r\n // Return the action menu entries\r\n return menuEntries;\r\n },\r\n /** Creates a new callout. */\r\n createNew: function (options) {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].createNew(options);\r\n },\r\n /** Checks if the callout id exists, before creating it. */\r\n createNewIfNecessary: function (options) {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].createNewIfNecessary(options);\r\n },\r\n /** Performs an action on each callout on the page. */\r\n forEach: function (callback) {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].forEach(callback);\r\n },\r\n /** Finds the closest launch point and returns the callout associated with it. */\r\n getFromCalloutDescendant: function (descendant) {\r\n return window[\"CalloutManager\"].getFromCalloutDescendant(descendant);\r\n },\r\n /** Returns the callout from the specified launch point. */\r\n getFromLaunchPoint: function (launchPoint) {\r\n return window[\"CalloutManager\"].getFromLaunchPoint(launchPoint);\r\n },\r\n /** Returns the callout for the specified launch point, null if it doesn't exist. */\r\n getFromLaunchPointIfExists: function (launchPoint) {\r\n return window[\"CalloutManager\"].getFromLaunchPointIfExists(launchPoint);\r\n },\r\n /** Returns true if at least one callout is defined on the page is opened or opening. */\r\n isAtLeastOneCalloutOn: function () {\r\n return window[\"CalloutManager\"].isAtLeastOneCalloutOn();\r\n },\r\n /** Returns true if at least one callout is opened on the page. */\r\n isAtLeastOneCalloutOpen: function () {\r\n return window[\"CalloutManager\"].isAtLeastOneCalloutOpen();\r\n },\r\n // Ensures the core library is loaded\r\n init: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the class exists\r\n if (window[\"CalloutManager\"]) {\r\n resolve();\r\n }\r\n else {\r\n // Wait for the core script to be loaded\r\n window[\"SP\"].SOD.executeFunc(\"callout.js\", \"Callout\", function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }\r\n });\r\n },\r\n /** Removes the callout and destroys it. */\r\n remove: function (callout) {\r\n // Load the library and call the method\r\n return window[\"CalloutManager\"].remove(callout);\r\n }\r\n };\r\n})();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/calloutManager.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/index.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/index.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar calloutManager_1 = __webpack_require__(/*! ./calloutManager */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/calloutManager.js\");\r\nvar modalDialog_1 = __webpack_require__(/*! ./modalDialog */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/modalDialog.js\");\r\nvar notify_1 = __webpack_require__(/*! ./notify */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/notify.js\");\r\nvar sod_1 = __webpack_require__(/*! ./sod */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/sod.js\");\r\nvar status_1 = __webpack_require__(/*! ./status */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/status.js\");\r\nexports.SP = {\r\n CalloutManager: calloutManager_1.CalloutManager,\r\n ModalDialog: modalDialog_1.ModalDialog,\r\n Notify: notify_1.Notify,\r\n SOD: sod_1.SOD,\r\n Status: status_1.Status\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/modalDialog.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/modalDialog.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Modal Dialog\r\n */\r\nexports.ModalDialog = (function () {\r\n // Adds the custom methods to the dialog\r\n var getDialog = function (dialog) {\r\n // Shows the dialog\r\n dialog.show = function () {\r\n // Get the modal dialog element\r\n var el = dialog.get_dialogElement();\r\n if (el) {\r\n // Show the dialog\r\n el.style.display = \"\";\r\n }\r\n // Get the iframe element\r\n el = dialog.get_frameElement();\r\n if (el) {\r\n // Show the dialog\r\n el.style.display = \"\";\r\n }\r\n };\r\n // Updates the title\r\n dialog.setTitle = function (value) {\r\n // Get the title element\r\n var elDlg = dialog.get_dialogElement();\r\n var elTitle = elDlg ? elDlg.querySelector(\".ms-dlgLoadingTextDiv .ms-core-pageTitle\") : null;\r\n if (elTitle) {\r\n // Update the title\r\n elTitle.innerHTML = value;\r\n }\r\n };\r\n // Updates the sub-title\r\n dialog.setSubTitle = function (value) {\r\n // Get the sub-title element\r\n var elDlg = dialog.get_dialogElement();\r\n var elSubTitle = elDlg ? elDlg.querySelector(\".ms-dlgLoadingTextDiv ~ div\") : null;\r\n if (elSubTitle) {\r\n // Update the sub-title\r\n elSubTitle.innerHTML = value;\r\n }\r\n };\r\n // Return the dialog\r\n return dialog;\r\n };\r\n // Return the modal dialog\r\n return {\r\n // Close the dialog\r\n commonModalDialogClose: function (dialogResult, returnVal) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () { window[\"SP\"].UI.ModalDialog.commonModalDialogClose(dialogResult, returnVal); });\r\n },\r\n // Open a dialog\r\n commonModalDialogOpen: function (url, options, callback, args) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () { window[\"SP\"].UI.ModalDialog.commonModalDialogOpen(url, options, callback, args); });\r\n },\r\n // Method to ensure the core library is loaded\r\n load: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the class exists\r\n if (window[\"SP\"] && window[\"SP\"].UI && window[\"SP\"].UI.ModalDialog) {\r\n resolve();\r\n }\r\n else {\r\n // Wait for the core script to be loaded\r\n window[\"SP\"].SOD.executeFunc(\"sp.js\", \"SP.UI.ModalDialog\", function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }\r\n });\r\n },\r\n // Opens a pop-up page\r\n OpenPopUpPage: function (url, callback, width, height) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () { window[\"SP\"].UI.ModalDialog.OpenPopUpPage(url, callback, width, height); });\r\n },\r\n // Refreshes the page\r\n RefreshPage: function (dialogResult) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () { window[\"SP\"].UI.ModalDialog.RefreshPage(dialogResult); });\r\n },\r\n // Shows a modal dialog\r\n showModalDialog: function (options) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () {\r\n // Resolve the promise\r\n resolve(getDialog(window[\"SP\"].UI.ModalDialog.showModalDialog(options)));\r\n });\r\n });\r\n },\r\n // Shows a pop-up dialog\r\n ShowPopupDialog: function (url) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () { window[\"SP\"].UI.ModalDialog.ShowPopupDialog(url); });\r\n },\r\n // Shows a wait screen\r\n showWaitScreenSize: function (title, message, callback, height, width) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () {\r\n // Resolve the promise\r\n resolve(getDialog(window[\"SP\"].UI.ModalDialog.showWaitScreenSize(title, message, callback, height, width)));\r\n });\r\n });\r\n },\r\n // Shows a wait screen w/ no close button\r\n showWaitScreenWithNoClose: function (title, message, height, width) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // Load the library and call the method\r\n exports.ModalDialog.load().then(function () {\r\n // Resolve the promise\r\n resolve(getDialog(window[\"SP\"].UI.ModalDialog.showWaitScreenWithNoClose(title, message, height, width)));\r\n });\r\n });\r\n }\r\n };\r\n})();\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/modalDialog.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/notify.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/notify.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Notification\r\n */\r\nexports.Notify = {\r\n // Adds a notification\r\n addNotification: function (html, sticky) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the library and call the method\r\n exports.Notify.load().then(function () { resolve(window[\"SP\"].UI.Notify.addNotification(html, sticky)); });\r\n });\r\n },\r\n // Method to ensure the core library is loaded\r\n load: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the class exists\r\n if (window[\"SP\"] && window[\"SP\"].UI && window[\"SP\"].UI.Notify) {\r\n resolve();\r\n }\r\n else {\r\n // Wait for the core script to be loaded\r\n window[\"SP\"].SOD.executeFunc(\"sp.js\", \"SP.UI.Notify\", function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }\r\n });\r\n },\r\n // Removes a notification\r\n removeNotification: function (id) {\r\n // Load the library and call the method\r\n exports.Notify.load().then(function () { window[\"SP\"].UI.Notify.removeNotification(id); });\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/notify.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/sod.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/sod.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Script on Demand (SOD)\r\n */\r\nexports.SOD = {\r\n // Executes the specified function in the specified file with the optional arguments.\r\n execute: function (key, functionName) {\r\n var args = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n args[_i - 2] = arguments[_i];\r\n }\r\n window[\"SP\"] ? window[\"SP\"].SOD.execute(key, functionName, args) : null;\r\n },\r\n // Ensures that the specified file that contains the specified function is loaded and then runs the specified callback function.\r\n executeFunc: function (key, functionName, fn) { window[\"SP\"] ? window[\"SP\"].SOD.executeFunc(key, functionName, fn) : null; },\r\n // Executes the specified function if the specified event has occurred; otherwise, adds the function to the pending job queue.\r\n executeOrDelayUntilEventNotified: function (func, eventName) { window[\"SP\"] ? window[\"SP\"].SOD.executeOrDelayUntilEventNotified(func, eventName) : null; },\r\n // Executes the specified function if the file containing it is loaded; otherwise, adds it to the pending job queue.\r\n executeOrDelayUntilScriptLoaded: function (func, depScriptFileName) { window[\"SP\"] ? window[\"SP\"].SOD.executeOrDelayUntilScriptLoaded(func, depScriptFileName) : null; },\r\n // Records the event and executes any jobs in the pending job queue that are waiting on the event.\r\n notifyEventAndExecuteWaitingJobs: function (eventName) { window[\"SP\"] ? window[\"SP\"].SOD.notifyEventAndExecuteWaitingJobs(eventName) : null; },\r\n // Records that the script file is loaded and executes any jobs in the pending job queue that are waiting for the script file to be loaded.\r\n notifyScriptLoadedAndExecuteWaitingJobs: function (scriptFileName) { window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(scriptFileName) : null; },\r\n // Registers the specified file at the specified URL.\r\n registerSod: function (key, url) { window[\"SP\"] ? window[\"SP\"].SOD.registerSod(key, url) : null; },\r\n // Registers the specified file as a dependency of another file.\r\n registerSodDep: function (key, dep) { window[\"SP\"] ? window[\"SP\"].SOD.registerSodDep(key, dep) : null; },\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/sod.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/status.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/status.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Status\r\n */\r\nexports.Status = {\r\n // Adds a status\r\n addStatus: function (title, html, prepend) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the library\r\n exports.Status.load().then(function () {\r\n // Add the status and resolve the promise\r\n resolve(window[\"SP\"].UI.Status.addStatus(title, html, prepend));\r\n });\r\n });\r\n },\r\n // Appends a status\r\n appendStatus: function (id, title, html) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the library\r\n exports.Status.load().then(function () {\r\n // Add the status and resolve the promise\r\n resolve(window[\"SP\"].UI.Status.appendStatus(id, title, html));\r\n });\r\n });\r\n },\r\n // Method to ensure the core library is loaded\r\n load: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the class exists\r\n if (window[\"SP\"] && window[\"SP\"].UI && window[\"SP\"].UI.Status) {\r\n resolve();\r\n }\r\n else {\r\n // Wait for the core script to be loaded\r\n window[\"SP\"].SOD.executeFunc(\"sp.js\", \"SP.UI.Status\", function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }\r\n });\r\n },\r\n // Removes all status messages\r\n removeAllStatus: function (hide) {\r\n // Load the library and call the method\r\n exports.Status.load().then(function () { window[\"SP\"].UI.Status.removeAllStatus(hide); });\r\n },\r\n // Removes a status\r\n removeStatus: function (id) {\r\n // Load the library and call the method\r\n exports.Status.load().then(function () { window[\"SP\"].UI.Status.removeStatus(id); });\r\n },\r\n // Sets the status color\r\n setStatusPriColor: function (id, color) {\r\n // Load the library and call the method\r\n exports.Status.load().then(function () { window[\"SP\"].UI.Status.setStatusPriColor(id, color); });\r\n },\r\n // Updates the status\r\n updateStatus: function (id, html) {\r\n // Load the library and call the method\r\n exports.Status.load().then(function () { window[\"SP\"].UI.Status.updateStatus(id, html); });\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/sp/status.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfg.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfg.js ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar __1 = __webpack_require__(/*! .. */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/index.js\");\r\n__export(__webpack_require__(/*! ./spCfgTypes */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfgTypes.js\"));\r\n/**\r\n * SharePoint Configuration\r\n */\r\nexports.SPConfig = function (cfg, webUrl) {\r\n // The selected configuration type to install\r\n var _cfgType;\r\n // The request digest\r\n var _requestDigest = null;\r\n // The target name to install/uninstall\r\n var _targetName;\r\n /**\r\n * Methods\r\n */\r\n // Method to create the content types\r\n var createContentTypes = function (contentTypes, cfgContentTypes, list) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure fields exist\r\n if (cfgContentTypes == null || cfgContentTypes.length == 0) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n // Method to get the parent content type\r\n var getParentCT = function (ctName, url) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the web containing the parent content type\r\n lib_1.Web(url)\r\n // Get the content types\r\n .ContentTypes()\r\n // Filter for the parent name\r\n .query({\r\n Filter: \"Name eq '\" + ctName + \"'\"\r\n })\r\n // Execute the request\r\n .execute(function (cts) {\r\n // See if the parent exists\r\n if (cts.results[0]) {\r\n // Resolve the promise\r\n resolve({ Id: cts.results[0].Id.StringValue, Url: url });\r\n }\r\n // Else, ensure this isn't the root web\r\n else if (url != lib_1.ContextInfo.siteServerRelativeUrl) {\r\n // Check the root web for the parent content type\r\n getParentCT(ctName, lib_1.ContextInfo.siteServerRelativeUrl).then(resolve, reject);\r\n }\r\n else {\r\n // Reject the promise\r\n reject();\r\n }\r\n }, reject);\r\n });\r\n };\r\n // Parse the configuration\r\n _1.Executor(cfgContentTypes, function (cfg) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if this content type already exists\r\n var ct = isInCollection(\"Name\", cfg.Name, contentTypes.results);\r\n if (ct) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The content type '\" + cfg.Name + \"' already exists.\");\r\n // Update the configuration\r\n cfg.ContentType = ct;\r\n // Resolve the promise and return\r\n resolve(cfg);\r\n return;\r\n }\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] Creating the '\" + cfg.Name + \"' content type.\");\r\n // See if the parent name exists\r\n if (cfg.ParentName) {\r\n getParentCT(cfg.ParentName, cfg.ParentWebUrl || webUrl).then(\r\n // Success\r\n function (parentInfo) {\r\n // Add the content type\r\n _1.createContentType({\r\n Description: cfg.Description,\r\n Group: cfg.Group,\r\n Name: cfg.Name\r\n }, parentInfo, webUrl, list ? list.Title : null).then(\r\n // Success\r\n function (ct) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The content type '\" + cfg.Name + \"' was created successfully.\");\r\n // Update the configuration\r\n cfg.ContentType = ct;\r\n // Trigger the event\r\n cfg.onCreated ? cfg.onCreated(ct, list) : null;\r\n // Resolve the promise\r\n resolve(cfg);\r\n }, \r\n // Error\r\n function (error) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The content type '\" + cfg.Name + \"' failed to be created.\", error);\r\n // Reject the promise\r\n reject(error);\r\n });\r\n }, \r\n // Error\r\n function () {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The parent content type '\" + cfg.ParentName + \"' was not found.\");\r\n // Reject the promise\r\n reject(ct.response);\r\n });\r\n }\r\n else {\r\n // Create the content type\r\n contentTypes.add({\r\n Description: cfg.Description,\r\n Group: cfg.Group,\r\n Name: cfg.Name,\r\n Id: {\r\n __metadata: {\r\n type: \"SP.ContentTypeId\"\r\n },\r\n StringValue: cfg.Id || \"0x0100\" + lib_1.ContextInfo.generateGUID().replace(/-/g, \"\")\r\n }\r\n }).execute(\r\n // Success\r\n function (ct) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The content type '\" + cfg.Name + \"' was created successfully.\");\r\n // Update the configuration\r\n cfg.ContentType = ct;\r\n // Trigger the event\r\n cfg.onCreated ? cfg.onCreated(ct, list) : null;\r\n // Resolve the promise\r\n resolve(cfg);\r\n }, \r\n // Error\r\n function (error) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] The content type '\" + cfg.Name + \"' failed to be created.\");\r\n console.error(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] Error: \" + error.response);\r\n // Reject the promise\r\n reject(error.response);\r\n });\r\n }\r\n });\r\n }).then(function () {\r\n // Parse the configuration\r\n _1.Executor(cfgContentTypes, function (cfgContentType) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var cfgUpdate = {};\r\n var updateFl = false;\r\n // Ensure the content type exists\r\n if (cfgContentType.ContentType == null) {\r\n // Skip this content type\r\n resolve();\r\n return;\r\n }\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type] Updating the field references for: \" + cfgContentType.Name);\r\n // Create the field refs\r\n _1.setContentTypeFields({\r\n fields: cfgContentType.FieldRefs,\r\n id: cfgContentType.ContentType.Id.StringValue,\r\n listName: list ? list.Title : null,\r\n webUrl: webUrl\r\n }).then(function () {\r\n /**\r\n * See if we need to update the properties\r\n */\r\n // Description\r\n if (cfgContentType.Description != null && cfgContentType.ContentType.Description != cfgContentType.Description) {\r\n // Update the configuration\r\n cfgUpdate.Description = cfgContentType.Description;\r\n // Set the flag\r\n updateFl = true;\r\n }\r\n // Group\r\n if (cfgContentType.Group != null && cfgContentType.ContentType.Group != cfgContentType.Group) {\r\n // Update the configuration\r\n cfgUpdate.Group = cfgContentType.Group;\r\n // Set the flag\r\n updateFl = true;\r\n }\r\n // JSLink\r\n if (cfgContentType.JSLink != null && cfgContentType.ContentType.JSLink != cfgContentType.JSLink) {\r\n // Update the configuration\r\n cfgUpdate.JSLink = cfgContentType.JSLink;\r\n // Set the flag\r\n updateFl = true;\r\n }\r\n // Name\r\n if (cfgContentType.Name != null && cfgContentType.ContentType.Name != cfgContentType.Name) {\r\n // Update the configuration\r\n cfgUpdate.Name = cfgContentType.Name;\r\n // Set the flag\r\n updateFl = true;\r\n }\r\n // See if an update is needed\r\n if (updateFl) {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type][\" + cfgContentType.ContentType.Name + \"] Updating the content type.\");\r\n // Update the content type\r\n cfgContentType.ContentType.update(cfgUpdate).execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest]\" + (list ? \"[\" + list.Title + \" List]\" : \"\") + \"[Content Type][\" + cfgContentType.ContentType.Name + \"] Update request completed.\");\r\n // Trigger the event\r\n cfgContentType.onUpdated ? cfgContentType.onUpdated(cfgContentType.ContentType) : null;\r\n // Resolve this request\r\n resolve();\r\n }, reject);\r\n }\r\n else {\r\n // Trigger the event\r\n cfgContentType.onUpdated ? cfgContentType.onUpdated(cfgContentType.ContentType) : null;\r\n // Resolve this request\r\n resolve();\r\n }\r\n }, reject);\r\n });\r\n }).then(resolve);\r\n }, reject);\r\n });\r\n };\r\n // Method to create the fields`\r\n var createFields = function (fields, cfgFields, list) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var newFields = [];\r\n // Ensure fields exist\r\n if (cfgFields == null || cfgFields.length == 0) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgFields, function (cfg) {\r\n return new Promise(function (resolve, reject) {\r\n // See if this field already exists\r\n var field = isInCollection(\"InternalName\", cfg.name, fields.results);\r\n if (field) {\r\n // Log\r\n console.log(\"[gd-sprest][Field] The field '\" + cfg.name + \"' already exists.\");\r\n // Trigger the event\r\n cfg.onUpdated ? cfg.onUpdated(field, list) : null;\r\n // Resolve the promise\r\n resolve();\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][Field] Creating the '\" + cfg.name + \"' field.\");\r\n // See if this is an associated lookup field\r\n var cfgLookup = cfg;\r\n if (cfgLookup.type == _1.SPCfgFieldType.Lookup && cfgLookup.fieldRef) {\r\n // Get the field reference\r\n var fieldRef = isInCollection(\"InternalName\", cfgLookup.fieldRef, fields.results) ||\r\n isInCollection(\"InternalName\", cfgLookup.fieldRef, newFields);\r\n if (fieldRef) {\r\n // Update the value to be the guid\r\n cfgLookup.fieldRef = fieldRef.Id;\r\n }\r\n }\r\n // Compute the schema xml\r\n _1.FieldSchemaXML(cfg).then(function (response) {\r\n var schemas = typeof (response) === \"string\" ? [response] : response;\r\n // Parse the fields to add\r\n for (var i = 0; i < schemas.length; i++) {\r\n // Add the field\r\n fields.createFieldAsXml(schemas[i]).execute(function (field) {\r\n // See if it was successful\r\n if (field.InternalName) {\r\n // Log\r\n console.log(\"[gd-sprest][Field] The field '\" + field.InternalName + \"' was created successfully.\");\r\n // Save a reference to the field\r\n newFields.push(field);\r\n // Trigger the event\r\n cfg.onCreated ? cfg.onCreated(field, list) : null;\r\n // Resolve the promise\r\n resolve();\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][Field] The field '\" + cfg.name + \"' failed to be created.\");\r\n console.error(\"[gd-sprest][Field] Error: \" + field.response);\r\n // Reject the promise\r\n reject();\r\n }\r\n });\r\n }\r\n });\r\n }\r\n });\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to create the lists\r\n var createLists = function (lists, cfgLists) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Execute code against each list configuration\r\n _1.Executor(cfgLists, function (cfgList) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // See if the target name exists and matches this list\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this list\r\n if (cfgList.ListInformation.Title.toLowerCase() != _targetName) {\r\n // Do nothing\r\n resolve();\r\n return;\r\n }\r\n }\r\n // See if this list already exists\r\n var list = isInCollection(\"Title\", cfgList.ListInformation.Title, lists.results);\r\n if (list) {\r\n // Log\r\n console.log(\"[gd-sprest][List] The list '\" + cfgList.ListInformation.Title + \"' already exists.\");\r\n // Resolve the promise and do nothing\r\n resolve();\r\n return;\r\n }\r\n // Log\r\n console.log(\"[gd-sprest][List] Creating the '\" + cfgList.ListInformation.Title + \"' list.\");\r\n // Update the list name and remove spaces\r\n var listInfo = cfgList.ListInformation;\r\n var listName = listInfo.Title;\r\n listInfo.Title = listName.replace(/ /g, \"\");\r\n // Add the list\r\n lists.add(listInfo)\r\n // Execute the request\r\n .execute(function (list) {\r\n // Restore the list name in the configuration\r\n listInfo.Title = listName;\r\n // See if the request was successful\r\n if (list.Id) {\r\n // See if we need to update the list\r\n if (list.Title != listName) {\r\n // Update the list\r\n list.update({ Title: listName }).execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][List] The list '\" + list.Title + \"' was created successfully.\");\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][List] The list '\" + list.Title + \"' was created successfully.\");\r\n // Resolve the promise\r\n resolve();\r\n }\r\n // Trigger the event\r\n cfgList.onCreated ? cfgList.onCreated(list) : null;\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][List] The list '\" + listInfo.Title + \"' failed to be created.\");\r\n console.log(\"[gd-sprest][List] Error: '\" + list.response);\r\n // Resolve the promise\r\n resolve();\r\n }\r\n }, reject);\r\n });\r\n }).then(function () {\r\n // Update the lists\r\n updateLists(cfgLists).then(function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n });\r\n });\r\n };\r\n // Method to create the user custom actions\r\n var createUserCustomActions = function (customActions, cfgCustomActions) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the configuration type exists\r\n if (_cfgType) {\r\n // Ensure it's for this type\r\n if (_cfgType != _1.SPCfgType.SiteUserCustomActions || _cfgType != _1.SPCfgType.WebUserCustomActions) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n }\r\n // Ensure the lists exist\r\n if (cfgCustomActions == null || cfgCustomActions.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgCustomActions, function (cfg) {\r\n // See if the target name exists\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this custom action\r\n if (cfg.Name.toLowerCase() != _targetName ||\r\n cfg.Title.toLowerCase() != _targetName) {\r\n // Skip this custom action\r\n return;\r\n }\r\n }\r\n // See if this custom action already exists\r\n if (isInCollection(\"Name\", cfg.Name, customActions.results)) {\r\n // Log\r\n console.log(\"[gd-sprest][Custom Action] The custom action '\" + cfg.Name + \"' already exists.\");\r\n }\r\n else {\r\n // See if rights exist\r\n if (cfg.Rights) {\r\n // Update the value\r\n cfg.Rights = updateBasePermissions(cfg.Rights);\r\n }\r\n // Add the custom action\r\n customActions.add(cfg).execute(function (ca) {\r\n // Ensure it exists\r\n if (ca.existsFl) {\r\n // Log\r\n console.log(\"[gd-sprest][Custom Action] The custom action '\" + ca.Name + \"' was created successfully.\");\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][Custom Action] The custom action '\" + ca.Name + \"' failed to be created.\");\r\n console.log(\"[gd-sprest][Custom Action] Error: \" + ca.response);\r\n }\r\n }, reject, true);\r\n }\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to create the list views\r\n var createViews = function (list, views, cfgViews) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure the list views exist\r\n if (cfgViews == null || cfgViews.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgViews, function (cfg) {\r\n // See if this view exists\r\n var view = isInCollection(\"Title\", cfg.ViewName, views.results);\r\n if (view) {\r\n // Log\r\n console.log(\"[gd-sprest][View] The view '\" + cfg.ViewName + \"' already exists.\");\r\n }\r\n else {\r\n // Add the view\r\n views.add({\r\n Title: cfg.ViewName,\r\n ViewQuery: cfg.ViewQuery\r\n }).execute(function (view) {\r\n // Ensure it exists\r\n if (view.existsFl) {\r\n // Log\r\n console.log(\"[gd-sprest][View] The view '\" + cfg.ViewName + \"' was created successfully.\");\r\n // Trigger the event\r\n cfg.onCreated ? cfg.onCreated(view, list) : null;\r\n }\r\n else {\r\n // Log\r\n console.log(\"[gd-sprest][View] The view '\" + cfg.ViewName + \"' failed to be created.\");\r\n console.log(\"[gd-sprest][View] Error: \" + view.response);\r\n }\r\n }, reject, true);\r\n }\r\n }).then(function () {\r\n // Update the views\r\n updateViews(list, views, cfgViews).then(function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n });\r\n });\r\n };\r\n // Method to create the web parts\r\n var createWebParts = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var cfgWebParts = cfg.WebPartCfg;\r\n // Ensure fields exist\r\n if (cfgWebParts == null || cfgWebParts.length == 0) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] Creating the web parts.\");\r\n // Get the web\r\n lib_1.Web(webUrl, { requestDigest: _requestDigest })\r\n // Get the web part catalog\r\n .getCatalog(__1.SPTypes.ListTemplateType.WebPartCatalog)\r\n // Get the root folder\r\n .RootFolder()\r\n // Expand the files and items\r\n .query({\r\n Expand: [\"Files\"]\r\n })\r\n // Execute the request\r\n .execute(function (folder) {\r\n var ctr = 0;\r\n var _loop_1 = function (i) {\r\n var cfgWebPart = cfgWebParts[i];\r\n // See if the target name exists\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this list\r\n if (cfgWebPart.FileName.toLowerCase() != _targetName) {\r\n return \"continue\";\r\n }\r\n }\r\n // The post execute method\r\n var postExecute = function () {\r\n // Increment the counter\r\n if (++ctr >= cfgWebParts.length) {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n };\r\n // See if this webpart exists\r\n var file = isInCollection(\"Name\", cfgWebPart.FileName, folder.Files.results);\r\n if (file.Name) {\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] The webpart '\" + cfgWebPart.FileName + \"' already exists.\");\r\n // Trigger the event\r\n cfgWebPart.onUpdated ? cfgWebPart.onUpdated(file) : null;\r\n // Execute the post event\r\n postExecute();\r\n }\r\n else {\r\n // Trim the xml\r\n var xml = cfgWebPart.XML.trim();\r\n // Convert the string to an array buffer\r\n var buffer = new ArrayBuffer(xml.length * 2);\r\n var bufferView = new Uint16Array(buffer);\r\n for (var j = 0; j < xml.length; j++) {\r\n bufferView[j] = xml.charCodeAt(j);\r\n }\r\n // Create the webpart, but execute the requests one at a time\r\n folder.Files.add(cfgWebPart.FileName, true, buffer).execute(\r\n // Success\r\n function (file) {\r\n // See if group exists\r\n if (cfgWebPart.Group) {\r\n // Set the target to the root web\r\n lib_1.Web(lib_1.ContextInfo.siteServerRelativeUrl)\r\n // Get the web part catalog\r\n .getCatalog(__1.SPTypes.ListTemplateType.WebPartCatalog)\r\n // Get the Items\r\n .Items()\r\n // Query for this webpart\r\n .query({\r\n Filter: \"FileLeafRef eq '\" + cfgWebPart.FileName + \"'\"\r\n })\r\n // Execute the request\r\n .execute(function (items) {\r\n // Update the item\r\n items.results[0].update({\r\n Group: cfgWebPart.Group\r\n }).execute(postExecute);\r\n });\r\n }\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] The '\" + file.Name + \"' webpart file was uploaded successfully.\");\r\n // Trigger the event\r\n cfgWebPart.onCreated ? cfgWebPart.onCreated(file) : null;\r\n }, \r\n // Error\r\n function () {\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] The '\" + file.Name + \"' webpart file upload failed.\");\r\n // Skip this webpart\r\n resolve();\r\n });\r\n }\r\n };\r\n // Parse the configuration\r\n for (var i = 0; i < cfgWebParts.length; i++) {\r\n _loop_1(i);\r\n }\r\n }, reject);\r\n });\r\n };\r\n // Method to see if an object exists in a collection\r\n var isInCollection = function (key, value, collection) {\r\n var valueLower = value.toLowerCase();\r\n // Parse the collection\r\n for (var i = 0; i < collection.length; i++) {\r\n var keyValue = collection[i][key];\r\n keyValue = keyValue ? keyValue.toLowerCase() : \"\";\r\n // See if the item exists\r\n if (valueLower == keyValue) {\r\n // Return true\r\n return collection[i];\r\n }\r\n }\r\n // Not in the collection\r\n return false;\r\n };\r\n // Method to remove the content type\r\n var removeContentTypes = function (contentTypes, cfgContentTypes) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure the content types exist\r\n if (cfgContentTypes == null || cfgContentTypes.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgContentTypes, function (cfg) {\r\n // Get the field\r\n var ct = isInCollection(\"Name\", cfg.Name, contentTypes.results);\r\n if (ct) {\r\n // Remove the field\r\n ct.delete().execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Content Type] The content type '\" + ct.Name + \"' was removed.\");\r\n }, reject, true);\r\n }\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to remove the fields\r\n var removeFields = function (fields, cfgFields) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure the fields exist\r\n if (cfgFields == null || cfgFields.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgFields, function (cfg) {\r\n // Get the field\r\n var field = isInCollection(\"InternalName\", cfg.name, fields.results);\r\n if (field) {\r\n // Remove the field\r\n field.delete().execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Field] The field '\" + field.InternalName + \"' was removed.\");\r\n }, reject, true);\r\n }\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to remove the lists\r\n var removeLists = function (lists, cfgLists) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the configuration type exists\r\n if (_cfgType) {\r\n // Ensure it's for this type\r\n if (_cfgType != _1.SPCfgType.Lists) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n }\r\n // Ensure the lists exist\r\n if (cfgLists == null || cfgLists.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgLists, function (cfg) {\r\n // See if the target name exists\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this list\r\n if (cfg.ListInformation.Title.toLowerCase() != _targetName) {\r\n // Skip this list\r\n return;\r\n }\r\n }\r\n // Get the list\r\n var list = isInCollection(\"Title\", cfg.ListInformation.Title, lists.results);\r\n if (list) {\r\n // Remove the list\r\n list.delete().execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][List] The list '\" + list.Title + \"' was removed.\");\r\n }, reject, true);\r\n }\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to remove the user custom actions\r\n var removeUserCustomActions = function (customActions, cfgCustomActions) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the configuration type exists\r\n if (_cfgType) {\r\n // Ensure it's for this type\r\n if (_cfgType != _1.SPCfgType.SiteUserCustomActions || _cfgType != _1.SPCfgType.WebUserCustomActions) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n }\r\n // Ensure the custom actions exist\r\n if (cfgCustomActions == null || cfgCustomActions.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Parse the configuration\r\n _1.Executor(cfgCustomActions, function (cfg) {\r\n // See if the target name exists\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this custom action\r\n if (cfg.Name.toLowerCase() != _targetName ||\r\n cfg.Title.toLowerCase() != _targetName) {\r\n // Skip this custom action\r\n return;\r\n }\r\n }\r\n // Get the custom action\r\n var ca = isInCollection(\"Name\", cfg.Name, customActions.results);\r\n if (ca) {\r\n // Remove the custom action\r\n ca.delete().execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Custom Action] The custom action '\" + ca.Name + \"' was removed.\");\r\n }, reject, true);\r\n }\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to remove the web parts\r\n var removeWebParts = function (site) {\r\n var cfgWebParts = cfg.WebPartCfg;\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the configuration type exists\r\n if (_cfgType) {\r\n // Ensure it's for this type\r\n if (_cfgType != _1.SPCfgType.WebParts) {\r\n // Resolve the promise\r\n resolve();\r\n return;\r\n }\r\n }\r\n // Ensure the configuration exists\r\n if (cfgWebParts == null || cfgWebParts.length == 0) {\r\n // Resolve the promise and return it\r\n resolve();\r\n return;\r\n }\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] Removing the web parts.\");\r\n // Get the webpart gallery from the root web\r\n site.RootWeb().getCatalog(__1.SPTypes.ListTemplateType.WebPartCatalog)\r\n // Get the root folder\r\n .RootFolder()\r\n // Expand the files\r\n .Files()\r\n // Execute the request\r\n .execute(function (files) {\r\n var _loop_2 = function (i) {\r\n var cfgWebPart = cfgWebParts[i];\r\n // See if the target name exists\r\n if (_cfgType && _targetName) {\r\n // Ensure it's for this webpart\r\n if (cfgWebPart.FileName.toLowerCase() != _targetName) {\r\n return \"continue\";\r\n }\r\n }\r\n // Get the file\r\n var file = isInCollection(\"Name\", cfgWebPart.FileName, files.results);\r\n if (file) {\r\n // Remove the file\r\n file.delete().execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][WebPart] The webpart '\" + file.Name + \"' file was removed.\");\r\n }, true);\r\n }\r\n };\r\n // Parse the configuration\r\n for (var i = 0; i < cfgWebParts.length; i++) {\r\n _loop_2(i);\r\n }\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n });\r\n };\r\n // Method to get the web information\r\n var setRequestDigest = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n if (webUrl) {\r\n // Get the web context information\r\n lib_1.ContextInfo.getWeb(webUrl).execute(function (webInfo) {\r\n _requestDigest = webInfo.GetContextWebInformation.FormDigestValue;\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Method to update the base permissions\r\n var updateBasePermissions = function (values) {\r\n var high = values.High;\r\n var low = values.Low;\r\n // See if this is an array\r\n for (var i = 0; i < values[\"length\"]; i++) {\r\n var value = values[i];\r\n // See if this is the full mask\r\n if (value == 65) {\r\n // Set the values\r\n low = 65535;\r\n high = 32767;\r\n // Break from the loop\r\n break;\r\n }\r\n // Else, see if it's empty\r\n else if (value == 0) {\r\n // Clear the values\r\n low = 0;\r\n high = 0;\r\n }\r\n // Else, update the base permission\r\n else {\r\n var bit = value - 1;\r\n var bitValue = 1;\r\n // Validate the bit\r\n if (bit < 0) {\r\n continue;\r\n }\r\n // See if it's a low permission\r\n if (bit < 32) {\r\n // Compute the value\r\n bitValue = bitValue << bit;\r\n // Set the low value\r\n low |= bitValue;\r\n }\r\n // Else, it's a high permission\r\n else {\r\n // Compute the value\r\n bitValue = bitValue << (bit - 32);\r\n // Set the high value\r\n high |= bitValue;\r\n }\r\n }\r\n }\r\n // Return the base permission\r\n return {\r\n Low: low.toString(),\r\n High: high.toString()\r\n };\r\n };\r\n // Method to update the lists\r\n var updateLists = function (cfgLists) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var request = function (idx, resolve) {\r\n // Get the list configuration\r\n var cfgList = cfgLists[idx];\r\n // See if the target name exists\r\n if (_targetName) {\r\n // Ensure it's for this list\r\n if (cfgList.ListInformation.Title.toLowerCase() != _targetName) {\r\n // Update the next list\r\n request(idx + 1, resolve);\r\n return;\r\n }\r\n }\r\n // Ensure the configuration exists\r\n if (cfgList) {\r\n // Get the web\r\n lib_1.Web(webUrl, { requestDigest: _requestDigest })\r\n // Get the list\r\n .Lists(cfgList.ListInformation.Title)\r\n // Expand the content types, fields and views\r\n .query({\r\n Expand: [\"ContentTypes\", \"Fields\", \"UserCustomActions\", \"Views\"]\r\n })\r\n // Execute the request\r\n .execute(function (list) {\r\n // Update the title field\r\n updateListTitleField(list, cfgList).then(function () {\r\n // Create the fields\r\n createFields(list.Fields, cfgList.CustomFields, list).then(function () {\r\n // Create the content types\r\n createContentTypes(list.ContentTypes, cfgList.ContentTypes, list).then(function () {\r\n // Update the views\r\n createViews(list, list.Views, cfgList.ViewInformation).then(function () {\r\n // Update the views\r\n createUserCustomActions(list.UserCustomActions, cfgList.UserCustomActions).then(function () {\r\n // Trigger the event\r\n cfgList.onUpdated ? cfgList.onUpdated(list) : null;\r\n // Update the next list\r\n request(idx + 1, resolve);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n };\r\n // Execute the request\r\n request(0, resolve);\r\n });\r\n };\r\n // Method to update the list title field\r\n var updateListTitleField = function (list, cfgList) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the title field is being updated\r\n if (cfgList.TitleFieldDisplayName) {\r\n // Update the field name\r\n list.Fields.getByInternalNameOrTitle(\"Title\").update({ Title: cfgList.TitleFieldDisplayName }).execute(function () {\r\n // Log\r\n console.log(\"[gd-sprest][List] The 'Title' field's display name was updated to '\" + cfgList.TitleFieldDisplayName + \"'.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Method to update the views\r\n var updateViews = function (list, views, cfgViews) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // Parse the configuration\r\n _1.Executor(cfgViews, function (cfg) {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // Get the view\r\n var view = views.getByTitle(cfg.ViewName);\r\n // See if the view fields are defined\r\n if (cfg.ViewFields && cfg.ViewFields.length > 0) {\r\n // Log\r\n console.log(\"[gd-sprest][View] Updating the view fields for the '\" + cfg.ViewName + \"' view.\");\r\n // Clear the view fields\r\n view.ViewFields().removeAllViewFields().execute(true);\r\n // Parse the view fields\r\n for (var i = 0; i < cfg.ViewFields.length; i++) {\r\n // Add the view field\r\n view.ViewFields().addViewField(cfg.ViewFields[i]).execute(true);\r\n }\r\n }\r\n // See if we are updating the view properties\r\n if (cfg.JSLink || cfg.ViewQuery) {\r\n var props = {};\r\n // Log\r\n console.log(\"[gd-sprest][View] Updating the view properties for the '\" + cfg.ViewName + \"' view.\");\r\n // Set the properties\r\n cfg.JSLink ? props[\"JSLink\"] = cfg.JSLink : null;\r\n cfg.ViewQuery ? props[\"ViewQuery\"] = cfg.ViewQuery : null;\r\n // Update the view\r\n view.update(props).execute(true);\r\n }\r\n // Wait for the requests to complete\r\n view.done(function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Log\r\n console.log(\"[gd-sprest][View] The updates for the '\" + cfg.ViewName + \"' view has completed.\");\r\n // Trigger the event\r\n cfg.onUpdated ? cfg.onUpdated(view, list) : null;\r\n // Resolve the promise\r\n resolve();\r\n });\r\n });\r\n }).then(resolve);\r\n });\r\n };\r\n // Method to uninstall the site components\r\n var uninstallSite = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure we need to complete this request\r\n if ((cfg.CustomActionCfg != null && cfg.CustomActionCfg.Site != null) || cfg.WebPartCfg != null) {\r\n // Log\r\n console.log(\"[gd-sprest][uninstall] Loading the site information...\");\r\n // Get the site\r\n lib_1.Site(webUrl, { requestDigest: _requestDigest })\r\n // Expand the user custom actions\r\n .query({\r\n Expand: [\"UserCustomActions\"]\r\n })\r\n // Execute the request\r\n .execute(function (site) {\r\n // Remove the user custom actions\r\n removeUserCustomActions(site.UserCustomActions, cfg.CustomActionCfg ? cfg.CustomActionCfg.Site : []).then(function () {\r\n // Remove the webpart\r\n removeWebParts(site).then(function () {\r\n // Resolve the promise\r\n resolve(site);\r\n }, reject);\r\n });\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Method to uninstall the web components\r\n var uninstallWeb = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n var Expand = [];\r\n // Log\r\n console.log(\"[gd-sprest][uninstall] Loading the web information...\");\r\n // Set the query\r\n if (cfg.ContentTypes) {\r\n Expand.push(\"ContentTypes\");\r\n }\r\n if (cfg.CustomActionCfg) {\r\n Expand.push(\"UserCustomActions\");\r\n }\r\n if (cfg.Fields) {\r\n Expand.push(\"Fields\");\r\n }\r\n if (cfg.ListCfg) {\r\n Expand.push(\"Lists\");\r\n }\r\n // Query the web\r\n lib_1.Web(webUrl, { requestDigest: _requestDigest }).query({ Expand: Expand })\r\n // Execute the request\r\n .execute(function (web) {\r\n // Remove the web custom actions\r\n removeUserCustomActions(web.UserCustomActions, cfg.CustomActionCfg ? cfg.CustomActionCfg.Web : null).then(function () {\r\n // Remove the lists\r\n removeLists(web.Lists, cfg.ListCfg).then(function () {\r\n // Remove the content types\r\n removeContentTypes(web.ContentTypes, cfg.ContentTypes).then(function () {\r\n // Remove the fields\r\n removeFields(web.Fields, cfg.Fields).then(function () {\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n });\r\n };\r\n /**\r\n * Public Interface\r\n */\r\n return {\r\n // The configuration\r\n _configuration: cfg,\r\n // Method to install the configuration\r\n install: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the request digest\r\n setRequestDigest().then(function () {\r\n // Log\r\n console.log(\"[gd-sprest] Installing the web assets...\");\r\n // Get the web\r\n var web = lib_1.Web(webUrl, { requestDigest: _requestDigest });\r\n // Create the site fields\r\n var createSiteFields = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are creating fields\r\n if (cfg.Fields && cfg.Fields.length > 0) {\r\n // Log\r\n console.log(\"[gd-sprest][Fields] Starting the requests.\");\r\n // Get the fields\r\n web.Fields().execute(function (fields) {\r\n // Create the fields\r\n createFields(fields, cfg.Fields).then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Fields] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the site content types\r\n var createSiteContentTypes = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are creating the content types\r\n if (cfg.ContentTypes && cfg.ContentTypes.length > 0) {\r\n // Log\r\n console.log(\"[gd-sprest][Content Types] Starting the requests.\");\r\n // Get the content types\r\n web.ContentTypes().execute(function (contentTypes) {\r\n // Create the content types\r\n createContentTypes(contentTypes, cfg.ContentTypes).then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Content Types] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the site lists\r\n var createSiteLists = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are creating the lists\r\n if (cfg.ListCfg && cfg.ListCfg.length) {\r\n // Log\r\n console.log(\"[gd-sprest][Lists] Starting the requests.\");\r\n // Get the lists\r\n web.Lists().execute(function (lists) {\r\n // Create the lists\r\n createLists(lists, cfg.ListCfg).then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Lists] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the site webparts\r\n var createSiteWebParts = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are creating the webparts\r\n if (cfg.WebPartCfg && cfg.WebPartCfg.length > 0) {\r\n // Log\r\n console.log(\"[gd-sprest][WebParts] Starting the requests.\");\r\n // Create the webparts\r\n createWebParts().then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][WebParts] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the custom actions\r\n var createSiteCollectionCustomActions = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are targeting the site collection\r\n if (cfg.CustomActionCfg && cfg.CustomActionCfg.Site) {\r\n // Log\r\n console.log(\"[gd-sprest][Site Custom Actions] Starting the requests.\");\r\n // Get the site\r\n lib_1.Site(webUrl, { requestDigest: _requestDigest })\r\n // Get the user custom actions\r\n .UserCustomActions().execute(function (customActions) {\r\n // Create the user custom actions\r\n createUserCustomActions(customActions, cfg.CustomActionCfg.Site).then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Site Custom Actions] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the custom actions\r\n var createSiteCustomActions = function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if we are targeting the web\r\n if (cfg.CustomActionCfg && cfg.CustomActionCfg.Web) {\r\n // Log\r\n console.log(\"[gd-sprest][Web Custom Actions] Starting the requests.\");\r\n // Get the user custom actions\r\n web.UserCustomActions().execute(function (customActions) {\r\n // Create the user custom actions\r\n createUserCustomActions(customActions, cfg.CustomActionCfg.Web).then(function () {\r\n // Log\r\n console.log(\"[gd-sprest][Web Custom Actions] Completed the requests.\");\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }, reject);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n };\r\n // Create the site fields\r\n createSiteFields().then(function () {\r\n // Create the site content types\r\n createSiteContentTypes().then(function () {\r\n // Create the site lists\r\n createSiteLists().then(function () {\r\n // Create the webparts\r\n createSiteWebParts().then(function () {\r\n // Create the site collection custom actions\r\n createSiteCollectionCustomActions().then(function () {\r\n // Create the site custom actions\r\n createSiteCustomActions().then(function () {\r\n // Log\r\n console.log(\"[gd-sprest] The configuration script completed, but some requests may still be running.\");\r\n // Resolve the request\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n }, reject);\r\n });\r\n },\r\n // Method to uninstall the configuration\r\n uninstall: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the request digest\r\n setRequestDigest().then(function () {\r\n // Uninstall the web components\r\n uninstallWeb().then(function () {\r\n // Uninstall the site components\r\n uninstallSite().then(function () {\r\n // Log\r\n console.log(\"[gd-sprest] The configuration script completed, but some requests may still be running.\");\r\n // Resolve the promise\r\n resolve();\r\n }, reject);\r\n }, reject);\r\n });\r\n });\r\n }\r\n };\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfg.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfgTypes.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfgTypes.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * SharePoint Configuration Field Types\r\n */\r\nexports.SPCfgFieldType = {\r\n Boolean: 0,\r\n Calculated: 1,\r\n Choice: 2,\r\n Currency: 3,\r\n Date: 4,\r\n Geolocation: 5,\r\n Lookup: 6,\r\n MMS: 7,\r\n Note: 8,\r\n Number: 9,\r\n Text: 10,\r\n Url: 11,\r\n User: 12\r\n};\r\n/**\r\n * SharePoint Configuration Types\r\n * The value determines the order to install the object type.\r\n */\r\nexports.SPCfgType = {\r\n Fields: 0,\r\n ContentTypes: 1,\r\n Lists: 2,\r\n SiteUserCustomActions: 3,\r\n WebParts: 5,\r\n WebUserCustomActions: 4\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/spCfgTypes.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/taxonomy.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/taxonomy.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Taxonomy Helper Class\r\n */\r\nexports.Taxonomy = {\r\n /**\r\n * Method to find a term by id\r\n */\r\n findById: function (term, termId) {\r\n // See if this is the root node\r\n if (term.info && term.info.id == termId) {\r\n // Return the root node\r\n return term;\r\n }\r\n // Parse the child nodes\r\n for (var prop in term) {\r\n // Skip the info and parent\r\n if (prop == \"info\" || prop == \"parent\") {\r\n continue;\r\n }\r\n // Find the term by id\r\n var childTerm = exports.Taxonomy.findById(term[prop], termId);\r\n if (childTerm) {\r\n return childTerm;\r\n }\r\n }\r\n },\r\n /**\r\n * Method to find a term by name\r\n */\r\n findByName: function (term, termName) {\r\n // See if this is the root node\r\n if (term.info && term.info.name == termName) {\r\n // Return the root node\r\n return term;\r\n }\r\n // Parse the child nodes\r\n for (var prop in term) {\r\n // Skip the info and parent\r\n if (prop == \"info\" || prop == \"parent\") {\r\n continue;\r\n }\r\n // Find the term by id\r\n var childTerm = exports.Taxonomy.findByName(term[prop], termName);\r\n if (childTerm) {\r\n return childTerm;\r\n }\r\n }\r\n },\r\n /**\r\n * Method to get the terms\r\n */\r\n getTerms: function (termSet, termSetTerms) {\r\n var terms = [];\r\n // Add the root term\r\n terms.push({\r\n description: termSet.get_description(),\r\n id: termSet.get_id().toString(),\r\n name: termSet.get_name(),\r\n path: [],\r\n pathAsString: \"\",\r\n props: termSet.get_customProperties()\r\n });\r\n // Parse the term sets terms\r\n var enumerator = termSetTerms.getEnumerator();\r\n while (enumerator.moveNext()) {\r\n var term = enumerator.get_current();\r\n // Create the terms\r\n terms.push({\r\n description: term.get_description(),\r\n id: term.get_id().toString(),\r\n name: term.get_name(),\r\n path: term.get_pathOfTerm().split(\";\"),\r\n pathAsString: term.get_pathOfTerm(),\r\n props: term.get_customProperties()\r\n });\r\n }\r\n // Sort the terms\r\n terms = terms.sort(function (a, b) {\r\n if (a.pathAsString < b.pathAsString) {\r\n return -1;\r\n }\r\n if (a.pathAsString > b.pathAsString) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n // Return the terms\r\n return terms;\r\n },\r\n /**\r\n * Method to get the term group\r\n */\r\n getTermGroup: function (groupName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the scripts\r\n exports.Taxonomy.loadScripts().then(function () {\r\n // Get the taxonomy session\r\n var context = SP.ClientContext.get_current();\r\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);\r\n // See if we are getting a specific group name\r\n if (groupName) {\r\n // Resolve the promise\r\n var termStores_1 = session.get_termStores();\r\n context.load(termStores_1, \"Include(Groups)\");\r\n context.executeQueryAsync(function () {\r\n // Get the default store\r\n var enumerator = termStores_1.getEnumerator();\r\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\r\n if (termStore) {\r\n // Get the term group\r\n var termGroup = termStore.get_groups().getByName(groupName);\r\n context.load(termGroup);\r\n // Resolve the promise\r\n resolve({ context: context, termGroup: termGroup });\r\n }\r\n else {\r\n // Reject the promise\r\n reject(\"Unable to find the taxonomy store.\");\r\n }\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n }\r\n else {\r\n // Get the default site collection group\r\n var termStore = session.getDefaultSiteCollectionTermStore();\r\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\r\n context.load(termGroup);\r\n // Resolve the promise\r\n resolve({ context: context, termGroup: termGroup });\r\n }\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term groups\r\n */\r\n getTermGroups: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the scripts\r\n exports.Taxonomy.loadScripts().then(function () {\r\n // Get the taxonomy session\r\n var context = SP.ClientContext.get_current();\r\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);\r\n // Resolve the promise\r\n var termStores = session.get_termStores();\r\n context.load(termStores, \"Include(Groups)\");\r\n context.executeQueryAsync(function () {\r\n // Get the default store\r\n var enumerator = termStores.getEnumerator();\r\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\r\n if (termStore) {\r\n // Get the term groups\r\n var termGroups_1 = termStore.get_groups();\r\n context.load(termGroups_1, \"Include(Description, Id, Name)\");\r\n // Execute the request\r\n context.executeQueryAsync(\r\n // Success\r\n function () {\r\n var groups = [];\r\n // Parse the groups\r\n var enumerator = termGroups_1.getEnumerator();\r\n while (enumerator.moveNext()) {\r\n var group = enumerator.get_current();\r\n // Add the group information\r\n groups.push({\r\n description: group.get_description(),\r\n id: group.get_id().toString(),\r\n name: group.get_name()\r\n });\r\n }\r\n // Resolve the promise\r\n resolve(groups);\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n }\r\n else {\r\n // Reject the promise\r\n reject(\"Unable to find the taxonomy store.\");\r\n }\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term sets for a group\r\n */\r\n getTermSets: function (groupName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the term gruop\r\n exports.Taxonomy.getTermGroup(groupName).then(\r\n // Success\r\n function (_a) {\r\n var context = _a.context, termGroup = _a.termGroup;\r\n // Get the term group information\r\n var termGroupInfo = termGroup.get_termSets();\r\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\");\r\n // Execute the request\r\n context.executeQueryAsync(function () {\r\n var termSets = [];\r\n // Parse the term group information\r\n var enumerator = termGroupInfo.getEnumerator();\r\n while (enumerator.moveNext()) {\r\n var termSet = enumerator.get_current();\r\n // Add the group information\r\n termSets.push({\r\n description: termSet.get_description(),\r\n id: termSet.get_id().toString(),\r\n name: termSet.get_name(),\r\n props: termSet.get_customProperties()\r\n });\r\n }\r\n // Resolve the promise\r\n resolve(termSets);\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n }, \r\n // Error\r\n function (reason) {\r\n // Reject the promise\r\n reject(reason);\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term sets from the default site collection.\r\n */\r\n getTermSetsFromDefaultSC: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the scripts\r\n exports.Taxonomy.loadScripts().then(function () {\r\n // Get the taxonomy session\r\n var context = SP.ClientContext.get_current();\r\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);\r\n // Get the terms sets from the default site collection\r\n var termStore = session.getDefaultSiteCollectionTermStore();\r\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\r\n var termGroupInfo = termGroup.get_termSets();\r\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\");\r\n // Execute the request\r\n context.executeQueryAsync(\r\n // Success\r\n function () {\r\n var termSets = [];\r\n // Parse the term group information\r\n var enumerator = termGroupInfo.getEnumerator();\r\n while (enumerator.moveNext()) {\r\n var termSet = enumerator.get_current();\r\n // Add the group information\r\n termSets.push({\r\n description: termSet.get_description(),\r\n id: termSet.get_id().toString(),\r\n name: termSet.get_name(),\r\n props: termSet.get_customProperties()\r\n });\r\n }\r\n // Resolve the promise\r\n resolve(termSets);\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the terms by id\r\n */\r\n getTermsById: function (termStoreId, termSetId) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Load the scripts\r\n exports.Taxonomy.loadScripts().then(function () {\r\n // Get the taxonomy session\r\n var context = SP.ClientContext.get_current();\r\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);\r\n // Get the term set terms\r\n var termStore = session.get_termStores().getById(termStoreId);\r\n var termSet = termStore.getTermSet(termSetId);\r\n var terms = termSet.getAllTerms();\r\n context.load(termSet);\r\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\");\r\n // Execute the request\r\n context.executeQueryAsync(function () {\r\n // Resolve the promise\r\n resolve(exports.Taxonomy.getTerms(termSet, terms));\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term set by id\r\n */\r\n getTermSetById: function (termStoreId, termSetId) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the terms\r\n exports.Taxonomy.getTermsById(termStoreId, termSetId).then(\r\n // Success\r\n function (terms) {\r\n // Resolve the promise\r\n resolve(exports.Taxonomy.toObject(terms));\r\n }, \r\n // Error\r\n function (reason) {\r\n // Reject the promise\r\n reject(reason);\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the terms from the default site collection\r\n */\r\n getTermsFromDefaultSC: function (termSetName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the term group\r\n exports.Taxonomy.getTermGroup().then(\r\n // Success\r\n function (_a) {\r\n var context = _a.context, termGroup = _a.termGroup;\r\n // Get the term set terms\r\n var termSet = termGroup.get_termSets().getByName(termSetName);\r\n var terms = termSet.getAllTerms();\r\n context.load(termSet);\r\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\");\r\n // Execute the request\r\n context.executeQueryAsync(function () {\r\n // Resolve the promise\r\n resolve(exports.Taxonomy.getTerms(termSet, terms));\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n }, \r\n // Error\r\n function (reason) {\r\n // Reject the promise\r\n reject(reason);\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term set from the default site collection\r\n */\r\n getTermSetFromDefaultSC: function (termSetName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the terms\r\n exports.Taxonomy.getTermsFromDefaultSC(termSetName).then(\r\n // Success\r\n function (terms) {\r\n // Resolve the object\r\n resolve(exports.Taxonomy.toObject(terms));\r\n }, \r\n // Error\r\n function (reason) {\r\n // Reject the promise\r\n reject(reason);\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get a terms from a specified group\r\n */\r\n getTermsByGroupName: function (termSetName, groupName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the term group\r\n exports.Taxonomy.getTermGroup(groupName).then(function (_a) {\r\n var context = _a.context, termGroup = _a.termGroup;\r\n // Get the term set terms\r\n var termSet = termGroup.get_termSets().getByName(termSetName);\r\n var terms = termSet.getAllTerms();\r\n context.load(termSet);\r\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\");\r\n // Execute the request\r\n context.executeQueryAsync(function () {\r\n // Resolve the promise\r\n resolve(exports.Taxonomy.getTerms(termSet, terms));\r\n }, function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Reject the promise\r\n reject(args[1].get_message());\r\n });\r\n });\r\n });\r\n },\r\n /**\r\n * Method to get the term set from the default site collection\r\n */\r\n getTermSetByGroupName: function (termSetName, groupName) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Get the terms\r\n exports.Taxonomy.getTermsByGroupName(termSetName, groupName).then(\r\n // Success\r\n function (terms) {\r\n // Resolve the object\r\n resolve(exports.Taxonomy.toObject(terms));\r\n }, \r\n // Error\r\n function (reason) {\r\n // Reject the promise\r\n reject(reason);\r\n });\r\n });\r\n },\r\n /**\r\n * Method to ensure the taxonomy script references are loaded.\r\n */\r\n loadScripts: function () {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Ensure the core script is loaded\r\n SP.SOD.executeFunc(\"sp.js\", \"SP.Utilities.Utility\", function () {\r\n // Ensure the taxonomy script is loaded\r\n SP.SOD.registerSod(\"sp.taxonomy.js\", SP.Utilities.Utility.getLayoutsPageUrl(\"sp.taxonomy.js\"));\r\n SP.SOD.executeFunc(\"sp.taxonomy.js\", \"SP.Taxonomy.TaxonomySession\", function () {\r\n // Resolve the promise\r\n resolve();\r\n });\r\n }, \"sp.js\");\r\n });\r\n },\r\n /**\r\n * Method to convert a term to an array of term information\r\n */\r\n toArray: function (term) {\r\n var terms = [];\r\n // Recursive method to extract the child terms\r\n var getChildTerms = function (term, terms) {\r\n // Parse the properties\r\n for (var prop in term) {\r\n // Skip the info and parent properties\r\n if (prop == \"info\" || prop == \"parent\") {\r\n continue;\r\n }\r\n // Add the child term\r\n var childTerm = term[prop];\r\n terms.push(childTerm.info);\r\n // Add the child terms\r\n getChildTerms(childTerm, terms);\r\n }\r\n };\r\n // Ensure the term exists\r\n if (term) {\r\n // See if the root node contains term information\r\n if (term.info) {\r\n // Add the root term\r\n terms.push(term.info);\r\n }\r\n // Get the child terms\r\n getChildTerms(term, terms);\r\n }\r\n // Return the child terms\r\n return terms;\r\n },\r\n /**\r\n * Method to convert a term to a field value\r\n */\r\n toFieldValue: function (term) {\r\n var termInfo = term ? term[\"info\"] || term : null;\r\n // Ensure the term exists\r\n if (termInfo) {\r\n return {\r\n __metadata: { \"type\": \"SP.Taxonomy.TaxonomyFieldValue\" },\r\n Label: termInfo.name,\r\n TermGuid: termInfo.id,\r\n WssId: -1\r\n };\r\n }\r\n // Return nothing\r\n return null;\r\n },\r\n /**\r\n * Method to convert a collection of terms to a field value\r\n */\r\n toFieldMultiValue: function (terms) {\r\n var results = [];\r\n // Ensure terms exist\r\n if (terms && terms.length > 0) {\r\n // Parse the terms\r\n for (var i = 0; i < terms.length; i++) {\r\n var termInfo = terms[i][\"info\"] || terms[i];\r\n // Add the term\r\n results.push(\";#\" + termInfo.name + \"|\" + termInfo.id);\r\n }\r\n }\r\n // Return a blank array\r\n return {\r\n __metadata: { type: \"Collection(SP.Taxonomy.TaxonomyFieldValue)\" },\r\n results: results\r\n };\r\n },\r\n /**\r\n * Method to convert the terms to an object\r\n */\r\n toObject: function (terms) {\r\n var root = {};\r\n // Recursive method to add terms\r\n var addTerm = function (node, info, path) {\r\n var term = node;\r\n var termName = \"\";\r\n // Loop for each term\r\n while (path.length > 0) {\r\n // Ensure the term exists\r\n termName = path[0];\r\n if (term[termName] == null) {\r\n // Create the term\r\n term[termName] = {};\r\n }\r\n // Set the term\r\n var parent_1 = term;\r\n term = term[termName];\r\n // Set the parent\r\n term.parent = parent_1;\r\n // Remove the term from the path\r\n path.splice(0, 1);\r\n }\r\n // Set the info\r\n term.info = info;\r\n };\r\n // Ensure the terms exist\r\n if (terms && terms.length > 0) {\r\n // Parse the terms\r\n for (var i = 0; i < terms.length; i++) {\r\n var term = terms[i];\r\n // See if this is the root term\r\n if (term.pathAsString == \"\") {\r\n // Set the root information\r\n root.info = term;\r\n }\r\n else {\r\n // Add the term\r\n addTerm(root, term, term.pathAsString.split(\";\"));\r\n }\r\n }\r\n // Return the root term\r\n return exports.Taxonomy.findById(root, terms[0].id);\r\n }\r\n // Return nothing\r\n return null;\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/taxonomy.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/webpart.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/webpart.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Web Part\r\n */\r\nvar _WebPart = /** @class */ (function () {\r\n /**\r\n * Constructor\r\n * @param props - The webpart properties.\r\n */\r\n function _WebPart(props) {\r\n var _this = this;\r\n this._props = null;\r\n this._wp = null;\r\n /**\r\n * Method to add the help link to a script part editor.\r\n * @wpId - The webpart id.\r\n */\r\n this.addHelpLink = function () {\r\n // Ensure the help properties exist\r\n if (_this._props.helpProps) {\r\n // Get the webpart's \"Snippet\"\r\n var link = document.querySelector(\"div[webpartid='\" + _this._wp.wpId + \"'] a[title='Edit Snippet']\");\r\n if (link) {\r\n // Create the help link\r\n var helpLink = document.createElement(\"a\");\r\n helpLink.href = _this._props.helpProps.url || \"#\";\r\n helpLink.style.paddingLeft = \"10px\";\r\n helpLink.setAttribute(\"role\", \"button\");\r\n helpLink.title = _this._props.helpProps.title || \"Help\";\r\n helpLink.innerHTML = \"\" + helpLink.title + \"\";\r\n helpLink.target = \"_blank\";\r\n // Append the link\r\n link.parentElement.appendChild(helpLink);\r\n }\r\n }\r\n };\r\n /**\r\n * Method to get the webpart id for a specified element\r\n * @param el - The target element.\r\n */\r\n this.getWebPartId = function (el) {\r\n // Loop until we find the webpart id\r\n while (el) {\r\n // See if this element contains the webpart id\r\n var wpId = el.getAttribute(\"webpartid\");\r\n if (wpId) {\r\n // Return the webpart id\r\n return wpId;\r\n }\r\n // Check the parent\r\n el = el.parentElement;\r\n }\r\n // Unable to detect\r\n return \"\";\r\n };\r\n /**\r\n * Method to get the webpart information\r\n */\r\n this.getWebPartInfo = function () {\r\n var targetInfo = {\r\n cfg: null,\r\n el: null,\r\n wpId: null\r\n };\r\n // Ensure the element id exists\r\n if (_this._props.elementId) {\r\n // Get the webpart elements\r\n var elements = document.querySelectorAll(\"#\" + _this._props.elementId);\r\n for (var i = 0; i < elements.length; i++) {\r\n var elWebPart = elements[i];\r\n // See if we have already configured this element\r\n if (elWebPart.getAttribute(\"data-isConfigured\")) {\r\n continue;\r\n }\r\n // Get the webpart id\r\n var wpId = _this.getWebPartId(elWebPart);\r\n if (wpId) {\r\n // See if the configuration element exists\r\n var elCfg = _this._props.cfgElementId ? elWebPart.parentElement.querySelector(\"#\" + _this._props.cfgElementId) : null;\r\n if (elCfg) {\r\n try {\r\n // Parse the configuration\r\n var cfg = JSON.parse(elCfg.innerText.trim());\r\n // See if the webaprt id exists\r\n if (cfg.WebPartId) {\r\n // See if it's for this webpart\r\n if (cfg.WebPartId == wpId) {\r\n // Set the target information\r\n targetInfo = {\r\n cfg: cfg,\r\n el: elWebPart,\r\n wpId: wpId\r\n };\r\n break;\r\n }\r\n }\r\n else {\r\n // Set the target information\r\n targetInfo = {\r\n cfg: {\r\n WebPartId: wpId\r\n },\r\n el: elWebPart,\r\n wpId: wpId\r\n };\r\n break;\r\n }\r\n }\r\n catch (ex) {\r\n // Set the target information\r\n targetInfo = {\r\n cfg: {\r\n WebPartId: wpId\r\n },\r\n el: elWebPart,\r\n wpId: wpId\r\n };\r\n // Log\r\n console.log(\"[sp-webpart] Error parsing the configuration for element '\" + _this._props.cfgElementId + \"'.\");\r\n }\r\n // Break from the loop\r\n break;\r\n }\r\n else {\r\n // Set the target information\r\n targetInfo = {\r\n cfg: {\r\n WebPartId: wpId\r\n },\r\n el: elWebPart,\r\n wpId: wpId\r\n };\r\n break;\r\n }\r\n }\r\n }\r\n // Ensure elements were found\r\n if (elements.length == 0) {\r\n // Log\r\n console.log(\"[sp-webpart] Error - Unable to find elements with id '\" + _this._props.elementId + \"'.\");\r\n }\r\n }\r\n else {\r\n // Log\r\n console.log(\"[sp-webpart] The target element id is not defined.\");\r\n }\r\n // Ensure the target element exists\r\n if (targetInfo.el) {\r\n // Set the configuration flag\r\n targetInfo.el.setAttribute(\"data-isConfigured\", \"true\");\r\n }\r\n // Return the target information\r\n return targetInfo;\r\n };\r\n /**\r\n * Method to render the webpart\r\n */\r\n this.render = function () {\r\n var element = null;\r\n // Get the webpart information\r\n _this._wp = _this.getWebPartInfo();\r\n if (_this._wp == null || _this._wp.el == null) {\r\n // Log\r\n console.log(\"[sp-webpart] The target webpart element '\" + _this._props.elementId + \"' was not found.\");\r\n return;\r\n }\r\n // See if the page is being edited\r\n var returnVal = null;\r\n if (exports.WebPart.isEditMode()) {\r\n // Add the help link\r\n _this.addHelpLink();\r\n // Call the render event\r\n if (_this._props.onRenderEdit) {\r\n // Execute the render edit event\r\n returnVal = _this._props.onRenderEdit(_this._wp);\r\n }\r\n }\r\n else {\r\n // See if the configuration is defined, but has no value\r\n if (_this._wp.cfg || (_this._props.cfgElementId || \"\").length == 0) {\r\n // Execute the render edit event\r\n returnVal = _this._props.onRenderDisplay(_this._wp);\r\n }\r\n else {\r\n // Render a message\r\n _this._wp.el.innerHTML = '
Please edit the page and configure the webpart.
';\r\n }\r\n }\r\n // See if a promise was returned\r\n if (returnVal && returnVal.then) {\r\n // Wait for the request to complete\r\n returnVal.then(function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n // Execute the post render event\r\n _this._props.onPostRender ? _this._props.onPostRender(_this._wp) : null;\r\n });\r\n }\r\n else {\r\n // Execute the post render event\r\n _this._props.onPostRender ? _this._props.onPostRender(_this._wp) : null;\r\n }\r\n };\r\n // Set the properties\r\n this._props = props || {};\r\n // Add a load event\r\n window.addEventListener(\"load\", function () {\r\n // Render the component\r\n _this.render();\r\n });\r\n }\r\n // Method to create an instance of the webpart\r\n _WebPart.create = function (props) {\r\n // Return an instance of the webpart\r\n return new _WebPart(props);\r\n };\r\n // Generates the XML for a content editor webpart\r\n _WebPart.generateContentEditorXML = function (props) {\r\n return \"\\n\\n Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\\n Microsoft.SharePoint.WebPartPages.ContentEditorWebPart\\n [[Title]]\\n [[Description]]\\n [[FrameType]]\\n [[ContentLink]]\\n \\n\".replace(/\\r?\\n/g, '')\r\n .replace(/\\[\\[FrameType\\]\\]/g, props.frameType || \"Default\")\r\n .replace(/\\[\\[Content\\]\\]/g, props.content || \"\")\r\n .replace(/\\[\\[ContentLink\\]\\]/g, props.contentLink || \"\")\r\n .replace(/\\[\\[Description\\]\\]/g, props.description || \"\")\r\n .replace(/\\[\\[Title\\]\\]/g, props.title || \"\");\r\n };\r\n // Generates the XML for a script editor webpart\r\n _WebPart.generateScriptEditorXML = function (props) {\r\n return \"\\n\\n \\n \\n \\n $Resources:core,ImportantErrorMessage;\\n \\n \\n \\n [[Title]]\\n [[Description]]\\n [[ChromeType]]\\n [[Content]]\\n \\n \\n \\n\".replace(/\\r?\\n/g, '')\r\n .replace(/\\[\\[ChromeType\\]\\]/g, props.chromeType || \"TitleOnly\")\r\n .replace(/\\[\\[Content\\]\\]/g, props.content.replace(/\\/g, '>'))\r\n .replace(/\\[\\[Description\\]\\]/g, props.description || \"\")\r\n .replace(/\\[\\[Title\\]\\]/g, props.title || \"\");\r\n };\r\n /**\r\n * Method to detect if a page is being edited\r\n */\r\n _WebPart.isEditMode = function () {\r\n var formName = MSOWebPartPageFormName ? MSOWebPartPageFormName : \"\";\r\n // Get the form\r\n var form = document.forms[MSOWebPartPageFormName];\r\n if (form) {\r\n // Get the wiki page mode\r\n var wikiPageMode = form._wikiPageMode ? form._wikiPageMode.value : null;\r\n // Get the webpart page mode\r\n var wpPageMode = form.MSOLayout_InDesignMode ? form.MSOLayout_InDesignMode.value : null;\r\n // Determine if the page is being edited\r\n return wikiPageMode == \"Edit\" || wpPageMode == \"1\";\r\n }\r\n // Unable to determine\r\n return false;\r\n };\r\n return _WebPart;\r\n}());\r\nexports.WebPart = _WebPart;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/webpart.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js":
/*!*****************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js ***!
\*****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Type definitions for gd-sprest\r\n// Project: https://dattabase.com\r\n// Definitions by: Gunjan Datta \r\n/***************************************************************************************************\r\nMIT License\r\n\r\nCopyright (c) 2016 Dattabase, LLC.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n***************************************************************************************************/\r\n__webpack_require__(/*! core-js/features/promise */ \"./node_modules/.pnpm/registry.npmjs.org/core-js/3.6.5/node_modules/core-js/features/promise/index.js\");\r\nvar Helper = __webpack_require__(/*! ./helper */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/index.js\");\r\nexports.Helper = Helper;\r\n__export(__webpack_require__(/*! ./lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\"));\r\n__export(__webpack_require__(/*! ./rest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/rest.js\"));\r\n__export(__webpack_require__(/*! ./sptypes */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/index.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/apps.js":
/*!********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/apps.js ***!
\********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Apps\r\n */\r\nexports.Apps = (function (targetInfo) {\r\n var apps = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n apps.targetInfo.defaultToWebFl = true;\r\n apps.targetInfo.endpoint = \"apps\";\r\n // Add the methods\r\n utils_1.Request.addMethods(apps, { __metadata: { type: \"Microsoft.AppServices.AppCollection\" } });\r\n // Return the apps\r\n return apps;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/apps.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/contextInfo.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/contextInfo.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Context Information\r\n */\r\nvar _ContextInfo = /** @class */ (function () {\r\n function _ContextInfo() {\r\n }\r\n Object.defineProperty(_ContextInfo, \"_contextInfo\", {\r\n // The current context information\r\n get: function () {\r\n // Return the page context or a default object\r\n return this.window[\"_spPageContextInfo\"] || (this._spfxPageContext && this._spfxPageContext.legacyPageContext) ||\r\n {\r\n existsFl: false,\r\n isAppWeb: false,\r\n isHubSite: false,\r\n isSPO: false,\r\n siteAbsoluteUrl: \"\",\r\n siteServerRelativeUrl: \"\",\r\n userId: 0,\r\n webAbsoluteUrl: \"\",\r\n webServerRelativeUrl: \"\"\r\n };\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(_ContextInfo, \"aadInstanceUrl\", {\r\n /**\r\n * Properties\r\n */\r\n get: function () { return this._contextInfo.aadInstanceUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"aadTenantId\", {\r\n get: function () { return this._contextInfo.aadTenantId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"alertsEnabled\", {\r\n get: function () { return this._contextInfo.alertsEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"allowSilverlightPrompt\", {\r\n get: function () { return this._contextInfo.allowSilverlightPrompt == \"True\" ? true : false; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"canUserCreateMicrosoftForm\", {\r\n get: function () { return this._contextInfo.canUserCreateMicrosoftForm; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"canUserCreateVisioDrawing\", {\r\n get: function () { return this._contextInfo.canUserCreateVisioDrawing; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"cdnPrefix\", {\r\n get: function () { return this._contextInfo.cdnPrefix; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"clientServerTimeDelta\", {\r\n get: function () { return this._contextInfo.clientServerTimeDelta; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"CorrelationId\", {\r\n get: function () { return this._contextInfo.CorrelationId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"crossDomainPhotosEnabled\", {\r\n get: function () { return this._contextInfo.crossDomainPhotosEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"currentCultureName\", {\r\n get: function () { return this._contextInfo.currentCultureName; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"currentLanguage\", {\r\n get: function () { return this._contextInfo.currentLanguage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"currentUICultureName\", {\r\n get: function () { return this._contextInfo.currentUICultureName; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"departmentId\", {\r\n get: function () { return this._contextInfo.departmentId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"DesignPackageId\", {\r\n get: function () { return this._contextInfo.DesignPackageId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"disableAppViews\", {\r\n get: function () { return this._contextInfo.disableAppViews; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"disableFlows\", {\r\n get: function () { return this._contextInfo.disableFlows; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"document\", {\r\n get: function () { return this.window ? this.window.document : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"env\", {\r\n get: function () { return this._contextInfo.env; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"existsFl\", {\r\n get: function () { return this._contextInfo.existsFl == null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"farmLabel\", {\r\n get: function () { return this._contextInfo.farmLabel; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"fid\", {\r\n get: function () { return this._contextInfo.fid; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"formDigestTimeoutSeconds\", {\r\n get: function () { return this._contextInfo.formDigestTimeoutSeconds; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"formDigestValue\", {\r\n get: function () { return this._contextInfo.formDigestValue; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"groupColor\", {\r\n get: function () { return this._contextInfo.groupColor; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"groupHasHomepage\", {\r\n get: function () { return this._contextInfo.groupHasHomepage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"groupId\", {\r\n get: function () { return this._contextInfo.groupId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"groupType\", {\r\n get: function () { return this._contextInfo.groupType; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"guestsEnabled\", {\r\n get: function () { return this._contextInfo.guestsEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"hasManageWebPermissions\", {\r\n get: function () { return this._contextInfo.hasManageWebPermissions; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"hasPendingWebTemplateExtension\", {\r\n get: function () { return this._contextInfo.hasPendingWebTemplateExtension; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"hideSyncButtonOnODB\", {\r\n get: function () { return this._contextInfo.hideSyncButtonOnODB; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"hubSiteId\", {\r\n get: function () { return this._contextInfo.hubSiteId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"idleSessionSignOutEnabled\", {\r\n get: function () { return this._contextInfo.idleSessionSignOutEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isAnonymousGuestUser\", {\r\n get: function () { return this._contextInfo.isAnonymousGuestUser; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isAppWeb\", {\r\n get: function () { return this._contextInfo.isAppWeb; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isEmailAuthenticatinoGuesUser\", {\r\n get: function () { return this._contextInfo.isEmailAuthenticatinoGuesUser; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isExternalGuestUser\", {\r\n get: function () { return this._contextInfo.isExternalGuestUser; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isHubSite\", {\r\n get: function () { return this._contextInfo.isHubSite; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isMultiGeoTenant\", {\r\n get: function () { return this._contextInfo.isMultiGeoTenant; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isNoScriptEnabled\", {\r\n get: function () { return this._contextInfo.isNoScriptEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isSiteAdmin\", {\r\n get: function () { return this._contextInfo.isSiteAdmin; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isSPO\", {\r\n get: function () { return this._contextInfo.isSPO; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isTenantDevSite\", {\r\n get: function () { return this._contextInfo.isTenantDevSite; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"isWebWelcomePage\", {\r\n get: function () { return this._contextInfo.isWebWelcomePage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"layoutsUrl\", {\r\n get: function () { return this._contextInfo.layoutsUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"listBaseTemplate\", {\r\n get: function () { return this._contextInfo.listBaseTemplate; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"listId\", {\r\n get: function () { return this._contextInfo.listId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"listTitle\", {\r\n get: function () { return this._contextInfo.listTitle; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"listPermMask\", {\r\n get: function () { return this._contextInfo.listPermMask; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"listUrl\", {\r\n get: function () { return this._contextInfo.listUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"maximumFileSize\", {\r\n get: function () { return this._contextInfo.maximumFileSize; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"nid\", {\r\n get: function () { return this._contextInfo.nid; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"openInClient\", {\r\n get: function () { return this._contextInfo.openInClient; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"pageItemId\", {\r\n get: function () { return this._contextInfo.pageItemId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"pageListId\", {\r\n get: function () { return this._contextInfo.pageListId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"pagePermMask\", {\r\n get: function () { return this._contextInfo.pagePermMask; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"pagePersonalizationScope\", {\r\n get: function () { return this._contextInfo.pagePersonalizationScope; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"preferUserTimeZone\", {\r\n get: function () { return this._contextInfo.preferUserTimeZone; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"PreviewFeaturesEnabled\", {\r\n get: function () { return this._contextInfo.PreviewFeaturesEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"profileUrl\", {\r\n get: function () { return this._contextInfo.profileUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"PublishingFeatureOn\", {\r\n get: function () { return this._contextInfo.PublishingFeatureOn; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"RecycleBinItemCount\", {\r\n get: function () { return this._contextInfo.RecycleBinItemCount; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"serverRedirectedUrl\", {\r\n get: function () { return this._contextInfo.serverRedirectedUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"serverRequestPath\", {\r\n get: function () { return this._contextInfo.serverRequestPath; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"serverTime\", {\r\n get: function () { return this._contextInfo.serverTime; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"showNGSCDialogForSyncOnODB\", {\r\n get: function () { return this._contextInfo.showNGSCDialogForSyncOnODB; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"showNGSCDialogForSyncOnTS\", {\r\n get: function () { return this._contextInfo.showNGSCDialogForSyncOnTS; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteAbsoluteUrl\", {\r\n get: function () { return this._contextInfo.siteAbsoluteUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteClassification\", {\r\n get: function () { return this._contextInfo.siteClassification; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteClientTag\", {\r\n get: function () { return this._contextInfo.siteClientTag; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteColor\", {\r\n get: function () { return this._contextInfo.siteColor; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteId\", {\r\n get: function () { return this._contextInfo.siteId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"sitePagesEnabled\", {\r\n get: function () { return this._contextInfo.sitePagesEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteServerRelativeUrl\", {\r\n get: function () { return this._contextInfo.siteServerRelativeUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"siteSubscriptionId\", {\r\n get: function () { return this._contextInfo.siteSubscriptionId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"supportPercentStorePage\", {\r\n get: function () { return this._contextInfo.supportPercentStorePage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"supportPoundStorePath\", {\r\n get: function () { return this._contextInfo.supportPoundStorePath; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"systemUserKey\", {\r\n get: function () { return this._contextInfo.systemUserKey; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"tenantAppVersion\", {\r\n get: function () { return this._contextInfo.tenantAppVersion; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"themeCacheToken\", {\r\n get: function () { return this._contextInfo.themeCacheToken; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"themeCssFolderUrl\", {\r\n get: function () { return this._contextInfo.themeCssFolderUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"themeImageFileNames\", {\r\n get: function () { return this._contextInfo.themeImageFileNames; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"updateFromDigestPageLoaded\", {\r\n get: function () { return this._contextInfo.updateFromDigestPageLoaded; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userDisplayName\", {\r\n get: function () { return this._contextInfo.userDisplayName; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userEmail\", {\r\n get: function () { return this._contextInfo.userEmail; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userFirstDayOfWeek\", {\r\n get: function () { return this._contextInfo.userFirstDayOfWeek; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userId\", {\r\n get: function () { return this._contextInfo.userId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userLoginName\", {\r\n get: function () { return this._contextInfo.userLoginName; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userTime24\", {\r\n get: function () { return this._contextInfo.userTime24; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"userTimeZoneData\", {\r\n get: function () { return this._contextInfo.userTimeZoneData; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"viewId\", {\r\n get: function () { return this._contextInfo.viewId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"viewOnlyExperienceEnabled\", {\r\n get: function () { return this._contextInfo.viewOnlyExperienceEnabled; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webAbsoluteUrl\", {\r\n get: function () { return this._contextInfo.webAbsoluteUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webDescription\", {\r\n get: function () { return this._contextInfo.webDescription; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webFirstDayOfWeek\", {\r\n get: function () { return this._contextInfo.webFirstDayOfWeek; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webId\", {\r\n get: function () { return this._contextInfo.webId; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webLanguage\", {\r\n get: function () { return this._contextInfo.webLanguage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webLogoUrl\", {\r\n get: function () { return this._contextInfo.webLogoUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webPermMask\", {\r\n get: function () { return this._contextInfo.webPermMask; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webServerRelativeUrl\", {\r\n get: function () { return this._contextInfo.webServerRelativeUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webTemplate\", {\r\n get: function () { return this._contextInfo.webTemplate; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webTime24\", {\r\n get: function () { return this._contextInfo.webTime24; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webTitle\", {\r\n get: function () { return this._contextInfo.webTitle; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"webUIVersion\", {\r\n get: function () { return this._contextInfo.webUIVersion; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ContextInfo, \"window\", {\r\n get: function () { return typeof (window) == \"undefined\" ? {} : window; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * Methods\r\n */\r\n // Method to generate a guid\r\n _ContextInfo.generateGUID = function () {\r\n // Set the batch id\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);\r\n return v.toString(16);\r\n });\r\n };\r\n // The page context information from an spfx project\r\n _ContextInfo._spfxPageContext = null;\r\n // Method to get the context information for a web\r\n _ContextInfo.getWeb = function (url) {\r\n // Create a new base object\r\n return new utils_1.Base({\r\n endpoint: \"contextinfo\",\r\n method: \"POST\",\r\n url: url\r\n });\r\n };\r\n // Method to set the page context information from an SPFX project\r\n _ContextInfo.setPageContext = function (spfxPageContext) { exports.ContextInfo[\"_spfxPageContext\"] = spfxPageContext; };\r\n return _ContextInfo;\r\n}());\r\nexports.ContextInfo = _ContextInfo;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/contextInfo.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/graph.js":
/*!*********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/graph.js ***!
\*********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Graph\r\n */\r\nexports.Graph = (function (accessToken, version) {\r\n var graph = new utils_1.Base({ accessToken: accessToken });\r\n // Default the target information\r\n graph.targetInfo.endpoint = version || \"v1.0\";\r\n graph.targetInfo.requestType = utils_1.RequestType.GraphGet;\r\n // Add the methods\r\n utils_1.Request.addMethods(graph, { __metadata: { type: \"graph\" } });\r\n // Return the graph\r\n return graph;\r\n});\r\n// Method to get the graph token from a classic page\r\nexports.Graph.getAccessToken = function (scope) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Set the data \r\n var data = { \"resource\": \"https://graph.microsoft.com\" };\r\n scope ? data[\"scope\"] = scope : null;\r\n // Get the access token\r\n (new utils_1.Base({\r\n endpoint: \"SP.OAuth.Token/Acquire\",\r\n data: data,\r\n method: \"POST\"\r\n })).execute(function (token) {\r\n // Resolve the promise\r\n resolve(token);\r\n });\r\n });\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/graph.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupService.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupService.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Group Service\r\n */\r\nexports.GroupService = (function (targetInfo) {\r\n var svc = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n svc.targetInfo.defaultToWebFl = true;\r\n svc.targetInfo.endpoint = \"groupservice\";\r\n // Add the methods\r\n utils_1.Request.addMethods(svc, { __metadata: { type: \"Microsoft.SharePoint.Portal.GroupService\" } });\r\n // Return the group service\r\n return svc;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupService.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupSiteManager.js":
/*!********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupSiteManager.js ***!
\********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Group Site Manager\r\n */\r\nexports.GroupSiteManager = (function (targetInfo) {\r\n var mgr = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n mgr.targetInfo.defaultToWebFl = true;\r\n mgr.targetInfo.endpoint = \"groupsitemanager\";\r\n // Add the methods\r\n utils_1.Request.addMethods(mgr, { __metadata: { type: \"Microsoft.SharePoint.Portal.GroupSiteManager\" } });\r\n // Return the group site manager\r\n return mgr;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupSiteManager.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSites.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSites.js ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Hub Sites\r\n */\r\nexports.HubSites = (function (targetInfo) {\r\n var hubs = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n hubs.targetInfo.defaultToWebFl = true;\r\n hubs.targetInfo.endpoint = \"hubsites\";\r\n // Add the methods\r\n utils_1.Request.addMethods(hubs, { __metadata: { type: \"SP.HubSite.Collection\" } });\r\n // Return the hub sites\r\n return hubs;\r\n});\r\n// Static method to see if the current user can create hub sites\r\nexports.HubSites.canCreate = (function () {\r\n // Return the base object\r\n return new utils_1.Base({\r\n endpoint: \"SP.HubSites.CanCreate\"\r\n });\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSites.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSitesUtility.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSitesUtility.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Hub Sites Utility\r\n */\r\nexports.HubSitesUtility = (function (targetInfo) {\r\n var utility = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n utility.targetInfo.defaultToWebFl = true;\r\n utility.targetInfo.endpoint = \"hubsitesutility\";\r\n // Add the methods\r\n utils_1.Request.addMethods(utility, { __metadata: { type: \"Microsoft.SharePoint.Portal.SPHubSitesUtility\" } });\r\n // Return the hub sites utility\r\n return utility;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSitesUtility.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js":
/*!*********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js ***!
\*********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(/*! ./apps */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/apps.js\"));\r\n__export(__webpack_require__(/*! ./contextInfo */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/contextInfo.js\"));\r\n__export(__webpack_require__(/*! ./graph */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/graph.js\"));\r\n__export(__webpack_require__(/*! ./groupService */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupService.js\"));\r\n__export(__webpack_require__(/*! ./groupSiteManager */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/groupSiteManager.js\"));\r\n__export(__webpack_require__(/*! ./hubSites */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSites.js\"));\r\n__export(__webpack_require__(/*! ./hubSitesUtility */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/hubSitesUtility.js\"));\r\n__export(__webpack_require__(/*! ./list */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/list.js\"));\r\n__export(__webpack_require__(/*! ./navigation */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/navigation.js\"));\r\n__export(__webpack_require__(/*! ./peopleManager */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peopleManager.js\"));\r\n__export(__webpack_require__(/*! ./peoplePicker */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peoplePicker.js\"));\r\n__export(__webpack_require__(/*! ./profileLoader */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/profileLoader.js\"));\r\n__export(__webpack_require__(/*! ./search */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/search.js\"));\r\n__export(__webpack_require__(/*! ./site */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/site.js\"));\r\n__export(__webpack_require__(/*! ./siteManager */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/siteManager.js\"));\r\n__export(__webpack_require__(/*! ./socialFeed */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/socialFeed.js\"));\r\n__export(__webpack_require__(/*! ./themeManager */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/themeManager.js\"));\r\n__export(__webpack_require__(/*! ./userProfile */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/userProfile.js\"));\r\n__export(__webpack_require__(/*! ./utility */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/utility.js\"));\r\n__export(__webpack_require__(/*! ./web */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/web.js\"));\r\n__export(__webpack_require__(/*! ./wfInstanceService */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfInstanceService.js\"));\r\n__export(__webpack_require__(/*! ./wfSubscriptionService */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfSubscriptionService.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/list.js":
/*!********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/list.js ***!
\********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\nvar web_1 = __webpack_require__(/*! ./web */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/web.js\");\r\n/**\r\n * List\r\n */\r\nexports.List = (function (listName, targetInfo) {\r\n var list = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n list.targetInfo.defaultToWebFl = true;\r\n list.targetInfo.endpoint = \"web/lists/getByTitle('\" + listName.replace(/\\'/g, \"''\") + \"')\";\r\n // Add the methods\r\n utils_1.Request.addMethods(list, { __metadata: { type: \"SP.List\" } });\r\n // Return the list\r\n return list;\r\n});\r\n// Static method to get the list by the entity name.\r\nexports.List.getByEntityName = (function (props) {\r\n // Query for the list\r\n var query = web_1.Web(props.url, props.targetInfo)\r\n // Get the lists\r\n .Lists()\r\n // Set the query\r\n .query({\r\n Filter: \"EntityTypeName eq '\" + props.name + \"'\",\r\n Top: 1\r\n });\r\n // See if the callback exists\r\n if (props.callback) {\r\n // Execute the request asynchronously\r\n query.execute(function (lists) {\r\n // Execute the callback method\r\n props.callback(lists.results ? lists.results[0] : null);\r\n });\r\n }\r\n else {\r\n // Execute the request synchronously and return it\r\n var list = query.executeAndWait();\r\n return list.results ? list.results[0] : list;\r\n }\r\n});\r\n// Static method to get the list data from the SP.List.getListDataAsStream endpoint\r\nexports.List.getDataAsStream = (function (listFullUrl, parameters) {\r\n if (parameters === void 0) { parameters = {}; }\r\n var params = \"?listFullUrl='\" + listFullUrl + \"'\";\r\n // Parse the parameters\r\n for (var key in parameters) {\r\n // Append the parameter\r\n params += \"&\" + key + \"=\" + parameters[key];\r\n }\r\n // Return the base object\r\n return new utils_1.Base({\r\n endpoint: \"SP.List.getListDataAsStream\" + params\r\n });\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/list.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/navigation.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/navigation.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Navigation\r\n */\r\nexports.Navigation = (function (url, targetInfo) {\r\n var navigation = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n navigation.targetInfo.defaultToWebFl = true;\r\n navigation.targetInfo.endpoint = \"navigation\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n navigation.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(navigation, { __metadata: { type: \"Microsoft.SharePoint.Navigation.REST.NavigationServiceRest\" } });\r\n // Return the navigation\r\n return navigation;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/navigation.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peopleManager.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peopleManager.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * People Manager\r\n */\r\nexports.PeopleManager = (function (targetInfo) {\r\n var peopleManager = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n peopleManager.targetInfo.defaultToWebFl = true;\r\n peopleManager.targetInfo.endpoint = \"sp.userprofiles.peoplemanager\";\r\n // Add the methods\r\n utils_1.Request.addMethods(peopleManager, { __metadata: { type: \"SP.UserProfiles.PeopleManager\" } });\r\n // Return the people manager\r\n return peopleManager;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peopleManager.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peoplePicker.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peoplePicker.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * People Picker\r\n */\r\nexports.PeoplePicker = (function (targetInfo) {\r\n var peoplePicker = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n peoplePicker.targetInfo.defaultToWebFl = true;\r\n peoplePicker.targetInfo.endpoint = \"SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface\";\r\n peoplePicker.targetInfo.overrideDefaultRequestToHostFl = true;\r\n // Add the methods\r\n utils_1.Request.addMethods(peoplePicker, { __metadata: { type: \"peoplepicker\" } });\r\n // Return the people picker\r\n return peoplePicker;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/peoplePicker.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/profileLoader.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/profileLoader.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Profile Loader\r\n */\r\nexports.ProfileLoader = (function (targetInfo) {\r\n var profileLoader = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n profileLoader.targetInfo.defaultToWebFl = true;\r\n profileLoader.targetInfo.endpoint = \"sp.userprofiles.profileloader.getprofileloader\";\r\n profileLoader.targetInfo.method = \"POST\";\r\n // Add the methods\r\n utils_1.Request.addMethods(profileLoader, { __metadata: { type: \"SP.UserProfiles.ProfileLoader\" } });\r\n // Return the profile loader\r\n return profileLoader;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/profileLoader.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/search.js":
/*!**********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/search.js ***!
\**********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Search\r\n */\r\nexports.Search = (function (url, targetInfo) {\r\n var base = new utils_1.Base(targetInfo);\r\n var search = base;\r\n // Default the properties\r\n base.targetInfo.defaultToWebFl = true;\r\n base.targetInfo.endpoint = \"search\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n base.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(search, { __metadata: { type: \"Microsoft.Office.Server.Search.REST.SearchService\" } });\r\n /** The search query method */\r\n search.searchquery = function (settings) {\r\n // Execute the request\r\n return search.executeMethod(\"query\", {\r\n argNames: [\"query\"],\r\n name: \"query?[[query]]\",\r\n requestType: utils_1.RequestType.GetReplace\r\n }, exports.Search.getQuery(settings));\r\n };\r\n // Return the search\r\n return search;\r\n});\r\n// Static method to compute the query\r\nexports.Search.getQuery = function (parameters) {\r\n var query = \"\";\r\n // Parse the parameters\r\n for (var key in parameters) {\r\n // Append the parameter to the query\r\n query += (query == \"\" ? \"\" : \"&\") + key + \"='\" + parameters[key] + \"'\";\r\n }\r\n // Return the query\r\n return [query];\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/search.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/site.js":
/*!********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/site.js ***!
\********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Site\r\n */\r\nexports.Site = (function (url, targetInfo) {\r\n var site = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n site.targetInfo.defaultToWebFl = true;\r\n site.targetInfo.endpoint = \"site\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n site.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(site, { __metadata: { type: \"SP.Site\" } });\r\n // Return the site\r\n return site;\r\n});\r\n// Static method to see if a site exists\r\nexports.Site.exists = (function (url) {\r\n // Return the base object\r\n return new utils_1.Base({\r\n data: { url: url },\r\n defaultToWebFl: true,\r\n endpoint: \"SP.Site.Exists\",\r\n method: \"POST\"\r\n });\r\n});\r\n// Static method to get the app context\r\nexports.Site.getAppContext = (function (siteUrl) {\r\n // Return the base object\r\n return new utils_1.Base({\r\n data: { siteUrl: siteUrl },\r\n defaultToWebFl: true,\r\n endpoint: \"SP.AppContextSite\",\r\n method: \"POST\"\r\n });\r\n});\r\n// Method to get the url by id\r\nexports.Site.getUrlById = (function (id) {\r\n // Return the base object\r\n return new utils_1.Base({\r\n data: { id: id },\r\n defaultToWebFl: true,\r\n endpoint: \"SP.Site.GetUrlById\",\r\n method: \"POST\"\r\n });\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/site.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/siteManager.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/siteManager.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Site Manager\r\n */\r\nexports.SiteManager = (function (url, targetInfo) {\r\n var siteMgr = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n siteMgr.targetInfo.defaultToWebFl = true;\r\n siteMgr.targetInfo.endpoint = \"SPSiteManager\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n siteMgr.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(siteMgr, { __metadata: { type: \"Microsoft.SharePoint.Portal.SPSiteManager\" } });\r\n // Return the site\r\n return siteMgr;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/siteManager.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/socialFeed.js":
/*!**************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/socialFeed.js ***!
\**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Social Feed\r\n */\r\nexports.SocialFeed = (function (targetInfo) {\r\n var base = new utils_1.Base(targetInfo);\r\n var socialFeed = base;\r\n // Default the properties\r\n base.targetInfo.defaultToWebFl = true;\r\n base.targetInfo.endpoint = \"social.feed\";\r\n // Add the methods\r\n utils_1.Request.addMethods(socialFeed, { __metadata: { type: \"SP.Social.SocialRestFeedManager\" } });\r\n // Return the social feed\r\n return socialFeed;\r\n});\r\n// Method to post to another user's feed\r\nexports.SocialFeed.postToFeed = function (accountName, creationData) {\r\n var postInfo = { ID: null, creationData: creationData };\r\n // Set the post metadata\r\n postInfo[\"__metadata\"] = { type: \"SP.Social.SocialRestPostCreationData\" };\r\n postInfo.creationData[\"__metadata\"] = { type: \"SP.Social.SocialPostCreationData\" };\r\n // Execute the request\r\n return exports.SocialFeed().executeMethod(\"postToMyFeed\", {\r\n argNames: [\"restCreationData\"],\r\n name: \"actor(item=@v)/feed?@v='\" + encodeURIComponent(accountName) + \"'\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }, [postInfo]);\r\n};\r\n// Method to post to the current user's feed\r\nexports.SocialFeed.postToMyFeed = function (creationData) {\r\n var postInfo = { ID: null, creationData: creationData };\r\n // Set the post metadata\r\n postInfo[\"__metadata\"] = { type: \"SP.Social.SocialRestPostCreationData\" };\r\n postInfo.creationData[\"__metadata\"] = { type: \"SP.Social.SocialPostCreationData\" };\r\n // Execute the request\r\n return exports.SocialFeed().executeMethod(\"postToMyFeed\", {\r\n argNames: [\"restCreationData\"],\r\n name: \"my/feed/post\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }, [postInfo]);\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/socialFeed.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/themeManager.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/themeManager.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Theme Manager\r\n */\r\nexports.ThemeManager = (function (targetInfo) {\r\n var mgr = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n mgr.targetInfo.defaultToWebFl = true;\r\n mgr.targetInfo.endpoint = \"thememanager\";\r\n // Add the methods\r\n utils_1.Request.addMethods(mgr, { __metadata: { type: \"SP.Utilities.ThemeManager\" } });\r\n // Return the theme manager\r\n return mgr;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/themeManager.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/userProfile.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/userProfile.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * User Profile\r\n */\r\nexports.UserProfile = (function (targetInfo) {\r\n var userProfile = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n userProfile.targetInfo.defaultToWebFl = true;\r\n userProfile.targetInfo.endpoint = \"sp.userprofiles.profileloader.getprofileloader/getUserProfile\";\r\n userProfile.targetInfo.method = \"POST\";\r\n // Add the methods\r\n utils_1.Request.addMethods(userProfile, { __metadata: { type: \"SP.UserProfiles.UserProfile\" } });\r\n // Return the user profile\r\n return userProfile;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/userProfile.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/utility.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/utility.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Utility\r\n */\r\nexports.Utility = (function (url, targetInfo) {\r\n var base = new utils_1.Base(targetInfo);\r\n var utility = base;\r\n // Default the properties\r\n base.targetInfo.defaultToWebFl = true;\r\n base.targetInfo.endpoint = \"SP.Utilities.Utility\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n base.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(utility, { __metadata: { type: \"utility\" } });\r\n // Method to create a wiki page\r\n utility.createWikiPage = function (listUrl, content) {\r\n if (content === void 0) { content = \"\"; }\r\n var parameters = {\r\n ServerRelativeUrl: listUrl,\r\n WikiHtmlContent: content\r\n };\r\n // Execute the method\r\n return utility.executeMethod(\"createWikiPage\", {\r\n argNames: [\"parameters\"],\r\n name: \"SP.Utilities.Utility.CreateWikiPageInContextWeb\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }, [parameters]);\r\n };\r\n // Method to send an email\r\n utility.sendEmail = function (properties) {\r\n // Parse the email properties\r\n for (var _i = 0, _a = [\"To\", \"CC\", \"BCC\"]; _i < _a.length; _i++) {\r\n var propName = _a[_i];\r\n var propValue = properties[propName];\r\n // Ensure the value exists\r\n if (propValue) {\r\n // See if it's a string\r\n if (typeof (propValue) === \"string\") {\r\n // Add the results property\r\n properties[propName] = { 'results': [propValue] };\r\n }\r\n // Else, assume it's an array\r\n else {\r\n // Add the results property\r\n properties[propName] = { 'results': propValue };\r\n }\r\n }\r\n }\r\n // Execute the method\r\n return utility.executeMethod(\"sendEmail\", {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Utilities.EmailProperties\",\r\n name: \"SP.Utilities.Utility.sendEmail\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }, [properties]);\r\n };\r\n // Return the utility\r\n return utility;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/utility.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/web.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/web.js ***!
\*******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\nexports.Web = (function (url, targetInfo) {\r\n var web = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n web.targetInfo.defaultToWebFl = true;\r\n web.targetInfo.endpoint = \"web\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n web.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(web, { __metadata: { type: \"SP.Web\" } });\r\n // Return the web\r\n return web;\r\n});\r\n// Static method to get a remote web\r\nexports.Web.getRemoteWeb = (function (requestUrl) {\r\n // Return the remote web information\r\n return new utils_1.Base({\r\n data: { requestUrl: requestUrl },\r\n defaultToWebFl: true,\r\n endpoint: \"SP.RemoteWeb?$expand=Web\",\r\n method: \"POST\"\r\n });\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/web.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfInstanceService.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfInstanceService.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Workflow Instance Service\r\n */\r\nexports.WorkflowInstanceService = (function (url, targetInfo) {\r\n var wfs = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n wfs.targetInfo.defaultToWebFl = true;\r\n wfs.targetInfo.endpoint = \"SP.WorkflowServices.WorkflowInstanceService.Current\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n wfs.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(wfs, { __metadata: { type: \"SP.WorkflowServices.WorkflowInstanceService\" } });\r\n // Return the workflow service\r\n return wfs;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfInstanceService.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfSubscriptionService.js":
/*!*************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfSubscriptionService.js ***!
\*************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Workflow Subscription Service\r\n */\r\nexports.WorkflowSubscriptionService = (function (url, targetInfo) {\r\n var wfs = new utils_1.Base(targetInfo);\r\n // Default the properties\r\n wfs.targetInfo.defaultToWebFl = true;\r\n wfs.targetInfo.endpoint = \"SP.WorkflowServices.WorkflowSubscriptionService.Current\";\r\n // See if the web url exists\r\n if (url) {\r\n // Set the settings\r\n wfs.targetInfo.url = url;\r\n }\r\n // Add the methods\r\n utils_1.Request.addMethods(wfs, { __metadata: { type: \"SP.WorkflowServices.WorkflowSubscriptionService\" } });\r\n // Return the workflow service\r\n return wfs;\r\n});\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/wfSubscriptionService.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/audit.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/audit.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Audit\r\n */\r\nexports.audit = {\r\n // Queries the collection\r\n query: {\r\n argNames: [\"oData\"],\r\n requestType: utils_1.RequestType.OData\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/audit.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/graph.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/graph.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Graph v1.0\r\n */\r\nexports.graph = {\r\n properties: [\r\n \"groups|graph_groups|/[Name]|graph_group\",\r\n \"users|graph_users|/[Name]|graph_user\"\r\n ],\r\n /**\r\n * me\r\n **/\r\n me: {\r\n requestType: utils_1.RequestType.GraphGet,\r\n returnType: \"graph_me\"\r\n }\r\n};\r\n/**\r\n * Graph Drive\r\n */\r\nexports.graph_drive = {\r\n properties: [\r\n \"items|graph_drive_items|/[Name]|graph_drive_item\",\r\n \"root|graph_drive_item\",\r\n \"special|graph_drive_items\",\r\n ]\r\n};\r\n/**\r\n * Graph Me\r\n */\r\nexports.graph_me = {\r\n properties: [\r\n \"drives|graph_drives|/[Name]|graph_drive\",\r\n \"messages|graph_messages|/[Name]|graph_message\"\r\n ],\r\n /**\r\n * Calendar\r\n */\r\n calendar: {\r\n requestType: utils_1.RequestType.GraphGet,\r\n returnType: \"graph_calendar\"\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/graph.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/index.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/index.js ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(/*! ./audit */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/audit.js\"));\r\n__export(__webpack_require__(/*! ./graph */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/graph.js\"));\r\n__export(__webpack_require__(/*! ./old */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/old.js\"));\r\n__export(__webpack_require__(/*! ./peoplePicker */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/peoplePicker.js\"));\r\n__export(__webpack_require__(/*! ./propertyValues */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/propertyValues.js\"));\r\n__export(__webpack_require__(/*! ./utility */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/utility.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/old.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/old.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar def_1 = __webpack_require__(/*! ../def */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/def.js\");\r\n/**\r\n * This is required for dynamic metadata types\r\n */\r\nexports.attachmentfiles = def_1.Mapper[\"SP.Attachment.Collection\"];\r\nexports.eventreceiver = def_1.Mapper[\"SP.EventReceiverDefinition\"];\r\nexports.eventreceivers = def_1.Mapper[\"SP.EventReceiverDefinition.Collection\"];\r\nexports.features = def_1.Mapper[\"SP.Feature.Collection\"];\r\nexports.field = def_1.Mapper[\"SP.Field\"];\r\nexports.fields = def_1.Mapper[\"SP.Field.Collection\"];\r\nexports.fieldlinks = def_1.Mapper[\"SP.FieldLink.Collection\"];\r\nexports.file = def_1.Mapper[\"SP.File\"];\r\nexports.files = def_1.Mapper[\"SP.File.Collection\"];\r\nexports.fileversion = def_1.Mapper[\"SP.FileVersion\"];\r\nexports.fileversions = def_1.Mapper[\"SP.FileVersion.Collection\"];\r\nexports.folder = def_1.Mapper[\"SP.Folder\"];\r\nexports.folders = def_1.Mapper[\"SP.Folder.Collection\"];\r\nexports.group = def_1.Mapper[\"SP.Group\"];\r\nexports.sitegroups = def_1.Mapper[\"SP.Directory.Group.Collection\"];\r\nexports.limitedwebpartmanager = def_1.Mapper[\"SP.WebParts.LimitedWebPartManager\"];\r\nexports.list = def_1.Mapper[\"SP.List\"];\r\nexports.lists = def_1.Mapper[\"SP.List.Collection\"];\r\nexports.listitem = def_1.Mapper[\"SP.ListItem\"];\r\nexports.items = def_1.Mapper[\"SP.ListItem.Collection\"];\r\nexports.roleassignment = def_1.Mapper[\"SP.RoleAssignment\"];\r\nexports.roleassignments = def_1.Mapper[\"SP.RoleAssignment.Collection\"];\r\nexports.roledefinition = def_1.Mapper[\"SP.RoleDefinition\"];\r\nexports.roledefinitions = def_1.Mapper[\"SP.RoleDefinition.Collection\"];\r\nexports.search = def_1.Mapper[\"Microsoft.Office.Server.Search.REST.SearchService\"];\r\nexports.site = def_1.Mapper[\"SP.Site\"];\r\nexports.tenantapp = def_1.Mapper[\"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata\"];\r\nexports.tenantapps = def_1.Mapper[\"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata.Collection\"];\r\nexports.tenantappcatalog = def_1.Mapper[\"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor\"];\r\nexports.user = def_1.Mapper[\"SP.User\"];\r\nexports.users = def_1.Mapper[\"SP.User.Collection\"];\r\nexports.usercustomaction = def_1.Mapper[\"SP.UserCustomAction\"];\r\nexports.usercustomactions = def_1.Mapper[\"SP.UserCustomAction.Collection\"];\r\nexports.versions = def_1.Mapper[\"SP.FileVersion.Collection\"];\r\nexports.view = def_1.Mapper[\"SP.View\"];\r\nexports.views = def_1.Mapper[\"SP.View.Collection\"];\r\nexports.viewfieldcollection = def_1.Mapper[\"SP.ViewFieldCollection\"];\r\nexports.web = def_1.Mapper[\"SP.Web\"];\r\nexports.webs = def_1.Mapper[\"SP.Web.Collection\"];\r\nexports.webinfos = def_1.Mapper[\"SP.WebInformation.Collection\"];\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/old.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/peoplePicker.js":
/*!**************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/peoplePicker.js ***!
\**************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * People Picker\r\n */\r\nexports.peoplepicker = {\r\n clientPeoplePickerResolveUser: {\r\n argNames: [\"queryParams\"],\r\n metadataType: \"SP.UI.ApplicationPages.ClientPeoplePickerQueryParameters\",\r\n name: \"SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.ClientPeoplePickerResolveUser\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n clientPeoplePickerSearchUser: {\r\n argNames: [\"queryParams\"],\r\n metadataType: \"SP.UI.ApplicationPages.ClientPeoplePickerQueryParameters\",\r\n name: \"SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.ClientPeoplePickerSearchUser\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/peoplePicker.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/propertyValues.js":
/*!****************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/propertyValues.js ***!
\****************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Property Values\r\n */\r\nexports.propertyvalues = {\r\n // Queries the collection\r\n query: {\r\n argNames: [\"oData\"],\r\n requestType: utils_1.RequestType.OData\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/propertyValues.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/utility.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/utility.js ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Utility\r\n */\r\nexports.utility = {\r\n createEmailBodyForInvitation: {\r\n argNames: [\"pageAddress\"],\r\n name: \"SP.Utilities.Utility.CreateEmailBodyForInvitation\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createWikiPage: {\r\n argNames: [\"parameters\"],\r\n name: \"SP.Utilities.Utility.CreateWikiPageInContextWeb\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getAppLicenseDeploymentId: {\r\n name: \"SP.Utilities.Utility.GetAppLicenseDeploymentId\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getAppLicenseInformation: {\r\n name: \"SP.Utilities.Utility.GetAppLicenseInformation\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getCurrentUserEmailAddresses: {\r\n name: \"SP.Utilities.Utility.GetCurrentUserEmailAddresses\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getLocalizedString: {\r\n argNames: [\"sourceValue\"],\r\n name: \"SP.Utilities.Utility.GetLocalizedString\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getLowerCaseString: {\r\n argNames: [\"sourceValue\", \"lcid\"],\r\n name: \"SP.Utilities.Utility.GetLowerCaseString\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n importAppLicense: {\r\n argNames: [\"url\"],\r\n name: \"SP.Utilities.Utility.ImportAppLicense\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n isUserLicensedForEntityInContext: {\r\n argNames: [\"url\"],\r\n name: \"SP.Utilities.Utility.IsUserLicensedForEntityInContext\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n localizeWebPartGallery: {\r\n argNames: [\"url\"],\r\n name: \"SP.Utilities.Utility.LocalizeWebPartGallery\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n markDiscussionAsFeatured: {\r\n argNames: [\"url\"],\r\n name: \"SP.Utilities.Utility.MarkDiscussionAsFeatured\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n resolvePrincipal: {\r\n name: \"SP.Utilities.Utility.ResolvePrincipalInCurrentContext\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.Post\r\n },\r\n searchPrincipals: {\r\n name: \"SP.Utilities.Utility.SearchPrincipalsUsingContextWeb\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.Post\r\n },\r\n sendEmail: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Utilities.EmailProperties\",\r\n name: \"SP.Utilities.Utility.sendEmail\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n unmarkDiscussionAsFeatured: {\r\n argNames: [\"url\"],\r\n name: \"SP.Utilities.Utility.UnmarkDiscussionAsFeatured\",\r\n replaceEndpointFl: true,\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/utility.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/def.js":
/*!**********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/def.js ***!
\**********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar utils_1 = __webpack_require__(/*! ../utils */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\nexports.Mapper = {\r\n \"MS.FileServices.File\": {\r\n copyTo: {\r\n argNames: [\"target\", \"overwrite\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n download: {},\r\n moveTo: {\r\n argNames: [\"target\", \"overwrite\"],\r\n },\r\n upload: {\r\n argNames: [\"stream\"],\r\n },\r\n },\r\n \"MS.FileServices.FileSystemItem.Collection\": {\r\n add: {\r\n argNames: [\"name\", \"overwrite\", \"content\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"MS.FileServices.Folder\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n moveTo: {\r\n argNames: [\"target\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.AppServices.AppCollection\": {\r\n getAppsFromStore: {\r\n argNames: [\"addInType\", \"queryString\"],\r\n },\r\n getByType: {\r\n argNames: [\"type\"],\r\n },\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningModel\": {\r\n update: {},\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningModel.Collection\": {\r\n getByTitle: {\r\n argNames: [\"title\"],\r\n },\r\n getByUniqueId: {\r\n argNames: [\"uniqueId\"],\r\n },\r\n query: { argNames: [\"oData\"] },\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningPublication\": {\r\n delete: {},\r\n update: {},\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningPublication.Collection\": {\r\n batchDelete: {\r\n argNames: [\"publications\"],\r\n },\r\n getByModelUniqueId: {\r\n argNames: [\"modelUniqueId\"],\r\n },\r\n getByUniqueId: {\r\n argNames: [\"uniqueId\"],\r\n },\r\n query: { argNames: [\"oData\"] },\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningSample\": {\r\n update: {},\r\n },\r\n \"Microsoft.Office.Server.ContentCenter.SPMachineLearningSample.Collection\": {\r\n getByModelId: {\r\n argNames: [\"modelID\"],\r\n },\r\n getByTitle: {\r\n argNames: [\"title\"],\r\n },\r\n getByUniqueId: {\r\n argNames: [\"uniqueId\"],\r\n },\r\n query: { argNames: [\"oData\"] },\r\n },\r\n \"Microsoft.Office.Server.Search.REST.SearchService\": {\r\n autocompletions: {\r\n argNames: [\"querytext\", \"sources\", \"numberOfCompletions\", \"cursorPosition\"],\r\n },\r\n export: {\r\n argNames: [\"userName\", \"startTime\"],\r\n },\r\n exportmanualsuggestions: {},\r\n exportpopulartenantqueries: {\r\n argNames: [\"count\"]\r\n },\r\n postquery: {\r\n argNames: [\"request\"],\r\n metadataType: \"Microsoft.Office.Server.Search.REST.SearchRequest\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n query: {\r\n argNames: [\"querytext\", \"queryTemplate\", \"enableInterleaving\", \"sourceId\", \"rankingModelId\", \"startRow\", \"rowLimit\", \"rowsPerPage\", \"selectProperties\", \"culture\", \"refinementFilters\", \"refiners\", \"hiddenConstraints\", \"sortList\", \"enableStemming\", \"trimDuplicates\", \"timeout\", \"enableNicknames\", \"enablePhonetic\", \"enableFQL\", \"hitHighlightedProperties\", \"propertiesToGenerateAcronyms\", \"bypassResultTypes\", \"processBestBets\", \"clientType\", \"personalizationData\", \"resultsUrl\", \"queryTag\", \"trimDuplicatesIncludeId\", \"totalRowsExactMinimum\", \"impressionId\", \"properties\", \"enableQueryRules\", \"summaryLength\", \"maxSnippetLength\", \"desiredSnippetLength\", \"uiLanguage\", \"blockDedupeMode\", \"generateBlockRankLog\", \"enableSorting\", \"collapseSpecification\", \"processPersonalFavorites\", \"enableOrderingHitHighlightedProperty\", \"hitHighlightedMultivaluePropertyLimit\", \"queryTemplatePropertiesUrl\", \"timeZoneId\", \"useOLSQuery\", \"OLSQuerySession\"],\r\n },\r\n recordPageClick: {\r\n argNames: [\"pageInfo\", \"clickType\", \"blockType\", \"clickedResultId\", \"subResultIndex\", \"immediacySourceId\", \"immediacyQueryString\", \"immediacyTitle\", \"immediacyUrl\"],\r\n },\r\n resultspageaddress: {},\r\n searchcenterurl: {},\r\n searchquery: {\r\n argNames: [\"request\"],\r\n },\r\n suggest: {\r\n argNames: [\"querytext\", \"iNumberOfQuerySuggestions\", \"iNumberOfResultSuggestions\", \"iNumberOfPopularResultSuggestions\", \"fPreQuerySuggestions\", \"fHitHighlighting\", \"fCapitalizeFirstLetters\", \"culture\", \"enableStemming\", \"showPeopleNameSuggestions\", \"enableQueryRules\", \"fPrefixMatchAllTerms\", \"sourceId\", \"clientType\", \"useOLSQuery\", \"OLSQuerySession\", \"zeroTermSuggestions\"],\r\n },\r\n },\r\n \"Microsoft.Office.Server.Search.REST.SearchSetting\": {\r\n getpromotedresultqueryrules: {\r\n argNames: [\"siteCollectionLevel\", \"offset\", \"numberOfRules\"],\r\n },\r\n getqueryconfiguration: {\r\n argNames: [\"callLocalSearchFarmsOnly\", \"skipGroupObjectIdLookup\"],\r\n },\r\n getxssearchpolicy: {},\r\n pingadminendpoint: {},\r\n setxssearchpolicy: {\r\n argNames: [\"policy\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.AppLauncher.AppLauncher\": {\r\n getData: {\r\n argNames: [\"suiteVersion\", \"isMobileRequest\", \"locale\", \"onPremVer\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation.Collection\": {\r\n getByLocation: {\r\n argNames: [\"location\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob.Collection\": {\r\n getByMoveId: {\r\n argNames: [\"moveId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob.Collection\": {\r\n getByMoveId: {\r\n argNames: [\"moveId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob.Collection\": {\r\n getByMoveId: {\r\n argNames: [\"moveId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty.Collection\": {\r\n getByPropertyNameAndGeoLocation: {\r\n argNames: [\"propertyName\", \"geo\"],\r\n },\r\n getChanges: {\r\n argNames: [\"startTimeInUtc\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator.Collection\": {\r\n create: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByLoginName: {\r\n argNames: [\"loginName\"],\r\n },\r\n getByLoginNameAndType: {\r\n argNames: [\"loginName\", \"memberType\"],\r\n },\r\n getByObjectId: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperience\": {\r\n upgradeAllInstancesToSPOMode: {},\r\n upgradeToSPOMode: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation.Collection\": {\r\n getByGeoLocation: {\r\n argNames: [\"geoLocation\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob\": {\r\n cancel: {},\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob.Collection\": {\r\n getByGroupName: {\r\n argNames: [\"groupname\"],\r\n },\r\n getMoveReport: {\r\n argNames: [\"moveState\", \"moveDirection\", \"limit\", \"startTime\", \"endTime\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.MultiGeoServicesBeta\": {\r\n crossGeoCredentials: {\r\n argNames: [\"siteId\"],\r\n },\r\n dBSchemaCompatibilityCheck: {},\r\n geoMoveCompatibilityChecks: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n userPersonalSiteId: {\r\n argNames: [\"userPrincipalName\"],\r\n },\r\n userPersonalSiteLocation: {\r\n argNames: [\"userPrincipalName\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob\": {\r\n cancel: {},\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob.Collection\": {\r\n getByUrl: {\r\n argNames: [\"url\"],\r\n },\r\n getMoveReport: {\r\n argNames: [\"moveState\", \"moveDirection\", \"limit\", \"startTime\", \"endTime\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota.Collection\": {\r\n getByLocation: {\r\n argNames: [\"geoLocation\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParameters\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup.Collection\": {\r\n getByAlias: {\r\n argNames: [\"alias\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob\": {\r\n cancel: {},\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob.Collection\": {\r\n getByDirection: {\r\n argNames: [\"direction\"],\r\n },\r\n getByMoveId: {\r\n argNames: [\"odbMoveId\"],\r\n },\r\n getByUpn: {\r\n argNames: [\"upn\"],\r\n },\r\n getByValidPdl: {\r\n argNames: [\"validPdl\"],\r\n },\r\n getMoveReport: {\r\n argNames: [\"moveState\", \"moveDirection\", \"limit\", \"startTime\", \"endTime\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob.Collection\": {\r\n getBySiteUrl: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n getJobsByParentId: {\r\n argNames: [\"parentId\"],\r\n },\r\n getJobsByParentIdAndState: {\r\n argNames: [\"parentId\", \"state\"],\r\n },\r\n getJobsBySiteUrl: {\r\n argNames: [\"url\"],\r\n },\r\n getSiteRenameReport: {\r\n argNames: [\"state\"],\r\n },\r\n query: { argNames: [\"oData\"] },\r\n },\r\n \"Microsoft.Online.SharePoint.Onboarding.RestService.TenantRename.TenantRenameJob.Collection\": {\r\n getJobById: {\r\n argNames: [\"jobId\", \"loadProgressState\"],\r\n },\r\n getJobsByState: {\r\n argNames: [\"state\"],\r\n },\r\n getState: {},\r\n query: { argNames: [\"oData\"] },\r\n },\r\n \"Microsoft.Online.SharePoint.PointPublishing.PointPublishingAdmin\": {\r\n createTopicMagazine: {\r\n argNames: [\"magazineName\"],\r\n },\r\n deleteTopicMagazine: {\r\n argNames: [\"magazineId\"],\r\n },\r\n provisionPointPublishingAsync: {},\r\n },\r\n \"Microsoft.Online.SharePoint.SPLogger.LogExport\": {\r\n getFiles: {\r\n argNames: [\"partitionId\", \"logType\"],\r\n },\r\n getLogTypes: {},\r\n getPartitions: {\r\n argNames: [\"logType\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdmin.MiddleTier.DDIAdapter\": {\r\n getList: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n getObject: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n multiObjectExecute: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n newObject: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n removeObjects: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n setObject: {\r\n argNames: [\"schema\", \"workflow\", \"stream\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipal\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant.Collection\": {\r\n getByObjectId: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest\": {\r\n approve: {},\r\n deny: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest.Collection\": {\r\n approve: {\r\n argNames: [\"resource\", \"scope\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Office365CommsMessagesServiceProxy\": {\r\n messageCenterMessages: {\r\n argNames: [\"messagesFieldsData\"],\r\n },\r\n serviceHealthMessages: {\r\n argNames: [\"messagesFieldsData\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.SPOGroup\": {\r\n getGroupInfo: {\r\n argNames: [\"groupId\"],\r\n },\r\n updateGroupProperties: {\r\n argNames: [\"groupId\", \"displayName\"],\r\n },\r\n updateGroupPropertiesBySiteId: {\r\n argNames: [\"groupId\", \"siteId\", \"displayName\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.SiteCollectionManagementService\": {\r\n exportCSVFile: {},\r\n getSiteDescription: {\r\n argNames: [\"siteId\"],\r\n },\r\n office365ProvidedSharepointSiteActivityDataReady: {},\r\n resetTimestampUpdateOffice365ProvidedSharepointSiteActivityData: {},\r\n updateOffice365ProvidedSharepointSiteActivityData: {\r\n argNames: [\"oauthToken\"],\r\n },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.SiteProperties\": {\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.Collection\": {\r\n getById: {\r\n argNames: [\"siteId\"],\r\n },\r\n getGroupSiteRelationship: {\r\n argNames: [\"siteId\"],\r\n },\r\n getLockStateById: {\r\n argNames: [\"siteId\"],\r\n },\r\n getSiteUserGroups: {\r\n argNames: [\"siteId\", \"userGroupIds\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Tenant\": {\r\n checkTenantIntuneLicense: {},\r\n checkTenantLicenses: {\r\n argNames: [\"licenses\"],\r\n },\r\n connectSiteToHubSiteById: {\r\n argNames: [\"siteUrl\", \"hubSiteId\"],\r\n },\r\n createSite: {\r\n argNames: [\"siteCreationProperties\"],\r\n },\r\n getIdleSessionSignOutForUnmanagedDevices: {},\r\n getSPOAllWebTemplates: {\r\n argNames: [\"cultureName\", \"compatibilityLevel\"],\r\n },\r\n getSPOTenantAllWebTemplates: {},\r\n getSPOTenantWebTemplates: {\r\n argNames: [\"localeId\", \"compatibilityLevel\"],\r\n },\r\n getSitePropertiesByUrl: {\r\n argNames: [\"url\", \"includeDetail\"],\r\n },\r\n getSitePropertiesFromSharePointByFilters: {\r\n argNames: [\"speFilter\"],\r\n },\r\n getSiteSecondaryAdministrators: {\r\n argNames: [\"secondaryAdministratorsFieldsData\"],\r\n },\r\n grantHubSiteRightsById: {\r\n argNames: [\"hubSiteId\", \"principals\", \"grantedRights\"],\r\n },\r\n hasValidEducationLicense: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n registerHubSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n registerHubSiteWithCreationInformation: {\r\n argNames: [\"siteUrl\", \"creationInformation\"],\r\n },\r\n removeDeletedSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n removeDeletedSitePreferId: {\r\n argNames: [\"siteUrl\", \"siteId\"],\r\n },\r\n removeSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n restoreDeletedSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n restoreDeletedSitePreferId: {\r\n argNames: [\"siteUrl\", \"siteId\"],\r\n },\r\n revokeHubSiteRightsById: {\r\n argNames: [\"hubSiteId\", \"principals\"],\r\n },\r\n setIdleSessionSignOutForUnmanagedDevices: {\r\n argNames: [\"enabled\", \"warnAfter\", \"signOutAfter\"],\r\n },\r\n setSiteSecondaryAdministrators: {\r\n argNames: [\"secondaryAdministratorsFieldsData\"],\r\n },\r\n swapSite: {\r\n argNames: [\"sourceUrl\", \"targetUrl\", \"archiveUrl\"],\r\n },\r\n swapSiteWithSmartGestureOption: {\r\n argNames: [\"sourceUrl\", \"targetUrl\", \"archiveUrl\", \"includeSmartGestures\"],\r\n },\r\n unregisterHubSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.TenantAdminSettingsService\": {\r\n getTenantSharingStatus: {},\r\n update: {},\r\n },\r\n \"Microsoft.Online.SharePoint.TenantManagement.ExternalUser.Collection\": {\r\n getById: {\r\n argNames: [\"uniqueId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.TenantManagement.Office365Tenant\": {\r\n addPublicCdnOrigin: {\r\n argNames: [\"origin\"],\r\n },\r\n addSdnProvider: {\r\n argNames: [\"identifier\", \"license\"],\r\n },\r\n addTenantCdnOrigin: {\r\n argNames: [\"cdnType\", \"originUrl\"],\r\n },\r\n addTenantTheme: {\r\n argNames: [\"name\", \"themeJson\"],\r\n },\r\n addToOrgAssetsLibAndCdn: {\r\n argNames: [\"cdnType\", \"libUrl\", \"thumbnailUrl\", \"orgAssetType\"],\r\n },\r\n createTenantCdnDefaultOrigins: {\r\n argNames: [\"cdnType\"],\r\n },\r\n deleteImportProfilePropertiesJob: {\r\n argNames: [\"jobId\"],\r\n },\r\n deleteTenantTheme: {\r\n argNames: [\"name\"],\r\n },\r\n disableSharingForNonOwnersOfSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n getAllTenantThemes: {},\r\n getExternalUsers: {\r\n argNames: [\"position\", \"pageSize\", \"filter\", \"sortOrder\"],\r\n },\r\n getExternalUsersForSite: {\r\n argNames: [\"siteUrl\", \"position\", \"pageSize\", \"filter\", \"sortOrder\"],\r\n },\r\n getExternalUsersWithSortBy: {\r\n argNames: [\"position\", \"pageSize\", \"filter\", \"sortPropertyName\", \"sortOrder\"],\r\n },\r\n getHideDefaultThemes: {},\r\n getIdleSessionSignOutForUnmanagedDevices: {},\r\n getImportProfilePropertyJob: {\r\n argNames: [\"jobId\"],\r\n },\r\n getImportProfilePropertyJobs: {},\r\n getTenantCdnEnabled: {\r\n argNames: [\"cdnType\"],\r\n },\r\n getTenantCdnOrigins: {\r\n argNames: [\"cdnType\"],\r\n },\r\n getTenantCdnPolicies: {\r\n argNames: [\"cdnType\"],\r\n },\r\n getTenantTheme: {\r\n argNames: [\"name\"],\r\n },\r\n isSharingDisabledForNonOwnersOfSite: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n queueImportProfileProperties: {\r\n argNames: [\"idType\", \"sourceDataIdProperty\", \"propertyMap\", \"sourceUri\"],\r\n },\r\n removeExternalUsers: {\r\n argNames: [\"uniqueIds\"],\r\n },\r\n removeFromOrgAssets: {\r\n argNames: [\"libUrl\", \"listId\"],\r\n },\r\n removeFromOrgAssetsAndCdn: {\r\n argNames: [\"remove\", \"cdnType\", \"libUrl\"],\r\n },\r\n removePublicCdnOrigin: {\r\n argNames: [\"originId\"],\r\n },\r\n removeSdnProvider: {},\r\n removeTenantCdnOrigin: {\r\n argNames: [\"cdnType\", \"originUrl\"],\r\n },\r\n revokeAllUserSessions: {\r\n argNames: [\"userName\"],\r\n },\r\n revokeAllUserSessionsByPuid: {\r\n argNames: [\"puidList\"],\r\n },\r\n setHideDefaultThemes: {\r\n argNames: [\"hideDefaultThemes\"],\r\n },\r\n setIdleSessionSignOutForUnmanagedDevices: {\r\n argNames: [\"enabled\", \"warnAfter\", \"signOutAfter\"],\r\n },\r\n setOrgAssetsLib: {\r\n argNames: [\"libUrl\", \"thumbnailUrl\", \"orgAssetType\"],\r\n },\r\n setTenantCdnEnabled: {\r\n argNames: [\"cdnType\", \"isEnabled\"],\r\n },\r\n setTenantCdnPolicy: {\r\n argNames: [\"cdnType\", \"policy\", \"policyValue\"],\r\n },\r\n updateTenantTheme: {\r\n argNames: [\"name\", \"themeJson\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Administration.FeatureDefinition.Collection\": {\r\n getFeatureDefinition: {\r\n argNames: [\"featureDisplayName\", \"compatibilityLevel\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.SharePoint.Administration.SPAnalyticsUsageService\": {\r\n logevent: {\r\n argNames: [\"usageEntry\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Administration.SPAppStateQueryJobDefinition\": {\r\n performFastRevokeWithClientIds: {},\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog\": {\r\n getCrawledUrls: {\r\n argNames: [\"getCountOnly\", \"maxRows\", \"queryString\", \"isLike\", \"contentSourceID\", \"errorLevel\", \"errorID\", \"startDateTime\", \"endDateTime\"],\r\n },\r\n getUnsuccesfulCrawledUrls: {\r\n argNames: [\"displayUrl\", \"startDateTime\", \"endDateTime\"]\r\n }\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Analytics.SignalStore\": {\r\n signals: {\r\n argNames: [\"signals\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Query.RankingLabeling\": {\r\n addJudgment: {\r\n argNames: [\"userQuery\", \"url\", \"labelId\"],\r\n },\r\n getJudgementsForQuery: {\r\n argNames: [\"query\"],\r\n },\r\n normalizeResultUrl: {\r\n argNames: [\"url\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection\": {\r\n add: {\r\n argNames: [\"matchType\", \"matchValue\", \"boost\"],\r\n },\r\n clear: {},\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Query.SortCollection\": {\r\n add: {\r\n argNames: [\"strProperty\", \"direction\"],\r\n },\r\n clear: {},\r\n },\r\n \"Microsoft.SharePoint.Client.Search.Query.StringCollection\": {\r\n add: {\r\n argNames: [\"property\"],\r\n },\r\n clear: {},\r\n },\r\n \"Microsoft.SharePoint.ClientSideComponent.HostedApp\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n updateWebPartData: {\r\n argNames: [\"webPartDataAsJson\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.ClientSideComponent.HostedAppsManager\": {\r\n add: {\r\n argNames: [\"webPartDataAsJson\", \"hostType\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Comments.comment\": {\r\n like: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n unlike: {},\r\n },\r\n \"Microsoft.SharePoint.Comments.comment.Collection\": {\r\n deleteAll: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.SharePoint.Internal.ActivityLogger\": {\r\n feedbackDirect: {\r\n argNames: [\"Operation\", \"ListId\", \"ListItemUniqueId\", \"AffectedResourceUrl\", \"ItemType\", \"json\"],\r\n },\r\n feedbackIndirect: {\r\n argNames: [\"Operation\", \"ListId\", \"ListItemUniqueId\", \"AffectedResourceUrl\", \"ItemType\", \"json\"],\r\n },\r\n logActivity: {\r\n argNames: [\"Operation\", \"ListId\", \"ListItemUniqueId\", \"AffectedResourceUrl\", \"ItemType\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata\": {\r\n deploy: {\r\n argNames: [\"skipFeatureDeployment\"],\r\n requestType: utils_1.RequestType.Post\r\n },\r\n install: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n remove: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n retract: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n uninstall: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n upgrade: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n },\r\n \"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem.Collection\": {\r\n add: {\r\n argNames: [\"absolutePath\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"absolutePath\"],\r\n },\r\n removeById: {\r\n argNames: [\"siteId\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor\": {\r\n properties: [\r\n \"AvailableApps|Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata.Collection|/getById('[Id]')|Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata\"\r\n ],\r\n add: {\r\n argNames: [\"Url\", \"Overwrite\", \"Content\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.TenantCorporateCatalogAccessor\": {\r\n properties: [\r\n \"AvailableApps|Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata.Collection|/getById('[Id]')|Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata\"\r\n ],\r\n add: {\r\n argNames: [\"Url\", \"Overwrite\", \"Content\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n syncSolutionToTeams: {\r\n argNames: [\"id\"]\r\n },\r\n upload: {\r\n argNames: [\"Content\", \"Overwrite\", \"Url\"],\r\n }\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.Device\": {\r\n delete: { requestType: utils_1.RequestType.Delete },\r\n update: {}\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.Device.Collection\": {\r\n getById: {\r\n argNames: [\"id\"]\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCenterStorage\": {\r\n create: {\r\n argNames: [\"config\"]\r\n },\r\n delete: { requestType: utils_1.RequestType.Delete },\r\n update: {}\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCredential\": {\r\n delete: { requestType: utils_1.RequestType.Delete },\r\n update: {}\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCredential.Collection\": {\r\n getById: {\r\n argNames: [\"id\"]\r\n },\r\n getCredentials: {\r\n argNames: [\"AccountName\", \"Type\"]\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData }\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationTask\": {\r\n delete: { requestType: utils_1.RequestType.Delete },\r\n update: {}\r\n },\r\n \"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationTask.Collection\": {\r\n getById: {\r\n argNames: [\"id\"]\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData }\r\n },\r\n \"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPO3rdPartyAADPermissionGrant.Collection\": {\r\n add: {\r\n argNames: [\"servicePrincipalId\", \"resource\", \"scope\"]\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"servicePrincipalId\", \"resource\", \"scope\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n }\r\n },\r\n \"Microsoft.SharePoint.Navigation.REST.NavigationServiceRest\": {\r\n properties: [\r\n \"MenuState|menustate|([Name])|menunode\"\r\n ],\r\n getPublishingNavigationProviderType: {\r\n argNames: [\"mapProviderName\"],\r\n },\r\n menuNodeKey: {\r\n argNames: [\"currentUrl\", \"mapProviderName\"],\r\n },\r\n menuState: {\r\n argNames: [\"menuNodeKey\", \"mapProviderName\", \"depth\", \"customProperties\"],\r\n },\r\n saveMenuState: {\r\n argNames: [\"menuState\", \"mapProviderName\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.OrgNewsSite.OrgNewsSiteApi\": {\r\n details: {},\r\n },\r\n \"Microsoft.SharePoint.Portal.GroupService\": {\r\n getGroupImage: {\r\n argNames: [\"id\", \"hash\", \"color\"],\r\n },\r\n setGroupImage: {\r\n argNames: [\"imageStream\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n syncGroupProperties: {\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"Microsoft.SharePoint.Portal.GroupSiteManager\": {\r\n canUserCreateGroup: {},\r\n create: {\r\n argNames: [\"groupId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createGroup: {\r\n argNames: [\"displayName\", \"alias\", \"isPublic\", \"ownerPrincipalNames\", \"description\", \"creationOptions\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createGroupEx: {\r\n argNames: [\"displayName\", \"alias\", \"isPublic\", \"optionalParams\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createGroupForSite: {\r\n argNames: [\"displayName\", \"alias\", \"isPublic\", \"optionalParams\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n delete: {\r\n argNames: [\"siteUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n ensureTeamForGroup: {},\r\n getGroupCreationContext: {},\r\n getGroupSiteConversionData: {},\r\n getSiteStatus: {\r\n argNames: [\"groupId\"],\r\n },\r\n getValidSiteUrlFromAlias: {\r\n argNames: [\"alias\", \"managedPath\", \"isTeamSite\"],\r\n },\r\n hideTeamifyPrompt: {\r\n argNames: [\"siteUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n isTeamifyPromptHidden: {\r\n argNames: [\"siteUrl\"]\r\n },\r\n notebook: {\r\n argNames: [\"groupId\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Portal.SPHubSitesUtility\": {\r\n getHubSites: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n },\r\n \"Microsoft.SharePoint.Portal.SPSiteManager\": {\r\n archiveTeamChannelSite: {\r\n argNames: [\"siteId\", \"archive\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n canCreateHubJoinedSite: {\r\n argNames: [\"hubSiteId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n create: {\r\n argNames: [\"request\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n delete: {\r\n argNames: [\"siteId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getIBSegmentLabels: {\r\n argNames: [\"IBSegments\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n getTeamChannelSiteOwner: {\r\n argNames: [\"siteId\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n restoreTeamsChannelSite: {\r\n argNames: [\"siteId\", \"relatedGroupId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n setTeamChannelSiteOwner: {\r\n argNames: [\"siteId\", \"logonName\", \"secondaryLogonName\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n siteUrl: {\r\n argNames: [\"siteId\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n status: {\r\n argNames: [\"url\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n updateWorkflow2013Endpoint: {\r\n argNames: [\"workflowServiceAddress\", \"workflowHostname\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"Microsoft.SharePoint.Portal.SharePointHomeServiceContextBuilder\": {\r\n context: {},\r\n },\r\n \"Microsoft.SharePoint.Portal.SiteIconManager\": {\r\n getSiteLogo: {\r\n argNames: [\"siteUrl\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Portal.SiteLinkingManager\": {\r\n getSiteLinks: {},\r\n linkGroup: {\r\n argNames: [\"groupId\"],\r\n },\r\n unlinkGroup: {\r\n argNames: [\"groupId\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.TenantCdn.TenantCdnApi\": {\r\n getCdnUrls: {\r\n argNames: [\"items\"],\r\n },\r\n isFolderUrlsInTenantCdn: {\r\n argNames: [\"urls\", \"cdnType\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Webhooks.Subscription\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {\r\n argNames: [\"parameters\"],\r\n },\r\n },\r\n \"Microsoft.SharePoint.Webhooks.Subscription.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"subscriptionId\"],\r\n },\r\n },\r\n \"OBA.Server.ServerWrapper.Diagnostics\": {\r\n status: {},\r\n },\r\n \"OBA.Server.ServerWrapper.Reporting\": {\r\n publishReport: {\r\n argNames: [\"odataPostBodyStm\"],\r\n },\r\n },\r\n \"OBA.Server.ServerWrapper.Taskflow\": {\r\n processTask: {\r\n argNames: [\"requestBodyStream\"],\r\n },\r\n },\r\n \"PS.BaseCalendarException\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.Calendar\": {\r\n copyTo: {\r\n argNames: [\"name\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.Calendar.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.CalendarException\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.CalendarException.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.CustomField\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.CustomField.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByAppAlternateId: {\r\n argNames: [\"objectId\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.DraftAssignment.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.DraftProjectResource.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n addEnterpriseResourceById: {\r\n argNames: [\"resourceId\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.DraftTask.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.DraftTaskLink.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.EngagementComment.Collection\": {\r\n add: {\r\n argNames: [\"comment\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.EnterpriseProjectType\": {\r\n addDepartment: {\r\n argNames: [\"departmentValueGuid\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n removeDepartment: {\r\n argNames: [\"departmentValueGuid\"],\r\n },\r\n updateCreatePDP: {\r\n argNames: [\"pdp\"],\r\n },\r\n },\r\n \"PS.EnterpriseProjectType.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.EnterpriseResource\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n forceCheckIn: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n updateClaimsAccount: {\r\n argNames: [\"newClaimsAccount\"],\r\n },\r\n },\r\n \"PS.EnterpriseResource.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.EnterpriseResourceCostRate\": {\r\n rESTfulUpdate: {},\r\n restfulDelete: {},\r\n },\r\n \"PS.EnterpriseResourceCostRate.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByDateUrl: {\r\n argNames: [\"effectiveDate\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.EntityLink\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.EntityLink.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.Event.Collection\": {\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n getByInt: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.EventHandler\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.EventHandler.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.LookupCost\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.LookupDate\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.LookupDuration\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.LookupEntry\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.LookupEntry.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByAppAlternateId: {\r\n argNames: [\"objectId\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.LookupNumber\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.LookupTable\": {\r\n addMask: {\r\n argNames: [\"mask\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n updateMask: {\r\n argNames: [\"mask\", \"level\"],\r\n },\r\n },\r\n \"PS.LookupTable.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByAppAlternateId: {\r\n argNames: [\"objectId\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.LookupText\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.Phase\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.Phase.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.PlanAssignment\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PlanAssignment.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PlanAssignmentInterval.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n getByStart: {\r\n argNames: [\"start\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.Project\": {\r\n getResourcePlanByUrl: {\r\n argNames: [\"start\", \"end\", \"scale\"],\r\n },\r\n leaveProjectStage: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n readyToLeaveProjectStage: {},\r\n updateIdeaListItemStatus: {\r\n argNames: [\"status\"],\r\n },\r\n },\r\n \"PS.ProjectDetailPage.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.ProjectEngagement\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n getTimephasedByUrl: {\r\n argNames: [\"start\", \"end\", \"scale\", \"contourType\"],\r\n },\r\n },\r\n \"PS.ProjectEngagement.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.ProjectEngagementTimephasedPeriod.Collection\": {\r\n getByStartUrl: {\r\n argNames: [\"start\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.ProjectServer\": {\r\n getDeletedPublishedAssignments: {\r\n argNames: [\"deletedDate\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n stopDelegation: {},\r\n },\r\n \"PS.ProjectWorkflowInstance\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n restartWorkflow: {},\r\n restartWorkflowSkipToStage: {\r\n argNames: [\"stageId\"],\r\n },\r\n },\r\n \"PS.ProjectWorkflowInstance.Collection\": {\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PublishedAssignment.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PublishedProject\": {\r\n checkOut: {},\r\n createProjectSite: {\r\n argNames: [\"siteName\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n getResourcePlanByUrl: {\r\n argNames: [\"start\", \"end\", \"scale\"],\r\n },\r\n leaveProjectStage: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n readyToLeaveProjectStage: {},\r\n submitToWorkflow: {},\r\n unlinkProjectSite: {},\r\n updateIdeaListItemStatus: {\r\n argNames: [\"status\"],\r\n },\r\n updateVisibilityCustomFields: {}\r\n },\r\n \"PS.PublishedProject.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n validate: {},\r\n },\r\n \"PS.PublishedProjectResource.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PublishedTask\": {\r\n addTaskPlanLink: {\r\n argNames: [\"parameters\"],\r\n },\r\n deleteTaskPlanLink: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PublishedTask.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.PublishedTaskLink.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.QueueJob\": {\r\n cancel: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.QueueJob.Collection\": {\r\n getAll: {},\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.ResourceCalendarException\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.ResourceEngagement\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n getTimephasedByUrl: {\r\n argNames: [\"start\", \"end\", \"scale\", \"contourType\"],\r\n },\r\n },\r\n \"PS.ResourceEngagement.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.ResourceEngagementTimephasedPeriod.Collection\": {\r\n getByStartUrl: {\r\n argNames: [\"start\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.ResourcePlan\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n forceCheckIn: {},\r\n publish: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.ServiceStatus\": {\r\n stopDelegation: {},\r\n },\r\n \"PS.Stage\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.Stage.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {},\r\n },\r\n \"PS.StageCustomField\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.StageCustomField.Collection\": {\r\n add: {\r\n argNames: [\"creationInfo\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.StageDetailPage\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.StageDetailPage.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.StatusAssignment\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n submitStatusUpdates: {\r\n argNames: [\"comment\"],\r\n },\r\n },\r\n \"PS.StatusAssignment.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n getTimePhaseByUrl: {\r\n argNames: [\"start\", \"end\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n submitAllStatusUpdates: {\r\n argNames: [\"comment\"],\r\n },\r\n update: {},\r\n },\r\n \"PS.StatusAssignmentHistoryLine.Collection\": {\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.TaskPlanLink\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.TimeSheet\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recall: {},\r\n submit: {\r\n argNames: [\"comment\"],\r\n },\r\n update: {},\r\n },\r\n \"PS.TimeSheetLine\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n submit: {\r\n argNames: [\"comment\"],\r\n },\r\n },\r\n \"PS.TimeSheetLine.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.TimeSheetPeriod\": {\r\n createTimeSheet: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.TimeSheetPeriod.Collection\": {\r\n getByGuid: {\r\n argNames: [\"uid\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.TimeSheetWork\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"PS.TimeSheetWork.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n getByStartDate: {\r\n argNames: [\"start\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"PS.WorkflowActivities\": {\r\n checkInWithJobId: {\r\n argNames: [\"projId\", \"jobId\", \"force\"],\r\n },\r\n createProjectFromListItem: {\r\n argNames: [\"webId\", \"listId\", \"itemId\", \"eptId\"],\r\n },\r\n enterProjectStage: {\r\n argNames: [\"projectId\", \"stageId\"],\r\n },\r\n leaveProjectStage: {\r\n argNames: [\"projectId\"],\r\n },\r\n publishSummaryWithJobId: {\r\n argNames: [\"projId\", \"jobId\"],\r\n },\r\n publishWithJobId: {\r\n argNames: [\"projectId\", \"jobId\"],\r\n },\r\n readBooleanProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readCurrencyProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readDateTimeProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readGuidProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readIntegerProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readNumberProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readProjectProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readTextProperty: {\r\n argNames: [\"projectId\", \"propertyId\"],\r\n },\r\n readyToLeaveProjectStage: {\r\n argNames: [\"projectId\"],\r\n },\r\n updateBooleanProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateCurrencyProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateDateTimeProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateGuidProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateIdeaListItemStatus: {\r\n argNames: [\"projectId\", \"status\"],\r\n },\r\n updateIntegerProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateNumberProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n updateProjectStageStatus: {\r\n argNames: [\"projectId\", \"stageId\", \"statusInformation\", \"stageStatusValue\", \"append\"],\r\n },\r\n updateTextProperty: {\r\n argNames: [\"projectId\", \"propertyId\", \"value\"],\r\n },\r\n },\r\n \"PS.WorkflowDesignerField.Collection\": {\r\n getById: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Alert\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n updateAlert: {},\r\n },\r\n \"SP.Alert.Collection\": {\r\n add: {\r\n argNames: [\"alertCreationInformation\"],\r\n name: \"\",\r\n metadataType: \"SP.Alert\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n contains: {\r\n argNames: [\"idAlert\"],\r\n },\r\n deleteAlert: {\r\n argNames: [\"idAlert\"],\r\n },\r\n deleteAlertAtIndex: {\r\n argNames: [\"index\"],\r\n },\r\n getById: {\r\n argNames: [\"idAlert\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.AppInstance\": {\r\n cancelAllJobs: {},\r\n getAppDatabaseConnectionString: {},\r\n getErrorDetails: {},\r\n getPreviousAppVersion: {},\r\n install: {},\r\n recycle: {},\r\n restore: {},\r\n retryAllJobs: {},\r\n uninstall: {},\r\n upgrade: {\r\n argNames: [\"appPackageStream\"],\r\n },\r\n },\r\n \"SP.Attachment\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n recycleObject: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n },\r\n \"SP.Attachment.Collection\": {\r\n add: {\r\n argNames: [\"FileName\", \"Content\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n addUsingPath: {\r\n argNames: [\"DecodedUrl\", \"contentStream\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n getByFileName: {\r\n argNames: [\"fileName\"]\r\n },\r\n getByFileNameAsPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Audit\": {\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.BusinessData.AppBdcCatalog\": {\r\n getConnectionId: {\r\n argNames: [\"lobSystemName\", \"lobSystemInstanceName\"],\r\n },\r\n getEntity: {\r\n argNames: [\"namespace\", \"name\"],\r\n },\r\n getLobSystemInstanceProperty: {\r\n argNames: [\"lobSystemName\", \"lobSystemInstanceName\", \"propertyName\"],\r\n },\r\n getLobSystemProperty: {\r\n argNames: [\"lobSystemName\", \"propertyName\"],\r\n },\r\n getPermissibleConnections: {},\r\n setConnectionId: {\r\n argNames: [\"lobSystemName\", \"lobSystemInstanceName\", \"connectionId\"],\r\n },\r\n setLobSystemInstanceProperty: {\r\n argNames: [\"lobSystemName\", \"lobSystemInstanceName\", \"propertyName\", \"propertyValue\"],\r\n },\r\n setLobSystemProperty: {\r\n argNames: [\"lobSystemName\", \"propertyName\", \"propertyValue\"],\r\n },\r\n },\r\n \"SP.BusinessData.Entity\": {\r\n getAssociationView: {\r\n argNames: [\"associationName\"],\r\n },\r\n getCreatorView: {\r\n argNames: [\"methodInstanceName\"],\r\n },\r\n getDefaultSpecificFinderView: {},\r\n getFilters: {\r\n argNames: [\"methodInstanceName\"],\r\n },\r\n getFinderView: {\r\n argNames: [\"methodInstanceName\"],\r\n },\r\n getIdentifierCount: {},\r\n getIdentifiers: {},\r\n getLobSystem: {},\r\n getSpecificFinderView: {\r\n argNames: [\"specificFinderName\"],\r\n },\r\n getUpdaterView: {\r\n argNames: [\"updaterName\"],\r\n },\r\n },\r\n \"SP.BusinessData.EntityIdentifier\": {\r\n containsLocalizedDisplayName: {},\r\n getDefaultDisplayName: {},\r\n getLocalizedDisplayName: {},\r\n },\r\n \"SP.BusinessData.EntityView\": {\r\n getDefaultValues: {},\r\n getType: {\r\n argNames: [\"fieldDotNotation\"],\r\n },\r\n getTypeDescriptor: {\r\n argNames: [\"fieldDotNotation\"],\r\n },\r\n getXmlSchema: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.BusinessData.Infrastructure.ExternalSubscriptionStore\": {\r\n indexStore: {},\r\n },\r\n \"SP.BusinessData.LobSystem\": {\r\n getLobSystemInstances: {},\r\n },\r\n \"SP.BusinessData.Runtime.EntityFieldValueDictionary\": {\r\n createCollectionInstance: {\r\n argNames: [\"fieldDotNotation\", \"size\"],\r\n },\r\n createInstance: {\r\n argNames: [\"fieldInstanceDotNotation\", \"fieldDotNotation\"],\r\n },\r\n fromXml: {\r\n argNames: [\"xml\"],\r\n },\r\n getCollectionSize: {\r\n argNames: [\"fieldDotNotation\"],\r\n },\r\n toXml: {},\r\n },\r\n \"SP.BusinessData.Runtime.EntityInstance\": {\r\n createCollectionInstance: {\r\n argNames: [\"fieldDotNotation\", \"size\"],\r\n },\r\n createInstance: {\r\n argNames: [\"fieldInstanceDotNotation\", \"fieldDotNotation\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n fromXml: {\r\n argNames: [\"xml\"],\r\n },\r\n getIdentity: {},\r\n toXml: {},\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.BusinessData.TypeDescriptor\": {\r\n containsLocalizedDisplayName: {},\r\n getChildTypeDescriptors: {},\r\n getDefaultDisplayName: {},\r\n getLocalizedDisplayName: {},\r\n getParentTypeDescriptor: {},\r\n isLeaf: {},\r\n isRoot: {},\r\n },\r\n \"SP.CheckedOutFile\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n takeOverCheckOut: {},\r\n },\r\n \"SP.CheckedOutFile.Collection\": {\r\n getByPath: {\r\n argNames: [\"DecodedUrl\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ClientWebPart\": {\r\n render: {\r\n argNames: [\"properties\"],\r\n },\r\n },\r\n \"SP.ClientWebPart.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.CompliancePolicy.SPPolicyStoreProxy\": {\r\n addDynamicScopeBinding: {\r\n argNames: [\"identity\", \"siteId\"],\r\n },\r\n bulkUpdateDynamicScopeBindings: {\r\n argNames: [\"scopesToAdd\", \"scopesToRemove\", \"siteId\"],\r\n },\r\n deleteDynamicScopeBinding: {\r\n argNames: [\"identity\", \"siteId\"],\r\n },\r\n extendReviewItemsRetention: {\r\n argNames: [\"itemIds\", \"extensionDate\"],\r\n },\r\n getDynamicScopeBindingBySiteId: {\r\n argNames: [\"siteId\"],\r\n },\r\n markReviewItemsForDeletion: {\r\n argNames: [\"itemIds\"],\r\n },\r\n openBinaryStreamForOriginalItem: {\r\n argNames: [\"itemId\"],\r\n },\r\n removeContainerRetentionPolicy: {\r\n argNames: [\"siteId\"],\r\n },\r\n removeContainerSettings: {\r\n argNames: [\"externalId\"],\r\n },\r\n retagReviewItems: {\r\n argNames: [\"itemIds\", \"newTag\", \"newTagIsRecord\", \"newTagBlockDelete\", \"newTagIsEventBased\"],\r\n },\r\n retagReviewItemsWithMetas: {\r\n argNames: [\"itemIds\", \"newTagName\", \"newTagMetas\"],\r\n },\r\n setContainerRetentionPolicy: {\r\n argNames: [\"siteId\", \"defaultContainerLabel\"],\r\n },\r\n updateContainerSetting: {\r\n argNames: [\"siteId\", \"externalId\", \"settingType\", \"setting\"],\r\n },\r\n },\r\n \"SP.ContentType\": {\r\n properties: [\r\n \"FieldLinks|SP.FieldLink.Collection|('[Name]')|SP.FieldLink\", \"Fields|SP.Field.Collection|/getByInternalNameOrTitle('[Name]')|SP.Field\", \"WorkflowAssociations|SP.Workflow.WorkflowAssociation.Collection\"\r\n ],\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n reorderFields: {\r\n argNames: [\"fieldNames\"]\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.ContentType\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.ContentType.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.ContentType\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n addAvailableContentType: {\r\n argNames: [\"contentTypeId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getById: {\r\n argNames: [\"contentTypeId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.ContentType\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Directory.DirectorySession\": {\r\n getGraphUser: {\r\n argNames: [\"principalName\"],\r\n },\r\n getSharePointDataForUser: {\r\n argNames: [\"userId\"],\r\n },\r\n group: {\r\n argNames: [\"groupId\", \"alias\"],\r\n },\r\n joinGroup: {\r\n argNames: [\"groupId\"],\r\n },\r\n me: {},\r\n user: {\r\n argNames: [\"id\", \"principalName\"],\r\n },\r\n validateGroupName: {\r\n argNames: [\"displayName\", \"alias\"],\r\n },\r\n },\r\n \"SP.Directory.Group\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Directory.Group.Collection\": {\r\n add: {\r\n argNames: [\"objectId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"objectId\"],\r\n },\r\n },\r\n \"SP.Directory.Provider.DirectoryNotification\": {\r\n notifyChanges: {\r\n argNames: [\"directoryObjectChanges\"],\r\n },\r\n },\r\n \"SP.Directory.Provider.SharePointDirectoryProvider\": {\r\n createDirectoryObject: {\r\n argNames: [\"data\"],\r\n },\r\n deleteDirectoryObject: {\r\n argNames: [\"data\"],\r\n },\r\n getOrCreateUnifiedGroupTenantInstanceId: {\r\n argNames: [\"groupId\", \"tenantInstanceId\"],\r\n },\r\n getOrCreateUnifiedGroupWithPreferredDataLocation: {\r\n argNames: [\"groupId\", \"preferredDataLocation\"],\r\n },\r\n notifyDataChanges: {\r\n argNames: [\"data\"],\r\n },\r\n readDirectoryObject: {\r\n argNames: [\"data\"],\r\n },\r\n readDirectoryObjectBatch: {\r\n argNames: [\"ids\", \"objectType\"],\r\n },\r\n updateCache: {\r\n argNames: [\"data\"],\r\n },\r\n updateDirectoryObject: {\r\n argNames: [\"data\"],\r\n },\r\n },\r\n \"SP.Directory.User\": {\r\n getUserLinks: {\r\n argNames: [\"linkName\", \"groupType\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Directory.User.Collection\": {\r\n add: {\r\n argNames: [\"objectId\", \"principalName\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"objectId\"],\r\n },\r\n },\r\n \"SP.DocumentManagement.DocumentId\": {\r\n resetDocIdByServerRelativePath: {\r\n argNames: [\"DecodedUrl\"],\r\n },\r\n resetDocIdsInLibrary: {\r\n argNames: [\"DecodedUrl\", \"contentTypeId\"],\r\n },\r\n },\r\n \"SP.EventReceiverDefinition\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.EventReceiverDefinition\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.EventReceiverDefinition.Collection\": {\r\n add: {\r\n argNames: [\"eventReceiverCreationInformation\"],\r\n metadataType: \"SP.EventReceiverDefinition\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"eventReceiverId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.EventReceiverDefinition\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Feature.Collection\": {\r\n add: {\r\n argNames: [\"featureId\", \"force\", \"featdefScope\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getById: {\r\n argNames: [\"featureId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Feature\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"featureId\", \"force\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n },\r\n \"SP.Field\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n name: \"\",\r\n metadataType: \"SP.Field\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.Field\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Field.Collection\": {\r\n addDependentLookupField: {\r\n argNames: [\"displayName\", \"primaryLookupFieldId\", \"showField\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addField: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.FieldCreationInformation\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n createFieldAsXml: {\r\n argNames: [\"schemaXml\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody,\r\n data: {\r\n parameters: {\r\n __metadata: { type: \"SP.XmlSchemaFieldCreationInformation\" },\r\n Options: 8,\r\n SchemaXml: \"[[schemaXml]]\"\r\n }\r\n }\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly,\r\n returnType: \"SP.Field\"\r\n },\r\n getByInternalNameOrTitle: {\r\n argNames: [\"strName\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly,\r\n returnType: \"SP.Field\"\r\n },\r\n getByTitle: {\r\n argNames: [\"title\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly,\r\n returnType: \"SP.Field\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.FieldCalculated\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldCalculated\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldChoice\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldChoice\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldComputed\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldComputed\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldCurrency\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldCurrency\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldDateTime\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldDateTime\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldGeolocation\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldGeolocation\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldGuid\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldGuid\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldLink\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldLink\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldLink.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.FieldLink\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.FieldLink\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n reorder: {\r\n argNames: [\"internalNames\"]\r\n },\r\n },\r\n \"SP.FieldLocation\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldLocation\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldLookup\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldLookup\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldMultiChoice\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldMultiChoice\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldMultiLineText\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldMultiLineText\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldNumber\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldNumber\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldRatingScale\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldRatingScale\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldText\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldText\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldThumbnail\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldThumbnail\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldUrl\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldUrl\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.FieldUser\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: \"SP.FieldUser\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.File\": {\r\n properties: [\r\n \"Author|SP.User\", \"CheckedOutByUser|SP.User\", \"EffectiveInformationRightsManagementSettings\", \"InformationRightsManagementSettings\",\r\n \"ListItemAllFields\", \"LockedByUser|SP.User\", \"ModifiedBy|SP.User\", \"Properties\", \"VersionEvents\", \"Versions|SP.FileVersion.Collection\"\r\n ],\r\n addClientActivities: {\r\n argNames: [\"activitiesStream\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n approve: {\r\n argNames: [\"comment\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n cancelUpload: {\r\n argNames: [\"uploadId\"],\r\n name: \"cancelupload(guid'[[uploadId]]')\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n checkAccessAndPostViewAuditEvent: {},\r\n checkIn: {\r\n argNames: [\"comment\", \"checkInType\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n checkOut: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n content: {\r\n name: \"$value\",\r\n requestType: utils_1.RequestType.GetBuffer\r\n },\r\n continueUpload: {\r\n argNames: [\"uploadId\", \"fileOffset\", \"stream\"],\r\n name: \"continueUpload(uploadId=guid'[[uploadId]]', fileOffset=[[fileOffset]])\",\r\n requestType: utils_1.RequestType.PostReplaceWithData\r\n },\r\n copyTo: {\r\n argNames: [\"strNewUrl\", \"bOverWrite\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n copyToUsingPath: {\r\n argNames: [\"DecodedUrl\", \"bOverWrite\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n deleteWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n deny: {\r\n argNames: [\"comment\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n executeCobaltRequest: {\r\n argNames: [\"inputStream\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n finishUpload: {\r\n argNames: [\"uploadId\", \"fileOffset\", \"stream\"],\r\n name: \"finishUpload(uploadId=guid'[[uploadId]]', fileOffset=[[fileOffset]])\",\r\n requestType: utils_1.RequestType.PostReplaceWithData\r\n },\r\n finishUploadWithChecksum: {\r\n argNames: [\"uploadId\", \"fileOffset\", \"checksum\", \"stream\"],\r\n name: \"finishUploadWithChecksum(uploadId=guid'[[uploadId]]', fileOffset=[[fileOffset]], checksum=[[checksum]])\",\r\n requestType: utils_1.RequestType.PostReplaceWithData\r\n },\r\n getFileUserValue: {\r\n argNames: [\"key\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getImagePreviewUri: {\r\n argNames: [\"width\", \"height\", \"clientType\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getImagePreviewUrl: {\r\n argNames: [\"width\", \"height\", \"clientType\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getLimitedWebPartManager: {\r\n argNames: [\"scope\"],\r\n name: \"getLimitedWebPartManager(scope=[[scope]])\",\r\n requestType: utils_1.RequestType.GetReplace,\r\n returnType: \"SP.WebParts.LimitedWebPartManager\"\r\n },\r\n getPreAuthorizedAccessUrl: {\r\n argNames: [\"expirationHours\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getPreAuthorizedAccessUrl2: {\r\n argNames: [\"expirationHours\", \"expirationMinuites\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getUploadStatus: {\r\n argNames: [\"uploadId\"],\r\n },\r\n getWOPIFrameUrl: {\r\n argNames: [\"action\"],\r\n requestType: utils_1.RequestType.PostWithArgsInQS\r\n },\r\n moveTo: {\r\n argNames: [\"newUrl\", \"flags\"],\r\n name: \"moveTo(newUrl='[[newUrl]]', flags=[[flags]])\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n moveToUsingPath: {\r\n argNames: [\"DecodedUrl\", \"moveOperations\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n openBinaryStream: {\r\n requestType: utils_1.RequestType.GetBuffer\r\n },\r\n openBinaryStreamWithOptions: {\r\n argNames: [\"openOptions\"],\r\n requestType: utils_1.RequestType.GetBuffer\r\n },\r\n publish: {\r\n argNames: [\"comment\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recycle: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n recycleWithETag: {\r\n argNames: [\"etagMatch\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n recycleWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n saveBinaryStream: {\r\n argNames: [\"file\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n setFileUserValue: {\r\n argNames: [\"key\", \"value\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n startUpload: {\r\n argNames: [\"uploadId\", \"stream\"],\r\n name: \"startupload(uploadId=guid'[[uploadId]]')\",\r\n requestType: utils_1.RequestType.PostReplaceWithData\r\n },\r\n unPublish: {\r\n argNames: [\"comment\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n undoCheckOut: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.File\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n updateVirusInfo: {\r\n argNames: [\"virusStatus\", \"virusMessage\", \"etagToCheck\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n },\r\n \"SP.File.Collection\": {\r\n add: {\r\n argNames: [\"Url\", \"Overwrite\", \"Content\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n addStub: {\r\n argNames: [\"urlOfFile\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addStubUsingPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addTemplateFile: {\r\n argNames: [\"urlOfFile\", \"templateFileType\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addUsingPath: {\r\n argNames: [\"DecodedUrl\", \"AutoCheckoutOnInvalidData\", \"Overwrite\", \"XorHash\", \"contentStream\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n getByPathOrAddStub: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getByUrl: {\r\n argNames: [\"url\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.File\"\r\n },\r\n getByUrlOrAddStub: {\r\n argNames: [\"urlOfFile\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.FileVersion\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n openBinaryStream: {\r\n requestType: utils_1.RequestType.GetBuffer,\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.FileVersion.Collection\": {\r\n deleteAll: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n deleteByID: {\r\n argNames: [\"vid\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n deleteByLabel: {\r\n argNames: [\"versionlabel\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getById: {\r\n argNames: [\"versionid\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Version\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recycleByID: {\r\n argNames: [\"vid\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n recycleByLabel: {\r\n argNames: [\"versionlabel\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n restoreByLabel: {\r\n argNames: [\"versionlabel\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n },\r\n \"SP.Folder\": {\r\n properties: [\r\n \"Files|SP.File.Collection|/getByUrl('[Name]')|SP.File\", \"Folders|SP.Folder.Collection|/getByUrl('[Name]')|SP.Folder\", \"ListItemAllFields\",\r\n \"ParentFolder|SP.Folder\", \"Properties\", \"StorageMetrics\"\r\n ],\r\n addSubFolder: {\r\n argNames: [\"leafName\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n addSubFolderUsingPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n deleteWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getListItemChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n moveTo: {\r\n argNames: [\"newUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n moveToUsingPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recycle: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n recycleWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Folder\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"SP.Folder.Collection\": {\r\n properties: [\r\n \"Files|SP.File.Collection|/getByUrl('[Name]')|SP.File\", \"Folders|SP.Folder.Collection|/getByUrl('[Name]')|SP.Folder\", \"ListItemAllFields\",\r\n \"ParentFolder\", \"StorageMetrics\"\r\n ],\r\n add: {\r\n argNames: [\"url\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addUsingPath: {\r\n argNames: [\"DecodedUrl\", \"Overwrite\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addWithOverwrite: {\r\n argNames: [\"url\", \"overwrite\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getByPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getByUrl: {\r\n argNames: [\"url\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Folder\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Form.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n getByPageType: {\r\n argNames: [\"formType\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Group\": {\r\n properties: [\r\n \"Users|SP.User.Collection|/getById([Name])|SP.User\"\r\n ],\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n setUserAsOwner: {\r\n argNames: [\"ownerId\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n metadataType: \"SP.Group\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Group.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.Group\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Group\"\r\n },\r\n getByName: {\r\n argNames: [\"name\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Group\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n removeById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n removeByLoginName: {\r\n argNames: [\"loginName\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n },\r\n \"SP.HubSite\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n }\r\n },\r\n \"SP.HubSite.Collection\": {\r\n getById: {\r\n argNames: [\"hubSiteId\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n getConnectedHubs: {\r\n argNames: [\"hubSiteId\", \"option\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n getSiteUrlByHubSiteId: {\r\n argNames: [\"hubSiteId\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQS\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.InformationRightsManagementFileSettings\": {\r\n reset: {},\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.InformationRightsManagementSettings\": {\r\n reset: {},\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.KnowledgeHub\": {\r\n siteReference: {},\r\n },\r\n \"SP.LanguageCollection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n },\r\n \"SP.List\": {\r\n properties: [\r\n \"BrowserFileHandling\", \"ContentTypes|SP.ContentType.Collection|('[Name]')|SP.ContentType\", \"CreatablesInfo\",\r\n \"DefaultDisplayFormUrl\", \"DefaultEditFormUrl\", \"DefaultNewFormUrl\", \"DefaultView|SP.View\",\r\n \"DescriptionResource\", \"EventReceivers|SP.EventReceiverDefinition.Collection|('[Name]')|SP.EventReceiverDefinition\", \"Fields|SP.Field.Collection|/getByInternalNameOrTitle('[Name]')|SP.Field\",\r\n \"FirstUniqueAncestorSecurableObject\", \"Forms|SP.Form.Collection|('[Name]')|SP.Form\", \"InformationRightsManagementSettings\",\r\n \"Items|SP.ListItem.Collection|([Name])|SP.ListItem\", \"ParentWeb\", \"RoleAssignments|SP.RoleAssignment.Collection|([Name])|SP.RoleAssignment\",\r\n \"RootFolder|SP.Folder|/getByUrl('[Name]')|SP.File\", \"Subscriptions\", \"TitleResource\",\r\n \"UserCustomActions|SP.UserCustomAction.Collection|('[Name]')|SP.UserCustomAction\", \"Views|SP.View.Collection|('[Name]')|SP.View\", \"WorkflowAssociations\"\r\n ],\r\n addItem: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n addItemUsingPath: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n addValidateUpdateItem: {\r\n argNames: [\"listItemCreateInfo\", \"formValues\", \"bNewDocumentUpdate\", \"checkInComment\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n addValidateUpdateItemUsingPath: {\r\n argNames: [\"listItemCreateInfo\", \"formValues\", \"bNewDocumentUpdate\", \"checkInComment\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n breakRoleInheritance: {\r\n argNames: [\"copyRoleAssignments\", \"clearSubscopes\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n bulkValidateUpdateListItems: {\r\n argNames: [\"itemIds\", \"formValues\", \"bNewDocumentUpdate\", \"checkInComment\", \"folderPath\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createDocumentAndGetEditLink: {\r\n argNames: [\"fileName\", \"folderPath\", \"documentTemplateType\", \"templateUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createDocumentWithDefaultName: {\r\n argNames: [\"folderPath\", \"extension\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n createMappedView: {\r\n argNames: [\"appViewCreationInfo\", \"visualizationTarget\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n ensureSignoffStatusField: {},\r\n getBloomFilter: {\r\n argNames: [\"startItemId\"],\r\n },\r\n getBloomFilterWithCustomFields: {\r\n argNames: [\"listItemStartingID\", \"internalFieldNames\"],\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getCheckedOutFiles: {},\r\n getItemById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.ListItem\"\r\n },\r\n getItemByStringId: {\r\n argNames: [\"sId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getItemByUniqueId: {\r\n argNames: [\"uniqueId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getItems: {\r\n argNames: [\"viewXML\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody,\r\n data: {\r\n query: {\r\n __metadata: { type: \"SP.CamlQuery\" },\r\n ViewXml: \"[[viewXML]]\"\r\n }\r\n }\r\n },\r\n getItemsByQuery: {\r\n argNames: [\"camlQuery\"],\r\n name: \"getItems\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody,\r\n data: {\r\n query: {\r\n __metadata: { type: \"SP.CamlQuery\" },\r\n ViewXml: \"[[camlQuery]]\"\r\n }\r\n }\r\n },\r\n getListItemChangesSinceToken: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeLogItemQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getMappedApp: {\r\n argNames: [\"appId\", \"visualizationAppTarget\"],\r\n },\r\n getMappedApps: {\r\n argNames: [\"visualizationAppTarget\"],\r\n },\r\n getRelatedFields: {},\r\n getSpecialFolderUrl: {\r\n argNames: [\"type\", \"bForceCreate\", \"existingFolderGuid\"],\r\n },\r\n getUserEffectivePermissions: {\r\n argNames: [\"userName\"],\r\n name: \"getUserEffectivePermissions(@user)?@user='[[userName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getView: {\r\n argNames: [\"viewGuid\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.View\"\r\n },\r\n getWebDavUrl: {\r\n argNames: [\"sourceUrl\"],\r\n },\r\n publishMappedView: {\r\n argNames: [\"appId\", \"visualizationTarget\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recycle: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n renderExtendedListFormData: {\r\n argNames: [\"itemId\", \"formId\", \"mode\", \"options\", \"cutoffVersion\"],\r\n },\r\n renderListContextMenuData: {\r\n argNames: [\"CascDelWarnMessage\", \"CustomAction\", \"Field\", \"ID\", \"InplaceFullListSearch\", \"InplaceSearchQuery\", \"IsCSR\", \"IsXslView\", \"ItemId\", \"ListViewPageUrl\", \"OverrideScope\", \"RootFolder\", \"View\", \"ViewCount\"],\r\n },\r\n renderListData: {\r\n argNames: [\"viewXml\"],\r\n name: \"renderListData(@v)?@v='[[viewXml]]'\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n renderListDataAsStream: {\r\n argNames: [\"parameters\", \"CascDelWarnMessage\", \"CustomAction\", \"DrillDown\", \"Field\", \"FieldInternalName\", \"Filter\", \"FilterData\", \"FilterData1\", \"FilterData10\", \"FilterData2\", \"FilterData3\", \"FilterData4\", \"FilterData5\", \"FilterData6\", \"FilterData7\", \"FilterData8\", \"FilterData9\", \"FilterField\", \"FilterField1\", \"FilterField10\", \"FilterField2\", \"FilterField3\", \"FilterField4\", \"FilterField5\", \"FilterField6\", \"FilterField7\", \"FilterField8\", \"FilterField9\", \"FilterFields\", \"FilterFields1\", \"FilterFields10\", \"FilterFields2\", \"FilterFields3\", \"FilterFields4\", \"FilterFields5\", \"FilterFields6\", \"FilterFields7\", \"FilterFields8\", \"FilterFields9\", \"FilterLookupId\", \"FilterLookupId1\", \"FilterLookupId10\", \"FilterLookupId2\", \"FilterLookupId3\", \"FilterLookupId4\", \"FilterLookupId5\", \"FilterLookupId6\", \"FilterLookupId7\", \"FilterLookupId8\", \"FilterLookupId9\", \"FilterOp\", \"FilterOp1\", \"FilterOp10\", \"FilterOp2\", \"FilterOp3\", \"FilterOp4\", \"FilterOp5\", \"FilterOp6\", \"FilterOp7\", \"FilterOp8\", \"FilterOp9\", \"FilterValue\", \"FilterValue1\", \"FilterValue10\", \"FilterValue2\", \"FilterValue3\", \"FilterValue4\", \"FilterValue5\", \"FilterValue6\", \"FilterValue7\", \"FilterValue8\", \"FilterValue9\", \"FilterValues\", \"FilterValues1\", \"FilterValues10\", \"FilterValues2\", \"FilterValues3\", \"FilterValues4\", \"FilterValues5\", \"FilterValues6\", \"FilterValues7\", \"FilterValues8\", \"FilterValues9\", \"GroupString\", \"HasOverrideSelectCommand\", \"ID\", \"InplaceFullListSearch\", \"InplaceSearchQuery\", \"IsCSR\", \"IsGroupRender\", \"IsXslView\", \"ListViewPageUrl\", \"OverrideScope\", \"OverrideSelectCommand\", \"PageFirstRow\", \"PageLastRow\", \"RootFolder\", \"RootFolderUniqueId\", \"SortDir\", \"SortDir1\", \"SortDir10\", \"SortDir2\", \"SortDir3\", \"SortDir4\", \"SortDir5\", \"SortDir6\", \"SortDir7\", \"SortDir8\", \"SortDir9\", \"SortField\", \"SortField1\", \"SortField10\", \"SortField2\", \"SortField3\", \"SortField4\", \"SortField5\", \"SortField6\", \"SortField7\", \"SortField8\", \"SortField9\", \"SortFields\", \"SortFieldValues\", \"View\", \"ViewCount\", \"ViewId\", \"ViewPath\", \"WebPartId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n renderListFilterData: {\r\n argNames: [\"ExcludeFieldFilteringHtml\", \"FieldInternalName\", \"OverrideScope\", \"ProcessQStringToCAML\", \"ViewId\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n renderListFormData: {\r\n argNames: [\"itemId\", \"formId\", \"mode\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n reserveListItemId: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n resetRoleInheritance: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n saveAsNewView: {\r\n argNames: [\"oldName\", \"newName\", \"privateView\", \"uri\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n saveAsTemplate: {\r\n argNames: [\"strFileName\", \"strName\", \"strDescription\", \"bSaveData\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n setExemptFromBlockDownloadOfNonViewableFiles: {\r\n argNames: [\"value\"],\r\n },\r\n syncFlowCallbackUrl: {\r\n argNames: [\"flowId\"],\r\n },\r\n syncFlowInstance: {\r\n argNames: [\"flowID\"],\r\n },\r\n syncFlowInstances: {},\r\n syncFlowTemplates: {\r\n argNames: [\"category\"],\r\n },\r\n unpublishMappedView: {\r\n argNames: [\"appId\", \"visualizationTarget\"],\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.List\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n validateAppName: {\r\n argNames: [\"appDisplayName\"],\r\n },\r\n },\r\n \"SP.List.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.List\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n ensureClientRenderedSitePagesLibrary: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n ensureEventsList: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n ensureSiteAssetsLibrary: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n ensureSitePagesLibrary: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.List\"\r\n },\r\n getByTitle: {\r\n argNames: [\"title\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.List\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ListItem\": {\r\n properties: [\r\n \"AttachmentFiles|SP.Attachment.Collection|('[Name]')|SP.Attachment\", \"ContentType|SP.ContentType\", \"FieldValuesAsHtml\", \"FieldValuesAsText\", \"FieldValuesForEdit\",\r\n \"File|SP.File\", \"FirstUniqueAncestorSecurableObject\", \"Folder|SP.Folder\", \"GetDlpPolicyTip\", \"ParentList\",\r\n \"Properties\", \"RoleAssignments|SP.RoleAssignment.Collection|roleassignments|([Name])|SP.RoleAssignment\"\r\n ],\r\n breakRoleInheritance: {\r\n argNames: [\"copyRoleAssignments\", \"clearSubscopes\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n deleteWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getHashtags: {},\r\n getUserEffectivePermissions: {\r\n argNames: [\"userName\"],\r\n name: \"getUserEffectivePermissions(@user)?@user='[[userName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getWOPIFrameUrl: {\r\n argNames: [\"action\"],\r\n requestType: utils_1.RequestType.PostWithArgsInQS\r\n },\r\n mediaServiceUpdate: {\r\n argNames: [\"parameters\"],\r\n },\r\n mediaServiceUpdateV2: {\r\n argNames: [\"parameters\", \"eventFiringEnabled\"],\r\n },\r\n overridePolicyTip: {\r\n argNames: [\"userAction\", \"justification\"],\r\n },\r\n parseAndSetFieldValue: {\r\n argNames: [\"fieldName\", \"value\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recycle: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n recycleWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n resetRoleInheritance: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setCommentsDisabled: {\r\n argNames: [\"value\"],\r\n },\r\n setComplianceTag: {\r\n argNames: [\"complianceTag\", \"isTagPolicyHold\", \"isTagPolicyRecord\", \"isEventBasedTag\", \"isTagSuperLock\"],\r\n },\r\n setComplianceTagWithExplicitMetasUpdate: {\r\n argNames: [\"complianceTag\", \"complianceFlags\", \"complianceTagWrittenTime\", \"userEmailAddress\"],\r\n },\r\n setComplianceTagWithHold: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n setComplianceTagWithMetaInfo: {\r\n argNames: [\"complianceTag\", \"blockDelete\", \"blockEdit\", \"complianceTagWrittenTime\", \"userEmailAddress\", \"isTagSuperLock\"],\r\n },\r\n setComplianceTagWithNoHold: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n setComplianceTagWithRecord: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n systemUpdate: {},\r\n update: {\r\n argNames: [\"properties\"],\r\n inheritMetadataType: true,\r\n metadataType: function (obj) {\r\n return (obj.parent && obj.parent[\"ListItemEntityTypeFullName\"]) || \"SP.ListItem\";\r\n },\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n updateEx: {\r\n argNames: [\"parameters\"],\r\n },\r\n updateHashtags: {\r\n argNames: [\"hashtagsToAdd\", \"hashtagsToRemove\"],\r\n },\r\n updateOverwriteVersion: {},\r\n validateUpdateListItem: {\r\n argNames: [\"formValues\", \"bNewDocumentUpdate\", \"checkInComment\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"SP.ListItem.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: function (obj) {\r\n return (obj.parent && obj.parent[\"ListItemEntityTypeFullName\"]) || \"SP.ListItem\";\r\n },\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"itemId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.ListItem\"\r\n },\r\n getByStringId: {\r\n argNames: [\"sId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ListItemVersion\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ListItemVersion.Collection\": {\r\n getById: {\r\n argNames: [\"versionId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ListTemplate\": {\r\n getGlobalSchemaXml: {},\r\n },\r\n \"SP.ListTemplate.Collection\": {\r\n getByName: {\r\n argNames: [\"name\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.MicroService.MicroServiceManager\": {\r\n addMicroserviceWorkItem: {\r\n argNames: [\"payLoad\", \"minutes\", \"properties\"],\r\n },\r\n deleteMicroserviceWorkItem: {\r\n argNames: [\"workItemId\"],\r\n },\r\n deleteMicroserviceWorkItemByContentDbId: {\r\n argNames: [\"contentDatabaseId\", \"siteId\", \"workItemId\"]\r\n },\r\n getServiceInternalUrls: {\r\n argNames: [\"service\"],\r\n },\r\n getServiceUrls: {\r\n argNames: [\"service\"],\r\n },\r\n },\r\n \"SP.Microfeed.MicrofeedAttachmentStore\": {\r\n deletePreProcessedAttachment: {\r\n argNames: [\"attachmentUri\"],\r\n },\r\n getImage: {\r\n argNames: [\"imageUrl\", \"key\", \"iv\"],\r\n },\r\n preProcessAttachment: {\r\n argNames: [\"link\"],\r\n },\r\n putFile: {\r\n argNames: [\"originalFileName\", \"fileData\"],\r\n },\r\n putImage: {\r\n argNames: [\"imageData\"],\r\n },\r\n },\r\n \"SP.Microfeed.MicrofeedData\": {\r\n addAttachment: {\r\n argNames: [\"name\", \"bytes\"],\r\n },\r\n systemUpdate: {},\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Microfeed.MicrofeedData.Collection\": {\r\n deleteAll: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Microfeed.MicrofeedManager\": {\r\n addUserToPostPeopleList: {\r\n argNames: [\"postIdentifier\", \"UserLoginName\"],\r\n },\r\n clearUnreadMentionsCount: {},\r\n deleteById: {\r\n argNames: [\"postIdentifier\"],\r\n },\r\n deleteUserFromPostPeopleList: {\r\n argNames: [\"postIdentifier\", \"UserLoginName\"],\r\n },\r\n getMyCategoricalFeed: {\r\n argNames: [\"feedOptions\"],\r\n },\r\n getMyConsolidatedFeed: {\r\n argNames: [\"feedOptions\"],\r\n },\r\n getMyPublishedFeed: {\r\n argNames: [\"feedOptions\", \"typeOfPubFeed\", \"ShowPublicView\"],\r\n },\r\n getPublishedFeed: {\r\n argNames: [\"feedOwner\", \"feedOptions\", \"typeOfPubFeed\"],\r\n },\r\n getThread: {\r\n argNames: [\"postIdentifier\"],\r\n },\r\n getUnreadMentionsCount: {},\r\n like: {\r\n argNames: [\"postIdentifier\"],\r\n },\r\n lockThreadById: {\r\n argNames: [\"threadIdentifier\"],\r\n },\r\n post: {\r\n argNames: [\"postOptions\"],\r\n },\r\n postReply: {\r\n argNames: [\"postIdentifier\", \"postReplyOptions\"],\r\n },\r\n repopulateLMT: {\r\n argNames: [\"timeStamp\", \"secureHash\"],\r\n },\r\n unLike: {\r\n argNames: [\"postIdentifier\"],\r\n },\r\n unLockThreadById: {\r\n argNames: [\"threadIdentifier\"],\r\n },\r\n unsubscribeFromEMail: {\r\n argNames: [\"postIdentifier\"],\r\n },\r\n },\r\n \"SP.Microfeed.MicrofeedPostDefinitionManager\": {\r\n deleteMicrofeedPostDefinition: {\r\n argNames: [\"postDefinition\"],\r\n },\r\n getMicrofeedPostDefinition: {\r\n argNames: [\"definitionName\"],\r\n },\r\n getMicrofeedPostDefinitions: {},\r\n newMicrofeedPostDefinition: {\r\n argNames: [\"definitionName\"],\r\n },\r\n updateMicrofeedPostDefinition: {\r\n argNames: [\"postDefinition\"],\r\n },\r\n },\r\n \"SP.Microfeed.MicrofeedStore\": {\r\n addData: {\r\n argNames: [\"name\", \"data\"],\r\n },\r\n addDataAsStream: {\r\n argNames: [\"name\", \"data\"],\r\n },\r\n executePendingOperations: {},\r\n getItem: {\r\n argNames: [\"storeIdentifier\"],\r\n },\r\n getSocialProperties: {\r\n argNames: [\"accountName\"],\r\n },\r\n incrementUnreadAtMentionCount: {\r\n argNames: [\"accountName\"],\r\n },\r\n newItem: {\r\n argNames: [\"storeIdentifier\"],\r\n },\r\n query: {\r\n argNames: [\"storeIdentifier\", \"query\"],\r\n },\r\n setPostLikeStatus: {\r\n argNames: [\"accountName\", \"postId\", \"like\"],\r\n },\r\n },\r\n \"SP.MultilingualSettings\": {\r\n query: { argNames: [\"oData\"] },\r\n setNotificationRecipients: {\r\n argNames: [\"request\"],\r\n },\r\n },\r\n \"SP.Navigation\": {\r\n getNodeById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.NavigationNode\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.NavigationNode.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n getByIndex: {\r\n argNames: [\"index\"],\r\n },\r\n moveAfter: {\r\n argNames: [\"nodeId\", \"previousNodeId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.OAuth.NativeClient\": {\r\n authenticate: {},\r\n },\r\n \"SP.OAuth.Token\": {\r\n acquire: {\r\n argNames: [\"resource\", \"tokenType\"],\r\n },\r\n },\r\n \"SP.ObjectSharingInformation\": {\r\n getSharedWithUsers: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.OrganizationNews\": {\r\n sitesReference: {}\r\n },\r\n \"SP.Publishing.CommunicationSite\": {\r\n create: {\r\n argNames: [\"request\"],\r\n },\r\n enable: {\r\n argNames: [\"designPackageId\"]\r\n },\r\n status: {\r\n argNames: [\"url\"],\r\n },\r\n },\r\n \"SP.Publishing.EmbedService\": {\r\n embedData: {\r\n argNames: [\"url\", \"version\"],\r\n },\r\n },\r\n \"SP.Publishing.Navigation.PortalNavigationCacheWrapper\": {\r\n disable: {},\r\n enable: {},\r\n refresh: {},\r\n },\r\n \"SP.Publishing.PointPublishingPost\": {\r\n addImageFromUrl: {\r\n argNames: [\"fromImageUrl\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.PointPublishingPost.Collection\": {\r\n getById: {\r\n argNames: [\"id\", \"publishedOnly\"],\r\n },\r\n getByName: {\r\n argNames: [\"name\", \"publishedOnly\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.PointPublishingPostServiceManager\": {\r\n addBannerImageFromUrl: {\r\n argNames: [\"fromImageUrl\"],\r\n },\r\n deleteMagazine: {},\r\n getDocProps: {\r\n argNames: [\"docUrls\"],\r\n },\r\n getPostsQuery: {\r\n argNames: [\"top\", \"itemIdBoundary\", \"directionAscending\", \"publishedOnly\", \"draftsOnly\"],\r\n },\r\n getTopAuthors: {\r\n argNames: [\"count\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n queryGroupNames: {\r\n argNames: [\"query\"],\r\n },\r\n setMagazineProperties: {\r\n argNames: [\"title\", \"description\", \"bannerImageUrl\", \"bannerColor\", \"bannerPattern\"],\r\n },\r\n },\r\n \"SP.Publishing.PointPublishingSiteManager\": {\r\n create: {\r\n argNames: [\"siteInfo\"],\r\n },\r\n getSiteStatus: {\r\n argNames: [\"siteInfo\"],\r\n },\r\n },\r\n \"SP.Publishing.PointPublishingTenantManager\": {\r\n isBlogEnabled: {},\r\n },\r\n \"SP.Publishing.PointPublishingUser\": {\r\n deleteUserFromContainerGroup: {},\r\n },\r\n \"SP.Publishing.PointPublishingUser.Collection\": {\r\n addOrUpdateUser: {\r\n argNames: [\"loginName\", \"isOwner\"],\r\n },\r\n getById: {\r\n argNames: [\"userId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.RepostPage\": {\r\n checkOut: {},\r\n checkoutPage: {},\r\n copy: {},\r\n createNewsCopy: {},\r\n demoteFromNews: {},\r\n discardPage: {},\r\n getVersion: {\r\n argNames: [\"versionId\"],\r\n },\r\n promoteToNews: {},\r\n publish: {},\r\n saveDraft: {\r\n argNames: [\"sitePage\"],\r\n },\r\n savePage: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsDraft: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsTemplate: {},\r\n schedulePublish: {\r\n argNames: [\"sitePage\"],\r\n },\r\n sharePagePreviewByEmail: {\r\n argNames: [\"message\", \"recipientEmails\"],\r\n },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.RepostPage.Collection\": {\r\n isContentTypeAvailable: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.RichSharing\": {\r\n sharePageByEmail: {\r\n argNames: [\"url\", \"message\", \"recipientEmails\"],\r\n },\r\n shareSiteByEmail: {\r\n argNames: [\"CustomDescription\", \"CustomTitle\", \"Message\", \"Url\", \"recipientEmails\"],\r\n },\r\n },\r\n \"SP.Publishing.Search\": {\r\n newest: {\r\n argNames: [\"startItemIndex\", \"itemLimit\"],\r\n },\r\n popular: {\r\n argNames: [\"startItemIndex\", \"itemLimit\"],\r\n },\r\n query: {\r\n argNames: [\"queryText\", \"startItemIndex\", \"itemLimit\", \"culture\"],\r\n },\r\n queryChannels: {\r\n argNames: [\"queryText\", \"startItemIndex\", \"itemLimit\", \"culture\"],\r\n },\r\n related: {\r\n argNames: [\"videoId\", \"startItemIndex\", \"itemLimit\"],\r\n },\r\n },\r\n \"SP.Publishing.SharePointHomeServiceManager\": {\r\n getAcronymsAndColors: {\r\n argNames: [\"labels\"],\r\n },\r\n },\r\n \"SP.Publishing.SitePage\": {\r\n checkOut: {},\r\n checkoutPage: {},\r\n copy: {},\r\n createNewsCopy: {},\r\n demoteFromNews: {},\r\n discardPage: {},\r\n getVersion: {\r\n argNames: [\"versionId\"],\r\n },\r\n promoteToNews: {},\r\n publish: {},\r\n query: { argNames: [\"oData\"] },\r\n saveDraft: {\r\n argNames: [\"sitePage\"],\r\n },\r\n savePage: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsDraft: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsTemplate: {},\r\n schedulePublish: {\r\n argNames: [\"sitePage\"],\r\n },\r\n sharePagePreviewByEmail: {\r\n argNames: [\"message\", \"recipientEmails\"],\r\n },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.SitePage.Collection\": {\r\n createAppPage: {\r\n argNames: [\"webPartDataAsJson\"]\r\n },\r\n createFullPageApp: {\r\n argNames: [\"webPartDataAsJson\", \"title\", \"addToQuickLaunch\"]\r\n },\r\n ensureTitleResource: {},\r\n feed: {\r\n argNames: [\"promotedState\", \"published\", \"metadataFilter\", \"languageOverride\"],\r\n },\r\n feedTargeted: {\r\n argNames: [\"promotedState\", \"published\", \"metadataFilter\", \"languageOverride\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n getByUniqueId: {\r\n argNames: [\"uniqueId\"],\r\n },\r\n getByUrl: {\r\n argNames: [\"url\"],\r\n },\r\n getPageColumnState: {\r\n argNames: [\"url\"],\r\n },\r\n isSitePage: {\r\n argNames: [\"url\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n templates: {},\r\n updateAppPage: {\r\n argNames: [\"pageId\", \"webPartDataAsJson\", \"title\", \"includeInNavigation\"]\r\n },\r\n updateFullPageApp: {\r\n argNames: [\"serverRelativeUrl\", \"webPartDataAsJson\"]\r\n }\r\n },\r\n \"SP.Publishing.SitePage3D\": {\r\n checkOut: {},\r\n checkoutPage: {},\r\n copy: {},\r\n createNewsCopy: {},\r\n demoteFromNews: {},\r\n discardPage: {},\r\n getVersion: {\r\n argNames: [\"versionId\"],\r\n },\r\n promoteToNews: {},\r\n publish: {},\r\n saveDraft: {\r\n argNames: [\"sitePage\"],\r\n },\r\n savePage: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsDraft: {\r\n argNames: [\"pageStream\"],\r\n },\r\n savePageAsTemplate: {},\r\n schedulePublish: {\r\n argNames: [\"sitePage\"],\r\n },\r\n sharePagePreviewByEmail: {\r\n argNames: [\"message\", \"recipientEmails\"],\r\n },\r\n update: {},\r\n },\r\n \"SP.Publishing.SitePageMetadata.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.SitePageService\": {\r\n addImage: {\r\n argNames: [\"pageName\", \"imageFileName\", \"imageStream\"],\r\n },\r\n addImageFromExternalUrl: {\r\n argNames: [\"pageName\", \"imageFileName\", \"externalUrl\", \"subFolderName\"],\r\n },\r\n canCreatePromotedPage: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.SpotlightChannel\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.SpotlightChannel.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.SpotlightVideo\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.SpotlightVideo.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.SubtitleFile.Collection\": {\r\n add: {\r\n argNames: [\"language\", \"extension\", \"stream\"],\r\n },\r\n getSubtitleFile: {\r\n argNames: [\"name\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n remove: {\r\n argNames: [\"name\"],\r\n },\r\n },\r\n \"SP.Publishing.VideoChannel\": {\r\n getAllVideos: {\r\n argNames: [\"skip\", \"limit\"],\r\n },\r\n getChannelPageUrl: {\r\n argNames: [\"viewMode\"],\r\n },\r\n getMyVideos: {\r\n argNames: [\"skip\", \"limit\"],\r\n },\r\n getPermissionGroup: {\r\n argNames: [\"permission\"],\r\n },\r\n getVideoCount: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Publishing.VideoChannel.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.VideoItem\": {\r\n customThumbnail: {},\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n getFile: {},\r\n getPlaybackMetadata: {\r\n argNames: [\"sdnConfiguration\"],\r\n },\r\n getPlaybackUrl: {\r\n argNames: [\"videoFormat\"],\r\n },\r\n getStreamingKeyAccessToken: {},\r\n getVideoDetailedViewCount: {},\r\n getVideoEmbedCode: {\r\n argNames: [\"width\", \"height\", \"autoplay\", \"showInfo\", \"makeResponsive\"],\r\n },\r\n getVideoViewProgressCount: {},\r\n incrementVideoViewProgressCount: {\r\n argNames: [\"percentageViewed\"],\r\n },\r\n incrementViewCount: {\r\n argNames: [\"viewOrigin\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n setPeopleInMedia: {\r\n argNames: [\"loginNames\"],\r\n },\r\n setVideoOwner: {\r\n argNames: [\"id\"],\r\n },\r\n subtitles: {},\r\n thumbnailStream: {\r\n argNames: [\"preferredWidth\"],\r\n },\r\n thumbnails: {\r\n argNames: [\"preferredWidth\"],\r\n },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n uploadCustomThumbnail: {\r\n argNames: [\"fileExtension\", \"customVideoThumbnail\"],\r\n },\r\n },\r\n \"SP.Publishing.VideoItem.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.VideoPermissionGroup\": {\r\n hasCurrentUser: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.VideoServiceManager\": {\r\n getChannels: {\r\n argNames: [\"startIndex\", \"limit\"],\r\n },\r\n getPermissionGroup: {\r\n argNames: [\"permission\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Publishing.VideoThumbnail.Collection\": {\r\n getByIndex: {\r\n argNames: [\"choice\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.PushNotificationSubscriber\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.PushNotificationSubscriber.Collection\": {\r\n getByStoreId: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.RecycleBinItem\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n moveToSecondStage: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n restore: {},\r\n },\r\n \"SP.RecycleBinItem.Collection\": {\r\n deleteAll: {},\r\n deleteAllSecondStageItems: {},\r\n deleteByIds: {\r\n argNames: [\"ids\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n moveAllToSecondStage: {},\r\n moveToSecondStageByIds: {\r\n argNames: [\"ids\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n restoreAll: {},\r\n restoreByIds: {\r\n argNames: [\"ids\"],\r\n },\r\n },\r\n \"SP.RegionalSettings\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.RelatedField.Collection\": {\r\n getByFieldId: {\r\n argNames: [\"fieldId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.RemoteWeb\": {\r\n getFileByServerRelativePath: {\r\n argNames: [\"serverRelatvieFilePath\"],\r\n },\r\n getFileByServerRelativeUrl: {\r\n argNames: [\"serverRelativeFileUrl\"],\r\n },\r\n getFileByUrl: {\r\n argNames: [\"fileUrl\"],\r\n },\r\n getFolderByServerRelativeUrl: {\r\n argNames: [\"serverRelativeUrl\"],\r\n },\r\n getGroupById: {\r\n argNames: [\"groupId\"],\r\n },\r\n getListById: {\r\n argNames: [\"listGuid\"],\r\n },\r\n getListByServerRelativeUrl: {\r\n argNames: [\"serverRelativeUrl\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.RequestContext\": {\r\n getRemoteContext: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.RoleAssignment\": {\r\n properties: [\r\n \"Member\", \"RoleDefinitionBindings|SP.RoleDefinition.Collection\"\r\n ],\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.RoleAssignment\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.RoleAssignment.Collection\": {\r\n addRoleAssignment: {\r\n argNames: [\"principalId\", \"roleDefId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getByPrincipalId: {\r\n argNames: [\"principalId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.RoleAssignment\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n removeRoleAssignment: {\r\n argNames: [\"principalId\", \"roleDefId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n },\r\n \"SP.RoleDefinition\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.RoleDefinition\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.RoleDefinition.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.RoleDefinition\"\r\n },\r\n getByName: {\r\n argNames: [\"name\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.RoleDefinition\"\r\n },\r\n getByType: {\r\n argNames: [\"roleType\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.RoleDefinition\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recreateMissingDefaultRoleDefinitions: {},\r\n removeAll: {},\r\n },\r\n \"SP.ScriptSafeDomain\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n },\r\n \"SP.ScriptSafeDomain.Collection\": {\r\n create: {\r\n argNames: [\"parameters\"],\r\n },\r\n getByDomainName: {\r\n argNames: [\"domainName\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.SecurableObject\": {\r\n breakRoleInheritance: {\r\n argNames: [\"copyRoleAssignments\", \"clearSubscopes\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n resetRoleInheritance: {},\r\n },\r\n \"SP.Site\": {\r\n properties: [\r\n \"EventReceivers|SP.EventReceiverDefinition.Collection|('[Name]')|SP.EventReceiverDefinition\", \"Features|SP.Feature.Collection|('[Name]')|SP.Feature\", \"Owner|SP.User\", \"RootWeb|SP.Web\",\r\n \"UserCustomActions|SP.UserCustomAction.Collection|('[Name]')|SP.UserCustomAction\"\r\n ],\r\n createCopyJob: {\r\n argNames: [\"exportObjectUris\", \"destinationUri\", \"options\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createCopyJobs: {\r\n argNames: [\"exportObjectUris\", \"destinationUri\", \"options\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createMigrationIngestionJob: {\r\n argNames: [\"gWebId\", \"azureContainerSourceUri\", \"azureContainerManifestUri\", \"azureQueueReportUri\", \"ingestionTaskKey\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createMigrationJob: {\r\n argNames: [\"gWebId\", \"azureContainerSourceUri\", \"azureContainerManifestUri\", \"azureQueueReportUri\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createMigrationJobEncrypted: {\r\n argNames: [\"gWebId\", \"azureContainerSourceUri\", \"azureContainerManifestUri\", \"azureQueueReportUri\", \"options\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createPreviewSPSite: {\r\n argNames: [\"upgrade\", \"sendemail\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createSPAsyncReadJob: {\r\n argNames: [\"url\", \"readOptions\", \"encryptionOption\", \"azureContainerManifestUri\", \"azureQueueReportUri\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n deleteMigrationJob: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n extendUpgradeReminderDate: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n getBringYourOwnKeySiteStatus: {},\r\n getBringYourOwnKeyTenantStatus: {},\r\n getCatalog: {\r\n argNames: [\"typeCatalog\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getCopyJobProgress: {\r\n argNames: [\"copyJobInfo\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getHubSiteJoinApprovalCorrelationId: {},\r\n getMigrationJobStatus: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getMigrationStatus: {},\r\n getRecycleBinItems: {\r\n argNames: [\"pagingInfo\", \"rowLimit\", \"isAscending\", \"orderBy\", \"itemState\"],\r\n requestType: utils_1.RequestType.GetWithArgsInBody\r\n },\r\n getWebPath: {\r\n argNames: [\"siteId\", \"webId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getWebTemplates: {\r\n argNames: [\"LCID\", \"overrideCompatLevel\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n invalidate: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n joinHubSite: {\r\n argNames: [\"hubSiteId\", \"approvalToken\", \"approvalCorrelationId\"],\r\n requestType: utils_1.RequestType.GetWithArgsInBody\r\n },\r\n multiGeoCopyJob: {\r\n argNames: [\"jobId\", \"userId\", \"binaryPayload\"],\r\n },\r\n needsUpgradeByType: {\r\n argNames: [\"versionUpgrade\", \"recursive\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n onHubSiteJoinRequestApproved: {\r\n argNames: [\"joiningSiteId\"],\r\n },\r\n onHubSiteJoinRequestCanceled: {\r\n argNames: [\"approvalCorrelationId\"],\r\n },\r\n onHubSiteJoinRequestStarted: {\r\n argNames: [\"approvalCorrelationId\"],\r\n },\r\n onboardTenantForBringYourOwnKey: {\r\n argNames: [\"keyInfo\"],\r\n },\r\n openWeb: {\r\n argNames: [\"strUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n openWebById: {\r\n argNames: [\"gWebId\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n openWebUsingPath: {\r\n argNames: [\"path\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n provisionMigrationContainers: {},\r\n provisionMigrationQueue: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n recoverTenantForBringYourOwnKey: {\r\n argNames: [\"keyInfo\"],\r\n },\r\n registerHubSite: {\r\n argNames: [\"creationInformation\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n rollTenantBringYourOwnKey: {\r\n argNames: [\"keyType\", \"keyVaultInfo\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n runHealthCheck: {\r\n argNames: [\"ruleId\", \"bRepair\", \"bRunAlways\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n runUpgradeSiteSession: {\r\n argNames: [\"versionUpgrade\", \"queueOnly\", \"sendEmail\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n unregisterHubSite: {},\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Site\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n updateClientObjectModelUseRemoteAPIsPermissionSetting: {\r\n argNames: [\"requireUseRemoteAPIs\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n validateHubSiteJoinApprovalToken: {\r\n argNames: [\"joiningSiteId\", \"approvalToken\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n },\r\n \"SP.Social.SocialFeedManager\": {\r\n createFileAttachment: {\r\n argNames: [\"name\", \"description\", \"fileData\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n createImageAttachment: {\r\n argNames: [\"name\", \"description\", \"imageData\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n createPost: {\r\n argNames: [\"targetId\", \"creationData\"],\r\n requestType: utils_1.RequestType.PostWithArgsAndData\r\n },\r\n deletePost: {\r\n argNames: [\"postId\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getAllLikers: {\r\n argNames: [\"postId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getFeed: {\r\n argNames: [\"type\", \"options\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getFeedFor: {\r\n argNames: [\"actorId\", \"options\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getFullThread: {\r\n argNames: [\"threadId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getMentions: {\r\n argNames: [\"clearUnreadMentions\", \"options\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getPreview: {\r\n argNames: [\"itemUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getPreviewImage: {\r\n argNames: [\"url\", \"key\", \"iv\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getUnreadMentionCount: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n likePost: {\r\n argNames: [\"postId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n lockThread: {\r\n argNames: [\"threadId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n suppressThreadNotifications: {\r\n argNames: [\"threadId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n unlikePost: {\r\n argNames: [\"postId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n unlockThread: {\r\n argNames: [\"threadId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n },\r\n \"SP.Social.SocialFollowingManager\": {\r\n follow: {\r\n argNames: [\"actor\"],\r\n name: \"follow(actor=@v)?@v='[[actor]]'\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n getFollowed: {\r\n argNames: [\"types\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getFollowedCount: {\r\n argNames: [\"types\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getFollowers: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getSuggestions: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n isFollowed: {\r\n argNames: [\"actor\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n stopFollowing: {\r\n argNames: [\"actor\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n },\r\n \"SP.Social.SocialRestActor\": {\r\n feed: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n likes: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n mentionFeed: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n news: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n organizationFeed: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n timelineFeed: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n unreadMentionCount: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n },\r\n \"SP.Social.SocialRestFeed\": {\r\n clearUnReadMentionCount: {\r\n argNames: [\"MaxThreadCount\", \"NewerThan\", \"OlderThan\", \"SortOrder\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n post: {\r\n argNames: [\"restCreationData\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"SP.Social.SocialRestFeedManager\": {\r\n actor: {\r\n argNames: [\"item\"],\r\n name: \"actor(item=@v)?@v='[[item]]'\",\r\n requestType: utils_1.RequestType.GetReplace,\r\n returnType: \"SP.Social.SocialRestActor\"\r\n },\r\n my: {\r\n requestType: utils_1.RequestType.Get,\r\n returnType: \"SP.Social.SocialRestActor\"\r\n },\r\n post: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly,\r\n },\r\n },\r\n \"SP.Social.SocialRestFollowingManager\": {\r\n follow: {\r\n argNames: [\"AccountName\", \"ActorType\", \"ContentUri\", \"Id\", \"TagGuid\"],\r\n name: \"follow(AccountName=@v, ActorType='[[ActorType]]', ContentUri='[[ContentUri]]', Id='[[Id]]', TagGuid='[[TagGuid]]')?@v='[[AccountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n followed: {\r\n argNames: [\"types\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n followedCount: {\r\n argNames: [\"types\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n followers: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n isFollowed: {\r\n argNames: [\"AccountName\", \"ActorType\", \"ContentUri\", \"Id\", \"TagGuid\"],\r\n name: \"isFollowed(AccountName=@v, ActorType='[[ActorType]]', ContentUri='[[ContentUri]]', Id='[[Id]]', TagGuid='[[TagGuid]]')?@v='[[AccountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n my: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n stopFollowing: {\r\n argNames: [\"AccountName\", \"ActorType\", \"ContentUri\", \"Id\", \"TagGuid\"],\r\n name: \"stopFollowing(AccountName=@v, ActorType='[[ActorType]]', ContentUri='[[ContentUri]]', Id='[[Id]]', TagGuid='[[TagGuid]]')?@v='[[AccountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n suggestions: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n },\r\n \"SP.Social.SocialRestThread\": {\r\n delete: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n like: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n likers: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n lock: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n reply: {\r\n argNames: [\"restCreationData\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n unLike: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n unLock: {\r\n argNames: [\"ID\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n },\r\n \"SP.SPAppLicenseManager\": {\r\n checkLicense: {\r\n argNames: [\"productId\"],\r\n }\r\n },\r\n \"SP.SPHSite\": {\r\n details: {}\r\n },\r\n \"SP.Taxonomy.TaxonomyField\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n disableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enableIndex: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setShowInDisplayForm: {\r\n argNames: [\"value\"],\r\n },\r\n setShowInEditForm: {\r\n argNames: [\"value\"],\r\n },\r\n setShowInNewForm: {\r\n argNames: [\"value\"],\r\n },\r\n },\r\n \"SP.ThemeInfo\": {\r\n getThemeFontByName: {\r\n argNames: [\"name\", \"lcid\"],\r\n },\r\n getThemeShadeByName: {\r\n argNames: [\"name\"],\r\n },\r\n },\r\n \"SP.TimeZone\": {\r\n localTimeToUTC: {\r\n argNames: [\"date\"],\r\n },\r\n uTCToLocalTime: {\r\n argNames: [\"date\"],\r\n },\r\n },\r\n \"SP.TimeZone.Collection\": {\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Translation.SyncTranslator\": {\r\n translate: {\r\n argNames: [\"inputFile\", \"outputFile\"],\r\n },\r\n translateStream: {\r\n argNames: [\"inputFile\", \"fileExtension\"],\r\n },\r\n },\r\n \"SP.Translation.TranslationJob\": {\r\n translateFile: {\r\n argNames: [\"inputFile\", \"outputFile\"],\r\n },\r\n translateFolder: {\r\n argNames: [\"inputFolder\", \"outputFolder\", \"recursion\"],\r\n },\r\n translateLibrary: {\r\n argNames: [\"inputLibrary\", \"outputLibrary\"],\r\n },\r\n },\r\n \"SP.Translation.TranslationJobStatus\": {\r\n getAllItems: {},\r\n },\r\n \"SP.TranslationStatusCollection\": {\r\n create: {\r\n argNames: [\"request\"],\r\n },\r\n updateTranslationLanguages: {},\r\n },\r\n \"SP.User\": {\r\n properties: [\r\n \"Groups|SP.Group.Collection|([Name])|SP.Group\"\r\n ],\r\n expire: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.User\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.User.Collection\": {\r\n add: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.User\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getByEmail: {\r\n argNames: [\"emailAddress\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.User\"\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.User\"\r\n },\r\n getByLoginName: {\r\n argNames: [\"loginName\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.User\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n removeById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n removeByLoginName: {\r\n argNames: [\"loginName\"],\r\n name: \"removeByLoginName(@v)?@v='[[loginName]]'\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n },\r\n \"SP.UserCustomAction\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.UserCustomAction\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.UserCustomAction.Collection\": {\r\n add: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.UserCustomAction\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n clear: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.UserCustomAction\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.UserProfiles.FollowedContent\": {\r\n findAndUpdateFollowedGroup: {\r\n argNames: [\"groupId\"],\r\n },\r\n findAndUpdateFollowedItem: {\r\n argNames: [\"url\"],\r\n },\r\n followItem: {\r\n argNames: [\"item\"],\r\n },\r\n getFollowedStatus: {\r\n argNames: [\"url\"],\r\n },\r\n getGroups: {\r\n argNames: [\"rowLimit\"],\r\n },\r\n getItem: {\r\n argNames: [\"url\"],\r\n },\r\n getItems: {\r\n argNames: [\"options\", \"subtype\"],\r\n },\r\n hasGroupMembershipChangedAndSyncChanges: {},\r\n isFollowed: {\r\n argNames: [\"url\"],\r\n },\r\n refreshFollowedItem: {\r\n argNames: [\"item\"],\r\n },\r\n setItemPinState: {\r\n argNames: [\"uri\", \"groupId\", \"pinState\"],\r\n },\r\n stopFollowing: {\r\n argNames: [\"url\"],\r\n },\r\n updateFollowedGroupForUser: {\r\n argNames: [\"contextUri\", \"groupId\", \"loginName\"],\r\n },\r\n },\r\n \"SP.UserProfiles.PeopleManager\": {\r\n amIFollowedBy: {\r\n argNames: [\"accountName\"],\r\n name: \"amIFollowedBy(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n amIFollowing: {\r\n argNames: [\"accountName\"],\r\n name: \"amIFollowing(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n follow: {\r\n argNames: [\"accountName\"],\r\n name: \"follow(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n followTag: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getDefaultDocumentLibrary: {\r\n argNames: [\"accountName\", \"createSiteIfNotExists\", \"siteCreationPriority\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getFollowedTags: {\r\n argNames: [\"cTagsToFetch\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getFollowersFor: {\r\n argNames: [\"accountName\"],\r\n name: \"getFollowersFor(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getMyFollowers: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getMyProperties: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getMySuggestions: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getPeopleFollowedBy: {\r\n argNames: [\"accountName\"],\r\n name: \"getPeopleFollowedBy(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getPeopleFollowedByMe: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n getPropertiesFor: {\r\n argNames: [\"accountName\"],\r\n name: \"getPropertiesFor(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getSPUserInformation: {\r\n argNames: [\"accountName\", \"siteId\"],\r\n name: \"getSPUserInformation(accountName=@v, siteId='[[siteId]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getUserProfileProperties: {\r\n argNames: [\"accountName\"],\r\n name: \"getUserProfileProperties(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getUserProfilePropertyFor: {\r\n argNames: [\"accountName\", \"propertyName\"],\r\n name: \"getUserProfilePropertyFor(accountName=@v, propertyName='[[propertyName]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n hardDeleteUserProfile: {\r\n argNames: [\"accountName\", \"userId\"],\r\n name: \"hardDeleteUserProfile(accountName=@v, userId='[[userId]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n hideSuggestion: {\r\n argNames: [\"accountName\"],\r\n name: \"hideSuggestion(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.PostReplace\r\n },\r\n removeSPUserInformation: {\r\n argNames: [\"accountName\", \"siteId\", \"redactName\"],\r\n name: \"removeSPUserInformation(accountName=@v, siteId='[[siteId]]', redactName='[[redactName]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n setMultiValuedProfileProperty: {\r\n argNames: [\"accountName\", \"propertyName\", \"propertyValues\"],\r\n name: \"setMultiValuedProfileProperty(accountName=@v, propertyName='[[propertyName]]', propertyValues='[[propertyValues]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n setMyProfilePicture: {\r\n argNames: [\"picture\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n setSingleValueProfileProperty: {\r\n argNames: [\"accountName\", \"propertyName\", \"propertyValue\"],\r\n name: \"setSingleValueProfileProperty(accountName=@v, propertyName='[[propertyName]]', propertyValue='[[propertyValue]]')?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n stopFollowing: {\r\n argNames: [\"accountName\"],\r\n name: \"stopFollowing(@v)?@v='[[accountName]]'\",\r\n requestType: utils_1.RequestType.PostWithArgsInQSAsVar\r\n },\r\n stopFollowingTag: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n },\r\n \"SP.UserProfiles.PersonalCache\": {\r\n deleteCacheItemsAsync: {\r\n argNames: [\"cacheItems\"],\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n deleteCacheItemsAsync2: {\r\n argNames: [\"cacheItems\", \"mySiteUrl\"],\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n loadUserProfile: {\r\n argNames: [\"email\"],\r\n },\r\n readCache: {\r\n argNames: [\"folderPath\"],\r\n },\r\n readCache2: {\r\n argNames: [\"folderPath\", \"mySiteUrl\"],\r\n },\r\n readCacheOrCreate: {\r\n argNames: [\"folderPath\", \"requiredCacheKeys\", \"createIfMissing\"],\r\n },\r\n readCacheOrCreate2: {\r\n argNames: [\"folderPath\", \"requiredCacheKeys\", \"createIfMissing\", \"mySiteUrl\"],\r\n },\r\n readCacheOrCreateOrderById: {\r\n argNames: [\"folderPath\", \"requiredCacheKeys\", \"createIfMissing\"],\r\n },\r\n readCacheOrCreateOrderById2: {\r\n argNames: [\"folderPath\", \"requiredCacheKeys\", \"createIfMissing\", \"mySiteUrl\"],\r\n },\r\n writeCache: {\r\n argNames: [\"cacheItems\"],\r\n },\r\n writeCache2: {\r\n argNames: [\"cacheItems\", \"mySiteUrl\"],\r\n },\r\n },\r\n \"SP.UserProfiles.ProfileImageStore\": {\r\n saveUploadedFile: {\r\n argNames: [\"profileType\", \"fileNamePrefix\", \"isFeedAttachment\", \"clientFilePath\", \"fileSize\", \"fileStream\"],\r\n },\r\n },\r\n \"SP.UserProfiles.ProfileLoader\": {\r\n createPersonalSiteEnqueueBulk: {\r\n argNames: [\"emailIDs\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getUserProfile: {\r\n requestType: utils_1.RequestType.Post,\r\n returnType: \"SP.UserProfiles.UserProfile\"\r\n },\r\n },\r\n \"SP.UserProfiles.UserProfile\": {\r\n properties: [\"PersonalSite|site\"],\r\n createPersonalSite: {\r\n argNames: [\"lcid\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n createPersonalSiteEnque: {\r\n argNames: [\"isInteractive\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n createPersonalSiteFromWorkItem: {\r\n argNames: [\"workItemType\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n setMySiteFirstRunExperience: {\r\n argNames: [\"value\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n shareAllSocialData: {\r\n argNames: [\"shareAll\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n },\r\n \"SP.UserProfiles.UserProfilePropertiesForUser\": {\r\n getPropertyNames: {},\r\n },\r\n \"SP.UserResource\": {\r\n getValueForUICulture: {\r\n argNames: [\"cultureName\"],\r\n },\r\n setValueForUICulture: {\r\n argNames: [\"cultureName\", \"value\"],\r\n },\r\n },\r\n \"SP.UserSolution.Collection\": {\r\n add: {\r\n argNames: [\"solutionGalleryItemId\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Utilities.ThemeManager\": {\r\n addTenantTheme: {\r\n argNames: [\"name\", \"themeJson\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n applyTheme: {\r\n argNames: [\"name\", \"themeJson\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n deleteTenantTheme: {\r\n argNames: [\"name\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getAvailableThemes: {},\r\n getHideDefaultThemes: {},\r\n getTenantTheme: {\r\n argNames: [\"name\"],\r\n requestType: utils_1.RequestType.GetWithArgsInBody\r\n },\r\n getTenantThemingOptions: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n setHideDefaultThemes: {\r\n argNames: [\"hideDefaultThemes\"],\r\n },\r\n updateTenantTheme: {\r\n argNames: [\"name\", \"themeJson\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n },\r\n \"SP.View\": {\r\n properties: [\r\n \"ViewFields|SP.ViewFieldCollection\"\r\n ],\r\n addToSpotlight: {\r\n argNames: [\"itemId\", \"folderPath\", \"afterItemId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n removeFromSpotlight: {\r\n argNames: [\"itemId\", \"folderPath\"],\r\n },\r\n renderAsHtml: {},\r\n setViewXml: {\r\n argNames: [\"viewXml\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.View\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.View.Collection\": {\r\n add: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.View\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"guidId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.View\"\r\n },\r\n getByTitle: {\r\n argNames: [\"strTitle\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.View\"\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.ViewFieldCollection\": {\r\n addViewField: {\r\n argNames: [\"strField\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n moveViewFieldTo: {\r\n argNames: [\"field\", \"index\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n removeAllViewFields: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n removeViewField: {\r\n argNames: [\"strField\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n },\r\n \"SP.Web\": {\r\n properties: [\r\n \"AllProperties\", \"AppTiles\", \"AssociatedMemberGroup|SP.Group\", \"AssociatedOwnerGroup|SP.Group\",\r\n \"AssociatedVisitorGroup|SP.Group\", \"Author|SP.User\", \"AvailableContentTypes|SP.ContentType.Collection\", \"AvailableFields|SP.Field.Collection\",\r\n \"ClientWebParts\", \"ContentTypes|SP.ContentType.Collection|('[Name]')|SP.ContentType\", \"CurrentUser|SP.User\", \"DataLeakagePreventionStatusInfo\",\r\n \"DescriptionResource\", \"EventReceivers|SP.EventReceiverDefinition.Collection|('[Name]')|SP.EventReceiverDefinition\", \"Features|SP.Feature.Collection|('[Name]')|SP.Feature\",\r\n \"Fields|SP.Field.Collection|/getByInternalNameOrTitle('[Name]')|SP.Field\", \"FirstUniqueAncestorSecurableObject\",\r\n \"Folders|SP.Folder.Collection|/getByUrl('[Name]')|SP.Folder\", \"Lists|SP.List.Collection|/getByTitle('[Name]')|SP.List\",\r\n \"ListTemplates|SP.ListTemplate.Collection|('[Name]')|SP.ListTemplate\", \"Navigation\", \"ParentWeb\",\r\n \"PushNotificationSubscribers\", \"RecycleBin\", \"RegionalSettings\", \"RoleAssignments|SP.RoleAssignment.Collection|([Name])|SP.RoleAssignment\",\r\n \"RoleDefinitions|SP.RoleDefinition.Collection|/getByName('[Name]')|SP.RoleDefinition\", \"RootFolder|SP.Folder|/getByUrl('[Name]')|SP.File\",\r\n \"SiteGroups|SP.Group.Collection|/getByName('[Name]')|SP.Group\", \"SiteUserInfoList\", \"SiteUsers|SP.User.Collection|/getById([Name])|SP.User\",\r\n \"TenantAppCatalog|tenantappcatalog\", \"ThemeInfo\", \"TitleResource\",\r\n \"UserCustomActions|SP.UserCustomAction.Collection|('[Name]')|SP.UserCustomAction\", \"WebInfos|SP.WebInformation.Collection\", \"Webs|SP.Web.Collection\", \"WorkflowAssociations\", \"WorkflowTemplates\"\r\n ],\r\n addCrossFarmMessage: {\r\n argNames: [\"messagePayloadBase64\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n addSupportedUILanguage: {\r\n argNames: [\"lcid\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n applyTheme: {\r\n argNames: [\"colorPaletteUrl\", \"fontSchemeUrl\", \"backgroundImageUrl\", \"shareGenerated\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n applyWebTemplate: {\r\n argNames: [\"webTemplate\"],\r\n requestType: utils_1.RequestType.PostWithArgsInQSAsVar\r\n },\r\n breakRoleInheritance: {\r\n argNames: [\"copyRoleAssignments\", \"clearSubscopes\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n createDefaultAssociatedGroups: {\r\n argNames: [\"userLogin\", \"userLogin2\", \"groupNameSeed\"],\r\n },\r\n defaultDocumentLibrary: {},\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n doesPushNotificationSubscriberExist: {\r\n argNames: [\"deviceAppInstanceId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n doesUserHavePermissions: {\r\n argNames: [\"high\", \"low\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQSAsVar\r\n },\r\n ensureUser: {\r\n argNames: [\"logonName\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n executeRemoteLOB: {\r\n argNames: [\"inputStream\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getAllClientSideComponents: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n getAppBdcCatalog: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n getAppBdcCatalogForAppInstance: {\r\n argNames: [\"appInstanceId\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n getAppInstanceById: {\r\n argNames: [\"appInstanceId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getAppInstancesByProductId: {\r\n argNames: [\"productId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n getAvailableWebTemplates: {\r\n argNames: [\"lcid\", \"doIncludeCrossLanguage\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n getCatalog: {\r\n argNames: [\"typeCatalog\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.List\"\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getClientSideComponents: {\r\n argNames: [\"components\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getClientSideComponentsById: {\r\n argNames: [\"componentIds\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getClientSideWebParts: {\r\n argNames: [\"includeErrors\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getCustomListTemplates: {},\r\n getEntity: {\r\n argNames: [\"namespace\", \"name\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getFileByGuestUrl: {\r\n argNames: [\"guestUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByGuestUrlEnsureAccess: {\r\n argNames: [\"guestUrl\", \"ensureAccess\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByGuestUrlExtended: {\r\n argNames: [\"guestUrl\", \"requestSettings\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileById: {\r\n argNames: [\"uniqueId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByLinkingUrl: {\r\n argNames: [\"linkingUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByServerRelativePath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByServerRelativeUrl: {\r\n argNames: [\"serverRelativeUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.File\"\r\n },\r\n getFileByUrl: {\r\n argNames: [\"fileUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFileByWOPIFrameUrl: {\r\n argNames: [\"wopiFrameUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFolderByGuestUrl: {\r\n argNames: [\"guestUrl\", \"ensureAccess\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFolderByGuestUrlExtended: {\r\n argNames: [\"guestUrl\", \"requestSettings\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFolderById: {\r\n argNames: [\"uniqueId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFolderByServerRelativePath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getFolderByServerRelativeUrl: {\r\n argNames: [\"serverRelativeUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.Folder\"\r\n },\r\n getList: {\r\n argNames: [\"strUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.List\"\r\n },\r\n getListItem: {\r\n argNames: [\"strUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getListItemByResourceId: {\r\n argNames: [\"resourceId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getListItemUsingPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getListUsingPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getNewsList: {\r\n argNames: [\"allowCreate\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getPushNotificationSubscriber: {\r\n argNames: [\"deviceAppInstanceId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getPushNotificationSubscribersByArgs: {\r\n argNames: [\"customArgs\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQSAsVar\r\n },\r\n getPushNotificationSubscribersByUser: {\r\n argNames: [\"userName\"],\r\n requestType: utils_1.RequestType.GetWithArgsInQSAsVar\r\n },\r\n getRecycleBinItems: {\r\n argNames: [\"pagingInfo\", \"rowLimit\", \"isAscending\", \"orderBy\", \"itemState\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getRecycleBinItemsByQueryInfo: {\r\n argNames: [\"IsAscending\", \"ItemState\", \"OrderBy\", \"PagingInfo\", \"RowLimit\", \"ShowOnlyMyItems\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getRegionalDateTimeSchema: {},\r\n getSPAppContextAsStream: {},\r\n getSharingLinkData: {\r\n argNames: [\"linkUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getStorageEntity: {\r\n argNames: [\"key\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getSubwebsFilteredForCurrentUser: {\r\n argNames: [\"nWebTemplateFilter\", \"nConfigurationFilter\"],\r\n requestType: utils_1.RequestType.GetWithArgs,\r\n returnType: \"SP.WebInformation.Collection\"\r\n },\r\n getUserById: {\r\n argNames: [\"userId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n returnType: \"SP.User\"\r\n },\r\n getUserEffectivePermissions: {\r\n argNames: [\"userName\"],\r\n name: \"getUserEffectivePermissions(@user)?@user='[[loginName]]'\",\r\n requestType: utils_1.RequestType.GetReplace\r\n },\r\n getViewFromPath: {\r\n argNames: [\"DecodedUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n getViewFromUrl: {\r\n argNames: [\"listUrl\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n hubSiteData: {\r\n argNames: [\"forceRefresh\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n hubSiteDataAsStream: {\r\n argNames: [\"forceRefresh\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly,\r\n },\r\n incrementSiteClientTag: {},\r\n loadAndInstallApp: {\r\n argNames: [\"appPackageStream\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n loadAndInstallAppInSpecifiedLocale: {\r\n argNames: [\"appPackageStream\", \"installationLocaleLCID\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n loadApp: {\r\n argNames: [\"appPackageStream\", \"installationLocaleLCID\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n mapToIcon: {\r\n argNames: [\"fileName\", \"progId\", \"size\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n pageContextCore: {},\r\n pageContextInfo: {\r\n argNames: [\"includeODBSettings\", \"emitNavigationInfo\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n parseDateTime: {\r\n argNames: [\"value\", \"displayFormat\", \"calendarType\"],\r\n requestType: utils_1.RequestType.GetWithArgs\r\n },\r\n processExternalNotification: {\r\n argNames: [\"stream\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n registerPushNotificationSubscriber: {\r\n argNames: [\"deviceAppInstanceId\", \"serviceToken\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n removeStorageEntity: {\r\n argNames: [\"key\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n removeSupportedUILanguage: {\r\n argNames: [\"lcid\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n resetRoleInheritance: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n setAccessRequestSiteDescriptionAndUpdate: {\r\n argNames: [\"description\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n setStorageEntity: {\r\n argNames: [\"key\", \"value\", \"description\", \"comments\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n setUseAccessRequestDefaultAndUpdate: {\r\n argNames: [\"useAccessRequestDefault\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n syncFlowInstances: {\r\n argNames: [\"targetWebUrl\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n syncFlowTemplates: {\r\n argNames: [\"category\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n syncHubSiteTheme: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n unregisterPushNotificationSubscriber: {\r\n argNames: [\"deviceAppInstanceId\"],\r\n requestType: utils_1.RequestType.PostWithArgsValueOnly\r\n },\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Web\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n uploadImage: {\r\n argNames: [\"listTitle\", \"imageName\", \"contentStream\"],\r\n name: \"uploadImage(listTitle=guid'[[listTitle]]', imageName=[[imageName]])\",\r\n requestType: utils_1.RequestType.PostReplaceWithData\r\n },\r\n },\r\n \"SP.Web.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.Web\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WebInformation.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n metadataType: \"SP.WebCreationInformation\",\r\n name: \"\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WebParts.LimitedWebPartManager\": {\r\n properties: [\r\n \"WebParts|SP.WebParts.WebPartDefinition.Collection|/([Id])|SP.WebParts.WebPartDefinition\"\r\n ],\r\n exportWebPart: {\r\n argNames: [\"webPartId\"],\r\n requestType: utils_1.RequestType.GetWithArgsValueOnly\r\n },\r\n importWebPart: {\r\n argNames: [\"webPartXml\"],\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WebParts.WebPartDefinition\": {\r\n closeWebPart: {},\r\n deleteWebPart: {},\r\n moveWebPartTo: {\r\n argNames: [\"zoneID\", \"zoneIndex\"],\r\n },\r\n openWebPart: {\r\n requestType: utils_1.RequestType.Get\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n saveWebPartChanges: {},\r\n },\r\n \"SP.WebParts.WebPartDefinition.Collection\": {\r\n getByControlId: {\r\n argNames: [\"controlId\"],\r\n },\r\n getById: {\r\n argNames: [\"id\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WebTemplate.Collection\": {\r\n getByName: {\r\n argNames: [\"name\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WorkManagement.OM.BaseSession\": {\r\n addAttributeToTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n beginCacheRefresh: {},\r\n beginExchangeSync: {},\r\n createPersonalTaskAndPromoteToProviderTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\"],\r\n },\r\n createTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\", \"editUrl\"],\r\n },\r\n deleteTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getCalloutInfo: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getRefreshHealthInfo: {},\r\n getRefreshHistory: {\r\n argNames: [\"since\"],\r\n },\r\n getRefreshStatus: {\r\n argNames: [\"refreshId\"],\r\n },\r\n isExchangeJobPending: {},\r\n pinTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n promotePersonalTaskToProviderTaskInLocation: {\r\n argNames: [\"taskKey\", \"locationId\"],\r\n },\r\n readAllNonTaskData: {},\r\n refreshSingleTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n removeAttributeFromTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n removePinOnTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n updateTaskWithLocalizedValue: {\r\n argNames: [\"taskKey\", \"field\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkManagement.OM.LocationOrientedSortableSession\": {\r\n addAttributeToTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n beginCacheRefresh: {},\r\n beginExchangeSync: {},\r\n createPersonalTaskAndPromoteToProviderTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\"],\r\n },\r\n createTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\", \"editUrl\"],\r\n },\r\n deleteTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getCalloutInfo: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getRefreshHealthInfo: {},\r\n getRefreshHistory: {\r\n argNames: [\"since\"],\r\n },\r\n getRefreshStatus: {\r\n argNames: [\"refreshId\"],\r\n },\r\n isExchangeJobPending: {},\r\n movePersonalTaskToLocation: {\r\n argNames: [\"taskKey\", \"newLocationKey\"],\r\n },\r\n pinTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n promotePersonalTaskToProviderTaskInLocation: {\r\n argNames: [\"taskKey\", \"locationId\"],\r\n },\r\n readAllNonTaskData: {},\r\n refreshSingleTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n removeAttributeFromTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n removePinOnTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n updateTaskWithLocalizedValue: {\r\n argNames: [\"taskKey\", \"field\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkManagement.OM.LocationOrientedUserOrderedSession\": {\r\n addAttributeToTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n beginCacheRefresh: {},\r\n beginExchangeSync: {},\r\n createPersonalTaskAndPromoteToProviderTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\"],\r\n },\r\n createTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\", \"editUrl\"],\r\n },\r\n deleteTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getCalloutInfo: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getRefreshHealthInfo: {},\r\n getRefreshHistory: {\r\n argNames: [\"since\"],\r\n },\r\n getRefreshStatus: {\r\n argNames: [\"refreshId\"],\r\n },\r\n isExchangeJobPending: {},\r\n movePersonalTaskToLocation: {\r\n argNames: [\"taskKey\", \"newLocationKey\"],\r\n },\r\n pinTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n promotePersonalTaskToProviderTaskInLocation: {\r\n argNames: [\"taskKey\", \"locationId\"],\r\n },\r\n readAllNonTaskData: {},\r\n refreshSingleTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n removeAttributeFromTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n removePinOnTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n reorderTask: {\r\n argNames: [\"taskKey\", \"newAfterTaskKey\"],\r\n },\r\n updateTaskWithLocalizedValue: {\r\n argNames: [\"taskKey\", \"field\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkManagement.OM.SortableSession\": {\r\n addAttributeToTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n beginCacheRefresh: {},\r\n beginExchangeSync: {},\r\n createPersonalTaskAndPromoteToProviderTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\"],\r\n },\r\n createTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\", \"editUrl\"],\r\n },\r\n deleteTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getCalloutInfo: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getRefreshHealthInfo: {},\r\n getRefreshHistory: {\r\n argNames: [\"since\"],\r\n },\r\n getRefreshStatus: {\r\n argNames: [\"refreshId\"],\r\n },\r\n isExchangeJobPending: {},\r\n pinTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n promotePersonalTaskToProviderTaskInLocation: {\r\n argNames: [\"taskKey\", \"locationId\"],\r\n },\r\n readAllNonTaskData: {},\r\n refreshSingleTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n removeAttributeFromTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n removePinOnTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n updateTaskWithLocalizedValue: {\r\n argNames: [\"taskKey\", \"field\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkManagement.OM.SortableSessionManager\": {\r\n createLocationOrientedSession: {},\r\n createSession: {},\r\n },\r\n \"SP.WorkManagement.OM.UserOrderedSession\": {\r\n addAttributeToTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n beginCacheRefresh: {},\r\n beginExchangeSync: {},\r\n createPersonalTaskAndPromoteToProviderTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\"],\r\n },\r\n createTask: {\r\n argNames: [\"taskName\", \"description\", \"localizedStartDate\", \"localizedDueDate\", \"completed\", \"pinned\", \"locationKey\", \"editUrl\"],\r\n },\r\n deleteTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getCalloutInfo: {\r\n argNames: [\"taskKey\"],\r\n },\r\n getRefreshHealthInfo: {},\r\n getRefreshHistory: {\r\n argNames: [\"since\"],\r\n },\r\n getRefreshStatus: {\r\n argNames: [\"refreshId\"],\r\n },\r\n isExchangeJobPending: {},\r\n pinTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n promotePersonalTaskToProviderTaskInLocation: {\r\n argNames: [\"taskKey\", \"locationId\"],\r\n },\r\n readAllNonTaskData: {},\r\n refreshSingleTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n removeAttributeFromTask: {\r\n argNames: [\"taskKey\", \"attribute\"],\r\n },\r\n removePinOnTask: {\r\n argNames: [\"taskKey\"],\r\n },\r\n reorderTask: {\r\n argNames: [\"taskKey\", \"newAfterTaskKey\"],\r\n },\r\n updateTaskWithLocalizedValue: {\r\n argNames: [\"taskKey\", \"field\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkManagement.OM.UserOrderedSessionManager\": {\r\n createLocationOrientedSession: {},\r\n createSession: {},\r\n },\r\n \"SP.WorkManagement.OM.UserSettingsManager\": {\r\n getAllLocations: {},\r\n getExchangeSyncInfo: {},\r\n getImportantLocations: {},\r\n getLocations: {\r\n argNames: [\"locationsId\"],\r\n },\r\n getPersistedProperties: {},\r\n getUserSettings: {},\r\n isExchangeJobPending: {},\r\n optIntoExchangeSync: {},\r\n optOutOfExchangeSync: {},\r\n },\r\n \"SP.Workflow.SPWorkflowTask\": {\r\n breakRoleInheritance: {\r\n argNames: [\"copyRoleAssignments\", \"clearSubscopes\"],\r\n },\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n deleteWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getChanges: {\r\n argNames: [\"query\"],\r\n metadataType: \"SP.ChangeQuery\",\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n getHashtags: {},\r\n getUserEffectivePermissions: {\r\n argNames: [\"userName\"],\r\n },\r\n getWOPIFrameUrl: {\r\n argNames: [\"action\"],\r\n requestType: utils_1.RequestType.PostWithArgsInQS\r\n },\r\n mediaServiceUpdate: {\r\n argNames: [\"parameters\"],\r\n },\r\n mediaServiceUpdateV2: {\r\n argNames: [\"parameters\", \"eventFiringEnabled\"],\r\n },\r\n overridePolicyTip: {\r\n argNames: [\"userAction\", \"justification\"],\r\n },\r\n parseAndSetFieldValue: {\r\n argNames: [\"fieldName\", \"value\"],\r\n },\r\n recycle: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n recycleWithParameters: {\r\n argNames: [\"parameters\"],\r\n requestType: utils_1.RequestType.PostWithArgsInBody\r\n },\r\n resetRoleInheritance: {},\r\n setCommentsDisabled: {\r\n argNames: [\"value\"],\r\n },\r\n setComplianceTag: {\r\n argNames: [\"complianceTag\", \"isTagPolicyHold\", \"isTagPolicyRecord\", \"isEventBasedTag\", \"isTagSuperLock\"],\r\n },\r\n setComplianceTagWithExplicitMetasUpdate: {\r\n argNames: [\"complianceTag\", \"complianceFlags\", \"complianceTagWrittenTime\", \"userEmailAddress\"],\r\n },\r\n setComplianceTagWithHold: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n setComplianceTagWithMetaInfo: {\r\n argNames: [\"complianceTag\", \"blockDelete\", \"blockEdit\", \"complianceTagWrittenTime\", \"userEmailAddress\", \"isTagSuperLock\"],\r\n },\r\n setComplianceTagWithNoHold: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n setComplianceTagWithRecord: {\r\n argNames: [\"complianceTag\"],\r\n },\r\n systemUpdate: {},\r\n update: {\r\n argNames: [\"properties\"],\r\n metadataType: \"SP.Workflow.SPWorkflowTask\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n updateEx: {\r\n argNames: [\"parameters\"],\r\n },\r\n updateHashtags: {\r\n argNames: [\"hashtagsToAdd\", \"hashtagsToRemove\"],\r\n },\r\n updateOverwriteVersion: {},\r\n validateUpdateListItem: {\r\n argNames: [\"formValues\", \"bNewDocumentUpdate\", \"checkInComment\"],\r\n },\r\n },\r\n \"SP.Workflow.WorkflowAssociation\": {\r\n delete: {\r\n requestType: utils_1.RequestType.Delete\r\n },\r\n update: {\r\n metadataType: \"\",\r\n name: \"\",\r\n requestMethod: \"MERGE\",\r\n requestType: utils_1.RequestType.PostBodyNoArgs\r\n },\r\n },\r\n \"SP.Workflow.WorkflowAssociation.Collection\": {\r\n add: {\r\n argNames: [\"parameters\"],\r\n },\r\n getById: {\r\n argNames: [\"associationId\"],\r\n },\r\n getByName: {\r\n argNames: [\"name\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.Workflow.WorkflowTemplate.Collection\": {\r\n getById: {\r\n argNames: [\"templateId\"],\r\n },\r\n getByName: {\r\n argNames: [\"name\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WorkflowServices.InteropService\": {\r\n cancelWorkflow: {\r\n argNames: [\"instanceId\"],\r\n },\r\n disableEvents: {\r\n argNames: [\"listId\", \"itemGuid\"],\r\n },\r\n enableEvents: {\r\n argNames: [\"listId\", \"itemGuid\"],\r\n },\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n startWorkflow: {\r\n argNames: [\"associationName\", \"correlationId\", \"listId\", \"itemGuid\", \"workflowParameters\"],\r\n },\r\n },\r\n \"SP.WorkflowServices.WorkflowDefinition\": {\r\n setProperty: {\r\n argNames: [\"propertyName\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkflowServices.WorkflowDefinition.Collection\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n sort: {},\r\n },\r\n \"SP.WorkflowServices.WorkflowDeploymentService\": {\r\n deleteCollateral: {\r\n argNames: [\"workflowDefinitionId\", \"leafFileName\"],\r\n },\r\n deleteDefinition: {\r\n argNames: [\"definitionId\"],\r\n },\r\n deprecateDefinition: {\r\n argNames: [\"definitionId\"],\r\n },\r\n enumerateDefinitions: {\r\n argNames: [\"publishedOnly\"],\r\n },\r\n enumerateIntegratedApps: {},\r\n getActivitySignatures: {\r\n argNames: [\"lastChanged\"],\r\n },\r\n getCollateralUri: {\r\n argNames: [\"workflowDefinitionId\", \"leafFileName\"],\r\n },\r\n getDefinition: {\r\n argNames: [\"definitionId\"],\r\n },\r\n isIntegratedApp: {},\r\n packageDefinition: {\r\n argNames: [\"definitionId\", \"packageDefaultFilename\", \"packageTitle\", \"packageDescription\"],\r\n },\r\n publishDefinition: {\r\n argNames: [\"definitionId\"],\r\n },\r\n saveCollateral: {\r\n argNames: [\"workflowDefinitionId\", \"leafFileName\", \"fileContent\"],\r\n },\r\n validateActivity: {\r\n argNames: [\"activityXaml\"],\r\n },\r\n },\r\n \"SP.WorkflowServices.WorkflowInstanceService\": {\r\n enumerateInstancesForListItem: {\r\n argNames: [\"listId\", \"itemId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateInstancesForListItemWithOffset: {\r\n argNames: [\"listId\", \"itemId\", \"offset\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateInstancesForSite: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enumerateInstancesForSiteWithOffset: {\r\n argNames: [\"offset\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getInstance: {\r\n argNames: [\"instanceId\"],\r\n requestType: utils_1.RequestType.Get\r\n },\r\n query: {\r\n argNames: [\"oData\"],\r\n requestType: utils_1.RequestType.OData\r\n },\r\n startWorkflowOnListItemBySubscriptionId: {\r\n argNames: [\"subscriptionId\", \"itemId\", \"payload\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n }\r\n },\r\n \"SP.WorkflowServices.WorkflowMessagingService\": {\r\n publishEvent: {\r\n argNames: [\"eventSourceId\", \"eventName\", \"payload\"],\r\n },\r\n },\r\n \"SP.WorkflowServices.WorkflowServicesManager\": {\r\n getWorkflowDeploymentService: {},\r\n getWorkflowInstanceService: {},\r\n getWorkflowInteropService: {},\r\n getWorkflowSubscriptionService: {},\r\n isIntegratedApp: {},\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n },\r\n \"SP.WorkflowServices.WorkflowSubscription\": {\r\n getExternalVariable: {\r\n argNames: [\"name\"],\r\n },\r\n setExternalVariable: {\r\n argNames: [\"name\", \"value\"],\r\n },\r\n setProperty: {\r\n argNames: [\"name\", \"value\"],\r\n },\r\n },\r\n \"SP.WorkflowServices.WorkflowSubscription.Collection\": {\r\n query: { argNames: [\"oData\"], requestType: utils_1.RequestType.OData },\r\n sort: {},\r\n },\r\n \"SP.WorkflowServices.WorkflowSubscriptionService\": {\r\n deleteSubscription: {\r\n argNames: [\"subscriptionId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateSubscriptions: {\r\n requestType: utils_1.RequestType.Post\r\n },\r\n enumerateSubscriptionsByDefinition: {\r\n argNames: [\"definitionId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateSubscriptionsByEventSource: {\r\n argNames: [\"eventSourceId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateSubscriptionsByList: {\r\n argNames: [\"listId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateSubscriptionsByListAndParentContentType: {\r\n argNames: [\"listId\", \"parentContentTypeId\", \"includeNoContentTypeSpecified\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n enumerateSubscriptionsByListWithContentType: {\r\n argNames: [\"listId\", \"includeContentTypeSpecified\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n getSubscription: {\r\n argNames: [\"subscriptionId\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n query: {\r\n argNames: [\"oData\"],\r\n requestType: utils_1.RequestType.OData\r\n },\r\n registerInterestInHostWebList: {\r\n argNames: [\"listId\", \"eventName\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n registerInterestInList: {\r\n argNames: [\"listId\", \"eventName\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n unregisterInterestInHostWebList: {\r\n argNames: [\"listId\", \"eventName\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n },\r\n unregisterInterestInList: {\r\n argNames: [\"listId\", \"eventName\"],\r\n requestType: utils_1.RequestType.PostWithArgs\r\n }\r\n },\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/def.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/index.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/index.js ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// TO DO:\r\n// 1) Merge mapper files into mapper.ts file\r\n// 2) Reference the main mapper.ts during the merge, so the reference is still there\r\n// 3) Update the method adder helper function to reference the mapper using the raw metadata type, use old code as a backup\r\n// 4) Test if mapper files is still needed (Lots of testing here...), but references will ensure library won't break\r\n// 5) Remove the mapper files and code used as a backup\r\nvar Mapper_Custom = __webpack_require__(/*! ./custom */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/custom/index.js\");\r\nexports.Mapper_Custom = Mapper_Custom;\r\nvar def_1 = __webpack_require__(/*! ./def */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/def.js\");\r\nexports.Mapper = def_1.Mapper;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/rest.js":
/*!****************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/rest.js ***!
\****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Helper = __webpack_require__(/*! ./helper */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/helper/index.js\");\r\nvar Lib = __webpack_require__(/*! ./lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar sptypes_1 = __webpack_require__(/*! ./sptypes */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/index.js\");\r\n/**\r\n * SharePoint REST Library\r\n */\r\nexports.$REST = {\r\n __ver: 5.86,\r\n AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },\r\n Apps: Lib.Apps,\r\n ContextInfo: Lib.ContextInfo,\r\n DefaultRequestToHostFl: false,\r\n Graph: Lib.Graph,\r\n GroupService: Lib.GroupService,\r\n GroupSiteManager: Lib.GroupSiteManager,\r\n Helper: Helper,\r\n HubSites: Lib.HubSites,\r\n HubSitesUtility: Lib.HubSitesUtility,\r\n List: Lib.List,\r\n ListByEntityName: Lib.List.getByEntityName,\r\n ListDataAsStream: Lib.List.getDataAsStream,\r\n Navigation: Lib.Navigation,\r\n PeopleManager: Lib.PeopleManager,\r\n PeoplePicker: Lib.PeoplePicker,\r\n ProfileLoader: Lib.ProfileLoader,\r\n RemoteWeb: function (requestUrl) { return Lib.Web.getRemoteWeb(requestUrl); },\r\n Search: Lib.Search,\r\n Site: Lib.Site,\r\n SiteManager: Lib.SiteManager,\r\n SiteExists: function (url) { return Lib.Site.exists(url); },\r\n SiteUrl: function (id) { return Lib.Site.getUrlById(id); },\r\n SPTypes: sptypes_1.SPTypes,\r\n SocialFeed: Lib.SocialFeed,\r\n ThemeManager: Lib.ThemeManager,\r\n UserProfile: Lib.UserProfile,\r\n Utility: Lib.Utility,\r\n Web: Lib.Web,\r\n WorkflowInstanceService: Lib.WorkflowInstanceService,\r\n WorkflowSubscriptionService: Lib.WorkflowSubscriptionService\r\n};\r\n// See if the library doesn't exist, or is an older version\r\nvar global = Lib.ContextInfo.window.$REST;\r\nif (global == null || global.__ver == null || global.__ver < exports.$REST.__ver) {\r\n // Set the global variable\r\n Lib.ContextInfo.window.$REST = exports.$REST;\r\n // Ensure the SP lib exists\r\n if (Lib.ContextInfo.window.SP) {\r\n // If MDS is turned on in a SP2013 environment, it may throw an error\r\n try {\r\n // Alert other scripts this library is loaded\r\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest\");\r\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest.js\");\r\n }\r\n catch (_a) {\r\n // Log\r\n console.error(\"[gd-sprest] Error notifying scripts using the SP SOD library.\");\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/rest.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/index.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/index.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SPTypes = __webpack_require__(/*! ./sptypes */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/sptypes.js\");\r\nexports.SPTypes = SPTypes;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/sptypes.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/sptypes.js ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Base Permission Types\r\n */\r\nexports.BasePermissionTypes = {\r\n EmptyMask: 0,\r\n ViewListItems: 1,\r\n AddListItems: 2,\r\n EditListItems: 3,\r\n DeleteListItems: 4,\r\n ApproveItems: 5,\r\n OpenItems: 6,\r\n ViewVersions: 7,\r\n DeleteVersions: 8,\r\n CancelCheckout: 9,\r\n ManagePersonalViews: 10,\r\n ManageLists: 12,\r\n ViewFormPages: 13,\r\n AnonymousSearchAccessList: 14,\r\n Open: 17,\r\n ViewPages: 18,\r\n AddAndCustomizePages: 19,\r\n ApplyThemeAndBorder: 20,\r\n ApplyStyleSheets: 21,\r\n ViewUsageData: 22,\r\n CreateSSCSite: 23,\r\n ManageSubwebs: 24,\r\n CreateGroups: 25,\r\n ManagePermissions: 26,\r\n BrowseDirectories: 27,\r\n BrowseUserInfo: 28,\r\n AddDelPrivateWebParts: 29,\r\n UpdatePersonalWebParts: 30,\r\n ManageWeb: 31,\r\n AnonymousSearchAccessWebLists: 32,\r\n UseClientIntegration: 37,\r\n UseRemoteAPIs: 38,\r\n ManageAlerts: 39,\r\n CreateAlerts: 40,\r\n EditMyUserInfo: 41,\r\n EnumeratePermissions: 63,\r\n FullMask: 65\r\n};\r\n/**\r\n * Calendar Types\r\n */\r\nexports.CalendarTypes = {\r\n Gregorian: 1,\r\n JapaneseEmperorEra: 3,\r\n TaiwanCalendar: 4,\r\n KoreanTangunEra: 5,\r\n Hijri: 6,\r\n Thai: 7,\r\n HebrewLunar: 8,\r\n GregorianMiddleEastFrench: 9,\r\n GregorianArabic: 10,\r\n GregorianTransliteratedEnglish: 11,\r\n GregorianTransliteratedFrench: 12,\r\n KoreanandJapaneseLunar: 14,\r\n ChineseLunar: 15,\r\n SakaEra: 16\r\n};\r\n/**\r\n * Check Out Types\r\n */\r\nexports.CheckOutType = { Online: 0, Offline: 1, None: 2 };\r\n/**\r\n * Choice Format Types\r\n */\r\nexports.ChoiceFormatType = { Dropdown: 0, RadioButtons: 1 };\r\n/**\r\n * Client Template Utility\r\n */\r\nexports.ClientTemplatesUtility = {\r\n UserLookupDelimitString: \";#\",\r\n UserMultiValueDelimitString: \",#\"\r\n};\r\n/**\r\n * Control Modes\r\n */\r\nexports.ControlMode = {\r\n Invalid: 0,\r\n Display: 1,\r\n Edit: 2,\r\n New: 3,\r\n View: 4\r\n};\r\n/**\r\n * Date Format\r\n */\r\nexports.DateFormat = { DateOnly: 0, DateTime: 1 };\r\n/**\r\n * Draft Visibility Types\r\n */\r\nexports.DraftVisibilityType = { Reader: 0, Author: 1, Approver: 2 };\r\n/**\r\n * Event Receiver Synchronization Types\r\n */\r\nexports.EventReceiverSynchronizationType = { Synchronization: 1, Asynchronous: 2 };\r\n/**\r\n * Event Receiver Types\r\n */\r\nexports.EventReceiverType = {\r\n ItemAdding: 1,\r\n ItemUpdating: 2,\r\n ItemDeleting: 3,\r\n ItemCheckingIn: 4,\r\n ItemCheckingOut: 5,\r\n ItemUncheckingOut: 6,\r\n ItemAttachmentAdding: 7,\r\n ItemAttachmentDeleting: 8,\r\n ItemFileMoving: 9,\r\n ItemVersionDeleting: 11,\r\n FieldAdding: 101,\r\n FieldUpdating: 102,\r\n FieldDeleting: 103,\r\n ListAdding: 104,\r\n ListDeleting: 105,\r\n SiteDeleting: 201,\r\n WebDeleting: 202,\r\n WebMoving: 203,\r\n WebAdding: 204,\r\n GroupAdding: 301,\r\n GroupUpdating: 302,\r\n GroupDeleting: 303,\r\n GroupUserAdding: 304,\r\n GroupUserDeleting: 305,\r\n RoleDefinitionAdding: 306,\r\n RoleDefinitionUpdating: 307,\r\n RoleDefinitionDeleting: 308,\r\n RoleAssignmentAdding: 309,\r\n RoleAssignmentDeleting: 310,\r\n InheritanceBreaking: 311,\r\n InheritanceResetting: 312,\r\n WorkflowStarting: 501,\r\n ItemAdded: 10001,\r\n ItemUpdated: 10002,\r\n ItemDeleted: 10003,\r\n ItemCheckedIn: 10004,\r\n ItemCheckedOut: 10005,\r\n ItemUncheckedOut: 10006,\r\n ItemAttachmentAdded: 10007,\r\n ItemAttachmentDeleted: 10008,\r\n ItemFileMoved: 10009,\r\n ItemFileConverted: 10010,\r\n ItemVersionDeleted: 10011,\r\n FieldAdded: 10101,\r\n FieldUpdated: 10102,\r\n FieldDeleted: 10103,\r\n ListAdded: 10104,\r\n ListDeleted: 10105,\r\n SiteDeleted: 10201,\r\n WebDeleted: 10202,\r\n WebMoved: 10203,\r\n WebProvisioned: 10204,\r\n GroupAdded: 10301,\r\n GroupUpdated: 10302,\r\n GroupDeleted: 10303,\r\n GroupUserAdded: 10304,\r\n GroupUserDeleted: 10305,\r\n RoleDefinitionAdded: 10306,\r\n RoleDefinitionUpdated: 10307,\r\n RoleDefinitionDeleted: 10308,\r\n RoleAssignmentAdded: 10309,\r\n RoleAssignmentDeleted: 10310,\r\n InheritanceBroken: 10311,\r\n InheritanceReset: 10312,\r\n WorkflowStarted: 10501,\r\n WorkflowPostponed: 10502,\r\n WorkflowCompleted: 10503,\r\n EntityInstanceAdded: 10601,\r\n EntityInstanceUpdated: 10602,\r\n EntityInstanceDeleted: 10603,\r\n AppInstalled: 10701,\r\n AppUpgraded: 10702,\r\n AppUninstalling: 10703,\r\n EmailReceived: 20000,\r\n ContextEvent: 32766\r\n};\r\n/**\r\n * Field Note Types\r\n */\r\nexports.FieldNoteType = {\r\n /** Enhance Rich Text */\r\n EnhancedRichText: 0,\r\n /** Rich Text */\r\n RichText: 1,\r\n /** Text Only */\r\n TextOnly: 2\r\n};\r\n/**\r\n * Field Number Type\r\n */\r\nexports.FieldNumberType = {\r\n /** Decimal */\r\n Decimal: 0,\r\n /** Integer */\r\n Integer: 1,\r\n /** Percentage */\r\n Percentage: 2,\r\n};\r\n/**\r\n * Field Result Types\r\n */\r\nexports.FieldResultType = {\r\n /** Boolean */\r\n Boolean: \"Boolean\",\r\n /** Currency */\r\n Currency: \"Currency\",\r\n /** Date Only */\r\n DateOnly: \"DateOnly\",\r\n /** Date & Time */\r\n DateTime: \"DateTime\",\r\n /** Number */\r\n Number: \"Number\",\r\n /** Text */\r\n Text: \"Text\"\r\n};\r\n/**\r\n * Field Types\r\n */\r\nexports.FieldType = {\r\n AllDayEvent: 29,\r\n Attachments: 19,\r\n Boolean: 8,\r\n Calculated: 17,\r\n Choice: 6,\r\n Computed: 12,\r\n ContentTypeId: 25,\r\n Counter: 5,\r\n CrossProjectLink: 22,\r\n Currency: 10,\r\n DateTime: 4,\r\n Error: 24,\r\n File: 18,\r\n Geolocation: 31,\r\n GridChoice: 16,\r\n Guid: 14,\r\n Integer: 1,\r\n Invalid: 0,\r\n Lookup: 7,\r\n MaxItems: 31,\r\n ModStat: 23,\r\n MultiChoice: 15,\r\n Note: 3,\r\n Number: 9,\r\n PageSeparator: 26,\r\n Recurrence: 21,\r\n Text: 2,\r\n ThreadIndex: 27,\r\n Threading: 13,\r\n URL: 11,\r\n User: 20,\r\n WorkflowEventType: 30,\r\n WorkflowStatus: 28\r\n};\r\n/**\r\n * Field User Selection Types\r\n */\r\nexports.FieldUserSelectionType = { PeopleOnly: 0, PeopleAndGroups: 1 };\r\n/**\r\n * File Level\r\n */\r\nexports.FileLevelType = { Published: 1, Draft: 2, Checkout: 3 };\r\n/**\r\n * File Template Types\r\n*/\r\nexports.FileTemplateType = { StandardPage: 0, WikiPage: 1, FormPage: 2 };\r\n/**\r\n * Friendly Date Format\r\n */\r\nexports.FriendlyDateFormat = {\r\n Unspecified: 0,\r\n Disabled: 1,\r\n Relative: 2\r\n};\r\n/**\r\n * List Template Types\r\n*/\r\nexports.ListTemplateType = {\r\n AccessRequest: 160,\r\n AdminTasks: 1200,\r\n Agenda: 201,\r\n AppDataCatalog: 125,\r\n Announcements: 104,\r\n CallTrack: 404,\r\n Categories: 303,\r\n Circulation: 405,\r\n Comments: 302,\r\n Contacts: 105,\r\n CustomGrid: 120,\r\n DataConnectionLibrary: 130,\r\n DataSources: 110,\r\n Decision: 204,\r\n DesignCatalog: 124,\r\n DeveloperSiteDraftApps: 1230,\r\n DiscussionBoard: 108,\r\n DocumentLibrary: 101,\r\n Events: 106,\r\n ExternalList: 600,\r\n Facility: 402,\r\n GanttTasks: 150,\r\n GenericList: 100,\r\n HealthReports: 1221,\r\n HealthRules: 1220,\r\n HelpLibrary: 151,\r\n Holidays: 421,\r\n HomePageLibrary: 212,\r\n IMEDic: 499,\r\n IssueTracking: 1100,\r\n Links: 103,\r\n ListTemplateCatalog: 114,\r\n MasterPageCatalog: 116,\r\n MaintenanceLogs: 175,\r\n MeetingObjective: 207,\r\n Meetings: 200,\r\n MeetingUser: 202,\r\n MySiteDocumentLibrary: 700,\r\n Posts: 301,\r\n NoCodePublic: 122,\r\n NoCodeWorkflows: 117,\r\n PictureLibrary: 109,\r\n SolutionCatalog: 121,\r\n Survey: 102,\r\n Tasks: 107,\r\n TasksWithTimelineAndHierarchy: 171,\r\n TextBox: 210,\r\n ThemeCatalog: 123,\r\n ThingsToBring: 211,\r\n Timecard: 420,\r\n UserInformation: 112,\r\n WebPageLibrary: 119,\r\n WebPartCatalog: 113,\r\n WebTemplateCatalog: 111,\r\n Whereabouts: 403,\r\n WorkflowHistory: 140,\r\n WorkflowProcess: 118,\r\n XMLForm: 115\r\n};\r\n/**\r\n * Locale LCID Types\r\n */\r\nexports.LocaleLCIDType = {\r\n Afrikaans: 1078,\r\n Albanian: 1052,\r\n ArabicAlgeria: 5121,\r\n ArabicBahrain: 15361,\r\n ArabicEgypt: 3073,\r\n ArabicIraq: 2049,\r\n ArabicJordan: 11265,\r\n ArabicLebanon: 12289,\r\n ArabicLibya: 4097,\r\n ArabicMorocco: 6145,\r\n ArabicOman: 8193,\r\n ArabicQatar: 16385,\r\n ArabicSaudiArabia: 1025,\r\n ArabicSyria: 10241,\r\n ArabicTunisia: 7169,\r\n ArabicUAE: 14337,\r\n ArabicYemen: 9217,\r\n Armenian: 1067,\r\n AzeriCyrillic: 2092,\r\n AzeriLatin: 1068,\r\n Basque: 1069,\r\n Belarusian: 1059,\r\n Bulgarian: 1026,\r\n Catalan: 1027,\r\n ChineseHongKongSAR: 3076,\r\n ChineseMacaoSAR: 5124,\r\n ChinesePRC: 2052,\r\n ChineseSingapore: 4100,\r\n ChineseTaiwan: 1028,\r\n CroatianCroatia: 1050,\r\n Czech: 1029,\r\n Danish: 1030,\r\n Divehi: 1125,\r\n DutchBelgium: 2067,\r\n DutchNetherlands: 1043,\r\n EnglishAustralia: 3081,\r\n EnglishBelize: 10249,\r\n EnglishCanada: 4105,\r\n EnglishCaribbean: 9225,\r\n EnglishIreland: 6153,\r\n EnglishJamaica: 8201,\r\n EnglishNewZealand: 5129,\r\n EnglishPhilippines: 13321,\r\n EnglishSouthAfrica: 7177,\r\n EnglishTrinidad: 11273,\r\n EnglishUnitedKingdom: 2057,\r\n EnglishUnitedStates: 1033,\r\n EnglishZimbabwe: 12297,\r\n Estonian: 1061,\r\n Faeroese: 1080,\r\n Finnish: 1035,\r\n FrenchBelgium: 2060,\r\n FrenchCanada: 3084,\r\n FrenchFrance: 1036,\r\n FrenchLuxembourg: 5132,\r\n FrenchMonaco: 6156,\r\n FrenchSwitzerland: 4108,\r\n Galician: 1110,\r\n Georgian: 1079,\r\n GermanAustria: 3079,\r\n GermanGermany: 1031,\r\n GermanLiechtenstein: 5127,\r\n GermanLuxembourg: 4103,\r\n GermanSwitzerland: 2055,\r\n Greek: 1032,\r\n Gujarati: 1095,\r\n HebrewIsrael: 1037,\r\n HindiIndia: 1081,\r\n Hungarian: 1038,\r\n Icelandic: 1039,\r\n Indonesian: 1057,\r\n ItalianItaly: 1040,\r\n ItalianSwitzerland: 2064,\r\n Japanese: 1041,\r\n Kannada: 1099,\r\n Kazakh: 1087,\r\n Konkani: 1111,\r\n Korean: 1042,\r\n KyrgyzCyrillic: 1088,\r\n Latvian: 1062,\r\n Lithuanian: 1063,\r\n MacedonianFYROM: 1071,\r\n Malay: 1086,\r\n MalayBruneiDarussalam: 2110,\r\n Marathi: 1102,\r\n MongolianCyrillic: 1104,\r\n NorwegianBokmal: 1044,\r\n NorwegianNynorsk: 2068,\r\n PersianIran: 1065,\r\n Polish: 1045,\r\n PortugueseBrazil: 1046,\r\n PortuguesePortugal: 2070,\r\n Punjabi: 1094,\r\n Romanian: 1048,\r\n Russian: 1049,\r\n Sanskrit: 1103,\r\n SerbianCyrillic: 3098,\r\n SerbianLatin: 2074,\r\n Slovak: 1051,\r\n Slovenian: 1060,\r\n SpanishArgentina: 11274,\r\n SpanishBolivia: 16394,\r\n SpanishChile: 13322,\r\n SpanishColombia: 9226,\r\n SpanishCostaRica: 5130,\r\n SpanishDominicanRepublic: 7178,\r\n SpanishEcuador: 12298,\r\n SpanishElSalvador: 17418,\r\n SpanishGuatemala: 4106,\r\n SpanishHonduras: 18442,\r\n SpanishMexico: 2058,\r\n SpanishNicaragua: 19466,\r\n SpanishPanama: 6154,\r\n SpanishParaguay: 15370,\r\n SpanishPeru: 10250,\r\n SpanishPuertoRico: 20490,\r\n SpanishSpain: 3082,\r\n SpanishUruguay: 14346,\r\n SpanishVenezuela: 8202,\r\n Swahili: 1089,\r\n Swedish: 1053,\r\n SwedishFinland: 2077,\r\n Syriac: 1114,\r\n Tamil: 1097,\r\n Tatar: 1092,\r\n Telugu: 1098,\r\n ThaiThailand: 1054,\r\n Turkish: 1055,\r\n Ukrainian: 1058,\r\n UrduPakistan: 1056,\r\n UzbekCyrillic: 2115,\r\n UzbekLatin: 1091,\r\n Vietnamese: 1066,\r\n};\r\n/**\r\n * Modal Dialog Results\r\n */\r\nexports.ModalDialogResult = {\r\n Invalid: -1,\r\n Cancel: 0,\r\n OK: 1\r\n};\r\n/**\r\n * Page Types\r\n */\r\nexports.PageType = {\r\n DefaultView: 0,\r\n DialogView: 2,\r\n DisplayForm: 4,\r\n DisplayFormDialog: 5,\r\n EditForm: 6,\r\n EditFormDialog: 7,\r\n Invalid: -1,\r\n NewForm: 8,\r\n NewFormDialog: 9,\r\n NormalView: 1,\r\n Page_MAXITEMS: 11,\r\n SolutionForm: 10,\r\n View: 3\r\n};\r\n/**\r\n * Personalization Scope\r\n */\r\nexports.PersonalizationScope = {\r\n Shared: 1,\r\n User: 0\r\n};\r\n/**\r\n * Personal Site Capabilities\r\n */\r\nexports.PersonalSiteCapabilities = {\r\n Education: 16,\r\n Guest: 32,\r\n MyTasksDashboard: 8,\r\n None: 0,\r\n Profile: 1,\r\n Social: 2,\r\n Storage: 4\r\n};\r\n/**\r\n * Principal Sources\r\n */\r\nexports.PrincipalSources = {\r\n All: 15,\r\n MembershipProvider: 4,\r\n None: 0,\r\n RoleProvider: 8,\r\n UserInfoList: 1,\r\n Windows: 2\r\n};\r\n/**\r\n * Principal Types\r\n */\r\nexports.PrincipalTypes = {\r\n All: 15,\r\n DistributionList: 2,\r\n None: 0,\r\n SecurityGroup: 4,\r\n SharePointGroup: 8,\r\n User: 1\r\n};\r\n/**\r\n * Relationship Delete Behavior Types\r\n */\r\nexports.RelationshipDeleteBehaviorType = { None: 0, Cascade: 1, Restrict: 2 };\r\n/**\r\n * Render List Data Options\r\n */\r\nexports.RenderListDataOptions = {\r\n None: 0,\r\n ContextInfo: 1,\r\n ListData: 2,\r\n ListSchema: 4,\r\n MenuView: 8,\r\n ListContentType: 16,\r\n FileSystemItemId: 32,\r\n ClientFormSchema: 64,\r\n QuickLaunch: 128,\r\n Spotlight: 256,\r\n Visualization: 512,\r\n ViewMetadata: 1024,\r\n DisableAutoHyperlink: 2048,\r\n EnableMediaTAUrls: 4096,\r\n ParentInfo: 8192,\r\n PageContextInfo: 16384,\r\n ClientSideComponentManifest: 32768\r\n};\r\n/**\r\n * Reordering Rule Match Types\r\n */\r\nexports.ReorderingRuleMatchType = {\r\n ContentTypeIs: 5,\r\n FileExtensionMatches: 6,\r\n ManualCondition: 8,\r\n ResultContainsKeyword: 0,\r\n ResultHasTag: 7,\r\n TitleContainsKeyword: 1,\r\n TitleMatchesKeyword: 2,\r\n UrlExactlyMatches: 4,\r\n UrlStartsWith: 3\r\n};\r\n/**\r\n * Role Types\r\n */\r\nexports.RoleType = {\r\n Administrator: 5,\r\n Contributor: 3,\r\n Editor: 6,\r\n Guest: 1,\r\n None: 0,\r\n Reader: 2,\r\n WebDesigner: 4\r\n};\r\n/**\r\n * Status Pri Color\r\n */\r\nexports.StatusPriColor = {\r\n Blue: \"blue\",\r\n Green: \"green\",\r\n Red: \"red\",\r\n Yellow: \"yellow\"\r\n};\r\n/**\r\n * URL Format Types\r\n */\r\nexports.UrlFormatType = { Hyperlink: 0, Image: 1 };\r\n/**\r\n * URL Zones\r\n */\r\nexports.URLZones = { Default: 0, Intranet: 1, Internet: 2, Custom: 3, Extranet: 4 };\r\n/**\r\n * User Custom Action Registration Types\r\n */\r\nexports.UserCustomActionRegistrationType = { None: 0, List: 1, ContentType: 2, ProgId: 3, FileType: 4 };\r\n/**\r\n * View Types\r\n */\r\nexports.ViewType = {\r\n Calendar: 524288,\r\n Chart: 131072,\r\n Gantt: 67108864,\r\n Grid: 2048,\r\n Html: 1,\r\n Recurrence: 8193\r\n};\r\n/**\r\n * Web Template Types\r\n */\r\nexports.WebTemplateType = {\r\n AcademicLibrary: \"DOCMARKETPLACESITE\",\r\n App: \"APP\",\r\n AppCatalog: \"APPCATALOG\",\r\n BasicSearch: \"SRCHCENTERLITE\",\r\n Blog: \"BLOG\",\r\n BusinessIntelligenceCenter: \"BICenterSite\",\r\n CentralAdmin: \"CENTRALADMIN\",\r\n Community: \"COMMUNITY\",\r\n CommunityPortal: \"COMMUNITYPORTAL\",\r\n Dev: \"DEV\",\r\n DocumentCenter: \"BDR\",\r\n eDiscoveryCenter: \"EDISC\",\r\n EnterpriseSearch: \"SRCHCEN\",\r\n EnterpriseWiki: \"ENTERWIKI\",\r\n Global: \"GLOBAL\",\r\n GroupWorkSite: \"SGS\",\r\n Meetings: \"MEETINGS\",\r\n MeetingWorkspace: \"MPS\",\r\n PerformancePoint: \"PPMASite\",\r\n ProductCatalog: \"PRODUCTCATALOG\",\r\n Profiles: \"PROFILES\",\r\n ProjectSite: \"PROJECTSITE\",\r\n Publishing: \"BLANKINTERNET\",\r\n PublishingSite: \"CMSPUBLISHING\",\r\n RecordsCenter: \"OFFILE\",\r\n SharedServicesAdminSite: \"OSRV\",\r\n Site: \"STS\",\r\n TeamCollaborationSite: \"TEAM\",\r\n TenantAdmin: \"TENANTADMIN\",\r\n Wiki: \"WIKI\"\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/sptypes/sptypes.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/base.js":
/*!**********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/base.js ***!
\**********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/*********************************************************************************************************************************/\r\n// Base\r\n// This is the base class for all objects.\r\n/*********************************************************************************************************************************/\r\nvar Base = /** @class */ (function () {\r\n /**\r\n * Constructor\r\n * @param targetInfo - The target information.\r\n */\r\n function Base(targetInfo) {\r\n // Default the properties\r\n this.targetInfo = Object.create(targetInfo || {});\r\n this.responses = [];\r\n this.requestType = 0;\r\n this.waitFlags = [];\r\n }\r\n // Method to update the object functions, based on the type\r\n Base.prototype.addMethods = function (data, context) { return _1.Request.addMethods(this, data, context); };\r\n // Method to execute this request as a batch request\r\n Base.prototype.batch = function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n return _1.Batch.execute(this, args);\r\n };\r\n // Method to wait for the requests to complete\r\n Base.prototype.done = function (resolve) { return _1.Helper.done(this, resolve); };\r\n // Method to execute the request\r\n Base.prototype.execute = function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n return _1.Request.execute(this, args);\r\n };\r\n // Method to execute a method\r\n Base.prototype.executeMethod = function (methodName, methodConfig, args) { return _1.Helper.executeMethod(this, methodName, methodConfig, args); };\r\n // Method to execute the request synchronously\r\n Base.prototype.executeAndWait = function () { return _1.Request.executeRequest(this, false); };\r\n // Method to return a collection\r\n Base.prototype.getCollection = function (method, args) { return _1.Helper.getCollection(this, method, args); };\r\n // Method to get the request information\r\n Base.prototype.getInfo = function () { return _1.Helper.getRequestInfo(this); };\r\n // Method to get the next set of results\r\n Base.prototype.getNextSetOfResults = function () { return _1.Helper.getNextSetOfResults(this); };\r\n // Method to return a property of the base object\r\n Base.prototype.getProperty = function (propertyName, requestType) { return _1.Helper.getProperty(this, propertyName, requestType); };\r\n // Method to stringify the object\r\n Base.prototype.stringify = function () { return _1.Helper.stringify(this); };\r\n // Method to update the metadata uri\r\n Base.prototype.updateMetadataUri = function (metadata, targetInfo) { return _1.Helper.updateMetadataUri(this, metadata, targetInfo); };\r\n // Method to wait for the parent requests to complete\r\n Base.prototype.waitForRequestsToComplete = function (callback, requestIdx) { _1.Request.waitForRequestsToComplete(this, callback, requestIdx); };\r\n return Base;\r\n}());\r\nexports.Base = Base;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/base.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/batch.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/batch.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Batch Requests\r\n */\r\nvar Batch = /** @class */ (function () {\r\n function Batch() {\r\n }\r\n // Method to execute a batch request\r\n Batch.execute = function (base, args) {\r\n var appendFl = false;\r\n var callback = null;\r\n // Parse the arguments\r\n for (var i = 0; i < args.length; i++) {\r\n var arg = args[i];\r\n // Check the type\r\n switch (typeof (arg)) {\r\n case \"boolean\":\r\n // Set the append flag\r\n appendFl = arg;\r\n break;\r\n case \"function\":\r\n // Set the callback method\r\n callback = arg;\r\n break;\r\n }\r\n }\r\n // Set the base\r\n base.base = base.base ? base.base : base;\r\n // See if we are appending this request\r\n if (appendFl && base.base.batchRequests) {\r\n // Append the request\r\n base.base.batchRequests[base.base.batchRequests.length - 1].push({\r\n callback: callback,\r\n targetInfo: new _1.TargetInfo(base.targetInfo)\r\n });\r\n }\r\n else {\r\n // Ensure the batch requests exist\r\n base.base.batchRequests = base.base.batchRequests || [];\r\n // Create the request\r\n base.base.batchRequests.push([{\r\n callback: callback,\r\n targetInfo: new _1.TargetInfo(base.targetInfo)\r\n }]);\r\n }\r\n // Return this object\r\n return base;\r\n };\r\n // Method to generate a batch request\r\n Batch.getTargetInfo = function (requests) {\r\n var batchId = \"batch_\" + lib_1.ContextInfo.generateGUID();\r\n var batchRequests = [];\r\n // Parse the requests\r\n for (var i = 0; i < requests.length; i++) {\r\n // Create the batch request\r\n batchRequests.push(Batch.createBatch(batchId, requests[i]));\r\n }\r\n // End the batch request\r\n batchRequests.push(\"--\" + batchId + \"--\");\r\n // Return the target info\r\n return new _1.TargetInfo({\r\n endpoint: \"$batch\",\r\n method: \"POST\",\r\n data: batchRequests.join(\"\\r\\n\"),\r\n requestHeader: {\r\n \"Content-Type\": 'multipart/mixed; boundary=\"' + batchId + '\"'\r\n }\r\n });\r\n };\r\n // Method to generate a batch request\r\n Batch.createBatch = function (batchId, requests) {\r\n // Create the batch request\r\n var batch = [\"--\" + batchId];\r\n // Determine if the batch requires a change set\r\n var requiresChangeset = requests[0] && requests[0].targetInfo.requestMethod != \"GET\";\r\n if (requiresChangeset) {\r\n var changesets = [];\r\n var changesetId = \"changeset_\" + lib_1.ContextInfo.generateGUID();\r\n // Parse the requests\r\n for (var i = 0; i < requests.length; i++) {\r\n var request = [];\r\n var targetInfo = requests[i].targetInfo;\r\n // Create a change set\r\n request.push(\"--\" + changesetId);\r\n request.push(\"Content-Type: application/http\");\r\n request.push(\"Content-Transfer-Encoding: binary\");\r\n request.push(\"\");\r\n request.push(\"POST \" + targetInfo.requestUrl + \" HTTP/1.1\");\r\n request.push(\"Content-Type: application/json;odata=verbose\");\r\n request.push(\"\");\r\n targetInfo.requestData ? request.push(targetInfo.requestData) : null;\r\n request.push(\"\");\r\n // Add the request to the change set\r\n changesets.push(request.join(\"\\r\\n\"));\r\n }\r\n // End the change set\r\n changesets.push(\"--\" + changesetId + \"--\");\r\n // Generate the change set\r\n var changeset = changesets.join(\"\\r\\n\");\r\n // Add the change set information to the batch\r\n batch.push(\"Content-Type: multipart/mixed; boundary=\" + changesetId);\r\n batch.push(\"Content-Length: \" + changeset.length);\r\n batch.push(\"Content-Transfer-Encoding: binary\");\r\n batch.push(\"\");\r\n batch.push(changeset);\r\n batch.push(\"\");\r\n }\r\n // Else, ensure a request exists\r\n else if (requests[0]) {\r\n var targetInfo = requests[0].targetInfo;\r\n // Add the request to the batch\r\n batch.push(\"Content-Type: application/http\");\r\n batch.push(\"Content-Transfer-Encoding: binary\");\r\n batch.push(\"\");\r\n batch.push(\"GET \" + targetInfo.requestUrl + \" HTTP/1.1\");\r\n batch.push(\"Accept: application/json;odata=verbose\");\r\n batch.push(\"\");\r\n targetInfo.requestData ? batch.push(targetInfo.requestData) : null;\r\n batch.push(\"\");\r\n }\r\n // Return the batch request\r\n return batch.join(\"\\r\\n\");\r\n };\r\n return Batch;\r\n}());\r\nexports.Batch = Batch;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/batch.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/helper.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/helper.js ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\nvar xhrRequest_1 = __webpack_require__(/*! ./xhrRequest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js\");\r\n/**\r\n * Request Helper\r\n */\r\nexports.Helper = {\r\n // Method to add the base references\r\n addBaseMethods: function (base, obj) {\r\n // Add the base references\r\n obj[\"addMethods\"] = base.addMethods;\r\n obj[\"base\"] = base.base;\r\n obj[\"done\"] = base.done;\r\n obj[\"execute\"] = base.execute;\r\n obj[\"executeAndWait\"] = base.executeAndWait;\r\n obj[\"executeMethod\"] = base.executeMethod;\r\n obj[\"existsFl\"] = true;\r\n obj[\"getCollection\"] = base.getCollection;\r\n obj[\"getProperty\"] = base.getProperty;\r\n obj[\"parent\"] = base;\r\n obj[\"targetInfo\"] = base.targetInfo;\r\n obj[\"updateMetadataUri\"] = base.updateMetadataUri;\r\n obj[\"waitForRequestsToComplete\"] = base.waitForRequestsToComplete;\r\n },\r\n // Method to wait for all requests to complete, before resolving the request\r\n done: function (base, resolve) {\r\n // Ensure the base is set\r\n base.base = base.base ? base.base : base;\r\n // Ensure the response index is set\r\n base.responseIndex = base.responseIndex >= 0 ? base.responseIndex : 0;\r\n // Wait for the responses to execute\r\n _1.Request.waitForRequestsToComplete(base, function () {\r\n var responses = base.base.responses;\r\n // Clear the responses\r\n base.base.responses = [];\r\n // Clear the wait flags\r\n base.base.waitFlags = [];\r\n // Resolve the request\r\n resolve ? resolve.apply(base, responses) : null;\r\n });\r\n },\r\n // Method to execute a method\r\n executeMethod: function (base, methodName, methodConfig, args) {\r\n var targetInfo = null;\r\n // See if the metadata is defined for the base object\r\n var metadata = base[\"d\"] ? base[\"d\"].__metadata : base[\"__metadata\"];\r\n if (metadata && metadata.uri) {\r\n // Create the target information and use the url defined for the base object\r\n targetInfo = {\r\n url: metadata.uri\r\n };\r\n // See if we are inheriting the metadata type\r\n if (methodConfig.inheritMetadataType && metadata.type) {\r\n // Copy the metadata type\r\n methodConfig.metadataType = metadata.type;\r\n }\r\n // Update the metadata uri\r\n exports.Helper.updateMetadataUri(base, metadata, targetInfo);\r\n }\r\n else {\r\n // Copy the target information\r\n targetInfo = Object.create(base.targetInfo);\r\n }\r\n // Get the method information\r\n var methodInfo = new _1.MethodInfo(methodName, methodConfig, args);\r\n // Update the target information\r\n targetInfo.bufferFl = methodConfig.requestType == _1.RequestType.GetBuffer;\r\n targetInfo.data = methodInfo.body;\r\n targetInfo.defaultToWebFl = typeof (targetInfo.defaultToWebFl) === \"undefined\" && base.base ? base.base.targetInfo.defaultToWebFl : targetInfo.defaultToWebFl;\r\n targetInfo.method = methodInfo.requestMethod;\r\n targetInfo.requestDigest = typeof (targetInfo.requestDigest) === \"undefined\" && base.base && base.base.targetInfo.requestDigest ? base.base.targetInfo.requestDigest : targetInfo.requestDigest;\r\n targetInfo.requestType = methodConfig.requestType;\r\n // See if we are replacing the endpoint\r\n if (methodInfo.replaceEndpointFl) {\r\n // Replace the endpoint\r\n targetInfo.endpoint = methodInfo.url;\r\n }\r\n // Else, ensure the method url exists\r\n else if (methodInfo.url && methodInfo.url.length > 0) {\r\n // Ensure the end point exists\r\n targetInfo.endpoint = targetInfo.endpoint ? targetInfo.endpoint : \"\";\r\n // See if the endpoint exists, and the method is not a query string\r\n if (targetInfo.endpoint && methodInfo.url && methodInfo.url.indexOf(\"?\") != 0) {\r\n // Add a \"/\" separator to the url\r\n targetInfo.endpoint += \"/\";\r\n }\r\n // Append the url\r\n targetInfo.endpoint += methodInfo.url;\r\n }\r\n // Create a new object\r\n var obj = new _1.Base(targetInfo);\r\n // Set the properties\r\n obj.base = base.base ? base.base : base;\r\n obj.getAllItemsFl = methodInfo.getAllItemsFl;\r\n obj.parent = base;\r\n obj.requestType = methodConfig.requestType;\r\n // Ensure the return type exists\r\n if (methodConfig.returnType) {\r\n // Add the methods\r\n _1.Request.addMethods(obj, { __metadata: { type: methodConfig.returnType } });\r\n }\r\n // Return the object\r\n return obj;\r\n },\r\n // Method to return a collection\r\n getCollection: function (base, method, args) {\r\n // Copy the target information\r\n var targetInfo = Object.create(base.targetInfo);\r\n // Clear the target information properties from any previous requests\r\n targetInfo.data = null;\r\n targetInfo.method = null;\r\n // See if the metadata is defined for the base object\r\n var metadata = base[\"d\"] ? base[\"d\"].__metadata : base[\"__metadata\"];\r\n if (metadata && metadata.uri) {\r\n // Update the url of the target information\r\n targetInfo.url = metadata.uri;\r\n // Update the metadata uri\r\n exports.Helper.updateMetadataUri(base, metadata, targetInfo);\r\n // Set the endpoint\r\n targetInfo.endpoint = method;\r\n }\r\n else {\r\n // Append the method to the endpoint\r\n targetInfo.endpoint += \"/\" + method;\r\n }\r\n // Update the callback\r\n targetInfo.callback = args && typeof (args[0]) === \"function\" ? args[0] : null;\r\n // Create a new object\r\n var obj = new _1.Base(targetInfo);\r\n // Set the properties\r\n obj.base = base.base ? base.base : base;\r\n obj.parent = base;\r\n // Return the object\r\n return obj;\r\n },\r\n // Method to get the next set of results\r\n getNextSetOfResults: function (base) {\r\n // Create the target information to query the next set of results\r\n var targetInfo = Object.create(base.targetInfo);\r\n targetInfo.endpoint = \"\";\r\n targetInfo.url = base[\"d\"].__next;\r\n // Create a new object\r\n var obj = new _1.Base(targetInfo);\r\n // Set the properties\r\n obj.base = base.base ? base.base : base;\r\n obj.parent = base;\r\n // Return the object\r\n return obj;\r\n },\r\n // Method to return a property of the base object\r\n getProperty: function (base, propertyName, requestType) {\r\n // Copy the target information\r\n var targetInfo = Object.create(base.targetInfo);\r\n // See if this is a graph request\r\n if (requestType.indexOf(\"graph\") == 0) {\r\n // Default the request type\r\n targetInfo.requestType = _1.RequestType.GraphGet;\r\n }\r\n // Clear the target information properties from any previous requests\r\n targetInfo.data = null;\r\n targetInfo.method = null;\r\n // See if the metadata is defined for the base object\r\n var metadata = base[\"d\"] ? base[\"d\"].__metadata : base[\"__metadata\"];\r\n if (metadata && metadata.uri) {\r\n // Update the url of the target information\r\n targetInfo.url = metadata.uri;\r\n // Update the metadata uri\r\n exports.Helper.updateMetadataUri(base, metadata, targetInfo);\r\n // Set the endpoint\r\n targetInfo.endpoint = propertyName;\r\n }\r\n else {\r\n // Append the property name to the endpoint\r\n targetInfo.endpoint += \"/\" + propertyName;\r\n }\r\n // Create a new object\r\n var obj = new _1.Base(targetInfo);\r\n // Set the properties\r\n obj.base = base.base ? base.base : base;\r\n obj.parent = base;\r\n // Add the methods\r\n requestType ? _1.Request.addMethods(obj, { __metadata: { type: requestType } }) : null;\r\n // Return the object\r\n return obj;\r\n },\r\n // Method to get the request information\r\n getRequestInfo: function (base) {\r\n // Create the request, but don't execute it\r\n var xhr = new xhrRequest_1.XHRRequest(true, new _1.TargetInfo(base.targetInfo), null, false);\r\n // Return the request information\r\n return xhr.requestInfo;\r\n },\r\n // Method to stringify the object\r\n stringify: function (base) {\r\n // Stringify the object\r\n return JSON.stringify({\r\n response: base.response,\r\n status: base.status,\r\n targetInfo: {\r\n accessToken: base.targetInfo.accessToken,\r\n bufferFl: base.targetInfo.bufferFl,\r\n defaultToWebFl: base.targetInfo.defaultToWebFl,\r\n endpoint: base.targetInfo.endpoint,\r\n method: base.targetInfo.method,\r\n overrideDefaultRequestToHostFl: base.targetInfo.overrideDefaultRequestToHostFl,\r\n requestDigest: base.targetInfo.requestDigest,\r\n requestHeader: base.targetInfo.requestHeader,\r\n requestInfo: base.targetInfo.requestInfo,\r\n requestType: base.targetInfo.requestType,\r\n url: base.targetInfo.url\r\n }\r\n });\r\n },\r\n // Method to update a collection object\r\n updateDataCollection: function (obj, results) {\r\n // Ensure the base is a collection\r\n if (results) {\r\n // Save the results\r\n obj[\"results\"] = obj[\"results\"] ? obj[\"results\"].concat(results) : results;\r\n // See if only one object exists\r\n if (obj[\"results\"].length > 0) {\r\n var results_2 = obj[\"results\"];\r\n // Parse the results\r\n for (var _i = 0, results_1 = results_2; _i < results_1.length; _i++) {\r\n var result = results_1[_i];\r\n // Add the base methods\r\n exports.Helper.addBaseMethods(obj, result);\r\n // Update the metadata\r\n exports.Helper.updateMetadata(obj, result);\r\n // Add the methods\r\n _1.Request.addMethods(result, result);\r\n }\r\n }\r\n }\r\n },\r\n // Method to update the expanded properties\r\n updateExpandedProperties: function (base) {\r\n // Ensure this is an OData request\r\n if (base[\"results\"] == null || base.requestType != _1.RequestType.OData) {\r\n return;\r\n }\r\n // Parse the results\r\n for (var i = 0; i < base[\"results\"].length; i++) {\r\n var result = base[\"results\"][i];\r\n // Parse the properties\r\n for (var key in result) {\r\n var prop = result[key];\r\n // See if this property was expanded\r\n if (prop && prop[\"__metadata\"]) {\r\n // Add the base methods\r\n exports.Helper.addBaseMethods(result, prop);\r\n // Update the metadata\r\n exports.Helper.updateMetadata(result, prop);\r\n // Add the methods\r\n _1.Request.addMethods(prop, prop);\r\n }\r\n }\r\n }\r\n },\r\n // Method to update the metadata\r\n updateMetadata: function (base, data) {\r\n // See if this is the app web\r\n if (lib_1.ContextInfo.isAppWeb) {\r\n // Get the url information\r\n var hostUrl = lib_1.ContextInfo.webAbsoluteUrl.toLowerCase();\r\n var requestUrl = data && data.__metadata && data.__metadata.uri ? data.__metadata.uri.toLowerCase() : null;\r\n var targetUrl = base.targetInfo && base.targetInfo.url ? base.targetInfo.url.toLowerCase() : null;\r\n // Ensure the urls exist\r\n if (hostUrl == null || requestUrl == null || targetUrl == null) {\r\n return;\r\n }\r\n // See if we need to make an update\r\n if (targetUrl.indexOf(hostUrl) == 0) {\r\n return;\r\n }\r\n // Update the metadata uri\r\n data.__metadata.uri = requestUrl.replace(hostUrl, targetUrl);\r\n }\r\n // See if this is a webpart definition\r\n if (data.__metadata && /SP.WebParts.WebPartDefinition/.test(data.__metadata.type)) {\r\n // Update the metadata uri\r\n data.__metadata.uri = data.__metadata.uri.replace(/SP.WebParts.WebPartDefinition/, base.targetInfo.endpoint + \"/getById('\") + \"')\";\r\n }\r\n },\r\n // Method to update the metadata uri\r\n updateMetadataUri: function (base, metadata, targetInfo) {\r\n // See if this is a field\r\n if (/^SP.Field/.test(metadata.type) || /^SP\\..*Field$/.test(metadata.type)) {\r\n // Fix the url reference\r\n targetInfo.url = targetInfo.url.replace(/AvailableFields/, \"fields\");\r\n }\r\n // Else, see if this is an event receiver\r\n else if (/SP.EventReceiverDefinition/.test(metadata.type)) {\r\n // Fix the url reference\r\n targetInfo.url = targetInfo.url.replace(/\\/EventReceiver\\//, \"/EventReceivers/\");\r\n }\r\n // Else, see if this is a tenant app\r\n else if (/Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata/.test(targetInfo.url)) {\r\n // Fix the url reference\r\n targetInfo.url = targetInfo.url.split(\"Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata\")[0] + \"web/tenantappcatalog/availableapps/getbyid('\" + base[\"ID\"] + \"')\";\r\n }\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/helper.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(/*! ./requestType */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/requestType.js\"));\r\n__export(__webpack_require__(/*! ./helper */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/helper.js\"));\r\n__export(__webpack_require__(/*! ./base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/base.js\"));\r\n__export(__webpack_require__(/*! ./batch */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/batch.js\"));\r\n__export(__webpack_require__(/*! ./methodInfo */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/methodInfo.js\"));\r\n__export(__webpack_require__(/*! ./oData */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/oData.js\"));\r\n__export(__webpack_require__(/*! ./request */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/request.js\"));\r\n__export(__webpack_require__(/*! ./targetInfo */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/targetInfo.js\"));\r\n__export(__webpack_require__(/*! ./xhrRequest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js\"));\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/methodInfo.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/methodInfo.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/*********************************************************************************************************************************/\r\n// Method Information\r\n// This class will create the method information for the request.\r\n/*********************************************************************************************************************************/\r\nvar MethodInfo = /** @class */ (function () {\r\n /*********************************************************************************************************************************/\r\n // Constructor\r\n /*********************************************************************************************************************************/\r\n function MethodInfo(methodName, methodInfo, args) {\r\n // Default the properties\r\n this.methodInfo = methodInfo;\r\n this.methodInfo.argValues = args;\r\n this.methodInfo.name = typeof (this.methodInfo.name) === \"string\" ? this.methodInfo.name : methodName;\r\n // Generate the parameters\r\n this.generateParams();\r\n // Generate the url\r\n this.methodUrl = this.generateUrl();\r\n }\r\n Object.defineProperty(MethodInfo.prototype, \"body\", {\r\n /*********************************************************************************************************************************/\r\n // Public Properties\r\n /*********************************************************************************************************************************/\r\n // The data passed through the body of the request\r\n get: function () { return this.methodData; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"getAllItemsFl\", {\r\n // Flag to determine if we are getting all items\r\n get: function () { return this.methodInfo.getAllItemsFl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"replaceEndpointFl\", {\r\n // Flag to determine if this method replaces the endpoint\r\n get: function () { return this.methodInfo.replaceEndpointFl ? true : false; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"requestMethod\", {\r\n // The request method\r\n get: function () {\r\n // Return the request method if it exists\r\n if (typeof (this.methodInfo.requestMethod) === \"string\") {\r\n return this.methodInfo.requestMethod;\r\n }\r\n // Determine the request method, based on the request type\r\n switch (this.methodInfo.requestType) {\r\n case _1.RequestType.Delete:\r\n case _1.RequestType.Post:\r\n case _1.RequestType.PostBodyNoArgs:\r\n case _1.RequestType.PostWithArgs:\r\n case _1.RequestType.PostWithArgsAndData:\r\n case _1.RequestType.PostWithArgsInBody:\r\n case _1.RequestType.PostWithArgsInQS:\r\n case _1.RequestType.PostWithArgsInQSAsVar:\r\n case _1.RequestType.PostWithArgsValueOnly:\r\n case _1.RequestType.PostReplace:\r\n return \"POST\";\r\n default:\r\n return \"GET\";\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"url\", {\r\n // The url of the method and parameters\r\n get: function () { return this.methodUrl; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"passDataInBody\", {\r\n /*********************************************************************************************************************************/\r\n // Private Variables\r\n /*********************************************************************************************************************************/\r\n get: function () { return this.methodInfo.requestType == _1.RequestType.GetWithArgsInBody || this.methodInfo.requestType == _1.RequestType.PostBodyNoArgs || this.methodInfo.requestType == _1.RequestType.PostWithArgsInBody; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"passDataInQS\", {\r\n get: function () { return this.methodInfo.requestType == _1.RequestType.GetWithArgsInQS || this.methodInfo.requestType == _1.RequestType.PostWithArgsInQS; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"passDataInQSAsVar\", {\r\n get: function () { return this.methodInfo.requestType == _1.RequestType.GetWithArgsInQSAsVar || this.methodInfo.requestType == _1.RequestType.PostWithArgsInQSAsVar; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"isTemplate\", {\r\n get: function () { return this.methodInfo.data ? true : false; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(MethodInfo.prototype, \"replace\", {\r\n get: function () { return this.methodInfo.requestType == _1.RequestType.GetReplace || this.methodInfo.requestType == _1.RequestType.PostReplace; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /*********************************************************************************************************************************/\r\n // Private Methods\r\n /*********************************************************************************************************************************/\r\n // Method to generate the method input parameters\r\n MethodInfo.prototype.generateParams = function () {\r\n var maxArgNames = 0;\r\n var params = {};\r\n // Ensure values exist\r\n if (this.methodInfo.argValues == null) {\r\n return;\r\n }\r\n // See if the argument names exist\r\n if (this.methodInfo.argNames) {\r\n // Set the max arguments\r\n maxArgNames = this.methodInfo.argNames.length -\r\n (this.methodInfo.requestType == _1.RequestType.PostWithArgsAndData || this.methodInfo.requestType == _1.RequestType.PostReplaceWithData ? 1 : 0);\r\n // Parse the argument names\r\n for (var i = 0; i < maxArgNames && i < this.methodInfo.argValues.length; i++) {\r\n var name_1 = this.methodInfo.argNames[i];\r\n var value = this.methodInfo.argValues[i];\r\n // Copy the parameter value\r\n switch (typeof (this.methodInfo.argValues[i])) {\r\n case \"boolean\":\r\n params[name_1] = this.methodInfo.argValues[i] ? \"true\" : \"false\";\r\n break;\r\n case \"number\":\r\n params[name_1] = this.methodInfo.argValues[i];\r\n break;\r\n //case \"string\":\r\n //params[name] = this.isTemplate || this.replace ? value : \"'\" + value + \"'\";\r\n //break;\r\n default:\r\n params[name_1] = value;\r\n break;\r\n }\r\n }\r\n }\r\n // See if the method has parameters\r\n var isEmpty = true;\r\n for (var k in params) {\r\n isEmpty = false;\r\n break;\r\n }\r\n this.methodParams = isEmpty ? null : params;\r\n // See if method parameters exist\r\n if (this.methodParams) {\r\n // See if a template is defined for the method data\r\n if (this.isTemplate) {\r\n // Ensure the object is a string\r\n if (typeof (this.methodInfo.data) !== \"string\") {\r\n // Stringify the object\r\n this.methodInfo.data = JSON.stringify(this.methodInfo.data);\r\n }\r\n // Parse the arguments\r\n for (var key in this.methodParams) {\r\n // Replace the argument in the template\r\n this.methodInfo.data = this.methodInfo.data.replace(\"[[\" + key + \"]]\", this.methodParams[key].replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\"));\r\n }\r\n // Set the method data\r\n this.methodData = JSON.parse(this.methodInfo.data);\r\n }\r\n }\r\n // See if argument values exist\r\n if (this.methodInfo.argValues && this.methodInfo.argValues.length > 0) {\r\n // See if argument names exist\r\n if (this.methodInfo.argNames == null || this.methodInfo.requestType == _1.RequestType.PostBodyNoArgs) {\r\n // Set the method data to first argument value\r\n this.methodData = this.methodInfo.argValues[0];\r\n }\r\n // Else, see if we are passing arguments outside of the parameters\r\n else if (this.methodInfo.argValues.length > maxArgNames) {\r\n // Set the method data to the next available argument value\r\n this.methodData = this.methodInfo.argValues[maxArgNames];\r\n }\r\n }\r\n // See if the metadata type exists\r\n if (this.methodInfo.metadataType) {\r\n // See if parameters exist\r\n if (this.methodInfo.argNames && this.methodInfo.requestType != _1.RequestType.PostBodyNoArgs) {\r\n // Append the metadata to the first parameter, if it doesn't exist\r\n (this.methodData || this.methodParams)[this.methodInfo.argNames[0]][\"__metadata\"] =\r\n (this.methodData || this.methodParams)[this.methodInfo.argNames[0]][\"__metadata\"] || { \"type\": this.methodInfo.metadataType };\r\n }\r\n else {\r\n // Append the metadata to the parameters, if it doesn't exist\r\n (this.methodData || this.methodParams)[\"__metadata\"] =\r\n (this.methodData || this.methodParams)[\"__metadata\"] || { \"type\": this.methodInfo.metadataType };\r\n }\r\n }\r\n };\r\n // Method to generate the method and parameters as a url\r\n MethodInfo.prototype.generateUrl = function () {\r\n var url = this.methodInfo.name;\r\n // See if we are deleting the object\r\n if (this.methodInfo.requestType == _1.RequestType.Delete) {\r\n // Update the url\r\n url = \"deleteObject\";\r\n }\r\n // See if we are passing the data in the body\r\n if (this.passDataInBody) {\r\n var data = this.methodData || this.methodParams;\r\n // Stringify the data to be passed in the body\r\n this.methodData = JSON.stringify(data);\r\n }\r\n // See if we are passing the data in the query string as a variable\r\n if (this.passDataInQSAsVar) {\r\n var data = this.methodParams || this.methodData;\r\n // Append the parameters in the query string\r\n url += \"(@v)?@v=\" + (typeof (data) === \"string\" ? \"'\" + encodeURIComponent(data) + \"'\" : JSON.stringify(data));\r\n }\r\n // See if we are replacing the arguments\r\n if (this.replace) {\r\n // Parse the arguments\r\n for (var key in this.methodParams) {\r\n // Replace the argument in the url\r\n url = url.replace(\"[[\" + key + \"]]\", encodeURIComponent(this.methodParams[key]));\r\n }\r\n }\r\n // Else, see if this is an odata request\r\n else if (this.methodInfo.requestType == _1.RequestType.OData) {\r\n var oData = new _1.OData(this.methodParams[\"oData\"]);\r\n // Update the url\r\n url = \"?\" + oData.QueryString;\r\n // Set the get all items Flag\r\n this.methodInfo.getAllItemsFl = oData.GetAllItems;\r\n }\r\n // Else, see if we are not passing the data in the body or query string as a variable\r\n else if (!this.passDataInBody && !this.passDataInQSAsVar) {\r\n var params = \"\";\r\n // Ensure data exists\r\n var data = this.methodParams || this.methodData;\r\n if (data) {\r\n // Ensure the data is an object\r\n data = data && typeof (data) === \"object\" ? data : { value: data };\r\n // Parse the parameters\r\n for (var name_2 in data) {\r\n var value = data[name_2];\r\n value = typeof (value) === \"string\" ? \"'\" + value + \"'\" : value;\r\n switch (this.methodInfo.requestType) {\r\n // Append the value only\r\n case _1.RequestType.GetWithArgsValueOnly:\r\n case _1.RequestType.PostWithArgsValueOnly:\r\n params += value + \", \";\r\n break;\r\n // Append the parameter and value\r\n default:\r\n params += name_2 + \"=\" + value + \", \";\r\n break;\r\n }\r\n }\r\n }\r\n // See if we are passing data in the query string\r\n if (this.passDataInQS) {\r\n // Set the url\r\n url += params.length > 0 ? \"?\" + params.replace(/, $/, \"&\") : \"\";\r\n }\r\n else {\r\n // Set the url\r\n url += params.length > 0 ? \"(\" + params.replace(/, $/, \"\") + \")\" : \"\";\r\n }\r\n }\r\n // Return the url\r\n return url;\r\n };\r\n return MethodInfo;\r\n}());\r\nexports.MethodInfo = MethodInfo;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/methodInfo.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/oData.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/oData.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * OData\r\n */\r\nvar OData = /** @class */ (function () {\r\n /*********************************************************************************************************************************/\r\n // Constructor\r\n /*********************************************************************************************************************************/\r\n // The class constructor\r\n function OData(oData) {\r\n // Default the Variables\r\n this._custom = oData && oData.Custom ? oData.Custom : null;\r\n this._expand = oData && oData.Expand ? oData.Expand : [];\r\n this._filter = oData && oData.Filter ? oData.Filter : null;\r\n this._getAllItems = oData && oData.GetAllItems ? oData.GetAllItems : false;\r\n this._orderBy = oData && oData.OrderBy ? oData.OrderBy : [];\r\n this._select = oData && oData.Select ? oData.Select : [];\r\n this._skip = oData && oData.Skip ? oData.Skip : null;\r\n this._top = oData && oData.Top ? oData.Top : null;\r\n }\r\n Object.defineProperty(OData.prototype, \"Custom\", {\r\n /*********************************************************************************************************************************/\r\n // Properties\r\n /*********************************************************************************************************************************/\r\n // Custom\r\n get: function () { return this._custom; },\r\n set: function (value) { this._custom = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"Expand\", {\r\n // Expand\r\n get: function () { return this._expand; },\r\n set: function (value) { this._expand = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"Filter\", {\r\n // Filter\r\n get: function () { return this._filter; },\r\n set: function (value) { this._filter = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"GetAllItems\", {\r\n // Flag to get all items\r\n get: function () { return this._getAllItems; },\r\n set: function (value) { this._getAllItems = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"OrderBy\", {\r\n // Order By\r\n get: function () { return this._orderBy; },\r\n set: function (value) { this._orderBy = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"QueryString\", {\r\n // Query String\r\n get: function () {\r\n var qs = \"\";\r\n var values = [];\r\n // Get the query string values for the properties\r\n values.push(this.getQSValue(\"$select\", this._select));\r\n values.push(this.getQSValue(\"$orderby\", this._orderBy));\r\n this._top ? values.push(\"$top=\" + this._top) : null;\r\n this._skip ? values.push(\"$skip=\" + this._skip) : null;\r\n this._filter ? values.push(\"$filter=\" + this._filter) : null;\r\n values.push(this.getQSValue(\"$expand\", this._expand));\r\n this._custom ? values.push(this._custom) : null;\r\n // Parse the values\r\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\r\n var value = values_1[_i];\r\n // Ensure a value exists\r\n if (value && value != \"\") {\r\n // Append the query string value\r\n qs += (qs == \"\" ? \"\" : \"&\") + value;\r\n }\r\n }\r\n // Return the query string\r\n return qs;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"Select\", {\r\n // Select\r\n get: function () { return this._select; },\r\n set: function (value) { this._select = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"Skip\", {\r\n // Skip\r\n get: function () { return this._skip; },\r\n set: function (value) { this._skip = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OData.prototype, \"Top\", {\r\n // Top\r\n get: function () { return this._top; },\r\n set: function (value) { this._top = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /*********************************************************************************************************************************/\r\n // Methods\r\n /*********************************************************************************************************************************/\r\n // Method to convert the array of strings to a query string value.\r\n OData.prototype.getQSValue = function (qsKey, keys) {\r\n // Return the query string\r\n return keys.length > 0 ? qsKey + \"=\" + keys.join(\",\") : \"\";\r\n };\r\n return OData;\r\n}());\r\nexports.OData = OData;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/oData.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/request.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/request.js ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar base_1 = __webpack_require__(/*! ./base */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/base.js\");\r\nvar batch_1 = __webpack_require__(/*! ./batch */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/batch.js\");\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/helper.js\");\r\nvar mapper_1 = __webpack_require__(/*! ../mapper */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/mapper/index.js\");\r\nvar requestType_1 = __webpack_require__(/*! ./requestType */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/requestType.js\");\r\nvar targetInfo_1 = __webpack_require__(/*! ./targetInfo */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/targetInfo.js\");\r\nvar xhrRequest_1 = __webpack_require__(/*! ./xhrRequest */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js\");\r\n/**\r\n * Request\r\n */\r\nexports.Request = {\r\n // Method to add the methods to base object\r\n addMethods: function (base, data, graphType) {\r\n var obj = base;\r\n var isCollection = data.results && data.results.length > 0;\r\n var methods = null;\r\n // Determine the metadata\r\n var metadata = isCollection ? data.results[0].__metadata : data.__metadata;\r\n // Get the object type\r\n var objType = metadata && metadata.type ? metadata.type : obj.targetInfo.endpoint;\r\n // Get the methods from the default mapper, otherwise get it from the custom mapper\r\n if ((methods = mapper_1.Mapper[objType + (isCollection ? \".Collection\" : \"\")]) == null) {\r\n // Determine the object type\r\n objType = objType.split('/');\r\n objType = (objType[objType.length - 1]);\r\n objType = objType.split('.');\r\n objType = (objType[objType.length - 1]).toLowerCase();\r\n objType += isCollection ? \"s\" : \"\";\r\n // See if this is a graph request\r\n if (/^graph/.test(objType)) {\r\n // Do nothing\r\n }\r\n // Else, see if the base is a field\r\n else if ((/^field/.test(objType) || /fields?$/.test(objType)) && objType != \"fieldlinks\" && objType != \"fields\") {\r\n // Update the type\r\n objType = \"field\" + (isCollection ? \"s\" : \"\");\r\n }\r\n // Else, see if the base is an item\r\n else if (/item$/.test(objType)) {\r\n // Update the type\r\n objType = \"listitem\";\r\n }\r\n // Else, see if the base is an item collection\r\n else if (/items$/.test(objType)) {\r\n // Update the type\r\n objType = \"items\";\r\n }\r\n // Else, see if this is a tenant app\r\n else if (/corporatecatalogappmetadata/.test(objType)) {\r\n // Update the type\r\n objType = \"tenantapp\";\r\n }\r\n // Else, see if this is a tenant app collection\r\n else if (/corporatecatalogappmetadatas/.test(objType)) {\r\n // Update the type\r\n objType = \"tenantapps\";\r\n }\r\n // Get the methods for the base object\r\n methods = mapper_1.Mapper_Custom[objType];\r\n }\r\n // Ensure methods exist\r\n if (methods) {\r\n // Parse the methods\r\n for (var methodName in methods) {\r\n // Get the method information\r\n var methodInfo = methods[methodName] ? methods[methodName] : {};\r\n // See if the base is the \"Properties\" definition for the object\r\n if (methodName == \"properties\") {\r\n // Parse the properties\r\n for (var _i = 0, methodInfo_1 = methodInfo; _i < methodInfo_1.length; _i++) {\r\n var property = methodInfo_1[_i];\r\n var propInfo = property.split(\"|\");\r\n // Get the metadata type\r\n var propName = propInfo[0];\r\n var propType = propInfo.length > 1 ? propInfo[1] : null;\r\n var subPropName = propInfo.length > 2 ? propInfo[2] : null;\r\n var subPropType = propInfo.length > 3 ? propInfo[3] : null;\r\n // See if the property is null or is a collection\r\n if (obj[propName] == null || (obj[propName].__deferred && obj[propName].__deferred.uri)) {\r\n // See if the base property has a sub-property defined for it\r\n if (propInfo.length == 4) {\r\n // Update the ' char in the property name\r\n subPropName = subPropName.replace(/'/g, \"\\\\'\");\r\n // Add the property\r\n obj[propName] = new Function(\"name\", \"name = name ? '\" + propName + subPropName + \"'.replace(/\\\\[Name\\\\]/g, name.toString().replace(/\\'/g, \\\"''\\\")) : null;\" +\r\n \"return this.getProperty(name ? name : '\" + propName + \"', name ? '\" + subPropType + \"' : '\" + propType + \"');\");\r\n }\r\n else {\r\n // Add the property\r\n obj[propName] = new Function(\"return this.getProperty('\" + propName + \"', '\" + propType + \"');\");\r\n }\r\n }\r\n }\r\n // Continue the loop\r\n continue;\r\n }\r\n // See if the base object has a dynamic metadata type\r\n if (typeof (methodInfo.metadataType) === \"function\") {\r\n // Clone the object properties\r\n methodInfo = JSON.parse(JSON.stringify(methodInfo));\r\n // Set the metadata type\r\n methodInfo.metadataType = methods[methodName].metadataType(obj);\r\n }\r\n // Add the method to the object\r\n obj[methodName] = new Function(\"return this.executeMethod('\" + methodName + \"', \" + JSON.stringify(methodInfo) + \", arguments);\");\r\n }\r\n }\r\n },\r\n // Method to add properties to the base object\r\n addProperties: function (base, data) {\r\n // Parse the data properties\r\n for (var key in data) {\r\n var value = data[key];\r\n // Skip properties\r\n if (key == \"__metadata\" || key == \"results\") {\r\n continue;\r\n }\r\n // See if the base is a collection property\r\n if (value && value.__deferred && value.__deferred.uri) {\r\n // Generate a method for the base property\r\n base[\"get_\" + key] = base[\"get_\" + key] ? base[\"get_\" + key] : new Function(\"return this.getCollection('\" + key + \"', arguments);\");\r\n }\r\n else {\r\n // Set the property, based on the property name\r\n switch (key) {\r\n case \"ClientPeoplePickerResolveUser\":\r\n case \"ClientPeoplePickerSearchUser\":\r\n base[key] = JSON.parse(value);\r\n break;\r\n default:\r\n // Append the property to the base object\r\n base[key] = value;\r\n break;\r\n }\r\n // See if the base is a collection\r\n if (base[key] && base[key].results) {\r\n // Ensure the collection is an object\r\n if (base[key].results.length == 0 || typeof (base[key].results[0]) === \"object\") {\r\n // Create the base property as a new request\r\n var objCollection = new base_1.Base(base.targetInfo);\r\n objCollection[\"results\"] = base[key].results;\r\n // See no results exist\r\n if (objCollection[\"results\"].length == 0) {\r\n // Set the metadata type to the key\r\n objCollection[\"__metadata\"] = { type: key };\r\n }\r\n // Update the endpoint for the base request to point to the base property\r\n objCollection.targetInfo.endpoint = (objCollection.targetInfo.endpoint.split(\"?\")[0] + \"/\" + key).replace(/\\//g, \"/\");\r\n // Add the methods\r\n exports.Request.addMethods(objCollection, objCollection);\r\n // Update the data collection\r\n helper_1.Helper.updateDataCollection(base, objCollection[\"results\"]);\r\n // Update the expanded properties\r\n helper_1.Helper.updateExpandedProperties(base);\r\n // Update the property\r\n base[key] = objCollection;\r\n }\r\n }\r\n }\r\n }\r\n },\r\n // Method to execute the request\r\n execute: function (base, args) {\r\n var reject = null;\r\n var resolve = null;\r\n var waitFl = false;\r\n // Parse the arguments\r\n for (var i = 0; i < args.length; i++) {\r\n var arg = args[i];\r\n // Check the type\r\n switch (typeof (arg)) {\r\n case \"boolean\":\r\n // Set the wait flag\r\n waitFl = arg;\r\n break;\r\n case \"function\":\r\n // See if the resolve method exists\r\n if (resolve) {\r\n // Set the reject method\r\n reject = arg;\r\n }\r\n else {\r\n // Set the resolve method\r\n resolve = arg;\r\n }\r\n break;\r\n }\r\n }\r\n // Set the base\r\n base.base = base.base || base;\r\n // Set the base responses\r\n base.base.responses = base.base.responses || [];\r\n // Set the base wait flags\r\n base.base.waitFlags = base.base.waitFlags || [];\r\n // Set the response index\r\n base.responseIndex = base.base.responses.length;\r\n // Add this object to the responses\r\n base.base.responses.push(base);\r\n // See if we are waiting for the responses to complete\r\n if (waitFl) {\r\n // Wait for the responses to execute\r\n exports.Request.waitForRequestsToComplete(base, function () {\r\n // Execute this request\r\n exports.Request.executeRequest(base, true, function (response, errorFl) {\r\n // See if there was an error\r\n if (errorFl) {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n // Reject the request\r\n reject ? reject(response) : null;\r\n }\r\n // Else, see if there is a resolve method\r\n else if (resolve) {\r\n // Execute the callback and see if it returns a promise\r\n var returnVal = resolve(response);\r\n var waitFunc = returnVal ? returnVal.done || returnVal.then : null;\r\n if (waitFunc && typeof (waitFunc) === \"function\") {\r\n // Wait for the promise to complete\r\n waitFunc(function () {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n // Set the base to this object, and clear requests\r\n // This will ensure requests from this object do not conflict w/ this request\r\n base.base = base;\r\n base.base.responses = [];\r\n base.base.waitFlags = [];\r\n // Reset the base\r\n base.base = base.parent.base || base.base;\r\n });\r\n // Do nothing\r\n return;\r\n }\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n // Set the base to this object, and clear requests\r\n // This will ensure requests from this object do not conflict w/ this request\r\n base.base = base;\r\n base.base.responses = [];\r\n base.base.waitFlags = [];\r\n // Reset the base\r\n base.base = base.parent.base || base.base;\r\n }\r\n else {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n }\r\n });\r\n }, base.responseIndex);\r\n }\r\n else {\r\n // Execute this request\r\n exports.Request.executeRequest(base, true, function (response, errorFl) {\r\n // See if there was an error\r\n if (errorFl) {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n // Reject the request\r\n reject ? reject(response) : null;\r\n }\r\n else {\r\n // Execute the resolve and see if it returns a promise\r\n var returnVal = resolve ? resolve(response) : null;\r\n if (returnVal && typeof (returnVal.done) === \"function\") {\r\n // Wait for the promise to complete\r\n returnVal.done(function () {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n });\r\n }\r\n else {\r\n // Set the wait flag\r\n base.base.waitFlags[base.responseIndex] = true;\r\n }\r\n }\r\n });\r\n }\r\n // See if this is a query request\r\n if (base.targetInfo.requestType == requestType_1.RequestType.OData) {\r\n // Return the parent for chaining purposes\r\n return base.parent;\r\n }\r\n // Return this object\r\n return base;\r\n },\r\n // Method to execute the request\r\n executeRequest: function (base, asyncFl, callback) {\r\n var isBatchRequest = base.base && base.base.batchRequests && base.base.batchRequests.length > 0;\r\n var targetInfo = isBatchRequest ? batch_1.Batch.getTargetInfo(base.base.batchRequests) : new targetInfo_1.TargetInfo(base.targetInfo);\r\n // See if this is an asynchronous request\r\n if (asyncFl) {\r\n // See if the not a batch request, and it already exists\r\n if (base.xhr && !isBatchRequest) {\r\n // Execute the callback\r\n callback ? callback(base, false) : null;\r\n }\r\n else {\r\n // Create the request\r\n base.xhr = new xhrRequest_1.XHRRequest(asyncFl, targetInfo, function () {\r\n // Update the response and status\r\n base.response = base.xhr.response;\r\n base.status = base.xhr.status;\r\n var errorFl = !(base.status >= 200 && base.status < 300);\r\n // See if we are returning a file buffer\r\n if (base.requestType == requestType_1.RequestType.GetBuffer) {\r\n // Execute the callback\r\n callback ? callback(base.response, errorFl) : null;\r\n }\r\n else {\r\n // Update the data object\r\n exports.Request.updateDataObject(base, isBatchRequest);\r\n // Ensure this isn't a batch request\r\n if (!isBatchRequest) {\r\n // See if this is an xml response\r\n if (base.xml) {\r\n // Execute the callback\r\n callback ? callback(base, errorFl) : null;\r\n }\r\n else {\r\n // Validate the data collection\r\n exports.Request.validateDataCollectionResults(base).then(function () {\r\n // Execute the callback\r\n callback ? callback(base, errorFl) : null;\r\n });\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n // Else, see if we already executed this request\r\n else if (base.xhr) {\r\n return base;\r\n }\r\n // Else, we haven't executed this request\r\n else {\r\n // Create the request\r\n base.xhr = new xhrRequest_1.XHRRequest(asyncFl, targetInfo);\r\n // Update the response and status\r\n base.response = base.xhr.response;\r\n base.status = base.xhr.status;\r\n // See if we are returning a file buffer\r\n if (base.requestType == requestType_1.RequestType.GetBuffer) {\r\n // Return the response\r\n return base.response;\r\n }\r\n // Update the base object\r\n exports.Request.updateDataObject(base, isBatchRequest);\r\n // See if the base is a collection and has more results\r\n if (base[\"d\"] && base[\"d\"].__next) {\r\n // Add the \"next\" method to get the next set of results\r\n base[\"next\"] = new Function(\"return this.getNextSetOfResults();\");\r\n }\r\n // Return the base object\r\n return base;\r\n }\r\n },\r\n // Method to parse the xml\r\n parseXML: function (xml) {\r\n var objData = {};\r\n // Parse the properties\r\n do {\r\n // Get the index of the property\r\n var idxStart = xml.indexOf(\"\", idxStart);\r\n if (idxEnd > idxStart && idxStart > -1) {\r\n // Get the property\r\n var propName = xml.substr(idxStart + 3, idxEnd - idxStart - 3);\r\n propName = propName.split(' ')[0];\r\n // Skip the \"element\" property\r\n if (propName == \"element\") {\r\n // Skip this element\r\n idxEnd = xml.indexOf(\" idxStart) {\r\n // Set the value\r\n objData[propName] = exports.Request.parseXML(value);\r\n }\r\n else {\r\n // Set the value\r\n objData[propName] = value;\r\n }\r\n // Clear this property\r\n idxEnd = xml.indexOf(\">\", idxStart + 1);\r\n xml = xml.substr(idxEnd + 1);\r\n }\r\n }\r\n // Else, break from the loop\r\n else {\r\n break;\r\n }\r\n } while (xml.length > 0);\r\n // Return the base object\r\n return objData;\r\n },\r\n // Method to convert the input arguments into an object\r\n updateDataObject: function (base, isBatchRequest) {\r\n if (isBatchRequest === void 0) { isBatchRequest = false; }\r\n // Ensure the request was successful\r\n if (base.status >= 200 && base.status < 300) {\r\n // Return if we are expecting a buffer\r\n if (base.requestType == requestType_1.RequestType.GetBuffer) {\r\n return;\r\n }\r\n // Parse the responses\r\n var batchIdx = 0;\r\n var batchRequestIdx = 0;\r\n var responses = isBatchRequest ? base.response.split(\"\\n\") : [base.response];\r\n for (var i = 0; i < responses.length; i++) {\r\n var data = null;\r\n // Set the response\r\n var response = responses[i];\r\n response = response === \"\" && !isBatchRequest ? \"{}\" : response;\r\n // Set the xml flag\r\n var isXML = response.indexOf(\"\");\r\n var idxEnd = data.indexOf(\" idxStart ? data.substr(idxStart, idxEnd) : null;\r\n if (properties) {\r\n // Set the data object\r\n objData = exports.Request.parseXML(properties);\r\n // Update the metadata\r\n helper_1.Helper.updateMetadata(obj, objData);\r\n // Update the base object's properties\r\n exports.Request.addProperties(obj, objData);\r\n // Add the methods\r\n exports.Request.addMethods(obj, objData, objData[\"@odata.context\"]);\r\n // Update the data collection\r\n helper_1.Helper.updateDataCollection(obj, objData[\"results\"]);\r\n // Update the expanded properties\r\n helper_1.Helper.updateExpandedProperties(obj);\r\n }\r\n else {\r\n // Update the object to the raw data\r\n obj = data;\r\n }\r\n }\r\n // Else, see if the data properties exists\r\n else if (data.d) {\r\n // Save a reference to it\r\n obj[\"d\"] = data.d;\r\n // Update the metadata\r\n helper_1.Helper.updateMetadata(obj, data.d);\r\n // Update the base object's properties\r\n exports.Request.addProperties(obj, data.d);\r\n // Add the methods\r\n exports.Request.addMethods(obj, data.d, data[\"@odata.context\"]);\r\n // Update the data collection\r\n helper_1.Helper.updateDataCollection(obj, data.d.results);\r\n // Update the expanded properties\r\n helper_1.Helper.updateExpandedProperties(obj);\r\n }\r\n else {\r\n // Update the base object's properties\r\n exports.Request.addProperties(obj, data);\r\n }\r\n // See if the batch request exists\r\n if (isBatchRequest) {\r\n // Get the batch request\r\n var batchRequest = base.base.batchRequests[batchIdx][batchRequestIdx++];\r\n if (batchRequest == null) {\r\n // Update the batch indexes\r\n batchIdx++;\r\n batchRequestIdx = 0;\r\n // Update the batch request\r\n batchRequest = base.base.batchRequests[batchIdx][batchRequestIdx++];\r\n }\r\n // Ensure the batch request exists\r\n if (batchRequest) {\r\n // Set the response object\r\n batchRequest.response = obj;\r\n // Execute the callback if it exists\r\n batchRequest.callback ? batchRequest.callback(batchRequest.response) : null;\r\n }\r\n }\r\n }\r\n // Clear the batch requests\r\n if (isBatchRequest) {\r\n base.base.batchRequests = null;\r\n }\r\n }\r\n },\r\n // Method to validate the data collection results\r\n validateDataCollectionResults: function (base) {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // Method to validate the request\r\n var request = function (xhr, resolve) {\r\n // Validate the response\r\n if (xhr && xhr.status < 400 && typeof (xhr.response) === \"string\" && xhr.response.length > 0) {\r\n // Convert the response and ensure the data property exists\r\n var data = JSON.parse(xhr.response);\r\n // Set the next item flag\r\n base.nextFl = data.d && data.d.__next;\r\n // See if there are more items to get\r\n if (base.nextFl) {\r\n // See if we are getting all items in the base request\r\n if (base.getAllItemsFl) {\r\n // Create the target information to query the next set of results\r\n var targetInfo = Object.create(base.targetInfo);\r\n targetInfo.endpoint = \"\";\r\n targetInfo.url = data.d.__next;\r\n // Create a new object\r\n new xhrRequest_1.XHRRequest(true, new targetInfo_1.TargetInfo(targetInfo), function (xhr) {\r\n // Convert the response and ensure the data property exists\r\n var data = JSON.parse(xhr.response);\r\n if (data.d) {\r\n // Update the data collection\r\n helper_1.Helper.updateDataCollection(base, data.d.results);\r\n // Update the expanded properties\r\n helper_1.Helper.updateExpandedProperties(base);\r\n // Append the raw data results\r\n base[\"d\"].results = base[\"d\"].results.concat(data.d.results);\r\n // Validate the data collection\r\n request(xhr, resolve);\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n });\r\n }\r\n else {\r\n // Add a method to get the next set of results\r\n base[\"next\"] = new Function(\"return this.getNextSetOfResults();\");\r\n // Resolve the promise\r\n resolve();\r\n }\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n }\r\n else {\r\n // Resolve the promise\r\n resolve();\r\n }\r\n };\r\n // Execute the request\r\n request(base.xhr, resolve);\r\n });\r\n },\r\n // Method to wait for the parent requests to complete\r\n waitForRequestsToComplete: function (base, callback, requestIdx) {\r\n // Ensure a callback exists and is a function\r\n if (typeof (callback) === \"function\") {\r\n // Loop until the requests have completed\r\n var intervalId_1 = lib_1.ContextInfo.window.setInterval(function () {\r\n var counter = 0;\r\n // Parse the responses to the requests\r\n for (var i = 0; i < base.base.responses.length; i++) {\r\n var response = base.base.responses[i];\r\n // See if we are waiting until a specified index\r\n if (requestIdx == counter++) {\r\n break;\r\n }\r\n // Return if the request hasn't completed\r\n if (response.xhr == null || !response.xhr.completedFl) {\r\n return;\r\n }\r\n // Ensure the wait flag is set for the previous request\r\n if (counter > 0 && base.base.waitFlags[counter - 1] != true) {\r\n return;\r\n }\r\n }\r\n // Clear the interval\r\n lib_1.ContextInfo.window.clearInterval(intervalId_1);\r\n // Execute the callback\r\n callback();\r\n }, 10);\r\n }\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/request.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/requestType.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/requestType.js ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Request Type\r\n */\r\nexports.RequestType = {\r\n // Requests\r\n Custom: 0,\r\n Delete: 1,\r\n Merge: 2,\r\n OData: 3,\r\n // Get Requests\r\n Get: 10,\r\n GetBuffer: 11,\r\n GetWithArgs: 12,\r\n GetWithArgsInBody: 13,\r\n GetWithArgsInQS: 14,\r\n GetWithArgsInQSAsVar: 15,\r\n GetWithArgsValueOnly: 16,\r\n GetReplace: 17,\r\n // Graph Requests\r\n GraphGet: 20,\r\n GraphPost: 21,\r\n // Post Requests\r\n Post: 30,\r\n PostBodyNoArgs: 31,\r\n PostWithArgs: 32,\r\n PostWithArgsAndData: 33,\r\n PostWithArgsInBody: 34,\r\n PostWithArgsInQS: 35,\r\n PostWithArgsInQSAsVar: 36,\r\n PostWithArgsValueOnly: 37,\r\n PostReplace: 38,\r\n PostReplaceWithData: 39\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/requestType.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/targetInfo.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/targetInfo.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\nvar _1 = __webpack_require__(/*! . */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/index.js\");\r\n/**\r\n * Target Information\r\n */\r\nvar TargetInfo = /** @class */ (function () {\r\n /*********************************************************************************************************************************/\r\n // Constructor\r\n /*********************************************************************************************************************************/\r\n function TargetInfo(props) {\r\n // Default the properties\r\n this.props = props || {};\r\n this.requestData = this.props.data;\r\n this.requestHeaders = this.props.requestHeader;\r\n this.requestMethod = this.props.method ? this.props.method : \"GET\";\r\n // Set the request url\r\n this.isGraph ? this.setGraphRequestUrl() : this.setRESTRequestUrl();\r\n }\r\n Object.defineProperty(TargetInfo.prototype, \"isBatchRequest\", {\r\n // Flag to determine if this is a batch request\r\n get: function () { return this.props.endpoint == \"$batch\"; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(TargetInfo.prototype, \"isGraph\", {\r\n // Flag to determine if this is a graph request\r\n get: function () { return this.props.requestType == _1.RequestType.GraphGet || this.props.requestType == _1.RequestType.GraphPost; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /*********************************************************************************************************************************/\r\n // Methods\r\n /*********************************************************************************************************************************/\r\n // Method to get the domain url\r\n TargetInfo.prototype.getDomainUrl = function () {\r\n var url = lib_1.ContextInfo.document ? lib_1.ContextInfo.document.location.href : \"\";\r\n // See if this is an app web\r\n if (lib_1.ContextInfo.isAppWeb) {\r\n // Set the url to the host url\r\n url = TargetInfo.getQueryStringValue(\"SPHostUrl\") + \"\";\r\n }\r\n // Split the url and validate it\r\n url = url.split('/');\r\n if (url && url.length >= 2) {\r\n // Set the url\r\n url = url[0] + \"//\" + url[2];\r\n }\r\n // Return the url\r\n return url;\r\n };\r\n // Method to get a query string value\r\n TargetInfo.getQueryStringValue = function (key) {\r\n // Get the query string\r\n var queryString = lib_1.ContextInfo.existsFl && lib_1.ContextInfo.document ? lib_1.ContextInfo.document.location.href.split('?') : [\"\"];\r\n queryString = queryString.length > 1 ? queryString[1] : queryString[0];\r\n // Parse the values\r\n var values = queryString.split('&');\r\n for (var i = 0; i < values.length; i++) {\r\n var keyValue = values[i].split('=');\r\n // Ensure a value exists\r\n if (keyValue.length == 1) {\r\n continue;\r\n }\r\n // See if this is the key we are looking for\r\n if (decodeURIComponent(keyValue[0]) == key) {\r\n return decodeURIComponent(keyValue[1]);\r\n }\r\n }\r\n // Key was not found\r\n return null;\r\n };\r\n // Method to set the request url for the Graph API\r\n TargetInfo.prototype.setGraphRequestUrl = function () {\r\n // Return the request url\r\n this.requestUrl = \"https://graph.microsoft.com/\" + this.props.endpoint;\r\n };\r\n // Method to set the request url for the REST API\r\n TargetInfo.prototype.setRESTRequestUrl = function () {\r\n var endpoint = this.props.endpoint ? \"/\" + this.props.endpoint : \"\";\r\n var hostUrl = TargetInfo.getQueryStringValue(\"SPHostUrl\");\r\n var qs = (endpoint.indexOf(\"?\") === -1 ? \"?\" : \"&\") + \"@target='{{Target}}'\";\r\n var template = \"{{Url}}\" + (this.props.endpoint ? \"/_api/{{EndPoint}}{{TargetUrl}}\" : \"\");\r\n // See if we are defaulting the url for the app web\r\n if (lib_1.ContextInfo.existsFl && lib_1.ContextInfo.window.$REST && lib_1.ContextInfo.window.$REST.DefaultRequestToHostFl && lib_1.ContextInfo.isAppWeb && !this.props.overrideDefaultRequestToHostFl && this.props.url == null) {\r\n // Default the url to the host web\r\n this.props.url = hostUrl;\r\n }\r\n // Ensure the url exists\r\n if (this.props.url == null) {\r\n // Default the url to the current site/web url\r\n this.props.url = this.props.defaultToWebFl == false ? lib_1.ContextInfo.siteAbsoluteUrl : lib_1.ContextInfo.webAbsoluteUrl;\r\n }\r\n // Else, see if the url already contains the full request\r\n else if (/\\/_api\\//.test(this.props.url)) {\r\n // Get the url\r\n var url = this.props.url.toLowerCase().split(\"/_api/\");\r\n // See if this is the app web and we are executing against a different web\r\n if (lib_1.ContextInfo.isAppWeb && url[0] != lib_1.ContextInfo.webAbsoluteUrl.toLowerCase()) {\r\n // Set the request url\r\n this.requestUrl = lib_1.ContextInfo.webAbsoluteUrl + \"/_api/SP.AppContextSite(@target)/\" +\r\n url[1] + endpoint + qs.replace(/{{Target}}/g, url[0]);\r\n }\r\n else {\r\n // Set the request url\r\n this.requestUrl = this.props.url + (this.props.endpoint ? \"/\" + this.props.endpoint : \"\");\r\n }\r\n return;\r\n }\r\n // See if this is a relative url\r\n if (this.props.url.indexOf(\"http\") != 0) {\r\n // Add the domain\r\n this.props.url = this.getDomainUrl() + this.props.url;\r\n }\r\n // See if this is the app web, and we are executing against a different web\r\n if (lib_1.ContextInfo.isAppWeb && this.props.url != lib_1.ContextInfo.webAbsoluteUrl) {\r\n // Set the request url\r\n this.requestUrl = template\r\n .replace(/{{Url}}/g, lib_1.ContextInfo.webAbsoluteUrl)\r\n .replace(/{{EndPoint}}/g, \"SP.AppContextSite(@target)\" + endpoint)\r\n .replace(/{{TargetUrl}}/g, qs.replace(/{{Target}}/g, this.props.url));\r\n }\r\n else {\r\n // Set the request url\r\n this.requestUrl = template\r\n .replace(/{{Url}}/g, this.props.url)\r\n .replace(/{{EndPoint}}/g, this.props.endpoint)\r\n .replace(/{{TargetUrl}}/g, \"\");\r\n }\r\n };\r\n return TargetInfo;\r\n}());\r\nexports.TargetInfo = TargetInfo;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/targetInfo.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js ***!
\****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar lib_1 = __webpack_require__(/*! ../lib */ \"./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/lib/index.js\");\r\n/**\r\n * XML HTTP Request Class\r\n */\r\nvar XHRRequest = /** @class */ (function () {\r\n /*********************************************************************************************************************************/\r\n // Constructor\r\n /*********************************************************************************************************************************/\r\n function XHRRequest(asyncFl, targetInfo, callback, executeFl) {\r\n if (executeFl === void 0) { executeFl = true; }\r\n // Default the properties\r\n this.asyncFl = asyncFl;\r\n this.executeFl = executeFl;\r\n this.headers = {};\r\n this.onRequestCompleted = callback || targetInfo.props.callback;\r\n this.targetInfo = targetInfo;\r\n // Create the request\r\n this.xhr = this.createXHR();\r\n if (this.xhr) {\r\n // Execute the request\r\n this.execute();\r\n }\r\n else {\r\n // Default the headers\r\n this.defaultHeaders();\r\n }\r\n }\r\n Object.defineProperty(XHRRequest.prototype, \"completedFl\", {\r\n /*********************************************************************************************************************************/\r\n // Public Properties\r\n /*********************************************************************************************************************************/\r\n // Flag indicating the request has completed\r\n get: function () { return this.xhr ? this.xhr.readyState == 4 : false; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"response\", {\r\n // The response\r\n get: function () { return this.xhr ? this.xhr.response : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"request\", {\r\n // The xml http request\r\n get: function () { return this.xhr ? this.xhr : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"requestData\", {\r\n // The data send in the body of the request\r\n get: function () { return this.targetInfo.requestData; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"requestHeaders\", {\r\n // The request headers\r\n get: function () { return this.headers; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"requestInfo\", {\r\n // The request information\r\n get: function () {\r\n // Return the request information\r\n return {\r\n data: this.targetInfo.requestData,\r\n headers: this.headers,\r\n method: this.targetInfo.requestMethod,\r\n url: this.targetInfo.requestUrl\r\n };\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"requestUrl\", {\r\n // The request url\r\n get: function () { return this.xhr ? this.xhr.responseURL : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(XHRRequest.prototype, \"status\", {\r\n // The request status\r\n get: function () { return this.xhr ? this.xhr.status : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /*********************************************************************************************************************************/\r\n // Private Methods\r\n /*********************************************************************************************************************************/\r\n // Method to create the xml http request\r\n XHRRequest.prototype.createXHR = function () {\r\n // See if the generic object doesn't exist\r\n if (typeof (XMLHttpRequest) !== \"undefined\") {\r\n // Create an instance of the xml http request object\r\n return new XMLHttpRequest();\r\n }\r\n // Try to create the request\r\n try {\r\n return new ActiveXObject(\"Msxml2.XMLHTTP.6.0\");\r\n }\r\n catch (e) { }\r\n // Try to create the request\r\n try {\r\n return new ActiveXObject(\"Msxml2.XMLHTTP.3.0\");\r\n }\r\n catch (e) { }\r\n // Try to create the request\r\n try {\r\n return new ActiveXObject(\"Microsoft.XMLHTTP\");\r\n }\r\n catch (e) { }\r\n // Log an error\r\n console.error(\"This browser does not support xml http requests.\");\r\n };\r\n // Method to default the request headers\r\n XHRRequest.prototype.defaultHeaders = function (requestDigest) {\r\n var ifMatchExists = false;\r\n // See if the custom headers exist\r\n if (this.targetInfo.requestHeaders) {\r\n // Parse the custom headers\r\n for (var header in this.targetInfo.requestHeaders) {\r\n // Add the header\r\n this.xhr ? this.xhr.setRequestHeader(header, this.targetInfo.requestHeaders[header]) : null;\r\n this.headers[header] = this.targetInfo.requestHeaders[header];\r\n // See if this is the \"IF-MATCH\" header\r\n ifMatchExists = ifMatchExists || header.toUpperCase() == \"IF-MATCH\";\r\n }\r\n }\r\n else {\r\n // See if this is a graph request\r\n if (this.targetInfo.isGraph) {\r\n // Set the default headers\r\n this.xhr ? this.xhr.setRequestHeader(\"Accept\", \"application/json\") : null;\r\n this.xhr ? this.xhr.setRequestHeader(\"Content-Type\", \"application/json\") : null;\r\n this.headers[\"Accept\"] = \"application/json\";\r\n this.headers[\"Content-Type\"] = \"application/json\";\r\n }\r\n else {\r\n // Set the default headers\r\n this.xhr ? this.xhr.setRequestHeader(\"Accept\", \"application/json;odata=verbose\") : null;\r\n this.xhr ? this.xhr.setRequestHeader(\"Content-Type\", \"application/json;odata=verbose\") : null;\r\n this.headers[\"Accept\"] = \"application/json;odata=verbose\";\r\n this.headers[\"Content-Type\"] = \"application/json;odata=verbose\";\r\n }\r\n }\r\n // See if this is a graph request\r\n if (this.targetInfo.isGraph) {\r\n // Set the authorization\r\n this.xhr ? this.xhr.setRequestHeader(\"Authorization\", \"Bearer \" + this.targetInfo.props.accessToken) : null;\r\n this.headers[\"Authorization\"] = \"Bearer \" + this.targetInfo.props.accessToken;\r\n }\r\n else {\r\n // See if custom headers were not defined\r\n if (this.targetInfo.requestHeaders == null) {\r\n // Set the method by default\r\n this.xhr ? this.xhr.setRequestHeader(\"X-HTTP-Method\", this.targetInfo.requestMethod) : null;\r\n this.headers[\"X-HTTP-Method\"] = this.targetInfo.requestMethod;\r\n }\r\n // Set the request digest\r\n this.xhr ? this.xhr.setRequestHeader(\"X-RequestDigest\", requestDigest) : null;\r\n requestDigest ? this.headers[\"X-RequestDigest\"] = requestDigest : null;\r\n // See if we are deleting or updating the data\r\n if (this.targetInfo.requestMethod == \"DELETE\" || this.targetInfo.requestMethod == \"MERGE\" && !ifMatchExists) {\r\n // Append the header for deleting/updating\r\n this.xhr ? this.xhr.setRequestHeader(\"IF-MATCH\", \"*\") : null;\r\n this.headers[\"IF-MATCH\"] = \"*\";\r\n }\r\n }\r\n };\r\n // Method to execute the xml http request\r\n XHRRequest.prototype.execute = function () {\r\n var _this = this;\r\n // Set the request digest\r\n var requestDigest = this.targetInfo.props.requestDigest || \"\";\r\n if (requestDigest == \"\") {\r\n // Get the request digest\r\n requestDigest = lib_1.ContextInfo.document ? lib_1.ContextInfo.document.querySelector(\"#__REQUESTDIGEST\") : \"\";\r\n requestDigest = requestDigest ? requestDigest.value : \"\";\r\n }\r\n // See if we are targeting the context endpoint\r\n if (this.targetInfo.props.endpoint == \"contextinfo\") {\r\n // Execute the request\r\n this.executeRequest(requestDigest);\r\n }\r\n // See if this is a post request and the request digest does not exist\r\n else if (this.targetInfo.requestMethod != \"GET\" && requestDigest == \"\") {\r\n // See if this is a synchronous request\r\n if (!this.asyncFl) {\r\n // Log\r\n console.info(\"[gd-sprest] POST requests must include the request digest information for synchronous requests. This is due to the modern page not including this information on the page.\");\r\n }\r\n else {\r\n // Get the context information\r\n lib_1.ContextInfo.getWeb(this.targetInfo.props.url || document.location.pathname.substr(0, document.location.pathname.lastIndexOf('/'))).execute(function (contextInfo) {\r\n // Execute the request\r\n _this.executeRequest(contextInfo.GetContextWebInformation.FormDigestValue);\r\n });\r\n }\r\n }\r\n else {\r\n // Execute the request\r\n this.executeRequest(requestDigest);\r\n }\r\n };\r\n // Method to execute the xml http request\r\n XHRRequest.prototype.executeRequest = function (requestDigest) {\r\n var _this = this;\r\n // Ensure the xml http request exists\r\n if (this.xhr == null) {\r\n return null;\r\n }\r\n // Open the request\r\n this.xhr.open(this.targetInfo.requestMethod == \"GET\" ? \"GET\" : \"POST\", this.targetInfo.requestUrl, this.asyncFl);\r\n // See if we are making an asynchronous request\r\n if (this.asyncFl) {\r\n // Set the state change event\r\n this.xhr.onreadystatechange = function () {\r\n // See if the request has finished\r\n if (_this.xhr.readyState == 4) {\r\n // Execute the request completed event\r\n _this.onRequestCompleted ? _this.onRequestCompleted(_this) : null;\r\n }\r\n };\r\n }\r\n // See if we the response type is an array buffer\r\n // Note - Updating the response type is only allow for asynchronous requests. Any error will be thrown otherwise.\r\n if (this.targetInfo.props.bufferFl && this.asyncFl) {\r\n // Set the response type\r\n this.xhr.responseType = \"arraybuffer\";\r\n }\r\n else {\r\n // Default the headers\r\n this.defaultHeaders(requestDigest);\r\n // Ensure the arguments passed is defaulted as a string, unless it's an array buffer\r\n if (this.targetInfo.requestData && typeof (this.targetInfo.requestData) !== \"string\") {\r\n // Stringify the data object, if it's not an array buffer\r\n this.targetInfo.requestData = this.targetInfo.requestData.byteLength ? this.targetInfo.requestData : JSON.stringify(this.targetInfo.requestData);\r\n }\r\n }\r\n // See if we are executing the request\r\n if (this.executeFl) {\r\n // Execute the request\r\n this.targetInfo.props.bufferFl || this.targetInfo.requestData == null ? this.xhr.send() : this.xhr.send(this.targetInfo.requestData);\r\n }\r\n };\r\n return XHRRequest;\r\n}());\r\nexports.XHRRequest = XHRRequest;\r\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/gd-sprest/5.8.6/node_modules/gd-sprest/build/utils/xhrRequest.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/popper.js/1.16.1/node_modules/popper.js/dist/esm/popper.js":
/*!**********************************************************************************************************!*\
!*** ./node_modules/.pnpm/registry.npmjs.org/popper.js/1.16.1/node_modules/popper.js/dist/esm/popper.js ***!
\**********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.16.1\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n\nvar timeoutDuration = function () {\n var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n return 1;\n }\n }\n return 0;\n}();\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n case '#document':\n return element.body;\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\n/**\n * Returns the reference node of the reference object, or the reference object itself.\n * @method\n * @memberof Popper.Utils\n * @param {Element|Object} reference - the reference element (the popper will be relative to this)\n * @returns {Element} parent\n */\nfunction getReferenceNode(reference) {\n return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null;\n\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent || null;\n // Skip hidden elements which don't have an offsetParent\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n }\n\n // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n }\n\n // Here we make sure to give as \"start\" the element that comes first in the DOM\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1;\n\n // Get common ancestor container\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer;\n\n // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n }\n\n // one of the nodes is inside shadowDOM, find which one\n var element1root = getRoot(element1);\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n var rect = {};\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n\n // subtract scrollbar size from sizes\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.width;\n var height = sizes.height || element.clientHeight || result.height;\n\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth);\n\n // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0;\n\n // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop);\n var marginLeft = parseFloat(styles.marginLeft);\n\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft;\n\n // Attach marginTop and marginLeft because in some circumstances we may need them\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n\n return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n var parentNode = getParentNode(element);\n if (!parentNode) {\n return false;\n }\n return isFixed(parentNode);\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n var el = element.parentElement;\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n // NOTE: 1 DOM access here\n\n var boundaries = { top: 0, left: 0 };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n // Handle viewport case\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n // In case of HTML, we need a different computation\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n }\n\n // Add paddings\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n\n return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n var variation = placement.split('-')[1];\n\n return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0];\n\n // Get popper node sizes\n var popperRect = getOuterSizes(popper);\n\n // Add position, width and height to our offsets object\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n };\n\n // depending by the popper placement we have to compute its offsets slightly differently\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n }\n\n // use `filter` to obtain the same behavior of `find`\n return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n }\n\n // use `find` + `indexOf` if `findIndex` isn't supported\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n\n data = fn(data, modifier);\n }\n });\n\n return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style. \n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n };\n\n // compute reference element offsets\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n // store the computed placement inside `originalPlacement`\n data.originalPlacement = data.placement;\n\n data.positionFixed = this.options.positionFixed;\n\n // compute the popper offsets\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n // run the modifiers\n data = runModifiers(this.modifiers, data);\n\n // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n this.state.isDestroyed = true;\n\n // touch DOM only if `applyStyle` modifier is enabled\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners();\n\n // remove the popper if user explicitly asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, { passive: true });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n // Scroll event listener on scroll parents\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n\n return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound);\n\n // Remove scroll event listener on scroll parents\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n });\n\n // Reset state\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = '';\n // add unit if the value is numeric and is one of the following\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n element.style[prop] = styles[prop] + unit;\n });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles);\n\n // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n setAttributes(data.instance.popper, data.attributes);\n\n // if arrowElement is defined and arrowStyles has some properties\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n popper.setAttribute('x-placement', placement);\n\n // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var round = Math.round,\n floor = Math.floor;\n\n var noRound = function noRound(v) {\n return v;\n };\n\n var referenceWidth = round(reference.width);\n var popperWidth = round(popper.width);\n\n var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n var isVariation = data.placement.indexOf('-') !== -1;\n var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n var verticalToInteger = !shouldRound ? noRound : round;\n\n return {\n left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n top: verticalToInteger(popper.top),\n bottom: verticalToInteger(popper.bottom),\n right: horizontalToInteger(popper.right)\n };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper;\n\n // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent);\n\n // Styles\n var styles = {\n position: popper.position\n };\n\n var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right';\n\n // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n var prefixedProperty = getSupportedPropertyName('transform');\n\n // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n var left = void 0,\n top = void 0;\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n }\n\n // Attributes\n var attributes = {\n 'x-placement': data.placement\n };\n\n // Update `data` attributes, styles and arrowStyles\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one. \n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n var _data$offsets$arrow;\n\n // arrow depends on keepTogether in order to work\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element;\n\n // if arrowElement is a string, suppose it's a CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement);\n\n // if arrowElement is not found, don't run the modifier\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n\n // top/left side\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n }\n // bottom/right side\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n data.offsets.popper = getClientRect(data.offsets.popper);\n\n // compute center of the popper\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n // prevent arrowElement from being placed not contiguously to its popper\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option. \n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right. \n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference;\n\n // using floor because the reference offsets may contain decimals we are not going to consider here\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n // flip the variation if required\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n // flips variation if reference element overflows boundaries\n var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n // flips variation if popper content overflows boundaries\n var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n\n var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : '');\n\n // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2];\n\n // If it's not a number it's an operator, I guess\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0];\n\n // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n });\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n }\n\n // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n // Convert the values with units to absolute pixels to allow our computations\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op\n // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, [])\n // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var basePlacement = placement.split('-')[0];\n\n var offsets = void 0;\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n }\n\n // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n\n options.boundaries = boundaries;\n\n var order = options.priority;\n var popper = data.offsets.popper;\n\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n return defineProperty({}, mainSide, value);\n }\n };\n\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n\n data.offsets.popper = popper;\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1];\n\n // if shift shiftvariation is specified, run the modifier\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n\n return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property. \n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers. \n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element. \n * It will read the variation of the `placement` property. \n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper. \n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces. \n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2. \n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: offset,\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries. \n * We can say it has \"escaped the boundaries\" — or just \"escaped\". \n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: arrow,\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: flip,\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport',\n /**\n * @prop {Boolean} flipVariations=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the reference element overlaps its boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariations: false,\n /**\n * @prop {Boolean} flipVariationsByContent=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the popper element overlaps its reference boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariationsByContent: false\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: computeStyle,\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: applyStyle,\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor. \n * These can be overridden using the `options` argument of Popper.js. \n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created. \n * By default, it is set to no-op. \n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates. \n * By default, it is set to no-op. \n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {Element|referenceObject} reference - The reference element used to position the popper\n * @param {Element} popper - The HTML / XML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n };\n\n // make update() debounced, so that it only runs at most once-per-tick\n this.update = debounce(this.update.bind(this));\n\n // with {} we create a new object with the options inside it\n this.options = _extends({}, Popper.Defaults, options);\n\n // init state\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n };\n\n // get reference and popper elements (allow jQuery wrappers)\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper;\n\n // Deep merge modifiers options\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n });\n\n // Refactoring modifiers' list (Object => Array)\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n })\n // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n });\n\n // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n });\n\n // fire the first update to position the popper in the right place\n this.update();\n\n var eventsEnabled = this.options.eventsEnabled;\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n }\n\n // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node. \n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Popper);\n//# sourceMappingURL=popper.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../webpack/4.43.0_webpack@4.43.0/node_modules/webpack/buildin/global.js */ \"./node_modules/.pnpm/registry.npmjs.org/webpack/4.43.0_webpack@4.43.0/node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/.pnpm/registry.npmjs.org/popper.js/1.16.1/node_modules/popper.js/dist/esm/popper.js?");
/***/ }),
/***/ "./node_modules/.pnpm/registry.npmjs.org/webpack/4.43.0_webpack@4.43.0/node_modules/webpack/buildin/global.js":
/*!***********************************!*\
!*** (webpack)/buildin/global.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
/***/ })
/******/ });