dattatable 2.11.76 → 2.11.77
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.
- package/build/auditLog/index.js +25 -19
- package/build/common/documents.js +25 -19
- package/build/dashboard/table.js +8 -21
- package/dist/dattatable.js +3 -3
- package/dist/dattatable.min.js +1 -1
- package/docs/classes/Accordion.html +2 -2
- package/docs/classes/AuditLog.html +2 -2
- package/docs/classes/CanvasForm.html +2 -2
- package/docs/classes/Comments.html +2 -2
- package/docs/classes/Dashboard.html +4 -4
- package/docs/classes/DataTable.html +3 -3
- package/docs/classes/Documents.html +6 -6
- package/docs/classes/FilterSlideout.html +2 -2
- package/docs/classes/Footer.html +2 -2
- package/docs/classes/Header.html +2 -2
- package/docs/classes/InstallationRequired.html +2 -2
- package/docs/classes/ItemForm.html +5 -5
- package/docs/classes/List.html +4 -4
- package/docs/classes/ListConfig.html +2 -2
- package/docs/classes/ListSecurity.html +2 -2
- package/docs/classes/LoadingDialog.html +2 -2
- package/docs/classes/Modal.html +2 -2
- package/docs/classes/Navigation.html +3 -3
- package/docs/classes/Tiles.html +2 -2
- package/docs/classes/Timeout.html +2 -2
- package/docs/enums/ActionButtonTypes.html +2 -2
- package/docs/functions/formatBytes.html +1 -1
- package/docs/functions/formatDateValue.html +1 -1
- package/docs/functions/formatTimeValue.html +1 -1
- package/docs/functions/getContextInfo.html +1 -1
- package/docs/functions/getFileExt.html +1 -1
- package/docs/functions/waitForTheme.html +1 -1
- package/docs/interfaces/IAccordion.html +2 -2
- package/docs/interfaces/IAccordionProps.html +2 -2
- package/docs/interfaces/IAuditLogItem.html +2 -2
- package/docs/interfaces/IAuditLogItemCreation.html +2 -2
- package/docs/interfaces/IAuditLogProps.html +2 -2
- package/docs/interfaces/IAuditLogViewProps.html +2 -2
- package/docs/interfaces/ICommentsItem.html +2 -2
- package/docs/interfaces/ICreateLookupData.html +2 -2
- package/docs/interfaces/IDashboardProps.html +2 -2
- package/docs/interfaces/IDataTable.html +2 -2
- package/docs/interfaces/IDataTableProps.html +2 -2
- package/docs/interfaces/IDocumentsProps.html +2 -2
- package/docs/interfaces/IFilterItem.html +2 -2
- package/docs/interfaces/IFilterProps.html +2 -2
- package/docs/interfaces/IFooterProps.html +2 -2
- package/docs/interfaces/IGenerateLookupDataProps.html +2 -2
- package/docs/interfaces/IHeaderProps.html +2 -2
- package/docs/interfaces/IInstallProps.html +2 -2
- package/docs/interfaces/IItemFormCreateProps.html +2 -2
- package/docs/interfaces/IItemFormEditProps.html +2 -2
- package/docs/interfaces/IItemFormSaveProps.html +2 -2
- package/docs/interfaces/IItemFormTab.html +2 -2
- package/docs/interfaces/IItemFormTabInfo.html +2 -2
- package/docs/interfaces/IItemFormViewProps.html +2 -2
- package/docs/interfaces/IListConfig.html +2 -2
- package/docs/interfaces/IListConfigProps.html +2 -2
- package/docs/interfaces/IListProps.html +2 -2
- package/docs/interfaces/IListSecurity.html +2 -2
- package/docs/interfaces/IListSecurityItem.html +2 -2
- package/docs/interfaces/ILookupData.html +2 -2
- package/docs/interfaces/IShowDialogProps.html +2 -2
- package/docs/interfaces/ITiles.html +2 -2
- package/docs/interfaces/ITilesProps.html +2 -2
- package/docs/interfaces/IValidateLookupsProps.html +2 -2
- package/docs/variables/DattaTable.html +1 -1
- package/docs/variables/ListSecurityDefaultGroups.html +1 -1
- package/package.json +1 -1
package/build/auditLog/index.js
CHANGED
|
@@ -72,25 +72,31 @@ var AuditLog = /** @class */ (function () {
|
|
|
72
72
|
}
|
|
73
73
|
],
|
|
74
74
|
drawCallback: function (settings) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
//
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
75
|
+
// Get the table element
|
|
76
|
+
var elTable = settings.api.context[0].table;
|
|
77
|
+
if (elTable) {
|
|
78
|
+
// Styling option for striped rows
|
|
79
|
+
elTable.classList.add('table-striped');
|
|
80
|
+
}
|
|
81
|
+
// Get the table wrapper element
|
|
82
|
+
var elTableWrapper = settings.api.context[0].tableWrapper;
|
|
83
|
+
if (elTableWrapper) {
|
|
84
|
+
// Align the text to be centered
|
|
85
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('col-md');
|
|
86
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('d-md-flex');
|
|
87
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('justify-content-between');
|
|
88
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('align-items-center');
|
|
89
|
+
elTableWrapper.querySelector('.dt-info').classList.add('text-center');
|
|
90
|
+
// Remove the label spacing to align with paging
|
|
91
|
+
elTableWrapper.querySelector('.dt-length label').classList.add('d-none');
|
|
92
|
+
// Push paging to the end
|
|
93
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('d-flex');
|
|
94
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('justify-content-end');
|
|
95
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('mx-0');
|
|
96
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('px-0');
|
|
97
|
+
// Add spacing for the footer
|
|
98
|
+
elTableWrapper.querySelector('.row:last-child').classList.add('mb-1');
|
|
99
|
+
}
|
|
94
100
|
},
|
|
95
101
|
language: {
|
|
96
102
|
emptyTable: "No logs exist for this item.",
|
|
@@ -369,25 +369,31 @@ var Documents = /** @class */ (function () {
|
|
|
369
369
|
dtProps: this._props.table && this._props.table.dtProps ? this._props.table.dtProps : {
|
|
370
370
|
columnDefs: columnDefs,
|
|
371
371
|
drawCallback: function (settings) {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
//
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
372
|
+
// Get the table element
|
|
373
|
+
var elTable = settings.api.context[0].table;
|
|
374
|
+
if (elTable) {
|
|
375
|
+
// Styling option for striped rows
|
|
376
|
+
elTable.classList.add('table-striped');
|
|
377
|
+
}
|
|
378
|
+
// Get the table wrapper element
|
|
379
|
+
var elTableWrapper = settings.api.context[0].tableWrapper;
|
|
380
|
+
if (elTableWrapper) {
|
|
381
|
+
// Align the text to be centered
|
|
382
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('col-md');
|
|
383
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('d-md-flex');
|
|
384
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('justify-content-between');
|
|
385
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('align-items-center');
|
|
386
|
+
elTableWrapper.querySelector('.dt-info').classList.add('text-center');
|
|
387
|
+
// Remove the label spacing to align with paging
|
|
388
|
+
elTableWrapper.querySelector('.dt-length label').classList.add('d-none');
|
|
389
|
+
// Push paging to the end
|
|
390
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('d-flex');
|
|
391
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('justify-content-end');
|
|
392
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('mx-0');
|
|
393
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('px-0');
|
|
394
|
+
// Add spacing for the footer
|
|
395
|
+
elTableWrapper.querySelector('.row:last-child').classList.add('mb-1');
|
|
396
|
+
}
|
|
391
397
|
},
|
|
392
398
|
language: {
|
|
393
399
|
lengthMenu: "_MENU_",
|
package/build/dashboard/table.js
CHANGED
|
@@ -112,34 +112,21 @@ var DataTable = /** @class */ (function () {
|
|
|
112
112
|
var elTableWrapper = settings.api.context[0].tableWrapper;
|
|
113
113
|
if (elTableWrapper) {
|
|
114
114
|
// Align the text to be centered
|
|
115
|
-
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('col-md
|
|
115
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('col-md');
|
|
116
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('d-md-flex');
|
|
117
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('justify-content-between');
|
|
118
|
+
elTableWrapper.querySelector('.dt-info').parentElement.classList.remove('align-items-center');
|
|
116
119
|
elTableWrapper.querySelector('.dt-info').classList.add('text-center');
|
|
117
120
|
// Remove the label spacing to align with paging
|
|
118
121
|
elTableWrapper.querySelector('.dt-length label').classList.add('d-none');
|
|
119
122
|
// Push paging to the end
|
|
120
|
-
elTableWrapper.querySelector('.dt-paging').classList.add('d-flex
|
|
123
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('d-flex');
|
|
124
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('justify-content-end');
|
|
125
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('mx-0');
|
|
126
|
+
elTableWrapper.querySelector('.dt-paging').classList.add('px-0');
|
|
121
127
|
// Add spacing for the footer
|
|
122
128
|
elTableWrapper.querySelector('.row:last-child').classList.add('mb-1');
|
|
123
129
|
}
|
|
124
|
-
/*
|
|
125
|
-
let api = new $.fn.dataTable.Api(settings) as any;
|
|
126
|
-
|
|
127
|
-
// Styling option for striped rows
|
|
128
|
-
$(api.context[0].nTable).addClass('table-striped');
|
|
129
|
-
|
|
130
|
-
// Align the text to be centered
|
|
131
|
-
$(api.context[0].nTableWrapper).find('.dt-info').parent().removeClass('col-md d-md-flex justify-content-between align-items-center');
|
|
132
|
-
$(api.context[0].nTableWrapper).find('.dt-info').addClass('text-center');
|
|
133
|
-
|
|
134
|
-
// Remove the label spacing to align with paging
|
|
135
|
-
$(api.context[0].nTableWrapper).find('.dt-length label').addClass('d-none');
|
|
136
|
-
|
|
137
|
-
// Push paging to the end
|
|
138
|
-
$(api.context[0].nTableWrapper).find('.dt-paging').addClass('d-flex justify-content-end mx-0 px-0');
|
|
139
|
-
|
|
140
|
-
// Add spacing for the footer
|
|
141
|
-
$(api.context[0].nTableWrapper).find('.row:last-child').addClass('mb-1');
|
|
142
|
-
*/
|
|
143
130
|
},
|
|
144
131
|
language: {
|
|
145
132
|
lengthMenu: "_MENU_",
|