@lingk/sync 0.0.59 → 0.0.61

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/main.js CHANGED
@@ -4656,8 +4656,8 @@ module.exports =
4656
4656
  } // end if (!formValues['resourceGroups'])
4657
4657
 
4658
4658
 
4659
- if (wizard.savedConfiguration && wizard.savedConfiguration['defaultDataset'] && !formValues['defaultDataset']) {
4660
- change('defaultDataset', wizard.savedConfiguration['defaultDataset']);
4659
+ if (wizard.savedConfiguration && wizard.savedConfiguration['scenario'] && !formValues['scenario']) {
4660
+ change('scenario', wizard.savedConfiguration['scenario']);
4661
4661
  }
4662
4662
 
4663
4663
  var modes = ['source', 'destination'];
@@ -4690,7 +4690,7 @@ module.exports =
4690
4690
  }
4691
4691
  }
4692
4692
 
4693
- actions.setWizardDataLoaded(true);
4693
+ //actions.setWizardDataLoaded(true)
4694
4694
  }
4695
4695
 
4696
4696
  exports.default = loadData;
@@ -5287,6 +5287,8 @@ module.exports =
5287
5287
  var START_PREVIEW = exports.START_PREVIEW = 'START_PREVIEW';
5288
5288
  var FINISH_PREVIEW = exports.FINISH_PREVIEW = 'FINISH_PREVIEW';
5289
5289
  var SET_WIZARD_METADATA = exports.SET_WIZARD_METADATA = 'SET_WIZARD_METADATA';
5290
+ var START_GET_SCENARIO = exports.START_GET_SCENARIO = 'START_GET_SCENARIO';
5291
+ var FINISH_GET_SCENARIO = exports.FINISH_GET_SCENARIO = 'FINISH_GET_SCENARIO';
5290
5292
 
5291
5293
  /***/ },
5292
5294
  /* 12 */
@@ -5408,6 +5410,7 @@ module.exports =
5408
5410
  _this.showOverflow = _this.showOverflow.bind(_this);
5409
5411
  _this.go = _this.go.bind(_this);
5410
5412
  _this.disableMultiple = _this.disableMultiple.bind(_this);
5413
+ _this.addDefaultEntity = _this.addDefaultEntity.bind(_this);
5411
5414
  return _this;
5412
5415
  }
5413
5416
 
@@ -5506,6 +5509,18 @@ module.exports =
5506
5509
  sel[i] = sel[i] && sel[i].name === v.name ? { name: '' } : v;
5507
5510
  this.setState({ selectedEntities: sel });
5508
5511
  }
5512
+ }, {
5513
+ key: 'addDefaultEntity',
5514
+ value: function addDefaultEntity(groupIndex, v, rscIndex, section) {
5515
+ var _this3 = this;
5516
+
5517
+ this.props.addDefaultEntity(groupIndex, v, rscIndex, section);
5518
+ setTimeout(function () {
5519
+ var sel = [].concat(_toConsumableArray(_this3.state.selectedEntities));
5520
+ sel[_this3.state.resourceGroupIndex] = { name: v };
5521
+ _this3.setState({ selectedEntities: sel });
5522
+ }, 40);
5523
+ }
5509
5524
  }, {
5510
5525
  key: 'unPick',
5511
5526
  value: function unPick() {
@@ -5548,13 +5563,12 @@ module.exports =
5548
5563
  }, {
5549
5564
  key: 'render',
5550
5565
  value: function render() {
5551
- var _this3 = this;
5566
+ var _this4 = this;
5552
5567
 
5553
5568
  var _props = this.props,
5554
5569
  resourceGroups = _props.resourceGroups,
5555
5570
  style = _props.style,
5556
5571
  isBundleStep = _props.isBundleStep,
5557
- addDefaultEntity = _props.addDefaultEntity,
5558
5572
  destinationSchema = _props.destinationSchema,
5559
5573
  inputs = _props.inputs,
5560
5574
  step = _props.step;
@@ -5574,7 +5588,7 @@ module.exports =
5574
5588
  toggle: paneToggle,
5575
5589
  pickEntity: this.pickEntity,
5576
5590
  changeGroupOrder: this.changeGroupOrderFromBundleTable,
5577
- addDefaultEntity: addDefaultEntity,
5591
+ addDefaultEntity: this.addDefaultEntity,
5578
5592
  overflowHidden: this.state.overflowHidden,
5579
5593
  showOverflow: this.showOverflow,
5580
5594
  removeResourceGroup: this.removeResourceGroup,
@@ -5614,7 +5628,7 @@ module.exports =
5614
5628
  Button,
5615
5629
  { type: this.state.multiple ? 'brand' : 'neutral', style: smallButtonStyle,
5616
5630
  onClick: function onClick() {
5617
- return _this3.setState({ multiple: !_this3.state.multiple });
5631
+ return _this4.setState({ multiple: !_this4.state.multiple });
5618
5632
  } },
5619
5633
  'Multiple'
5620
5634
  ),
@@ -5684,7 +5698,7 @@ module.exports =
5684
5698
  { className: 'schema-group-dots' },
5685
5699
  resourceGroups.map(function (g, i) {
5686
5700
  return _react2.default.createElement('div', { className: 'schema-group-dot', key: i, style: resourceGroupIndex !== i ? { background: "#CFCFCF" } : {}, onClick: function onClick() {
5687
- return _this3.clickDot(i);
5701
+ return _this4.clickDot(i);
5688
5702
  } });
5689
5703
  })
5690
5704
  )
@@ -16879,7 +16893,8 @@ module.exports =
16879
16893
  /* 172 */,
16880
16894
  /* 173 */,
16881
16895
  /* 174 */,
16882
- /* 175 */
16896
+ /* 175 */,
16897
+ /* 176 */
16883
16898
  /***/ function(module, exports, __webpack_require__) {
16884
16899
 
16885
16900
  'use strict';
@@ -16888,6 +16903,7 @@ module.exports =
16888
16903
  value: true
16889
16904
  });
16890
16905
  exports.callCheckConnection = callCheckConnection;
16906
+ exports.callGetScenario = callGetScenario;
16891
16907
  exports.callPreviewIntegration = callPreviewIntegration;
16892
16908
  exports.callPostBundles = callPostBundles;
16893
16909
  exports.callPostMapping = callPostMapping;
@@ -16951,6 +16967,23 @@ module.exports =
16951
16967
  };
16952
16968
  }
16953
16969
 
