@memberjunction/ng-core-entity-forms 1.5.2 → 1.6.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.
Files changed (200) hide show
  1. package/dist/lib/custom/Entities/entities-form.component.js +38 -38
  2. package/dist/lib/generated/Entities/AIAction/aiaction.form.component.js +14 -14
  3. package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +20 -20
  4. package/dist/lib/generated/Entities/AIModelAction/aimodelaction.form.component.js +10 -10
  5. package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +12 -12
  6. package/dist/lib/generated/Entities/Action/action.form.component.js +30 -30
  7. package/dist/lib/generated/Entities/Action/sections/code.component.js +2 -2
  8. package/dist/lib/generated/Entities/ActionAuthorization/actionauthorization.form.component.js +10 -10
  9. package/dist/lib/generated/Entities/ActionCategory/actioncategory.form.component.js +14 -14
  10. package/dist/lib/generated/Entities/ActionContext/actioncontext.form.component.js +10 -10
  11. package/dist/lib/generated/Entities/ActionContextType/actioncontexttype.form.component.js +12 -12
  12. package/dist/lib/generated/Entities/ActionExecutionLog/actionexecutionlog.form.component.js +10 -10
  13. package/dist/lib/generated/Entities/ActionFilter/actionfilter.form.component.js +12 -12
  14. package/dist/lib/generated/Entities/ActionLibrary/actionlibrary.form.component.js +10 -10
  15. package/dist/lib/generated/Entities/ActionParam/actionparam.form.component.js +10 -10
  16. package/dist/lib/generated/Entities/ActionResultCode/actionresultcode.form.component.js +10 -10
  17. package/dist/lib/generated/Entities/Application/application.form.component.js +16 -16
  18. package/dist/lib/generated/Entities/ApplicationEntity/applicationentity.form.component.js +10 -10
  19. package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.js +10 -10
  20. package/dist/lib/generated/Entities/AuditLog/auditlog.form.component.js +10 -10
  21. package/dist/lib/generated/Entities/AuditLogType/auditlogtype.form.component.js +14 -14
  22. package/dist/lib/generated/Entities/Authorization/authorization.form.component.js +20 -20
  23. package/dist/lib/generated/Entities/AuthorizationRole/authorizationrole.form.component.js +10 -10
  24. package/dist/lib/generated/Entities/CommunicationBaseMessageType/communicationbasemessagetype.form.component.js +24 -13
  25. package/dist/lib/generated/Entities/CommunicationLog/communicationlog.form.component.js +10 -10
  26. package/dist/lib/generated/Entities/CommunicationProvider/communicationprovider.form.component.js +14 -14
  27. package/dist/lib/generated/Entities/CommunicationProviderMessageType/communicationprovidermessagetype.form.component.js +12 -12
  28. package/dist/lib/generated/Entities/CommunicationRun/communicationrun.form.component.js +12 -12
  29. package/dist/lib/generated/Entities/CommunicationRun/sections/details.component.d.ts.map +1 -1
  30. package/dist/lib/generated/Entities/CommunicationRun/sections/details.component.js +22 -4
  31. package/dist/lib/generated/Entities/Company/company.form.component.js +16 -16
  32. package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +26 -26
  33. package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/companyintegrationrecordmap.form.component.js +10 -10
  34. package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js +16 -16
  35. package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js +10 -10
  36. package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js +12 -12
  37. package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +14 -14
  38. package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +12 -12
  39. package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +10 -10
  40. package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +14 -14
  41. package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +14 -14
  42. package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +10 -10
  43. package/dist/lib/generated/Entities/Dataset/dataset.form.component.js +12 -12
  44. package/dist/lib/generated/Entities/DatasetItem/datasetitem.form.component.js +10 -10
  45. package/dist/lib/generated/Entities/DuplicateRun/duplicaterun.form.component.js +12 -12
  46. package/dist/lib/generated/Entities/DuplicateRunDetail/duplicaterundetail.form.component.js +12 -12
  47. package/dist/lib/generated/Entities/DuplicateRunDetailMatch/duplicaterundetailmatch.form.component.js +10 -10
  48. package/dist/lib/generated/Entities/Employee/employee.form.component.js +24 -24
  49. package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js +10 -10
  50. package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js +10 -10
  51. package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js +10 -10
  52. package/dist/lib/generated/Entities/Entity/entity.form.component.js +128 -84
  53. package/dist/lib/generated/Entities/Entity/sections/details.component.d.ts.map +1 -1
  54. package/dist/lib/generated/Entities/Entity/sections/details.component.js +13 -4
  55. package/dist/lib/generated/Entities/EntityAIAction/entityaiaction.form.component.js +10 -10
  56. package/dist/lib/generated/Entities/EntityAction/entityaction.form.component.js +14 -14
  57. package/dist/lib/generated/Entities/EntityActionFilter/entityactionfilter.form.component.js +10 -10
  58. package/dist/lib/generated/Entities/EntityActionInvocation/entityactioninvocation.form.component.js +10 -10
  59. package/dist/lib/generated/Entities/EntityActionInvocationType/entityactioninvocationtype.form.component.js +12 -12
  60. package/dist/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.js +10 -10
  61. package/dist/lib/generated/Entities/EntityBehaviorType/entitybehaviortype.form.component.js +12 -12
  62. package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.d.ts +10 -0
  63. package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.d.ts.map +1 -0
  64. package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.js +60 -0
  65. package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.d.ts +11 -0
  66. package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.d.ts.map +1 -0
  67. package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.js +98 -0
  68. package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.d.ts +10 -0
  69. package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.d.ts.map +1 -0
  70. package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.js +72 -0
  71. package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.d.ts +11 -0
  72. package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.d.ts.map +1 -0
  73. package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.js +117 -0
  74. package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +14 -14
  75. package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +10 -10
  76. package/dist/lib/generated/Entities/EntityDocumentSetting/entitydocumentsetting.form.component.js +10 -10
  77. package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +12 -12
  78. package/dist/lib/generated/Entities/EntityField/entityfield.form.component.js +12 -12
  79. package/dist/lib/generated/Entities/EntityFieldValue/entityfieldvalue.form.component.js +10 -10
  80. package/dist/lib/generated/Entities/EntityPermission/entitypermission.form.component.js +10 -10
  81. package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +10 -10
  82. package/dist/lib/generated/Entities/EntityRelationship/entityrelationship.form.component.js +10 -10
  83. package/dist/lib/generated/Entities/EntitySetting/entitysetting.form.component.js +10 -10
  84. package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js +10 -10
  85. package/dist/lib/generated/Entities/File/file.form.component.js +12 -12
  86. package/dist/lib/generated/Entities/FileCategory/filecategory.form.component.js +14 -14
  87. package/dist/lib/generated/Entities/FileEntityRecordLink/fileentityrecordlink.form.component.js +10 -10
  88. package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +12 -12
  89. package/dist/lib/generated/Entities/Integration/integration.form.component.js +14 -14
  90. package/dist/lib/generated/Entities/IntegrationURLFormat/integrationurlformat.form.component.js +10 -10
  91. package/dist/lib/generated/Entities/Library/library.form.component.js +12 -12
  92. package/dist/lib/generated/Entities/Library/sections/details.component.js +2 -2
  93. package/dist/lib/generated/Entities/List/list.form.component.js +14 -14
  94. package/dist/lib/generated/Entities/ListCategory/listcategory.form.component.js +10 -10
  95. package/dist/lib/generated/Entities/ListDetail/listdetail.form.component.js +10 -10
  96. package/dist/lib/generated/Entities/OutputDeliveryType/outputdeliverytype.form.component.js +12 -12
  97. package/dist/lib/generated/Entities/OutputFormatType/outputformattype.form.component.js +12 -12
  98. package/dist/lib/generated/Entities/OutputTriggerType/outputtriggertype.form.component.js +12 -12
  99. package/dist/lib/generated/Entities/Query/query.form.component.js +16 -16
  100. package/dist/lib/generated/Entities/QueryCategory/querycategory.form.component.js +14 -14
  101. package/dist/lib/generated/Entities/QueryField/queryfield.form.component.js +10 -10
  102. package/dist/lib/generated/Entities/QueryPermission/querypermission.form.component.js +10 -10
  103. package/dist/lib/generated/Entities/Queue/queue.form.component.js +12 -12
  104. package/dist/lib/generated/Entities/QueueTask/queuetask.form.component.js +10 -10
  105. package/dist/lib/generated/Entities/QueueType/queuetype.form.component.js +12 -12
  106. package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.d.ts +10 -0
  107. package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.d.ts.map +1 -0
  108. package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.js +72 -0
  109. package/dist/lib/generated/Entities/Recommendation/sections/details.component.d.ts +11 -0
  110. package/dist/lib/generated/Entities/Recommendation/sections/details.component.d.ts.map +1 -0
  111. package/dist/lib/generated/Entities/Recommendation/sections/details.component.js +108 -0
  112. package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.d.ts +10 -0
  113. package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.d.ts.map +1 -0
  114. package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.js +60 -0
  115. package/dist/lib/generated/Entities/RecommendationItem/sections/details.component.d.ts +11 -0
  116. package/dist/lib/generated/Entities/RecommendationItem/sections/details.component.d.ts.map +1 -0
  117. package/dist/lib/generated/Entities/{CommunicationTemplate → RecommendationItem}/sections/details.component.js +24 -23
  118. package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.d.ts +10 -0
  119. package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.d.ts.map +1 -0
  120. package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.js +72 -0
  121. package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.d.ts +11 -0
  122. package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.d.ts.map +1 -0
  123. package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.js +88 -0
  124. package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.d.ts +10 -0
  125. package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.d.ts.map +1 -0
  126. package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.js +72 -0
  127. package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.d.ts +11 -0
  128. package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.d.ts.map +1 -0
  129. package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.js +144 -0
  130. package/dist/lib/generated/Entities/RecordChange/recordchange.form.component.js +10 -10
  131. package/dist/lib/generated/Entities/RecordMergeDeletionLog/recordmergedeletionlog.form.component.js +10 -10
  132. package/dist/lib/generated/Entities/RecordMergeLog/recordmergelog.form.component.js +14 -14
  133. package/dist/lib/generated/Entities/Report/report.form.component.js +12 -12
  134. package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +14 -14
  135. package/dist/lib/generated/Entities/ReportSnapshot/reportsnapshot.form.component.js +10 -10
  136. package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +12 -12
  137. package/dist/lib/generated/Entities/Role/role.form.component.js +20 -20
  138. package/dist/lib/generated/Entities/RowLevelSecurityFilter/rowlevelsecurityfilter.form.component.js +12 -12
  139. package/dist/lib/generated/Entities/SchemaInfo/schemainfo.form.component.js +10 -10
  140. package/dist/lib/generated/Entities/Skill/skill.form.component.js +14 -14
  141. package/dist/lib/generated/Entities/Tag/tag.form.component.js +14 -14
  142. package/dist/lib/generated/Entities/TaggedItem/taggeditem.form.component.js +10 -10
  143. package/dist/lib/generated/Entities/Template/sections/details.component.d.ts +11 -0
  144. package/dist/lib/generated/Entities/Template/sections/details.component.d.ts.map +1 -0
  145. package/dist/lib/generated/Entities/Template/sections/details.component.js +162 -0
  146. package/dist/lib/generated/Entities/Template/template.form.component.d.ts +10 -0
  147. package/dist/lib/generated/Entities/Template/template.form.component.d.ts.map +1 -0
  148. package/dist/lib/generated/Entities/Template/template.form.component.js +83 -0
  149. package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.d.ts +11 -0
  150. package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.d.ts.map +1 -0
  151. package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.js +126 -0
  152. package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.d.ts +10 -0
  153. package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.d.ts.map +1 -0
  154. package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.js +83 -0
  155. package/dist/lib/generated/Entities/TemplateContent/sections/details.component.d.ts +11 -0
  156. package/dist/lib/generated/Entities/TemplateContent/sections/details.component.d.ts.map +1 -0
  157. package/dist/lib/generated/Entities/TemplateContent/sections/details.component.js +135 -0
  158. package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.d.ts +10 -0
  159. package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.d.ts.map +1 -0
  160. package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.js +60 -0
  161. package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.d.ts +11 -0
  162. package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.d.ts.map +1 -0
  163. package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.js +88 -0
  164. package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.d.ts +10 -0
  165. package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.d.ts.map +1 -0
  166. package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.js +72 -0
  167. package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts +11 -0
  168. package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -0
  169. package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +162 -0
  170. package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.d.ts +10 -0
  171. package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.d.ts.map +1 -0
  172. package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.js +60 -0
  173. package/dist/lib/generated/Entities/User/user.form.component.js +96 -63
  174. package/dist/lib/generated/Entities/UserApplication/userapplication.form.component.js +12 -12
  175. package/dist/lib/generated/Entities/UserApplicationEntity/userapplicationentity.form.component.js +10 -10
  176. package/dist/lib/generated/Entities/UserFavorite/userfavorite.form.component.js +10 -10
  177. package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +10 -10
  178. package/dist/lib/generated/Entities/UserRecordLog/userrecordlog.form.component.js +10 -10
  179. package/dist/lib/generated/Entities/UserRole/userrole.form.component.js +10 -10
  180. package/dist/lib/generated/Entities/UserView/userview.form.component.js +16 -16
  181. package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +14 -14
  182. package/dist/lib/generated/Entities/UserViewRun/userviewrun.form.component.js +12 -12
  183. package/dist/lib/generated/Entities/UserViewRunDetail/userviewrundetail.form.component.js +10 -10
  184. package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +14 -14
  185. package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +10 -10
  186. package/dist/lib/generated/Entities/VersionInstallation/versioninstallation.form.component.js +10 -10
  187. package/dist/lib/generated/Entities/Workflow/workflow.form.component.js +14 -14
  188. package/dist/lib/generated/Entities/WorkflowEngine/workflowengine.form.component.js +12 -12
  189. package/dist/lib/generated/Entities/WorkflowRun/workflowrun.form.component.js +10 -10
  190. package/dist/lib/generated/Entities/Workspace/workspace.form.component.js +12 -12
  191. package/dist/lib/generated/Entities/WorkspaceItem/workspaceitem.form.component.js +10 -10
  192. package/dist/lib/generated/generated-forms.module.d.ts +166 -141
  193. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  194. package/dist/lib/generated/generated-forms.module.js +289 -152
  195. package/package.json +17 -17
  196. package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.d.ts +0 -10
  197. package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.d.ts.map +0 -1
  198. package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.js +0 -72
  199. package/dist/lib/generated/Entities/CommunicationTemplate/sections/details.component.d.ts +0 -11
  200. package/dist/lib/generated/Entities/CommunicationTemplate/sections/details.component.d.ts.map +0 -1
