@memberjunction/ng-core-entity-forms 5.23.0 → 5.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/lib/custom/ContentSources/content-source-form.component.d.ts +22 -0
  2. package/dist/lib/custom/ContentSources/content-source-form.component.d.ts.map +1 -0
  3. package/dist/lib/custom/ContentSources/content-source-form.component.js +165 -0
  4. package/dist/lib/custom/ContentSources/content-source-form.component.js.map +1 -0
  5. package/dist/lib/custom/custom-forms.module.d.ts +25 -24
  6. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  7. package/dist/lib/custom/custom-forms.module.js +6 -1
  8. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  9. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.d.ts.map +1 -1
  10. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +63 -45
  11. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
  12. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
  13. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +35 -17
  14. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  15. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.d.ts.map +1 -1
  16. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js +79 -20
  17. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js.map +1 -1
  18. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts +10 -0
  19. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts.map +1 -0
  20. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js +73 -0
  21. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js.map +1 -0
  22. package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js +7 -5
  23. package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js.map +1 -1
  24. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.d.ts.map +1 -1
  25. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js +49 -8
  26. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js.map +1 -1
  27. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts +10 -0
  28. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts.map +1 -0
  29. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js +107 -0
  30. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js.map +1 -0
  31. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts +10 -0
  32. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts.map +1 -0
  33. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js +57 -0
  34. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js.map +1 -0
  35. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.d.ts.map +1 -1
  36. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js +54 -22
  37. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js.map +1 -1
  38. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.d.ts.map +1 -1
  39. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js +43 -15
  40. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js.map +1 -1
  41. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.d.ts.map +1 -1
  42. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js +22 -14
  43. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js.map +1 -1
  44. package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js +21 -11
  45. package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js.map +1 -1
  46. package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js +15 -11
  47. package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js.map +1 -1
  48. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
  49. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +78 -60
  50. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  51. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.d.ts.map +1 -1
  52. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js +24 -6
  53. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js.map +1 -1
  54. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.d.ts.map +1 -1
  55. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js +23 -5
  56. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js.map +1 -1
  57. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts +10 -0
  58. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts.map +1 -0
  59. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js +77 -0
  60. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js.map +1 -0
  61. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.d.ts.map +1 -1
  62. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.js +22 -4
  63. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.js.map +1 -1
  64. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.d.ts.map +1 -1
  65. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +139 -19
  66. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
  67. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts +10 -0
  68. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts.map +1 -0
  69. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js +67 -0
  70. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js.map +1 -0
  71. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts +10 -0
  72. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts.map +1 -0
  73. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js +65 -0
  74. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js.map +1 -0
  75. package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.form.component.js +10 -8
  76. package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.form.component.js.map +1 -1
  77. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
  78. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +226 -154
  79. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  80. package/dist/lib/generated/generated-forms.module.d.ts +203 -197
  81. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  82. package/dist/lib/generated/generated-forms.module.js +117 -99
  83. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  84. package/package.json +32 -32
@@ -1 +1 @@
1
- {"version":3,"file":"mjentitydocument.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,6BAA8B,SAAQ,iBAAiB;IACzD,MAAM,EAAG,sBAAsB,CAAC;IAExB,QAAQ;yCAHd,6BAA6B;2CAA7B,6BAA6B;CAezC"}
1
+ {"version":3,"file":"mjentitydocument.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,6BAA8B,SAAQ,iBAAiB;IACzD,MAAM,EAAG,sBAAsB,CAAC;IAExB,QAAQ;yCAHd,6BAA6B;2CAA7B,6BAA6B;CAgBzC"}
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
12
  function MJEntityDocumentFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 22);
15
15
  i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocumentRuns", $event.totalRowCount)); });
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
@@ -21,7 +21,7 @@ function MJEntityDocumentFormComponent_Conditional_19_Template(rf, ctx) { if (rf
21
21
  } }
22
22
  function MJEntityDocumentFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 22);
25
25
  i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocumentSettings", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
