@memberjunction/ng-core-entity-forms 0.9.52 → 0.9.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/dist/lib/generated/Entities/ApplicationEntity/sections/details.component.js +5 -7
  2. package/dist/lib/generated/Entities/AuditLog/sections/details.component.js +6 -32
  3. package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/sections/details.component.js +6 -32
  4. package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/sections/details.component.js +5 -7
  5. package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +158 -34
  6. package/dist/lib/generated/Entities/Entity/entity.form.component.js +19 -5
  7. package/dist/lib/generated/Entities/Entity/sections/details.component.js +113 -89
  8. package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +9 -35
  9. package/dist/lib/generated/Entities/EntityField/sections/details.component.js +228 -211
  10. package/dist/lib/generated/Entities/EntityPermission/sections/details.component.js +10 -12
  11. package/dist/lib/generated/Entities/List/sections/details.component.js +10 -36
  12. package/dist/lib/generated/Entities/Query/query.form.component.js +18 -4
  13. package/dist/lib/generated/Entities/QueryField/sections/details.component.js +6 -32
  14. package/dist/lib/generated/Entities/TaggedItem/sections/details.component.js +6 -32
  15. package/dist/lib/generated/Entities/UserApplicationEntity/sections/details.component.js +5 -7
  16. package/dist/lib/generated/Entities/UserView/sections/details.component.js +5 -7
  17. package/dist/lib/generated/Entities/UserView/userview.form.component.js +18 -4
  18. package/package.json +3 -3
@@ -227,7 +227,7 @@ function UserViewDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
227
227
  i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
228
228
  i0.ɵɵtext(8, "Entity ID");
229
229
  i0.ɵɵelementEnd();
230
- i0.ɵɵelementStart(9, "span", 9);
230
+ i0.ɵɵelementStart(9, "span");
231
231
  i0.ɵɵtext(10);
232
232
  i0.ɵɵelementEnd()();
233
233
  i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
@@ -374,9 +374,7 @@ function UserViewDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
374
374
  i0.ɵɵproperty("record", ctx_r2.record);
375
375
  i0.ɵɵadvance();
376
376
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UserID", 0));
377
- i0.ɵɵadvance(4);
378
- i0.ɵɵproperty("record", ctx_r2.record);
379
- i0.ɵɵadvance();
377
+ i0.ɵɵadvance(5);
380
378
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityID", 0));
381
379
  i0.ɵɵadvance(5);
382
380
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
@@ -427,7 +425,7 @@ function UserViewDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
427
425
  } }
428
426
  function UserViewDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
429
427
  i0.ɵɵelementStart(0, "div");
430
- i0.ɵɵtemplate(1, UserViewDetailsComponent_div_0_div_1_Template, 110, 25, "div", 1)(2, UserViewDetailsComponent_div_0_div_2_Template, 126, 27, "div", 1);
428
+ i0.ɵɵtemplate(1, UserViewDetailsComponent_div_0_div_1_Template, 110, 25, "div", 1)(2, UserViewDetailsComponent_div_0_div_2_Template, 126, 26, "div", 1);
431
429
  i0.ɵɵelementEnd();
432
430
  } if (rf & 2) {
433
431
  const ctx_r0 = i0.ɵɵnextContext();
@@ -443,7 +441,7 @@ let UserViewDetailsComponent = class UserViewDetailsComponent extends BaseFormSe
443
441
  }
444
442
  };
445
443
  UserViewDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵUserViewDetailsComponent_BaseFactory; return function UserViewDetailsComponent_Factory(t) { return (ɵUserViewDetailsComponent_BaseFactory || (ɵUserViewDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UserViewDetailsComponent)))(t || UserViewDetailsComponent); }; })();