16970
+ function callGetScenario(magicNumber, bundleGuid, mappingGuid) {
16971
+ return function (dispatch, getState, api) {
16972
+ dispatch({
16973
+ type: types.START_GET_SCENARIO
16974
+ });
16975
+ var tenantId = magicNumber;
16976
+ var accountId = magicNumber;
16977
+ return Promise.all([dispatch(callGetBundles(tenantId, accountId, bundleGuid)), dispatch(callGetMapping(tenantId, accountId, mappingGuid))]).then(function (res) {
16978
+ dispatch({
16979
+ type: types.FINISH_GET_SCENARIO
16980
+ });
16981
+ }).catch(function (err) {
16982
+ console.log(err);
16983
+ });
16984
+ };
16985
+ }
16986
+
16954
16987
  function callPreviewIntegration(tenantId, appId, url) {
16955
16988
  return function (dispatch, getState, api) {
16956
16989
  dispatch({
@@ -17436,879 +17469,6 @@ module.exports =
17436
17469
  }
17437
17470
  }*/
17438
17471
 
17439
- /***/ },
17440
- /* 176 */
17441
- /***/ function(module, exports) {
17442
-
17443
- 'use strict';
17444
-
17445
- Object.defineProperty(exports, "__esModule", {
17446
- value: true
17447
- });
17448
- var wizards = exports.wizards = {
17449
- 1: { // Banner to Salesforce
17450
- title: 'Banner to Salesforce',
17451
- sourceProvider: 'Banner',
17452
- sourceProviderType: 'Banner',
17453
- destinationProvider: 'Salesforce',
17454
- destinationProviderType: 'Salesforce',
17455
- customStep: {
17456
- type: 'bannerAdapter',
17457
- title: 'Banner Adapter'
17458
- },
17459
- deployment: {
17460
- 'once': 'Run Once',
17461
- 'scheduled': 'Timed Schedule'
17462
- },
17463
- sourceDefaultSchema: [{
17464
- name: 'Staff',
17465
- properties: [{ name: 'First Name' }, { name: 'Last Name' }, { name: 'External Id' }, { name: 'Birthdate' }, { name: 'Gender' }, { name: 'Institution External Id' }, { name: 'Suffix' }, { name: 'US Citizenship Status' }, { name: 'Highest Education Level Completed' }, { name: 'Identification System' }]
17466
- }, {
17467
- name: 'Student',
17468
- properties: [{ name: 'First Name' }, { name: 'Last Name' }, { name: 'External Id' }, { name: 'Birthdate' }, { name: 'Gender' }, { name: 'Institution External Id' }, { name: 'Suffix' }, { name: 'US Citizenship Status' }, { name: 'Highest Education Level Completed' }, { name: 'Identification System' }]
17469
- }, {
17470
- name: 'Student Email',
17471
- properties: [{ name: 'Student External Id' }, { name: 'Email Address' }, { name: 'Email Address Type' }, { name: 'Last Modified' }, { name: 'Is Primary' }]
17472
- }, {
17473
- name: 'Program',
17474
- properties: [{ name: 'Capacity' }, { name: 'CurrentEnrollment' }, { name: 'Name' }, { name: 'Last Modified' }, { name: 'Length Hours' }, { name: 'External Id' }, { name: 'Classification Of Instructional Program Code' }, { name: 'Classification Of Instructional Program Version' }, { name: 'Length Hours Type' }, { name: 'Normal Length of Time for Completion' }, { name: 'Normal Length of Time for Completion Units' }, { name: 'Postsecondary Program Level' }]
17475
- }, {
17476
- name: 'Student Program',
17477
- properties: [{ name: 'Last Modified' }, { name: 'Participation Start Date' }, { name: 'Participation Exit Date' }, { name: 'Student External Id' }, { name: 'Program External Id' }, { name: 'Program Participation Status' }, { name: 'Transfer Out Indicator' }, { name: 'Work Based Learning Opportunity Type' }, { name: 'Classification Of Instructional Program Use' }]
17478
- }],
17479
- /*sourceDefaultSchema: [
17480
- {
17481
- name: 'Staff',
17482
- properties: {
17483
- 'Birthdate': true,
17484
- 'Last Modified': true,
17485
- 'Birthdate Verification': true,
17486
- 'Hispanic Latino Ethnicity': true,
17487
- 'External Id': true,
17488
- 'Prefix': true,
17489
- 'First Name': true,
17490
- 'Last Name': true,
17491
- 'Middle Name': true,
17492
- 'Other First Name': true,
17493
- 'Other Last Name': true,
17494
- 'Other Middle Name': true,
17495
- 'Other Name': true,
17496
- 'Other Name Type': true,
17497
- 'Suffix': true,
17498
- 'Gender': true,
17499
- 'US Citizenship Status': true,
17500
- 'Proof Of Residency Type': true,
17501
- 'State Of Residence': true,
17502
- 'Visa Type': true,
17503
- 'Highest Education Level Completed': true,
17504
- 'Identifier': true,
17505
- 'Identification System': true,
17506
- 'Personal Verification Identification Type': true,
17507
- }
17508
- },
17509
- {
17510
- name: 'Student',
17511
- properties: {
17512
- 'Birthdate': true,
17513
- 'Birthdate Verification': true,
17514
- 'Last Modified': true,
17515
- 'Hispanic Latino Ethnicity': true,
17516
- 'Disability Status': true,
17517
- 'Gender': true,
17518
- 'US Citizenship Status': true,
17519
- 'Proof Of Residency Type': true,
17520
- 'External Id': true,
17521
- 'Prefix': true,
17522
- 'First Name': true,
17523
- 'Last Name': true,
17524
- 'Middle Name': true,
17525
- 'Other First Name': true,
17526
- 'Other Last Name': true,
17527
- 'Other Middle Name': true,
17528
- 'Other Name': true,
17529
- 'Other Name Type': true,
17530
- 'Suffix': true,
17531
- 'State Of Residence': true,
17532
- 'Visa Type': true,
17533
- 'Highest Education Level Completed': true,
17534
- 'Identifier': true,
17535
- 'Identification System': true,
17536
- 'Personal Verification Identification Type': true,
17537
- 'Accommodations Needed Type': true,
17538
- 'Disability ConditionStatus Type': true,
17539
- 'Disability Condition Type': true,
17540
- 'Disability Determination Source Type': true,
17541
- 'Primary Disability Type': true,
17542
- }
17543
- },
17544
- {
17545
- name:'Course',
17546
- properties: {
17547
- 'Facility External Id': true,
17548
- 'Institution External Id': true,
17549
- 'Department External Id': true,
17550
- 'Last Modified': true,
17551
- 'NCAA Eligibility': true,
17552
- 'Instructional Minutes': true,
17553
- 'External Id': true,
17554
- 'Course Title': true,
17555
- 'Course Number': true,
17556
- 'Description': true,
17557
- 'Classification Of Instructional Program Code': true,
17558
- 'Credit Units Type': true,
17559
- 'Credit Value': true,
17560
- 'NCES College Course Map Code': true,
17561
- 'Certification Description': true,
17562
- 'Course Applicable Education Level': true,
17563
- 'Course Level Characteristics': true,
17564
- 'Credit Basis Type': true,
17565
- 'Credit Level Type': true,
17566
- 'Instruction Langauge': true,
17567
- 'Agency Course Identifier': true,
17568
- 'Original Course Identifier': true,
17569
- 'Override School Course Number': true,
17570
- 'Sequence Of Course': true,
17571
- 'Subject Abbreviation': true,
17572
- }
17573
- },
17574
- {
17575
- name:'Course Section',
17576
- properties: {
17577
- 'Course Credit Value': true,
17578
- 'Time Required For Completion': true,
17579
- 'Last Modified': true,
17580
- 'Virtual Indicator': true,
17581
- 'Work Based Learning Opportunity Type': true,
17582
- 'Institution External Id': true,
17583
- 'Additional Credit Type': true,
17584
- 'Advanced Placement Course Code': true,
17585
- 'Class Beginning Time': true,
17586
- 'Class Ending Time': true,
17587
- 'Class Meeting Days': true,
17588
- 'Course Level Type': true,
17589
- 'Course Section Delivery Mode': true,
17590
- 'Credit Type Earned': true,
17591
- 'Honors Type': true,
17592
- 'Instruction Method': true,
17593
- 'Instruction Site Name': true,
17594
- 'Instruction Site Type': true,
17595
- 'Related Learning Standards': true,
17596
- 'Single Sex Class Status': true,
17597
- 'Class Period': true,
17598
- 'External Id': true,
17599
- 'Course Section Number': true,
17600
- 'Course External Id': true,
17601
- 'Calendar Session External Id': true,
17602
- 'Classification Of Instructional Program Code': true,
17603
- 'Time Day Identifier': true,
17604
- 'Developmental Education Type': true,
17605
- 'Grade Point Average Applicability': true,
17606
- }
17607
- },
17608
- {
17609
- name: 'Program',
17610
- properties: {
17611
- 'Capacity': true,
17612
- 'CurrentEnrollment': true,
17613
- 'Name': true,
17614
- 'Last Modified': true,
17615
- 'Length Hours': true,
17616
- 'External Id': true,
17617
- 'Classification Of Instructional Program Code': true,
17618
- 'Classification Of Instructional Program Version': true,
17619
- 'Length Hours Type': true,
17620
- 'Normal Length of Time for Completion': true,
17621
- 'Normal Length of Time for Completion Units': true,
17622
- 'Postsecondary Program Level': true,
17623
- }
17624
- },
17625
- {
17626
- name:'Student Enrollment',
17627
- properties: {
17628
- 'Entry Date Into Postsecondary': true,
17629
- 'Last Modified': true,
17630
- 'Postsecondary Entering Student Ind': true,
17631
- 'First Time Postsecondary Student': true,
17632
- 'Distance Education Program Enrollment Indicator': true,
17633
- 'Degree Or Certificate Seeking Student': true,
17634
- 'Instructional Activity Hours Attempted': true,
17635
- 'Student External Id': true,
17636
- 'Enrollment Type': true,
17637
- 'Student Level Id': true,
17638
- 'Initial Enrollment Term': true,
17639
- 'Term Enrollment Status': true,
17640
- 'Developmental Education Type': true,
17641
- 'Enrollment In Postsecondary Award Type': true,
17642
- 'Developmental Education Referral Status': true,
17643
- 'Directory Information Block Status': true,
17644
- 'Enrollment Award Type': true,
17645
- 'Instructional Activity Hours Type': true,
17646
- 'Transfer Ready': true,
17647
- }
17648
- },
17649
- {
17650
- name: 'Student Program',
17651
- properties: {
17652
- 'Last Modified': true,
17653
- 'Participation Start Date': true,
17654
- 'Participation Exit Date': true,
17655
- 'Student External Id': true,
17656
- 'Program External Id': true,
17657
- 'Program Participation Status': true,
17658
- 'Transfer Out Indicator': true,
17659
- 'Work Based Learning Opportunity Type': true,
17660
- 'Classification Of Instructional Program Use': true,
17661
- }
17662
- },
17663
- {
17664
- name: 'Institution',
17665
- properties: {
17666
- 'Virtual Indicator': true,
17667
- 'External Id': true,
17668
- 'Name': true,
17669
- 'Carnegie Basic Classification': true,
17670
- 'Control Of Institution': true,
17671
- 'Level Of Institution': true,
17672
- 'Predominant Calendar System': true,
17673
- }
17674
- },
17675
- {
17676
- name: 'Learner Action',
17677
- properties: {
17678
- 'Performed At': true,
17679
- 'Last Modified': true,
17680
- 'Learner Action Guid': true,
17681
- 'Actor Id': true,
17682
- 'Student External Id': true,
17683
- 'Object Description': true,
17684
- 'Object Id': true,
17685
- 'Object Type': true,
17686
- 'Action Type': true,
17687
- 'Value': true,
17688
- }
17689
- },
17690
- {
17691
- name: 'Student Email',
17692
- properties: {
17693
- 'Student External Id': true,
17694
- 'Email Address': true,
17695
- 'Email Address Type': true,
17696
- 'Last Modified': true,
17697
- 'Is Primary': true,
17698
- }
17699
- },
17700
- {
17701
- name: 'Student Address',
17702
- properties: {
17703
- 'Student External Id': true,
17704
- 'Last Modified': true,
17705
- 'Is Primary': true,
17706
- 'Street Number And Name': true,
17707
- 'Apartment Room Or Suite Number': true,
17708
- 'City': true,
17709
- 'State': true,
17710
- 'Postal Code': true,
17711
- 'County': true,
17712
- 'Country Code': true,
17713
- 'Latitude': true,
17714
- 'Longitude': true,
17715
- 'Personal Verification Identification Type': true,
17716
- 'Address Type': true,
17717
- }
17718
- },
17719
- {
17720
- name: 'Student Telephone',
17721
- properties: {
17722
- 'Last Modified': true,
17723
- 'Is Primary': true,
17724
- 'Student External Id': true,
17725
- 'Telephone Number Type': true,
17726
- 'Telephone Number': true
17727
- }
17728
- },
17729
- {
17730
- name: 'Student Section',
17731
- properties: {
17732
- 'Course Add Date': true,
17733
- 'Course Drop Date': true,
17734
- 'Last Modified': true,
17735
- 'Degree Applicability': true,
17736
- 'Number Of Credits Earned': true,
17737
- 'Quality Points Earned': true,
17738
- 'Student External Id': true,
17739
- 'Course Section External Id': true,
17740
- 'Academic Grade Scale Code': true,
17741
- 'Course Repeat Code': true,
17742
- 'Academic Grade': true,
17743
- 'Academic Grade Status Code': true,
17744
- 'Course Override School': true,
17745
- 'Enrollment Guid': true,
17746
- 'Grade Narrative': true,
17747
- 'Narrative Explanation Grade': true,
17748
- }
17749
- },
17750
- {
17751
- name: 'Staff Email',
17752
- properties: {
17753
- 'Last Modified': true,
17754
- 'Is Primary': true,
17755
- 'Staff External Id': true,
17756
- 'Email Address': true,
17757
- 'Email Address Type': true,
17758
- }
17759
- },
17760
- {
17761
- name: 'Staff Address',
17762
- properties: {
17763
- 'Last Modified': true,
17764
- 'Is Primary': true,
17765
- 'Staff External Id': true,
17766
- 'Street Number And Name': true,
17767
- 'Apartment Room Or Suite Number': true,
17768
- 'City': true,
17769
- 'State': true,
17770
- 'Postal Code': true,
17771
- 'County': true,
17772
- 'Country Code': true,
17773
- 'Latitude': true,
17774
- 'Longitude': true,
17775
- 'Personal Verification Identification Type': true,
17776
- 'Address Type': true,
17777
- }
17778
- },
17779
- {
17780
- name: 'Staff Telephone',
17781
- properties: {
17782
- 'Last Modified': true,
17783
- 'Is Primary': true,
17784
- 'Staff External Id': true,
17785
- 'Telephone Number Type': true,
17786
- 'Telephone Number': true,
17787
- }
17788
- },
17789
- {
17790
- name: 'Calendar Session',
17791
- properties: {
17792
- 'Begin Date': true,
17793
- 'End Date': true,
17794
- 'First Instruction Date': true,
17795
- 'Last Instruction Date': true,
17796
- 'Last Modified': true,
17797
- 'Marking Term Indicator': true,
17798
- 'Instructional Minutes': true,
17799
- 'Days In Session': true,
17800
- 'Minutes Per Day': true,
17801
- 'External Id': true,
17802
- 'Designator': true,
17803
- 'Description': true,
17804
- 'Session Type': true,
17805
- 'Scheduling Term Indicator': true,
17806
- 'Attendance Term Indicator': true,
17807
- 'Session Start Time': true,
17808
- 'Session End Time': true,
17809
- }
17810
- },
17811
- {
17812
- name: 'Student Authentication',
17813
- properties: {
17814
- 'Identity Provider Name': true,
17815
- 'Identity Provider Uri': true,
17816
- 'Start Date': true,
17817
- 'End Date': true,
17818
- 'Last Modified': true,
17819
- 'Login Identifier': true,
17820
- 'External Id': true,
17821
- 'Student External Id': true,
17822
- }
17823
- },
17824
- {
17825
- name: 'Section Instructor',
17826
- properties: {
17827
- 'Last Modified': true,
17828
- 'Course Section External Id': true,
17829
- 'Staff External Id': true,
17830
- }
17831
- },
17832
- {
17833
- name: 'Staff Authentication',
17834
- properties: {
17835
- 'Start Date': true,
17836
- 'End Date': true,
17837
- 'Last Modified': true,
17838
- 'External Id': true,
17839
- 'Staff External Id': true,
17840
- 'Identity Provider Name': true,
17841
- 'Identity Provider Uri': true,
17842
- 'Login Identifier': true,
17843
- }
17844
- },
17845
- {
17846
- name: 'Department',
17847
- properties: {
17848
- 'External Id': true,
17849
- 'Name': true,
17850
- 'Short Name': true,
17851
- 'Last Modified': true,
17852
- }
17853
- },
17854
- {
17855
- name: 'Course Section Schedule',
17856
- properties: {
17857
- 'External Id': true,
17858
- 'Course Section External ID': true,
17859
- 'Class Beginning Time': true,
17860
- 'Class Ending Time': true,
17861
- 'Class Meeting Days': true,
17862
- 'Instruction Site Name': true,
17863
- 'Instruction Site Type': true,
17864
- 'Time Day Identifier': true,
17865
- 'Last Modified': true,
17866
- 'Class Period': true,
17867
- 'Instruction Method': true,
17868
- }
17869
- },
17870
- {
17871
- name: 'Facility',
17872
- properties: {
17873
- 'External Id': true,
17874
- 'Identifier': true,
17875
- 'Building Name': true,
17876
- 'Space Description': true,
17877
- 'Space Use Type': true,
17878
- 'Binlding Site Number': true,
17879
- 'Building Use Type': true,
17880
- 'Last Modified': true,
17881
- }
17882
- }
17883
- ],*/
17884
- destinationDefaultSchema: [{
17885
- name: 'Account',
17886
- properties: {
17887
- 'Account Description': true,
17888
- 'Account Fax': true,
17889
- 'Account ID': true,
17890
- 'Account Name': true,
17891
- 'Account Phone': true,
17892
- 'Account Source': true,
17893
- 'Account Type': true,
17894
- 'Annual Revenue': true,
17895
- 'Billing Address': true,
17896
- 'Billing City': true,
17897
- 'Billing Country': true,
17898
- 'Billing Geocode Accuracy': true,
17899
- 'Billing Latitude': true,
17900
- 'Billing Longitude': true,
17901
- 'Billing State/Province': true,
17902
- 'Billing Street': true,
17903
- 'Billing Zip/Postal Code': true,
17904
- 'Created By ID': true,
17905
- 'Created Date': true,
17906
- 'Current Address': true,
17907
- 'Customer Portal Account': true,
17908
- 'Deleted': true,
17909
- 'Employees': true,
17910
- 'Industry': true,
17911
- 'Jigsaw Company ID': true,
17912
- 'Last Activity': true,
17913
- 'Last Modified By ID': true,
17914
- 'Last Modified Date': true,
17915
- 'Last Referenced Date': true,
17916
- 'Last Viewed Date': true,
17917
- 'Master Record ID': true,
17918
- 'Owner ID': true,
17919
- 'Parent Account ID': true,
17920
- 'Photo URL': true,
17921
- 'Record Type ID': true,
17922
- 'Shipping Address': true,
17923
- 'Shipping City': true,
17924
- 'Shipping Country': true,
17925
- 'Shipping Geocode Accuracy': true,
17926
- 'Shipping Latitude': true,
17927
- 'Shipping Longitude': true,
17928
- 'Shipping State/Province': true,
17929
- 'Shipping Street': true,
17930
- 'Shipping Zip/Postal Code': true,
17931
- 'SIC Description': true,
17932
- 'System Modstamp': true,
17933
- 'Website': true
17934
- }
17935
- }, {
17936
- name: 'Contact',
17937
- properties: {
17938
- 'Alternate Email': true,
17939
- "Assistant Name": true,
17940
- "Assistant Phone": true,
17941
- 'Birthdate': true,
17942
- 'Business Fax': true,
17943
- 'Business Phone': true,
17944
- 'Citizenship': true,
17945
- 'Contact Description': true,
17946
- 'Contact ID': true,
17947
- 'Country of Origin': true,
17948
- 'Created By ID': true,
17949
- 'Created Date': true,
17950
- 'Current Address': true,
17951
- 'Deceased': true,
17952
- 'Deleted': true,
17953
- 'Department': true,
17954
- 'Do Not Automatically Update': true,
17955
- 'Do Not Call': true,
17956
- 'Do Not Contact': true,
17957
- 'Email': true,
17958
- 'Email Bounced Date': true,
17959
- 'Email Bounced Reason': true,
17960
- 'Email Opt Out': true,
17961
- 'Ethnicity': true,
17962
- 'Exclude from Household Formal Greeting': true,
17963
- 'Exclude from Household Informal Greeting': true,
17964
- 'Exclude from Household Name': true,
17965
- 'Fax Opt Out': true,
17966
- 'FERPA': true,
17967
- 'Financial Aid Applicant': true,
17968
- 'First Name': true,
17969
- 'Full Name': true,
17970
- 'Gender': true,
17971
- 'HIPAA': true,
17972
- 'HIPAA Detail': true,
17973
- 'Home Phone': true,
17974
- 'Is Email Bounced': true,
17975
- 'Jigsaw Contact ID': true,
17976
- 'Last Activity': true,
17977
- 'Last Modified By ID': true,
17978
- 'Last Name': true,
17979
- 'Last Referenced Date': true,
17980
- 'Last Stay-in-Touch Request Date': true,
17981
- 'Last Stay-in-Touch Save Date': true,
17982
- 'Last Viewed Date': true,
17983
- 'Lead Source': true,
17984
- 'Mailing Address': true,
17985
- 'Mailing City': true,
17986
- 'Mailing Country': true,
17987
- 'Mailing Geocode Accuracy': true,
17988
- 'Mailing Latitude': true,
17989
- 'Mailing Longitude': true,
17990
- 'Mailing State/Province': true,
17991
- 'Mailing Street': true,
17992
- 'Mailing Zip/Postal Code': true,
17993
- 'Master Record ID': true,
17994
- 'Military Background': true,
17995
- 'Military Service': true,
17996
- 'Mobile Phone': true,
17997
- 'Naming Exclusions': true,
17998
- 'Other Address': true,
17999
- 'Other City': true,
18000
- 'Other Country': true,
18001
- 'Other Geocode Accuracy': true,
18002
- 'Other Latitude': true,
18003
- 'Other Longitude': true,
18004
- 'Other Phone': true,
18005
- 'Other State/Province': true,
18006
- 'Other Street': true,
18007
- 'Other Zip/Postal Code': true,
18008
- 'Owner ID': true,
18009
- 'Photo URL': true,
18010
- 'Preferred Email': true,
18011
- 'Preferred Phone': true,
18012
- 'Primary Address Type': true,
18013
- 'Primary Business Organization': true,
18014
- 'Primary Household': true,
18015
- 'Religion': true,
18016
- 'Reports To ID': true,
18017
- 'Salutation': true,
18018
- 'Secondary Address Type': true,
18019
- 'Social Security Number': true,
18020
- 'System Modstamp': true,
18021
- 'Title': true,
18022
- 'University Email': true,
18023
- 'Work Address': true,
18024
- 'Work Email': true,
18025
- 'Work Phone': true
18026
- }
18027
- }, {
18028
- name: 'Affiliation',
18029
- properties: {
18030
- 'Affiliation Key': true,
18031
- 'Affiliation Type': true,
18032
- 'Contact': true,
18033
- 'Created By ID': true,
18034
- 'Created Date': true,
18035
- 'Deleted': true,
18036
- 'Description': true,
18037
- 'End Date': true,
18038
- 'Last Modified By ID': true,
18039
- 'Last Modified Date': true,
18040
- 'Last Referenced Date': true,
18041
- 'Last Viewed Date': true,
18042
- 'Organization': true,
18043
- 'Owner ID': true,
18044
- 'Primary': true,
18045
- 'Record ID': true,
18046
- 'Role': true,
18047
- 'Start Date': true,
18048
- 'Status': true,
18049
- 'System Modstamp': true
18050
- }
18051
- }, {
18052
- name: 'Address',
18053
- properties: {
18054
- 'Address': true,
18055
- 'Address Type': true,
18056
- 'Created By ID': true,
18057
- 'Created Date': true,
18058
- 'Default Address': true,
18059
- 'Deleted': true,
18060
- 'Geolocation': true,
18061
- 'Geolocation (Latitude)': true,
18062
- 'Geolocation (Longitude)': true,
18063
- 'Last Modified By ID': true,
18064
- 'Last Modified Date': true,
18065
- 'Last Referenced Date': true,
18066
- 'Last Viewed Date': true,
18067
- 'Latest End Date': true,
18068
- 'Latest Start Date': true,
18069
- 'Mailing Address': true,
18070
- 'Mailing City': true,
18071
- 'Mailing Country': true,
18072
- 'Mailing State': true,
18073
- 'Mailing Street': true,
18074
- 'Mailing Street2': true,
18075
- 'Mailing Street Address': true,
18076
- 'Mailing Postal Code': true,
18077
- 'Owner': true,
18078
- 'Parent Account': true,
18079
- 'Parent Contact': true,
18080
- 'Record ID': true,
18081
- 'Seasonal End Day': true,
18082
- 'Seasonal End Month': true,
18083
- 'Seasonal End Year': true,
18084
- 'Seasonal Start Day': true,
18085
- 'Seasonal Start Month': true,
18086
- 'Seasonal Start Year': true,
18087
- 'System Modstamp': true
18088
- }
18089
- }, {
18090
- name: 'Course',
18091
- properties: {
18092
- 'Course ID': true,
18093
- 'Name': true,
18094
- 'Created By ID': true,
18095
- 'Created Date': true,
18096
- 'Credit Hours': true,
18097
- 'Deleted': true,
18098
- 'Department': true,
18099
- 'Description': true,
18100
- 'Last Modified By ID': true,
18101
- 'Last Modified Date': true,
18102
- 'Last Referenced Date': true,
18103
- 'Last Viewed Date': true,
18104
- 'Record ID': true,
18105
- 'System Modstamp': true
18106
- }
18107
- }, {
18108
- name: 'Course Connection',
18109
- properties: {
18110
- 'Affiliation': true,
18111
- 'Contact': true,
18112
- "Contact Academic Program": true,
18113
- 'Course Connection ID': true,
18114
- 'Course Offering ID': true,
18115
- 'Created By ID': true,
18116
- 'Created Date': true,
18117
- 'Credits Attempted': true,
18118
- 'Credits Earned': true,
18119
- 'Deleted': true,
18120
- 'Grade': true,
18121
- 'Last Modified By ID': true,
18122
- 'Last Modified Date': true,
18123
- 'Last Referenced Date': true,
18124
- 'Last Viewed Date': true,
18125
- 'Owner': true,
18126
- 'Primary': true,
18127
- 'Program Enrollment ID': true,
18128
- 'Record ID': true,
18129
- 'Record Type ID': true,
18130
- 'Status': true,
18131
- 'System Modstamp': true
18132
- }
18133
- }, {
18134
- name: 'Course Offering',
18135
- properties: {
18136
- 'Capacity': true,
18137
- 'Course': true,
18138
- 'Course Offering ID': true,
18139
- 'Created By ID': true,
18140
- 'Created Date': true,
18141
- 'Deleted': true,
18142
- 'End Date': true,
18143
- 'Last Modified By ID': true,
18144
- 'Last Modified Date': true,
18145
- 'Last Referenced Date': true,
18146
- 'Last Viewed Date': true,
18147
- 'Primary Faculty': true,
18148
- 'Record ID': true,
18149
- 'Section ID': true,
18150
- 'Start Date': true,
18151
- 'System Modstamp': true,
18152
- 'Term': true
18153
- }
18154
- }, {
18155
- name: 'Program Enrollment',
18156
- properties: {
18157
- 'Admission Date': true,
18158
- 'Affiliation': true,
18159
- 'Application Submitted Date': true,
18160
- 'Class Standing': true,
18161
- 'Class Year': true,
18162
- 'Contact': true,
18163
- 'Created By ID': true,
18164
- 'Created Date': true,
18165
- 'Credits Attempted': true,
18166
- 'Credits Earned': true,
18167
- 'Deleted': true,
18168
- 'Eligible to Enroll': true,
18169
- 'End Date': true,
18170
- 'Enrollment Status': true,
18171
- 'GPA': true,
18172
- 'Last Modified By ID': true,
18173
- 'Last Modified Date': true,
18174
- 'Last Referenced Date': true,
18175
- 'Last Viewed Date': true,
18176
- 'Owner ID': true,
18177
- 'Program': true,
18178
- 'Program Enrollment ID': true,
18179
- 'Record ID': true,
18180
- 'Start Date': true,
18181
- 'System Modstamp': true
18182
- }
18183
- }, {
18184
- name: 'Relationship',
18185
- properties: {
18186
- 'Contact': true,
18187
- 'Created By ID': true,
18188
- 'Created Date': true,
18189
- 'Deleted': true,
18190
- 'Description': true,
18191
- 'Emergency Contact': true,
18192
- 'Last Modified By ID': true,
18193
- 'Last Modified Date': true,
18194
- 'Last Referenced Date': true,
18195
- 'Last Viewed Date': true,
18196
- 'Owner ID': true,
18197
- 'Reciprocal Relationship': true,
18198
- 'Record ID': true,
18199
- 'Related Contact': true,
18200
- 'Relationship Explanation': true,
18201
- 'Relationship Key': true,
18202
- 'Status': true,
18203
- 'System Modstamp': true,
18204
- 'Type': true
18205
- }
18206
- }, {
18207
- name: 'Term',
18208
- properties: {
18209
- 'Account': true,
18210
- 'Created By ID': true,
18211
- 'Created Date': true,
18212
- 'Deleted': true,
18213
- 'End Date': true,
18214
- 'Last Modified By ID': true,
18215
- 'Last Modified Date': true,
18216
- 'Last Referenced Date': true,
18217
- 'Last Viewed Date': true,
18218
- 'Record ID': true,
18219
- 'Start Date': true,
18220
- 'System Modstamp': true,
18221
- 'Term Name': true
18222
- }
18223
- }],
18224
- autoMapData: {
18225
- 'Student.First Name': 'Contact.First Name',
18226
- 'Student.Last Name': 'Contact.Last Name',
18227
- 'Student.Gender': 'Contact.Gender',
18228
- 'Student.Birthdate': 'Contact.Birthdate',
18229
- 'Student Telephone.Telephone Number': 'Contact.Preferred Phone',
18230
- 'Student Email.Email Address': 'Contact.Email',
18231
- 'Student Address.Student External Id': 'Address.Owner',
18232
- 'Student Address.City': 'Address.Mailing City',
18233
- 'Student Address.State': 'Address.Mailing State',
18234
- 'Student Address.Postal Code': 'Address.Mailing Postal Code',
18235
- 'Student Address.County': 'Address.Mailing Country',
18236
- 'Staff.First Name': 'Contact.First Name',
18237
- 'Staff.Last Name': 'Contact.Last Name',
18238
- 'Staff.Gender': 'Contact.Gender',
18239
- 'Staff.Birthdate': 'Contact.Birthdate',
18240
- 'Staff Telephone.Telephone Number': 'Contact.Preferred Phone',
18241
- 'Staff Email.Email Address': 'Contact.Email',
18242
- 'Staff Address.Staff External Id': 'Address.Owner',
18243
- 'Staff Address.City': 'Address.Mailing City',
18244
- 'Staff Address.State': 'Address.Mailing State',
18245
- 'Staff Address.Postal Code': 'Address.Mailing Postal Code',
18246
- 'Staff Address.County': 'Address.Mailing Country',
18247
- 'Course.Course Title': 'Course.Name',
18248
- 'Course.Description': 'Course.Description',
18249
- 'Student Section.Student External Id': 'Course Connection.Owner',
18250
- 'Student Section.Academic Grade': 'Course Connection.Grade'
18251
- },
18252
- dummyData: {
18253
- 'Student.First Name': 'Carlos',
18254
- 'Student.Last Name': 'Robertson',
18255
- 'Student.Gender': 'Male',
18256
- 'Student.External Id': 'ee106749-8b53-445e-8bc9-1babc72372ff',
18257
- 'Student.Birthdate': '1998-10-27',
18258
- 'Student.Hispanic Latino Ethnicity': 'Hispanic',
18259
- 'Student.Last Modified': '2017-1-10',
18260
- 'Student Telephone.Telephone Number': '530-753-3067',
18261
- 'Student Email.Email Address': 'carlosr98@gmail.com',
18262
- 'Student Address.Student External Id': 'ee106749-8b53-445e-8bc9-1babc72372ff',
18263
- 'Student Address.Address Type': 'residence',
18264
- 'Student Address.Street Number And Name': '2400 Rivendell Lane',
18265
- 'Student Address.City': 'Davis',
18266
- 'Student Address.State': 'CA',
18267
- 'Student Address.Postal Code': '95616',
18268
- 'Student Address.County': 'United States',
18269
- 'Student Address.Latitude': '38.5449° N',
18270
- 'Student Address.Longitude': '121.7405° W',
18271
- 'Staff.First Name': 'Amy',
18272
- 'Staff.Last Name': 'Harrison',
18273
- 'Staff.Gender': 'Female',
18274
- 'Staff.External Id': '9d0f1999-c14f-466a-b078-eac5dceb8c1e',
18275
- 'Staff.Birthdate': '1986-10-18',
18276
- 'Staff.Hispanic Latino Ethnicity': 'White',
18277
- 'Staff.Last Modified': '2017-1-10',
18278
- 'Staff Telephone.Telephone Number': '530-756-8268',
18279
- 'Staff Email.Email Address': 'asharon@ucdavis.edu',
18280
- 'Staff Address.Staff External Id': '9d0f1999-c14f-466a-b078-eac5dceb8c1e',
18281
- 'Staff Address.Address Type': 'residence',
18282
- 'Staff Address.Street Number And Name': '131 Bombadil Drive',
18283
- 'Staff Address.City': 'Davis',
18284
- 'Staff Address.State': 'CA',
18285
- 'Staff Address.Postal Code': '95616',
18286
- 'Staff Address.County': 'United States',
18287
- 'Staff Address.Latitude': '38.5449° N',
18288
- 'Staff Address.Longitude': '121.7405° W',
18289
- 'Calendar Session.Designator': 'Fall',
18290
- 'Calendar Session.Begin Date': '2017-3-11',
18291
- 'Calendar Session.End Date': '2017-6-21',
18292
- 'Calendar Session.Last Modified': '2017-1-10',
18293
- 'Calendar Session.External Id': 'e8484fb0bdf7955ade3eafc0134d46c1',
18294
- 'Course.External Id': 'de3eafc0134d4e8484fb0bdf7955a6c1',
18295
- 'Course.Course Title': 'Research Strategies and Technology',
18296
- 'Course.Description': 'This course is intended to familiarize students with the resources and the technology available for writing and presenting papers',
18297
- 'Course.Department External Id': 'Social Sciences',
18298
- 'Course.Credit Value': '4',
18299
- 'Course.Last Modified': '2017-1-10',
18300
- 'Course Section.Last Modified': '2017-1-10',
18301
- 'Course Section.External Id': '624163984-7',
18302
- 'Course Section.Course External Id': '639846241-9',
18303
- 'Course Section Schedule.Course Section External ID': '349996241-1',
18304
- 'Student Section.Student External Id': 'ee106749-8b53-445e-8bc9-1babc72372ff',
18305
- 'Student Section.Number Of Credits Earned': '4',
18306
- 'Student Section.Academic Grade': 'B',
18307
- 'Student Section.Last Modified': '2017-1-10'
18308
- }
18309
- }
18310
- };
18311
-
18312
17472
  /***/ },
18313
17473
  /* 177 */
18314
17474
  /***/ function(module, exports) {
@@ -18321,12 +17481,7 @@ module.exports =
18321
17481
  var providerTypes = exports.providerTypes = {
18322
17482
  Salesforce: {
18323
17483
  credentials: [{ name: 'Username' }, { name: 'Password' }, { name: 'API Key' }],
18324
- metadataEndpoint: 'salesforceschema',
18325
- customStep: {
18326
- type: 'default',
18327
- title: 'Choose Default Dataset',
18328
- options: ['standard', 'heda']
18329
- }
17484
+ metadataEndpoint: 'salesforceschema'
18330
17485
  },
18331
17486
  API: {
18332
17487
  credentials: [{ name: 'Consumer Key' }, { name: 'Secret' }]
@@ -18634,238 +17789,6 @@ module.exports =
18634
17789
 
18635
17790
  'use strict';
18636
17791
 
18637
- Object.defineProperty(exports, "__esModule", {
18638
- value: true
18639
- });
18640
-
18641
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
18642
-
18643
- var _react = __webpack_require__(2);
18644
-
18645
- var _react2 = _interopRequireDefault(_react);
18646
-
18647
- var _reduxForm = __webpack_require__(4);
18648
-
18649
- var _navButtons = __webpack_require__(5);
18650
-
18651
- var _navButtons2 = _interopRequireDefault(_navButtons);
18652
-
18653
- var _loadData = __webpack_require__(8);
18654
-
18655
- var _loadData2 = _interopRequireDefault(_loadData);
18656
-
18657
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18658
-
18659
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
18660
-
18661
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18662
-
18663
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
18664
-
18665
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
18666
-
18667
- var DefaultDatasetStep = function (_Component) {
18668
- _inherits(DefaultDatasetStep, _Component);
18669
-
18670
- function DefaultDatasetStep() {
18671
- _classCallCheck(this, DefaultDatasetStep);
18672
-
18673
- var _this = _possibleConstructorReturn(this, (DefaultDatasetStep.__proto__ || Object.getPrototypeOf(DefaultDatasetStep)).call(this));
18674
-
18675
- _this.defaultResourceMapping = [{
18676
- name: 'Contact',
18677
- provider: 'Salesforce',
18678
- lingkSourceKey: 'ExternalId',
18679
- lingkSourceKeyObject: 'Applicants',
18680
- resources: [{
18681
- name: 'Applicants',
18682
- joinKeyName: '',
18683
- primaryKeyName: '',
18684
- provider: 'Banner'
18685
- }],
18686
- mappings: [{
18687
- isExternalKeyMapping: true,
18688
- propertyFromName: "ExternalId",
18689
- propertyToName: "Lingk External Id",
18690
- resourceFromName: "Applicants",
18691
- resourceToName: "Contact"
18692
- }, {
18693
- propertyFromName: "FirstName",
18694
- propertyToName: "Fist Name",
18695
- resourceFromName: "Applicants",
18696
- resourceToName: "Contact"
18697
- }, {
18698
- propertyFromName: "LastName",
18699
- propertyToName: "Last Name",
18700
- resourceFromName: "Applicants",
18701
- resourceToName: "Contact"
18702
- }, {
18703
- propertyFromName: "Gender",
18704
- propertyToName: "Gender",
18705
- resourceFromName: "Applicants",
18706
- resourceToName: "Contact"
18707
- }]
18708
- }, {
18709
- name: 'Admissions Application',
18710
- provider: 'Salesforce',
18711
- lingkSourceKey: 'ApplicationNumber',
18712
- lingkSourceKeyObject: 'Student Applications',
18713
- resources: [{
18714
- name: 'Student Applications',
18715
- joinKeyName: '',
18716
- primaryKeyName: '',
18717
- provider: 'Banner'
18718
- }, {
18719
- name: 'Contact',
18720
- joinKeyName: 'Lingk External Id',
18721
- primaryKeyName: 'StudentExternalId',
18722
- provider: 'Salesforce',
18723
- joinType: 'LEFT JOIN'
18724
- }],
18725
- mappings: [{
18726
- isExternalKeyMapping: true,
18727
- propertyFromName: "ApplicationNumber",
18728
- propertyToName: "Lingk External Id",
18729
- resourceFromName: "Student Applications",
18730
- resourceToName: "Admissions Application"
18731
- }, {
18732
- propertyFromName: "ApplicationStatus",
18733
- propertyToName: "Status",
18734
- resourceFromName: "Student Applications",
18735
- resourceToName: "Admissions Application"
18736
- }, {
18737
- propertyFromName: "Contact ID",
18738
- propertyToName: "Contact",
18739
- resourceFromName: "Contact",
18740
- resourceToName: "Admissions Application"
18741
- }]
18742
- }];
18743
- _this.loadDefault = _this.loadDefault.bind(_this);
18744
- _this.select = _this.select.bind(_this);
18745
- return _this;
18746
- }
18747
-
18748
- _createClass(DefaultDatasetStep, [{
18749
- key: 'componentDidMount',
18750
- value: function componentDidMount() {
18751
- var _props = this.props,
18752
- step = _props.step,
18753
- wizard = _props.wizard,
18754
- change = _props.change,
18755
- formValues = _props.formValues,
18756
- actions = _props.actions;
18757
-
18758
- if (!wizard.dataLoaded) {
18759
- (0, _loadData2.default)(step, wizard, change, formValues, actions);
18760
- }
18761
- }
18762
- }, {
18763
- key: 'options',
18764
- value: function options(ops) {
18765
- var defaultDatasetTitles = {
18766
- 'standard': 'Standard Salesforce Dataset',
18767
- 'heda': 'Salesforce HEDA Dataset'
18768
- };
18769
- var obj = {};
18770
- ops.forEach(function (o) {
18771
- obj[o] = defaultDatasetTitles[o];
18772
- });
18773
- return obj;
18774
- }
18775
- }, {
18776
- key: 'select',
18777
- value: function select(v) {
18778
- if (v !== this.props.formValues['defaultDataset']) {
18779
- this.loadDefault();
18780
- }
18781
- }
18782
- }, {
18783
- key: 'loadDefault',
18784
- value: function loadDefault() {
18785
- //default bundle map
18786
- var change = this.props.change;
18787
-
18788
- var defaults = [].concat(_toConsumableArray(this.defaultResourceMapping));
18789
- change('resourceGroups', defaults);
18790
- }
18791
- }, {
18792
- key: 'autoMap',
18793
- value: function autoMap() {
18794
- // this function needs to dig deeper and check every field against every mapping
18795
- var _props2 = this.props,
18796
- formValues = _props2.formValues,
18797
- change = _props2.change,
18798
- step = _props2.step;
18799
-
18800
- var sourceSchema = formValues['sourceSchema'] || {};
18801
- var obj = {};
18802
- for (var key in step.autoMapData) {
18803
- if (sourceSchema && sourceSchema[key.split('.')[0]]) {
18804
- obj[key] = step.autoMapData[key];
18805
- }
18806
- }
18807
- change('mappings', obj);
18808
- }
18809
- }, {
18810
- key: 'render',
18811
- value: function render() {
18812
- var _props3 = this.props,
18813
- inputs = _props3.inputs,
18814
- handleSubmit = _props3.handleSubmit,
18815
- nav = _props3.nav,
18816
- step = _props3.step,
18817
- reset = _props3.reset,
18818
- formValues = _props3.formValues;
18819
-
18820
-
18821
- return _react2.default.createElement(
18822
- 'form',
18823
- { onSubmit: handleSubmit, onKeyPress: function onKeyPress(e) {
18824
- return e.charCode === 13 ? e.preventDefault() : null;
18825
- } },
18826
- _react2.default.createElement(
18827
- 'div',
18828
- { style: { fontSize: 20 } },
18829
- 'Choose Default Dataset'
18830
- ),
18831
- _react2.default.createElement('br', null),
18832
- _react2.default.createElement(
18833
- 'p',
18834
- null,
18835
- 'Choose a default dataset as the starting point for your integration.'
18836
- ),
18837
- _react2.default.createElement('br', null),
18838
- _react2.default.createElement(
18839
- 'div',
18840
- { style: { marginLeft: 16 } },
18841
- _react2.default.createElement(_reduxForm.Field, { component: inputs.rfRadioGroup, name: 'defaultDataset', label: 'Default Dataset',
18842
- options: this.options(step.options), onClickOption: this.select })
18843
- ),
18844
- _react2.default.createElement('br', null),
18845
- _react2.default.createElement(_navButtons2.default, { nextDisabled: !formValues['defaultDataset'], handleSubmit: handleSubmit,
18846
- nav: nav, reset: reset, inputs: inputs }),
18847
- _react2.default.createElement('br', null),
18848
- _react2.default.createElement('br', null)
18849
- );
18850
- }
18851
- }]);
18852
-
18853
- return DefaultDatasetStep;
18854
- }(_react.Component);
18855
-
18856
- exports.default = (0, _reduxForm.reduxForm)({
18857
- form: 'wizard',
18858
- destroyOnUnmount: false,
18859
- forceUnregisterOnUnmount: true,
18860
- touchOnBlur: false
18861
- })(DefaultDatasetStep);
18862
-
18863
- /***/ },
18864
- /* 181 */
18865
- /***/ function(module, exports, __webpack_require__) {
18866
-
18867
- 'use strict';
18868
-
18869
17792
  Object.defineProperty(exports, "__esModule", {
18870
17793
  value: true
18871
17794
  });
@@ -19100,7 +18023,7 @@ module.exports =
19100
18023
  })(DeployStep);
19101
18024
 
19102
18025
  /***/ },
19103
- /* 182 */
18026
+ /* 181 */
19104
18027
  /***/ function(module, exports, __webpack_require__) {
19105
18028
 
19106
18029
  'use strict';
@@ -19375,7 +18298,7 @@ module.exports =
19375
18298
  })(EnvironmentStep);
