@fundamental-ngx/core 0.34.3-rc.12 → 0.34.3-rc.13
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/action-bar/package.json +1 -1
- package/action-sheet/package.json +1 -1
- package/alert/package.json +1 -1
- package/avatar/package.json +1 -1
- package/avatar-group/package.json +1 -1
- package/bar/package.json +1 -1
- package/breadcrumb/package.json +1 -1
- package/busy-indicator/package.json +1 -1
- package/button/package.json +1 -1
- package/calendar/package.json +1 -1
- package/card/package.json +1 -1
- package/carousel/package.json +1 -1
- package/checkbox/package.json +1 -1
- package/combobox/package.json +1 -1
- package/date-picker/package.json +1 -1
- package/datetime/package.json +1 -1
- package/datetime-picker/package.json +1 -1
- package/dialog/package.json +1 -1
- package/dynamic-page/dynamic-page-content/dynamic-page-content.component.d.ts +8 -5
- package/dynamic-page/dynamic-page.component.d.ts +6 -9
- package/dynamic-page/esm2020/dynamic-page-content/dynamic-page-content.component.mjs +15 -14
- package/dynamic-page/esm2020/dynamic-page.component.mjs +26 -22
- package/dynamic-page/fesm2015/fundamental-ngx-core-dynamic-page.mjs +40 -35
- package/dynamic-page/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/dynamic-page/fesm2020/fundamental-ngx-core-dynamic-page.mjs +39 -33
- package/dynamic-page/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/dynamic-page/package.json +1 -1
- package/dynamic-side-content/package.json +1 -1
- package/esm2020/dynamic-page/dynamic-page-content/dynamic-page-content.component.mjs +15 -14
- package/esm2020/dynamic-page/dynamic-page.component.mjs +26 -22
- package/facets/package.json +1 -1
- package/feed-input/package.json +1 -1
- package/feed-list-item/package.json +1 -1
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs +40 -35
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs +39 -33
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/file-uploader/package.json +1 -1
- package/fixed-card-layout/package.json +1 -1
- package/flexible-column-layout/package.json +1 -1
- package/form/package.json +1 -1
- package/formatted-text/package.json +1 -1
- package/grid-list/package.json +1 -1
- package/icon/package.json +1 -1
- package/illustrated-message/package.json +1 -1
- package/infinite-scroll/package.json +1 -1
- package/info-label/package.json +1 -1
- package/inline-help/package.json +1 -1
- package/input-group/package.json +1 -1
- package/layout-grid/package.json +1 -1
- package/layout-panel/package.json +1 -1
- package/link/package.json +1 -1
- package/list/package.json +1 -1
- package/menu/package.json +1 -1
- package/message-box/package.json +1 -1
- package/message-strip/package.json +1 -1
- package/message-toast/package.json +1 -1
- package/micro-process-flow/package.json +1 -1
- package/mobile-mode/package.json +1 -1
- package/multi-input/package.json +1 -1
- package/nested-list/package.json +1 -1
- package/notification/package.json +1 -1
- package/object-identifier/package.json +1 -1
- package/object-marker/package.json +1 -1
- package/object-number/package.json +1 -1
- package/object-status/package.json +1 -1
- package/package.json +1 -1
- package/pagination/package.json +1 -1
- package/panel/package.json +1 -1
- package/popover/package.json +1 -1
- package/product-switch/package.json +1 -1
- package/progress-indicator/package.json +1 -1
- package/quick-view/package.json +1 -1
- package/radio/package.json +1 -1
- package/rating-indicator/package.json +1 -1
- package/resizable-card-layout/package.json +1 -1
- package/scroll-spy/package.json +1 -1
- package/scrollbar/package.json +1 -1
- package/segmented-button/package.json +1 -1
- package/select/package.json +1 -1
- package/shared/package.json +1 -1
- package/shellbar/package.json +1 -1
- package/side-navigation/package.json +1 -1
- package/slider/package.json +1 -1
- package/split-button/package.json +1 -1
- package/splitter/package.json +1 -1
- package/status-indicator/package.json +1 -1
- package/step-input/package.json +1 -1
- package/switch/package.json +1 -1
- package/table/package.json +1 -1
- package/tabs/package.json +1 -1
- package/text/package.json +1 -1
- package/tile/package.json +1 -1
- package/time/package.json +1 -1
- package/time-picker/package.json +1 -1
- package/timeline/package.json +1 -1
- package/title/package.json +1 -1
- package/token/package.json +1 -1
- package/toolbar/package.json +1 -1
- package/tree/package.json +1 -1
- package/upload-collection/package.json +1 -1
- package/utils/package.json +1 -1
- package/vertical-navigation/package.json +1 -1
- package/wizard/package.json +1 -1
package/action-bar/package.json
CHANGED
package/alert/package.json
CHANGED
package/avatar/package.json
CHANGED
package/bar/package.json
CHANGED
package/breadcrumb/package.json
CHANGED
package/button/package.json
CHANGED
package/calendar/package.json
CHANGED
package/card/package.json
CHANGED
package/carousel/package.json
CHANGED
package/checkbox/package.json
CHANGED
package/combobox/package.json
CHANGED
package/date-picker/package.json
CHANGED
package/datetime/package.json
CHANGED
package/dialog/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { WithDynamicPageFooterComponent } from '../dynamic-page.component';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class DynamicPageContentComponent implements OnInit {
|
|
5
4
|
_renderer: Renderer2;
|
|
6
|
-
_dynamicPageComponent: WithDynamicPageFooterComponent;
|
|
7
5
|
private _elementRef;
|
|
6
|
+
private _cdr;
|
|
8
7
|
/**
|
|
9
8
|
* label for the tab. If label is provided, tab navigation will be internally set up.
|
|
10
9
|
*/
|
|
@@ -14,13 +13,17 @@ export declare class DynamicPageContentComponent implements OnInit {
|
|
|
14
13
|
*/
|
|
15
14
|
id: string;
|
|
16
15
|
/** @hidden */
|
|
17
|
-
|
|
16
|
+
_showSpacer: boolean;
|
|
17
|
+
/** @hidden */
|
|
18
|
+
constructor(_renderer: Renderer2, _elementRef: ElementRef<HTMLElement>, _cdr: ChangeDetectorRef);
|
|
18
19
|
/** @hidden */
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
/** Element reference to host of content dynamic page */
|
|
21
22
|
get elementRef(): ElementRef;
|
|
22
23
|
/** @hidden */
|
|
24
|
+
_toggleSpacer(state: boolean): void;
|
|
25
|
+
/** @hidden */
|
|
23
26
|
private _addClassNameToHostElement;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContentComponent,
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContentComponent, never>;
|
|
25
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPageContentComponent, "fd-dynamic-page-content", never, { "tabLabel": "tabLabel"; "id": "id"; }, {}, never, ["*"]>;
|
|
26
29
|
}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
2
2
|
import { DynamicPageBackgroundType, DynamicPageResponsiveSize } from './constants';
|
|
3
3
|
import { DynamicPageContentComponent } from './dynamic-page-content/dynamic-page-content.component';
|
|
4
4
|
import { DynamicPageSubheaderComponent } from './dynamic-page-header/subheader/dynamic-page-subheader.component';
|
|
5
5
|
import { DynamicPageHeaderComponent } from './dynamic-page-header/header/dynamic-page-header.component';
|
|
6
|
-
import { DynamicPageFooterComponent } from './dynamic-page-footer/dynamic-page-footer.component';
|
|
7
6
|
import { DynamicPageWrapperDirective } from './dynamic-page-wrapper.directive';
|
|
8
7
|
import { DynamicPageService } from './dynamic-page.service';
|
|
9
8
|
import { TabListComponent } from '@fundamental-ngx/core/tabs';
|
|
10
9
|
import { FlexibleColumnLayoutComponent } from '@fundamental-ngx/core/flexible-column-layout';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare
|
|
13
|
-
export interface WithDynamicPageFooterComponent {
|
|
14
|
-
_footerComponent: DynamicPageFooterComponent;
|
|
15
|
-
}
|
|
16
|
-
export declare class DynamicPageComponent implements AfterViewInit, OnDestroy, WithDynamicPageFooterComponent {
|
|
11
|
+
export declare class DynamicPageComponent implements AfterViewInit, OnDestroy {
|
|
17
12
|
protected _cd: ChangeDetectorRef;
|
|
18
13
|
private _elementRef;
|
|
19
14
|
private _renderer;
|
|
@@ -56,7 +51,7 @@ export declare class DynamicPageComponent implements AfterViewInit, OnDestroy, W
|
|
|
56
51
|
/** @hidden reference to title component */
|
|
57
52
|
_headerComponent: DynamicPageHeaderComponent;
|
|
58
53
|
/** @hidden reference to content component */
|
|
59
|
-
_contentComponent: DynamicPageContentComponent
|
|
54
|
+
_contentComponent: QueryList<DynamicPageContentComponent>;
|
|
60
55
|
/** @hidden reference to footer component */
|
|
61
56
|
_footerComponent: DynamicPageContentComponent;
|
|
62
57
|
/** @hidden reference to tab component */
|
|
@@ -113,6 +108,8 @@ export declare class DynamicPageComponent implements AfterViewInit, OnDestroy, W
|
|
|
113
108
|
private _setDynamicPageHeight;
|
|
114
109
|
/** @hidden */
|
|
115
110
|
private _removeShadowWhenTabComponent;
|
|
111
|
+
/** @hidden */
|
|
112
|
+
private _setContentFooterSpacer;
|
|
116
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageComponent, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPageComponent, "fd-dynamic-page", never, { "role": "role"; "ariaLabel": "ariaLabel"; "background": "background"; "autoResponsive": "autoResponsive"; "size": "size"; "offset": "offset"; "expandContent": "expandContent"; }, {}, ["_pageSubheaderComponent", "_headerComponent", "
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPageComponent, "fd-dynamic-page", never, { "role": "role"; "ariaLabel": "ariaLabel"; "background": "background"; "autoResponsive": "autoResponsive"; "size": "size"; "offset": "offset"; "expandContent": "expandContent"; }, {}, ["_pageSubheaderComponent", "_headerComponent", "_footerComponent", "_tabComponent", "_contentComponent"], ["fd-dynamic-page-header", "fd-dynamic-page-subheader", "fd-tab-list", "fd-dynamic-page-content", "fd-dynamic-page-footer"]>;
|
|
118
115
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef,
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Input, Renderer2, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import { DYNAMIC_PAGE_CLASS_NAME } from '../constants';
|
|
3
3
|
import { addClassNameToElement } from '../utils';
|
|
4
|
-
import { FD_DYNAMIC_PAGE_COMPONENT } from '../dynamic-page.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
import * as i1 from "@angular/common";
|
|
7
6
|
export class DynamicPageContentComponent {
|
|
8
7
|
/** @hidden */
|
|
9
|
-
constructor(_renderer,
|
|
8
|
+
constructor(_renderer, _elementRef, _cdr) {
|
|
10
9
|
this._renderer = _renderer;
|
|
11
|
-
this._dynamicPageComponent = _dynamicPageComponent;
|
|
12
10
|
this._elementRef = _elementRef;
|
|
11
|
+
this._cdr = _cdr;
|
|
12
|
+
/** @hidden */
|
|
13
|
+
this._showSpacer = false;
|
|
13
14
|
}
|
|
14
15
|
/** @hidden */
|
|
15
16
|
ngOnInit() {
|
|
@@ -20,23 +21,23 @@ export class DynamicPageContentComponent {
|
|
|
20
21
|
return this._elementRef;
|
|
21
22
|
}
|
|
22
23
|
/** @hidden */
|
|
24
|
+
_toggleSpacer(state) {
|
|
25
|
+
this._showSpacer = state;
|
|
26
|
+
this._cdr.markForCheck();
|
|
27
|
+
}
|
|
28
|
+
/** @hidden */
|
|
23
29
|
_addClassNameToHostElement(className) {
|
|
24
30
|
addClassNameToElement(this._renderer, this._elementRef.nativeElement, className);
|
|
25
31
|
}
|
|
26
32
|
}
|
|
27
|
-
DynamicPageContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DynamicPageContentComponent, deps: [{ token: i0.Renderer2 }, { token:
|
|
28
|
-
DynamicPageContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DynamicPageContentComponent, selector: "fd-dynamic-page-content", inputs: { tabLabel: "tabLabel", id: "id" }, ngImport: i0, template: "<ng-content></ng-content>\n\n<div *ngIf=\"
|
|
33
|
+
DynamicPageContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DynamicPageContentComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DynamicPageContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DynamicPageContentComponent, selector: "fd-dynamic-page-content", inputs: { tabLabel: "tabLabel", id: "id" }, ngImport: i0, template: "<ng-content></ng-content>\n\n<div *ngIf=\"_showSpacer\" class=\"footer-spacer\"></div>\n", styles: [".fd-dynamic-page__content{display:block}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
29
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DynamicPageContentComponent, decorators: [{
|
|
30
36
|
type: Component,
|
|
31
|
-
args: [{ selector: 'fd-dynamic-page-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n\n<div *ngIf=\"
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type:
|
|
33
|
-
type: Inject,
|
|
34
|
-
args: [FD_DYNAMIC_PAGE_COMPONENT]
|
|
35
|
-
}, {
|
|
36
|
-
type: Optional
|
|
37
|
-
}] }, { type: i0.ElementRef }]; }, propDecorators: { tabLabel: [{
|
|
37
|
+
args: [{ selector: 'fd-dynamic-page-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n\n<div *ngIf=\"_showSpacer\" class=\"footer-spacer\"></div>\n", styles: [".fd-dynamic-page__content{display:block}\n"] }]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { tabLabel: [{
|
|
38
39
|
type: Input
|
|
39
40
|
}], id: [{
|
|
40
41
|
type: Input
|
|
41
42
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1wYWdlLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvZHluYW1pYy1wYWdlL2R5bmFtaWMtcGFnZS1jb250ZW50L2R5bmFtaWMtcGFnZS1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zcmMvbGliL2R5bmFtaWMtcGFnZS9keW5hbWljLXBhZ2UtY29udGVudC9keW5hbWljLXBhZ2UtY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFFTCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ3BCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN2RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxVQUFVLENBQUM7OztBQVNqRCxNQUFNLE9BQU8sMkJBQTJCO0lBZ0JwQyxjQUFjO0lBQ2QsWUFDVyxTQUFvQixFQUNuQixXQUFvQyxFQUNwQyxJ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