@net7/components 3.1.0 → 3.3.0
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/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +3 -3
- package/esm2020/lib/components/alert/alert.mjs +3 -3
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +3 -3
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +179 -134
- package/esm2020/lib/components/carousel/carousel.mjs +3 -3
- package/esm2020/lib/components/chart/chart.mjs +3 -3
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +3 -3
- package/esm2020/lib/components/data-widget/data-widget.mjs +3 -3
- package/esm2020/lib/components/datepicker/datepicker.mjs +3 -3
- package/esm2020/lib/components/facet/facet.mjs +3 -3
- package/esm2020/lib/components/facet-header/facet-header.mjs +3 -3
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +3 -3
- package/esm2020/lib/components/footer/footer.mjs +3 -3
- package/esm2020/lib/components/header/header.mjs +3 -3
- package/esm2020/lib/components/hero/hero.mjs +3 -3
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +3 -3
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +3 -3
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +5 -5
- package/esm2020/lib/components/inner-title/inner-title.mjs +3 -3
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +5 -5
- package/esm2020/lib/components/input-link/input-link.mjs +3 -3
- package/esm2020/lib/components/input-select/input-select.mjs +5 -5
- package/esm2020/lib/components/input-text/input-text.mjs +5 -5
- package/esm2020/lib/components/item-preview/item-preview.mjs +3 -3
- package/esm2020/lib/components/item-preview/item-preview.mock.mjs +2 -2
- package/esm2020/lib/components/loader/loader.mjs +3 -3
- package/esm2020/lib/components/map/map.mjs +3 -3
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +3 -3
- package/esm2020/lib/components/nav/nav.mjs +3 -3
- package/esm2020/lib/components/pagination/pagination.mjs +3 -3
- package/esm2020/lib/components/progress-line/progress-line.mjs +3 -3
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +3 -3
- package/esm2020/lib/components/signup/signup.mjs +3 -3
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +3 -3
- package/esm2020/lib/components/table/table.mjs +3 -3
- package/esm2020/lib/components/tag/tag.mjs +3 -3
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +15 -5
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +30 -26
- package/esm2020/lib/components/timeline/timeline.mjs +3 -3
- package/esm2020/lib/components/toast/toast.mjs +3 -3
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +3 -3
- package/esm2020/lib/components/tree/tree.mjs +3 -3
- package/esm2020/lib/components/wizard/wizard.mjs +3 -3
- package/esm2020/lib/dv-components-lib.module.mjs +4 -4
- package/fesm2015/net7-components.mjs +351 -291
- package/fesm2015/net7-components.mjs.map +1 -1
- package/fesm2020/net7-components.mjs +350 -291
- package/fesm2020/net7-components.mjs.map +1 -1
- package/lib/components/bubble-chart/bubble-chart.d.ts +36 -17
- package/lib/components/text-viewer/text-viewer.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/styles/components/_item-preview.scss +38 -17
- package/src/lib/styles/components/_text-viewer.scss +7 -1
- package/src/lib/styles/generic/_variables.scss +20 -51
|
@@ -21,9 +21,9 @@ class AnchorWrapperComponent {
|
|
|
21
21
|
this.clicked.emit(payload);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
AnchorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
25
|
-
AnchorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
24
|
+
AnchorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnchorWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
AnchorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: { data: "data", classes: "classes" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<ng-container *ngIf=\"data; else noData\">\n <ng-container *ngIf=\"data.href && isExternal(data.href)\">\n <ng-container *ngTemplateOutlet=\"externalUrl\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"data.href && !isExternal(data.href)\">\n <ng-container *ngTemplateOutlet=\"internalUrl\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!data.href\">\n <ng-container *ngTemplateOutlet=\"noUrl\"></ng-container>\n </ng-container>\n</ng-container>\n\n<!-- No data template -->\n<ng-template #noData>\n <a class=\"{{ classes || '' }}\"><ng-container *ngTemplateOutlet=\"content\"></ng-container></a>\n</ng-template>\n\n<!-- Internal URL template -->\n<ng-template #internalUrl>\n <a \n [routerLink]=\"data.href\" \n [target]=\"data.target || '_self'\" \n class=\"{{ classes || '' }}\"\n [queryParams]=\"data.queryParams || null\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<!-- External URL template -->\n<ng-template #externalUrl>\n <a [href]=\"data.href\" [target]=\"data.target || '_self'\" class=\"{{ classes || '' }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<!-- No URL template -->\n<ng-template #noUrl>\n <a (click)=\"onClick(data.payload)\" class=\"{{ classes || '' }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnchorWrapperComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{ selector: 'n7-anchor-wrapper', template: "<ng-container *ngIf=\"data; else noData\">\n <ng-container *ngIf=\"data.href && isExternal(data.href)\">\n <ng-container *ngTemplateOutlet=\"externalUrl\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"data.href && !isExternal(data.href)\">\n <ng-container *ngTemplateOutlet=\"internalUrl\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!data.href\">\n <ng-container *ngTemplateOutlet=\"noUrl\"></ng-container>\n </ng-container>\n</ng-container>\n\n<!-- No data template -->\n<ng-template #noData>\n <a class=\"{{ classes || '' }}\"><ng-container *ngTemplateOutlet=\"content\"></ng-container></a>\n</ng-template>\n\n<!-- Internal URL template -->\n<ng-template #internalUrl>\n <a \n [routerLink]=\"data.href\" \n [target]=\"data.target || '_self'\" \n class=\"{{ classes || '' }}\"\n [queryParams]=\"data.queryParams || null\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<!-- External URL template -->\n<ng-template #externalUrl>\n <a [href]=\"data.href\" [target]=\"data.target || '_self'\" class=\"{{ classes || '' }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<!-- No URL template -->\n<ng-template #noUrl>\n <a (click)=\"onClick(data.payload)\" class=\"{{ classes || '' }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
29
29
|
}], propDecorators: { data: [{
|
|
@@ -42,9 +42,9 @@ class AdvancedAutocompleteComponent {
|
|
|
42
42
|
this.emit('click', payload);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
AdvancedAutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
46
|
-
AdvancedAutocompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
45
|
+
AdvancedAutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AdvancedAutocompleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
AdvancedAutocompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: AdvancedAutocompleteComponent, selector: "n7-advanced-autocomplete", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-advanced-autocomplete\"\n [ngClass]=\"{ 'is-empty' : (data.results && data.results.length === 0), 'is-loading': !data.results }\">\n <!-- If there are some results -->\n <ng-container *ngIf=\"data.results && data.results.length > 0\">\n <ng-container *ngTemplateOutlet=\"hasLoaded\"></ng-container>\n </ng-container>\n <!-- If no results are found -->\n <ng-container *ngIf=\"data.results && data.results.length === 0\">\n <ng-container *ngTemplateOutlet=\"isEmpty\"></ng-container>\n </ng-container>\n <!-- If is loading -->\n <ng-container *ngIf=\"!data.results\">\n <ng-container *ngTemplateOutlet=\"isLoading\"></ng-container>\n </ng-container>\n</div>\n\n<!-- Template: Is empty -->\n<ng-template #isEmpty>\n <div class=\"n7-advanced-autocomplete__empty\" [innerHTML]=\"data.fallback\"></div>\n <!-- Render actions -->\n <ng-container *ngTemplateOutlet=\"actions; context:{$implicit: data.actions}\"></ng-container>\n</ng-template>\n\n<!-- Template: Is loading -->\n<ng-template #isLoading>\n <!-- Layout appends loader-component here -->\n <span class=\"n7-advanced-autocomplete__loader\" id=\"n7-advanced-autocomplete__loader\"></span>\n</ng-template>\n\n<!-- Template: Has loaded -->\n<ng-template #hasLoaded>\n <!-- Search results -->\n <div class=\"n7-advanced-autocomplete__results\">\n <!-- Render groups -->\n <ng-container *ngFor=\"let res of data.results\">\n <div *ngIf=\"res.group\" class=\"n7-advanced-autocomplete__group\">\n <div class=\"n7-advanced-autocomplete__group-title-wrapper {{ res.group.classes || '' }}\">\n <n7-anchor-wrapper\n [data]=\"res.group.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"res.group.icon\" class=\"n7-advanced-autocomplete__group-icon {{ res.group.icon }}\"></span>\n <span class=\"n7-advanced-autocomplete__group-title\">{{res.group.title}}</span>\n </n7-anchor-wrapper>\n </div>\n <!-- Render items -->\n <div class=\"n7-advanced-autocomplete__items\">\n <ng-container *ngTemplateOutlet=\"items; context:{$implicit: res.items}\"></ng-container>\n </div>\n </div>\n <div *ngIf=\"!res.group\" class=\"n7-advanced-autocomplete__nogroup\">\n <ng-container *ngTemplateOutlet=\"items; context:{$implicit: res.items}\"></ng-container>\n </div>\n </ng-container>\n </div>\n <!-- Actions -->\n <ng-container *ngTemplateOutlet=\"actions; context:{$implicit: data.actions}\"></ng-container>\n</ng-template>\n\n<!-- Template: Items -->\n<ng-template #items let-items>\n <n7-anchor-wrapper *ngFor=\"let item of items\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\"\n [classes]=\"'n7-advanced-autocomplete__item'\">\n <span *ngIf=\"item.title\" class=\"n7-advanced-autocomplete__item-title\" [innerHTML]=\"item.title\"></span>\n <ng-container *ngIf=\"item.metadata\">\n <span *ngFor=\"let meta of item.metadata\" class=\"n7-advanced-autocomplete__item-metadata\">\n <span *ngIf=\"meta.key\" class=\"n7-advanced-autocomplete__item-metadata-key\">{{ meta.key }}</span>\n <span *ngIf=\"meta.value\" class=\"n7-advanced-autocomplete__item-metadata-value\">{{ meta.value }}</span>\n </span>\n </ng-container>\n </n7-anchor-wrapper>\n</ng-template>\n\n<!-- Template: Actions -->\n<ng-template #actions let-actions>\n <div *ngIf=\"actions\" class=\"n7-advanced-autocomplete__action-bar\">\n <n7-anchor-wrapper *ngIf=\"actions.advanced\" [data]=\"actions.advanced.anchor\"\n (clicked)=\"onClick($event)\" [classes]=\"'n7-btn n7-advanced-autocomplete__advanced-search'\">\n {{actions.advanced.text}}\n </n7-anchor-wrapper>\n\n <n7-anchor-wrapper *ngIf=\"actions.showMore\" [data]=\"actions.showMore.anchor\"\n (clicked)=\"onClick($event)\" [classes]=\"'n7-btn n7-btn-cta n7-advanced-autocomplete__show-more'\">\n {{actions.showMore.text}}\n </n7-anchor-wrapper>\n </div>\n</ng-template>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AdvancedAutocompleteComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ selector: 'n7-advanced-autocomplete', template: "<div *ngIf=\"data\" class=\"n7-advanced-autocomplete\"\n [ngClass]=\"{ 'is-empty' : (data.results && data.results.length === 0), 'is-loading': !data.results }\">\n <!-- If there are some results -->\n <ng-container *ngIf=\"data.results && data.results.length > 0\">\n <ng-container *ngTemplateOutlet=\"hasLoaded\"></ng-container>\n </ng-container>\n <!-- If no results are found -->\n <ng-container *ngIf=\"data.results && data.results.length === 0\">\n <ng-container *ngTemplateOutlet=\"isEmpty\"></ng-container>\n </ng-container>\n <!-- If is loading -->\n <ng-container *ngIf=\"!data.results\">\n <ng-container *ngTemplateOutlet=\"isLoading\"></ng-container>\n </ng-container>\n</div>\n\n<!-- Template: Is empty -->\n<ng-template #isEmpty>\n <div class=\"n7-advanced-autocomplete__empty\" [innerHTML]=\"data.fallback\"></div>\n <!-- Render actions -->\n <ng-container *ngTemplateOutlet=\"actions; context:{$implicit: data.actions}\"></ng-container>\n</ng-template>\n\n<!-- Template: Is loading -->\n<ng-template #isLoading>\n <!-- Layout appends loader-component here -->\n <span class=\"n7-advanced-autocomplete__loader\" id=\"n7-advanced-autocomplete__loader\"></span>\n</ng-template>\n\n<!-- Template: Has loaded -->\n<ng-template #hasLoaded>\n <!-- Search results -->\n <div class=\"n7-advanced-autocomplete__results\">\n <!-- Render groups -->\n <ng-container *ngFor=\"let res of data.results\">\n <div *ngIf=\"res.group\" class=\"n7-advanced-autocomplete__group\">\n <div class=\"n7-advanced-autocomplete__group-title-wrapper {{ res.group.classes || '' }}\">\n <n7-anchor-wrapper\n [data]=\"res.group.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"res.group.icon\" class=\"n7-advanced-autocomplete__group-icon {{ res.group.icon }}\"></span>\n <span class=\"n7-advanced-autocomplete__group-title\">{{res.group.title}}</span>\n </n7-anchor-wrapper>\n </div>\n <!-- Render items -->\n <div class=\"n7-advanced-autocomplete__items\">\n <ng-container *ngTemplateOutlet=\"items; context:{$implicit: res.items}\"></ng-container>\n </div>\n </div>\n <div *ngIf=\"!res.group\" class=\"n7-advanced-autocomplete__nogroup\">\n <ng-container *ngTemplateOutlet=\"items; context:{$implicit: res.items}\"></ng-container>\n </div>\n </ng-container>\n </div>\n <!-- Actions -->\n <ng-container *ngTemplateOutlet=\"actions; context:{$implicit: data.actions}\"></ng-container>\n</ng-template>\n\n<!-- Template: Items -->\n<ng-template #items let-items>\n <n7-anchor-wrapper *ngFor=\"let item of items\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\"\n [classes]=\"'n7-advanced-autocomplete__item'\">\n <span *ngIf=\"item.title\" class=\"n7-advanced-autocomplete__item-title\" [innerHTML]=\"item.title\"></span>\n <ng-container *ngIf=\"item.metadata\">\n <span *ngFor=\"let meta of item.metadata\" class=\"n7-advanced-autocomplete__item-metadata\">\n <span *ngIf=\"meta.key\" class=\"n7-advanced-autocomplete__item-metadata-key\">{{ meta.key }}</span>\n <span *ngIf=\"meta.value\" class=\"n7-advanced-autocomplete__item-metadata-value\">{{ meta.value }}</span>\n </span>\n </ng-container>\n </n7-anchor-wrapper>\n</ng-template>\n\n<!-- Template: Actions -->\n<ng-template #actions let-actions>\n <div *ngIf=\"actions\" class=\"n7-advanced-autocomplete__action-bar\">\n <n7-anchor-wrapper *ngIf=\"actions.advanced\" [data]=\"actions.advanced.anchor\"\n (clicked)=\"onClick($event)\" [classes]=\"'n7-btn n7-advanced-autocomplete__advanced-search'\">\n {{actions.advanced.text}}\n </n7-anchor-wrapper>\n\n <n7-anchor-wrapper *ngIf=\"actions.showMore\" [data]=\"actions.showMore.anchor\"\n (clicked)=\"onClick($event)\" [classes]=\"'n7-btn n7-btn-cta n7-advanced-autocomplete__show-more'\">\n {{actions.showMore.text}}\n </n7-anchor-wrapper>\n </div>\n</ng-template>\n" }]
|
|
50
50
|
}], propDecorators: { data: [{
|
|
@@ -61,9 +61,9 @@ class AlertComponent {
|
|
|
61
61
|
this.emit('click', payload);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
65
|
-
AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
64
|
+
AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: AlertComponent, selector: "n7-alert", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div class=\"n7-alert {{data.classes || ''}} {{ data.icon ? 'has-icon' : '' }}\" *ngIf=\"data\" >\n <span class=\"n7-alert__icon {{data.icon}}\" *ngIf=\"data.icon\"></span>\n <div class=\"n7-alert__text\" [innerHTML]=\"data.text\">\n </div>\n <span class=\"n7-alert__close-button n7-icon-close\" \n *ngIf=\"data.hasCloseButton\" \n (click)=\"onClick(data.payload)\"></span>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AlertComponent, decorators: [{
|
|
67
67
|
type: Component,
|
|
68
68
|
args: [{ selector: 'n7-alert', template: "<div class=\"n7-alert {{data.classes || ''}} {{ data.icon ? 'has-icon' : '' }}\" *ngIf=\"data\" >\n <span class=\"n7-alert__icon {{data.icon}}\" *ngIf=\"data.icon\"></span>\n <div class=\"n7-alert__text\" [innerHTML]=\"data.text\">\n </div>\n <span class=\"n7-alert__close-button n7-icon-close\" \n *ngIf=\"data.hasCloseButton\" \n (click)=\"onClick(data.payload)\"></span>\n</div>" }]
|
|
69
69
|
}], propDecorators: { data: [{
|
|
@@ -80,9 +80,9 @@ class BreadcrumbsComponent {
|
|
|
80
80
|
this.emit('click', payload);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
BreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
84
|
-
BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
83
|
+
BreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: BreadcrumbsComponent, selector: "n7-breadcrumbs", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-breadcrumbs {{ data.classes || '' }}\">\n <nav class=\"n7-breadcrumbs__nav\">\n <ol class=\"n7-breadcrumbs__list\">\n <li *ngFor=\"let item of data.items\" class=\"n7-breadcrumbs__item {{ item.classes || '' }}\">\n <n7-anchor-wrapper [classes]=\"'n7-breadcrumbs__label'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n {{ item.label }}\n </n7-anchor-wrapper>\n </li>\n </ol>\n </nav>\n</div>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
86
86
|
type: Component,
|
|
87
87
|
args: [{ selector: 'n7-breadcrumbs', template: "<div *ngIf=\"data\" class=\"n7-breadcrumbs {{ data.classes || '' }}\">\n <nav class=\"n7-breadcrumbs__nav\">\n <ol class=\"n7-breadcrumbs__list\">\n <li *ngFor=\"let item of data.items\" class=\"n7-breadcrumbs__item {{ item.classes || '' }}\">\n <n7-anchor-wrapper [classes]=\"'n7-breadcrumbs__label'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n {{ item.label }}\n </n7-anchor-wrapper>\n </li>\n </ol>\n </nav>\n</div>\n" }]
|
|
88
88
|
}], propDecorators: { data: [{
|
|
@@ -95,10 +95,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
95
95
|
class BubbleChartComponent {
|
|
96
96
|
constructor() {
|
|
97
97
|
this._loaded = false;
|
|
98
|
+
this.measureWidth = (text) => {
|
|
99
|
+
const context = document.createElement('canvas').getContext('2d');
|
|
100
|
+
// measure text with the correct font family and weight
|
|
101
|
+
if (this.data?.fontRendering?.label?.family && this.data?.fontRendering?.label?.weight) {
|
|
102
|
+
context.font = `${this.data.fontRendering.label.weight} ${this.data.fontRendering.label.family}`;
|
|
103
|
+
}
|
|
104
|
+
return context.measureText(text).width;
|
|
105
|
+
};
|
|
106
|
+
this.isValidNumber = (value) => !Number.isNaN(Number.parseFloat(value));
|
|
98
107
|
this.draw = () => {
|
|
99
108
|
const { d3 } = this;
|
|
100
109
|
const { containerId, data, height, width, selected, transition, colorMatch, shuffle, fontRendering } = this.data;
|
|
101
110
|
const closeIconPath = 'M -50,40 L-40,50 0,10 40,50 50,40 10,0 50,-40 40,-50 0,-10 -40,-50 -50,-40 -10,0 -50,40';
|
|
111
|
+
const defaultLineHeight = 13;
|
|
112
|
+
const ellipsisThreshold = 4; // words
|
|
113
|
+
const textScalingFactor = 0.95;
|
|
102
114
|
if (!Array.isArray(data)) {
|
|
103
115
|
// Check if it is possible to draw with the current dataset
|
|
104
116
|
console.warn('(n7-bubble-chart) The data object is not in the expected format!');
|
|
@@ -134,19 +146,23 @@ class BubbleChartComponent {
|
|
|
134
146
|
const svg = d3
|
|
135
147
|
.select(`#${containerId}`)
|
|
136
148
|
.attr('viewBox', [0, 0, width, height])
|
|
137
|
-
.attr('font-family', 'Verdana, Geneva, sans-serif')
|
|
149
|
+
// .attr('font-family', 'Verdana, Geneva, sans-serif')
|
|
150
|
+
// .attr('font-size', '10px')
|
|
151
|
+
.style('font', '10px Verdana, Geneva, sans-serif')
|
|
152
|
+
.style('height', 'auto')
|
|
153
|
+
.style('max-width', '100%')
|
|
138
154
|
.attr('text-anchor', 'middle');
|
|
139
155
|
const leaf = svg.selectAll('g').data(root().leaves(), (d) => d.data.entity.id);
|
|
140
156
|
leaf
|
|
141
157
|
.transition(t) // update transition on <g>
|
|
142
158
|
.attr('fill-opacity', 1)
|
|
143
|
-
.attr('transform', (d) => `translate(${d.x + 1},${d.y + 1})`)
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
});
|
|
159
|
+
.attr('transform', (d) => `translate(${d.x + 1},${d.y + 1})`);
|
|
160
|
+
// .attr('font-size', (d) => {
|
|
161
|
+
// let size = d.r / 5.5;
|
|
162
|
+
// size *= 1;
|
|
163
|
+
// size += 1;
|
|
164
|
+
// return `${Math.round(size)}px`;
|
|
165
|
+
// });
|
|
150
166
|
leaf.selectAll('.close-icon').remove(); // clear all existing close icons
|
|
151
167
|
if (selected) {
|
|
152
168
|
leaf // render necessary close icons
|
|
@@ -167,86 +183,8 @@ class BubbleChartComponent {
|
|
|
167
183
|
.transition(t) // update transition on <circle>
|
|
168
184
|
.attr('fill-opacity', 1)
|
|
169
185
|
.attr('r', (d) => d.r);
|
|
170
|
-
leaf
|
|
171
|
-
.select('text')
|
|
172
|
-
.attr('font-family', () => {
|
|
173
|
-
if (fontRendering && fontRendering.label && fontRendering.label.family) {
|
|
174
|
-
return fontRendering.label.family;
|
|
175
|
-
}
|
|
176
|
-
return 'inherit';
|
|
177
|
-
})
|
|
178
|
-
.attr('font-weight', () => {
|
|
179
|
-
if (fontRendering && fontRendering.label && fontRendering.label.weight) {
|
|
180
|
-
return fontRendering.label.weight;
|
|
181
|
-
}
|
|
182
|
-
return 'inherit';
|
|
183
|
-
})
|
|
184
|
-
.selectAll('tspan')
|
|
185
|
-
.data((d) => {
|
|
186
|
-
if (d.r / 4 > 4.5) {
|
|
187
|
-
// show text and number threshhold
|
|
188
|
-
let label = (d.data.entity.label.charAt(0).toUpperCase()
|
|
189
|
-
+ d.data.entity.label.slice(1)).split(/ +/g);
|
|
190
|
-
if (label.length > 3) {
|
|
191
|
-
label = label.slice(0, 3);
|
|
192
|
-
label[2] += '…';
|
|
193
|
-
}
|
|
194
|
-
return label;
|
|
195
|
-
}
|
|
196
|
-
if (d.r / 4 > 2.5) {
|
|
197
|
-
// show text threshhold
|
|
198
|
-
let label = (d.data.entity.label.charAt(0).toUpperCase()
|
|
199
|
-
+ d.data.entity.label.slice(1)).split(/ +/g);
|
|
200
|
-
if (label.length > 3) {
|
|
201
|
-
label = label.slice(0, 3);
|
|
202
|
-
label[2] += '…';
|
|
203
|
-
}
|
|
204
|
-
return label;
|
|
205
|
-
}
|
|
206
|
-
return '';
|
|
207
|
-
})
|
|
208
|
-
.join('tspan')
|
|
209
|
-
.attr('x', 0)
|
|
210
|
-
.attr('y', (d, i, nodes) => `${i - (nodes.length + 1) / 2 + 0.97}em`)
|
|
211
|
-
.attr('fill', 'white')
|
|
212
|
-
.text((d) => d);
|
|
213
|
-
leaf
|
|
214
|
-
.select('.label-count')
|
|
215
|
-
.attr('font-family', () => {
|
|
216
|
-
if (fontRendering && fontRendering.counter && fontRendering.counter.family) {
|
|
217
|
-
return fontRendering.counter.family;
|
|
218
|
-
}
|
|
219
|
-
return 'inherit';
|
|
220
|
-
})
|
|
221
|
-
.attr('font-weight', () => {
|
|
222
|
-
if (fontRendering && fontRendering.counter && fontRendering.counter.weight) {
|
|
223
|
-
return fontRendering.counter.weight;
|
|
224
|
-
}
|
|
225
|
-
return 'inherit';
|
|
226
|
-
})
|
|
227
|
-
.attr('fill', 'white')
|
|
228
|
-
.text((d) => {
|
|
229
|
-
if (d.r / 4 > 2.5) {
|
|
230
|
-
// show text and number threshhold
|
|
231
|
-
return d.data.count;
|
|
232
|
-
}
|
|
233
|
-
return '';
|
|
234
|
-
})
|
|
235
|
-
.attr('y', (d) => {
|
|
236
|
-
let labelLength = d.data.entity.label.split(/ +/g);
|
|
237
|
-
if (labelLength.length > 3) {
|
|
238
|
-
labelLength = labelLength.slice(0, 3);
|
|
239
|
-
}
|
|
240
|
-
return `${labelLength.length - (labelLength.length + 1) / 2 + 0.97}em`;
|
|
241
|
-
});
|
|
242
186
|
const g = leaf.enter().append('g');
|
|
243
187
|
g.attr('transform', (d) => `translate(${d.x + 1},${d.y + 1})`)
|
|
244
|
-
.attr('font-size', (d) => {
|
|
245
|
-
let size = d.r / 5.5;
|
|
246
|
-
size *= 1;
|
|
247
|
-
size += 1;
|
|
248
|
-
return `${Math.round(size)}px`;
|
|
249
|
-
})
|
|
250
188
|
.attr('cursor', 'pointer')
|
|
251
189
|
.on('click', (event, d) => {
|
|
252
190
|
this.onClick(d.data.entity.id);
|
|
@@ -263,6 +201,88 @@ class BubbleChartComponent {
|
|
|
263
201
|
.attr('id', (d) => { d.clipUid = `Clip-${d.data.entity.id}`; })
|
|
264
202
|
.append('use')
|
|
265
203
|
.attr('xlink:href', (d) => d.leafUid.href);
|
|
204
|
+
// g.append('text')
|
|
205
|
+
// .attr('font-family', () => {
|
|
206
|
+
// if (fontRendering && fontRendering.label && fontRendering.label.family) {
|
|
207
|
+
// return fontRendering.label.family;
|
|
208
|
+
// }
|
|
209
|
+
// return 'inherit';
|
|
210
|
+
// })
|
|
211
|
+
// .attr('font-weight', () => {
|
|
212
|
+
// if (fontRendering && fontRendering
|
|
213
|
+
// && fontRendering.label && fontRendering.label.weight) {
|
|
214
|
+
// return fontRendering.label.weight;
|
|
215
|
+
// }
|
|
216
|
+
// return 'inherit';
|
|
217
|
+
// })
|
|
218
|
+
// .selectAll('tspan')
|
|
219
|
+
// .data((d) => {
|
|
220
|
+
// if (d.r / 4 > 4.5) {
|
|
221
|
+
// // show text and number threshhold
|
|
222
|
+
// let label = (
|
|
223
|
+
// d.data.entity.label.charAt(0).toUpperCase()
|
|
224
|
+
// + d.data.entity.label.slice(1)
|
|
225
|
+
// ).split(/ +/g);
|
|
226
|
+
// if (label.length > 3) {
|
|
227
|
+
// label = label.slice(0, 3);
|
|
228
|
+
// label[2] += '…';
|
|
229
|
+
// }
|
|
230
|
+
// return label;
|
|
231
|
+
// } if (d.r / 4 > 2.5) {
|
|
232
|
+
// // show text threshhold
|
|
233
|
+
// let label = (
|
|
234
|
+
// d.data.entity.label.charAt(0).toUpperCase()
|
|
235
|
+
// + d.data.entity.label.slice(1)
|
|
236
|
+
// ).split(/ +/g);
|
|
237
|
+
// if (label.length > 3) {
|
|
238
|
+
// label = label.slice(0, 3);
|
|
239
|
+
// label[2] += '…';
|
|
240
|
+
// }
|
|
241
|
+
// return label;
|
|
242
|
+
// }
|
|
243
|
+
// return '';
|
|
244
|
+
// })
|
|
245
|
+
// .join('tspan')
|
|
246
|
+
// .attr('x', 0)
|
|
247
|
+
// .attr('y', (d, i, nodes) => `${i - (nodes.length + 1) / 2 + 0.97}em`)
|
|
248
|
+
// .attr('fill', 'white')
|
|
249
|
+
// .text((d) => d)
|
|
250
|
+
// .attr('fill-opacity', 0)
|
|
251
|
+
// .transition(t) // enter() transition on <tspan>
|
|
252
|
+
// .attr('fill-opacity', 1);
|
|
253
|
+
// g.append('text') // Count label
|
|
254
|
+
// .attr('class', 'label-count')
|
|
255
|
+
// .attr('font-family', () => {
|
|
256
|
+
// if (fontRendering && fontRendering.counter && fontRendering.counter.family) {
|
|
257
|
+
// return fontRendering.counter.family;
|
|
258
|
+
// }
|
|
259
|
+
// return 'inherit';
|
|
260
|
+
// })
|
|
261
|
+
// .attr('font-weight', () => {
|
|
262
|
+
// if (fontRendering && fontRendering.counter && fontRendering.counter.weight) {
|
|
263
|
+
// return fontRendering.counter.weight;
|
|
264
|
+
// }
|
|
265
|
+
// return 'inherit';
|
|
266
|
+
// })
|
|
267
|
+
// .attr('fill', 'white')
|
|
268
|
+
// .text((d) => {
|
|
269
|
+
// if (d.r / 4 > 2.5) {
|
|
270
|
+
// // show text and number threshhold
|
|
271
|
+
// return d.data.count;
|
|
272
|
+
// }
|
|
273
|
+
// return '';
|
|
274
|
+
// })
|
|
275
|
+
// .attr('y', (d) => {
|
|
276
|
+
// let labelLength = d.data.entity.label.split(/ +/g);
|
|
277
|
+
// if (labelLength.length > 3) {
|
|
278
|
+
// labelLength = labelLength.slice(0, 3);
|
|
279
|
+
// }
|
|
280
|
+
// return `${labelLength.length - (labelLength.length + 1) / 2 + 0.97}em`;
|
|
281
|
+
// })
|
|
282
|
+
// .attr('fill-opacity', 0)
|
|
283
|
+
// .transition(t) // enter() transition on <text>
|
|
284
|
+
// .attr('fill-opacity', 1);
|
|
285
|
+
/** NEW TEXT LOGIC */
|
|
266
286
|
g.append('text')
|
|
267
287
|
.attr('font-family', () => {
|
|
268
288
|
if (fontRendering && fontRendering.label && fontRendering.label.family) {
|
|
@@ -276,40 +296,83 @@ class BubbleChartComponent {
|
|
|
276
296
|
}
|
|
277
297
|
return 'inherit';
|
|
278
298
|
})
|
|
279
|
-
.
|
|
280
|
-
.
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
299
|
+
.attr('fill', 'white')
|
|
300
|
+
.each((d) => {
|
|
301
|
+
// Capitalize the first letter of the label
|
|
302
|
+
d.data.entity.label = d.data.entity
|
|
303
|
+
.label.charAt(0).toUpperCase()
|
|
304
|
+
+ d.data.entity.label.slice(1);
|
|
305
|
+
// 1. initialize meta object
|
|
306
|
+
if (!d._meta || typeof d._meta !== 'object')
|
|
307
|
+
d._meta = {};
|
|
308
|
+
// 2. tokenize label & count into words
|
|
309
|
+
const words = d.data.entity.label.split(/\s+/g); // To hyphenate: /\s+|(?<=-)/
|
|
310
|
+
// Truncate with ellipsis if the label is longer than the threshold
|
|
311
|
+
if (words.length > ellipsisThreshold) {
|
|
312
|
+
words.splice(ellipsisThreshold, words.length - ellipsisThreshold);
|
|
313
|
+
words[ellipsisThreshold - 1] += '…';
|
|
290
314
|
}
|
|
315
|
+
// add counter
|
|
291
316
|
if (d.r / 4 > 2.5) {
|
|
292
|
-
// show text
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
if (
|
|
296
|
-
|
|
297
|
-
|
|
317
|
+
// show text threshold
|
|
318
|
+
if (!words[words.length - 1])
|
|
319
|
+
words.pop();
|
|
320
|
+
if (!words[0])
|
|
321
|
+
words.shift();
|
|
322
|
+
}
|
|
323
|
+
if (d.r / 4 > 4.5) {
|
|
324
|
+
// show number threshold
|
|
325
|
+
words.push(`${d.data.count}`);
|
|
326
|
+
}
|
|
327
|
+
d._meta.words = words;
|
|
328
|
+
d._meta.lineHeight = defaultLineHeight;
|
|
329
|
+
const targetWidth = Math.sqrt(this.measureWidth(d._meta.words.join(' ').trim()) * defaultLineHeight);
|
|
330
|
+
// 3. build lines of text
|
|
331
|
+
d._meta.lines = [];
|
|
332
|
+
let line;
|
|
333
|
+
let lineWidth0 = Infinity;
|
|
334
|
+
for (let i = 0, n = d._meta.words.length; i < n; i += 1) {
|
|
335
|
+
const lineText1 = (line ? `${line.text} ` : '') + words[i];
|
|
336
|
+
const lineWidth1 = this.measureWidth(lineText1);
|
|
337
|
+
if ((lineWidth0 + lineWidth1) / 2 < targetWidth && i !== n - 1) {
|
|
338
|
+
line.width = lineWidth0;
|
|
339
|
+
lineWidth0 = lineWidth1;
|
|
340
|
+
line.text = lineText1;
|
|
298
341
|
}
|
|
299
|
-
|
|
342
|
+
else {
|
|
343
|
+
// if line is too long or this is the last line (counter), push to next line
|
|
344
|
+
lineWidth0 = this.measureWidth(words[i]);
|
|
345
|
+
line = { width: lineWidth0, text: words[i] };
|
|
346
|
+
d._meta.lines.push(line);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
// 4. compute the bounding radius
|
|
350
|
+
let radius = 0;
|
|
351
|
+
for (let i = 0, n = d._meta.lines.length; i < n; i += 1) {
|
|
352
|
+
const dy = (Math.abs(i - n / 2) + 0.8) * d._meta.lineHeight;
|
|
353
|
+
const dx = d._meta.lines[i].width / 2;
|
|
354
|
+
radius = Math.max(radius, Math.sqrt(dx * dx + dy * dy));
|
|
300
355
|
}
|
|
301
|
-
|
|
356
|
+
d._meta.textRadius = radius;
|
|
357
|
+
return d;
|
|
302
358
|
})
|
|
303
|
-
.
|
|
359
|
+
.attr('transform', (d) => `scale(${(d.r / d._meta.textRadius) * textScalingFactor})`)
|
|
360
|
+
.filter((d) => (d.r / 4 > 2.5))
|
|
361
|
+
.selectAll('tspan')
|
|
362
|
+
.data((d) => d._meta.lines)
|
|
363
|
+
.enter()
|
|
364
|
+
.append('tspan')
|
|
304
365
|
.attr('x', 0)
|
|
305
|
-
.attr('y', (d, i,
|
|
306
|
-
.attr('
|
|
307
|
-
|
|
366
|
+
.attr('y', (d, i, n) => (i - n.length / 2 + 0.8) * defaultLineHeight)
|
|
367
|
+
.attr('class', (d, i, n) => (
|
|
368
|
+
// if it's the last label and a valid number, mark as counter
|
|
369
|
+
i === n.length - 1 && this.isValidNumber(d.text) ? 'label-counter' : 'label-text'))
|
|
370
|
+
.text((d) => d.text)
|
|
308
371
|
.attr('fill-opacity', 0)
|
|
309
372
|
.transition(t) // enter() transition on <tspan>
|
|
310
373
|
.attr('fill-opacity', 1);
|
|
311
|
-
|
|
312
|
-
|
|
374
|
+
// custom style for the counter
|
|
375
|
+
g.selectAll('tspan.label-counter')
|
|
313
376
|
.attr('font-family', () => {
|
|
314
377
|
if (fontRendering && fontRendering.counter && fontRendering.counter.family) {
|
|
315
378
|
return fontRendering.counter.family;
|
|
@@ -321,25 +384,7 @@ class BubbleChartComponent {
|
|
|
321
384
|
return fontRendering.counter.weight;
|
|
322
385
|
}
|
|
323
386
|
return 'inherit';
|
|
324
|
-
})
|
|
325
|
-
.attr('fill', 'white')
|
|
326
|
-
.text((d) => {
|
|
327
|
-
if (d.r / 4 > 2.5) {
|
|
328
|
-
// show text and number threshhold
|
|
329
|
-
return d.data.count;
|
|
330
|
-
}
|
|
331
|
-
return '';
|
|
332
|
-
})
|
|
333
|
-
.attr('y', (d) => {
|
|
334
|
-
let labelLength = d.data.entity.label.split(/ +/g);
|
|
335
|
-
if (labelLength.length > 3) {
|
|
336
|
-
labelLength = labelLength.slice(0, 3);
|
|
337
|
-
}
|
|
338
|
-
return `${labelLength.length - (labelLength.length + 1) / 2 + 0.97}em`;
|
|
339
|
-
})
|
|
340
|
-
.attr('fill-opacity', 0)
|
|
341
|
-
.transition(t) // enter() transition on <text>
|
|
342
|
-
.attr('fill-opacity', 1);
|
|
387
|
+
});
|
|
343
388
|
leaf
|
|
344
389
|
.exit() // EXIT CYCLE
|
|
345
390
|
.remove();
|
|
@@ -390,9 +435,9 @@ class BubbleChartComponent {
|
|
|
390
435
|
this.emit('click', payload);
|
|
391
436
|
}
|
|
392
437
|
}
|
|
393
|
-
BubbleChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
394
|
-
BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
438
|
+
BubbleChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BubbleChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
439
|
+
BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: BubbleChartComponent, selector: "n7-bubble-chart", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-bubble-chart {{ data.classes || '' }}\">\n <svg #bubbleChart id=\"{{data.containerId}}\"></svg>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BubbleChartComponent, decorators: [{
|
|
396
441
|
type: Component,
|
|
397
442
|
args: [{ selector: 'n7-bubble-chart', template: "<div *ngIf=\"data\" class=\"n7-bubble-chart {{ data.classes || '' }}\">\n <svg #bubbleChart id=\"{{data.containerId}}\"></svg>\n</div>" }]
|
|
398
443
|
}], propDecorators: { data: [{
|
|
@@ -473,9 +518,9 @@ class CarouselComponent {
|
|
|
473
518
|
});
|
|
474
519
|
}
|
|
475
520
|
}
|
|
476
|
-
CarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
477
|
-
CarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
521
|
+
CarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
522
|
+
CarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CarouselComponent, selector: "n7-carousel", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<button *ngIf=\"data && data.classes === 'demo'\"\n class=\"n7-btn\"\n (click)=\"api.load.videos()\">api.load.videos()</button>\n\n<div *ngIf=\"data\"\n class=\"n7-carousel {{ data.classes || '' }}\">\n <!-- Warning: Do not style div.latte-carousel -->\n <div id=\"{{data.containerId}}\"\n class=\"latte-carousel\">\n <ng-container *ngFor=\"let slide of data.slides; let index = index;\">\n <ng-container *ngTemplateOutlet=\"carouselSlide; context:{slide: slide, index: index}\"></ng-container>\n </ng-container>\n </div>\n</div>\n\n<!-- ===== SLIDE WRAPPER ===== -->\n<ng-template #carouselSlide\n let-slide=\"slide\"\n let-slideID=\"index\">\n <!-- Warning: Do not style div.latte-item -->\n <div class=\"latte-item\">\n <div class=\"n7-carousel__slide {{ slide.classes || ''}}\"\n [ngClass]=\"{ 'has-image' : slide.background.image, 'has-video': slide.background.video }\"\n [style.background-color]=\"slide.background.color ? slide.background.color : ''\"\n [style.background-image]=\"slide.background.image ? 'url('+slide.background.image+')' : ''\">\n <div class=\"n7-carousel__slide-content-wrapper\">\n <div class=\"n7-carousel__slide-content\">\n <div class=\"n7-carousel__slide-content-left\">\n <ng-container *ngTemplateOutlet=\"slideForeground; context:{items: slide.items, slideID: slideID}\">\n </ng-container>\n </div>\n <div class=\"n7-carousel__slide-content-right\"\n *ngIf=\"slide.action\">\n <n7-anchor-wrapper [data]=\"slide.action.anchor\"\n (clicked)=\"onClick($event)\">\n <!-- Button ID's are used to dynamically reattach events after loading the carousel -->\n <button id=\"{{data.containerId}}-{{slideID}}\"\n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l\">\n {{slide.action.text}}\n </button>\n </n7-anchor-wrapper>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"slide.background\">\n <ng-container *ngTemplateOutlet=\"slideBackground; context:{$implicit: slide.background}\">\n </ng-container>\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<!-- ===== SLIDE FOREGROUND ===== -->\n<ng-template #slideForeground\n let-items=\"items\"\n let-slideID=\"slideID\">\n <ng-container *ngFor=\"let el of items; let itemID = index\">\n <h1 class=\"n7-carousel__slide-title\"\n *ngIf=\"el.title\">{{el.title}}</h1>\n <div class=\"n7-carousel__slide-text\"\n *ngIf=\"el.text\" [innerHTML]=\"el.text\"></div>\n <div class=\"n7-carousel__slide-metadata-wrapper\"\n *ngIf=\"el.metadata\">\n <ng-container *ngFor=\"let m of el.metadata\">\n <div class=\"n7-carousel__slide-metadata\">\n <span class=\"n7-carousel__slide-metadata-label\"\n *ngIf=\"m.key\">{{m.key}}</span>\n <span class=\"n7-carousel__slide-metadata-value\"\n *ngIf=\"m.value\">{{m.value}}</span>\n </div>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n\n<!-- ===== VIDEO BACKGROUND ===== -->\n<ng-template #slideBackground\n let-bg>\n <ng-container *ngIf=\"bg.video as v\">\n <video #video\n class=\"n7-carousel__slide-video\"\n [poster]=\"v.poster\"\n [height]=\"v.height\"\n [width]=\"v.width\"\n loop\n muted\n autoplay\n playsinline>\n <source #source\n class=\"lazy\"\n [attr.data-src]=\"v.url\"\n type=\"video/mp4\">\n </video>\n <div class=\"n7-carousel__slide-video-overlay\">\n\n </div>\n </ng-container>\n</ng-template>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CarouselComponent, decorators: [{
|
|
479
524
|
type: Component,
|
|
480
525
|
args: [{ selector: 'n7-carousel', template: "<button *ngIf=\"data && data.classes === 'demo'\"\n class=\"n7-btn\"\n (click)=\"api.load.videos()\">api.load.videos()</button>\n\n<div *ngIf=\"data\"\n class=\"n7-carousel {{ data.classes || '' }}\">\n <!-- Warning: Do not style div.latte-carousel -->\n <div id=\"{{data.containerId}}\"\n class=\"latte-carousel\">\n <ng-container *ngFor=\"let slide of data.slides; let index = index;\">\n <ng-container *ngTemplateOutlet=\"carouselSlide; context:{slide: slide, index: index}\"></ng-container>\n </ng-container>\n </div>\n</div>\n\n<!-- ===== SLIDE WRAPPER ===== -->\n<ng-template #carouselSlide\n let-slide=\"slide\"\n let-slideID=\"index\">\n <!-- Warning: Do not style div.latte-item -->\n <div class=\"latte-item\">\n <div class=\"n7-carousel__slide {{ slide.classes || ''}}\"\n [ngClass]=\"{ 'has-image' : slide.background.image, 'has-video': slide.background.video }\"\n [style.background-color]=\"slide.background.color ? slide.background.color : ''\"\n [style.background-image]=\"slide.background.image ? 'url('+slide.background.image+')' : ''\">\n <div class=\"n7-carousel__slide-content-wrapper\">\n <div class=\"n7-carousel__slide-content\">\n <div class=\"n7-carousel__slide-content-left\">\n <ng-container *ngTemplateOutlet=\"slideForeground; context:{items: slide.items, slideID: slideID}\">\n </ng-container>\n </div>\n <div class=\"n7-carousel__slide-content-right\"\n *ngIf=\"slide.action\">\n <n7-anchor-wrapper [data]=\"slide.action.anchor\"\n (clicked)=\"onClick($event)\">\n <!-- Button ID's are used to dynamically reattach events after loading the carousel -->\n <button id=\"{{data.containerId}}-{{slideID}}\"\n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l\">\n {{slide.action.text}}\n </button>\n </n7-anchor-wrapper>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"slide.background\">\n <ng-container *ngTemplateOutlet=\"slideBackground; context:{$implicit: slide.background}\">\n </ng-container>\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<!-- ===== SLIDE FOREGROUND ===== -->\n<ng-template #slideForeground\n let-items=\"items\"\n let-slideID=\"slideID\">\n <ng-container *ngFor=\"let el of items; let itemID = index\">\n <h1 class=\"n7-carousel__slide-title\"\n *ngIf=\"el.title\">{{el.title}}</h1>\n <div class=\"n7-carousel__slide-text\"\n *ngIf=\"el.text\" [innerHTML]=\"el.text\"></div>\n <div class=\"n7-carousel__slide-metadata-wrapper\"\n *ngIf=\"el.metadata\">\n <ng-container *ngFor=\"let m of el.metadata\">\n <div class=\"n7-carousel__slide-metadata\">\n <span class=\"n7-carousel__slide-metadata-label\"\n *ngIf=\"m.key\">{{m.key}}</span>\n <span class=\"n7-carousel__slide-metadata-value\"\n *ngIf=\"m.value\">{{m.value}}</span>\n </div>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n\n<!-- ===== VIDEO BACKGROUND ===== -->\n<ng-template #slideBackground\n let-bg>\n <ng-container *ngIf=\"bg.video as v\">\n <video #video\n class=\"n7-carousel__slide-video\"\n [poster]=\"v.poster\"\n [height]=\"v.height\"\n [width]=\"v.width\"\n loop\n muted\n autoplay\n playsinline>\n <source #source\n class=\"lazy\"\n [attr.data-src]=\"v.url\"\n type=\"video/mp4\">\n </video>\n <div class=\"n7-carousel__slide-video-overlay\">\n\n </div>\n </ng-container>\n</ng-template>\n" }]
|
|
481
526
|
}], propDecorators: { data: [{
|
|
@@ -505,9 +550,9 @@ class ChartComponent {
|
|
|
505
550
|
});
|
|
506
551
|
}
|
|
507
552
|
}
|
|
508
|
-
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
509
|
-
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
553
|
+
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
554
|
+
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ChartComponent, selector: "n7-chart", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-chart {{ data.classes || '' }}\">\n <div id=\"{{ data.containerId }}\"></div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ChartComponent, decorators: [{
|
|
511
556
|
type: Component,
|
|
512
557
|
args: [{ selector: 'n7-chart', template: "<div *ngIf=\"data\" class=\"n7-chart {{ data.classes || '' }}\">\n <div id=\"{{ data.containerId }}\"></div>\n</div>" }]
|
|
513
558
|
}], propDecorators: { data: [{
|
|
@@ -519,9 +564,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
519
564
|
//---------------------------
|
|
520
565
|
class ContentPlaceholderComponent {
|
|
521
566
|
}
|
|
522
|
-
ContentPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
523
|
-
ContentPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
567
|
+
ContentPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ContentPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
568
|
+
ContentPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: { data: "data" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-content-placeholder\">\n <ng-container *ngFor=\"let b of data.blocks\">\n <div *ngIf=\"!b.image\" class=\"n7-content-placeholder__item {{b.classes || ''}}\"></div>\n <img *ngIf=\"b.image\" class=\"n7-content-placeholder__image {{b.classes || ''}}\" src=\"{{b.image}}\" alt=\"{{ b.alt || '' }}\">\n </ng-container>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ContentPlaceholderComponent, decorators: [{
|
|
525
570
|
type: Component,
|
|
526
571
|
args: [{ selector: 'n7-content-placeholder', template: "<div *ngIf=\"data\" class=\"n7-content-placeholder\">\n <ng-container *ngFor=\"let b of data.blocks\">\n <div *ngIf=\"!b.image\" class=\"n7-content-placeholder__item {{b.classes || ''}}\"></div>\n <img *ngIf=\"b.image\" class=\"n7-content-placeholder__image {{b.classes || ''}}\" src=\"{{b.image}}\" alt=\"{{ b.alt || '' }}\">\n </ng-container>\n</div>" }]
|
|
527
572
|
}], propDecorators: { data: [{
|
|
@@ -541,9 +586,9 @@ class DataWidgetComponent {
|
|
|
541
586
|
this.emit('mouseleave', payload);
|
|
542
587
|
}
|
|
543
588
|
}
|
|
544
|
-
DataWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
545
|
-
DataWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
589
|
+
DataWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DataWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
590
|
+
DataWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DataWidgetComponent, selector: "n7-data-widget", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-data-widget {{ data.classes || '' }}\">\n <div class=\"n7-data-widget__main\">\n <span *ngIf=\"data.icon\"\n class=\"n7-data-widget__main-icon {{data.icon}}\"\n (mouseenter)=\"onMouseEnter(data.payload)\"\n (mouseleave)=\"onMouseLeave(data.payload)\">\n </span>\n <h2 class=\"n7-data-widget__main-title\"\n [innerHTML]=\"data.text\">\n </h2>\n </div>\n \n <div *ngIf=\"data.subtitle && (data.subtitle.text || data.subtitle.icon || data.subtitle.value)\"\n class=\"n7-data-widget__sub\">\n <p *ngIf=\"data.subtitle.text\"\n class=\"n7-data-widget__sub-title\"\n [innerHTML]=\"data.subtitle.text\">\n </p>\n <span *ngIf=\"data.subtitle.icon || data.subtitle.value\"\n class=\"n7-data-widget__sub-info\"\n (mouseenter)=\"onMouseEnter(data.subtitle.payload)\"\n (mouseleave)=\"onMouseLeave(data.subtitle.payload)\">\n <span *ngIf=\"data.subtitle.icon\"\n class=\"n7-data-widget__sub-info-icon {{data.subtitle.icon}}\">\n </span>\n <span *ngIf=\"data.subtitle.value\"\n class=\"n7-data-widget__sub-info-label\"\n [innerHTML]=\"data.subtitle.value\">\n </span>\n </span>\n </div>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DataWidgetComponent, decorators: [{
|
|
547
592
|
type: Component,
|
|
548
593
|
args: [{ selector: 'n7-data-widget', template: "<div *ngIf=\"data\" class=\"n7-data-widget {{ data.classes || '' }}\">\n <div class=\"n7-data-widget__main\">\n <span *ngIf=\"data.icon\"\n class=\"n7-data-widget__main-icon {{data.icon}}\"\n (mouseenter)=\"onMouseEnter(data.payload)\"\n (mouseleave)=\"onMouseLeave(data.payload)\">\n </span>\n <h2 class=\"n7-data-widget__main-title\"\n [innerHTML]=\"data.text\">\n </h2>\n </div>\n \n <div *ngIf=\"data.subtitle && (data.subtitle.text || data.subtitle.icon || data.subtitle.value)\"\n class=\"n7-data-widget__sub\">\n <p *ngIf=\"data.subtitle.text\"\n class=\"n7-data-widget__sub-title\"\n [innerHTML]=\"data.subtitle.text\">\n </p>\n <span *ngIf=\"data.subtitle.icon || data.subtitle.value\"\n class=\"n7-data-widget__sub-info\"\n (mouseenter)=\"onMouseEnter(data.subtitle.payload)\"\n (mouseleave)=\"onMouseLeave(data.subtitle.payload)\">\n <span *ngIf=\"data.subtitle.icon\"\n class=\"n7-data-widget__sub-info-icon {{data.subtitle.icon}}\">\n </span>\n <span *ngIf=\"data.subtitle.value\"\n class=\"n7-data-widget__sub-info-label\"\n [innerHTML]=\"data.subtitle.value\">\n </span>\n </span>\n </div>\n</div>\n" }]
|
|
549
594
|
}], propDecorators: { data: [{
|
|
@@ -580,9 +625,9 @@ class DatepickerComponent {
|
|
|
580
625
|
});
|
|
581
626
|
}
|
|
582
627
|
}
|
|
583
|
-
DatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
584
|
-
DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
628
|
+
DatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
629
|
+
DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DatepickerComponent, selector: "n7-datepicker", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-datepicker {{ data.classes || '' }}\">\n <input type=\"text\" id=\"{{this.data.id}}\"/>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
586
631
|
type: Component,
|
|
587
632
|
args: [{ selector: 'n7-datepicker', template: "<div *ngIf=\"data\" class=\"n7-datepicker {{ data.classes || '' }}\">\n <input type=\"text\" id=\"{{this.data.id}}\"/>\n</div>" }]
|
|
588
633
|
}], propDecorators: { data: [{
|
|
@@ -599,9 +644,9 @@ class FacetComponent {
|
|
|
599
644
|
this.emit('change', { inputPayload, value });
|
|
600
645
|
}
|
|
601
646
|
}
|
|
602
|
-
FacetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
603
|
-
FacetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
647
|
+
FacetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
648
|
+
FacetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetComponent, selector: "n7-facet", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-facet\">\n <div *ngFor=\"let section of data.sections\" class=\"n7-facet__section {{ section.classes || '' }}\">\n <div *ngFor=\"let input of section.inputs\"\n class=\"n7-facet__section-input n7-facet__section-input-{{ input.type }} {{ input.classes || '' }}\">\n\n <ng-container [ngSwitch]=\"input.type\">\n\n <!-- Checkbox -->\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <input type=\"checkbox\" id=\"{{ input.id }}\" class=\"n7-facet__input-checkbox-input\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\" class=\"n7-facet__checkbox-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n </ng-container>\n\n <!-- Text -->\n <ng-container *ngSwitchCase=\"'text'\">\n <label *ngIf=\"input.label\" class=\"n7-facet__input-text-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n <div class=\"n7-facet__input-text-wrapper\">\n <input type=\"text\" id=\"{{ input.id }}\" class=\"n7-facet__input-text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-text-icon {{input.icon || ''}}\" \n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n </ng-container>\n\n <!-- Link -->\n <ng-container *ngSwitchCase=\"'link'\">\n <div class=\"n7-facet__input-link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-link-icon {{ input.icon }}\"></span>\n <span class=\"n7-facet__input-link-text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\" class=\"n7-facet__input-link-counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n\n <!-- Select -->\n <ng-container *ngSwitchCase=\"'select'\">\n <label *ngIf=\"input.label\" for=\"{{ input.id }}\">{{ input.label }}</label>\n <select (change)=\"onChange(input.payload, $event.target.value)\" \n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\" \n [value]=\"option.value\" \n [disabled]=\"option.disabled\" \n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n </ng-container>\n </ng-container>\n\n </div>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetComponent, decorators: [{
|
|
605
650
|
type: Component,
|
|
606
651
|
args: [{ selector: 'n7-facet', template: "<div *ngIf=\"data\" class=\"n7-facet\">\n <div *ngFor=\"let section of data.sections\" class=\"n7-facet__section {{ section.classes || '' }}\">\n <div *ngFor=\"let input of section.inputs\"\n class=\"n7-facet__section-input n7-facet__section-input-{{ input.type }} {{ input.classes || '' }}\">\n\n <ng-container [ngSwitch]=\"input.type\">\n\n <!-- Checkbox -->\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <input type=\"checkbox\" id=\"{{ input.id }}\" class=\"n7-facet__input-checkbox-input\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\" class=\"n7-facet__checkbox-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n </ng-container>\n\n <!-- Text -->\n <ng-container *ngSwitchCase=\"'text'\">\n <label *ngIf=\"input.label\" class=\"n7-facet__input-text-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n <div class=\"n7-facet__input-text-wrapper\">\n <input type=\"text\" id=\"{{ input.id }}\" class=\"n7-facet__input-text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-text-icon {{input.icon || ''}}\" \n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n </ng-container>\n\n <!-- Link -->\n <ng-container *ngSwitchCase=\"'link'\">\n <div class=\"n7-facet__input-link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-link-icon {{ input.icon }}\"></span>\n <span class=\"n7-facet__input-link-text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\" class=\"n7-facet__input-link-counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n\n <!-- Select -->\n <ng-container *ngSwitchCase=\"'select'\">\n <label *ngIf=\"input.label\" for=\"{{ input.id }}\">{{ input.label }}</label>\n <select (change)=\"onChange(input.payload, $event.target.value)\" \n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\" \n [value]=\"option.value\" \n [disabled]=\"option.disabled\" \n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n </ng-container>\n </ng-container>\n\n </div>\n </div>\n</div>" }]
|
|
607
652
|
}], propDecorators: { data: [{
|
|
@@ -618,9 +663,9 @@ class FacetHeaderComponent {
|
|
|
618
663
|
this.emit('click', payload);
|
|
619
664
|
}
|
|
620
665
|
}
|
|
621
|
-
FacetHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
622
|
-
FacetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
666
|
+
FacetHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
667
|
+
FacetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetHeaderComponent, selector: "n7-facet-header", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" \nclass=\"n7-facet-header {{ data.classes || '' }}\" \n(click)=\"onClick(data.payload)\">\n <span *ngIf=\"data.iconLeft\"\n class=\"n7-facet-header__icon-left {{ data.iconLeft }}\">\n </span>\n <span class=\"n7-facet-header__text-wrapper\">\n <span class=\"n7-facet-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-facet-header__secondary-text\" *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\" \n class=\"n7-facet-header__icon-right {{ data.iconRight }}\">\n </span>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetHeaderComponent, decorators: [{
|
|
624
669
|
type: Component,
|
|
625
670
|
args: [{ selector: 'n7-facet-header', template: "<div *ngIf=\"data\" \nclass=\"n7-facet-header {{ data.classes || '' }}\" \n(click)=\"onClick(data.payload)\">\n <span *ngIf=\"data.iconLeft\"\n class=\"n7-facet-header__icon-left {{ data.iconLeft }}\">\n </span>\n <span class=\"n7-facet-header__text-wrapper\">\n <span class=\"n7-facet-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-facet-header__secondary-text\" *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\" \n class=\"n7-facet-header__icon-right {{ data.iconRight }}\">\n </span>\n</div>" }]
|
|
626
671
|
}], propDecorators: { data: [{
|
|
@@ -666,9 +711,9 @@ class FacetYearRangeComponent {
|
|
|
666
711
|
}
|
|
667
712
|
}
|
|
668
713
|
}
|
|
669
|
-
FacetYearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
670
|
-
FacetYearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
714
|
+
FacetYearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetYearRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
715
|
+
FacetYearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetYearRangeComponent, selector: "n7-facet-year-range", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-facet-year-range\">\n\n <!-- Select starting year -->\n <div class=\"n7-facet-year-range__in\">\n <label class=\"n7-facet-year-range__in-label\">\n {{ data.inDate.text }}\n </label>\n <select (change)=\"onChange(data.inDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__in-select {{ data.inDate.classes || '' }}\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.inDate.placeholder.length > 0\" value=\"{{ data.inDate.placeholder }}\" disabled selected>\n {{ data.inDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.inDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n\n <!-- Select final year -->\n <div class=\"n7-facet-year-range__out\">\n <label class=\"n7-facet-year-range__out-label\">\n {{ data.outDate.text }}\n </label>\n <select (change)=\"onChange(data.outDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__out-select {{ data.outDate.classes || '' }}\"\n formControlName=\"outDate\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.outDate.placeholder.length > 0\" value=\"{{ data.outDate.placeholder }}\" disabled selected>\n {{ data.outDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.outDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetYearRangeComponent, decorators: [{
|
|
672
717
|
type: Component,
|
|
673
718
|
args: [{ selector: 'n7-facet-year-range', template: "<div *ngIf=\"data\" class=\"n7-facet-year-range\">\n\n <!-- Select starting year -->\n <div class=\"n7-facet-year-range__in\">\n <label class=\"n7-facet-year-range__in-label\">\n {{ data.inDate.text }}\n </label>\n <select (change)=\"onChange(data.inDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__in-select {{ data.inDate.classes || '' }}\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.inDate.placeholder.length > 0\" value=\"{{ data.inDate.placeholder }}\" disabled selected>\n {{ data.inDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.inDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n\n <!-- Select final year -->\n <div class=\"n7-facet-year-range__out\">\n <label class=\"n7-facet-year-range__out-label\">\n {{ data.outDate.text }}\n </label>\n <select (change)=\"onChange(data.outDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__out-select {{ data.outDate.classes || '' }}\"\n formControlName=\"outDate\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.outDate.placeholder.length > 0\" value=\"{{ data.outDate.placeholder }}\" disabled selected>\n {{ data.outDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.outDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n</div>" }]
|
|
674
719
|
}], propDecorators: { data: [{
|
|
@@ -685,9 +730,9 @@ class FooterComponent {
|
|
|
685
730
|
this.emit('click', payload);
|
|
686
731
|
}
|
|
687
732
|
}
|
|
688
|
-
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
689
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
733
|
+
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
734
|
+
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FooterComponent, selector: "n7-footer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-footer {{data.classes || ''}}\">\n <div class=\"n7-footer__content\">\n <!-- Loop footer content columns -->\n <div class=\"n7-footer__column {{column.classes || ''}}\" *ngFor=\"let column of data.columns\">\n <ng-container *ngTemplateOutlet=\"footerColumn; context:{$implicit: column}\"></ng-container>\n </div>\n </div>\n</div>\n\n<!-- Template: Columns -->\n<ng-template #footerColumn let-column>\n <h2 *ngIf=\"column.title\" class=\"n7-footer__column-title\">\n {{ column.title }}\n </h2>\n <p *ngIf=\"column.text\" \n class=\"n7-footer__column-text\"\n [innerHTML]=\"column.text\">\n </p>\n <div *ngIf=\"column.links\" class=\"n7-footer__column-nav\">\n <ul class=\"n7-footer__column-nav-list\">\n <li *ngFor=\"let link of column.links\"\n class=\"n7-footer__column-nav-item {{link.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-footer__column-nav-link'\"\n [data]=\"link.anchor\"\n (clicked)=\"onClick($event)\">\n {{ link.text }}\n </n7-anchor-wrapper>\n </li>\n </ul>\n </div>\n\n <div *ngIf=\"column.images\" class=\"n7-footer__column-images\">\n <n7-anchor-wrapper *ngFor=\"let image of column.images\"\n [classes]=\"image.classes || ''\"\n [data]=\"image.anchor\"\n (clicked)=\"onClick($event)\">\n <img \n [src]=\"image.url\" \n [attr.alt]=\"image.alttext\" />\n </n7-anchor-wrapper>\n </div>\n</ng-template>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FooterComponent, decorators: [{
|
|
691
736
|
type: Component,
|
|
692
737
|
args: [{ selector: 'n7-footer', template: "<div *ngIf=\"data\" class=\"n7-footer {{data.classes || ''}}\">\n <div class=\"n7-footer__content\">\n <!-- Loop footer content columns -->\n <div class=\"n7-footer__column {{column.classes || ''}}\" *ngFor=\"let column of data.columns\">\n <ng-container *ngTemplateOutlet=\"footerColumn; context:{$implicit: column}\"></ng-container>\n </div>\n </div>\n</div>\n\n<!-- Template: Columns -->\n<ng-template #footerColumn let-column>\n <h2 *ngIf=\"column.title\" class=\"n7-footer__column-title\">\n {{ column.title }}\n </h2>\n <p *ngIf=\"column.text\" \n class=\"n7-footer__column-text\"\n [innerHTML]=\"column.text\">\n </p>\n <div *ngIf=\"column.links\" class=\"n7-footer__column-nav\">\n <ul class=\"n7-footer__column-nav-list\">\n <li *ngFor=\"let link of column.links\"\n class=\"n7-footer__column-nav-item {{link.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-footer__column-nav-link'\"\n [data]=\"link.anchor\"\n (clicked)=\"onClick($event)\">\n {{ link.text }}\n </n7-anchor-wrapper>\n </li>\n </ul>\n </div>\n\n <div *ngIf=\"column.images\" class=\"n7-footer__column-images\">\n <n7-anchor-wrapper *ngFor=\"let image of column.images\"\n [classes]=\"image.classes || ''\"\n [data]=\"image.anchor\"\n (clicked)=\"onClick($event)\">\n <img \n [src]=\"image.url\" \n [attr.alt]=\"image.alttext\" />\n </n7-anchor-wrapper>\n </div>\n</ng-template>" }]
|
|
693
738
|
}], propDecorators: { data: [{
|
|
@@ -732,9 +777,9 @@ class HeaderComponent {
|
|
|
732
777
|
this.emit('keyup', { payload, keyCode, value });
|
|
733
778
|
}
|
|
734
779
|
}
|
|
735
|
-
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
736
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
780
|
+
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
781
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HeaderComponent, selector: "n7-header", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<header *ngIf=\"data\" class=\"n7-header {{data.classes || ''}}\">\n <div class=\"n7-header__content\">\n\n <!-- Logo and title -->\n <div class=\"n7-header__logo-title {{data.logo.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-header__logo-link'\"\n [data]=\"data.logo.anchor\"\n (clicked)=\"onClick($event)\">\n <img class=\"n7-header__logo\"\n *ngIf=\"data.logo.image\"\n [src]=\"data.logo.image\"\n alt=\"{{ data.logo.title }}\" />\n <div class=\"n7-header__title-subtitle\">\n <h1 class=\"n7-header__title\">\n {{ data.logo.title }}\n </h1>\n <h2 class=\"n7-header__subtitle\" *ngIf=\"data.logo.subtitle\">\n {{ data.logo.subtitle }}\n </h2>\n </div>\n </n7-anchor-wrapper>\n </div>\n\n <!-- Main menu -->\n <nav class=\"n7-header__nav {{data.nav.classes || ''}}\" *ngIf=\"data.nav\">\n <div class=\"n7-header__nav-content\">\n <ul class=\"n7-header__nav-list\">\n <li class=\"n7-header__nav-item {{item.classes || ''}}\" *ngFor=\"let item of data.nav.items\">\n <n7-anchor-wrapper [classes]=\"'n7-header__nav-link'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__nav-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-header__nav-label\" *ngIf=\"item.text\">\n {{ item.text }}\n </span>\n </n7-anchor-wrapper>\n <!-- Sublevel -->\n <ul class=\"n7-header__subnav-list\" *ngIf=\"item.subnav\">\n <li class=\"n7-header__subnav-item {{subitem.classes || ''}}\" *ngFor=\"let subitem of item.subnav\">\n <n7-anchor-wrapper [classes]=\"'n7-header__subnav-link'\"\n [data]=\"subitem.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__subnav-icon {{subitem.icon}}\" *ngIf=\"subitem.icon\"></span>\n <span class=\"n7-header__subnav-label\" *ngIf=\"subitem.text\">\n {{ subitem.text }}\n </span>\n </n7-anchor-wrapper>\n </li>\n </ul>\n </li>\n </ul>\n </div>\n </nav>\n\n <!-- Mobile menu toggle -->\n <div class=\"n7-header__mobile-menu-toggle\">\n <span class=\"n7-header__mobile-menu-icon n7-icon-menu\" \n (click)=\"onClick(data.menuToggle.open.payload)\"></span>\n </div>\n\n <!-- Mobile menu close -->\n <span class=\"n7-header__mobile-menu-close n7-icon-close\" \n (click)=\"onClick(data.menuToggle.close.payload)\"></span>\n\n <!-- Tools: search, notifications, use profile or login/signup -->\n <div class=\"n7-header__tools\">\n \n <div class=\"n7-header__search {{data.search.classes || ''}}\" *ngIf=\"data.search\">\n <input class=\"n7-header__search-input\" \n type=\"search\" \n name=\"search\" \n placeholder=\"{{ data.search.hint || ''}}\" \n (keyup)=\"onKeyUp(data.search.payload, $event.keyCode, $event.target.value)\"/>\n <button class=\"n7-header__search-btn\" type=\"submit\" (click)=\"onClick(data.search.payload)\">\n <span class=\"n7-header__search-btn-label\">\n Search\n </span>\n </button>\n </div>\n \n <div class=\"n7-header__actions\" *ngIf=\"data.actions\">\n <n7-anchor-wrapper *ngFor=\"let action of data.actions\" \n [classes]=\"'n7-header__action' + (action.classes || '')\"\n [data]=\"action.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__action-icon {{ action.icon }}\"></span>\n <span *ngIf=\"action.badge\" class=\"n7-header__action-badge {{ action.badge.text ? 'has-text' : '' }}\">\n {{ action.badge.text }}\n </span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__buttons\" *ngIf=\"data.buttons\">\n <n7-anchor-wrapper *ngFor=\"let button of data.buttons\"\n [classes]=\"button.classes\" \n [data]=\"button.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"\" *ngIf=\"button.text\">\n {{ button.text }}\n </span>\n <span class=\"{{button.icon}}\" *ngIf=\"button.icon\"></span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__user {{data.user.classes || ''}}\" *ngIf=\"data.user\">\n <n7-anchor-wrapper [classes]=\"'n7-header__user-content'\"\n [data]=\"data.user.anchor\"\n (clicked)=\"onClick($event)\">\n <img *ngIf=\"data.user.img\"\n class=\"n7-header__user-img\" \n [src]=\"data.user.img\"/>\n <p class=\"n7-header__user-name\" *ngIf=\"data.user.name\">\n <span class=\"n7-header__user-name-label\">\n {{ data.user.name }}\n </span>\n </p>\n </n7-anchor-wrapper>\n </div>\n </div>\n\n </div>\n</header>\n\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
738
783
|
type: Component,
|
|
739
784
|
args: [{ selector: 'n7-header', template: "<header *ngIf=\"data\" class=\"n7-header {{data.classes || ''}}\">\n <div class=\"n7-header__content\">\n\n <!-- Logo and title -->\n <div class=\"n7-header__logo-title {{data.logo.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-header__logo-link'\"\n [data]=\"data.logo.anchor\"\n (clicked)=\"onClick($event)\">\n <img class=\"n7-header__logo\"\n *ngIf=\"data.logo.image\"\n [src]=\"data.logo.image\"\n alt=\"{{ data.logo.title }}\" />\n <div class=\"n7-header__title-subtitle\">\n <h1 class=\"n7-header__title\">\n {{ data.logo.title }}\n </h1>\n <h2 class=\"n7-header__subtitle\" *ngIf=\"data.logo.subtitle\">\n {{ data.logo.subtitle }}\n </h2>\n </div>\n </n7-anchor-wrapper>\n </div>\n\n <!-- Main menu -->\n <nav class=\"n7-header__nav {{data.nav.classes || ''}}\" *ngIf=\"data.nav\">\n <div class=\"n7-header__nav-content\">\n <ul class=\"n7-header__nav-list\">\n <li class=\"n7-header__nav-item {{item.classes || ''}}\" *ngFor=\"let item of data.nav.items\">\n <n7-anchor-wrapper [classes]=\"'n7-header__nav-link'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__nav-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-header__nav-label\" *ngIf=\"item.text\">\n {{ item.text }}\n </span>\n </n7-anchor-wrapper>\n <!-- Sublevel -->\n <ul class=\"n7-header__subnav-list\" *ngIf=\"item.subnav\">\n <li class=\"n7-header__subnav-item {{subitem.classes || ''}}\" *ngFor=\"let subitem of item.subnav\">\n <n7-anchor-wrapper [classes]=\"'n7-header__subnav-link'\"\n [data]=\"subitem.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__subnav-icon {{subitem.icon}}\" *ngIf=\"subitem.icon\"></span>\n <span class=\"n7-header__subnav-label\" *ngIf=\"subitem.text\">\n {{ subitem.text }}\n </span>\n </n7-anchor-wrapper>\n </li>\n </ul>\n </li>\n </ul>\n </div>\n </nav>\n\n <!-- Mobile menu toggle -->\n <div class=\"n7-header__mobile-menu-toggle\">\n <span class=\"n7-header__mobile-menu-icon n7-icon-menu\" \n (click)=\"onClick(data.menuToggle.open.payload)\"></span>\n </div>\n\n <!-- Mobile menu close -->\n <span class=\"n7-header__mobile-menu-close n7-icon-close\" \n (click)=\"onClick(data.menuToggle.close.payload)\"></span>\n\n <!-- Tools: search, notifications, use profile or login/signup -->\n <div class=\"n7-header__tools\">\n \n <div class=\"n7-header__search {{data.search.classes || ''}}\" *ngIf=\"data.search\">\n <input class=\"n7-header__search-input\" \n type=\"search\" \n name=\"search\" \n placeholder=\"{{ data.search.hint || ''}}\" \n (keyup)=\"onKeyUp(data.search.payload, $event.keyCode, $event.target.value)\"/>\n <button class=\"n7-header__search-btn\" type=\"submit\" (click)=\"onClick(data.search.payload)\">\n <span class=\"n7-header__search-btn-label\">\n Search\n </span>\n </button>\n </div>\n \n <div class=\"n7-header__actions\" *ngIf=\"data.actions\">\n <n7-anchor-wrapper *ngFor=\"let action of data.actions\" \n [classes]=\"'n7-header__action' + (action.classes || '')\"\n [data]=\"action.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__action-icon {{ action.icon }}\"></span>\n <span *ngIf=\"action.badge\" class=\"n7-header__action-badge {{ action.badge.text ? 'has-text' : '' }}\">\n {{ action.badge.text }}\n </span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__buttons\" *ngIf=\"data.buttons\">\n <n7-anchor-wrapper *ngFor=\"let button of data.buttons\"\n [classes]=\"button.classes\" \n [data]=\"button.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"\" *ngIf=\"button.text\">\n {{ button.text }}\n </span>\n <span class=\"{{button.icon}}\" *ngIf=\"button.icon\"></span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__user {{data.user.classes || ''}}\" *ngIf=\"data.user\">\n <n7-anchor-wrapper [classes]=\"'n7-header__user-content'\"\n [data]=\"data.user.anchor\"\n (clicked)=\"onClick($event)\">\n <img *ngIf=\"data.user.img\"\n class=\"n7-header__user-img\" \n [src]=\"data.user.img\"/>\n <p class=\"n7-header__user-name\" *ngIf=\"data.user.name\">\n <span class=\"n7-header__user-name-label\">\n {{ data.user.name }}\n </span>\n </p>\n </n7-anchor-wrapper>\n </div>\n </div>\n\n </div>\n</header>\n\n" }]
|
|
740
785
|
}], propDecorators: { data: [{
|
|
@@ -767,9 +812,9 @@ class HeroComponent {
|
|
|
767
812
|
this.emit('enter', { inputPayload: payload, value });
|
|
768
813
|
}
|
|
769
814
|
}
|
|
770
|
-
HeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
771
|
-
HeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
815
|
+
HeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
816
|
+
HeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HeroComponent, selector: "n7-hero", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<section *ngIf=\"data\" class=\"n7-hero {{data.classes || ''}}\" \n [ngClass]=\"{ \n 'has-image' : !!data.image, \n 'has-background-image': !!data.backgroundImage \n }\"\n [ngStyle]=\"{ \n 'background-image': getBackgroundImageCssValue(data.backgroundImage)\n }\">\n <div class=\"n7-hero__content\">\n \n <div class=\"n7-hero__text-wrapper\">\n <h1 class=\"n7-hero__title\" [innerHTML]=\"data.title\"></h1>\n <div class=\"n7-hero__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></div>\n <div class=\"n7-hero__input-wrapper\" *ngIf=\"data.input || data.button\">\n <input type=\"text\" \n class=\"n7-hero__input\" \n placeholder=\"{{data.input.placeholder || ''}}\" \n *ngIf=\"data.input\" \n (input)=\"onInputChange(data.input.payload, $event.target.value)\" \n (keyup.enter)=\"onInputEnter(data.input.payload, $event.target.value)\">\n <span class=\"n7-hero__input-icon {{data.input.icon || ''}}\" \n *ngIf=\"data.input && data.input.icon\" \n (click)=\"onClick(data.input.payload)\"></span>\n <ng-container *ngIf=\"data.button\">\n <n7-anchor-wrapper [classes]=\"'n7-hero__btn n7-btn n7-btn-cta n7-btn-l'\"\n [data]=\"data.button.anchor\"\n (clicked)=\"onClick($event)\">\n {{data.button.text}}\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n \n <div class=\"n7-hero__image-wrapper\" *ngIf=\"data.image\">\n <img class=\"n7-hero__image\" src=\"{{data.image}}\" alt=\"\">\n </div>\n\n </div>\n</section>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeroComponent, decorators: [{
|
|
773
818
|
type: Component,
|
|
774
819
|
args: [{ selector: 'n7-hero', template: "<section *ngIf=\"data\" class=\"n7-hero {{data.classes || ''}}\" \n [ngClass]=\"{ \n 'has-image' : !!data.image, \n 'has-background-image': !!data.backgroundImage \n }\"\n [ngStyle]=\"{ \n 'background-image': getBackgroundImageCssValue(data.backgroundImage)\n }\">\n <div class=\"n7-hero__content\">\n \n <div class=\"n7-hero__text-wrapper\">\n <h1 class=\"n7-hero__title\" [innerHTML]=\"data.title\"></h1>\n <div class=\"n7-hero__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></div>\n <div class=\"n7-hero__input-wrapper\" *ngIf=\"data.input || data.button\">\n <input type=\"text\" \n class=\"n7-hero__input\" \n placeholder=\"{{data.input.placeholder || ''}}\" \n *ngIf=\"data.input\" \n (input)=\"onInputChange(data.input.payload, $event.target.value)\" \n (keyup.enter)=\"onInputEnter(data.input.payload, $event.target.value)\">\n <span class=\"n7-hero__input-icon {{data.input.icon || ''}}\" \n *ngIf=\"data.input && data.input.icon\" \n (click)=\"onClick(data.input.payload)\"></span>\n <ng-container *ngIf=\"data.button\">\n <n7-anchor-wrapper [classes]=\"'n7-hero__btn n7-btn n7-btn-cta n7-btn-l'\"\n [data]=\"data.button.anchor\"\n (clicked)=\"onClick($event)\">\n {{data.button.text}}\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n \n <div class=\"n7-hero__image-wrapper\" *ngIf=\"data.image\">\n <img class=\"n7-hero__image\" src=\"{{data.image}}\" alt=\"\">\n </div>\n\n </div>\n</section>" }]
|
|
775
820
|
}], propDecorators: { data: [{
|
|
@@ -1151,9 +1196,9 @@ class HistogramRangeComponent {
|
|
|
1151
1196
|
this.emit('loaded', payload);
|
|
1152
1197
|
}
|
|
1153
1198
|
}
|
|
1154
|
-
HistogramRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1155
|
-
HistogramRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1199
|
+
HistogramRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HistogramRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1200
|
+
HistogramRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HistogramRangeComponent, selector: "n7-histogram-range", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-histogram-range\">\n <svg #histogramRange [id]=\"data.containerId\"></svg>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HistogramRangeComponent, decorators: [{
|
|
1157
1202
|
type: Component,
|
|
1158
1203
|
args: [{ selector: 'n7-histogram-range', template: "<div *ngIf=\"data\" class=\"n7-histogram-range\">\n <svg #histogramRange [id]=\"data.containerId\"></svg>\n</div>\n" }]
|
|
1159
1204
|
}], propDecorators: { data: [{
|
|
@@ -1201,9 +1246,9 @@ class ImageViewerComponent {
|
|
|
1201
1246
|
this.emit('thumbclick', payload);
|
|
1202
1247
|
}
|
|
1203
1248
|
}
|
|
1204
|
-
ImageViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1205
|
-
ImageViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1249
|
+
ImageViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ImageViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1250
|
+
ImageViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ImageViewerComponent, selector: "n7-image-viewer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-image-viewer {{data.classes || ''}}\">\n <!-- OSD viewer -->\n <div id=\"{{data.viewerId}}\" class=\"n7-image-viewer__viewer\">\n </div>\n\n <!-- Zoom controls -->\n <div class=\"n7-image-viewer__controls\">\n <ul class=\"n7-image-viewer__controls-list\">\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-zoom-in\">\n <span class=\"n7-icon-search-plus\"></span>\n </li>\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-zoom-out\">\n <span class=\"n7-icon-search-minus\"></span>\n </li>\n <!--\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-full-screen\">\n <span class=\"n7-icon-expand-arrows\"></span>\n </li>\n -->\n </ul>\n </div>\n\n <!-- Navigation -->\n <div *ngIf=\"!data.hideNavigation\" class=\"n7-image-viewer__prev\" id=\"n7-image-viewer-nav-prev\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n\n <div *ngIf=\"!data.hideNavigation\" class=\"n7-image-viewer__next\" id=\"n7-image-viewer-nav-next\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ImageViewerComponent, decorators: [{
|
|
1207
1252
|
type: Component,
|
|
1208
1253
|
args: [{ selector: 'n7-image-viewer', template: "<div *ngIf=\"data\" class=\"n7-image-viewer {{data.classes || ''}}\">\n <!-- OSD viewer -->\n <div id=\"{{data.viewerId}}\" class=\"n7-image-viewer__viewer\">\n </div>\n\n <!-- Zoom controls -->\n <div class=\"n7-image-viewer__controls\">\n <ul class=\"n7-image-viewer__controls-list\">\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-zoom-in\">\n <span class=\"n7-icon-search-plus\"></span>\n </li>\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-zoom-out\">\n <span class=\"n7-icon-search-minus\"></span>\n </li>\n <!--\n <li class=\"n7-image-viewer__controls-item\" id=\"n7-image-viewer-full-screen\">\n <span class=\"n7-icon-expand-arrows\"></span>\n </li>\n -->\n </ul>\n </div>\n\n <!-- Navigation -->\n <div *ngIf=\"!data.hideNavigation\" class=\"n7-image-viewer__prev\" id=\"n7-image-viewer-nav-prev\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n\n <div *ngIf=\"!data.hideNavigation\" class=\"n7-image-viewer__next\" id=\"n7-image-viewer-nav-next\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n</div>" }]
|
|
1209
1254
|
}], propDecorators: { data: [{
|
|
@@ -1223,11 +1268,11 @@ class ImageViewerToolsComponent {
|
|
|
1223
1268
|
this.emit('click', payload); // click
|
|
1224
1269
|
}
|
|
1225
1270
|
}
|
|
1226
|
-
ImageViewerToolsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1227
|
-
ImageViewerToolsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1271
|
+
ImageViewerToolsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ImageViewerToolsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1272
|
+
ImageViewerToolsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ImageViewerToolsComponent, selector: "n7-image-viewer-tools", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<!-- <div *ngIf=\"data\" class=\"n7-image-viewer-tools\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.description\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription {{data.classes.description.className || ''}}\"\n [data]=\"data.controls.description.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.description.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.thumbs\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs {{data.classes.thumbs.className || ''}}\"\n [data]=\"data.controls.thumbs.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.thumbs.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__thumbs\" \n *ngIf=\"data.isVisible.thumbnails && data.images\" >\n <div *ngFor=\"let img of data.images; let imgIndex = index\" \n class=\"n7-image-viewer-tools__thumb-container\"\n [class.active]=\"imgIndex == data.initial\">\n <img\n src=\"{{img.thumb}}\"\n (click)=\"onClick(img.payload)\" >\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__description\" \n *ngIf=\"data.isVisible.description\" >\n <div [innerHTML]=\"data.description\"></div>\n <div class=\"n7-image-viewer-tools__description-closebtn\"\n (click)=\"onClick(data.controls.closedescription.anchor.payload)\">\n <span class=\"{{data.controls.closedescription.icon}}\"></span>\n </div>\n </div>\n </div>\n</div> -->\n\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription -->\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs -->\n\n<div *ngIf=\"data\" class=\"n7-image-viewer-tools {{data.classes || ''}}\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__control-wrapper\">\n <ng-container *ngIf=\"data.controls.description && data.description\">\n <n7-anchor-wrapper \n class=\"n7-image-viewer-tools__control-btn\"\n [ngClass]=\"{\n 'is-active': data.controls.description.isActive\n }\"\n [data]=\"data.controls.description.anchor\"\n (click)=\"onClick($event)\">\n <!-- $event -->\n <span class=\"n7-image-viewer-tools__control-btn-icon {{data.controls.description.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n\n <div class=\"n7-image-viewer-tools__control-wrapper\">\n <ng-container *ngIf=\"data.controls.thumbs\">\n <n7-anchor-wrapper \n class=\"n7-image-viewer-tools__control-btn\"\n [ngClass]=\"{\n 'is-active': data.controls.thumbs.isActive\n }\"\n [data]=\"data.controls.thumbs.anchor\"\n (click)=\"onClick($event)\">\n <!-- $event -->\n <span class=\"n7-image-viewer-tools__control-btn-icon {{data.controls.thumbs.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__thumbs-description\">\n <div class=\"n7-image-viewer-tools__thumbs\" \n *ngIf=\"data.isVisible.thumbnails && data.images\" >\n <div class=\"n7-image-viewer-tools__thumbs-strip\">\n <div *ngFor=\"let img of data.images; let imgIndex = index\" \n class=\"n7-image-viewer-tools__thumb\"\n [class.active]=\"imgIndex == data.initial\">\n <img\n class=\"n7-image-viewer-tools__thumb-image\"\n src=\"{{img.thumb}}\"\n (click)=\"onClick(img.payload)\" >\n </div>\n </div> \n \n <ng-container *ngIf=\"data.navigation\">\n <div\n class=\"{{ data.navigation.prev.classes || '' }}\"\n (click)=\"onClick(data.navigation.prev.payload)\">\n <!-- (click)=\"\" -->\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div\n class=\"{{ data.navigation.next.classes || '' }}\"\n (click)=\"onClick(data.navigation.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container>\n\n <!-- <ng-container *ngIf=\"data.navigation as nav\">\n <div \n classes=\"{{ nav.prev.classes || '' }}\" \n (click)=\"onClick(nav.prev.payload)\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div \n classes=\"{{ nav.next.classes || '' }}\" \n (click)=\"onClick(nav.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container> -->\n\n <!-- <ng-container *ngIf=\"data.navigation as nav\">\n <div \n classes=\"{{ nav.prev.classes || '' }}\" \n (click)=\"onClick(nav.prev.payload)\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div \n classes=\"{{ nav.next.classes || '' }}\" \n (click)=\"onClick(nav.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container> -->\n </div>\n\n <div class=\"n7-image-viewer-tools__description\" \n *ngIf=\"data.isVisible.description\" >\n <div class=\"n7-image-viewer-tools__description-close\"\n (click)=\"onClick(data.controls.closedescription.anchor.payload)\">\n <!-- data.controls.closedescription.anchor.payload -->\n <span class=\"{{data.controls.closedescription.icon}}\"></span>\n </div>\n <div class=\"n7-image-viewer-tools__description-text-wrapper\">\n <div class=\"n7-image-viewer-tools__description-text\" [innerHTML]=\"data.description\"></div>\n </div>\n \n </div>\n </div> \n </div>\n</div>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ImageViewerToolsComponent, decorators: [{
|
|
1229
1274
|
type: Component,
|
|
1230
|
-
args: [{ selector: 'n7-image-viewer-tools', template: "<!-- <div *ngIf=\"data\" class=\"n7-image-viewer-tools\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.description\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription {{data.classes.description.className || ''}}\"\n [data]=\"data.controls.description.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.description.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.thumbs\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs {{data.classes.thumbs.className || ''}}\"\n [data]=\"data.controls.thumbs.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.thumbs.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__thumbs\" \n *ngIf=\"data.isVisible.thumbnails && data.images\" >\n <div *ngFor=\"let img of data.images; let imgIndex = index\" \n class=\"n7-image-viewer-tools__thumb-container\"\n [class.active]=\"imgIndex == data.initial\">\n <img\n src=\"{{img.thumb}}\"\n (click)=\"onClick(img.payload)\" >\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__description\" \n *ngIf=\"data.isVisible.description\" >\n <div [innerHTML]=\"data.description\"></div>\n <div class=\"n7-image-viewer-tools__description-closebtn\"\n (click)=\"onClick(data.controls.closedescription.anchor.payload)\">\n <span class=\"{{data.controls.closedescription.icon}}\"></span>\n </div>\n </div>\n </div>\n</div> -->\n\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription -->\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs -->\n\n<div *ngIf=\"data\" class=\"n7-image-viewer-tools {{data.classes || ''}}\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__control-wrapper\">\n <ng-container *ngIf=\"data.controls.description && data.description\">\n <n7-anchor-wrapper \n class=\"n7-image-viewer-tools__control-btn\"\n [ngClass]=\"{\n 'is-active': data.controls.description.isActive\n }\"\n [data]=\"data.controls.description.anchor\"\n (
|
|
1275
|
+
args: [{ selector: 'n7-image-viewer-tools', template: "<!-- <div *ngIf=\"data\" class=\"n7-image-viewer-tools\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.description\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription {{data.classes.description.className || ''}}\"\n [data]=\"data.controls.description.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.description.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n\n <div class=\"n7-image-viewer-tools__btn-container\">\n <ng-container *ngIf=\"data.controls.thumbs\">\n <n7-anchor-wrapper \n class=\"n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs {{data.classes.thumbs.className || ''}}\"\n [data]=\"data.controls.thumbs.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"{{data.controls.thumbs.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__thumbs\" \n *ngIf=\"data.isVisible.thumbnails && data.images\" >\n <div *ngFor=\"let img of data.images; let imgIndex = index\" \n class=\"n7-image-viewer-tools__thumb-container\"\n [class.active]=\"imgIndex == data.initial\">\n <img\n src=\"{{img.thumb}}\"\n (click)=\"onClick(img.payload)\" >\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__description\" \n *ngIf=\"data.isVisible.description\" >\n <div [innerHTML]=\"data.description\"></div>\n <div class=\"n7-image-viewer-tools__description-closebtn\"\n (click)=\"onClick(data.controls.closedescription.anchor.payload)\">\n <span class=\"{{data.controls.closedescription.icon}}\"></span>\n </div>\n </div>\n </div>\n</div> -->\n\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnDescription -->\n<!-- n7-hero__btn n7-btn n7-btn-cta n7-btn-l n7-image-viewer-tools__btnThumbs -->\n\n<div *ngIf=\"data\" class=\"n7-image-viewer-tools {{data.classes || ''}}\">\n <div class=\"n7-image-viewer-tools__bar\">\n <div class=\"n7-image-viewer-tools__controls\">\n <div class=\"n7-image-viewer-tools__control-wrapper\">\n <ng-container *ngIf=\"data.controls.description && data.description\">\n <n7-anchor-wrapper \n class=\"n7-image-viewer-tools__control-btn\"\n [ngClass]=\"{\n 'is-active': data.controls.description.isActive\n }\"\n [data]=\"data.controls.description.anchor\"\n (click)=\"onClick($event)\">\n <!-- $event -->\n <span class=\"n7-image-viewer-tools__control-btn-icon {{data.controls.description.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n\n <div class=\"n7-image-viewer-tools__control-wrapper\">\n <ng-container *ngIf=\"data.controls.thumbs\">\n <n7-anchor-wrapper \n class=\"n7-image-viewer-tools__control-btn\"\n [ngClass]=\"{\n 'is-active': data.controls.thumbs.isActive\n }\"\n [data]=\"data.controls.thumbs.anchor\"\n (click)=\"onClick($event)\">\n <!-- $event -->\n <span class=\"n7-image-viewer-tools__control-btn-icon {{data.controls.thumbs.icon}}\"></span>\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n\n <div class=\"n7-image-viewer-tools__thumbs-description\">\n <div class=\"n7-image-viewer-tools__thumbs\" \n *ngIf=\"data.isVisible.thumbnails && data.images\" >\n <div class=\"n7-image-viewer-tools__thumbs-strip\">\n <div *ngFor=\"let img of data.images; let imgIndex = index\" \n class=\"n7-image-viewer-tools__thumb\"\n [class.active]=\"imgIndex == data.initial\">\n <img\n class=\"n7-image-viewer-tools__thumb-image\"\n src=\"{{img.thumb}}\"\n (click)=\"onClick(img.payload)\" >\n </div>\n </div> \n \n <ng-container *ngIf=\"data.navigation\">\n <div\n class=\"{{ data.navigation.prev.classes || '' }}\"\n (click)=\"onClick(data.navigation.prev.payload)\">\n <!-- (click)=\"\" -->\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div\n class=\"{{ data.navigation.next.classes || '' }}\"\n (click)=\"onClick(data.navigation.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container>\n\n <!-- <ng-container *ngIf=\"data.navigation as nav\">\n <div \n classes=\"{{ nav.prev.classes || '' }}\" \n (click)=\"onClick(nav.prev.payload)\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div \n classes=\"{{ nav.next.classes || '' }}\" \n (click)=\"onClick(nav.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container> -->\n\n <!-- <ng-container *ngIf=\"data.navigation as nav\">\n <div \n classes=\"{{ nav.prev.classes || '' }}\" \n (click)=\"onClick(nav.prev.payload)\">\n <span class=\"n7-icon-angle-left\"></span>\n </div>\n <div \n classes=\"{{ nav.next.classes || '' }}\" \n (click)=\"onClick(nav.next.payload)\">\n <span class=\"n7-icon-angle-right\"></span>\n </div>\n </ng-container> -->\n </div>\n\n <div class=\"n7-image-viewer-tools__description\" \n *ngIf=\"data.isVisible.description\" >\n <div class=\"n7-image-viewer-tools__description-close\"\n (click)=\"onClick(data.controls.closedescription.anchor.payload)\">\n <!-- data.controls.closedescription.anchor.payload -->\n <span class=\"{{data.controls.closedescription.icon}}\"></span>\n </div>\n <div class=\"n7-image-viewer-tools__description-text-wrapper\">\n <div class=\"n7-image-viewer-tools__description-text\" [innerHTML]=\"data.description\"></div>\n </div>\n \n </div>\n </div> \n </div>\n</div>\n" }]
|
|
1231
1276
|
}], propDecorators: { data: [{
|
|
1232
1277
|
type: Input
|
|
1233
1278
|
}], emit: [{
|
|
@@ -1257,9 +1302,9 @@ class InnerTitleComponent {
|
|
|
1257
1302
|
this.emit('search', { inputPayload: payload, value });
|
|
1258
1303
|
}
|
|
1259
1304
|
}
|
|
1260
|
-
InnerTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1261
|
-
InnerTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1305
|
+
InnerTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InnerTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1306
|
+
InnerTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: InnerTitleComponent, selector: "n7-inner-title", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-inner-title\">\n <div class=\"n7-inner-title__left-wrapper\">\n <ng-container *ngTemplateOutlet=\"icon; context:{$implicit: data.icon}\"></ng-container>\n <div *ngIf=\"data.image\" \n class=\"n7-inner-title__image-left\" \n [ngStyle]=\"{'background-image': 'url(' + data.image + ')'}\"></div>\n\n <div class=\"n7-inner-title__wrapper-texts\">\n <div *ngIf=\"data.title.main\"\n [innerHTML]=\"data.title.main.text\" \n class=\"n7-inner-title__title {{data.title.main.classes || ''}}\">\n </div>\n <div *ngIf=\"data.title.secondary\" \n [innerHTML]=\"data.title.secondary.text\" \n class=\"n7-inner-title__subtitle {{data.title.secondary.classes || ''}}\">\n </div>\n </div>\n </div>\n\n <div class=\"n7-inner-title__tools\">\n <!-- Toolbar label -->\n <div *ngIf=\"data.tools\"\n class=\"n7-inner-title__tools-label \">\n {{data.tools}}\n </div>\n <!-- Actions -->\n <ng-container *ngIf=\"data.actions\">\n <ng-container *ngTemplateOutlet=\"actions; \n context:{$implicit: data.actions}\">\n </ng-container>\n </ng-container>\n </div>\n\n</div>\n\n<!-- Template actions -->\n<ng-template #actions let-action>\n <ng-container *ngIf=\"action.select\">\n <ng-container *ngTemplateOutlet=\"select;\n context:{$implicit: action.select}\">\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"action.search\">\n <ng-container *ngTemplateOutlet=\"search; \n context:{$implicit: action.search}\">\n </ng-container>\n </ng-container>\n \n <ng-container *ngIf=\"action.buttons\">\n <ng-container *ngTemplateOutlet=\"buttons;\n context:{$implicit: action.buttons}\">\n </ng-container>\n </ng-container>\n</ng-template>\n \n<!-- Template sorting -->\n<ng-template #select let-select>\n<div class=\"n7-inner-title__sorting\">\n <span *ngIf=\"select.label\"\n class=\"n7-inner-title__sorting-label \">\n {{select.label}}\n </span>\n <select (change)=\"onChange(select.payload, $event.target.value)\"\n class=\"n7-inner-title__sorting-select\">\n <option *ngFor=\"let opt of select.options\"\n value=\"{{opt.value}}\"\n class=\"n7-inner-title__sorting-option\"\n [selected]=\"opt.selected\"\n [disabled]=\"opt.disabled\">\n {{opt.text}}\n </option>\n </select>\n</div>\n</ng-template>\n\n<!-- Template search -->\n<ng-template #search let-search>\n <div class=\"n7-inner-title__search\">\n <input type=\"text\" \n class=\"n7-inner-title__search-bar \" \n placeholder=\"{{search.placeholder}}\"\n (input)=\"onInputChange(search.payload, $event.target.value)\"\n (keyup.enter)=\"onInputEnter(search.payload, $event.target.value)\">\n <button *ngIf=\"search.button\" \n (click)=\"onClick(search.button.payload)\"\n class=\"n7-btn n7-inner-title__search-button \">\n {{search.button.text}}\n </button>\n </div>\n</ng-template>\n\n<!-- Template buttons -->\n<ng-template #buttons let-buttons>\n <div class=\"n7-inner-title__buttons-wrapper\">\n <div *ngFor=\"let btn of buttons\"\n class=\"n7-inner-title__single-button-wrapper\">\n <n7-anchor-wrapper [classes]=\"'n7-btn n7-inner-title__buttons-action ' + btn.classes || ''\"\n [data]=\"btn.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"btn.icon\" class=\"n7-btn__icon {{btn.icon || ''}}\"></span> \n {{ btn.text }}\n </n7-anchor-wrapper>\n </div>\n </div>\n</ng-template>\n\n<!-- Template Icon -->\n<ng-template #icon let-icon>\n <!-- Complex icon -->\n <span *ngIf=\"icon && icon.id\"\n class=\"n7-inner-title__icon-left {{icon.id || ''}}\"\n [ngStyle]=\"icon.style || {}\"></span>\n <!-- Simple icon -->\n <span *ngIf=\"icon && !icon.id\"\n class=\"n7-inner-title__icon-left {{icon || ''}}\"></span>\n</ng-template>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InnerTitleComponent, decorators: [{
|
|
1263
1308
|
type: Component,
|
|
1264
1309
|
args: [{ selector: 'n7-inner-title', template: "<div *ngIf=\"data\" class=\"n7-inner-title\">\n <div class=\"n7-inner-title__left-wrapper\">\n <ng-container *ngTemplateOutlet=\"icon; context:{$implicit: data.icon}\"></ng-container>\n <div *ngIf=\"data.image\" \n class=\"n7-inner-title__image-left\" \n [ngStyle]=\"{'background-image': 'url(' + data.image + ')'}\"></div>\n\n <div class=\"n7-inner-title__wrapper-texts\">\n <div *ngIf=\"data.title.main\"\n [innerHTML]=\"data.title.main.text\" \n class=\"n7-inner-title__title {{data.title.main.classes || ''}}\">\n </div>\n <div *ngIf=\"data.title.secondary\" \n [innerHTML]=\"data.title.secondary.text\" \n class=\"n7-inner-title__subtitle {{data.title.secondary.classes || ''}}\">\n </div>\n </div>\n </div>\n\n <div class=\"n7-inner-title__tools\">\n <!-- Toolbar label -->\n <div *ngIf=\"data.tools\"\n class=\"n7-inner-title__tools-label \">\n {{data.tools}}\n </div>\n <!-- Actions -->\n <ng-container *ngIf=\"data.actions\">\n <ng-container *ngTemplateOutlet=\"actions; \n context:{$implicit: data.actions}\">\n </ng-container>\n </ng-container>\n </div>\n\n</div>\n\n<!-- Template actions -->\n<ng-template #actions let-action>\n <ng-container *ngIf=\"action.select\">\n <ng-container *ngTemplateOutlet=\"select;\n context:{$implicit: action.select}\">\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"action.search\">\n <ng-container *ngTemplateOutlet=\"search; \n context:{$implicit: action.search}\">\n </ng-container>\n </ng-container>\n \n <ng-container *ngIf=\"action.buttons\">\n <ng-container *ngTemplateOutlet=\"buttons;\n context:{$implicit: action.buttons}\">\n </ng-container>\n </ng-container>\n</ng-template>\n \n<!-- Template sorting -->\n<ng-template #select let-select>\n<div class=\"n7-inner-title__sorting\">\n <span *ngIf=\"select.label\"\n class=\"n7-inner-title__sorting-label \">\n {{select.label}}\n </span>\n <select (change)=\"onChange(select.payload, $event.target.value)\"\n class=\"n7-inner-title__sorting-select\">\n <option *ngFor=\"let opt of select.options\"\n value=\"{{opt.value}}\"\n class=\"n7-inner-title__sorting-option\"\n [selected]=\"opt.selected\"\n [disabled]=\"opt.disabled\">\n {{opt.text}}\n </option>\n </select>\n</div>\n</ng-template>\n\n<!-- Template search -->\n<ng-template #search let-search>\n <div class=\"n7-inner-title__search\">\n <input type=\"text\" \n class=\"n7-inner-title__search-bar \" \n placeholder=\"{{search.placeholder}}\"\n (input)=\"onInputChange(search.payload, $event.target.value)\"\n (keyup.enter)=\"onInputEnter(search.payload, $event.target.value)\">\n <button *ngIf=\"search.button\" \n (click)=\"onClick(search.button.payload)\"\n class=\"n7-btn n7-inner-title__search-button \">\n {{search.button.text}}\n </button>\n </div>\n</ng-template>\n\n<!-- Template buttons -->\n<ng-template #buttons let-buttons>\n <div class=\"n7-inner-title__buttons-wrapper\">\n <div *ngFor=\"let btn of buttons\"\n class=\"n7-inner-title__single-button-wrapper\">\n <n7-anchor-wrapper [classes]=\"'n7-btn n7-inner-title__buttons-action ' + btn.classes || ''\"\n [data]=\"btn.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"btn.icon\" class=\"n7-btn__icon {{btn.icon || ''}}\"></span> \n {{ btn.text }}\n </n7-anchor-wrapper>\n </div>\n </div>\n</ng-template>\n\n<!-- Template Icon -->\n<ng-template #icon let-icon>\n <!-- Complex icon -->\n <span *ngIf=\"icon && icon.id\"\n class=\"n7-inner-title__icon-left {{icon.id || ''}}\"\n [ngStyle]=\"icon.style || {}\"></span>\n <!-- Simple icon -->\n <span *ngIf=\"icon && !icon.id\"\n class=\"n7-inner-title__icon-left {{icon || ''}}\"></span>\n</ng-template>\n" }]
|
|
1265
1310
|
}], propDecorators: { data: [{
|
|
@@ -1276,11 +1321,11 @@ class InputCheckboxComponent {
|
|
|
1276
1321
|
this.emit('change', { inputPayload, value });
|
|
1277
1322
|
}
|
|
1278
1323
|
}
|
|
1279
|
-
InputCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1280
|
-
InputCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1324
|
+
InputCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1325
|
+
InputCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: InputCheckboxComponent, selector: "n7-input-checkbox", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-input-checkbox {{ data.classes || '' }}\">\n <fieldset class=\"n7-input-checkbox__fieldset\">\n <legend class=\"n7-input-checkbox__legend\" *ngIf=\"data.legend\" [innerHTML]=\"data.legend\"></legend>\n <ng-container *ngFor=\"let input of data.checkboxes\">\n <div class=\"n7-input-checkbox__input-wrapper\">\n <input type=\"checkbox\"\n id=\"{{ input.id }}\"\n class=\"n7-input-checkbox__input {{ input.classes || '' }}\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\"\n class=\"n7-input-checkbox__label\"\n for=\"{{ input.id }}\">{{ input.label }}</label>\n </div> \n </ng-container>\n </fieldset>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputCheckboxComponent, decorators: [{
|
|
1282
1327
|
type: Component,
|
|
1283
|
-
args: [{ selector: 'n7-input-checkbox', template: "<div *ngIf=\"data\" class=\"n7-input-checkbox {{ data.classes || '' }}\">\n <fieldset class=\"n7-input-checkbox__fieldset\">\n <legend class=\"n7-input-checkbox__legend\" *ngIf=\"data.legend\"
|
|
1328
|
+
args: [{ selector: 'n7-input-checkbox', template: "<div *ngIf=\"data\" class=\"n7-input-checkbox {{ data.classes || '' }}\">\n <fieldset class=\"n7-input-checkbox__fieldset\">\n <legend class=\"n7-input-checkbox__legend\" *ngIf=\"data.legend\" [innerHTML]=\"data.legend\"></legend>\n <ng-container *ngFor=\"let input of data.checkboxes\">\n <div class=\"n7-input-checkbox__input-wrapper\">\n <input type=\"checkbox\"\n id=\"{{ input.id }}\"\n class=\"n7-input-checkbox__input {{ input.classes || '' }}\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\"\n class=\"n7-input-checkbox__label\"\n for=\"{{ input.id }}\">{{ input.label }}</label>\n </div> \n </ng-container>\n </fieldset>\n</div>\n" }]
|
|
1284
1329
|
}], propDecorators: { data: [{
|
|
1285
1330
|
type: Input
|
|
1286
1331
|
}], emit: [{
|
|
@@ -1295,9 +1340,9 @@ class InputLinkComponent {
|
|
|
1295
1340
|
this.emit('change', payload);
|
|
1296
1341
|
}
|
|
1297
1342
|
}
|
|
1298
|
-
InputLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1299
|
-
InputLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1343
|
+
InputLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1344
|
+
InputLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: InputLinkComponent, selector: "n7-input-link", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\"\n class=\"n7-input-link\">\n <ng-container *ngFor=\"let input of data.links\">\n <div class=\"n7-input-link__link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\"\n class=\"n7-input-link__icon {{ input.icon }}\"></span>\n <span class=\"n7-input-link__text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\"\n class=\"n7-input-link__counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputLinkComponent, decorators: [{
|
|
1301
1346
|
type: Component,
|
|
1302
1347
|
args: [{ selector: 'n7-input-link', template: "<div *ngIf=\"data\"\n class=\"n7-input-link\">\n <ng-container *ngFor=\"let input of data.links\">\n <div class=\"n7-input-link__link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\"\n class=\"n7-input-link__icon {{ input.icon }}\"></span>\n <span class=\"n7-input-link__text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\"\n class=\"n7-input-link__counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n</div>\n" }]
|
|
1303
1348
|
}], propDecorators: { data: [{
|
|
@@ -1314,11 +1359,11 @@ class InputSelectComponent {
|
|
|
1314
1359
|
this.emit('change', { inputPayload, value });
|
|
1315
1360
|
}
|
|
1316
1361
|
}
|
|
1317
|
-
InputSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1318
|
-
InputSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1362
|
+
InputSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1363
|
+
InputSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: InputSelectComponent, selector: "n7-input-select", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data as input\"\n class=\"n7-input-select\">\n <label *ngIf=\"input.label\"\n for=\"{{ input.id }}\" [innerHTML]=\"input.label\"></label>\n <select (change)=\"onChange(input.payload, $event.target.value)\"\n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\"\n [value]=\"option.value\"\n [disabled]=\"option.disabled\"\n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputSelectComponent, decorators: [{
|
|
1320
1365
|
type: Component,
|
|
1321
|
-
args: [{ selector: 'n7-input-select', template: "<div *ngIf=\"data as input\"\n class=\"n7-input-select\">\n <label *ngIf=\"input.label\"\n for=\"{{ input.id }}\"
|
|
1366
|
+
args: [{ selector: 'n7-input-select', template: "<div *ngIf=\"data as input\"\n class=\"n7-input-select\">\n <label *ngIf=\"input.label\"\n for=\"{{ input.id }}\" [innerHTML]=\"input.label\"></label>\n <select (change)=\"onChange(input.payload, $event.target.value)\"\n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\"\n [value]=\"option.value\"\n [disabled]=\"option.disabled\"\n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n</div>\n" }]
|
|
1322
1367
|
}], propDecorators: { data: [{
|
|
1323
1368
|
type: Input
|
|
1324
1369
|
}], emit: [{
|
|
@@ -1333,11 +1378,11 @@ class InputTextComponent {
|
|
|
1333
1378
|
this.emit('change', { inputPayload, value });
|
|
1334
1379
|
}
|
|
1335
1380
|
}
|
|
1336
|
-
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1337
|
-
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1381
|
+
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1382
|
+
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: InputTextComponent, selector: "n7-input-text", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data as input\"\n class=\"n7-input-text\">\n <label *ngIf=\"input.label\"\n class=\"n7-input-text__label\"\n for=\"{{ input.id }}\" [innerHTML]=\"input.label\">\n </label>\n <div class=\"n7-input-text__wrapper\"\n [ngClass]=\"{\n 'has-icon': !!input.icon\n }\">\n <input id=\"{{ input.id }}\"\n class=\"n7-input-text__text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [type]=\"input.type ? input.type : 'text'\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n [min]=\"input.type === 'number' && (input.min || input.min === 0) ? input.min : ''\"\n [max]=\"input.type === 'number' && (input.max || input.max === 0) ? input.max : ''\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\"\n class=\"n7-input-text__icon {{input.icon || ''}}\"\n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
1339
1384
|
type: Component,
|
|
1340
|
-
args: [{ selector: 'n7-input-text', template: "<div *ngIf=\"data as input\"\n class=\"n7-input-text\">\n <label *ngIf=\"input.label\"\n class=\"n7-input-text__label\"\n for=\"{{ input.id }}\"
|
|
1385
|
+
args: [{ selector: 'n7-input-text', template: "<div *ngIf=\"data as input\"\n class=\"n7-input-text\">\n <label *ngIf=\"input.label\"\n class=\"n7-input-text__label\"\n for=\"{{ input.id }}\" [innerHTML]=\"input.label\">\n </label>\n <div class=\"n7-input-text__wrapper\"\n [ngClass]=\"{\n 'has-icon': !!input.icon\n }\">\n <input id=\"{{ input.id }}\"\n class=\"n7-input-text__text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [type]=\"input.type ? input.type : 'text'\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n [min]=\"input.type === 'number' && (input.min || input.min === 0) ? input.min : ''\"\n [max]=\"input.type === 'number' && (input.max || input.max === 0) ? input.max : ''\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\"\n class=\"n7-input-text__icon {{input.icon || ''}}\"\n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n</div>\n" }]
|
|
1341
1386
|
}], propDecorators: { data: [{
|
|
1342
1387
|
type: Input
|
|
1343
1388
|
}], emit: [{
|
|
@@ -1352,9 +1397,9 @@ class ItemPreviewComponent {
|
|
|
1352
1397
|
this.emit('click', payload);
|
|
1353
1398
|
}
|
|
1354
1399
|
}
|
|
1355
|
-
ItemPreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1356
|
-
ItemPreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1400
|
+
ItemPreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ItemPreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1401
|
+
ItemPreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ItemPreviewComponent, selector: "n7-item-preview", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-item-preview {{data.classes || ''}}\" \n [ngClass]=\"{\n 'has-image' : !!data.image,\n 'has-color' : !!data.color,\n 'has-link' : !!data.anchor\n }\">\n <n7-anchor-wrapper\n [data]=\"data.anchor\"\n (clicked)=\"onClick($event)\"\n [classes]=\"'n7-item-preview__inner'\">\n <!-- Image, color -->\n <div class=\"n7-item-preview__image n7-item-preview__color\"\n *ngIf=\"data.image || data.color\"\n [style.background-image] = \"data.image ? 'url(' + data.image + ')' : undefined\"\n [style.background-color] = \"data.color\">\n </div>\n <div class=\"n7-item-preview__content\">\n <!-- Title and text -->\n <div class=\"n7-item-preview__title-text\">\n <h1 class=\"n7-item-preview__title\" [innerHTML]=\"data.title\"></h1>\n <p class=\"n7-item-preview__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></p>\n </div>\n <!-- Metadata -->\n <div class=\"n7-item-preview__metadata\" *ngIf=\"data.metadata\">\n <div class=\"n7-item-preview__metadata-group {{ meta.classes || '' }}\" *ngFor=\"let meta of data.metadata\">\n <h3 class=\"n7-item-preview__metadata-group-title\" *ngIf=\"meta.title\" [innerHTML]=\"meta.title\"></h3>\n <div class=\"n7-item-preview__metadata-item {{ item.classes || '' }}\" *ngFor=\"let item of meta.items\">\n <span class=\"n7-item-preview__metadata-item-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-item-preview__metadata-item-label\" *ngIf=\"item.label\" [innerHTML]=\"item.label\"></span>\n <span class=\"n7-item-preview__metadata-item-value\" *ngIf=\"item.value\" [innerHTML]=\"item.value\"></span>\n </div>\n </div>\n </div>\n </div>\n </n7-anchor-wrapper>\n</div>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ItemPreviewComponent, decorators: [{
|
|
1358
1403
|
type: Component,
|
|
1359
1404
|
args: [{ selector: 'n7-item-preview', template: "<div *ngIf=\"data\" class=\"n7-item-preview {{data.classes || ''}}\" \n [ngClass]=\"{\n 'has-image' : !!data.image,\n 'has-color' : !!data.color,\n 'has-link' : !!data.anchor\n }\">\n <n7-anchor-wrapper\n [data]=\"data.anchor\"\n (clicked)=\"onClick($event)\"\n [classes]=\"'n7-item-preview__inner'\">\n <!-- Image, color -->\n <div class=\"n7-item-preview__image n7-item-preview__color\"\n *ngIf=\"data.image || data.color\"\n [style.background-image] = \"data.image ? 'url(' + data.image + ')' : undefined\"\n [style.background-color] = \"data.color\">\n </div>\n <div class=\"n7-item-preview__content\">\n <!-- Title and text -->\n <div class=\"n7-item-preview__title-text\">\n <h1 class=\"n7-item-preview__title\" [innerHTML]=\"data.title\"></h1>\n <p class=\"n7-item-preview__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></p>\n </div>\n <!-- Metadata -->\n <div class=\"n7-item-preview__metadata\" *ngIf=\"data.metadata\">\n <div class=\"n7-item-preview__metadata-group {{ meta.classes || '' }}\" *ngFor=\"let meta of data.metadata\">\n <h3 class=\"n7-item-preview__metadata-group-title\" *ngIf=\"meta.title\" [innerHTML]=\"meta.title\"></h3>\n <div class=\"n7-item-preview__metadata-item {{ item.classes || '' }}\" *ngFor=\"let item of meta.items\">\n <span class=\"n7-item-preview__metadata-item-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-item-preview__metadata-item-label\" *ngIf=\"item.label\" [innerHTML]=\"item.label\"></span>\n <span class=\"n7-item-preview__metadata-item-value\" *ngIf=\"item.value\" [innerHTML]=\"item.value\"></span>\n </div>\n </div>\n </div>\n </div>\n </n7-anchor-wrapper>\n</div>\n" }]
|
|
1360
1405
|
}], propDecorators: { data: [{
|
|
@@ -1366,9 +1411,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1366
1411
|
//---------------------------
|
|
1367
1412
|
class LoaderComponent {
|
|
1368
1413
|
}
|
|
1369
|
-
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1370
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1414
|
+
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1415
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: LoaderComponent, selector: "n7-loader", inputs: { data: "data" }, ngImport: i0, template: "<div class=\"n7-loader {{ data && data.classes ? data.classes : '' }}\">\n Loading\n</div>" });
|
|
1416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
1372
1417
|
type: Component,
|
|
1373
1418
|
args: [{ selector: 'n7-loader', template: "<div class=\"n7-loader {{ data && data.classes ? data.classes : '' }}\">\n Loading\n</div>" }]
|
|
1374
1419
|
}], propDecorators: { data: [{
|
|
@@ -1423,9 +1468,9 @@ class MapComponent {
|
|
|
1423
1468
|
});
|
|
1424
1469
|
}
|
|
1425
1470
|
}
|
|
1426
|
-
MapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1427
|
-
MapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1471
|
+
MapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1472
|
+
MapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: MapComponent, selector: "n7-map", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-map\">\n <div class=\"n7-map__container\" [id]=\"data.containerId\"></div>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MapComponent, decorators: [{
|
|
1429
1474
|
type: Component,
|
|
1430
1475
|
args: [{ selector: 'n7-map', template: "<div *ngIf=\"data\" class=\"n7-map\">\n <div class=\"n7-map__container\" [id]=\"data.containerId\"></div>\n</div>\n" }]
|
|
1431
1476
|
}], propDecorators: { data: [{
|
|
@@ -1437,9 +1482,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1437
1482
|
//---------------------------
|
|
1438
1483
|
class MetadataViewerComponent {
|
|
1439
1484
|
}
|
|
1440
|
-
MetadataViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1441
|
-
MetadataViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1485
|
+
MetadataViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MetadataViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1486
|
+
MetadataViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-metadata-viewer\">\n <!-- Metadata groups wrapper -->\n <div class=\"n7-metadata-viewer__wrapper {{ data.classes || ''}}\"\n *ngFor=\"let grp of data.group\">\n <!-- For each data group, render it -->\n <ng-container *ngTemplateOutlet=\"group; context:{$implicit: grp}\"></ng-container>\n </div>\n</div>\n\n<!-- Template for Metadata.group -->\n<ng-template #group let-grp>\n <div *ngIf=\"grp.title || grp.items\" class=\"n7-metadata-viewer__group {{ grp.classes || '' }}\">\n <div class=\"n7-metadata-viewer__group-title\" *ngIf=\"grp.title\">{{grp.title}}</div>\n <div class=\"n7-metadata-viewer__group-content\" *ngIf=\"grp.items\">\n <div class=\"n7-metadata-viewer__item\" *ngFor=\"let i of grp.items\">\n <span *ngIf=\"i.label\" class=\"n7-metadata-viewer__item-label\">{{ i.label }}</span>\n <span *ngIf=\"i.value\" class=\"n7-metadata-viewer__item-value\" [innerHTML]=\"i.value\"></span>\n </div>\n </div>\n </div>\n <!-- Render all child groups -->\n <div *ngIf=\"grp.group\">\n <div class=\"n7-metadata-viewer__group-wrapper\"\n *ngFor=\"let grp of grp.group\">\n <ng-container *ngTemplateOutlet=\"group; context:{$implicit: grp}\"></ng-container>\n </div>\n </div>\n</ng-template>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MetadataViewerComponent, decorators: [{
|
|
1443
1488
|
type: Component,
|
|
1444
1489
|
args: [{ selector: 'n7-metadata-viewer', template: "<div *ngIf=\"data\" class=\"n7-metadata-viewer\">\n <!-- Metadata groups wrapper -->\n <div class=\"n7-metadata-viewer__wrapper {{ data.classes || ''}}\"\n *ngFor=\"let grp of data.group\">\n <!-- For each data group, render it -->\n <ng-container *ngTemplateOutlet=\"group; context:{$implicit: grp}\"></ng-container>\n </div>\n</div>\n\n<!-- Template for Metadata.group -->\n<ng-template #group let-grp>\n <div *ngIf=\"grp.title || grp.items\" class=\"n7-metadata-viewer__group {{ grp.classes || '' }}\">\n <div class=\"n7-metadata-viewer__group-title\" *ngIf=\"grp.title\">{{grp.title}}</div>\n <div class=\"n7-metadata-viewer__group-content\" *ngIf=\"grp.items\">\n <div class=\"n7-metadata-viewer__item\" *ngFor=\"let i of grp.items\">\n <span *ngIf=\"i.label\" class=\"n7-metadata-viewer__item-label\">{{ i.label }}</span>\n <span *ngIf=\"i.value\" class=\"n7-metadata-viewer__item-value\" [innerHTML]=\"i.value\"></span>\n </div>\n </div>\n </div>\n <!-- Render all child groups -->\n <div *ngIf=\"grp.group\">\n <div class=\"n7-metadata-viewer__group-wrapper\"\n *ngFor=\"let grp of grp.group\">\n <ng-container *ngTemplateOutlet=\"group; context:{$implicit: grp}\"></ng-container>\n </div>\n </div>\n</ng-template>" }]
|
|
1445
1490
|
}], propDecorators: { data: [{
|
|
@@ -1455,9 +1500,9 @@ class NavComponent {
|
|
|
1455
1500
|
this.emit('click', payload);
|
|
1456
1501
|
}
|
|
1457
1502
|
}
|
|
1458
|
-
NavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1459
|
-
NavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1503
|
+
NavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1504
|
+
NavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: NavComponent, selector: "n7-nav", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<nav class=\"n7-nav {{data.classes || ''}}\" *ngIf=\"data\">\n <ul class=\"n7-nav__list\">\n <n7-anchor-wrapper \n *ngFor=\"let item of data.items\"\n [data]=\"item.anchor\" \n [classes]=\"'n7-nav__link'\" \n (clicked)=\"onClick($event)\">\n <li class=\"n7-nav__item {{ item.classes || '' }}\">\n <img class=\"n7-nav__image\" *ngIf=\"item.image\" src=\"{{ item.image }}\">\n <span class=\"n7-nav__icon {{ item.icon }}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-nav__label\">{{ item.text }}</span>\n </li>\n </n7-anchor-wrapper>\n </ul>\n</nav>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NavComponent, decorators: [{
|
|
1461
1506
|
type: Component,
|
|
1462
1507
|
args: [{ selector: 'n7-nav', template: "<nav class=\"n7-nav {{data.classes || ''}}\" *ngIf=\"data\">\n <ul class=\"n7-nav__list\">\n <n7-anchor-wrapper \n *ngFor=\"let item of data.items\"\n [data]=\"item.anchor\" \n [classes]=\"'n7-nav__link'\" \n (clicked)=\"onClick($event)\">\n <li class=\"n7-nav__item {{ item.classes || '' }}\">\n <img class=\"n7-nav__image\" *ngIf=\"item.image\" src=\"{{ item.image }}\">\n <span class=\"n7-nav__icon {{ item.icon }}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-nav__label\">{{ item.text }}</span>\n </li>\n </n7-anchor-wrapper>\n </ul>\n</nav>" }]
|
|
1463
1508
|
}], propDecorators: { data: [{
|
|
@@ -1480,9 +1525,9 @@ class PaginationComponent {
|
|
|
1480
1525
|
this.emit('change', { inputPayload: payload, value });
|
|
1481
1526
|
}
|
|
1482
1527
|
}
|
|
1483
|
-
PaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1484
|
-
PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1528
|
+
PaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1529
|
+
PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: PaginationComponent, selector: "n7-pagination", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<nav class=\"n7-pagination {{data.classes || ''}}\" \n *ngIf=\"data\"\n [ngClass]=\"{ 'has-results-select' : data.select }\">\n <ul class=n7-pagination__items>\n\n <li class=\"n7-pagination__first {{data.first.classes || ''}}\" *ngIf=\"data.first\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'first',\n data: data.first,\n iconClass: 'n7-icon-angle-double-left'\n }\"></ng-container>\n </li>\n <li class=\"n7-pagination__prev {{data.prev.classes || ''}}\" *ngIf=\"data.prev\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'prev',\n data: data.prev,\n iconClass: 'n7-icon-angle-left'\n }\"></ng-container>\n </li>\n\n <li class=\"n7-pagination__page {{page.classes || ''}}\" *ngFor=\"let page of data.links\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'page',\n data: page,\n clicked: onClick\n }\"></ng-container>\n </li>\n\n <li class=\"n7-pagination__next {{data.next.classes || ''}}\" *ngIf=\"data.next\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'next',\n data: data.next,\n iconClass: 'n7-icon-angle-right'\n }\"></ng-container>\n </li>\n <li class=\"n7-pagination__last {{data.last.classes || ''}}\" *ngIf=\"data.last\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'last',\n data: data.last,\n iconClass: 'n7-icon-angle-double-right'\n }\"></ng-container>\n </li>\n </ul>\n \n <div class=\"n7-pagination__setting\"\n *ngIf=\"data.select\">\n <span class=\"n7-pagination__setting-label\"\n *ngIf=\"data.select.label\">\n {{data.select.label}}\n </span>\n <select *ngIf=\"data.select.options\" \n name=\"n7-pagination__select-size\" \n class=\"n7-pagination__setting-select\"\n (change)=\"onChange(data.select.payload, $event.target.value)\"\n [disabled]=\"data.select.disabled\">\n <option *ngFor=\"let opt of data.select.options\"\n [disabled]=\"opt.disabled\"\n [selected]=\"opt.selected\">\n {{opt.text}}\n </option>\n </select>\n </div>\n</nav>\n\n<ng-template #button let-type=\"type\" let-data=\"data\" let-clicked=\"clicked\" let-iconClass=\"iconClass\">\n <n7-anchor-wrapper \n [classes]=\"'n7-pagination__' + type + '-link' + (data.text ? ' has-text' : '')\" \n [data]=\"data.anchor\" \n (clicked)=\"onClick($event)\">\n <span class=\"n7-pagination__{{ type }}-label\" *ngIf=\"data.text\">\n {{ data.text }}\n </span>\n <span *ngIf=\"iconClass\" class=\"n7-pagination__{{ type }}-icon {{ iconClass }}\"></span>\n </n7-anchor-wrapper>\n</ng-template>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
1486
1531
|
type: Component,
|
|
1487
1532
|
args: [{ selector: 'n7-pagination', template: "<nav class=\"n7-pagination {{data.classes || ''}}\" \n *ngIf=\"data\"\n [ngClass]=\"{ 'has-results-select' : data.select }\">\n <ul class=n7-pagination__items>\n\n <li class=\"n7-pagination__first {{data.first.classes || ''}}\" *ngIf=\"data.first\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'first',\n data: data.first,\n iconClass: 'n7-icon-angle-double-left'\n }\"></ng-container>\n </li>\n <li class=\"n7-pagination__prev {{data.prev.classes || ''}}\" *ngIf=\"data.prev\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'prev',\n data: data.prev,\n iconClass: 'n7-icon-angle-left'\n }\"></ng-container>\n </li>\n\n <li class=\"n7-pagination__page {{page.classes || ''}}\" *ngFor=\"let page of data.links\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'page',\n data: page,\n clicked: onClick\n }\"></ng-container>\n </li>\n\n <li class=\"n7-pagination__next {{data.next.classes || ''}}\" *ngIf=\"data.next\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'next',\n data: data.next,\n iconClass: 'n7-icon-angle-right'\n }\"></ng-container>\n </li>\n <li class=\"n7-pagination__last {{data.last.classes || ''}}\" *ngIf=\"data.last\">\n <ng-container *ngTemplateOutlet=\"button; context: {\n type: 'last',\n data: data.last,\n iconClass: 'n7-icon-angle-double-right'\n }\"></ng-container>\n </li>\n </ul>\n \n <div class=\"n7-pagination__setting\"\n *ngIf=\"data.select\">\n <span class=\"n7-pagination__setting-label\"\n *ngIf=\"data.select.label\">\n {{data.select.label}}\n </span>\n <select *ngIf=\"data.select.options\" \n name=\"n7-pagination__select-size\" \n class=\"n7-pagination__setting-select\"\n (change)=\"onChange(data.select.payload, $event.target.value)\"\n [disabled]=\"data.select.disabled\">\n <option *ngFor=\"let opt of data.select.options\"\n [disabled]=\"opt.disabled\"\n [selected]=\"opt.selected\">\n {{opt.text}}\n </option>\n </select>\n </div>\n</nav>\n\n<ng-template #button let-type=\"type\" let-data=\"data\" let-clicked=\"clicked\" let-iconClass=\"iconClass\">\n <n7-anchor-wrapper \n [classes]=\"'n7-pagination__' + type + '-link' + (data.text ? ' has-text' : '')\" \n [data]=\"data.anchor\" \n (clicked)=\"onClick($event)\">\n <span class=\"n7-pagination__{{ type }}-label\" *ngIf=\"data.text\">\n {{ data.text }}\n </span>\n <span *ngIf=\"iconClass\" class=\"n7-pagination__{{ type }}-icon {{ iconClass }}\"></span>\n </n7-anchor-wrapper>\n</ng-template>" }]
|
|
1488
1533
|
}], propDecorators: { data: [{
|
|
@@ -1499,9 +1544,9 @@ class SidebarHeaderComponent {
|
|
|
1499
1544
|
this.emit('click', payload);
|
|
1500
1545
|
}
|
|
1501
1546
|
}
|
|
1502
|
-
SidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1503
|
-
SidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1547
|
+
SidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1548
|
+
SidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SidebarHeaderComponent, selector: "n7-sidebar-header", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-sidebar-header {{ data.classes || ''}}\">\n <span class=\"n7-sidebar-header__icon-left {{ data.iconLeft }}\" \n *ngIf=\"data.iconLeft\">\n </span>\n <span class=\"n7-sidebar-header__text-wrapper\"\n *ngIf=\"data.text || data.additionalText\">\n <span class=\"n7-sidebar-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-sidebar-header__secondary-text\" \n *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\"\n class=\"n7-sidebar-header__icon-right {{ data.iconRight }}\" \n (click)=\"onClick(data.payload)\"></span>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SidebarHeaderComponent, decorators: [{
|
|
1505
1550
|
type: Component,
|
|
1506
1551
|
args: [{ selector: 'n7-sidebar-header', template: "<div *ngIf=\"data\" class=\"n7-sidebar-header {{ data.classes || ''}}\">\n <span class=\"n7-sidebar-header__icon-left {{ data.iconLeft }}\" \n *ngIf=\"data.iconLeft\">\n </span>\n <span class=\"n7-sidebar-header__text-wrapper\"\n *ngIf=\"data.text || data.additionalText\">\n <span class=\"n7-sidebar-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-sidebar-header__secondary-text\" \n *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\"\n class=\"n7-sidebar-header__icon-right {{ data.iconRight }}\" \n (click)=\"onClick(data.payload)\"></span>\n</div>" }]
|
|
1507
1552
|
}], propDecorators: { data: [{
|
|
@@ -1538,9 +1583,9 @@ class SignupComponent {
|
|
|
1538
1583
|
this.emit('focusout', payload);
|
|
1539
1584
|
}
|
|
1540
1585
|
}
|
|
1541
|
-
SignupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1542
|
-
SignupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1586
|
+
SignupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SignupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1587
|
+
SignupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SignupComponent, selector: "n7-signup", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<!-- Signup: login -->\n<section *ngIf=\"data && data.login\" class=\"n7-signup n7-signup--login\">\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.login.email }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.login.password }\n \"></ng-container>\n <div *ngIf=\"data.login.forgotPassword\" class=\"n7-signup__form-item n7-signup__form-item-forgot-password\">\n <a (click)=\"onClick(data.login.forgotPassword.payload)\" title=\"{{ data.login.forgotPassword.title }}\"\n [attr.aria-label]=\"data.login.forgotPassword.title\">{{ data.login.forgotPassword.label }}</a>\n </div>\n <ng-container *ngTemplateOutlet=\"submit; context: { $implicit: data.login.submit }\"></ng-container>\n </form>\n <ng-container *ngTemplateOutlet=\"footer; context: { $implicit: data.login.footer }\"></ng-container>\n</section>\n\n<!-- Signup: signup -->\n<section *ngIf=\"data && data.signup\" class=\"n7-signup n7-signup--signup\">\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.signup.name }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.signup.email }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.signup.password }\n \"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.signup.rePassword }\n \"></ng-container>\n <ng-container *ngTemplateOutlet=\"submit; context: { $implicit: data.signup.submit }\"></ng-container>\n </form>\n <ng-container *ngTemplateOutlet=\"footer; context: { $implicit: data.signup.footer }\"></ng-container>\n</section>\n\n<!-- Signup: forgot password -->\n<section *ngIf=\"data && data.forgotPassword\" class=\"n7-signup n7-signup--forgot-password\">\n <p class=\"n7-signup__text\">\n {{ data.forgotPassword.description }}\n </p>\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"\n field;\n context: { $implicit: data.forgotPassword.email }\n \"></ng-container>\n\n <ng-container *ngTemplateOutlet=\"\n submit;\n context: { $implicit: data.forgotPassword.submit }\n \"></ng-container>\n\n <!-- hidden submit button to prevent submit on enter -->\n <button type=\"submit\" disabled style=\"display: none\" aria-hidden=\"true\"></button>\n </form>\n <ng-container *ngTemplateOutlet=\"\n footer;\n context: { $implicit: data.forgotPassword.footer }\n \"></ng-container>\n</section>\n\n<!-- Template: field -->\n<ng-template #field let-field>\n <div [ngClass]=\"{\n 'has-error': field.error,\n 'has-hint': field.hint\n }\" class=\"n7-signup__form-item {{ field.classes || '' }}\">\n <label class=\"n7-signup__form-item-label\" for=\"{{ field.id }}\">{{\n field.label\n }}</label>\n <div *ngIf=\"field.hint\" class=\"n7-signup__form-item-hint\">\n {{ field.hint }}\n </div>\n <div class=\"n7-signup__input-wrapper\">\n <input (focus)=\"onFocus(field.payload)\" (focusout)=\"onFocusOut(field.payload)\"\n (keyup.enter)=\"onInputEnter(field.payload, $event.target.value)\"\n (input)=\"onChange(field.payload, $event.target.value)\" class=\"n7-signup__form-item-input\"\n type=\"{{ field.inputType }}\" id=\"{{ field.id }}\" />\n </div>\n <div *ngIf=\"field.error\" class=\"n7-signup__form-error\">\n {{ field.error }}\n </div>\n </div>\n</ng-template>\n\n<!-- Template: password-field -->\n<ng-template #passwordField let-field>\n <div [ngClass]=\"{\n 'has-error': field.error,\n 'has-hint': field.hint\n }\" class=\"n7-signup__form-item {{ field.classes || '' }}\">\n <label class=\"n7-signup__form-item-label\" for=\"{{ field.id }}\">{{\n field.label\n }}</label>\n <div *ngIf=\"field.hint\" class=\"n7-signup__form-item-hint\">\n {{ field.hint }}\n </div>\n <div class=\"n7-signup__input-wrapper\">\n <input (focus)=\"onFocus(field.payload)\" (focusout)=\"onFocusOut(field.payload)\"\n (keyup.enter)=\"onInputEnter(field.payload, $event.target.value)\"\n (input)=\"onChange(field.payload, $event.target.value)\" class=\"n7-signup__form-item-input\"\n type=\"{{ field.inputType }}\" id=\"{{ field.id }}\" />\n <button *ngIf=\"field.show\" type=\"button\" (click)=\"onClick(field.show.payload)\"\n [attr.aria-label]=\"field.show.label\" class=\"n7-signup__form-item-show-password\">\n <i [attr.aria-label]=\"field.show.label\" class=\"{{ field.show.icon }}\"></i>\n </button>\n </div>\n <div *ngIf=\"field.error\" class=\"n7-signup__form-error\">\n {{ field.error }}\n </div>\n </div>\n</ng-template>\n\n<!-- Template: footer -->\n<ng-template #footer let-footer>\n <footer *ngIf=\"footer\" class=\"n7-signup__footer {{ footer.classes || '' }}\">\n <div class=\"n7-signup__footer-text\">{{ footer.label }}</div>\n <a *ngIf=\"footer.action\" (click)=\"onClick(footer.action.payload)\" title=\"{{ footer.action.label }}\"\n class=\"n7-btn\">{{ footer.action.label }}</a>\n </footer>\n</ng-template>\n\n<!-- Template: submit button -->\n<ng-template #submit let-submit>\n <div [ngClass]=\"{\n 'has-error': submit.error\n }\" class=\"n7-signup__form-item n7-signup__form-item-action {{\n submit.classes || ''\n }}\">\n <button type=\"button\" (click)=\"onClick(submit.payload)\" [attr.aria-label]=\"submit.label\"\n class=\"n7-btn n7-btn-cta\">\n {{ submit.label }}\n </button>\n <div *ngIf=\"submit.error\" class=\"n7-signup__form-error\">\n {{ submit.error }}\n </div>\n </div>\n</ng-template>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SignupComponent, decorators: [{
|
|
1544
1589
|
type: Component,
|
|
1545
1590
|
args: [{ selector: 'n7-signup', template: "<!-- Signup: login -->\n<section *ngIf=\"data && data.login\" class=\"n7-signup n7-signup--login\">\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.login.email }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.login.password }\n \"></ng-container>\n <div *ngIf=\"data.login.forgotPassword\" class=\"n7-signup__form-item n7-signup__form-item-forgot-password\">\n <a (click)=\"onClick(data.login.forgotPassword.payload)\" title=\"{{ data.login.forgotPassword.title }}\"\n [attr.aria-label]=\"data.login.forgotPassword.title\">{{ data.login.forgotPassword.label }}</a>\n </div>\n <ng-container *ngTemplateOutlet=\"submit; context: { $implicit: data.login.submit }\"></ng-container>\n </form>\n <ng-container *ngTemplateOutlet=\"footer; context: { $implicit: data.login.footer }\"></ng-container>\n</section>\n\n<!-- Signup: signup -->\n<section *ngIf=\"data && data.signup\" class=\"n7-signup n7-signup--signup\">\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.signup.name }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"field; context: { $implicit: data.signup.email }\"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.signup.password }\n \"></ng-container>\n <ng-container *ngTemplateOutlet=\"\n passwordField;\n context: { $implicit: data.signup.rePassword }\n \"></ng-container>\n <ng-container *ngTemplateOutlet=\"submit; context: { $implicit: data.signup.submit }\"></ng-container>\n </form>\n <ng-container *ngTemplateOutlet=\"footer; context: { $implicit: data.signup.footer }\"></ng-container>\n</section>\n\n<!-- Signup: forgot password -->\n<section *ngIf=\"data && data.forgotPassword\" class=\"n7-signup n7-signup--forgot-password\">\n <p class=\"n7-signup__text\">\n {{ data.forgotPassword.description }}\n </p>\n <form class=\"n7-signup__form\" novalidate>\n <ng-container *ngTemplateOutlet=\"\n field;\n context: { $implicit: data.forgotPassword.email }\n \"></ng-container>\n\n <ng-container *ngTemplateOutlet=\"\n submit;\n context: { $implicit: data.forgotPassword.submit }\n \"></ng-container>\n\n <!-- hidden submit button to prevent submit on enter -->\n <button type=\"submit\" disabled style=\"display: none\" aria-hidden=\"true\"></button>\n </form>\n <ng-container *ngTemplateOutlet=\"\n footer;\n context: { $implicit: data.forgotPassword.footer }\n \"></ng-container>\n</section>\n\n<!-- Template: field -->\n<ng-template #field let-field>\n <div [ngClass]=\"{\n 'has-error': field.error,\n 'has-hint': field.hint\n }\" class=\"n7-signup__form-item {{ field.classes || '' }}\">\n <label class=\"n7-signup__form-item-label\" for=\"{{ field.id }}\">{{\n field.label\n }}</label>\n <div *ngIf=\"field.hint\" class=\"n7-signup__form-item-hint\">\n {{ field.hint }}\n </div>\n <div class=\"n7-signup__input-wrapper\">\n <input (focus)=\"onFocus(field.payload)\" (focusout)=\"onFocusOut(field.payload)\"\n (keyup.enter)=\"onInputEnter(field.payload, $event.target.value)\"\n (input)=\"onChange(field.payload, $event.target.value)\" class=\"n7-signup__form-item-input\"\n type=\"{{ field.inputType }}\" id=\"{{ field.id }}\" />\n </div>\n <div *ngIf=\"field.error\" class=\"n7-signup__form-error\">\n {{ field.error }}\n </div>\n </div>\n</ng-template>\n\n<!-- Template: password-field -->\n<ng-template #passwordField let-field>\n <div [ngClass]=\"{\n 'has-error': field.error,\n 'has-hint': field.hint\n }\" class=\"n7-signup__form-item {{ field.classes || '' }}\">\n <label class=\"n7-signup__form-item-label\" for=\"{{ field.id }}\">{{\n field.label\n }}</label>\n <div *ngIf=\"field.hint\" class=\"n7-signup__form-item-hint\">\n {{ field.hint }}\n </div>\n <div class=\"n7-signup__input-wrapper\">\n <input (focus)=\"onFocus(field.payload)\" (focusout)=\"onFocusOut(field.payload)\"\n (keyup.enter)=\"onInputEnter(field.payload, $event.target.value)\"\n (input)=\"onChange(field.payload, $event.target.value)\" class=\"n7-signup__form-item-input\"\n type=\"{{ field.inputType }}\" id=\"{{ field.id }}\" />\n <button *ngIf=\"field.show\" type=\"button\" (click)=\"onClick(field.show.payload)\"\n [attr.aria-label]=\"field.show.label\" class=\"n7-signup__form-item-show-password\">\n <i [attr.aria-label]=\"field.show.label\" class=\"{{ field.show.icon }}\"></i>\n </button>\n </div>\n <div *ngIf=\"field.error\" class=\"n7-signup__form-error\">\n {{ field.error }}\n </div>\n </div>\n</ng-template>\n\n<!-- Template: footer -->\n<ng-template #footer let-footer>\n <footer *ngIf=\"footer\" class=\"n7-signup__footer {{ footer.classes || '' }}\">\n <div class=\"n7-signup__footer-text\">{{ footer.label }}</div>\n <a *ngIf=\"footer.action\" (click)=\"onClick(footer.action.payload)\" title=\"{{ footer.action.label }}\"\n class=\"n7-btn\">{{ footer.action.label }}</a>\n </footer>\n</ng-template>\n\n<!-- Template: submit button -->\n<ng-template #submit let-submit>\n <div [ngClass]=\"{\n 'has-error': submit.error\n }\" class=\"n7-signup__form-item n7-signup__form-item-action {{\n submit.classes || ''\n }}\">\n <button type=\"button\" (click)=\"onClick(submit.payload)\" [attr.aria-label]=\"submit.label\"\n class=\"n7-btn n7-btn-cta\">\n {{ submit.label }}\n </button>\n <div *ngIf=\"submit.error\" class=\"n7-signup__form-error\">\n {{ submit.error }}\n </div>\n </div>\n</ng-template>" }]
|
|
1546
1591
|
}], propDecorators: { data: [{
|
|
@@ -1557,9 +1602,9 @@ class SimpleAutocompleteComponent {
|
|
|
1557
1602
|
this.emit('click', payload);
|
|
1558
1603
|
}
|
|
1559
1604
|
}
|
|
1560
|
-
SimpleAutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1561
|
-
SimpleAutocompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1605
|
+
SimpleAutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SimpleAutocompleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1606
|
+
SimpleAutocompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SimpleAutocompleteComponent, selector: "n7-simple-autocomplete", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-simple-autocomplete\">\n <ul class=\"n7-simple-autocomplete__list {{data.classes || ''}}\">\n <li *ngFor=\"let suggestion of data.suggestion\" \n class=\"n7-simple-autocomplete__item\">\n <n7-anchor-wrapper\n [classes]=\"'n7-simple-autocomplete__link'\"\n [data]=\"suggestion.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-simple-autocomplete__label\" [innerHTML]=\"suggestion.text\"></span>\n </n7-anchor-wrapper>\n </li>\n </ul> \n</div>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SimpleAutocompleteComponent, decorators: [{
|
|
1563
1608
|
type: Component,
|
|
1564
1609
|
args: [{ selector: 'n7-simple-autocomplete', template: "<div *ngIf=\"data\" class=\"n7-simple-autocomplete\">\n <ul class=\"n7-simple-autocomplete__list {{data.classes || ''}}\">\n <li *ngFor=\"let suggestion of data.suggestion\" \n class=\"n7-simple-autocomplete__item\">\n <n7-anchor-wrapper\n [classes]=\"'n7-simple-autocomplete__link'\"\n [data]=\"suggestion.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-simple-autocomplete__label\" [innerHTML]=\"suggestion.text\"></span>\n </n7-anchor-wrapper>\n </li>\n </ul> \n</div>" }]
|
|
1565
1610
|
}], propDecorators: { data: [{
|
|
@@ -1587,9 +1632,9 @@ class TableComponent {
|
|
|
1587
1632
|
this.emit('inputtextchange', textChangePayload);
|
|
1588
1633
|
}
|
|
1589
1634
|
}
|
|
1590
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1591
|
-
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1635
|
+
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1636
|
+
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TableComponent, selector: "n7-table", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<section class=\"n7-table {{data.classes || ''}}\" *ngIf=\"data\">\n <table class=\"n7-table__table\">\n \t<thead class=\"n7-table__table-header\" *ngIf=\"data.head\">\n <tr class=\"n7-table__table-header-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.head\">\n <th class=\"n7-table__table-header-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells\"\n (click)=\"onCellClick(cell.payload)\"\n [innerHTML]=\"cell.content\">\n </th>\n </tr>\n </thead>\n\n <tbody class=\"n7-table__table-body\" *ngIf=\"data.body\">\n <tr class=\"n7-table__table-body-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.body\">\n <td class=\"n7-table__table-body-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells; let i = index\"\n (click)=\"onCellClick(cell.payload)\"\n (dblclick)=\"onCellDblClick(cell.payload)\"\n [attr.aria-label]=\"data.head[0].cells[i].content\"\n >\n <span class=\"n7-table__table-body-cell-innerhtml\"\n *ngIf=\"!cell.type || cell.type=='html'\"\n [innerHTML]=\"cell.content\"></span>\n <input class=\"n7-table__table-body-cell-inputtext\"\n *ngIf=\"cell.type=='input:text'\"\n type=\"text\" placeholder=\"{{cell.content}}\"\n id=\"{{cell._meta.inputId}}\"\n (keyup.enter)=\"onInputTextChange(cell.payload, $event.target.value)\"/> \n </td>\n </tr>\n </tbody>\n\n <tfoot class=\"n7-table__table-footer\" *ngIf=\"data.foot\">\n <tr class=\"n7-table__table-footer-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.foot\">\n <td class=\"n7-table__table-footer-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells\"\n (click)=\"onCellClick(cell.payload)\"\n [innerHTML]=\"cell.content\">\n </td>\n </tr>\n </tfoot> \n \t </table> \n</section>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TableComponent, decorators: [{
|
|
1593
1638
|
type: Component,
|
|
1594
1639
|
args: [{ selector: 'n7-table', template: "<section class=\"n7-table {{data.classes || ''}}\" *ngIf=\"data\">\n <table class=\"n7-table__table\">\n \t<thead class=\"n7-table__table-header\" *ngIf=\"data.head\">\n <tr class=\"n7-table__table-header-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.head\">\n <th class=\"n7-table__table-header-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells\"\n (click)=\"onCellClick(cell.payload)\"\n [innerHTML]=\"cell.content\">\n </th>\n </tr>\n </thead>\n\n <tbody class=\"n7-table__table-body\" *ngIf=\"data.body\">\n <tr class=\"n7-table__table-body-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.body\">\n <td class=\"n7-table__table-body-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells; let i = index\"\n (click)=\"onCellClick(cell.payload)\"\n (dblclick)=\"onCellDblClick(cell.payload)\"\n [attr.aria-label]=\"data.head[0].cells[i].content\"\n >\n <span class=\"n7-table__table-body-cell-innerhtml\"\n *ngIf=\"!cell.type || cell.type=='html'\"\n [innerHTML]=\"cell.content\"></span>\n <input class=\"n7-table__table-body-cell-inputtext\"\n *ngIf=\"cell.type=='input:text'\"\n type=\"text\" placeholder=\"{{cell.content}}\"\n id=\"{{cell._meta.inputId}}\"\n (keyup.enter)=\"onInputTextChange(cell.payload, $event.target.value)\"/> \n </td>\n </tr>\n </tbody>\n\n <tfoot class=\"n7-table__table-footer\" *ngIf=\"data.foot\">\n <tr class=\"n7-table__table-footer-row {{row.classes || ''}}\"\n *ngFor=\"let row of data.foot\">\n <td class=\"n7-table__table-footer-cell {{cell.classes || ''}}\"\n *ngFor=\"let cell of row.cells\"\n (click)=\"onCellClick(cell.payload)\"\n [innerHTML]=\"cell.content\">\n </td>\n </tr>\n </tfoot> \n \t </table> \n</section>\n" }]
|
|
1595
1640
|
}], propDecorators: { data: [{
|
|
@@ -1600,6 +1645,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1600
1645
|
|
|
1601
1646
|
//---------------------------
|
|
1602
1647
|
class TextViewerComponent {
|
|
1648
|
+
constructor() {
|
|
1649
|
+
this.isDisplayed = false;
|
|
1650
|
+
}
|
|
1603
1651
|
ngOnInit() {
|
|
1604
1652
|
if (!TextViewerComponent._loaded) {
|
|
1605
1653
|
const s = document.createElement('script');
|
|
@@ -1609,6 +1657,13 @@ class TextViewerComponent {
|
|
|
1609
1657
|
document.head.appendChild(s);
|
|
1610
1658
|
}
|
|
1611
1659
|
}
|
|
1660
|
+
displayIndex() {
|
|
1661
|
+
if (this.isDisplayed === false) {
|
|
1662
|
+
this.isDisplayed = true;
|
|
1663
|
+
}
|
|
1664
|
+
else
|
|
1665
|
+
this.isDisplayed = false;
|
|
1666
|
+
}
|
|
1612
1667
|
onScriptLoaded() {
|
|
1613
1668
|
TextViewerComponent._loaded = true;
|
|
1614
1669
|
}
|
|
@@ -1619,11 +1674,11 @@ class TextViewerComponent {
|
|
|
1619
1674
|
}
|
|
1620
1675
|
}
|
|
1621
1676
|
TextViewerComponent._loaded = false;
|
|
1622
|
-
TextViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1623
|
-
TextViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TextViewerComponent, selector: "n7-text-viewer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<!-- NEW -->\n<div\n class=\"n7-text-viewer {{data.classes || ''}}\"\n *ngIf=\"data && data.endpoint\"\n>\n <pb-page [attr.endpoint]=\"data.endpoint\" api-version=\"1.0.0\">\n <!-- <pb-load url=\"api/search\"></pb-load> -->\n <pb-document\n *ngFor=\"let doc of data.docs\"\n [path]=\"doc.xml\"\n [odd]=\"doc.odd\"\n [id]=\"doc.id\"\n >\n </pb-document>\n \n <!-- <pb-load url=\"api/mrcsearch?query=lepre&collection=murucademo\"></pb-load> -->\n\n <app-drawer-layout force-narrow=\"force-narrow\" narrow=\"\">\n <app-header-layout>\n <app-header\n fixed=\"fixed\"\n data-template=\"browse:fix-links\"\n style=\"\n transition-duration: 0ms;\n transform: translate3d(0px, 0px, 0px);\n left: 0px;\n right: 0.399994px;\n \"\n >\n <!-- <pb-login id=\"loginElem\" auto=\"false\"></pb-login> -->\n <app-toolbar\n class=\"toolbar\"\n sticky=\"sticky\"\n style=\"transform: translate3d(0px, 0px, 0px)\"\n >\n <paper-icon-button\n id=\"tocToggle\"\n class=\"toc-toggle\"\n icon=\"icons:view-list\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n\n <pb-toggle-feature *ngIf=\"data.docs.length === 1\"\n name=\"highlight1\"\n selector=\"tei-app,pb-popover,pb-highlight\"\n default=\"off\"\n action=\"disable\"\n emit=\"transcription\"\n subscribe=\"transcription\"\n >\n <pb-i18n key=\"document.plain\">Plain Reading View</pb-i18n>\n </pb-toggle-feature>\n\n <pb-zoom\n emit=\"transcription\"\n direction=\"in\"\n icon=\"icons:zoom-in\"\n ></pb-zoom>\n <pb-zoom\n emit=\"transcription\"\n direction=\"out\"\n icon=\"icons:zoom-out\"\n ></pb-zoom>\n <!-- *ngIf=\"data.docs.length > 1\" -->\n <pb-select-feature *ngIf=\"data.docs.length > 1\"\n id=\"select-view1\"\n name=\"view1\"\n label=\"View\"\n items='[\n {\"name\": \"View All Named Entities\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": false}]},\n {\"name\": \"View People\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": true}]},\n {\"name\": \"View Places\", \"selectors\": [{\"selector\": \".place\", \"state\": false}, {\"selector\": \".person\", \"state\": true}]}\n ]'\n subscribe=\"addChannel\"\n emit=\"addChannel\"\n ></pb-select-feature>\n \n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"epub\"\n [src]=\"data.docs[0].id\"\n dialog=\"downloadDialog\"\n title=\"Download ePub\"\n >\n <paper-button raised=\"\">Download ePub</paper-button>\n </pb-download>\n\n\n \n <!-- <pb-search id=\"search-form\" action=\"search.search\" submitOnLoad=\"true\" data-template=\"pages:parse-params\">\n <div class=\"buttons\">\n <paper-button slot=\"searchButton\"><pb-i18n key=\"search.search\"></pb-i18n></paper-button>\n <paper-button slot=\"resetButton\"><pb-i18n key=\"search.reset\"></pb-i18n></paper-button>\n </div>\n </pb-search>\n <pb-load class=\"hidden\" url=\"api/search?query=Accompagnati&da&Alchifa&action=search\" auto=\"true\"></pb-load> -->\n \n \n \n <ng-container *ngIf=\"!data.docs[0].translation\">\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"left\"\n subscribe=\"transcription\"\n direction=\"backward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-left\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"right\"\n subscribe=\"transcription\"\n direction=\"forward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-right\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n </ng-container>\n\n <pb-progress\n subscribe=\"transcription\"\n indeterminate=\"\"\n bottom-item=\"bottom-item\"\n style=\"visibility: hidden\"\n ></pb-progress>\n </app-toolbar>\n </app-header>\n <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <!-- <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n > -->\n </div>\n </pb-drawer>\n <main class=\"content-body\">\n <pb-facsimile\n *ngIf=\"data.facsimile\"\n id=\"facsimile\"\n [attr.base-uri]=\"data.facsimile.uri\"\n subscribe=\"transcription\"\n default-zoom-level=\"0\"\n show-navigation-control=\"show-navigation-control\"\n show-navigator=\"show-navigator\"\n >\n </pb-facsimile>\n <ng-container *ngFor=\"let doc of data.docs; index as $i;\">\n <!-- NO CHANNEL -->\n <pb-view\n *ngIf=\"!doc.channel\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n subscribe=\"transcription\"\n emit=\"transcription\"\n [attr.wait-for]=\"data.facsimile ? '#facsimile' : null\"\n column-separator=\".tei-cb\"\n append-footnotes=\"append-footnotes\"\n view=\"{{ doc.view }}\"\n ></pb-view>\n <!-- WITH CHANNEL / MURUCA DEMO -->\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"//text[@type='source']\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n </pb-view>\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"{{ doc.xpath }}\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n <!-- WITH CHANNEL / addChannel -->\n <pb-view\n *ngIf=\"doc.channel && !doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n emit=\"addChannel\"\n subscribe=\"addChannel\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n </ng-container>\n </main>\n </app-header-layout>\n </app-drawer-layout>\n </pb-page>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1677
|
+
TextViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TextViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1678
|
+
TextViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TextViewerComponent, selector: "n7-text-viewer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<!-- NEW -->\n<div\n class=\"n7-text-viewer {{data.classes || ''}}\"\n *ngIf=\"data && data.endpoint\"\n>\n <pb-page [attr.endpoint]=\"data.endpoint\" api-version=\"1.0.0\">\n <!-- <pb-load url=\"api/search\"></pb-load> -->\n <pb-document\n *ngFor=\"let doc of data.docs\"\n [path]=\"doc.xml\"\n [odd]=\"doc.odd\"\n [id]=\"doc.id\"\n >\n </pb-document>\n\n <!-- <pb-load url=\"api/mrcsearch?query=lepre&collection=murucademo\"></pb-load> -->\n\n <app-drawer-layout force-narrow=\"force-narrow\" narrow=\"\">\n <app-header-layout>\n <app-header\n fixed=\"fixed\"\n data-template=\"browse:fix-links\"\n style=\"\n transition-duration: 0ms;\n transform: translate3d(0px, 0px, 0px);\n left: 0px;\n right: 0.399994px;\n \"\n >\n <!-- <pb-login id=\"loginElem\" auto=\"false\"></pb-login> -->\n <app-toolbar\n class=\"toolbar\"\n sticky=\"sticky\"\n style=\"transform: translate3d(0px, 0px, 0px)\"\n >\n <paper-icon-button\n id=\"tocToggle\"\n class=\"toc-toggle\"\n icon=\"icons:view-list\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n\n <pb-toggle-feature\n *ngIf=\"data.docs.length === 1\"\n name=\"highlight1\"\n selector=\"tei-app,pb-popover,pb-highlight\"\n default=\"off\"\n action=\"disable\"\n emit=\"transcription\"\n subscribe=\"transcription\"\n >\n <pb-i18n key=\"document.plain\">Plain Reading View</pb-i18n>\n </pb-toggle-feature>\n\n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"epub\"\n [src]=\"data.docs[0].id\"\n [url]=\"data.docs[0].download\"\n dialog=\"downloadDialog\"\n title=\"Download ePub\"\n >\n <paper-button raised=\"\">Download eBook</paper-button>\n </pb-download>\n\n <!-- <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"txt\"\n [src]=\"data.docs[0].id\"\n url=\"https://www.gutenberg.org/cache/epub/67735/pg67735.txt\"\n dialog=\"downloadDialog\"\n title=\"Download TXT\"\n >\n <paper-button raised=\"\">Download TXT</paper-button>\n </pb-download>\n\n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"xml\"\n [src]=\"data.docs[0].id\"\n url=\"https://www.gutenberg.org/cache/epub/67735/pg67735.txt\"\n dialog=\"downloadDialog\"\n title=\"Download XML\"\n >\n <paper-button raised=\"\">Download XML</paper-button>\n </pb-download> -->\n\n <pb-zoom\n emit=\"transcription\"\n direction=\"in\"\n icon=\"icons:zoom-in\"\n ></pb-zoom>\n <pb-zoom\n emit=\"transcription\"\n direction=\"out\"\n icon=\"icons:zoom-out\"\n ></pb-zoom>\n\n <ng-container *ngIf=\"!data.docs[0].translation\">\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"left\"\n subscribe=\"transcription\"\n direction=\"backward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-left\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"right\"\n subscribe=\"transcription\"\n direction=\"forward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-right\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n </ng-container>\n\n <!-- *ngIf=\"data.docs.length > 1\" -->\n <pb-select-feature\n *ngIf=\"data.docs.length > 1\"\n id=\"select-view2\"\n name=\"view2\"\n label=\"View\"\n items='[\n {\"name\": \"View All Named Entities\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": false}]},\n {\"name\": \"View People\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": true}]},\n {\"name\": \"View Places\", \"selectors\": [{\"selector\": \".place\", \"state\": false}, {\"selector\": \".person\", \"state\": true}]}\n ]'\n subscribe=\"addChannel\"\n emit=\"addChannel\"\n ></pb-select-feature>\n\n \n <ng-container *ngIf=\"data.docs.length > 1 && data.docs[0].channel && data.facsimile\">\n <paper-button raised=\"\" (click)=\"displayIndex()\"\n >{{ !isDisplayed ? 'Mostra nomi / luoghi / motivi' : 'Nascondi nomi / luoghi / motivi'\n }}</paper-button\n >\n </ng-container>\n \n\n <!-- <pb-search id=\"search-form\" action=\"search.search\" submitOnLoad=\"true\" data-template=\"pages:parse-params\">\n <div class=\"buttons\">\n <paper-button slot=\"searchButton\"><pb-i18n key=\"search.search\"></pb-i18n></paper-button>\n <paper-button slot=\"resetButton\"><pb-i18n key=\"search.reset\"></pb-i18n></paper-button>\n </div>\n </pb-search>\n <pb-load class=\"hidden\" url=\"api/search?query=Accompagnati&da&Alchifa&action=search\" auto=\"true\"></pb-load> -->\n\n \n\n <pb-progress\n subscribe=\"transcription\"\n indeterminate=\"\"\n bottom-item=\"bottom-item\"\n style=\"visibility: hidden\"\n ></pb-progress>\n </app-toolbar>\n </app-header>\n <!-- <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n >\n </div>\n </pb-drawer> -->\n <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n >\n </div>\n </pb-drawer>\n <main class=\"content-body\">\n <pb-facsimile\n *ngIf=\"data.facsimile\"\n id=\"facsimile\"\n [attr.base-uri]=\"data.facsimile.uri\"\n subscribe=\"transcription\"\n default-zoom-level=\"0\"\n show-navigation-control=\"show-navigation-control\"\n show-navigator=\"show-navigator\"\n >\n </pb-facsimile>\n <ng-container *ngFor=\"let doc of data.docs; index as $i;\">\n <!-- NO CHANNEL -->\n <pb-view\n *ngIf=\"!doc.channel\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n subscribe=\"transcription\"\n emit=\"transcription\"\n [attr.wait-for]=\"data.facsimile ? '#facsimile' : null\"\n column-separator=\".tei-cb\"\n append-footnotes=\"append-footnotes\"\n view=\"{{ doc.view }}\"\n ></pb-view>\n <!-- WITH CHANNEL / MURUCA DEMO -->\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"//text[@type='source']\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n </pb-view>\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"{{ doc.xpath }}\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n <!-- WITH CHANNEL / addChannel -->\n <pb-view\n *ngIf=\"doc.channel && !doc.translation\"\n (click)=\"displayIndex()\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n [odd]=\"doc.odd\"\n emit=\"addChannel\"\n subscribe=\"addChannel\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n\n <ng-container\n *ngIf=\"doc.channel && !doc.translation\"\n >\n <!-- -->\n <pb-view\n [hidden]=\"!isDisplayed\"\n *ngIf=\"doc.channel && !doc.translation\"\n [src]=\"doc.id\"\n [odd]=\"doc.odd\"\n subscribe=\"index\"\n emit=\"letter\"\n >\n <pb-param name=\"mode\" value=\"facets\"></pb-param>\n </pb-view>\n <!-- -->\n </ng-container>\n </ng-container>\n </main>\n </app-header-layout>\n </app-drawer-layout>\n </pb-page>\n</div>\n\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TextViewerComponent, decorators: [{
|
|
1625
1680
|
type: Component,
|
|
1626
|
-
args: [{ selector: 'n7-text-viewer', template: "<!-- NEW -->\n<div\n class=\"n7-text-viewer {{data.classes || ''}}\"\n *ngIf=\"data && data.endpoint\"\n>\n <pb-page [attr.endpoint]=\"data.endpoint\" api-version=\"1.0.0\">\n <!-- <pb-load url=\"api/search\"></pb-load> -->\n <pb-document\n *ngFor=\"let doc of data.docs\"\n [path]=\"doc.xml\"\n [odd]=\"doc.odd\"\n [id]=\"doc.id\"\n >\n </pb-document>\n \n <!-- <pb-load url=\"api/mrcsearch?query=lepre&collection=murucademo\"></pb-load> -->\n\n <app-drawer-layout force-narrow=\"force-narrow\" narrow=\"\">\n <app-header-layout>\n <app-header\n fixed=\"fixed\"\n data-template=\"browse:fix-links\"\n style=\"\n transition-duration: 0ms;\n transform: translate3d(0px, 0px, 0px);\n left: 0px;\n right: 0.399994px;\n \"\n >\n <!-- <pb-login id=\"loginElem\" auto=\"false\"></pb-login> -->\n <app-toolbar\n class=\"toolbar\"\n sticky=\"sticky\"\n style=\"transform: translate3d(0px, 0px, 0px)\"\n >\n <paper-icon-button\n id=\"tocToggle\"\n class=\"toc-toggle\"\n icon=\"icons:view-list\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n\n <pb-toggle-feature *ngIf=\"data.docs.length === 1\"\n name=\"highlight1\"\n selector=\"tei-app,pb-popover,pb-highlight\"\n default=\"off\"\n action=\"disable\"\n emit=\"transcription\"\n subscribe=\"transcription\"\n >\n <pb-i18n key=\"document.plain\">Plain Reading View</pb-i18n>\n </pb-toggle-feature>\n\n <pb-zoom\n emit=\"transcription\"\n direction=\"in\"\n icon=\"icons:zoom-in\"\n ></pb-zoom>\n <pb-zoom\n emit=\"transcription\"\n direction=\"out\"\n icon=\"icons:zoom-out\"\n ></pb-zoom>\n <!-- *ngIf=\"data.docs.length > 1\" -->\n <pb-select-feature *ngIf=\"data.docs.length > 1\"\n id=\"select-view1\"\n name=\"view1\"\n label=\"View\"\n items='[\n {\"name\": \"View All Named Entities\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": false}]},\n {\"name\": \"View People\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": true}]},\n {\"name\": \"View Places\", \"selectors\": [{\"selector\": \".place\", \"state\": false}, {\"selector\": \".person\", \"state\": true}]}\n ]'\n subscribe=\"addChannel\"\n emit=\"addChannel\"\n ></pb-select-feature>\n \n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"epub\"\n [src]=\"data.docs[0].id\"\n dialog=\"downloadDialog\"\n title=\"Download ePub\"\n >\n <paper-button raised=\"\">Download ePub</paper-button>\n </pb-download>\n\n\n \n <!-- <pb-search id=\"search-form\" action=\"search.search\" submitOnLoad=\"true\" data-template=\"pages:parse-params\">\n <div class=\"buttons\">\n <paper-button slot=\"searchButton\"><pb-i18n key=\"search.search\"></pb-i18n></paper-button>\n <paper-button slot=\"resetButton\"><pb-i18n key=\"search.reset\"></pb-i18n></paper-button>\n </div>\n </pb-search>\n <pb-load class=\"hidden\" url=\"api/search?query=Accompagnati&da&Alchifa&action=search\" auto=\"true\"></pb-load> -->\n \n \n \n <ng-container *ngIf=\"!data.docs[0].translation\">\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"left\"\n subscribe=\"transcription\"\n direction=\"backward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-left\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"right\"\n subscribe=\"transcription\"\n direction=\"forward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-right\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n </ng-container>\n\n <pb-progress\n subscribe=\"transcription\"\n indeterminate=\"\"\n bottom-item=\"bottom-item\"\n style=\"visibility: hidden\"\n ></pb-progress>\n </app-toolbar>\n </app-header>\n <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <!-- <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n > -->\n </div>\n </pb-drawer>\n <main class=\"content-body\">\n <pb-facsimile\n *ngIf=\"data.facsimile\"\n id=\"facsimile\"\n [attr.base-uri]=\"data.facsimile.uri\"\n subscribe=\"transcription\"\n default-zoom-level=\"0\"\n show-navigation-control=\"show-navigation-control\"\n show-navigator=\"show-navigator\"\n >\n </pb-facsimile>\n <ng-container *ngFor=\"let doc of data.docs; index as $i;\">\n <!-- NO CHANNEL -->\n <pb-view\n *ngIf=\"!doc.channel\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n subscribe=\"transcription\"\n emit=\"transcription\"\n [attr.wait-for]=\"data.facsimile ? '#facsimile' : null\"\n column-separator=\".tei-cb\"\n append-footnotes=\"append-footnotes\"\n view=\"{{ doc.view }}\"\n ></pb-view>\n <!-- WITH CHANNEL / MURUCA DEMO -->\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"//text[@type='source']\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n </pb-view>\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"{{ doc.xpath }}\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n <!-- WITH CHANNEL / addChannel -->\n <pb-view\n *ngIf=\"doc.channel && !doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n emit=\"addChannel\"\n subscribe=\"addChannel\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n </ng-container>\n </main>\n </app-header-layout>\n </app-drawer-layout>\n </pb-page>\n</div>\n" }]
|
|
1681
|
+
args: [{ selector: 'n7-text-viewer', template: "<!-- NEW -->\n<div\n class=\"n7-text-viewer {{data.classes || ''}}\"\n *ngIf=\"data && data.endpoint\"\n>\n <pb-page [attr.endpoint]=\"data.endpoint\" api-version=\"1.0.0\">\n <!-- <pb-load url=\"api/search\"></pb-load> -->\n <pb-document\n *ngFor=\"let doc of data.docs\"\n [path]=\"doc.xml\"\n [odd]=\"doc.odd\"\n [id]=\"doc.id\"\n >\n </pb-document>\n\n <!-- <pb-load url=\"api/mrcsearch?query=lepre&collection=murucademo\"></pb-load> -->\n\n <app-drawer-layout force-narrow=\"force-narrow\" narrow=\"\">\n <app-header-layout>\n <app-header\n fixed=\"fixed\"\n data-template=\"browse:fix-links\"\n style=\"\n transition-duration: 0ms;\n transform: translate3d(0px, 0px, 0px);\n left: 0px;\n right: 0.399994px;\n \"\n >\n <!-- <pb-login id=\"loginElem\" auto=\"false\"></pb-login> -->\n <app-toolbar\n class=\"toolbar\"\n sticky=\"sticky\"\n style=\"transform: translate3d(0px, 0px, 0px)\"\n >\n <paper-icon-button\n id=\"tocToggle\"\n class=\"toc-toggle\"\n icon=\"icons:view-list\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n\n <pb-toggle-feature\n *ngIf=\"data.docs.length === 1\"\n name=\"highlight1\"\n selector=\"tei-app,pb-popover,pb-highlight\"\n default=\"off\"\n action=\"disable\"\n emit=\"transcription\"\n subscribe=\"transcription\"\n >\n <pb-i18n key=\"document.plain\">Plain Reading View</pb-i18n>\n </pb-toggle-feature>\n\n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"epub\"\n [src]=\"data.docs[0].id\"\n [url]=\"data.docs[0].download\"\n dialog=\"downloadDialog\"\n title=\"Download ePub\"\n >\n <paper-button raised=\"\">Download eBook</paper-button>\n </pb-download>\n\n <!-- <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"txt\"\n [src]=\"data.docs[0].id\"\n url=\"https://www.gutenberg.org/cache/epub/67735/pg67735.txt\"\n dialog=\"downloadDialog\"\n title=\"Download TXT\"\n >\n <paper-button raised=\"\">Download TXT</paper-button>\n </pb-download>\n\n <pb-download\n *ngIf=\"data.docs && data.docs.length > 1\"\n type=\"xml\"\n [src]=\"data.docs[0].id\"\n url=\"https://www.gutenberg.org/cache/epub/67735/pg67735.txt\"\n dialog=\"downloadDialog\"\n title=\"Download XML\"\n >\n <paper-button raised=\"\">Download XML</paper-button>\n </pb-download> -->\n\n <pb-zoom\n emit=\"transcription\"\n direction=\"in\"\n icon=\"icons:zoom-in\"\n ></pb-zoom>\n <pb-zoom\n emit=\"transcription\"\n direction=\"out\"\n icon=\"icons:zoom-out\"\n ></pb-zoom>\n\n <ng-container *ngIf=\"!data.docs[0].translation\">\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"left\"\n subscribe=\"transcription\"\n direction=\"backward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-left\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n <pb-navigation\n emit=\"transcription\"\n keyboard=\"right\"\n subscribe=\"transcription\"\n direction=\"forward\"\n unit=\"page\"\n >\n <paper-icon-button\n icon=\"icons:chevron-right\"\n role=\"button\"\n tabindex=\"0\"\n aria-disabled=\"false\"\n ></paper-icon-button>\n </pb-navigation>\n </ng-container>\n\n <!-- *ngIf=\"data.docs.length > 1\" -->\n <pb-select-feature\n *ngIf=\"data.docs.length > 1\"\n id=\"select-view2\"\n name=\"view2\"\n label=\"View\"\n items='[\n {\"name\": \"View All Named Entities\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": false}]},\n {\"name\": \"View People\", \"selectors\": [{\"selector\": \".person\", \"state\": false}, {\"selector\": \".place\", \"state\": true}]},\n {\"name\": \"View Places\", \"selectors\": [{\"selector\": \".place\", \"state\": false}, {\"selector\": \".person\", \"state\": true}]}\n ]'\n subscribe=\"addChannel\"\n emit=\"addChannel\"\n ></pb-select-feature>\n\n \n <ng-container *ngIf=\"data.docs.length > 1 && data.docs[0].channel && data.facsimile\">\n <paper-button raised=\"\" (click)=\"displayIndex()\"\n >{{ !isDisplayed ? 'Mostra nomi / luoghi / motivi' : 'Nascondi nomi / luoghi / motivi'\n }}</paper-button\n >\n </ng-container>\n \n\n <!-- <pb-search id=\"search-form\" action=\"search.search\" submitOnLoad=\"true\" data-template=\"pages:parse-params\">\n <div class=\"buttons\">\n <paper-button slot=\"searchButton\"><pb-i18n key=\"search.search\"></pb-i18n></paper-button>\n <paper-button slot=\"resetButton\"><pb-i18n key=\"search.reset\"></pb-i18n></paper-button>\n </div>\n </pb-search>\n <pb-load class=\"hidden\" url=\"api/search?query=Accompagnati&da&Alchifa&action=search\" auto=\"true\"></pb-load> -->\n\n \n\n <pb-progress\n subscribe=\"transcription\"\n indeterminate=\"\"\n bottom-item=\"bottom-item\"\n style=\"visibility: hidden\"\n ></pb-progress>\n </app-toolbar>\n </app-header>\n <!-- <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n >\n </div>\n </pb-drawer> -->\n <pb-drawer\n toggle=\"tocToggle\"\n class=\"tocDrawer\"\n emit=\"toc\"\n subscribe=\"transcription\"\n >\n <div class=\"drawer-content\">\n <h3>\n <pb-i18n key=\"document.contents\">Contents</pb-i18n>\n </h3>\n <pb-load\n *ngIf=\"data.docs\"\n id=\"toc\"\n url=\"api/document/{doc}/contents?target=transcription&icons=true\"\n [src]=\"data.docs[0].id\"\n subscribe=\"toc\"\n emit=\"toc\"\n expand=\"expand\"\n auto=\"auto\"\n ><pb-i18n key=\"dialogs.loading\">Loading</pb-i18n></pb-load\n >\n </div>\n </pb-drawer>\n <main class=\"content-body\">\n <pb-facsimile\n *ngIf=\"data.facsimile\"\n id=\"facsimile\"\n [attr.base-uri]=\"data.facsimile.uri\"\n subscribe=\"transcription\"\n default-zoom-level=\"0\"\n show-navigation-control=\"show-navigation-control\"\n show-navigator=\"show-navigator\"\n >\n </pb-facsimile>\n <ng-container *ngFor=\"let doc of data.docs; index as $i;\">\n <!-- NO CHANNEL -->\n <pb-view\n *ngIf=\"!doc.channel\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n subscribe=\"transcription\"\n emit=\"transcription\"\n [attr.wait-for]=\"data.facsimile ? '#facsimile' : null\"\n column-separator=\".tei-cb\"\n append-footnotes=\"append-footnotes\"\n view=\"{{ doc.view }}\"\n ></pb-view>\n <!-- WITH CHANNEL / MURUCA DEMO -->\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"//text[@type='source']\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n </pb-view>\n <pb-view\n *ngIf=\"doc.channel && doc.translation\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n xpath=\"{{ doc.xpath }}\"\n emit=\"{{ doc.channel }}\"\n subscribe=\"{{ doc.channel }}\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n <!-- WITH CHANNEL / addChannel -->\n <pb-view\n *ngIf=\"doc.channel && !doc.translation\"\n (click)=\"displayIndex()\"\n id=\"view{{ $i }}\"\n [src]=\"doc.id\"\n [odd]=\"doc.odd\"\n emit=\"addChannel\"\n subscribe=\"addChannel\"\n view=\"{{ doc.view }}\"\n >\n <pb-param name=\"mode\" value=\"commentary\"></pb-param>\n </pb-view>\n\n <ng-container\n *ngIf=\"doc.channel && !doc.translation\"\n >\n <!-- -->\n <pb-view\n [hidden]=\"!isDisplayed\"\n *ngIf=\"doc.channel && !doc.translation\"\n [src]=\"doc.id\"\n [odd]=\"doc.odd\"\n subscribe=\"index\"\n emit=\"letter\"\n >\n <pb-param name=\"mode\" value=\"facets\"></pb-param>\n </pb-view>\n <!-- -->\n </ng-container>\n </ng-container>\n </main>\n </app-header-layout>\n </app-drawer-layout>\n </pb-page>\n</div>\n\n" }]
|
|
1627
1682
|
}], propDecorators: { data: [{
|
|
1628
1683
|
type: Input
|
|
1629
1684
|
}], emit: [{
|
|
@@ -1638,9 +1693,9 @@ class TagComponent {
|
|
|
1638
1693
|
this.emit('click', payload);
|
|
1639
1694
|
}
|
|
1640
1695
|
}
|
|
1641
|
-
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1642
|
-
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1696
|
+
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1697
|
+
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TagComponent, selector: "n7-tag", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<span class=\"n7-tag {{data.classes || ''}}\" *ngIf=\"data\">\n <span class=\"n7-tag__label\" *ngIf=\"data.label\">\n {{ data.label }}\n </span>\n <span class=\"n7-tag__text\" *ngIf=\"data.text\">\n {{ data.text }}\n </span>\n <span class=\"n7-tag__icon {{data.icon}}\" *ngIf=\"data.icon\" (click)=\"onClick(data.payload)\"></span>\n</span>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TagComponent, decorators: [{
|
|
1644
1699
|
type: Component,
|
|
1645
1700
|
args: [{ selector: 'n7-tag', template: "<span class=\"n7-tag {{data.classes || ''}}\" *ngIf=\"data\">\n <span class=\"n7-tag__label\" *ngIf=\"data.label\">\n {{ data.label }}\n </span>\n <span class=\"n7-tag__text\" *ngIf=\"data.text\">\n {{ data.text }}\n </span>\n <span class=\"n7-tag__icon {{data.icon}}\" *ngIf=\"data.icon\" (click)=\"onClick(data.payload)\"></span>\n</span>" }]
|
|
1646
1701
|
}], propDecorators: { data: [{
|
|
@@ -1684,9 +1739,9 @@ class TimelineComponent {
|
|
|
1684
1739
|
this.emit('click', payload);
|
|
1685
1740
|
}
|
|
1686
1741
|
}
|
|
1687
|
-
TimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1688
|
-
TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1742
|
+
TimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1743
|
+
TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TimelineComponent, selector: "n7-timeline", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-timeline\">\n <div [id]=\"data.containerID\" style=\"border: 1px solid #ddd\"></div> \n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
1690
1745
|
type: Component,
|
|
1691
1746
|
args: [{ selector: 'n7-timeline', template: "<div *ngIf=\"data\" class=\"n7-timeline\">\n <div [id]=\"data.containerID\" style=\"border: 1px solid #ddd\"></div> \n</div>\n" }]
|
|
1692
1747
|
}], propDecorators: { data: [{
|
|
@@ -1703,9 +1758,9 @@ class ToastComponent {
|
|
|
1703
1758
|
this.emit('click', payload);
|
|
1704
1759
|
}
|
|
1705
1760
|
}
|
|
1706
|
-
ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1707
|
-
ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1761
|
+
ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1762
|
+
ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ToastComponent, selector: "n7-toast", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-toast\">\n <div class=\"n7-toast__column {{data.classes || ''}}\">\n\n <!-- Toast boxes -->\n <div class=\"n7-toast__box\" \n *ngFor=\"let box of data.toasts\"\n [ngClass]=\"{ 'has-actions' : !! (box.actions || box.closeIcon) }\">\n \n <!-- Toast text -->\n <div class=\"n7-toast__content {{box.classes || ''}}\" *ngIf=\"box.title || box.text\">\n <span class=\"n7-toast__title\" *ngIf=\"box.title\">{{ box.title }}</span>\n <span class=\"n7-toast__text\" *ngIf=\"box.text\">{{ box.text }}</span>\n </div>\n\n <!-- Toast actions -->\n <div class=\"n7-toast__actions\" *ngIf=\"box.actions || box.closeIcon\">\n <span\n class=\"n7-toast__closeIcon {{ box.closeIcon.icon }}\" \n *ngIf=\"box.closeIcon\" \n (click)=\"onClick(box.closeIcon.payload)\">\n </span>\n <span class=\"n7-toast__action-wrapper\" *ngIf=\"box.actions\">\n <span class=\"n7-toast__action-content\" *ngFor=\"let action of box.actions\">\n <button class=\"n7-toast__action-button n7-btn n7-btn-s {{action.classes || ''}}\"\n (click)=\"onClick(action.payload)\">\n {{action.text}}\n </button>\n </span>\n </span>\n </div>\n </div>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ToastComponent, decorators: [{
|
|
1709
1764
|
type: Component,
|
|
1710
1765
|
args: [{ selector: 'n7-toast', template: "<div *ngIf=\"data\" class=\"n7-toast\">\n <div class=\"n7-toast__column {{data.classes || ''}}\">\n\n <!-- Toast boxes -->\n <div class=\"n7-toast__box\" \n *ngFor=\"let box of data.toasts\"\n [ngClass]=\"{ 'has-actions' : !! (box.actions || box.closeIcon) }\">\n \n <!-- Toast text -->\n <div class=\"n7-toast__content {{box.classes || ''}}\" *ngIf=\"box.title || box.text\">\n <span class=\"n7-toast__title\" *ngIf=\"box.title\">{{ box.title }}</span>\n <span class=\"n7-toast__text\" *ngIf=\"box.text\">{{ box.text }}</span>\n </div>\n\n <!-- Toast actions -->\n <div class=\"n7-toast__actions\" *ngIf=\"box.actions || box.closeIcon\">\n <span\n class=\"n7-toast__closeIcon {{ box.closeIcon.icon }}\" \n *ngIf=\"box.closeIcon\" \n (click)=\"onClick(box.closeIcon.payload)\">\n </span>\n <span class=\"n7-toast__action-wrapper\" *ngIf=\"box.actions\">\n <span class=\"n7-toast__action-content\" *ngFor=\"let action of box.actions\">\n <button class=\"n7-toast__action-button n7-btn n7-btn-s {{action.classes || ''}}\"\n (click)=\"onClick(action.payload)\">\n {{action.text}}\n </button>\n </span>\n </span>\n </div>\n </div>\n </div>\n</div>" }]
|
|
1711
1766
|
}], propDecorators: { data: [{
|
|
@@ -1722,9 +1777,9 @@ class TooltipContentComponent {
|
|
|
1722
1777
|
this.emit('click', payload);
|
|
1723
1778
|
}
|
|
1724
1779
|
}
|
|
1725
|
-
TooltipContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1726
|
-
TooltipContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1780
|
+
TooltipContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TooltipContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1781
|
+
TooltipContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TooltipContentComponent, selector: "n7-tooltip-content", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\"\n class=\"n7-tooltip-content\">\n\n <div *ngIf=\"data.title\">\n {{data.title}}\n </div>\n\n <div *ngIf=\"data.text\"\n [innerHTML]=\"data.text\">\n </div>\n\n <img *ngIf=\"data.image\"\n [src]=\"data.image\">\n\n <ng-container *ngFor=\"let btn of data.actions\">\n <n7-anchor-wrapper [classes]=\"\"\n [data]=\"btn\"\n (clicked)=\"onClick(btn.anchor.payload)\">\n <span *ngIf=\"data.text\" class=\"n7-btn\">\n {{ btn.text }}\n </span>\n </n7-anchor-wrapper>\n </ng-container>\n\n</div>\n", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TooltipContentComponent, decorators: [{
|
|
1728
1783
|
type: Component,
|
|
1729
1784
|
args: [{ selector: 'n7-tooltip-content', template: "<div *ngIf=\"data\"\n class=\"n7-tooltip-content\">\n\n <div *ngIf=\"data.title\">\n {{data.title}}\n </div>\n\n <div *ngIf=\"data.text\"\n [innerHTML]=\"data.text\">\n </div>\n\n <img *ngIf=\"data.image\"\n [src]=\"data.image\">\n\n <ng-container *ngFor=\"let btn of data.actions\">\n <n7-anchor-wrapper [classes]=\"\"\n [data]=\"btn\"\n (clicked)=\"onClick(btn.anchor.payload)\">\n <span *ngIf=\"data.text\" class=\"n7-btn\">\n {{ btn.text }}\n </span>\n </n7-anchor-wrapper>\n </ng-container>\n\n</div>\n" }]
|
|
1730
1785
|
}], propDecorators: { data: [{
|
|
@@ -1741,9 +1796,9 @@ class TreeComponent {
|
|
|
1741
1796
|
this.emit('click', payload);
|
|
1742
1797
|
}
|
|
1743
1798
|
}
|
|
1744
|
-
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1745
|
-
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1799
|
+
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1800
|
+
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TreeComponent, selector: "n7-tree", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-tree\">\n <!-- Start recursive rendering -->\n <ng-container *ngTemplateOutlet=\"recursiveTree; context:{$implicit: data.items}\"></ng-container>\n\n <!-- Template for recursive children rendering -->\n <ng-template #recursiveTree let-node>\n <div class=\"n7-tree__item {{ item.classes || '' }}\" *ngFor=\"let item of node\">\n <div class=\"n7-tree__item-contents\">\n <!-- Render expand/collapse arrow -->\n <span *ngIf=\"item.toggle\"\n class=\"n7-tree__item-toggle {{ item.toggle.icon }}\"\n (click)=\"onClick(item.toggle.payload)\">\n </span>\n <!-- Render the node -->\n <n7-anchor-wrapper \n [classes]=\"'n7-tree__item-details'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"item.icon\" class=\"n7-tree__item-icon {{ item.icon }}\"></span>\n <img class=\"n7-tree__item-img\" *ngIf=\"item.img\" src=\"{{ item.img }}\" alt=\"{{ item.text }}\"/>\n <span class=\"n7-tree__item-text\">{{ item.text }}</span>\n <span class=\"n7-tree__item-right-icon {{ item.iconright }}\"></span>\n </n7-anchor-wrapper>\n </div>\n <!-- Check for more child nodes and render them -->\n <div class=\"n7-tree__children-wrapper\" *ngIf=\"item.items\">\n <ng-container *ngTemplateOutlet=\"recursiveTree; context:{$implicit: item.items}\"></ng-container>\n </div>\n </div>\n </ng-template>\n</div>", components: [{ type: AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TreeComponent, decorators: [{
|
|
1747
1802
|
type: Component,
|
|
1748
1803
|
args: [{ selector: 'n7-tree', template: "<div *ngIf=\"data\" class=\"n7-tree\">\n <!-- Start recursive rendering -->\n <ng-container *ngTemplateOutlet=\"recursiveTree; context:{$implicit: data.items}\"></ng-container>\n\n <!-- Template for recursive children rendering -->\n <ng-template #recursiveTree let-node>\n <div class=\"n7-tree__item {{ item.classes || '' }}\" *ngFor=\"let item of node\">\n <div class=\"n7-tree__item-contents\">\n <!-- Render expand/collapse arrow -->\n <span *ngIf=\"item.toggle\"\n class=\"n7-tree__item-toggle {{ item.toggle.icon }}\"\n (click)=\"onClick(item.toggle.payload)\">\n </span>\n <!-- Render the node -->\n <n7-anchor-wrapper \n [classes]=\"'n7-tree__item-details'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span *ngIf=\"item.icon\" class=\"n7-tree__item-icon {{ item.icon }}\"></span>\n <img class=\"n7-tree__item-img\" *ngIf=\"item.img\" src=\"{{ item.img }}\" alt=\"{{ item.text }}\"/>\n <span class=\"n7-tree__item-text\">{{ item.text }}</span>\n <span class=\"n7-tree__item-right-icon {{ item.iconright }}\"></span>\n </n7-anchor-wrapper>\n </div>\n <!-- Check for more child nodes and render them -->\n <div class=\"n7-tree__children-wrapper\" *ngIf=\"item.items\">\n <ng-container *ngTemplateOutlet=\"recursiveTree; context:{$implicit: item.items}\"></ng-container>\n </div>\n </div>\n </ng-template>\n</div>" }]
|
|
1749
1804
|
}], propDecorators: { data: [{
|
|
@@ -1760,9 +1815,9 @@ class WizardComponent {
|
|
|
1760
1815
|
this.emit('click', payload);
|
|
1761
1816
|
}
|
|
1762
1817
|
}
|
|
1763
|
-
WizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1764
|
-
WizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1818
|
+
WizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: WizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1819
|
+
WizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: WizardComponent, selector: "n7-wizard", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-wizard {{ data.classes || '' }}\">\n <ol class=\"n7-wizard__list\">\n <li *ngFor=\"let item of data.items\" \n class=\"n7-wizard__item {{ item.classes || '' }}\" \n (click)=\"onClick(item.payload)\">\n <span *ngIf=\"item.number\" class=\"n7-wizard__number\">{{ item.number }}</span>\n <span *ngIf=\"item.text\" class=\"n7-wizard__text\">{{ item.text }}</span>\n </li>\n </ol>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: WizardComponent, decorators: [{
|
|
1766
1821
|
type: Component,
|
|
1767
1822
|
args: [{ selector: 'n7-wizard', template: "<div *ngIf=\"data\" class=\"n7-wizard {{ data.classes || '' }}\">\n <ol class=\"n7-wizard__list\">\n <li *ngFor=\"let item of data.items\" \n class=\"n7-wizard__item {{ item.classes || '' }}\" \n (click)=\"onClick(item.payload)\">\n <span *ngIf=\"item.number\" class=\"n7-wizard__number\">{{ item.number }}</span>\n <span *ngIf=\"item.text\" class=\"n7-wizard__text\">{{ item.text }}</span>\n </li>\n </ol>\n</div>" }]
|
|
1768
1823
|
}], propDecorators: { data: [{
|
|
@@ -1774,9 +1829,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1774
1829
|
//---------------------------
|
|
1775
1830
|
class ProgressLineComponent {
|
|
1776
1831
|
}
|
|
1777
|
-
ProgressLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1778
|
-
ProgressLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
1779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1832
|
+
ProgressLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1833
|
+
ProgressLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ProgressLineComponent, selector: "n7-progress-line", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-progress-line\">\n <div class=\"n7-progress-line__text-wrapper\">\n <span class=\"n7-progress-line__label\" *ngIf=\"data.label\">\n {{ data.label }}\n </span>\n <span class=\"n7-progress-line__value\" *ngIf=\"data.value || data.value===0\">\n {{ data.value }}%\n </span>\n </div>\n <div class=\"n7-progress-line__wrapper\">\n <div class='n7-progress-line__bar' [ngStyle]=\"{'width.%':data.value}\"> {{data.value}}%\n </div>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressLineComponent, decorators: [{
|
|
1780
1835
|
type: Component,
|
|
1781
1836
|
args: [{ selector: 'n7-progress-line', template: "<div *ngIf=\"data\" class=\"n7-progress-line\">\n <div class=\"n7-progress-line__text-wrapper\">\n <span class=\"n7-progress-line__label\" *ngIf=\"data.label\">\n {{ data.label }}\n </span>\n <span class=\"n7-progress-line__value\" *ngIf=\"data.value || data.value===0\">\n {{ data.value }}%\n </span>\n </div>\n <div class=\"n7-progress-line__wrapper\">\n <div class='n7-progress-line__bar' [ngStyle]=\"{'width.%':data.value}\"> {{data.value}}%\n </div>\n </div>\n</div>" }]
|
|
1782
1837
|
}], propDecorators: { data: [{
|
|
@@ -1831,8 +1886,8 @@ const COMPONENTS = [
|
|
|
1831
1886
|
];
|
|
1832
1887
|
class DvComponentsLibModule {
|
|
1833
1888
|
}
|
|
1834
|
-
DvComponentsLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1835
|
-
DvComponentsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
1889
|
+
DvComponentsLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DvComponentsLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1890
|
+
DvComponentsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DvComponentsLibModule, declarations: [AdvancedAutocompleteComponent,
|
|
1836
1891
|
AlertComponent,
|
|
1837
1892
|
AnchorWrapperComponent,
|
|
1838
1893
|
BreadcrumbsComponent,
|
|
@@ -1915,8 +1970,8 @@ DvComponentsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
|
|
|
1915
1970
|
TreeComponent,
|
|
1916
1971
|
WizardComponent,
|
|
1917
1972
|
ProgressLineComponent] });
|
|
1918
|
-
DvComponentsLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
1919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1973
|
+
DvComponentsLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DvComponentsLibModule, imports: [[CommonModule, RouterModule]] });
|
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DvComponentsLibModule, decorators: [{
|
|
1920
1975
|
type: NgModule,
|
|
1921
1976
|
args: [{
|
|
1922
1977
|
declarations: [
|
|
@@ -7172,7 +7227,7 @@ const ITEM_PREVIEW_MOCK = {
|
|
|
7172
7227
|
href: '/examples',
|
|
7173
7228
|
target: '_blank'
|
|
7174
7229
|
},
|
|
7175
|
-
classes: 'is-vertical has-image' // leave it empty for default horizontal layout or 'is-overlay'
|
|
7230
|
+
classes: 'is-vertical is-frontpage has-image' // leave it empty for default horizontal layout or 'is-overlay'
|
|
7176
7231
|
};
|
|
7177
7232
|
|
|
7178
7233
|
const LOADER_MOCK = {
|
|
@@ -7631,37 +7686,41 @@ const TEXT_VIEWER_MOCK = {
|
|
|
7631
7686
|
// endpoint: 'https://teipublisher.com/exist/apps/tei-publisher',
|
|
7632
7687
|
docs: [
|
|
7633
7688
|
// {
|
|
7634
|
-
// xml: '
|
|
7635
|
-
// odd: '
|
|
7636
|
-
// id: '
|
|
7689
|
+
// xml: 'petrarca/seniles-1_1649330076.xml',
|
|
7690
|
+
// odd: 'petrarca_1-1',
|
|
7691
|
+
// id: 'seniles_5',
|
|
7637
7692
|
// view: 'div'
|
|
7638
7693
|
// },
|
|
7639
|
-
{
|
|
7640
|
-
xml: 'murucademo/La_volpe_e_l_uva_1615547140.xml',
|
|
7641
|
-
odd: 'demo_1-0',
|
|
7642
|
-
id: 'seniles',
|
|
7643
|
-
view: 'div',
|
|
7644
|
-
channel: 'altrochannel',
|
|
7645
|
-
translation: true
|
|
7646
|
-
},
|
|
7647
7694
|
// {
|
|
7648
|
-
// xml: '
|
|
7649
|
-
// odd: '
|
|
7695
|
+
// xml: 'murucademo/La_volpe_e_l_uva_1615547140.xml',
|
|
7696
|
+
// odd: 'demo_1-0',
|
|
7650
7697
|
// id: 'seniles',
|
|
7651
|
-
// view: '
|
|
7652
|
-
//
|
|
7653
|
-
//
|
|
7654
|
-
// xml: 'playground/sferacomm.xml',
|
|
7655
|
-
// odd: 'sferamundi_1-0',
|
|
7656
|
-
// id: 'seniles2',
|
|
7657
|
-
// view: 'page',
|
|
7658
|
-
// channel: 'altrochannel'
|
|
7698
|
+
// view: 'div',
|
|
7699
|
+
// channel: 'altrochannel',
|
|
7700
|
+
// translation: true
|
|
7659
7701
|
// },
|
|
7702
|
+
{
|
|
7703
|
+
// xml: 'mambrino/13_1_sm1_primi10caps-2_1623837525.xml',
|
|
7704
|
+
xml: 'mambrino/SM1_source_def2.xml',
|
|
7705
|
+
odd: 'test_index',
|
|
7706
|
+
id: 'seniles',
|
|
7707
|
+
view: 'page',
|
|
7708
|
+
download: ''
|
|
7709
|
+
},
|
|
7710
|
+
{
|
|
7711
|
+
xml: 'test/graves6.xml',
|
|
7712
|
+
// xml: 'mambrino/SM1_commentary_def2.xml',
|
|
7713
|
+
odd: 'test_index',
|
|
7714
|
+
id: 'seniles2',
|
|
7715
|
+
view: 'page',
|
|
7716
|
+
channel: 'altrochannel'
|
|
7717
|
+
},
|
|
7660
7718
|
],
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7719
|
+
facsimile: {
|
|
7720
|
+
// uri: 'https://test-01.dlls.univr.it/cantaloupe/iiif/3/mambrino%2FCICLO%20DI%20AMADIS%2F13_2%20SFERAMUNDI%202%2F1560%20BNE%2F',
|
|
7721
|
+
uri: 'http://127.0.0.1:8182/iiif/3/',
|
|
7722
|
+
scans: []
|
|
7723
|
+
}
|
|
7665
7724
|
};
|
|
7666
7725
|
|
|
7667
7726
|
const TIMELINE_MOCK = {
|