19376
18299
 
19377
18300
  /***/ },
19378
- /* 183 */
18301
+ /* 182 */
19379
18302
  /***/ function(module, exports, __webpack_require__) {
19380
18303
 
19381
18304
  'use strict';
@@ -19476,7 +18399,7 @@ module.exports =
19476
18399
  })(FilterStep);
19477
18400
 
19478
18401
  /***/ },
19479
- /* 184 */
18402
+ /* 183 */
19480
18403
  /***/ function(module, exports, __webpack_require__) {
19481
18404
 
19482
18405
  'use strict';
@@ -19719,7 +18642,7 @@ module.exports =
19719
18642
  })(MapStep);
19720
18643
 
19721
18644
  /***/ },
19722
- /* 185 */
18645
+ /* 184 */
19723
18646
  /***/ function(module, exports, __webpack_require__) {
19724
18647
 
19725
18648
  'use strict';
@@ -19835,7 +18758,7 @@ module.exports =
19835
18758
  })(NameStep);
19836
18759
 
19837
18760
  /***/ },
19838
- /* 186 */
18761
+ /* 185 */
19839
18762
  /***/ function(module, exports, __webpack_require__) {
19840
18763
 
19841
18764
  'use strict';
@@ -19933,7 +18856,7 @@ module.exports =
19933
18856
  })(PhaseStep);
