@memberjunction/ng-core-entity-forms 3.1.1 → 3.3.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.
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +141 -113
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentExample/aiagentexample.form.component.js +28 -14
- package/dist/lib/generated/Entities/AIAgentExample/aiagentexample.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js +26 -12
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js +67 -47
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/APIApplication/apiapplication.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIApplication/apiapplication.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIApplication/apiapplication.form.component.js +120 -0
- package/dist/lib/generated/Entities/APIApplication/apiapplication.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIApplicationScope/apiapplicationscope.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIApplicationScope/apiapplicationscope.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIApplicationScope/apiapplicationscope.form.component.js +75 -0
- package/dist/lib/generated/Entities/APIApplicationScope/apiapplicationscope.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIKey/apikey.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIKey/apikey.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIKey/apikey.form.component.js +140 -0
- package/dist/lib/generated/Entities/APIKey/apikey.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIKeyApplication/apikeyapplication.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIKeyApplication/apikeyapplication.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIKeyApplication/apikeyapplication.form.component.js +61 -0
- package/dist/lib/generated/Entities/APIKeyApplication/apikeyapplication.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.js +75 -0
- package/dist/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.js +95 -0
- package/dist/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/APIScope/apiscope.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/APIScope/apiscope.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/APIScope/apiscope.form.component.js +132 -0
- package/dist/lib/generated/Entities/APIScope/apiscope.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/Credential/credential.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Credential/credential.form.component.js +22 -4
- package/dist/lib/generated/Entities/Credential/credential.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +110 -56
- package/dist/lib/generated/Entities/Entity/entity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.js +71 -0
- package/dist/lib/generated/Entities/FileStorageAccount/filestorageaccount.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +45 -17
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Template/template.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Template/template.form.component.js +45 -9
- package/dist/lib/generated/Entities/Template/template.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +218 -164
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +11 -7
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.js +75 -0
- package/dist/lib/generated/Entities/UserNotificationPreference/usernotificationpreference.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.js +130 -0
- package/dist/lib/generated/Entities/UserNotificationType/usernotificationtype.form.component.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +173 -164
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +148 -112
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +30 -30
- package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.d.ts +0 -11
- package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.d.ts.map +0 -1
- package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.js +0 -67
- package/dist/lib/generated/Entities/flyway_schema_history/flyway_schema_history.form.component.js.map +0 -1
|
@@ -0,0 +1,75 @@
|
|
|
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: 'accessRules', sectionName: 'Access Rules', 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: 14, vars: 48, 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", "APIKey", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Scope", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "accessRules", "sectionName", "Access Rules", "icon", "fa fa-shield-alt", 3, "form", "formContext"], ["FieldName", "ResourcePattern", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "PatternType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsDeny", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Priority", "Type", "numerictextbox", 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)(5, "mj-form-field", 5);
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
31
|
+
i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
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("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("form", ctx)("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("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
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵproperty("form", ctx)("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("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
61
|
+
} }, dependencies: [i1.MJFormField, i1.CollapsiblePanelComponent, i2.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
62
|
+
};
|
|
63
|
+
APIKeyScopeFormComponent = __decorate([
|
|
64
|
+
RegisterClass(BaseFormComponent, 'MJ: API Key Scopes') // Tell MemberJunction about this class
|
|
65
|
+
], APIKeyScopeFormComponent);
|
|
66
|
+
export { APIKeyScopeFormComponent };
|
|
67
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIKeyScopeFormComponent, [{
|
|
68
|
+
type: Component,
|
|
69
|
+
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=\"APIKey\"\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=\"Scope\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Access Rules Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"accessRules\"\n sectionName=\"Access Rules\"\n icon=\"fa fa-shield-alt\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ResourcePattern\"\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=\"PatternType\"\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=\"IsDeny\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Priority\"\n Type=\"numerictextbox\"\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 " }]
|
|
70
|
+
}], null, null); })();
|
|
71
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIKeyScopeFormComponent, { className: "APIKeyScopeFormComponent", filePath: "src/lib/generated/Entities/APIKeyScope/apikeyscope.form.component.ts", lineNumber: 11 }); })();
|
|
72
|
+
export function LoadAPIKeyScopeFormComponent() {
|
|
73
|
+
// does nothing, but called to prevent tree-shaking from eliminating this component from the build
|
|
74
|
+
}
|
|
75
|
+
//# 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":";;;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G,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;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;;;ADxG1B,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,95 @@
|
|
|
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: 'authorizationDetails', sectionName: 'Authorization 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: 22, vars: 78, 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", "authorizationDetails", "sectionName", "Authorization Details", "icon", "fa fa-lock", 3, "form", "formContext"], ["FieldName", "ApplicationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "RequestedResource", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ScopesEvaluated", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "AuthorizationResult", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DeniedReason", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "APIKey", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Application", "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)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
|
|
35
|
+
i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21);
|
|
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", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("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
|
+
i0.ɵɵadvance();
|
|
70
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
71
|
+
i0.ɵɵadvance();
|
|
72
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
73
|
+
i0.ɵɵadvance();
|
|
74
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
75
|
+
i0.ɵɵadvance();
|
|
76
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
77
|
+
i0.ɵɵadvance();
|
|
78
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
79
|
+
i0.ɵɵadvance();
|
|
80
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
81
|
+
} }, dependencies: [i1.MJFormField, i1.CollapsiblePanelComponent, i2.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
82
|
+
};
|
|
83
|
+
APIKeyUsageLogFormComponent = __decorate([
|
|
84
|
+
RegisterClass(BaseFormComponent, 'MJ: API Key Usage Logs') // Tell MemberJunction about this class
|
|
85
|
+
], APIKeyUsageLogFormComponent);
|
|
86
|
+
export { APIKeyUsageLogFormComponent };
|
|
87
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIKeyUsageLogFormComponent, [{
|
|
88
|
+
type: Component,
|
|
89
|
+
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 <!-- Authorization Details Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"authorizationDetails\"\n sectionName=\"Authorization Details\"\n icon=\"fa fa-lock\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ApplicationID\"\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=\"RequestedResource\"\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=\"ScopesEvaluated\"\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=\"AuthorizationResult\"\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=\"DeniedReason\"\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=\"APIKey\"\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=\"Application\"\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 " }]
|
|
90
|
+
}], null, null); })();
|
|
91
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIKeyUsageLogFormComponent, { className: "APIKeyUsageLogFormComponent", filePath: "src/lib/generated/Entities/APIKeyUsageLog/apikeyusagelog.form.component.ts", lineNumber: 11 }); })();
|
|
92
|
+
export function LoadAPIKeyUsageLogFormComponent() {
|
|
93
|
+
// does nothing, but called to prevent tree-shaking from eliminating this component from the build
|
|
94
|
+
}
|
|
95
|
+
//# 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,sBAAsB,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,KAAK,EAAE;YAC/F,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;SACtF,CAAC,CAAC;IACP,CAAC;gSAXQ,2BAA2B,yBAA3B,2BAA2B;oEAA3B,2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YAG3B,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;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;;;AD1K1B,2BAA2B;IALvC,aAAa,CAAC,iBAAiB,EAAE,wBAAwB,CAAC,CAAC,uCAAuC;GAKtF,2BAA2B,CAYvC;;iFAZY,2BAA2B;cAJvC,SAAS;2BACI,yBAAyB;;kFAG1B,2BAA2B;AAcxC,MAAM,UAAU,+BAA+B;IAC3C,kGAAkG;AACtG,CAAC"}
|
|
@@ -0,0 +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;CAcjC;AAED,wBAAgB,yBAAyB,SAExC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
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_16_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 19);
|
|
17
|
+
i0.ɵɵlistener("AfterDataLoad", function APIScopeFormComponent_div_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIApplicationScopes", $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 Application Scopes", "ScopeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Application Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIApplicationScopes"))("ShowToolbar", false);
|
|
23
|
+
} }
|
|
24
|
+
function APIScopeFormComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
26
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 19);
|
|
27
|
+
i0.ɵɵlistener("AfterDataLoad", function APIScopeFormComponent_div_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyScopes", $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 Scopes", "ScopeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyScopes"))("ShowToolbar", false);
|
|
33
|
+
} }
|
|
34
|
+
function APIScopeFormComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
36
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 19);
|
|
37
|
+
i0.ɵɵlistener("AfterDataLoad", function APIScopeFormComponent_div_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIScopes", $event.totalRowCount)); });
|
|
38
|
+
i0.ɵɵelementEnd()();
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Scopes", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIScopes"))("ShowToolbar", false);
|
|
43
|
+
} }
|
|
44
|
+
let APIScopeFormComponent = class APIScopeFormComponent extends BaseFormComponent {
|
|
45
|
+
async ngOnInit() {
|
|
46
|
+
await super.ngOnInit();
|
|
47
|
+
this.initSections([
|
|
48
|
+
{ sectionKey: 'scopeDefinition', sectionName: 'Scope Definition', isExpanded: true },
|
|
49
|
+
{ sectionKey: 'scopeHierarchy', sectionName: 'Scope Hierarchy', isExpanded: true },
|
|
50
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
51
|
+
{ sectionKey: 'mJAPIApplicationScopes', sectionName: 'MJ: API Application Scopes', isExpanded: false },
|
|
52
|
+
{ sectionKey: 'mJAPIKeyScopes', sectionName: 'MJ: API Key Scopes', isExpanded: false },
|
|
53
|
+
{ sectionKey: 'mJAPIScopes', sectionName: 'MJ: API Scopes', isExpanded: false }
|
|
54
|
+
]);
|
|
55
|
+
}
|
|
56
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAPIScopeFormComponent_BaseFactory; return function APIScopeFormComponent_Factory(__ngFactoryType__) { return (ɵAPIScopeFormComponent_BaseFactory || (ɵAPIScopeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(APIScopeFormComponent)))(__ngFactoryType__ || APIScopeFormComponent); }; })(); }
|
|
57
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: APIScopeFormComponent, selectors: [["gen-apiscope-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 67, 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", "scopeHierarchy", "sectionName", "Scope Hierarchy", "icon", "fa fa-sitemap", 3, "form", "formContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "FullPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ResourceType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "RootParentID", "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"], ["slot", "after-panels", "sectionKey", "mJAPIApplicationScopes", "sectionName", "MJ: API Application Scopes", "icon", "fa fa-lock", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJAPIKeyScopes", "sectionName", "MJ: API Key Scopes", "icon", "fa fa-key", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], ["slot", "after-panels", "sectionKey", "mJAPIScopes", "sectionName", "MJ: API Scopes", "icon", "fa fa-key", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [3, "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function APIScopeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
|
|
59
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4);
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementStart(5, "mj-collapsible-panel", 5);
|
|
62
|
+
i0.ɵɵelement(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
i0.ɵɵelementStart(12, "mj-collapsible-panel", 12);
|
|
65
|
+
i0.ɵɵelement(13, "mj-form-field", 13)(14, "mj-form-field", 14);
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementStart(15, "mj-collapsible-panel", 15);
|
|
68
|
+
i0.ɵɵtemplate(16, APIScopeFormComponent_div_16_Template, 2, 4, "div", 16);
|
|
69
|
+
i0.ɵɵelementEnd();
|
|
70
|
+
i0.ɵɵelementStart(17, "mj-collapsible-panel", 17);
|
|
71
|
+
i0.ɵɵtemplate(18, APIScopeFormComponent_div_18_Template, 2, 4, "div", 16);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementStart(19, "mj-collapsible-panel", 18);
|
|
74
|
+
i0.ɵɵtemplate(20, APIScopeFormComponent_div_20_Template, 2, 4, "div", 16);
|
|
75
|
+
i0.ɵɵelementEnd()();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
|
|
78
|
+
i0.ɵɵadvance();
|
|
79
|
+
i0.ɵɵproperty("form", ctx)("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("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("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);
|
|
102
|
+
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
104
|
+
i0.ɵɵadvance();
|
|
105
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
106
|
+
i0.ɵɵadvance();
|
|
107
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAPIApplicationScopes"))("defaultExpanded", false);
|
|
108
|
+
i0.ɵɵadvance();
|
|
109
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
110
|
+
i0.ɵɵadvance();
|
|
111
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAPIKeyScopes"))("defaultExpanded", false);
|
|
112
|
+
i0.ɵɵadvance();
|
|
113
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
114
|
+
i0.ɵɵadvance();
|
|
115
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAPIScopes"))("defaultExpanded", false);
|
|
116
|
+
i0.ɵɵadvance();
|
|
117
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
118
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField, i2.CollapsiblePanelComponent, i2.ExplorerEntityDataGridComponent, i3.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
119
|
+
};
|
|
120
|
+
APIScopeFormComponent = __decorate([
|
|
121
|
+
RegisterClass(BaseFormComponent, 'MJ: API Scopes') // Tell MemberJunction about this class
|
|
122
|
+
], APIScopeFormComponent);
|
|
123
|
+
export { APIScopeFormComponent };
|
|
124
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(APIScopeFormComponent, [{
|
|
125
|
+
type: Component,
|
|
126
|
+
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 <!-- Scope Hierarchy Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"scopeHierarchy\"\n sectionName=\"Scope Hierarchy\"\n icon=\"fa fa-sitemap\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\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=\"FullPath\"\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=\"ResourceType\"\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=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Parent\"\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=\"RootParentID\"\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 <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: API Application Scopes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAPIApplicationScopes\"\n sectionName=\"MJ: API Application Scopes\"\n icon=\"fa fa-lock\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAPIApplicationScopes')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Application Scopes','ScopeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Application Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIApplicationScopes')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIApplicationScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\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\n <!-- MJ: API Scopes Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAPIScopes\"\n sectionName=\"MJ: API Scopes\"\n icon=\"fa fa-key\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAPIScopes')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Scopes','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIScopes')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
127
|
+
}], null, null); })();
|
|
128
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(APIScopeFormComponent, { className: "APIScopeFormComponent", filePath: "src/lib/generated/Entities/APIScope/apiscope.form.component.ts", lineNumber: 12 }); })();
|
|
129
|
+
export function LoadAPIScopeFormComponent() {
|
|
130
|
+
// does nothing, but called to prevent tree-shaking from eliminating this component from the build
|
|
131
|
+
}
|
|
132
|
+
//# 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;;;;;;;ICwItD,AADJ,2BAA4B,uCAOnB;IADD,8NAAiB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IAPE,cAA0F;IAG1F,AADA,AADA,AADA,gHAA0F,yEACzB,iEACR,sBACpC;;;;IAkBzB,AADJ,2BAA4B,uCAOnB;IADD,8NAAiB,0BAAmB,gBAAgB,uBAAuB,KAA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;YAApB,yCAAoB;YAkB1B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;YACnB,cAAoB;YAApB,yCAAoB;;;AD3KrB,qBAAqB;IALjC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAK9E,qBAAqB,CAcjC;;iFAdY,qBAAqB;cAJjC,SAAS;2BACI,mBAAmB;;kFAGpB,qBAAqB;AAgBlC,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;
|
|
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"}
|
|
@@ -13,8 +13,18 @@ import * as i2 from "@memberjunction/ng-base-forms";
|
|
|
13
13
|
import * as i3 from "@memberjunction/ng-form-toolbar";
|
|
14
14
|
function CredentialFormComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
15
15
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
16
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
17
|
-
i0.ɵɵlistener("AfterDataLoad", function CredentialFormComponent_div_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
16
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
|
|
17
|
+
i0.ɵɵlistener("AfterDataLoad", function CredentialFormComponent_div_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJFileStorageAccounts", $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: File Storage Accounts", "CredentialID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: File Storage Accounts"))("AllowLoad", ctx_r1.IsSectionExpanded("mJFileStorageAccounts"))("ShowToolbar", false);
|
|
23
|
+
} }
|
|
24
|
+
function CredentialFormComponent_div_23_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
26
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
|
|
27
|
+
i0.ɵɵlistener("AfterDataLoad", function CredentialFormComponent_div_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAICredentialBindings", $event.totalRowCount)); });
|
|
18
28
|
i0.ɵɵelementEnd()();
|
|
19
29
|
} if (rf & 2) {
|
|
20
30
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -29,11 +39,12 @@ let CredentialFormComponent = class CredentialFormComponent extends BaseFormComp
|
|
|
29
39
|
{ sectionKey: 'basicInformation', sectionName: 'Basic Information', isExpanded: true },
|
|
30
40
|
{ sectionKey: 'accessDetails', sectionName: 'Access Details', isExpanded: false },
|
|
31
41
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
42
|
+
{ sectionKey: 'mJFileStorageAccounts', sectionName: 'MJ: File Storage Accounts', isExpanded: false },
|
|
32
43
|
{ sectionKey: 'mJAICredentialBindings', sectionName: 'MJ: AI Credential Bindings', isExpanded: false }
|
|
33
44
|
]);
|
|
34
45
|
}
|
|
35
46
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCredentialFormComponent_BaseFactory; return function CredentialFormComponent_Factory(__ngFactoryType__) { return (ɵCredentialFormComponent_BaseFactory || (ɵCredentialFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CredentialFormComponent)))(__ngFactoryType__ || CredentialFormComponent); }; })(); }
|
|
36
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CredentialFormComponent, selectors: [["gen-credential-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
47
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CredentialFormComponent, selectors: [["gen-credential-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 80, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "classification", "sectionName", "Classification", "icon", "fa fa-tags", 3, "form", "formContext"], ["FieldName", "CredentialTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "CredentialType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "basicInformation", "sectionName", "Basic Information", "icon", "fa fa-info-circle", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IconClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "accessDetails", "sectionName", "Access Details", "icon", "fa fa-key", 3, "form", "formContext"], ["FieldName", "Values", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsDefault", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ExpiresAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "LastValidatedAt", "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", "mJFileStorageAccounts", "sectionName", "MJ: File Storage Accounts", "icon", "fa fa-cloud", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJAICredentialBindings", "sectionName", "MJ: AI Credential Bindings", "icon", "fa fa-table", "variant", "related-entity", 3, "form", "formContext", "badgeCount", "defaultExpanded"], [3, "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function CredentialFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37
48
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
|
|
38
49
|
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
|
|
39
50
|
i0.ɵɵelementEnd();
|
|
@@ -48,6 +59,9 @@ let CredentialFormComponent = class CredentialFormComponent extends BaseFormComp
|
|
|
48
59
|
i0.ɵɵelementEnd();
|
|
49
60
|
i0.ɵɵelementStart(20, "mj-collapsible-panel", 20);
|
|
50
61
|
i0.ɵɵtemplate(21, CredentialFormComponent_div_21_Template, 2, 4, "div", 21);
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
|
|
64
|
+
i0.ɵɵtemplate(23, CredentialFormComponent_div_23_Template, 2, 4, "div", 21);
|
|
51
65
|
i0.ɵɵelementEnd()();
|
|
52
66
|
} if (rf & 2) {
|
|
53
67
|
i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
|
|
@@ -90,6 +104,10 @@ let CredentialFormComponent = class CredentialFormComponent extends BaseFormComp
|
|
|
90
104
|
i0.ɵɵadvance();
|
|
91
105
|
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
92
106
|
i0.ɵɵadvance();
|
|
107
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJFileStorageAccounts"))("defaultExpanded", false);
|
|
108
|
+
i0.ɵɵadvance();
|
|
109
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
110
|
+
i0.ɵɵadvance();
|
|
93
111
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAICredentialBindings"))("defaultExpanded", false);
|
|
94
112
|
i0.ɵɵadvance();
|
|
95
113
|
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
@@ -101,7 +119,7 @@ CredentialFormComponent = __decorate([
|
|
|
101
119
|
export { CredentialFormComponent };
|
|
102
120
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CredentialFormComponent, [{
|
|
103
121
|
type: Component,
|
|
104
|
-
args: [{ selector: 'gen-credential-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Classification Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"classification\"\n sectionName=\"Classification\"\n icon=\"fa fa-tags\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CredentialTypeID\"\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=\"CategoryID\"\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=\"CredentialType\"\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\n </mj-collapsible-panel>\n\n <!-- Basic Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"basicInformation\"\n sectionName=\"Basic Information\"\n icon=\"fa fa-info-circle\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\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 <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IconClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Access Details Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"accessDetails\"\n sectionName=\"Access Details\"\n icon=\"fa fa-key\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Values\"\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=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\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=\"LastValidatedAt\"\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: AI Credential Bindings Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAICredentialBindings\"\n sectionName=\"MJ: AI Credential Bindings\"\n icon=\"fa fa-table\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','CredentialID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
122
|
+
args: [{ selector: 'gen-credential-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Classification Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"classification\"\n sectionName=\"Classification\"\n icon=\"fa fa-tags\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CredentialTypeID\"\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=\"CategoryID\"\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=\"CredentialType\"\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\n </mj-collapsible-panel>\n\n <!-- Basic Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"basicInformation\"\n sectionName=\"Basic Information\"\n icon=\"fa fa-info-circle\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\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 <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IconClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Access Details Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"accessDetails\"\n sectionName=\"Access Details\"\n icon=\"fa fa-key\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Values\"\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=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\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=\"LastValidatedAt\"\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: File Storage Accounts Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJFileStorageAccounts\"\n sectionName=\"MJ: File Storage Accounts\"\n icon=\"fa fa-cloud\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJFileStorageAccounts')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: File Storage Accounts','CredentialID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: File Storage Accounts')\"\n [AllowLoad]=\"IsSectionExpanded('mJFileStorageAccounts')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJFileStorageAccounts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Credential Bindings Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAICredentialBindings\"\n sectionName=\"MJ: AI Credential Bindings\"\n icon=\"fa fa-table\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [defaultExpanded]=\"false\">\n <div *ngIf=\"record.IsSaved\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','CredentialID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
105
123
|
}], null, null); })();
|
|
106
124
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CredentialFormComponent, { className: "CredentialFormComponent", filePath: "src/lib/generated/Entities/Credential/credential.form.component.ts", lineNumber: 12 }); })();
|
|
107
125
|
export function LoadCredentialFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Credential/credential.form.component.ts","../../../../../src/lib/generated/Entities/Credential/credential.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;;;;;;;ICoLtD,AADJ,2BAA4B,uCAOnB;IADD,gOAAiB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IAPE,cAA+F;IAG/F,AADA,AADA,AADA,qHAA+F,yEAC9B,iEACR,sBACpC;;
|
|
1
|
+
{"version":3,"file":"credential.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Credential/credential.form.component.ts","../../../../../src/lib/generated/Entities/Credential/credential.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAA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