dattatable 2.6.9 → 2.7.0

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.
Files changed (50) hide show
  1. package/build/common/index.d.ts +1 -1
  2. package/build/common/index.js +1 -1
  3. package/build/common/{timout.js → timeout.js} +4 -1
  4. package/dist/dattatable.js +6 -6
  5. package/dist/dattatable.min.js +1 -1
  6. package/docs/classes/AuditLog.html +13 -13
  7. package/docs/classes/CanvasForm.html +17 -17
  8. package/docs/classes/Comments.html +12 -12
  9. package/docs/classes/Dashboard.html +17 -17
  10. package/docs/classes/DataTable.html +11 -11
  11. package/docs/classes/Documents.html +45 -45
  12. package/docs/classes/FilterSlideout.html +14 -14
  13. package/docs/classes/Footer.html +4 -4
  14. package/docs/classes/Header.html +4 -4
  15. package/docs/classes/InstallationRequired.html +12 -12
  16. package/docs/classes/ItemForm.html +47 -47
  17. package/docs/classes/List.html +40 -40
  18. package/docs/classes/LoadingDialog.html +12 -12
  19. package/docs/classes/Modal.html +26 -26
  20. package/docs/classes/Navigation.html +6 -6
  21. package/docs/classes/Timeout.html +7 -7
  22. package/docs/enums/ActionButtonTypes.html +6 -6
  23. package/docs/functions/formatBytes.html +1 -1
  24. package/docs/functions/formatDateValue.html +1 -1
  25. package/docs/functions/formatTimeValue.html +1 -1
  26. package/docs/functions/getFileExt.html +1 -1
  27. package/docs/interfaces/IAuditLogItem.html +9 -9
  28. package/docs/interfaces/IAuditLogItemCreation.html +7 -7
  29. package/docs/interfaces/IAuditLogProps.html +5 -5
  30. package/docs/interfaces/IAuditLogViewProps.html +6 -6
  31. package/docs/interfaces/ICommentsItem.html +6 -6
  32. package/docs/interfaces/IDashboardProps.html +14 -14
  33. package/docs/interfaces/IDataTable.html +7 -7
  34. package/docs/interfaces/IDataTableProps.html +6 -6
  35. package/docs/interfaces/IDocumentsProps.html +25 -25
  36. package/docs/interfaces/IFilterItem.html +5 -5
  37. package/docs/interfaces/IFilterProps.html +4 -4
  38. package/docs/interfaces/IFooterProps.html +6 -6
  39. package/docs/interfaces/IHeaderProps.html +5 -5
  40. package/docs/interfaces/IInstallProps.html +4 -4
  41. package/docs/interfaces/IItemFormCreateProps.html +14 -14
  42. package/docs/interfaces/IItemFormEditProps.html +15 -15
  43. package/docs/interfaces/IItemFormTab.html +8 -8
  44. package/docs/interfaces/IItemFormTabInfo.html +3 -3
  45. package/docs/interfaces/IItemFormViewProps.html +12 -12
  46. package/docs/interfaces/IListProps.html +9 -9
  47. package/docs/interfaces/IShowDialogProps.html +7 -7
  48. package/docs/variables/DattaTable.html +1 -1
  49. package/package.json +1 -1
  50. /package/build/common/{timout.d.ts → timeout.d.ts} +0 -0
@@ -8,4 +8,4 @@ export * from "./list";
8
8
  export * from "./loadingDialog";
9
9
  export * from "./methods";
10
10
  export * from "./modal";
11
- export * from "./timout";
11
+ export * from "./timeout";
@@ -24,4 +24,4 @@ __exportStar(require("./list"), exports);
24
24
  __exportStar(require("./loadingDialog"), exports);
25
25
  __exportStar(require("./methods"), exports);
26
26
  __exportStar(require("./modal"), exports);