19934
18857
 
19935
18858
  /***/ },
19936
- /* 187 */
18859
+ /* 186 */
19937
18860
  /***/ function(module, exports, __webpack_require__) {
19938
18861
 
19939
18862
  'use strict';
@@ -20067,6 +18990,163 @@ module.exports =
20067
18990
  validate: _validate2.default
20068
18991
  })(PreviewStep);
20069
18992
 
18993
+ /***/ },
18994
+ /* 187 */
18995
+ /***/ function(module, exports, __webpack_require__) {
18996
+
18997
+ 'use strict';
18998
+
18999
+ Object.defineProperty(exports, "__esModule", {
19000
+ value: true
19001
+ });
19002
+
19003
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
19004
+
19005
+ var _react = __webpack_require__(2);
19006
+
19007
+ var _react2 = _interopRequireDefault(_react);
19008
+
19009
+ var _reduxForm = __webpack_require__(4);
19010
+
19011
+ var _navButtons = __webpack_require__(5);
19012
+
19013
+ var _navButtons2 = _interopRequireDefault(_navButtons);
19014
+
19015
+ var _loadData = __webpack_require__(8);
19016
+
19017
+ var _loadData2 = _interopRequireDefault(_loadData);
19018
+
19019
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19020
+
19021
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19022
+
19023
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
19024
+
19025
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19026
+
19027
+ var DefaultDatasetStep = function (_Component) {
19028
+ _inherits(DefaultDatasetStep, _Component);
19029
+
19030
+ function DefaultDatasetStep() {
19031
+ var _ref;
19032
+
19033
+ var _temp, _this, _ret;
19034
+
19035
+ _classCallCheck(this, DefaultDatasetStep);
19036
+
19037
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
19038
+ args[_key] = arguments[_key];
19039
+ }
19040
+
19041
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DefaultDatasetStep.__proto__ || Object.getPrototypeOf(DefaultDatasetStep)).call.apply(_ref, [this].concat(args))), _this), _this.select = function (o) {
19042
+ var _this$props = _this.props,
19043
+ step = _this$props.step,
19044
+ actions = _this$props.actions,
19045
+ change = _this$props.change;
19046
+
19047
+ actions.callGetScenario(step.magicNumber, o.bundleGuid, o.mappingGuid);
19048
+ change('scenario', o.name);
19049
+ }, _temp), _possibleConstructorReturn(_this, _ret);
19050
+ }
19051
+
19052
+ _createClass(DefaultDatasetStep, [{
19053
+ key: 'componentDidMount',
19054
+ value: function componentDidMount() {
19055
+ var _props = this.props,
19056
+ step = _props.step,
19057
+ wizard = _props.wizard,
19058
+ change = _props.change,
19059
+ formValues = _props.formValues,
19060
+ actions = _props.actions;
19061
+
19062
+ if (!wizard.dataLoaded) {
19063
+ (0, _loadData2.default)(step, wizard, change, formValues, actions);
19064
+ }
19065
+ }
19066
+ }, {
19067
+ key: 'options',
19068
+ value: function options(ops) {
19069
+ var obj = {};
19070
+ ops.forEach(function (o) {
19071
+ obj[o.name] = o.label;
19072
+ });
19073
+ return obj;
19074
+ }
19075
+ }, {
19076
+ key: 'render',
19077
+ value: function render() {
19078
+ var _this2 = this;
19079
+
19080
+ var _props2 = this.props,
19081
+ inputs = _props2.inputs,
19082
+ handleSubmit = _props2.handleSubmit,
19083
+ nav = _props2.nav,
19084
+ step = _props2.step,
19085
+ reset = _props2.reset,
19086
+ wizard = _props2.wizard,
19087
+ formValues = _props2.formValues;
19088
+
19089
+ var Radio = inputs.Radio;
19090
+ var scenario = formValues['scenario'];
19091
+
19092
+ return _react2.default.createElement(
19093
+ 'form',
19094
+ { onSubmit: handleSubmit, onKeyPress: function onKeyPress(e) {
19095
+ return e.charCode === 13 ? e.preventDefault() : null;
19096
+ } },
19097
+ _react2.default.createElement(
19098
+ 'div',
19099
+ { style: { fontSize: 20 } },
19100
+ 'Choose Default Scenario'
19101
+ ),
19102
+ _react2.default.createElement('br', null),
19103
+ _react2.default.createElement(
19104
+ 'p',
19105
+ null,
19106
+ 'Each scenario is designed to get you started with new data-driven reports, dashboards and notifications. Extend the scenarios to include your own custom objects in the following steps.'
19107
+ ),
19108
+ _react2.default.createElement('br', null),
19109
+ _react2.default.createElement(
19110
+ 'div',
19111
+ { style: { marginLeft: 16 } },
19112
+ step.options.map(function (o, i) {
19113
+ return _react2.default.createElement(
19114
+ 'div',
19115
+ { key: i },
19116
+ _react2.default.createElement(Radio, { label: o.title, checked: o.name === scenario, style: { cursor: 'pointer' },
19117
+ onClick: function onClick() {
19118
+ return _this2.select(o);
19119
+ } }),
19120
+ _react2.default.createElement('br', null),
19121
+ _react2.default.createElement(
19122
+ 'span',
19123
+ { className: 'labelz' },
19124
+ o.label
19125
+ ),
19126
+ _react2.default.createElement('br', null),
19127
+ _react2.default.createElement('br', null)
19128
+ );
19129
+ })
19130
+ ),
19131
+ _react2.default.createElement('br', null),
19132
+ _react2.default.createElement(_navButtons2.default, { nextDisabled: !wizard.gotScenario, handleSubmit: handleSubmit,
19133
+ nav: nav, reset: reset, inputs: inputs }),
19134
+ _react2.default.createElement('br', null),
19135
+ _react2.default.createElement('br', null)
19136
+ );
19137
+ }
19138
+ }]);
19139
+
19140
+ return DefaultDatasetStep;
19141
+ }(_react.Component);
19142
+
19143
+ exports.default = (0, _reduxForm.reduxForm)({
19144
+ form: 'wizard',
19145
+ destroyOnUnmount: false,
19146
+ forceUnregisterOnUnmount: true,
19147
+ touchOnBlur: false
19148
+ })(DefaultDatasetStep);
19149
+
20070
19150
  /***/ },
