@posiwise/shared-components 0.0.238 → 0.0.240
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,6 @@ interface SharedModalContext {
|
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
interface EnrolledUser {
|
|
904
|
-
is_owner: boolean;
|
|
905
904
|
id: number;
|
|
906
905
|
}
|
|
907
906
|
interface GroupDefinition {
|
|
@@ -1987,10 +1986,7 @@ export declare class GroupsComponent extends AppBaseComponent implements OnInit,
|
|
|
1987
1986
|
admins: any[];
|
|
1988
1987
|
subscriptionInfo: any[];
|
|
1989
1988
|
subscriptionOwner: number;
|
|
1990
|
-
enrolledUsers:
|
|
1991
|
-
is_owner: boolean;
|
|
1992
|
-
id: number;
|
|
1993
|
-
}[];
|
|
1989
|
+
enrolledUsers: EnrolledUser[];
|
|
1994
1990
|
user: User;
|
|
1995
1991
|
submitted: boolean;
|
|
1996
1992
|
viewEdit: boolean;
|
|
@@ -2269,6 +2265,7 @@ declare namespace header_component_d_exports {
|
|
|
2269
2265
|
export declare class HeaderComponent extends AppBaseComponent {
|
|
2270
2266
|
private readonly authService;
|
|
2271
2267
|
private readonly cdr;
|
|
2268
|
+
readonly inMobileApp: boolean;
|
|
2272
2269
|
loggedIn: boolean;
|
|
2273
2270
|
isMenuCollapsed: boolean;
|
|
2274
2271
|
constructor();
|
|
@@ -2292,6 +2289,7 @@ declare namespace landing_page_footer_b_component_d_exports {
|
|
|
2292
2289
|
export declare class LandingPageFooterBComponent extends AppBaseComponent implements OnInit {
|
|
2293
2290
|
private readonly authService;
|
|
2294
2291
|
private readonly cdr;
|
|
2292
|
+
readonly inMobileApp: boolean;
|
|
2295
2293
|
isBrowserAccess: boolean;
|
|
2296
2294
|
currentDate: Date;
|
|
2297
2295
|
get companyName(): string;
|
|
@@ -2337,15 +2335,13 @@ export interface UiLayoutConfig {
|
|
|
2337
2335
|
page_key: string;
|
|
2338
2336
|
blocks: UiBlock[];
|
|
2339
2337
|
}
|
|
2340
|
-
/**
|
|
2341
|
-
export interface
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
blocks: UiBlock[];
|
|
2348
|
-
};
|
|
2338
|
+
/** The `result` of GET /main-api/v1/ui_layouts. */
|
|
2339
|
+
export interface UiLayoutResult {
|
|
2340
|
+
layout: {
|
|
2341
|
+
page_key: string;
|
|
2342
|
+
version: number;
|
|
2343
|
+
schema_version: number;
|
|
2344
|
+
blocks: UiBlock[];
|
|
2349
2345
|
};
|
|
2350
2346
|
}
|
|
2351
2347
|
declare namespace pw_dynamic_page_component_d_exports {
|
|
@@ -2576,7 +2572,7 @@ export declare class DynamicPageContextService {
|
|
|
2576
2572
|
}
|
|
2577
2573
|
export declare class UiLayoutService {
|
|
2578
2574
|
private readonly api;
|
|
2579
|
-
getLayout(subscriptionId: number, pageKey: string): Observable<
|
|
2575
|
+
getLayout(subscriptionId: number, pageKey: string): Observable<ItemResponse<UiLayoutResult>>;
|
|
2580
2576
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
|
|
2581
2577
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
2582
2578
|
}
|