@posiwise/admin-module 0.0.211 → 0.0.213
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.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injector, OnInit, OnDestroy, ChangeDetectorRef, AfterViewInit, QueryList, TemplateRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Injector, OnInit, OnDestroy, ChangeDetectorRef, AfterViewInit, QueryList, TemplateRef, EventEmitter, PipeTransform } from '@angular/core';
|
|
3
3
|
import { PermissionService, AuthService, CommonService, ProductService, SubscriptionService, NgbDateCustomParserFormatter, TagService, TipsService, GroupService, CustomToastService, WindowService, AhoyService, UserService, FeatureFlagService } from '@posiwise/common-services';
|
|
4
4
|
import { MenuItem, LazyLoadEvent, SelectItem } from 'primeng/api';
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
@@ -9,41 +9,43 @@ import { UntypedFormGroup, NgForm, FormBuilder, FormGroup, FormArray, UntypedFor
|
|
|
9
9
|
import { FAQ, Product, User, Subscription as Subscription$1, Role, Paging, Plotly, ResourcePost, ResourceInsightResponse, SubscriptionMember } from '@posiwise/common-utilities';
|
|
10
10
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
11
11
|
import { CustomUploaderComponent } from '@posiwise/utils';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i120 from '@ng-bootstrap/ng-bootstrap';
|
|
13
13
|
import { NgbModal, NgbDatepickerConfig, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
14
14
|
import { Observable } from 'rxjs';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i122 from '@angular/common';
|
|
16
16
|
import { DatePipe } from '@angular/common';
|
|
17
17
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
18
|
-
import * as
|
|
18
|
+
import * as i125 from '@angular-magic/ngx-gp-autocomplete';
|
|
19
19
|
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i124 from '@posiwise/shared-components';
|
|
21
21
|
import { PermissionTreeComponent, CollapsibleSidebarService, PasswordValidationComponent } from '@posiwise/shared-components';
|
|
22
22
|
import * as i109 from 'primeng/autocomplete';
|
|
23
23
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
24
24
|
import moment$1 from 'moment';
|
|
25
25
|
import * as i111 from 'primeng/multiselect';
|
|
26
26
|
import { MultiSelect } from 'primeng/multiselect';
|
|
27
|
-
import * as
|
|
27
|
+
import * as i121 from 'ngx-uploader';
|
|
28
28
|
import { UploadFile, UploadInput, UploaderOptions, humanizeBytes, UploadOutput } from 'ngx-uploader';
|
|
29
29
|
import * as i106 from 'primeng/table';
|
|
30
30
|
import * as i107 from 'primeng/tooltip';
|
|
31
31
|
import * as i108 from 'primeng/accordion';
|
|
32
32
|
import * as i110 from 'primeng/select';
|
|
33
33
|
import * as i112 from 'primeng/inputtext';
|
|
34
|
-
import * as i113 from '
|
|
35
|
-
import * as i114 from '
|
|
36
|
-
import * as i115 from '
|
|
37
|
-
import * as i116 from '
|
|
38
|
-
import * as i117 from 'primeng/
|
|
39
|
-
import * as
|
|
40
|
-
import * as
|
|
41
|
-
import * as
|
|
42
|
-
import * as i126 from '@posiwise/
|
|
34
|
+
import * as i113 from 'primeng/iconfield';
|
|
35
|
+
import * as i114 from 'primeng/inputicon';
|
|
36
|
+
import * as i115 from 'ngx-daterangepicker-material';
|
|
37
|
+
import * as i116 from 'ngx-json-viewer';
|
|
38
|
+
import * as i117 from 'primeng/datepicker';
|
|
39
|
+
import * as i118 from 'angular-plotly.js';
|
|
40
|
+
import * as i119 from 'primeng/fileupload';
|
|
41
|
+
import * as i123 from 'ngx-ui-switch';
|
|
42
|
+
import * as i126 from '@posiwise/core-transloco';
|
|
43
|
+
import * as i127 from '@posiwise/pipes';
|
|
44
|
+
import * as i129 from '@posiwise/directives';
|
|
43
45
|
import * as i1 from '@angular/router';
|
|
44
46
|
import { Router, Route, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
45
|
-
import * as
|
|
46
|
-
import * as
|
|
47
|
+
import * as i132 from 'ngx-pagination';
|
|
48
|
+
import * as i133 from 'ngx-quill';
|
|
47
49
|
|
|
48
50
|
declare class UserTabComponent {
|
|
49
51
|
private readonly permission;
|
|
@@ -1426,6 +1428,7 @@ declare class FeatureFlagsListComponent extends AppBaseComponent {
|
|
|
1426
1428
|
};
|
|
1427
1429
|
buttonBusy: boolean;
|
|
1428
1430
|
isLoaded: boolean;
|
|
1431
|
+
loading: boolean;
|
|
1429
1432
|
searchText: string;
|
|
1430
1433
|
featureFlags: any[];
|
|
1431
1434
|
totalRecords: number;
|
|
@@ -5057,6 +5060,36 @@ declare class UsersInformationSidebarComponent {
|
|
|
5057
5060
|
static ɵcmp: i0.ɵɵComponentDeclaration<UsersInformationSidebarComponent, "pw-users-information-sidebar", never, {}, {}, never, never, false, never>;
|
|
5058
5061
|
}
|
|
5059
5062
|
|
|
5063
|
+
interface KpiInsight {
|
|
5064
|
+
/** Metric name with the trailing "(vs. …)" parenthetical stripped. */
|
|
5065
|
+
name: string;
|
|
5066
|
+
/** The comparison label extracted from the parenthetical, e.g. "vs. prev Quarter". */
|
|
5067
|
+
comp: string;
|
|
5068
|
+
/** Primary (current) value, e.g. "27", "$0", "0%". */
|
|
5069
|
+
primary: string;
|
|
5070
|
+
/** Secondary (reference) value, e.g. "0" — empty when the value has no " / ". */
|
|
5071
|
+
secondary: string;
|
|
5072
|
+
}
|
|
5073
|
+
/**
|
|
5074
|
+
* Splits a subscription-insight `{ title, value }` item into a display model.
|
|
5075
|
+
*
|
|
5076
|
+
* title "New Subscriptions Last 3 Months (vs. prev Quarter)" → name + comp
|
|
5077
|
+
* value "27 / 0" → primary + secondary
|
|
5078
|
+
*
|
|
5079
|
+
* Pure display transform — mirrors the previous inline `@let` template parsing
|
|
5080
|
+
* 1:1 (no behaviour change). Honest by design: it does NOT compute a delta or
|
|
5081
|
+
* direction, because these are paired *reference* metrics (ARR vs avg ARR,
|
|
5082
|
+
* 30d vs 90d), not period-over-period deltas.
|
|
5083
|
+
*/
|
|
5084
|
+
declare class KpiInsightPipe implements PipeTransform {
|
|
5085
|
+
transform(item: {
|
|
5086
|
+
title?: string;
|
|
5087
|
+
value?: string;
|
|
5088
|
+
} | null | undefined): KpiInsight;
|
|
5089
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiInsightPipe, never>;
|
|
5090
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KpiInsightPipe, "kpiInsight", true>;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5060
5093
|
declare class AdminRoutingModule {
|
|
5061
5094
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminRoutingModule, never>;
|
|
5062
5095
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
@@ -5065,7 +5098,7 @@ declare class AdminRoutingModule {
|
|
|
5065
5098
|
|
|
5066
5099
|
declare class AdminModule {
|
|
5067
5100
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
|
|
5068
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddFaqComponent, typeof EditFaqComponent, typeof UsersInformationSidebarComponent], [typeof i106.TableModule, typeof i107.TooltipModule, typeof i108.AccordionModule, typeof i109.AutoCompleteModule, typeof i110.SelectModule, typeof i111.MultiSelectModule, typeof i112.InputTextModule, typeof i113.
|
|
5101
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddFaqComponent, typeof EditFaqComponent, typeof UsersInformationSidebarComponent], [typeof i106.TableModule, typeof i107.TooltipModule, typeof i108.AccordionModule, typeof i109.AutoCompleteModule, typeof i110.SelectModule, typeof i111.MultiSelectModule, typeof i112.InputTextModule, typeof i113.IconFieldModule, typeof i114.InputIconModule, typeof i115.NgxDaterangepickerMd, typeof i116.NgxJsonViewerModule, typeof i117.DatePickerModule, typeof i118.PlotlyViaCDNModule, typeof i119.FileUploadModule, typeof i120.NgbTooltipModule, typeof i121.NgxUploaderModule, typeof i122.CommonModule, typeof i123.UiSwitchModule, typeof i124.SharedComponentsModule, typeof i124.CollapsibleSidebarTriggerDirective, typeof i125.NgxGpAutocompleteModule, typeof i126.CoreTranslocoModule, typeof i127.PipesModule, typeof KpiInsightPipe, typeof i129.DirectivesModule, typeof AdminRoutingModule, typeof i120.NgbModalModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i132.NgxPaginationModule, typeof i120.NgbNavModule, typeof i120.NgbDatepickerModule, typeof i133.QuillModule], never>;
|
|
5069
5102
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
|
|
5070
5103
|
}
|
|
5071
5104
|
|