20071
19151
  /* 188 */
20072
19152
  /***/ function(module, exports, __webpack_require__) {
@@ -20252,7 +19332,7 @@ module.exports =
20252
19332
  group.resources.push({
20253
19333
  name: v,
20254
19334
  provider: section,
20255
- joinType: 'LEFT OUTER'
19335
+ joinType: 'LEFT JOIN'
20256
19336
  });
20257
19337
  }
20258
19338
  if (group.resources.length === 1) {
@@ -20278,8 +19358,22 @@ module.exports =
20278
19358
  formValues = _props6.formValues;
20279
19359
 
20280
19360
  var resourceGroups = [].concat(_toConsumableArray(formValues['resourceGroups']));
20281
- var resources = resourceGroups[groupIndex].resources;
20282
- resources.splice(rscIndex, 1);
19361
+ var group = resourceGroups[groupIndex];
19362
+ if (group.customExternalKeys) {
19363
+ if (group.sourceKeysObjects.find(function (sko) {
19364
+ return sko === entity;
19365
+ })) {
19366
+ var deleteIndex = group.sourceKeysObjects.indexOf(entity);
19367
+ group.sourceKeys.splice(deleteIndex, 1);
19368
+ group.sourceKeysObjects.splice(deleteIndex, 1);
19369
+ }
19370
+ } else {
19371
+ if (entity === group.lingkSourceKeyObject) {
19372
+ group.lingkSourceKey = null;
19373
+ group.lingkSourceKeyObject = null;
19374
+ }
19375
+ }
19376
+ group.resources.splice(rscIndex, 1);
20283
19377
  change('resourceGroups', resourceGroups);
20284
19378
  this.forceUpdate();
20285
19379
  }
