@memberjunction/ng-explorer-core 1.8.1 → 2.1.1

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 (56) hide show
  1. package/dist/app-routing.module.d.ts +4 -0
  2. package/dist/app-routing.module.d.ts.map +1 -1
  3. package/dist/app-routing.module.js +60 -3
  4. package/dist/generic/Events.types.d.ts +13 -0
  5. package/dist/generic/Events.types.d.ts.map +1 -1
  6. package/dist/generic/Events.types.js +6 -0
  7. package/dist/generic/Item.types.d.ts +5 -5
  8. package/dist/lib/app-view/application-view.component.d.ts +4 -2
  9. package/dist/lib/app-view/application-view.component.d.ts.map +1 -1
  10. package/dist/lib/app-view/application-view.component.js +31 -33
  11. package/dist/lib/base-browser-component/base-browser-component.d.ts +2 -1
  12. package/dist/lib/base-browser-component/base-browser-component.d.ts.map +1 -1
  13. package/dist/lib/base-browser-component/base-browser-component.js +7 -5
  14. package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts +3 -0
  15. package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts.map +1 -1
  16. package/dist/lib/dashboard-browser-component/dashboard-browser.component.js +21 -6
  17. package/dist/lib/data-browser-component/data-browser.component.d.ts +2 -2
  18. package/dist/lib/data-browser-component/data-browser.component.d.ts.map +1 -1
  19. package/dist/lib/data-browser-component/data-browser.component.js +23 -9
  20. package/dist/lib/expansion-panel-component/expansion-panel-component.js +4 -4
  21. package/dist/lib/favorites/favorites.component.d.ts.map +1 -1
  22. package/dist/lib/favorites/favorites.component.js +11 -4
  23. package/dist/lib/files/files.component.d.ts +3 -1
  24. package/dist/lib/files/files.component.d.ts.map +1 -1
  25. package/dist/lib/files/files.component.js +20 -5
  26. package/dist/lib/generic-browser-list/generic-browser-list.component.d.ts +9 -5
  27. package/dist/lib/generic-browser-list/generic-browser-list.component.d.ts.map +1 -1
  28. package/dist/lib/generic-browser-list/generic-browser-list.component.js +21 -21
  29. package/dist/lib/header/header.component.d.ts.map +1 -1
  30. package/dist/lib/header/header.component.js +3 -13
  31. package/dist/lib/home-component/home.component.d.ts +5 -2
  32. package/dist/lib/home-component/home.component.d.ts.map +1 -1
  33. package/dist/lib/home-component/home.component.js +49 -51
  34. package/dist/lib/list-view/list-view.component.d.ts.map +1 -1
  35. package/dist/lib/list-view/list-view.component.js +15 -3
  36. package/dist/lib/navigation/navigation.component.d.ts +2 -2
  37. package/dist/lib/navigation/navigation.component.d.ts.map +1 -1
  38. package/dist/lib/navigation/navigation.component.js +55 -27
  39. package/dist/lib/query-browser-component/query-browser.component.d.ts.map +1 -1
  40. package/dist/lib/query-browser-component/query-browser.component.js +17 -5
  41. package/dist/lib/report-browser-component/report-browser.component.d.ts.map +1 -1
  42. package/dist/lib/report-browser-component/report-browser.component.js +15 -3
  43. package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
  44. package/dist/lib/resource-wrappers/view-resource.component.js +4 -3
  45. package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +1 -1
  46. package/dist/lib/single-dashboard/single-dashboard.component.js +1 -1
  47. package/dist/lib/single-list-detail/single-list-detail.component.d.ts +14 -4
  48. package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -1
  49. package/dist/lib/single-list-detail/single-list-detail.component.js +232 -120
  50. package/dist/lib/single-query/single-query.component.d.ts +1 -1
  51. package/dist/lib/single-report/single-report.component.d.ts +1 -1
  52. package/dist/lib/single-search-result/single-search-result.component.js +1 -1
  53. package/dist/lib/single-view/single-view.component.d.ts +1 -1
  54. package/dist/lib/single-view/single-view.component.js +1 -1
  55. package/dist/lib/user-notifications/user-notifications.component.js +2 -2
  56. package/package.json +18 -18
@@ -1,8 +1,8 @@
1
1
  import { Router } from '@angular/router';
2
2
  import { ApplicationEntity } from '@memberjunction/core-entities';
3
- import { SharedService } from '@memberjunction/ng-shared';
3
+ import { BaseNavigationComponent, SharedService } from '@memberjunction/ng-shared';
4
4
  import * as i0 from "@angular/core";
