gd-sprest 6.6.3 → 6.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Taxonomy = void 0;
4
+ var contextInfo_1 = require("../lib/contextInfo");
4
5
  /**
5
6
  * Taxonomy Helper Class
6
7
  */
@@ -464,7 +465,7 @@ exports.Taxonomy = {
464
465
  // Ensure the core script is loaded
465
466
  SP.SOD.executeFunc("sp.js", "SP.Utilities.Utility", function () {
466
467
  // Ensure the taxonomy script is loaded
467
- SP.SOD.registerSod("sp.taxonomy.js", SP.Utilities.Utility.getLayoutsPageUrl("sp.taxonomy.js"));
468
+ SP.SOD.registerSod("sp.taxonomy.js", contextInfo_1.ContextInfo.webServerRelativeUrl + "/_layouts/15/sp.taxonomy.js");
468
469
  SP.SOD.executeFunc("sp.taxonomy.js", "SP.Taxonomy.TaxonomySession", function () {
469
470
  // Resolve the promise
470
471
  resolve();
package/build/rest.js CHANGED
@@ -8,7 +8,7 @@ var sptypes_1 = require("./sptypes");
8
8
  * SharePoint REST Library
9
9
  */
10
10
  exports.$REST = {
11
- __ver: 6.63,
11
+ __ver: 6.67,
12
12
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
13
13
  Apps: Lib.Apps,
14
14
  ContextInfo: Lib.ContextInfo,
@@ -290,9 +290,9 @@ exports.ListTemplateType = {
290
290
  Agenda: 201,
291
291
  AlchemyApprovalWorkflow: 3102,
292
292
  AlchemyMobileForm: 3101,
293
+ Announcements: 104,
293
294
  AppCatalog: 336,
294
295
  AppDataCatalog: 125,
295
- Announcements: 104,
296
296
  AssetLibrary: 851,
297
297
  CallTrack: 404,
298
298
  Categories: 303,
@@ -325,13 +325,15 @@ exports.ListTemplateType = {
325
325
  LanguagesAndTranslatorsList: 1301,
326
326
  Links: 103,
327
327
  ListTemplateCatalog: 114,
328
- MasterPageCatalog: 116,
329
328
  MaintenanceLogs: 175,
329
+ MasterPageCatalog: 116,
330
330
  MeetingObjective: 207,
331
331
  Meetings: 200,
332
332
  MeetingUser: 202,
333
333
  MicroFeed: 544,
334
334
  MySiteDocumentLibrary: 700,
335
+ NoCodePublic: 122,
336
+ NoCodeWorkflows: 117,
335
337
  PageLibrary: 850,
336
338
  PerformancePointContentList: 450,
337
339
  PerformancePointDataSourceLibrary: 460,
@@ -341,8 +343,6 @@ exports.ListTemplateType = {
341
343
  PictureLibrary: 109,
342
344
  Posts: 301,
343
345
  PrivateDocumentLibrary: 2003,
344
- NoCodePublic: 122,
345
- NoCodeWorkflows: 117,
346
346
  RecordLibrary: 1302,
347
347
  ReportLibrary: 433,
348
348
  SharingLinks: 3300,
package/dist/gd-sprest.js CHANGED
@@ -321,10 +321,10 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
321
321
  /*!**********************************!*\
322
322
  !*** ./build/helper/taxonomy.js ***!
323
323
  \**********************************/
324
- /***/ (function(__unused_webpack_module, exports) {
324
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
325
325
 
326
326
  "use strict";
327
- eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.Taxonomy = void 0;\n/**\r\n * Taxonomy Helper Class\r\n */\n\nexports.Taxonomy = {\n /**\r\n * Method to find a term by id\r\n */\n findById: function findById(term, termId) {\n // See if this is the root node\n if (term.info && term.info.id == termId) {\n // Return the root node\n return term;\n } // Parse the child nodes\n\n\n for (var prop in term) {\n // Skip the info and parent\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Find the term by id\n\n\n var childTerm = exports.Taxonomy.findById(term[prop], termId);\n\n if (childTerm) {\n return childTerm;\n }\n }\n },\n\n /**\r\n * Method to find a term by name\r\n */\n findByName: function findByName(term, termName) {\n // See if this is the root node\n if (term.info && term.info.name == termName) {\n // Return the root node\n return term;\n } // Parse the child nodes\n\n\n for (var prop in term) {\n // Skip the info and parent\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Find the term by id\n\n\n var childTerm = exports.Taxonomy.findByName(term[prop], termName);\n\n if (childTerm) {\n return childTerm;\n }\n }\n },\n\n /**\r\n * Method to get the terms\r\n */\n getTerms: function getTerms(termSet, termSetTerms) {\n var terms = []; // Add the root term\n\n terms.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n path: [],\n pathAsString: \"\",\n props: termSet.get_customProperties()\n }); // Parse the term sets terms\n\n var enumerator = termSetTerms.getEnumerator();\n\n while (enumerator.moveNext()) {\n var term = enumerator.get_current(); // Create the terms\n\n terms.push({\n description: term.get_description(),\n id: term.get_id().toString(),\n name: term.get_name(),\n path: term.get_pathOfTerm().split(\";\"),\n pathAsString: term.get_pathOfTerm(),\n props: term.get_customProperties()\n });\n } // Sort the terms\n\n\n terms = terms.sort(function (a, b) {\n if (a.pathAsString < b.pathAsString) {\n return -1;\n }\n\n if (a.pathAsString > b.pathAsString) {\n return 1;\n }\n\n return 0;\n }); // Return the terms\n\n return terms;\n },\n\n /**\r\n * Method to get the term group\r\n */\n getTermGroup: function getTermGroup(groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // See if we are getting a specific group name\n\n if (groupName) {\n // Resolve the promise\n var termStores_1 = session.get_termStores();\n context.load(termStores_1, \"Include(Groups)\");\n context.executeQueryAsync(function () {\n // Get the default store\n var enumerator = termStores_1.getEnumerator();\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\n\n if (termStore) {\n // Get the term group\n var termGroup = termStore.get_groups().getByName(groupName);\n context.load(termGroup); // Resolve the promise\n\n resolve({\n context: context,\n termGroup: termGroup\n });\n } else {\n // Reject the promise\n reject(\"Unable to find the taxonomy store.\");\n }\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].get_message());\n });\n } else {\n // Get the default site collection group\n var termStore = session.getDefaultSiteCollectionTermStore();\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\n context.load(termGroup); // Resolve the promise\n\n resolve({\n context: context,\n termGroup: termGroup\n });\n }\n });\n });\n },\n\n /**\r\n * Method to get the term groups\r\n */\n getTermGroups: function getTermGroups() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Resolve the promise\n\n var termStores = session.get_termStores();\n context.load(termStores, \"Include(Groups)\");\n context.executeQueryAsync(function () {\n // Get the default store\n var enumerator = termStores.getEnumerator();\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\n\n if (termStore) {\n // Get the term groups\n var termGroups_1 = termStore.get_groups();\n context.load(termGroups_1, \"Include(Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n var groups = []; // Parse the groups\n\n var enumerator = termGroups_1.getEnumerator();\n\n while (enumerator.moveNext()) {\n var group = enumerator.get_current(); // Add the group information\n\n groups.push({\n description: group.get_description(),\n id: group.get_id().toString(),\n name: group.get_name()\n });\n } // Resolve the promise\n\n\n resolve(groups);\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].get_message());\n });\n } else {\n // Reject the promise\n reject(\"Unable to find the taxonomy store.\");\n }\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term sets for a group\r\n */\n getTermSets: function getTermSets(groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term gruop\n exports.Taxonomy.getTermGroup(groupName).then( // Success\n function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term group information\n\n var termGroupInfo = termGroup.get_termSets();\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n var termSets = []; // Parse the term group information\n\n var enumerator = termGroupInfo.getEnumerator();\n\n while (enumerator.moveNext()) {\n var termSet = enumerator.get_current(); // Add the group information\n\n termSets.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n props: termSet.get_customProperties()\n });\n } // Resolve the promise\n\n\n resolve(termSets);\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].get_message());\n });\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the term sets from the default site collection.\r\n */\n getTermSetsFromDefaultSC: function getTermSetsFromDefaultSC() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Get the terms sets from the default site collection\n\n var termStore = session.getDefaultSiteCollectionTermStore();\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\n var termGroupInfo = termGroup.get_termSets();\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n var termSets = []; // Parse the term group information\n\n var enumerator = termGroupInfo.getEnumerator();\n\n while (enumerator.moveNext()) {\n var termSet = enumerator.get_current(); // Add the group information\n\n termSets.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n props: termSet.get_customProperties()\n });\n } // Resolve the promise\n\n\n resolve(termSets);\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the terms by id\r\n */\n getTermsById: function getTermsById(termStoreId, termSetId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Get the term set terms\n\n var termStore = session.get_termStores().getById(termStoreId);\n var termSet = termStore.getTermSet(termSetId);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term set by id\r\n */\n getTermSetById: function getTermSetById(termStoreId, termSetId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsById(termStoreId, termSetId).then( // Success\n function (terms) {\n // Resolve the promise\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the terms from the default site collection\r\n */\n getTermsFromDefaultSC: function getTermsFromDefaultSC(termSetName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term group\n exports.Taxonomy.getTermGroup().then( // Success\n function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term set terms\n\n var termSet = termGroup.get_termSets().getByName(termSetName);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the term set from the default site collection\r\n */\n getTermSetFromDefaultSC: function getTermSetFromDefaultSC(termSetName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsFromDefaultSC(termSetName).then( // Success\n function (terms) {\n // Resolve the object\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get a terms from a specified group\r\n */\n getTermsByGroupName: function getTermsByGroupName(termSetName, groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term group\n exports.Taxonomy.getTermGroup(groupName).then(function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term set terms\n\n var termSet = termGroup.get_termSets().getByName(termSetName);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term set from the default site collection\r\n */\n getTermSetByGroupName: function getTermSetByGroupName(termSetName, groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsByGroupName(termSetName, groupName).then( // Success\n function (terms) {\n // Resolve the object\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to ensure the taxonomy script references are loaded.\r\n */\n loadScripts: function loadScripts() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure the core script is loaded\n SP.SOD.executeFunc(\"sp.js\", \"SP.Utilities.Utility\", function () {\n // Ensure the taxonomy script is loaded\n SP.SOD.registerSod(\"sp.taxonomy.js\", SP.Utilities.Utility.getLayoutsPageUrl(\"sp.taxonomy.js\"));\n SP.SOD.executeFunc(\"sp.taxonomy.js\", \"SP.Taxonomy.TaxonomySession\", function () {\n // Resolve the promise\n resolve();\n });\n }, \"sp.js\");\n });\n },\n\n /**\r\n * Method to convert a term to an array of term information\r\n */\n toArray: function toArray(term) {\n var terms = []; // Recursive method to extract the child terms\n\n var getChildTerms = function getChildTerms(term, terms) {\n // Parse the properties\n for (var prop in term) {\n // Skip the info and parent properties\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Add the child term\n\n\n var childTerm = term[prop];\n terms.push(childTerm.info); // Add the child terms\n\n getChildTerms(childTerm, terms);\n }\n }; // Ensure the term exists\n\n\n if (term) {\n // See if the root node contains term information\n if (term.info) {\n // Add the root term\n terms.push(term.info);\n } // Get the child terms\n\n\n getChildTerms(term, terms);\n } // Return the child terms\n\n\n return terms;\n },\n\n /**\r\n * Method to convert a term to a field value\r\n */\n toFieldValue: function toFieldValue(term) {\n var termInfo = term ? term[\"info\"] || term : null; // Ensure the term exists\n\n if (termInfo) {\n return {\n __metadata: {\n \"type\": \"SP.Taxonomy.TaxonomyFieldValue\"\n },\n Label: termInfo.name,\n TermGuid: termInfo.id,\n WssId: -1\n };\n } // Return nothing\n\n\n return null;\n },\n\n /**\r\n * Method to convert a collection of terms to a field value\r\n */\n toFieldMultiValue: function toFieldMultiValue(terms) {\n var results = []; // Ensure terms exist\n\n if (terms && terms.length > 0) {\n // Parse the terms\n for (var i = 0; i < terms.length; i++) {\n var termInfo = terms[i][\"info\"] || terms[i]; // Add the term\n\n results.push(\";#\" + termInfo.name + \"|\" + termInfo.id);\n }\n } // Return a blank array\n\n\n return {\n __metadata: {\n type: \"Collection(SP.Taxonomy.TaxonomyFieldValue)\"\n },\n results: results\n };\n },\n\n /**\r\n * Method to convert the terms to an object\r\n */\n toObject: function toObject(terms) {\n var root = {}; // Recursive method to add terms\n\n var addTerm = function addTerm(node, info, path) {\n var term = node;\n var termName = \"\"; // Loop for each term\n\n while (path.length > 0) {\n // Ensure the term exists\n termName = path[0];\n\n if (term[termName] == null) {\n // Create the term\n term[termName] = {};\n } // Set the term\n\n\n var parent_1 = term;\n term = term[termName]; // Set the parent\n\n term.parent = parent_1; // Remove the term from the path\n\n path.splice(0, 1);\n } // Set the info\n\n\n term.info = info;\n }; // Ensure the terms exist\n\n\n if (terms && terms.length > 0) {\n // Parse the terms\n for (var i = 0; i < terms.length; i++) {\n var term = terms[i]; // See if this is the root term\n\n if (term.pathAsString == \"\") {\n // Set the root information\n root.info = term;\n } else {\n // Add the term\n addTerm(root, term, term.pathAsString.split(\";\"));\n }\n } // Return the root term\n\n\n return exports.Taxonomy.findById(root, terms[0].id);\n } // Return nothing\n\n\n return null;\n }\n};\n\n//# sourceURL=webpack://gd-sprest/./build/helper/taxonomy.js?");
327
+ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.Taxonomy = void 0;\n\nvar contextInfo_1 = __webpack_require__(/*! ../lib/contextInfo */ \"./build/lib/contextInfo.js\");\n/**\r\n * Taxonomy Helper Class\r\n */\n\n\nexports.Taxonomy = {\n /**\r\n * Method to find a term by id\r\n */\n findById: function findById(term, termId) {\n // See if this is the root node\n if (term.info && term.info.id == termId) {\n // Return the root node\n return term;\n } // Parse the child nodes\n\n\n for (var prop in term) {\n // Skip the info and parent\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Find the term by id\n\n\n var childTerm = exports.Taxonomy.findById(term[prop], termId);\n\n if (childTerm) {\n return childTerm;\n }\n }\n },\n\n /**\r\n * Method to find a term by name\r\n */\n findByName: function findByName(term, termName) {\n // See if this is the root node\n if (term.info && term.info.name == termName) {\n // Return the root node\n return term;\n } // Parse the child nodes\n\n\n for (var prop in term) {\n // Skip the info and parent\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Find the term by id\n\n\n var childTerm = exports.Taxonomy.findByName(term[prop], termName);\n\n if (childTerm) {\n return childTerm;\n }\n }\n },\n\n /**\r\n * Method to get the terms\r\n */\n getTerms: function getTerms(termSet, termSetTerms) {\n var terms = []; // Add the root term\n\n terms.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n path: [],\n pathAsString: \"\",\n props: termSet.get_customProperties()\n }); // Parse the term sets terms\n\n var enumerator = termSetTerms.getEnumerator();\n\n while (enumerator.moveNext()) {\n var term = enumerator.get_current(); // Create the terms\n\n terms.push({\n description: term.get_description(),\n id: term.get_id().toString(),\n name: term.get_name(),\n path: term.get_pathOfTerm().split(\";\"),\n pathAsString: term.get_pathOfTerm(),\n props: term.get_customProperties()\n });\n } // Sort the terms\n\n\n terms = terms.sort(function (a, b) {\n if (a.pathAsString < b.pathAsString) {\n return -1;\n }\n\n if (a.pathAsString > b.pathAsString) {\n return 1;\n }\n\n return 0;\n }); // Return the terms\n\n return terms;\n },\n\n /**\r\n * Method to get the term group\r\n */\n getTermGroup: function getTermGroup(groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // See if we are getting a specific group name\n\n if (groupName) {\n // Resolve the promise\n var termStores_1 = session.get_termStores();\n context.load(termStores_1, \"Include(Groups)\");\n context.executeQueryAsync(function () {\n // Get the default store\n var enumerator = termStores_1.getEnumerator();\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\n\n if (termStore) {\n // Get the term group\n var termGroup = termStore.get_groups().getByName(groupName);\n context.load(termGroup); // Resolve the promise\n\n resolve({\n context: context,\n termGroup: termGroup\n });\n } else {\n // Reject the promise\n reject(\"Unable to find the taxonomy store.\");\n }\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].get_message());\n });\n } else {\n // Get the default site collection group\n var termStore = session.getDefaultSiteCollectionTermStore();\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\n context.load(termGroup); // Resolve the promise\n\n resolve({\n context: context,\n termGroup: termGroup\n });\n }\n });\n });\n },\n\n /**\r\n * Method to get the term groups\r\n */\n getTermGroups: function getTermGroups() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Resolve the promise\n\n var termStores = session.get_termStores();\n context.load(termStores, \"Include(Groups)\");\n context.executeQueryAsync(function () {\n // Get the default store\n var enumerator = termStores.getEnumerator();\n var termStore = enumerator.moveNext() ? enumerator.get_current() : null;\n\n if (termStore) {\n // Get the term groups\n var termGroups_1 = termStore.get_groups();\n context.load(termGroups_1, \"Include(Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n var groups = []; // Parse the groups\n\n var enumerator = termGroups_1.getEnumerator();\n\n while (enumerator.moveNext()) {\n var group = enumerator.get_current(); // Add the group information\n\n groups.push({\n description: group.get_description(),\n id: group.get_id().toString(),\n name: group.get_name()\n });\n } // Resolve the promise\n\n\n resolve(groups);\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].get_message());\n });\n } else {\n // Reject the promise\n reject(\"Unable to find the taxonomy store.\");\n }\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term sets for a group\r\n */\n getTermSets: function getTermSets(groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term gruop\n exports.Taxonomy.getTermGroup(groupName).then( // Success\n function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term group information\n\n var termGroupInfo = termGroup.get_termSets();\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n var termSets = []; // Parse the term group information\n\n var enumerator = termGroupInfo.getEnumerator();\n\n while (enumerator.moveNext()) {\n var termSet = enumerator.get_current(); // Add the group information\n\n termSets.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n props: termSet.get_customProperties()\n });\n } // Resolve the promise\n\n\n resolve(termSets);\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].get_message());\n });\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the term sets from the default site collection.\r\n */\n getTermSetsFromDefaultSC: function getTermSetsFromDefaultSC() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Get the terms sets from the default site collection\n\n var termStore = session.getDefaultSiteCollectionTermStore();\n var termGroup = termStore.getSiteCollectionGroup(context.get_site());\n var termGroupInfo = termGroup.get_termSets();\n context.load(termGroupInfo, \"Include(CustomProperties, Description, Id, Name)\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n var termSets = []; // Parse the term group information\n\n var enumerator = termGroupInfo.getEnumerator();\n\n while (enumerator.moveNext()) {\n var termSet = enumerator.get_current(); // Add the group information\n\n termSets.push({\n description: termSet.get_description(),\n id: termSet.get_id().toString(),\n name: termSet.get_name(),\n props: termSet.get_customProperties()\n });\n } // Resolve the promise\n\n\n resolve(termSets);\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the terms by id\r\n */\n getTermsById: function getTermsById(termStoreId, termSetId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the scripts\n exports.Taxonomy.loadScripts().then(function () {\n // Get the taxonomy session\n var context = SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); // Get the term set terms\n\n var termStore = session.get_termStores().getById(termStoreId);\n var termSet = termStore.getTermSet(termSetId);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term set by id\r\n */\n getTermSetById: function getTermSetById(termStoreId, termSetId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsById(termStoreId, termSetId).then( // Success\n function (terms) {\n // Resolve the promise\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the terms from the default site collection\r\n */\n getTermsFromDefaultSC: function getTermsFromDefaultSC(termSetName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term group\n exports.Taxonomy.getTermGroup().then( // Success\n function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term set terms\n\n var termSet = termGroup.get_termSets().getByName(termSetName);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get the term set from the default site collection\r\n */\n getTermSetFromDefaultSC: function getTermSetFromDefaultSC(termSetName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsFromDefaultSC(termSetName).then( // Success\n function (terms) {\n // Resolve the object\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to get a terms from a specified group\r\n */\n getTermsByGroupName: function getTermsByGroupName(termSetName, groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the term group\n exports.Taxonomy.getTermGroup(groupName).then(function (_a) {\n var context = _a.context,\n termGroup = _a.termGroup; // Get the term set terms\n\n var termSet = termGroup.get_termSets().getByName(termSetName);\n var terms = termSet.getAllTerms();\n context.load(termSet);\n context.load(terms, \"Include(CustomProperties, Description, Id, Name, PathOfTerm)\"); // Execute the request\n\n context.executeQueryAsync(function () {\n // Resolve the promise\n resolve(exports.Taxonomy.getTerms(termSet, terms));\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].get_message());\n });\n });\n });\n },\n\n /**\r\n * Method to get the term set from the default site collection\r\n */\n getTermSetByGroupName: function getTermSetByGroupName(termSetName, groupName) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the terms\n exports.Taxonomy.getTermsByGroupName(termSetName, groupName).then( // Success\n function (terms) {\n // Resolve the object\n resolve(exports.Taxonomy.toObject(terms));\n }, // Error\n function (reason) {\n // Reject the promise\n reject(reason);\n });\n });\n },\n\n /**\r\n * Method to ensure the taxonomy script references are loaded.\r\n */\n loadScripts: function loadScripts() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure the core script is loaded\n SP.SOD.executeFunc(\"sp.js\", \"SP.Utilities.Utility\", function () {\n // Ensure the taxonomy script is loaded\n SP.SOD.registerSod(\"sp.taxonomy.js\", contextInfo_1.ContextInfo.webServerRelativeUrl + \"/_layouts/15/sp.taxonomy.js\");\n SP.SOD.executeFunc(\"sp.taxonomy.js\", \"SP.Taxonomy.TaxonomySession\", function () {\n // Resolve the promise\n resolve();\n });\n }, \"sp.js\");\n });\n },\n\n /**\r\n * Method to convert a term to an array of term information\r\n */\n toArray: function toArray(term) {\n var terms = []; // Recursive method to extract the child terms\n\n var getChildTerms = function getChildTerms(term, terms) {\n // Parse the properties\n for (var prop in term) {\n // Skip the info and parent properties\n if (prop == \"info\" || prop == \"parent\") {\n continue;\n } // Add the child term\n\n\n var childTerm = term[prop];\n terms.push(childTerm.info); // Add the child terms\n\n getChildTerms(childTerm, terms);\n }\n }; // Ensure the term exists\n\n\n if (term) {\n // See if the root node contains term information\n if (term.info) {\n // Add the root term\n terms.push(term.info);\n } // Get the child terms\n\n\n getChildTerms(term, terms);\n } // Return the child terms\n\n\n return terms;\n },\n\n /**\r\n * Method to convert a term to a field value\r\n */\n toFieldValue: function toFieldValue(term) {\n var termInfo = term ? term[\"info\"] || term : null; // Ensure the term exists\n\n if (termInfo) {\n return {\n __metadata: {\n \"type\": \"SP.Taxonomy.TaxonomyFieldValue\"\n },\n Label: termInfo.name,\n TermGuid: termInfo.id,\n WssId: -1\n };\n } // Return nothing\n\n\n return null;\n },\n\n /**\r\n * Method to convert a collection of terms to a field value\r\n */\n toFieldMultiValue: function toFieldMultiValue(terms) {\n var results = []; // Ensure terms exist\n\n if (terms && terms.length > 0) {\n // Parse the terms\n for (var i = 0; i < terms.length; i++) {\n var termInfo = terms[i][\"info\"] || terms[i]; // Add the term\n\n results.push(\";#\" + termInfo.name + \"|\" + termInfo.id);\n }\n } // Return a blank array\n\n\n return {\n __metadata: {\n type: \"Collection(SP.Taxonomy.TaxonomyFieldValue)\"\n },\n results: results\n };\n },\n\n /**\r\n * Method to convert the terms to an object\r\n */\n toObject: function toObject(terms) {\n var root = {}; // Recursive method to add terms\n\n var addTerm = function addTerm(node, info, path) {\n var term = node;\n var termName = \"\"; // Loop for each term\n\n while (path.length > 0) {\n // Ensure the term exists\n termName = path[0];\n\n if (term[termName] == null) {\n // Create the term\n term[termName] = {};\n } // Set the term\n\n\n var parent_1 = term;\n term = term[termName]; // Set the parent\n\n term.parent = parent_1; // Remove the term from the path\n\n path.splice(0, 1);\n } // Set the info\n\n\n term.info = info;\n }; // Ensure the terms exist\n\n\n if (terms && terms.length > 0) {\n // Parse the terms\n for (var i = 0; i < terms.length; i++) {\n var term = terms[i]; // See if this is the root term\n\n if (term.pathAsString == \"\") {\n // Set the root information\n root.info = term;\n } else {\n // Add the term\n addTerm(root, term, term.pathAsString.split(\";\"));\n }\n } // Return the root term\n\n\n return exports.Taxonomy.findById(root, terms[0].id);\n } // Return nothing\n\n\n return null;\n }\n};\n\n//# sourceURL=webpack://gd-sprest/./build/helper/taxonomy.js?");
328
328
 
329
329
  /***/ }),
330
330
 
@@ -731,7 +731,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
731
731
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
732
732
 
733
733
  "use strict";
734
- eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.$REST = void 0;\n\nvar Helper = __webpack_require__(/*! ./helper */ \"./build/helper/index.js\");\n\nvar Lib = __webpack_require__(/*! ./lib */ \"./build/lib/index.js\");\n\nvar sptypes_1 = __webpack_require__(/*! ./sptypes */ \"./build/sptypes/index.js\");\n/**\r\n * SharePoint REST Library\r\n */\n\n\nexports.$REST = {\n __ver: 6.63,\n AppContext: function AppContext(siteUrl) {\n return Lib.Site.getAppContext(siteUrl);\n },\n Apps: Lib.Apps,\n ContextInfo: Lib.ContextInfo,\n DefaultRequestToHostFl: false,\n Graph: Lib.Graph,\n GroupService: Lib.GroupService,\n GroupSiteManager: Lib.GroupSiteManager,\n Helper: Helper,\n HubSites: Lib.HubSites,\n HubSitesUtility: Lib.HubSitesUtility,\n List: Lib.List,\n ListByEntityName: Lib.List.getByEntityName,\n ListDataAsStream: Lib.List.getDataAsStream,\n Navigation: Lib.Navigation,\n PeopleManager: Lib.PeopleManager,\n PeoplePicker: Lib.PeoplePicker,\n ProfileLoader: Lib.ProfileLoader,\n RemoteWeb: function RemoteWeb(requestUrl) {\n return Lib.Web.getRemoteWeb(requestUrl);\n },\n Search: Lib.Search,\n Site: Lib.Site,\n SiteManager: Lib.SiteManager,\n SiteExists: function SiteExists(url) {\n return Lib.Site.exists(url);\n },\n SiteUrl: function SiteUrl(id) {\n return Lib.Site.getUrlById(id);\n },\n SPTypes: sptypes_1.SPTypes,\n SocialFeed: Lib.SocialFeed,\n ThemeManager: Lib.ThemeManager,\n UserProfile: Lib.UserProfile,\n Utility: Lib.Utility,\n Web: Lib.Web,\n WebTemplateExtensions: Lib.WebTemplateExtensions,\n WorkflowInstanceService: Lib.WorkflowInstanceService,\n WorkflowSubscriptionService: Lib.WorkflowSubscriptionService\n}; // See if the library doesn't exist, or is an older version\n\nvar global = Lib.ContextInfo.window.$REST;\n\nif (global == null || global.__ver == null || global.__ver < exports.$REST.__ver) {\n // Set the global variable\n Lib.ContextInfo.window.$REST = exports.$REST; // Ensure the SP lib exists\n\n if (Lib.ContextInfo.window.SP) {\n // If MDS is turned on in a SP2013 environment, it may throw an error\n try {\n // Alert other scripts this library is loaded\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest\");\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest.js\");\n } catch (_a) {\n // Log\n console.error(\"[gd-sprest] Error notifying scripts using the SP SOD library.\");\n }\n }\n}\n\n//# sourceURL=webpack://gd-sprest/./build/rest.js?");
734
+ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.$REST = void 0;\n\nvar Helper = __webpack_require__(/*! ./helper */ \"./build/helper/index.js\");\n\nvar Lib = __webpack_require__(/*! ./lib */ \"./build/lib/index.js\");\n\nvar sptypes_1 = __webpack_require__(/*! ./sptypes */ \"./build/sptypes/index.js\");\n/**\r\n * SharePoint REST Library\r\n */\n\n\nexports.$REST = {\n __ver: 6.67,\n AppContext: function AppContext(siteUrl) {\n return Lib.Site.getAppContext(siteUrl);\n },\n Apps: Lib.Apps,\n ContextInfo: Lib.ContextInfo,\n DefaultRequestToHostFl: false,\n Graph: Lib.Graph,\n GroupService: Lib.GroupService,\n GroupSiteManager: Lib.GroupSiteManager,\n Helper: Helper,\n HubSites: Lib.HubSites,\n HubSitesUtility: Lib.HubSitesUtility,\n List: Lib.List,\n ListByEntityName: Lib.List.getByEntityName,\n ListDataAsStream: Lib.List.getDataAsStream,\n Navigation: Lib.Navigation,\n PeopleManager: Lib.PeopleManager,\n PeoplePicker: Lib.PeoplePicker,\n ProfileLoader: Lib.ProfileLoader,\n RemoteWeb: function RemoteWeb(requestUrl) {\n return Lib.Web.getRemoteWeb(requestUrl);\n },\n Search: Lib.Search,\n Site: Lib.Site,\n SiteManager: Lib.SiteManager,\n SiteExists: function SiteExists(url) {\n return Lib.Site.exists(url);\n },\n SiteUrl: function SiteUrl(id) {\n return Lib.Site.getUrlById(id);\n },\n SPTypes: sptypes_1.SPTypes,\n SocialFeed: Lib.SocialFeed,\n ThemeManager: Lib.ThemeManager,\n UserProfile: Lib.UserProfile,\n Utility: Lib.Utility,\n Web: Lib.Web,\n WebTemplateExtensions: Lib.WebTemplateExtensions,\n WorkflowInstanceService: Lib.WorkflowInstanceService,\n WorkflowSubscriptionService: Lib.WorkflowSubscriptionService\n}; // See if the library doesn't exist, or is an older version\n\nvar global = Lib.ContextInfo.window.$REST;\n\nif (global == null || global.__ver == null || global.__ver < exports.$REST.__ver) {\n // Set the global variable\n Lib.ContextInfo.window.$REST = exports.$REST; // Ensure the SP lib exists\n\n if (Lib.ContextInfo.window.SP) {\n // If MDS is turned on in a SP2013 environment, it may throw an error\n try {\n // Alert other scripts this library is loaded\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest\");\n Lib.ContextInfo.window.SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest.js\");\n } catch (_a) {\n // Log\n console.error(\"[gd-sprest] Error notifying scripts using the SP SOD library.\");\n }\n }\n}\n\n//# sourceURL=webpack://gd-sprest/./build/rest.js?");
735
735
 
736
736
  /***/ }),
737
737
 
@@ -753,7 +753,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
753
753
  /***/ (function(__unused_webpack_module, exports) {
754
754
 
755
755
  "use strict";
756
- eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.WebTemplateType = exports.ViewType = exports.UserCustomActionRegistrationType = exports.URLZones = exports.UrlFormatType = exports.StatusPriColor = exports.RoleType = exports.ReorderingRuleMatchType = exports.RenderListDataOptions = exports.RelationshipDeleteBehaviorType = exports.PrincipalTypes = exports.PrincipalSources = exports.PersonalSiteCapabilities = exports.PersonalizationScope = exports.PageType = exports.ModalDialogResult = exports.LocaleLCIDType = exports.ListTemplateType = exports.FriendlyDateFormat = exports.FileTemplateType = exports.FileLevelType = exports.FieldUserSelectionType = exports.FieldType = exports.FieldResultType = exports.FieldNumberType = exports.FieldNoteType = exports.EventReceiverType = exports.EventReceiverSynchronizationType = exports.DraftVisibilityType = exports.DateFormat = exports.ControlMode = exports.ClientTemplatesUtility = exports.ChoiceFormatType = exports.CheckOutType = exports.CheckInType = exports.CalendarTypes = exports.BasePermissionTypes = void 0;\n/**\r\n * Base Permission Types\r\n */\n\nexports.BasePermissionTypes = {\n EmptyMask: 0,\n ViewListItems: 1,\n AddListItems: 2,\n EditListItems: 3,\n DeleteListItems: 4,\n ApproveItems: 5,\n OpenItems: 6,\n ViewVersions: 7,\n DeleteVersions: 8,\n CancelCheckout: 9,\n ManagePersonalViews: 10,\n ManageLists: 12,\n ViewFormPages: 13,\n AnonymousSearchAccessList: 14,\n Open: 17,\n ViewPages: 18,\n AddAndCustomizePages: 19,\n ApplyThemeAndBorder: 20,\n ApplyStyleSheets: 21,\n ViewUsageData: 22,\n CreateSSCSite: 23,\n ManageSubwebs: 24,\n CreateGroups: 25,\n ManagePermissions: 26,\n BrowseDirectories: 27,\n BrowseUserInfo: 28,\n AddDelPrivateWebParts: 29,\n UpdatePersonalWebParts: 30,\n ManageWeb: 31,\n AnonymousSearchAccessWebLists: 32,\n UseClientIntegration: 37,\n UseRemoteAPIs: 38,\n ManageAlerts: 39,\n CreateAlerts: 40,\n EditMyUserInfo: 41,\n EnumeratePermissions: 63,\n FullMask: 65\n};\n/**\r\n * Calendar Types\r\n */\n\nexports.CalendarTypes = {\n Gregorian: 1,\n JapaneseEmperorEra: 3,\n TaiwanCalendar: 4,\n KoreanTangunEra: 5,\n Hijri: 6,\n Thai: 7,\n HebrewLunar: 8,\n GregorianMiddleEastFrench: 9,\n GregorianArabic: 10,\n GregorianTransliteratedEnglish: 11,\n GregorianTransliteratedFrench: 12,\n KoreanandJapaneseLunar: 14,\n ChineseLunar: 15,\n SakaEra: 16\n};\n/**\r\n * Check In Types\r\n */\n\nexports.CheckInType = {\n MinorCheckIn: 0,\n MajorCheckIn: 1,\n OverwriteCheckIn: 2\n};\n/**\r\n * Check Out Types\r\n */\n\nexports.CheckOutType = {\n Online: 0,\n Offline: 1,\n None: 2\n};\n/**\r\n * Choice Format Types\r\n */\n\nexports.ChoiceFormatType = {\n Dropdown: 0,\n RadioButtons: 1\n};\n/**\r\n * Client Template Utility\r\n */\n\nexports.ClientTemplatesUtility = {\n UserLookupDelimitString: \";#\",\n UserMultiValueDelimitString: \",#\"\n};\n/**\r\n * Control Modes\r\n */\n\nexports.ControlMode = {\n Invalid: 0,\n Display: 1,\n Edit: 2,\n New: 3,\n View: 4\n};\n/**\r\n * Date Format\r\n */\n\nexports.DateFormat = {\n DateOnly: 0,\n DateTime: 1\n};\n/**\r\n * Draft Visibility Types\r\n */\n\nexports.DraftVisibilityType = {\n Reader: 0,\n Author: 1,\n Approver: 2\n};\n/**\r\n * Event Receiver Synchronization Types\r\n */\n\nexports.EventReceiverSynchronizationType = {\n Synchronization: 1,\n Asynchronous: 2\n};\n/**\r\n * Event Receiver Types\r\n */\n\nexports.EventReceiverType = {\n ItemAdding: 1,\n ItemUpdating: 2,\n ItemDeleting: 3,\n ItemCheckingIn: 4,\n ItemCheckingOut: 5,\n ItemUncheckingOut: 6,\n ItemAttachmentAdding: 7,\n ItemAttachmentDeleting: 8,\n ItemFileMoving: 9,\n ItemVersionDeleting: 11,\n FieldAdding: 101,\n FieldUpdating: 102,\n FieldDeleting: 103,\n ListAdding: 104,\n ListDeleting: 105,\n SiteDeleting: 201,\n WebDeleting: 202,\n WebMoving: 203,\n WebAdding: 204,\n GroupAdding: 301,\n GroupUpdating: 302,\n GroupDeleting: 303,\n GroupUserAdding: 304,\n GroupUserDeleting: 305,\n RoleDefinitionAdding: 306,\n RoleDefinitionUpdating: 307,\n RoleDefinitionDeleting: 308,\n RoleAssignmentAdding: 309,\n RoleAssignmentDeleting: 310,\n InheritanceBreaking: 311,\n InheritanceResetting: 312,\n WorkflowStarting: 501,\n ItemAdded: 10001,\n ItemUpdated: 10002,\n ItemDeleted: 10003,\n ItemCheckedIn: 10004,\n ItemCheckedOut: 10005,\n ItemUncheckedOut: 10006,\n ItemAttachmentAdded: 10007,\n ItemAttachmentDeleted: 10008,\n ItemFileMoved: 10009,\n ItemFileConverted: 10010,\n ItemVersionDeleted: 10011,\n FieldAdded: 10101,\n FieldUpdated: 10102,\n FieldDeleted: 10103,\n ListAdded: 10104,\n ListDeleted: 10105,\n SiteDeleted: 10201,\n WebDeleted: 10202,\n WebMoved: 10203,\n WebProvisioned: 10204,\n GroupAdded: 10301,\n GroupUpdated: 10302,\n GroupDeleted: 10303,\n GroupUserAdded: 10304,\n GroupUserDeleted: 10305,\n RoleDefinitionAdded: 10306,\n RoleDefinitionUpdated: 10307,\n RoleDefinitionDeleted: 10308,\n RoleAssignmentAdded: 10309,\n RoleAssignmentDeleted: 10310,\n InheritanceBroken: 10311,\n InheritanceReset: 10312,\n WorkflowStarted: 10501,\n WorkflowPostponed: 10502,\n WorkflowCompleted: 10503,\n EntityInstanceAdded: 10601,\n EntityInstanceUpdated: 10602,\n EntityInstanceDeleted: 10603,\n AppInstalled: 10701,\n AppUpgraded: 10702,\n AppUninstalling: 10703,\n EmailReceived: 20000,\n ContextEvent: 32766\n};\n/**\r\n * Field Note Types\r\n */\n\nexports.FieldNoteType = {\n /** Enhance Rich Text */\n EnhancedRichText: 0,\n\n /** Rich Text */\n RichText: 1,\n\n /** Text Only */\n TextOnly: 2\n};\n/**\r\n * Field Number Type\r\n */\n\nexports.FieldNumberType = {\n /** Decimal */\n Decimal: 0,\n\n /** Integer */\n Integer: 1,\n\n /** Percentage */\n Percentage: 2\n};\n/**\r\n * Field Result Types\r\n */\n\nexports.FieldResultType = {\n /** Boolean */\n Boolean: \"Boolean\",\n\n /** Currency */\n Currency: \"Currency\",\n\n /** Date Only */\n DateOnly: \"DateOnly\",\n\n /** Date & Time */\n DateTime: \"DateTime\",\n\n /** Number */\n Number: \"Number\",\n\n /** Text */\n Text: \"Text\"\n};\n/**\r\n * Field Types\r\n */\n\nexports.FieldType = {\n AllDayEvent: 29,\n Attachments: 19,\n Boolean: 8,\n Calculated: 17,\n Choice: 6,\n Computed: 12,\n ContentTypeId: 25,\n Counter: 5,\n CrossProjectLink: 22,\n Currency: 10,\n DateTime: 4,\n Error: 24,\n File: 18,\n Geolocation: 31,\n GridChoice: 16,\n Guid: 14,\n Integer: 1,\n Invalid: 0,\n Lookup: 7,\n MaxItems: 31,\n ModStat: 23,\n MultiChoice: 15,\n Note: 3,\n Number: 9,\n PageSeparator: 26,\n Recurrence: 21,\n Text: 2,\n ThreadIndex: 27,\n Threading: 13,\n URL: 11,\n User: 20,\n WorkflowEventType: 30,\n WorkflowStatus: 28\n};\n/**\r\n * Field User Selection Types\r\n */\n\nexports.FieldUserSelectionType = {\n PeopleOnly: 0,\n PeopleAndGroups: 1\n};\n/**\r\n * File Level\r\n */\n\nexports.FileLevelType = {\n Published: 1,\n Draft: 2,\n Checkout: 3\n};\n/**\r\n * File Template Types\r\n*/\n\nexports.FileTemplateType = {\n StandardPage: 0,\n WikiPage: 1,\n FormPage: 2\n};\n/**\r\n * Friendly Date Format\r\n */\n\nexports.FriendlyDateFormat = {\n Unspecified: 0,\n Disabled: 1,\n Relative: 2\n};\n/**\r\n * List Template Types\r\n*/\n\nexports.ListTemplateType = {\n AccessApp: 3100,\n AccessRequest: 160,\n AdminTasks: 1200,\n Agenda: 201,\n AlchemyApprovalWorkflow: 3102,\n AlchemyMobileForm: 3101,\n AppCatalog: 336,\n AppDataCatalog: 125,\n Announcements: 104,\n AssetLibrary: 851,\n CallTrack: 404,\n Categories: 303,\n Circulation: 405,\n ClientSideAssets: 334,\n ClientSideComponentManifests: 331,\n Comments: 302,\n Contacts: 105,\n CustomGrid: 120,\n DataConnectionLibrary: 130,\n DataSources: 110,\n Decision: 204,\n DesignCatalog: 124,\n DeveloperSiteDraftApps: 1230,\n DiscussionBoard: 108,\n DocumentLibrary: 101,\n Events: 106,\n ExternalList: 600,\n Facility: 402,\n GanttTasks: 150,\n GenericList: 100,\n HealthReports: 1221,\n HealthRules: 1220,\n HelpLibrary: 151,\n Holidays: 421,\n HomePageLibrary: 212,\n IMEDic: 499,\n IssueTracking: 1100,\n KPIStatusList: 432,\n LanguagesAndTranslatorsList: 1301,\n Links: 103,\n ListTemplateCatalog: 114,\n MasterPageCatalog: 116,\n MaintenanceLogs: 175,\n MeetingObjective: 207,\n Meetings: 200,\n MeetingUser: 202,\n MicroFeed: 544,\n MySiteDocumentLibrary: 700,\n PageLibrary: 850,\n PerformancePointContentList: 450,\n PerformancePointDataSourceLibrary: 460,\n PerformancePointDataConnectionsLibrary: 470,\n PerformancePointDashboardsLibrary: 480,\n PersonalDocumentLibrary: 2002,\n PictureLibrary: 109,\n Posts: 301,\n PrivateDocumentLibrary: 2003,\n NoCodePublic: 122,\n NoCodeWorkflows: 117,\n RecordLibrary: 1302,\n ReportLibrary: 433,\n SharingLinks: 3300,\n SolutionCatalog: 121,\n Survey: 102,\n Tasks: 107,\n TasksWithTimelineAndHierarchy: 171,\n TenantWideExtensions: 337,\n TextBox: 210,\n ThemeCatalog: 123,\n ThingsToBring: 211,\n Timecard: 420,\n TranslationManagementLibrary: 1300,\n UserInformation: 112,\n VisioProcessDiagramMetricLibrary: 505,\n VisioProcessDiagramUSUnitsLibrary: 506,\n WebPageLibrary: 119,\n WebPartCatalog: 113,\n WebTemplateCatalog: 111,\n Whereabouts: 403,\n WorkflowHistory: 140,\n WorkflowProcess: 118,\n XMLForm: 115\n};\n/**\r\n * Locale LCID Types\r\n */\n\nexports.LocaleLCIDType = {\n Afrikaans: 1078,\n Albanian: 1052,\n ArabicAlgeria: 5121,\n ArabicBahrain: 15361,\n ArabicEgypt: 3073,\n ArabicIraq: 2049,\n ArabicJordan: 11265,\n ArabicLebanon: 12289,\n ArabicLibya: 4097,\n ArabicMorocco: 6145,\n ArabicOman: 8193,\n ArabicQatar: 16385,\n ArabicSaudiArabia: 1025,\n ArabicSyria: 10241,\n ArabicTunisia: 7169,\n ArabicUAE: 14337,\n ArabicYemen: 9217,\n Armenian: 1067,\n AzeriCyrillic: 2092,\n AzeriLatin: 1068,\n Basque: 1069,\n Belarusian: 1059,\n Bulgarian: 1026,\n Catalan: 1027,\n ChineseHongKongSAR: 3076,\n ChineseMacaoSAR: 5124,\n ChinesePRC: 2052,\n ChineseSingapore: 4100,\n ChineseTaiwan: 1028,\n CroatianCroatia: 1050,\n Czech: 1029,\n Danish: 1030,\n Divehi: 1125,\n DutchBelgium: 2067,\n DutchNetherlands: 1043,\n EnglishAustralia: 3081,\n EnglishBelize: 10249,\n EnglishCanada: 4105,\n EnglishCaribbean: 9225,\n EnglishIreland: 6153,\n EnglishJamaica: 8201,\n EnglishNewZealand: 5129,\n EnglishPhilippines: 13321,\n EnglishSouthAfrica: 7177,\n EnglishTrinidad: 11273,\n EnglishUnitedKingdom: 2057,\n EnglishUnitedStates: 1033,\n EnglishZimbabwe: 12297,\n Estonian: 1061,\n Faeroese: 1080,\n Finnish: 1035,\n FrenchBelgium: 2060,\n FrenchCanada: 3084,\n FrenchFrance: 1036,\n FrenchLuxembourg: 5132,\n FrenchMonaco: 6156,\n FrenchSwitzerland: 4108,\n Galician: 1110,\n Georgian: 1079,\n GermanAustria: 3079,\n GermanGermany: 1031,\n GermanLiechtenstein: 5127,\n GermanLuxembourg: 4103,\n GermanSwitzerland: 2055,\n Greek: 1032,\n Gujarati: 1095,\n HebrewIsrael: 1037,\n HindiIndia: 1081,\n Hungarian: 1038,\n Icelandic: 1039,\n Indonesian: 1057,\n ItalianItaly: 1040,\n ItalianSwitzerland: 2064,\n Japanese: 1041,\n Kannada: 1099,\n Kazakh: 1087,\n Konkani: 1111,\n Korean: 1042,\n KyrgyzCyrillic: 1088,\n Latvian: 1062,\n Lithuanian: 1063,\n MacedonianFYROM: 1071,\n Malay: 1086,\n MalayBruneiDarussalam: 2110,\n Marathi: 1102,\n MongolianCyrillic: 1104,\n NorwegianBokmal: 1044,\n NorwegianNynorsk: 2068,\n PersianIran: 1065,\n Polish: 1045,\n PortugueseBrazil: 1046,\n PortuguesePortugal: 2070,\n Punjabi: 1094,\n Romanian: 1048,\n Russian: 1049,\n Sanskrit: 1103,\n SerbianCyrillic: 3098,\n SerbianLatin: 2074,\n Slovak: 1051,\n Slovenian: 1060,\n SpanishArgentina: 11274,\n SpanishBolivia: 16394,\n SpanishChile: 13322,\n SpanishColombia: 9226,\n SpanishCostaRica: 5130,\n SpanishDominicanRepublic: 7178,\n SpanishEcuador: 12298,\n SpanishElSalvador: 17418,\n SpanishGuatemala: 4106,\n SpanishHonduras: 18442,\n SpanishMexico: 2058,\n SpanishNicaragua: 19466,\n SpanishPanama: 6154,\n SpanishParaguay: 15370,\n SpanishPeru: 10250,\n SpanishPuertoRico: 20490,\n SpanishSpain: 3082,\n SpanishUruguay: 14346,\n SpanishVenezuela: 8202,\n Swahili: 1089,\n Swedish: 1053,\n SwedishFinland: 2077,\n Syriac: 1114,\n Tamil: 1097,\n Tatar: 1092,\n Telugu: 1098,\n ThaiThailand: 1054,\n Turkish: 1055,\n Ukrainian: 1058,\n UrduPakistan: 1056,\n UzbekCyrillic: 2115,\n UzbekLatin: 1091,\n Vietnamese: 1066\n};\n/**\r\n * Modal Dialog Results\r\n */\n\nexports.ModalDialogResult = {\n Invalid: -1,\n Cancel: 0,\n OK: 1\n};\n/**\r\n * Page Types\r\n */\n\nexports.PageType = {\n DefaultView: 0,\n DialogView: 2,\n DisplayForm: 4,\n DisplayFormDialog: 5,\n EditForm: 6,\n EditFormDialog: 7,\n Invalid: -1,\n NewForm: 8,\n NewFormDialog: 9,\n NormalView: 1,\n Page_MAXITEMS: 11,\n SolutionForm: 10,\n View: 3\n};\n/**\r\n * Personalization Scope\r\n */\n\nexports.PersonalizationScope = {\n Shared: 1,\n User: 0\n};\n/**\r\n * Personal Site Capabilities\r\n */\n\nexports.PersonalSiteCapabilities = {\n Education: 16,\n Guest: 32,\n MyTasksDashboard: 8,\n None: 0,\n Profile: 1,\n Social: 2,\n Storage: 4\n};\n/**\r\n * Principal Sources\r\n */\n\nexports.PrincipalSources = {\n All: 15,\n MembershipProvider: 4,\n None: 0,\n RoleProvider: 8,\n UserInfoList: 1,\n Windows: 2\n};\n/**\r\n * Principal Types\r\n */\n\nexports.PrincipalTypes = {\n All: 15,\n DistributionList: 2,\n None: 0,\n SecurityGroup: 4,\n SharePointGroup: 8,\n User: 1\n};\n/**\r\n * Relationship Delete Behavior Types\r\n */\n\nexports.RelationshipDeleteBehaviorType = {\n None: 0,\n Cascade: 1,\n Restrict: 2\n};\n/**\r\n * Render List Data Options\r\n */\n\nexports.RenderListDataOptions = {\n None: 0,\n ContextInfo: 1,\n ListData: 2,\n ListSchema: 4,\n MenuView: 8,\n ListContentType: 16,\n FileSystemItemId: 32,\n ClientFormSchema: 64,\n QuickLaunch: 128,\n Spotlight: 256,\n Visualization: 512,\n ViewMetadata: 1024,\n DisableAutoHyperlink: 2048,\n EnableMediaTAUrls: 4096,\n ParentInfo: 8192,\n PageContextInfo: 16384,\n ClientSideComponentManifest: 32768\n};\n/**\r\n * Reordering Rule Match Types\r\n */\n\nexports.ReorderingRuleMatchType = {\n ContentTypeIs: 5,\n FileExtensionMatches: 6,\n ManualCondition: 8,\n ResultContainsKeyword: 0,\n ResultHasTag: 7,\n TitleContainsKeyword: 1,\n TitleMatchesKeyword: 2,\n UrlExactlyMatches: 4,\n UrlStartsWith: 3\n};\n/**\r\n * Role Types\r\n */\n\nexports.RoleType = {\n Administrator: 5,\n Contributor: 3,\n Editor: 6,\n Guest: 1,\n None: 0,\n Reader: 2,\n WebDesigner: 4\n};\n/**\r\n * Status Pri Color\r\n */\n\nexports.StatusPriColor = {\n Blue: \"blue\",\n Green: \"green\",\n Red: \"red\",\n Yellow: \"yellow\"\n};\n/**\r\n * URL Format Types\r\n */\n\nexports.UrlFormatType = {\n Hyperlink: 0,\n Image: 1\n};\n/**\r\n * URL Zones\r\n */\n\nexports.URLZones = {\n Default: 0,\n Intranet: 1,\n Internet: 2,\n Custom: 3,\n Extranet: 4\n};\n/**\r\n * User Custom Action Registration Types\r\n */\n\nexports.UserCustomActionRegistrationType = {\n None: 0,\n List: 1,\n ContentType: 2,\n ProgId: 3,\n FileType: 4\n};\n/**\r\n * View Types\r\n */\n\nexports.ViewType = {\n Calendar: 524288,\n Chart: 131072,\n Gantt: 67108864,\n Grid: 2048,\n Html: 1,\n Recurrence: 8193\n};\n/**\r\n * Web Template Types\r\n */\n\nexports.WebTemplateType = {\n AcademicLibrary: \"DOCMARKETPLACESITE\",\n App: \"APP\",\n AppCatalog: \"APPCATALOG\",\n BasicSearch: \"SRCHCENTERLITE\",\n Blog: \"BLOG\",\n BusinessIntelligenceCenter: \"BICenterSite\",\n CentralAdmin: \"CENTRALADMIN\",\n Community: \"COMMUNITY\",\n CommunityPortal: \"COMMUNITYPORTAL\",\n Dev: \"DEV\",\n DocumentCenter: \"BDR\",\n eDiscoveryCenter: \"EDISC\",\n EnterpriseSearch: \"SRCHCEN\",\n EnterpriseWiki: \"ENTERWIKI\",\n Global: \"GLOBAL\",\n GroupWorkSite: \"SGS\",\n Meetings: \"MEETINGS\",\n MeetingWorkspace: \"MPS\",\n PerformancePoint: \"PPMASite\",\n ProductCatalog: \"PRODUCTCATALOG\",\n Profiles: \"PROFILES\",\n ProjectSite: \"PROJECTSITE\",\n Publishing: \"BLANKINTERNET\",\n PublishingSite: \"CMSPUBLISHING\",\n RecordsCenter: \"OFFILE\",\n SharedServicesAdminSite: \"OSRV\",\n Site: \"STS\",\n TeamCollaborationSite: \"TEAM\",\n TenantAdmin: \"TENANTADMIN\",\n Wiki: \"WIKI\"\n};\n\n//# sourceURL=webpack://gd-sprest/./build/sptypes/sptypes.js?");
756
+ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.WebTemplateType = exports.ViewType = exports.UserCustomActionRegistrationType = exports.URLZones = exports.UrlFormatType = exports.StatusPriColor = exports.RoleType = exports.ReorderingRuleMatchType = exports.RenderListDataOptions = exports.RelationshipDeleteBehaviorType = exports.PrincipalTypes = exports.PrincipalSources = exports.PersonalSiteCapabilities = exports.PersonalizationScope = exports.PageType = exports.ModalDialogResult = exports.LocaleLCIDType = exports.ListTemplateType = exports.FriendlyDateFormat = exports.FileTemplateType = exports.FileLevelType = exports.FieldUserSelectionType = exports.FieldType = exports.FieldResultType = exports.FieldNumberType = exports.FieldNoteType = exports.EventReceiverType = exports.EventReceiverSynchronizationType = exports.DraftVisibilityType = exports.DateFormat = exports.ControlMode = exports.ClientTemplatesUtility = exports.ChoiceFormatType = exports.CheckOutType = exports.CheckInType = exports.CalendarTypes = exports.BasePermissionTypes = void 0;\n/**\r\n * Base Permission Types\r\n */\n\nexports.BasePermissionTypes = {\n EmptyMask: 0,\n ViewListItems: 1,\n AddListItems: 2,\n EditListItems: 3,\n DeleteListItems: 4,\n ApproveItems: 5,\n OpenItems: 6,\n ViewVersions: 7,\n DeleteVersions: 8,\n CancelCheckout: 9,\n ManagePersonalViews: 10,\n ManageLists: 12,\n ViewFormPages: 13,\n AnonymousSearchAccessList: 14,\n Open: 17,\n ViewPages: 18,\n AddAndCustomizePages: 19,\n ApplyThemeAndBorder: 20,\n ApplyStyleSheets: 21,\n ViewUsageData: 22,\n CreateSSCSite: 23,\n ManageSubwebs: 24,\n CreateGroups: 25,\n ManagePermissions: 26,\n BrowseDirectories: 27,\n BrowseUserInfo: 28,\n AddDelPrivateWebParts: 29,\n UpdatePersonalWebParts: 30,\n ManageWeb: 31,\n AnonymousSearchAccessWebLists: 32,\n UseClientIntegration: 37,\n UseRemoteAPIs: 38,\n ManageAlerts: 39,\n CreateAlerts: 40,\n EditMyUserInfo: 41,\n EnumeratePermissions: 63,\n FullMask: 65\n};\n/**\r\n * Calendar Types\r\n */\n\nexports.CalendarTypes = {\n Gregorian: 1,\n JapaneseEmperorEra: 3,\n TaiwanCalendar: 4,\n KoreanTangunEra: 5,\n Hijri: 6,\n Thai: 7,\n HebrewLunar: 8,\n GregorianMiddleEastFrench: 9,\n GregorianArabic: 10,\n GregorianTransliteratedEnglish: 11,\n GregorianTransliteratedFrench: 12,\n KoreanandJapaneseLunar: 14,\n ChineseLunar: 15,\n SakaEra: 16\n};\n/**\r\n * Check In Types\r\n */\n\nexports.CheckInType = {\n MinorCheckIn: 0,\n MajorCheckIn: 1,\n OverwriteCheckIn: 2\n};\n/**\r\n * Check Out Types\r\n */\n\nexports.CheckOutType = {\n Online: 0,\n Offline: 1,\n None: 2\n};\n/**\r\n * Choice Format Types\r\n */\n\nexports.ChoiceFormatType = {\n Dropdown: 0,\n RadioButtons: 1\n};\n/**\r\n * Client Template Utility\r\n */\n\nexports.ClientTemplatesUtility = {\n UserLookupDelimitString: \";#\",\n UserMultiValueDelimitString: \",#\"\n};\n/**\r\n * Control Modes\r\n */\n\nexports.ControlMode = {\n Invalid: 0,\n Display: 1,\n Edit: 2,\n New: 3,\n View: 4\n};\n/**\r\n * Date Format\r\n */\n\nexports.DateFormat = {\n DateOnly: 0,\n DateTime: 1\n};\n/**\r\n * Draft Visibility Types\r\n */\n\nexports.DraftVisibilityType = {\n Reader: 0,\n Author: 1,\n Approver: 2\n};\n/**\r\n * Event Receiver Synchronization Types\r\n */\n\nexports.EventReceiverSynchronizationType = {\n Synchronization: 1,\n Asynchronous: 2\n};\n/**\r\n * Event Receiver Types\r\n */\n\nexports.EventReceiverType = {\n ItemAdding: 1,\n ItemUpdating: 2,\n ItemDeleting: 3,\n ItemCheckingIn: 4,\n ItemCheckingOut: 5,\n ItemUncheckingOut: 6,\n ItemAttachmentAdding: 7,\n ItemAttachmentDeleting: 8,\n ItemFileMoving: 9,\n ItemVersionDeleting: 11,\n FieldAdding: 101,\n FieldUpdating: 102,\n FieldDeleting: 103,\n ListAdding: 104,\n ListDeleting: 105,\n SiteDeleting: 201,\n WebDeleting: 202,\n WebMoving: 203,\n WebAdding: 204,\n GroupAdding: 301,\n GroupUpdating: 302,\n GroupDeleting: 303,\n GroupUserAdding: 304,\n GroupUserDeleting: 305,\n RoleDefinitionAdding: 306,\n RoleDefinitionUpdating: 307,\n RoleDefinitionDeleting: 308,\n RoleAssignmentAdding: 309,\n RoleAssignmentDeleting: 310,\n InheritanceBreaking: 311,\n InheritanceResetting: 312,\n WorkflowStarting: 501,\n ItemAdded: 10001,\n ItemUpdated: 10002,\n ItemDeleted: 10003,\n ItemCheckedIn: 10004,\n ItemCheckedOut: 10005,\n ItemUncheckedOut: 10006,\n ItemAttachmentAdded: 10007,\n ItemAttachmentDeleted: 10008,\n ItemFileMoved: 10009,\n ItemFileConverted: 10010,\n ItemVersionDeleted: 10011,\n FieldAdded: 10101,\n FieldUpdated: 10102,\n FieldDeleted: 10103,\n ListAdded: 10104,\n ListDeleted: 10105,\n SiteDeleted: 10201,\n WebDeleted: 10202,\n WebMoved: 10203,\n WebProvisioned: 10204,\n GroupAdded: 10301,\n GroupUpdated: 10302,\n GroupDeleted: 10303,\n GroupUserAdded: 10304,\n GroupUserDeleted: 10305,\n RoleDefinitionAdded: 10306,\n RoleDefinitionUpdated: 10307,\n RoleDefinitionDeleted: 10308,\n RoleAssignmentAdded: 10309,\n RoleAssignmentDeleted: 10310,\n InheritanceBroken: 10311,\n InheritanceReset: 10312,\n WorkflowStarted: 10501,\n WorkflowPostponed: 10502,\n WorkflowCompleted: 10503,\n EntityInstanceAdded: 10601,\n EntityInstanceUpdated: 10602,\n EntityInstanceDeleted: 10603,\n AppInstalled: 10701,\n AppUpgraded: 10702,\n AppUninstalling: 10703,\n EmailReceived: 20000,\n ContextEvent: 32766\n};\n/**\r\n * Field Note Types\r\n */\n\nexports.FieldNoteType = {\n /** Enhance Rich Text */\n EnhancedRichText: 0,\n\n /** Rich Text */\n RichText: 1,\n\n /** Text Only */\n TextOnly: 2\n};\n/**\r\n * Field Number Type\r\n */\n\nexports.FieldNumberType = {\n /** Decimal */\n Decimal: 0,\n\n /** Integer */\n Integer: 1,\n\n /** Percentage */\n Percentage: 2\n};\n/**\r\n * Field Result Types\r\n */\n\nexports.FieldResultType = {\n /** Boolean */\n Boolean: \"Boolean\",\n\n /** Currency */\n Currency: \"Currency\",\n\n /** Date Only */\n DateOnly: \"DateOnly\",\n\n /** Date & Time */\n DateTime: \"DateTime\",\n\n /** Number */\n Number: \"Number\",\n\n /** Text */\n Text: \"Text\"\n};\n/**\r\n * Field Types\r\n */\n\nexports.FieldType = {\n AllDayEvent: 29,\n Attachments: 19,\n Boolean: 8,\n Calculated: 17,\n Choice: 6,\n Computed: 12,\n ContentTypeId: 25,\n Counter: 5,\n CrossProjectLink: 22,\n Currency: 10,\n DateTime: 4,\n Error: 24,\n File: 18,\n Geolocation: 31,\n GridChoice: 16,\n Guid: 14,\n Integer: 1,\n Invalid: 0,\n Lookup: 7,\n MaxItems: 31,\n ModStat: 23,\n MultiChoice: 15,\n Note: 3,\n Number: 9,\n PageSeparator: 26,\n Recurrence: 21,\n Text: 2,\n ThreadIndex: 27,\n Threading: 13,\n URL: 11,\n User: 20,\n WorkflowEventType: 30,\n WorkflowStatus: 28\n};\n/**\r\n * Field User Selection Types\r\n */\n\nexports.FieldUserSelectionType = {\n PeopleOnly: 0,\n PeopleAndGroups: 1\n};\n/**\r\n * File Level\r\n */\n\nexports.FileLevelType = {\n Published: 1,\n Draft: 2,\n Checkout: 3\n};\n/**\r\n * File Template Types\r\n*/\n\nexports.FileTemplateType = {\n StandardPage: 0,\n WikiPage: 1,\n FormPage: 2\n};\n/**\r\n * Friendly Date Format\r\n */\n\nexports.FriendlyDateFormat = {\n Unspecified: 0,\n Disabled: 1,\n Relative: 2\n};\n/**\r\n * List Template Types\r\n*/\n\nexports.ListTemplateType = {\n AccessApp: 3100,\n AccessRequest: 160,\n AdminTasks: 1200,\n Agenda: 201,\n AlchemyApprovalWorkflow: 3102,\n AlchemyMobileForm: 3101,\n Announcements: 104,\n AppCatalog: 336,\n AppDataCatalog: 125,\n AssetLibrary: 851,\n CallTrack: 404,\n Categories: 303,\n Circulation: 405,\n ClientSideAssets: 334,\n ClientSideComponentManifests: 331,\n Comments: 302,\n Contacts: 105,\n CustomGrid: 120,\n DataConnectionLibrary: 130,\n DataSources: 110,\n Decision: 204,\n DesignCatalog: 124,\n DeveloperSiteDraftApps: 1230,\n DiscussionBoard: 108,\n DocumentLibrary: 101,\n Events: 106,\n ExternalList: 600,\n Facility: 402,\n GanttTasks: 150,\n GenericList: 100,\n HealthReports: 1221,\n HealthRules: 1220,\n HelpLibrary: 151,\n Holidays: 421,\n HomePageLibrary: 212,\n IMEDic: 499,\n IssueTracking: 1100,\n KPIStatusList: 432,\n LanguagesAndTranslatorsList: 1301,\n Links: 103,\n ListTemplateCatalog: 114,\n MaintenanceLogs: 175,\n MasterPageCatalog: 116,\n MeetingObjective: 207,\n Meetings: 200,\n MeetingUser: 202,\n MicroFeed: 544,\n MySiteDocumentLibrary: 700,\n NoCodePublic: 122,\n NoCodeWorkflows: 117,\n PageLibrary: 850,\n PerformancePointContentList: 450,\n PerformancePointDataSourceLibrary: 460,\n PerformancePointDataConnectionsLibrary: 470,\n PerformancePointDashboardsLibrary: 480,\n PersonalDocumentLibrary: 2002,\n PictureLibrary: 109,\n Posts: 301,\n PrivateDocumentLibrary: 2003,\n RecordLibrary: 1302,\n ReportLibrary: 433,\n SharingLinks: 3300,\n SolutionCatalog: 121,\n Survey: 102,\n Tasks: 107,\n TasksWithTimelineAndHierarchy: 171,\n TenantWideExtensions: 337,\n TextBox: 210,\n ThemeCatalog: 123,\n ThingsToBring: 211,\n Timecard: 420,\n TranslationManagementLibrary: 1300,\n UserInformation: 112,\n VisioProcessDiagramMetricLibrary: 505,\n VisioProcessDiagramUSUnitsLibrary: 506,\n WebPageLibrary: 119,\n WebPartCatalog: 113,\n WebTemplateCatalog: 111,\n Whereabouts: 403,\n WorkflowHistory: 140,\n WorkflowProcess: 118,\n XMLForm: 115\n};\n/**\r\n * Locale LCID Types\r\n */\n\nexports.LocaleLCIDType = {\n Afrikaans: 1078,\n Albanian: 1052,\n ArabicAlgeria: 5121,\n ArabicBahrain: 15361,\n ArabicEgypt: 3073,\n ArabicIraq: 2049,\n ArabicJordan: 11265,\n ArabicLebanon: 12289,\n ArabicLibya: 4097,\n ArabicMorocco: 6145,\n ArabicOman: 8193,\n ArabicQatar: 16385,\n ArabicSaudiArabia: 1025,\n ArabicSyria: 10241,\n ArabicTunisia: 7169,\n ArabicUAE: 14337,\n ArabicYemen: 9217,\n Armenian: 1067,\n AzeriCyrillic: 2092,\n AzeriLatin: 1068,\n Basque: 1069,\n Belarusian: 1059,\n Bulgarian: 1026,\n Catalan: 1027,\n ChineseHongKongSAR: 3076,\n ChineseMacaoSAR: 5124,\n ChinesePRC: 2052,\n ChineseSingapore: 4100,\n ChineseTaiwan: 1028,\n CroatianCroatia: 1050,\n Czech: 1029,\n Danish: 1030,\n Divehi: 1125,\n DutchBelgium: 2067,\n DutchNetherlands: 1043,\n EnglishAustralia: 3081,\n EnglishBelize: 10249,\n EnglishCanada: 4105,\n EnglishCaribbean: 9225,\n EnglishIreland: 6153,\n EnglishJamaica: 8201,\n EnglishNewZealand: 5129,\n EnglishPhilippines: 13321,\n EnglishSouthAfrica: 7177,\n EnglishTrinidad: 11273,\n EnglishUnitedKingdom: 2057,\n EnglishUnitedStates: 1033,\n EnglishZimbabwe: 12297,\n Estonian: 1061,\n Faeroese: 1080,\n Finnish: 1035,\n FrenchBelgium: 2060,\n FrenchCanada: 3084,\n FrenchFrance: 1036,\n FrenchLuxembourg: 5132,\n FrenchMonaco: 6156,\n FrenchSwitzerland: 4108,\n Galician: 1110,\n Georgian: 1079,\n GermanAustria: 3079,\n GermanGermany: 1031,\n GermanLiechtenstein: 5127,\n GermanLuxembourg: 4103,\n GermanSwitzerland: 2055,\n Greek: 1032,\n Gujarati: 1095,\n HebrewIsrael: 1037,\n HindiIndia: 1081,\n Hungarian: 1038,\n Icelandic: 1039,\n Indonesian: 1057,\n ItalianItaly: 1040,\n ItalianSwitzerland: 2064,\n Japanese: 1041,\n Kannada: 1099,\n Kazakh: 1087,\n Konkani: 1111,\n Korean: 1042,\n KyrgyzCyrillic: 1088,\n Latvian: 1062,\n Lithuanian: 1063,\n MacedonianFYROM: 1071,\n Malay: 1086,\n MalayBruneiDarussalam: 2110,\n Marathi: 1102,\n MongolianCyrillic: 1104,\n NorwegianBokmal: 1044,\n NorwegianNynorsk: 2068,\n PersianIran: 1065,\n Polish: 1045,\n PortugueseBrazil: 1046,\n PortuguesePortugal: 2070,\n Punjabi: 1094,\n Romanian: 1048,\n Russian: 1049,\n Sanskrit: 1103,\n SerbianCyrillic: 3098,\n SerbianLatin: 2074,\n Slovak: 1051,\n Slovenian: 1060,\n SpanishArgentina: 11274,\n SpanishBolivia: 16394,\n SpanishChile: 13322,\n SpanishColombia: 9226,\n SpanishCostaRica: 5130,\n SpanishDominicanRepublic: 7178,\n SpanishEcuador: 12298,\n SpanishElSalvador: 17418,\n SpanishGuatemala: 4106,\n SpanishHonduras: 18442,\n SpanishMexico: 2058,\n SpanishNicaragua: 19466,\n SpanishPanama: 6154,\n SpanishParaguay: 15370,\n SpanishPeru: 10250,\n SpanishPuertoRico: 20490,\n SpanishSpain: 3082,\n SpanishUruguay: 14346,\n SpanishVenezuela: 8202,\n Swahili: 1089,\n Swedish: 1053,\n SwedishFinland: 2077,\n Syriac: 1114,\n Tamil: 1097,\n Tatar: 1092,\n Telugu: 1098,\n ThaiThailand: 1054,\n Turkish: 1055,\n Ukrainian: 1058,\n UrduPakistan: 1056,\n UzbekCyrillic: 2115,\n UzbekLatin: 1091,\n Vietnamese: 1066\n};\n/**\r\n * Modal Dialog Results\r\n */\n\nexports.ModalDialogResult = {\n Invalid: -1,\n Cancel: 0,\n OK: 1\n};\n/**\r\n * Page Types\r\n */\n\nexports.PageType = {\n DefaultView: 0,\n DialogView: 2,\n DisplayForm: 4,\n DisplayFormDialog: 5,\n EditForm: 6,\n EditFormDialog: 7,\n Invalid: -1,\n NewForm: 8,\n NewFormDialog: 9,\n NormalView: 1,\n Page_MAXITEMS: 11,\n SolutionForm: 10,\n View: 3\n};\n/**\r\n * Personalization Scope\r\n */\n\nexports.PersonalizationScope = {\n Shared: 1,\n User: 0\n};\n/**\r\n * Personal Site Capabilities\r\n */\n\nexports.PersonalSiteCapabilities = {\n Education: 16,\n Guest: 32,\n MyTasksDashboard: 8,\n None: 0,\n Profile: 1,\n Social: 2,\n Storage: 4\n};\n/**\r\n * Principal Sources\r\n */\n\nexports.PrincipalSources = {\n All: 15,\n MembershipProvider: 4,\n None: 0,\n RoleProvider: 8,\n UserInfoList: 1,\n Windows: 2\n};\n/**\r\n * Principal Types\r\n */\n\nexports.PrincipalTypes = {\n All: 15,\n DistributionList: 2,\n None: 0,\n SecurityGroup: 4,\n SharePointGroup: 8,\n User: 1\n};\n/**\r\n * Relationship Delete Behavior Types\r\n */\n\nexports.RelationshipDeleteBehaviorType = {\n None: 0,\n Cascade: 1,\n Restrict: 2\n};\n/**\r\n * Render List Data Options\r\n */\n\nexports.RenderListDataOptions = {\n None: 0,\n ContextInfo: 1,\n ListData: 2,\n ListSchema: 4,\n MenuView: 8,\n ListContentType: 16,\n FileSystemItemId: 32,\n ClientFormSchema: 64,\n QuickLaunch: 128,\n Spotlight: 256,\n Visualization: 512,\n ViewMetadata: 1024,\n DisableAutoHyperlink: 2048,\n EnableMediaTAUrls: 4096,\n ParentInfo: 8192,\n PageContextInfo: 16384,\n ClientSideComponentManifest: 32768\n};\n/**\r\n * Reordering Rule Match Types\r\n */\n\nexports.ReorderingRuleMatchType = {\n ContentTypeIs: 5,\n FileExtensionMatches: 6,\n ManualCondition: 8,\n ResultContainsKeyword: 0,\n ResultHasTag: 7,\n TitleContainsKeyword: 1,\n TitleMatchesKeyword: 2,\n UrlExactlyMatches: 4,\n UrlStartsWith: 3\n};\n/**\r\n * Role Types\r\n */\n\nexports.RoleType = {\n Administrator: 5,\n Contributor: 3,\n Editor: 6,\n Guest: 1,\n None: 0,\n Reader: 2,\n WebDesigner: 4\n};\n/**\r\n * Status Pri Color\r\n */\n\nexports.StatusPriColor = {\n Blue: \"blue\",\n Green: \"green\",\n Red: \"red\",\n Yellow: \"yellow\"\n};\n/**\r\n * URL Format Types\r\n */\n\nexports.UrlFormatType = {\n Hyperlink: 0,\n Image: 1\n};\n/**\r\n * URL Zones\r\n */\n\nexports.URLZones = {\n Default: 0,\n Intranet: 1,\n Internet: 2,\n Custom: 3,\n Extranet: 4\n};\n/**\r\n * User Custom Action Registration Types\r\n */\n\nexports.UserCustomActionRegistrationType = {\n None: 0,\n List: 1,\n ContentType: 2,\n ProgId: 3,\n FileType: 4\n};\n/**\r\n * View Types\r\n */\n\nexports.ViewType = {\n Calendar: 524288,\n Chart: 131072,\n Gantt: 67108864,\n Grid: 2048,\n Html: 1,\n Recurrence: 8193\n};\n/**\r\n * Web Template Types\r\n */\n\nexports.WebTemplateType = {\n AcademicLibrary: \"DOCMARKETPLACESITE\",\n App: \"APP\",\n AppCatalog: \"APPCATALOG\",\n BasicSearch: \"SRCHCENTERLITE\",\n Blog: \"BLOG\",\n BusinessIntelligenceCenter: \"BICenterSite\",\n CentralAdmin: \"CENTRALADMIN\",\n Community: \"COMMUNITY\",\n CommunityPortal: \"COMMUNITYPORTAL\",\n Dev: \"DEV\",\n DocumentCenter: \"BDR\",\n eDiscoveryCenter: \"EDISC\",\n EnterpriseSearch: \"SRCHCEN\",\n EnterpriseWiki: \"ENTERWIKI\",\n Global: \"GLOBAL\",\n GroupWorkSite: \"SGS\",\n Meetings: \"MEETINGS\",\n MeetingWorkspace: \"MPS\",\n PerformancePoint: \"PPMASite\",\n ProductCatalog: \"PRODUCTCATALOG\",\n Profiles: \"PROFILES\",\n ProjectSite: \"PROJECTSITE\",\n Publishing: \"BLANKINTERNET\",\n PublishingSite: \"CMSPUBLISHING\",\n RecordsCenter: \"OFFILE\",\n SharedServicesAdminSite: \"OSRV\",\n Site: \"STS\",\n TeamCollaborationSite: \"TEAM\",\n TenantAdmin: \"TENANTADMIN\",\n Wiki: \"WIKI\"\n};\n\n//# sourceURL=webpack://gd-sprest/./build/sptypes/sptypes.js?");
757
757
 
758
758
  /***/ }),
759
759