@memberjunction/ng-core-entity-forms 2.4.1 → 2.5.1
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/AIModel/aimodel.form.component.js +24 -13
- package/dist/lib/generated/Entities/AIModel/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +2 -2
- package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.js +195 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.js +99 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.js +126 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.js +94 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.js +148 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.js +115 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.js +126 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.js +106 -0
- package/dist/lib/generated/Entities/Template/template.form.component.js +2 -2
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +13 -4
- package/dist/lib/generated/generated-forms.module.d.ts +291 -264
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +394 -246
- package/package.json +11 -11
|
@@ -0,0 +1,83 @@
|
|
|
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 { LoadContentItemDetailsComponent } 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-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";
|
|
19
|
+
const _c0 = () => ({ EntityRelationshipID: "7377433E-F36B-1410-81E5-00554DDE13D1" });
|
|
20
|
+
const _c1 = () => ({ EntityRelationshipID: "7777433E-F36B-1410-81E5-00554DDE13D1" });
|
|
21
|
+
function ContentItemFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
23
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
24
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
25
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
26
|
+
i0.ɵɵlistener("TabSelected", function ContentItemFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
27
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
28
|
+
i0.ɵɵtext(5, " Details ");
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
31
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
34
|
+
i0.ɵɵtext(9, " Content Item Attributes ");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
37
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
40
|
+
i0.ɵɵtext(13, " Content Item Tags ");
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
43
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
44
|
+
i0.ɵɵelementEnd()()();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
47
|
+
i0.ɵɵadvance(2);
|
|
48
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
49
|
+
i0.ɵɵadvance(5);
|
|
50
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
51
|
+
i0.ɵɵadvance();
|
|
52
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(17, _c0));
|
|
53
|
+
i0.ɵɵadvance(3);
|
|
54
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Content Item Attributes"))("NewRecordValues", ctx_r1.NewRecordValues("Content Item Attributes"))("AllowLoad", ctx_r1.IsCurrentTab("Content Item Attributes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(18, _c1));
|
|
57
|
+
i0.ɵɵadvance(3);
|
|
58
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Content Item Tags"))("NewRecordValues", ctx_r1.NewRecordValues("Content Item Tags"))("AllowLoad", ctx_r1.IsCurrentTab("Content Item Tags"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
59
|
+
} }
|
|
60
|
+
let ContentItemFormComponent = class ContentItemFormComponent extends BaseFormComponent {
|
|
61
|
+
};
|
|
62
|
+
ContentItemFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentItemFormComponent_BaseFactory; return function ContentItemFormComponent_Factory(t) { return (ɵContentItemFormComponent_BaseFactory || (ɵContentItemFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentItemFormComponent)))(t || ContentItemFormComponent); }; })();
|
|
63
|
+
ContentItemFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentItemFormComponent, selectors: [["gen-contentitem-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"], ["Name", "Details"], ["Entity", "Content Items", "Section", "details", 3, "record", "EditMode"], ["Name", "Content Item Attributes", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Content Item Tags", 3, "Visible", "Props"]], template: function ContentItemFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
65
|
+
i0.ɵɵtemplate(1, ContentItemFormComponent_form_1_Template, 16, 19, "form", 2);
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
69
|
+
i0.ɵɵadvance();
|
|
70
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
71
|
+
} }, 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}"] });
|
|
72
|
+
ContentItemFormComponent = __decorate([
|
|
73
|
+
RegisterClass(BaseFormComponent, 'Content Items') // Tell MemberJunction about this class
|
|
74
|
+
], ContentItemFormComponent);
|
|
75
|
+
export { ContentItemFormComponent };
|
|
76
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentItemFormComponent, [{
|
|
77
|
+
type: Component,
|
|
78
|
+
args: [{ selector: 'gen-contentitem-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.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Content Items\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Content Item Attributes\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '7377433E-F36B-1410-81E5-00554DDE13D1'}\">\n Content Item Attributes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Item Attributes')\" \n [NewRecordValues]=\"NewRecordValues('Content Item Attributes')\"\n [AllowLoad]=\"IsCurrentTab('Content Item Attributes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Item Tags\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '7777433E-F36B-1410-81E5-00554DDE13D1'}\">\n Content Item Tags\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Item Tags')\" \n [NewRecordValues]=\"NewRecordValues('Content Item Tags')\"\n [AllowLoad]=\"IsCurrentTab('Content Item Tags')\" \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"] }]
|
|
79
|
+
}], null, null); })();
|
|
80
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentItemFormComponent, { className: "ContentItemFormComponent", filePath: "src/lib/generated/Entities/ContentItem/contentitem.form.component.ts", lineNumber: 14 }); })();
|
|
81
|
+
export function LoadContentItemFormComponent() {
|
|
82
|
+
LoadContentItemDetailsComponent();
|
|
83
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ContentItemEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentItemDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ContentItemEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentItemDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentItemDetailsComponent, "gen-contentitem-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadContentItemDetailsComponent(): 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/ContentItem/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBA4Ha,2BAA4B,SAAQ,wBAAwB;IACnD,MAAM,EAAG,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,2BAA2B;2CAA3B,2BAA2B;CAGvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -0,0 +1,195 @@
|
|
|
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 ContentItemDetailsComponent_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)(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);
|
|
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
|
+
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
|
+
} }
|
|
50
|
+
let ContentItemDetailsComponent = class ContentItemDetailsComponent extends BaseFormSectionComponent {
|
|
51
|
+
constructor() {
|
|
52
|
+
super(...arguments);
|
|
53
|
+
this.EditMode = false;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
ContentItemDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentItemDetailsComponent_BaseFactory; return function ContentItemDetailsComponent_Factory(t) { return (ɵContentItemDetailsComponent_BaseFactory || (ɵContentItemDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentItemDetailsComponent)))(t || ContentItemDetailsComponent); }; })();
|
|
57
|
+
ContentItemDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentItemDetailsComponent, selectors: [["gen-contentitem-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ContentSourceID", "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", "ContentTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentSourceTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentFileTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Checksum", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "URL", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Text", "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", "ContentSource", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentSourceType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentFileType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ContentItemDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵtemplate(0, ContentItemDetailsComponent_div_0_Template, 17, 45, "div", 0);
|
|
59
|
+
} if (rf & 2) {
|
|
60
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
61
|
+
} }, 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}"] });
|
|
62
|
+
ContentItemDetailsComponent = __decorate([
|
|
63
|
+
RegisterClass(BaseFormSectionComponent, 'Content Items.details') // Tell MemberJunction about this class
|
|
64
|
+
], ContentItemDetailsComponent);
|
|
65
|
+
export { ContentItemDetailsComponent };
|
|
66
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentItemDetailsComponent, [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{ selector: 'gen-contentitem-form-details', template: `<div *ngIf="this.record">
|
|
69
|
+
<div class="record-form">
|
|
70
|
+
<mj-form-field
|
|
71
|
+
[record]="record"
|
|
72
|
+
[ShowLabel]="true"
|
|
73
|
+
FieldName="ContentSourceID"
|
|
74
|
+
Type="textbox"
|
|
75
|
+
[EditMode]="EditMode"
|
|
76
|
+
LinkType="Record"
|
|
77
|
+
LinkComponentType="Search"
|
|
78
|
+
></mj-form-field>
|
|
79
|
+
<mj-form-field
|
|
80
|
+
[record]="record"
|
|
81
|
+
[ShowLabel]="true"
|
|
82
|
+
FieldName="Name"
|
|
83
|
+
Type="textarea"
|
|
84
|
+
[EditMode]="EditMode"
|
|
85
|
+
></mj-form-field>
|
|
86
|
+
<mj-form-field
|
|
87
|
+
[record]="record"
|
|
88
|
+
[ShowLabel]="true"
|
|
89
|
+
FieldName="Description"
|
|
90
|
+
Type="textarea"
|
|
91
|
+
[EditMode]="EditMode"
|
|
92
|
+
></mj-form-field>
|
|
93
|
+
<mj-form-field
|
|
94
|
+
[record]="record"
|
|
95
|
+
[ShowLabel]="true"
|
|
96
|
+
FieldName="ContentTypeID"
|
|
97
|
+
Type="textbox"
|
|
98
|
+
[EditMode]="EditMode"
|
|
99
|
+
LinkType="Record"
|
|
100
|
+
LinkComponentType="Search"
|
|
101
|
+
></mj-form-field>
|
|
102
|
+
<mj-form-field
|
|
103
|
+
[record]="record"
|
|
104
|
+
[ShowLabel]="true"
|
|
105
|
+
FieldName="ContentSourceTypeID"
|
|
106
|
+
Type="textbox"
|
|
107
|
+
[EditMode]="EditMode"
|
|
108
|
+
LinkType="Record"
|
|
109
|
+
LinkComponentType="Search"
|
|
110
|
+
></mj-form-field>
|
|
111
|
+
<mj-form-field
|
|
112
|
+
[record]="record"
|
|
113
|
+
[ShowLabel]="true"
|
|
114
|
+
FieldName="ContentFileTypeID"
|
|
115
|
+
Type="textbox"
|
|
116
|
+
[EditMode]="EditMode"
|
|
117
|
+
LinkType="Record"
|
|
118
|
+
LinkComponentType="Search"
|
|
119
|
+
></mj-form-field>
|
|
120
|
+
<mj-form-field
|
|
121
|
+
[record]="record"
|
|
122
|
+
[ShowLabel]="true"
|
|
123
|
+
FieldName="Checksum"
|
|
124
|
+
Type="textbox"
|
|
125
|
+
[EditMode]="EditMode"
|
|
126
|
+
></mj-form-field>
|
|
127
|
+
<mj-form-field
|
|
128
|
+
[record]="record"
|
|
129
|
+
[ShowLabel]="true"
|
|
130
|
+
FieldName="URL"
|
|
131
|
+
Type="textarea"
|
|
132
|
+
[EditMode]="EditMode"
|
|
133
|
+
></mj-form-field>
|
|
134
|
+
<mj-form-field
|
|
135
|
+
[record]="record"
|
|
136
|
+
[ShowLabel]="true"
|
|
137
|
+
FieldName="Text"
|
|
138
|
+
Type="textarea"
|
|
139
|
+
[EditMode]="EditMode"
|
|
140
|
+
></mj-form-field>
|
|
141
|
+
<mj-form-field
|
|
142
|
+
[record]="record"
|
|
143
|
+
[ShowLabel]="true"
|
|
144
|
+
FieldName="__mj_CreatedAt"
|
|
145
|
+
Type="textbox"
|
|
146
|
+
[EditMode]="EditMode"
|
|
147
|
+
></mj-form-field>
|
|
148
|
+
<mj-form-field
|
|
149
|
+
[record]="record"
|
|
150
|
+
[ShowLabel]="true"
|
|
151
|
+
FieldName="__mj_UpdatedAt"
|
|
152
|
+
Type="textbox"
|
|
153
|
+
[EditMode]="EditMode"
|
|
154
|
+
></mj-form-field>
|
|
155
|
+
<mj-form-field
|
|
156
|
+
[record]="record"
|
|
157
|
+
[ShowLabel]="true"
|
|
158
|
+
FieldName="ContentSource"
|
|
159
|
+
Type="textbox"
|
|
160
|
+
[EditMode]="EditMode"
|
|
161
|
+
></mj-form-field>
|
|
162
|
+
<mj-form-field
|
|
163
|
+
[record]="record"
|
|
164
|
+
[ShowLabel]="true"
|
|
165
|
+
FieldName="ContentType"
|
|
166
|
+
Type="textbox"
|
|
167
|
+
[EditMode]="EditMode"
|
|
168
|
+
></mj-form-field>
|
|
169
|
+
<mj-form-field
|
|
170
|
+
[record]="record"
|
|
171
|
+
[ShowLabel]="true"
|
|
172
|
+
FieldName="ContentSourceType"
|
|
173
|
+
Type="textbox"
|
|
174
|
+
[EditMode]="EditMode"
|
|
175
|
+
></mj-form-field>
|
|
176
|
+
<mj-form-field
|
|
177
|
+
[record]="record"
|
|
178
|
+
[ShowLabel]="true"
|
|
179
|
+
FieldName="ContentFileType"
|
|
180
|
+
Type="textbox"
|
|
181
|
+
[EditMode]="EditMode"
|
|
182
|
+
></mj-form-field>
|
|
183
|
+
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
`, 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"] }]
|
|
187
|
+
}], null, { record: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], EditMode: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}] }); })();
|
|
192
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentItemDetailsComponent, { className: "ContentItemDetailsComponent", filePath: "src/lib/generated/Entities/ContentItem/sections/details.component.ts", lineNumber: 130 }); })();
|
|
193
|
+
export function LoadContentItemDetailsComponent() {
|
|
194
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
195
|
+
}
|
package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ContentItemAttributeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentItemAttributeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ContentItemAttributeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentItemAttributeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentItemAttributeFormComponent, "gen-contentitemattribute-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadContentItemAttributeFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=contentitemattribute.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentitemattribute.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ContentItemAttribute/contentitemattribute.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/ContentItemAttribute/contentitemattribute.form.component.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
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 { LoadContentItemAttributeDetailsComponent } 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 ContentItemAttributeFormComponent_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 ContentItemAttributeFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
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 ContentItemAttributeFormComponent = class ContentItemAttributeFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
ContentItemAttributeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentItemAttributeFormComponent_BaseFactory; return function ContentItemAttributeFormComponent_Factory(t) { return (ɵContentItemAttributeFormComponent_BaseFactory || (ɵContentItemAttributeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentItemAttributeFormComponent)))(t || ContentItemAttributeFormComponent); }; })();
|
|
40
|
+
ContentItemAttributeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentItemAttributeFormComponent, selectors: [["gen-contentitemattribute-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"], ["Name", "Details"], ["Entity", "Content Item Attributes", "Section", "details", 3, "record", "EditMode"]], template: function ContentItemAttributeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, ContentItemAttributeFormComponent_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
|
+
ContentItemAttributeFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'Content Item Attributes') // Tell MemberJunction about this class
|
|
51
|
+
], ContentItemAttributeFormComponent);
|
|
52
|
+
export { ContentItemAttributeFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentItemAttributeFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-contentitemattribute-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.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Content Item Attributes\" \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(ContentItemAttributeFormComponent, { className: "ContentItemAttributeFormComponent", filePath: "src/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadContentItemAttributeFormComponent() {
|
|
59
|
+
LoadContentItemAttributeDetailsComponent();
|
|
60
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ContentItemAttributeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentItemAttributeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ContentItemAttributeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentItemAttributeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentItemAttributeDetailsComponent, "gen-contentitemattribute-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadContentItemAttributeDetailsComponent(): 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/ContentItemAttribute/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,qBAuDa,oCAAqC,SAAQ,wBAAwB;IAC5D,MAAM,EAAG,0BAA0B,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,oCAAoC;2CAApC,oCAAoC;CAGhD;AAED,wBAAgB,wCAAwC,SAEvD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 ContentItemAttributeDetailsComponent_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);
|
|
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
|
+
} }
|
|
32
|
+
let ContentItemAttributeDetailsComponent = class ContentItemAttributeDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
ContentItemAttributeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentItemAttributeDetailsComponent_BaseFactory; return function ContentItemAttributeDetailsComponent_Factory(t) { return (ɵContentItemAttributeDetailsComponent_BaseFactory || (ɵContentItemAttributeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentItemAttributeDetailsComponent)))(t || ContentItemAttributeDetailsComponent); }; })();
|
|
39
|
+
ContentItemAttributeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentItemAttributeDetailsComponent, selectors: [["gen-contentitemattribute-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ContentItemID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Value", "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", "ContentItem", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ContentItemAttributeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, ContentItemAttributeDetailsComponent_div_0_Template, 8, 18, "div", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
43
|
+
} }, 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}"] });
|
|
44
|
+
ContentItemAttributeDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'Content Item Attributes.details') // Tell MemberJunction about this class
|
|
46
|
+
], ContentItemAttributeDetailsComponent);
|
|
47
|
+
export { ContentItemAttributeDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentItemAttributeDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-contentitemattribute-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="ContentItemID"
|
|
56
|
+
Type="textbox"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
LinkType="Record"
|
|
59
|
+
LinkComponentType="Search"
|
|
60
|
+
></mj-form-field>
|
|
61
|
+
<mj-form-field
|
|
62
|
+
[record]="record"
|
|
63
|
+
[ShowLabel]="true"
|
|
64
|
+
FieldName="Name"
|
|
65
|
+
Type="textbox"
|
|
66
|
+
[EditMode]="EditMode"
|
|
67
|
+
></mj-form-field>
|
|
68
|
+
<mj-form-field
|
|
69
|
+
[record]="record"
|
|
70
|
+
[ShowLabel]="true"
|
|
71
|
+
FieldName="Value"
|
|
72
|
+
Type="textarea"
|
|
73
|
+
[EditMode]="EditMode"
|
|
74
|
+
></mj-form-field>
|
|
75
|
+
<mj-form-field
|
|
76
|
+
[record]="record"
|
|
77
|
+
[ShowLabel]="true"
|
|
78
|
+
FieldName="__mj_CreatedAt"
|
|
79
|
+
Type="textbox"
|
|
80
|
+
[EditMode]="EditMode"
|
|
81
|
+
></mj-form-field>
|
|
82
|
+
<mj-form-field
|
|
83
|
+
[record]="record"
|
|
84
|
+
[ShowLabel]="true"
|
|
85
|
+
FieldName="__mj_UpdatedAt"
|
|
86
|
+
Type="textbox"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="ContentItem"
|
|
93
|
+
Type="textbox"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
></mj-form-field>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
`, 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"] }]
|
|
100
|
+
}], null, { record: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], EditMode: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] }); })();
|
|
105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentItemAttributeDetailsComponent, { className: "ContentItemAttributeDetailsComponent", filePath: "src/lib/generated/Entities/ContentItemAttribute/sections/details.component.ts", lineNumber: 61 }); })();
|
|
106
|
+
export function LoadContentItemAttributeDetailsComponent() {
|
|
107
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
108
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ContentItemTagEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentItemTagFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ContentItemTagEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentItemTagFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentItemTagFormComponent, "gen-contentitemtag-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadContentItemTagFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=contentitemtag.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentitemtag.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;yCAD5B,2BAA2B;2CAA3B,2BAA2B;CAEvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { LoadContentItemTagDetailsComponent } 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 ContentItemTagFormComponent_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 ContentItemTagFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
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 ContentItemTagFormComponent = class ContentItemTagFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
ContentItemTagFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentItemTagFormComponent_BaseFactory; return function ContentItemTagFormComponent_Factory(t) { return (ɵContentItemTagFormComponent_BaseFactory || (ɵContentItemTagFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentItemTagFormComponent)))(t || ContentItemTagFormComponent); }; })();
|
|
40
|
+
ContentItemTagFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentItemTagFormComponent, selectors: [["gen-contentitemtag-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"], ["Name", "Details"], ["Entity", "Content Item Tags", "Section", "details", 3, "record", "EditMode"]], template: function ContentItemTagFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, ContentItemTagFormComponent_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
|
+
ContentItemTagFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'Content Item Tags') // Tell MemberJunction about this class
|
|
51
|
+
], ContentItemTagFormComponent);
|
|
52
|
+
export { ContentItemTagFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentItemTagFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-contentitemtag-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.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Content Item Tags\" \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(ContentItemTagFormComponent, { className: "ContentItemTagFormComponent", filePath: "src/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadContentItemTagFormComponent() {
|
|
59
|
+
LoadContentItemTagDetailsComponent();
|
|
60
|
+
}
|