@memberjunction/ng-explorer-core 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/app-routing.module.d.ts.map +1 -1
  2. package/dist/app-routing.module.js +6 -1
  3. package/dist/lib/app-view/application-view.component.d.ts.map +1 -1
  4. package/dist/lib/app-view/application-view.component.js +34 -24
  5. package/dist/lib/base-browser-component/base-browser-component.d.ts +3 -2
  6. package/dist/lib/base-browser-component/base-browser-component.d.ts.map +1 -1
  7. package/dist/lib/base-browser-component/base-browser-component.js +5 -4
  8. package/dist/lib/generic/resource-container-component.d.ts.map +1 -1
  9. package/dist/lib/generic-browser-list/generic-browser-list.component.d.ts +4 -0
  10. package/dist/lib/generic-browser-list/generic-browser-list.component.d.ts.map +1 -1
  11. package/dist/lib/generic-browser-list/generic-browser-list.component.js +104 -74
  12. package/dist/lib/header/header.component.d.ts +1 -1
  13. package/dist/lib/header/header.component.js +2 -2
  14. package/dist/lib/home-component/home.component.js +11 -5
  15. package/dist/lib/list-view/list-view.component.d.ts +36 -0
  16. package/dist/lib/list-view/list-view.component.d.ts.map +1 -0
  17. package/dist/lib/list-view/list-view.component.js +189 -0
  18. package/dist/lib/navigation/navigation.component.d.ts +32 -6
  19. package/dist/lib/navigation/navigation.component.d.ts.map +1 -1
  20. package/dist/lib/navigation/navigation.component.js +123 -46
  21. package/dist/lib/resource-wrappers/record-resource.component.d.ts +2 -2
  22. package/dist/lib/resource-wrappers/record-resource.component.d.ts.map +1 -1
  23. package/dist/lib/resource-wrappers/record-resource.component.js +15 -11
  24. package/dist/lib/single-list-detail/single-list-detail.component.d.ts +26 -0
  25. package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -0
  26. package/dist/lib/single-list-detail/single-list-detail.component.js +213 -0
  27. package/dist/lib/single-record/single-record.component.d.ts +7 -4
  28. package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
  29. package/dist/lib/single-record/single-record.component.js +83 -29
  30. package/dist/lib/single-view/single-view.component.d.ts +2 -0
  31. package/dist/lib/single-view/single-view.component.d.ts.map +1 -1
  32. package/dist/lib/single-view/single-view.component.js +27 -26
  33. package/dist/module.d.ts +38 -37
  34. package/dist/module.d.ts.map +1 -1
  35. package/dist/module.js +18 -14
  36. package/dist/public-api.d.ts +2 -2
  37. package/dist/public-api.d.ts.map +1 -1
  38. package/dist/public-api.js +2 -2
  39. package/package.json +17 -16
  40. package/dist/lib/generic/section-loader-component.d.ts +0 -18
  41. package/dist/lib/generic/section-loader-component.d.ts.map +0 -1
  42. package/dist/lib/generic/section-loader-component.js +0 -66
  43. package/dist/lib/join-grid/join-grid.component.d.ts +0 -31
  44. package/dist/lib/join-grid/join-grid.component.d.ts.map +0 -1
  45. package/dist/lib/join-grid/join-grid.component.js +0 -222
@@ -13,7 +13,7 @@ export class HomeComponent {
13
13
  }
14
14
  }
15
15
  HomeComponent.ɵfac = function HomeComponent_Factory(t) { return new (t || HomeComponent)(i0.ɵɵdirectiveInject(i1.SharedService), i0.ɵɵdirectiveInject(i2.Router)); };
