dattatable 2.9.27 → 2.9.28

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 (56) hide show
  1. package/build/index.d.ts +2 -1
  2. package/build/index.js +2 -35
  3. package/build/theme.d.ts +1 -0
  4. package/build/theme.js +37 -0
  5. package/dist/dattatable.js +12 -1
  6. package/dist/dattatable.min.js +1 -1
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AuditLog.html +2 -2
  9. package/docs/classes/CanvasForm.html +2 -2
  10. package/docs/classes/Comments.html +2 -2
  11. package/docs/classes/Dashboard.html +4 -4
  12. package/docs/classes/DataTable.html +3 -3
  13. package/docs/classes/Documents.html +6 -6
  14. package/docs/classes/FilterSlideout.html +2 -2
  15. package/docs/classes/Footer.html +2 -2
  16. package/docs/classes/Header.html +2 -2
  17. package/docs/classes/InstallationRequired.html +2 -2
  18. package/docs/classes/ItemForm.html +4 -4
  19. package/docs/classes/List.html +4 -4
  20. package/docs/classes/ListSecurity.html +2 -2
  21. package/docs/classes/LoadingDialog.html +2 -2
  22. package/docs/classes/Modal.html +2 -2
  23. package/docs/classes/Navigation.html +3 -3
  24. package/docs/classes/Timeout.html +2 -2
  25. package/docs/enums/ActionButtonTypes.html +2 -2
  26. package/docs/functions/formatBytes.html +1 -1
  27. package/docs/functions/formatDateValue.html +1 -1
  28. package/docs/functions/formatTimeValue.html +1 -1
  29. package/docs/functions/getFileExt.html +1 -1
  30. package/docs/functions/waitForTheme.html +1 -1
  31. package/docs/interfaces/IAuditLogItem.html +2 -2
  32. package/docs/interfaces/IAuditLogItemCreation.html +2 -2
  33. package/docs/interfaces/IAuditLogProps.html +2 -2
  34. package/docs/interfaces/IAuditLogViewProps.html +2 -2
  35. package/docs/interfaces/ICommentsItem.html +2 -2
  36. package/docs/interfaces/IDashboardProps.html +2 -2
  37. package/docs/interfaces/IDataTable.html +2 -2
  38. package/docs/interfaces/IDataTableProps.html +2 -2
  39. package/docs/interfaces/IDocumentsProps.html +2 -2
  40. package/docs/interfaces/IFilterItem.html +2 -2
  41. package/docs/interfaces/IFilterProps.html +2 -2
  42. package/docs/interfaces/IFooterProps.html +2 -2
  43. package/docs/interfaces/IHeaderProps.html +2 -2
  44. package/docs/interfaces/IInstallProps.html +2 -2
  45. package/docs/interfaces/IItemFormCreateProps.html +2 -2
  46. package/docs/interfaces/IItemFormEditProps.html +2 -2
  47. package/docs/interfaces/IItemFormTab.html +2 -2
  48. package/docs/interfaces/IItemFormTabInfo.html +2 -2
  49. package/docs/interfaces/IItemFormViewProps.html +2 -2
  50. package/docs/interfaces/IListProps.html +2 -2
  51. package/docs/interfaces/IListSecurity.html +2 -2
  52. package/docs/interfaces/IListSecurityItem.html +2 -2
  53. package/docs/interfaces/IShowDialogProps.html +2 -2
  54. package/docs/variables/DattaTable.html +1 -1
  55. package/docs/variables/ListSecurityDefaultGroups.html +1 -1
  56. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -2,4 +2,5 @@
2
2
  export * from "./lib";
3
3
  /** Styling */
4
4
  import "./styles";
5
- export declare function waitForTheme(): PromiseLike<void>;
5
+ /** Theming */
6
+ export * from "./theme";
package/build/index.js CHANGED
@@ -14,45 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.waitForTheme = void 0;
18
17
  /** Library */
19
18
  __exportStar(require("./lib"), exports);
20
19
  /** Styling */
21
20
  require("./styles");
21
+ /** Theming */
22
+ __exportStar(require("./theme"), exports);
22
23
  /** Global Variable */
23
24
  var lib_1 = require("./lib");
24
25
  window["DattaTable"] = lib_1.DattaTable;
25
- /** Apply the Current Theme */
26
- var gd_sprest_bs_1 = require("gd-sprest-bs");
27
- var _themeLoaded = false;
28
- gd_sprest_bs_1.ThemeManager.load(true).then(function () { _themeLoaded = true; });
29
- function waitForTheme() {
30
- // Return a promise
31
- return new Promise(function (resolve, reject) {
32
- // See if the flag is set
33
- if (_themeLoaded) {
34
- resolve();
35
- return;
36
- }
37
- // Wait for the theme to be loaded
38
- var counter = 0;
39
- var maxAttempts = 100;
40
- var loopId = setInterval(function () {
41
- // See if the theme was loaded
42
- if (_themeLoaded) {
43
- // Stop the loop
44
- clearInterval(loopId);
45
- // Resolve the request
46
- resolve();
47
- }
48
- // Else, see if we have hit the max attempts
49
- else if (++counter >= maxAttempts) {
50
- // Stop the loop
51
- clearInterval(loopId);
52
- // Reject the request
53
- reject();
54
- }
55
- }, 50);
56
- });
57
- }
58
- exports.waitForTheme = waitForTheme;
@@ -0,0 +1 @@
1
+ export declare function waitForTheme(): PromiseLike<void>;
package/build/theme.js ADDED
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.waitForTheme = void 0;
4
+ var gd_sprest_bs_1 = require("gd-sprest-bs");
5
+ /** Apply the Current Theme */
6
+ var _themeLoaded = false;
7
+ gd_sprest_bs_1.ThemeManager.load(true).then(function () { _themeLoaded = true; });
8
+ function waitForTheme() {
9
+ // Return a promise
10
+ return new Promise(function (resolve) {
11
+ // See if the flag is set
12
+ if (_themeLoaded) {
13
+ resolve();
14
+ return;
15
+ }
16
+ // Wait for the theme to be loaded
17
+ var counter = 0;
18
+ var maxAttempts = 100;
19
+ var loopId = setInterval(function () {
20
+ // See if the theme was loaded
21
+ if (_themeLoaded) {
22
+ // Stop the loop
23
+ clearInterval(loopId);
24
+ // Resolve the request
25
+ resolve();
26
+ }
27
+ // Else, see if we have hit the max attempts
28
+ else if (++counter >= maxAttempts) {
29
+ // Stop the loop
30
+ clearInterval(loopId);
31
+ // Resolve the request
32
+ resolve();
33
+ }
34
+ }, 50);
35
+ });
36
+ }
37
+ exports.waitForTheme = waitForTheme;
@@ -236,7 +236,7 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
236
236
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
237
237
 