@@ -20313,7 +19407,7 @@ module.exports =
20313
19407
  g.primaryKeyName = null;
20314
19408
  });
20315
19409
  change('resourceGroups', resourceGroups);
20316
- this.openConnectionModal(group, groupIndex);
19410
+ //this.openConnectionModal(group, groupIndex)
20317
19411
  }
20318
19412
  }, {
20319
19413
  key: 'changeGroupOrder',
@@ -20341,6 +19435,8 @@ module.exports =
20341
19435
  wizard = _props10.wizard,
20342
19436
  change = _props10.change;
20343
19437
 
19438
+ if (!formValues['resourceGroups']) return _react2.default.createElement('div', null);
19439
+
20344
19440
  var resourceGroups = [].concat(_toConsumableArray(formValues['resourceGroups'])) || null;
20345
19441
  var BundleTable = inputs.BundleTable;
20346
19442
 
@@ -20447,20 +19543,21 @@ module.exports =
20447
19543
  step = props.step;
20448
19544
 
20449
19545
  return _react2.default.createElement(
20450
- 'div',
20451
- { style: { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } },
19546
+ 'pre',
19547
+ { style: { whiteSpace: 'pre-wrap', maxWidth: 400, fontFamily: '"Salesforce Sans", Arial, sans-serif',
19548
+ paddingLeft: '1em', textIndent: '-1em', margin: 0 } },
20452
19549
  group.resources && group.resources.map(function (rsc, i) {
20453
19550
  return _react2.default.createElement(
20454
19551
  'span',
20455
19552
  { key: i },
20456
19553
  i !== 0 && _react2.default.createElement(
20457
- 'span',
19554
+ 'strong',
20458
19555
  null,
20459
19556
  '+ '
20460
19557
  ),
20461
19558
  _react2.default.createElement(
20462
19559
  'span',
20463
- { style: { fontWeight: i === 0 ? 'bold' : 'normal' } },
19560
+ { style: { fontWeight: i === 0 ? 'bold' : 'normal', whiteSpace: 'nowrap' } },
20464
19561
  rsc.provider === step.destinationProvider ? rsc.name + ' (' + step.destinationProvider + ')' : rsc.name,
20465
19562
  '\xA0'
20466
19563
  )
@@ -20486,19 +19583,23 @@ module.exports =
20486
19583
  }
20487
19584
  return _react2.default.createElement(
20488
19585
  'div',
20489
- { className: 'connect-resource-group', onClick: function onClick(e) {
20490
- e.stopPropagation();
20491
- openConnectionModal(group, i);
20492
- }, style: { paddingTop: linked ? 5 : 6 } },
20493
- linked ? _react2.default.createElement(
20494
- 'svg',
20495
- { fill: '#000000', width: '29', height: '24', viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg' },
20496
- _react2.default.createElement('path', { d: 'M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z' })
20497
- ) : _react2.default.createElement(
20498
- 'svg',
20499
- { fill: '#AAAAAA', width: '24', height: '19', viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg' },
20500
- _react2.default.createElement('path', { d: 'M2,5.27L3.28,4L20,20.72L18.73,22L14.73,18H13V16.27L9.73,13H8V11.27L5.5,8.76C4.5,9.5 3.9,10.68 3.9,12C3.9,14.26 5.74,16.1 8,16.1H11V18H8A6,6 0 0,1 2,12C2,10.16 2.83,8.5 4.14,7.41L2,5.27M16,6A6,6 0 0,1 22,12C22,14.21 20.8,16.15 19,17.19L17.6,15.77C19.07,15.15 20.1,13.7 20.1,12C20.1,9.73 18.26,7.9 16,7.9H13V6H16M8,6H11V7.9H9.72L7.82,6H8M16,11V13H14.82L12.82,11H16Z' })
20501
- )
19586
+ null,
19587
+ group && group.resources && group.resources.length > 0 ? _react2.default.createElement(
19588
+ 'div',
19589
+ { className: 'connect-resource-group', onClick: function onClick(e) {
19590
+ e.stopPropagation();
19591
+ openConnectionModal(group, i);
19592
+ }, style: { paddingTop: linked ? 5 : 6 } },
19593
+ linked ? _react2.default.createElement(
19594
+ 'svg',
19595
+ { fill: '#000000', width: '29', height: '24', viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg' },
19596
+ _react2.default.createElement('path', { d: 'M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z' })
19597
+ ) : _react2.default.createElement(
19598
+ 'svg',
19599
+ { fill: '#AAAAAA', width: '24', height: '19', viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg' },
19600
+ _react2.default.createElement('path', { d: 'M2,5.27L3.28,4L20,20.72L18.73,22L14.73,18H13V16.27L9.73,13H8V11.27L5.5,8.76C4.5,9.5 3.9,10.68 3.9,12C3.9,14.26 5.74,16.1 8,16.1H11V18H8A6,6 0 0,1 2,12C2,10.16 2.83,8.5 4.14,7.41L2,5.27M16,6A6,6 0 0,1 22,12C22,14.21 20.8,16.15 19,17.19L17.6,15.77C19.07,15.15 20.1,13.7 20.1,12C20.1,9.73 18.26,7.9 16,7.9H13V6H16M8,6H11V7.9H9.72L7.82,6H8M16,11V13H14.82L12.82,11H16Z' })
19601
+ )
19602
+ ) : null
20502
19603
  );
20503
19604
  };
20504
19605
 
@@ -20685,8 +19786,8 @@ module.exports =
20685
19786
  }).properties;
20686
19787
  });
20687
19788
 
20688
- var sourceKeys = resourceGroups[bundleIndex].sourceKeys || [''];
20689
- var destinationKeys = resourceGroups[bundleIndex].destinationKeys || [''];
19789
+ var sourceKeys = resourceGroups[bundleIndex].sourceKeys && resourceGroups[bundleIndex].sourceKeys.length > 0 ? resourceGroups[bundleIndex].sourceKeys : [''];
19790
+ var destinationKeys = resourceGroups[bundleIndex].destinationKeys && resourceGroups[bundleIndex].destinationKeys.length > 0 ? resourceGroups[bundleIndex].destinationKeys : [''];
20690
19791
 
20691
19792
  return _react2.default.createElement(
20692
19793
  Modal,
@@ -21644,11 +20745,12 @@ module.exports =
21644
20745
  i !== 0 ? _react2.default.createElement(
21645
20746
  Button,
21646
20747
  { type: 'brand', icon: selectedEntity.name === rsc.name ? 'chevronup' : 'chevrondown',
21647
- iconAlign: 'right', onClick: function onClick() {
20748
+ iconAlign: 'right', className: rsc.joinKeyName && rsc.primaryKeyName ? 'join-ok' : '',
20749
+ onClick: function onClick() {
21648
20750
  _this3.props.pickEntity({ name: rsc.name,
21649
20751
  isDestinationEntity: rsc.provider === step.destinationProvider });
21650
20752
  } },
21651
- 'Configure Join'
20753
+ rsc.joinKeyName && rsc.primaryKeyName ? 'Join Settings' : 'Configure Join'
21652
20754
  ) : null
21653
20755
  )
21654
20756
  ),
@@ -22006,11 +21108,11 @@ module.exports =
22006
21108
 
22007
21109
  var _accountStep2 = _interopRequireDefault(_accountStep);
22008
21110
 
22009
- var _phaseStep = __webpack_require__(186);
21111
+ var _phaseStep = __webpack_require__(185);
22010
21112
 
22011
21113
  var _phaseStep2 = _interopRequireDefault(_phaseStep);
22012
21114
 
22013
- var _environmentStep = __webpack_require__(182);
21115
+ var _environmentStep = __webpack_require__(181);
22014
21116
 
22015
21117
  var _environmentStep2 = _interopRequireDefault(_environmentStep);
22016
21118
 
@@ -22018,23 +21120,23 @@ module.exports =
22018
21120
 
22019
21121
  var _schemaStep2 = _interopRequireDefault(_schemaStep);
22020
21122
 
22021
- var _filterStep = __webpack_require__(183);
21123
+ var _filterStep = __webpack_require__(182);
22022
21124
 
22023
21125
  var _filterStep2 = _interopRequireDefault(_filterStep);
22024
21126
 
22025
- var _mapStep = __webpack_require__(184);
21127
+ var _mapStep = __webpack_require__(183);
22026
21128
 
22027
21129
  var _mapStep2 = _interopRequireDefault(_mapStep);
22028
21130
 
22029
- var _previewStep = __webpack_require__(187);
21131
+ var _previewStep = __webpack_require__(186);
22030
21132
 
22031
21133
  var _previewStep2 = _interopRequireDefault(_previewStep);
22032
21134
 
22033
- var _deployStep = __webpack_require__(181);
21135
+ var _deployStep = __webpack_require__(180);
22034
21136
 
22035
21137
  var _deployStep2 = _interopRequireDefault(_deployStep);
22036
21138
 
22037
- var _nameStep = __webpack_require__(185);
21139
+ var _nameStep = __webpack_require__(184);
22038
21140
 
22039
21141
  var _nameStep2 = _interopRequireDefault(_nameStep);
22040
21142
 
@@ -22042,9 +21144,9 @@ module.exports =
22042
21144
 
22043
21145
  var _adapterStep2 = _interopRequireDefault(_adapterStep);
22044
21146
 
22045
- var _defaultDatasetStep = __webpack_require__(180);
21147
+ var _scenarioStep = __webpack_require__(187);
22046
21148
 
22047
- var _defaultDatasetStep2 = _interopRequireDefault(_defaultDatasetStep);
21149
+ var _scenarioStep2 = _interopRequireDefault(_scenarioStep);
22048
21150
 
22049
21151
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22050
21152
 
@@ -22096,7 +21198,7 @@ module.exports =
22096
21198
  deploy: _deployStep2.default,
22097
21199
  adapter: _adapterStep2.default,
22098
21200
  name: _nameStep2.default,
22099
- 'default': _defaultDatasetStep2.default
21201
+ scenario: _scenarioStep2.default
22100
21202
  };
22101
21203
  return _this;
22102
21204
  }
@@ -22259,7 +21361,7 @@ module.exports =
22259
21361
  if (formValues.destinationEndpoint) {
22260
21362
  endpoints.destinationEndpoint = formValues.destinationEndpoint;
22261
21363
  }
22262
- var configuration = Object.assign({}, endpoints, formValues['defaultDataset'] && { defaultDataset: formValues['defaultDataset'] });
21364
+ var configuration = Object.assign({}, endpoints, formValues['scenario'] && { scenario: formValues['scenario'] });
22263
21365
  //----------------------------------
22264
21366
  // Post
22265
21367
  //----------------------------------
@@ -22388,7 +21490,7 @@ module.exports =
22388
21490
  var deployment = selector(state, 'deployment');
22389
21491
  var mappings = selector(state, 'mappings');
22390
21492
  var resourceGroups = selector(state, 'resourceGroups');
22391
- var defaultDataset = selector(state, 'defaultDataset');
21493
+ var scenario = selector(state, 'scenario');
22392
21494
  return Object.assign({}, state, {
22393
21495
  formValues: {
22394
21496
  title: title,
@@ -22399,7 +21501,7 @@ module.exports =
22399
21501
  deployment: deployment,
22400
21502
  mappings: mappings,
22401
21503
  resourceGroups: resourceGroups,
22402
- defaultDataset: defaultDataset
21504
+ scenario: scenario
22403
21505
  }
22404
21506
  });
22405
21507
  })(WizardForm);
