@memberjunction/ng-core-entity-forms 2.41.0 → 2.42.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/generated/Entities/AIAgent/aiagent.form.component.js +44 -4
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js +98 -4
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.js +176 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +112 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.js +147 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.js +127 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +35 -5
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +28 -28
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +13 -3
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js +201 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +73 -3
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js +214 -12
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.js +214 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +270 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js +84 -4
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +112 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.js +89 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.js +129 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.js +89 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Application/application.form.component.js +24 -3
- package/dist/lib/generated/Entities/Application/application.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Application/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Application/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/Application/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +30 -9
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.js +69 -4
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js +61 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.js +149 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js +61 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Entity/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/sections/details.component.js +40 -4
- package/dist/lib/generated/Entities/Entity/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/Report/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Report/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/Report/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +35 -15
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserView/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/UserView/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/UserView/sections/details.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +278 -251
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +400 -255
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -11,10 +11,11 @@ import { LoadDashboardDetailsComponent } from "./sections/details.component";
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "@angular/common";
|
|
13
13
|
import * as i2 from "@angular/forms";
|
|
14
|
-
import * as i3 from "@memberjunction/ng-
|
|
15
|
-
import * as i4 from "@memberjunction/ng-
|
|
16
|
-
import * as i5 from "@memberjunction/ng-
|
|
17
|
-
import * as i6 from "@memberjunction/ng-
|
|
14
|
+
import * as i3 from "@memberjunction/ng-user-view-grid";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-base-forms";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
|
+
import * as i7 from "@memberjunction/ng-container-directives";
|
|
18
19
|
function DashboardFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
20
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
21
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -26,6 +27,18 @@ function DashboardFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
26
27
|
i0.ɵɵelementEnd();
|
|
27
28
|
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
29
|
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
32
|
+
i0.ɵɵtext(9, " MJ: Dashboard User States ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
38
|
+
i0.ɵɵtext(13, " MJ: Dashboard User Preferences ");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
41
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
29
42
|
i0.ɵɵelementEnd()()();
|
|
30
43
|
} if (rf & 2) {
|
|
31
44
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -33,28 +46,36 @@ function DashboardFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
33
46
|
i0.ɵɵproperty("form", ctx_r1);
|
|
34
47
|
i0.ɵɵadvance(5);
|
|
35
48
|
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
51
|
+
i0.ɵɵadvance(3);
|
|
52
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Dashboard User States", "DashboardID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboard User States"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Dashboard User States"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
55
|
+
i0.ɵɵadvance(3);
|
|
56
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Dashboard User Preferences", "DashboardID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboard User Preferences"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Dashboard User Preferences"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
36
57
|
} }
|
|
37
58
|
let DashboardFormComponent = class DashboardFormComponent extends BaseFormComponent {
|
|
38
59
|
};
|
|
39
60
|
DashboardFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardFormComponent_BaseFactory; return function DashboardFormComponent_Factory(t) { return (ɵDashboardFormComponent_BaseFactory || (ɵDashboardFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardFormComponent)))(t || DashboardFormComponent); }; })();
|
|
40
|
-
DashboardFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardFormComponent, selectors: [["gen-dashboard-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Dashboards", "Section", "details", 3, "record", "EditMode"]], template: function DashboardFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
DashboardFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardFormComponent, selectors: [["gen-dashboard-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Dashboards", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Dashboard User States", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "MJ: Dashboard User Preferences", 3, "Visible"]], template: function DashboardFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
62
|
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
-
i0.ɵɵtemplate(1, DashboardFormComponent_form_1_Template,
|
|
63
|
+
i0.ɵɵtemplate(1, DashboardFormComponent_form_1_Template, 16, 15, "form", 2);
|
|
43
64
|
i0.ɵɵelementEnd();
|
|
44
65
|
} if (rf & 2) {
|
|
45
66
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
67
|
i0.ɵɵadvance();
|
|
47
68
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
-
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent, i7.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
49
70
|
DashboardFormComponent = __decorate([
|
|
50
71
|
RegisterClass(BaseFormComponent, 'Dashboards') // Tell MemberJunction about this class
|
|
51
72
|
], DashboardFormComponent);
|
|
52
73
|
export { DashboardFormComponent };
|
|
53
74
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardFormComponent, [{
|
|
54
75
|
type: Component,
|
|
55
|
-
args: [{ selector: 'gen-dashboard-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Dashboards\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
76
|
+
args: [{ selector: 'gen-dashboard-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Dashboards\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Dashboard User States\" [Visible]=\"record.IsSaved\"> \n MJ: Dashboard User States\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User States','DashboardID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User States')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Dashboard User States')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Dashboard User Preferences\" [Visible]=\"record.IsSaved\"> \n MJ: Dashboard User Preferences\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User Preferences','DashboardID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User Preferences')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Dashboard User Preferences')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
56
77
|
}], null, null); })();
|
|
57
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardFormComponent, { className: "DashboardFormComponent", filePath: "src/lib/generated/Entities/Dashboard/dashboard.form.component.ts", lineNumber:
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardFormComponent, { className: "DashboardFormComponent", filePath: "src/lib/generated/Entities/Dashboard/dashboard.form.component.ts", lineNumber: 14 }); })();
|
|
58
79
|
export function LoadDashboardFormComponent() {
|
|
59
80
|
LoadDashboardDetailsComponent();
|
|
60
81
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Dashboard/dashboard.form.component.ts","../../../../../src/lib/generated/Entities/Dashboard/dashboard.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA
|
|
1
|
+
{"version":3,"file":"dashboard.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Dashboard/dashboard.form.component.ts","../../../../../src/lib/generated/Entities/Dashboard/dashboard.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICHxE,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,0MAAe,0BAAmB,KAAC,+LAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAoE;IAChE,2CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyE;IACrE,iDACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA1Cc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIO,cAA0B;IAA1B,+CAA0B;IAK3D,eAA6F;IAI7F,AADA,AADA,AADA,AADA,mHAA6F,wEAC7B,+DACT,mCAC5B,yCACM;IAIK,cAA0B;IAA1B,+CAA0B;IAKhE,eAAkG;IAIlG,AADA,AADA,AADA,AADA,wHAAkG,6EAC7B,oEACT,mCACjC,yCACM;;AD3BtD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,iBAAiB;;iQAAhD,sBAAsB,SAAtB,sBAAsB;yEAAtB,sBAAsB;QCbnC,8BAAyF;QACrF,2EAAyE;QA4C7E,iBAAM;;QA7CiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,sBAAsB;IANlC,aAAa,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,uCAAuC;GAM1E,sBAAsB,CAElC;;iFAFY,sBAAsB;cALlC,SAAS;2BACI,oBAAoB;;kFAIrB,sBAAsB;AAInC,MAAM,UAAU,0BAA0B;IACtC,6BAA6B,EAAE,CAAC;AACpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Dashboard/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;;AAEhE,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Dashboard/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;;AAEhE,qBAiIa,yBAA0B,SAAQ,wBAAwB;IACjD,MAAM,EAAG,eAAe,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,yBAAyB;2CAAzB,yBAAyB;CAGrC;AAED,wBAAgB,6BAA6B,SAE5C"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function DashboardDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -34,6 +34,20 @@ function DashboardDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
34
34
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
35
|
i0.ɵɵadvance();
|
|
36
36
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
51
|
} }
|
|
38
52
|
let DashboardDetailsComponent = class DashboardDetailsComponent extends BaseFormSectionComponent {
|
|
39
53
|
constructor() {
|
|
@@ -42,8 +56,8 @@ let DashboardDetailsComponent = class DashboardDetailsComponent extends BaseForm
|
|
|
42
56
|
}
|
|
43
57
|
};
|
|
44
58
|
DashboardDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardDetailsComponent_BaseFactory; return function DashboardDetailsComponent_Factory(t) { return (ɵDashboardDetailsComponent_BaseFactory || (ɵDashboardDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardDetailsComponent)))(t || DashboardDetailsComponent); }; })();
|
|
45
|
-
DashboardDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardDetailsComponent, selectors: [["gen-dashboard-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UIConfigDetails", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "User", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function DashboardDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
i0.ɵɵtemplate(0, DashboardDetailsComponent_div_0_Template,
|
|
59
|
+
DashboardDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardDetailsComponent, selectors: [["gen-dashboard-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UIConfigDetails", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Thumbnail", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Scope", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ApplicationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Code", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "User", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Application", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function DashboardDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵtemplate(0, DashboardDetailsComponent_div_0_Template, 18, 48, "div", 0);
|
|
47
61
|
} if (rf & 2) {
|
|
48
62
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
49
63
|
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
@@ -108,6 +122,50 @@ export { DashboardDetailsComponent };
|
|
|
108
122
|
Type="textbox"
|
|
109
123
|
[EditMode]="EditMode"
|
|
110
124
|
></mj-form-field>
|
|
125
|
+
<mj-form-field
|
|
126
|
+
[record]="record"
|
|
127
|
+
[ShowLabel]="true"
|
|
128
|
+
FieldName="Type"
|
|
129
|
+
Type="dropdownlist"
|
|
130
|
+
[EditMode]="EditMode"
|
|
131
|
+
></mj-form-field>
|
|
132
|
+
<mj-form-field
|
|
133
|
+
[record]="record"
|
|
134
|
+
[ShowLabel]="true"
|
|
135
|
+
FieldName="Thumbnail"
|
|
136
|
+
Type="textarea"
|
|
137
|
+
[EditMode]="EditMode"
|
|
138
|
+
></mj-form-field>
|
|
139
|
+
<mj-form-field
|
|
140
|
+
[record]="record"
|
|
141
|
+
[ShowLabel]="true"
|
|
142
|
+
FieldName="Scope"
|
|
143
|
+
Type="dropdownlist"
|
|
144
|
+
[EditMode]="EditMode"
|
|
145
|
+
></mj-form-field>
|
|
146
|
+
<mj-form-field
|
|
147
|
+
[record]="record"
|
|
148
|
+
[ShowLabel]="true"
|
|
149
|
+
FieldName="ApplicationID"
|
|
150
|
+
Type="textbox"
|
|
151
|
+
[EditMode]="EditMode"
|
|
152
|
+
LinkType="Record"
|
|
153
|
+
LinkComponentType="Search"
|
|
154
|
+
></mj-form-field>
|
|
155
|
+
<mj-form-field
|
|
156
|
+
[record]="record"
|
|
157
|
+
[ShowLabel]="true"
|
|
158
|
+
FieldName="Code"
|
|
159
|
+
Type="textarea"
|
|
160
|
+
[EditMode]="EditMode"
|
|
161
|
+
></mj-form-field>
|
|
162
|
+
<mj-form-field
|
|
163
|
+
[record]="record"
|
|
164
|
+
[ShowLabel]="true"
|
|
165
|
+
FieldName="DriverClass"
|
|
166
|
+
Type="textarea"
|
|
167
|
+
[EditMode]="EditMode"
|
|
168
|
+
></mj-form-field>
|
|
111
169
|
<mj-form-field
|
|
112
170
|
[record]="record"
|
|
113
171
|
[ShowLabel]="true"
|
|
@@ -122,6 +180,13 @@ export { DashboardDetailsComponent };
|
|
|
122
180
|
Type="textbox"
|
|
123
181
|
[EditMode]="EditMode"
|
|
124
182
|
></mj-form-field>
|
|
183
|
+
<mj-form-field
|
|
184
|
+
[record]="record"
|
|
185
|
+
[ShowLabel]="true"
|
|
186
|
+
FieldName="Application"
|
|
187
|
+
Type="textbox"
|
|
188
|
+
[EditMode]="EditMode"
|
|
189
|
+
></mj-form-field>
|
|
125
190
|
|
|
126
191
|
</div>
|
|
127
192
|
</div>
|
|
@@ -131,7 +196,7 @@ export { DashboardDetailsComponent };
|
|
|
131
196
|
}], EditMode: [{
|
|
132
197
|
type: Input
|
|
133
198
|
}] }); })();
|
|
134
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardDetailsComponent, { className: "DashboardDetailsComponent", filePath: "src/lib/generated/Entities/Dashboard/sections/details.component.ts", lineNumber:
|
|
199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardDetailsComponent, { className: "DashboardDetailsComponent", filePath: "src/lib/generated/Entities/Dashboard/sections/details.component.ts", lineNumber: 135 }); })();
|
|
135
200
|
export function LoadDashboardDetailsComponent() {
|
|
136
201
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
137
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Dashboard/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Dashboard/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IAgHrB,AAPA,AAPA,AAPA,AAPA,AATA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AATA,AAPA,AAPA,mCAMiB,uBAOA,uBASA,uBASA,uBAOA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA,yBASA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IAvHM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,wBAAwB;IAAhE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;gRAHY,yBAAyB,SAAzB,yBAAyB;4EAAzB,yBAAyB;QA7HvB,4EAAyB;;QAAnB,iCAAiB;;AA6HzB,yBAAyB;IAjIrC,aAAa,CAAC,wBAAwB,EAAE,oBAAoB,CAAC,CAAC,wCAAwC;GAiI1F,yBAAyB,CAGrC;;iFAHY,yBAAyB;cAhIrC,SAAS;2BACI,4BAA4B,YAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2HT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,yBAAyB;AAKtC,MAAM,UAAU,6BAA6B;IACzC,2GAA2G;AAC/G,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DashboardUserPreferenceEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DashboardUserPreferenceFormComponent extends BaseFormComponent {
|
|
5
|
+
record: DashboardUserPreferenceEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardUserPreferenceFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardUserPreferenceFormComponent, "gen-dashboarduserpreference-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadDashboardUserPreferenceFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=dashboarduserpreference.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboarduserpreference.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,oCAAqC,SAAQ,iBAAiB;IAChE,MAAM,EAAG,6BAA6B,CAAC;yCADrC,oCAAoC;2CAApC,oCAAoC;CAEhD;AAED,wBAAgB,wCAAwC,SAEvD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import { LoadDashboardUserPreferenceDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@memberjunction/ng-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
|
+
function DashboardUserPreferenceFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function DashboardUserPreferenceFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function DashboardUserPreferenceFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
|
+
i0.ɵɵadvance(5);
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
|
+
} }
|
|
37
|
+
let DashboardUserPreferenceFormComponent = class DashboardUserPreferenceFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
DashboardUserPreferenceFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardUserPreferenceFormComponent_BaseFactory; return function DashboardUserPreferenceFormComponent_Factory(t) { return (ɵDashboardUserPreferenceFormComponent_BaseFactory || (ɵDashboardUserPreferenceFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardUserPreferenceFormComponent)))(t || DashboardUserPreferenceFormComponent); }; })();
|
|
40
|
+
DashboardUserPreferenceFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardUserPreferenceFormComponent, selectors: [["gen-dashboarduserpreference-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Dashboard User Preferences", "Section", "details", 3, "record", "EditMode"]], template: function DashboardUserPreferenceFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, DashboardUserPreferenceFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
49
|
+
DashboardUserPreferenceFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'MJ: Dashboard User Preferences') // Tell MemberJunction about this class
|
|
51
|
+
], DashboardUserPreferenceFormComponent);
|
|
52
|
+
export { DashboardUserPreferenceFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardUserPreferenceFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-dashboarduserpreference-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Dashboard User Preferences\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardUserPreferenceFormComponent, { className: "DashboardUserPreferenceFormComponent", filePath: "src/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadDashboardUserPreferenceFormComponent() {
|
|
59
|
+
LoadDashboardUserPreferenceDetailsComponent();
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=dashboarduserpreference.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboarduserpreference.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.ts","../../../../../src/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHtF,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,wNAAe,0BAAmB,KAAC,6MAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IAItC,AADY,AAFI,iBAAc,EAEJ,EACnB;;;IAjBc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;;ADF/C,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,iBAAiB;;uUAA9D,oCAAoC,SAApC,oCAAoC;uFAApC,oCAAoC;QCZjD,8BAAyF;QACrF,uFAAyE;QAmB7E,iBAAM;;QApBiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADWV,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,gCAAgC,CAAC,CAAC,uCAAuC;GAM9F,oCAAoC,CAEhD;;iFAFY,oCAAoC;cALhD,SAAS;2BACI,kCAAkC;;kFAInC,oCAAoC;AAIjD,MAAM,UAAU,wCAAwC;IACpD,2CAA2C,EAAE,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { DashboardUserPreferenceEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DashboardUserPreferenceDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: DashboardUserPreferenceEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardUserPreferenceDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardUserPreferenceDetailsComponent, "gen-dashboarduserpreference-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadDashboardUserPreferenceDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/DashboardUserPreference/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;;AAE9E,qBAuFa,uCAAwC,SAAQ,wBAAwB;IAC/D,MAAM,EAAG,6BAA6B,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,uCAAuC;2CAAvC,uCAAuC;CAGnD;AAED,wBAAgB,2CAA2C,SAE1D"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Input } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
|
+
function DashboardUserPreferenceDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
} }
|
|
40
|
+
let DashboardUserPreferenceDetailsComponent = class DashboardUserPreferenceDetailsComponent extends BaseFormSectionComponent {
|
|
41
|
+
constructor() {
|
|
42
|
+
super(...arguments);
|
|
43
|
+
this.EditMode = false;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
DashboardUserPreferenceDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardUserPreferenceDetailsComponent_BaseFactory; return function DashboardUserPreferenceDetailsComponent_Factory(t) { return (ɵDashboardUserPreferenceDetailsComponent_BaseFactory || (ɵDashboardUserPreferenceDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardUserPreferenceDetailsComponent)))(t || DashboardUserPreferenceDetailsComponent); }; })();
|
|
47
|
+
DashboardUserPreferenceDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardUserPreferenceDetailsComponent, selectors: [["gen-dashboarduserpreference-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DashboardID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Scope", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ApplicationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DisplayOrder", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "User", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Dashboard", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Application", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function DashboardUserPreferenceDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵtemplate(0, DashboardUserPreferenceDetailsComponent_div_0_Template, 12, 30, "div", 0);
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
51
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
52
|
+
DashboardUserPreferenceDetailsComponent = __decorate([
|
|
53
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: Dashboard User Preferences.details') // Tell MemberJunction about this class
|
|
54
|
+
], DashboardUserPreferenceDetailsComponent);
|
|
55
|
+
export { DashboardUserPreferenceDetailsComponent };
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardUserPreferenceDetailsComponent, [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'gen-dashboarduserpreference-form-details', template: `<div *ngIf="this.record">
|
|
59
|
+
<div class="record-form">
|
|
60
|
+
<mj-form-field
|
|
61
|
+
[record]="record"
|
|
62
|
+
[ShowLabel]="true"
|
|
63
|
+
FieldName="UserID"
|
|
64
|
+
Type="textbox"
|
|
65
|
+
[EditMode]="EditMode"
|
|
66
|
+
LinkType="Record"
|
|
67
|
+
LinkComponentType="Search"
|
|
68
|
+
></mj-form-field>
|
|
69
|
+
<mj-form-field
|
|
70
|
+
[record]="record"
|
|
71
|
+
[ShowLabel]="true"
|
|
72
|
+
FieldName="DashboardID"
|
|
73
|
+
Type="textbox"
|
|
74
|
+
[EditMode]="EditMode"
|
|
75
|
+
LinkType="Record"
|
|
76
|
+
LinkComponentType="Search"
|
|
77
|
+
></mj-form-field>
|
|
78
|
+
<mj-form-field
|
|
79
|
+
[record]="record"
|
|
80
|
+
[ShowLabel]="true"
|
|
81
|
+
FieldName="Scope"
|
|
82
|
+
Type="dropdownlist"
|
|
83
|
+
[EditMode]="EditMode"
|
|
84
|
+
></mj-form-field>
|
|
85
|
+
<mj-form-field
|
|
86
|
+
[record]="record"
|
|
87
|
+
[ShowLabel]="true"
|
|
88
|
+
FieldName="ApplicationID"
|
|
89
|
+
Type="textbox"
|
|
90
|
+
[EditMode]="EditMode"
|
|
91
|
+
LinkType="Record"
|
|
92
|
+
LinkComponentType="Search"
|
|
93
|
+
></mj-form-field>
|
|
94
|
+
<mj-form-field
|
|
95
|
+
[record]="record"
|
|
96
|
+
[ShowLabel]="true"
|
|
97
|
+
FieldName="DisplayOrder"
|
|
98
|
+
Type="numerictextbox"
|
|
99
|
+
[EditMode]="EditMode"
|
|
100
|
+
></mj-form-field>
|
|
101
|
+
<mj-form-field
|
|
102
|
+
[record]="record"
|
|
103
|
+
[ShowLabel]="true"
|
|
104
|
+
FieldName="__mj_CreatedAt"
|
|
105
|
+
Type="textbox"
|
|
106
|
+
[EditMode]="EditMode"
|
|
107
|
+
></mj-form-field>
|
|
108
|
+
<mj-form-field
|
|
109
|
+
[record]="record"
|
|
110
|
+
[ShowLabel]="true"
|
|
111
|
+
FieldName="__mj_UpdatedAt"
|
|
112
|
+
Type="textbox"
|
|
113
|
+
[EditMode]="EditMode"
|
|
114
|
+
></mj-form-field>
|
|
115
|
+
<mj-form-field
|
|
116
|
+
[record]="record"
|
|
117
|
+
[ShowLabel]="true"
|
|
118
|
+
FieldName="User"
|
|
119
|
+
Type="textbox"
|
|
120
|
+
[EditMode]="EditMode"
|
|
121
|
+
></mj-form-field>
|
|
122
|
+
<mj-form-field
|
|
123
|
+
[record]="record"
|
|
124
|
+
[ShowLabel]="true"
|
|
125
|
+
FieldName="Dashboard"
|
|
126
|
+
Type="textbox"
|
|
127
|
+
[EditMode]="EditMode"
|
|
128
|
+
></mj-form-field>
|
|
129
|
+
<mj-form-field
|
|
130
|
+
[record]="record"
|
|
131
|
+
[ShowLabel]="true"
|
|
132
|
+
FieldName="Application"
|
|
133
|
+
Type="textbox"
|
|
134
|
+
[EditMode]="EditMode"
|
|
135
|
+
></mj-form-field>
|
|
136
|
+
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
140
|
+
}], null, { record: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], EditMode: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}] }); })();
|
|
145
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardUserPreferenceDetailsComponent, { className: "DashboardUserPreferenceDetailsComponent", filePath: "src/lib/generated/Entities/DashboardUserPreference/sections/details.component.ts", lineNumber: 93 }); })();
|
|
146
|
+
export function LoadDashboardUserPreferenceDetailsComponent() {
|
|
147
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/DashboardUserPreference/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IAsErB,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AAPA,AATA,AATA,mCAQiB,uBASA,uBAOA,uBASA,uBAOA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA7EM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,uCAAuC,GAA7C,MAAM,uCAAwC,SAAQ,wBAAwB;IAA9E;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;sVAHY,uCAAuC,SAAvC,uCAAuC;0FAAvC,uCAAuC;QAnFrC,0FAAyB;;QAAnB,iCAAiB;;AAmFzB,uCAAuC;IAvFnD,aAAa,CAAC,wBAAwB,EAAE,wCAAwC,CAAC,CAAC,wCAAwC;GAuF9G,uCAAuC,CAGnD;;iFAHY,uCAAuC;cAtFnD,SAAS;2BACI,0CAA0C,YAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiFT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,uCAAuC;AAKpD,MAAM,UAAU,2CAA2C;IACvD,2GAA2G;AAC/G,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DashboardUserStateEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DashboardUserStateFormComponent extends BaseFormComponent {
|
|
5
|
+
record: DashboardUserStateEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardUserStateFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardUserStateFormComponent, "gen-dashboarduserstate-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadDashboardUserStateFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=dashboarduserstate.form.component.d.ts.map
|
package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboarduserstate.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,+BAAgC,SAAQ,iBAAiB;IAC3D,MAAM,EAAG,wBAAwB,CAAC;yCADhC,+BAA+B;2CAA/B,+BAA+B;CAE3C;AAED,wBAAgB,mCAAmC,SAElD"}
|