238
238
  "use strict";
239
- eval("\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\nexports.waitForTheme = void 0;\r\n/** Library */\r\n__exportStar(__webpack_require__(/*! ./lib */ \"./build/lib.js\"), exports);\r\n/** Styling */\r\n__webpack_require__(/*! ./styles */ \"./build/styles.js\");\r\n/** Global Variable */\r\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./build/lib.js\");\r\nwindow[\"DattaTable\"] = lib_1.DattaTable;\r\n/** Apply the Current Theme */\r\nvar gd_sprest_bs_1 = __webpack_require__(/*! gd-sprest-bs */ \"./node_modules/.pnpm/gd-sprest-bs@10.10.85/node_modules/gd-sprest-bs/build/index.js\");\r\nvar _themeLoaded = false;\r\ngd_sprest_bs_1.ThemeManager.load(true).then(function () { _themeLoaded = true; });\r\nfunction waitForTheme() {\r\n // Return a promise\r\n return new Promise(function (resolve, reject) {\r\n // See if the flag is set\r\n if (_themeLoaded) {\r\n resolve();\r\n return;\r\n }\r\n // Wait for the theme to be loaded\r\n var counter = 0;\r\n var maxAttempts = 100;\r\n var loopId = setInterval(function () {\r\n // See if the theme was loaded\r\n if (_themeLoaded) {\r\n // Stop the loop\r\n clearInterval(loopId);\r\n // Resolve the request\r\n resolve();\r\n }\r\n // Else, see if we have hit the max attempts\r\n else if (++counter >= maxAttempts) {\r\n // Stop the loop\r\n clearInterval(loopId);\r\n // Reject the request\r\n reject();\r\n }\r\n }, 50);\r\n });\r\n}\r\nexports.waitForTheme = waitForTheme;\r\n\n\n//# sourceURL=webpack://dattatable/./build/index.js?");
239
+ eval("\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/** Library */\r\n__exportStar(__webpack_require__(/*! ./lib */ \"./build/lib.js\"), exports);\r\n/** Styling */\r\n__webpack_require__(/*! ./styles */ \"./build/styles.js\");\r\n/** Theming */\r\n__exportStar(__webpack_require__(/*! ./theme */ \"./build/theme.js\"), exports);\r\n/** Global Variable */\r\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./build/lib.js\");\r\nwindow[\"DattaTable\"] = lib_1.DattaTable;\r\n\n\n//# sourceURL=webpack://dattatable/./build/index.js?");
240
240
 
241
241
  /***/ }),
242
242
 
@@ -261,6 +261,17 @@ eval("(()=>{\"use strict\";var t,a,e,d,r,l,o,i,b,n,s,c,h,p,g={938:(t,a,e)=>{e.d(
261
261
 
262
262
  /***/ }),
263
263
 
264
+ /***/ "./build/theme.js":
265
+ /*!************************!*\
266
+ !*** ./build/theme.js ***!
267
+ \************************/
268
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
269
+
270
+ "use strict";
271
+ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.waitForTheme = void 0;\r\nvar gd_sprest_bs_1 = __webpack_require__(/*! gd-sprest-bs */ \"./node_modules/.pnpm/gd-sprest-bs@10.10.85/node_modules/gd-sprest-bs/build/index.js\");\r\n/** Apply the Current Theme */\r\nvar _themeLoaded = false;\r\ngd_sprest_bs_1.ThemeManager.load(true).then(function () { _themeLoaded = true; });\r\nfunction waitForTheme() {\r\n // Return a promise\r\n return new Promise(function (resolve) {\r\n // See if the flag is set\r\n if (_themeLoaded) {\r\n resolve();\r\n return;\r\n }\r\n // Wait for the theme to be loaded\r\n var counter = 0;\r\n var maxAttempts = 100;\r\n var loopId = setInterval(function () {\r\n // See if the theme was loaded\r\n if (_themeLoaded) {\r\n // Stop the loop\r\n clearInterval(loopId);\r\n // Resolve the request\r\n resolve();\r\n }\r\n // Else, see if we have hit the max attempts\r\n else if (++counter >= maxAttempts) {\r\n // Stop the loop\r\n clearInterval(loopId);\r\n // Resolve the request\r\n resolve();\r\n }\r\n }, 50);\r\n });\r\n}\r\nexports.waitForTheme = waitForTheme;\r\n\n\n//# sourceURL=webpack://dattatable/./build/theme.js?");
272
+
273
+ /***/ }),
274
+
264
275
  /***/ "./node_modules/.pnpm/@popperjs/core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js":
265
276
  /*!**************************************************************************************************!*\
266
277
  !*** ./node_modules/.pnpm/@popperjs/core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js ***!