5
- export declare class DataBrowserComponent {
5
+ export declare class DataBrowserComponent extends BaseNavigationComponent {
6
6
  sharedService: SharedService;
7
7
  private router;
8
8
  showLoader: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"data-browser.component.d.ts","sourceRoot":"","sources":["../../../src/lib/data-browser-component/data-browser.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,iBAAiB,EAAyB,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAE1D,qBAKa,oBAAoB;IAOZ,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,MAAM;IANxD,UAAU,EAAE,OAAO,CAAQ;IAE3B,eAAe,EAAE,iBAAiB,EAAE,CAAM;IAC1C,oBAAoB,EAAE,iBAAiB,EAAE,CAAM;IAC/C,sBAAsB,EAAE,iBAAiB,EAAE,CAAM;gBAErC,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,MAAM;IAEvE,QAAQ,IAAI,IAAI;IAGV,QAAQ;IA4BP,YAAY,CAAC,IAAI,EAAE,iBAAiB;IAMpC,yBAAyB,EAAE,OAAO,CAAS;IAC5C,sBAAsB;IAItB,MAAM,CAAC,KAAK,EAAE,KAAK;IAMnB,0BAA0B,CAAC,IAAI,EAAE,OAAO;yCAzDnC,oBAAoB;2CAApB,oBAAoB;CAmHhC"}
1
+ {"version":3,"file":"data-browser.component.d.ts","sourceRoot":"","sources":["../../../src/lib/data-browser-component/data-browser.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,iBAAiB,EAAyB,MAAM,+BAA+B,CAAC;AAEzF,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAEnF,qBAMa,oBAAqB,SAAQ,uBAAuB;IAO5C,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,MAAM;IANxD,UAAU,EAAE,OAAO,CAAQ;IAE3B,eAAe,EAAE,iBAAiB,EAAE,CAAM;IAC1C,oBAAoB,EAAE,iBAAiB,EAAE,CAAM;IAC/C,sBAAsB,EAAE,iBAAiB,EAAE,CAAM;gBAErC,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,MAAM;IAIvE,QAAQ,IAAI,IAAI;IAGV,QAAQ;IA6BP,YAAY,CAAC,IAAI,EAAE,iBAAiB;IAMpC,yBAAyB,EAAE,OAAO,CAAS;IAC5C,sBAAsB;IAItB,MAAM,CAAC,KAAK,EAAE,KAAK;IAMnB,0BAA0B,CAAC,IAAI,EAAE,OAAO;yCA5DnC,oBAAoB;2CAApB,oBAAoB;CAsHhC"}
@@ -1,3 +1,9 @@
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
+ };
1
7
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
8
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
9
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -9,6 +15,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
15
  };
10
16
  import { Component } from '@angular/core';
11
17
  import { Metadata, RunView } from '@memberjunction/core';
18
+ import { RegisterClass } from '@memberjunction/global';
19
+ import { BaseNavigationComponent } from '@memberjunction/ng-shared';
12
20
  import * as i0 from "@angular/core";
13
21
  import * as i1 from "@memberjunction/ng-shared";
14
22
  import * as i2 from "@angular/router";
@@ -71,8 +79,9 @@ function DataBrowserComponent_div_17_Template(rf, ctx) { if (rf & 1) {
71
79
  i0.ɵɵadvance();
72
80
  i0.ɵɵconditional(ctx_r2.SelectedApplications.length === 0 && !ctx_r2.showLoader ? 2 : -1);
73
81
  } }
74
- export class DataBrowserComponent {
82
+ let DataBrowserComponent = class DataBrowserComponent extends BaseNavigationComponent {
75
83
  constructor(sharedService, router) {
84
+ super();
76
85
  this.sharedService = sharedService;
77
86
  this.router = router;
78
87
  this.showLoader = true;
@@ -90,7 +99,8 @@ export class DataBrowserComponent {
90
99
  const rv = new RunView();
91
100
  const results = yield rv.RunView({
92
101
  EntityName: 'Applications',
93
- ResultType: 'entity_object'
102
+ ResultType: 'entity_object',
103
+ OrderBy: 'Name'
94
104
  });
95
105
  if (results && results.Success) {
96
106
  this.AllApplications = results.Results;
@@ -98,8 +108,8 @@ export class DataBrowserComponent {
98
108
  const userApps = yield rv.RunView({
99
109
  EntityName: 'User Applications',
100
110
  ResultType: 'entity_object',
101
- ExtraFilter: `UserID = ${new Metadata().CurrentUser.ID}`,
102
- OrderBy: 'Sequence'
111
+ ExtraFilter: `UserID = '${new Metadata().CurrentUser.ID}'`,
112
+ OrderBy: 'Sequence, Application'
103
113
  });
104
114
  if (userApps && userApps.Success) {
105
115
  const apps = userApps.Results.map(ua => this.AllApplications.find(a => a.ID === ua.ApplicationID && ua.IsActive)).filter(a => a); // filter out null entries
@@ -138,9 +148,9 @@ export class DataBrowserComponent {
138
148
  const rv = new RunView();
139
149
  const userApps = yield rv.RunView({
140
150
  EntityName: 'User Applications',
141
- ExtraFilter: `UserID=${md.CurrentUser.ID}`,
151
+ ExtraFilter: `UserID='${md.CurrentUser.ID}'`,
142
152
  ResultType: 'entity_object',
143
- OrderBy: 'Sequence',
153
+ OrderBy: 'Sequence, Application',
144
154
  });
145
155
  // userApps.results is the current DB state, we need to now compare it to the SelectedApplications array
146
156
  // and if there are changes either update sequence values or set IsActive=false for records that are not selected anyomre. We
@@ -189,9 +199,9 @@ export class DataBrowserComponent {
189
199
  }
190
200
  });
191
201
  }
192
- }
202
+ };
193
203
  DataBrowserComponent.ɵfac = function DataBrowserComponent_Factory(t) { return new (t || DataBrowserComponent)(i0.ɵɵdirectiveInject(i1.SharedService), i0.ɵɵdirectiveInject(i2.Router)); };
194
- DataBrowserComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataBrowserComponent, selectors: [["app-data-browser"]], decls: 18, vars: 6, consts: [[1, "data-browser-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "title-wrap-inner"], [1, "breadcrumb", 3, "click"], [1, "fa-solid", "fa-house", "home-icon"], [1, "breadcrumb-separator"], [1, "fa-solid", "fa-chevron-right"], [1, "breadcrumb-end"], [1, "config-button"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-gear"], ["DisplayField", "Name", "DisplayIconField", "Icon", 3, "DialogClosed", "AvailableRecords", "SelectedRecords", "UnselectedRecords", "DialogVisible"], [1, "main-area"], ["type", "converging-spinner", 4, "ngIf"], ["class", "card-list k-d-flex k-flex-row k-h-full k-flex-wrap", 4, "ngIf"], ["type", "converging-spinner"], [1, "card-list", "k-d-flex", "k-flex-row", "k-h-full", "k-flex-wrap"], ["class", "card-item", 3, "click", 4, "ngFor", "ngForOf"], [1, "card-item"], [1, "card-item", 3, "click"], [1, "card-wrapper"], [1, "view-card-content", "k-cursor-pointer"], [3, "ngClass"], ["kendoCardTitle", ""], ["kendoCardSubtitle", ""]], template: function DataBrowserComponent_Template(rf, ctx) { if (rf & 1) {
204
+ DataBrowserComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataBrowserComponent, selectors: [["app-data-browser"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 6, consts: [[1, "data-browser-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "title-wrap-inner"], [1, "breadcrumb", 3, "click"], [1, "fa-solid", "fa-house", "home-icon"], [1, "breadcrumb-separator"], [1, "fa-solid", "fa-chevron-right"], [1, "breadcrumb-end"], [1, "config-button"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-gear"], ["DisplayField", "Name", "DisplayIconField", "Icon", 3, "DialogClosed", "AvailableRecords", "SelectedRecords", "UnselectedRecords", "DialogVisible"], [1, "main-area"], ["type", "converging-spinner", 4, "ngIf"], ["class", "card-list k-d-flex k-flex-row k-h-full k-flex-wrap", 4, "ngIf"], ["type", "converging-spinner"], [1, "card-list", "k-d-flex", "k-flex-row", "k-h-full", "k-flex-wrap"], ["class", "card-item", 3, "click", 4, "ngFor", "ngForOf"], [1, "card-item"], [1, "card-item", 3, "click"], [1, "card-wrapper"], [1, "view-card-content", "k-cursor-pointer"], [3, "ngClass"], ["kendoCardTitle", ""], ["kendoCardSubtitle", ""]], template: function DataBrowserComponent_Template(rf, ctx) { if (rf & 1) {
195
205
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "span", 4);
196
206
  i0.ɵɵlistener("click", function DataBrowserComponent_Template_span_click_4_listener($event) { return ctx.GoHome($event); });
197
207
  i0.ɵɵelement(5, "span", 5);
@@ -221,8 +231,12 @@ DataBrowserComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataBr
221
231
  i0.ɵɵadvance();
222
232
  i0.ɵɵproperty("ngIf", !ctx.showLoader);
223
233
  } }, dependencies: [i3.NgClass, i3.NgForOf, i3.NgIf, i4.LoaderComponent, i5.ButtonComponent, i6.CardComponent, i6.CardBodyComponent, i6.CardTitleDirective, i6.CardSubtitleDirective, i7.RecordSelectorDialogComponent], styles: [".data-browser-container[_ngcontent-%COMP%] {\n padding: 15px;\n}\n.main-area[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%] {\n background: #fff;\n border-radius: 10px;\n height: 200px;\n border: 3px solid transparent;\n}\n\n.main-area[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%]:hover {\n border: 3px solid var(--border-active);\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n\n }\n .main-area[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%]:hover .view-card-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n color: var(--border-active);\n }\n .view-card-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n font-size: 36px;\n text-align: center;\n line-height: 42px;\n font-weight: 500;\n color: var(--text-darked);\n }\n .view-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n text-align: center;\n font-size: 18px;\n line-height: 28px;\n color: var(--text-darked);\n }\n \n.view-card-content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n position: absolute;\n top: 20px; \n left: 20px; \n font-size: 32px;\n}\n.card-list[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%] {\n position: relative; \n}\n\n .card-wrapper[_ngcontent-%COMP%] {\n height: 100%;\n border: none;\n }\n .card-wrapper[_ngcontent-%COMP%] .k-card-body[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center; \n align-items: center;\n }\n\n .card-header-entity[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.title-wrap[_ngcontent-%COMP%] {\n flex-grow: 1;\n font-size: 24px;\n}\n.title-wrap-inner[_ngcontent-%COMP%] {\n display: block;\n}\n\n.breadcrumb[_ngcontent-%COMP%] {\n color: darkblue;\n cursor: pointer;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.breadcrumb-end[_ngcontent-%COMP%] {\n display: inline;\n margin-left: 5px;\n}\n\n.breadcrumb-separator[_ngcontent-%COMP%] {\n font-size: 14px;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.home-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n font-size: 18px;\n vertical-align: middle;\n}\n\n.config-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}", ".main-area[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view[_ngcontent-%COMP%] {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n .list-view .k-listview-header, \n .list-view .k-listview-footer {\n border: none;\n}\n .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header[_ngcontent-%COMP%], \n.footer[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header[_ngcontent-%COMP%] {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header[_ngcontent-%COMP%] .head-tag[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header[_ngcontent-%COMP%] .count[_ngcontent-%COMP%] {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer[_ngcontent-%COMP%] {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%] {\n color: var(--sideNav);\n}\n.card-wrapper[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper[_ngcontent-%COMP%] .k-card-body[_ngcontent-%COMP%] {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper[_ngcontent-%COMP%] .view-card[_ngcontent-%COMP%] {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card[_ngcontent-%COMP%] .btn-wrapper[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.k-card-body[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}"] });
234
+ DataBrowserComponent = __decorate([
235
+ RegisterClass(BaseNavigationComponent, 'Data')
236
+ ], DataBrowserComponent);
237
+ export { DataBrowserComponent };
224
238
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataBrowserComponent, [{
225
239
  type: Component,
226
240
  args: [{ selector: 'app-data-browser', template: "<div class=\"data-browser-container\">\n <div class=\"card-header-entity\">\n <div class=\"title-wrap\">\n <div class=\"title-wrap-inner\">\n <span class=\"breadcrumb\" (click)=\"GoHome($event)\">\n <span class=\"fa-solid fa-house home-icon\"></span>Home\n </span>\n <span class=\"breadcrumb-separator\"><span class=\"fa-solid fa-chevron-right\"></span></span>\n <span class=\"breadcrumb-end\">Applications</span>\n </div>\n </div>\n <div class=\"config-button\">\n <button kendoButton (click)=\"ShowAppSelectionDialog()\"><span class=\"fa-solid fa-gear\"></span></button>\n <mj-record-selector-dialog [AvailableRecords]=\"AllApplications\" \n [SelectedRecords]=\"SelectedApplications\" \n [UnselectedRecords]=\"UnselectedApplications\"\n [DialogVisible]=\"AppSelectionDialogVisible\"\n DisplayField=\"Name\"\n DisplayIconField=\"Icon\"\n (DialogClosed)=\"OnAppSelectionDialogClosed($event)\">\n </mj-record-selector-dialog>\n </div>\n </div>\n <div class=\"main-area\"> \n <kendo-loader *ngIf=\"showLoader\" type=\"converging-spinner\" ></kendo-loader>\n <div class=\"card-list k-d-flex k-flex-row k-h-full k-flex-wrap\" *ngIf=\"!showLoader\">\n <div class=\"card-item\" *ngFor=\"let app of SelectedApplications\" (click)=\"appItemClick(app)\">\n <kendo-card class=\"card-wrapper\">\n <kendo-card-body>\n <div class=\"view-card-content k-cursor-pointer\">\n @if (app.Icon && app.Icon.length > 0) {\n <span [ngClass]=\"app.Icon + ' icon'\"></span>\n }\n <h2 kendoCardTitle>{{ app.Name }}</h2>\n <p kendoCardSubtitle>{{ app.Description }}</p>\n </div>\n </kendo-card-body>\n </kendo-card>\n </div>\n @if (SelectedApplications.length === 0 && !showLoader) {\n <div class=\"card-item\" (click)=\"ShowAppSelectionDialog()\">\n <kendo-card class=\"card-wrapper\">\n <kendo-card-body>\n <div class=\"view-card-content k-cursor-pointer\">\n <span class=\"fa-solid fa-gear\"></span>\n <h2 kendoCardTitle>Select Apps</h2>\n <p kendoCardSubtitle>No apps selected yet, click here to add some</p>\n </div>\n </kendo-card-body>\n </kendo-card>\n </div>\n }\n </div>\n </div>\n</div>", styles: [".data-browser-container {\n padding: 15px;\n}\n.main-area .card-list .card-item {\n background: #fff;\n border-radius: 10px;\n height: 200px;\n border: 3px solid transparent;\n}\n\n.main-area .card-list .card-item:hover {\n border: 3px solid var(--border-active);\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n\n }\n .main-area .card-list .card-item:hover .view-card-content h2 {\n color: var(--border-active);\n }\n .view-card-content h2 {\n font-size: 36px;\n text-align: center;\n line-height: 42px;\n font-weight: 500;\n color: var(--text-darked);\n }\n .view-card-content p {\n text-align: center;\n font-size: 18px;\n line-height: 28px;\n color: var(--text-darked);\n }\n \n.view-card-content .icon {\n position: absolute;\n top: 20px; \n left: 20px; \n font-size: 32px;\n}\n.card-list .card-item {\n position: relative; \n}\n\n .card-wrapper {\n height: 100%;\n border: none;\n }\n .card-wrapper .k-card-body {\n display: flex;\n justify-content: center; \n align-items: center;\n }\n\n .card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.title-wrap {\n flex-grow: 1;\n font-size: 24px;\n}\n.title-wrap-inner {\n display: block;\n}\n\n.breadcrumb {\n color: darkblue;\n cursor: pointer;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.breadcrumb-end {\n display: inline;\n margin-left: 5px;\n}\n\n.breadcrumb-separator {\n font-size: 14px;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.home-icon {\n margin-right: 5px;\n font-size: 18px;\n vertical-align: middle;\n}\n\n.config-button {\n display: flex;\n align-items: center;\n}", "\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
227
241
  }], () => [{ type: i1.SharedService }, { type: i2.Router }], null); })();
228
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataBrowserComponent, { className: "DataBrowserComponent", filePath: "src/lib/data-browser-component/data-browser.component.ts", lineNumber: 12 }); })();
242
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataBrowserComponent, { className: "DataBrowserComponent", filePath: "src/lib/data-browser-component/data-browser.component.ts", lineNumber: 14 }); })();
@@ -88,8 +88,8 @@ export class ExpansionPanelComponent {
88
88
  getFoldersForTreeNode(entityID, selectedFolderID) {
89
89
  return __awaiter(this, void 0, void 0, function* () {
90
90
  const md = new Metadata();
91
- const categoryIDFilter = selectedFolderID ? `ParentID=${selectedFolderID}` : 'ParentID IS NULL';
92
- const userViewFilter = `EntityID = ${entityID} AND ` + categoryIDFilter;
91
+ const categoryIDFilter = selectedFolderID ? `ParentID='${selectedFolderID}'` : 'ParentID IS NULL';
92
+ const userViewFilter = `EntityID = '${entityID}' AND ` + categoryIDFilter;
93
93
  const viewResults = yield this.RunView('User View Categories', userViewFilter);
94
94
  return viewResults.map((result) => {
95
95
  let treeFolder = new TreeFolder(result.EntityID, result.ID, result.Name);
@@ -104,8 +104,8 @@ export class ExpansionPanelComponent {
104
104
  getUserViewsForTreeNode(entityID, selectedFolderID) {
105
105
  return __awaiter(this, void 0, void 0, function* () {
106
106
  const md = new Metadata();
107
- const categoryIDFilter = selectedFolderID ? `CategoryID=${selectedFolderID}` : 'CategoryID IS NULL';
108
- const userViewFilter = `UserID = ${md.CurrentUser.ID} AND EntityID = ${entityID} AND ` + categoryIDFilter;
107
+ const categoryIDFilter = selectedFolderID ? `CategoryID='${selectedFolderID}'` : 'CategoryID IS NULL';
108
+ const userViewFilter = `UserID = '${md.CurrentUser.ID}' AND EntityID = '${entityID}' AND ` + categoryIDFilter;
109
109
  const viewResults = yield this.RunView('User Views', userViewFilter);
110
110
  return viewResults.map((result) => {
111
111
  let treeItem = new TreeItem(result, ItemType.UserView);
@@ -1 +1 @@
1
- {"version":3,"file":"favorites.component.d.ts","sourceRoot":"","sources":["../../../src/lib/favorites/favorites.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;;AAEnE,qBAKa,kBAAkB;IAIjB,OAAO,CAAC,MAAM;IAHnB,SAAS,EAAE,kBAAkB,EAAE,CAAM;IACrC,WAAW,EAAE,MAAM,CAAM;gBAEZ,MAAM,EAAE,MAAM;IAE5B,QAAQ;IA6Bd,iBAAiB,CAAC,GAAG,EAAE,kBAAkB;IAgCzC,uBAAuB,CAAC,GAAG,EAAE,GAAG;yCAnErB,kBAAkB;2CAAlB,kBAAkB;CA6E9B"}
1
+ {"version":3,"file":"favorites.component.d.ts","sourceRoot":"","sources":["../../../src/lib/favorites/favorites.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;;AAGnE,qBAKa,kBAAkB;IAIjB,OAAO,CAAC,MAAM;IAHnB,SAAS,EAAE,kBAAkB,EAAE,CAAM;IACrC,WAAW,EAAE,MAAM,CAAM;gBAEZ,MAAM,EAAE,MAAM;IAE5B,QAAQ;IAsCd,iBAAiB,CAAC,GAAG,EAAE,kBAAkB;IAiCzC,uBAAuB,CAAC,GAAG,EAAE,GAAG;yCA7ErB,kBAAkB;2CAAlB,kBAAkB;CAuF9B"}
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { Component } from '@angular/core';
11
- import { Metadata, RunView, CompositeKey } from '@memberjunction/core';
11
+ import { Metadata, RunView, CompositeKey, LogError } from '@memberjunction/core';
12
+ import { SharedService } from '@memberjunction/ng-shared';
12
13
  import * as i0 from "@angular/core";
13
14
  import * as i1 from "@angular/router";
14
15
  import * as i2 from "@progress/kendo-angular-listview";
@@ -52,13 +53,19 @@ export class FavoritesComponent {
52
53
  return __awaiter(this, void 0, void 0, function* () {
53
54
  const md = new Metadata();
54
55
  const rv = new RunView();
55
- let sFilter = `UserID=${md.CurrentUser.ID}`;
56
- if (this.ExtraFilter)
56
+ let sFilter = `UserID='${md.CurrentUser.ID}'`;
57
+ if (this.ExtraFilter) {
57
58
  sFilter += `AND (${this.ExtraFilter})`;
59
+ }
58
60
  const viewResults = yield rv.RunView({
59
61
  EntityName: 'User Favorites',
60
62
  ExtraFilter: sFilter
61
63
  });
64
+ if (!viewResults.Success) {
65
+ LogError(viewResults.ErrorMessage);
66
+ SharedService.Instance.CreateSimpleNotification("Unable to load User Favorites");
67
+ return;
68
+ }
62
69
  this.favorites = viewResults.Results; // set the result in the list and let the below happen after async and it will update via data binding when done
63
70
  const input = this.favorites.map(fav => {
64
71
  let compositeKey = new CompositeKey([{ FieldName: 'ID', Value: fav.RecordID }]);
@@ -134,4 +141,4 @@ FavoritesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Favorite
134
141
  type: Component,
135
142
  args: [{ selector: 'app-favorites', template: "<kendo-listview\n [data]=\"favorites\"\n class=\"list-view\"\n>\n <ng-container class=\"entity-wrap\">\n <ng-template kendoListViewHeaderTemplate>\n <div class=\"header\"> \n <div class=\"head-tag\">\n <span class=\"fa-regular fa-clock\"></span>\n Favorites\n </div>\n <div class=\"count\">{{favorites.length}}</div>\n </div>\n </ng-template>\n <ng-template kendoListViewItemTemplate let-dataItem=\"dataItem\">\n <div class=\"list-item\" (click)=\"favoriteItemClick(dataItem)\">\n <b>{{dataItem.Entity}}</b>: {{favoriteItemDisplayName(dataItem)}}\n </div>\n </ng-template>\n </ng-container>\n</kendo-listview>\n", styles: [".favorites-list {\n width: 400px;\n}", "\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
136
143
  }], () => [{ type: i1.Router }], null); })();
137
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FavoritesComponent, { className: "FavoritesComponent", filePath: "src/lib/favorites/favorites.component.ts", lineNumber: 11 }); })();
144
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FavoritesComponent, { className: "FavoritesComponent", filePath: "src/lib/favorites/favorites.component.ts", lineNumber: 12 }); })();
@@ -1,7 +1,9 @@
1
+ import { BaseNavigationComponent } from '@memberjunction/ng-shared';
1
2
  import * as i0 from "@angular/core";
2
- export declare class FilesComponent {
3
+ export declare class FilesComponent extends BaseNavigationComponent {
3
4
  CategoryID: number | undefined;
4
5
  categorySelected(newCategoryID: number): void;
6
+ constructor();
5
7
  static ɵfac: i0.ɵɵFactoryDeclaration<FilesComponent, never>;
6
8
  static ɵcmp: i0.ɵɵComponentDeclaration<FilesComponent, "app-files", never, {}, {}, never, never, false, never>;
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"files.component.d.ts","sourceRoot":"","sources":["../../../src/lib/files/files.component.ts"],"names":[],"mappings":";AAEA,qBAKa,cAAc;IAClB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gBAAgB,CAAC,aAAa,EAAE,MAAM;yCAHlC,cAAc;2CAAd,cAAc;CAM1B"}
1
+ {"version":3,"file":"files.component.d.ts","sourceRoot":"","sources":["../../../src/lib/files/files.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;AAEpE,qBAMa,cAAe,SAAQ,uBAAuB;IAClD,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gBAAgB,CAAC,aAAa,EAAE,MAAM;;yCAHlC,cAAc;2CAAd,cAAc;CAU1B"}
@@ -1,13 +1,24 @@
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
+ };
1
7
  import { Component } from '@angular/core';
8
+ import { RegisterClass } from '@memberjunction/global';
9
+ import { BaseNavigationComponent } from '@memberjunction/ng-shared';
2
10
  import * as i0 from "@angular/core";
3
11
  import * as i1 from "@memberjunction/ng-file-storage";
4
- export class FilesComponent {
12
+ let FilesComponent = class FilesComponent extends BaseNavigationComponent {
5
13
  categorySelected(newCategoryID) {
6
14
  this.CategoryID = newCategoryID;
7
15
  }
8
- }
16
+ constructor() {
17
+ super();
18
+ }
19
+ };
9
20
  FilesComponent.ɵfac = function FilesComponent_Factory(t) { return new (t || FilesComponent)(); };
10
- FilesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilesComponent, selectors: [["app-files"]], decls: 3, vars: 1, consts: [[1, "container"], [3, "categorySelected"], [3, "CategoryID"]], template: function FilesComponent_Template(rf, ctx) { if (rf & 1) {
21
+ FilesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilesComponent, selectors: [["app-files"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [[1, "container"], [3, "categorySelected"], [3, "CategoryID"]], template: function FilesComponent_Template(rf, ctx) { if (rf & 1) {
11
22
  i0.ɵɵelementStart(0, "div", 0)(1, "mj-files-category-tree", 1);
12
23
  i0.ɵɵlistener("categorySelected", function FilesComponent_Template_mj_files_category_tree_categorySelected_1_listener($event) { return ctx.categorySelected($event); });
13
24
  i0.ɵɵelementEnd();
@@ -17,8 +28,12 @@ FilesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilesCompone
17
28
  i0.ɵɵadvance(2);
18
29
  i0.ɵɵproperty("CategoryID", ctx.CategoryID);
19
30
  } }, dependencies: [i1.CategoryTreeComponent, i1.FilesGridComponent], styles: [".container[_ngcontent-%COMP%] {\n display: flex;\n }"] });
31
+ FilesComponent = __decorate([
32
+ RegisterClass(BaseNavigationComponent, 'Files')
33
+ ], FilesComponent);
34
+ export { FilesComponent };
20
35
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilesComponent, [{
21
36
  type: Component,
22
37
  args: [{ selector: 'app-files', template: "<div class=\"container\">\n <mj-files-category-tree (categorySelected)=\"categorySelected($event)\"></mj-files-category-tree>\n <mj-files-grid [CategoryID]=\"CategoryID\"></mj-files-grid>\n</div>\n", styles: [" .container {\n display: flex;\n } "] }]
23
- }], null, null); })();
24
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilesComponent, { className: "FilesComponent", filePath: "src/lib/files/files.component.ts", lineNumber: 8 }); })();
38
+ }], () => [], null); })();
39
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilesComponent, { className: "FilesComponent", filePath: "src/lib/files/files.component.ts", lineNumber: 11 }); })();
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { SharedService } from '@memberjunction/ng-shared';
3
3
  import { Item } from '../../generic/Item.types';
