@memberjunction/ng-core-entity-forms 0.9.165 → 0.9.166
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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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 +165 -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.js +66 -66
- 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 +6 -4
|
@@ -90,7 +90,7 @@ OutputFormatTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
90
90
|
i0.ɵɵtemplate(0, OutputFormatTypeDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
91
91
|
} if (rf & 2) {
|
|
92
92
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
93
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent], styles: ["
|
|
93
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent], 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}"] });
|
|
94
94
|
OutputFormatTypeDetailsComponent = __decorate([
|
|
95
95
|
RegisterClass(BaseFormSectionComponent, 'Output Format Types.details') // Tell MemberJunction about this class
|
|
96
96
|
], OutputFormatTypeDetailsComponent);
|
|
@@ -129,7 +129,7 @@ export { OutputFormatTypeDetailsComponent };
|
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
131
131
|
</div>
|
|
132
|
-
`, styles: ["
|
|
132
|
+
`, 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"] }]
|
|
133
133
|
}], null, { record: [{
|
|
134
134
|
type: Input
|
|
135
135
|
}], EditMode: [{
|
|
@@ -11,69 +11,58 @@ import { LoadOutputTriggerTypeDetailsComponent } from "./sections/details.compon
|
|
|
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 OutputTriggerTypeFormComponent_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 OutputTriggerTypeFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵtext(0, "Reports");
|
|
28
|
-
} }
|
|
29
|
-
function OutputTriggerTypeFormComponent_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 OutputTriggerTypeFormComponent_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 OutputTriggerTypeFormComponent_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, OutputTriggerTypeFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, OutputTriggerTypeFormComponent_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 OutputTriggerTypeFormComponent = class OutputTriggerTypeFormComponent extends BaseFormComponent {
|
|
60
48
|
};
|
|
61
49
|
OutputTriggerTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵOutputTriggerTypeFormComponent_BaseFactory; return function OutputTriggerTypeFormComponent_Factory(t) { return (ɵOutputTriggerTypeFormComponent_BaseFactory || (ɵOutputTriggerTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(OutputTriggerTypeFormComponent)))(t || OutputTriggerTypeFormComponent); }; })();
|
|
62
|
-
OutputTriggerTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OutputTriggerTypeFormComponent, selectors: [["gen-outputtriggertype-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars:
|
|
50
|
+
OutputTriggerTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OutputTriggerTypeFormComponent, selectors: [["gen-outputtriggertype-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", "Output Trigger Types", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function OutputTriggerTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
51
|
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
-
i0.ɵɵtemplate(1, OutputTriggerTypeFormComponent_form_1_Template, 13,
|
|
52
|
+
i0.ɵɵtemplate(1, OutputTriggerTypeFormComponent_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
|
OutputTriggerTypeFormComponent = __decorate([
|
|
71
60
|
RegisterClass(BaseFormComponent, 'Output Trigger Types') // Tell MemberJunction about this class
|
|
72
61
|
], OutputTriggerTypeFormComponent);
|
|
73
62
|
export { OutputTriggerTypeFormComponent };
|
|
74
63
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OutputTriggerTypeFormComponent, [{
|
|
75
64
|
type: Component,
|
|
76
|
-
args: [{ selector: 'gen-outputtriggertype-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n
|
|
65
|
+
args: [{ selector: 'gen-outputtriggertype-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=\"Output Trigger Types\" 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(OutputTriggerTypeFormComponent, { className: "OutputTriggerTypeFormComponent", filePath: "src\\lib\\generated\\Entities\\OutputTriggerType\\outputtriggertype.form.component.ts", lineNumber: 12 }); })();
|
|
79
68
|
export function LoadOutputTriggerTypeFormComponent() {
|
|
@@ -74,7 +74,7 @@ OutputTriggerTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
74
74
|
i0.ɵɵtemplate(0, OutputTriggerTypeDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
75
75
|
} if (rf & 2) {
|
|
76
76
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
77
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent], styles: ["
|
|
77
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent], 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}"] });
|
|
78
78
|
OutputTriggerTypeDetailsComponent = __decorate([
|
|
79
79
|
RegisterClass(BaseFormSectionComponent, 'Output Trigger Types.details') // Tell MemberJunction about this class
|
|
80
80
|
], OutputTriggerTypeDetailsComponent);
|
|
@@ -105,7 +105,7 @@ export { OutputTriggerTypeDetailsComponent };
|
|
|
105
105
|
</div>
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
|
-
`, styles: ["
|
|
108
|
+
`, 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"] }]
|
|
109
109
|
}], null, { record: [{
|
|
110
110
|
type: Input
|
|
111
111
|
}], EditMode: [{
|
|
@@ -11,97 +11,78 @@ import { LoadQueryDetailsComponent } 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 QueryFormComponent_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 QueryFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵtext(0, "Query Fields");
|
|
28
|
-
} }
|
|
29
|
-
function QueryFormComponent_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("Query Fields"))("AllowLoad", ctx_r7.IsCurrentTab("Query Fields"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
-
} }
|
|
35
|
-
function QueryFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
i0.ɵɵtext(0, "Query Permissions");
|
|
37
|
-
} }
|
|
38
|
-
function QueryFormComponent_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("Query Permissions"))("AllowLoad", ctx_r9.IsCurrentTab("Query Permissions"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
|
|
43
|
-
} }
|
|
44
|
-
function QueryFormComponent_form_1_ng_template_17_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
i0.ɵɵtext(0, "Data Context Items");
|
|
46
|
-
} }
|
|
47
|
-
function QueryFormComponent_form_1_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
49
|
-
} if (rf & 2) {
|
|
50
|
-
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
51
|
-
i0.ɵɵproperty("Params", ctx_r11.BuildRelationshipViewParamsByEntityName("Data Context Items"))("AllowLoad", ctx_r11.IsCurrentTab("Data Context Items"))("EditMode", ctx_r11.GridEditMode())("BottomMargin", ctx_r11.GridBottomMargin);
|
|
52
|
-
} }
|
|
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";
|
|
53
18
|
function QueryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
-
const
|
|
55
|
-
i0.ɵɵelementStart(0, "form", 2, 3)
|
|
56
|
-
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 QueryFormComponent_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);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(9, "mj-tab", 7);
|
|
31
|
+
i0.ɵɵtext(10, " Query Fields ");
|
|
57
32
|
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵelementStart(
|
|
59
|
-
i0.ɵɵ
|
|
60
|
-
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
61
|
-
i0.ɵɵtemplate(8, QueryFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, QueryFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
33
|
+
i0.ɵɵelementStart(11, "mj-tab-body");
|
|
34
|
+
i0.ɵɵelement(12, "mj-user-view-grid", 9);
|
|
62
35
|
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(
|
|
64
|
-
i0.ɵɵ
|
|
36
|
+
i0.ɵɵelementStart(13, "mj-tab", 7);
|
|
37
|
+
i0.ɵɵtext(14, " Query Permissions ");
|
|
65
38
|
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementStart(
|
|
67
|
-
i0.ɵɵ
|
|
39
|
+
i0.ɵɵelementStart(15, "mj-tab-body");
|
|
40
|
+
i0.ɵɵelement(16, "mj-user-view-grid", 9);
|
|
68
41
|
i0.ɵɵelementEnd();
|
|
69
|
-
i0.ɵɵelementStart(
|
|
70
|
-
i0.ɵɵ
|
|
42
|
+
i0.ɵɵelementStart(17, "mj-tab", 7);
|
|
43
|
+
i0.ɵɵtext(18, " Data Context Items ");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(19, "mj-tab-body");
|
|
46
|
+
i0.ɵɵelement(20, "mj-user-view-grid", 9);
|
|
71
47
|
i0.ɵɵelementEnd()()();
|
|
72
48
|
} if (rf & 2) {
|
|
73
49
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
74
|
-
i0.ɵɵadvance(
|
|
75
|
-
i0.ɵɵproperty("
|
|
50
|
+
i0.ɵɵadvance(5);
|
|
51
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
52
|
+
i0.ɵɵadvance(3);
|
|
53
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
76
54
|
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵproperty("
|
|
78
|
-
i0.ɵɵadvance(2);
|
|
79
|
-
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
55
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Query Fields"));
|
|
80
56
|
i0.ɵɵadvance(3);
|
|
81
|
-
i0.ɵɵproperty("
|
|
57
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Query Fields"))("AllowLoad", ctx_r0.IsCurrentTab("Query Fields"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
58
|
+
i0.ɵɵadvance();
|
|
59
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Query Permissions"));
|
|
82
60
|
i0.ɵɵadvance(3);
|
|
83
|
-
i0.ɵɵproperty("
|
|
61
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Query Permissions"))("AllowLoad", ctx_r0.IsCurrentTab("Query Permissions"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
62
|
+
i0.ɵɵadvance();
|
|
63
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Data Context Items"));
|
|
84
64
|
i0.ɵɵadvance(3);
|
|
85
|
-
i0.ɵɵproperty("
|
|
65
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Data Context Items"))("AllowLoad", ctx_r0.IsCurrentTab("Data Context Items"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
86
66
|
} }
|
|
87
67
|
let QueryFormComponent = class QueryFormComponent extends BaseFormComponent {
|
|
88
68
|
};
|
|
89
69
|
QueryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵQueryFormComponent_BaseFactory; return function QueryFormComponent_Factory(t) { return (ɵQueryFormComponent_BaseFactory || (ɵQueryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueryFormComponent)))(t || QueryFormComponent); }; })();
|
|
90
|
-
QueryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryFormComponent, selectors: [["gen-query-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars:
|
|
70
|
+
QueryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryFormComponent, selectors: [["gen-query-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", "Queries", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function QueryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
71
|
i0.ɵɵelementStart(0, "div", 0);
|
|
92
|
-
i0.ɵɵtemplate(1, QueryFormComponent_form_1_Template,
|
|
72
|
+
i0.ɵɵtemplate(1, QueryFormComponent_form_1_Template, 21, 18, "form", 1);
|
|
93
73
|
i0.ɵɵelementEnd();
|
|
94
74
|
} if (rf & 2) {
|
|
75
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
95
76
|
i0.ɵɵadvance();
|
|
96
77
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
97
|
-
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.
|
|
78
|
+
} }, 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}"] });
|
|
98
79
|
QueryFormComponent = __decorate([
|
|
99
80
|
RegisterClass(BaseFormComponent, 'Queries') // Tell MemberJunction about this class
|
|
100
81
|
], QueryFormComponent);
|
|
101
82
|
export { QueryFormComponent };
|
|
102
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryFormComponent, [{
|
|
103
84
|
type: Component,
|
|
104
|
-
args: [{ selector: 'gen-query-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n
|
|
85
|
+
args: [{ selector: 'gen-query-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=\"Queries\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n Query Fields\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Query Permissions')\">\n Query Permissions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Data Context Items')\">\n Data Context Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \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"] }]
|
|
105
86
|
}], null, null); })();
|
|
106
87
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryFormComponent, { className: "QueryFormComponent", filePath: "src\\lib\\generated\\Entities\\Query\\query.form.component.ts", lineNumber: 12 }); })();
|
|
107
88
|
export function LoadQueryFormComponent() {
|
|
@@ -224,110 +224,110 @@ QueryDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Query
|
|
|
224
224
|
i0.ɵɵtemplate(0, QueryDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
225
225
|
} if (rf & 2) {
|
|
226
226
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
227
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent, i3.NumericTextBoxComponent, i4.FieldLink, i5.DropDownListComponent], styles: ["
|
|
227
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent, i3.NumericTextBoxComponent, 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}"] });
|
|
228
228
|
QueryDetailsComponent = __decorate([
|
|
229
229
|
RegisterClass(BaseFormSectionComponent, 'Queries.details') // Tell MemberJunction about this class
|
|
230
230
|
], QueryDetailsComponent);
|
|
231
231
|
export { QueryDetailsComponent };
|
|
232
232
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
233
233
|
type: Component,
|
|
234
|
-
args: [{ selector: 'gen-query-form-details', template: `<div *ngIf="this.record">
|
|
235
|
-
<div *ngIf="this.EditMode" class="record-form">
|
|
236
|
-
|
|
237
|
-
<div class="record-form-row">
|
|
238
|
-
<label class="fieldLabel">Name</label>
|
|
239
|
-
<kendo-textarea [(ngModel)]="record.Name" ></kendo-textarea>
|
|
240
|
-
</div>
|
|
241
|
-
<div class="record-form-row">
|
|
242
|
-
<label class="fieldLabel">Description</label>
|
|
243
|
-
<kendo-textbox [(ngModel)]="record.Description" />
|
|
244
|
-
</div>
|
|
245
|
-
<div class="record-form-row">
|
|
246
|
-
<label class="fieldLabel">Category ID</label>
|
|
247
|
-
<kendo-numerictextbox [(value)]="record.CategoryID!" ></kendo-numerictextbox>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="record-form-row">
|
|
250
|
-
<label class="fieldLabel">SQL</label>
|
|
251
|
-
<kendo-textbox [(ngModel)]="record.SQL" />
|
|
252
|
-
</div>
|
|
253
|
-
<div class="record-form-row">
|
|
254
|
-
<label class="fieldLabel">Original SQL</label>
|
|
255
|
-
<kendo-textbox [(ngModel)]="record.OriginalSQL" />
|
|
256
|
-
</div>
|
|
257
|
-
<div class="record-form-row">
|
|
258
|
-
<label class="fieldLabel">Feedback</label>
|
|
259
|
-
<kendo-textbox [(ngModel)]="record.Feedback" />
|
|
260
|
-
</div>
|
|
261
|
-
<div class="record-form-row">
|
|
262
|
-
<label class="fieldLabel">Status</label>
|
|
263
|
-
<kendo-dropdownlist [data]="['Pending', 'Approved', 'Rejected', 'Expired']" [(ngModel)]="record.Status" ></kendo-dropdownlist>
|
|
264
|
-
</div>
|
|
265
|
-
<div class="record-form-row">
|
|
266
|
-
<label class="fieldLabel">Quality Rank</label>
|
|
267
|
-
<kendo-numerictextbox [(value)]="record.QualityRank!" ></kendo-numerictextbox>
|
|
268
|
-
</div>
|
|
269
|
-
<div class="record-form-row">
|
|
270
|
-
<label class="fieldLabel">Created At</label>
|
|
271
|
-
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
272
|
-
</div>
|
|
273
|
-
<div class="record-form-row">
|
|
274
|
-
<label class="fieldLabel">Updated At</label>
|
|
275
|
-
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
276
|
-
</div>
|
|
277
|
-
<div class="record-form-row">
|
|
278
|
-
<label class="fieldLabel">Category</label>
|
|
279
|
-
<span >{{FormatValue('Category', 0)}}</span>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
<div *ngIf="!this.EditMode" class="record-form">
|
|
283
|
-
|
|
284
|
-
<div class="record-form-row">
|
|
285
|
-
<label class="fieldLabel">Name</label>
|
|
286
|
-
<span >{{FormatValue('Name', 0)}}</span>
|
|
287
|
-
</div>
|
|
288
|
-
<div class="record-form-row">
|
|
289
|
-
<label class="fieldLabel">Description</label>
|
|
290
|
-
<span >{{FormatValue('Description', 0)}}</span>
|
|
291
|
-
</div>
|
|
292
|
-
<div class="record-form-row">
|
|
293
|
-
<label class="fieldLabel">Category ID</label>
|
|
294
|
-
<span mjFieldLink [record]="record" fieldName="CategoryID" >{{FormatValue('CategoryID', 0)}}</span>
|
|
295
|
-
</div>
|
|
296
|
-
<div class="record-form-row">
|
|
297
|
-
<label class="fieldLabel">SQL</label>
|
|
298
|
-
<span >{{FormatValue('SQL', 0)}}</span>
|
|
299
|
-
</div>
|
|
300
|
-
<div class="record-form-row">
|
|
301
|
-
<label class="fieldLabel">Original SQL</label>
|
|
302
|
-
<span >{{FormatValue('OriginalSQL', 0)}}</span>
|
|
303
|
-
</div>
|
|
304
|
-
<div class="record-form-row">
|
|
305
|
-
<label class="fieldLabel">Feedback</label>
|
|
306
|
-
<span >{{FormatValue('Feedback', 0)}}</span>
|
|
307
|
-
</div>
|
|
308
|
-
<div class="record-form-row">
|
|
309
|
-
<label class="fieldLabel">Status</label>
|
|
310
|
-
<span >{{FormatValue('Status', 0)}}</span>
|
|
311
|
-
</div>
|
|
312
|
-
<div class="record-form-row">
|
|
313
|
-
<label class="fieldLabel">Quality Rank</label>
|
|
314
|
-
<span >{{FormatValue('QualityRank', 0)}}</span>
|
|
315
|
-
</div>
|
|
316
|
-
<div class="record-form-row">
|
|
317
|
-
<label class="fieldLabel">Created At</label>
|
|
318
|
-
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
319
|
-
</div>
|
|
320
|
-
<div class="record-form-row">
|
|
321
|
-
<label class="fieldLabel">Updated At</label>
|
|
322
|
-
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
323
|
-
</div>
|
|
324
|
-
<div class="record-form-row">
|
|
325
|
-
<label class="fieldLabel">Category</label>
|
|
326
|
-
<span >{{FormatValue('Category', 0)}}</span>
|
|
327
|
-
</div>
|
|
328
|
-
</div>
|
|
329
|
-
</div>
|
|
330
|
-
`, styles: ["
|
|
234
|
+
args: [{ selector: 'gen-query-form-details', template: `<div *ngIf="this.record">
|
|
235
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
236
|
+
|
|
237
|
+
<div class="record-form-row">
|
|
238
|
+
<label class="fieldLabel">Name</label>
|
|
239
|
+
<kendo-textarea [(ngModel)]="record.Name" ></kendo-textarea>
|
|
240
|
+
</div>
|
|
241
|
+
<div class="record-form-row">
|
|
242
|
+
<label class="fieldLabel">Description</label>
|
|
243
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
244
|
+
</div>
|
|
245
|
+
<div class="record-form-row">
|
|
246
|
+
<label class="fieldLabel">Category ID</label>
|
|
247
|
+
<kendo-numerictextbox [(value)]="record.CategoryID!" ></kendo-numerictextbox>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="record-form-row">
|
|
250
|
+
<label class="fieldLabel">SQL</label>
|
|
251
|
+
<kendo-textbox [(ngModel)]="record.SQL" />
|
|
252
|
+
</div>
|
|
253
|
+
<div class="record-form-row">
|
|
254
|
+
<label class="fieldLabel">Original SQL</label>
|
|
255
|
+
<kendo-textbox [(ngModel)]="record.OriginalSQL" />
|
|
256
|
+
</div>
|
|
257
|
+
<div class="record-form-row">
|
|
258
|
+
<label class="fieldLabel">Feedback</label>
|
|
259
|
+
<kendo-textbox [(ngModel)]="record.Feedback" />
|
|
260
|
+
</div>
|
|
261
|
+
<div class="record-form-row">
|
|
262
|
+
<label class="fieldLabel">Status</label>
|
|
263
|
+
<kendo-dropdownlist [data]="['Pending', 'Approved', 'Rejected', 'Expired']" [(ngModel)]="record.Status" ></kendo-dropdownlist>
|
|
264
|
+
</div>
|
|
265
|
+
<div class="record-form-row">
|
|
266
|
+
<label class="fieldLabel">Quality Rank</label>
|
|
267
|
+
<kendo-numerictextbox [(value)]="record.QualityRank!" ></kendo-numerictextbox>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="record-form-row">
|
|
270
|
+
<label class="fieldLabel">Created At</label>
|
|
271
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="record-form-row">
|
|
274
|
+
<label class="fieldLabel">Updated At</label>
|
|
275
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
276
|
+
</div>
|
|
277
|
+
<div class="record-form-row">
|
|
278
|
+
<label class="fieldLabel">Category</label>
|
|
279
|
+
<span >{{FormatValue('Category', 0)}}</span>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
283
|
+
|
|
284
|
+
<div class="record-form-row">
|
|
285
|
+
<label class="fieldLabel">Name</label>
|
|
286
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="record-form-row">
|
|
289
|
+
<label class="fieldLabel">Description</label>
|
|
290
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
291
|
+
</div>
|
|
292
|
+
<div class="record-form-row">
|
|
293
|
+
<label class="fieldLabel">Category ID</label>
|
|
294
|
+
<span mjFieldLink [record]="record" fieldName="CategoryID" >{{FormatValue('CategoryID', 0)}}</span>
|
|
295
|
+
</div>
|
|
296
|
+
<div class="record-form-row">
|
|
297
|
+
<label class="fieldLabel">SQL</label>
|
|
298
|
+
<span >{{FormatValue('SQL', 0)}}</span>
|
|
299
|
+
</div>
|
|
300
|
+
<div class="record-form-row">
|
|
301
|
+
<label class="fieldLabel">Original SQL</label>
|
|
302
|
+
<span >{{FormatValue('OriginalSQL', 0)}}</span>
|
|
303
|
+
</div>
|
|
304
|
+
<div class="record-form-row">
|
|
305
|
+
<label class="fieldLabel">Feedback</label>
|
|
306
|
+
<span >{{FormatValue('Feedback', 0)}}</span>
|
|
307
|
+
</div>
|
|
308
|
+
<div class="record-form-row">
|
|
309
|
+
<label class="fieldLabel">Status</label>
|
|
310
|
+
<span >{{FormatValue('Status', 0)}}</span>
|
|
311
|
+
</div>
|
|
312
|
+
<div class="record-form-row">
|
|
313
|
+
<label class="fieldLabel">Quality Rank</label>
|
|
314
|
+
<span >{{FormatValue('QualityRank', 0)}}</span>
|
|
315
|
+
</div>
|
|
316
|
+
<div class="record-form-row">
|
|
317
|
+
<label class="fieldLabel">Created At</label>
|
|
318
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
319
|
+
</div>
|
|
320
|
+
<div class="record-form-row">
|
|
321
|
+
<label class="fieldLabel">Updated At</label>
|
|
322
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
323
|
+
</div>
|
|
324
|
+
<div class="record-form-row">
|
|
325
|
+
<label class="fieldLabel">Category</label>
|
|
326
|
+
<span >{{FormatValue('Category', 0)}}</span>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
</div>
|
|
330
|
+
`, 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"] }]
|
|
331
331
|
}], null, { record: [{
|
|
332
332
|
type: Input
|
|
333
333
|
}], EditMode: [{
|