@memberjunction/ng-core-entity-forms 2.107.0 → 2.108.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/custom/AIAgents/ai-agent-form.component.d.ts +71 -3
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +899 -641
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts +1 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +57 -34
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +2 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +32 -4
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +358 -337
- package/dist/lib/custom/ai-agent-run/ai-agent-run.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 +13 -4
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.js +60 -4
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +33 -12
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Action/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Action/sections/details.component.js +24 -4
- package/dist/lib/generated/Entities/Action/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/Collection/collection.form.component.js +14 -4
- package/dist/lib/generated/Entities/Collection/collection.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Collection/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Collection/sections/details.component.js +24 -4
- package/dist/lib/generated/Entities/Collection/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.js +59 -0
- package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/CollectionPermission/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/CollectionPermission/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/CollectionPermission/sections/details.component.js +167 -0
- package/dist/lib/generated/Entities/CollectionPermission/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationDetail/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ConversationDetail/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +7 -7
- package/dist/lib/generated/Entities/Entity/entity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +43 -13
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +319 -317
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +91 -83
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +15 -15
|
@@ -45,47 +45,60 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
45
45
|
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
46
46
|
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
47
47
|
i0.ɵɵelementEnd();
|
|
48
|
-
i0.ɵɵelementStart(20, "mj-tab",
|
|
49
|
-
i0.ɵɵtext(21, "
|
|
48
|
+
i0.ɵɵelementStart(20, "mj-tab", 12);
|
|
49
|
+
i0.ɵɵtext(21, " AI Agent Actions ");
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
52
52
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
53
53
|
i0.ɵɵelementEnd();
|
|
54
|
-
i0.ɵɵelementStart(24, "mj-tab",
|
|
55
|
-
i0.ɵɵtext(25, " AI
|
|
54
|
+
i0.ɵɵelementStart(24, "mj-tab", 10);
|
|
55
|
+
i0.ɵɵtext(25, " MJ: AI Configurations ");
|
|
56
56
|
i0.ɵɵelementEnd();
|
|
57
57
|
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
58
58
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
59
59
|
i0.ɵɵelementEnd();
|
|
60
60
|
i0.ɵɵelementStart(28, "mj-tab", 13);
|
|
61
|
-
i0.ɵɵtext(29, "
|
|
61
|
+
i0.ɵɵtext(29, " AI Prompts ");
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
64
64
|
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
65
65
|
i0.ɵɵelementEnd();
|
|
66
66
|
i0.ɵɵelementStart(32, "mj-tab", 14);
|
|
67
|
-
i0.ɵɵtext(33, " MJ: AI
|
|
67
|
+
i0.ɵɵtext(33, " MJ: AI Prompt Models ");
|
|
68
68
|
i0.ɵɵelementEnd();
|
|
69
69
|
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
70
70
|
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
71
71
|
i0.ɵɵelementEnd();
|
|
72
72
|
i0.ɵɵelementStart(36, "mj-tab", 15);
|
|
73
|
-
i0.ɵɵtext(37, " MJ: AI Agent
|
|
73
|
+
i0.ɵɵtext(37, " MJ: AI Agent Prompts ");
|
|
74
74
|
i0.ɵɵelementEnd();
|
|
75
75
|
i0.ɵɵelementStart(38, "mj-tab-body");
|
|
76
76
|
i0.ɵɵelement(39, "mj-user-view-grid", 9);
|
|
77
77
|
i0.ɵɵelementEnd();
|
|
78
78
|
i0.ɵɵelementStart(40, "mj-tab", 16);
|
|
79
|
-
i0.ɵɵtext(41, " MJ: AI
|
|
79
|
+
i0.ɵɵtext(41, " MJ: AI Agent Steps ");
|
|
80
80
|
i0.ɵɵelementEnd();
|
|
81
81
|
i0.ɵɵelementStart(42, "mj-tab-body");
|
|
82
82
|
i0.ɵɵelement(43, "mj-user-view-grid", 9);
|
|
83
83
|
i0.ɵɵelementEnd();
|
|
84
84
|
i0.ɵɵelementStart(44, "mj-tab", 17);
|
|
85
|
-
i0.ɵɵtext(45, " AI
|
|
85
|
+
i0.ɵɵtext(45, " MJ: AI Prompt Runs ");
|
|
86
86
|
i0.ɵɵelementEnd();
|
|
87
87
|
i0.ɵɵelementStart(46, "mj-tab-body");
|
|
88
88
|
i0.ɵɵelement(47, "mj-user-view-grid", 9);
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementStart(48, "mj-tab", 18);
|
|
91
|
+
i0.ɵɵtext(49, " AI Agents ");
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵelementStart(50, "mj-tab-body");
|
|
94
|
+
i0.ɵɵelement(51, "mj-user-view-grid", 9);
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(52, "mj-tab", 19);
|
|
97
|
+
i0.ɵɵelement(53, "span", 20);
|
|
98
|
+
i0.ɵɵtext(54, "Actions ");
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
i0.ɵɵelementStart(55, "mj-tab-body");
|
|
101
|
+
i0.ɵɵelement(56, "mj-user-view-grid", 9);
|
|
89
102
|
i0.ɵɵelementEnd()()();
|
|
90
103
|
} if (rf & 2) {
|
|
91
104
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -108,6 +121,10 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
108
121
|
i0.ɵɵadvance();
|
|
109
122
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
110
123
|
i0.ɵɵadvance(3);
|
|
124
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Agent Actions", "CompactPromptID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Agent Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Agent Actions"))("EditMode", ctx_r1.GridEditMode());
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
127
|
+
i0.ɵɵadvance(3);
|
|
111
128
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Configurations", "DefaultPromptForContextSummarizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Configurations"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Configurations"))("EditMode", ctx_r1.GridEditMode());
|
|
112
129
|
i0.ɵɵadvance();
|
|
113
130
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
@@ -133,12 +150,16 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
133
150
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
134
151
|
i0.ɵɵadvance(3);
|
|
135
152
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Agents", "ContextCompressionPromptID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Agents"))("AllowLoad", ctx_r1.IsCurrentTab("AI Agents"))("EditMode", ctx_r1.GridEditMode());
|
|
153
|
+
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
155
|
+
i0.ɵɵadvance(4);
|
|
156
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Actions", "DefaultCompactPromptID"))("NewRecordValues", ctx_r1.NewRecordValues("Actions"))("AllowLoad", ctx_r1.IsCurrentTab("Actions"))("EditMode", ctx_r1.GridEditMode());
|
|
136
157
|
} }
|
|
137
158
|
let AIPromptFormComponent = class AIPromptFormComponent extends BaseFormComponent {
|
|
138
159
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptFormComponent_BaseFactory; return function AIPromptFormComponent_Factory(t) { return (ɵAIPromptFormComponent_BaseFactory || (ɵAIPromptFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptFormComponent)))(t || AIPromptFormComponent); }; })(); }
|
|
139
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "MJ: AI Agent Types", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Agent Steps", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "AI Agents", 3, "Visible"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
160
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "MJ: AI Agent Types", 3, "Visible"], ["Name", "AI Agent Actions", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Agent Steps", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "AI Agents", 3, "Visible"], ["Name", "Actions", 3, "Visible"], [1, "fa-solid", "fa-bolt", "tab-header-icon"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
140
161
|
i0.ɵɵelementStart(0, "div", 1);
|
|
141
|
-
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template,
|
|
162
|
+
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template, 57, 63, "form", 2);
|
|
142
163
|
i0.ɵɵelementEnd();
|
|
143
164
|
} if (rf & 2) {
|
|
144
165
|
i0.ɵɵadvance();
|
|
@@ -151,7 +172,7 @@ AIPromptFormComponent = __decorate([
|
|
|
151
172
|
export { AIPromptFormComponent };
|
|
152
173
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptFormComponent, [{
|
|
153
174
|
type: Component,
|
|
154
|
-
args: [{ selector: 'gen-aiprompt-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Prompts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Result Cache\" [Visible]=\"record.IsSaved\"> \n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','AIPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextCompressionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Types\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Types','SystemPromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Types')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Types')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextSummarizationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" [Visible]=\"record.IsSaved\"> \n AI Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompts','ResultSelectorPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompts')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Models\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Models')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Prompts\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Prompts','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Prompts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Steps\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Steps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Steps','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Steps')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Steps')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Runs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Runs')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Agents\" [Visible]=\"record.IsSaved\"> \n AI Agents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agents','ContextCompressionPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agents')\"\n [AllowLoad]=\"IsCurrentTab('AI Agents')\" \n [EditMode]=\"GridEditMode()\" \n >\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.content-margin {\n margin: 10px;\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"] }]
|
|
175
|
+
args: [{ selector: 'gen-aiprompt-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Prompts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Result Cache\" [Visible]=\"record.IsSaved\"> \n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','AIPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextCompressionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Types\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Types','SystemPromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Types')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Types')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Agent Actions\" [Visible]=\"record.IsSaved\"> \n AI Agent Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Actions','CompactPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agent Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Agent Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextSummarizationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" [Visible]=\"record.IsSaved\"> \n AI Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompts','ResultSelectorPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompts')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Models\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Models')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Prompts\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Prompts','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Prompts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Steps\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Steps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Steps','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Steps')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Steps')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Runs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Runs')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Agents\" [Visible]=\"record.IsSaved\"> \n AI Agents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agents','ContextCompressionPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agents')\"\n [AllowLoad]=\"IsCurrentTab('AI Agents')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Actions\" [Visible]=\"record.IsSaved\"> \n <span class=\"fa-solid fa-bolt tab-header-icon\"></span>Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Actions','DefaultCompactPromptID')\" \n [NewRecordValues]=\"NewRecordValues('Actions')\"\n [AllowLoad]=\"IsCurrentTab('Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\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.content-margin {\n margin: 10px;\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"] }]
|
|
155
176
|
}], null, null); })();
|
|
156
177
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptFormComponent, { className: "AIPromptFormComponent", filePath: "src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts", lineNumber: 14 }); })();
|
|
157
178
|
export function LoadAIPromptFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiprompt.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts","../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.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,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHvE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,yMAAe,0BAAmB,KAAC,8LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA0D;IACtD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAqD;IACjD,6BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAoD;IAChD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"aiprompt.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts","../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,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IAGtF,AADA,AADA,AADA,4GAAsF,sDACxC,6CACT,mCACV;;AD5JhD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,iBAAiB;wPAA/C,qBAAqB,SAArB,qBAAqB;oEAArB,qBAAqB;YCblC,8BAAqC;YACjC,0EAA0D;YA8K9D,iBAAM;;YA9KK,cAAY;YAAZ,iCAAY;;;ADYV,qBAAqB;IANjC,aAAa,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,uCAAuC;GAM1E,qBAAqB,CAEjC;;iFAFY,qBAAqB;cALjC,SAAS;2BACI,mBAAmB;;kFAIpB,qBAAqB;AAIlC,MAAM,UAAU,yBAAyB;IACrC,4BAA4B,EAAE,CAAC;AACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Action/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAE7D,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Action/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAE7D,qBA2La,sBAAuB,SAAQ,wBAAwB;IAC9C,MAAM,EAAG,YAAY,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,sBAAsB;2CAAtB,sBAAsB;CAGlC;AAED,wBAAgB,0BAA0B,SAEzC"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function ActionDetailsComponent_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)(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)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23);
|
|
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)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23)(24, "mj-form-field", 24)(25, "mj-form-field", 25);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -60,6 +60,10 @@ function ActionDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
60
60
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
61
61
|
i0.ɵɵadvance();
|
|
62
62
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
63
67
|
} }
|
|
64
68
|
let ActionDetailsComponent = class ActionDetailsComponent extends BaseFormSectionComponent {
|
|
65
69
|
constructor() {
|
|
@@ -67,8 +71,8 @@ let ActionDetailsComponent = class ActionDetailsComponent extends BaseFormSectio
|
|
|
67
71
|
this.EditMode = false;
|
|
68
72
|
}
|
|
69
73
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵActionDetailsComponent_BaseFactory; return function ActionDetailsComponent_Factory(t) { return (ɵActionDetailsComponent_BaseFactory || (ɵActionDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ActionDetailsComponent)))(t || ActionDetailsComponent); }; })(); }
|
|
70
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionDetailsComponent, selectors: [["gen-action-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovalStatus", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovalComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedByUserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeLocked", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ForceCodeGeneration", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetentionPeriod", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IconClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedByUser", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RootParentID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ActionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
-
i0.ɵɵtemplate(0, ActionDetailsComponent_div_0_Template,
|
|
74
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionDetailsComponent, selectors: [["gen-action-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovalStatus", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovalComments", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedByUserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeLocked", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ForceCodeGeneration", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetentionPeriod", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IconClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultCompactPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CodeApprovedByUser", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultCompactPrompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RootParentID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ActionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵtemplate(0, ActionDetailsComponent_div_0_Template, 26, 72, "div", 0);
|
|
72
76
|
} if (rf & 2) {
|
|
73
77
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
74
78
|
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
@@ -213,6 +217,15 @@ export { ActionDetailsComponent };
|
|
|
213
217
|
Type="textbox"
|
|
214
218
|
[EditMode]="EditMode"
|
|
215
219
|
></mj-form-field>
|
|
220
|
+
<mj-form-field
|
|
221
|
+
[record]="record"
|
|
222
|
+
[ShowLabel]="true"
|
|
223
|
+
FieldName="DefaultCompactPromptID"
|
|
224
|
+
Type="textbox"
|
|
225
|
+
[EditMode]="EditMode"
|
|
226
|
+
LinkType="Record"
|
|
227
|
+
LinkComponentType="Search"
|
|
228
|
+
></mj-form-field>
|
|
216
229
|
<mj-form-field
|
|
217
230
|
[record]="record"
|
|
218
231
|
[ShowLabel]="true"
|
|
@@ -234,6 +247,13 @@ export { ActionDetailsComponent };
|
|
|
234
247
|
Type="textbox"
|
|
235
248
|
[EditMode]="EditMode"
|
|
236
249
|
></mj-form-field>
|
|
250
|
+
<mj-form-field
|
|
251
|
+
[record]="record"
|
|
252
|
+
[ShowLabel]="true"
|
|
253
|
+
FieldName="DefaultCompactPrompt"
|
|
254
|
+
Type="textbox"
|
|
255
|
+
[EditMode]="EditMode"
|
|
256
|
+
></mj-form-field>
|
|
237
257
|
<mj-form-field
|
|
238
258
|
[record]="record"
|
|
239
259
|
[ShowLabel]="true"
|
|
@@ -250,7 +270,7 @@ export { ActionDetailsComponent };
|
|
|
250
270
|
}], EditMode: [{
|
|
251
271
|
type: Input
|
|
252
272
|
}] }); })();
|
|
253
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionDetailsComponent, { className: "ActionDetailsComponent", filePath: "src/lib/generated/Entities/Action/sections/details.component.ts", lineNumber:
|
|
273
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionDetailsComponent, { className: "ActionDetailsComponent", filePath: "src/lib/generated/Entities/Action/sections/details.component.ts", lineNumber: 193 }); })();
|
|
254
274
|
export function LoadActionDetailsComponent() {
|
|
255
275
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
256
276
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Action/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/Action/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;IA0KrB,AAPA,AAPA,AAPA,AAPA,AATA,AAPA,AATA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,mCAQiB,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBASA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBASA,yBAOA,yBASA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IAjLM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAi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BAAwB;IAA7D;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;4PAHY,sBAAsB,SAAtB,sBAAsB;oEAAtB,sBAAsB;YAvLpB,yEAAyB;;YAAnB,iCAAiB;;;AAuLzB,sBAAsB;IA3LlC,aAAa,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,CAAC,wCAAwC;GA2LvF,sBAAsB,CAGlC;;iFAHY,sBAAsB;cA1LlC,SAAS;2BACI,yBAAyB,YAEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqLT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,sBAAsB;AAKnC,MAAM,UAAU,0BAA0B;IACtC,2GAA2G;AAC/G,CAAC"}
|
|
@@ -34,10 +34,16 @@ function CollectionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
34
34
|
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
35
35
|
i0.ɵɵelementEnd();
|
|
36
36
|
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
37
|
-
i0.ɵɵtext(13, " MJ:
|
|
37
|
+
i0.ɵɵtext(13, " MJ: Collection Permissions ");
|
|
38
38
|
i0.ɵɵelementEnd();
|
|
39
39
|
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
40
40
|
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
43
|
+
i0.ɵɵtext(17, " MJ: Collections ");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
46
|
+
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
41
47
|
i0.ɵɵelementEnd()()();
|
|
42
48
|
} if (rf & 2) {
|
|
43
49
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -52,13 +58,17 @@ function CollectionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
52
58
|
i0.ɵɵadvance();
|
|
53
59
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
54
60
|
i0.ɵɵadvance(3);
|
|
61
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Collection Permissions", "CollectionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Collection Permissions"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Collection Permissions"))("EditMode", ctx_r1.GridEditMode());
|
|
62
|
+
i0.ɵɵadvance();
|
|
63
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
64
|
+
i0.ɵɵadvance(3);
|
|
55
65
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Collections", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Collections"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Collections"))("EditMode", ctx_r1.GridEditMode());
|
|
56
66
|
} }
|
|
57
67
|
let CollectionFormComponent = class CollectionFormComponent extends BaseFormComponent {
|
|
58
68
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCollectionFormComponent_BaseFactory; return function CollectionFormComponent_Factory(t) { return (ɵCollectionFormComponent_BaseFactory || (ɵCollectionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CollectionFormComponent)))(t || CollectionFormComponent); }; })(); }
|
|
59
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionFormComponent, selectors: [["gen-collection-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Collections", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Collection Artifacts", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: Collections", 3, "Visible"]], template: function CollectionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionFormComponent, selectors: [["gen-collection-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Collections", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Collection Artifacts", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: Collection Permissions", 3, "Visible"], ["Name", "MJ: Collections", 3, "Visible"]], template: function CollectionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
70
|
i0.ɵɵelementStart(0, "div", 1);
|
|
61
|
-
i0.ɵɵtemplate(1, CollectionFormComponent_form_1_Template,
|
|
71
|
+
i0.ɵɵtemplate(1, CollectionFormComponent_form_1_Template, 20, 18, "form", 2);
|
|
62
72
|
i0.ɵɵelementEnd();
|
|
63
73
|
} if (rf & 2) {
|
|
64
74
|
i0.ɵɵadvance();
|
|
@@ -71,7 +81,7 @@ CollectionFormComponent = __decorate([
|
|
|
71
81
|
export { CollectionFormComponent };
|
|
72
82
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollectionFormComponent, [{
|
|
73
83
|
type: Component,
|
|
74
|
-
args: [{ selector: 'gen-collection-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Collections\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Collection Artifacts\" [Visible]=\"record.IsSaved\"> \n MJ: Collection Artifacts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','CollectionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Collection Artifacts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Collections\" [Visible]=\"record.IsSaved\"> \n MJ: Collections\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','ParentID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Collections')\" \n [EditMode]=\"GridEditMode()\" \n >\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.content-margin {\n margin: 10px;\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"] }]
|
|
84
|
+
args: [{ selector: 'gen-collection-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Collections\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Collection Artifacts\" [Visible]=\"record.IsSaved\"> \n MJ: Collection Artifacts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','CollectionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Collection Artifacts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Collection Permissions\" [Visible]=\"record.IsSaved\"> \n MJ: Collection Permissions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Permissions','CollectionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Collection Permissions')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Collection Permissions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Collections\" [Visible]=\"record.IsSaved\"> \n MJ: Collections\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','ParentID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Collections')\" \n [EditMode]=\"GridEditMode()\" \n >\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.content-margin {\n margin: 10px;\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"] }]
|
|
75
85
|
}], null, null); })();
|
|
76
86
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionFormComponent, { className: "CollectionFormComponent", filePath: "src/lib/generated/Entities/Collection/collection.form.component.ts", lineNumber: 14 }); })();
|
|
77
87
|
export function LoadCollectionFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Collection/collection.form.component.ts","../../../../../src/lib/generated/Entities/Collection/collection.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,8BAA8B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHzE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,2MAAe,0BAAmB,KAAC,gMAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAmE;IAC/D,0CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"collection.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Collection/collection.form.component.ts","../../../../../src/lib/generated/Entities/Collection/collection.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,M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uBAAuB;cALnC,SAAS;2BACI,qBAAqB;;kFAItB,uBAAuB;AAIpC,MAAM,UAAU,2BAA2B;IACvC,8BAA8B,EAAE,CAAC;AACrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Collection/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;;AAEjE,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Collection/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;;AAEjE,qBAmHa,0BAA2B,SAAQ,wBAAwB;IAClD,MAAM,EAAG,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,0BAA0B;2CAA1B,0BAA0B;CAGtC;AAED,wBAAgB,8BAA8B,SAE7C"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function CollectionDetailsComponent_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)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
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
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -40,6 +40,10 @@ function CollectionDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
40
40
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
41
|
i0.ɵɵadvance();
|
|
42
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);
|
|
43
47
|
} }
|
|
44
48
|
let CollectionDetailsComponent = class CollectionDetailsComponent extends BaseFormSectionComponent {
|
|
45
49
|
constructor() {
|
|
@@ -47,8 +51,8 @@ let CollectionDetailsComponent = class CollectionDetailsComponent extends BaseFo
|
|
|
47
51
|
this.EditMode = false;
|
|
48
52
|
}
|
|
49
53
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCollectionDetailsComponent_BaseFactory; return function CollectionDetailsComponent_Factory(t) { return (ɵCollectionDetailsComponent_BaseFactory || (ɵCollectionDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CollectionDetailsComponent)))(t || CollectionDetailsComponent); }; })(); }
|
|
50
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionDetailsComponent, selectors: [["gen-collection-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "EnvironmentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Icon", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Color", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Sequence", "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", "Environment", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RootParentID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function CollectionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
-
i0.ɵɵtemplate(0, CollectionDetailsComponent_div_0_Template,
|
|
54
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionDetailsComponent, selectors: [["gen-collection-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "EnvironmentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Icon", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Color", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Sequence", "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", "OwnerID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Environment", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Owner", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RootParentID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function CollectionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵtemplate(0, CollectionDetailsComponent_div_0_Template, 16, 42, "div", 0);
|
|
52
56
|
} if (rf & 2) {
|
|
53
57
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
54
58
|
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
@@ -128,6 +132,15 @@ export { CollectionDetailsComponent };
|
|
|
128
132
|
Type="textbox"
|
|
129
133
|
[EditMode]="EditMode"
|
|
130
134
|
></mj-form-field>
|
|
135
|
+
<mj-form-field
|
|
136
|
+
[record]="record"
|
|
137
|
+
[ShowLabel]="true"
|
|
138
|
+
FieldName="OwnerID"
|
|
139
|
+
Type="textbox"
|
|
140
|
+
[EditMode]="EditMode"
|
|
141
|
+
LinkType="Record"
|
|
142
|
+
LinkComponentType="Search"
|
|
143
|
+
></mj-form-field>
|
|
131
144
|
<mj-form-field
|
|
132
145
|
[record]="record"
|
|
133
146
|
[ShowLabel]="true"
|
|
@@ -142,6 +155,13 @@ export { CollectionDetailsComponent };
|
|
|
142
155
|
Type="textbox"
|
|
143
156
|
[EditMode]="EditMode"
|
|
144
157
|
></mj-form-field>
|
|
158
|
+
<mj-form-field
|
|
159
|
+
[record]="record"
|
|
160
|
+
[ShowLabel]="true"
|
|
161
|
+
FieldName="Owner"
|
|
162
|
+
Type="textbox"
|
|
163
|
+
[EditMode]="EditMode"
|
|
164
|
+
></mj-form-field>
|
|
145
165
|
<mj-form-field
|
|
146
166
|
[record]="record"
|
|
147
167
|
[ShowLabel]="true"
|
|
@@ -158,7 +178,7 @@ export { CollectionDetailsComponent };
|
|
|
158
178
|
}], EditMode: [{
|
|
159
179
|
type: Input
|
|
160
180
|
}] }); })();
|
|
161
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionDetailsComponent, { className: "CollectionDetailsComponent", filePath: "src/lib/generated/Entities/Collection/sections/details.component.ts", lineNumber:
|
|
181
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionDetailsComponent, { className: "CollectionDetailsComponent", filePath: "src/lib/generated/Entities/Collection/sections/details.component.ts", lineNumber: 121 }); })();
|
|
162
182
|
export function LoadCollectionDetailsComponent() {
|
|
163
183
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
164
184
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Collection/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/Collection/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,O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;oEAA1B,0BAA0B;YA/GxB,6EAAyB;;YAAnB,iCAAiB;;;AA+GzB,0BAA0B;IAnHtC,aAAa,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,CAAC,wCAAwC;GAmH/F,0BAA0B,CAGtC;;iFAHY,0BAA0B;cAlHtC,SAAS;2BACI,6BAA6B,YAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6GT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,0BAA0B;AAKvC,MAAM,UAAU,8BAA8B;IAC1C,2GAA2G;AAC/G,CAAC"}
|
package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CollectionPermissionEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CollectionPermissionFormComponent extends BaseFormComponent {
|
|
5
|
+
record: CollectionPermissionEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionPermissionFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionPermissionFormComponent, "gen-collectionpermission-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadCollectionPermissionFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=collectionpermission.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectionpermission.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,iCAAkC,SAAQ,iBAAiB;IAC7D,MAAM,EAAG,0BAA0B,CAAC;yCADlC,iCAAiC;2CAAjC,iCAAiC;CAE7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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 { LoadCollectionPermissionDetailsComponent } 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
|
+
function CollectionPermissionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
19
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
20
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
21
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
22
|
+
i0.ɵɵlistener("TabSelected", function CollectionPermissionFormComponent_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 CollectionPermissionFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
23
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
24
|
+
i0.ɵɵtext(5, " Details ");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
27
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
28
|
+
i0.ɵɵelementEnd()()();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
33
|
+
i0.ɵɵadvance(5);
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
35
|
+
} }
|
|
36
|
+
let CollectionPermissionFormComponent = class CollectionPermissionFormComponent extends BaseFormComponent {
|
|
37
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCollectionPermissionFormComponent_BaseFactory; return function CollectionPermissionFormComponent_Factory(t) { return (ɵCollectionPermissionFormComponent_BaseFactory || (ɵCollectionPermissionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CollectionPermissionFormComponent)))(t || CollectionPermissionFormComponent); }; })(); }
|
|
38
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionPermissionFormComponent, selectors: [["gen-collectionpermission-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Collection Permissions", "Section", "details", 3, "record", "EditMode"]], template: function CollectionPermissionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
40
|
+
i0.ɵɵtemplate(1, CollectionPermissionFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
45
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
46
|
+
};
|
|
47
|
+
CollectionPermissionFormComponent = __decorate([
|
|
48
|
+
RegisterClass(BaseFormComponent, 'MJ: Collection Permissions') // Tell MemberJunction about this class
|
|
49
|
+
], CollectionPermissionFormComponent);
|
|
50
|
+
export { CollectionPermissionFormComponent };
|
|
51
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollectionPermissionFormComponent, [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'gen-collectionpermission-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Collection Permissions\" \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.content-margin {\n margin: 10px;\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"] }]
|
|
54
|
+
}], null, null); })();
|
|
55
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionPermissionFormComponent, { className: "CollectionPermissionFormComponent", filePath: "src/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.ts", lineNumber: 13 }); })();
|
|
56
|
+
export function LoadCollectionPermissionFormComponent() {
|
|
57
|
+
LoadCollectionPermissionDetailsComponent();
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=collectionpermission.form.component.js.map
|
package/dist/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectionpermission.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/CollectionPermission/collectionpermission.form.component.ts","../../../../../src/lib/generated/Entities/CollectionPermission/collectionpermission.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,wCAAwC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;ICHnF,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,qNAAe,0BAAmB,KAAC,0MAAqB,2BAAoB,KAAC;IAEtF,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,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,iBAAiB;wSAA3D,iCAAiC,SAAjC,iCAAiC;oEAAjC,iCAAiC;YCZ9C,8BAAqC;YACjC,oFAA0D;YAmB9D,iBAAM;;YAnBK,cAAY;YAAZ,iCAAY;;;ADWV,iCAAiC;IAN7C,aAAa,CAAC,iBAAiB,EAAE,4BAA4B,CAAC,CAAC,uCAAuC;GAM1F,iCAAiC,CAE7C;;iFAFY,iCAAiC;cAL7C,SAAS;2BACI,+BAA+B;;kFAIhC,iCAAiC;AAI9C,MAAM,UAAU,qCAAqC;IACjD,wCAAwC,EAAE,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { CollectionPermissionEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CollectionPermissionDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: CollectionPermissionEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionPermissionDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionPermissionDetailsComponent, "gen-collectionpermission-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadCollectionPermissionDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/CollectionPermission/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;;AAE3E,qBAqGa,oCAAqC,SAAQ,wBAAwB;IAC5D,MAAM,EAAG,0BAA0B,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,oCAAoC;2CAApC,oCAAoC;CAGhD;AAED,wBAAgB,wCAAwC,SAEvD"}
|