@@ -31,7 +31,7 @@ function MJEntityDocumentFormComponent_Conditional_21_Template(rf, ctx) { if (rf
31
31
  } }
32
32
  function MJEntityDocumentFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
33
33
  const _r4 = i0.ɵɵgetCurrentView();
34
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
34
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 22);
35
35
  i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityRecordDocuments", $event.totalRowCount)); });
36
36
  i0.ɵɵelementEnd()();
37
37
  } if (rf & 2) {
@@ -39,6 +39,16 @@ function MJEntityDocumentFormComponent_Conditional_23_Template(rf, ctx) { if (rf
39
39
  i0.ɵɵadvance();
40
40
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Record Documents", "EntityDocumentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Record Documents"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityRecordDocuments"))("ShowToolbar", false);
41
41
  } }
42
+ function MJEntityDocumentFormComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
43
+ const _r5 = i0.ɵɵgetCurrentView();
44
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 22);
45
+ i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_25_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_25_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentSources", $event.totalRowCount)); });
46
+ i0.ɵɵelementEnd()();
47
+ } if (rf & 2) {
48
+ const ctx_r1 = i0.ɵɵnextContext();
49
+ i0.ɵɵadvance();
50
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Sources", "EntityDocumentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Sources"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentSources"))("ShowToolbar", false);
51
+ } }
42
52
  let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends BaseFormComponent {
43
53
  async ngOnInit() {
44
54
  await super.ngOnInit();
@@ -49,11 +59,12 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
49
59
  { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
50
60
  { sectionKey: 'mJEntityDocumentRuns', sectionName: 'Entity Document Runs', isExpanded: false },
51
61
  { sectionKey: 'mJEntityDocumentSettings', sectionName: 'Entity Document Settings', isExpanded: false },
52
- { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false }
62
+ { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false },
63
+ { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false }
53
64
  ]);
54
65
  }