16
- HomeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeComponent, selectors: [["app-home"]], decls: 32, vars: 0, consts: [[1, "home-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "main-area"], [1, "nav-container"], [1, "nav-item", 3, "click"], [1, "fa-solid", "fa-user", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-table-cells", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-database", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-layer-group", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-chart-line", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-gear", "fa-4x", "sky-blue"], [1, "home-favorites"]], template: function HomeComponent_Template(rf, ctx) { if (rf & 1) {
16
+ HomeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeComponent, selectors: [["app-home"]], decls: 36, vars: 0, consts: [[1, "home-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "main-area"], [1, "nav-container"], [1, "nav-item", 3, "click"], [1, "fa-solid", "fa-user", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-table-cells", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-database", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-layer-group", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-chart-line", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-list-ul", "fa-4x", "sky-blue"], [1, "fa-solid", "fa-gear", "fa-4x", "sky-blue"], [1, "home-favorites"]], template: function HomeComponent_Template(rf, ctx) { if (rf & 1) {
17
17
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h1");
18
18
  i0.ɵɵtext(4, "Home");
19
19
  i0.ɵɵelementEnd()()();
@@ -48,16 +48,22 @@ HomeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeComponent
48
48
  i0.ɵɵtext(26, "Reports");
49
49
  i0.ɵɵelementEnd()();
50
50
  i0.ɵɵelementStart(27, "div", 5);
51
- i0.ɵɵlistener("click", function HomeComponent_Template_div_click_27_listener() { return ctx.navigate("settings"); });
51
+ i0.ɵɵlistener("click", function HomeComponent_Template_div_click_27_listener() { return ctx.navigate("lists"); });
52
52
  i0.ɵɵelement(28, "span", 11);
53
53
  i0.ɵɵelementStart(29, "span");
54
- i0.ɵɵtext(30, "Settings");
54
+ i0.ɵɵtext(30, "Lists");
55
+ i0.ɵɵelementEnd()();
56
+ i0.ɵɵelementStart(31, "div", 5);
57
+ i0.ɵɵlistener("click", function HomeComponent_Template_div_click_31_listener() { return ctx.navigate("settings"); });
58
+ i0.ɵɵelement(32, "span", 12);
59
+ i0.ɵɵelementStart(33, "span");
60
+ i0.ɵɵtext(34, "Settings");
55
61
  i0.ɵɵelementEnd()()();
56
- i0.ɵɵelement(31, "app-favorites", 12);
62
+ i0.ɵɵelement(35, "app-favorites", 13);
57
63
  i0.ɵɵelementEnd()();
58
64
  } }, dependencies: [i3.FavoritesComponent], styles: [".home-container[_ngcontent-%COMP%] {\n padding: 10px;\n}\n\n.nav-container[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n flex: 1;\n}\n.nav-item[_ngcontent-%COMP%] {\n border: solid 1px lightgray;\n border-radius: 5px;\n background: #fff;\n border-radius: 15px;\n width: 100%;;\n height: auto;\n box-sizing: border-box;\n padding: 25px;\n text-align: left;\n display: flex;\n gap: 26px;\n vertical-align: middle; \n font-size: 20px;\n cursor: pointer;\n}\n.nav-item[_ngcontent-%COMP%] .k-svg-icon[_ngcontent-%COMP%] {\n width: 75px;\n height: 75px;\n color: var(--sky-blue);\n}\n.nav-item[_ngcontent-%COMP%]:hover {\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n}\n\n\n.home-favorites[_ngcontent-%COMP%] {\n width: 500px;\n}\n\n.sky-blue[_ngcontent-%COMP%] {\n color: var(--sky-blue);\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, .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%], .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}"] });
