@posiwise/shared-components 0.0.237 → 0.0.239
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
|
@@ -31,7 +31,7 @@ import * as i14 from "@posiwise/utils";
|
|
|
31
31
|
import * as i4$1 from "@fortawesome/angular-fontawesome";
|
|
32
32
|
import * as i13$1 from "@angular/cdk/drag-drop";
|
|
33
33
|
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
34
|
-
import { BaseHttpService, BrainVoiceService, DirectUploadService, KnowledgeFile, KnowledgeScope, LegalTab, MCPFieldDiff, MCPUploadCapability, NavEntry, VoiceChatService } from "@posiwise/common-services";
|
|
34
|
+
import { BaseHttpService, BrainVoiceService, DirectUploadService, ItemResponse, KnowledgeFile, KnowledgeScope, LegalTab, MCPFieldDiff, MCPUploadCapability, NavEntry, VoiceChatService } from "@posiwise/common-services";
|
|
35
35
|
import { Observable, Subject } from "rxjs";
|
|
36
36
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
37
37
|
import { MenuItem } from "primeng/api";
|
|
@@ -901,7 +901,7 @@ interface SharedModalContext {
|
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
interface EnrolledUser {
|
|
904
|
-
is_owner
|
|
904
|
+
is_owner?: boolean;
|
|
905
905
|
id: number;
|
|
906
906
|
}
|
|
907
907
|
interface GroupDefinition {
|
|
@@ -1987,10 +1987,7 @@ export declare class GroupsComponent extends AppBaseComponent implements OnInit,
|
|
|
1987
1987
|
admins: any[];
|
|
1988
1988
|
subscriptionInfo: any[];
|
|
1989
1989
|
subscriptionOwner: number;
|
|
1990
|
-
enrolledUsers:
|
|
1991
|
-
is_owner: boolean;
|
|
1992
|
-
id: number;
|
|
1993
|
-
}[];
|
|
1990
|
+
enrolledUsers: EnrolledUser[];
|
|
1994
1991
|
user: User;
|
|
1995
1992
|
submitted: boolean;
|
|
1996
1993
|
viewEdit: boolean;
|
|
@@ -2269,6 +2266,7 @@ declare namespace header_component_d_exports {
|
|
|
2269
2266
|
export declare class HeaderComponent extends AppBaseComponent {
|
|
2270
2267
|
private readonly authService;
|
|
2271
2268
|
private readonly cdr;
|
|
2269
|
+
readonly inMobileApp: boolean;
|
|
2272
2270
|
loggedIn: boolean;
|
|
2273
2271
|
isMenuCollapsed: boolean;
|
|
2274
2272
|
constructor();
|
|
@@ -2292,6 +2290,7 @@ declare namespace landing_page_footer_b_component_d_exports {
|
|
|
2292
2290
|
export declare class LandingPageFooterBComponent extends AppBaseComponent implements OnInit {
|
|
2293
2291
|
private readonly authService;
|
|
2294
2292
|
private readonly cdr;
|
|
2293
|
+
readonly inMobileApp: boolean;
|
|
2295
2294
|
isBrowserAccess: boolean;
|
|
2296
2295
|
currentDate: Date;
|
|
2297
2296
|
get companyName(): string;
|
|
@@ -2337,15 +2336,13 @@ export interface UiLayoutConfig {
|
|
|
2337
2336
|
page_key: string;
|
|
2338
2337
|
blocks: UiBlock[];
|
|
2339
2338
|
}
|
|
2340
|
-
/**
|
|
2341
|
-
export interface
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
blocks: UiBlock[];
|
|
2348
|
-
};
|
|
2339
|
+
/** The `result` of GET /main-api/v1/ui_layouts. */
|
|
2340
|
+
export interface UiLayoutResult {
|
|
2341
|
+
layout: {
|
|
2342
|
+
page_key: string;
|
|
2343
|
+
version: number;
|
|
2344
|
+
schema_version: number;
|
|
2345
|
+
blocks: UiBlock[];
|
|
2349
2346
|
};
|
|
2350
2347
|
}
|
|
2351
2348
|
declare namespace pw_dynamic_page_component_d_exports {
|
|
@@ -2504,6 +2501,11 @@ export interface LegalPageRouteOptions {
|
|
|
2504
2501
|
/** Overrides the per-tab page title, e.g. for a product's SEO title. */
|
|
2505
2502
|
title?: string;
|
|
2506
2503
|
description?: string;
|
|
2504
|
+
/** Per-page SEO text; wins over `title`/`description` so each page stays unique. */
|
|
2505
|
+
pages?: Partial<Record<LegalTab, {
|
|
2506
|
+
title?: string;
|
|
2507
|
+
description?: string;
|
|
2508
|
+
}>>;
|
|
2507
2509
|
canActivate?: Route['canActivate'];
|
|
2508
2510
|
}
|
|
2509
2511
|
/** `/privacy-policy[/:slug]` and `/terms-conditions[/:slug]`, readable without signing in. */
|
|
@@ -2571,7 +2573,7 @@ export declare class DynamicPageContextService {
|
|
|
2571
2573
|
}
|
|
2572
2574
|
export declare class UiLayoutService {
|
|
2573
2575
|
private readonly api;
|
|
2574
|
-
getLayout(subscriptionId: number, pageKey: string): Observable<
|
|
2576
|
+
getLayout(subscriptionId: number, pageKey: string): Observable<ItemResponse<UiLayoutResult>>;
|
|
2575
2577
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
|
|
2576
2578
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
2577
2579
|
}
|