55
66
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJEntityDocumentFormComponent_BaseFactory; return function MJEntityDocumentFormComponent_Factory(__ngFactoryType__) { return (ɵMJEntityDocumentFormComponent_BaseFactory || (ɵMJEntityDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJEntityDocumentFormComponent)))(__ngFactoryType__ || MJEntityDocumentFormComponent); }; })(); }
56
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityDocumentFormComponent, selectors: [["gen-mjentitydocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 77, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "documentDetails", "SectionName", "Document Details", "Icon", "fa fa-file-alt", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "relationships", "SectionName", "Relationships", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorDatabaseID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AIModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "matchingConfiguration", "SectionName", "Matching Configuration", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PotentialMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AbsoluteMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJEntityDocumentRuns", "SectionName", "Entity Document Runs", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocumentSettings", "SectionName", "Entity Document Settings", "Icon", "fa fa-sliders-h", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityRecordDocuments", "SectionName", "Entity Record Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEntityDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
67
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityDocumentFormComponent, selectors: [["gen-mjentitydocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 26, vars: 82, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "documentDetails", "SectionName", "Document Details", "Icon", "fa fa-file-alt", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "relationships", "SectionName", "Relationships", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorDatabaseID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AIModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "matchingConfiguration", "SectionName", "Matching Configuration", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PotentialMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AbsoluteMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJEntityDocumentRuns", "SectionName", "Entity Document Runs", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocumentSettings", "SectionName", "Entity Document Settings", "Icon", "fa fa-sliders-h", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityRecordDocuments", "SectionName", "Entity Record Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentSources", "SectionName", "Content Sources", "Icon", "fa fa-plug", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEntityDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
57
68
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
58
69
  i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJEntityDocumentFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
59
70
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
@@ -76,6 +87,9 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
76
87
  i0.ɵɵelementEnd();
77
88
  i0.ɵɵelementStart(22, "mj-collapsible-panel", 20);
78
89
  i0.ɵɵconditionalCreate(23, MJEntityDocumentFormComponent_Conditional_23_Template, 2, 4, "div");
90
+ i0.ɵɵelementEnd();
91
+ i0.ɵɵelementStart(24, "mj-collapsible-panel", 21);
92
+ i0.ɵɵconditionalCreate(25, MJEntityDocumentFormComponent_Conditional_25_Template, 2, 4, "div");
79
93
  i0.ɵɵelementEnd()();
80
94
  } if (rf & 2) {
81
95
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -125,6 +139,10 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
125
139
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityRecordDocuments"))("DefaultExpanded", false);
126
140
  i0.ɵɵadvance();
127
141
  i0.ɵɵconditional(ctx.record.IsSaved ? 23 : -1);
142
+ i0.ɵɵadvance();
143
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentSources"))("DefaultExpanded", false);
144
+ i0.ɵɵadvance();
145
+ i0.ɵɵconditional(ctx.record.IsSaved ? 25 : -1);
128
146
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
129
147
  };
130
148
  MJEntityDocumentFormComponent = __decorate([
@@ -133,7 +151,7 @@ MJEntityDocumentFormComponent = __decorate([
133
151
  export { MJEntityDocumentFormComponent };
134
152
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJEntityDocumentFormComponent, [{
135
153
  type: Component,
136
- args: [{ standalone: false, selector: 'gen-mjentitydocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
154
+ args: [{ standalone: false, selector: 'gen-mjentitydocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
137
155
  }], null, null); })();
138
156
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEntityDocumentFormComponent, { className: "MJEntityDocumentFormComponent", filePath: "src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts", lineNumber: 13 }); })();
139
157
  //# sourceMappingURL=mjentitydocument.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjentitydocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;IC6KtD,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA,AADA,uHAAiG,uEAClC,+DACR,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,0BAA0B,uBAAuB,KAAC;IAG9F,AADI,iBAA+B,EAC7B;;;IARE,cAAqG;IAGrG,AADA,AADA,AADA,2HAAqG,2EAClC,mEACR,sBACtC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,yBAAyB,uBAAuB,KAAC;IAG7F,AADI,iBAA+B,EAC7B;;;IARE,cAAoG;IAGpG,AADA,AADA,AADA,0HAAoG,0EAClC,kEACR,sBACrC;;AD1N9B,IAAM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/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,iEACiC,0BACnC;YACzB,cAYC;YAZD,8CAYC;;;ADhOI,6BAA6B;IANzC,aAAa,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,uCAAuC;GAMpF,6BAA6B,CAezC;;iFAfY,6BAA6B;cALzC,SAAS;6BACM,KAAK,YACP,2BAA2B;;kFAG5B,6BAA6B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentitydocument-form',\n templateUrl: './mjentitydocument.form.component.html'\n})\nexport class MJEntityDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'documentDetails', sectionName: 'Document Details', isExpanded: true },\n { sectionKey: 'relationships', sectionName: 'Relationships', isExpanded: true },\n { sectionKey: 'matchingConfiguration', sectionName: 'Matching Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityDocumentRuns', sectionName: 'Entity Document Runs', isExpanded: false },\n { sectionKey: 'mJEntityDocumentSettings', sectionName: 'Entity Document Settings', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjentitydocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;IC6KtD,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA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;cALzC,SAAS;6BACM,KAAK,YACP,2BAA2B;;kFAG5B,6BAA6B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentitydocument-form',\n templateUrl: './mjentitydocument.form.component.html'\n})\nexport class MJEntityDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'documentDetails', sectionName: 'Document Details', isExpanded: true },\n { sectionKey: 'relationships', sectionName: 'Relationships', isExpanded: true },\n { sectionKey: 'matchingConfiguration', sectionName: 'Matching Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityDocumentRuns', sectionName: 'Entity Document Runs', isExpanded: false },\n { sectionKey: 'mJEntityDocumentSettings', sectionName: 'Entity Document Settings', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false },\n { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjentityrecorddocument.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,mCAAoC,SAAQ,iBAAiB;IAC/D,MAAM,EAAG,4BAA4B,CAAC;IAE9B,QAAQ;yCAHd,mCAAmC;2CAAnC,mCAAmC;CAa/C"}
1
+ {"version":3,"file":"mjentityrecorddocument.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,mCAAoC,SAAQ,iBAAiB;IAC/D,MAAM,EAAG,4BAA4B,CAAC;IAE9B,QAAQ;yCAHd,mCAAmC;2CAAnC,mCAAmC;CAc/C"}
@@ -9,6 +9,16 @@ import { RegisterClass } from '@memberjunction/global';
9
9
  import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
10
  import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
+ function MJEntityRecordDocumentFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
13
+ const _r1 = i0.ɵɵgetCurrentView();
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
15
+ i0.ɵɵlistener("Navigate", function MJEntityRecordDocumentFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityRecordDocumentFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentItems", $event.totalRowCount)); });
16
+ i0.ɵɵelementEnd()();
17
+ } if (rf & 2) {
18
+ const ctx_r1 = i0.ɵɵnextContext();
19
+ i0.ɵɵadvance();
20
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Items", "EntityRecordDocumentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentItems"))("ShowToolbar", false);
21
+ } }
12
22
  let MJEntityRecordDocumentFormComponent = class MJEntityRecordDocumentFormComponent extends BaseFormComponent {
13
23
  async ngOnInit() {
14
24
  await super.ngOnInit();
@@ -17,11 +27,12 @@ let MJEntityRecordDocumentFormComponent = class MJEntityRecordDocumentFormCompon
17
27
  { sectionKey: 'documentDefinitionOutput', sectionName: 'Document Definition & Output', isExpanded: true },
18
28
  { sectionKey: 'vectorEmbedding', sectionName: 'Vector Embedding', isExpanded: false },
19
29
  { sectionKey: 'timestampsAudit', sectionName: 'Timestamps & Audit', isExpanded: false },
20
- { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }
30
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
31
+ { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }
21
32
  ]);
22
33
  }
23
34
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJEntityRecordDocumentFormComponent_BaseFactory; return function MJEntityRecordDocumentFormComponent_Factory(__ngFactoryType__) { return (ɵMJEntityRecordDocumentFormComponent_BaseFactory || (ɵMJEntityRecordDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJEntityRecordDocumentFormComponent)))(__ngFactoryType__ || MJEntityRecordDocumentFormComponent); }; })(); }
24
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityRecordDocumentFormComponent, selectors: [["gen-mjentityrecorddocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 16, vars: 52, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identifiers", "SectionName", "Identifiers", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RecordID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "documentDefinitionOutput", "SectionName", "Document Definition & Output", "Icon", "fa fa-file-alt", 3, "Form", "FormContext"], ["FieldName", "EntityDocumentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DocumentText", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "vectorEmbedding", "SectionName", "Vector Embedding", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorJSON", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "timestampsAudit", "SectionName", "Timestamps & Audit", "Icon", "fa fa-calendar", 3, "Form", "FormContext"], ["FieldName", "EntityRecordUpdatedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"]], template: function MJEntityRecordDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
35
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityRecordDocumentFormComponent, selectors: [["gen-mjentityrecorddocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 57, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identifiers", "SectionName", "Identifiers", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RecordID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "documentDefinitionOutput", "SectionName", "Document Definition & Output", "Icon", "fa fa-file-alt", 3, "Form", "FormContext"], ["FieldName", "EntityDocumentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DocumentText", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "vectorEmbedding", "SectionName", "Vector Embedding", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorJSON", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "timestampsAudit", "SectionName", "Timestamps & Audit", "Icon", "fa fa-calendar", 3, "Form", "FormContext"], ["FieldName", "EntityRecordUpdatedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJContentItems", "SectionName", "Content Items", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEntityRecordDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
25
36
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
26
37
  i0.ɵɵlistener("Navigate", function MJEntityRecordDocumentFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJEntityRecordDocumentFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJEntityRecordDocumentFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJEntityRecordDocumentFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJEntityRecordDocumentFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
27
38
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
@@ -38,6 +49,9 @@ let MJEntityRecordDocumentFormComponent = class MJEntityRecordDocumentFormCompon
38
49
  i0.ɵɵelementEnd();
39
50
  i0.ɵɵelementStart(13, "mj-collapsible-panel", 13);
40
51
  i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
52
+ i0.ɵɵelementEnd();
53
+ i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
54
+ i0.ɵɵconditionalCreate(17, MJEntityRecordDocumentFormComponent_Conditional_17_Template, 2, 4, "div");
41
55
  i0.ɵɵelementEnd()();
42
56
  } if (rf & 2) {
43
57
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -71,7 +85,11 @@ let MJEntityRecordDocumentFormComponent = class MJEntityRecordDocumentFormCompon
71
85
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
72
86
  i0.ɵɵadvance();
73
87
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
74
- } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent], encapsulation: 2 }); }
88
+ i0.ɵɵadvance();
89
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentItems"))("DefaultExpanded", false);
90
+ i0.ɵɵadvance();
91
+ i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
92
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
75
93
  };
