tango-app-ui-shared 3.0.43-dev → 3.0.44-dev

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.
@@ -1,6 +1,6 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class CustomSelectComponent implements OnChanges {
3
+ export declare class CustomSelectComponent implements OnChanges, OnInit {
4
4
  private cd;
5
5
  onClick(event: MouseEvent): void;
6
6
  items: any;
@@ -14,7 +14,9 @@ export declare class CustomSelectComponent implements OnChanges {
14
14
  filteredValues: any;
15
15
  showDropdown: boolean;
16
16
  searchValue: string;
17
+ instanceId: any;
17
18
  constructor(cd: ChangeDetectorRef);
19
+ ngOnInit(): void;
18
20
  ngOnChanges(changes: SimpleChanges): void;
19
21
  initializeItems(): void;
20
22
  updateSelectedValues(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.0.43-dev",
3
+ "version": "3.0.44-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"
@@ -1,85 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import * as i1$1 from '@angular/router';
5
- import { RouterModule } from '@angular/router';
6
- import { Subject, takeUntil } from 'rxjs';
7
- import * as i1 from 'tango-app-ui-global';
8
-
9
- class LeadIntroComponent {
10
- pageInfo;
11
- gs;
12
- router;
13
- destroy$ = new Subject();
14
- constructor(pageInfo, gs, router) {
15
- this.pageInfo = pageInfo;
16
- this.gs = gs;
17
- this.router = router;
18
- this.setPageData();
19
- this.gs.userAccess.pipe(takeUntil(this.destroy$)).subscribe((e) => {
20
- if (e && e?.userType === "client") {
21
- this.router.navigateByUrl('/manage');
22
- }
23
- });
24
- }
25
- ngOnDestroy() {
26
- this.destroy$.next(true);
27
- this.destroy$.complete();
28
- }
29
- setPageData() {
30
- this.pageInfo.setTitle('Explore');
31
- this.pageInfo.setDescription('');
32
- this.pageInfo.setBreadcrumbs([
33
- { title: 'Explore', path: '/explore', isActive: false, isSeparator: false },
34
- { title: 'Explore', path: '/explore', isActive: false, isSeparator: true },
35
- ]);
36
- }
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LeadIntroComponent, deps: [{ token: i1.PageInfoService }, { token: i1.GlobalStateService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: LeadIntroComponent, selector: "lib-lead-intro", ngImport: i0, template: "<div class=\"d-flex align-items-center justify-content-center\">\r\n <h1>Waiting for approval</h1>\r\n</div>", styles: [""] });
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LeadIntroComponent, decorators: [{
41
- type: Component,
42
- args: [{ selector: 'lib-lead-intro', template: "<div class=\"d-flex align-items-center justify-content-center\">\r\n <h1>Waiting for approval</h1>\r\n</div>" }]
43
- }], ctorParameters: () => [{ type: i1.PageInfoService }, { type: i1.GlobalStateService }, { type: i1$1.Router }] });
44
-
45
- const routes = [
46
- {
47
- path: '',
48
- component: LeadIntroComponent
49
- }
50
- ];
51
- class IntroRoutingModule {
52
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
53
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: IntroRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
54
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroRoutingModule, decorators: [{
57
- type: NgModule,
58
- args: [{
59
- imports: [RouterModule.forChild(routes)],
60
- exports: [RouterModule]
61
- }]
62
- }] });
63
-
64
- class IntroModule {
65
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
66
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: IntroModule, declarations: [LeadIntroComponent], imports: [CommonModule,
67
- IntroRoutingModule] });
68
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroModule, imports: [CommonModule,
69
- IntroRoutingModule] });
70
- }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IntroModule, decorators: [{
72
- type: NgModule,
73
- args: [{
74
- declarations: [
75
- LeadIntroComponent
76
- ],
77
- imports: [
78
- CommonModule,
79
- IntroRoutingModule
80
- ]
81
- }]
82
- }] });
83
-
84
- export { IntroModule };
85
- //# sourceMappingURL=tango-app-ui-shared-intro.module-fAn0-Hl0.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tango-app-ui-shared-intro.module-fAn0-Hl0.mjs","sources":["../../../projects/tango-app-shared/src/lib/modules/intro/lead-intro/lead-intro.component.ts","../../../projects/tango-app-shared/src/lib/modules/intro/lead-intro/lead-intro.component.html","../../../projects/tango-app-shared/src/lib/modules/intro/intro-routing.module.ts","../../../projects/tango-app-shared/src/lib/modules/intro/intro.module.ts"],"sourcesContent":["import { Component, OnDestroy } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { GlobalStateService, PageInfoService } from 'tango-app-ui-global';\r\nimport { Subject, takeUntil } from \"rxjs\";\r\n@Component({\r\n selector: 'lib-lead-intro',\r\n templateUrl: './lead-intro.component.html',\r\n styleUrl: './lead-intro.component.scss'\r\n})\r\nexport class LeadIntroComponent implements OnDestroy {\r\n \r\n private readonly destroy$ = new Subject();\r\n \r\n \r\n constructor(private pageInfo: PageInfoService, private gs:GlobalStateService, private router:Router){\r\n this.setPageData()\r\n this.gs.userAccess.pipe(takeUntil(this.destroy$)).subscribe((e)=>{\r\n if(e && e?.userType === \"client\"){\r\n this.router.navigateByUrl('/manage')\r\n }\r\n })\r\n }\r\n \r\n ngOnDestroy(): void {\r\n this.destroy$.next(true);\r\n this.destroy$.complete();\r\n }\r\n \r\n setPageData() {\r\n this.pageInfo.setTitle('Explore')\r\n this.pageInfo.setDescription('')\r\n this.pageInfo.setBreadcrumbs([\r\n { title: 'Explore', path: '/explore', isActive: false, isSeparator: false },\r\n { title: 'Explore', path: '/explore', isActive: false, isSeparator: true },\r\n ])\r\n }\r\n \r\n}","<div class=\"d-flex align-items-center justify-content-center\">\r\n <h1>Waiting for approval</h1>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LeadIntroComponent } from './lead-intro/lead-intro.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path:'',\r\n component:LeadIntroComponent\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class IntroRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IntroRoutingModule } from './intro-routing.module';\r\nimport { LeadIntroComponent } from './lead-intro/lead-intro.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n LeadIntroComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IntroRoutingModule\r\n ]\r\n})\r\nexport class IntroModule { }\r\n"],"names":["i2"],"mappings":";;;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