sas-ui 0.8.238 → 0.8.240

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.
@@ -839,17 +839,12 @@ let SasSetupGuideTile = class {
839
839
  /** Expanded state for see more/less pending items */
840
840
  this.expanded = false;
841
841
  this.toggleCompleted = () => {
842
- // alert('Status: '+this.status)
843
- // alert('Completed open: '+this.completedopen)
844
- // this.status = !this.status
845
- // this.completedopen = !this.status;
846
842
  this.completedopen = !this.completedopen;
847
- // alert('Status: '+this.status)
848
- // alert('Completed open: '+this.completedopen)
849
843
  };
850
844
  this.toggleExpand = () => {
851
845
  this.expanded = !this.expanded;
852
- this.seemoreitemclicked.emit();
846
+ if (this.expanded)
847
+ this.seemoreitemclicked.emit();
853
848
  };
854
849
  this.handleCompletedItemClicked = (itemId) => {
855
850
  this.completeditemclicked.emit(itemId);
@@ -18,17 +18,12 @@ export class SasSetupGuideTile {
18
18
  /** Expanded state for see more/less pending items */
19
19
  this.expanded = false;
20
20
  this.toggleCompleted = () => {
21
- // alert('Status: '+this.status)
22
- // alert('Completed open: '+this.completedopen)
23
- // this.status = !this.status
24
- // this.completedopen = !this.status;
25
21
  this.completedopen = !this.completedopen;
26
- // alert('Status: '+this.status)
27
- // alert('Completed open: '+this.completedopen)
28
22
  };
29
23
  this.toggleExpand = () => {
30
24
  this.expanded = !this.expanded;
31
- this.seemoreitemclicked.emit();
25
+ if (this.expanded)
26
+ this.seemoreitemclicked.emit();
32
27
  };
33
28
  this.handleCompletedItemClicked = (itemId) => {
34
29
  this.completeditemclicked.emit(itemId);
@@ -13523,17 +13523,12 @@ let SasSetupGuideTile$1 = class extends H {
13523
13523
  /** Expanded state for see more/less pending items */
13524
13524
  this.expanded = false;
13525
13525
  this.toggleCompleted = () => {
13526
- // alert('Status: '+this.status)
13527
- // alert('Completed open: '+this.completedopen)
13528
- // this.status = !this.status
13529
- // this.completedopen = !this.status;
13530
13526
  this.completedopen = !this.completedopen;
13531
- // alert('Status: '+this.status)
13532
- // alert('Completed open: '+this.completedopen)
13533
13527
  };
13534
13528
  this.toggleExpand = () => {
13535
13529
  this.expanded = !this.expanded;
13536
- this.seemoreitemclicked.emit();
13530
+ if (this.expanded)
13531
+ this.seemoreitemclicked.emit();
13537
13532
  };
13538
13533
  this.handleCompletedItemClicked = (itemId) => {
13539
13534
  this.completeditemclicked.emit(itemId);
@@ -835,17 +835,12 @@ let SasSetupGuideTile = class {
835
835
  /** Expanded state for see more/less pending items */
836
836
  this.expanded = false;
837
837
  this.toggleCompleted = () => {
838
- // alert('Status: '+this.status)
839
- // alert('Completed open: '+this.completedopen)
840
- // this.status = !this.status
841
- // this.completedopen = !this.status;
842
838
  this.completedopen = !this.completedopen;
843
- // alert('Status: '+this.status)
844
- // alert('Completed open: '+this.completedopen)
845
839
  };
846
840
  this.toggleExpand = () => {
847
841
  this.expanded = !this.expanded;
848
- this.seemoreitemclicked.emit();
842
+ if (this.expanded)
843
+ this.seemoreitemclicked.emit();
849
844
  };
850
845
  this.handleCompletedItemClicked = (itemId) => {
851
846
  this.completeditemclicked.emit(itemId);