76
94
  MJEntityRecordDocumentFormComponent = __decorate([
77
95
  RegisterClass(BaseFormComponent, 'MJ: Entity Record Documents') // Tell MemberJunction about this class
@@ -79,7 +97,7 @@ MJEntityRecordDocumentFormComponent = __decorate([
79
97
  export { MJEntityRecordDocumentFormComponent };
80
98
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJEntityRecordDocumentFormComponent, [{
81
99
  type: Component,
82
- args: [{ standalone: false, selector: 'gen-mjentityrecorddocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Document Definition & Output Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDefinitionOutput\"\n SectionName=\"Document Definition & Output\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DocumentText\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Vector Embedding Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorEmbedding\"\n SectionName=\"Vector Embedding\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorJSON\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Timestamps & Audit Section -->\n <mj-collapsible-panel\n SectionKey=\"timestampsAudit\"\n SectionName=\"Timestamps & Audit\"\n Icon=\"fa fa-calendar\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"EntityRecordUpdatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
100
+ args: [{ standalone: false, selector: 'gen-mjentityrecorddocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Document Definition & Output Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDefinitionOutput\"\n SectionName=\"Document Definition & Output\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DocumentText\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Vector Embedding Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorEmbedding\"\n SectionName=\"Vector Embedding\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorJSON\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Timestamps & Audit Section -->\n <mj-collapsible-panel\n SectionKey=\"timestampsAudit\"\n SectionName=\"Timestamps & Audit\"\n Icon=\"fa fa-calendar\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"EntityRecordUpdatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','EntityRecordDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
83
101
  }], null, null); })();
84
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEntityRecordDocumentFormComponent, { className: "MJEntityRecordDocumentFormComponent", filePath: "src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts", lineNumber: 12 }); })();
102
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEntityRecordDocumentFormComponent, { className: "MJEntityRecordDocumentFormComponent", filePath: "src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts", lineNumber: 13 }); })();
85
103
  //# sourceMappingURL=mjentityrecorddocument.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjentityrecorddocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;AAQ3D,IAAM,mCAAmC,GAAzC,MAAM,mCAAoC,SAAQ,iBAAiB;IAG7D,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE;YAC3E,EAAE,UAAU,EAAE,0BAA0B,EAAE,WAAW,EAAE,8BAA8B,EAAE,UAAU,EAAE,IAAI,EAAE;YACzG,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,E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YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,oBACE,0BAGE,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;;;AD/H1B,mCAAmC;IAN/C,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,mCAAmC,CAa/C;;iFAbY,mCAAmC;cAL/C,SAAS;6BACM,KAAK,YACP,iCAAiC;;kFAGlC,mCAAmC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityRecordDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Record Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentityrecorddocument-form',\n templateUrl: './mjentityrecorddocument.form.component.html'\n})\nexport class MJEntityRecordDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityRecordDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'identifiers', sectionName: 'Identifiers', isExpanded: true },\n { sectionKey: 'documentDefinitionOutput', sectionName: 'Document Definition & Output', isExpanded: true },\n { sectionKey: 'vectorEmbedding', sectionName: 'Vector Embedding', isExpanded: false },\n { sectionKey: 'timestampsAudit', sectionName: 'Timestamps & Audit', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Document Definition & Output Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDefinitionOutput\"\n SectionName=\"Document Definition & Output\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DocumentText\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Vector Embedding Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorEmbedding\"\n SectionName=\"Vector Embedding\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorJSON\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Timestamps & Audit Section -->\n <mj-collapsible-panel\n SectionKey=\"timestampsAudit\"\n SectionName=\"Timestamps & Audit\"\n Icon=\"fa fa-calendar\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"EntityRecordUpdatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjentityrecorddocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;IC4JtD,AADJ,2BAAK,uCAQI;IADD,AADA,0OAAY,6BAAsB,KAAC,uOAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAgG;IAGhG,AADA,AADA,AADA,sHAAgG,gEACxC,yDACP,sBAC5B;;ADvJ9B,IAAM,mCAAmC,GAAzC,MAAM,mCAAoC,SAAQ,iBAAiB;IAG7D,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE;YAC3E,EAAE,UAAU,EAAE,0BAA0B,EAAE,WAAW,EAAE,8BAA8B,EAAE,UAAU,EAAE,IAAI,EAAE;YACzG,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,KAAK,EAAE;YACrF,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,UAAU,EAAE,KAAK,EAAE;YACvF,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;YACnF,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE;SACpF,CAAC,CAAC;IACP,CAAC;gUAbQ,mCAAmC,yBAAnC,mCAAmC;oEAAnC,m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gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;;;AD7JI,mCAAmC;IAN/C,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,mCAAmC,CAc/C;;iFAdY,mCAAmC;cAL/C,SAAS;6BACM,KAAK,YACP,iCAAiC;;kFAGlC,mCAAmC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityRecordDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Record Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentityrecorddocument-form',\n templateUrl: './mjentityrecorddocument.form.component.html'\n})\nexport class MJEntityRecordDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityRecordDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'identifiers', sectionName: 'Identifiers', isExpanded: true },\n { sectionKey: 'documentDefinitionOutput', sectionName: 'Document Definition & Output', isExpanded: true },\n { sectionKey: 'vectorEmbedding', sectionName: 'Vector Embedding', isExpanded: false },\n { sectionKey: 'timestampsAudit', sectionName: 'Timestamps & Audit', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Document Definition & Output Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDefinitionOutput\"\n SectionName=\"Document Definition & Output\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DocumentText\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Vector Embedding Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorEmbedding\"\n SectionName=\"Vector Embedding\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorJSON\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Timestamps & Audit Section -->\n <mj-collapsible-panel\n SectionKey=\"timestampsAudit\"\n SectionName=\"Timestamps & Audit\"\n Icon=\"fa fa-calendar\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"EntityRecordUpdatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','EntityRecordDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -0,0 +1,10 @@