27
- __exportStar(require("./timout"), exports);
27
+ __exportStar(require("./timeout"), exports);
@@ -16,11 +16,14 @@ var Timeout = /** @class */ (function () {
16
16
  (0, gd_sprest_bs_1.Web)().query({ Select: ["Title"] }).execute(
17
17
  // Success
18
18
  function () {
19
- // Do nothing
19
+ // Log
20
+ console.info("[Timeout] Successfully able to query the current web.");
20
21
  },
21
22
  // Error getting the web information
22
23
  // Display a modal
23
24
  function () {
25
+ // Log
26
+ console.error("[Timeout] Error getting the current web.");
24
27
  // Clear the modal
25
28
  modal_1.Modal.clear();
26
29
  // Set the header
@@ -71,7 +71,7 @@ eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assig
71
71
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
72
72
 
73
73
  "use strict";
74
- eval("\r\n/** Common Components */\r\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}));\r\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n__exportStar(__webpack_require__(/*! ./canvas */ \"./build/common/canvas.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./comments */ \"./build/common/comments.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./documents */ \"./build/common/documents.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./installRequired */ \"./build/common/installRequired.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./itemForm */ \"./build/common/itemForm.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./list */ \"./build/common/list.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./loadingDialog */ \"./build/common/loadingDialog.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./methods */ \"./build/common/methods.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./modal */ \"./build/common/modal.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./timout */ \"./build/common/timout.js\"), exports);\r\n\n\n//# sourceURL=webpack://dattatable/./build/common/index.js?");
74
+ eval("\r\n/** Common Components */\r\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}));\r\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n__exportStar(__webpack_require__(/*! ./canvas */ \"./build/common/canvas.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./comments */ \"./build/common/comments.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./documents */ \"./build/common/documents.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./installRequired */ \"./build/common/installRequired.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./itemForm */ \"./build/common/itemForm.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./list */ \"./build/common/list.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./loadingDialog */ \"./build/common/loadingDialog.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./methods */ \"./build/common/methods.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./modal */ \"./build/common/modal.js\"), exports);\r\n__exportStar(__webpack_require__(/*! ./timeout */ \"./build/common/timeout.js\"), exports);\r\n\n\n//# sourceURL=webpack://dattatable/./build/common/index.js?");
75
75
 
76
76
  /***/ }),
77
77
 
@@ -141,14 +141,14 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
141
141
 
142
142
  /***/ }),
143
143
 
144
- /***/ "./build/common/timout.js":
145
- /*!********************************!*\
146
- !*** ./build/common/timout.js ***!
147
- \********************************/
144
+ /***/ "./build/common/timeout.js":
145
+ /*!*********************************!*\
146
+ !*** ./build/common/timeout.js ***!
147
+ \*********************************/
148
148
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
149
149
 
150
150
  "use strict";