59
65
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HomeComponent, [{
60
66
  type: Component,
61
- args: [{ selector: 'app-home', template: "<div class=\"home-container\">\n <div class=\"card-header-entity\">\n <div class=\"title-wrap\">\n <h1>Home</h1>\n </div>\n </div>\n <div class=\"main-area\"> \n <div class=\"nav-container\">\n <div class=\"nav-item\" (click)=\"navigate('askskip')\">\n <span class=\"fa-solid fa-user fa-4x sky-blue\"></span>\n <span>Ask Skip</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('data')\">\n <span class=\"fa-solid fa-table-cells fa-4x sky-blue\"></span>\n <span>Data</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('queries')\">\n <span class=\"fa-solid fa-database fa-4x sky-blue\"></span>\n <span>Queries</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('dashboards')\">\n <span class=\"fa-solid fa-layer-group fa-4x sky-blue\"></span>\n <span>Dashboards</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('reports')\">\n <span class=\"fa-solid fa-chart-line fa-4x sky-blue\"></span>\n <span>Reports</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('settings')\">\n <span class=\"fa-solid fa-gear fa-4x sky-blue\"></span>\n <span>Settings</span>\n </div>\n </div>\n\n <app-favorites class=\"home-favorites\"></app-favorites>\n </div>\n</div>", styles: [".home-container {\n padding: 10px;\n}\n\n.nav-container {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n flex: 1;\n}\n.nav-item {\n border: solid 1px lightgray;\n border-radius: 5px;\n background: #fff;\n border-radius: 15px;\n width: 100%;;\n height: auto;\n box-sizing: border-box;\n padding: 25px;\n text-align: left;\n display: flex;\n gap: 26px;\n vertical-align: middle; \n font-size: 20px;\n cursor: pointer;\n}\n.nav-item .k-svg-icon {\n width: 75px;\n height: 75px;\n color: var(--sky-blue);\n}\n.nav-item:hover {\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n}\n\n\n.home-favorites {\n width: 500px;\n}\n\n.sky-blue {\n color: var(--sky-blue);\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"] }]
67
+ args: [{ selector: 'app-home', template: "<div class=\"home-container\">\n <div class=\"card-header-entity\">\n <div class=\"title-wrap\">\n <h1>Home</h1>\n </div>\n </div>\n <div class=\"main-area\"> \n <div class=\"nav-container\">\n <div class=\"nav-item\" (click)=\"navigate('askskip')\">\n <span class=\"fa-solid fa-user fa-4x sky-blue\"></span>\n <span>Ask Skip</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('data')\">\n <span class=\"fa-solid fa-table-cells fa-4x sky-blue\"></span>\n <span>Data</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('queries')\">\n <span class=\"fa-solid fa-database fa-4x sky-blue\"></span>\n <span>Queries</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('dashboards')\">\n <span class=\"fa-solid fa-layer-group fa-4x sky-blue\"></span>\n <span>Dashboards</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('reports')\">\n <span class=\"fa-solid fa-chart-line fa-4x sky-blue\"></span>\n <span>Reports</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('lists')\">\n <span class=\"fa-solid fa-list-ul fa-4x sky-blue\"></span>\n <span>Lists</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('settings')\">\n <span class=\"fa-solid fa-gear fa-4x sky-blue\"></span>\n <span>Settings</span>\n </div>\n </div>\n\n <app-favorites class=\"home-favorites\"></app-favorites>\n </div>\n</div>", styles: [".home-container {\n padding: 10px;\n}\n\n.nav-container {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n flex: 1;\n}\n.nav-item {\n border: solid 1px lightgray;\n border-radius: 5px;\n background: #fff;\n border-radius: 15px;\n width: 100%;;\n height: auto;\n box-sizing: border-box;\n padding: 25px;\n text-align: left;\n display: flex;\n gap: 26px;\n vertical-align: middle; \n font-size: 20px;\n cursor: pointer;\n}\n.nav-item .k-svg-icon {\n width: 75px;\n height: 75px;\n color: var(--sky-blue);\n}\n.nav-item:hover {\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n}\n\n\n.home-favorites {\n width: 500px;\n}\n\n.sky-blue {\n color: var(--sky-blue);\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"] }]
62
68
  }], () => [{ type: i1.SharedService }, { type: i2.Router }], null); })();