1
+ import { MJKnowledgeHubSavedSearchEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MJKnowledgeHubSavedSearchFormComponent extends BaseFormComponent {
5
+ record: MJKnowledgeHubSavedSearchEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJKnowledgeHubSavedSearchFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJKnowledgeHubSavedSearchFormComponent, "gen-mjknowledgehubsavedsearch-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ //# sourceMappingURL=mjknowledgehubsavedsearch.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mjknowledgehubsavedsearch.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,sCAAuC,SAAQ,iBAAiB;IAClE,MAAM,EAAG,+BAA+B,CAAC;IAEjC,QAAQ;yCAHd,sCAAsC;2CAAtC,sCAAsC;CAYlD"}
@@ -0,0 +1,77 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { Component } from '@angular/core';
8
+ import { RegisterClass } from '@memberjunction/global';
9
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@memberjunction/ng-base-forms";
12
+ let MJKnowledgeHubSavedSearchFormComponent = class MJKnowledgeHubSavedSearchFormComponent extends BaseFormComponent {
13
+ async ngOnInit() {
14
+ await super.ngOnInit();
15
+ this.initSections([
16
+ { sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },
17
+ { sectionKey: 'searchCriteria', sectionName: 'Search Criteria', isExpanded: true },
18
+ { sectionKey: 'resultsAndNotifications', sectionName: 'Results and Notifications', isExpanded: false },
19
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }
20
+ ]);
21
+ }
22
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJKnowledgeHubSavedSearchFormComponent_BaseFactory; return function MJKnowledgeHubSavedSearchFormComponent_Factory(__ngFactoryType__) { return (ɵMJKnowledgeHubSavedSearchFormComponent_BaseFactory || (ɵMJKnowledgeHubSavedSearchFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJKnowledgeHubSavedSearchFormComponent)))(__ngFactoryType__ || MJKnowledgeHubSavedSearchFormComponent); }; })(); }
23
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJKnowledgeHubSavedSearchFormComponent, selectors: [["gen-mjknowledgehubsavedsearch-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 46, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "ownership", "SectionName", "Ownership", "Icon", "fa fa-user-tag", 3, "Form", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "searchCriteria", "SectionName", "Search Criteria", "Icon", "fa fa-search", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Query", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Filters", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "resultsAndNotifications", "SectionName", "Results and Notifications", "Icon", "fa fa-bell", 3, "Form", "FormContext"], ["FieldName", "MinScore", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxResults", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "NotifyOnNewResults", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"]], template: function MJKnowledgeHubSavedSearchFormComponent_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0);
25
+ i0.ɵɵlistener("Navigate", function MJKnowledgeHubSavedSearchFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJKnowledgeHubSavedSearchFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJKnowledgeHubSavedSearchFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJKnowledgeHubSavedSearchFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJKnowledgeHubSavedSearchFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
26
+ i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
27
+ i0.ɵɵelement(2, "mj-form-field", 2);
28
+ i0.ɵɵelementEnd();
29
+ i0.ɵɵelementStart(3, "mj-collapsible-panel", 3);
30
+ i0.ɵɵelement(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6);
31
+ i0.ɵɵelementEnd();
32
+ i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
33
+ i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
34
+ i0.ɵɵelementEnd();
35
+ i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
36
+ i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
37
+ i0.ɵɵelementEnd()();
38
+ } if (rf & 2) {
39
+ i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
40
+ i0.ɵɵadvance();
41
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
42
+ i0.ɵɵadvance();
43
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", false)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
44
+ i0.ɵɵadvance();
45
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
46
+ i0.ɵɵadvance();
47
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
48
+ i0.ɵɵadvance();
49
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
50
+ i0.ɵɵadvance();
51
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
52
+ i0.ɵɵadvance();
53
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
54
+ i0.ɵɵadvance();
55
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
56
+ i0.ɵɵadvance();
57
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
58
+ i0.ɵɵadvance();
59
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
60
+ i0.ɵɵadvance();
61
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
62
+ i0.ɵɵadvance();
63
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
64
+ i0.ɵɵadvance();
65
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
66
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent], encapsulation: 2 }); }
67
+ };
68
+ MJKnowledgeHubSavedSearchFormComponent = __decorate([
69
+ RegisterClass(BaseFormComponent, 'MJ: Knowledge Hub Saved Searches') // Tell MemberJunction about this class
70
+ ], MJKnowledgeHubSavedSearchFormComponent);
71
+ export { MJKnowledgeHubSavedSearchFormComponent };
72
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJKnowledgeHubSavedSearchFormComponent, [{
73
+ type: Component,
74
+ args: [{ standalone: false, selector: 'gen-mjknowledgehubsavedsearch-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Search Criteria Section -->\n <mj-collapsible-panel\n SectionKey=\"searchCriteria\"\n SectionName=\"Search Criteria\"\n Icon=\"fa fa-search\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Query\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Filters\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Results and Notifications Section -->\n <mj-collapsible-panel\n SectionKey=\"resultsAndNotifications\"\n SectionName=\"Results and Notifications\"\n Icon=\"fa fa-bell\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MinScore\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxResults\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NotifyOnNewResults\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
75
+ }], null, null); })();
76
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJKnowledgeHubSavedSearchFormComponent, { className: "MJKnowledgeHubSavedSearchFormComponent", filePath: "src/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.ts", lineNumber: 12 }); })();
77
+ //# sourceMappingURL=mjknowledgehubsavedsearch.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mjknowledgehubsavedsearch.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.ts","../../../../../src/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;AAQ3D,IAAM,sCAAsC,GAA5C,MAAM,sCAAuC,SAAQ,iBAAiB;IAGhE,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE;YACvE,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,IAAI,EAAE;YAClF,EAAE,UAAU,EAAE,yBAAyB,EAAE,WAAW,EAAE,2BAA2B,EAAE,UAAU,EAAE,KAAK,EAAE;YACtG,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;SACtF,CAAC,CAAC;IACP,CAAC;4UAXQ,sCAAsC,yBAAtC,sCAAsC;oEAAtC,sCAAsC;YCXnD,mDAK4D;YAAxD,AADA,AADA,AADA,AADA,iJAAY,0BAAsB,IAAC,4IAChB,uBAAmB,IAAC,4IACpB,uBAAmB,IAAC,8IACnB,wBAAoB,IAAC,4JACd,+BAA2B,IAAC;YAMvD,+CAKgC;YAC5B,mCAQiB;YAErB,iBAAuB;YAGvB,+CAKgC;YAiB5B,AARA,AARA,mCAOiB,uBAQA,uBAQA;YAErB,iBAAuB;YAGvB,+CAKgC;YAiB5B,AARA,AARA,mCAOiB,uBAQA,yBAQA;YAErB,iBAAuB;YAGvB,iDAKgC;YAS5B,AARA,qCAOiB,yBAQA;YAGzB,AADI,iBAAuB,EACA;;YA1HiB,AAAlB,mCAAiB,sBAAuB;YAe1D,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,oBACE,0BAGE,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;;;AD3G1B,sCAAsC;IANlD,aAAa,CAAC,iBAAiB,EAAE,kCAAkC,CAAC,CAAC,uCAAuC;GAMhG,sCAAsC,CAYlD;;iFAZY,sCAAsC;cALlD,SAAS;6BACM,KAAK,YACP,oCAAoC;;kFAGrC,sCAAsC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJKnowledgeHubSavedSearchEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\n\n@RegisterClass(BaseFormComponent, 'MJ: Knowledge Hub Saved Searches') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjknowledgehubsavedsearch-form',\n templateUrl: './mjknowledgehubsavedsearch.form.component.html'\n})\nexport class MJKnowledgeHubSavedSearchFormComponent extends BaseFormComponent {\n public record!: MJKnowledgeHubSavedSearchEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },\n { sectionKey: 'searchCriteria', sectionName: 'Search Criteria', isExpanded: true },\n { sectionKey: 'resultsAndNotifications', sectionName: 'Results and Notifications', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Search Criteria Section -->\n <mj-collapsible-panel\n SectionKey=\"searchCriteria\"\n SectionName=\"Search Criteria\"\n Icon=\"fa fa-search\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Query\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Filters\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Results and Notifications Section -->\n <mj-collapsible-panel\n SectionKey=\"resultsAndNotifications\"\n SectionName=\"Results and Notifications\"\n Icon=\"fa fa-bell\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MinScore\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxResults\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NotifyOnNewResults\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjscheduledaction.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,8BAA+B,SAAQ,iBAAiB;IAC1D,MAAM,EAAG,uBAAuB,CAAC;IAEzB,QAAQ;yCAHd,8BAA8B;2CAA9B,8BAA8B;CAa1C"}
1
+ {"version":3,"file":"mjscheduledaction.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,8BAA+B,SAAQ,iBAAiB;IAC1D,MAAM,EAAG,uBAAuB,CAAC;IAEzB,QAAQ;yCAHd,8BAA8B;2CAA9B,8BAA8B;CAc1C"}