4
- import { AfterAddFolderEvent, AfterAddItemEvent, AfterDeleteFolderEvent, AfterDeleteItemEvent, AfterUpdateFolderEvent, AfterUpdateItemEvent, BeforeAddFolderEvent, BeforeAddItemEvent, BeforeDeleteFolderEvent, BeforeDeleteItemEvent, BeforeUpdateFolderEvent, BeforeUpdateItemEvent } from '../../generic/Events.types';
4
+ import { AfterAddFolderEvent, AfterAddItemEvent, AfterDeleteFolderEvent, AfterDeleteItemEvent, AfterUpdateFolderEvent, AfterUpdateItemEvent, BeforeAddFolderEvent, BeforeAddItemEvent, BeforeDeleteFolderEvent, BeforeDeleteItemEvent, BeforeUpdateFolderEvent, BeforeUpdateItemEvent, DropdownOptionClickEvent } from '../../generic/Events.types';
5
5
  import { CellClickEvent } from '@progress/kendo-angular-grid';
6
6
  import { EntityFormDialogComponent } from '@memberjunction/ng-entity-form-dialog';
7
7
  import * as i0 from "@angular/core";
@@ -21,7 +21,7 @@ export declare class GenericBrowserListComponent implements OnInit {
21
21
  CategoryEntityName: string;
22
22
  selectedFolderID: number | null;
23
23
  showNotifications: boolean;
24
- categoryEntityID: number | null;
24
+ categoryEntityID: string | null;
25
25
  displayAsGrid: boolean;
26
26
  resourceName: string;
27
27
  /**
@@ -35,6 +35,9 @@ export declare class GenericBrowserListComponent implements OnInit {
35
35
  * or as a grid of icons
36
36
  */
37
37
  displayItemsAsList: boolean;
38
+ extraDropdownOptions: {
39
+ text: string;
40
+ }[];
38
41
  BeforeAddFolderEvent: EventEmitter<BeforeAddFolderEvent>;
39
42
  BeforeAddItemEvent: EventEmitter<BeforeAddItemEvent>;
40
43
  BeforeDeleteFolderEvent: EventEmitter<BeforeDeleteFolderEvent>;
@@ -49,6 +52,7 @@ export declare class GenericBrowserListComponent implements OnInit {
49
52
  AfterUpdateItemEvent: EventEmitter<AfterUpdateItemEvent>;
50
53
  itemClickEvent: EventEmitter<any>;
51
54
  backButtonClickEvent: EventEmitter<void>;
55
+ dropdownOptionClickEvent: EventEmitter<DropdownOptionClickEvent>;
52
56
  viewModeChangeEvent: EventEmitter<'grid' | 'list'>;
53
57
  private _resizeDebounceTime;
54
58
  private _resizeEndDebounceTime;
@@ -64,9 +68,9 @@ export declare class GenericBrowserListComponent implements OnInit {
64
68
  private createNewRecordName;
65
69
  entityObjectName: string;
66
70
  /**
67
- * Data for the create button dropdown
71
+ * Options for the create button dropdown
68
72
  */
69
- createButtonDropdownData: {
73
+ dropdownOptions: {
70
74
  text: string;
71
75
  }[];
72
76
  constructor(sharedService: SharedService);
@@ -97,6 +101,6 @@ export declare class GenericBrowserListComponent implements OnInit {
97
101
  toggleCreateFolderView(visible?: boolean): void;
98
102
  getIconForResourceType(item: Item): string;
99
103
  static ɵfac: i0.ɵɵFactoryDeclaration<GenericBrowserListComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<GenericBrowserListComponent, "app-generic-browser-list", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disableAddButton": { "alias": "disableAddButton"; "required": false; }; "disableEditButton": { "alias": "disableEditButton"; "required": false; }; "addText": { "alias": "addText"; "required": false; }; "backText": { "alias": "backText"; "required": false; }; "ItemEntityName": { "alias": "ItemEntityName"; "required": false; }; "CategoryEntityName": { "alias": "CategoryEntityName"; "required": false; }; "selectedFolderID": { "alias": "selectedFolderID"; "required": false; }; "showNotifications": { "alias": "showNotifications"; "required": false; }; "categoryEntityID": { "alias": "categoryEntityID"; "required": false; }; "displayAsGrid": { "alias": "displayAsGrid"; "required": false; }; "resourceName": { "alias": "resourceName"; "required": false; }; "viewingResource": { "alias": "viewingResource"; "required": false; }; "displayItemsAsList": { "alias": "displayItemsAsList"; "required": false; }; "createButtonDropdownData": { "alias": "createButtonDropdownData"; "required": false; }; }, { "BeforeAddFolderEvent": "BeforeAddFolderEvent"; "BeforeAddItemEvent": "BeforeAddItemEvent"; "BeforeDeleteFolderEvent": "BeforeDeleteFolderEvent"; "BeforeDeleteItemEvent": "BeforeDeleteItemEvent"; "BeforeUpdateFolderEvent": "BeforeUpdateFolderEvent"; "BeforeUpdateItemEvent": "BeforeUpdateItemEvent"; "AfterAddFolderEvent": "AfterAddFolderEvent"; "AfterAddItemEvent": "AfterAddItemEvent"; "AfterDeleteFolderEvent": "AfterDeleteFolderEvent"; "AfterDeleteItemEvent": "AfterDeleteItemEvent"; "AfterUpdateFolderEvent": "AfterUpdateFolderEvent"; "AfterUpdateItemEvent": "AfterUpdateItemEvent"; "itemClickEvent": "itemClickEvent"; "backButtonClickEvent": "backButtonClickEvent"; "viewModeChangeEvent": "viewModeChangeEvent"; }, never, never, false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenericBrowserListComponent, "app-generic-browser-list", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disableAddButton": { "alias": "disableAddButton"; "required": false; }; "disableEditButton": { "alias": "disableEditButton"; "required": false; }; "addText": { "alias": "addText"; "required": false; }; "backText": { "alias": "backText"; "required": false; }; "ItemEntityName": { "alias": "ItemEntityName"; "required": false; }; "CategoryEntityName": { "alias": "CategoryEntityName"; "required": false; }; "selectedFolderID": { "alias": "selectedFolderID"; "required": false; }; "showNotifications": { "alias": "showNotifications"; "required": false; }; "categoryEntityID": { "alias": "categoryEntityID"; "required": false; }; "displayAsGrid": { "alias": "displayAsGrid"; "required": false; }; "resourceName": { "alias": "resourceName"; "required": false; }; "viewingResource": { "alias": "viewingResource"; "required": false; }; "displayItemsAsList": { "alias": "displayItemsAsList"; "required": false; }; "extraDropdownOptions": { "alias": "extraDropdownOptions"; "required": false; }; }, { "BeforeAddFolderEvent": "BeforeAddFolderEvent"; "BeforeAddItemEvent": "BeforeAddItemEvent"; "BeforeDeleteFolderEvent": "BeforeDeleteFolderEvent"; "BeforeDeleteItemEvent": "BeforeDeleteItemEvent"; "BeforeUpdateFolderEvent": "BeforeUpdateFolderEvent"; "BeforeUpdateItemEvent": "BeforeUpdateItemEvent"; "AfterAddFolderEvent": "AfterAddFolderEvent"; "AfterAddItemEvent": "AfterAddItemEvent"; "AfterDeleteFolderEvent": "AfterDeleteFolderEvent"; "AfterDeleteItemEvent": "AfterDeleteItemEvent"; "AfterUpdateFolderEvent": "AfterUpdateFolderEvent"; "AfterUpdateItemEvent": "AfterUpdateItemEvent"; "itemClickEvent": "itemClickEvent"; "backButtonClickEvent": "backButtonClickEvent"; "dropdownOptionClickEvent": "dropdownOptionClickEvent"; "viewModeChangeEvent": "viewModeChangeEvent"; }, never, never, false, never>;
101
105
  }
102
106
  //# sourceMappingURL=generic-browser-list.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generic-browser-list.component.d.ts","sourceRoot":"","sources":["../../../src/lib/generic-browser-list/generic-browser-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAU,IAAI,EAAa,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,oBAAoB,EAAa,oBAAoB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAc,MAAM,4BAA4B,CAAC;AAEjV,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;;AAElF,qBAKa,2BAA4B,YAAW,MAAM;IA0ErC,aAAa,EAAE,aAAa;IAzEhB,mBAAmB,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAE1E,UAAU,EAAE,OAAO,CAAQ;IAC3B,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAM;IAC/B,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,QAAQ,EAAE,MAAM,CAAU;IAC1B,gBAAgB,EAAE,OAAO,CAAS;IAClC,iBAAiB,EAAE,OAAO,CAAS;IACnC,OAAO,EAAE,MAAM,CAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAa;IAC7B,cAAc,EAAE,MAAM,CAAM;IAC5B,kBAAkB,EAAE,MAAM,CAAM;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,iBAAiB,EAAE,OAAO,CAAQ;IAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,aAAa,E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
1
+ {"version":3,"file":"generic-browser-list.component.d.ts","sourceRoot":"","sources":["../../../src/lib/generic-browser-list/generic-browser-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAU,IAAI,EAAa,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,oBAAoB,EAAa,oBAAoB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,wBAAwB,EAAc,MAAM,4BAA4B,CAAC;AAE3W,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;;AAElF,qBAKa,2BAA4B,YAAW,MAAM;IA4ErC,aAAa,EAAE,aAAa;IA3EhB,mBAAmB,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAE1E,UAAU,EAAE,OAAO,CAAQ;IAC3B,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAM;IAC/B,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,QAAQ,EAAE,MAAM,CAAU;IAC1B,gBAAgB,EAAE,OAAO,CAAS;IAClC,iBAAiB,EAAE,OAAO,CAAS;IACnC,OAAO,EAAE,MAAM,CAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAa;IAC7B,cAAc,EAAE,MAAM,CAAM;IAC5B,kBAAkB,EAAE,MAAM,CAAM;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,iBAAiB,EAAE,OAAO,CAAQ;IAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,aAAa,EAAE,OAAO,CA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