dattatable 2.10.95 → 2.10.97

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 (66) hide show
  1. package/build/common/listCfg.js +18 -27
  2. package/dist/dattatable.js +569 -569
  3. package/dist/dattatable.min.js +1 -1
  4. package/docs/classes/Accordion.html +2 -2
  5. package/docs/classes/AuditLog.html +2 -2
  6. package/docs/classes/CanvasForm.html +2 -2
  7. package/docs/classes/Comments.html +2 -2
  8. package/docs/classes/Dashboard.html +4 -4
  9. package/docs/classes/DataTable.html +3 -3
  10. package/docs/classes/Documents.html +6 -6
  11. package/docs/classes/FilterSlideout.html +2 -2
  12. package/docs/classes/Footer.html +2 -2
  13. package/docs/classes/Header.html +2 -2
  14. package/docs/classes/InstallationRequired.html +2 -2
  15. package/docs/classes/ItemForm.html +4 -4
  16. package/docs/classes/List.html +4 -4
  17. package/docs/classes/ListConfig.html +2 -2
  18. package/docs/classes/ListSecurity.html +2 -2
  19. package/docs/classes/LoadingDialog.html +2 -2
  20. package/docs/classes/Modal.html +2 -2
  21. package/docs/classes/Navigation.html +3 -3
  22. package/docs/classes/Tiles.html +2 -2
  23. package/docs/classes/Timeout.html +2 -2
  24. package/docs/enums/ActionButtonTypes.html +2 -2
  25. package/docs/functions/formatBytes.html +1 -1
  26. package/docs/functions/formatDateValue.html +1 -1
  27. package/docs/functions/formatTimeValue.html +1 -1
  28. package/docs/functions/getContextInfo.html +1 -1
  29. package/docs/functions/getFileExt.html +1 -1
  30. package/docs/functions/waitForTheme.html +1 -1
  31. package/docs/interfaces/IAccordion.html +2 -2
  32. package/docs/interfaces/IAccordionProps.html +2 -2
  33. package/docs/interfaces/IAuditLogItem.html +2 -2
  34. package/docs/interfaces/IAuditLogItemCreation.html +2 -2
  35. package/docs/interfaces/IAuditLogProps.html +2 -2
  36. package/docs/interfaces/IAuditLogViewProps.html +2 -2
  37. package/docs/interfaces/ICommentsItem.html +2 -2
  38. package/docs/interfaces/ICreateLookupData.html +2 -2
  39. package/docs/interfaces/IDashboardProps.html +2 -2
  40. package/docs/interfaces/IDataTable.html +2 -2
  41. package/docs/interfaces/IDataTableProps.html +2 -2
  42. package/docs/interfaces/IDocumentsProps.html +2 -2
  43. package/docs/interfaces/IFilterItem.html +2 -2
  44. package/docs/interfaces/IFilterProps.html +2 -2
  45. package/docs/interfaces/IFooterProps.html +2 -2
  46. package/docs/interfaces/IGenerateLookupDataProps.html +2 -2
  47. package/docs/interfaces/IHeaderProps.html +2 -2
  48. package/docs/interfaces/IInstallProps.html +2 -2
  49. package/docs/interfaces/IItemFormCreateProps.html +2 -2
  50. package/docs/interfaces/IItemFormEditProps.html +2 -2
  51. package/docs/interfaces/IItemFormTab.html +2 -2
  52. package/docs/interfaces/IItemFormTabInfo.html +2 -2
  53. package/docs/interfaces/IItemFormViewProps.html +2 -2
  54. package/docs/interfaces/IListConfig.html +2 -2
  55. package/docs/interfaces/IListConfigProps.html +2 -2
  56. package/docs/interfaces/IListProps.html +2 -2
  57. package/docs/interfaces/IListSecurity.html +2 -2
  58. package/docs/interfaces/IListSecurityItem.html +2 -2
  59. package/docs/interfaces/ILookupData.html +2 -2
  60. package/docs/interfaces/IShowDialogProps.html +2 -2
  61. package/docs/interfaces/ITiles.html +2 -2
  62. package/docs/interfaces/ITilesProps.html +2 -2
  63. package/docs/interfaces/IValidateLookupsProps.html +2 -2
  64. package/docs/variables/DattaTable.html +1 -1
  65. package/docs/variables/ListSecurityDefaultGroups.html +1 -1
  66. package/package.json +2 -2
@@ -542,36 +542,26 @@ var ListConfig = /** @class */ (function () {
542
542
  // Get the source list
543
543
  (0, gd_sprest_bs_1.Web)(props.srcWebUrl).Lists().getById(lookupField.LookupList).execute(function (list) {
544
544
  // Updated the loading dialog
545
- props.showDialog ? loadingDialog_1.LoadingDialog.setBody("Checking the destination web for: " + list.Title) : null;
546
- // Ensure the list exists in the destination
547
- (0, gd_sprest_bs_1.Web)(props.dstUrl).Lists(list.Title).execute(function () {
545
+ props.showDialog ? loadingDialog_1.LoadingDialog.setBody("Generating the configuration for: " + list.Title) : null;
546
+ // Generate the lookup list configuration
547
+ _this.generate({
548
+ srcList: list.Title,
549
+ srcWebUrl: props.srcWebUrl,
550
+ showDialog: false
551
+ }).then(
552
+ // Success
553
+ function (cfg) {
548
554
  // Set the flag
549
555
  lookupLists[list.Id] = true;
556
+ // Prepend the list configuration
557
+ props.cfg.ListCfg.splice(props.cfg.ListCfg.length - 1, 0, cfg.cfg.ListCfg[0]);
550
558
  // Check the next list
551
559
  resolve(null);
552
- }, function () {
553
- // Updated the loading dialog
554
- props.showDialog ? loadingDialog_1.LoadingDialog.setBody("Generating the configuration for: " + list.Title) : null;
555
- // Generate the lookup list configuration
556
- _this.generate({
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
- });
560
+ },
561
+ // Error
562
+ function () {
563
+ // Reject the reqeust
564
+ reject("Lookup list '" + list.Title + "' for field '" + lookupField.InternalName + "' does not exist in the configuration. Please add the lists in the appropriate order.");
575
565
  });
576
566
  }, function () {
577
567
  // Reject the reqeust
@@ -586,7 +576,8 @@ var ListConfig = /** @class */ (function () {
586
576
  };
587
577
  // Internal Fields
588
578
  ListConfig.InternalFields = [
589
- "ContentType", "TaxCatchAll", "TaxCatchAllLabel", "Title"
579
+ "ContentType", "TaxCatchAll", "TaxCatchAllLabel", "Title",
580
+ "ItemChildCount", "FolderChildCount", "FileLeafRef", "FileRef"
590
581
  ];
591
582
  return ListConfig;
592
583
  }());