@memberjunction/ng-core-entity-forms 0.9.165 → 0.9.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/Entities/entities-form.component.js +142 -197
- package/dist/lib/custom/custom-forms.module.d.ts +3 -1
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +11 -3
- package/dist/lib/generated/Entities/AIAction/aiaction.form.component.js +37 -52
- package/dist/lib/generated/Entities/AIAction/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +53 -76
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/AIModelAction/aimodelaction.form.component.js +21 -28
- package/dist/lib/generated/Entities/AIModelAction/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +29 -40
- package/dist/lib/generated/Entities/AIModelType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Application/application.form.component.js +37 -52
- package/dist/lib/generated/Entities/Application/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ApplicationEntity/applicationentity.form.component.js +21 -28
- package/dist/lib/generated/Entities/ApplicationEntity/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/AuditLog/auditlog.form.component.js +21 -28
- package/dist/lib/generated/Entities/AuditLog/sections/details.component.js +106 -106
- package/dist/lib/generated/Entities/AuditLogType/auditlogtype.form.component.js +37 -52
- package/dist/lib/generated/Entities/AuditLogType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Authorization/authorization.form.component.js +53 -76
- package/dist/lib/generated/Entities/Authorization/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/AuthorizationRole/authorizationrole.form.component.js +21 -28
- package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Company/company.form.component.js +45 -64
- package/dist/lib/generated/Entities/Company/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +85 -124
- package/dist/lib/generated/Entities/CompanyIntegration/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/companyintegrationrecordmap.form.component.js +21 -28
- package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js +45 -64
- package/dist/lib/generated/Entities/CompanyIntegrationRun/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js +21 -28
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/sections/details.component.js +58 -58
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js +29 -40
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +37 -52
- package/dist/lib/generated/Entities/Conversation/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +29 -40
- package/dist/lib/generated/Entities/ConversationDetail/sections/details.component.js +82 -82
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +21 -28
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +37 -52
- package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.js +60 -10
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +37 -52
- package/dist/lib/generated/Entities/DataContext/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +21 -28
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +130 -130
- package/dist/lib/generated/Entities/Dataset/dataset.form.component.js +29 -40
- package/dist/lib/generated/Entities/Dataset/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/DatasetItem/datasetitem.form.component.js +21 -28
- package/dist/lib/generated/Entities/DatasetItem/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +69 -100
- package/dist/lib/generated/Entities/Employee/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js +21 -28
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js +21 -28
- package/dist/lib/generated/Entities/EmployeeRole/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js +21 -28
- package/dist/lib/generated/Entities/EmployeeSkill/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +285 -412
- package/dist/lib/generated/Entities/Entity/sections/api.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/sections/audit.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/sections/db.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/sections/top.component.js +2 -2
- package/dist/lib/generated/Entities/Entity/sections/ui.component.js +2 -2
- package/dist/lib/generated/Entities/EntityAIAction/entityaiaction.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityAIAction/sections/details.component.js +138 -138
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +29 -40
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +82 -82
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.js +66 -66
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +29 -40
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EntityField/entityfield.form.component.js +29 -40
- package/dist/lib/generated/Entities/EntityField/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EntityFieldValue/entityfieldvalue.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityFieldValue/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EntityPermission/entitypermission.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityPermission/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/EntityRelationship/entityrelationship.form.component.js +21 -28
- package/dist/lib/generated/Entities/EntityRelationship/sections/details.component.js +226 -226
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js +21 -28
- package/dist/lib/generated/Entities/ErrorLog/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/File/file.form.component.js +29 -40
- package/dist/lib/generated/Entities/File/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/FileCategory/filecategory.form.component.js +37 -52
- package/dist/lib/generated/Entities/FileCategory/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/FileEntityRecordLink/fileentityrecordlink.form.component.js +21 -28
- package/dist/lib/generated/Entities/FileEntityRecordLink/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +29 -40
- package/dist/lib/generated/Entities/FileStorageProvider/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Integration/integration.form.component.js +37 -52
- package/dist/lib/generated/Entities/Integration/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/IntegrationURLFormat/integrationurlformat.form.component.js +21 -28
- package/dist/lib/generated/Entities/IntegrationURLFormat/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/List/list.form.component.js +29 -40
- package/dist/lib/generated/Entities/List/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ListDetail/listdetail.form.component.js +21 -28
- package/dist/lib/generated/Entities/ListDetail/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/OutputDeliveryType/outputdeliverytype.form.component.js +29 -40
- package/dist/lib/generated/Entities/OutputDeliveryType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/OutputFormatType/outputformattype.form.component.js +29 -40
- package/dist/lib/generated/Entities/OutputFormatType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/OutputTriggerType/outputtriggertype.form.component.js +29 -40
- package/dist/lib/generated/Entities/OutputTriggerType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Query/query.form.component.js +45 -64
- package/dist/lib/generated/Entities/Query/sections/details.component.js +98 -98
- package/dist/lib/generated/Entities/QueryCategory/querycategory.form.component.js +37 -52
- package/dist/lib/generated/Entities/QueryCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/QueryCategory/sections/details.component.js +60 -10
- package/dist/lib/generated/Entities/QueryField/queryfield.form.component.js +21 -28
- package/dist/lib/generated/Entities/QueryField/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/QueryPermission/querypermission.form.component.js +21 -28
- package/dist/lib/generated/Entities/QueryPermission/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Queue/queue.form.component.js +29 -40
- package/dist/lib/generated/Entities/Queue/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/QueueTask/queuetask.form.component.js +21 -28
- package/dist/lib/generated/Entities/QueueTask/sections/details.component.js +82 -82
- package/dist/lib/generated/Entities/QueueType/queuetype.form.component.js +29 -40
- package/dist/lib/generated/Entities/QueueType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/RecordChange/recordchange.form.component.js +21 -28
- package/dist/lib/generated/Entities/RecordChange/sections/details.component.js +98 -98
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/recordmergedeletionlog.form.component.js +21 -28
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/sections/details.component.js +58 -58
- package/dist/lib/generated/Entities/RecordMergeLog/recordmergelog.form.component.js +29 -40
- package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.js +122 -122
- package/dist/lib/generated/Entities/Report/report.form.component.js +29 -40
- package/dist/lib/generated/Entities/Report/sections/details.component.js +218 -218
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +37 -52
- package/dist/lib/generated/Entities/ReportCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ReportCategory/sections/details.component.js +60 -10
- package/dist/lib/generated/Entities/ReportSnapshot/reportsnapshot.form.component.js +21 -28
- package/dist/lib/generated/Entities/ReportSnapshot/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +29 -40
- package/dist/lib/generated/Entities/ResourceType/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Role/role.form.component.js +61 -88
- package/dist/lib/generated/Entities/Role/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/RowLevelSecurityFilter/rowlevelsecurityfilter.form.component.js +29 -40
- package/dist/lib/generated/Entities/RowLevelSecurityFilter/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/SchemaInfo/schemainfo.form.component.js +21 -28
- package/dist/lib/generated/Entities/SchemaInfo/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Skill/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Skill/skill.form.component.js +37 -52
- package/dist/lib/generated/Entities/Tag/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Tag/tag.form.component.js +37 -52
- package/dist/lib/generated/Entities/TaggedItem/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/TaggedItem/taggeditem.form.component.js +21 -28
- package/dist/lib/generated/Entities/User/sections/details.component.js +162 -162
- package/dist/lib/generated/Entities/User/user.form.component.js +205 -244
- package/dist/lib/generated/Entities/UserApplication/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserApplication/userapplication.form.component.js +29 -40
- package/dist/lib/generated/Entities/UserApplicationEntity/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserApplicationEntity/userapplicationentity.form.component.js +21 -28
- package/dist/lib/generated/Entities/UserFavorite/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserFavorite/userfavorite.form.component.js +21 -28
- package/dist/lib/generated/Entities/UserNotification/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +21 -28
- package/dist/lib/generated/Entities/UserRecordLog/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserRecordLog/userrecordlog.form.component.js +21 -28
- package/dist/lib/generated/Entities/UserRole/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserRole/userrole.form.component.js +21 -28
- package/dist/lib/generated/Entities/UserView/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserView/userview.form.component.js +45 -64
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +124 -74
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +37 -52
- package/dist/lib/generated/Entities/UserViewRun/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserViewRun/userviewrun.form.component.js +29 -40
- package/dist/lib/generated/Entities/UserViewRunDetail/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/UserViewRunDetail/userviewrundetail.form.component.js +21 -28
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +29 -40
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +21 -28
- package/dist/lib/generated/Entities/VersionInstallation/sections/details.component.js +98 -98
- package/dist/lib/generated/Entities/VersionInstallation/versioninstallation.form.component.js +21 -28
- package/dist/lib/generated/Entities/Workflow/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Workflow/workflow.form.component.js +37 -52
- package/dist/lib/generated/Entities/WorkflowEngine/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/WorkflowEngine/workflowengine.form.component.js +29 -40
- package/dist/lib/generated/Entities/WorkflowRun/sections/details.component.js +74 -74
- package/dist/lib/generated/Entities/WorkflowRun/workflowrun.form.component.js +21 -28
- package/dist/lib/generated/Entities/Workspace/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Workspace/workspace.form.component.js +29 -40
- package/dist/lib/generated/Entities/WorkspaceItem/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/WorkspaceItem/workspaceitem.form.component.js +21 -28
- package/dist/lib/generated/generated-forms.module.d.ts +176 -174
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +67 -3
- package/package.json +7 -5
package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/sections/details.component.js
CHANGED
|
@@ -192,7 +192,7 @@ CompanyIntegrationRunDetailDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineC
|
|
|
192
192
|
i0.ɵɵtemplate(0, CompanyIntegrationRunDetailDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
193
193
|
} if (rf & 2) {
|
|
194
194
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
195
|
-
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.DatePickerComponent, i5.FieldLink], styles: ["
|
|
195
|
+
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.DatePickerComponent, i5.FieldLink], styles: [".k-pane[_ngcontent-%COMP%] {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
196
196
|
CompanyIntegrationRunDetailDetailsComponent = __decorate([
|
|
197
197
|
RegisterClass(BaseFormSectionComponent, 'Company Integration Run Details.details') // Tell MemberJunction about this class
|
|
198
198
|
], CompanyIntegrationRunDetailDetailsComponent);
|
|
@@ -279,7 +279,7 @@ export { CompanyIntegrationRunDetailDetailsComponent };
|
|
|
279
279
|
</div>
|
|
280
280
|
</div>
|
|
281
281
|
</div>
|
|
282
|
-
`, styles: ["
|
|
282
|
+
`, styles: [".k-pane {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
283
283
|
}], null, { record: [{
|
|
284
284
|
type: Input
|
|
285
285
|
}], EditMode: [{
|
|
@@ -11,83 +11,68 @@ import { LoadConversationDetailsComponent } from "./sections/details.component";
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "@angular/common";
|
|
13
13
|
import * as i2 from "@angular/forms";
|
|
14
|
-
import * as i3 from "@
|
|
15
|
-
import * as i4 from "@memberjunction/ng-
|
|
16
|
-
import * as i5 from "@memberjunction/ng-
|
|
17
|
-
|
|
18
|
-
i0.ɵɵtext(0, "Details");
|
|
19
|
-
} }
|
|
20
|
-
function ConversationFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
24
|
-
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
25
|
-
} }
|
|
26
|
-
function ConversationFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵtext(0, "Conversation Details");
|
|
28
|
-
} }
|
|
29
|
-
function ConversationFormComponent_form_1_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
|
-
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Conversation Details"))("AllowLoad", ctx_r7.IsCurrentTab("Conversation Details"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
-
} }
|
|
35
|
-
function ConversationFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
i0.ɵɵtext(0, "Reports");
|
|
37
|
-
} }
|
|
38
|
-
function ConversationFormComponent_form_1_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
42
|
-
i0.ɵɵproperty("Params", ctx_r9.BuildRelationshipViewParamsByEntityName("Reports"))("AllowLoad", ctx_r9.IsCurrentTab("Reports"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
|
|
43
|
-
} }
|
|
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-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
44
18
|
function ConversationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
const
|
|
46
|
-
i0.ɵɵelementStart(0, "form", 2, 3)
|
|
47
|
-
i0.ɵɵelement(
|
|
19
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 2, 3);
|
|
21
|
+
i0.ɵɵelement(2, "div", 4, 5);
|
|
22
|
+
i0.ɵɵelementStart(4, "mj-tabstrip", 6);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function ConversationFormComponent_form_1_Template_mj_tabstrip_TabSelected_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onTabSelect($event.index)); });
|
|
24
|
+
i0.ɵɵelementStart(5, "mj-tab", 7);
|
|
25
|
+
i0.ɵɵtext(6, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(7, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(8, "mj-form-section", 8);
|
|
48
29
|
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵelementStart(
|
|
50
|
-
i0.ɵɵ
|
|
51
|
-
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
52
|
-
i0.ɵɵtemplate(8, ConversationFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, ConversationFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
30
|
+
i0.ɵɵelementStart(9, "mj-tab", 7);
|
|
31
|
+
i0.ɵɵtext(10, " Conversation Details ");
|
|
53
32
|
i0.ɵɵelementEnd();
|
|
54
|
-
i0.ɵɵelementStart(
|
|
55
|
-
i0.ɵɵ
|
|
33
|
+
i0.ɵɵelementStart(11, "mj-tab-body");
|
|
34
|
+
i0.ɵɵelement(12, "mj-user-view-grid", 9);
|
|
56
35
|
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵelementStart(13, "
|
|
58
|
-
i0.ɵɵ
|
|
36
|
+
i0.ɵɵelementStart(13, "mj-tab", 7);
|
|
37
|
+
i0.ɵɵtext(14, " Reports ");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementStart(15, "mj-tab-body");
|
|
40
|
+
i0.ɵɵelement(16, "mj-user-view-grid", 9);
|
|
59
41
|
i0.ɵɵelementEnd()()();
|
|
60
42
|
} if (rf & 2) {
|
|
61
43
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
62
|
-
i0.ɵɵadvance(
|
|
63
|
-
i0.ɵɵproperty("
|
|
44
|
+
i0.ɵɵadvance(5);
|
|
45
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
46
|
+
i0.ɵɵadvance(3);
|
|
47
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
64
48
|
i0.ɵɵadvance();
|
|
65
|
-
i0.ɵɵproperty("
|
|
66
|
-
i0.ɵɵadvance(2);
|
|
67
|
-
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
49
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Conversation Details"));
|
|
68
50
|
i0.ɵɵadvance(3);
|
|
69
|
-
i0.ɵɵproperty("
|
|
51
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Conversation Details"))("AllowLoad", ctx_r0.IsCurrentTab("Conversation Details"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Reports"));
|
|
70
54
|
i0.ɵɵadvance(3);
|
|
71
|
-
i0.ɵɵproperty("
|
|
55
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Reports"))("AllowLoad", ctx_r0.IsCurrentTab("Reports"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
72
56
|
} }
|
|
73
57
|
let ConversationFormComponent = class ConversationFormComponent extends BaseFormComponent {
|
|
74
58
|
};
|
|
75
59
|
ConversationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵConversationFormComponent_BaseFactory; return function ConversationFormComponent_Factory(t) { return (ɵConversationFormComponent_BaseFactory || (ɵConversationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ConversationFormComponent)))(t || ConversationFormComponent); }; })();
|
|
76
|
-
ConversationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationFormComponent, selectors: [["gen-conversation-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars:
|
|
60
|
+
ConversationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationFormComponent, selectors: [["gen-conversation-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Conversations", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function ConversationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
61
|
i0.ɵɵelementStart(0, "div", 0);
|
|
78
|
-
i0.ɵɵtemplate(1, ConversationFormComponent_form_1_Template,
|
|
62
|
+
i0.ɵɵtemplate(1, ConversationFormComponent_form_1_Template, 17, 13, "form", 1);
|
|
79
63
|
i0.ɵɵelementEnd();
|
|
80
64
|
} if (rf & 2) {
|
|
65
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
81
66
|
i0.ɵɵadvance();
|
|
82
67
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
83
|
-
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.
|
|
68
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
84
69
|
ConversationFormComponent = __decorate([
|
|
85
70
|
RegisterClass(BaseFormComponent, 'Conversations') // Tell MemberJunction about this class
|
|
86
71
|
], ConversationFormComponent);
|
|
87
72
|
export { ConversationFormComponent };
|
|
88
73
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationFormComponent, [{
|
|
89
74
|
type: Component,
|
|
90
|
-
args: [{ selector: 'gen-conversation-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n
|
|
75
|
+
args: [{ selector: 'gen-conversation-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Conversations\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Conversation Details')\">\n Conversation Details\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Conversation Details')\" \n [AllowLoad]=\"this.IsCurrentTab('Conversation Details')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Reports')\">\n Reports\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Reports')\" \n [AllowLoad]=\"this.IsCurrentTab('Reports')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n </mj-tabstrip>\n </form>\n </div>\n ", styles: [".k-pane {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
91
76
|
}], null, null); })();
|
|
92
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationFormComponent, { className: "ConversationFormComponent", filePath: "src\\lib\\generated\\Entities\\Conversation\\conversation.form.component.ts", lineNumber: 12 }); })();
|
|
93
78
|
export function LoadConversationFormComponent() {
|
|
@@ -255,7 +255,7 @@ ConversationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
255
255
|
i0.ɵɵtemplate(0, ConversationDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
256
256
|
} if (rf & 2) {
|
|
257
257
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
258
|
-
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink], styles: ["
|
|
258
|
+
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink], styles: [".k-pane[_ngcontent-%COMP%] {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
259
259
|
ConversationDetailsComponent = __decorate([
|
|
260
260
|
RegisterClass(BaseFormSectionComponent, 'Conversations.details') // Tell MemberJunction about this class
|
|
261
261
|
], ConversationDetailsComponent);
|
|
@@ -374,7 +374,7 @@ export { ConversationDetailsComponent };
|
|
|
374
374
|
</div>
|
|
375
375
|
</div>
|
|
376
376
|
</div>
|
|
377
|
-
`, styles: ["
|
|
377
|
+
`, styles: [".k-pane {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
378
378
|
}], null, { record: [{
|
|
379
379
|
type: Input
|
|
380
380
|
}], EditMode: [{
|
|
@@ -11,69 +11,58 @@ import { LoadConversationDetailDetailsComponent } from "./sections/details.compo
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "@angular/common";
|
|
13
13
|
import * as i2 from "@angular/forms";
|
|
14
|
-
import * as i3 from "@
|
|
15
|
-
import * as i4 from "@memberjunction/ng-
|
|
16
|
-
import * as i5 from "@memberjunction/ng-
|
|
17
|
-
|
|
18
|
-
i0.ɵɵtext(0, "Details");
|
|
19
|
-
} }
|
|
20
|
-
function ConversationDetailFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
24
|
-
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
25
|
-
} }
|
|
26
|
-
function ConversationDetailFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵtext(0, "Reports");
|
|
28
|
-
} }
|
|
29
|
-
function ConversationDetailFormComponent_form_1_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
|
-
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Reports"))("AllowLoad", ctx_r7.IsCurrentTab("Reports"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
-
} }
|
|
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-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
35
18
|
function ConversationDetailFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
const
|
|
37
|
-
i0.ɵɵelementStart(0, "form", 2, 3)
|
|
38
|
-
i0.ɵɵelement(
|
|
19
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 2, 3);
|
|
21
|
+
i0.ɵɵelement(2, "div", 4, 5);
|
|
22
|
+
i0.ɵɵelementStart(4, "mj-tabstrip", 6);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function ConversationDetailFormComponent_form_1_Template_mj_tabstrip_TabSelected_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onTabSelect($event.index)); });
|
|
24
|
+
i0.ɵɵelementStart(5, "mj-tab", 7);
|
|
25
|
+
i0.ɵɵtext(6, " Details ");
|
|
39
26
|
i0.ɵɵelementEnd();
|
|
40
|
-
i0.ɵɵelementStart(
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
43
|
-
i0.ɵɵtemplate(8, ConversationDetailFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, ConversationDetailFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
27
|
+
i0.ɵɵelementStart(7, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(8, "mj-form-section", 8);
|
|
44
29
|
i0.ɵɵelementEnd();
|
|
45
|
-
i0.ɵɵelementStart(
|
|
46
|
-
i0.ɵɵ
|
|
30
|
+
i0.ɵɵelementStart(9, "mj-tab", 7);
|
|
31
|
+
i0.ɵɵtext(10, " Reports ");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(11, "mj-tab-body");
|
|
34
|
+
i0.ɵɵelement(12, "mj-user-view-grid", 9);
|
|
47
35
|
i0.ɵɵelementEnd()()();
|
|
48
36
|
} if (rf & 2) {
|
|
49
37
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
50
|
-
i0.ɵɵadvance(
|
|
51
|
-
i0.ɵɵproperty("
|
|
38
|
+
i0.ɵɵadvance(5);
|
|
39
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
40
|
+
i0.ɵɵadvance(3);
|
|
41
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
52
42
|
i0.ɵɵadvance();
|
|
53
|
-
i0.ɵɵproperty("
|
|
54
|
-
i0.ɵɵadvance(2);
|
|
55
|
-
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
43
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Reports"));
|
|
56
44
|
i0.ɵɵadvance(3);
|
|
57
|
-
i0.ɵɵproperty("
|
|
45
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Reports"))("AllowLoad", ctx_r0.IsCurrentTab("Reports"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
58
46
|
} }
|
|
59
47
|
let ConversationDetailFormComponent = class ConversationDetailFormComponent extends BaseFormComponent {
|
|
60
48
|
};
|
|
61
49
|
ConversationDetailFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵConversationDetailFormComponent_BaseFactory; return function ConversationDetailFormComponent_Factory(t) { return (ɵConversationDetailFormComponent_BaseFactory || (ɵConversationDetailFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ConversationDetailFormComponent)))(t || ConversationDetailFormComponent); }; })();
|
|
62
|
-
ConversationDetailFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationDetailFormComponent, selectors: [["gen-conversationdetail-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars:
|
|
50
|
+
ConversationDetailFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationDetailFormComponent, selectors: [["gen-conversationdetail-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Conversation Details", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function ConversationDetailFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
51
|
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
-
i0.ɵɵtemplate(1, ConversationDetailFormComponent_form_1_Template, 13,
|
|
52
|
+
i0.ɵɵtemplate(1, ConversationDetailFormComponent_form_1_Template, 13, 8, "form", 1);
|
|
65
53
|
i0.ɵɵelementEnd();
|
|
66
54
|
} if (rf & 2) {
|
|
55
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
67
56
|
i0.ɵɵadvance();
|
|
68
57
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
69
|
-
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.
|
|
58
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
70
59
|
ConversationDetailFormComponent = __decorate([
|
|
71
60
|
RegisterClass(BaseFormComponent, 'Conversation Details') // Tell MemberJunction about this class
|
|
72
61
|
], ConversationDetailFormComponent);
|
|
73
62
|
export { ConversationDetailFormComponent };
|
|
74
63
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationDetailFormComponent, [{
|
|
75
64
|
type: Component,
|
|
76
|
-
args: [{ selector: 'gen-conversationdetail-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n
|
|
65
|
+
args: [{ selector: 'gen-conversationdetail-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Conversation Details\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Reports')\">\n Reports\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Reports')\" \n [AllowLoad]=\"this.IsCurrentTab('Reports')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n </mj-tabstrip>\n </form>\n </div>\n ", styles: [".k-pane {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
77
66
|
}], null, null); })();
|
|
78
67
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationDetailFormComponent, { className: "ConversationDetailFormComponent", filePath: "src\\lib\\generated\\Entities\\ConversationDetail\\conversationdetail.form.component.ts", lineNumber: 12 }); })();
|
|
79
68
|
export function LoadConversationDetailFormComponent() {
|
|
@@ -192,94 +192,94 @@ ConversationDetailDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
192
192
|
i0.ɵɵtemplate(0, ConversationDetailDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
193
193
|
} if (rf & 2) {
|
|
194
194
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
195
|
-
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink, i5.DropDownListComponent], styles: ["
|
|
195
|
+
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink, i5.DropDownListComponent], styles: [".k-pane[_ngcontent-%COMP%] {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
196
196
|
ConversationDetailDetailsComponent = __decorate([
|
|
197
197
|
RegisterClass(BaseFormSectionComponent, 'Conversation Details.details') // Tell MemberJunction about this class
|
|
198
198
|
], ConversationDetailDetailsComponent);
|
|
199
199
|
export { ConversationDetailDetailsComponent };
|
|
200
200
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationDetailDetailsComponent, [{
|
|
201
201
|
type: Component,
|
|
202
|
-
args: [{ selector: 'gen-conversationdetail-form-details', template: `<div *ngIf="this.record">
|
|
203
|
-
<div *ngIf="this.EditMode" class="record-form">
|
|
204
|
-
|
|
205
|
-
<div class="record-form-row">
|
|
206
|
-
<label class="fieldLabel">Conversation ID</label>
|
|
207
|
-
<kendo-numerictextbox [(value)]="record.ConversationID" ></kendo-numerictextbox>
|
|
208
|
-
</div>
|
|
209
|
-
<div class="record-form-row">
|
|
210
|
-
<label class="fieldLabel">External ID</label>
|
|
211
|
-
<kendo-textbox [(ngModel)]="record.ExternalID" />
|
|
212
|
-
</div>
|
|
213
|
-
<div class="record-form-row">
|
|
214
|
-
<label class="fieldLabel">Role</label>
|
|
215
|
-
<kendo-dropdownlist [data]="['User', 'AI', 'Error']" [(ngModel)]="record.Role" ></kendo-dropdownlist>
|
|
216
|
-
</div>
|
|
217
|
-
<div class="record-form-row">
|
|
218
|
-
<label class="fieldLabel">Message</label>
|
|
219
|
-
<kendo-textbox [(ngModel)]="record.Message" />
|
|
220
|
-
</div>
|
|
221
|
-
<div class="record-form-row">
|
|
222
|
-
<label class="fieldLabel">Error</label>
|
|
223
|
-
<kendo-textbox [(ngModel)]="record.Error" />
|
|
224
|
-
</div>
|
|
225
|
-
<div class="record-form-row">
|
|
226
|
-
<label class="fieldLabel">Hidden To User</label>
|
|
227
|
-
<input type="checkbox" [(ngModel)]="record.HiddenToUser" kendoCheckBox />
|
|
228
|
-
</div>
|
|
229
|
-
<div class="record-form-row">
|
|
230
|
-
<label class="fieldLabel">Created At</label>
|
|
231
|
-
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
232
|
-
</div>
|
|
233
|
-
<div class="record-form-row">
|
|
234
|
-
<label class="fieldLabel">Updated At</label>
|
|
235
|
-
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
236
|
-
</div>
|
|
237
|
-
<div class="record-form-row">
|
|
238
|
-
<label class="fieldLabel">Conversation</label>
|
|
239
|
-
<span >{{FormatValue('Conversation', 0)}}</span>
|
|
240
|
-
</div>
|
|
241
|
-
</div>
|
|
242
|
-
<div *ngIf="!this.EditMode" class="record-form">
|
|
243
|
-
|
|
244
|
-
<div class="record-form-row">
|
|
245
|
-
<label class="fieldLabel">Conversation ID</label>
|
|
246
|
-
<span mjFieldLink [record]="record" fieldName="ConversationID" >{{FormatValue('ConversationID', 0)}}</span>
|
|
247
|
-
</div>
|
|
248
|
-
<div class="record-form-row">
|
|
249
|
-
<label class="fieldLabel">External ID</label>
|
|
250
|
-
<span >{{FormatValue('ExternalID', 0)}}</span>
|
|
251
|
-
</div>
|
|
252
|
-
<div class="record-form-row">
|
|
253
|
-
<label class="fieldLabel">Role</label>
|
|
254
|
-
<span >{{FormatValue('Role', 0)}}</span>
|
|
255
|
-
</div>
|
|
256
|
-
<div class="record-form-row">
|
|
257
|
-
<label class="fieldLabel">Message</label>
|
|
258
|
-
<span >{{FormatValue('Message', 0)}}</span>
|
|
259
|
-
</div>
|
|
260
|
-
<div class="record-form-row">
|
|
261
|
-
<label class="fieldLabel">Error</label>
|
|
262
|
-
<span >{{FormatValue('Error', 0)}}</span>
|
|
263
|
-
</div>
|
|
264
|
-
<div class="record-form-row">
|
|
265
|
-
<label class="fieldLabel">Hidden To User</label>
|
|
266
|
-
<span >{{FormatValue('HiddenToUser', 0)}}</span>
|
|
267
|
-
</div>
|
|
268
|
-
<div class="record-form-row">
|
|
269
|
-
<label class="fieldLabel">Created At</label>
|
|
270
|
-
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
271
|
-
</div>
|
|
272
|
-
<div class="record-form-row">
|
|
273
|
-
<label class="fieldLabel">Updated At</label>
|
|
274
|
-
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
275
|
-
</div>
|
|
276
|
-
<div class="record-form-row">
|
|
277
|
-
<label class="fieldLabel">Conversation</label>
|
|
278
|
-
<span >{{FormatValue('Conversation', 0)}}</span>
|
|
279
|
-
</div>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
`, styles: ["
|
|
202
|
+
args: [{ selector: 'gen-conversationdetail-form-details', template: `<div *ngIf="this.record">
|
|
203
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
204
|
+
|
|
205
|
+
<div class="record-form-row">
|
|
206
|
+
<label class="fieldLabel">Conversation ID</label>
|
|
207
|
+
<kendo-numerictextbox [(value)]="record.ConversationID" ></kendo-numerictextbox>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="record-form-row">
|
|
210
|
+
<label class="fieldLabel">External ID</label>
|
|
211
|
+
<kendo-textbox [(ngModel)]="record.ExternalID" />
|
|
212
|
+
</div>
|
|
213
|
+
<div class="record-form-row">
|
|
214
|
+
<label class="fieldLabel">Role</label>
|
|
215
|
+
<kendo-dropdownlist [data]="['User', 'AI', 'Error']" [(ngModel)]="record.Role" ></kendo-dropdownlist>
|
|
216
|
+
</div>
|
|
217
|
+
<div class="record-form-row">
|
|
218
|
+
<label class="fieldLabel">Message</label>
|
|
219
|
+
<kendo-textbox [(ngModel)]="record.Message" />
|
|
220
|
+
</div>
|
|
221
|
+
<div class="record-form-row">
|
|
222
|
+
<label class="fieldLabel">Error</label>
|
|
223
|
+
<kendo-textbox [(ngModel)]="record.Error" />
|
|
224
|
+
</div>
|
|
225
|
+
<div class="record-form-row">
|
|
226
|
+
<label class="fieldLabel">Hidden To User</label>
|
|
227
|
+
<input type="checkbox" [(ngModel)]="record.HiddenToUser" kendoCheckBox />
|
|
228
|
+
</div>
|
|
229
|
+
<div class="record-form-row">
|
|
230
|
+
<label class="fieldLabel">Created At</label>
|
|
231
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
232
|
+
</div>
|
|
233
|
+
<div class="record-form-row">
|
|
234
|
+
<label class="fieldLabel">Updated At</label>
|
|
235
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
236
|
+
</div>
|
|
237
|
+
<div class="record-form-row">
|
|
238
|
+
<label class="fieldLabel">Conversation</label>
|
|
239
|
+
<span >{{FormatValue('Conversation', 0)}}</span>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
243
|
+
|
|
244
|
+
<div class="record-form-row">
|
|
245
|
+
<label class="fieldLabel">Conversation ID</label>
|
|
246
|
+
<span mjFieldLink [record]="record" fieldName="ConversationID" >{{FormatValue('ConversationID', 0)}}</span>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="record-form-row">
|
|
249
|
+
<label class="fieldLabel">External ID</label>
|
|
250
|
+
<span >{{FormatValue('ExternalID', 0)}}</span>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="record-form-row">
|
|
253
|
+
<label class="fieldLabel">Role</label>
|
|
254
|
+
<span >{{FormatValue('Role', 0)}}</span>
|
|
255
|
+
</div>
|
|
256
|
+
<div class="record-form-row">
|
|
257
|
+
<label class="fieldLabel">Message</label>
|
|
258
|
+
<span >{{FormatValue('Message', 0)}}</span>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="record-form-row">
|
|
261
|
+
<label class="fieldLabel">Error</label>
|
|
262
|
+
<span >{{FormatValue('Error', 0)}}</span>
|
|
263
|
+
</div>
|
|
264
|
+
<div class="record-form-row">
|
|
265
|
+
<label class="fieldLabel">Hidden To User</label>
|
|
266
|
+
<span >{{FormatValue('HiddenToUser', 0)}}</span>
|
|
267
|
+
</div>
|
|
268
|
+
<div class="record-form-row">
|
|
269
|
+
<label class="fieldLabel">Created At</label>
|
|
270
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
271
|
+
</div>
|
|
272
|
+
<div class="record-form-row">
|
|
273
|
+
<label class="fieldLabel">Updated At</label>
|
|
274
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
275
|
+
</div>
|
|
276
|
+
<div class="record-form-row">
|
|
277
|
+
<label class="fieldLabel">Conversation</label>
|
|
278
|
+
<span >{{FormatValue('Conversation', 0)}}</span>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
`, styles: [".k-pane {\r\n background-color: #F5F6FA;\r\n} \r\n\r\n\r\na {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: block;\r\n flex-direction: column;\r\n background-color: #F5F6FA;\r\n padding: 10px;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n background-color: #F5F6FA;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
283
283
|
}], null, { record: [{
|
|
284
284
|
type: Input
|
|
285
285
|
}], EditMode: [{
|