dattatable 2.1.3 → 2.1.5
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/dashboard/table.js +1 -1
- package/build/itemForm.js +4 -4
- package/dist/dattatable.js +876 -854
- package/dist/dattatable.min.js +1 -1
- package/docs/classes/CanvasForm.html +1 -1
- package/docs/classes/Comments.html +1 -1
- package/docs/classes/Dashboard.html +2 -2
- package/docs/classes/DataTable.html +2 -2
- package/docs/classes/Documents.html +5 -5
- package/docs/classes/FilterSlideout.html +1 -1
- package/docs/classes/Footer.html +1 -1
- package/docs/classes/Header.html +1 -1
- package/docs/classes/InstallationRequired.html +1 -1
- package/docs/classes/ItemForm.html +3 -3
- package/docs/classes/LoadingDialog.html +1 -1
- package/docs/classes/Modal.html +1 -1
- package/docs/classes/Navigation.html +1 -1
- package/docs/enums/ActionButtonTypes.html +1 -1
- package/docs/interfaces/ICommentsItem.html +1 -1
- package/docs/interfaces/IDashboardProps.html +1 -1
- package/docs/interfaces/IDataTable.html +1 -1
- package/docs/interfaces/IDataTableProps.html +1 -1
- package/docs/interfaces/IDocumentsProps.html +1 -1
- package/docs/interfaces/IFilterItem.html +1 -1
- package/docs/interfaces/IFilterProps.html +1 -1
- package/docs/interfaces/IFooterProps.html +1 -1
- package/docs/interfaces/IHeaderProps.html +1 -1
- package/docs/interfaces/IItemFormCreateProps.html +1 -1
- package/docs/interfaces/IItemFormEditProps.html +1 -1
- package/docs/interfaces/IItemFormTab.html +1 -1
- package/docs/interfaces/IItemFormTabInfo.html +1 -1
- package/docs/interfaces/IItemFormViewProps.html +1 -1
- package/docs/interfaces/IShowDialogProps.html +1 -1
- package/docs/modules.html +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +25 -29
package/build/dashboard/table.js
CHANGED
|
@@ -51,7 +51,7 @@ var DataTable = /** @class */ (function () {
|
|
|
51
51
|
// Parse the values
|
|
52
52
|
for (var i = 0; i < values.length; i++) {
|
|
53
53
|
// Update the value
|
|
54
|
-
values[i] = values[i].replace(
|
|
54
|
+
values[i] = values[i].replace(/\|/g, '\\$&');
|
|
55
55
|
}
|
|
56
56
|
// Filter the values
|
|
57
57
|
this.filter(idx, values.join('|'));
|
package/build/itemForm.js
CHANGED
|
@@ -223,6 +223,8 @@ var ItemForm = /** @class */ (function () {
|
|
|
223
223
|
onFormRendered: function (form) {
|
|
224
224
|
/* Remove the bottom margin from the last row of the form */
|
|
225
225
|
form.el.lastChild.classList.remove("mb-3");
|
|
226
|
+
// Call the event if it exists
|
|
227
|
+
tab && tab.onFormRendered ? tab.onFormRendered(form) : null;
|
|
226
228
|
}
|
|
227
229
|
};
|
|
228
230
|
// Call the event if it exists
|
|
@@ -230,8 +232,6 @@ var ItemForm = /** @class */ (function () {
|
|
|
230
232
|
// Render the display form
|
|
231
233
|
var form = gd_sprest_bs_1.Components.ListForm.renderDisplayForm(props);
|
|
232
234
|
this._displayForms.push(form);
|
|
233
|
-
// Call the event if it exists
|
|
234
|
-
tab && tab.onFormRendered ? tab.onFormRendered(form) : null;
|
|
235
235
|
// Return the form element
|
|
236
236
|
return el;
|
|
237
237
|
};
|
|
@@ -251,6 +251,8 @@ var ItemForm = /** @class */ (function () {
|
|
|
251
251
|
onFormRendered: function (form) {
|
|
252
252
|
/* Remove the bottom margin from the last row of the form */
|
|
253
253
|
form.el.lastChild.classList.remove("mb-3");
|
|
254
|
+
// Call the event if it exists
|
|
255
|
+
tab && tab.onFormRendered ? tab.onFormRendered(form) : null;
|
|
254
256
|
}
|
|
255
257
|
};
|
|
256
258
|
// Call the event if it exists
|
|
@@ -258,8 +260,6 @@ var ItemForm = /** @class */ (function () {
|
|
|
258
260
|
// Render the edit form
|
|
259
261
|
var form = gd_sprest_bs_1.Components.ListForm.renderEditForm(props);
|
|
260
262
|
this._editForms.push(form);
|
|
261
|
-
// Call the event if it exists
|
|
262
|
-
tab && tab.onFormRendered ? tab.onFormRendered(form) : null;
|
|
263
263
|
// Return the form element
|
|
264
264
|
return el;
|
|
265
265
|
};
|