@posiwise/public-modules 0.1.23 → 0.1.24
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
|
@@ -979,4 +979,47 @@ export declare abstract class BaseContactFormComponent extends AppBaseComponent
|
|
|
979
979
|
protected abstract getDefaultSubject(): string;
|
|
980
980
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseContactFormComponent, never>;
|
|
981
981
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseContactFormComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
982
|
+
}
|
|
983
|
+
interface SupportCompany {
|
|
984
|
+
name?: string;
|
|
985
|
+
email?: string;
|
|
986
|
+
phone_number?: string;
|
|
987
|
+
street?: string;
|
|
988
|
+
city?: string;
|
|
989
|
+
city_code?: string;
|
|
990
|
+
state?: string;
|
|
991
|
+
}
|
|
992
|
+
interface SupportContact {
|
|
993
|
+
name: string;
|
|
994
|
+
email: string;
|
|
995
|
+
phone: string;
|
|
996
|
+
phoneHref: string;
|
|
997
|
+
address: string;
|
|
998
|
+
}
|
|
999
|
+
declare function buildAddress(company: SupportCompany | null | undefined): string;
|
|
1000
|
+
declare function toTelHref(phone: string): string;
|
|
1001
|
+
declare function buildSupportContact(company: SupportCompany | null | undefined): SupportContact;
|
|
1002
|
+
interface HelpPath {
|
|
1003
|
+
icon: string;
|
|
1004
|
+
key: string;
|
|
1005
|
+
link: string;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Public /support page for logged-out visitors (App Store Guideline 1.5).
|
|
1009
|
+
* Every detail is tenant-driven: name, email, phone and address come from the
|
|
1010
|
+
* domain config, so PosiWise, CloudOlive and any other tenant render their own.
|
|
1011
|
+
*/
|
|
1012
|
+
export declare class SupportPublicComponent extends AppBaseComponent {
|
|
1013
|
+
readonly landing = false;
|
|
1014
|
+
readonly helpPaths: HelpPath[];
|
|
1015
|
+
readonly checklist: string[];
|
|
1016
|
+
contact: SupportContact;
|
|
1017
|
+
copied: boolean;
|
|
1018
|
+
private readonly cdr;
|
|
1019
|
+
private copiedTimer;
|
|
1020
|
+
constructor(injector: Injector);
|
|
1021
|
+
get mailto(): string;
|
|
1022
|
+
copyEmail(): void;
|
|
1023
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportPublicComponent, never>;
|
|
1024
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportPublicComponent, "pw-support-public", never, {}, {}, never, never, true, never>;
|
|
982
1025
|
}
|