ax-common-ui-lib 1.0.1-beta.34-testing → 1.0.1-beta.34-testing2
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/app-create-dialog-component/app-create-dialog-component.component.mjs +52 -28
- package/esm2020/lib/app-list/app-list.component.mjs +3 -3
- package/esm2020/lib/core/icons/icons.module.mjs +3 -1
- package/esm2020/lib/filters/choice-list-filter/choice-list-filter.component.mjs +9 -2
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-map-view/image-map-view.component.mjs +33 -35
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-widget-lightbox-view/image-widget-lightbox-view.component.mjs +2 -2
- package/esm2020/lib/sculptor/form-builder-master/form-builder-master.service.mjs +17 -3
- package/esm2020/lib/sculptor-lib/widgets/subform/subform.component.mjs +6 -7
- package/esm2020/lib/sculptor-lib/widgets/widgets.service.mjs +7 -3
- package/esm2020/lib/shared/comfirmation-modal/confirmation-modal.component.mjs +18 -22
- package/fesm2015/ax-common-ui-lib.mjs +241 -189
- package/fesm2015/ax-common-ui-lib.mjs.map +1 -1
- package/fesm2020/ax-common-ui-lib.mjs +237 -189
- package/fesm2020/ax-common-ui-lib.mjs.map +1 -1
- package/lib/app-create-dialog-component/app-create-dialog-component.component.d.ts +8 -0
- package/lib/sculptor/form-builder-master/form-builder-master.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -82,7 +82,7 @@ import * as i11$2 from '@angular/material/divider';
|
|
|
82
82
|
import { MatDividerModule } from '@angular/material/divider';
|
|
83
83
|
import * as i2$4 from '@agm/core';
|
|
84
84
|
import { AgmCoreModule } from '@agm/core';
|
|
85
|
-
import * as
|
|
85
|
+
import * as i4$3 from '@agm/snazzy-info-window';
|
|
86
86
|
import { AgmSnazzyInfoWindowModule } from '@agm/snazzy-info-window';
|
|
87
87
|
import * as i3$2 from '@angular/flex-layout/extended';
|
|
88
88
|
import * as i5 from '@angular/material/card';
|
|
@@ -811,6 +811,8 @@ class IconsModule {
|
|
|
811
811
|
this._matIconRegistry.addSvgIcon('customize_icon', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/customize-icon.svg'));
|
|
812
812
|
this._matIconRegistry.addSvgIcon('use_icon', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/use-icon.svg'));
|
|
813
813
|
this._matIconRegistry.addSvgIcon('build_icon', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/build-icon.svg'));
|
|
814
|
+
this._matIconRegistry.addSvgIcon('android_icon', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/android.svg'));
|
|
815
|
+
this._matIconRegistry.addSvgIcon('apple_icon', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/apple.svg'));
|
|
814
816
|
}
|
|
815
817
|
}
|
|
816
818
|
IconsModule.ɵfac = function IconsModule_Factory(t) { return new (t || IconsModule)(i0.ɵɵinject(i1$1.DomSanitizer), i0.ɵɵinject(i2$1.MatIconRegistry)); };
|
|
@@ -3453,7 +3455,7 @@ class AttributesDto {
|
|
|
3453
3455
|
}
|
|
3454
3456
|
}
|
|
3455
3457
|
|
|
3456
|
-
const _c0$
|
|
3458
|
+
const _c0$18 = ["multiSelectList"];
|
|
3457
3459
|
class CommonFilterComponent {
|
|
3458
3460
|
/**
|
|
3459
3461
|
* Constructor
|
|
@@ -3734,7 +3736,7 @@ class CommonFilterComponent {
|
|
|
3734
3736
|
}
|
|
3735
3737
|
CommonFilterComponent.ɵfac = function CommonFilterComponent_Factory(t) { return new (t || CommonFilterComponent)(i0.ɵɵdirectiveInject(CommonFilterService)); };
|
|
3736
3738
|
CommonFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CommonFilterComponent, selectors: [["lib-common-filter"]], viewQuery: function CommonFilterComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3737
|
-
i0.ɵɵviewQuery(_c0$
|
|
3739
|
+
i0.ɵɵviewQuery(_c0$18, 5);
|
|
3738
3740
|
} if (rf & 2) {
|
|
3739
3741
|
let _t;
|
|
3740
3742
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectElem = _t.first);
|
|
@@ -3775,7 +3777,7 @@ CommonFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Commo
|
|
|
3775
3777
|
type: Output
|
|
3776
3778
|
}] }); })();
|
|
3777
3779
|
|
|
3778
|
-
const _c0$
|
|
3780
|
+
const _c0$17 = ["searchBox"];
|
|
3779
3781
|
function AxoSearchBarComponent_mat_icon_5_Template(rf, ctx) { if (rf & 1) {
|
|
3780
3782
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
3781
3783
|
i0.ɵɵelementStart(0, "mat-icon", 6);
|
|
@@ -3817,7 +3819,7 @@ class AxoSearchBarComponent {
|
|
|
3817
3819
|
}
|
|
3818
3820
|
AxoSearchBarComponent.ɵfac = function AxoSearchBarComponent_Factory(t) { return new (t || AxoSearchBarComponent)(); };
|
|
3819
3821
|
AxoSearchBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AxoSearchBarComponent, selectors: [["axo-search-bar"]], viewQuery: function AxoSearchBarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3820
|
-
i0.ɵɵviewQuery(_c0$
|
|
3822
|
+
i0.ɵɵviewQuery(_c0$17, 5);
|
|
3821
3823
|
} if (rf & 2) {
|
|
3822
3824
|
let _t;
|
|
3823
3825
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchElement = _t.first);
|
|
@@ -5697,7 +5699,7 @@ function CalenderFilterComponent_div_26_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
5697
5699
|
i0.ɵɵtext(1, " Please enter valid date ");
|
|
5698
5700
|
i0.ɵɵelementEnd();
|
|
5699
5701
|
} }
|
|
5700
|
-
const _c0$
|
|
5702
|
+
const _c0$16 = function (a0) { return { "mat-form-field-invalid": a0 }; };
|
|
5701
5703
|
function CalenderFilterComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
5702
5704
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
5703
5705
|
i0.ɵɵelementStart(0, "div", 22);
|
|
@@ -5720,7 +5722,7 @@ function CalenderFilterComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
|
5720
5722
|
i0.ɵɵadvance(1);
|
|
5721
5723
|
i0.ɵɵproperty("formGroup", ctx_r4.dateRange);
|
|
5722
5724
|
i0.ɵɵadvance(2);
|
|
5723
|
-
i0.ɵɵproperty("readonly", true)("rangePicker", _r16)("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
5725
|
+
i0.ɵɵproperty("readonly", true)("rangePicker", _r16)("ngClass", i0.ɵɵpureFunction1(6, _c0$16, ctx_r4.isSubmitButton));
|
|
5724
5726
|
i0.ɵɵadvance(3);
|
|
5725
5727
|
i0.ɵɵproperty("for", _r16);
|
|
5726
5728
|
i0.ɵɵadvance(3);
|
|
@@ -6024,7 +6026,7 @@ function DateTimeFilterComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
6024
6026
|
i0.ɵɵadvance(1);
|
|
6025
6027
|
i0.ɵɵproperty("for", _r12);
|
|
6026
6028
|
} }
|
|
6027
|
-
const _c0$
|
|
6029
|
+
const _c0$15 = function () { return { applyLabel: "ok", format: "MM/DD/YYYY HH:mm" }; };
|
|
6028
6030
|
function DateTimeFilterComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
6029
6031
|
const _r20 = i0.ɵɵgetCurrentView();
|
|
6030
6032
|
i0.ɵɵelementStart(0, "div", 22);
|
|
@@ -6039,7 +6041,7 @@ function DateTimeFilterComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
|
6039
6041
|
} if (rf & 2) {
|
|
6040
6042
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
6041
6043
|
i0.ɵɵadvance(1);
|
|
6042
|
-
i0.ɵɵproperty("timePicker", true)("readonly", true)("timePickerSeconds", false)("timePickerIncrement", 1)("timePicker24Hour", true)("locale", i0.ɵɵpureFunction0(8, _c0$
|
|
6044
|
+
i0.ɵɵproperty("timePicker", true)("readonly", true)("timePickerSeconds", false)("timePickerIncrement", 1)("timePicker24Hour", true)("locale", i0.ɵɵpureFunction0(8, _c0$15))("singleDatePicker", false)("ngModel", ctx_r4.dateRangeValue.value);
|
|
6043
6045
|
} }
|
|
6044
6046
|
const dateTimeWidget = [ExpressionValueSubType.dateTime, ExpressionValueSubType.dateTimeOld, ExpressionValueSubType.timestamp];
|
|
6045
6047
|
class DateTimeFilterComponent extends CommonFilterComponent {
|
|
@@ -6369,7 +6371,7 @@ function TimeFilterComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
6369
6371
|
i0.ɵɵadvance(1);
|
|
6370
6372
|
i0.ɵɵproperty("ngIf", ctx_r4.expression == null ? null : ctx_r4.expression.value == null ? null : ctx_r4.expression.value.value);
|
|
6371
6373
|
} }
|
|
6372
|
-
const _c0$
|
|
6374
|
+
const _c0$14 = function (a0) { return { "between_time_active": a0 }; };
|
|
6373
6375
|
class TimeFilterComponent extends CommonFilterComponent {
|
|
6374
6376
|
constructor(_commonFilterService) {
|
|
6375
6377
|
super(_commonFilterService);
|
|
@@ -6565,7 +6567,7 @@ TimeFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeFil
|
|
|
6565
6567
|
i0.ɵɵadvance(3);
|
|
6566
6568
|
i0.ɵɵproperty("placeholder", ctx.displayValue)("matTooltip", ctx.toolTipValue)("matTooltipClass", "capitalize")("matMenuTriggerFor", _r1);
|
|
6567
6569
|
i0.ɵɵadvance(4);
|
|
6568
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$
|
|
6570
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$14, ctx.selectedOperator === ctx.timeOperatorIndex.between));
|
|
6569
6571
|
i0.ɵɵadvance(3);
|
|
6570
6572
|
i0.ɵɵproperty("value", ctx.timeOperatorIndex.greaterThanOrEqualTo)("checked", ctx.selectedOperator === ctx.timeOperatorIndex.greaterThanOrEqualTo);
|
|
6571
6573
|
i0.ɵɵadvance(2);
|
|
@@ -6669,7 +6671,7 @@ function NumberFilterComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
|
6669
6671
|
i0.ɵɵadvance(3);
|
|
6670
6672
|
i0.ɵɵproperty("ngIf", ctx_r5.expression == null ? null : ctx_r5.expression.value == null ? null : ctx_r5.expression.value.value);
|
|
6671
6673
|
} }
|
|
6672
|
-
const _c0$
|
|
6674
|
+
const _c0$13 = function (a0) { return { "between_date_active": a0 }; };
|
|
6673
6675
|
class NumberFilterComponent extends CommonFilterComponent {
|
|
6674
6676
|
constructor(_commonFilterService) {
|
|
6675
6677
|
super(_commonFilterService);
|
|
@@ -6863,7 +6865,7 @@ NumberFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Numbe
|
|
|
6863
6865
|
i0.ɵɵadvance(2);
|
|
6864
6866
|
i0.ɵɵproperty("placeholder", ctx.displayValue)("matTooltip", ctx.toolTipValue)("matMenuTriggerFor", _r1);
|
|
6865
6867
|
i0.ɵɵadvance(4);
|
|
6866
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0$
|
|
6868
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0$13, ctx.selectedOperator === ctx.numberOperatorIndex.between));
|
|
6867
6869
|
i0.ɵɵadvance(3);
|
|
6868
6870
|
i0.ɵɵproperty("value", ctx.numberOperatorIndex.equalTo)("checked", ctx.selectedOperator === ctx.numberOperatorIndex.equalTo);
|
|
6869
6871
|
i0.ɵɵadvance(2);
|
|
@@ -7125,7 +7127,13 @@ class ChoiceListFilterComponent extends CommonFilterComponent {
|
|
|
7125
7127
|
this.setDisplayValue();
|
|
7126
7128
|
this.expression.comparisonOperator = new AxOperator({ text: 'In', value: 'IN' });
|
|
7127
7129
|
this.stringOperators = AxOperator.getStringOperator();
|
|
7128
|
-
|
|
7130
|
+
// Ensure seriesList is always an array
|
|
7131
|
+
const choices = this.expression.field.choices;
|
|
7132
|
+
this.seriesList = Array.isArray(choices)
|
|
7133
|
+
? choices
|
|
7134
|
+
: typeof choices === 'string'
|
|
7135
|
+
? choices.split(',').map(choice => new ChoiceListOption(choice.trim()))
|
|
7136
|
+
: []; // Fallback to an empty array if choices is neither
|
|
7129
7137
|
}
|
|
7130
7138
|
/**
|
|
7131
7139
|
* Set expression value
|
|
@@ -7893,7 +7901,7 @@ CategoryFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cat
|
|
|
7893
7901
|
type: Output
|
|
7894
7902
|
}] }); })();
|
|
7895
7903
|
|
|
7896
|
-
const _c0$
|
|
7904
|
+
const _c0$12 = ["filterScrollElement"];
|
|
7897
7905
|
function FiltersComponent_ng_container_4_ng_container_1_ng_container_1_ng_container_3_lib_calender_filter_2_Template(rf, ctx) { if (rf & 1) {
|
|
7898
7906
|
const _r24 = i0.ɵɵgetCurrentView();
|
|
7899
7907
|
i0.ɵɵelementStart(0, "lib-calender-filter", 18);
|
|
@@ -8478,7 +8486,7 @@ class FiltersComponent {
|
|
|
8478
8486
|
}
|
|
8479
8487
|
FiltersComponent.ɵfac = function FiltersComponent_Factory(t) { return new (t || FiltersComponent)(i0.ɵɵdirectiveInject(MultiSelectFilterService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(FiltersService), i0.ɵɵdirectiveInject(CommonFilterService)); };
|
|
8480
8488
|
FiltersComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FiltersComponent, selectors: [["filters"]], viewQuery: function FiltersComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8481
|
-
i0.ɵɵviewQuery(_c0$
|
|
8489
|
+
i0.ɵɵviewQuery(_c0$12, 5, ElementRef);
|
|
8482
8490
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
8483
8491
|
} if (rf & 2) {
|
|
8484
8492
|
let _t;
|
|
@@ -10014,7 +10022,7 @@ function ReportFilterComponent_div_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
10014
10022
|
i0.ɵɵtext(1, " Add Filter");
|
|
10015
10023
|
i0.ɵɵelementEnd();
|
|
10016
10024
|
} }
|
|
10017
|
-
const _c0$
|
|
10025
|
+
const _c0$11 = function (a0) { return { "border-seperator": a0 }; };
|
|
10018
10026
|
const _c1$n = function (a0) { return { "local-filter-btn": a0 }; };
|
|
10019
10027
|
function ReportFilterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
10020
10028
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -10035,7 +10043,7 @@ function ReportFilterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
10035
10043
|
} if (rf & 2) {
|
|
10036
10044
|
const _r2 = i0.ɵɵreference(5);
|
|
10037
10045
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10038
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
10046
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$11, ctx_r0.getFiltersCount()));
|
|
10039
10047
|
i0.ɵɵadvance(1);
|
|
10040
10048
|
i0.ɵɵproperty("matMenuTriggerFor", _r2)("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r0.scopeType.local === ctx_r0.filterScopeType));
|
|
10041
10049
|
i0.ɵɵadvance(2);
|
|
@@ -10328,7 +10336,7 @@ function CategoriesTreeComponent_div_0_ng_container_7_Template(rf, ctx) { if (rf
|
|
|
10328
10336
|
i0.ɵɵadvance(1);
|
|
10329
10337
|
i0.ɵɵproperty("ngIf", !category_r4.isHidden);
|
|
10330
10338
|
} }
|
|
10331
|
-
const _c0
|
|
10339
|
+
const _c0$10 = function (a0) { return { "field-container": a0 }; };
|
|
10332
10340
|
function CategoriesTreeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
10333
10341
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
10334
10342
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -10347,7 +10355,7 @@ function CategoriesTreeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
10347
10355
|
} if (rf & 2) {
|
|
10348
10356
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10349
10357
|
let tmp_1_0;
|
|
10350
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0
|
|
10358
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$10, ctx_r0.showSearchBox));
|
|
10351
10359
|
i0.ɵɵadvance(3);
|
|
10352
10360
|
i0.ɵɵproperty("ngIf", (tmp_1_0 = i0.ɵɵpipeBind2(4, 3, ctx_r0.categories, ctx_r0.searchedTerm)) == null ? null : tmp_1_0.length);
|
|
10353
10361
|
i0.ɵɵadvance(4);
|
|
@@ -10595,7 +10603,7 @@ function DataModelTreeComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
10595
10603
|
i0.ɵɵtext(1, "Fields");
|
|
10596
10604
|
i0.ɵɵelementEnd();
|
|
10597
10605
|
} }
|
|
10598
|
-
const _c0
|
|
10606
|
+
const _c0$$ = function (a0) { return { "search-icon": a0 }; };
|
|
10599
10607
|
function DataModelTreeComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
10600
10608
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
10601
10609
|
i0.ɵɵelementStart(0, "button", 13);
|
|
@@ -10605,7 +10613,7 @@ function DataModelTreeComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
10605
10613
|
} if (rf & 2) {
|
|
10606
10614
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
10607
10615
|
i0.ɵɵadvance(1);
|
|
10608
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0
|
|
10616
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$$, ctx_r1.showSearchBox))("svgIcon", "heroicons_solid:search");
|
|
10609
10617
|
} }
|
|
10610
10618
|
function DataModelTreeComponent_mat_icon_7_Template(rf, ctx) { if (rf & 1) {
|
|
10611
10619
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
@@ -11804,7 +11812,7 @@ function SelectDashboardsDialogComponent_div_13_Template(rf, ctx) { if (rf & 1)
|
|
|
11804
11812
|
i0.ɵɵadvance(1);
|
|
11805
11813
|
i0.ɵɵproperty("ngIf", ctx_r1.dashboardName.invalid && ctx_r1.dashboardName.touched);
|
|
11806
11814
|
} }
|
|
11807
|
-
const _c0$
|
|
11815
|
+
const _c0$_ = function (a0) { return { "active-selected": a0 }; };
|
|
11808
11816
|
class SelectDashboardsDialogComponent {
|
|
11809
11817
|
constructor(_dashboardListService, _showDashboardComponentService, _snackBar, _axoSnackBar, dialog, data, router) {
|
|
11810
11818
|
this._dashboardListService = _dashboardListService;
|
|
@@ -11937,9 +11945,9 @@ SelectDashboardsDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
|
|
|
11937
11945
|
i0.ɵɵelementEnd();
|
|
11938
11946
|
} if (rf & 2) {
|
|
11939
11947
|
i0.ɵɵadvance(5);
|
|
11940
|
-
i0.ɵɵproperty("disableRipple", true)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
11948
|
+
i0.ɵɵproperty("disableRipple", true)("ngClass", i0.ɵɵpureFunction1(8, _c0$_, ctx.showDashboard));
|
|
11941
11949
|
i0.ɵɵadvance(3);
|
|
11942
|
-
i0.ɵɵproperty("disableRipple", true)("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
11950
|
+
i0.ɵɵproperty("disableRipple", true)("ngClass", i0.ɵɵpureFunction1(10, _c0$_, !ctx.showDashboard));
|
|
11943
11951
|
i0.ɵɵadvance(4);
|
|
11944
11952
|
i0.ɵɵproperty("ngIf", ctx.showDashboard);
|
|
11945
11953
|
i0.ɵɵadvance(1);
|
|
@@ -11962,7 +11970,7 @@ SelectDashboardsDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
|
|
|
11962
11970
|
args: [MAT_DIALOG_DATA]
|
|
11963
11971
|
}] }, { type: i2.Router }]; }, null); })();
|
|
11964
11972
|
|
|
11965
|
-
const _c0$
|
|
11973
|
+
const _c0$Z = function (a0) { return { "delete-button": a0 }; };
|
|
11966
11974
|
class ConfirmationModalComponent {
|
|
11967
11975
|
constructor(dialogRef, data) {
|
|
11968
11976
|
this.dialogRef = dialogRef;
|
|
@@ -11976,46 +11984,43 @@ class ConfirmationModalComponent {
|
|
|
11976
11984
|
}
|
|
11977
11985
|
}
|
|
11978
11986
|
ConfirmationModalComponent.ɵfac = function ConfirmationModalComponent_Factory(t) { return new (t || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
11979
|
-
ConfirmationModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmationModalComponent, selectors: [["comfirmation-modal"]], decls:
|
|
11987
|
+
ConfirmationModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmationModalComponent, selectors: [["comfirmation-modal"]], decls: 11, vars: 7, consts: [[1, "popup-container", "confirmation-popup"], [1, "close-icon", 3, "click"], [1, "action-btn-container"], [1, "stroke-btn", 3, "click"], ["cdkFocusInitial", "", 1, "delete-btn", 3, "ngClass", "click"]], template: function ConfirmationModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11980
11988
|
i0.ɵɵelementStart(0, "div", 0);
|
|
11981
|
-
i0.ɵɵelementStart(1, "
|
|
11982
|
-
i0.ɵɵ
|
|
11989
|
+
i0.ɵɵelementStart(1, "button", 1);
|
|
11990
|
+
i0.ɵɵlistener("click", function ConfirmationModalComponent_Template_button_click_1_listener() { return ctx.onNoClick(); });
|
|
11991
|
+
i0.ɵɵelementEnd();
|
|
11992
|
+
i0.ɵɵelementStart(2, "h1");
|
|
11983
11993
|
i0.ɵɵtext(3);
|
|
11984
11994
|
i0.ɵɵelementEnd();
|
|
11985
|
-
i0.ɵɵelementStart(4, "
|
|
11986
|
-
i0.ɵɵ
|
|
11987
|
-
i0.ɵɵelement(5, "mat-icon", 4);
|
|
11995
|
+
i0.ɵɵelementStart(4, "p");
|
|
11996
|
+
i0.ɵɵtext(5);
|
|
11988
11997
|
i0.ɵɵelementEnd();
|
|
11998
|
+
i0.ɵɵelementStart(6, "div", 2);
|
|
11999
|
+
i0.ɵɵelementStart(7, "button", 3);
|
|
12000
|
+
i0.ɵɵlistener("click", function ConfirmationModalComponent_Template_button_click_7_listener() { return ctx.onNoClick(); });
|
|
12001
|
+
i0.ɵɵtext(8);
|
|
11989
12002
|
i0.ɵɵelementEnd();
|
|
11990
|
-
i0.ɵɵelementStart(
|
|
11991
|
-
i0.ɵɵ
|
|
11992
|
-
i0.ɵɵelementEnd();
|
|
11993
|
-
i0.ɵɵelementStart(8, "div", 6);
|
|
11994
|
-
i0.ɵɵelementStart(9, "button", 7);
|
|
11995
|
-
i0.ɵɵlistener("click", function ConfirmationModalComponent_Template_button_click_9_listener() { return ctx.onNoClick(); });
|
|
12003
|
+
i0.ɵɵelementStart(9, "button", 4);
|
|
12004
|
+
i0.ɵɵlistener("click", function ConfirmationModalComponent_Template_button_click_9_listener() { return ctx.onYesClick(); });
|
|
11996
12005
|
i0.ɵɵtext(10);
|
|
11997
12006
|
i0.ɵɵelementEnd();
|
|
11998
|
-
i0.ɵɵelementStart(11, "button", 8);
|
|
11999
|
-
i0.ɵɵlistener("click", function ConfirmationModalComponent_Template_button_click_11_listener() { return ctx.onYesClick(); });
|
|
12000
|
-
i0.ɵɵtext(12);
|
|
12001
|
-
i0.ɵɵelementEnd();
|
|
12002
12007
|
i0.ɵɵelementEnd();
|
|
12003
12008
|
i0.ɵɵelementEnd();
|
|
12004
12009
|
} if (rf & 2) {
|
|
12005
12010
|
i0.ɵɵadvance(3);
|
|
12006
12011
|
i0.ɵɵtextInterpolate(ctx.data.title);
|
|
12007
|
-
i0.ɵɵadvance(
|
|
12012
|
+
i0.ɵɵadvance(2);
|
|
12008
12013
|
i0.ɵɵtextInterpolate(ctx.data.message);
|
|
12009
12014
|
i0.ɵɵadvance(3);
|
|
12010
12015
|
i0.ɵɵtextInterpolate(ctx.data.cancelButtonText);
|
|
12011
12016
|
i0.ɵɵadvance(1);
|
|
12012
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
12017
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$Z, ctx.data.confirmButtonType === "delete"));
|
|
12013
12018
|
i0.ɵɵadvance(1);
|
|
12014
12019
|
i0.ɵɵtextInterpolate(ctx.data.confirmButtonText);
|
|
12015
|
-
} }, directives: [
|
|
12020
|
+
} }, directives: [i1$3.NgClass], styles: [".confirmation-popup{max-width:20vw}\n", ".popup-container{min-width:20vw;min-height:fit-content;width:fit-content;height:fit-content;max-width:75vw;max-height:75vh;font-family:Inter var,Roboto;font-size:.875rem;position:relative}.popup-container h1{font-family:Inter var,Roboto!important;color:#1b2b4b;font-size:1.125rem;font-weight:500;line-height:28px;margin:0 0 1rem;text-transform:capitalize;width:fit-content}.popup-container p{color:#475467;font-weight:400;margin:0;line-height:20px}.popup-container label{display:block;color:#1b2b4b;font-weight:500;margin:0 0 .2rem}.popup-container .close-icon{height:24px;width:24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M18 6L6 18M6 6L18 18%22 stroke%3D%22%23667085%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-position:center;background-size:100%;position:absolute;top:0;right:0}.popup-container .action-btn-container{display:flex;justify-content:right;gap:.5rem;margin:1.5rem 0 0}.popup-container input[type=text],.popup-container input[type=number],.popup-container input[type=email],.popup-container textarea{display:block;border:1px solid #D0D5DD;border-radius:.375rem;width:100%;padding:.5rem 1rem;color:#1b2b4b;resize:none}.popup-container input[type=text]::placeholder,.popup-container input[type=number]::placeholder,.popup-container input[type=email]::placeholder,.popup-container textarea::placeholder{color:#a5a5a5}.popup-container input[type=text]:focus,.popup-container input[type=number]:focus,.popup-container input[type=email]:focus,.popup-container textarea:focus{border:1px solid #6C52ED}.popup-container .err-message-container{height:14px;line-height:12px;width:100%;margin-top:2px}.popup-container .err-message-container .error-message{color:#dc2626;font-size:12px;float:right}.popup-container .invalid-input{border:1px solid #dc2626!important}.popup-container .checkbox-container{display:flex;justify-content:start;align-items:center}.popup-container .checkbox-container input[type=checkbox]{width:fit-content;margin:0 .5rem 0 0}\n"], encapsulation: 2 });
|
|
12016
12021
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationModalComponent, [{
|
|
12017
12022
|
type: Component,
|
|
12018
|
-
args: [{ selector: 'comfirmation-modal', encapsulation: ViewEncapsulation.None, template: "<div class=\"confirmation-popup\">\n <
|
|
12023
|
+
args: [{ selector: 'comfirmation-modal', encapsulation: ViewEncapsulation.None, template: "<div class=\"popup-container confirmation-popup\">\n <button class=\"close-icon\" (click)=\"onNoClick()\"></button>\n <h1>{{data.title}}</h1>\n <p>{{data.message}}</p>\n <div class=\"action-btn-container\">\n <button class=\"stroke-btn\" (click)=\"onNoClick()\">{{data.cancelButtonText}}</button>\n <button class=\"delete-btn\" [ngClass]=\"{'delete-button': data.confirmButtonType === 'delete'}\" (click)=\"onYesClick()\"\n cdkFocusInitial>{{data.confirmButtonText}}</button>\n </div>\n</div>", styles: [".confirmation-popup{max-width:20vw}\n", ".popup-container{min-width:20vw;min-height:fit-content;width:fit-content;height:fit-content;max-width:75vw;max-height:75vh;font-family:Inter var,Roboto;font-size:.875rem;position:relative}.popup-container h1{font-family:Inter var,Roboto!important;color:#1b2b4b;font-size:1.125rem;font-weight:500;line-height:28px;margin:0 0 1rem;text-transform:capitalize;width:fit-content}.popup-container p{color:#475467;font-weight:400;margin:0;line-height:20px}.popup-container label{display:block;color:#1b2b4b;font-weight:500;margin:0 0 .2rem}.popup-container .close-icon{height:24px;width:24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M18 6L6 18M6 6L18 18%22 stroke%3D%22%23667085%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-position:center;background-size:100%;position:absolute;top:0;right:0}.popup-container .action-btn-container{display:flex;justify-content:right;gap:.5rem;margin:1.5rem 0 0}.popup-container input[type=text],.popup-container input[type=number],.popup-container input[type=email],.popup-container textarea{display:block;border:1px solid #D0D5DD;border-radius:.375rem;width:100%;padding:.5rem 1rem;color:#1b2b4b;resize:none}.popup-container input[type=text]::placeholder,.popup-container input[type=number]::placeholder,.popup-container input[type=email]::placeholder,.popup-container textarea::placeholder{color:#a5a5a5}.popup-container input[type=text]:focus,.popup-container input[type=number]:focus,.popup-container input[type=email]:focus,.popup-container textarea:focus{border:1px solid #6C52ED}.popup-container .err-message-container{height:14px;line-height:12px;width:100%;margin-top:2px}.popup-container .err-message-container .error-message{color:#dc2626;font-size:12px;float:right}.popup-container .invalid-input{border:1px solid #dc2626!important}.popup-container .checkbox-container{display:flex;justify-content:start;align-items:center}.popup-container .checkbox-container input[type=checkbox]{width:fit-content;margin:0 .5rem 0 0}\n"] }]
|
|
12019
12024
|
}], function () { return [{ type: i1$5.MatDialogRef }, { type: undefined, decorators: [{
|
|
12020
12025
|
type: Inject,
|
|
12021
12026
|
args: [MAT_DIALOG_DATA]
|
|
@@ -12183,14 +12188,14 @@ DashboardBuilderService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token:
|
|
|
12183
12188
|
function GhostLoaderComponent_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
12184
12189
|
i0.ɵɵelement(0, "div", 3);
|
|
12185
12190
|
} }
|
|
12186
|
-
const _c0$
|
|
12191
|
+
const _c0$Y = function () { return []; };
|
|
12187
12192
|
function GhostLoaderComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
12188
12193
|
i0.ɵɵelementContainerStart(0);
|
|
12189
12194
|
i0.ɵɵtemplate(1, GhostLoaderComponent_ng_container_1_div_1_Template, 1, 0, "div", 2);
|
|
12190
12195
|
i0.ɵɵelementContainerEnd();
|
|
12191
12196
|
} if (rf & 2) {
|
|
12192
12197
|
i0.ɵɵadvance(1);
|
|
12193
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12198
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(11));
|
|
12194
12199
|
} }
|
|
12195
12200
|
function GhostLoaderComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12196
12201
|
i0.ɵɵelement(0, "div", 9);
|
|
@@ -12211,9 +12216,9 @@ function GhostLoaderComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
12211
12216
|
i0.ɵɵelementContainerEnd();
|
|
12212
12217
|
} if (rf & 2) {
|
|
12213
12218
|
i0.ɵɵadvance(3);
|
|
12214
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$
|
|
12219
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$Y).constructor(2));
|
|
12215
12220
|
i0.ɵɵadvance(2);
|
|
12216
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$
|
|
12221
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$Y).constructor(3));
|
|
12217
12222
|
} }
|
|
12218
12223
|
function GhostLoaderComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
12219
12224
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12276,7 +12281,7 @@ function GhostLoaderComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
12276
12281
|
i0.ɵɵelementContainerEnd();
|
|
12277
12282
|
} if (rf & 2) {
|
|
12278
12283
|
i0.ɵɵadvance(3);
|
|
12279
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12284
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(4));
|
|
12280
12285
|
} }
|
|
12281
12286
|
function GhostLoaderComponent_ng_container_8_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
12282
12287
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12300,7 +12305,7 @@ function GhostLoaderComponent_ng_container_8_ng_container_6_Template(rf, ctx) {
|
|
|
12300
12305
|
i0.ɵɵelementContainerEnd();
|
|
12301
12306
|
} if (rf & 2) {
|
|
12302
12307
|
i0.ɵɵadvance(2);
|
|
12303
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12308
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(11));
|
|
12304
12309
|
} }
|
|
12305
12310
|
function GhostLoaderComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
12306
12311
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12317,9 +12322,9 @@ function GhostLoaderComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
12317
12322
|
i0.ɵɵelementContainerEnd();
|
|
12318
12323
|
} if (rf & 2) {
|
|
12319
12324
|
i0.ɵɵadvance(5);
|
|
12320
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$
|
|
12325
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$Y).constructor(11));
|
|
12321
12326
|
i0.ɵɵadvance(1);
|
|
12322
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$
|
|
12327
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$Y).constructor(8));
|
|
12323
12328
|
} }
|
|
12324
12329
|
function GhostLoaderComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
12325
12330
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12342,7 +12347,7 @@ function GhostLoaderComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
12342
12347
|
i0.ɵɵelementContainerEnd();
|
|
12343
12348
|
} if (rf & 2) {
|
|
12344
12349
|
i0.ɵɵadvance(2);
|
|
12345
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12350
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(4));
|
|
12346
12351
|
} }
|
|
12347
12352
|
function GhostLoaderComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
|
12348
12353
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12382,7 +12387,7 @@ function GhostLoaderComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
12382
12387
|
i0.ɵɵelementContainerEnd();
|
|
12383
12388
|
} if (rf & 2) {
|
|
12384
12389
|
i0.ɵɵadvance(8);
|
|
12385
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12390
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(4));
|
|
12386
12391
|
} }
|
|
12387
12392
|
function GhostLoaderComponent_ng_container_14_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12388
12393
|
i0.ɵɵelement(0, "div", 57);
|
|
@@ -12397,7 +12402,7 @@ function GhostLoaderComponent_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
12397
12402
|
i0.ɵɵelementContainerEnd();
|
|
12398
12403
|
} if (rf & 2) {
|
|
12399
12404
|
i0.ɵɵadvance(3);
|
|
12400
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12405
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(15));
|
|
12401
12406
|
} }
|
|
12402
12407
|
function GhostLoaderComponent_ng_container_15_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12403
12408
|
i0.ɵɵelement(0, "div", 24);
|
|
@@ -12432,11 +12437,11 @@ function GhostLoaderComponent_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
12432
12437
|
i0.ɵɵelementContainerEnd();
|
|
12433
12438
|
} if (rf & 2) {
|
|
12434
12439
|
i0.ɵɵadvance(3);
|
|
12435
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$
|
|
12440
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$Y).constructor(2));
|
|
12436
12441
|
i0.ɵɵadvance(4);
|
|
12437
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$
|
|
12442
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$Y).constructor(12));
|
|
12438
12443
|
i0.ɵɵadvance(5);
|
|
12439
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$
|
|
12444
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$Y).constructor(12));
|
|
12440
12445
|
} }
|
|
12441
12446
|
function GhostLoaderComponent_ng_container_16_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12442
12447
|
i0.ɵɵelement(0, "div", 24);
|
|
@@ -12482,13 +12487,13 @@ function GhostLoaderComponent_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
12482
12487
|
i0.ɵɵelementContainerEnd();
|
|
12483
12488
|
} if (rf & 2) {
|
|
12484
12489
|
i0.ɵɵadvance(3);
|
|
12485
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$
|
|
12490
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$Y).constructor(2));
|
|
12486
12491
|
i0.ɵɵadvance(4);
|
|
12487
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$
|
|
12492
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$Y).constructor(12));
|
|
12488
12493
|
i0.ɵɵadvance(2);
|
|
12489
12494
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(6, _c1$l));
|
|
12490
12495
|
i0.ɵɵadvance(5);
|
|
12491
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(7, _c0$
|
|
12496
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(7, _c0$Y).constructor(8));
|
|
12492
12497
|
} }
|
|
12493
12498
|
function GhostLoaderComponent_ng_container_17_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12494
12499
|
i0.ɵɵelement(0, "div", 24);
|
|
@@ -12530,13 +12535,13 @@ function GhostLoaderComponent_ng_container_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
12530
12535
|
i0.ɵɵelementContainerEnd();
|
|
12531
12536
|
} if (rf & 2) {
|
|
12532
12537
|
i0.ɵɵadvance(3);
|
|
12533
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$
|
|
12538
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$Y).constructor(2));
|
|
12534
12539
|
i0.ɵɵadvance(4);
|
|
12535
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$
|
|
12540
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$Y).constructor(6));
|
|
12536
12541
|
i0.ɵɵadvance(3);
|
|
12537
12542
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(6, _c2$h));
|
|
12538
12543
|
i0.ɵɵadvance(2);
|
|
12539
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(7, _c0$
|
|
12544
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(7, _c0$Y).constructor(10));
|
|
12540
12545
|
} }
|
|
12541
12546
|
function GhostLoaderComponent_ng_container_18_tr_4_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
12542
12547
|
i0.ɵɵelementStart(0, "td", 30);
|
|
@@ -12549,7 +12554,7 @@ function GhostLoaderComponent_ng_container_18_tr_4_Template(rf, ctx) { if (rf &
|
|
|
12549
12554
|
i0.ɵɵelementEnd();
|
|
12550
12555
|
} if (rf & 2) {
|
|
12551
12556
|
i0.ɵɵadvance(1);
|
|
12552
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12557
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(3));
|
|
12553
12558
|
} }
|
|
12554
12559
|
function GhostLoaderComponent_ng_container_18_Template(rf, ctx) { if (rf & 1) {
|
|
12555
12560
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12563,7 +12568,7 @@ function GhostLoaderComponent_ng_container_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
12563
12568
|
i0.ɵɵelementContainerEnd();
|
|
12564
12569
|
} if (rf & 2) {
|
|
12565
12570
|
i0.ɵɵadvance(4);
|
|
12566
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12571
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(11));
|
|
12567
12572
|
} }
|
|
12568
12573
|
function GhostLoaderComponent_ng_container_19_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12569
12574
|
i0.ɵɵelement(0, "div", 24);
|
|
@@ -12587,9 +12592,9 @@ function GhostLoaderComponent_ng_container_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
12587
12592
|
i0.ɵɵelementContainerEnd();
|
|
12588
12593
|
} if (rf & 2) {
|
|
12589
12594
|
i0.ɵɵadvance(3);
|
|
12590
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$
|
|
12595
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$Y).constructor(2));
|
|
12591
12596
|
i0.ɵɵadvance(4);
|
|
12592
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$
|
|
12597
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$Y).constructor(4));
|
|
12593
12598
|
} }
|
|
12594
12599
|
function GhostLoaderComponent_ng_container_20_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
12595
12600
|
i0.ɵɵelement(0, "div", 95);
|
|
@@ -12606,7 +12611,7 @@ function GhostLoaderComponent_ng_container_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
12606
12611
|
i0.ɵɵelementContainerEnd();
|
|
12607
12612
|
} if (rf & 2) {
|
|
12608
12613
|
i0.ɵɵadvance(5);
|
|
12609
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12614
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(6));
|
|
12610
12615
|
} }
|
|
12611
12616
|
function GhostLoaderComponent_ng_container_21_div_1_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
12612
12617
|
i0.ɵɵelementStart(0, "div", 106);
|
|
@@ -12662,11 +12667,11 @@ function GhostLoaderComponent_ng_container_21_div_1_Template(rf, ctx) { if (rf &
|
|
|
12662
12667
|
i0.ɵɵelementEnd();
|
|
12663
12668
|
} if (rf & 2) {
|
|
12664
12669
|
i0.ɵɵadvance(8);
|
|
12665
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$
|
|
12670
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(3, _c0$Y).constructor(3));
|
|
12666
12671
|
i0.ɵɵadvance(3);
|
|
12667
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$
|
|
12672
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(4, _c0$Y).constructor(9));
|
|
12668
12673
|
i0.ɵɵadvance(8);
|
|
12669
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$
|
|
12674
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(5, _c0$Y).constructor(3));
|
|
12670
12675
|
} }
|
|
12671
12676
|
function GhostLoaderComponent_ng_container_21_Template(rf, ctx) { if (rf & 1) {
|
|
12672
12677
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12674,7 +12679,7 @@ function GhostLoaderComponent_ng_container_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
12674
12679
|
i0.ɵɵelementContainerEnd();
|
|
12675
12680
|
} if (rf & 2) {
|
|
12676
12681
|
i0.ɵɵadvance(1);
|
|
12677
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12682
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(2));
|
|
12678
12683
|
} }
|
|
12679
12684
|
function GhostLoaderComponent_ng_container_22_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
12680
12685
|
i0.ɵɵelementStart(0, "div", 107);
|
|
@@ -12707,7 +12712,7 @@ function GhostLoaderComponent_ng_container_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
12707
12712
|
} if (rf & 2) {
|
|
12708
12713
|
const ctx_r21 = i0.ɵɵnextContext();
|
|
12709
12714
|
i0.ɵɵadvance(9);
|
|
12710
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$
|
|
12715
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(2, _c0$Y).constructor(9));
|
|
12711
12716
|
i0.ɵɵadvance(3);
|
|
12712
12717
|
i0.ɵɵproperty("elementType", ctx_r21.GhostLoaderType.DataDetailLoader);
|
|
12713
12718
|
} }
|
|
@@ -12799,7 +12804,7 @@ function GhostLoaderComponent_ng_container_25_Template(rf, ctx) { if (rf & 1) {
|
|
|
12799
12804
|
i0.ɵɵelementContainerEnd();
|
|
12800
12805
|
} if (rf & 2) {
|
|
12801
12806
|
i0.ɵɵadvance(2);
|
|
12802
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12807
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(16));
|
|
12803
12808
|
} }
|
|
12804
12809
|
function GhostLoaderComponent_ng_container_26_Template(rf, ctx) { if (rf & 1) {
|
|
12805
12810
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -12846,7 +12851,7 @@ function GhostLoaderComponent_ng_container_30_Template(rf, ctx) { if (rf & 1) {
|
|
|
12846
12851
|
i0.ɵɵelementContainerEnd();
|
|
12847
12852
|
} if (rf & 2) {
|
|
12848
12853
|
i0.ɵɵadvance(2);
|
|
12849
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$
|
|
12854
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpureFunction0(1, _c0$Y).constructor(3));
|
|
12850
12855
|
} }
|
|
12851
12856
|
class GhostLoaderComponent {
|
|
12852
12857
|
constructor() {
|
|
@@ -13003,7 +13008,7 @@ var GhostLoaderType;
|
|
|
13003
13008
|
GhostLoaderType[GhostLoaderType["FormSuggestionLoader"] = 29] = "FormSuggestionLoader";
|
|
13004
13009
|
})(GhostLoaderType || (GhostLoaderType = {}));
|
|
13005
13010
|
|
|
13006
|
-
const _c0$
|
|
13011
|
+
const _c0$X = ["cardChartContainer"];
|
|
13007
13012
|
const _c1$k = ["cardBody"];
|
|
13008
13013
|
function CardChartComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
13009
13014
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -13468,7 +13473,7 @@ class CardChartComponent {
|
|
|
13468
13473
|
CardChartComponent.ɵfac = function CardChartComponent_Factory(t) { return new (t || CardChartComponent)(i0.ɵɵdirectiveInject(FieldsListService), i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(SendToDashboardService), i0.ɵɵdirectiveInject(ElementService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(DashboardBuilderService), i0.ɵɵdirectiveInject(FiltersService)); };
|
|
13469
13474
|
CardChartComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardChartComponent, selectors: [["lib-card-chart"]], viewQuery: function CardChartComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13470
13475
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
13471
|
-
i0.ɵɵviewQuery(_c0$
|
|
13476
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
13472
13477
|
i0.ɵɵviewQuery(_c1$k, 5);
|
|
13473
13478
|
} if (rf & 2) {
|
|
13474
13479
|
let _t;
|
|
@@ -13968,7 +13973,7 @@ DrillThroughService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Dril
|
|
|
13968
13973
|
}], function () { return [{ type: BreadCrumbsService }]; }, null); })();
|
|
13969
13974
|
|
|
13970
13975
|
// External libs
|
|
13971
|
-
const _c0$
|
|
13976
|
+
const _c0$W = ["chart"];
|
|
13972
13977
|
function LineChartComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
13973
13978
|
i0.ɵɵelementContainerStart(0);
|
|
13974
13979
|
i0.ɵɵelement(1, "app-ghost-loader", 13);
|
|
@@ -14707,7 +14712,7 @@ class LineChartComponent {
|
|
|
14707
14712
|
}
|
|
14708
14713
|
LineChartComponent.ɵfac = function LineChartComponent_Factory(t) { return new (t || LineChartComponent)(i0.ɵɵdirectiveInject(FieldsListService), i0.ɵɵdirectiveInject(SendToDashboardService), i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(ElementService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(DashboardBuilderService), i0.ɵɵdirectiveInject(DrillThroughService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(FiltersService)); };
|
|
14709
14714
|
LineChartComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LineChartComponent, selectors: [["lib-line-chart"]], viewQuery: function LineChartComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14710
|
-
i0.ɵɵviewQuery(_c0$
|
|
14715
|
+
i0.ɵɵviewQuery(_c0$W, 5);
|
|
14711
14716
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
14712
14717
|
} if (rf & 2) {
|
|
14713
14718
|
let _t;
|
|
@@ -14907,7 +14912,7 @@ function PieChartComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
14907
14912
|
i0.ɵɵadvance(1);
|
|
14908
14913
|
i0.ɵɵproperty("diameter", _r0.offsetHeight <= _r0.offsetWidth ? _r0.offsetHeight : _r0.offsetWidth)("elementType", ctx_r1.GhostLoaderType.PieChartLoader);
|
|
14909
14914
|
} }
|
|
14910
|
-
const _c0$
|
|
14915
|
+
const _c0$V = function (a0, a1) { return { "local-body": a0, "hidden": a1 }; };
|
|
14911
14916
|
function PieChartComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
14912
14917
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
14913
14918
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -14918,7 +14923,7 @@ function PieChartComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
14918
14923
|
i0.ɵɵelementEnd();
|
|
14919
14924
|
} if (rf & 2) {
|
|
14920
14925
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
14921
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$
|
|
14926
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$V, !ctx_r2.isEditable, ctx_r2.screenType != ctx_r2.ScreenType.reportBuilder && !ctx_r2.ShowFilters));
|
|
14922
14927
|
i0.ɵɵadvance(1);
|
|
14923
14928
|
i0.ɵɵproperty("filters", ctx_r2.reportData.filters)("categories", ctx_r2.reportData.categories)("reportId", ctx_r2.reportId)("screenType", ctx_r2.screenType)("dataModel", ctx_r2.dataModel)("isEditable", ctx_r2.isEditable)("appVersion", ctx_r2.appVersionId);
|
|
14924
14929
|
} }
|
|
@@ -15909,7 +15914,7 @@ class PieChart extends Chart {
|
|
|
15909
15914
|
}
|
|
15910
15915
|
}
|
|
15911
15916
|
|
|
15912
|
-
const _c0$
|
|
15917
|
+
const _c0$U = ["textContainer"];
|
|
15913
15918
|
function TextComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15914
15919
|
i0.ɵɵelementContainerStart(0);
|
|
15915
15920
|
i0.ɵɵelement(1, "app-ghost-loader", 3);
|
|
@@ -16246,7 +16251,7 @@ class TextComponent {
|
|
|
16246
16251
|
TextComponent.ɵfac = function TextComponent_Factory(t) { return new (t || TextComponent)(i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(SendToDashboardService), i0.ɵɵdirectiveInject(CommonService)); };
|
|
16247
16252
|
TextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextComponent, selectors: [["lib-text"]], viewQuery: function TextComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16248
16253
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
16249
|
-
i0.ɵɵviewQuery(_c0$
|
|
16254
|
+
i0.ɵɵviewQuery(_c0$U, 5);
|
|
16250
16255
|
} if (rf & 2) {
|
|
16251
16256
|
let _t;
|
|
16252
16257
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contextMenu = _t.first);
|
|
@@ -17014,7 +17019,7 @@ ReportBuilderMasterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ toke
|
|
|
17014
17019
|
type: Injectable
|
|
17015
17020
|
}], function () { return [{ type: i1$2.HttpClient }, { type: ReportControlService }, { type: BreadCrumbsService }, { type: CommonService }]; }, null); })();
|
|
17016
17021
|
|
|
17017
|
-
const _c0$
|
|
17022
|
+
const _c0$T = ["barChartContainer"];
|
|
17018
17023
|
function BarChartComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
17019
17024
|
i0.ɵɵelementContainerStart(0);
|
|
17020
17025
|
i0.ɵɵelement(1, "app-ghost-loader", 14);
|
|
@@ -17902,7 +17907,7 @@ class BarChartComponent {
|
|
|
17902
17907
|
}
|
|
17903
17908
|
BarChartComponent.ɵfac = function BarChartComponent_Factory(t) { return new (t || BarChartComponent)(i0.ɵɵdirectiveInject(FieldsListService), i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(SendToDashboardService), i0.ɵɵdirectiveInject(ElementService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(DrillThroughService), i0.ɵɵdirectiveInject(DashboardBuilderService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(FiltersService)); };
|
|
17904
17909
|
BarChartComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BarChartComponent, selectors: [["bar-chart"]], viewQuery: function BarChartComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17905
|
-
i0.ɵɵviewQuery(_c0$
|
|
17910
|
+
i0.ɵɵviewQuery(_c0$T, 5);
|
|
17906
17911
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
17907
17912
|
} if (rf & 2) {
|
|
17908
17913
|
let _t;
|
|
@@ -18126,7 +18131,7 @@ function ChartFilterComponent_div_0_ng_container_14_div_1_mat_list_option_5_Temp
|
|
|
18126
18131
|
i0.ɵɵadvance(1);
|
|
18127
18132
|
i0.ɵɵtextInterpolate1(" ", category_r13.name, "");
|
|
18128
18133
|
} }
|
|
18129
|
-
const _c0$
|
|
18134
|
+
const _c0$S = function (a0) { return { "field-container": a0 }; };
|
|
18130
18135
|
function ChartFilterComponent_div_0_ng_container_14_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
18131
18136
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
18132
18137
|
i0.ɵɵelementStart(0, "div", 20);
|
|
@@ -18141,7 +18146,7 @@ function ChartFilterComponent_div_0_ng_container_14_div_1_Template(rf, ctx) { if
|
|
|
18141
18146
|
} if (rf & 2) {
|
|
18142
18147
|
const ctx_r9 = i0.ɵɵnextContext(3);
|
|
18143
18148
|
let tmp_1_0;
|
|
18144
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18149
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, ctx_r9.showSearchBox));
|
|
18145
18150
|
i0.ɵɵadvance(1);
|
|
18146
18151
|
i0.ɵɵproperty("ngIf", (tmp_1_0 = i0.ɵɵpipeBind2(2, 3, ctx_r9.categoryList, ctx_r9.searchedTerm)) == null ? null : tmp_1_0.length);
|
|
18147
18152
|
i0.ɵɵadvance(4);
|
|
@@ -19414,7 +19419,7 @@ TabularReportService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Tab
|
|
|
19414
19419
|
}]
|
|
19415
19420
|
}], function () { return [{ type: i1$2.HttpClient }]; }, null); })();
|
|
19416
19421
|
|
|
19417
|
-
const _c0$
|
|
19422
|
+
const _c0$R = ["removeFromDashboardMenu"];
|
|
19418
19423
|
const _c1$e = ["drillThorughMenuTrigger"];
|
|
19419
19424
|
const _c2$a = function (a0) { return { "dashboard-tabular-filter": a0 }; };
|
|
19420
19425
|
function TabularComponent_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -20041,7 +20046,7 @@ class TabularComponent {
|
|
|
20041
20046
|
TabularComponent.ɵfac = function TabularComponent_Factory(t) { return new (t || TabularComponent)(i0.ɵɵdirectiveInject(FieldsListService), i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(ElementService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(TabularReportService), i0.ɵɵdirectiveInject(i9.FormBuilder), i0.ɵɵdirectiveInject(UserDataService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(DashboardBuilderService), i0.ɵɵdirectiveInject(DrillThroughService), i0.ɵɵdirectiveInject(i2.Router)); };
|
|
20042
20047
|
TabularComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabularComponent, selectors: [["tabular"]], viewQuery: function TabularComponent_Query(rf, ctx) { if (rf & 1) {
|
|
20043
20048
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
20044
|
-
i0.ɵɵviewQuery(_c0$
|
|
20049
|
+
i0.ɵɵviewQuery(_c0$R, 5, MatMenuTrigger);
|
|
20045
20050
|
i0.ɵɵviewQuery(_c1$e, 5, MatMenuTrigger);
|
|
20046
20051
|
} if (rf & 2) {
|
|
20047
20052
|
let _t;
|
|
@@ -20209,7 +20214,7 @@ function DashboardFilterComponent_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
20209
20214
|
i0.ɵɵelement(1, "mat-icon", 4);
|
|
20210
20215
|
i0.ɵɵelementEnd();
|
|
20211
20216
|
} }
|
|
20212
|
-
const _c0$
|
|
20217
|
+
const _c0$Q = function (a0) { return { "widthWithCrossFilter": a0 }; };
|
|
20213
20218
|
class DashboardFilterComponent {
|
|
20214
20219
|
constructor(_elementService, activatedRoute) {
|
|
20215
20220
|
this._elementService = _elementService;
|
|
@@ -20276,7 +20281,7 @@ DashboardFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Da
|
|
|
20276
20281
|
i0.ɵɵelementEnd();
|
|
20277
20282
|
} if (rf & 2) {
|
|
20278
20283
|
i0.ɵɵadvance(1);
|
|
20279
|
-
i0.ɵɵproperty("commonFilterArray", ctx.commonFilterArray)("screenType", ctx.screenType)("scopeType", ctx.scopeType)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
20284
|
+
i0.ɵɵproperty("commonFilterArray", ctx.commonFilterArray)("screenType", ctx.screenType)("scopeType", ctx.scopeType)("ngClass", i0.ɵɵpureFunction1(5, _c0$Q, !ctx.showHeader && ctx.crossFilterEnabled));
|
|
20280
20285
|
i0.ɵɵadvance(1);
|
|
20281
20286
|
i0.ɵɵproperty("ngIf", !ctx.showHeader && ctx.crossFilterEnabled);
|
|
20282
20287
|
} }, styles: ["lib-dashboard-filter{max-width:100%;width:100%;height:3.7rem;display:flex;align-items:start}lib-dashboard-filter .widthWithCrossFilter{width:calc(100% - 2.563rem);min-width:calc(100% - 2.563rem);max-width:calc(100% - 2.563rem);display:flex;align-items:center}lib-dashboard-filter .global-filter{height:100%;display:flex;align-items:center;max-width:100%}lib-dashboard-filter .global-filter .dash-reset,lib-dashboard-filter .global-filter .reset-section,lib-dashboard-filter .global-filter .reset-btn{border-left:1px solid #c9c9c9c9;white-space:nowrap;width:144px;display:flex;height:2rem;align-items:start;padding-left:.4rem}lib-dashboard-filter .global-filter .dash-reset .reset,lib-dashboard-filter .global-filter .reset-section .reset,lib-dashboard-filter .global-filter .reset-btn .reset{margin:0;font-size:11px}lib-dashboard-filter .global-filter .filter-wrapper{position:inherit;display:inline-block;gap:25px;max-width:calc(100% - 154px);height:2.7rem;line-height:2.7rem;align-items:start!important;overflow-y:hidden;align-self:center}lib-dashboard-filter .global-filter .filter-wrapper .reset{margin:0!important}\n"], encapsulation: 2 });
|
|
@@ -20335,7 +20340,7 @@ function RowGroupViewComponent_div_0_table_1_ng_container_4_th_1_button_5_Templa
|
|
|
20335
20340
|
i0.ɵɵelement(1, "mat-icon", 26);
|
|
20336
20341
|
i0.ɵɵelementEnd();
|
|
20337
20342
|
} }
|
|
20338
|
-
const _c0$
|
|
20343
|
+
const _c0$P = function (a1, a2, a4) { return { enable: true, report: a1, attribute: a2, type: "attribute", index: a4 }; };
|
|
20339
20344
|
function RowGroupViewComponent_div_0_table_1_ng_container_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
20340
20345
|
const _r21 = i0.ɵɵgetCurrentView();
|
|
20341
20346
|
i0.ɵɵelementStart(0, "th", 18);
|
|
@@ -20355,7 +20360,7 @@ function RowGroupViewComponent_div_0_table_1_ng_container_4_th_1_Template(rf, ct
|
|
|
20355
20360
|
const i_r12 = ctx_r22.index;
|
|
20356
20361
|
const ctx_r13 = i0.ɵɵnextContext(3);
|
|
20357
20362
|
i0.ɵɵstyleProp("font-size", ctx_r13.tabularReport.tableStyle.header.font.size, "px")("color", ctx_r13.tabularReport.tableStyle.header.font.color)("font-family", ctx_r13.tabularReport.tableStyle.header.font.family)("background", ctx_r13.tabularReport.tableStyle.header.backgroundColor)("border", ctx_r13.tabularReport.tableStyle.border.width + "px" + " " + ctx_r13.tabularReport.tableStyle.border.borderStyle + " " + ctx_r13.tabularReport.tableStyle.border.color)("text-align", attr_r11.alignment);
|
|
20358
|
-
i0.ɵɵproperty("id", ctx_r13.th)("cdkDragDisabled", !ctx_r13.isEditable || attr_r11.rowSpan)("resizeColumnData", i0.ɵɵpureFunction3(27, _c0$
|
|
20363
|
+
i0.ɵɵproperty("id", ctx_r13.th)("cdkDragDisabled", !ctx_r13.isEditable || attr_r11.rowSpan)("resizeColumnData", i0.ɵɵpureFunction3(27, _c0$P, ctx_r13.tabularReport, attr_r11, i_r12));
|
|
20359
20364
|
i0.ɵɵadvance(2);
|
|
20360
20365
|
i0.ɵɵproperty("ngIf", ctx_r13.isEditable && !attr_r11.rowSpan);
|
|
20361
20366
|
i0.ɵɵadvance(2);
|
|
@@ -22249,7 +22254,7 @@ CodeEditorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CodeEdi
|
|
|
22249
22254
|
type: Output
|
|
22250
22255
|
}] }); })();
|
|
22251
22256
|
|
|
22252
|
-
const _c0$
|
|
22257
|
+
const _c0$O = ["editor"];
|
|
22253
22258
|
class ConditionalFormattingComponent {
|
|
22254
22259
|
constructor(dialogRef, data) {
|
|
22255
22260
|
this.dialogRef = dialogRef;
|
|
@@ -22286,7 +22291,7 @@ class ConditionalFormattingComponent {
|
|
|
22286
22291
|
}
|
|
22287
22292
|
ConditionalFormattingComponent.ɵfac = function ConditionalFormattingComponent_Factory(t) { return new (t || ConditionalFormattingComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
22288
22293
|
ConditionalFormattingComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConditionalFormattingComponent, selectors: [["lib-conditional-formatting"]], viewQuery: function ConditionalFormattingComponent_Query(rf, ctx) { if (rf & 1) {
|
|
22289
|
-
i0.ɵɵviewQuery(_c0$
|
|
22294
|
+
i0.ɵɵviewQuery(_c0$O, 5);
|
|
22290
22295
|
} if (rf & 2) {
|
|
22291
22296
|
let _t;
|
|
22292
22297
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editor = _t.first);
|
|
@@ -22325,7 +22330,7 @@ ConditionalFormattingComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
22325
22330
|
args: ['editor']
|
|
22326
22331
|
}] }); })();
|
|
22327
22332
|
|
|
22328
|
-
const _c0$
|
|
22333
|
+
const _c0$N = ["drillThorughMenuTrigger"];
|
|
22329
22334
|
function DetailGroupViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
22330
22335
|
i0.ɵɵelementStart(0, "div", 7);
|
|
22331
22336
|
i0.ɵɵelement(1, "app-ghost-loader", 8);
|
|
@@ -23809,7 +23814,7 @@ class DetailGroupViewComponent {
|
|
|
23809
23814
|
DetailGroupViewComponent.ɵfac = function DetailGroupViewComponent_Factory(t) { return new (t || DetailGroupViewComponent)(i0.ɵɵdirectiveInject(ReportBuilderMasterService), i0.ɵɵdirectiveInject(FieldsListService), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(ElementService), i0.ɵɵdirectiveInject(TabularReportService), i0.ɵɵdirectiveInject(DashboardBuilderService), i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
23810
23815
|
DetailGroupViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DetailGroupViewComponent, selectors: [["lib-detail-view"]], viewQuery: function DetailGroupViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23811
23816
|
i0.ɵɵviewQuery(MatMenuTrigger, 5);
|
|
23812
|
-
i0.ɵɵviewQuery(_c0$
|
|
23817
|
+
i0.ɵɵviewQuery(_c0$N, 5, MatMenuTrigger);
|
|
23813
23818
|
} if (rf & 2) {
|
|
23814
23819
|
let _t;
|
|
23815
23820
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contextMenu = _t.first);
|
|
@@ -25664,7 +25669,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
25664
25669
|
i0.ɵɵadvance(1);
|
|
25665
25670
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r383.series[i_r375], _attr_r383.valueFormatting.currency, "symbol"));
|
|
25666
25671
|
} }
|
|
25667
|
-
const _c0$
|
|
25672
|
+
const _c0$M = function () { return []; };
|
|
25668
25673
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_2_td_1_span_3_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
25669
25674
|
i0.ɵɵelementStart(0, "span");
|
|
25670
25675
|
i0.ɵɵtext(1);
|
|
@@ -25674,7 +25679,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
25674
25679
|
const _attr_r383 = i0.ɵɵnextContext(3).$implicit;
|
|
25675
25680
|
const i_r375 = i0.ɵɵnextContext().index;
|
|
25676
25681
|
i0.ɵɵadvance(1);
|
|
25677
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r383.series[i_r375], i0.ɵɵpureFunction0(5, _c0$
|
|
25682
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r383.series[i_r375], i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
25678
25683
|
} }
|
|
25679
25684
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_2_td_1_span_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
25680
25685
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -25820,7 +25825,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
25820
25825
|
const _attr_r383 = i0.ɵɵnextContext(4).$implicit;
|
|
25821
25826
|
const i_r375 = i0.ɵɵnextContext().index;
|
|
25822
25827
|
i0.ɵɵadvance(1);
|
|
25823
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r383.series[i_r375], i0.ɵɵpureFunction0(5, _c0$
|
|
25828
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r383.series[i_r375], i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
25824
25829
|
} }
|
|
25825
25830
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_2_td_1_span_5_span_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
25826
25831
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26057,7 +26062,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26057
26062
|
const _attr_r488 = i0.ɵɵnextContext(3).$implicit;
|
|
26058
26063
|
const i_r375 = i0.ɵɵnextContext().index;
|
|
26059
26064
|
i0.ɵɵadvance(1);
|
|
26060
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r488.series[i_r375], i0.ɵɵpureFunction0(5, _c0$
|
|
26065
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r488.series[i_r375], i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26061
26066
|
} }
|
|
26062
26067
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_3_td_2_span_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26063
26068
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26204,7 +26209,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26204
26209
|
const _attr_r488 = i0.ɵɵnextContext(4).$implicit;
|
|
26205
26210
|
const i_r375 = i0.ɵɵnextContext().index;
|
|
26206
26211
|
i0.ɵɵadvance(1);
|
|
26207
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r488.series[i_r375], i0.ɵɵpureFunction0(5, _c0$
|
|
26212
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, _attr_r488.series[i_r375], i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26208
26213
|
} }
|
|
26209
26214
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_3_td_2_span_4_span_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26210
26215
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26454,7 +26459,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26454
26459
|
} if (rf & 2) {
|
|
26455
26460
|
const data_r598 = i0.ɵɵnextContext().$implicit;
|
|
26456
26461
|
i0.ɵɵadvance(1);
|
|
26457
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r598, i0.ɵɵpureFunction0(5, _c0$
|
|
26462
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r598, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26458
26463
|
} }
|
|
26459
26464
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_4_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
26460
26465
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26506,7 +26511,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26506
26511
|
} if (rf & 2) {
|
|
26507
26512
|
const data_r607 = i0.ɵɵnextContext().$implicit;
|
|
26508
26513
|
i0.ɵɵadvance(1);
|
|
26509
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r607, i0.ɵɵpureFunction0(5, _c0$
|
|
26514
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r607, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26510
26515
|
} }
|
|
26511
26516
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_4_ng_container_2_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26512
26517
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26578,7 +26583,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26578
26583
|
} if (rf & 2) {
|
|
26579
26584
|
const data_r620 = i0.ɵɵnextContext().$implicit;
|
|
26580
26585
|
i0.ɵɵadvance(1);
|
|
26581
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r620, i0.ɵɵpureFunction0(5, _c0$
|
|
26586
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r620, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26582
26587
|
} }
|
|
26583
26588
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_5_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26584
26589
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26663,7 +26668,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26663
26668
|
} if (rf & 2) {
|
|
26664
26669
|
const data_r636 = i0.ɵɵnextContext().$implicit;
|
|
26665
26670
|
i0.ɵɵadvance(1);
|
|
26666
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r636, i0.ɵɵpureFunction0(5, _c0$
|
|
26671
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r636, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26667
26672
|
} }
|
|
26668
26673
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_ng_container_5_ng_container_3_ng_container_1_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26669
26674
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26793,7 +26798,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26793
26798
|
} if (rf & 2) {
|
|
26794
26799
|
const data_r658 = i0.ɵɵnextContext(2).$implicit;
|
|
26795
26800
|
i0.ɵɵadvance(1);
|
|
26796
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r658, i0.ɵɵpureFunction0(5, _c0$
|
|
26801
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r658, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26797
26802
|
} }
|
|
26798
26803
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_tr_6_ng_container_2_ng_container_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26799
26804
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26841,7 +26846,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26841
26846
|
} if (rf & 2) {
|
|
26842
26847
|
const data_r658 = i0.ɵɵnextContext(2).$implicit;
|
|
26843
26848
|
i0.ɵɵadvance(1);
|
|
26844
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r658, i0.ɵɵpureFunction0(5, _c0$
|
|
26849
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r658, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26845
26850
|
} }
|
|
26846
26851
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_tr_6_ng_container_2_ng_container_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26847
26852
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -26938,7 +26943,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_contai
|
|
|
26938
26943
|
} if (rf & 2) {
|
|
26939
26944
|
const data_r683 = i0.ɵɵnextContext().$implicit;
|
|
26940
26945
|
i0.ɵɵadvance(1);
|
|
26941
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r683, i0.ɵɵpureFunction0(5, _c0$
|
|
26946
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r683, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
26942
26947
|
} }
|
|
26943
26948
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_6_ng_container_1_tr_6_ng_container_4_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
26944
26949
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27073,7 +27078,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27073
27078
|
} if (rf & 2) {
|
|
27074
27079
|
const data_r705 = i0.ɵɵnextContext().$implicit;
|
|
27075
27080
|
i0.ɵɵadvance(1);
|
|
27076
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r705, i0.ɵɵpureFunction0(5, _c0$
|
|
27081
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r705, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27077
27082
|
} }
|
|
27078
27083
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_ng_container_6_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
27079
27084
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27125,7 +27130,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27125
27130
|
} if (rf & 2) {
|
|
27126
27131
|
const data_r714 = i0.ɵɵnextContext().$implicit;
|
|
27127
27132
|
i0.ɵɵadvance(1);
|
|
27128
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r714, i0.ɵɵpureFunction0(5, _c0$
|
|
27133
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r714, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27129
27134
|
} }
|
|
27130
27135
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_ng_container_6_ng_container_2_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27131
27136
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27197,7 +27202,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27197
27202
|
} if (rf & 2) {
|
|
27198
27203
|
const data_r727 = i0.ɵɵnextContext().$implicit;
|
|
27199
27204
|
i0.ɵɵadvance(1);
|
|
27200
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r727, i0.ɵɵpureFunction0(5, _c0$
|
|
27205
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r727, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27201
27206
|
} }
|
|
27202
27207
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_ng_container_7_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
27203
27208
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27285,7 +27290,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27285
27290
|
} if (rf & 2) {
|
|
27286
27291
|
const data_r741 = i0.ɵɵnextContext().$implicit;
|
|
27287
27292
|
i0.ɵɵadvance(1);
|
|
27288
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r741, i0.ɵɵpureFunction0(5, _c0$
|
|
27293
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r741, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27289
27294
|
} }
|
|
27290
27295
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_ng_container_7_ng_container_3_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27291
27296
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27367,7 +27372,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27367
27372
|
} if (rf & 2) {
|
|
27368
27373
|
const data_r755 = i0.ɵɵnextContext().$implicit;
|
|
27369
27374
|
i0.ɵɵadvance(1);
|
|
27370
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r755, i0.ɵɵpureFunction0(5, _c0$
|
|
27375
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r755, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27371
27376
|
} }
|
|
27372
27377
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_tr_8_ng_container_3_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27373
27378
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27416,7 +27421,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27416
27421
|
} if (rf & 2) {
|
|
27417
27422
|
const data_r764 = i0.ɵɵnextContext().$implicit;
|
|
27418
27423
|
i0.ɵɵadvance(1);
|
|
27419
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r764, i0.ɵɵpureFunction0(5, _c0$
|
|
27424
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r764, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27420
27425
|
} }
|
|
27421
27426
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_tr_8_ng_container_3_ng_container_2_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27422
27427
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27488,7 +27493,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27488
27493
|
} if (rf & 2) {
|
|
27489
27494
|
const data_r777 = i0.ɵɵnextContext().$implicit;
|
|
27490
27495
|
i0.ɵɵadvance(1);
|
|
27491
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r777, i0.ɵɵpureFunction0(5, _c0$
|
|
27496
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r777, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27492
27497
|
} }
|
|
27493
27498
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_tr_8_ng_container_4_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27494
27499
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27573,7 +27578,7 @@ function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_contai
|
|
|
27573
27578
|
} if (rf & 2) {
|
|
27574
27579
|
const data_r791 = i0.ɵɵnextContext().$implicit;
|
|
27575
27580
|
i0.ɵɵadvance(1);
|
|
27576
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r791, i0.ɵɵpureFunction0(5, _c0$
|
|
27581
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, data_r791, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27577
27582
|
} }
|
|
27578
27583
|
function ColumnGroupViewComponent_div_0_table_1_tbody_2_ng_container_7_ng_container_1_tr_8_ng_container_4_ng_container_3_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27579
27584
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27751,7 +27756,7 @@ function ColumnGroupViewComponent_div_0_table_1_tfoot_3_tr_1_ng_container_4_td_1
|
|
|
27751
27756
|
} if (rf & 2) {
|
|
27752
27757
|
const total_r810 = i0.ɵɵnextContext().$implicit;
|
|
27753
27758
|
i0.ɵɵadvance(1);
|
|
27754
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, total_r810, i0.ɵɵpureFunction0(5, _c0$
|
|
27759
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, total_r810, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27755
27760
|
} }
|
|
27756
27761
|
function ColumnGroupViewComponent_div_0_table_1_tfoot_3_tr_1_ng_container_4_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27757
27762
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27821,7 +27826,7 @@ function ColumnGroupViewComponent_div_0_table_1_tfoot_3_tr_1_ng_container_5_ng_c
|
|
|
27821
27826
|
} if (rf & 2) {
|
|
27822
27827
|
const total_r823 = i0.ɵɵnextContext().$implicit;
|
|
27823
27828
|
i0.ɵɵadvance(1);
|
|
27824
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, total_r823, i0.ɵɵpureFunction0(5, _c0$
|
|
27829
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind3(2, 1, total_r823, i0.ɵɵpureFunction0(5, _c0$M), "column"));
|
|
27825
27830
|
} }
|
|
27826
27831
|
function ColumnGroupViewComponent_div_0_table_1_tfoot_3_tr_1_ng_container_5_ng_container_1_td_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27827
27832
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -29223,10 +29228,23 @@ SuccessDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Succ
|
|
|
29223
29228
|
args: [MAT_DIALOG_DATA]
|
|
29224
29229
|
}] }, { type: i1$5.MatDialog }, { type: i1$5.MatDialogRef }, { type: CommonService }, { type: CommonLibConfigurationService }]; }, null); })();
|
|
29225
29230
|
|
|
29231
|
+
function AppCreateDialogComponentComponent_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
29232
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
29233
|
+
i0.ɵɵtext(1);
|
|
29234
|
+
i0.ɵɵelementEnd();
|
|
29235
|
+
} if (rf & 2) {
|
|
29236
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
29237
|
+
i0.ɵɵadvance(1);
|
|
29238
|
+
i0.ɵɵtextInterpolate(ctx_r0.errMessage.name);
|
|
29239
|
+
} }
|
|
29240
|
+
const _c0$L = function (a0) { return { "invalid-input": a0 }; };
|
|
29226
29241
|
class AppCreateDialogComponentComponent {
|
|
29227
29242
|
constructor(dialogRef) {
|
|
29228
29243
|
this.dialogRef = dialogRef;
|
|
29244
|
+
this.name = '';
|
|
29229
29245
|
this.description = '';
|
|
29246
|
+
this.errMessage = { name: '' };
|
|
29247
|
+
this.showErrMessge = { name: false };
|
|
29230
29248
|
}
|
|
29231
29249
|
onCancel() {
|
|
29232
29250
|
this.dialogRef.close();
|
|
@@ -29236,57 +29254,70 @@ class AppCreateDialogComponentComponent {
|
|
|
29236
29254
|
this.dialogRef.close({ name: this.name, description: this.description });
|
|
29237
29255
|
}
|
|
29238
29256
|
else {
|
|
29257
|
+
this.onBlur();
|
|
29239
29258
|
// Optional: Display an error message if name is empty
|
|
29240
29259
|
}
|
|
29241
29260
|
}
|
|
29261
|
+
onBlur() {
|
|
29262
|
+
this.showErrMessge.name = true;
|
|
29263
|
+
this.onInput();
|
|
29264
|
+
}
|
|
29265
|
+
onInput() {
|
|
29266
|
+
this.name.trim() ? this.errMessage.name = "" : this.errMessage.name = "App name should not be empty";
|
|
29267
|
+
}
|
|
29242
29268
|
}
|
|
29243
29269
|
AppCreateDialogComponentComponent.ɵfac = function AppCreateDialogComponentComponent_Factory(t) { return new (t || AppCreateDialogComponentComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
|
|
29244
|
-
AppCreateDialogComponentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppCreateDialogComponentComponent, selectors: [["app-app-create-dialog-component"]], decls:
|
|
29270
|
+
AppCreateDialogComponentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppCreateDialogComponentComponent, selectors: [["app-app-create-dialog-component"]], decls: 20, vars: 6, consts: [[1, "popup-container", "create-app-popup"], [1, "close-icon", 3, "click"], [1, "flex", "flex-col", "gap-2"], ["for", "app-name"], ["type", "text", "id", "app-name", "required", "", 1, "", 3, "ngModel", "ngClass", "ngModelChange", "blur", "input"], [1, "err-message-container"], ["class", "error-message", 4, "ngIf"], ["for", "app-desc"], ["id", "app-desc", "placeholder", "Please provide a detailed description of your app so that our AI can assist you in building your apps faster.", "rows", "5", 1, "", 3, "ngModel", "ngModelChange"], [1, "action-btn-container"], [1, "stroke-btn", 3, "click"], [1, "fill-btn", 3, "click"], [1, "error-message"]], template: function AppCreateDialogComponentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29245
29271
|
i0.ɵɵelementStart(0, "div", 0);
|
|
29246
|
-
i0.ɵɵelementStart(1, "
|
|
29247
|
-
i0.ɵɵlistener("click", function
|
|
29272
|
+
i0.ɵɵelementStart(1, "button", 1);
|
|
29273
|
+
i0.ɵɵlistener("click", function AppCreateDialogComponentComponent_Template_button_click_1_listener() { return ctx.onCancel(); });
|
|
29248
29274
|
i0.ɵɵelementEnd();
|
|
29249
|
-
i0.ɵɵelementStart(2, "
|
|
29275
|
+
i0.ɵɵelementStart(2, "h1");
|
|
29250
29276
|
i0.ɵɵtext(3, "Create a New App");
|
|
29251
29277
|
i0.ɵɵelementEnd();
|
|
29252
|
-
i0.ɵɵelementStart(4, "
|
|
29253
|
-
i0.ɵɵelementStart(5, "
|
|
29254
|
-
i0.ɵɵelementStart(6, "
|
|
29278
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
29279
|
+
i0.ɵɵelementStart(5, "div");
|
|
29280
|
+
i0.ɵɵelementStart(6, "label", 3);
|
|
29255
29281
|
i0.ɵɵtext(7, "App Name");
|
|
29256
29282
|
i0.ɵɵelementEnd();
|
|
29257
29283
|
i0.ɵɵelementStart(8, "input", 4);
|
|
29258
|
-
i0.ɵɵlistener("ngModelChange", function AppCreateDialogComponentComponent_Template_input_ngModelChange_8_listener($event) { return ctx.name = $event; });
|
|
29284
|
+
i0.ɵɵlistener("ngModelChange", function AppCreateDialogComponentComponent_Template_input_ngModelChange_8_listener($event) { return ctx.name = $event; })("blur", function AppCreateDialogComponentComponent_Template_input_blur_8_listener() { return ctx.onBlur(); })("input", function AppCreateDialogComponentComponent_Template_input_input_8_listener() { return ctx.onInput(); });
|
|
29259
29285
|
i0.ɵɵelementEnd();
|
|
29286
|
+
i0.ɵɵelementStart(9, "div", 5);
|
|
29287
|
+
i0.ɵɵtemplate(10, AppCreateDialogComponentComponent_span_10_Template, 2, 1, "span", 6);
|
|
29260
29288
|
i0.ɵɵelementEnd();
|
|
29261
|
-
i0.ɵɵelementStart(9, "mat-form-field", 3);
|
|
29262
|
-
i0.ɵɵelementStart(10, "mat-label");
|
|
29263
|
-
i0.ɵɵtext(11, "Description");
|
|
29264
29289
|
i0.ɵɵelementEnd();
|
|
29265
|
-
i0.ɵɵelementStart(
|
|
29266
|
-
i0.ɵɵ
|
|
29290
|
+
i0.ɵɵelementStart(11, "div");
|
|
29291
|
+
i0.ɵɵelementStart(12, "label", 7);
|
|
29292
|
+
i0.ɵɵtext(13, "Description");
|
|
29267
29293
|
i0.ɵɵelementEnd();
|
|
29294
|
+
i0.ɵɵelementStart(14, "textarea", 8);
|
|
29295
|
+
i0.ɵɵlistener("ngModelChange", function AppCreateDialogComponentComponent_Template_textarea_ngModelChange_14_listener($event) { return ctx.description = $event; });
|
|
29268
29296
|
i0.ɵɵelementEnd();
|
|
29269
29297
|
i0.ɵɵelementEnd();
|
|
29270
|
-
i0.ɵɵelementStart(13, "mat-dialog-actions");
|
|
29271
|
-
i0.ɵɵelementStart(14, "button", 6);
|
|
29272
|
-
i0.ɵɵlistener("click", function AppCreateDialogComponentComponent_Template_button_click_14_listener() { return ctx.onCancel(); });
|
|
29273
|
-
i0.ɵɵtext(15, "Cancel");
|
|
29274
29298
|
i0.ɵɵelementEnd();
|
|
29275
|
-
i0.ɵɵelementStart(
|
|
29276
|
-
i0.ɵɵ
|
|
29277
|
-
i0.ɵɵ
|
|
29299
|
+
i0.ɵɵelementStart(15, "div", 9);
|
|
29300
|
+
i0.ɵɵelementStart(16, "button", 10);
|
|
29301
|
+
i0.ɵɵlistener("click", function AppCreateDialogComponentComponent_Template_button_click_16_listener() { return ctx.onCancel(); });
|
|
29302
|
+
i0.ɵɵtext(17, "Cancel");
|
|
29303
|
+
i0.ɵɵelementEnd();
|
|
29304
|
+
i0.ɵɵelementStart(18, "button", 11);
|
|
29305
|
+
i0.ɵɵlistener("click", function AppCreateDialogComponentComponent_Template_button_click_18_listener() { return ctx.onSubmit(); });
|
|
29306
|
+
i0.ɵɵtext(19, "Create");
|
|
29278
29307
|
i0.ɵɵelementEnd();
|
|
29279
29308
|
i0.ɵɵelementEnd();
|
|
29280
29309
|
i0.ɵɵelementEnd();
|
|
29281
29310
|
} if (rf & 2) {
|
|
29282
29311
|
i0.ɵɵadvance(8);
|
|
29283
|
-
i0.ɵɵproperty("ngModel", ctx.name);
|
|
29312
|
+
i0.ɵɵproperty("ngModel", ctx.name)("ngClass", i0.ɵɵpureFunction1(4, _c0$L, ctx.showErrMessge.name && ctx.errMessage.name));
|
|
29313
|
+
i0.ɵɵadvance(2);
|
|
29314
|
+
i0.ɵɵproperty("ngIf", ctx.showErrMessge.name && ctx.errMessage.name);
|
|
29284
29315
|
i0.ɵɵadvance(4);
|
|
29285
29316
|
i0.ɵɵproperty("ngModel", ctx.description);
|
|
29286
|
-
} }, directives: [
|
|
29317
|
+
} }, directives: [i9.DefaultValueAccessor, i9.RequiredValidator, i9.NgControlStatus, i9.NgModel, i1$3.NgClass, i1$3.NgIf], styles: [".create-app-popup[_ngcontent-%COMP%]{min-width:30vw}", ".popup-container[_ngcontent-%COMP%]{min-width:20vw;min-height:fit-content;width:fit-content;height:fit-content;max-width:75vw;max-height:75vh;font-family:Inter var,Roboto;font-size:.875rem;position:relative}.popup-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:Inter var,Roboto!important;color:#1b2b4b;font-size:1.125rem;font-weight:500;line-height:28px;margin:0 0 1rem;text-transform:capitalize;width:fit-content}.popup-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#475467;font-weight:400;margin:0;line-height:20px}.popup-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;color:#1b2b4b;font-weight:500;margin:0 0 .2rem}.popup-container[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{height:24px;width:24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M18 6L6 18M6 6L18 18%22 stroke%3D%22%23667085%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-position:center;background-size:100%;position:absolute;top:0;right:0}.popup-container[_ngcontent-%COMP%] .action-btn-container[_ngcontent-%COMP%]{display:flex;justify-content:right;gap:.5rem;margin:1.5rem 0 0}.popup-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .popup-container[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%], .popup-container[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .popup-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{display:block;border:1px solid #D0D5DD;border-radius:.375rem;width:100%;padding:.5rem 1rem;color:#1b2b4b;resize:none}.popup-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]::placeholder, .popup-container[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]::placeholder, .popup-container[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%]::placeholder, .popup-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#a5a5a5}.popup-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:focus, .popup-container[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]:focus, .popup-container[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%]:focus, .popup-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{border:1px solid #6C52ED}.popup-container[_ngcontent-%COMP%] .err-message-container[_ngcontent-%COMP%]{height:14px;line-height:12px;width:100%;margin-top:2px}.popup-container[_ngcontent-%COMP%] .err-message-container[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:#dc2626;font-size:12px;float:right}.popup-container[_ngcontent-%COMP%] .invalid-input[_ngcontent-%COMP%]{border:1px solid #dc2626!important}.popup-container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;justify-content:start;align-items:center}.popup-container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{width:fit-content;margin:0 .5rem 0 0}"] });
|
|
29287
29318
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppCreateDialogComponentComponent, [{
|
|
29288
29319
|
type: Component,
|
|
29289
|
-
args: [{ selector: 'app-app-create-dialog-component', template: "<div class=\"create-app-
|
|
29320
|
+
args: [{ selector: 'app-app-create-dialog-component', template: "<div class=\"popup-container create-app-popup\">\n <button class=\"close-icon\" (click)=\"onCancel()\"></button>\n <h1>Create a New App</h1>\n <div class=\"flex flex-col gap-2\">\n <div>\n <label for=\"app-name\">App Name</label>\n <input type=\"text\" [(ngModel)]=\"name\" id=\"app-name\" class=\"\" (blur)=\"onBlur()\" (input)=\"onInput()\" [ngClass]=\"{'invalid-input': showErrMessge.name && errMessage.name}\" required />\n <div class=\"err-message-container\"><span *ngIf=\"showErrMessge.name && errMessage.name\" class=\"error-message\">{{ errMessage.name }}</span></div>\n </div>\n <div>\n <label for=\"app-desc\">Description</label>\n <textarea [(ngModel)]=\"description\" id=\"app-desc\" placeholder=\"Please provide a detailed description of your app so that our AI can assist you in building your apps faster.\" class=\"\" rows=\"5\"></textarea>\n </div>\n </div>\n <div class=\"action-btn-container\">\n <button (click)=\"onCancel()\" class=\"stroke-btn\">Cancel</button>\n <button (click)=\"onSubmit()\" class=\"fill-btn\">Create</button>\n </div>\n</div>", styles: [".create-app-popup{min-width:30vw}\n", ".popup-container{min-width:20vw;min-height:fit-content;width:fit-content;height:fit-content;max-width:75vw;max-height:75vh;font-family:Inter var,Roboto;font-size:.875rem;position:relative}.popup-container h1{font-family:Inter var,Roboto!important;color:#1b2b4b;font-size:1.125rem;font-weight:500;line-height:28px;margin:0 0 1rem;text-transform:capitalize;width:fit-content}.popup-container p{color:#475467;font-weight:400;margin:0;line-height:20px}.popup-container label{display:block;color:#1b2b4b;font-weight:500;margin:0 0 .2rem}.popup-container .close-icon{height:24px;width:24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M18 6L6 18M6 6L18 18%22 stroke%3D%22%23667085%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");background-position:center;background-size:100%;position:absolute;top:0;right:0}.popup-container .action-btn-container{display:flex;justify-content:right;gap:.5rem;margin:1.5rem 0 0}.popup-container input[type=text],.popup-container input[type=number],.popup-container input[type=email],.popup-container textarea{display:block;border:1px solid #D0D5DD;border-radius:.375rem;width:100%;padding:.5rem 1rem;color:#1b2b4b;resize:none}.popup-container input[type=text]::placeholder,.popup-container input[type=number]::placeholder,.popup-container input[type=email]::placeholder,.popup-container textarea::placeholder{color:#a5a5a5}.popup-container input[type=text]:focus,.popup-container input[type=number]:focus,.popup-container input[type=email]:focus,.popup-container textarea:focus{border:1px solid #6C52ED}.popup-container .err-message-container{height:14px;line-height:12px;width:100%;margin-top:2px}.popup-container .err-message-container .error-message{color:#dc2626;font-size:12px;float:right}.popup-container .invalid-input{border:1px solid #dc2626!important}.popup-container .checkbox-container{display:flex;justify-content:start;align-items:center}.popup-container .checkbox-container input[type=checkbox]{width:fit-content;margin:0 .5rem 0 0}\n"] }]
|
|
29290
29321
|
}], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
|
|
29291
29322
|
|
|
29292
29323
|
class DataViewFilter extends AxFilter {
|
|
@@ -45789,9 +45820,8 @@ function SubformComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45789
45820
|
i0.ɵɵelementEnd();
|
|
45790
45821
|
i0.ɵɵelementEnd();
|
|
45791
45822
|
i0.ɵɵelementStart(7, "div", 7);
|
|
45792
|
-
i0.ɵɵ
|
|
45793
|
-
i0.ɵɵ
|
|
45794
|
-
i0.ɵɵelementEnd();
|
|
45823
|
+
i0.ɵɵlistener("click", function SubformComponent_ng_container_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r10); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.onClickForm(); });
|
|
45824
|
+
i0.ɵɵelement(8, "div", 8);
|
|
45795
45825
|
i0.ɵɵelementEnd();
|
|
45796
45826
|
i0.ɵɵtemplate(9, SubformComponent_ng_container_0_ng_container_9_Template, 2, 0, "ng-container", 0);
|
|
45797
45827
|
i0.ɵɵelementEnd();
|
|
@@ -45986,11 +46016,11 @@ SubformComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubformCom
|
|
|
45986
46016
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputField = _t.first);
|
|
45987
46017
|
} }, hostBindings: function SubformComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
45988
46018
|
i0.ɵɵlistener("mouseenter", function SubformComponent_mouseenter_HostBindingHandler() { return ctx.onMouseEnter(); });
|
|
45989
|
-
} }, inputs: { widget: "widget", group: "group" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "text-widget", 3, "formGroup", "id", "click"], [1, "flex", "gap-2", "justify-between"], [1, "flex", "gap-2", "justify-between", "items-center", 2, "width", "85%"], [1, "prompt", 3, "formGroupName"], ["matInput", "", "matTooltip", "Double Click to Edit", 1, "prompt-text", 3, "id", "ngModel", "formControlName", "readonly", "ngModelChange", "mousedown", "focus", "keydown.enter", "blur", "dblclick"], ["inputField", ""], [1, "chevron_right-parent", "flex", "justify-
|
|
46019
|
+
} }, inputs: { widget: "widget", group: "group" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "text-widget", 3, "formGroup", "id", "click"], [1, "flex", "gap-2", "justify-between"], [1, "flex", "gap-2", "justify-between", "items-center", 2, "width", "85%"], [1, "prompt", 3, "formGroupName"], ["matInput", "", "matTooltip", "Double Click to Edit", 1, "prompt-text", 3, "id", "ngModel", "formControlName", "readonly", "ngModelChange", "mousedown", "focus", "keydown.enter", "blur", "dblclick"], ["inputField", ""], [1, "chevron_right-parent", "flex", "justify-center", "items-start", "rounded-full", "h-6", "w-6", 2, "width", "10%", 3, "click"], [1, "chevron_right"], ["class", "find-help", 3, "click", 4, "ngIf"], [1, "tooltip-container"], [1, "clipboard-icon", 3, "click"], ["svgIcon", "axo_sculptor_copy", "matTooltip", "Copy", 1, "h-4", "min-h-4", "w-4", "min-w-4"], [1, "clipboard-icon", 3, "disabled", "click"], ["svgIcon", "axo_sculptor_paste", "matTooltip", "Paste", 1, "h-4", "min-h-4", "w-4", "min-w-4"], ["svgIcon", "axo_sculptor_delete", "matTooltip", "Delete", 1, "h-4", "min-h-4", "w-4", "min-w-4"], [3, "click", 4, "ngIf"], ["svgIcon", "axo_sculptor_close_eye", 1, "h-4", "w-4", "min-w-4", "min-h-4"], [1, "find-help", 3, "click"], ["svgIcon", "axo_sculptor_help-text", "matTooltip", "Help", 1, "h-4", "min-h-4", "w-4", "min-w-4"], [3, "click"]], template: function SubformComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45990
46020
|
i0.ɵɵtemplate(0, SubformComponent_ng_container_0_Template, 19, 14, "ng-container", 0);
|
|
45991
46021
|
} if (rf & 2) {
|
|
45992
46022
|
i0.ɵɵproperty("ngIf", ctx.widget);
|
|
45993
|
-
} }, styles: ["lib-subform{width:100%}lib-subform .text-widget{background:#ffffff;border:1px solid #CED0DD;padding:10px 28px!important;border-radius:10px;padding-top:10px;height:auto;box-sizing:border-box}lib-subform .text-widget:hover{background-color:#eaeaea}lib-subform .text-widget .form-field-input{border:none;border-radius:10px}lib-subform .text-widget .form-field-input input{font-family:Noto Sans,sans-serif;height:38px;box-sizing:border-box;width:100%;cursor:pointer;margin-left:5px}lib-subform .text-widget .prompt-text{color:#000;font-size:14px!important;font-style:normal;font-weight:500;line-height:130%;font-family:Noto Sans,sans-serif;width:96%;resize:none;margin:0;padding:3px 3px 0}lib-subform .text-widget .icon-input-container input::placeholder{font-size:14px;font-weight:400;color:#575757}lib-subform .text-widget .icon-input-container{border:1px solid #bed0df!important;border-radius:10px;align-self:flex-end;position:relative;display:flex;flex-flow:row;align-items:center;margin:.5rem 0 0;padding:5px 10px;height:48px;width:100%}lib-subform .text-widget .mat-icon{height:30px;width:30px}lib-subform .chevron_right-parent{padding:3px 3px 0 0}lib-subform .chevron_right-parent .chevron_right{margin-top:5px;border-top:2px solid;border-right:2px solid;rotate:45deg;height:8px!important;width:8px!important;stroke-width:2px;stroke:#000}.text-widget div div form{line-height:13px!important}.text-widget div div form input{height:16px!important}.text-widget div div form :focus{outline:1px solid #9cbbe9;border-radius:4px;background-color:#fff}\n"], encapsulation: 2, data: { animation: [
|
|
46023
|
+
} }, styles: ["lib-subform{width:100%}lib-subform .text-widget{background:#ffffff;border:1px solid #CED0DD;padding:10px 28px!important;border-radius:10px;padding-top:10px;height:auto;box-sizing:border-box}lib-subform .text-widget:hover{background-color:#eaeaea}lib-subform .text-widget .form-field-input{border:none;border-radius:10px}lib-subform .text-widget .form-field-input input{font-family:Noto Sans,sans-serif;height:38px;box-sizing:border-box;width:100%;cursor:pointer;margin-left:5px}lib-subform .text-widget .prompt-text{color:#000;font-size:14px!important;font-style:normal;font-weight:500;line-height:130%;font-family:Noto Sans,sans-serif;width:96%;resize:none;margin:0;padding:3px 3px 0}lib-subform .text-widget .icon-input-container input::placeholder{font-size:14px;font-weight:400;color:#575757}lib-subform .text-widget .icon-input-container{border:1px solid #bed0df!important;border-radius:10px;align-self:flex-end;position:relative;display:flex;flex-flow:row;align-items:center;margin:.5rem 0 0;padding:5px 10px;height:48px;width:100%}lib-subform .text-widget .mat-icon{height:30px;width:30px}lib-subform .chevron_right-parent{padding:3px 3px 0 0}lib-subform .chevron_right-parent .chevron_right{margin-top:5px;border-top:2px solid;border-right:2px solid;rotate:45deg;height:8px!important;width:8px!important;stroke-width:2px;stroke:#000}lib-subform .chevron_right-parent:hover{background-color:#fff}.text-widget div div form{line-height:13px!important}.text-widget div div form input{height:16px!important}.text-widget div div form :focus{outline:1px solid #9cbbe9;border-radius:4px;background-color:#fff}\n"], encapsulation: 2, data: { animation: [
|
|
45994
46024
|
trigger('fadeInOut', [
|
|
45995
46025
|
state('void', style({
|
|
45996
46026
|
opacity: 0
|
|
@@ -46011,7 +46041,7 @@ SubformComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubformCom
|
|
|
46011
46041
|
animate('1200ms')
|
|
46012
46042
|
])
|
|
46013
46043
|
])
|
|
46014
|
-
], template: "<!-- Subform widget -->\n<ng-container *ngIf=\"widget\">\n <div [formGroup]=\"group\" class=\"text-widget\" [id]=\"widget.id\" [class.selected-widget]=\"widget.widgetSelect\" (click)=\"onWidgetClick()\">\n <div class=\"flex gap-2 justify-between\">\n <div class=\"flex gap-2 justify-between items-center\" style=\"width: 85%;\">\n <form [formGroupName]=\"this.widget.id + '_group'\" class=\"prompt\" >\n <textarea matInput [id]=\"getTextAreaId()\" [(ngModel)]='widget.prompt' [formControlName]=\"widget.id + '_prompt'\" #inputField (mousedown)=\"preventFocus($event)\"\n (focus)=\"onFocus($event)\" (keydown.enter)=\"updateIdentifier(); inputField.blur()\" (blur)=\"updateIdentifier()\" class=\"prompt-text\" [readonly]=\"!isEditable\"\n (dblclick)=\"onDoubleClick()\" matTooltip=\"Double Click to Edit\"></textarea>\n </form>\n </div>\n <div class=\"chevron_right-parent flex justify-
|
|
46044
|
+
], template: "<!-- Subform widget -->\n<ng-container *ngIf=\"widget\">\n <div [formGroup]=\"group\" class=\"text-widget\" [id]=\"widget.id\" [class.selected-widget]=\"widget.widgetSelect\" (click)=\"onWidgetClick()\">\n <div class=\"flex gap-2 justify-between\">\n <div class=\"flex gap-2 justify-between items-center\" style=\"width: 85%;\">\n <form [formGroupName]=\"this.widget.id + '_group'\" class=\"prompt\" >\n <textarea matInput [id]=\"getTextAreaId()\" [(ngModel)]='widget.prompt' [formControlName]=\"widget.id + '_prompt'\" #inputField (mousedown)=\"preventFocus($event)\"\n (focus)=\"onFocus($event)\" (keydown.enter)=\"updateIdentifier(); inputField.blur()\" (blur)=\"updateIdentifier()\" class=\"prompt-text\" [readonly]=\"!isEditable\"\n (dblclick)=\"onDoubleClick()\" matTooltip=\"Double Click to Edit\"></textarea>\n </form>\n </div>\n <div class=\"chevron_right-parent flex justify-center items-start rounded-full h-6 w-6\" style=\"width: 10%;\" (click)=\"onClickForm()\">\n <div class=\"chevron_right\" [@fadeInOut]>\n <!-- <mat-icon svgIcon=\"chevron_right\" class=\"chevron_right h-4 w-4 min-w-4 min-h-4\" (click)=\"onClickForm()\"></mat-icon> -->\n </div>\n </div>\n <ng-container *ngIf=\"widget.isHidden\">\n <mat-icon svgIcon=\"axo_sculptor_close_eye\" class=\"h-4 w-4 min-w-4 min-h-4\"></mat-icon>\n </ng-container>\n </div>\n\n <!-- <div class='form-field-input'>\n <div class=\"icon-input-container\">\n <mat-icon svgIcon=\"axo_subform\" class=\"icon relative\"></mat-icon>\n <input [placeholder]=\"widget.placeholder?widget.placeholder:'Enter your choice'\" readonly=true\n [formControlName]=\"widget.id\" />\n </div>\n </div> -->\n <button *ngIf=\"!isEditable\" class=\"find-help\" (click)=\"onClickEditor()\"> <mat-icon svgIcon=\"axo_sculptor_help-text\" class=\"h-4 min-h-4 w-4 min-w-4\" matTooltip=\"Help\"></mat-icon></button>\n </div>\n <div class=\"tooltip-container\">\n <!-- <button class=\"find-help\" (click)=\"onClickEditor()\"> <mat-icon svgIcon=\"axo_sculptor_help-text\" class=\"h-4 min-h-4 w-4 min-w-4\" matTooltip=\"Help\"></mat-icon></button> -->\n <!-- <button class=\"clipboard-icon\" (click)=\"cutWidget(widget)\"> <mat-icon svgIcon=\"axo_sculptor_cut\" matTooltip=\"Cut\" class=\"h-4 min-h-4 w-4 min-w-4\"></mat-icon></button> -->\n <button class=\"clipboard-icon\" (click)=\"copyWidget(widget)\"> <mat-icon svgIcon=\"axo_sculptor_copy\" matTooltip=\"Copy\" class=\"h-4 min-h-4 w-4 min-w-4\"></mat-icon></button>\n <button class=\"clipboard-icon\" (click)=\"pasteWidget()\" [disabled]=\"isPasteInProgress\"> <mat-icon svgIcon=\"axo_sculptor_paste\" matTooltip=\"Paste\" class=\"h-4 min-h-4 w-4 min-w-4\"></mat-icon></button>\n <button class=\"clipboard-icon\" (click)=\"confirmbutton()\"><mat-icon svgIcon=\"axo_sculptor_delete\" matTooltip=\"Delete\" class=\"h-4 min-h-4 w-4 min-w-4\"></mat-icon>\n </button>\n <lib-confirmation-button *ngIf=\"showConfirmation\" (click)=\"delete()\"> </lib-confirmation-button>\n\n </div>\n\n</ng-container>\n", styles: ["lib-subform{width:100%}lib-subform .text-widget{background:#ffffff;border:1px solid #CED0DD;padding:10px 28px!important;border-radius:10px;padding-top:10px;height:auto;box-sizing:border-box}lib-subform .text-widget:hover{background-color:#eaeaea}lib-subform .text-widget .form-field-input{border:none;border-radius:10px}lib-subform .text-widget .form-field-input input{font-family:Noto Sans,sans-serif;height:38px;box-sizing:border-box;width:100%;cursor:pointer;margin-left:5px}lib-subform .text-widget .prompt-text{color:#000;font-size:14px!important;font-style:normal;font-weight:500;line-height:130%;font-family:Noto Sans,sans-serif;width:96%;resize:none;margin:0;padding:3px 3px 0}lib-subform .text-widget .icon-input-container input::placeholder{font-size:14px;font-weight:400;color:#575757}lib-subform .text-widget .icon-input-container{border:1px solid #bed0df!important;border-radius:10px;align-self:flex-end;position:relative;display:flex;flex-flow:row;align-items:center;margin:.5rem 0 0;padding:5px 10px;height:48px;width:100%}lib-subform .text-widget .mat-icon{height:30px;width:30px}lib-subform .chevron_right-parent{padding:3px 3px 0 0}lib-subform .chevron_right-parent .chevron_right{margin-top:5px;border-top:2px solid;border-right:2px solid;rotate:45deg;height:8px!important;width:8px!important;stroke-width:2px;stroke:#000}lib-subform .chevron_right-parent:hover{background-color:#fff}.text-widget div div form{line-height:13px!important}.text-widget div div form input{height:16px!important}.text-widget div div form :focus{outline:1px solid #9cbbe9;border-radius:4px;background-color:#fff}\n"] }]
|
|
46015
46045
|
}], function () { return [{ type: PropertiesService }, { type: WidgetsService }, { type: i2.ActivatedRoute }, { type: i2.Router }, { type: FormBuilderMasterService }, { type: WidgetDropListComponent }]; }, { widget: [{
|
|
46016
46046
|
type: Input
|
|
46017
46047
|
}], group: [{
|
|
@@ -46332,8 +46362,8 @@ class FormBuilderMasterService {
|
|
|
46332
46362
|
if (item.validityConditions) {
|
|
46333
46363
|
const validityConditions = typeof item.validityConditions == 'object' ? item.validityConditions : JSON.parse(item.validityConditions);
|
|
46334
46364
|
item.invalidityMsg = validityConditions.invalidity_msg;
|
|
46335
|
-
item.validityConditionJs = validityConditions.validity_conditions_js;
|
|
46336
|
-
item.validityConditions = validityConditions.validity_conditions;
|
|
46365
|
+
item.validityConditionJs = validityConditions.validity_conditions_js ?? item.validityConditionJs;
|
|
46366
|
+
item.validityConditions = validityConditions.validity_conditions ?? item.validityConditions;
|
|
46337
46367
|
}
|
|
46338
46368
|
if (!promptCode) {
|
|
46339
46369
|
item.promptMl = {
|
|
@@ -46733,6 +46763,9 @@ class FormBuilderMasterService {
|
|
|
46733
46763
|
getFormDetailsStorage.ff.forEach(val => {
|
|
46734
46764
|
// Push the identifier into the list array
|
|
46735
46765
|
list.push(val.identifier);
|
|
46766
|
+
if (val.markup && Array.isArray(val.markup)) {
|
|
46767
|
+
this.getSubFormIdentifiers(val.markup, list);
|
|
46768
|
+
}
|
|
46736
46769
|
});
|
|
46737
46770
|
}
|
|
46738
46771
|
else {
|
|
@@ -46746,6 +46779,9 @@ class FormBuilderMasterService {
|
|
|
46746
46779
|
getFormDetailsStorage.widgets.forEach(val => {
|
|
46747
46780
|
// Push the identifier into the list array
|
|
46748
46781
|
list.push(val.identifier);
|
|
46782
|
+
if (val.markup && val.markup && Array.isArray(val.markup)) {
|
|
46783
|
+
this.getSubFormIdentifiers(val.markup, list);
|
|
46784
|
+
}
|
|
46749
46785
|
});
|
|
46750
46786
|
}
|
|
46751
46787
|
else {
|
|
@@ -46756,6 +46792,14 @@ class FormBuilderMasterService {
|
|
|
46756
46792
|
}
|
|
46757
46793
|
return list;
|
|
46758
46794
|
}
|
|
46795
|
+
getSubFormIdentifiers(markup, list) {
|
|
46796
|
+
markup.forEach(val => {
|
|
46797
|
+
list.push(val.identifier);
|
|
46798
|
+
if (val.markup && val.markup && Array.isArray(val.markup)) {
|
|
46799
|
+
this.getSubFormIdentifiers(val.markup, list);
|
|
46800
|
+
}
|
|
46801
|
+
});
|
|
46802
|
+
}
|
|
46759
46803
|
/**
|
|
46760
46804
|
* Get All List of location
|
|
46761
46805
|
*
|
|
@@ -47290,14 +47334,18 @@ class WidgetsService {
|
|
|
47290
47334
|
if (this.isValidIdentifier(response)) {
|
|
47291
47335
|
// Use a local variable to avoid repeated object access
|
|
47292
47336
|
let previousCount = this.previousIdentifiersMap[response];
|
|
47337
|
+
const currResponse = response;
|
|
47293
47338
|
if (previousCount !== undefined) {
|
|
47339
|
+
const count = parseInt(response.split('_')[1], 10);
|
|
47340
|
+
response = response.split('_')[0];
|
|
47341
|
+
const n = previousCount + count;
|
|
47294
47342
|
previousCount++;
|
|
47295
|
-
response = `${response}_${
|
|
47343
|
+
response = `${response}_${n}`;
|
|
47296
47344
|
}
|
|
47297
47345
|
else {
|
|
47298
47346
|
previousCount = 0;
|
|
47299
47347
|
}
|
|
47300
|
-
this.previousIdentifiersMap[
|
|
47348
|
+
this.previousIdentifiersMap[currResponse] = previousCount;
|
|
47301
47349
|
this.identifiersArray.push(response);
|
|
47302
47350
|
// Consider batching updates to localStorage
|
|
47303
47351
|
this.updateIdentifiersStorage();
|
|
@@ -49897,7 +49945,7 @@ class AppListComponent {
|
|
|
49897
49945
|
const dialogRef = this.dialog.open(ConfirmationModalComponent, {
|
|
49898
49946
|
width: '30%',
|
|
49899
49947
|
data: {
|
|
49900
|
-
title: '
|
|
49948
|
+
title: 'Delete App',
|
|
49901
49949
|
message: 'Are you sure want to delete this app?',
|
|
49902
49950
|
confirmButtonText: 'Delete',
|
|
49903
49951
|
cancelButtonText: 'Cancel',
|
|
@@ -50032,7 +50080,7 @@ class AppListComponent {
|
|
|
50032
50080
|
const dialogRef = this.dialog.open(ConfirmationModalComponent, {
|
|
50033
50081
|
width: '30%',
|
|
50034
50082
|
data: {
|
|
50035
|
-
title: '
|
|
50083
|
+
title: 'Disable QR',
|
|
50036
50084
|
message: 'Are you sure you want to disable QR for this form?',
|
|
50037
50085
|
confirmButtonText: 'Disable',
|
|
50038
50086
|
cancelButtonText: 'Cancel',
|
|
@@ -56024,7 +56072,7 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_
|
|
|
56024
56072
|
i0.ɵɵtextInterpolate(agmOption_r1.note);
|
|
56025
56073
|
} }
|
|
56026
56074
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_snazzy_info_window_2_Template(rf, ctx) { if (rf & 1) {
|
|
56027
|
-
i0.ɵɵelementStart(0, "agm-snazzy-info-window",
|
|
56075
|
+
i0.ɵɵelementStart(0, "agm-snazzy-info-window", 10);
|
|
56028
56076
|
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_snazzy_info_window_2_ng_template_1_Template, 2, 1, "ng-template");
|
|
56029
56077
|
i0.ɵɵelementEnd();
|
|
56030
56078
|
} if (rf & 2) {
|
|
@@ -56035,9 +56083,9 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_
|
|
|
56035
56083
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_Template(rf, ctx) { if (rf & 1) {
|
|
56036
56084
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
56037
56085
|
i0.ɵɵelementStart(0, "ng-conatiner");
|
|
56038
|
-
i0.ɵɵelementStart(1, "agm-marker",
|
|
56086
|
+
i0.ɵɵelementStart(1, "agm-marker", 8);
|
|
56039
56087
|
i0.ɵɵlistener("markerClick", function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_Template_agm_marker_markerClick_1_listener() { i0.ɵɵrestoreView(_r16); const indexOfagm_r2 = i0.ɵɵnextContext(2).index; const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.openSnazzyInfoWindow(indexOfagm_r2); });
|
|
56040
|
-
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_snazzy_info_window_2_Template, 2, 8, "agm-snazzy-info-window",
|
|
56088
|
+
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_agm_snazzy_info_window_2_Template, 2, 8, "agm-snazzy-info-window", 9);
|
|
56041
56089
|
i0.ɵɵelementEnd();
|
|
56042
56090
|
i0.ɵɵelementEnd();
|
|
56043
56091
|
} if (rf & 2) {
|
|
@@ -56050,7 +56098,7 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_Temp
|
|
|
56050
56098
|
} }
|
|
56051
56099
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_1_Template(rf, ctx) { if (rf & 1) {
|
|
56052
56100
|
i0.ɵɵelementStart(0, "ng-conatiner");
|
|
56053
|
-
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_Template, 3, 4, "ng-conatiner",
|
|
56101
|
+
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_1_ng_conatiner_1_Template, 3, 4, "ng-conatiner", 7);
|
|
56054
56102
|
i0.ɵɵelementEnd();
|
|
56055
56103
|
} if (rf & 2) {
|
|
56056
56104
|
const agmOption_r1 = i0.ɵɵnextContext().$implicit;
|
|
@@ -56067,7 +56115,7 @@ function ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_win
|
|
|
56067
56115
|
i0.ɵɵtextInterpolate(agmOption_r1.note);
|
|
56068
56116
|
} }
|
|
56069
56117
|
function ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_window_2_Template(rf, ctx) { if (rf & 1) {
|
|
56070
|
-
i0.ɵɵelementStart(0, "agm-snazzy-info-window",
|
|
56118
|
+
i0.ɵɵelementStart(0, "agm-snazzy-info-window", 13);
|
|
56071
56119
|
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_window_2_ng_template_1_Template, 2, 1, "ng-template");
|
|
56072
56120
|
i0.ɵɵelementEnd();
|
|
56073
56121
|
} if (rf & 2) {
|
|
@@ -56077,9 +56125,9 @@ function ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_win
|
|
|
56077
56125
|
function ImageMapViewComponent_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
56078
56126
|
const _r25 = i0.ɵɵgetCurrentView();
|
|
56079
56127
|
i0.ɵɵelementContainerStart(0);
|
|
56080
|
-
i0.ɵɵelementStart(1, "agm-polygon",
|
|
56128
|
+
i0.ɵɵelementStart(1, "agm-polygon", 11);
|
|
56081
56129
|
i0.ɵɵlistener("polyClick", function ImageMapViewComponent_ng_container_6_ng_container_2_Template_agm_polygon_polyClick_1_listener() { i0.ɵɵrestoreView(_r25); const indexOfagm_r2 = i0.ɵɵnextContext().index; const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.openSnazzyInfoWindow(indexOfagm_r2); });
|
|
56082
|
-
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_window_2_Template, 2, 7, "agm-snazzy-info-window",
|
|
56130
|
+
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_container_2_agm_snazzy_info_window_2_Template, 2, 7, "agm-snazzy-info-window", 12);
|
|
56083
56131
|
i0.ɵɵelementEnd();
|
|
56084
56132
|
i0.ɵɵelementContainerEnd();
|
|
56085
56133
|
} if (rf & 2) {
|
|
@@ -56091,7 +56139,7 @@ function ImageMapViewComponent_ng_container_6_ng_container_2_Template(rf, ctx) {
|
|
|
56091
56139
|
} }
|
|
56092
56140
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
56093
56141
|
i0.ɵɵelementContainerStart(0);
|
|
56094
|
-
i0.ɵɵelement(1, "agm-polyline-point",
|
|
56142
|
+
i0.ɵɵelement(1, "agm-polyline-point", 15);
|
|
56095
56143
|
i0.ɵɵelementContainerEnd();
|
|
56096
56144
|
} if (rf & 2) {
|
|
56097
56145
|
const polylinePath_r29 = ctx.$implicit;
|
|
@@ -56108,7 +56156,7 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_win
|
|
|
56108
56156
|
i0.ɵɵtextInterpolate(agmOption_r1.note);
|
|
56109
56157
|
} }
|
|
56110
56158
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_window_3_Template(rf, ctx) { if (rf & 1) {
|
|
56111
|
-
i0.ɵɵelementStart(0, "agm-snazzy-info-window",
|
|
56159
|
+
i0.ɵɵelementStart(0, "agm-snazzy-info-window", 13);
|
|
56112
56160
|
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_window_3_ng_template_1_Template, 2, 1, "ng-template");
|
|
56113
56161
|
i0.ɵɵelementEnd();
|
|
56114
56162
|
} if (rf & 2) {
|
|
@@ -56118,10 +56166,10 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_win
|
|
|
56118
56166
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_3_Template(rf, ctx) { if (rf & 1) {
|
|
56119
56167
|
const _r35 = i0.ɵɵgetCurrentView();
|
|
56120
56168
|
i0.ɵɵelementStart(0, "ng-conatiner");
|
|
56121
|
-
i0.ɵɵelementStart(1, "agm-polyline",
|
|
56169
|
+
i0.ɵɵelementStart(1, "agm-polyline", 14);
|
|
56122
56170
|
i0.ɵɵlistener("lineClick", function ImageMapViewComponent_ng_container_6_ng_conatiner_3_Template_agm_polyline_lineClick_1_listener() { i0.ɵɵrestoreView(_r35); const indexOfagm_r2 = i0.ɵɵnextContext().index; const ctx_r33 = i0.ɵɵnextContext(); return ctx_r33.openSnazzyInfoWindow(indexOfagm_r2); });
|
|
56123
|
-
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_conatiner_3_ng_container_2_Template, 2, 2, "ng-container",
|
|
56124
|
-
i0.ɵɵtemplate(3, ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_window_3_Template, 2, 7, "agm-snazzy-info-window",
|
|
56171
|
+
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_conatiner_3_ng_container_2_Template, 2, 2, "ng-container", 7);
|
|
56172
|
+
i0.ɵɵtemplate(3, ImageMapViewComponent_ng_container_6_ng_conatiner_3_agm_snazzy_info_window_3_Template, 2, 7, "agm-snazzy-info-window", 12);
|
|
56125
56173
|
i0.ɵɵelementEnd();
|
|
56126
56174
|
i0.ɵɵelementEnd();
|
|
56127
56175
|
} if (rf & 2) {
|
|
@@ -56133,7 +56181,7 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_3_Template(rf, ctx) {
|
|
|
56133
56181
|
} }
|
|
56134
56182
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
56135
56183
|
i0.ɵɵelementContainerStart(0);
|
|
56136
|
-
i0.ɵɵelement(1, "agm-circle",
|
|
56184
|
+
i0.ɵɵelement(1, "agm-circle", 16);
|
|
56137
56185
|
i0.ɵɵelementContainerEnd();
|
|
56138
56186
|
} if (rf & 2) {
|
|
56139
56187
|
const circlePath_r38 = ctx.$implicit;
|
|
@@ -56143,7 +56191,7 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_4_ng_container_1_Temp
|
|
|
56143
56191
|
} }
|
|
56144
56192
|
function ImageMapViewComponent_ng_container_6_ng_conatiner_4_Template(rf, ctx) { if (rf & 1) {
|
|
56145
56193
|
i0.ɵɵelementStart(0, "ng-conatiner");
|
|
56146
|
-
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_4_ng_container_1_Template, 2, 6, "ng-container",
|
|
56194
|
+
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_4_ng_container_1_Template, 2, 6, "ng-container", 7);
|
|
56147
56195
|
i0.ɵɵelementEnd();
|
|
56148
56196
|
} if (rf & 2) {
|
|
56149
56197
|
const agmOption_r1 = i0.ɵɵnextContext().$implicit;
|
|
@@ -56151,11 +56199,11 @@ function ImageMapViewComponent_ng_container_6_ng_conatiner_4_Template(rf, ctx) {
|
|
|
56151
56199
|
i0.ɵɵproperty("ngForOf", agmOption_r1.path);
|
|
56152
56200
|
} }
|
|
56153
56201
|
function ImageMapViewComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
56154
|
-
i0.ɵɵelementContainerStart(0,
|
|
56155
|
-
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_1_Template, 2, 1, "ng-conatiner",
|
|
56156
|
-
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_container_2_Template, 3, 2, "ng-container",
|
|
56157
|
-
i0.ɵɵtemplate(3, ImageMapViewComponent_ng_container_6_ng_conatiner_3_Template, 4, 2, "ng-conatiner",
|
|
56158
|
-
i0.ɵɵtemplate(4, ImageMapViewComponent_ng_container_6_ng_conatiner_4_Template, 2, 1, "ng-conatiner",
|
|
56202
|
+
i0.ɵɵelementContainerStart(0, 5);
|
|
56203
|
+
i0.ɵɵtemplate(1, ImageMapViewComponent_ng_container_6_ng_conatiner_1_Template, 2, 1, "ng-conatiner", 6);
|
|
56204
|
+
i0.ɵɵtemplate(2, ImageMapViewComponent_ng_container_6_ng_container_2_Template, 3, 2, "ng-container", 6);
|
|
56205
|
+
i0.ɵɵtemplate(3, ImageMapViewComponent_ng_container_6_ng_conatiner_3_Template, 4, 2, "ng-conatiner", 6);
|
|
56206
|
+
i0.ɵɵtemplate(4, ImageMapViewComponent_ng_container_6_ng_conatiner_4_Template, 2, 1, "ng-conatiner", 6);
|
|
56159
56207
|
i0.ɵɵelementContainerEnd();
|
|
56160
56208
|
} if (rf & 2) {
|
|
56161
56209
|
const agmOption_r1 = ctx.$implicit;
|
|
@@ -56246,17 +56294,17 @@ class ImageMapViewComponent {
|
|
|
56246
56294
|
}
|
|
56247
56295
|
}
|
|
56248
56296
|
ImageMapViewComponent.ɵfac = function ImageMapViewComponent_Factory(t) { return new (t || ImageMapViewComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
56249
|
-
ImageMapViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ImageMapViewComponent, selectors: [["lib-image-map-view"]], decls: 7, vars: 3, consts: [[1, "
|
|
56297
|
+
ImageMapViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ImageMapViewComponent, selectors: [["lib-image-map-view"]], decls: 7, vars: 3, consts: [[1, "popup-container", "image-map-view-container"], [1, "close-icon", 3, "click"], [1, "image-map-body"], [3, "zoom", "fitBounds"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngFor", "ngForOf"], [3, "agmFitBounds", "latitude", "longitude", "markerClick"], [3, "panOnOpen", "latitude", "longitude", "maxWidth", "maxHeight", "closeWhenOthersOpen", "showCloseButton", "isOpen", 4, "ngIf"], [3, "panOnOpen", "latitude", "longitude", "maxWidth", "maxHeight", "closeWhenOthersOpen", "showCloseButton", "isOpen"], ["fillColor", "#8e8e8e", "fillOpacity", ".35", "strokeColor", "#32a1d0", 3, "paths", "polyClick"], [3, "panOnOpen", "latitude", "longitude", "closeWhenOthersOpen", "closeOnMapClick", "showCloseButton", "isOpen", 4, "ngIf"], [3, "panOnOpen", "latitude", "longitude", "closeWhenOthersOpen", "closeOnMapClick", "showCloseButton", "isOpen"], [3, "lineClick"], [3, "latitude", "longitude"], [3, "latitude", "longitude", "radius", "fillColor", "circleDraggable", "editable"]], template: function ImageMapViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
56250
56298
|
i0.ɵɵelementStart(0, "div", 0);
|
|
56251
|
-
i0.ɵɵelementStart(1, "
|
|
56252
|
-
i0.ɵɵ
|
|
56253
|
-
i0.ɵɵelementStart(2, "mat-icon", 2);
|
|
56254
|
-
i0.ɵɵtext(3, "close");
|
|
56299
|
+
i0.ɵɵelementStart(1, "h1");
|
|
56300
|
+
i0.ɵɵtext(2, "Image location");
|
|
56255
56301
|
i0.ɵɵelementEnd();
|
|
56302
|
+
i0.ɵɵelementStart(3, "button", 1);
|
|
56303
|
+
i0.ɵɵlistener("click", function ImageMapViewComponent_Template_button_click_3_listener() { return ctx.closeDialog(); });
|
|
56256
56304
|
i0.ɵɵelementEnd();
|
|
56257
|
-
i0.ɵɵelementStart(4, "div",
|
|
56258
|
-
i0.ɵɵelementStart(5, "agm-map",
|
|
56259
|
-
i0.ɵɵtemplate(6, ImageMapViewComponent_ng_container_6_Template, 5, 5, "ng-container",
|
|
56305
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
56306
|
+
i0.ɵɵelementStart(5, "agm-map", 3);
|
|
56307
|
+
i0.ɵɵtemplate(6, ImageMapViewComponent_ng_container_6_Template, 5, 5, "ng-container", 4);
|
|
56260
56308
|
i0.ɵɵelementEnd();
|
|
56261
56309
|
i0.ɵɵelementEnd();
|
|
56262
56310
|
i0.ɵɵelementEnd();
|
|
@@ -56265,10 +56313,10 @@ ImageMapViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Image
|
|
|
56265
56313
|
i0.ɵɵproperty("zoom", ctx.zoom)("fitBounds", true);
|
|
56266
56314
|
i0.ɵɵadvance(1);
|
|
56267
56315
|
i0.ɵɵproperty("ngForOf", ctx.agmMangerOption);
|
|
56268
|
-
} }, directives: [
|
|
56316
|
+
} }, directives: [i2$4.AgmMap, i1$3.NgForOf, i1$3.NgSwitch, i1$3.NgSwitchCase, i2$4.AgmMarker, i2$4.AgmFitBounds, i1$3.NgIf, i4$3.AgmSnazzyInfoWindow, i2$4.AgmPolygon, i2$4.AgmPolyline, i2$4.AgmPolylinePoint, i2$4.AgmCircle], styles: [".image-map-view-container .image-map-body{width:fit-content;height:fit-content}.image-map-view-container .image-map-body agm-map{display:block;height:50vh;width:50vw}.cdk-global-overlay-wrapper:has(.image-map-box-container){justify-content:center!important;align-items:center!important}\n"], encapsulation: 2 });
|
|
56269
56317
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImageMapViewComponent, [{
|
|
56270
56318
|
type: Component,
|
|
56271
|
-
args: [{ selector: 'lib-image-map-view', encapsulation: ViewEncapsulation.None, template: "<div class=\"
|
|
56319
|
+
args: [{ selector: 'lib-image-map-view', encapsulation: ViewEncapsulation.None, template: "<div class=\"popup-container image-map-view-container\">\n <h1>Image location</h1>\n <button class=\"close-icon\" (click)=\"closeDialog()\"></button>\n <div class=\"image-map-body\">\n <agm-map [zoom]=\"zoom\" [fitBounds]=\"true\">\n <ng-container *ngFor=\"let agmOption of agmMangerOption;let indexOfagm=index;\"\n [ngSwitch]=\"agmOption.type\">\n <!-----------Markers shapes content-->\n <ng-conatiner *ngSwitchCase=\"'marker'\"> \n <ng-conatiner *ngFor=\"let pathsOfMarker of agmOption.path\">\n <agm-marker \n [agmFitBounds]=\"true\" \n [latitude]=\"pathsOfMarker.lat\" \n [longitude]=\"pathsOfMarker.lng\" \n (markerClick)=\"openSnazzyInfoWindow(indexOfagm)\">\n <agm-snazzy-info-window \n *ngIf=\"agmOption.note\"\n [panOnOpen]=\"true\" \n [latitude]=\"pathsOfMarker.lat\" \n [longitude]=\"pathsOfMarker.lng\" \n [maxWidth]=\"400\" \n [maxHeight]=\"400\"\n [closeWhenOthersOpen]=\"true\" \n [showCloseButton]=\"true\" \n [isOpen]=\"agmOption.isOpen\">\n <ng-template>\n <div>{{agmOption.note}}</div>\n </ng-template>\n </agm-snazzy-info-window>\n </agm-marker>\n </ng-conatiner>\n </ng-conatiner>\n <!-----------Polygon shapes content-->\n <ng-container *ngSwitchCase=\"'polygon'\">\n <agm-polygon \n [paths]=\"agmOption.path\" \n fillColor=\"#8e8e8e\" \n fillOpacity=\".35\" \n strokeColor=\"#32a1d0\"\n (polyClick)=\"openSnazzyInfoWindow(indexOfagm)\">\n <agm-snazzy-info-window \n *ngIf=\"agmOption.note\"\n [panOnOpen]=\"true\" \n [latitude]=\"agmOption.path[0].lat\" \n [longitude]=\"agmOption.path[0].lng\" \n [closeWhenOthersOpen]=\"true\"\n [closeOnMapClick]=\"true\" \n [showCloseButton]=\"true\" \n [isOpen]=\"agmOption.isOpen\">\n <ng-template>\n <div>{{agmOption.note}}</div>\n </ng-template>\n </agm-snazzy-info-window>\n </agm-polygon>\n </ng-container>\n <!-----------Polyline shapes content-->\n <ng-conatiner *ngSwitchCase=\"'polyline'\">\n <agm-polyline (lineClick)=\"openSnazzyInfoWindow(indexOfagm)\">\n <ng-container *ngFor=\"let polylinePath of agmOption.path\">\n <agm-polyline-point [latitude]=\"polylinePath.lat\" [longitude]=\"polylinePath.lng\">\n </agm-polyline-point>\n </ng-container>\n <agm-snazzy-info-window \n *ngIf=\"agmOption.note\"\n [panOnOpen]=\"true\" \n [latitude]=\"agmOption.path[0].lat\" \n [longitude]=\"agmOption.path[0].lng\" \n [closeWhenOthersOpen]=\"true\"\n [closeOnMapClick]=\"true\" \n [showCloseButton]=\"true\" \n [isOpen]=\"agmOption.isOpen\">\n <ng-template>\n <div>{{agmOption.note}}</div>\n </ng-template>\n </agm-snazzy-info-window>\n </agm-polyline>\n </ng-conatiner>\n <!-----------Circle shapes content-->\n <ng-conatiner *ngSwitchCase=\"'circle'\">\n <ng-container *ngFor=\"let circlePath of agmOption.path\">\n <agm-circle \n [latitude]=\"circlePath.lat\" \n [longitude]=\"circlePath.lng\"\n [radius]=\"radius\"\n [fillColor]=\"'red'\"\n [circleDraggable]=\"false\"\n [editable]=\"false\">\n </agm-circle>\n </ng-container>\n </ng-conatiner>\n </ng-container>\n </agm-map>\n </div>\n</div>\n", styles: [".image-map-view-container .image-map-body{width:fit-content;height:fit-content}.image-map-view-container .image-map-body agm-map{display:block;height:50vh;width:50vw}.cdk-global-overlay-wrapper:has(.image-map-box-container){justify-content:center!important;align-items:center!important}\n"] }]
|
|
56272
56320
|
}], function () { return [{ type: i1$5.MatDialogRef }, { type: undefined, decorators: [{
|
|
56273
56321
|
type: Inject,
|
|
56274
56322
|
args: [MAT_DIALOG_DATA]
|
|
@@ -56861,10 +56909,10 @@ ImageWidgetLightboxViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
56861
56909
|
i0.ɵɵproperty("ngIf", ctx.annotation == null ? null : ctx.annotation.annotations.length);
|
|
56862
56910
|
i0.ɵɵadvance(1);
|
|
56863
56911
|
i0.ɵɵproperty("ngIf", (ctx.annotation == null ? null : ctx.annotation.annotations.length) === 0 || (ctx.annotation == null ? null : ctx.annotation.annotations) === null);
|
|
56864
|
-
} }, directives: [i1$3.NgClass, i3$2.DefaultClassDirective, i1$3.NgIf, i2$1.MatIcon, i1$3.NgForOf, i1$3.NgStyle, i3$2.DefaultStyleDirective, i5.MatCard], styles: ["lib-image-widget-lightbox-view .light-box-container{
|
|
56912
|
+
} }, directives: [i1$3.NgClass, i3$2.DefaultClassDirective, i1$3.NgIf, i2$1.MatIcon, i1$3.NgForOf, i1$3.NgStyle, i3$2.DefaultStyleDirective, i5.MatCard], styles: ["lib-image-widget-lightbox-view .light-box-container{height:100%;width:100%}lib-image-widget-lightbox-view .mat-left-container{position:relative;flex:70%;width:70%;display:flex;justify-content:center;align-items:center;background-color:#10172b}lib-image-widget-lightbox-view .mat-left-container .lightbox-image-left-arrow{position:absolute;top:50%;left:1rem;cursor:pointer;z-index:20}lib-image-widget-lightbox-view .mat-left-container .lightbox-image-right-arrow{position:absolute;top:50%;right:1rem;cursor:pointer;z-index:20}lib-image-widget-lightbox-view .mat-left-container .loaders{display:inline-block;width:2rem;height:2rem;border-width:4px;border-radius:100%;color:#a855f7;position:absolute;inset:50%;z-index:0}lib-image-widget-lightbox-view .mat-right-container{width:30%;flex:30%}lib-image-widget-lightbox-view .mat-right-container #close-icon{right:0;top:0;font-size:16px}lib-image-widget-lightbox-view .mat-right-container .comment-box-container{font-family:Open Sans,Arial,sans-serif}lib-image-widget-lightbox-view .mat-right-container .comment-box-container .image-lightbox-index-wrapper{display:flex;height:3.374rem;align-items:center}lib-image-widget-lightbox-view .mat-right-container .comment-box-container .image-lightbox-index-wrapper .image-lightbox-index{height:1.313rem;min-width:1.313rem;min-height:1.313rem;text-align:center;border-radius:100%;font-size:12px;font-weight:600;color:#fff;line-height:1.413rem}lib-image-widget-lightbox-view .mat-right-container .comment-box-container mat-card{background:#F2F4FA;border:none;box-shadow:none!important;font-size:.8rem;font-family:Open Sans,Arial,sans-serif}lib-image-widget-lightbox-view #annotationsCanvas{max-width:100%}lib-image-widget-lightbox-view .mat-card{min-width:auto}@media only screen and (max-width: 600px){lib-image-widget-lightbox-view .mat-left-container{flex:100%;width:100%}lib-image-widget-lightbox-view .mat-right-container{flex:100%;width:100%}lib-image-widget-lightbox-view #close-icon{top:.5rem!important}}lib-image-widget-lightbox-view .comments{font-size:1rem;cursor:default}lib-image-widget-lightbox-view .lightbox-image-zoom-in-out{position:absolute;bottom:0;right:0;display:flex;flex-direction:column;grid-row-gap:.5rem;row-gap:.5rem;justify-content:center;align-items:center;margin-right:.4rem;margin-bottom:.6rem}lib-image-widget-lightbox-view .comment-box{cursor:default}.cdk-overlay-pane:not(:has(.light-box-container)){height:auto!important;width:auto!important}.mat-dialog-container:has(.light-box-container){height:100%!important;width:100%!important;max-height:100%!important;max-width:100%!important}\n"], encapsulation: 2 });
|
|
56865
56913
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImageWidgetLightboxViewComponent, [{
|
|
56866
56914
|
type: Component,
|
|
56867
|
-
args: [{ selector: 'lib-image-widget-lightbox-view', encapsulation: ViewEncapsulation.None, template: "<div mat-dialog-content class=\"light-box-container flex h-full flex-col sm:flex-row relative\">\n<div class=\"mat-left-container\">\n <canvas id=\"annotationsCanvas\" (click)=\"onCanvasClick($event)\" #canvas class=\"relative z-10\" [ngClass]=\"{'opacity-50': !imageLoaded}\">\n\n </canvas>\n <button *ngIf=\"!disablePreviousButton && imageLoaded\" (click)=\"showPreviousImage()\" [disabled]=\"!imageLoaded\"><mat-icon class=\"lightbox-image-left-arrow\" [svgIcon]=\"'axo_left_arrow'\" ></mat-icon></button>\n <button *ngIf=\"!disableNextButton && imageLoaded\" (click)=\"showNextImage()\" [disabled]=\"!imageLoaded\"><mat-icon class=\"lightbox-image-right-arrow\" [svgIcon]=\"'axo_right_arrow'\" ></mat-icon></button>\n <div class=\"lightbox-image-zoom-in-out\">\n <mat-icon *ngIf=\"isImageWithAnnotations\" (click)=\"showImageWithoutAnnotations()\" [svgIcon]=\"showImage ?'axo_anotation_show':'axo_anotation_hide'\" class=\"cursor-pointer eye-icon z-20\"></mat-icon>\n <mat-icon (click)=\"expandCanvas()\" [svgIcon]=\"isCanvasExpanded ?'axo_img_compress':'axo_fullscreen'\" class=\"cursor-pointer z-20\" [ngClass]=\"{'expand': isCanvasExpanded}\"></mat-icon>\n <mat-icon (click)=\"imageZoomIn()\" [svgIcon]=\"'axo_zoom_in'\" class=\"cursor-pointer z-20\"></mat-icon>\n <mat-icon (click)=\"imageZoomOut()\"[svgIcon]=\"'axo_zoom_out'\" class=\"cursor-pointer z-20\"></mat-icon>\n </div>\n <div class=\"\n spinner-border\n animate-spin\n loaders\n \" role=\"status\" *ngIf=\"!imageLoaded\" [ngClass]=\"{'z-50': !imageLoaded}\">\n <span class=\"visually-hidden\">Loading...</span>\n </div>\n</div>\n\n <div class=\"mat-right-container sm:relative bg-white customscroll pl-5\">\n <div class=\"sticky top-0 pt-4 bg-white z-10 hidden sm:block\">\n <mat-icon svgIcon=\"axo_popup_close\" id=\"close-icon\" (click)=\"closeDialog()\" class=\"absolute\"></mat-icon>\n <div class=\"py-4 comments\">Comments</div>\n </div>\n <div class=\"block sm:hidden flex justify-between sticky top-0 z-10 bg-white\">\n <div class=\"py-4 bg-white commments\">Comments</div>\n <div class=\"block relative\">\n <mat-icon id=\"close-icon\" (click)=\"closeDialog()\" class=\"absolute\">close</mat-icon> \n </div>\n \n </div>\n <div class=\"comment-box axo-font text-sm\" *ngIf=\"annotation?.annotations.length\">\n <div class=\"comment-box-container flex gap-4 pb-4\" *ngFor=\"let item of annotation?.annotations; let i= index\">\n <div class=\"image-lightbox-index-wrapper\">\n <div class=\"image-lightbox-index\" [ngStyle]=\"{'background-color': item.color ,'border': (isAnnotationSelected && i === selectedAnnotationIndex && previouslySelectedAnnotationId === selectedAnnotationIndex) ?'1px solid #0000FF':''}\" (click)=\"selectAnnotation(i)\">{{i+1}}</div>\n </div>\n <mat-card class=\"w-full customscroll\" [ngStyle]=\"{'border': (isAnnotationSelected && i === selectedAnnotationIndex && previouslySelectedAnnotationId === selectedAnnotationIndex) ?'1px solid #0000FF':''}\" (click)=\"selectAnnotation(i)\">{{item.notes}}</mat-card> \n </div>\n </div>\n <div class=\"comment-box\" *ngIf=\"annotation?.annotations.length === 0 || annotation?.annotations === null\">No comments available\n \n </div>\n </div>\n</div>\n", styles: ["lib-image-widget-lightbox-view .light-box-container{
|
|
56915
|
+
args: [{ selector: 'lib-image-widget-lightbox-view', encapsulation: ViewEncapsulation.None, template: "<div mat-dialog-content class=\"light-box-container flex h-full flex-col sm:flex-row relative\">\n<div class=\"mat-left-container\">\n <canvas id=\"annotationsCanvas\" (click)=\"onCanvasClick($event)\" #canvas class=\"relative z-10\" [ngClass]=\"{'opacity-50': !imageLoaded}\">\n\n </canvas>\n <button *ngIf=\"!disablePreviousButton && imageLoaded\" (click)=\"showPreviousImage()\" [disabled]=\"!imageLoaded\"><mat-icon class=\"lightbox-image-left-arrow\" [svgIcon]=\"'axo_left_arrow'\" ></mat-icon></button>\n <button *ngIf=\"!disableNextButton && imageLoaded\" (click)=\"showNextImage()\" [disabled]=\"!imageLoaded\"><mat-icon class=\"lightbox-image-right-arrow\" [svgIcon]=\"'axo_right_arrow'\" ></mat-icon></button>\n <div class=\"lightbox-image-zoom-in-out\">\n <mat-icon *ngIf=\"isImageWithAnnotations\" (click)=\"showImageWithoutAnnotations()\" [svgIcon]=\"showImage ?'axo_anotation_show':'axo_anotation_hide'\" class=\"cursor-pointer eye-icon z-20\"></mat-icon>\n <mat-icon (click)=\"expandCanvas()\" [svgIcon]=\"isCanvasExpanded ?'axo_img_compress':'axo_fullscreen'\" class=\"cursor-pointer z-20\" [ngClass]=\"{'expand': isCanvasExpanded}\"></mat-icon>\n <mat-icon (click)=\"imageZoomIn()\" [svgIcon]=\"'axo_zoom_in'\" class=\"cursor-pointer z-20\"></mat-icon>\n <mat-icon (click)=\"imageZoomOut()\"[svgIcon]=\"'axo_zoom_out'\" class=\"cursor-pointer z-20\"></mat-icon>\n </div>\n <div class=\"\n spinner-border\n animate-spin\n loaders\n \" role=\"status\" *ngIf=\"!imageLoaded\" [ngClass]=\"{'z-50': !imageLoaded}\">\n <span class=\"visually-hidden\">Loading...</span>\n </div>\n</div>\n\n <div class=\"mat-right-container sm:relative bg-white customscroll pl-5\">\n <div class=\"sticky top-0 pt-4 bg-white z-10 hidden sm:block\">\n <mat-icon svgIcon=\"axo_popup_close\" id=\"close-icon\" (click)=\"closeDialog()\" class=\"absolute\"></mat-icon>\n <div class=\"py-4 comments\">Comments</div>\n </div>\n <div class=\"block sm:hidden flex justify-between sticky top-0 z-10 bg-white\">\n <div class=\"py-4 bg-white commments\">Comments</div>\n <div class=\"block relative\">\n <mat-icon id=\"close-icon\" (click)=\"closeDialog()\" class=\"absolute\">close</mat-icon> \n </div>\n \n </div>\n <div class=\"comment-box axo-font text-sm\" *ngIf=\"annotation?.annotations.length\">\n <div class=\"comment-box-container flex gap-4 pb-4\" *ngFor=\"let item of annotation?.annotations; let i= index\">\n <div class=\"image-lightbox-index-wrapper\">\n <div class=\"image-lightbox-index\" [ngStyle]=\"{'background-color': item.color ,'border': (isAnnotationSelected && i === selectedAnnotationIndex && previouslySelectedAnnotationId === selectedAnnotationIndex) ?'1px solid #0000FF':''}\" (click)=\"selectAnnotation(i)\">{{i+1}}</div>\n </div>\n <mat-card class=\"w-full customscroll\" [ngStyle]=\"{'border': (isAnnotationSelected && i === selectedAnnotationIndex && previouslySelectedAnnotationId === selectedAnnotationIndex) ?'1px solid #0000FF':''}\" (click)=\"selectAnnotation(i)\">{{item.notes}}</mat-card> \n </div>\n </div>\n <div class=\"comment-box\" *ngIf=\"annotation?.annotations.length === 0 || annotation?.annotations === null\">No comments available\n \n </div>\n </div>\n</div>\n", styles: ["lib-image-widget-lightbox-view .light-box-container{height:100%;width:100%}lib-image-widget-lightbox-view .mat-left-container{position:relative;flex:70%;width:70%;display:flex;justify-content:center;align-items:center;background-color:#10172b}lib-image-widget-lightbox-view .mat-left-container .lightbox-image-left-arrow{position:absolute;top:50%;left:1rem;cursor:pointer;z-index:20}lib-image-widget-lightbox-view .mat-left-container .lightbox-image-right-arrow{position:absolute;top:50%;right:1rem;cursor:pointer;z-index:20}lib-image-widget-lightbox-view .mat-left-container .loaders{display:inline-block;width:2rem;height:2rem;border-width:4px;border-radius:100%;color:#a855f7;position:absolute;inset:50%;z-index:0}lib-image-widget-lightbox-view .mat-right-container{width:30%;flex:30%}lib-image-widget-lightbox-view .mat-right-container #close-icon{right:0;top:0;font-size:16px}lib-image-widget-lightbox-view .mat-right-container .comment-box-container{font-family:Open Sans,Arial,sans-serif}lib-image-widget-lightbox-view .mat-right-container .comment-box-container .image-lightbox-index-wrapper{display:flex;height:3.374rem;align-items:center}lib-image-widget-lightbox-view .mat-right-container .comment-box-container .image-lightbox-index-wrapper .image-lightbox-index{height:1.313rem;min-width:1.313rem;min-height:1.313rem;text-align:center;border-radius:100%;font-size:12px;font-weight:600;color:#fff;line-height:1.413rem}lib-image-widget-lightbox-view .mat-right-container .comment-box-container mat-card{background:#F2F4FA;border:none;box-shadow:none!important;font-size:.8rem;font-family:Open Sans,Arial,sans-serif}lib-image-widget-lightbox-view #annotationsCanvas{max-width:100%}lib-image-widget-lightbox-view .mat-card{min-width:auto}@media only screen and (max-width: 600px){lib-image-widget-lightbox-view .mat-left-container{flex:100%;width:100%}lib-image-widget-lightbox-view .mat-right-container{flex:100%;width:100%}lib-image-widget-lightbox-view #close-icon{top:.5rem!important}}lib-image-widget-lightbox-view .comments{font-size:1rem;cursor:default}lib-image-widget-lightbox-view .lightbox-image-zoom-in-out{position:absolute;bottom:0;right:0;display:flex;flex-direction:column;grid-row-gap:.5rem;row-gap:.5rem;justify-content:center;align-items:center;margin-right:.4rem;margin-bottom:.6rem}lib-image-widget-lightbox-view .comment-box{cursor:default}.cdk-overlay-pane:not(:has(.light-box-container)){height:auto!important;width:auto!important}.mat-dialog-container:has(.light-box-container){height:100%!important;width:100%!important;max-height:100%!important;max-width:100%!important}\n"] }]
|
|
56868
56916
|
}], function () { return [{ type: i1$5.MatDialogRef }, { type: undefined, decorators: [{
|
|
56869
56917
|
type: Inject,
|
|
56870
56918
|
args: [MAT_DIALOG_DATA]
|
|
@@ -60431,7 +60479,7 @@ GpsWidgetViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GpsW
|
|
|
60431
60479
|
} if (rf & 2) {
|
|
60432
60480
|
const _r1 = i0.ɵɵreference(2);
|
|
60433
60481
|
i0.ɵɵproperty("ngIf", ctx.widget.value)("ngIfElse", _r1);
|
|
60434
|
-
} }, directives: [i1$3.NgIf, i2$4.AgmMap, i1$3.NgForOf, i1$3.NgSwitch, i1$3.NgSwitchCase, i2$4.AgmMarker, i2$4.AgmFitBounds, i2$4.AgmInfoWindow, i2$4.AgmPolygon,
|
|
60482
|
+
} }, directives: [i1$3.NgIf, i2$4.AgmMap, i1$3.NgForOf, i1$3.NgSwitch, i1$3.NgSwitchCase, i2$4.AgmMarker, i2$4.AgmFitBounds, i2$4.AgmInfoWindow, i2$4.AgmPolygon, i4$3.AgmSnazzyInfoWindow, i2$4.AgmPolyline, i2$4.AgmPolylinePoint, i2$1.MatIcon], styles: ["lib-gps-widget-view{display:block}lib-gps-widget-view agm-map{height:300px}lib-gps-widget-view .mat-form-field.mat-form-field-appearance-fill{width:100%!important}lib-gps-widget-view .gps-container{height:100%;width:100%}\n"], encapsulation: 2 });
|
|
60435
60483
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GpsWidgetViewComponent, [{
|
|
60436
60484
|
type: Component,
|
|
60437
60485
|
args: [{ selector: 'lib-gps-widget-view', encapsulation: ViewEncapsulation.None, template: "<!--- gps value content-->\n<ng-container *ngIf=\"widget.value; else isWidgetValueEmpty\" >\n <div class=\"gps-container\" *ngIf=\"widget.value\">\n <agm-map [zoom]=\"zoom\" [scrollwheel]=\"false\" [fitBounds]=\"true\" [restriction]=\"restriction\" [minZoom]=\"2\">\n <ng-container *ngFor=\"let agmOption of agmMangerOption;let indexOfagm=index;\"\n [ngSwitch]=\"agmOption.type\">\n <!-----------Markers shapes content-->\n <ng-conatiner *ngSwitchCase=\"'marker'\">\n <ng-conatiner *ngFor=\"let pathsOfMarker of agmOption.path\">\n <agm-marker\n [agmFitBounds]=\"true\"\n [latitude]=\"pathsOfMarker.lat\"\n [longitude]=\"pathsOfMarker.lng\"\n (markerClick)=\"clickedMarker(infowindow)\">\n <agm-info-window #infowindow>\n <strong>\n {{agmOption.note}}\n </strong>\n </agm-info-window>\n </agm-marker>\n </ng-conatiner>\n </ng-conatiner>\n <!-----------Polygon shapes content-->\n <ng-container *ngSwitchCase=\"'polygon'\">\n <agm-polygon\n [paths]=\"agmOption.path\"\n fillColor=\"#8e8e8e\"\n fillOpacity=\".35\"\n strokeColor=\"#32a1d0\"\n (polyClick)=\"openSnazzyInfoWindow(indexOfagm)\">\n <agm-snazzy-info-window\n *ngIf=\"agmOption.note\"\n [panOnOpen]=\"true\"\n [latitude]=\"agmOption.path[0].lat\"\n [longitude]=\"agmOption.path[0].lng\"\n [closeWhenOthersOpen]=\"true\"\n [closeOnMapClick]=\"true\"\n [showCloseButton]=\"true\"\n [isOpen]=\"agmOption.isOpen\">\n <ng-template>\n <div>{{agmOption.note}}</div>\n </ng-template>\n </agm-snazzy-info-window>\n </agm-polygon>\n </ng-container>\n <!-----------Polyline shapes content-->\n <ng-conatiner *ngSwitchCase=\"'polyline'\">\n <agm-polyline (lineClick)=\"openSnazzyInfoWindow(indexOfagm)\">\n <ng-container *ngFor=\"let polylinePath of agmOption.path\">\n <agm-polyline-point [latitude]=\"polylinePath.lat\" [longitude]=\"polylinePath.lng\">\n </agm-polyline-point>\n </ng-container>\n <agm-snazzy-info-window\n *ngIf=\"agmOption.note\"\n [panOnOpen]=\"true\"\n [latitude]=\"agmOption.path[0].lat\"\n [longitude]=\"agmOption.path[0].lng\"\n [closeWhenOthersOpen]=\"true\"\n [closeOnMapClick]=\"true\"\n [showCloseButton]=\"true\"\n [isOpen]=\"agmOption.isOpen\">\n <ng-template>\n <div>{{agmOption.note}}</div>\n </ng-template>\n </agm-snazzy-info-window>\n </agm-polyline>\n </ng-conatiner>\n </ng-container>\n </agm-map>\n </div>\n</ng-container>\n<!--- gps value empty content-->\n<ng-template #isWidgetValueEmpty>\n <div class=\"data-detail-infoc capture-container\">\n <div class=\"data-detail-title flex text-sm\">\n <mat-icon class=\"add-text\" svgIcon=\"axo_location\"></mat-icon>\n <span *ngIf=\"section.showPrompt\" class=\"pl-2 text-sm\">{{widget.prompt}}<span class=\"colon\"> :</span></span>\n </div>\n <span class=\"flex justify-start\">-</span>\n </div>\n</ng-template>\n", styles: ["lib-gps-widget-view{display:block}lib-gps-widget-view agm-map{height:300px}lib-gps-widget-view .mat-form-field.mat-form-field-appearance-fill{width:100%!important}lib-gps-widget-view .gps-container{height:100%;width:100%}\n"] }]
|