dattatable 2.10.96 → 2.10.98
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/common/listCfg.js +19 -26
- package/dist/dattatable.js +764 -764
- 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 +4 -4
- 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/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 +2 -2
package/build/common/listCfg.js
CHANGED
|
@@ -138,6 +138,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
138
138
|
AllowContentTypes: list.ListInfo.AllowContentTypes,
|
|
139
139
|
BaseTemplate: list.ListInfo.BaseTemplate,
|
|
140
140
|
ContentTypesEnabled: list.ListInfo.ContentTypesEnabled,
|
|
141
|
+
EnableAttachments: list.ListInfo.EnableAttachments,
|
|
141
142
|
Title: props.srcList,
|
|
142
143
|
Hidden: list.ListInfo.Hidden,
|
|
143
144
|
NoCrawl: list.ListInfo.NoCrawl
|
|
@@ -207,6 +208,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
207
208
|
}
|
|
208
209
|
// Add the list content type
|
|
209
210
|
cfgProps.ListCfg[0].ContentTypes.push({
|
|
211
|
+
ClientFormCustomFormatter: ct.ClientFormCustomFormatter,
|
|
210
212
|
Name: ct.Name,
|
|
211
213
|
Description: ct.Description,
|
|
212
214
|
ParentName: ct.Parent.Name,
|
|
@@ -252,6 +254,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
252
254
|
}
|
|
253
255
|
// Add the view
|
|
254
256
|
cfgProps.ListCfg[0].ViewInformation.push({
|
|
257
|
+
CustomFormatter: viewInfo.CustomFormatter,
|
|
255
258
|
Default: viewInfo.DefaultView,
|
|
256
259
|
Hidden: viewInfo.Hidden,
|
|
257
260
|
JSLink: viewInfo.JSLink,
|
|
@@ -542,36 +545,26 @@ var ListConfig = /** @class */ (function () {
|
|
|
542
545
|
// Get the source list
|
|
543
546
|
(0, gd_sprest_bs_1.Web)(props.srcWebUrl).Lists().getById(lookupField.LookupList).execute(function (list) {
|
|
544
547
|
// Updated the loading dialog
|
|
545
|
-
props.showDialog ? loadingDialog_1.LoadingDialog.setBody("
|
|
546
|
-
//
|
|
547
|
-
|
|
548
|
+
props.showDialog ? loadingDialog_1.LoadingDialog.setBody("Generating the configuration for: " + list.Title) : null;
|
|
549
|
+
// Generate the lookup list configuration
|
|
550
|
+
_this.generate({
|
|
551
|
+
srcList: list.Title,
|
|
552
|
+
srcWebUrl: props.srcWebUrl,
|
|
553
|
+
showDialog: false
|
|
554
|
+
}).then(
|
|
555
|
+
// Success
|
|
556
|
+
function (cfg) {
|
|
548
557
|
// Set the flag
|
|
549
558
|
lookupLists[list.Id] = true;
|
|
559
|
+
// Prepend the list configuration
|
|
560
|
+
props.cfg.ListCfg.splice(props.cfg.ListCfg.length - 1, 0, cfg.cfg.ListCfg[0]);
|
|
550
561
|
// Check the next list
|
|
551
562
|
resolve(null);
|
|
552
|
-
},
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
//
|
|
556
|
-
|
|
557
|
-
srcList: list.Title,
|
|
558
|
-
srcWebUrl: props.srcWebUrl,
|
|
559
|
-
showDialog: false
|
|
560
|
-
}).then(
|
|
561
|
-
// Success
|
|
562
|
-
function (cfg) {
|
|
563
|
-
// Set the flag
|
|
564
|
-
lookupLists[list.Id] = true;
|
|
565
|
-
// Prepend the list configuration
|
|
566
|
-
props.cfg.ListCfg.splice(props.cfg.ListCfg.length - 1, 0, cfg.cfg.ListCfg[0]);
|
|
567
|
-
// Check the next list
|
|
568
|
-
resolve(null);
|
|
569
|
-
},
|
|
570
|
-
// Error
|
|
571
|
-
function () {
|
|
572
|
-
// Reject the reqeust
|
|
573
|
-
reject("Lookup list '" + list.Title + "' for field '" + lookupField.InternalName + "' does not exist in the configuration. Please add the lists in the appropriate order.");
|
|
574
|
-
});
|
|
563
|
+
},
|
|
564
|
+
// Error
|
|
565
|
+
function () {
|
|
566
|
+
// Reject the reqeust
|
|
567
|
+
reject("Lookup list '" + list.Title + "' for field '" + lookupField.InternalName + "' does not exist in the configuration. Please add the lists in the appropriate order.");
|
|
575
568
|
});
|
|
576
569
|
}, function () {
|
|
577
570
|
// Reject the reqeust
|