@memberjunction/ng-core-entity-forms 3.1.1 → 3.2.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 (51) hide show
  1. package/dist/lib/generated/Entities/APIKey/apikey.form.component.d.ts +11 -0
  2. package/dist/lib/generated/Entities/APIKey/apikey.form.component.d.ts.map +1 -0
  3. package/dist/lib/generated/Entities/APIKey/apikey.form.component.js +122 -0
  4. package/dist/lib/generated/Entities/APIKey/apikey.form.component.js.map +1 -0
  5. package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.d.ts +11 -0
  6. package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.d.ts.map +1 -0
  7. package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.js +67 -0
  8. package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.js.map +1 -0
  9. package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.d.ts +11 -0
  10. package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.d.ts.map +1 -0
  11. package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.js +83 -0
  12. package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.js.map +1 -0
  13. package/dist/lib/generated/Entities/APIScope/apiscope.form.component.d.ts +11 -0
  14. package/dist/lib/generated/Entities/APIScope/apiscope.form.component.d.ts.map +1 -0
  15. package/dist/lib/generated/Entities/APIScope/apiscope.form.component.js +78 -0
  16. package/dist/lib/generated/Entities/APIScope/apiscope.form.component.js.map +1 -0
  17. package/dist/lib/generated/Entities/Credential/credential.form.component.d.ts.map +1 -1
  18. package/dist/lib/generated/Entities/Credential/credential.form.component.js +22 -4
  19. package/dist/lib/generated/Entities/Credential/credential.form.component.js.map +1 -1
  20. package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.d.ts +11 -0
  21. package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.d.ts.map +1 -0
  22. package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.js +71 -0
  23. package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.js.map +1 -0
  24. package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.d.ts.map +1 -1
  25. package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +45 -17
  26. package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js.map +1 -1
  27. package/dist/lib/generated/Entities/Template/template.form.component.d.ts.map +1 -1
  28. package/dist/lib/generated/Entities/Template/template.form.component.js +45 -9
  29. package/dist/lib/generated/Entities/Template/template.form.component.js.map +1 -1
  30. package/dist/lib/generated/Entities/User/user.form.component.d.ts.map +1 -1
  31. package/dist/lib/generated/Entities/User/user.form.component.js +218 -164
  32. package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
  33. package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +11 -7
  34. package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js.map +1 -1
  35. package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.d.ts +11 -0
  36. package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.d.ts.map +1 -0
  37. package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.js +75 -0
  38. package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.js.map +1 -0
  39. package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.d.ts +11 -0
  40. package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.d.ts.map +1 -0
  41. package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.js +130 -0
  42. package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.js.map +1 -0
  43. package/dist/lib/generated/generated-forms.module.d.ts +170 -164
  44. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  45. package/dist/lib/generated/generated-forms.module.js +110 -86
  46. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  47. package/package.json +30 -30
  48. package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.d.ts +0 -11
  49. package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.d.ts.map +0 -1
  50. package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.js +0 -67
  51. package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { APIKeyEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIKeyFormComponent extends BaseFormComponent {
5
+ record: APIKeyEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIKeyFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<APIKeyFormComponent, "gen-apikey-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadAPIKeyFormComponent(): void;
11
+ //# sourceMappingURL=apikey.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikey.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKey/apikey.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,mBAAoB,SAAQ,iBAAiB;IAC/C,MAAM,EAAG,YAAY,CAAC;IAEd,QAAQ;yCAHd,mBAAmB;2CAAnB,mBAAmB;CAc/B;AAED,wBAAgB,uBAAuB,SAEtC"}
@@ -0,0 +1,122 @@
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 "@angular/common";
12
+ import * as i2 from "@memberjunction/ng-base-forms";
13
+ import * as i3 from "@memberjunction/ng-form-toolbar";
14
+ function APIKeyFormComponent_div_18_Template(rf, ctx) { if (rf & 1) {
15
+ const _r1 = i0.ɵɵgetCurrentView();
16
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 20);
17
+ i0.ɵɵlistener("AfterDataLoad", function APIKeyFormComponent_div_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyScopes", $event.totalRowCount)); });
18
+ i0.ɵɵelementEnd()();
19
+ } if (rf & 2) {
20
+ const ctx_r1 = i0.ɵɵnextContext();
21
+ i0.ɵɵadvance();
22
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Scopes", "APIKeyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyScopes"))("ShowToolbar", false);
23
+ } }
24
+ function APIKeyFormComponent_div_20_Template(rf, ctx) { if (rf & 1) {
25
+ const _r3 = i0.ɵɵgetCurrentView();
26
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 20);
27
+ i0.ɵɵlistener("AfterDataLoad", function APIKeyFormComponent_div_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyUsageLogs", $event.totalRowCount)); });
28
+ i0.ɵɵelementEnd()();
29
+ } if (rf & 2) {
30
+ const ctx_r1 = i0.ɵɵnextContext();
31
+ i0.ɵɵadvance();
32
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Usage Logs", "APIKeyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Usage Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyUsageLogs"))("ShowToolbar", false);
33
+ } }
34
+ let APIKeyFormComponent = class APIKeyFormComponent extends BaseFormComponent {
35
+ async ngOnInit() {
36
+ await super.ngOnInit();
37
+ this.initSections([
38
+ { sectionKey: 'keyInformation', sectionName: 'Key Information', isExpanded: true },
39
+ { sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },
40
+ { sectionKey: 'statusUsage', sectionName: 'Status & Usage', isExpanded: false },
41
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
42
+ { sectionKey: 'mJAPIKeyScopes', sectionName: 'MJ: API Key Scopes', isExpanded: false },
43
+ { sectionKey: 'mJAPIKeyUsageLogs', sectionName: 'MJ: API Key Usage Logs', isExpanded: false }
44
+ ]);
45
+ }
46
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAPIKeyFormComponent_BaseFactory; return function APIKeyFormComponent_Factory(__ngFactoryType__) { return (ɵAPIKeyFormComponent_BaseFactory || (ɵAPIKeyFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(APIKeyFormComponent)))(__ngFactoryType__ || APIKeyFormComponent); }; })(); }
47
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: APIKeyFormComponent, selectors: [["gen-apikey-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 68, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "keyInformation", "sectionName", "Key Information", "icon", "fa fa-key", 3, "form", "formContext"], ["FieldName", "Hash", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Label", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "ownership", "sectionName", "Ownership", "icon", "fa fa-user", 3, "form", "formContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "CreatedByUserID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "User", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "CreatedByUser", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "statusUsage", "sectionName", "Status & Usage", "icon", "fa fa-flag", 3, "form", "formContext"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ExpiresAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "LastUsedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "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"], ["slot", "after-panels", "sectionKey", "mJAPIKeyScopes", "sectionName", "MJ: API Key Scopes", "icon", "fa fa-key", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJAPIKeyUsageLogs", "sectionName", "MJ: API Key Usage Logs", "icon", "fa fa-key", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [3, "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function APIKeyFormComponent_Template(rf, ctx) { if (rf & 1) {
48
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
49
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4);
50
+ i0.ɵɵelementEnd();
51
+ i0.ɵɵelementStart(5, "mj-collapsible-panel", 5);
52
+ i0.ɵɵelement(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9);
53
+ i0.ɵɵelementEnd();
54
+ i0.ɵɵelementStart(10, "mj-collapsible-panel", 10);
55
+ i0.ɵɵelement(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13);
56
+ i0.ɵɵelementEnd();
57
+ i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
58
+ i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16);
59
+ i0.ɵɵelementEnd();
60
+ i0.ɵɵelementStart(17, "mj-collapsible-panel", 17);
61
+ i0.ɵɵtemplate(18, APIKeyFormComponent_div_18_Template, 2, 4, "div", 18);
62
+ i0.ɵɵelementEnd();
63
+ i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
64
+ i0.ɵɵtemplate(20, APIKeyFormComponent_div_20_Template, 2, 4, "div", 18);
65
+ i0.ɵɵelementEnd()();
66
+ } if (rf & 2) {
67
+ i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
68
+ i0.ɵɵadvance();
69
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
70
+ i0.ɵɵadvance();
71
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
72
+ i0.ɵɵadvance();
73
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
74
+ i0.ɵɵadvance();
75
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
76
+ i0.ɵɵadvance();
77
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
78
+ i0.ɵɵadvance();
79
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
80
+ i0.ɵɵadvance();
81
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
82
+ i0.ɵɵadvance();
83
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
84
+ i0.ɵɵadvance();
85
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
86
+ i0.ɵɵadvance();
87
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
88
+ i0.ɵɵadvance();
89
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
90
+ i0.ɵɵadvance();
91
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
92
+ i0.ɵɵadvance();
93
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
94
+ i0.ɵɵadvance();
95
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
96
+ i0.ɵɵadvance();
97
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
98
+ i0.ɵɵadvance();
99
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
100
+ i0.ɵɵadvance();
101
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAPIKeyScopes"))("defaultExpanded", false);
102
+ i0.ɵɵadvance();
103
+ i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
104
+ i0.ɵɵadvance();
105
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAPIKeyUsageLogs"))("defaultExpanded", false);
106
+ i0.ɵɵadvance();
107
+ i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
108
+ } }, dependencies: [i1.NgIf, i2.MJFormField, i2.CollapsiblePanelComponent, i2.ExplorerEntityDataGridComponent, i3.RecordFormContainerComponent], encapsulation: 2 }); }
109
+ };
110
+ APIKeyFormComponent = __decorate([
111
+ RegisterClass(BaseFormComponent, 'MJ: API Keys') // Tell MemberJunction about this class
112
+ ], APIKeyFormComponent);
113
+ export { APIKeyFormComponent };
114
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIKeyFormComponent, [{
115
+ type: Component,
116
+ args: [{ selector: 'gen-apikey-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Key Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"keyInformation\"\n sectionName=\"Key Information\"\n icon=\"fa fa-key\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Hash\"\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=\"Label\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Ownership Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"ownership\"\n sectionName=\"Ownership\"\n icon=\"fa fa-user\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CreatedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"User\"\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=\"CreatedByUser\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Status & Usage Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"statusUsage\"\n sectionName=\"Status & Usage\"\n icon=\"fa fa-flag\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"dropdownlist\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ExpiresAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LastUsedAt\"\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 slot=\"field-panels\"\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 RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: API Key Scopes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAPIKeyScopes\"\n sectionName=\"MJ: API Key Scopes\"\n icon=\"fa fa-key\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAPIKeyScopes')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Scopes','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyScopes')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: API Key Usage Logs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAPIKeyUsageLogs\"\n sectionName=\"MJ: API Key Usage Logs\"\n icon=\"fa fa-key\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAPIKeyUsageLogs')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Usage Logs','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Usage Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyUsageLogs')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyUsageLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
117
+ }], null, null); })();
118
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIKeyFormComponent, { className: "APIKeyFormComponent", filePath: "src/lib/generated/Entities/APIKey/apikey.form.component.ts", lineNumber: 12 }); })();
119
+ export function LoadAPIKeyFormComponent() {
120
+ // does nothing, but called to prevent tree-shaking from eliminating this component from the build
121
+ }
122
+ //# sourceMappingURL=apikey.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikey.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKey/apikey.form.component.ts","../../../../../src/lib/generated/Entities/APIKey/apikey.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,2BAA4B,uCA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YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACnB,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,2DAC2B,0BAC7B;YACnB,cAAoB;YAApB,yCAAoB;;;ADzKrB,mBAAmB;IAL/B,aAAa,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,uCAAuC;GAK5E,mBAAmB,CAc/B;;iFAdY,mBAAmB;cAJ/B,SAAS;2BACI,iBAAiB;;kFAGlB,mBAAmB;AAgBhC,MAAM,UAAU,uBAAuB;IACnC,kGAAkG;AACtG,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { APIKeyScopeEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIKeyScopeFormComponent extends BaseFormComponent {
5
+ record: APIKeyScopeEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIKeyScopeFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<APIKeyScopeFormComponent, "gen-apikeyscope-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadAPIKeyScopeFormComponent(): void;
11
+ //# sourceMappingURL=apikeyscope.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeyscope.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAKa,wBAAyB,SAAQ,iBAAiB;IACpD,MAAM,EAAG,iBAAiB,CAAC;IAEnB,QAAQ;yCAHd,wBAAwB;2CAAxB,wBAAwB;CAWpC;AAED,wBAAgB,4BAA4B,SAE3C"}
@@ -0,0 +1,67 @@
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
+ import * as i2 from "@memberjunction/ng-form-toolbar";
13
+ let APIKeyScopeFormComponent = class APIKeyScopeFormComponent extends BaseFormComponent {
14
+ async ngOnInit() {
15
+ await super.ngOnInit();
16
+ this.initSections([
17
+ { sectionKey: 'keyScopeMapping', sectionName: 'Key Scope Mapping', isExpanded: true },
18
+ { sectionKey: 'details', sectionName: 'Details', isExpanded: true },
19
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }
20
+ ]);
21
+ }
22
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAPIKeyScopeFormComponent_BaseFactory; return function APIKeyScopeFormComponent_Factory(__ngFactoryType__) { return (ɵAPIKeyScopeFormComponent_BaseFactory || (ɵAPIKeyScopeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(APIKeyScopeFormComponent)))(__ngFactoryType__ || APIKeyScopeFormComponent); }; })(); }
23
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: APIKeyScopeFormComponent, selectors: [["gen-apikeyscope-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 32, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "keyScopeMapping", "sectionName", "Key Scope Mapping", "icon", "fa fa-link", 3, "form", "formContext"], ["FieldName", "APIKeyID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ScopeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Scope", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "details", "sectionName", "Details", "icon", "fa fa-align-left", 3, "form", "formContext"], ["FieldName", "APIKey", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "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 APIKeyScopeFormComponent_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
25
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4);
26
+ i0.ɵɵelementEnd();
27
+ i0.ɵɵelementStart(5, "mj-collapsible-panel", 5);
28
+ i0.ɵɵelement(6, "mj-form-field", 6);
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
31
+ i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9);
32
+ i0.ɵɵelementEnd()();
33
+ } if (rf & 2) {
34
+ i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
35
+ i0.ɵɵadvance();
36
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
37
+ i0.ɵɵadvance();
38
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
39
+ i0.ɵɵadvance();
40
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
41
+ i0.ɵɵadvance();
42
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
43
+ i0.ɵɵadvance();
44
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
45
+ i0.ɵɵadvance();
46
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", false)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
47
+ i0.ɵɵadvance();
48
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
49
+ i0.ɵɵadvance();
50
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
51
+ i0.ɵɵadvance();
52
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
53
+ } }, dependencies: [i1.MJFormField, i1.CollapsiblePanelComponent, i2.RecordFormContainerComponent], encapsulation: 2 }); }
54
+ };
55
+ APIKeyScopeFormComponent = __decorate([
56
+ RegisterClass(BaseFormComponent, 'MJ: API Key Scopes') // Tell MemberJunction about this class
57
+ ], APIKeyScopeFormComponent);
58
+ export { APIKeyScopeFormComponent };
59
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIKeyScopeFormComponent, [{
60
+ type: Component,
61
+ args: [{ selector: 'gen-apikeyscope-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Key Scope Mapping Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"keyScopeMapping\"\n sectionName=\"Key Scope Mapping\"\n icon=\"fa fa-link\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"APIKeyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ScopeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Scope\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"details\"\n sectionName=\"Details\"\n icon=\"fa fa-align-left\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"APIKey\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\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 " }]
62
+ }], null, null); })();
63
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIKeyScopeFormComponent, { className: "APIKeyScopeFormComponent", filePath: "src/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.ts", lineNumber: 11 }); })();
64
+ export function LoadAPIKeyScopeFormComponent() {
65
+ // does nothing, but called to prevent tree-shaking from eliminating this component from the build
66
+ }
67
+ //# sourceMappingURL=apikeyscope.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeyscope.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.ts","../../../../../src/lib/generated/Entities/APIKeyScope/apikeyscope.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;;;;AAO3D,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,iBAAiB;IAGlD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE;YACrF,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE;YACnE,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;SACtF,CAAC,CAAC;IACP,CAAC;oRAVQ,wBAAwB,yBAAxB,wBAAwB;oEAAxB,wBAAwB;YCJjC,AANJ,mDAAmE,8BAW/B;YAqB5B,AAVA,AAVA,mCASiB,uBAUA,uBAQA;YAErB,iBAAuB;YAGvB,+CAKgC;YAC5B,mCAOiB;YAErB,iBAAuB;YAGvB,+CAKgC;YAS5B,AARA,mCAOiB,uBAQA;YAGzB,AADI,iBAAuB,EACA;;YAtFiB,AAAlB,mCAAiB,sBAAuB;YAU1D,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAK3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAK3B,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;;;ADxE1B,wBAAwB;IALpC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAKlF,wBAAwB,CAWpC;;iFAXY,wBAAwB;cAJpC,SAAS;2BACI,sBAAsB;;kFAGvB,wBAAwB;AAarC,MAAM,UAAU,4BAA4B;IACxC,kGAAkG;AACtG,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { APIKeyUsageLogEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIKeyUsageLogFormComponent extends BaseFormComponent {
5
+ record: APIKeyUsageLogEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIKeyUsageLogFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<APIKeyUsageLogFormComponent, "gen-apikeyusagelog-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadAPIKeyUsageLogFormComponent(): void;
11
+ //# sourceMappingURL=apikeyusagelog.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeyusagelog.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAKa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;IAEtB,QAAQ;yCAHd,2BAA2B;2CAA3B,2BAA2B;CAYvC;AAED,wBAAgB,+BAA+B,SAE9C"}
@@ -0,0 +1,83 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { Component } from '@angular/core';
8
+ import { RegisterClass } from '@memberjunction/global';
9
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@memberjunction/ng-base-forms";
12
+ import * as i2 from "@memberjunction/ng-form-toolbar";
13
+ let APIKeyUsageLogFormComponent = class APIKeyUsageLogFormComponent extends BaseFormComponent {
14
+ async ngOnInit() {
15
+ await super.ngOnInit();
16
+ this.initSections([
17
+ { sectionKey: 'requestInformation', sectionName: 'Request Information', isExpanded: true },
18
+ { sectionKey: 'responseClientInfo', sectionName: 'Response & Client Info', isExpanded: true },
19
+ { sectionKey: 'details', sectionName: 'Details', isExpanded: false },
20
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }
21
+ ]);
22
+ }
23
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAPIKeyUsageLogFormComponent_BaseFactory; return function APIKeyUsageLogFormComponent_Factory(__ngFactoryType__) { return (ɵAPIKeyUsageLogFormComponent_BaseFactory || (ɵAPIKeyUsageLogFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(APIKeyUsageLogFormComponent)))(__ngFactoryType__ || APIKeyUsageLogFormComponent); }; })(); }
24
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: APIKeyUsageLogFormComponent, selectors: [["gen-apikeyusagelog-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 16, vars: 54, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "requestInformation", "sectionName", "Request Information", "icon", "fa fa-code", 3, "form", "formContext"], ["FieldName", "APIKeyID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Endpoint", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Operation", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Method", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "responseClientInfo", "sectionName", "Response & Client Info", "icon", "fa fa-network-wired", 3, "form", "formContext"], ["FieldName", "StatusCode", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ResponseTimeMs", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IPAddress", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "UserAgent", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "details", "sectionName", "Details", "icon", "fa fa-align-left", 3, "form", "formContext"], ["FieldName", "APIKey", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "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 APIKeyUsageLogFormComponent_Template(rf, ctx) { if (rf & 1) {
25
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
26
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
27
+ i0.ɵɵelementEnd();
28
+ i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
29
+ i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
32
+ i0.ɵɵelement(12, "mj-form-field", 12);
33
+ i0.ɵɵelementEnd();
34
+ i0.ɵɵelementStart(13, "mj-collapsible-panel", 13);
35
+ i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
36
+ i0.ɵɵelementEnd()();
37
+ } if (rf & 2) {
38
+ i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
39
+ i0.ɵɵadvance();
40
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
41
+ i0.ɵɵadvance();
42
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
43
+ i0.ɵɵadvance();
44
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
45
+ i0.ɵɵadvance();
46
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
47
+ i0.ɵɵadvance();
48
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
49
+ i0.ɵɵadvance();
50
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
51
+ i0.ɵɵadvance();
52
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
53
+ i0.ɵɵadvance();
54
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
55
+ i0.ɵɵadvance();
56
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
57
+ i0.ɵɵadvance();
58
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
59
+ i0.ɵɵadvance();
60
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
61
+ i0.ɵɵadvance();
62
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", false)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
63
+ i0.ɵɵadvance();
64
+ i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
67
+ i0.ɵɵadvance();
68
+ i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
69
+ } }, dependencies: [i1.MJFormField, i1.CollapsiblePanelComponent, i2.RecordFormContainerComponent], encapsulation: 2 }); }
70
+ };
71
+ APIKeyUsageLogFormComponent = __decorate([
72
+ RegisterClass(BaseFormComponent, 'MJ: API Key Usage Logs') // Tell MemberJunction about this class
73
+ ], APIKeyUsageLogFormComponent);
74
+ export { APIKeyUsageLogFormComponent };
75
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIKeyUsageLogFormComponent, [{
76
+ type: Component,
77
+ args: [{ selector: 'gen-apikeyusagelog-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Request Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"requestInformation\"\n sectionName=\"Request Information\"\n icon=\"fa fa-code\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"APIKeyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Endpoint\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Operation\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Method\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Response & Client Info Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"responseClientInfo\"\n sectionName=\"Response & Client Info\"\n icon=\"fa fa-network-wired\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"StatusCode\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ResponseTimeMs\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IPAddress\"\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=\"UserAgent\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"details\"\n sectionName=\"Details\"\n icon=\"fa fa-align-left\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"APIKey\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\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 " }]
78
+ }], null, null); })();
79
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIKeyUsageLogFormComponent, { className: "APIKeyUsageLogFormComponent", filePath: "src/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.ts", lineNumber: 11 }); })();
80
+ export function LoadAPIKeyUsageLogFormComponent() {
81
+ // does nothing, but called to prevent tree-shaking from eliminating this component from the build
82
+ }
83
+ //# sourceMappingURL=apikeyusagelog.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeyusagelog.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.ts","../../../../../src/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.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;;;;AAO3D,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,iBAAiB;IAGrD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,qBAAqB,EAAE,UAAU,EAAE,IAAI,EAAE;YAC1F,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,wBAAwB,EAAE,UAAU,EAAE,IAAI,EAAE;YAC7F,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE;YACpE,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;SACtF,CAAC,CAAC;IACP,CAAC;gSAXQ,2BAA2B,yBAA3B,2BAA2B;oEAA3B,2BAA2B;YCJpC,AANJ,mDAAmE,8BAW/B;YA2B5B,AARA,AARA,AAVA,mCASiB,uBAQA,uBAQA,uBAQA;YAErB,iBAAuB;YAGvB,+CAKgC;YAyB5B,AARA,AARA,AARA,mCAOiB,uBAQA,uBAQA,yBAQA;YAErB,iBAAuB;YAGvB,i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+1,11 @@
1
+ import { APIScopeEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIScopeFormComponent extends BaseFormComponent {
5
+ record: APIScopeEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIScopeFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<APIScopeFormComponent, "gen-apiscope-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadAPIScopeFormComponent(): void;
11
+ //# sourceMappingURL=apiscope.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiscope.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIScope/apiscope.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,qBAAsB,SAAQ,iBAAiB;IACjD,MAAM,EAAG,cAAc,CAAC;IAEhB,QAAQ;yCAHd,qBAAqB;2CAArB,qBAAqB;CAWjC;AAED,wBAAgB,yBAAyB,SAExC"}
@@ -0,0 +1,78 @@
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 "@angular/common";
12
+ import * as i2 from "@memberjunction/ng-base-forms";
13
+ import * as i3 from "@memberjunction/ng-form-toolbar";
14
+ function APIScopeFormComponent_div_9_Template(rf, ctx) { if (rf & 1) {
15
+ const _r1 = i0.ɵɵgetCurrentView();
16
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 10);
17
+ i0.ɵɵlistener("AfterDataLoad", function APIScopeFormComponent_div_9_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyScopes", $event.totalRowCount)); });
18
+ i0.ɵɵelementEnd()();
19
+ } if (rf & 2) {
20
+ const ctx_r1 = i0.ɵɵnextContext();
21
+ i0.ɵɵadvance();
22
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Scopes", "ScopeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyScopes"))("ShowToolbar", false);
23
+ } }
24
+ let APIScopeFormComponent = class APIScopeFormComponent extends BaseFormComponent {
25
+ async ngOnInit() {
26
+ await super.ngOnInit();
27
+ this.initSections([
28
+ { sectionKey: 'scopeDefinition', sectionName: 'Scope Definition', isExpanded: true },
29
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
30
+ { sectionKey: 'mJAPIKeyScopes', sectionName: 'MJ: API Key Scopes', isExpanded: false }
31
+ ]);
32
+ }
33
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAPIScopeFormComponent_BaseFactory; return function APIScopeFormComponent_Factory(__ngFactoryType__) { return (ɵAPIScopeFormComponent_BaseFactory || (ɵAPIScopeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(APIScopeFormComponent)))(__ngFactoryType__ || APIScopeFormComponent); }; })(); }
34
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: APIScopeFormComponent, selectors: [["gen-apiscope-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 31, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "scopeDefinition", "sectionName", "Scope Definition", "icon", "fa fa-key", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "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"], ["slot", "after-panels", "sectionKey", "mJAPIKeyScopes", "sectionName", "MJ: API Key Scopes", "icon", "fa fa-key", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [4, "ngIf"], [3, "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function APIScopeFormComponent_Template(rf, ctx) { if (rf & 1) {
35
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
36
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4);
37
+ i0.ɵɵelementEnd();
38
+ i0.ɵɵelementStart(5, "mj-collapsible-panel", 5);
39
+ i0.ɵɵelement(6, "mj-form-field", 6)(7, "mj-form-field", 7);
40
+ i0.ɵɵelementEnd();
41
+ i0.ɵɵelementStart(8, "mj-collapsible-panel", 8);
42
+ i0.ɵɵtemplate(9, APIScopeFormComponent_div_9_Template, 2, 4, "div", 9);
43
+ i0.ɵɵelementEnd()();
44
+ } if (rf & 2) {
45
+ i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
46
+ i0.ɵɵadvance();
47
+ i0.ɵɵproperty("form", ctx)("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("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
54
+ i0.ɵɵadvance();
55
+ i0.ɵɵproperty("form", ctx)("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)("badgeCount", ctx.GetSectionRowCount("mJAPIKeyScopes"))("defaultExpanded", false);
62
+ i0.ɵɵadvance();
63
+ i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
64
+ } }, dependencies: [i1.NgIf, i2.MJFormField, i2.CollapsiblePanelComponent, i2.ExplorerEntityDataGridComponent, i3.RecordFormContainerComponent], encapsulation: 2 }); }
65
+ };
66
+ APIScopeFormComponent = __decorate([
67
+ RegisterClass(BaseFormComponent, 'MJ: API Scopes') // Tell MemberJunction about this class
68
+ ], APIScopeFormComponent);
69
+ export { APIScopeFormComponent };
70
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIScopeFormComponent, [{
71
+ type: Component,
72
+ args: [{ selector: 'gen-apiscope-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Scope Definition Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"scopeDefinition\"\n sectionName=\"Scope Definition\"\n icon=\"fa fa-key\"\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=\"Category\"\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=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\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 RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: API Key Scopes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAPIKeyScopes\"\n sectionName=\"MJ: API Key Scopes\"\n icon=\"fa fa-key\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAPIKeyScopes')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Scopes','ScopeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyScopes')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
73
+ }], null, null); })();
74
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIScopeFormComponent, { className: "APIScopeFormComponent", filePath: "src/lib/generated/Entities/APIScope/apiscope.form.component.ts", lineNumber: 12 }); })();
75
+ export function LoadAPIScopeFormComponent() {
76
+ // does nothing, but called to prevent tree-shaking from eliminating this component from the build
77
+ }
78
+ //# sourceMappingURL=apiscope.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiscope.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/APIScope/apiscope.form.component.ts","../../../../../src/lib/generated/Entities/APIScope/apiscope.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;;;;;;;IC4EtD,AADJ,2BAA4B,uCAOnB;IADD,6NAAiB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IAPE,cAAkF;IAGlF,AADA,AADA,AADA,wGAAkF,iEACzB,yDACR,sBAC5B;;ADxE9B,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,iBA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C,CAAC,uCAAuC;GAK9E,qBAAqB,CAWjC;;iFAXY,qBAAqB;cAJjC,SAAS;2BACI,mBAAmB;;kFAGpB,qBAAqB;AAalC,MAAM,UAAU,yBAAyB;IACrC,kGAAkG;AACtG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"credential.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Credential/credential.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,uBAAwB,SAAQ,iBAAiB;IACnD,MAAM,EAAG,gBAAgB,CAAC;IAElB,QAAQ;yCAHd,uBAAuB;2CAAvB,uBAAuB;CAanC;AAED,wBAAgB,2BAA2B,SAE1C"}
1
+ {"version":3,"file":"credential.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Credential/credential.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,uBAAwB,SAAQ,iBAAiB;IACnD,MAAM,EAAG,gBAAgB,CAAC;IAElB,QAAQ;yCAHd,uBAAuB;2CAAvB,uBAAuB;CAcnC;AAED,wBAAgB,2BAA2B,SAE1C"}