446
- UserViewDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewDetailsComponent, selectors: [["gen-userview-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [1, "record-form-row"], [1, "fieldLabel"], [3, "value", "valueChange"], [3, "ngModel", "ngModelChange"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "UserID", 3, "record"], ["mjFieldLink", "", "fieldName", "EntityID", 3, "record"]], template: function UserViewDetailsComponent_Template(rf, ctx) { if (rf & 1) {
444
+ UserViewDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewDetailsComponent, selectors: [["gen-userview-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [1, "record-form-row"], [1, "fieldLabel"], [3, "value", "valueChange"], [3, "ngModel", "ngModelChange"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "UserID", 3, "record"]], template: function UserViewDetailsComponent_Template(rf, ctx) { if (rf & 1) {
447
445
  i0.ɵɵtemplate(0, UserViewDetailsComponent_div_0_Template, 3, 2, "div", 0);
448
446
  } if (rf & 2) {
449
447
  i0.ɵɵproperty("ngIf", ctx.record);
@@ -566,7 +564,7 @@ export { UserViewDetailsComponent };
566
564
  </div>
567
565
  <div class="record-form-row">
568
566
  <label class="fieldLabel">Entity ID</label>
569
- <span mjFieldLink [record]="record" fieldName="EntityID" >{{FormatValue('EntityID', 0)}}</span>
567
+ <span >{{FormatValue('EntityID', 0)}}</span>
570
568
  </div>
571
569
  <div class="record-form-row">
572
570
  <label class="fieldLabel">Name</label>
@@ -41,13 +41,22 @@ function UserViewFormComponent_form_1_ng_template_15_Template(rf, ctx) { if (rf
41
41
  const ctx_r9 = i0.ɵɵnextContext(2);
42
42
  i0.ɵɵproperty("Params", ctx_r9.BuildRelationshipViewParamsByEntityName("User View Runs"))("AllowLoad", ctx_r9.IsCurrentTab("User View Runs"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
43
43
  } }
44
+ function UserViewFormComponent_form_1_ng_template_17_Template(rf, ctx) { if (rf & 1) {
45
+ i0.ɵɵtext(0, "Data Context Items");
46
+ } }
47
+ function UserViewFormComponent_form_1_ng_template_18_Template(rf, ctx) { if (rf & 1) {
48
+ i0.ɵɵelement(0, "mj-user-view-grid", 13);
49
+ } if (rf & 2) {
50
+ const ctx_r11 = i0.ɵɵnextContext(2);
51
+ i0.ɵɵproperty("Params", ctx_r11.BuildRelationshipViewParamsByEntityName("Data Context Items"))("AllowLoad", ctx_r11.IsCurrentTab("Data Context Items"))("EditMode", ctx_r11.GridEditMode())("BottomMargin", ctx_r11.GridBottomMargin);
52
+ } }
44
53
  function UserViewFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
45
- const _r11 = i0.ɵɵgetCurrentView();
54
+ const _r13 = i0.ɵɵgetCurrentView();
46
55
  i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
47
56
  i0.ɵɵelement(4, "mj-form-toolbar", 6);
48
57
  i0.ɵɵelementEnd();
49
58
  i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
50
- i0.ɵɵlistener("tabSelect", function UserViewFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.onTabSelect($event)); });
59
+ i0.ɵɵlistener("tabSelect", function UserViewFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.onTabSelect($event)); });
51
60
  i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
52
61
  i0.ɵɵtemplate(8, UserViewFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, UserViewFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
53
62
  i0.ɵɵelementEnd();
@@ -56,6 +65,9 @@ function UserViewFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
56
65
  i0.ɵɵelementEnd();
57
66
  i0.ɵɵelementStart(13, "kendo-tabstrip-tab", 9);
58
67
  i0.ɵɵtemplate(14, UserViewFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, UserViewFormComponent_form_1_ng_template_15_Template, 1, 4, "ng-template", 11);
68
+ i0.ɵɵelementEnd();
69
+ i0.ɵɵelementStart(16, "kendo-tabstrip-tab", 9);
70
+ i0.ɵɵtemplate(17, UserViewFormComponent_form_1_ng_template_17_Template, 1, 0, "ng-template", 10)(18, UserViewFormComponent_form_1_ng_template_18_Template, 1, 4, "ng-template", 11);
59
71
  i0.ɵɵelementEnd()()();
60
72
  } if (rf & 2) {
61
73
  const ctx_r0 = i0.ɵɵnextContext();
@@ -69,13 +81,15 @@ function UserViewFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
69
81
  i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Relationships"));
70
82
  i0.ɵɵadvance(3);
71
83
  i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("User View Runs"));
84
+ i0.ɵɵadvance(3);
85
+ i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Data Context Items"));
72
86
  } }
73
87
  let UserViewFormComponent = class UserViewFormComponent extends BaseFormComponent {
74
88
  };
75
89
  UserViewFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵUserViewFormComponent_BaseFactory; return function UserViewFormComponent_Factory(t) { return (ɵUserViewFormComponent_BaseFactory || (ɵUserViewFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UserViewFormComponent)))(t || UserViewFormComponent); }; })();
76
90
  UserViewFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewFormComponent, selectors: [["gen-userview-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "User Views", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function UserViewFormComponent_Template(rf, ctx) { if (rf & 1) {
77
91
  i0.ɵɵelementStart(0, "div", 0);
78
- i0.ɵɵtemplate(1, UserViewFormComponent_form_1_Template, 16, 7, "form", 1);
92
+ i0.ɵɵtemplate(1, UserViewFormComponent_form_1_Template, 19, 8, "form", 1);
79
93
  i0.ɵɵelementEnd();
80
94
  } if (rf & 2) {
81
95
  i0.ɵɵadvance();
@@ -87,7 +101,7 @@ UserViewFormComponent = __decorate([
87
101
  export { UserViewFormComponent };
88
102
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewFormComponent, [{
89
103
  type: Component,
90
- args: [{ selector: 'gen-userview-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"User Views\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Relationships')\">\n <ng-template kendoTabTitle>Entity Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User View Runs')\">\n <ng-template kendoTabTitle>User View Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Runs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\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"] }]
104
+ args: [{ selector: 'gen-userview-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"User Views\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Relationships')\">\n <ng-template kendoTabTitle>Entity Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User View Runs')\">\n <ng-template kendoTabTitle>User View Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Runs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Data Context Items')\">\n <ng-template kendoTabTitle>Data Context Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\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"] }]
91
105
  }], null, null); })();
92
106
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewFormComponent, { className: "UserViewFormComponent", filePath: "src\\lib\\generated\\Entities\\UserView\\userview.form.component.ts", lineNumber: 12 }); })();
93
107
  export function LoadUserViewFormComponent() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-core-entity-forms",
3
- "version": "0.9.52",
3
+ "version": "0.9.53",
4
4
  "description": "MemberJunction Core Entity Angular Forms",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@memberjunction/core": "^0.9.141",
29
- "@memberjunction/core-entities": "^0.9.122",
30
- "@memberjunction/ng-explorer-core": "^0.9.117",
29
+ "@memberjunction/core-entities": "^0.9.123",
30
+ "@memberjunction/ng-explorer-core": "^0.9.118",
31
31
  "tslib": "^2.3.0"
32
32
  },
33
33
  "sideEffects": false