@@ -22426,7 +21528,7 @@ module.exports =
22426
21528
 
22427
21529
  var _reactRedux = __webpack_require__(141);
22428
21530
 
22429
- var _wizard = __webpack_require__(175);
21531
+ var _wizard = __webpack_require__(176);
22430
21532
 
22431
21533
  var wizardActions = _interopRequireWildcard(_wizard);
22432
21534
 
@@ -22436,10 +21538,6 @@ module.exports =
22436
21538
 
22437
21539
  var _wizardForm2 = _interopRequireDefault(_wizardForm);
22438
21540
 
22439
- var _exampleWizardData = __webpack_require__(176);
22440
-
22441
- var example = _interopRequireWildcard(_exampleWizardData);
22442
-
22443
21541
  var _providerData = __webpack_require__(177);
22444
21542
 
22445
21543
  var providerData = _interopRequireWildcard(_providerData);
@@ -22471,11 +21569,41 @@ module.exports =
22471
21569
  name: 'Salesforce',
22472
21570
  env: false,
22473
21571
  customizable: false, // if destination schema is not customizable, disclude the entire step
22474
- customStep: 'default'
21572
+ customStep: false
22475
21573
  },
22476
21574
  deployment: ['once', 'daily', 'repeating'],
22477
- autoMapData: example.wizards[1].autoMapData,
22478
- dummyData: example.wizards[1].dummyData
21575
+ scenarios: [{
21576
+ name: 'students',
21577
+ title: 'Simple Student Demographics to Contact Sync',
21578
+ label: 'Sync students with Contacts to drive Student Population reports and dashboards',
21579
+ bundleGuid: 'd10440051e2a46aaa181b72b8ee6af67',
21580
+ mappingGuid: 'e98da65935534fdbb4c7b4280f07f1ae'
21581
+ }, {
21582
+ name: 'staff',
21583
+ title: 'Simple Staff Demographics to Contact Sync',
21584
+ label: 'Sync staff demographics with Contacts to drive Staff reports and dashboards',
21585
+ bundleGuid: 'd10440051e2a46aaa181b72b8ee6af67',
21586
+ mappingGuid: 'e98da65935534fdbb4c7b4280f07f1ae'
21587
+ }, {
21588
+ name: 'studentstaff',
21589
+ title: 'Simple Student & Staff Demographics to Contact Sync',
21590
+ label: 'Sync students and staff demographics with Contacts to drive Student Population & Staff reports and dashboards',
21591
+ bundleGuid: 'd10440051e2a46aaa181b72b8ee6af67',
21592
+ mappingGuid: 'e98da65935534fdbb4c7b4280f07f1ae'
21593
+ }, {
21594
+ name: 'applicants',
21595
+ title: 'HEDA Applicant Sync',
21596
+ label: 'Sync applicants with HEDA Contacts and Affiliations to add Applicant data to Admissions reports and dashboards.',
21597
+ bundleGuid: 'd10440051e2a46aaa181b72b8ee6af67',
21598
+ mappingGuid: 'e98da65935534fdbb4c7b4280f07f1ae'
21599
+ }, {
21600
+ name: 'courseroster',
21601
+ title: 'HEDA Course Roster Sync',
21602
+ label: 'Sync course roster with HEDA Contacts, Courses, Affiliations, and Course Enrollments to add Course Roster data to Student Success reports and dashboards.',
21603
+ bundleGuid: 'd10440051e2a46aaa181b72b8ee6af67',
21604
+ mappingGuid: 'e98da65935534fdbb4c7b4280f07f1ae'
21605
+ }],
21606
+ magicDefaultNumber: '2147483647'
22479
21607
  };
