@memberjunction/ng-user-view-properties 2.7.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/user-view-properties.component.d.ts +33 -5
- package/dist/lib/user-view-properties.component.d.ts.map +1 -1
- package/dist/lib/user-view-properties.component.js +316 -96
- package/dist/lib/user-view-properties.component.js.map +1 -0
- package/dist/module.d.ts +3 -1
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +12 -3
- package/dist/module.js.map +1 -0
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +8 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EventEmitter, AfterViewInit, OnDestroy, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
+
import { FormBuilder } from "@angular/forms";
|
|
3
4
|
import { Metadata, EntityFieldInfo, EntityInfo } from "@memberjunction/core";
|
|
4
|
-
import { DragEndEvent } from '@progress/kendo-angular-sortable';
|
|
5
5
|
import { UserViewEntityExtended } from '@memberjunction/core-entities';
|
|
6
6
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
7
|
+
import { SharedService } from '@memberjunction/ng-shared';
|
|
8
|
+
import { DragEndEvent } from '@progress/kendo-angular-sortable';
|
|
7
9
|
import { WindowComponent } from '@progress/kendo-angular-dialog';
|
|
8
10
|
import { TabComponent } from '@progress/kendo-angular-layout';
|
|
9
11
|
import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
10
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
11
|
-
import { SharedService } from '@memberjunction/ng-shared';
|
|
12
|
-
import { FormBuilder } from "@angular/forms";
|
|
12
|
+
import { TextBoxComponent, TextAreaComponent } from '@progress/kendo-angular-inputs';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class UserViewPropertiesDialogComponent extends BaseFormComponent implements AfterViewInit, OnDestroy {
|
|
15
15
|
protected route: ActivatedRoute;
|
|
@@ -21,6 +21,10 @@ export declare class UserViewPropertiesDialogComponent extends BaseFormComponent
|
|
|
21
21
|
protected cdr: ChangeDetectorRef;
|
|
22
22
|
ViewID: string | undefined;
|
|
23
23
|
EntityName: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* View Category ID, optional
|
|
26
|
+
*/
|
|
27
|
+
CategoryID: string | null;
|
|
24
28
|
ShowPropertiesButton: boolean;
|
|
25
29
|
dialogClosed: EventEmitter<any>;
|
|
26
30
|
isDialogOpened: boolean;
|
|
@@ -30,6 +34,12 @@ export declare class UserViewPropertiesDialogComponent extends BaseFormComponent
|
|
|
30
34
|
defaultFilterState: any;
|
|
31
35
|
record: UserViewEntityExtended;
|
|
32
36
|
ViewEntityInfo: EntityInfo;
|
|
37
|
+
ViewResourceTypeID: string;
|
|
38
|
+
private _userCanEdit;
|
|
39
|
+
/**
|
|
40
|
+
* This property determines if the current user can save the current view, or not.
|
|
41
|
+
*/
|
|
42
|
+
get UserCanEdit(): boolean;
|
|
33
43
|
private keyPressListener;
|
|
34
44
|
usedFields: Set<string>;
|
|
35
45
|
sortFields: any[];
|
|
@@ -41,12 +51,30 @@ export declare class UserViewPropertiesDialogComponent extends BaseFormComponent
|
|
|
41
51
|
kendoWindow: WindowComponent;
|
|
42
52
|
kendoTab: TabComponent;
|
|
43
53
|
nameField: TextBoxComponent;
|
|
54
|
+
smartFilterTextArea: TextAreaComponent;
|
|
44
55
|
dialogContainer: ElementRef;
|
|
45
56
|
private outerDialogContainer;
|
|
57
|
+
private findRecordDialog;
|
|
58
|
+
private resourcePermissions;
|
|
46
59
|
constructor(route: ActivatedRoute, elRef: ElementRef, ss: SharedService, formBuilder: FormBuilder, router: Router, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
47
60
|
onKeyPress(event: KeyboardEvent): void;
|
|
61
|
+
onFindRecordDialogClosed(event: any): void;
|
|
62
|
+
smartFilterPrompt_insertViewReference(): void;
|
|
63
|
+
smartFilterPrompt_insertListReference(): void;
|
|
64
|
+
protected showFindRecordDialog(entityName: string, fields?: string[]): void;
|
|
65
|
+
smartFilterPrompt_insertText(text: string): void;
|
|
48
66
|
GetTabTopPosition(): number;
|
|
67
|
+
/**
|
|
68
|
+
* Displays a dialog to create a new view
|
|
69
|
+
* @param entityName
|
|
70
|
+
*/
|
|
49
71
|
CreateView(entityName: string): void;
|
|
72
|
+
/**
|
|
73
|
+
* Displays a dialog to create a new view, if the user saves the view, it will be created in the specified category
|
|
74
|
+
* @param entityName
|
|
75
|
+
* @param viewCategoryID
|
|
76
|
+
*/
|
|
77
|
+
CreateViewInCategory(entityName: string, viewCategoryID: string): void;
|
|
50
78
|
Open(ViewID?: string | undefined): Promise<void>;
|
|
51
79
|
Load(): Promise<void>;
|
|
52
80
|
closePropertiesDialog(): void;
|
|
@@ -71,6 +99,6 @@ export declare class UserViewPropertiesDialogComponent extends BaseFormComponent
|
|
|
71
99
|
private _movedToBody;
|
|
72
100
|
moveDialogToBody(): void;
|
|
73
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserViewPropertiesDialogComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserViewPropertiesDialogComponent, "mj-user-view-properties-dialog", never, { "ViewID": { "alias": "ViewID"; "required": false; }; "EntityName": { "alias": "EntityName"; "required": false; }; "ShowPropertiesButton": { "alias": "ShowPropertiesButton"; "required": false; }; }, { "dialogClosed": "dialogClosed"; }, never, never, false, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserViewPropertiesDialogComponent, "mj-user-view-properties-dialog", never, { "ViewID": { "alias": "ViewID"; "required": false; }; "EntityName": { "alias": "EntityName"; "required": false; }; "CategoryID": { "alias": "CategoryID"; "required": false; }; "ShowPropertiesButton": { "alias": "ShowPropertiesButton"; "required": false; }; }, { "dialogClosed": "dialogClosed"; }, never, never, false, never>;
|
|
75
103
|
}
|
|
76
104
|
//# sourceMappingURL=user-view-properties.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-view-properties.component.d.ts","sourceRoot":"","sources":["../../src/lib/user-view-properties.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAkB,aAAa,EAAE,SAAS,EAAa,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"user-view-properties.component.d.ts","sourceRoot":"","sources":["../../src/lib/user-view-properties.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAkB,aAAa,EAAE,SAAS,EAAa,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAmE,MAAM,sBAAsB,CAAC;AAE9I,OAAO,EAAwC,sBAAsB,EAAiB,MAAM,+BAA+B,CAAC;AAC5H,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAA4B,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAGpF,OAAO,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;;AAKrF,qBAKa,iCAAkC,SAAQ,iBAAkB,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;IAM9D,wBAAwB,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG;IAIrD,OAAO,CAAC,YAAY,CAAkB;IACtC,gBAAgB;yCAxeL,iCAAiC;2CAAjC,iCAAiC;CAgf7C"}
|
|
@@ -9,12 +9,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
11
11
|
import { Metadata, EntityFieldTSType, LogError } from "@memberjunction/core";
|
|
12
|
+
import { MJEventType, MJGlobal } from '@memberjunction/global';
|
|
13
|
+
import { ResourcePermissionEngine } from '@memberjunction/core-entities';
|
|
12
14
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
13
|
-
import { ResourceData } from '@memberjunction/ng-shared';
|
|
15
|
+
import { ResourceData, EventCodes } from '@memberjunction/ng-shared';
|
|
14
16
|
import { WindowComponent } from '@progress/kendo-angular-dialog';
|
|
15
17
|
import { TabComponent } from '@progress/kendo-angular-layout';
|
|
16
|
-
import { MJEventType, MJGlobal } from '@memberjunction/global';
|
|
17
|
-
import { EventCodes } from '@memberjunction/ng-shared';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
19
|
import * as i1 from "@angular/router";
|
|
20
20
|
import * as i2 from "@memberjunction/ng-shared";
|
|
@@ -28,50 +28,63 @@ import * as i9 from "@progress/kendo-angular-layout";
|
|
|
28
28
|
import * as i10 from "@progress/kendo-angular-sortable";
|
|
29
29
|
import * as i11 from "@progress/kendo-angular-filter";
|
|
30
30
|
import * as i12 from "@progress/kendo-angular-dropdowns";
|
|
31
|
+
import * as i13 from "@memberjunction/ng-find-record";
|
|
32
|
+
import * as i14 from "@memberjunction/ng-resource-permissions";
|
|
31
33
|
const _c0 = ["nameField"];
|
|
32
|
-
const _c1 = ["
|
|
33
|
-
const _c2 = ["
|
|
34
|
+
const _c1 = ["smartFilterTextArea"];
|
|
35
|
+
const _c2 = ["dialogContainer"];
|
|
36
|
+
const _c3 = ["outerDialogContainer"];
|
|
37
|
+
const _c4 = ["findRecordDialog"];
|
|
38
|
+
const _c5 = ["resourcePermissions"];
|
|
34
39
|
function UserViewPropertiesDialogComponent_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
35
40
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
36
|
-
i0.ɵɵelementStart(0, "button",
|
|
41
|
+
i0.ɵɵelementStart(0, "button", 9);
|
|
37
42
|
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.Open()); });
|
|
38
|
-
i0.ɵɵelement(1, "span",
|
|
43
|
+
i0.ɵɵelement(1, "span", 10);
|
|
39
44
|
i0.ɵɵtext(2, " Properties ");
|
|
40
45
|
i0.ɵɵelementEnd();
|
|
41
46
|
} }
|
|
42
47
|
function UserViewPropertiesDialogComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
-
i0.ɵɵelement(0, "div",
|
|
48
|
+
i0.ɵɵelement(0, "div", 11);
|
|
44
49
|
} }
|
|
45
50
|
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_loader_1_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
i0.ɵɵelement(0, "kendo-loader",
|
|
51
|
+
i0.ɵɵelement(0, "kendo-loader", 26);
|
|
47
52
|
} }
|
|
48
53
|
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
49
54
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
50
|
-
i0.ɵɵelementStart(0, "div",
|
|
51
|
-
i0.ɵɵelement(2, "kendo-label",
|
|
52
|
-
i0.ɵɵelementStart(3, "kendo-textbox",
|
|
55
|
+
i0.ɵɵelementStart(0, "div", 27)(1, "div", 28);
|
|
56
|
+
i0.ɵɵelement(2, "kendo-label", 29);
|
|
57
|
+
i0.ɵɵelementStart(3, "kendo-textbox", 30, 2);
|
|
53
58
|
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_7_Template_kendo_textbox_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Name, $event) || (ctx_r1.record.Name = $event); return i0.ɵɵresetView($event); });
|
|
54
59
|
i0.ɵɵelementEnd()();
|
|
55
|
-
i0.ɵɵelementStart(5, "div",
|
|
56
|
-
i0.ɵɵelement(6, "kendo-label",
|
|
57
|
-
i0.ɵɵelementStart(7, "textarea",
|
|
60
|
+
i0.ɵɵelementStart(5, "div", 31);
|
|
61
|
+
i0.ɵɵelement(6, "kendo-label", 32);
|
|
62
|
+
i0.ɵɵelementStart(7, "textarea", 33);
|
|
58
63
|
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_7_Template_textarea_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Description, $event) || (ctx_r1.record.Description = $event); return i0.ɵɵresetView($event); });
|
|
59
64
|
i0.ɵɵelementEnd()()();
|
|
60
65
|
} if (rf & 2) {
|
|
61
66
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
62
67
|
i0.ɵɵadvance(3);
|
|
63
68
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.Name);
|
|
69
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
64
70
|
i0.ɵɵadvance(4);
|
|
65
71
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.Description);
|
|
72
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
73
|
+
} }
|
|
74
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵelement(0, "span", 34);
|
|
76
|
+
i0.ɵɵelementStart(1, "span");
|
|
77
|
+
i0.ɵɵtext(2, "Fields");
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
66
79
|
} }
|
|
67
|
-
function
|
|
80
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
68
81
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
69
|
-
i0.ɵɵelementStart(0, "div",
|
|
70
|
-
i0.ɵɵlistener("change", function
|
|
82
|
+
i0.ɵɵelementStart(0, "div", 37)(1, "div")(2, "kendo-checkbox", 38);
|
|
83
|
+
i0.ɵɵlistener("change", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_ng_template_1_Template_kendo_checkbox_change_2_listener() { const col_r7 = i0.ɵɵrestoreView(_r6).item; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleColumn(col_r7)); });
|
|
71
84
|
i0.ɵɵelementEnd();
|
|
72
|
-
i0.ɵɵelement(3, "kendo-label",
|
|
85
|
+
i0.ɵɵelement(3, "kendo-label", 39);
|
|
73
86
|
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelement(4, "span",
|
|
87
|
+
i0.ɵɵelement(4, "span", 40);
|
|
75
88
|
i0.ɵɵelementEnd();
|
|
76
89
|
} if (rf & 2) {
|
|
77
90
|
const col_r7 = ctx.item;
|
|
@@ -80,68 +93,112 @@ function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_9_ng_templ
|
|
|
80
93
|
i0.ɵɵadvance();
|
|
81
94
|
i0.ɵɵproperty("for", "column_" + col_r7.ID)("text", col_r7.DisplayName ? col_r7.DisplayName : col_r7.Name);
|
|
82
95
|
} }
|
|
83
|
-
function
|
|
96
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
+
i0.ɵɵelement(0, "div", 41);
|
|
98
|
+
} }
|
|
99
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
84
100
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
85
|
-
i0.ɵɵelementStart(0, "kendo-sortable",
|
|
86
|
-
i0.ɵɵlistener("dragEnd", function
|
|
87
|
-
i0.ɵɵtemplate(1,
|
|
101
|
+
i0.ɵɵelementStart(0, "kendo-sortable", 35);
|
|
102
|
+
i0.ɵɵlistener("dragEnd", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_Template_kendo_sortable_dragEnd_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onDragEnd($event)); });
|
|
103
|
+
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_ng_template_1_Template, 5, 3, "ng-template");
|
|
88
104
|
i0.ɵɵelementEnd();
|
|
105
|
+
i0.ɵɵtemplate(2, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_div_2_Template, 1, 0, "div", 36);
|
|
89
106
|
} if (rf & 2) {
|
|
90
107
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
91
108
|
i0.ɵɵproperty("kendoSortableBinding", ctx_r1.localGridState.columnSettings)("animation", true);
|
|
109
|
+
i0.ɵɵadvance(2);
|
|
110
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.UserCanEdit);
|
|
111
|
+
} }
|
|
112
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
+
i0.ɵɵelement(0, "span", 42);
|
|
114
|
+
i0.ɵɵelementStart(1, "span");
|
|
115
|
+
i0.ɵɵtext(2, "Filters");
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
92
117
|
} }
|
|
93
|
-
function
|
|
118
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
94
119
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
95
|
-
i0.ɵɵelementStart(0, "div",
|
|
96
|
-
i0.ɵɵ
|
|
120
|
+
i0.ɵɵelementStart(0, "div", 47)(1, "mj-find-record-dialog", 48, 3);
|
|
121
|
+
i0.ɵɵlistener("RecordSelected", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template_mj_find_record_dialog_RecordSelected_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFindRecordSelected($event)); })("DialogClosed", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template_mj_find_record_dialog_DialogClosed_1_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFindRecordDialogClosed()); });
|
|
122
|
+
i0.ɵɵelementEnd();
|
|
123
|
+
i0.ɵɵelementStart(3, "button", 49);
|
|
124
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.smartFilterPrompt_insertViewReference()); });
|
|
125
|
+
i0.ɵɵelement(4, "span", 50);
|
|
126
|
+
i0.ɵɵtext(5, " Reference a View ");
|
|
127
|
+
i0.ɵɵelementEnd();
|
|
128
|
+
i0.ɵɵelementStart(6, "button", 49);
|
|
129
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.smartFilterPrompt_insertListReference()); });
|
|
130
|
+
i0.ɵɵelement(7, "span", 51);
|
|
131
|
+
i0.ɵɵtext(8, " Reference a List ");
|
|
132
|
+
i0.ɵɵelementEnd();
|
|
133
|
+
i0.ɵɵelementStart(9, "kendo-textarea", 52, 4);
|
|
134
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template_kendo_textarea_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.record.SmartFilterPrompt, $event) || (ctx_r1.record.SmartFilterPrompt = $event); return i0.ɵɵresetView($event); });
|
|
97
135
|
i0.ɵɵelementEnd()();
|
|
98
136
|
} if (rf & 2) {
|
|
99
137
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
100
138
|
i0.ɵɵproperty("fillHeight", true);
|
|
101
|
-
i0.ɵɵadvance();
|
|
102
|
-
i0.ɵɵproperty("
|
|
139
|
+
i0.ɵɵadvance(3);
|
|
140
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
141
|
+
i0.ɵɵadvance(3);
|
|
142
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
143
|
+
i0.ɵɵadvance(3);
|
|
144
|
+
i0.ɵɵproperty("rows", 12);
|
|
103
145
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.SmartFilterPrompt);
|
|
146
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
104
147
|
} }
|
|
105
|
-
function
|
|
148
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
149
|
+
i0.ɵɵelement(0, "div", 41);
|
|
150
|
+
} }
|
|
151
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
106
152
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
107
|
-
i0.ɵɵelementStart(0, "div")(1, "kendo-filter",
|
|
108
|
-
i0.ɵɵlistener("valueChange", function
|
|
109
|
-
i0.ɵɵelementEnd()
|
|
153
|
+
i0.ɵɵelementStart(0, "div")(1, "kendo-filter", 53);
|
|
154
|
+
i0.ɵɵlistener("valueChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_Template_kendo_filter_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterChange($event)); });
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
i0.ɵɵtemplate(2, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_div_2_Template, 1, 0, "div", 36);
|
|
157
|
+
i0.ɵɵelementEnd();
|
|
110
158
|
} if (rf & 2) {
|
|
111
159
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
112
160
|
i0.ɵɵadvance();
|
|
113
|
-
i0.ɵɵproperty("filters", ctx_r1.setupFilters())("value", ctx_r1.defaultFilterState);
|
|
161
|
+
i0.ɵɵproperty("filters", ctx_r1.setupFilters())("value", ctx_r1.defaultFilterState)("disabled", !ctx_r1.UserCanEdit);
|
|
162
|
+
i0.ɵɵadvance();
|
|
163
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.UserCanEdit);
|
|
114
164
|
} }
|
|
115
|
-
function
|
|
165
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
116
166
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
117
|
-
i0.ɵɵelementStart(0, "div",
|
|
118
|
-
i0.ɵɵelement(1, "kendo-label",
|
|
119
|
-
i0.ɵɵelementStart(2, "kendo-switch",
|
|
120
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
167
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
168
|
+
i0.ɵɵelement(1, "kendo-label", 44);
|
|
169
|
+
i0.ɵɵelementStart(2, "kendo-switch", 45);
|
|
170
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_Template_kendo_switch_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.SmartFilterEnabled, $event) || (ctx_r1.record.SmartFilterEnabled = $event); return i0.ɵɵresetView($event); });
|
|
121
171
|
i0.ɵɵelementEnd()();
|
|
122
|
-
i0.ɵɵtemplate(3,
|
|
172
|
+
i0.ɵɵtemplate(3, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_3_Template, 11, 6, "div", 46)(4, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_Template, 3, 4, "div", 22);
|
|
123
173
|
} if (rf & 2) {
|
|
124
174
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
125
175
|
i0.ɵɵadvance(2);
|
|
126
176
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.SmartFilterEnabled);
|
|
177
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
127
178
|
i0.ɵɵadvance();
|
|
128
179
|
i0.ɵɵproperty("ngIf", ctx_r1.record.SmartFilterEnabled);
|
|
129
180
|
i0.ɵɵadvance();
|
|
130
181
|
i0.ɵɵproperty("ngIf", !ctx_r1.record.SmartFilterEnabled);
|
|
131
182
|
} }
|
|
132
|
-
function
|
|
183
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
184
|
+
i0.ɵɵelement(0, "span", 54);
|
|
185
|
+
i0.ɵɵelementStart(1, "span");
|
|
186
|
+
i0.ɵɵtext(2, "Sorting");
|
|
187
|
+
i0.ɵɵelementEnd();
|
|
188
|
+
} }
|
|
189
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
133
190
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
134
|
-
i0.ɵɵelementStart(0, "div")(1, "kendo-dropdownlist",
|
|
135
|
-
i0.ɵɵlistener("valueChange", function
|
|
136
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
191
|
+
i0.ɵɵelementStart(0, "div")(1, "kendo-dropdownlist", 59);
|
|
192
|
+
i0.ɵɵlistener("valueChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template_kendo_dropdownlist_valueChange_1_listener($event) { const s_r13 = i0.ɵɵrestoreView(_r12).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.sortColumnValueChange(s_r13, $event)); });
|
|
193
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { const s_r13 = i0.ɵɵrestoreView(_r12).$implicit; i0.ɵɵtwoWayBindingSet(s_r13.field, $event) || (s_r13.field = $event); return i0.ɵɵresetView($event); });
|
|
137
194
|
i0.ɵɵelementEnd();
|
|
138
|
-
i0.ɵɵelementStart(2, "kendo-dropdownlist",
|
|
139
|
-
i0.ɵɵlistener("valueChange", function
|
|
140
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
195
|
+
i0.ɵɵelementStart(2, "kendo-dropdownlist", 60);
|
|
196
|
+
i0.ɵɵlistener("valueChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template_kendo_dropdownlist_valueChange_2_listener($event) { const s_r13 = i0.ɵɵrestoreView(_r12).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.sortDirectionValueChange(s_r13, $event)); });
|
|
197
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { const s_r13 = i0.ɵɵrestoreView(_r12).$implicit; i0.ɵɵtwoWayBindingSet(s_r13.direction, $event) || (s_r13.direction = $event); return i0.ɵɵresetView($event); });
|
|
141
198
|
i0.ɵɵelementEnd();
|
|
142
|
-
i0.ɵɵelementStart(3, "button",
|
|
143
|
-
i0.ɵɵlistener("click", function
|
|
144
|
-
i0.ɵɵelement(4, "span",
|
|
199
|
+
i0.ɵɵelementStart(3, "button", 56);
|
|
200
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template_button_click_3_listener() { const s_r13 = i0.ɵɵrestoreView(_r12).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeSort(s_r13)); });
|
|
201
|
+
i0.ɵɵelement(4, "span", 61);
|
|
145
202
|
i0.ɵɵtext(5, " Remove ");
|
|
146
203
|
i0.ɵɵelementEnd()();
|
|
147
204
|
} if (rf & 2) {
|
|
@@ -150,83 +207,126 @@ function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_div_4_T
|
|
|
150
207
|
i0.ɵɵadvance();
|
|
151
208
|
i0.ɵɵproperty("data", ctx_r1.sortFields);
|
|
152
209
|
i0.ɵɵtwoWayProperty("ngModel", s_r13.field);
|
|
210
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
153
211
|
i0.ɵɵadvance();
|
|
154
212
|
i0.ɵɵproperty("data", ctx_r1.sortDirections);
|
|
155
213
|
i0.ɵɵtwoWayProperty("ngModel", s_r13.direction);
|
|
214
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
215
|
+
i0.ɵɵadvance();
|
|
216
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
156
217
|
} }
|
|
157
|
-
function
|
|
218
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
158
219
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
159
|
-
i0.ɵɵelementStart(0, "div",
|
|
160
|
-
i0.ɵɵlistener("click", function
|
|
161
|
-
i0.ɵɵelement(2, "span",
|
|
220
|
+
i0.ɵɵelementStart(0, "div", 55)(1, "button", 56);
|
|
221
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.addSort()); });
|
|
222
|
+
i0.ɵɵelement(2, "span", 57);
|
|
162
223
|
i0.ɵɵtext(3, " Add ");
|
|
163
224
|
i0.ɵɵelementEnd()();
|
|
164
|
-
i0.ɵɵtemplate(4,
|
|
225
|
+
i0.ɵɵtemplate(4, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_div_4_Template, 6, 7, "div", 58);
|
|
165
226
|
} if (rf & 2) {
|
|
166
227
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
167
|
-
i0.ɵɵadvance(
|
|
228
|
+
i0.ɵɵadvance();
|
|
229
|
+
i0.ɵɵproperty("disabled", !ctx_r1.UserCanEdit);
|
|
230
|
+
i0.ɵɵadvance(3);
|
|
168
231
|
i0.ɵɵproperty("ngForOf", ctx_r1.sortState);
|
|
169
232
|
} }
|
|
170
|
-
function
|
|
233
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_19_Template(rf, ctx) { if (rf & 1) {
|
|
234
|
+
i0.ɵɵelement(0, "span", 62);
|
|
235
|
+
i0.ɵɵelementStart(1, "span");
|
|
236
|
+
i0.ɵɵtext(2, "Sharing");
|
|
237
|
+
i0.ɵɵelementEnd();
|
|
238
|
+
} }
|
|
239
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_20_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
240
|
+
i0.ɵɵelement(0, "div", 41);
|
|
241
|
+
} }
|
|
242
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_ng_template_20_Template(rf, ctx) { if (rf & 1) {
|
|
243
|
+
i0.ɵɵelement(0, "mj-resource-permissions", 63, 5);
|
|
244
|
+
i0.ɵɵtemplate(2, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_20_div_2_Template, 1, 0, "div", 36);
|
|
245
|
+
} if (rf & 2) {
|
|
246
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
247
|
+
i0.ɵɵproperty("ResourceTypeID", ctx_r1.ViewResourceTypeID)("ResourceRecordID", ctx_r1.ViewID);
|
|
248
|
+
i0.ɵɵadvance(2);
|
|
249
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.UserCanEdit);
|
|
250
|
+
} }
|
|
251
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
252
|
+
i0.ɵɵelement(0, "span", 64);
|
|
253
|
+
i0.ɵɵelementStart(1, "span");
|
|
254
|
+
i0.ɵɵtext(2, "Advanced");
|
|
255
|
+
i0.ɵɵelementEnd();
|
|
256
|
+
} }
|
|
257
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
171
258
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
172
|
-
i0.ɵɵelementStart(0, "kendo-textarea",
|
|
173
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
259
|
+
i0.ɵɵelementStart(0, "kendo-textarea", 66);
|
|
260
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_0_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r1.record.SmartFilterExplanation, $event) || (ctx_r1.record.SmartFilterExplanation = $event); return i0.ɵɵresetView($event); });
|
|
174
261
|
i0.ɵɵelementEnd();
|
|
175
|
-
i0.ɵɵelementStart(1, "kendo-textarea",
|
|
176
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
262
|
+
i0.ɵɵelementStart(1, "kendo-textarea", 66);
|
|
263
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_0_Template_kendo_textarea_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r1.record.SmartFilterWhereClause, $event) || (ctx_r1.record.SmartFilterWhereClause = $event); return i0.ɵɵresetView($event); });
|
|
177
264
|
i0.ɵɵelementEnd();
|
|
178
265
|
} if (rf & 2) {
|
|
179
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
266
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
180
267
|
i0.ɵɵproperty("readonly", true)("rows", 5);
|
|
181
268
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.SmartFilterExplanation);
|
|
182
269
|
i0.ɵɵadvance();
|
|
183
270
|
i0.ɵɵproperty("readonly", true)("rows", 5);
|
|
184
271
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.SmartFilterWhereClause);
|
|
185
272
|
} }
|
|
186
|
-
function
|
|
273
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
187
274
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
188
|
-
i0.ɵɵelementStart(0, "kendo-textarea",
|
|
189
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
275
|
+
i0.ɵɵelementStart(0, "kendo-textarea", 66);
|
|
276
|
+
i0.ɵɵtwoWayListener("ngModelChange", function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_1_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(4); i0.ɵɵtwoWayBindingSet(ctx_r1.record.WhereClause, $event) || (ctx_r1.record.WhereClause = $event); return i0.ɵɵresetView($event); });
|
|
190
277
|
i0.ɵɵelementEnd();
|
|
191
278
|
} if (rf & 2) {
|
|
192
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
279
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
193
280
|
i0.ɵɵproperty("readonly", true)("rows", 7);
|
|
194
281
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.WhereClause);
|
|
195
282
|
} }
|
|
196
|
-
function
|
|
197
|
-
i0.ɵɵtemplate(0,
|
|
283
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
284
|
+
i0.ɵɵtemplate(0, UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_0_Template, 2, 6)(1, UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Conditional_1_Template, 1, 3, "kendo-textarea", 65);
|
|
198
285
|
} if (rf & 2) {
|
|
199
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
286
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
200
287
|
i0.ɵɵconditional(ctx_r1.record.SmartFilterEnabled ? 0 : 1);
|
|
201
288
|
} }
|
|
289
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_Template(rf, ctx) { if (rf & 1) {
|
|
290
|
+
i0.ɵɵelementStart(0, "kendo-tabstrip-tab");
|
|
291
|
+
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_1_Template, 3, 0, "ng-template", 19)(2, UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_ng_template_2_Template, 2, 1, "ng-template", 17);
|
|
292
|
+
i0.ɵɵelementEnd();
|
|
293
|
+
} }
|
|
294
|
+
function UserViewPropertiesDialogComponent_kendo_window_5_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
295
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
296
|
+
i0.ɵɵelementStart(0, "button", 67);
|
|
297
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_Conditional_23_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.saveProperties()); });
|
|
298
|
+
i0.ɵɵelement(1, "span", 68);
|
|
299
|
+
i0.ɵɵtext(2, " Save ");
|
|
300
|
+
i0.ɵɵelementEnd();
|
|
301
|
+
} }
|
|
202
302
|
function UserViewPropertiesDialogComponent_kendo_window_5_Template(rf, ctx) { if (rf & 1) {
|
|
203
303
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
204
|
-
i0.ɵɵelementStart(0, "kendo-window",
|
|
304
|
+
i0.ɵɵelementStart(0, "kendo-window", 12);
|
|
205
305
|
i0.ɵɵlistener("close", function UserViewPropertiesDialogComponent_kendo_window_5_Template_kendo_window_close_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closePropertiesDialog()); })("resizeEnd", function UserViewPropertiesDialogComponent_kendo_window_5_Template_kendo_window_resizeEnd_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ResizeTab()); })("heightChange", function UserViewPropertiesDialogComponent_kendo_window_5_Template_kendo_window_heightChange_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ResizeTab()); })("widthChange", function UserViewPropertiesDialogComponent_kendo_window_5_Template_kendo_window_widthChange_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ResizeTab()); });
|
|
206
|
-
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_kendo_window_5_kendo_loader_1_Template, 1, 0, "kendo-loader",
|
|
207
|
-
i0.ɵɵelementStart(2, "div",
|
|
208
|
-
i0.ɵɵtemplate(7, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_7_Template, 8,
|
|
306
|
+
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_kendo_window_5_kendo_loader_1_Template, 1, 0, "kendo-loader", 13);
|
|
307
|
+
i0.ɵɵelementStart(2, "div", 14, 1)(4, "div")(5, "kendo-tabstrip", 15)(6, "kendo-tabstrip-tab", 16);
|
|
308
|
+
i0.ɵɵtemplate(7, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_7_Template, 8, 4, "ng-template", 17);
|
|
209
309
|
i0.ɵɵelementEnd();
|
|
210
|
-
i0.ɵɵelementStart(8, "kendo-tabstrip-tab",
|
|
211
|
-
i0.ɵɵtemplate(9, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_9_Template,
|
|
310
|
+
i0.ɵɵelementStart(8, "kendo-tabstrip-tab", 18);
|
|
311
|
+
i0.ɵɵtemplate(9, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_9_Template, 3, 0, "ng-template", 19)(10, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_10_Template, 3, 3, "ng-template", 17);
|
|
212
312
|
i0.ɵɵelementEnd();
|
|
213
|
-
i0.ɵɵelementStart(
|
|
214
|
-
i0.ɵɵtemplate(
|
|
313
|
+
i0.ɵɵelementStart(11, "kendo-tabstrip-tab");
|
|
314
|
+
i0.ɵɵtemplate(12, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_12_Template, 3, 0, "ng-template", 19)(13, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_13_Template, 5, 4, "ng-template", 17);
|
|
215
315
|
i0.ɵɵelementEnd();
|
|
216
|
-
i0.ɵɵelementStart(
|
|
217
|
-
i0.ɵɵtemplate(
|
|
316
|
+
i0.ɵɵelementStart(14, "kendo-tabstrip-tab", 20);
|
|
317
|
+
i0.ɵɵtemplate(15, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_15_Template, 3, 0, "ng-template", 19)(16, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_16_Template, 5, 2, "ng-template", 17);
|
|
218
318
|
i0.ɵɵelementEnd();
|
|
219
|
-
i0.ɵɵelementStart(
|
|
220
|
-
i0.ɵɵ
|
|
221
|
-
i0.ɵɵ
|
|
222
|
-
i0.ɵɵelementStart(16, "div", 19)(17, "button", 20);
|
|
223
|
-
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveProperties()); });
|
|
224
|
-
i0.ɵɵelement(18, "span", 21);
|
|
225
|
-
i0.ɵɵtext(19, " Save ");
|
|
319
|
+
i0.ɵɵelementStart(17, "kendo-tabstrip-tab");
|
|
320
|
+
i0.ɵɵelement(18, "i", 21);
|
|
321
|
+
i0.ɵɵtemplate(19, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_19_Template, 3, 0, "ng-template", 19)(20, UserViewPropertiesDialogComponent_kendo_window_5_ng_template_20_Template, 3, 3, "ng-template", 17);
|
|
226
322
|
i0.ɵɵelementEnd();
|
|
227
|
-
i0.ɵɵ
|
|
228
|
-
i0.ɵɵ
|
|
229
|
-
i0.ɵɵ
|
|
323
|
+
i0.ɵɵtemplate(21, UserViewPropertiesDialogComponent_kendo_window_5_kendo_tabstrip_tab_21_Template, 3, 0, "kendo-tabstrip-tab", 22);
|
|
324
|
+
i0.ɵɵelementEnd();
|
|
325
|
+
i0.ɵɵelementStart(22, "div", 23);
|
|
326
|
+
i0.ɵɵtemplate(23, UserViewPropertiesDialogComponent_kendo_window_5_Conditional_23_Template, 3, 0, "button", 24);
|
|
327
|
+
i0.ɵɵelementStart(24, "button", 25);
|
|
328
|
+
i0.ɵɵlistener("click", function UserViewPropertiesDialogComponent_kendo_window_5_Template_button_click_24_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closePropertiesDialog()); });
|
|
329
|
+
i0.ɵɵtext(25, "Cancel");
|
|
230
330
|
i0.ɵɵelementEnd()()()()();
|
|
231
331
|
} if (rf & 2) {
|
|
232
332
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -239,8 +339,21 @@ function UserViewPropertiesDialogComponent_kendo_window_5_Template(rf, ctx) { if
|
|
|
239
339
|
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r1.TabHeight);
|
|
240
340
|
i0.ɵɵadvance();
|
|
241
341
|
i0.ɵɵproperty("selected", true);
|
|
342
|
+
i0.ɵɵadvance(15);
|
|
343
|
+
i0.ɵɵproperty("ngIf", ctx_r1.ViewID && ctx_r1.ViewID.length > 0);
|
|
344
|
+
i0.ɵɵadvance(2);
|
|
345
|
+
i0.ɵɵconditional(ctx_r1.UserCanEdit ? 23 : -1);
|
|
242
346
|
} }
|
|
243
347
|
export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
348
|
+
/**
|
|
349
|
+
* This property determines if the current user can save the current view, or not.
|
|
350
|
+
*/
|
|
351
|
+
get UserCanEdit() {
|
|
352
|
+
if (this._userCanEdit === undefined) {
|
|
353
|
+
this._userCanEdit = this.record.UserCanEdit; // cache the value
|
|
354
|
+
}
|
|
355
|
+
return this._userCanEdit;
|
|
356
|
+
}
|
|
244
357
|
constructor(route, elRef, ss, formBuilder, router, renderer, cdr) {
|
|
245
358
|
super(elRef, ss, router, route, cdr);
|
|
246
359
|
this.route = route;
|
|
@@ -250,6 +363,10 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
250
363
|
this.router = router;
|
|
251
364
|
this.renderer = renderer;
|
|
252
365
|
this.cdr = cdr;
|
|
366
|
+
/**
|
|
367
|
+
* View Category ID, optional
|
|
368
|
+
*/
|
|
369
|
+
this.CategoryID = null;
|
|
253
370
|
this.ShowPropertiesButton = true;
|
|
254
371
|
this.dialogClosed = new EventEmitter();
|
|
255
372
|
this.isDialogOpened = false;
|
|
@@ -258,6 +375,7 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
258
375
|
this.localGridState = {};
|
|
259
376
|
this.localFilterState = {};
|
|
260
377
|
this.defaultFilterState = {};
|
|
378
|
+
this._userCanEdit = undefined;
|
|
261
379
|
this.usedFields = new Set(); // Track used fields
|
|
262
380
|
this.sortFields = [];
|
|
263
381
|
this.sortState = [];
|
|
@@ -285,18 +403,85 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
285
403
|
this.BottomMargin = 75;
|
|
286
404
|
}
|
|
287
405
|
onKeyPress(event) {
|
|
288
|
-
|
|
406
|
+
const activeElement = document.activeElement;
|
|
407
|
+
if (event.key === 'Enter' && activeElement.tagName !== 'TEXTAREA') {
|
|
289
408
|
this.saveProperties();
|
|
290
409
|
}
|
|
291
410
|
}
|
|
411
|
+
onFindRecordDialogClosed(event) {
|
|
412
|
+
if (this.findRecordDialog.SelectedRecord) {
|
|
413
|
+
// a record was selected, so insert the text into the smart filter prompt
|
|
414
|
+
const selectedRecord = this.findRecordDialog.SelectedRecord;
|
|
415
|
+
let text = '';
|
|
416
|
+
if (this.findRecordDialog.EntityName === 'User Views') {
|
|
417
|
+
const record = selectedRecord;
|
|
418
|
+
text = `View(Name: "${record.Name}", ID: "${record.ID}")`;
|
|
419
|
+
}
|
|
420
|
+
else if (this.findRecordDialog.EntityName === 'Lists') {
|
|
421
|
+
const record = selectedRecord;
|
|
422
|
+
text = `List(Name: "${record.Name}", ID: "${record.ID}")`;
|
|
423
|
+
}
|
|
424
|
+
else {
|
|
425
|
+
const error = `Unknown entity name ${this.findRecordDialog.EntityName}`;
|
|
426
|
+
LogError(error);
|
|
427
|
+
throw new Error(error);
|
|
428
|
+
}
|
|
429
|
+
this.smartFilterPrompt_insertText(text);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
smartFilterPrompt_insertViewReference() {
|
|
433
|
+
this.showFindRecordDialog('User Views', ['ID', 'Name', 'Entity', 'UserName']);
|
|
434
|
+
}
|
|
435
|
+
smartFilterPrompt_insertListReference() {
|
|
436
|
+
this.showFindRecordDialog('Lists', ['ID', 'Name', 'Entity', 'User']);
|
|
437
|
+
}
|
|
438
|
+
showFindRecordDialog(entityName, fields = []) {
|
|
439
|
+
const md = new Metadata();
|
|
440
|
+
const entity = md.EntityByName(entityName);
|
|
441
|
+
this.findRecordDialog.EntityName = entityName;
|
|
442
|
+
this.findRecordDialog.DisplayFields = entity.Fields.filter((f) => fields.includes(f.Name));
|
|
443
|
+
this.findRecordDialog.DialogVisible = true;
|
|
444
|
+
}
|
|
445
|
+
// Method to insert text at the current cursor position
|
|
446
|
+
smartFilterPrompt_insertText(text) {
|
|
447
|
+
const textareaElement = this.smartFilterTextArea.input.nativeElement;
|
|
448
|
+
const cursorPosition = textareaElement.selectionStart;
|
|
449
|
+
const selectionEnd = textareaElement.selectionEnd;
|
|
450
|
+
const currentValue = this.record.SmartFilterPrompt ? this.record.SmartFilterPrompt : '';
|
|
451
|
+
// Insert the new text at the cursor position
|
|
452
|
+
this.record.SmartFilterPrompt = [
|
|
453
|
+
currentValue.slice(0, cursorPosition),
|
|
454
|
+
text,
|
|
455
|
+
currentValue.slice(selectionEnd)
|
|
456
|
+
].join('');
|
|
457
|
+
// Update the value in the TextArea
|
|
458
|
+
textareaElement.value = this.record.SmartFilterPrompt;
|
|
459
|
+
// Set cursor position after the inserted text
|
|
460
|
+
const newCursorPosition = cursorPosition + text.length;
|
|
461
|
+
textareaElement.setSelectionRange(newCursorPosition, newCursorPosition);
|
|
462
|
+
textareaElement.focus();
|
|
463
|
+
}
|
|
292
464
|
GetTabTopPosition() {
|
|
293
465
|
return 50; // for this dialog, we don't want to offset the tab position related to where it is on the page, this is relative to top of dialog
|
|
294
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Displays a dialog to create a new view
|
|
469
|
+
* @param entityName
|
|
470
|
+
*/
|
|
295
471
|
CreateView(entityName) {
|
|
296
472
|
this.EntityName = entityName;
|
|
297
473
|
this.ViewID = undefined;
|
|
298
474
|
this.Open();
|
|
299
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* Displays a dialog to create a new view, if the user saves the view, it will be created in the specified category
|
|
478
|
+
* @param entityName
|
|
479
|
+
* @param viewCategoryID
|
|
480
|
+
*/
|
|
481
|
+
CreateViewInCategory(entityName, viewCategoryID) {
|
|
482
|
+
this.CategoryID = viewCategoryID;
|
|
483
|
+
return this.CreateView(entityName);
|
|
484
|
+
}
|
|
300
485
|
Open() {
|
|
301
486
|
return __awaiter(this, arguments, void 0, function* (ViewID = this.ViewID) {
|
|
302
487
|
this.ViewID = ViewID;
|
|
@@ -307,8 +492,15 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
307
492
|
}
|
|
308
493
|
Load() {
|
|
309
494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
yield ResourcePermissionEngine.Instance.Config(); // make sure our permissions engine is loaded, this will do nothing if it's already loaded
|
|
496
|
+
this._userCanEdit = undefined; // reset this so it recalculates on the next call to UserCanEdit
|
|
310
497
|
const md = new Metadata();
|
|
311
498
|
this.record = (yield md.GetEntityObject('User Views'));
|
|
499
|
+
// load up the ResourceType ID for User Views
|
|
500
|
+
const rt = this.sharedService.ResourceTypeByName("User Views");
|
|
501
|
+
if (rt) {
|
|
502
|
+
this.ViewResourceTypeID = rt.ID;
|
|
503
|
+
}
|
|
312
504
|
if (this.ViewID) {
|
|
313
505
|
// load the view
|
|
314
506
|
yield this.record.Load(this.ViewID);
|
|
@@ -468,7 +660,10 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
468
660
|
if (valResults.Success === false) {
|
|
469
661
|
this.showloader = false;
|
|
470
662
|
this.sharedService.CreateSimpleNotification('Validation Errors: ' + valResults.Errors.map((e) => e.Message).join('\n'), 'warning', 7500);
|
|
663
|
+
return;
|
|
471
664
|
}
|
|
665
|
+
// make sure the view category is set into the record if provided
|
|
666
|
+
this.record.CategoryID = this.CategoryID;
|
|
472
667
|
let saveResult = yield this.record.Save();
|
|
473
668
|
if (!saveResult) {
|
|
474
669
|
// it failed, so don't close the dialog
|
|
@@ -476,6 +671,13 @@ export class UserViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
476
671
|
this.sharedService.CreateSimpleNotification('Saving the view failed, please try again and if this persists contact your administrator.', 'error', 5000);
|
|
477
672
|
LogError(this.record.LatestResult);
|
|
478
673
|
}
|
|
674
|
+
else {
|
|
675
|
+
// it saved, no save sharing
|
|
676
|
+
if (this.resourcePermissions.ResourceRecordID !== this.record.ID) { // update the resource record id
|
|
677
|
+
yield this.resourcePermissions.UpdateResourceRecordID(this.record.ID);
|
|
678
|
+
}
|
|
679
|
+
yield this.resourcePermissions.SavePermissions();
|
|
680
|
+
}
|
|
479
681
|
// stop showing the loader and close the dialog if we saved successfully
|
|
480
682
|
this.isDialogOpened = false;
|
|
481
683
|
this.showloader = false;
|
|
@@ -578,18 +780,24 @@ UserViewPropertiesDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
578
780
|
i0.ɵɵviewQuery(_c0, 5);
|
|
579
781
|
i0.ɵɵviewQuery(_c1, 5);
|
|
580
782
|
i0.ɵɵviewQuery(_c2, 5);
|
|
783
|
+
i0.ɵɵviewQuery(_c3, 5);
|
|
784
|
+
i0.ɵɵviewQuery(_c4, 5);
|
|
785
|
+
i0.ɵɵviewQuery(_c5, 5);
|
|
581
786
|
} if (rf & 2) {
|
|
582
787
|
let _t;
|
|
583
788
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoWindow = _t.first);
|
|
584
789
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoTab = _t.first);
|
|
585
790
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nameField = _t.first);
|
|
791
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.smartFilterTextArea = _t.first);
|
|
586
792
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialogContainer = _t.first);
|
|
587
793
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.outerDialogContainer = _t.first);
|
|
588
|
-
|
|
794
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.findRecordDialog = _t.first);
|
|
795
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.resourcePermissions = _t.first);
|
|
796
|
+
} }, inputs: { ViewID: "ViewID", EntityName: "EntityName", CategoryID: "CategoryID", ShowPropertiesButton: "ShowPropertiesButton" }, outputs: { dialogClosed: "dialogClosed" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 3, consts: [["outerDialogContainer", ""], ["dialogContainer", ""], ["nameField", ""], ["findRecordDialog", ""], ["smartFilterTextArea", ""], ["resourcePermissions", ""], ["kendoButton", "", "themeColor", "info", "class", "view-properties-button", 3, "click", 4, "ngIf"], ["class", "k-overlay", 4, "ngIf"], ["title", "View Properties", 3, "minHeight", "minWidth", "top", "left", "width", "height", "resizable", "close", "resizeEnd", "heightChange", "widthChange", 4, "ngIf"], ["kendoButton", "", "themeColor", "info", 1, "view-properties-button", 3, "click"], [1, "fa-solid", "fa-gear"], [1, "k-overlay"], ["title", "View Properties", 3, "close", "resizeEnd", "heightChange", "widthChange", "minHeight", "minWidth", "top", "left", "width", "height", "resizable"], ["type", "converging-spinner", 4, "ngIf"], [1, "k-d-flex", "k-flex-col", "k-justify-content-between", "k-h-full"], [3, "keepTabContent", "animate", "height"], ["title", "General", 3, "selected"], ["kendoTabContent", ""], ["title", "Fields"], ["kendoTabTitle", ""], ["title", "Sorting"], [1, "fa-solid", "fa-arrow-up-wide-short"], [4, "ngIf"], [1, "k-actions", "k-actions-end", "customBtn", "popup-actions"], ["kendoButton", "", "themeColor", "info"], ["fillMode", "outline", "themeColor", "info", "kendoButton", "", 3, "click"], ["type", "converging-spinner"], [1, "view-prop-tab-contents"], [1, "form-group"], ["text", "Name", 1, "k-form-label"], [1, "view-name", 3, "ngModelChange", "ngModel", "disabled"], [1, "form-group", "form-group-description"], ["text", "Description", 1, "k-form-label"], [1, "k-input", "k-input-solid", "view-description", 3, "ngModelChange", "ngModel", "disabled"], [1, "fa-solid", "fa-table-columns", "tab-header-icon"], ["itemClass", "item", "activeItemClass", "item active", 3, "dragEnd", "kendoSortableBinding", "animation"], ["class", "overlay", 4, "ngIf"], [1, "item-content"], [3, "change", "checkedState"], [1, "k-checkbox-label", 3, "for", "text"], [1, "fa-solid", "fa-bars-staggered"], [1, "overlay"], [1, "fa-solid", "fa-filter", "tab-header-icon"], [1, "smart-filter-container"], ["text", "Smart Filter", 1, "smart-filter-label"], [3, "ngModelChange", "ngModel", "disabled"], ["class", "smart-filter-prompt", "mjFillContainer", "", 3, "fillHeight", 4, "ngIf"], ["mjFillContainer", "", 1, "smart-filter-prompt", 3, "fillHeight"], [3, "RecordSelected", "DialogClosed"], ["kendoButton", "", 1, "smart-filter-button", 3, "click", "disabled"], [1, "fa-solid", "fa-table", "tab-icon"], [1, "fa-list", "fa-solid"], ["placeholder", "Describe how you would like the data filtered and our AI will do the rest.", "resizable", "vertical", 3, "ngModelChange", "rows", "ngModel", "disabled"], [3, "valueChange", "filters", "value", "disabled"], [1, "fa-solid", "fa-arrow-up-wide-short", "tab-header-icon"], [1, "sort-header"], ["kendoButton", "", 3, "click", "disabled"], [1, "fa-solid", "fa-plus"], [4, "ngFor", "ngForOf"], ["textField", "Name", "valueField", "Name", 1, "sort-column", 3, "valueChange", "ngModelChange", "data", "ngModel", "disabled"], ["textField", "Name", "valueField", "Value", 1, "sort-direction", 3, "valueChange", "ngModelChange", "data", "ngModel", "disabled"], [1, "fa-solid", "fa-xmark"], [1, "fa-solid", "fa-share-from-square", "tab-header-icon"], [3, "ResourceTypeID", "ResourceRecordID"], [1, "fa-solid", "fa-gear", "tab-header-icon"], ["resizable", "vertical", 1, "advanced-tab-details", 3, "readonly", "rows", "ngModel"], ["resizable", "vertical", 1, "advanced-tab-details", 3, "ngModelChange", "readonly", "rows", "ngModel"], ["kendoButton", "", "themeColor", "info", 3, "click"], [1, "fa-solid", "fa-circle-check"]], template: function UserViewPropertiesDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
589
797
|
i0.ɵɵelementStart(0, "div");
|
|
590
|
-
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_button_1_Template, 3, 0, "button",
|
|
798
|
+
i0.ɵɵtemplate(1, UserViewPropertiesDialogComponent_button_1_Template, 3, 0, "button", 6);
|
|
591
799
|
i0.ɵɵelementStart(2, "div", null, 0);
|
|
592
|
-
i0.ɵɵtemplate(4, UserViewPropertiesDialogComponent_div_4_Template, 1, 0, "div",
|
|
800
|
+
i0.ɵɵtemplate(4, UserViewPropertiesDialogComponent_div_4_Template, 1, 0, "div", 7)(5, UserViewPropertiesDialogComponent_kendo_window_5_Template, 26, 16, "kendo-window", 8);
|
|
593
801
|
i0.ɵɵelementEnd()();
|
|
594
802
|
} if (rf & 2) {
|
|
595
803
|
i0.ɵɵadvance();
|
|
@@ -598,14 +806,16 @@ UserViewPropertiesDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
598
806
|
i0.ɵɵproperty("ngIf", ctx.isDialogOpened);
|
|
599
807
|
i0.ɵɵadvance();
|
|
600
808
|
i0.ɵɵproperty("ngIf", ctx.isDialogOpened);
|
|
601
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i5.TextAreaComponent, i5.TextBoxComponent, i5.SwitchComponent, i5.CheckBoxComponent, i6.LabelComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i7.ButtonComponent, i8.WindowComponent, i9.TabStripComponent, i9.TabStripTabComponent, i9.TabContentDirective, i10.SortableComponent, i10.SortableBindingDirective, i11.FilterComponent, i12.DropDownListComponent], styles: [".view-properties-button[_ngcontent-%COMP%] {\n margin-left: 0px;\n }\n .view-prop-tab-contents[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%; \n\n }\n \n .form-group[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n margin-bottom: 10px;\n }\n \n .form-group-description[_ngcontent-%COMP%] {\n flex-grow: 1;\n }\n \n .k-form-label[_ngcontent-%COMP%] {\n width: 150px; \n\n margin-right: 10px;\n }\n \n .view-description[_ngcontent-%COMP%] {\n flex-grow: 1;\n height: 100%;\n padding: 5px;\n resize: none;\n }\n \n \n \n .item-content[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n \n .popup-content[_ngcontent-%COMP%] {\n height: calc(100% - 46px);\n }\n \n .popup-actions[_ngcontent-%COMP%] {\n padding: 16px 0 0;\n }\n \n .view-prop-tab-contents[_ngcontent-%COMP%] {\n overflow: hidden;\n }\n \n .sort-column[_ngcontent-%COMP%] {\n width: 300px;\n }\n \n .sort-direction[_ngcontent-%COMP%] {\n width: 125px;\n }\n \n .sort-header[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-bottom: 5px;\n width: 75px;\n }\n \n .smart-filter-label[_ngcontent-%COMP%] {\n margin-right: 10px;\n }\n \n .smart-filter-prompt[_ngcontent-%COMP%] {\n margin-top: 15px;\n }\n \n .advanced-tab-details[_ngcontent-%COMP%]\n {\n margin-bottom: 10px;\n }\n .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n }\n .popup-content .k-tabstrip-items-wrapper {\n background: var(--white-color) !important;\n padding-left: 0 !important;\n }\n .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item.k-active {\n border-bottom: 3px solid var(--border-blue) !important;\n }\n .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item {\n background: var(--white-color) !important;\n border-right: 0 !important;\n }\n\n.k-checkbox[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-switch-on[_ngcontent-%COMP%] .k-switch-track[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-selected[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}"] });
|
|
809
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i5.TextAreaComponent, i5.TextBoxComponent, i5.SwitchComponent, i5.CheckBoxComponent, i6.LabelComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i7.ButtonComponent, i8.WindowComponent, i9.TabStripComponent, i9.TabStripTabComponent, i9.TabContentDirective, i9.TabTitleDirective, i10.SortableComponent, i10.SortableBindingDirective, i11.FilterComponent, i12.DropDownListComponent, i13.FindRecordDialogComponent, i14.ResourcePermissionsComponent], styles: [".view-properties-button[_ngcontent-%COMP%] {\n margin-left: 0px;\n }\n .view-prop-tab-contents[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%; \n\n }\n \n .form-group[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n margin-bottom: 10px;\n }\n \n .form-group-description[_ngcontent-%COMP%] {\n flex-grow: 1;\n }\n \n .k-form-label[_ngcontent-%COMP%] {\n width: 150px; \n\n margin-right: 10px;\n }\n \n .view-description[_ngcontent-%COMP%] {\n flex-grow: 1;\n height: 100%;\n padding: 5px;\n resize: none;\n }\n \n \n \n .item-content[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n \n .popup-content[_ngcontent-%COMP%] {\n height: calc(100% - 46px);\n }\n \n .popup-actions[_ngcontent-%COMP%] {\n padding: 16px 0 0;\n }\n \n .view-prop-tab-contents[_ngcontent-%COMP%] {\n overflow: hidden;\n }\n \n .sort-column[_ngcontent-%COMP%] {\n width: 300px;\n }\n \n .sort-direction[_ngcontent-%COMP%] {\n width: 125px;\n }\n \n .sort-header[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-bottom: 5px;\n width: 75px;\n }\n \n .smart-filter-label[_ngcontent-%COMP%] {\n margin-right: 10px;\n }\n \n .smart-filter-prompt[_ngcontent-%COMP%] {\n margin-top: 15px;\n }\n\n .smart-filter-button[_ngcontent-%COMP%] {\n margin-right: 5px;\n margin-bottom: 5px;\n }\n\n .tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n }\n \n .advanced-tab-details[_ngcontent-%COMP%]\n {\n margin-bottom: 10px;\n }\n .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n }\n .popup-content .k-tabstrip-items-wrapper {\n background: var(--white-color) !important;\n padding-left: 0 !important;\n }\n .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item.k-active {\n border-bottom: 3px solid var(--border-blue) !important;\n }\n .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item {\n background: var(--white-color) !important;\n border-right: 0 !important;\n }\n\n.k-checkbox[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-switch-on[_ngcontent-%COMP%] .k-switch-track[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-selected[_ngcontent-%COMP%] {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.filter-wrapper[_ngcontent-%COMP%] {\n position: relative;\n display: inline-block;\n}\n\n.overlay[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.5); \n\n z-index: 1; \n\n pointer-events: all; \n\n cursor: not-allowed; \n\n}"] });
|
|
602
810
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewPropertiesDialogComponent, [{
|
|
603
811
|
type: Component,
|
|
604
|
-
args: [{ selector: 'mj-user-view-properties-dialog', template: "<div>\n <button *ngIf=\"ShowPropertiesButton\"\n kendoButton\n themeColor=\"info\"\n (click)=\"this.Open()\"\n class=\"view-properties-button\"\n >\n <span class=\"fa-solid fa-gear\"></span>\n Properties\n </button>\n <div #outerDialogContainer>\n <div class=\"k-overlay\" *ngIf=\"isDialogOpened\"></div>\n <kendo-window\n [minHeight]=\"300\"\n [minWidth]=\"800\"\n [top]=\"100\"\n [left]=\"100\"\n [width]=\"668\"\n [height]=\"525\"\n [resizable]=\"true\"\n title=\"View Properties\"\n *ngIf=\"isDialogOpened\"\n (close)=\"closePropertiesDialog()\"\n (resizeEnd)=\"this.ResizeTab()\"\n (heightChange)=\"this.ResizeTab()\"\n (widthChange)=\"this.ResizeTab()\"\n >\n <kendo-loader *ngIf=\"showloader\" type=\"converging-spinner\" ></kendo-loader>\n <div class=\"k-d-flex k-flex-col k-justify-content-between k-h-full\" #dialogContainer>\n <div [class]=\"showloader ? 'disabled-div' : ''\">\n <kendo-tabstrip [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n <kendo-tabstrip-tab title=\"General\" [selected]=\"true\">\n <ng-template kendoTabContent>\n <div class=\"view-prop-tab-contents\">\n <div class=\"form-group\">\n <kendo-label class=\"k-form-label\" text=\"Name\"></kendo-label>\n <kendo-textbox #nameField class=\"view-name\" [(ngModel)]=\"record.Name\"></kendo-textbox>\n </div>\n <div class=\"form-group form-group-description\">\n <kendo-label class=\"k-form-label\" text=\"Description\"></kendo-label>\n <textarea class=\"k-input k-input-solid view-description\" [(ngModel)]=\"record.Description\"></textarea>\n </div>\n </div>\n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Fields\">\n <ng-template kendoTabContent>\n \n <kendo-sortable\n [kendoSortableBinding]=\"this.localGridState.columnSettings\"\n [animation]=\"true\"\n itemClass=\"item\"\n activeItemClass=\"item active\"\n (dragEnd)=\"onDragEnd($event)\"\n >\n <ng-template let-col=\"item\">\n <div class=\"item-content\">\n <div>\n <kendo-checkbox\n [checkedState]=\"!col.hidden\"\n (change)=\"toggleColumn(col)\"\n ></kendo-checkbox>\n <kendo-label\n [for]=\"'column_'+col.ID\"\n [text]=\"col.DisplayName ? col.DisplayName : col.Name\"\n class=\"k-checkbox-label\"\n ></kendo-label>\n </div>\n <span class=\"fa-solid fa-bars-staggered\"></span>\n </div>\n </ng-template>\n </kendo-sortable>\n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Filters\">\n <ng-template kendoTabContent>\n <div class=\"smart-filter-container\">\n <kendo-label text=\"Smart Filter\" class=\"smart-filter-label\"></kendo-label>\n <kendo-switch [(ngModel)]=\"record.SmartFilterEnabled\"></kendo-switch>\n </div>\n <div *ngIf=\"record.SmartFilterEnabled\" class=\"smart-filter-prompt\" mjFillContainer [fillHeight]=\"true\">\n <kendo-textarea\n placeholder=\"Describe how you would like the data filtered\"\n [rows]=\"10\"\n [(ngModel)]=\"record.SmartFilterPrompt\"\n resizable=\"vertical\"\n ></kendo-textarea>\n </div>\n <div *ngIf=\"!record.SmartFilterEnabled\">\n <kendo-filter\n [filters]=\"setupFilters()\"\n [value]=\"defaultFilterState\"\n (valueChange)=\"onFilterChange($event)\"\n >\n </kendo-filter>\n </div>\n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Sorting\">\n <ng-template kendoTabContent>\n <div class=\"sort-header\">\n <button kendoButton (click)=\"addSort()\">\n <span class=\"fa-solid fa-plus\"></span>\n Add\n </button>\n </div>\n <div *ngFor=\"let s of this.sortState\"> \n <kendo-dropdownlist \n class=\"sort-column\"\n [data]=\"sortFields\"\n textField=\"Name\"\n valueField=\"Name\"\n (valueChange)=\"sortColumnValueChange(s, $event)\"\n [(ngModel)]=\"s.field\"\n >\n </kendo-dropdownlist>\n <kendo-dropdownlist\n class=\"sort-direction\"\n [data]=\"sortDirections\"\n textField=\"Name\"\n valueField=\"Value\"\n (valueChange)=\"sortDirectionValueChange(s, $event)\"\n [(ngModel)]=\"s.direction\"\n >\n </kendo-dropdownlist>\n <button kendoButton (click)=\"removeSort(s)\">\n <span class=\"fa-solid fa-xmark\"></span>\n Remove\n </button>\n </div> \n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Advanced\">\n <ng-template kendoTabContent>\n @if(record.SmartFilterEnabled) {\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"5\"\n [(ngModel)]=\"record.SmartFilterExplanation\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea>\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"5\"\n [(ngModel)]=\"record.SmartFilterWhereClause\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea> \n }\n @else {\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"7\"\n [(ngModel)]=\"record.WhereClause\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea>\n }\n \n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n \n <div class=\"k-actions k-actions-end customBtn popup-actions\">\n <button kendoButton (click)=\"saveProperties()\" themeColor=\"info\">\n <span class=\"fa-solid fa-circle-check\"></span>\n Save\n </button>\n <button fillMode=\"outline\" themeColor=\"info\" kendoButton (click)=\"closePropertiesDialog()\">Cancel</button>\n </div>\n </div>\n </div>\n </kendo-window>\n </div>\n</div> ", styles: [".view-properties-button {\n margin-left: 0px;\n }\n .view-prop-tab-contents {\n display: flex;\n flex-direction: column;\n height: 100%; /* Set to the height you want */\n }\n \n .form-group {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n margin-bottom: 10px;\n }\n \n .form-group-description {\n flex-grow: 1;\n }\n \n .k-form-label {\n width: 150px; /* Adjust as needed */\n margin-right: 10px;\n }\n \n .view-description {\n flex-grow: 1;\n height: 100%;\n padding: 5px;\n resize: none;\n }\n \n \n \n .item-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n \n .popup-content {\n height: calc(100% - 46px);\n }\n \n .popup-actions {\n padding: 16px 0 0;\n }\n \n .view-prop-tab-contents {\n overflow: hidden;\n }\n \n .sort-column {\n width: 300px;\n }\n \n .sort-direction {\n width: 125px;\n }\n \n .sort-header > button {\n margin-left: 5px;\n margin-bottom: 5px;\n width: 75px;\n }\n \n .smart-filter-label {\n margin-right: 10px;\n }\n \n .smart-filter-prompt {\n margin-top: 15px;\n }\n \n .advanced-tab-details\n {\n margin-bottom: 10px;\n }\n ::ng-deep .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper {\n background: var(--white-color) !important;\n padding-left: 0 !important;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item.k-active {\n border-bottom: 3px solid var(--border-blue) !important;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item {\n background: var(--white-color) !important;\n border-right: 0 !important;\n }\n\n.k-checkbox {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-switch-on .k-switch-track {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-selected {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}"] }]
|
|
812
|
+
args: [{ selector: 'mj-user-view-properties-dialog', template: "<div>\n <button *ngIf=\"ShowPropertiesButton\"\n kendoButton\n themeColor=\"info\"\n (click)=\"this.Open()\"\n class=\"view-properties-button\"\n >\n <span class=\"fa-solid fa-gear\"></span>\n Properties\n </button>\n <div #outerDialogContainer>\n <div class=\"k-overlay\" *ngIf=\"isDialogOpened\"></div>\n <kendo-window\n [minHeight]=\"300\"\n [minWidth]=\"800\"\n [top]=\"100\"\n [left]=\"100\"\n [width]=\"668\"\n [height]=\"525\"\n [resizable]=\"true\"\n title=\"View Properties\"\n *ngIf=\"isDialogOpened\"\n (close)=\"closePropertiesDialog()\"\n (resizeEnd)=\"this.ResizeTab()\"\n (heightChange)=\"this.ResizeTab()\"\n (widthChange)=\"this.ResizeTab()\"\n >\n <kendo-loader *ngIf=\"showloader\" type=\"converging-spinner\" ></kendo-loader>\n <div class=\"k-d-flex k-flex-col k-justify-content-between k-h-full\" #dialogContainer>\n <div [class]=\"showloader ? 'disabled-div' : ''\">\n <kendo-tabstrip [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n <kendo-tabstrip-tab title=\"General\" [selected]=\"true\">\n <ng-template kendoTabContent>\n <div class=\"view-prop-tab-contents\">\n <div class=\"form-group\">\n <kendo-label class=\"k-form-label\" text=\"Name\"></kendo-label>\n <kendo-textbox #nameField class=\"view-name\" [(ngModel)]=\"record.Name\" [disabled]=\"!UserCanEdit\"></kendo-textbox>\n </div>\n <div class=\"form-group form-group-description\">\n <kendo-label class=\"k-form-label\" text=\"Description\"></kendo-label>\n <textarea class=\"k-input k-input-solid view-description\" [(ngModel)]=\"record.Description\" [disabled]=\"!UserCanEdit\"></textarea>\n </div>\n </div>\n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Fields\">\n <ng-template kendoTabTitle>\n <span class=\"fa-solid fa-table-columns tab-header-icon\"></span>\n <span>Fields</span>\n </ng-template>\n <ng-template kendoTabContent>\n <kendo-sortable\n [kendoSortableBinding]=\"this.localGridState.columnSettings\"\n [animation]=\"true\"\n itemClass=\"item\"\n activeItemClass=\"item active\"\n (dragEnd)=\"onDragEnd($event)\"\n >\n <ng-template let-col=\"item\">\n <div class=\"item-content\">\n <div>\n <kendo-checkbox\n [checkedState]=\"!col.hidden\"\n (change)=\"toggleColumn(col)\"\n ></kendo-checkbox>\n <kendo-label\n [for]=\"'column_'+col.ID\"\n [text]=\"col.DisplayName ? col.DisplayName : col.Name\"\n class=\"k-checkbox-label\"\n ></kendo-label>\n </div>\n <span class=\"fa-solid fa-bars-staggered\"></span>\n </div>\n </ng-template>\n </kendo-sortable>\n\n <!-- The overlay div, only visible when UserCanEdit is false -->\n <div *ngIf=\"!UserCanEdit\" class=\"overlay\"></div> \n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab>\n <ng-template kendoTabTitle>\n <span class=\"fa-solid fa-filter tab-header-icon\"></span>\n <span>Filters</span>\n </ng-template>\n <ng-template kendoTabContent>\n <div class=\"smart-filter-container\">\n <kendo-label text=\"Smart Filter\" class=\"smart-filter-label\"></kendo-label>\n <kendo-switch [(ngModel)]=\"record.SmartFilterEnabled\" [disabled]=\"!UserCanEdit\"></kendo-switch>\n </div>\n <div *ngIf=\"record.SmartFilterEnabled\" class=\"smart-filter-prompt\" mjFillContainer [fillHeight]=\"true\">\n <mj-find-record-dialog #findRecordDialog\n (RecordSelected)=\"onFindRecordSelected($event)\"\n (DialogClosed)=\"onFindRecordDialogClosed()\"\n >\n </mj-find-record-dialog>\n <button kendoButton (click)=\"smartFilterPrompt_insertViewReference()\" class=\"smart-filter-button\" [disabled]=\"!UserCanEdit\">\n <span class=\"fa-solid fa-table tab-icon\"></span>\n Reference a View\n </button>\n <button kendoButton (click)=\"smartFilterPrompt_insertListReference()\" class=\"smart-filter-button\" [disabled]=\"!UserCanEdit\">\n <span class=\"fa-list fa-solid\"></span>\n Reference a List\n </button>\n <kendo-textarea\n #smartFilterTextArea\n placeholder=\"Describe how you would like the data filtered and our AI will do the rest.\"\n [rows]=\"12\"\n [(ngModel)]=\"record.SmartFilterPrompt\"\n resizable=\"vertical\"\n [disabled]=\"!UserCanEdit\"\n ></kendo-textarea>\n </div>\n <div *ngIf=\"!record.SmartFilterEnabled\">\n <kendo-filter\n [filters]=\"setupFilters()\"\n [value]=\"defaultFilterState\"\n (valueChange)=\"onFilterChange($event)\"\n [disabled]=\"!UserCanEdit\"\n >\n </kendo-filter>\n <!-- The overlay div, only visible when UserCanEdit is false -->\n <div *ngIf=\"!UserCanEdit\" class=\"overlay\"></div> \n </div>\n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab title=\"Sorting\">\n <ng-template kendoTabTitle>\n <span class=\"fa-solid fa-arrow-up-wide-short tab-header-icon\"></span>\n <span>Sorting</span>\n </ng-template>\n <ng-template kendoTabContent>\n <div class=\"sort-header\">\n <button kendoButton (click)=\"addSort()\" [disabled]=\"!UserCanEdit\">\n <span class=\"fa-solid fa-plus\"></span>\n Add\n </button>\n </div>\n <div *ngFor=\"let s of this.sortState\"> \n <kendo-dropdownlist \n class=\"sort-column\"\n [data]=\"sortFields\"\n textField=\"Name\"\n valueField=\"Name\"\n (valueChange)=\"sortColumnValueChange(s, $event)\"\n [(ngModel)]=\"s.field\"\n [disabled]=\"!UserCanEdit\"\n >\n </kendo-dropdownlist>\n <kendo-dropdownlist\n class=\"sort-direction\"\n [data]=\"sortDirections\"\n textField=\"Name\"\n valueField=\"Value\"\n (valueChange)=\"sortDirectionValueChange(s, $event)\"\n [(ngModel)]=\"s.direction\"\n [disabled]=\"!UserCanEdit\"\n >\n </kendo-dropdownlist>\n <button kendoButton (click)=\"removeSort(s)\" [disabled]=\"!UserCanEdit\">\n <span class=\"fa-solid fa-xmark\"></span>\n Remove\n </button>\n </div> \n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab>\n <i class=\"fa-solid fa-arrow-up-wide-short\"></i>\n <ng-template kendoTabTitle>\n <span class=\"fa-solid fa-share-from-square tab-header-icon\"></span>\n <span>Sharing</span>\n </ng-template>\n <ng-template kendoTabContent>\n <mj-resource-permissions\n #resourcePermissions\n [ResourceTypeID]=\"ViewResourceTypeID\"\n [ResourceRecordID]=\"ViewID\"\n >\n </mj-resource-permissions>\n <!-- The overlay div, only visible when UserCanEdit is false -->\n <div *ngIf=\"!UserCanEdit\" class=\"overlay\"></div> \n </ng-template>\n </kendo-tabstrip-tab>\n <kendo-tabstrip-tab *ngIf=\"ViewID && ViewID.length > 0\">\n <ng-template kendoTabTitle>\n <span class=\"fa-solid fa-gear tab-header-icon\"></span>\n <span>Advanced</span>\n </ng-template>\n <ng-template kendoTabContent>\n @if(record.SmartFilterEnabled) {\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"5\"\n [(ngModel)]=\"record.SmartFilterExplanation\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea>\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"5\"\n [(ngModel)]=\"record.SmartFilterWhereClause\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea> \n }\n @else {\n <kendo-textarea\n [readonly]=\"true\"\n [rows]=\"7\"\n [(ngModel)]=\"record.WhereClause\"\n resizable=\"vertical\"\n class=\"advanced-tab-details\"\n ></kendo-textarea>\n }\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n \n <div class=\"k-actions k-actions-end customBtn popup-actions\">\n @if (UserCanEdit) {\n <button kendoButton (click)=\"saveProperties()\" themeColor=\"info\">\n <span class=\"fa-solid fa-circle-check\"></span>\n Save\n </button> \n }\n <button fillMode=\"outline\" themeColor=\"info\" kendoButton (click)=\"closePropertiesDialog()\">Cancel</button>\n </div>\n </div>\n </div>\n </kendo-window>\n </div>\n</div> ", styles: [".view-properties-button {\n margin-left: 0px;\n }\n .view-prop-tab-contents {\n display: flex;\n flex-direction: column;\n height: 100%; /* Set to the height you want */\n }\n \n .form-group {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n margin-bottom: 10px;\n }\n \n .form-group-description {\n flex-grow: 1;\n }\n \n .k-form-label {\n width: 150px; /* Adjust as needed */\n margin-right: 10px;\n }\n \n .view-description {\n flex-grow: 1;\n height: 100%;\n padding: 5px;\n resize: none;\n }\n \n \n \n .item-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n \n .popup-content {\n height: calc(100% - 46px);\n }\n \n .popup-actions {\n padding: 16px 0 0;\n }\n \n .view-prop-tab-contents {\n overflow: hidden;\n }\n \n .sort-column {\n width: 300px;\n }\n \n .sort-direction {\n width: 125px;\n }\n \n .sort-header > button {\n margin-left: 5px;\n margin-bottom: 5px;\n width: 75px;\n }\n \n .smart-filter-label {\n margin-right: 10px;\n }\n \n .smart-filter-prompt {\n margin-top: 15px;\n }\n\n .smart-filter-button {\n margin-right: 5px;\n margin-bottom: 5px;\n }\n\n .tab-header-icon {\n margin-right: 5px;\n }\n \n .advanced-tab-details\n {\n margin-bottom: 10px;\n }\n ::ng-deep .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper {\n background: var(--white-color) !important;\n padding-left: 0 !important;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item.k-active {\n border-bottom: 3px solid var(--border-blue) !important;\n }\n ::ng-deep .popup-content .k-tabstrip-items-wrapper .k-tabstrip-items .k-tabstrip-item {\n background: var(--white-color) !important;\n border-right: 0 !important;\n }\n\n.k-checkbox {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-switch-on .k-switch-track {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.k-selected {\n background-color: var(--border-blue);\n border-color: var(--border-blue);\n color: white;\n}\n\n.filter-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */\n z-index: 1; /* Ensure it's above the other components */\n pointer-events: all; /* get all clicks */\n cursor: not-allowed; /* Change cursor to indicate it's disabled */\n}\n"] }]
|
|
605
813
|
}], () => [{ type: i1.ActivatedRoute }, { type: i0.ElementRef }, { type: i2.SharedService }, { type: i3.FormBuilder }, { type: i1.Router }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], { ViewID: [{
|
|
606
814
|
type: Input
|
|
607
815
|
}], EntityName: [{
|
|
608
816
|
type: Input
|
|
817
|
+
}], CategoryID: [{
|
|
818
|
+
type: Input
|
|
609
819
|
}], ShowPropertiesButton: [{
|
|
610
820
|
type: Input
|
|
611
821
|
}], dialogClosed: [{
|
|
@@ -619,11 +829,21 @@ UserViewPropertiesDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
619
829
|
}], nameField: [{
|
|
620
830
|
type: ViewChild,
|
|
621
831
|
args: ['nameField']
|
|
832
|
+
}], smartFilterTextArea: [{
|
|
833
|
+
type: ViewChild,
|
|
834
|
+
args: ['smartFilterTextArea']
|
|
622
835
|
}], dialogContainer: [{
|
|
623
836
|
type: ViewChild,
|
|
624
837
|
args: ['dialogContainer']
|
|
625
838
|
}], outerDialogContainer: [{
|
|
626
839
|
type: ViewChild,
|
|
627
840
|
args: ['outerDialogContainer']
|
|
841
|
+
}], findRecordDialog: [{
|
|
842
|
+
type: ViewChild,
|
|
843
|
+
args: ['findRecordDialog']
|
|
844
|
+
}], resourcePermissions: [{
|
|
845
|
+
type: ViewChild,
|
|
846
|
+
args: ['resourcePermissions']
|
|
628
847
|
}] }); })();
|
|
629
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewPropertiesDialogComponent, { className: "UserViewPropertiesDialogComponent", filePath: "src/lib/user-view-properties.component.ts", lineNumber:
|
|
848
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewPropertiesDialogComponent, { className: "UserViewPropertiesDialogComponent", filePath: "src/lib/user-view-properties.component.ts", lineNumber: 26 }); })();
|
|
849
|
+
//# sourceMappingURL=user-view-properties.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-view-properties.component.js","sourceRoot":"","sources":["../../src/lib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AiC;cAL7C,SAAS;2BACE,gCAAgC;2MAK1B,MAAM;kBAArB,KAAK;YACU,UAAU;kBAAzB,KAAK;YAIU,UAAU;kBAAzB,KAAK;YACU,oBAAoB;kBAAnC,KAAK;YAEI,YAAY;kBAArB,MAAM;YAyCqB,WAAW;kBAAtC,SAAS;mBAAC,eAAe;YACD,QAAQ;kBAAhC,SAAS;mBAAC,YAAY;YACC,SAAS;kBAAhC,SAAS;mBAAC,WAAW;YACY,mBAAmB;kBAApD,SAAS;mBAAC,qBAAqB;YACF,eAAe;kBAA5C,SAAS;mBAAC,iBAAiB;YACe,oBAAoB;kBAA9D,SAAS;mBAAC,sBAAsB;YACM,gBAAgB;kBAAtD,SAAS;mBAAC,kBAAkB;YACa,mBAAmB;kBAA5D,SAAS;mBAAC,qBAAqB;;kFAzDrB,iCAAiC"}
|
package/dist/module.d.ts
CHANGED
|
@@ -11,9 +11,11 @@ import * as i9 from "@progress/kendo-angular-sortable";
|
|
|
11
11
|
import * as i10 from "@progress/kendo-angular-filter";
|
|
12
12
|
import * as i11 from "@progress/kendo-angular-dropdowns";
|
|
13
13
|
import * as i12 from "@memberjunction/ng-tabstrip";
|
|
14
|
+
import * as i13 from "@memberjunction/ng-find-record";
|
|
15
|
+
import * as i14 from "@memberjunction/ng-resource-permissions";
|
|
14
16
|
export declare class UserViewPropertiesDialogModule {
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserViewPropertiesDialogModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserViewPropertiesDialogModule, [typeof i1.UserViewPropertiesDialogComponent], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.LabelModule, typeof i5.FormsModule, typeof i6.ButtonsModule, typeof i7.WindowModule, typeof i8.TabStripModule, typeof i9.SortableModule, typeof i10.FilterModule, typeof i11.DropDownsModule, typeof i12.MJTabStripModule], [typeof i1.UserViewPropertiesDialogComponent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserViewPropertiesDialogModule, [typeof i1.UserViewPropertiesDialogComponent], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.LabelModule, typeof i5.FormsModule, typeof i6.ButtonsModule, typeof i7.WindowModule, typeof i8.TabStripModule, typeof i9.SortableModule, typeof i10.FilterModule, typeof i11.DropDownsModule, typeof i12.MJTabStripModule, typeof i13.FindRecordModule, typeof i14.ResourcePermissionsModule], [typeof i1.UserViewPropertiesDialogComponent]>;
|
|
17
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserViewPropertiesDialogModule>;
|
|
18
20
|
}
|
|
19
21
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAmBA,qBAuBa,8BAA8B;yCAA9B,8BAA8B;0CAA9B,8BAA8B;0CAA9B,8BAA8B;CAAI"}
|
package/dist/module.js
CHANGED
|
@@ -12,6 +12,8 @@ import { SortableModule } from '@progress/kendo-angular-sortable';
|
|
|
12
12
|
import { FilterModule } from '@progress/kendo-angular-filter';
|
|
13
13
|
import { DropDownsModule } from "@progress/kendo-angular-dropdowns";
|
|
14
14
|
import { MJTabStripModule } from '@memberjunction/ng-tabstrip';
|
|
15
|
+
import { FindRecordModule } from '@memberjunction/ng-find-record';
|
|
16
|
+
import { ResourcePermissionsModule } from '@memberjunction/ng-resource-permissions';
|
|
15
17
|
import * as i0 from "@angular/core";
|
|
16
18
|
export class UserViewPropertiesDialogModule {
|
|
17
19
|
}
|
|
@@ -27,7 +29,9 @@ UserViewPropertiesDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imp
|
|
|
27
29
|
SortableModule,
|
|
28
30
|
FilterModule,
|
|
29
31
|
DropDownsModule,
|
|
30
|
-
MJTabStripModule
|
|
32
|
+
MJTabStripModule,
|
|
33
|
+
FindRecordModule,
|
|
34
|
+
ResourcePermissionsModule] });
|
|
31
35
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewPropertiesDialogModule, [{
|
|
32
36
|
type: NgModule,
|
|
33
37
|
args: [{
|
|
@@ -45,7 +49,9 @@ UserViewPropertiesDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imp
|
|
|
45
49
|
SortableModule,
|
|
46
50
|
FilterModule,
|
|
47
51
|
DropDownsModule,
|
|
48
|
-
MJTabStripModule
|
|
52
|
+
MJTabStripModule,
|
|
53
|
+
FindRecordModule,
|
|
54
|
+
ResourcePermissionsModule
|
|
49
55
|
],
|
|
50
56
|
exports: [
|
|
51
57
|
UserViewPropertiesDialogComponent
|
|
@@ -62,4 +68,7 @@ UserViewPropertiesDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imp
|
|
|
62
68
|
SortableModule,
|
|
63
69
|
FilterModule,
|
|
64
70
|
DropDownsModule,
|
|
65
|
-
MJTabStripModule
|
|
71
|
+
MJTabStripModule,
|
|
72
|
+
FindRecordModule,
|
|
73
|
+
ResourcePermissionsModule], exports: [UserViewPropertiesDialogComponent] }); })();
|
|
74
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,2BAA2B;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,E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,yBAAyB,aAGzB,iCAAiC"}
|
package/dist/public-api.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sCAAsC,CAAC;AACrD,cAAc,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-user-view-properties",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "MemberJunction: Angular UI Dialog Component to View/Edit User View Properties",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -24,11 +24,13 @@
|
|
|
24
24
|
"@angular/forms": "18.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@memberjunction/global": "2.
|
|
28
|
-
"@memberjunction/core": "2.
|
|
29
|
-
"@memberjunction/core-entities": "2.
|
|
30
|
-
"@memberjunction/ng-base-forms": "2.
|
|
31
|
-
"@memberjunction/ng-
|
|
27
|
+
"@memberjunction/global": "2.8.0",
|
|
28
|
+
"@memberjunction/core": "2.8.0",
|
|
29
|
+
"@memberjunction/core-entities": "2.8.0",
|
|
30
|
+
"@memberjunction/ng-base-forms": "2.8.0",
|
|
31
|
+
"@memberjunction/ng-find-record": "2.8.0",
|
|
32
|
+
"@memberjunction/ng-resource-permissions": "2.8.0",
|
|
33
|
+
"@memberjunction/ng-shared": "2.8.0",
|
|
32
34
|
"@progress/kendo-angular-sortable": "16.2.0",
|
|
33
35
|
"@progress/kendo-angular-dialog": "16.2.0",
|
|
34
36
|
"@progress/kendo-angular-layout": "16.2.0",
|