151
- eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.Timeout = void 0;\r\nvar gd_sprest_bs_1 = __webpack_require__(/*! gd-sprest-bs */ \"./node_modules/.pnpm/gd-sprest-bs@10.10.17/node_modules/gd-sprest-bs/build/index.js\");\r\nvar modal_1 = __webpack_require__(/*! ./modal */ \"./build/common/modal.js\");\r\n/**\r\n * Timeout\r\n */\r\nvar Timeout = /** @class */ (function () {\r\n function Timeout() {\r\n }\r\n // Shows the canvas\r\n Timeout.checkWeb = function () {\r\n var _this = this;\r\n // Query the current web\r\n (0, gd_sprest_bs_1.Web)().query({ Select: [\"Title\"] }).execute(\r\n // Success\r\n function () {\r\n // Do nothing\r\n }, \r\n // Error getting the web information\r\n // Display a modal\r\n function () {\r\n // Clear the modal\r\n modal_1.Modal.clear();\r\n // Set the header\r\n modal_1.Modal.setHeader(\"Error Loading Web\");\r\n // Set the body\r\n modal_1.Modal.setBody(\"There was an error getting the current web. Please refresh the page.\");\r\n // Show the modal\r\n modal_1.Modal.show();\r\n // Stop the loop\r\n _this.stop();\r\n });\r\n };\r\n // Set the timeout value\r\n // Default value is 300000ms (5 min)\r\n Timeout.setTimer = function (timeout) {\r\n if (timeout === void 0) { timeout = 300000; }\r\n // Update the value\r\n this._timeout = timeout;\r\n };\r\n // Stops the timeout\r\n Timeout.stop = function () {\r\n // Ensure the loop id exists\r\n if (this._loopId) {\r\n // Stop the loop\r\n clearInterval(this._loopId);\r\n // Clear the loop id\r\n this._loopId = null;\r\n }\r\n };\r\n // Starts the timeout\r\n Timeout.start = function () {\r\n // Ensure it's not running\r\n if (this._loopId > 0) {\r\n return;\r\n }\r\n // Ensure the timer is set\r\n if (this._timeout == null) {\r\n // Set the default timer value\r\n this.setTimer();\r\n }\r\n // Start the interval\r\n this._loopId = setInterval(this.checkWeb, this._timeout);\r\n };\r\n Timeout._loopId = null;\r\n Timeout._timeout = null;\r\n return Timeout;\r\n}());\r\nexports.Timeout = Timeout;\r\n\n\n//# sourceURL=webpack://dattatable/./build/common/timout.js?");
151
+ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.Timeout = void 0;\r\nvar gd_sprest_bs_1 = __webpack_require__(/*! gd-sprest-bs */ \"./node_modules/.pnpm/gd-sprest-bs@10.10.17/node_modules/gd-sprest-bs/build/index.js\");\r\nvar modal_1 = __webpack_require__(/*! ./modal */ \"./build/common/modal.js\");\r\n/**\r\n * Timeout\r\n */\r\nvar Timeout = /** @class */ (function () {\r\n function Timeout() {\r\n }\r\n // Shows the canvas\r\n Timeout.checkWeb = function () {\r\n var _this = this;\r\n // Query the current web\r\n (0, gd_sprest_bs_1.Web)().query({ Select: [\"Title\"] }).execute(\r\n // Success\r\n function () {\r\n // Log\r\n console.info(\"[Timeout] Successfully able to query the current web.\");\r\n }, \r\n // Error getting the web information\r\n // Display a modal\r\n function () {\r\n // Log\r\n console.error(\"[Timeout] Error getting the current web.\");\r\n // Clear the modal\r\n modal_1.Modal.clear();\r\n // Set the header\r\n modal_1.Modal.setHeader(\"Error Loading Web\");\r\n // Set the body\r\n modal_1.Modal.setBody(\"There was an error getting the current web. Please refresh the page.\");\r\n // Show the modal\r\n modal_1.Modal.show();\r\n // Stop the loop\r\n _this.stop();\r\n });\r\n };\r\n // Set the timeout value\r\n // Default value is 300000ms (5 min)\r\n Timeout.setTimer = function (timeout) {\r\n if (timeout === void 0) { timeout = 300000; }\r\n // Update the value\r\n this._timeout = timeout;\r\n };\r\n // Stops the timeout\r\n Timeout.stop = function () {\r\n // Ensure the loop id exists\r\n if (this._loopId) {\r\n // Stop the loop\r\n clearInterval(this._loopId);\r\n // Clear the loop id\r\n this._loopId = null;\r\n }\r\n };\r\n // Starts the timeout\r\n Timeout.start = function () {\r\n // Ensure it's not running\r\n if (this._loopId > 0) {\r\n return;\r\n }\r\n // Ensure the timer is set\r\n if (this._timeout == null) {\r\n // Set the default timer value\r\n this.setTimer();\r\n }\r\n // Start the interval\r\n this._loopId = setInterval(this.checkWeb, this._timeout);\r\n };\r\n Timeout._loopId = null;\r\n Timeout._timeout = null;\r\n return Timeout;\r\n}());\r\nexports.Timeout = Timeout;\r\n\n\n//# sourceURL=webpack://dattatable/./build/common/timeout.js?");
152
152
 
153
153
  /***/ }),
154
154