coer-elements 0.0.35 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
@@ -911,11 +911,16 @@ class Page {
911
911
  this.coerSwitchTemplate = GridTemplates.coerSwitchTemplate;
912
912
  this.coerTextboxTemplate = GridTemplates.coerTextboxTemplate;
913
913
  this.coerIconTemplate = GridTemplates.coerIconTemplate;
914
+ //Tools
915
+ this.IsNull = Tools.IsNull;
916
+ this.IsNotNull = Tools.IsNotNull;
917
+ this.IsOnlyWhiteSpace = Tools.IsOnlyWhiteSpace;
918
+ this.IsNotOnlyWhiteSpace = Tools.IsNotOnlyWhiteSpace;
914
919
  this.SetPageName(page);
915
- this.SetSource();
916
- this.GetSource();
917
- this.GetNavigation();
918
- this.SetGoBack();
920
+ this.__SetSource();
921
+ this.__GetSource();
922
+ this.__GetNavigation();
923
+ this.__SetGoBack();
919
924
  this.GetPageResponse();
920
925
  }
921
926
  ngAfterViewInit() {
@@ -956,11 +961,11 @@ class Page {
956
961
  this.router.navigateByUrl(path);
957
962
  }
958
963
  /** */
959
- SetSource() {
964
+ __SetSource() {
960
965
  Source.Set(this._page);
961
966
  }
962
967
  /** */
963
- GetSource() {
968
+ __GetSource() {
964
969
  this._source = Source.Get();
965
970
  }
966
971
  /** */
@@ -968,7 +973,7 @@ class Page {
968
973
  this.pageResponse = Source.GetPageResponse();
969
974
  }
970
975
  /** */
971
- GetNavigation() {
976
+ __GetNavigation() {
972
977
  if (this._source) {
973
978
  this.breadcrumbs = Breadcrumbs.Get().map(item => Object.assign({
974
979
  page: item.page,
@@ -980,7 +985,7 @@ class Page {
980
985
  this.breadcrumbs = [{ page: this._page }];
981
986
  }
982
987
  /** */
983
- SetGoBack() {
988
+ __SetGoBack() {
984
989
  if (this._source) {
985
990
  this.goBack = {
986
991
  show: true,