dattatable 2.10.80 → 2.10.82
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.d.ts +2 -2
- package/build/common/listCfg.js +4 -4
- package/dist/dattatable.js +569 -569
- package/dist/dattatable.min.js +1 -1
- package/docs/assets/search.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 +3 -3
- package/docs/variables/DattaTable.html +1 -1
- package/docs/variables/ListSecurityDefaultGroups.html +1 -1
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@ export interface IListConfig {
|
|
|
10
10
|
}
|
|
11
11
|
export interface IListConfigProps {
|
|
12
12
|
showDialog?: boolean;
|
|
13
|
-
srcList:
|
|
13
|
+
srcList: string;
|
|
14
14
|
srcWebUrl: string;
|
|
15
15
|
}
|
|
16
16
|
export interface ILookupData {
|
|
@@ -31,7 +31,7 @@ export interface IValidateLookupsProps {
|
|
|
31
31
|
dstUrl: string;
|
|
32
32
|
lookupFields: Types.SP.FieldLookup[];
|
|
33
33
|
showDialog?: boolean;
|
|
34
|
-
|
|
34
|
+
srcListId: string;
|
|
35
35
|
srcWebUrl: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
package/build/common/listCfg.js
CHANGED
|
@@ -117,7 +117,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
117
117
|
return new Promise(function (resolve, reject) {
|
|
118
118
|
// Get the list information
|
|
119
119
|
var list = new list_1.List({
|
|
120
|
-
listName: props.srcList
|
|
120
|
+
listName: props.srcList,
|
|
121
121
|
webUrl: props.srcWebUrl,
|
|
122
122
|
itemQuery: { Filter: "Id eq 0" },
|
|
123
123
|
onInitError: function () {
|
|
@@ -138,7 +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
|
-
Title: props.srcList
|
|
141
|
+
Title: props.srcList,
|
|
142
142
|
Hidden: list.ListInfo.Hidden,
|
|
143
143
|
NoCrawl: list.ListInfo.NoCrawl
|
|
144
144
|
},
|
|
@@ -527,7 +527,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
527
527
|
gd_sprest_bs_1.Helper.Executor(props.lookupFields, function (lookupField) {
|
|
528
528
|
var _a;
|
|
529
529
|
// Ensure this lookup isn't to the source list
|
|
530
|
-
if (((_a = lookupField.LookupList) === null || _a === void 0 ? void 0 : _a.indexOf(props.
|
|
530
|
+
if (((_a = lookupField.LookupList) === null || _a === void 0 ? void 0 : _a.indexOf(props.srcListId)) >= 0) {
|
|
531
531
|
return;
|
|
532
532
|
}
|
|
533
533
|
// See if we have already checked this list
|
|
@@ -554,7 +554,7 @@ var ListConfig = /** @class */ (function () {
|
|
|
554
554
|
props.showDialog ? loadingDialog_1.LoadingDialog.setBody("Generating the configuration for: " + list.Title) : null;
|
|
555
555
|
// Generate the lookup list configuration
|
|
556
556
|
_this.generate({
|
|
557
|
-
srcList: list,
|
|
557
|
+
srcList: list.Title,
|
|
558
558
|
srcWebUrl: props.srcWebUrl,
|
|
559
559
|
showDialog: false
|
|
560
560
|
}).then(
|