63
69
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HomeComponent, { className: "HomeComponent", filePath: "src/lib/home-component/home.component.ts", lineNumber: 10 }); })();
@@ -0,0 +1,36 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { ListEntity } from '@memberjunction/core-entities';
4
+ import { BaseBrowserComponent } from '../base-browser-component/base-browser-component';
5
+ import { SharedService } from '@memberjunction/ng-shared';
6
+ import { Item } from '../../generic/Item.types';
7
+ import { BeforeAddItemEvent, BeforeUpdateItemEvent } from '../../generic/Events.types';
8
+ import { EntityInfo } from '@memberjunction/core';
9
+ import * as i0 from "@angular/core";
10
+ export declare class ListViewComponent extends BaseBrowserComponent implements OnInit {
11
+ private router;
12
+ private route;
13
+ private sharedService;
14
+ showLoader: boolean;
15
+ showCreateLoader: boolean;
16
+ lists: ListEntity[];
17
+ showCreateDialog: boolean;
18
+ entities: EntityInfo[];
19
+ sourceEntityNames: string[];
20
+ entityNames: string[];
21
+ listName: string;
22
+ listDescription: string;
23
+ selectedEntity: EntityInfo | null;
24
+ constructor(router: Router, route: ActivatedRoute, sharedService: SharedService);
25
+ ngOnInit(): Promise<void>;
26
+ itemClick(item: Item): void;
27
+ onBeforeUpdateItemEvent(event: BeforeUpdateItemEvent): void;
28
+ onBeforeAddItemEvent(event: BeforeAddItemEvent): void;
29
+ toggleCreateDialog(show: boolean): void;
30
+ createList(): Promise<void>;
31
+ onFilterChange(value: string): void;
32
+ onSelectionChange(value: string): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "mj-list-view", never, {}, {}, never, never, false, never>;
35
+ }
36
+ //# sourceMappingURL=list-view.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-view.component.d.ts","sourceRoot":"","sources":["../../../src/lib/list-view/list-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAc,UAAU,EAAY,MAAM,sBAAsB,CAAC;;AAExE,qBAKa,iBAAkB,SAAQ,oBAAqB,YAAW,MAAM;IAe5D,OAAO,CAAC,MAAM;IAAU,OAAO,CAAC,KAAK;IAAkB,OAAO,CAAC,aAAa;IAdlF,UAAU,EAAE,OAAO,CAAS;IAC5B,gBAAgB,EAAE,OAAO,CAAS;IAClC,KAAK,EAAE,UAAU,EAAE,CAAM;IACzB,gBAAgB,EAAE,OAAO,CAAS;IAClC,QAAQ,EAAE,UAAU,EAAE,CAAM;IAC5B,iBAAiB,EAAE,MAAM,EAAE,CAAM;IACjC,WAAW,EAAE,MAAM,EAAE,CAAM;IAI3B,QAAQ,EAAE,MAAM,CAAM;IACtB,eAAe,EAAE,MAAM,CAAM;IAC7B,cAAc,EAAE,UAAU,GAAG,IAAI,CAAQ;gBAE3B,MAAM,EAAE,MAAM,EAAU,KAAK,EAAE,cAAc,EAAU,aAAa,EAAE,aAAa;IAclG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAexB,SAAS,CAAC,IAAI,EAAE,IAAI;IAYpB,uBAAuB,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI;IAE3D,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI;IAMrD,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAUjC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IA2BjC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAInC,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;yCAzGpC,iBAAiB;2CAAjB,iBAAiB;CA4G7B"}
@@ -0,0 +1,189 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { Component } from '@angular/core';
11
+ import { BaseBrowserComponent } from '../base-browser-component/base-browser-component';
12
+ import { Metadata } from '@memberjunction/core';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "@angular/router";
15
+ import * as i2 from "@memberjunction/ng-shared";
16
+ import * as i3 from "@angular/common";
17
+ import * as i4 from "@angular/forms";
18
+ import * as i5 from "@progress/kendo-angular-dialog";
19
+ import * as i6 from "@progress/kendo-angular-indicators";
20
+ import * as i7 from "@progress/kendo-angular-buttons";
21
+ import * as i8 from "@progress/kendo-angular-inputs";
22
+ import * as i9 from "@progress/kendo-angular-label";
23
+ import * as i10 from "@progress/kendo-angular-dropdowns";
24
+ import * as i11 from "../generic-browser-list/generic-browser-list.component";
25
+ function ListViewComponent_kendo_dialog_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
26
+ i0.ɵɵelement(0, "kendo-loader", 3);
27
+ } }
28
+ function ListViewComponent_kendo_dialog_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
29
+ const _r4 = i0.ɵɵgetCurrentView();
30
+ i0.ɵɵelementStart(0, "div", 7)(1, "kendo-label", 8)(2, "kendo-textbox", 9);
31
+ i0.ɵɵtwoWayListener("ngModelChange", function ListViewComponent_kendo_dialog_1_Conditional_2_Template_kendo_textbox_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r3.listName, $event) || (ctx_r3.listName = $event); return i0.ɵɵresetView($event); });
32
+ i0.ɵɵelementEnd()();
33
+ i0.ɵɵelementStart(3, "div", 10)(4, "kendo-label", 11)(5, "kendo-textarea", 12);
34
+ i0.ɵɵtwoWayListener("ngModelChange", function ListViewComponent_kendo_dialog_1_Conditional_2_Template_kendo_textarea_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r5.listDescription, $event) || (ctx_r5.listDescription = $event); return i0.ɵɵresetView($event); });
35
+ i0.ɵɵelementEnd()()();
36
+ i0.ɵɵelementStart(6, "div", 10)(7, "kendo-label", 13)(8, "kendo-dropdownlist", 14);
37
+ i0.ɵɵlistener("filterChange", function ListViewComponent_kendo_dialog_1_Conditional_2_Template_kendo_dropdownlist_filterChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.onFilterChange($event)); })("selectionChange", function ListViewComponent_kendo_dialog_1_Conditional_2_Template_kendo_dropdownlist_selectionChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.onSelectionChange($event)); });
38
+ i0.ɵɵelementEnd()()()();
39
+ } if (rf & 2) {
40
+ const ctx_r2 = i0.ɵɵnextContext(2);
41
+ i0.ɵɵadvance(2);
42
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r2.listName);
43
+ i0.ɵɵadvance(3);
44
+ i0.ɵɵproperty("rows", 3);
45
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r2.listDescription);
46
+ i0.ɵɵadvance(3);
47
+ i0.ɵɵproperty("data", ctx_r2.entityNames)("filterable", true);
48
+ } }
49
+ function ListViewComponent_kendo_dialog_1_Template(rf, ctx) { if (rf & 1) {
50
+ const _r9 = i0.ɵɵgetCurrentView();
51
+ i0.ɵɵelementStart(0, "kendo-dialog", 2);
52
+ i0.ɵɵlistener("close", function ListViewComponent_kendo_dialog_1_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.toggleCreateDialog(false)); });
53
+ i0.ɵɵtemplate(1, ListViewComponent_kendo_dialog_1_Conditional_1_Template, 1, 0, "kendo-loader", 3)(2, ListViewComponent_kendo_dialog_1_Conditional_2_Template, 9, 5);
54
+ i0.ɵɵelementStart(3, "kendo-dialog-actions", 4)(4, "button", 5);
55
+ i0.ɵɵlistener("click", function ListViewComponent_kendo_dialog_1_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r9); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.createList()); });
56
+ i0.ɵɵtext(5, " Create ");
57
+ i0.ɵɵelementEnd();
58
+ i0.ɵɵelementStart(6, "button", 6);
59
+ i0.ɵɵlistener("click", function ListViewComponent_kendo_dialog_1_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r9); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.toggleCreateDialog(false)); });
60
+ i0.ɵɵtext(7, " Cancel ");
61
+ i0.ɵɵelementEnd()()();
62
+ } if (rf & 2) {
63
+ const ctx_r0 = i0.ɵɵnextContext();
64
+ i0.ɵɵproperty("minWidth", 250)("width", 650)("height", 550);
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵconditional(1, ctx_r0.showCreateLoader ? 1 : 2);
67
+ i0.ɵɵadvance(3);
68
+ i0.ɵɵproperty("disabled", !ctx_r0.listName || !ctx_r0.selectedEntity || ctx_r0.showCreateLoader);
69
+ i0.ɵɵadvance(2);
70
+ i0.ɵɵproperty("disabled", ctx_r0.showCreateLoader);
71
+ } }
72
+ export class ListViewComponent extends BaseBrowserComponent {
73
+ constructor(router, route, sharedService) {
74
+ var _a;
75
+ super();
76
+ this.router = router;
77
+ this.route = route;
78
+ this.sharedService = sharedService;
79
+ this.showLoader = false;
80
+ this.showCreateLoader = false;
81
+ this.lists = [];
82
+ this.showCreateDialog = false;
83
+ this.entities = [];
84
+ this.sourceEntityNames = [];
85
+ this.entityNames = [];
86
+ //create dialog properties
87
+ this.listName = "";
88
+ this.listDescription = "";
89
+ this.selectedEntity = null;
90
+ this.pageName = "Lists";
91
+ this.routeName = "lists";
92
+ this.routeNameSingular = "list";
93
+ this.itemEntityName = "Lists";
94
+ this.categoryEntityName = "List Categories";
95
+ const params = (_a = this.router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.extractedUrl.queryParams;
96
+ super.InitPathAndQueryData(params, this.route);
97
+ }
98
+ ngOnInit() {
99
+ const _super = Object.create(null, {
100
+ InitForResource: { get: () => super.InitForResource }
101
+ });
102
+ return __awaiter(this, void 0, void 0, function* () {
103
+ const md = new Metadata();
104
+ this.entities = md.Entities;
105
+ this.sourceEntityNames = this.entities.map(e => `${e.SchemaName}.${e.Name}`);
106
+ this.sourceEntityNames = this.entityNames = this.sourceEntityNames.sort(function (a, b) {
107
+ const aName = a.toLowerCase();
108
+ const bName = b.toLowerCase();
109
+ if (aName < bName) {
110
+ return -1;
111
+ }
112
+ if (aName > bName) {
113
+ return 1;
114
+ }
115
+ return 0;
116
+ });
117
+ _super.InitForResource.call(this, this.route);
118
+ });
119
+ }
120
+ itemClick(item) {
121
+ let dataID = "";
122
+ if (item.Type === "Entity") {
123
+ let list = item.Data;
124
+ dataID = list.ID.toString();
125
+ }
126
+ this.router.navigate(["listdetails", dataID]);
127
+ //super.Navigate(item, this.router, dataID);
128
+ }
129
+ onBeforeUpdateItemEvent(event) { }
130
+ onBeforeAddItemEvent(event) {
131
+ event.Cancel = true;
132
+ console.log("onBeforeAddItemEvent");
133
+ this.toggleCreateDialog(true);
134
+ }
135
+ toggleCreateDialog(show) {
136
+ this.showCreateDialog = show;
137
+ if (!show) {
138
+ this.listName = "";
139
+ this.listDescription = "";
140
+ this.selectedEntity = null;
141
+ }
142
+ }
143
+ createList() {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ this.showCreateLoader = true;
146
+ if (!this.selectedEntity) {
147
+ this.showCreateLoader = false;
148
+ return;
149
+ }
150
+ const md = new Metadata();
151
+ let listEntity = yield md.GetEntityObject("Lists");
152
+ listEntity.Name = this.listName;
153
+ listEntity.Description = this.listDescription;
154
+ listEntity.EntityID = this.selectedEntity.ID;
155
+ listEntity.UserID = md.CurrentUser.ID;
156
+ const saveResult = yield listEntity.Save();
157
+ this.showCreateLoader = false;
158
+ if (saveResult) {
159
+ this.sharedService.CreateSimpleNotification("List created successfully", "success", 2000);
160
+ this.router.navigate(["listdetails", listEntity.ID]);
161
+ }
162
+ else {
163
+ this.sharedService.CreateSimpleNotification("Error creating list", "error", 2000);
164
+ }
165
+ });
166
+ }
167
+ onFilterChange(value) {
168
+ this.entityNames = this.sourceEntityNames.filter(e => e.toLowerCase().includes(value.toLowerCase()));
169
+ }
170
+ onSelectionChange(value) {
171
+ this.selectedEntity = this.entities.find(e => `${e.SchemaName}.${e.Name}` === value) || null;
172
+ }
173
+ }
174
+ ListViewComponent.ɵfac = function ListViewComponent_Factory(t) { return new (t || ListViewComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.SharedService)); };
175
+ ListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ListViewComponent, selectors: [["mj-list-view"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 4, consts: [["title", "Lists", "itemType", "list", "iconName", "graph", "addText", "Create New List", "ItemEntityName", "Lists", "CategoryEntityName", "List Categories", "resourceName", "List", 3, "items", "selectedFolderID", "showLoader", "itemClickEvent", "AfterAddFolderEvent", "AfterAddItemEvent", "AfterDeleteItemEvent", "AfterDeleteFolderEvent", "viewModeChangeEvent", "BeforeUpdateItemEvent", "BeforeAddItemEvent"], ["title", "Create New List", 3, "minWidth", "width", "height", "close", 4, "ngIf"], ["title", "Create New List", 3, "minWidth", "width", "height", "close"], ["type", "converging-spinner"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "disabled", "click"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "disabled", "click"], [1, "col-xs-12", "col-sm-6", "example-col"], ["text", "Name"], ["placeholder", "Enter List Name", 1, "mt-10", 3, "ngModel", "ngModelChange"], [1, "mt-10"], ["text", "Description"], ["placeholder", "Enter Description", "resizable", "vertical", 1, "mt-10", 3, "rows", "ngModel", "ngModelChange"], ["text", "Select an Entity"], [1, "mt-10", 3, "data", "filterable", "filterChange", "selectionChange"]], template: function ListViewComponent_Template(rf, ctx) { if (rf & 1) {
176
+ i0.ɵɵelementStart(0, "app-generic-browser-list", 0);
177
+ i0.ɵɵlistener("itemClickEvent", function ListViewComponent_Template_app_generic_browser_list_itemClickEvent_0_listener($event) { return ctx.itemClick($event); })("AfterAddFolderEvent", function ListViewComponent_Template_app_generic_browser_list_AfterAddFolderEvent_0_listener($event) { return ctx.onEvent($event); })("AfterAddItemEvent", function ListViewComponent_Template_app_generic_browser_list_AfterAddItemEvent_0_listener($event) { return ctx.onEvent($event); })("AfterDeleteItemEvent", function ListViewComponent_Template_app_generic_browser_list_AfterDeleteItemEvent_0_listener($event) { return ctx.onEvent($event); })("AfterDeleteFolderEvent", function ListViewComponent_Template_app_generic_browser_list_AfterDeleteFolderEvent_0_listener($event) { return ctx.onEvent($event); })("viewModeChangeEvent", function ListViewComponent_Template_app_generic_browser_list_viewModeChangeEvent_0_listener($event) { return ctx.onViewModeChange($event); })("BeforeUpdateItemEvent", function ListViewComponent_Template_app_generic_browser_list_BeforeUpdateItemEvent_0_listener($event) { return ctx.onBeforeUpdateItemEvent($event); })("BeforeAddItemEvent", function ListViewComponent_Template_app_generic_browser_list_BeforeAddItemEvent_0_listener($event) { return ctx.onBeforeAddItemEvent($event); });
178
+ i0.ɵɵelementEnd();
179
+ i0.ɵɵtemplate(1, ListViewComponent_kendo_dialog_1_Template, 8, 6, "kendo-dialog", 1);
180
+ } if (rf & 2) {
181
+ i0.ɵɵproperty("items", ctx.items)("selectedFolderID", ctx.selectedFolderID)("showLoader", ctx.showLoader);
182
+ i0.ɵɵadvance();
183
+ i0.ɵɵproperty("ngIf", ctx.showCreateDialog);
184
+ } }, dependencies: [i3.NgIf, i4.NgControlStatus, i4.NgModel, i5.DialogComponent, i5.DialogActionsComponent, i6.LoaderComponent, i7.ButtonComponent, i8.TextAreaComponent, i8.TextBoxComponent, i9.LabelComponent, i10.DropDownListComponent, i11.GenericBrowserListComponent], styles: [".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, .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%], .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}"] });
185
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListViewComponent, [{
186
+ type: Component,
187
+ args: [{ selector: 'mj-list-view', template: "<app-generic-browser-list \ntitle=\"Lists\"\nitemType=\"list\"\niconName=\"graph\" \n[items]=\"items\"\naddText=\"Create New List\"\nItemEntityName=\"Lists\"\nCategoryEntityName=\"List Categories\" \nresourceName = \"List\"\n(itemClickEvent)=\"itemClick($event)\"\n(AfterAddFolderEvent)=\"onEvent($event)\"\n(AfterAddItemEvent)=\"onEvent($event)\"\n(AfterDeleteItemEvent)=\"onEvent($event)\"\n(AfterDeleteFolderEvent)=\"onEvent($event)\"\n[selectedFolderID]=\"selectedFolderID\"\n[showLoader]=\"showLoader\"\n(viewModeChangeEvent)=\"onViewModeChange($event)\"\n(BeforeUpdateItemEvent)=\"onBeforeUpdateItemEvent($event)\"\n(BeforeAddItemEvent)=\"onBeforeAddItemEvent($event)\"\n/>\n<kendo-dialog\ntitle=\"Create New List\"\n*ngIf=\"showCreateDialog\"\n(close)=\"toggleCreateDialog(false)\"\n[minWidth]=\"250\"\n[width]=\"650\"\n[height]=\"550\"\n>\n @if(showCreateLoader){\n <kendo-loader type=\"converging-spinner\"></kendo-loader>\n }\n @else {\n <div class=\"col-xs-12 col-sm-6 example-col\">\n <kendo-label text=\"Name\">\n <kendo-textbox \n class=\"mt-10\"\n placeholder=\"Enter List Name\" \n [(ngModel)]=\"listName\">\n </kendo-textbox>\n </kendo-label>\n <div class=\"mt-10\">\n <kendo-label text=\"Description\">\n <kendo-textarea\n class=\"mt-10\"\n placeholder=\"Enter Description\"\n [rows]=\"3\"\n resizable=\"vertical\"\n [(ngModel)]=\"listDescription\"\n ></kendo-textarea>\n </kendo-label>\n </div>\n <div class=\"mt-10\">\n <kendo-label text=\"Select an Entity\">\n <kendo-dropdownlist \n class=\"mt-10\"\n [data]=\"entityNames\"\n [filterable]=\"true\"\n (filterChange)=\"onFilterChange($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n />\n </kendo-label>\n </div>\n </div>\n }\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"cancel-btn\" (click)=\"createList()\" [disabled]=\"!listName || !selectedEntity || showCreateLoader\" kendoButton themeColor=\"info\">\n Create\n </button>\n <button class=\"yes-btn\" (click)=\"toggleCreateDialog(false)\" [disabled]=\"showCreateLoader\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Cancel\n </button>\n </kendo-dialog-actions>\n</kendo-dialog>", styles: ["\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"] }]
188
+ }], () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.SharedService }], null); })();
189
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListViewComponent, { className: "ListViewComponent", filePath: "src/lib/list-view/list-view.component.ts", lineNumber: 15 }); })();
@@ -2,7 +2,7 @@ import { ElementRef, OnInit, OnDestroy, AfterViewInit, Renderer2, ChangeDetector
2
2
  import { Location } from '@angular/common';
3
3
  import { Router, ActivatedRoute } from '@angular/router';
4
4
  import { DrawerItem, DrawerSelectEvent, DrawerComponent, DrawerMode } from "@progress/kendo-angular-layout";
5
- import { Metadata, ApplicationInfo, EntityInfo, TransactionGroupBase } from '@memberjunction/core';
5
+ import { Metadata, ApplicationInfo, EntityInfo, TransactionGroupBase, BaseEntity } from '@memberjunction/core';
6
6
  import { MJEvent } from '@memberjunction/global';
7
7
  import { SharedService } from '@memberjunction/ng-shared';
8
8
  import { UserViewEntity, ViewInfo } from '@memberjunction/core-entities';
@@ -74,24 +74,49 @@ export declare class NavigationComponent implements OnInit, OnDestroy, AfterView
74
74
  protected setActiveTabToHome(): void;
75
75
  innerSelectTab(tab: any): void;
76
76
  private checkForBaseURL;
77
- private getWorkspace;
78
- LoadWorkSpace(): Promise<void>;
77
+ /**
78
+ * This method will load the user's workspace and all the workspace items that are part of the workspace from the database.
79
+ */
80
+ protected loadWorkspace(): Promise<void>;
81
+ /**
82
+ * This method will load all the workspace items that are part of the workspace currently set in the workSpace member variable
83
+ */
84
+ protected LoadWorkspaceItems(): Promise<void>;
79
85
  protected setAppTitle(title?: string): void;
80
- protected checkForExistingTab(data: ResourceData): Tab | null;
86
+ /**
87
+ * This method is responsible for searching for a matching tab in the existing tab structure of the loaded workspace. It returns either a Tab object or null if one isn't found that matches the ResourceData provided.
88
+ * @param data
89
+ * @returns
90
+ */
91
+ protected findExistingTab(data: ResourceData): Tab | null;
92
+ /**
93
+ * This utility method is used to either Add a tab if a matching tab for the given data parameter isn't found, or to select the existing tab if it already exists.
94
+ * @param data
95
+ */
81
96
  protected AddOrSelectTab(data: ResourceData): Promise<void>;
82
97
  protected internalAddTab(newTab: Tab): Promise<void>;
83
98
  waitForDomUpdate(): Promise<void>;
84
99
  private updateBrowserURL;
85
100
  scrollIntoView(): void;
86
101
  GetWorkspaceItemDisplayName(data: ResourceData): Promise<string>;
102
+ /**
103
+ * Saves the workspace to the database.
104
+ * @returns
105
+ */
87
106
  SaveWorkspace(): Promise<boolean>;
107
+ HandleResourceRecordSaved(tab: Tab, resourceRecord: BaseEntity): Promise<boolean>;
108
+ /**
109
+ * Saves a single workspace item to the database.
110
+ * @param tab
111
+ * @returns
112
+ */
88
113
  SaveSingleWorkspaceItem(tab: Tab): Promise<boolean>;
89
114
  setTabContentLoadingStatus(tab: Tab, bLoading: boolean): void;
90
115
  handleTabClosed(event: TabClosedEvent): Promise<void>;
91
116
  handleTabSelected(event: TabEvent): void;
92
117
  closeTab(tab: any, newTabIndex: number): Promise<void>;
93
118
  removeWorkspaceItem(tab: Tab, transGroup: TransactionGroupBase | null): Promise<void>;
94
- getActiveTabId(): any;
119
+ getActiveTabId(): any | null;
95
120
  isTabActive(tabId: number): boolean;
96
121
  ngOnDestroy(): void;
97
122
  onDrawerSelect(ev: DrawerSelectEvent): void;
@@ -104,12 +129,13 @@ export declare class NavigationComponent implements OnInit, OnDestroy, AfterView
104
129
  protected loadSkip(md: Metadata): Promise<void>;
105
130
  protected loadHome(md: Metadata): Promise<void>;
106
131
  protected loadSettings(md: Metadata): Promise<void>;
132
+ protected loadLists(): Promise<void>;
107
133
  protected loadFiles(): Promise<void>;
108
134
  protected loadApplications(md: Metadata): Promise<void>;
109
135
  protected loadResourceType(key: string, resourceType: string, path: string, currentUserID: number): Promise<void>;
110
136
  setDrawerConfig(): void;
111
137
  toggle(): void;
112
138
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "app-navigation", never, { "applicationName": { "alias": "applicationName"; "required": false; }; }, {}, never, never, false, never>;
139
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "mj-navigation", never, { "applicationName": { "alias": "applicationName"; "required": false; }; }, {}, never, never, false, never>;
114
140
  }
115
141
  //# sourceMappingURL=navigation.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.component.d.ts","sourceRoot":"","sources":["../../../src/lib/navigation/navigation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,EAAE,SAAS,EAA6B,aAAa,EAAE,SAAS,EAAS,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACnK,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAA2C,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAE,UAAU,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