@@ -0,0 +1,10 @@
1
+ import { TemplateCategoryEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateCategoryFormComponent extends BaseFormComponent {
5
+ record: TemplateCategoryEntity;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateCategoryFormComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateCategoryFormComponent, "gen-templatecategory-form", never, {}, {}, never, never, false, never>;
8
+ }
9
+ export declare function LoadTemplateCategoryFormComponent(): void;
10
+ //# sourceMappingURL=templatecategory.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templatecategory.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/TemplateCategory/templatecategory.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,6BAA8B,SAAQ,iBAAiB;IACzD,MAAM,EAAG,sBAAsB,CAAC;yCAD9B,6BAA6B;2CAA7B,6BAA6B;CAEzC;AAED,wBAAgB,iCAAiC,SAEhD"}
@@ -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 { LoadTemplateCategoryDetailsComponent } 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: 278 });
20
+ const _c1 = () => ({ EntityRelationshipID: 279 });
21
+ function TemplateCategoryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
22
+ const _r1 = i0.ɵɵgetCurrentView();
23
+ i0.ɵɵelementStart(0, "form", 4, 0);
24
+ i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
25
+ i0.ɵɵelementStart(5, "mj-tabstrip", 7);
26
+ i0.ɵɵlistener("TabSelected", function TemplateCategoryFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
27
+ i0.ɵɵelementStart(6, "mj-tab", 8);
28
+ i0.ɵɵtext(7, " Details ");
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementStart(8, "mj-tab-body");
31
+ i0.ɵɵelement(9, "mj-form-section", 9);
32
+ i0.ɵɵelementEnd();
33
+ i0.ɵɵelementStart(10, "mj-tab", 10);
34
+ i0.ɵɵtext(11, " Templates ");
35
+ i0.ɵɵelementEnd();
36
+ i0.ɵɵelementStart(12, "mj-tab-body");
37
+ i0.ɵɵelement(13, "mj-user-view-grid", 11);
38
+ i0.ɵɵelementEnd();
39
+ i0.ɵɵelementStart(14, "mj-tab", 12);
40
+ i0.ɵɵtext(15, " Template Categories ");
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵelementStart(16, "mj-tab-body");
43
+ i0.ɵɵelement(17, "mj-user-view-grid", 11);
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(7);
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("Templates"))("NewRecordValues", ctx_r1.NewRecordValues("Templates"))("AllowLoad", ctx_r1.IsCurrentTab("Templates"))("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("Template Categories"))("NewRecordValues", ctx_r1.NewRecordValues("Template Categories"))("AllowLoad", ctx_r1.IsCurrentTab("Template Categories"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
59
+ } }
60
+ let TemplateCategoryFormComponent = class TemplateCategoryFormComponent extends BaseFormComponent {
61
+ };
62
+ TemplateCategoryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateCategoryFormComponent_BaseFactory; return function TemplateCategoryFormComponent_Factory(t) { return (ɵTemplateCategoryFormComponent_BaseFactory || (ɵTemplateCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateCategoryFormComponent)))(t || TemplateCategoryFormComponent); }; })();
63
+ TemplateCategoryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateCategoryFormComponent, selectors: [["gen-templatecategory-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], [1, "record-form-group"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Template Categories", "Section", "details", 3, "record", "EditMode"], ["Name", "Templates", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Template Categories", 3, "Visible", "Props"]], template: function TemplateCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
64
+ i0.ɵɵelementStart(0, "div", 2);
65
+ i0.ɵɵtemplate(1, TemplateCategoryFormComponent_form_1_Template, 18, 19, "form", 3);
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.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
+ TemplateCategoryFormComponent = __decorate([
73
+ RegisterClass(BaseFormComponent, 'Template Categories') // Tell MemberJunction about this class
74
+ ], TemplateCategoryFormComponent);
75
+ export { TemplateCategoryFormComponent };
76
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateCategoryFormComponent, [{
77
+ type: Component,
78
+ args: [{ selector: 'gen-templatecategory-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Template Categories\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Templates\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 278}\">\n Templates\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Templates')\" \n [NewRecordValues]=\"NewRecordValues('Templates')\"\n [AllowLoad]=\"IsCurrentTab('Templates')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n\n <mj-tab Name=\"Template Categories\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 279}\">\n Template Categories\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Categories')\" \n [NewRecordValues]=\"NewRecordValues('Template Categories')\"\n [AllowLoad]=\"IsCurrentTab('Template Categories')\" \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.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(TemplateCategoryFormComponent, { className: "TemplateCategoryFormComponent", filePath: "src/lib/generated/Entities/TemplateCategory/templatecategory.form.component.ts", lineNumber: 12 }); })();
81
+ export function LoadTemplateCategoryFormComponent() {
82
+ LoadTemplateCategoryDetailsComponent();
83
+ }
@@ -0,0 +1,11 @@
1
+ import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
2
+ import { TemplateContentEntity } from '@memberjunction/core-entities';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateContentDetailsComponent extends BaseFormSectionComponent {
5
+ record: TemplateContentEntity;
6
+ EditMode: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContentDetailsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentDetailsComponent, "gen-templatecontent-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadTemplateContentDetailsComponent(): 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/TemplateContent/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;AAEtE,qBA4Ea,+BAAgC,SAAQ,wBAAwB;IACvD,MAAM,EAAG,qBAAqB,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,+BAA+B;2CAA/B,+BAA+B;CAG3C;AAED,wBAAgB,mCAAmC,SAElD"}
@@ -0,0 +1,135 @@
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 TemplateContentDetailsComponent_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);
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
+ } }
38
+ let TemplateContentDetailsComponent = class TemplateContentDetailsComponent extends BaseFormSectionComponent {
39
+ constructor() {
40
+ super(...arguments);
41
+ this.EditMode = false;
42
+ }
43
+ };
44
+ TemplateContentDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateContentDetailsComponent_BaseFactory; return function TemplateContentDetailsComponent_Factory(t) { return (ɵTemplateContentDetailsComponent_BaseFactory || (ɵTemplateContentDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateContentDetailsComponent)))(t || TemplateContentDetailsComponent); }; })();
45
+ TemplateContentDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateContentDetailsComponent, selectors: [["gen-templatecontent-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "TemplateID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TypeID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TemplateText", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Priority", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function TemplateContentDetailsComponent_Template(rf, ctx) { if (rf & 1) {
46
+ i0.ɵɵtemplate(0, TemplateContentDetailsComponent_div_0_Template, 11, 27, "div", 0);
47
+ } if (rf & 2) {
48
+ i0.ɵɵproperty("ngIf", ctx.record);
49
+ } }, 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.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}"] });
50
+ TemplateContentDetailsComponent = __decorate([
51
+ RegisterClass(BaseFormSectionComponent, 'Template Contents.details') // Tell MemberJunction about this class
52
+ ], TemplateContentDetailsComponent);
53
+ export { TemplateContentDetailsComponent };
54
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateContentDetailsComponent, [{
55
+ type: Component,
56
+ args: [{ selector: 'gen-templatecontent-form-details', template: `<div *ngIf="this.record">
57
+ <div class="record-form">
58
+ <mj-form-field
59
+ [record]="record"
60
+ [ShowLabel]="true"
61
+ FieldName="TemplateID"
62
+ Type="numerictextbox"
63
+ [EditMode]="EditMode"
64
+ LinkType="Record"
65
+ ></mj-form-field>
66
+ <mj-form-field
67
+ [record]="record"
68
+ [ShowLabel]="true"
69
+ FieldName="TypeID"
70
+ Type="numerictextbox"
71
+ [EditMode]="EditMode"
72
+ LinkType="Record"
73
+ ></mj-form-field>
74
+ <mj-form-field
75
+ [record]="record"
76
+ [ShowLabel]="true"
77
+ FieldName="TemplateText"
78
+ Type="textarea"
79
+ [EditMode]="EditMode"
80
+ ></mj-form-field>
81
+ <mj-form-field
82
+ [record]="record"
83
+ [ShowLabel]="true"
84
+ FieldName="Priority"
85
+ Type="numerictextbox"
86
+ [EditMode]="EditMode"
87
+ ></mj-form-field>
88
+ <mj-form-field
89
+ [record]="record"
90
+ [ShowLabel]="true"
91
+ FieldName="IsActive"
92
+ Type="checkbox"
93
+ [EditMode]="EditMode"
94
+ ></mj-form-field>
95
+ <mj-form-field
96
+ [record]="record"
97
+ [ShowLabel]="true"
98
+ FieldName="CreatedAt"
99
+ Type="textbox"
100
+ [EditMode]="EditMode"
101
+ ></mj-form-field>
102
+ <mj-form-field
103
+ [record]="record"
104
+ [ShowLabel]="true"
105
+ FieldName="UpdatedAt"
106
+ Type="textbox"
107
+ [EditMode]="EditMode"
108
+ ></mj-form-field>
109
+ <mj-form-field
110
+ [record]="record"
111
+ [ShowLabel]="true"
112
+ FieldName="Template"
113
+ Type="textbox"
114
+ [EditMode]="EditMode"
115
+ ></mj-form-field>
116
+ <mj-form-field
117
+ [record]="record"
118
+ [ShowLabel]="true"
119
+ FieldName="Type"
120
+ Type="textbox"
121
+ [EditMode]="EditMode"
122
+ ></mj-form-field>
123
+
124
+ </div>
125
+ </div>
126
+ `, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\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"] }]
127
+ }], null, { record: [{
128
+ type: Input
129
+ }], EditMode: [{
130
+ type: Input
131
+ }] }); })();
132
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateContentDetailsComponent, { className: "TemplateContentDetailsComponent", filePath: "src/lib/generated/Entities/TemplateContent/sections/details.component.ts", lineNumber: 82 }); })();
133
+ export function LoadTemplateContentDetailsComponent() {
134
+ // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
135
+ }
@@ -0,0 +1,10 @@
1
+ import { TemplateContentEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateContentFormComponent extends BaseFormComponent {
5
+ record: TemplateContentEntity;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContentFormComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentFormComponent, "gen-templatecontent-form", never, {}, {}, never, never, false, never>;
8
+ }
9
+ export declare function LoadTemplateContentFormComponent(): void;
10
+ //# sourceMappingURL=templatecontent.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templatecontent.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/TemplateContent/templatecontent.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,4BAA6B,SAAQ,iBAAiB;IACxD,MAAM,EAAG,qBAAqB,CAAC;yCAD7B,4BAA4B;2CAA5B,4BAA4B;CAExC;AAED,wBAAgB,gCAAgC,SAE/C"}
@@ -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 { LoadTemplateContentDetailsComponent } 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 TemplateContentFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
19
+ const _r1 = i0.ɵɵgetCurrentView();
20
+ i0.ɵɵelementStart(0, "form", 4, 0);
21
+ i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
22
+ i0.ɵɵelementStart(5, "mj-tabstrip", 7);
23
+ i0.ɵɵlistener("TabSelected", function TemplateContentFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
24
+ i0.ɵɵelementStart(6, "mj-tab", 8);
25
+ i0.ɵɵtext(7, " Details ");
26
+ i0.ɵɵelementEnd();
27
+ i0.ɵɵelementStart(8, "mj-tab-body");
28
+ i0.ɵɵelement(9, "mj-form-section", 9);
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(7);
35
+ i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
36
+ } }
37
+ let TemplateContentFormComponent = class TemplateContentFormComponent extends BaseFormComponent {
38
+ };
39
+ TemplateContentFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateContentFormComponent_BaseFactory; return function TemplateContentFormComponent_Factory(t) { return (ɵTemplateContentFormComponent_BaseFactory || (ɵTemplateContentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateContentFormComponent)))(t || TemplateContentFormComponent); }; })();
40
+ TemplateContentFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateContentFormComponent, selectors: [["gen-templatecontent-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], [1, "record-form-group"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Template Contents", "Section", "details", 3, "record", "EditMode"]], template: function TemplateContentFormComponent_Template(rf, ctx) { if (rf & 1) {
41
+ i0.ɵɵelementStart(0, "div", 2);
42
+ i0.ɵɵtemplate(1, TemplateContentFormComponent_form_1_Template, 10, 3, "form", 3);
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.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
+ TemplateContentFormComponent = __decorate([
50
+ RegisterClass(BaseFormComponent, 'Template Contents') // Tell MemberJunction about this class
51
+ ], TemplateContentFormComponent);
52
+ export { TemplateContentFormComponent };
53
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateContentFormComponent, [{
54
+ type: Component,
55
+ args: [{ selector: 'gen-templatecontent-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Template Contents\" \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.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(TemplateContentFormComponent, { className: "TemplateContentFormComponent", filePath: "src/lib/generated/Entities/TemplateContent/templatecontent.form.component.ts", lineNumber: 12 }); })();
58
+ export function LoadTemplateContentFormComponent() {
59
+ LoadTemplateContentDetailsComponent();
60
+ }
@@ -0,0 +1,11 @@
1
+ import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
2
+ import { TemplateContentTypeEntity } from '@memberjunction/core-entities';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateContentTypeDetailsComponent extends BaseFormSectionComponent {
5
+ record: TemplateContentTypeEntity;
6
+ EditMode: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContentTypeDetailsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentTypeDetailsComponent, "gen-templatecontenttype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadTemplateContentTypeDetailsComponent(): 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/TemplateContentType/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;;AAE1E,qBAuCa,mCAAoC,SAAQ,wBAAwB;IAC3D,MAAM,EAAG,yBAAyB,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,mCAAmC;2CAAnC,mCAAmC;CAG/C;AAED,wBAAgB,uCAAuC,SAEtD"}
@@ -0,0 +1,88 @@
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 TemplateContentTypeDetailsComponent_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);
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
+ } }
28
+ let TemplateContentTypeDetailsComponent = class TemplateContentTypeDetailsComponent extends BaseFormSectionComponent {
29
+ constructor() {
30
+ super(...arguments);
31
+ this.EditMode = false;
32
+ }
33
+ };
34
+ TemplateContentTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateContentTypeDetailsComponent_BaseFactory; return function TemplateContentTypeDetailsComponent_Factory(t) { return (ɵTemplateContentTypeDetailsComponent_BaseFactory || (ɵTemplateContentTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateContentTypeDetailsComponent)))(t || TemplateContentTypeDetailsComponent); }; })();
35
+ TemplateContentTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateContentTypeDetailsComponent, selectors: [["gen-templatecontenttype-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function TemplateContentTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵtemplate(0, TemplateContentTypeDetailsComponent_div_0_Template, 6, 12, "div", 0);
37
+ } if (rf & 2) {
38
+ i0.ɵɵproperty("ngIf", ctx.record);
39
+ } }, 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.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}"] });
40
+ TemplateContentTypeDetailsComponent = __decorate([
41
+ RegisterClass(BaseFormSectionComponent, 'Template Content Types.details') // Tell MemberJunction about this class
42
+ ], TemplateContentTypeDetailsComponent);
43
+ export { TemplateContentTypeDetailsComponent };
44
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateContentTypeDetailsComponent, [{
45
+ type: Component,
46
+ args: [{ selector: 'gen-templatecontenttype-form-details', template: `<div *ngIf="this.record">
47
+ <div class="record-form">
48
+ <mj-form-field
49
+ [record]="record"
50
+ [ShowLabel]="true"
51
+ FieldName="Name"
52
+ Type="textarea"
53
+ [EditMode]="EditMode"
54
+ ></mj-form-field>
55
+ <mj-form-field
56
+ [record]="record"
57
+ [ShowLabel]="true"
58
+ FieldName="Description"
59
+ Type="textarea"
60
+ [EditMode]="EditMode"
61
+ ></mj-form-field>
62
+ <mj-form-field
63
+ [record]="record"
64
+ [ShowLabel]="true"
65
+ FieldName="CreatedAt"
66
+ Type="textbox"
67
+ [EditMode]="EditMode"
68
+ ></mj-form-field>
69
+ <mj-form-field
70
+ [record]="record"
71
+ [ShowLabel]="true"
72
+ FieldName="UpdatedAt"
73
+ Type="textbox"
74
+ [EditMode]="EditMode"
75
+ ></mj-form-field>
76
+
77
+ </div>
78
+ </div>
79
+ `, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\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"] }]
80
+ }], null, { record: [{
81
+ type: Input
82
+ }], EditMode: [{
83
+ type: Input
84
+ }] }); })();
85
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateContentTypeDetailsComponent, { className: "TemplateContentTypeDetailsComponent", filePath: "src/lib/generated/Entities/TemplateContentType/sections/details.component.ts", lineNumber: 45 }); })();
86
+ export function LoadTemplateContentTypeDetailsComponent() {
87
+ // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
88
+ }
@@ -0,0 +1,10 @@
1
+ import { TemplateContentTypeEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateContentTypeFormComponent extends BaseFormComponent {
5
+ record: TemplateContentTypeEntity;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContentTypeFormComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentTypeFormComponent, "gen-templatecontenttype-form", never, {}, {}, never, never, false, never>;
8
+ }
9
+ export declare function LoadTemplateContentTypeFormComponent(): void;
10
+ //# sourceMappingURL=templatecontenttype.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templatecontenttype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,gCAAiC,SAAQ,iBAAiB;IAC5D,MAAM,EAAG,yBAAyB,CAAC;yCADjC,gCAAgC;2CAAhC,gCAAgC;CAE5C;AAED,wBAAgB,oCAAoC,SAEnD"}
@@ -0,0 +1,72 @@
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 { LoadTemplateContentTypeDetailsComponent } 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: 283 });
20
+ function TemplateContentTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
21
+ const _r1 = i0.ɵɵgetCurrentView();
22
+ i0.ɵɵelementStart(0, "form", 4, 0);
23
+ i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
24
+ i0.ɵɵelementStart(5, "mj-tabstrip", 7);
25
+ i0.ɵɵlistener("TabSelected", function TemplateContentTypeFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
26
+ i0.ɵɵelementStart(6, "mj-tab", 8);
27
+ i0.ɵɵtext(7, " Details ");
28
+ i0.ɵɵelementEnd();
29
+ i0.ɵɵelementStart(8, "mj-tab-body");
30
+ i0.ɵɵelement(9, "mj-form-section", 9);
31
+ i0.ɵɵelementEnd();
32
+ i0.ɵɵelementStart(10, "mj-tab", 10);
33
+ i0.ɵɵtext(11, " Template Contents ");
34
+ i0.ɵɵelementEnd();
35
+ i0.ɵɵelementStart(12, "mj-tab-body");
36
+ i0.ɵɵelement(13, "mj-user-view-grid", 11);
37
+ i0.ɵɵelementEnd()()();
38
+ } if (rf & 2) {
39
+ const ctx_r1 = i0.ɵɵnextContext();
40
+ i0.ɵɵadvance(2);
41
+ i0.ɵɵproperty("form", ctx_r1);
42
+ i0.ɵɵadvance(7);
43
+ i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
44
+ i0.ɵɵadvance();
45
+ i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
46
+ i0.ɵɵadvance(3);
47
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Template Contents"))("NewRecordValues", ctx_r1.NewRecordValues("Template Contents"))("AllowLoad", ctx_r1.IsCurrentTab("Template Contents"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
48
+ } }
49
+ let TemplateContentTypeFormComponent = class TemplateContentTypeFormComponent extends BaseFormComponent {
50
+ };
51
+ TemplateContentTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateContentTypeFormComponent_BaseFactory; return function TemplateContentTypeFormComponent_Factory(t) { return (ɵTemplateContentTypeFormComponent_BaseFactory || (ɵTemplateContentTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateContentTypeFormComponent)))(t || TemplateContentTypeFormComponent); }; })();
52
+ TemplateContentTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateContentTypeFormComponent, selectors: [["gen-templatecontenttype-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], [1, "record-form-group"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Template Content Types", "Section", "details", 3, "record", "EditMode"], ["Name", "Template Contents", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function TemplateContentTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
53
+ i0.ɵɵelementStart(0, "div", 2);
54
+ i0.ɵɵtemplate(1, TemplateContentTypeFormComponent_form_1_Template, 14, 11, "form", 3);
55
+ i0.ɵɵelementEnd();
56
+ } if (rf & 2) {
57
+ i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
58
+ i0.ɵɵadvance();
59
+ i0.ɵɵproperty("ngIf", ctx.record);
60
+ } }, 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.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}"] });
61
+ TemplateContentTypeFormComponent = __decorate([
62
+ RegisterClass(BaseFormComponent, 'Template Content Types') // Tell MemberJunction about this class
63
+ ], TemplateContentTypeFormComponent);
64
+ export { TemplateContentTypeFormComponent };
65
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateContentTypeFormComponent, [{
66
+ type: Component,
67
+ args: [{ selector: 'gen-templatecontenttype-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Template Content Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Template Contents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 283}\">\n Template Contents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Contents')\" \n [NewRecordValues]=\"NewRecordValues('Template Contents')\"\n [AllowLoad]=\"IsCurrentTab('Template Contents')\" \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.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"] }]
68
+ }], null, null); })();
69
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateContentTypeFormComponent, { className: "TemplateContentTypeFormComponent", filePath: "src/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.ts", lineNumber: 12 }); })();
70
+ export function LoadTemplateContentTypeFormComponent() {
71
+ LoadTemplateContentTypeDetailsComponent();
72
+ }
@@ -0,0 +1,11 @@
1
+ import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
2
+ import { TemplateParamEntity } from '@memberjunction/core-entities';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateParamDetailsComponent extends BaseFormSectionComponent {
5
+ record: TemplateParamEntity;
6
+ EditMode: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateParamDetailsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateParamDetailsComponent, "gen-templateparam-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadTemplateParamDetailsComponent(): 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/TemplateParam/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBAiGa,6BAA8B,SAAQ,wBAAwB;IACrD,MAAM,EAAG,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,6BAA6B;2CAA7B,6BAA6B;CAGzC;AAED,wBAAgB,iCAAiC,SAEhD"}