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.
- package/components/lib/coer-list/coer-list.component.d.ts +12 -6
- package/esm2022/components/lib/coer-list/coer-list.component.mjs +25 -9
- package/esm2022/tools/lib/page.class.mjs +14 -9
- package/fesm2022/coer-elements-components.mjs +23 -8
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +13 -8
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/tools/lib/page.class.d.ts +8 -4
@@ -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.
|
916
|
-
this.
|
917
|
-
this.
|
918
|
-
this.
|
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
|
-
|
964
|
+
__SetSource() {
|
960
965
|
Source.Set(this._page);
|
961
966
|
}
|
962
967
|
/** */
|
963
|
-
|
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
|
-
|
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
|
-
|
988
|
+
__SetGoBack() {
|
984
989
|
if (this._source) {
|
985
990
|
this.goBack = {
|
986
991
|
show: true,
|