22480
21608
  /*
22481
21609
  id: 2,
@@ -22534,6 +21662,9 @@ module.exports =
22534
21662
  }, {
22535
21663
  type: 'custom',
22536
21664
  mode: 'destination'
21665
+ }, {
21666
+ type: 'scenario',
21667
+ title: 'Data Scenario'
22537
21668
  }, {
22538
21669
  type: 'environment',
22539
21670
  title: 'Destination Environment',
@@ -22583,6 +21714,10 @@ module.exports =
22583
21714
  step.options = customStep.options;
22584
21715
  stepList.push(step);
22585
21716
  }
21717
+ } else if (step.type === 'scenario') {
21718
+ step.options = wizard.scenarios;
21719
+ step.magicNumber = wizard.magicDefaultNumber;
21720
+ stepList.push(step);
22586
21721
  } else if (step.type === 'environment') {
22587
21722
  if (step.mode === 'source' && wizard.source.env) {
22588
21723
  step.providerType = wizard.source.type;
@@ -22595,13 +21730,11 @@ module.exports =
22595
21730
  }
22596
21731
  } else if (step.type === 'schema') {
22597
21732
  step.customizable = wizard.source.customizable;
22598
- step.defaultSchema = wizard.source.defaultSchema || null; //remove this
22599
21733
  stepList.push(step);
22600
21734
  } else if (step.type === 'filter' && wizard.filterStep) {
22601
21735
  step.provider = wizard.source.name;
22602
21736
  stepList.push(step);
22603
21737
  } else if (step.type === 'map') {
22604
- step.autoMapData = wizard.autoMapData || null;
22605
21738
  step.defaultSchema = wizard.source.defaultSchema || null; //remove this
22606
21739
  stepList.push(step);
22607
21740
  } else if (step.type === 'preview') {