@junte/ui
Version:
Quality Angular UI components kit
837 lines (835 loc) • 1.22 MB
JavaScript
import { keyframes, style, transition, trigger, query, group, animate, animateChild, state } from '@angular/animations';
import 'reflect-metadata';
import { __decorate, __metadata, __param } from 'tslib';
import { CommonModule, ViewportScroller } from '@angular/common';
import { InjectionToken, EventEmitter, Inject, HostBinding, Input, HostListener, Directive, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, Pipe, Component, NgZone, TemplateRef, ViewContainerRef, Renderer2, ElementRef, Output, ContentChildren, QueryList, ContentChild, ViewChildren, ViewChild, ChangeDetectorRef, ChangeDetectionStrategy, Optional, Host, SkipSelf, ComponentRef } from '@angular/core';
import { NG_VALUE_ACCESSOR, FormBuilder, FormsModule as FormsModule$1, ReactiveFormsModule, FormControl, FormGroupName, FormGroupDirective, FormArrayName, ControlContainer, FormGroup, FormArray, AbstractControl } from '@angular/forms';
import { NGXLogger, LoggerModule, NgxLoggerLevel } from 'ngx-logger';
import { Observable, BehaviorSubject, combineLatest, of, Subscription, merge } from 'rxjs';
import { DomSanitizer, Title, Meta } from '@angular/platform-browser';
import { takeWhile, filter, distinctUntilChanged, map, delay, finalize, tap, debounceTime } from 'rxjs/operators';
import { getYear, addMonths, addYears, format, subMonths, subYears, isSameDay, isWithinInterval, differenceInCalendarMonths, differenceInCalendarDays as differenceInCalendarDays$1, addDays, setDate, getDaysInMonth as getDaysInMonth$1, getMonth, startOfDay as startOfDay$1, isSameMonth as isSameMonth$1, startOfWeek as startOfWeek$1, addWeeks, parse } from 'date-fns';
import differenceInCalendarDays from 'date-fns/differenceInCalendarDays';
import endOfDay from 'date-fns/endOfDay';
import endOfMonth from 'date-fns/endOfMonth';
import endOfWeek from 'date-fns/endOfWeek';
import { enUS } from 'date-fns/locale';
import endOfYear from 'date-fns/endOfYear';
import format$1 from 'date-fns/format';
import getDate from 'date-fns/getDate';
import getDaysInMonth from 'date-fns/getDaysInMonth';
import isAfter from 'date-fns/isAfter';
import isBefore from 'date-fns/isBefore';
import isEqual$2 from 'date-fns/isEqual';
import isSameMonth from 'date-fns/isSameMonth';
import isSameYear from 'date-fns/isSameYear';
import isThisMonth from 'date-fns/isThisMonth';
import isThisYear from 'date-fns/isThisYear';
import isToday from 'date-fns/isToday';
import isWeekend from 'date-fns/isWeekend';
import max$1 from 'date-fns/max';
import min$1 from 'date-fns/min';
import startOfDay from 'date-fns/startOfDay';
import startOfMonth from 'date-fns/startOfMonth';
import startOfWeek from 'date-fns/startOfWeek';
import startOfYear from 'date-fns/startOfYear';
import eachDayOfInterval from 'date-fns/eachDayOfInterval';
import { HttpClient, HttpClientModule } from '@angular/common/http';
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { RouterLinkActive, RouterModule, NavigationStart, NavigationEnd, NavigationCancel, NavigationError, Router } from '@angular/router';
import * as ɵngcc0 from '@angular/core';
import * as ɵngcc1 from 'ngx-logger';
import * as ɵngcc2 from '@angular/platform-browser';
import * as ɵngcc3 from '@angular/common/http';
import * as ɵngcc4 from '@angular/common';
import * as ɵngcc5 from '@angular/router';
import * as ɵngcc6 from '@angular/forms';
import * as ɵngcc7 from '@ngx-translate/core';
const _c0 = ["*"];
function IconComponent_jnt_font_icon_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-font-icon", 4);
} if (rf & 2) {
const ctx_r0 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("icon", ctx_r0._icon)("iconset", ctx_r0.iconset)("color", ctx_r0.color);
} }
function IconComponent_jnt_svg_icon_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-svg-icon", 5);
} if (rf & 2) {
const ctx_r1 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("icon", ctx_r1._icon)("iconset", ctx_r1.iconset)("stroke", ctx_r1.stroke)("color", ctx_r1.color)("tags", ctx_r1.tags);
} }
function IconComponent_jnt_animated_icon_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-animated-icon", 6);
} if (rf & 2) {
const ctx_r2 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("icon", ctx_r2._icon)("iconset", ctx_r2.iconset)("color", ctx_r2.color)("tags", ctx_r2.tags);
} }
function ButtonComponent_jnt_spinner_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-spinner", 7);
} if (rf & 2) {
const ctx_r0 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@appear", ctx_r0.loading);
} }
function ButtonComponent_jnt_icon_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-icon", 8);
} if (rf & 2) {
const ctx_r1 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@visibility", ctx_r1.loading ? "hide" : "show")("icon", ctx_r1.icon == null ? null : ctx_r1.icon.icon);
} }
function ButtonComponent_div_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "div", 9);
ɵngcc0.ɵɵtext(1);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r2 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@visibility", ctx_r2.loading ? "hide" : "show");
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵtextInterpolate1(" ", ctx_r2.text, " ");
} }
function ButtonComponent_jnt_stack_5_jnt_badge_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-badge", 12);
} if (rf & 2) {
const badge_r7 = ctx.$implicit;
const ctx_r6 = ɵngcc0.ɵɵnextContext(2);
ɵngcc0.ɵɵproperty("color", badge_r7.color)("value", badge_r7.value)("overflow", badge_r7.overflow)("position", ctx_r6.ui.position.inline);
} }
function ButtonComponent_jnt_stack_5_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "jnt-stack", 10);
ɵngcc0.ɵɵtemplate(1, ButtonComponent_jnt_stack_5_jnt_badge_1_Template, 1, 4, "jnt-badge", 11);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r3 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@visibility", ctx_r3.loading ? "hide" : "show")("orientation", ctx_r3.ui.orientation.horizontal)("gutter", ctx_r3.ui.gutter.tiny);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ctx_r3.badges);
} }
function ButtonComponent_jnt_icon_6_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-icon", 8);
} if (rf & 2) {
const ctx_r4 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@visibility", ctx_r4.loading ? "hide" : "show")("icon", ctx_r4.icon == null ? null : ctx_r4.icon.icon);
} }
function ButtonComponent_div_7_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "div", 13);
} if (rf & 2) {
const ctx_r5 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("@visibility", ctx_r5.loading ? "hide" : "show");
} }
function ButtonGroupComponent_jnt_button_0_jnt_badge_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "jnt-badge", 3);
} if (rf & 2) {
const badge_r3 = ctx.$implicit;
ɵngcc0.ɵɵproperty("value", badge_r3.value)("text", badge_r3.text)("overflow", badge_r3.overflow)("color", badge_r3.color)("position", badge_r3.position);
} }
function ButtonGroupComponent_jnt_button_0_Template(rf, ctx) { if (rf & 1) {
const _r5 = ɵngcc0.ɵɵgetCurrentView();
ɵngcc0.ɵɵelementStart(0, "jnt-button", 1);
ɵngcc0.ɵɵlistener("click", function ButtonGroupComponent_jnt_button_0_Template_jnt_button_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r5); const button_r1 = ctx.$implicit; return button_r1.click.emit($event); });
ɵngcc0.ɵɵtemplate(1, ButtonGroupComponent_jnt_button_0_jnt_badge_1_Template, 1, 5, "jnt-badge", 2);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const button_r1 = ctx.$implicit;
const ctx_r0 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("text", button_r1.text)("size", ctx_r0.size)("scheme", ctx_r0.scheme)("outline", ctx_r0.outline)("icon", button_r1.icon)("loading", button_r1.loading)("disabled", button_r1.disabled)("type", button_r1.type)("shape", button_r1.shape)("width", button_r1.width);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", button_r1.badges);
} }
function SkeletonComponent_jnt_stack_0_div_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "div", 5);
} }
function SkeletonComponent_jnt_stack_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "jnt-stack", 3);
ɵngcc0.ɵɵtemplate(1, SkeletonComponent_jnt_stack_0_div_1_Template, 1, 0, "div", 4);
ɵngcc0.ɵɵpipe(2, "mockArray");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r0 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("gutter", ctx_r0.ui.gutter.big);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(2, 2, ctx_r0.lines));
} }
function SkeletonComponent_div_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "div", 6);
} if (rf & 2) {
const ctx_r1 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵattribute("data-avatar", ctx_r1.type === ctx_r1.ui.skeleton.type.avatar);
} }
function SkeletonComponent_div_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "div", 7);
} }
const _c1 = ["indicatorMonthTemplate"];
const _c2 = ["indicatorYearTemplate"];
const _c3 = ["ganttLineTitleTemplate"];
const _c4 = ["toolsTemplate"];
const _c5 = ["ganttTitleTemplate"];
const _c6 = ["currentLine"];
const _c7 = ["calendarDay"];
function GanttComponent_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelementStart(1, "tr", 7);
ɵngcc0.ɵɵelementStart(2, "td", 8);
ɵngcc0.ɵɵpipe(3, "jntGetDaysInMonth");
ɵngcc0.ɵɵelement(4, "jnt-skeleton", 9);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r10 = ɵngcc0.ɵɵnextContext(2);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵattribute("colspan", ɵngcc0.ɵɵpipeBind1(3, 3, ctx_r10.current) + 2);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("type", ctx_r10.ui.skeleton.type.text)("lines", 8);
} }
function GanttComponent_ng_template_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 10);
ɵngcc0.ɵɵelementStart(1, "td", 8);
ɵngcc0.ɵɵpipe(2, "jntGetDaysInMonth");
ɵngcc0.ɵɵelement(3, "jnt-icon", 11);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r12 = ɵngcc0.ɵɵnextContext(2);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("colspan", ɵngcc0.ɵɵpipeBind1(2, 2, ctx_r12.current) + 1);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("icon", ctx_r12.ui.icons.neutral);
} }
function GanttComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtemplate(0, GanttComponent_ng_template_0_ng_container_0_Template, 5, 5, "ng-container", 5);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_0_ng_template_1_Template, 4, 4, "ng-template", null, 6, ɵngcc0.ɵɵtemplateRefExtractor);
} if (rf & 2) {
const _r11 = ɵngcc0.ɵɵreference(2);
const ctx_r1 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("ngIf", ctx_r1.loading)("ngIfElse", _r11);
} }
function GanttComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtext(0);
} if (rf & 2) {
const title_r13 = ctx.title;
ɵngcc0.ɵɵtextInterpolate1(" ", title_r13, "\n");
} }
function GanttComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtext(0);
} if (rf & 2) {
const title_r14 = ctx.title;
ɵngcc0.ɵɵtextInterpolate1(" ", title_r14, "\n");
} }
function GanttComponent_div_6_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "div", 12);
ɵngcc0.ɵɵelement(1, "jnt-spinner", 13);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r6 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("size", ctx_r6.ui.size.large);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 26);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r17 = ɵngcc0.ɵɵnextContext(3);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", ctx_r17.toolsTemplate);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_17_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_0_td_18_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "td", 27);
ɵngcc0.ɵɵtext(1);
ɵngcc0.ɵɵpipe(2, "monthName");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const month_r22 = ctx.$implicit;
ɵngcc0.ɵɵattribute("current", month_r22);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵtextInterpolate1(" ", ɵngcc0.ɵɵpipeBind1(2, 2, month_r22), " ");
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_td_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 27);
} }
const _c8 = function (a0) { return { title: a0 }; };
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 8);
ɵngcc0.ɵɵelement(1, "td", 17);
ɵngcc0.ɵɵelementStart(2, "td", 30);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_ng_container_3_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_td_4_Template, 1, 0, "td", 25);
ɵngcc0.ɵɵpipe(5, "datesInMonth");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const line_r24 = ɵngcc0.ɵɵnextContext().$implicit;
const ctx_r26 = ɵngcc0.ɵɵnextContext(4);
const _r4 = ɵngcc0.ɵɵreference(5);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", line_r24.titleTemplate || _r4)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction1(5, _c8, line_r24.title));
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(5, 3, ctx_r26.current));
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelement(1, "td", 17);
ɵngcc0.ɵɵelementStart(2, "td", 30);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const line_r24 = ɵngcc0.ɵɵnextContext(3).$implicit;
ɵngcc0.ɵɵnextContext(4);
const _r4 = ɵngcc0.ɵɵreference(5);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("rowspan", line_r24.periods.length);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("rowspan", line_r24.periods.length);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", line_r24.titleTemplate || _r4)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction1(4, _c8, line_r24.title));
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_td_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 8);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
const _c9 = function (a0, a1, a2) { return { period: a0, current: a1, today: a2 }; };
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const period_r45 = ɵngcc0.ɵɵnextContext().period;
const ctx_r47 = ɵngcc0.ɵɵnextContext(7);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", period_r45.indicatorYearTemplate)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction3(2, _c9, period_r45, ctx_r47.current, ctx_r47.today));
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_td_8_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 8);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtemplate(0, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_td_0_Template, 1, 0, "td", 31);
ɵngcc0.ɵɵpipe(1, "pop");
ɵngcc0.ɵɵpipe(2, "betweenMonths");
ɵngcc0.ɵɵelementStart(3, "td", 8);
ɵngcc0.ɵɵpipe(4, "betweenMonths");
ɵngcc0.ɵɵtemplate(5, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_Template, 2, 6, "ng-container", 19);
ɵngcc0.ɵɵpipe(6, "jntIsBefore");
ɵngcc0.ɵɵpipe(7, "jntIsAfter");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(8, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_td_8_Template, 1, 0, "td", 31);
ɵngcc0.ɵɵpipe(9, "pop");
ɵngcc0.ɵɵpipe(10, "betweenMonths");
} if (rf & 2) {
const from_r41 = ctx.from;
const to_r42 = ctx.to;
const start_r43 = ctx.start;
const end_r44 = ctx.end;
const period_r45 = ctx.period;
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(1, 4, ɵngcc0.ɵɵpipeBind2(2, 6, start_r43, from_r41)));
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵattribute("colspan", ɵngcc0.ɵɵpipeBind2(4, 9, from_r41, to_r42).length);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("ngIf", !(ɵngcc0.ɵɵpipeBind2(6, 12, period_r45.to, start_r43) || ɵngcc0.ɵɵpipeBind2(7, 15, period_r45.from, end_r44)));
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(9, 18, ɵngcc0.ɵɵpipeBind2(10, 20, to_r42, end_r44)));
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
const _c10 = function (a0, a1) { return [a0, a1]; };
const _c11 = function (a0, a1, a2, a3, a4, a5) { return { start: a0, end: a1, period: a2, current: a3, from: a4, to: a5 }; };
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 8);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_1_Template, 4, 6, "ng-container", 19);
ɵngcc0.ɵɵtemplate(2, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_template_2_Template, 11, 23, "ng-template", null, 32, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_ng_container_4_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵpipe(5, "jntStartOfYear");
ɵngcc0.ɵɵpipe(6, "jntEndOfYear");
ɵngcc0.ɵɵpipe(7, "jntMin");
ɵngcc0.ɵɵpipe(8, "jntMax");
ɵngcc0.ɵɵpipe(9, "jntStartOfYear");
ɵngcc0.ɵɵpipe(10, "jntEndOfYear");
ɵngcc0.ɵɵpipe(11, "jntMax");
ɵngcc0.ɵɵpipe(12, "jntMin");
ɵngcc0.ɵɵpipe(13, "jntEndOfYear");
ɵngcc0.ɵɵpipe(14, "jntStartOfYear");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const period_r33 = ctx.$implicit;
const i_r34 = ctx.index;
const _r36 = ɵngcc0.ɵɵreference(3);
const ctx_r32 = ɵngcc0.ɵɵnextContext(6);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngIf", i_r34 === 0);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", _r36)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction6(35, _c11, ɵngcc0.ɵɵpipeBind1(5, 3, ctx_r32.current), ɵngcc0.ɵɵpipeBind1(6, 5, ctx_r32.current), period_r33, ctx_r32.current, ɵngcc0.ɵɵpipeBind1(7, 7, ɵngcc0.ɵɵpureFunction2(26, _c10, ɵngcc0.ɵɵpipeBind1(8, 9, ɵngcc0.ɵɵpureFunction2(23, _c10, period_r33.from, ɵngcc0.ɵɵpipeBind1(9, 11, ctx_r32.current))), ɵngcc0.ɵɵpipeBind1(10, 13, ctx_r32.current))), ɵngcc0.ɵɵpipeBind1(11, 15, ɵngcc0.ɵɵpureFunction2(32, _c10, ɵngcc0.ɵɵpipeBind1(12, 17, ɵngcc0.ɵɵpureFunction2(29, _c10, period_r33.to, ɵngcc0.ɵɵpipeBind1(13, 19, ctx_r32.current))), ɵngcc0.ɵɵpipeBind1(14, 21, ctx_r32.current)))));
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_tr_1_Template, 15, 42, "tr", 31);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const line_r24 = ɵngcc0.ɵɵnextContext().$implicit;
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", line_r24.periods);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_template_1_Template, 6, 7, "ng-template", null, 29, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_ng_container_3_Template, 2, 1, "ng-container", 5);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const line_r24 = ctx.$implicit;
const _r25 = ɵngcc0.ɵɵreference(2);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngIf", (line_r24.periods == null ? null : line_r24.periods.length) > 0)("ngIfElse", _r25);
} }
function GanttComponent_ng_template_7_ng_container_0_ng_container_23_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_0_ng_container_23_ng_container_1_Template, 4, 2, "ng-container", 28);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r20 = ɵngcc0.ɵɵnextContext(3);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ctx_r20.lines);
} }
function GanttComponent_ng_template_7_ng_container_0_Template(rf, ctx) { if (rf & 1) {
const _r55 = ɵngcc0.ɵɵgetCurrentView();
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelementStart(1, "table", 16);
ɵngcc0.ɵɵelementStart(2, "thead", 8);
ɵngcc0.ɵɵelementStart(3, "tr", 8);
ɵngcc0.ɵɵelement(4, "td", 17);
ɵngcc0.ɵɵelementStart(5, "td", 18);
ɵngcc0.ɵɵtemplate(6, GanttComponent_ng_template_7_ng_container_0_ng_container_6_Template, 2, 1, "ng-container", 19);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(7, "td", 20);
ɵngcc0.ɵɵelementStart(8, "div", 21);
ɵngcc0.ɵɵelementStart(9, "jnt-button", 22);
ɵngcc0.ɵɵlistener("click", function GanttComponent_ng_template_7_ng_container_0_Template_jnt_button_click_9_listener() { ɵngcc0.ɵɵrestoreView(_r55); const ctx_r54 = ɵngcc0.ɵɵnextContext(2); return ctx_r54.current = ctx_r54.subYears(ctx_r54.current, 1); });
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(10, "div", 8);
ɵngcc0.ɵɵtext(11);
ɵngcc0.ɵɵpipe(12, "jntFormat");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(13, "jnt-button", 22);
ɵngcc0.ɵɵlistener("click", function GanttComponent_ng_template_7_ng_container_0_Template_jnt_button_click_13_listener() { ɵngcc0.ɵɵrestoreView(_r55); const ctx_r56 = ɵngcc0.ɵɵnextContext(2); return ctx_r56.current = ctx_r56.addYears(ctx_r56.current, 1); });
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(14, "tr", 23);
ɵngcc0.ɵɵelement(15, "td", 17);
ɵngcc0.ɵɵelementStart(16, "td", 8);
ɵngcc0.ɵɵtemplate(17, GanttComponent_ng_template_7_ng_container_0_ng_container_17_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(18, GanttComponent_ng_template_7_ng_container_0_td_18_Template, 3, 4, "td", 25);
ɵngcc0.ɵɵpipe(19, "betweenMonths");
ɵngcc0.ɵɵpipe(20, "jntStartOfYear");
ɵngcc0.ɵɵpipe(21, "jntEndOfYear");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(22, "tbody", 8);
ɵngcc0.ɵɵtemplate(23, GanttComponent_ng_template_7_ng_container_0_ng_container_23_Template, 2, 1, "ng-container", 5);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r15 = ɵngcc0.ɵɵnextContext(2);
const _r2 = ɵngcc0.ɵɵreference(3);
const _r0 = ɵngcc0.ɵɵreference(1);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("cellSpacing", 0);
ɵngcc0.ɵɵadvance(5);
ɵngcc0.ɵɵproperty("ngIf", ctx_r15.toolsTemplate);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("colspan", 12);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("icon", ctx_r15.ui.icons.chevronLeft)("outline", ctx_r15.ui.outline.transparent)("scheme", ctx_r15.ui.scheme.secondary)("size", ctx_r15.ui.size.small);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵtextInterpolate1(" ", ɵngcc0.ɵɵpipeBind2(12, 17, ctx_r15.current, "yyyy"), " ");
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("icon", ctx_r15.ui.icons.chevronRight)("outline", ctx_r15.ui.outline.transparent)("scheme", ctx_r15.ui.scheme.secondary)("size", ctx_r15.ui.size.small);
ɵngcc0.ɵɵadvance(4);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", !!ctx_r15.titleTemplate ? ctx_r15.titleTemplate : _r2)("ngTemplateOutletContext", ctx_r15);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind2(19, 20, ɵngcc0.ɵɵpipeBind1(20, 23, ctx_r15.current), ɵngcc0.ɵɵpipeBind1(21, 25, ctx_r15.current)));
ɵngcc0.ɵɵadvance(5);
ɵngcc0.ɵɵproperty("ngIf", (ctx_r15.lines == null ? null : ctx_r15.lines.length) > 0)("ngIfElse", _r0);
} }
function GanttComponent_ng_template_7_ng_container_1_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 26);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r57 = ɵngcc0.ɵɵnextContext(3);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", ctx_r57.toolsTemplate);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 10);
ɵngcc0.ɵɵelementStart(1, "td", 8);
ɵngcc0.ɵɵpipe(2, "jntGetDaysInMonth");
ɵngcc0.ɵɵelement(3, "jnt-icon", 11);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r65 = ɵngcc0.ɵɵnextContext(6);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("colspan", ɵngcc0.ɵɵpipeBind1(2, 2, ctx_r65.current) + 1);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("icon", ctx_r65.ui.icons.neutral);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelement(1, "td", 8);
ɵngcc0.ɵɵelementContainerEnd();
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_ng_container_3_ng_container_1_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const period_r79 = ɵngcc0.ɵɵnextContext(2).period;
const ctx_r82 = ɵngcc0.ɵɵnextContext(9);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", period_r79.indicatorYearTemplate)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction3(2, _c9, period_r79, ctx_r82.current, ctx_r82.today));
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelementStart(1, "td", 8);
ɵngcc0.ɵɵpipe(2, "betweenMonths");
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_ng_container_3_Template, 2, 6, "ng-container", 19);
ɵngcc0.ɵɵpipe(4, "jntIsBefore");
ɵngcc0.ɵɵpipe(5, "jntIsAfter");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r85 = ɵngcc0.ɵɵnextContext();
const from_r75 = ctx_r85.from;
const to_r76 = ctx_r85.to;
const period_r79 = ctx_r85.period;
const start_r77 = ctx_r85.start;
const end_r78 = ctx_r85.end;
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("rowspan", ɵngcc0.ɵɵpipeBind2(2, 2, from_r75, to_r76).length);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("ngIf", !(ɵngcc0.ɵɵpipeBind2(4, 5, period_r79.to, start_r77) || ɵngcc0.ɵɵpipeBind2(5, 8, period_r79.from, end_r78)));
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtemplate(0, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_0_Template, 2, 0, "ng-container", 19);
ɵngcc0.ɵɵpipe(1, "isWithinInterval");
ɵngcc0.ɵɵpipe(2, "jntStartOfMonth");
ɵngcc0.ɵɵpipe(3, "jntEndOfMonth");
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_ng_container_4_Template, 6, 11, "ng-container", 19);
ɵngcc0.ɵɵpipe(5, "jntIsSameMonth");
} if (rf & 2) {
const from_r75 = ctx.from;
const to_r76 = ctx.to;
const month_r68 = ɵngcc0.ɵɵnextContext(2).$implicit;
ɵngcc0.ɵɵproperty("ngIf", !ɵngcc0.ɵɵpipeBind3(1, 2, month_r68, ɵngcc0.ɵɵpipeBind1(2, 6, from_r75), ɵngcc0.ɵɵpipeBind1(3, 8, to_r76)));
ɵngcc0.ɵɵadvance(4);
ɵngcc0.ɵɵproperty("ngIf", ɵngcc0.ɵɵpipeBind2(5, 10, from_r75, month_r68));
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_template_1_Template, 6, 13, "ng-template", null, 32, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_ng_container_3_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵpipe(4, "jntStartOfYear");
ɵngcc0.ɵɵpipe(5, "jntEndOfYear");
ɵngcc0.ɵɵpipe(6, "jntMin");
ɵngcc0.ɵɵpipe(7, "jntMax");
ɵngcc0.ɵɵpipe(8, "jntStartOfYear");
ɵngcc0.ɵɵpipe(9, "jntEndOfYear");
ɵngcc0.ɵɵpipe(10, "jntMax");
ɵngcc0.ɵɵpipe(11, "jntMin");
ɵngcc0.ɵɵpipe(12, "jntEndOfYear");
ɵngcc0.ɵɵpipe(13, "jntStartOfYear");
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const period_r70 = ctx.$implicit;
const _r72 = ɵngcc0.ɵɵreference(2);
const ctx_r69 = ɵngcc0.ɵɵnextContext(8);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", _r72)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction6(34, _c11, ɵngcc0.ɵɵpipeBind1(4, 2, ctx_r69.current), ɵngcc0.ɵɵpipeBind1(5, 4, ctx_r69.current), period_r70, ctx_r69.current, ɵngcc0.ɵɵpipeBind1(6, 6, ɵngcc0.ɵɵpureFunction2(25, _c10, ɵngcc0.ɵɵpipeBind1(7, 8, ɵngcc0.ɵɵpureFunction2(22, _c10, period_r70.from, ɵngcc0.ɵɵpipeBind1(8, 10, ctx_r69.current))), ɵngcc0.ɵɵpipeBind1(9, 12, ctx_r69.current))), ɵngcc0.ɵɵpipeBind1(10, 14, ɵngcc0.ɵɵpureFunction2(31, _c10, ɵngcc0.ɵɵpipeBind1(11, 16, ɵngcc0.ɵɵpureFunction2(28, _c10, period_r70.to, ɵngcc0.ɵɵpipeBind1(12, 18, ctx_r69.current))), ɵngcc0.ɵɵpipeBind1(13, 20, ctx_r69.current)))));
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 8);
ɵngcc0.ɵɵelementStart(1, "td", 27);
ɵngcc0.ɵɵtext(2);
ɵngcc0.ɵɵpipe(3, "monthName");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_ng_container_4_Template, 14, 41, "ng-container", 28);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const month_r68 = ctx.$implicit;
const line_r61 = ɵngcc0.ɵɵnextContext(3).$implicit;
ɵngcc0.ɵɵattribute("current", month_r68);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(3, 3, month_r68));
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("ngForOf", line_r61.periods);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
const _r89 = ɵngcc0.ɵɵgetCurrentView();
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelementStart(1, "div", 20);
ɵngcc0.ɵɵelementStart(2, "div", 21);
ɵngcc0.ɵɵelementStart(3, "jnt-button", 40);
ɵngcc0.ɵɵlistener("click", function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_Template_jnt_button_click_3_listener() { ɵngcc0.ɵɵrestoreView(_r89); const ctx_r88 = ɵngcc0.ɵɵnextContext(6); return ctx_r88.current = ctx_r88.subYears(ctx_r88.current, 1); });
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(4, "div", 8);
ɵngcc0.ɵɵtext(5);
ɵngcc0.ɵɵpipe(6, "jntFormat");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementStart(7, "jnt-button", 40);
ɵngcc0.ɵɵlistener("click", function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_Template_jnt_button_click_7_listener() { ɵngcc0.ɵɵrestoreView(_r89); const ctx_r90 = ɵngcc0.ɵɵnextContext(6); return ctx_r90.current = ctx_r90.addYears(ctx_r90.current, 1); });
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(8, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_tr_8_Template, 5, 5, "tr", 31);
ɵngcc0.ɵɵpipe(9, "betweenMonths");
ɵngcc0.ɵɵpipe(10, "jntStartOfYear");
ɵngcc0.ɵɵpipe(11, "jntEndOfYear");
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r66 = ɵngcc0.ɵɵnextContext(6);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("icon", ctx_r66.ui.icons.chevronLeft)("outline", ctx_r66.ui.outline.transparent)("size", ctx_r66.ui.size.small);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵtextInterpolate1(" ", ɵngcc0.ɵɵpipeBind2(6, 8, ctx_r66.current, "yyyy"), " ");
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("icon", ctx_r66.ui.icons.chevronRight)("outline", ctx_r66.ui.outline.transparent)("size", ctx_r66.ui.size.small);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind2(9, 11, ɵngcc0.ɵɵpipeBind1(10, 14, ctx_r66.current), ɵngcc0.ɵɵpipeBind1(11, 16, ctx_r66.current)));
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "table", 38);
ɵngcc0.ɵɵelementStart(1, "tbody", 8);
ɵngcc0.ɵɵtemplate(2, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_template_2_Template, 4, 4, "ng-template", null, 39, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_ng_container_4_Template, 12, 18, "ng-container", 5);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const _r64 = ɵngcc0.ɵɵreference(3);
const line_r61 = ɵngcc0.ɵɵnextContext().$implicit;
ɵngcc0.ɵɵproperty("cellSpacing", 0);
ɵngcc0.ɵɵadvance(4);
ɵngcc0.ɵɵproperty("ngIf", (line_r61.periods == null ? null : line_r61.periods.length) > 0)("ngIfElse", _r64);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "jnt-accordion-section", 36);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_ng_template_1_Template, 5, 3, "ng-template", null, 37, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const line_r61 = ctx.$implicit;
ɵngcc0.ɵɵproperty("title", line_r61.title);
} }
function GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "jnt-accordion", 8);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_jnt_accordion_section_1_Template, 3, 1, "jnt-accordion-section", 35);
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const ctx_r58 = ɵngcc0.ɵɵnextContext(3);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ctx_r58.lines);
} }
function GanttComponent_ng_template_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelementStart(1, "jnt-stack", 33);
ɵngcc0.ɵɵtemplate(2, GanttComponent_ng_template_7_ng_container_1_ng_container_2_Template, 2, 1, "ng-container", 19);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_template_7_ng_container_1_jnt_accordion_3_Template, 2, 1, "jnt-accordion", 34);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r16 = ɵngcc0.ɵɵnextContext(2);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("align", ctx_r16.ui.align.stretch);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngIf", ctx_r16.toolsTemplate);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngIf", (ctx_r16.lines == null ? null : ctx_r16.lines.length) > 0);
} }
function GanttComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtemplate(0, GanttComponent_ng_template_7_ng_container_0_Template, 24, 27, "ng-container", 14);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_template_7_ng_container_1_Template, 4, 3, "ng-container", 15);
} if (rf & 2) {
const ctx_r8 = ɵngcc0.ɵɵnextContext();
ɵngcc0.ɵɵproperty("jntMinFor", ctx_r8.ui.breakpoint.tablet);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("jntFor", ctx_r8.ui.breakpoint.mobile);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_container_9_ng_container_1_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 26);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const ctx_r94 = ɵngcc0.ɵɵnextContext(3);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", ctx_r94.toolsTemplate);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_19_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_td_20_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "td", 27, 44);
ɵngcc0.ɵɵpipe(2, "jntIsToday");
ɵngcc0.ɵɵpipe(3, "jntIsWeekend");
ɵngcc0.ɵɵtext(4);
ɵngcc0.ɵɵpipe(5, "jntGetDate");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const day_r100 = ctx.$implicit;
ɵngcc0.ɵɵattribute("data-current", ɵngcc0.ɵɵpipeBind1(2, 3, day_r100))("data-weekend", ɵngcc0.ɵɵpipeBind1(3, 5, day_r100));
ɵngcc0.ɵɵadvance(4);
ɵngcc0.ɵɵtextInterpolate1(" ", ɵngcc0.ɵɵpipeBind1(5, 7, day_r100), " ");
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_template_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_template_1_td_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 27);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 8);
ɵngcc0.ɵɵelement(1, "td", 17);
ɵngcc0.ɵɵelementStart(2, "td", 30);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_template_1_ng_container_3_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_template_1_td_4_Template, 1, 0, "td", 25);
ɵngcc0.ɵɵpipe(5, "datesInMonth");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const line_r103 = ɵngcc0.ɵɵnextContext().$implicit;
const ctx_r105 = ɵngcc0.ɵɵnextContext(4);
const _r4 = ɵngcc0.ɵɵreference(5);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", line_r103.titleTemplate || _r4)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction1(5, _c8, line_r103.title));
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(5, 3, ctx_r105.current));
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵelement(1, "td", 17);
ɵngcc0.ɵɵelementStart(2, "td", 30);
ɵngcc0.ɵɵtemplate(3, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const line_r103 = ɵngcc0.ɵɵnextContext(3).$implicit;
ɵngcc0.ɵɵnextContext(4);
const _r4 = ɵngcc0.ɵɵreference(5);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("rowspan", line_r103.periods.length);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵattribute("rowspan", line_r103.periods.length);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", line_r103.titleTemplate || _r4)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction1(4, _c8, line_r103.title));
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_td_0_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 8);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const period_r124 = ɵngcc0.ɵɵnextContext().period;
const ctx_r126 = ɵngcc0.ɵɵnextContext(7);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", period_r124.indicatorMonthTemplate)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction3(2, _c9, period_r124, ctx_r126.current, ctx_r126.today));
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_td_8_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelement(0, "td", 8);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵtemplate(0, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_td_0_Template, 1, 0, "td", 31);
ɵngcc0.ɵɵpipe(1, "pop");
ɵngcc0.ɵɵpipe(2, "betweenDays");
ɵngcc0.ɵɵelementStart(3, "td", 8);
ɵngcc0.ɵɵpipe(4, "betweenDays");
ɵngcc0.ɵɵtemplate(5, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_ng_container_5_Template, 2, 6, "ng-container", 19);
ɵngcc0.ɵɵpipe(6, "jntIsBefore");
ɵngcc0.ɵɵpipe(7, "jntIsAfter");
ɵngcc0.ɵɵelementEnd();
ɵngcc0.ɵɵtemplate(8, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_td_8_Template, 1, 0, "td", 31);
ɵngcc0.ɵɵpipe(9, "pop");
ɵngcc0.ɵɵpipe(10, "betweenDays");
} if (rf & 2) {
const from_r120 = ctx.from;
const to_r121 = ctx.to;
const start_r122 = ctx.start;
const end_r123 = ctx.end;
const period_r124 = ctx.period;
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(1, 4, ɵngcc0.ɵɵpipeBind2(2, 6, start_r122, from_r120)));
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵattribute("colspan", ɵngcc0.ɵɵpipeBind2(4, 9, from_r120, to_r121).length);
ɵngcc0.ɵɵadvance(2);
ɵngcc0.ɵɵproperty("ngIf", !(ɵngcc0.ɵɵpipeBind2(6, 12, period_r124.to, start_r122) || ɵngcc0.ɵɵpipeBind2(7, 15, period_r124.from, end_r123)));
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngForOf", ɵngcc0.ɵɵpipeBind1(9, 18, ɵngcc0.ɵɵpipeBind2(10, 20, to_r121, end_r123)));
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainer(0);
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementStart(0, "tr", 8);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_1_Template, 4, 6, "ng-container", 19);
ɵngcc0.ɵɵtemplate(2, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_template_2_Template, 11, 23, "ng-template", null, 32, ɵngcc0.ɵɵtemplateRefExtractor);
ɵngcc0.ɵɵtemplate(4, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_ng_container_4_Template, 1, 0, "ng-container", 24);
ɵngcc0.ɵɵpipe(5, "jntStartOfMonth");
ɵngcc0.ɵɵpipe(6, "jntEndOfMonth");
ɵngcc0.ɵɵpipe(7, "jntMin");
ɵngcc0.ɵɵpipe(8, "jntMax");
ɵngcc0.ɵɵpipe(9, "jntStartOfMonth");
ɵngcc0.ɵɵpipe(10, "jntEndOfMonth");
ɵngcc0.ɵɵpipe(11, "jntMax");
ɵngcc0.ɵɵpipe(12, "jntMin");
ɵngcc0.ɵɵpipe(13, "jntEndOfMonth");
ɵngcc0.ɵɵpipe(14, "jntStartOfMonth");
ɵngcc0.ɵɵelementEnd();
} if (rf & 2) {
const period_r112 = ctx.$implicit;
const i_r113 = ctx.index;
const _r115 = ɵngcc0.ɵɵreference(3);
const ctx_r111 = ɵngcc0.ɵɵnextContext(6);
ɵngcc0.ɵɵadvance(1);
ɵngcc0.ɵɵproperty("ngIf", i_r113 === 0);
ɵngcc0.ɵɵadvance(3);
ɵngcc0.ɵɵproperty("ngTemplateOutlet", _r115)("ngTemplateOutletContext", ɵngcc0.ɵɵpureFunction6(35, _c11, ɵngcc0.ɵɵpipeBind1(5, 3, ctx_r111.current), ɵngcc0.ɵɵpipeBind1(6, 5, ctx_r111.current), period_r112, ctx_r111.current, ɵngcc0.ɵɵpipeBind1(7, 7, ɵngcc0.ɵɵpureFunction2(26, _c10, ɵngcc0.ɵɵpipeBind1(8, 9, ɵngcc0.ɵɵpureFunction2(23, _c10, period_r112.from, ɵngcc0.ɵɵpipeBind1(9, 11, ctx_r111.current))), ɵngcc0.ɵɵpipeBind1(10, 13, ctx_r111.current))), ɵngcc0.ɵɵpipeBind1(11, 15, ɵngcc0.ɵɵpureFunction2(32, _c10, ɵngcc0.ɵɵpipeBind1(12, 17, ɵngcc0.ɵɵpureFunction2(29, _c10, period_r112.to, ɵngcc0.ɵɵpipeBind1(13, 19, ctx_r111.current))), ɵngcc0.ɵɵpipeBind1(14, 21, ctx_r111.current)))));
} }
function GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
ɵngcc0.ɵɵelementContainerStart(0);
ɵngcc0.ɵɵtemplate(1, GanttComponent_ng_container_9_ng_container_1_ng_container_25_ng_container_1_ng_container_3_tr_1_Template, 15, 42, "tr", 31);
ɵngcc0.ɵɵelementContainerEnd();
} if (rf & 2) {
const line_r103 = ɵngcc0.ɵɵnextContext().$implicit;
ɵngcc0.ɵɵadvance(1);
ɵngc