@memberjunction/ng-core-entity-forms 0.9.148 → 0.9.149

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.
@@ -6,4 +6,5 @@ export declare class EntitiesFormComponent extends BaseFormComponent {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesFormComponent, never>;
7
7
  static ɵcmp: i0.ɵɵComponentDeclaration<EntitiesFormComponent, "mj-entities-form", never, {}, {}, never, never, false, never>;
8
8
  }
9
+ export declare function LoadEntitiesFormComponent(): void;
9
10
  //# sourceMappingURL=entities-form.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Entities/entities-form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,qBAAsB,SAAQ,iBAAiB;IACjD,MAAM,EAAG,YAAY,CAAC;yCADpB,qBAAqB;2CAArB,qBAAqB;CAEjC"}
1
+ {"version":3,"file":"entities-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Entities/entities-form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,qBAAsB,SAAQ,iBAAiB;IACjD,MAAM,EAAG,YAAY,CAAC;yCADpB,qBAAqB;2CAArB,qBAAqB;CAEjC;AAED,wBAAgB,yBAAyB,SAExC"}
@@ -261,3 +261,6 @@ export { EntitiesFormComponent };
261
261
  args: [{ selector: 'mj-entities-form', template: "<div class=\"record-form-container\">\r\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\r\n <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\">\r\n <kendo-splitter-pane>\r\n <div #topArea class=\"record-form-group\">\r\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\r\n <mj-form-section Entity=\"Entities\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </div>\r\n </kendo-splitter-pane>\r\n <kendo-splitter-pane>\r\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\r\n <ng-template kendoTabTitle>Fields</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\r\n <ng-template kendoTabTitle>Permissions</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\r\n <ng-template kendoTabTitle>Details</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-form-section Entity=\"Entities\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit')\">\r\n <ng-template kendoTabTitle>Audit</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\r\n <ng-template kendoTabTitle>API</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\r\n <ng-template kendoTabTitle>DB</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\r\n <ng-template kendoTabTitle>UI</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\r\n <ng-template kendoTabTitle>Relationships</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\r\n <ng-template kendoTabTitle>AI Actions</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \r\n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\r\n <ng-template kendoTabTitle>Application Entities</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\r\n <ng-template kendoTabTitle>User Views</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \r\n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\r\n <ng-template kendoTabTitle>Dataset Items</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab> \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Documents')\">\r\n <ng-template kendoTabTitle>Entity Documents</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Documents')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Entity Documents')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Record Documents')\">\r\n <ng-template kendoTabTitle>Entity Record Documents</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Record Documents')\" \r\n [AllowLoad]=\"this.IsCurrentTab('Entity Record Documents')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n \r\n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('File Entity Record Links')\">\r\n <ng-template kendoTabTitle>File Entity Record Links</ng-template>\r\n <ng-template kendoTabContent >\r\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('File Entity Record Links')\" \r\n [AllowLoad]=\"this.IsCurrentTab('File Entity Record Links')\" \r\n [EditMode]=\"this.GridEditMode()\" \r\n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\r\n </ng-template>\r\n </kendo-tabstrip-tab>\r\n </kendo-tabstrip>\r\n </kendo-splitter-pane>\r\n </kendo-splitter>\r\n </form>\r\n </div>\r\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
262
262
  }], null, null); })();
263
263
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntitiesFormComponent, { className: "EntitiesFormComponent", filePath: "src\\lib\\custom\\Entities\\entities-form.component.ts", lineNumber: 12 }); })();
264
+ export function LoadEntitiesFormComponent() {
265
+ // does nothing, just prevents tree shaking
266
+ }
@@ -14,4 +14,5 @@ export declare class MemberJunctionCoreEntityFormsModule {
14
14
  static ɵmod: i0.ɵɵNgModuleDeclaration<MemberJunctionCoreEntityFormsModule, [typeof i1.EntitiesFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.LayoutModule, typeof i5.InputsModule, typeof i6.ButtonsModule, typeof i7.DateInputsModule, typeof i8.UserViewGridModule, typeof i9.LinkDirectivesModule, typeof i10.BaseFormsModule], [typeof i1.EntitiesFormComponent]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<MemberJunctionCoreEntityFormsModule>;
16
16
  }
17
+ export declare function LoadCoreCustomForms(): void;
17
18
  //# sourceMappingURL=custom-forms.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-forms.module.d.ts","sourceRoot":"","sources":["../../../src/lib/custom/custom-forms.module.ts"],"names":[],"mappings":";;;;;;;;;;;AAYA,qBAmBa,mCAAmC;yCAAnC,mCAAmC;0CAAnC,mCAAmC;0CAAnC,mCAAmC;CAAI"}
1
+ {"version":3,"file":"custom-forms.module.d.ts","sourceRoot":"","sources":["../../../src/lib/custom/custom-forms.module.ts"],"names":[],"mappings":";;;;;;;;;;;AAYA,qBAmBa,mCAAmC;yCAAnC,mCAAmC;0CAAnC,mCAAmC;0CAAnC,mCAAmC;CAAI;AAEpD,wBAAgB,mBAAmB,SAElC"}
@@ -8,7 +8,7 @@ import { LayoutModule } from '@progress/kendo-angular-layout';
8
8
  import { BaseFormsModule } from '@memberjunction/ng-base-forms';
9
9
  import { UserViewGridModule } from '@memberjunction/ng-user-view-grid';
10
10
  import { LinkDirectivesModule } from '@memberjunction/ng-link-directives';
11
- import { EntitiesFormComponent } from "./Entities/entities-form.component";
11
+ import { EntitiesFormComponent, LoadEntitiesFormComponent } from "./Entities/entities-form.component";
12
12
  import * as i0 from "@angular/core";
13
13
  export class MemberJunctionCoreEntityFormsModule {
14
14
  }
@@ -54,3 +54,6 @@ MemberJunctionCoreEntityFormsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector(
54
54
  UserViewGridModule,
55
55
  LinkDirectivesModule,
56
56
  BaseFormsModule], exports: [EntitiesFormComponent] }); })();
57
+ export function LoadCoreCustomForms() {
58
+ LoadEntitiesFormComponent();
59
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-core-entity-forms",
3
- "version": "0.9.148",
3
+ "version": "0.9.149",
4
4
  "description": "MemberJunction Core Entity Angular Forms",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -27,8 +27,8 @@
27
27
  "dependencies": {
28
28
  "@memberjunction/core": "^0.9.177",
29
29
  "@memberjunction/core-entities": "^0.9.167",
30
- "@memberjunction/ng-explorer-core": "^0.9.209",
31
- "@memberjunction/ng-base-forms": "^0.9.3",
30
+ "@memberjunction/ng-explorer-core": "^0.9.210",
31
+ "@memberjunction/ng-base-forms": "^0.9.4",
32
32
  "tslib": "^2.3.0"
33
33
  },
34
34
  "sideEffects": false