@bnsights/bbsf-utilities 1.0.34 → 1.0.36
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/README.md +8 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +10 -0
- package/package.json +20 -28
- package/src/lib/bbsf-utilities.module.ts +52 -0
- package/src/lib/shared/authentication/auth.service.ts +242 -0
- package/src/lib/shared/config/environment.ts +16 -0
- package/src/lib/shared/config/word/constants.js +133 -0
- package/src/lib/shared/config/word/docx-document.js +482 -0
- package/src/lib/shared/config/word/helpers/index.js +3 -0
- package/src/lib/shared/config/word/helpers/render-document-file.js +334 -0
- package/src/lib/shared/config/word/helpers/xml-builder.js +2165 -0
- package/src/lib/shared/config/word/html-to-docx.js +259 -0
- package/src/lib/shared/config/word/index.js +63 -0
- package/src/lib/shared/config/word/namespaces.js +40 -0
- package/src/lib/shared/config/word/schemas/content-types.js +26 -0
- package/src/lib/shared/config/word/schemas/core.js +44 -0
- package/src/lib/shared/config/word/schemas/document-rels.js +17 -0
- package/src/lib/shared/config/word/schemas/document.template.js +119 -0
- package/src/lib/shared/config/word/schemas/font-table.js +41 -0
- package/src/lib/shared/config/word/schemas/generic-rels.js +11 -0
- package/src/lib/shared/config/word/schemas/index.js +12 -0
- package/src/lib/shared/config/word/schemas/numbering.js +18 -0
- package/src/lib/shared/config/word/schemas/rels.js +12 -0
- package/src/lib/shared/config/word/schemas/settings.js +14 -0
- package/src/lib/shared/config/word/schemas/styles.js +152 -0
- package/src/lib/shared/config/word/schemas/theme.js +199 -0
- package/src/lib/shared/config/word/schemas/web-settings.js +10 -0
- package/src/lib/shared/config/word/utils/color-conversion.js +60 -0
- package/src/lib/shared/config/word/utils/list.js +55 -0
- package/src/lib/shared/config/word/utils/unit-conversion.js +53 -0
- package/src/lib/shared/config/word/utils/url.js +8 -0
- package/src/lib/shared/config/word/utils/vnode.js +3 -0
- package/src/lib/shared/config/word/word-work/assets/contentTypesXml.ts +1 -0
- package/src/lib/shared/config/word/word-work/assets/documentXmlRels.ts +1 -0
- package/src/lib/shared/config/word/word-work/assets/index.ts +3 -0
- package/src/lib/shared/config/word/word-work/assets/relsXml.ts +1 -0
- package/src/lib/shared/config/word/word-work/index.ts +8 -0
- package/src/lib/shared/config/word/word-work/internal.ts +69 -0
- package/src/lib/shared/config/word/word-work/templates/documentTemplate.ts +58 -0
- package/src/lib/shared/config/word/word-work/templates/index.ts +3 -0
- package/src/lib/shared/config/word/word-work/templates/mhtDocumentTemplate.ts +21 -0
- package/src/lib/shared/config/word/word-work/templates/mhtPartTemplate.ts +14 -0
- package/src/lib/shared/config/word/word-work/utils.ts +27 -0
- package/src/lib/shared/models/AreaModel.ts +5 -0
- package/{lib/shared/models/ErrorModel.d.ts → src/lib/shared/models/ErrorModel.ts} +5 -2
- package/src/lib/shared/models/RequestOptionsModel.ts +13 -0
- package/src/lib/shared/models/WordDocumentModel.ts +19 -0
- package/src/lib/shared/services/AppearanceConfiguration.service.ts +30 -0
- package/src/lib/shared/services/configuration.service.ts +18 -0
- package/src/lib/shared/services/controlvalidation.service.ts +194 -0
- package/src/lib/shared/services/environment.service.ts +56 -0
- package/src/lib/shared/services/masterlayout.service.ts +89 -0
- package/src/lib/shared/services/requesthandler.service.ts +241 -0
- package/src/lib/shared/services/stylesbundle.service.ts +52 -0
- package/src/lib/shared/services/translate.service.ts +8 -0
- package/src/lib/shared/services/translationresolver.service.ts +16 -0
- package/src/lib/shared/services/utility.service.ts +94 -0
- package/src/lib/shared/services/word-document.service.ts +36 -0
- package/src/public-api.ts +27 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +39 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bnsights-bbsf-utilities-1.0.34.tgz +0 -0
- package/bnsights-bbsf-utilities.d.ts +0 -4
- package/bnsights-bbsf-utilities.metadata.json +0 -1
- package/bundles/bnsights-bbsf-utilities.umd.js +0 -4865
- package/bundles/bnsights-bbsf-utilities.umd.js.map +0 -1
- package/esm2015/bnsights-bbsf-utilities.js +0 -5
- package/esm2015/lib/bbsf-utilities.module.js +0 -52
- package/esm2015/lib/shared/authentication/auth.service.js +0 -236
- package/esm2015/lib/shared/config/environment.js +0 -12
- package/esm2015/lib/shared/config/word/constants.js +0 -105
- package/esm2015/lib/shared/config/word/docx-document.js +0 -351
- package/esm2015/lib/shared/config/word/helpers/index.js +0 -4
- package/esm2015/lib/shared/config/word/helpers/render-document-file.js +0 -278
- package/esm2015/lib/shared/config/word/helpers/xml-builder.js +0 -1765
- package/esm2015/lib/shared/config/word/html-to-docx.js +0 -195
- package/esm2015/lib/shared/config/word/index.js +0 -55
- package/esm2015/lib/shared/config/word/namespaces.js +0 -37
- package/esm2015/lib/shared/config/word/schemas/content-types.js +0 -26
- package/esm2015/lib/shared/config/word/schemas/core.js +0 -29
- package/esm2015/lib/shared/config/word/schemas/document-rels.js +0 -16
- package/esm2015/lib/shared/config/word/schemas/document.template.js +0 -109
- package/esm2015/lib/shared/config/word/schemas/font-table.js +0 -40
- package/esm2015/lib/shared/config/word/schemas/generic-rels.js +0 -11
- package/esm2015/lib/shared/config/word/schemas/index.js +0 -13
- package/esm2015/lib/shared/config/word/schemas/numbering.js +0 -19
- package/esm2015/lib/shared/config/word/schemas/rels.js +0 -11
- package/esm2015/lib/shared/config/word/schemas/settings.js +0 -13
- package/esm2015/lib/shared/config/word/schemas/styles.js +0 -149
- package/esm2015/lib/shared/config/word/schemas/theme.js +0 -200
- package/esm2015/lib/shared/config/word/schemas/web-settings.js +0 -9
- package/esm2015/lib/shared/config/word/utils/color-conversion.js +0 -60
- package/esm2015/lib/shared/config/word/utils/list.js +0 -51
- package/esm2015/lib/shared/config/word/utils/unit-conversion.js +0 -30
- package/esm2015/lib/shared/config/word/utils/url.js +0 -9
- package/esm2015/lib/shared/config/word/utils/vnode.js +0 -3
- package/esm2015/lib/shared/config/word/word-work/templates/documentTemplate.js +0 -54
- package/esm2015/lib/shared/config/word/word-work/templates/index.js +0 -4
- package/esm2015/lib/shared/config/word/word-work/templates/mhtDocumentTemplate.js +0 -22
- package/esm2015/lib/shared/config/word/word-work/templates/mhtPartTemplate.js +0 -10
- package/esm2015/lib/shared/config/word/word-work/utils.js +0 -26
- package/esm2015/lib/shared/models/AreaModel.js +0 -3
- package/esm2015/lib/shared/models/ErrorModel.js +0 -3
- package/esm2015/lib/shared/models/RequestOptionsModel.js +0 -11
- package/esm2015/lib/shared/models/WordDocumentModel.js +0 -8
- package/esm2015/lib/shared/services/AppearanceConfiguration.service.js +0 -37
- package/esm2015/lib/shared/services/configuration.service.js +0 -26
- package/esm2015/lib/shared/services/controlvalidation.service.js +0 -168
- package/esm2015/lib/shared/services/environment.service.js +0 -48
- package/esm2015/lib/shared/services/masterlayout.service.js +0 -96
- package/esm2015/lib/shared/services/requesthandler.service.js +0 -206
- package/esm2015/lib/shared/services/stylesbundle.service.js +0 -56
- package/esm2015/lib/shared/services/translate.service.js +0 -13
- package/esm2015/lib/shared/services/translationresolver.service.js +0 -20
- package/esm2015/lib/shared/services/utility.service.js +0 -96
- package/esm2015/lib/shared/services/word-document.service.js +0 -39
- package/esm2015/public-api.js +0 -20
- package/fesm2015/bnsights-bbsf-utilities.js +0 -4634
- package/fesm2015/bnsights-bbsf-utilities.js.map +0 -1
- package/lib/bbsf-utilities.module.d.ts +0 -6
- package/lib/shared/authentication/auth.service.d.ts +0 -41
- package/lib/shared/config/environment.d.ts +0 -1
- package/lib/shared/config/word/constants.d.ts +0 -124
- package/lib/shared/config/word/docx-document.d.ts +0 -73
- package/lib/shared/config/word/helpers/index.d.ts +0 -1
- package/lib/shared/config/word/helpers/render-document-file.d.ts +0 -4
- package/lib/shared/config/word/helpers/xml-builder.d.ts +0 -14
- package/lib/shared/config/word/html-to-docx.d.ts +0 -1
- package/lib/shared/config/word/index.d.ts +0 -1
- package/lib/shared/config/word/namespaces.d.ts +0 -36
- package/lib/shared/config/word/schemas/content-types.d.ts +0 -1
- package/lib/shared/config/word/schemas/core.d.ts +0 -1
- package/lib/shared/config/word/schemas/document-rels.d.ts +0 -1
- package/lib/shared/config/word/schemas/document.template.d.ts +0 -4
- package/lib/shared/config/word/schemas/font-table.d.ts +0 -1
- package/lib/shared/config/word/schemas/generic-rels.d.ts +0 -1
- package/lib/shared/config/word/schemas/index.d.ts +0 -12
- package/lib/shared/config/word/schemas/numbering.d.ts +0 -1
- package/lib/shared/config/word/schemas/rels.d.ts +0 -1
- package/lib/shared/config/word/schemas/settings.d.ts +0 -1
- package/lib/shared/config/word/schemas/styles.d.ts +0 -1
- package/lib/shared/config/word/schemas/theme.d.ts +0 -1
- package/lib/shared/config/word/schemas/web-settings.d.ts +0 -1
- package/lib/shared/config/word/utils/color-conversion.d.ts +0 -7
- package/lib/shared/config/word/utils/list.d.ts +0 -6
- package/lib/shared/config/word/utils/unit-conversion.d.ts +0 -29
- package/lib/shared/config/word/utils/url.d.ts +0 -1
- package/lib/shared/config/word/utils/vnode.d.ts +0 -1
- package/lib/shared/config/word/word-work/templates/documentTemplate.d.ts +0 -12
- package/lib/shared/config/word/word-work/templates/index.d.ts +0 -3
- package/lib/shared/config/word/word-work/templates/mhtDocumentTemplate.d.ts +0 -1
- package/lib/shared/config/word/word-work/templates/mhtPartTemplate.d.ts +0 -1
- package/lib/shared/config/word/word-work/utils.d.ts +0 -1
- package/lib/shared/models/AreaModel.d.ts +0 -4
- package/lib/shared/models/RequestOptionsModel.d.ts +0 -11
- package/lib/shared/models/WordDocumentModel.d.ts +0 -16
- package/lib/shared/services/AppearanceConfiguration.service.d.ts +0 -11
- package/lib/shared/services/configuration.service.d.ts +0 -7
- package/lib/shared/services/controlvalidation.service.d.ts +0 -19
- package/lib/shared/services/environment.service.d.ts +0 -13
- package/lib/shared/services/masterlayout.service.d.ts +0 -24
- package/lib/shared/services/requesthandler.service.d.ts +0 -32
- package/lib/shared/services/stylesbundle.service.d.ts +0 -9
- package/lib/shared/services/translate.service.d.ts +0 -3
- package/lib/shared/services/translationresolver.service.d.ts +0 -8
- package/lib/shared/services/utility.service.d.ts +0 -21
- package/lib/shared/services/word-document.service.d.ts +0 -5
- package/public-api.d.ts +0 -16
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { User } from 'oidc-client';
|
|
4
|
-
import { EnvironmentService } from '../services/environment.service';
|
|
5
|
-
import { BBSFTranslateService } from '../services/translate.service';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
export declare class AuthService {
|
|
8
|
-
private injector;
|
|
9
|
-
private http;
|
|
10
|
-
private environmentService;
|
|
11
|
-
private translateService;
|
|
12
|
-
private router;
|
|
13
|
-
private _authNavStatusSource;
|
|
14
|
-
authNavStatus$: import("rxjs").Observable<boolean>;
|
|
15
|
-
private _userSource;
|
|
16
|
-
UserStatus$: import("rxjs").Observable<User>;
|
|
17
|
-
private manager;
|
|
18
|
-
redirectUrl: string;
|
|
19
|
-
static user: User | null;
|
|
20
|
-
user: User | null;
|
|
21
|
-
static UserClaims: any;
|
|
22
|
-
constructor(injector: Injector, http: HttpClient, environmentService: EnvironmentService, translateService: BBSFTranslateService, router: Router);
|
|
23
|
-
getUserManager(): any;
|
|
24
|
-
login(): any;
|
|
25
|
-
getUser(): void;
|
|
26
|
-
storUser(User: any): void;
|
|
27
|
-
revokeAccessToken(): void;
|
|
28
|
-
signinSilent(): void;
|
|
29
|
-
completeAuthentication(): Promise<void>;
|
|
30
|
-
refreshToken(token: any): Promise<import("rxjs").Subscription>;
|
|
31
|
-
getCurrentUser(): any;
|
|
32
|
-
isAuthenticated(): Promise<boolean>;
|
|
33
|
-
isUserInRole(allowedPermission: number[]): boolean;
|
|
34
|
-
authorizationHeaderValue(): string;
|
|
35
|
-
name(): string;
|
|
36
|
-
setUrl(url: any): void;
|
|
37
|
-
getUrl(): string;
|
|
38
|
-
signinSilentCallback(): Promise<void>;
|
|
39
|
-
signout(): Promise<void>;
|
|
40
|
-
clearUserSessionClaims(): import("rxjs").Observable<Object>;
|
|
41
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const environment: any;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
export namespace defaultDocumentOptions {
|
|
2
|
-
export { defaultOrientation as orientation };
|
|
3
|
-
export const margins: any;
|
|
4
|
-
export const title: string;
|
|
5
|
-
export const subject: string;
|
|
6
|
-
export { applicationName as creator };
|
|
7
|
-
export const keywords: string[];
|
|
8
|
-
export const description: string;
|
|
9
|
-
export { applicationName as lastModifiedBy };
|
|
10
|
-
export const revision: number;
|
|
11
|
-
export const createdAt: Date;
|
|
12
|
-
export const modifiedAt: Date;
|
|
13
|
-
export const headerType: string;
|
|
14
|
-
export const header: boolean;
|
|
15
|
-
export const footerType: string;
|
|
16
|
-
export const footer: boolean;
|
|
17
|
-
export { defaultFont as font };
|
|
18
|
-
export { defaultFontSize as fontSize };
|
|
19
|
-
export { defaultFontSize as complexScriptFontSize };
|
|
20
|
-
export namespace table {
|
|
21
|
-
namespace row {
|
|
22
|
-
const cantSplit: boolean;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export namespace pageSize {
|
|
26
|
-
export { landscapeHeight as width };
|
|
27
|
-
export { landscapeWidth as height };
|
|
28
|
-
}
|
|
29
|
-
export const pageNumber: boolean;
|
|
30
|
-
export const skipFirstHeaderFooter: boolean;
|
|
31
|
-
export const lineNumber: boolean;
|
|
32
|
-
export namespace lineNumberOptions {
|
|
33
|
-
const countBy: number;
|
|
34
|
-
const start: number;
|
|
35
|
-
const restart: string;
|
|
36
|
-
}
|
|
37
|
-
export namespace numbering {
|
|
38
|
-
const defaultOrderedListStyleType: string;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export const defaultHTMLString: "<p></p>";
|
|
42
|
-
export const relsFolderName: "_rels";
|
|
43
|
-
export const headerFileName: "header1";
|
|
44
|
-
export const footerFileName: "footer1";
|
|
45
|
-
export const themeFileName: "theme1";
|
|
46
|
-
export const documentFileName: "document";
|
|
47
|
-
export const headerType: "header";
|
|
48
|
-
export const footerType: "footer";
|
|
49
|
-
export const themeType: "theme";
|
|
50
|
-
export const internalRelationship: "Internal";
|
|
51
|
-
export const wordFolder: "word";
|
|
52
|
-
export const themeFolder: "theme";
|
|
53
|
-
export namespace landscapeMargins {
|
|
54
|
-
export const top: number;
|
|
55
|
-
export const right: number;
|
|
56
|
-
export const bottom: number;
|
|
57
|
-
export const left: number;
|
|
58
|
-
const header_1: number;
|
|
59
|
-
export { header_1 as header };
|
|
60
|
-
const footer_1: number;
|
|
61
|
-
export { footer_1 as footer };
|
|
62
|
-
export const gutter: number;
|
|
63
|
-
}
|
|
64
|
-
export namespace portraitMargins {
|
|
65
|
-
const top_1: number;
|
|
66
|
-
export { top_1 as top };
|
|
67
|
-
const right_1: number;
|
|
68
|
-
export { right_1 as right };
|
|
69
|
-
const bottom_1: number;
|
|
70
|
-
export { bottom_1 as bottom };
|
|
71
|
-
const left_1: number;
|
|
72
|
-
export { left_1 as left };
|
|
73
|
-
const header_2: number;
|
|
74
|
-
export { header_2 as header };
|
|
75
|
-
const footer_2: number;
|
|
76
|
-
export { footer_2 as footer };
|
|
77
|
-
const gutter_1: number;
|
|
78
|
-
export { gutter_1 as gutter };
|
|
79
|
-
}
|
|
80
|
-
export const defaultOrientation: "portrait";
|
|
81
|
-
export const landscapeWidth: 15840;
|
|
82
|
-
export const landscapeHeight: 12240;
|
|
83
|
-
export const applicationName: "html-to-docx";
|
|
84
|
-
export const defaultFont: "Times New Roman";
|
|
85
|
-
export const defaultFontSize: 22;
|
|
86
|
-
export const hyperlinkType: "hyperlink";
|
|
87
|
-
export const imageType: "image";
|
|
88
|
-
export namespace paragraphBordersObject {
|
|
89
|
-
export namespace top_2 {
|
|
90
|
-
const size: number;
|
|
91
|
-
const spacing: number;
|
|
92
|
-
const color: string;
|
|
93
|
-
}
|
|
94
|
-
export { top_2 as top };
|
|
95
|
-
export namespace left_2 {
|
|
96
|
-
const size_1: number;
|
|
97
|
-
export { size_1 as size };
|
|
98
|
-
const spacing_1: number;
|
|
99
|
-
export { spacing_1 as spacing };
|
|
100
|
-
const color_1: string;
|
|
101
|
-
export { color_1 as color };
|
|
102
|
-
}
|
|
103
|
-
export { left_2 as left };
|
|
104
|
-
export namespace bottom_2 {
|
|
105
|
-
const size_2: number;
|
|
106
|
-
export { size_2 as size };
|
|
107
|
-
const spacing_2: number;
|
|
108
|
-
export { spacing_2 as spacing };
|
|
109
|
-
const color_2: string;
|
|
110
|
-
export { color_2 as color };
|
|
111
|
-
}
|
|
112
|
-
export { bottom_2 as bottom };
|
|
113
|
-
export namespace right_2 {
|
|
114
|
-
const size_3: number;
|
|
115
|
-
export { size_3 as size };
|
|
116
|
-
const spacing_3: number;
|
|
117
|
-
export { spacing_3 as spacing };
|
|
118
|
-
const color_3: string;
|
|
119
|
-
export { color_3 as color };
|
|
120
|
-
}
|
|
121
|
-
export { right_2 as right };
|
|
122
|
-
}
|
|
123
|
-
export const colorlessColors: string[];
|
|
124
|
-
export const verticalAlignValues: string[];
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export class DocxDocument {
|
|
2
|
-
constructor(properties: any);
|
|
3
|
-
zip: any;
|
|
4
|
-
htmlString: any;
|
|
5
|
-
orientation: any;
|
|
6
|
-
pageSize: any;
|
|
7
|
-
width: any;
|
|
8
|
-
height: any;
|
|
9
|
-
margins: any;
|
|
10
|
-
availableDocumentSpace: number;
|
|
11
|
-
title: any;
|
|
12
|
-
subject: any;
|
|
13
|
-
creator: any;
|
|
14
|
-
keywords: any;
|
|
15
|
-
description: any;
|
|
16
|
-
lastModifiedBy: any;
|
|
17
|
-
revision: any;
|
|
18
|
-
createdAt: any;
|
|
19
|
-
modifiedAt: any;
|
|
20
|
-
headerType: any;
|
|
21
|
-
header: any;
|
|
22
|
-
footerType: any;
|
|
23
|
-
footer: any;
|
|
24
|
-
font: any;
|
|
25
|
-
fontSize: any;
|
|
26
|
-
complexScriptFontSize: any;
|
|
27
|
-
tableRowCantSplit: any;
|
|
28
|
-
pageNumber: any;
|
|
29
|
-
skipFirstHeaderFooter: any;
|
|
30
|
-
lineNumber: any;
|
|
31
|
-
lastNumberingId: number;
|
|
32
|
-
lastMediaId: number;
|
|
33
|
-
lastHeaderId: number;
|
|
34
|
-
lastFooterId: number;
|
|
35
|
-
stylesObjects: any[];
|
|
36
|
-
numberingObjects: any[];
|
|
37
|
-
relationshipFilename: string;
|
|
38
|
-
relationships: {
|
|
39
|
-
fileName: string;
|
|
40
|
-
lastRelsId: number;
|
|
41
|
-
rels: any[];
|
|
42
|
-
}[];
|
|
43
|
-
mediaFiles: any[];
|
|
44
|
-
headerObjects: any[];
|
|
45
|
-
footerObjects: any[];
|
|
46
|
-
documentXML: any;
|
|
47
|
-
generateContentTypesXML(): any;
|
|
48
|
-
generateDocumentXML(): any;
|
|
49
|
-
generateCoreXML(): any;
|
|
50
|
-
generateSettingsXML(): any;
|
|
51
|
-
generateWebSettingsXML(): any;
|
|
52
|
-
generateStylesXML(): any;
|
|
53
|
-
generateFontTableXML(): any;
|
|
54
|
-
generateThemeXML(): any;
|
|
55
|
-
generateNumberingXML(): any;
|
|
56
|
-
generateRelsXML(): {
|
|
57
|
-
fileName: string;
|
|
58
|
-
xmlString: any;
|
|
59
|
-
}[];
|
|
60
|
-
createMediaFile(base64String: any): {
|
|
61
|
-
id: number;
|
|
62
|
-
fileContent: any;
|
|
63
|
-
fileNameWithExtension: string;
|
|
64
|
-
};
|
|
65
|
-
createDocumentRelationships(fileName: string, type: any, target: any, targetMode?: string): number;
|
|
66
|
-
generateHeaderXML(vTree: any): any;
|
|
67
|
-
generateFooterXML(vTree: any): any;
|
|
68
|
-
generateSectionXML: any;
|
|
69
|
-
ListStyleBuilder: ListStyleBuilder;
|
|
70
|
-
appendRelationships(xmlFragment: any, relationships: any): void;
|
|
71
|
-
createNumbering(type: any, properties: any): number;
|
|
72
|
-
}
|
|
73
|
-
import { ListStyleBuilder } from "./utils/list";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { renderDocumentFile, convertVTreeToXML } from "./render-document-file";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function convertVTreeToXML(docxDocumentInstance: any, vTree: any, xmlFragment: any): Promise<any>;
|
|
2
|
-
export function buildImage(docxDocumentInstance: any, vNode: any, maximumWidth?: any): Promise<any>;
|
|
3
|
-
export function buildList(vNode: any, docxDocumentInstance: any, xmlFragment: any): Promise<any[]>;
|
|
4
|
-
export function renderDocumentFile(docxDocumentInstance: any): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function buildParagraph(vNode: any, attributes: any, docxDocumentInstance: any): Promise<any>;
|
|
2
|
-
export function buildTable(vNode: any, attributes: any, docxDocumentInstance: any): Promise<any>;
|
|
3
|
-
export function buildNumberingInstances(): any;
|
|
4
|
-
export function buildLineBreak(type?: string): any;
|
|
5
|
-
export function buildIndentation({ left, right }: {
|
|
6
|
-
left: any;
|
|
7
|
-
right: any;
|
|
8
|
-
}): any;
|
|
9
|
-
export function buildTextElement(text: any): any;
|
|
10
|
-
export function buildBold(): any;
|
|
11
|
-
export function buildItalics(): any;
|
|
12
|
-
export function buildUnderline(type?: string): any;
|
|
13
|
-
export function buildDrawing(inlineOrAnchored: boolean, graphicType: any, attributes: any): any;
|
|
14
|
-
export function fixupLineHeight(lineHeight: any, fontSize: any): number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function addFilesToContainer(zip: any, htmlString: any, suppliedDocumentOptions: any, headerHTMLString: any, footerHTMLString: any): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function generateContainer(htmlString: any, headerHTMLString: any, documentOptions: {}, footerHTMLString: any): Promise<Blob | Buffer>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default namespaces;
|
|
2
|
-
declare namespace namespaces {
|
|
3
|
-
const a: string;
|
|
4
|
-
const b: string;
|
|
5
|
-
const cdr: string;
|
|
6
|
-
const dc: string;
|
|
7
|
-
const dcmitype: string;
|
|
8
|
-
const dcterms: string;
|
|
9
|
-
const o: string;
|
|
10
|
-
const pic: string;
|
|
11
|
-
const r: string;
|
|
12
|
-
const v: string;
|
|
13
|
-
const ve: string;
|
|
14
|
-
const vt: string;
|
|
15
|
-
const w: string;
|
|
16
|
-
const w10: string;
|
|
17
|
-
const wp: string;
|
|
18
|
-
const wne: string;
|
|
19
|
-
const xsd: string;
|
|
20
|
-
const xsi: string;
|
|
21
|
-
const numbering: string;
|
|
22
|
-
const hyperlinks: string;
|
|
23
|
-
const images: string;
|
|
24
|
-
const styles: string;
|
|
25
|
-
const headers: string;
|
|
26
|
-
const footers: string;
|
|
27
|
-
const themes: string;
|
|
28
|
-
const coreProperties: string;
|
|
29
|
-
const officeDocumentRelation: string;
|
|
30
|
-
const corePropertiesRelation: string;
|
|
31
|
-
const settingsRelation: string;
|
|
32
|
-
const webSettingsRelation: string;
|
|
33
|
-
const sl: string;
|
|
34
|
-
const contentTypes: string;
|
|
35
|
-
const relationship: string;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const contentTypesXML: "\n <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n\n <Types xmlns=\"http://schemas.openxmlformats.org/package/2006/content-types\">\n <Default Extension=\"rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\" />\n <Default Extension=\"jpeg\" ContentType=\"image/jpeg\"/>\n <Default Extension=\"png\" ContentType=\"image/png\"/>\n <Default Extension=\"xml\" ContentType=\"application/xml\"/>\n <Override PartName=\"/_rels/.rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\"/>\n <Override PartName=\"/word/_rels/document.xml.rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\"/>\n <Override PartName=\"/word/_rels/footer1.xml.rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\"/>\n <Override PartName=\"/word/document.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\"/>\n <Override PartName=\"/word/styles.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\"/>\n <Override PartName=\"/word/numbering.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\"/>\n <Override PartName=\"/word/theme/theme1.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.theme+xml\"/>\n <Override PartName=\"/word/fontTable.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml\"/>\n <Override PartName=\"/docProps/core.xml\" ContentType=\"application/vnd.openxmlformats-package.core-properties+xml\"/>\n <Override PartName=\"/word/settings.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\"/>\n <Override PartName=\"/word/webSettings.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml\"/>\n <Override PartName=\"/word/afchunk.mht\" ContentType=\"message/rfc822\"/>\n <Override PartName=\"/word/afchunkheader.mht\" ContentType=\"message/rfc822\"/>\n <Override PartName=\"/word/afchunkfooter.mht\" ContentType=\"message/rfc822\"/>\n </Types>\n";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function generateCoreXML(title?: string, subject?: string, creator?: string, keywords?: string[], description?: string, lastModifiedBy?: string, revision?: number, createdAt?: Date, modifiedAt?: Date): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const documentRelsXML: string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function generateDocumentTemplate(width: any, height: any, orientation: any, margins: any): string;
|
|
2
|
-
export const generateDocumentTemplateHeader: string;
|
|
3
|
-
export const generateDocumentTemplateFooter: string;
|
|
4
|
-
export const generateDocumentTemplateFooterWithoutPaging: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const fontTableXML: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const genericRelsXML: "\n <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n\n <Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">\n <Relationship Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk\" Target=\"/word/afchunk.mht\" Id=\"htmlChunk\" />\n <Relationship Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk\" Target=\"/word/afchunkheader.mht\" Id=\"htmlChunkHeader\" />\n <Relationship Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk\" Target=\"/word/afchunkfooter.mht\" Id=\"htmlChunkFooter\" />\n </Relationships>\n";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { contentTypesXML } from "./content-types";
|
|
2
|
-
export { generateCoreXML } from "./core";
|
|
3
|
-
export { documentRelsXML } from "./document-rels";
|
|
4
|
-
export { relsXML } from "./rels";
|
|
5
|
-
export { generateNumberingXMLTemplate } from "./numbering";
|
|
6
|
-
export { generateStylesXML } from "./styles";
|
|
7
|
-
export { fontTableXML } from "./font-table";
|
|
8
|
-
export { generateThemeXML } from "./theme";
|
|
9
|
-
export { settingsXML } from "./settings";
|
|
10
|
-
export { webSettingsXML } from "./web-settings";
|
|
11
|
-
export { genericRelsXML } from "./generic-rels";
|
|
12
|
-
export { generateDocumentTemplate } from "./document.template";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function generateNumberingXMLTemplate(): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const relsXML: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const settingsXML: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function generateStylesXML(font?: string, fontSize?: number, complexScriptFontSize?: number): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function generateThemeXML(font?: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const webSettingsXML: string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export const rgbRegex: RegExp;
|
|
2
|
-
export const hslRegex: RegExp;
|
|
3
|
-
export const hexRegex: RegExp;
|
|
4
|
-
export const hex3Regex: RegExp;
|
|
5
|
-
export function rgbToHex(red: any, green: any, blue: any): string;
|
|
6
|
-
export function hslToHex(hue: any, saturation: any, luminosity: any): string;
|
|
7
|
-
export function hex3ToHex(red: any, green: any, blue: any): string;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export const pixelRegex: RegExp;
|
|
2
|
-
export const percentageRegex: RegExp;
|
|
3
|
-
export const pointRegex: RegExp;
|
|
4
|
-
export const cmRegex: RegExp;
|
|
5
|
-
export const inchRegex: RegExp;
|
|
6
|
-
export function pixelToEMU(pixelValue: any): number;
|
|
7
|
-
export function EMUToPixel(EMUValue: any): number;
|
|
8
|
-
export function TWIPToEMU(TWIPValue: any): number;
|
|
9
|
-
export function EMUToTWIP(EMUValue: any): number;
|
|
10
|
-
export function pointToTWIP(pointValue: any): number;
|
|
11
|
-
export function TWIPToPoint(TWIPValue: any): number;
|
|
12
|
-
export function pointToHIP(pointValue: any): number;
|
|
13
|
-
export function HIPToPoint(HIPValue: any): number;
|
|
14
|
-
export function HIPToTWIP(HIPValue: any): number;
|
|
15
|
-
export function TWIPToHIP(TWIPValue: any): number;
|
|
16
|
-
export function pixelToTWIP(pixelValue: any): number;
|
|
17
|
-
export function TWIPToPixel(TWIPValue: any): number;
|
|
18
|
-
export function pixelToHIP(pixelValue: any): number;
|
|
19
|
-
export function HIPToPixel(HIPValue: any): number;
|
|
20
|
-
export function inchToPoint(inchValue: any): number;
|
|
21
|
-
export function inchToTWIP(inchValue: any): number;
|
|
22
|
-
export function cmToInch(cmValue: any): number;
|
|
23
|
-
export function cmToTWIP(cmValue: any): number;
|
|
24
|
-
export function pixelToPoint(pixelValue: any): number;
|
|
25
|
-
export function pointToPixel(pointValue: any): number;
|
|
26
|
-
export function EIPToPoint(EIPValue: any): number;
|
|
27
|
-
export function pointToEIP(PointValue: any): number;
|
|
28
|
-
export function pixelToEIP(pixelValue: any): number;
|
|
29
|
-
export function EIPToPixel(EIPValue: any): number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function isValidUrl(urlString: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function vNodeHasChildren(vNode: any): any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const defaultMargins: {
|
|
2
|
-
top: number;
|
|
3
|
-
right: number;
|
|
4
|
-
bottom: number;
|
|
5
|
-
left: number;
|
|
6
|
-
header: number;
|
|
7
|
-
footer: number;
|
|
8
|
-
gutter: number;
|
|
9
|
-
};
|
|
10
|
-
export declare type Margins = typeof defaultMargins;
|
|
11
|
-
export declare type Orient = 'landscape' | 'portrait';
|
|
12
|
-
export declare const documentTemplate: (width: number, height: number, orient: string, margins: Margins) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const mhtDocumentTemplate: (htmlSource: string, contentParts: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const mhtPartTemplate: (contentType: string, contentEncoding: string, contentLocation: string, encodedContent: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getMHTdocument(htmlSource: string): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
export declare class RequestOptionsModel {
|
|
3
|
-
disableSuccessNotification: boolean;
|
|
4
|
-
disableBlockUI: boolean;
|
|
5
|
-
disableErrorHandler: boolean;
|
|
6
|
-
customSuccessMessage: string;
|
|
7
|
-
customErrorMessage: string;
|
|
8
|
-
responseType: any;
|
|
9
|
-
formGroup: FormGroup;
|
|
10
|
-
castResponsetoClass: boolean;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare class WordDocumentModel {
|
|
2
|
-
header: string;
|
|
3
|
-
footer: string;
|
|
4
|
-
body: string;
|
|
5
|
-
options: DocumentOptionsModel;
|
|
6
|
-
}
|
|
7
|
-
export declare class DocumentOptionsModel {
|
|
8
|
-
pageHeight: number;
|
|
9
|
-
pageWidth: number;
|
|
10
|
-
top: number;
|
|
11
|
-
bottom: number;
|
|
12
|
-
left: number;
|
|
13
|
-
right: number;
|
|
14
|
-
isLandscape: boolean;
|
|
15
|
-
showPaging: boolean;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ConfigurationService } from "./configuration.service";
|
|
2
|
-
export declare class AppearanceConfigurationService {
|
|
3
|
-
private configService;
|
|
4
|
-
constructor(configService: ConfigurationService);
|
|
5
|
-
getLayoutTheme(): any;
|
|
6
|
-
getFooterText(): any;
|
|
7
|
-
getPageTitle(): any;
|
|
8
|
-
getFavIcon(): any;
|
|
9
|
-
getCustomStyles(): any;
|
|
10
|
-
getLogo(): any;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
4
|
-
import { UtilityService } from './utility.service';
|
|
5
|
-
import { RequestOptionsModel } from '../models/RequestOptionsModel';
|
|
6
|
-
export declare class ControlValidationService {
|
|
7
|
-
private utilityService;
|
|
8
|
-
private requestOptions;
|
|
9
|
-
constructor(utilityService: UtilityService);
|
|
10
|
-
isCreatedBefor: boolean;
|
|
11
|
-
blockUI: NgBlockUI;
|
|
12
|
-
showGlobalError(errorMessage?: string | string[], formId?: string, deleteOld?: boolean): void;
|
|
13
|
-
RemoveGlobalError(): void;
|
|
14
|
-
showInputErro(errors: any): void;
|
|
15
|
-
removeElementsByClass(className: any): void;
|
|
16
|
-
renderServerErrors(form: FormGroup, err: HttpErrorResponse, requestOptions: RequestOptionsModel, formId?: string): void;
|
|
17
|
-
private hasControlName;
|
|
18
|
-
private setFieldError;
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AreaModel } from '../models/AreaModel';
|
|
2
|
-
export declare class EnvironmentService {
|
|
3
|
-
static AreaList: AreaModel[];
|
|
4
|
-
getEnvironmentObject(): any;
|
|
5
|
-
getBaseUrl(): any;
|
|
6
|
-
getApiUrl(): any;
|
|
7
|
-
getProductionMode(): boolean;
|
|
8
|
-
getDefaultLanguage(): string;
|
|
9
|
-
getIdentityServerUrl(): any;
|
|
10
|
-
getIsIdentityServerExternal(): string;
|
|
11
|
-
getIsIdentityServerClientId(): string;
|
|
12
|
-
getIsIdentityServerClientSecret(): string;
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { AuthService } from '../authentication/auth.service';
|
|
4
|
-
import { EnvironmentService } from './environment.service';
|
|
5
|
-
import { RequestHandlerService } from './requesthandler.service';
|
|
6
|
-
import { StylesBundleService } from './stylesbundle.service';
|
|
7
|
-
export declare class MasterLayoutService {
|
|
8
|
-
private router;
|
|
9
|
-
private http;
|
|
10
|
-
private authService;
|
|
11
|
-
private stylesBundleService;
|
|
12
|
-
private translate;
|
|
13
|
-
private environmentService;
|
|
14
|
-
ApiUrl: string;
|
|
15
|
-
constructor(router: Router, http: RequestHandlerService, authService: AuthService, stylesBundleService: StylesBundleService, translate: TranslateService, environmentService: EnvironmentService);
|
|
16
|
-
switchLang(lang: string, bundleEnglishName: string, bundleArabicName: string): void;
|
|
17
|
-
reloadComponent(): void;
|
|
18
|
-
private changeLanguage;
|
|
19
|
-
getUserClaims(): import("rxjs").Observable<unknown>;
|
|
20
|
-
logError(error: string): import("rxjs").Observable<unknown>;
|
|
21
|
-
private updateUserInfo;
|
|
22
|
-
switchRole(permissionSetID: string): void;
|
|
23
|
-
private updateRole;
|
|
24
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { HttpClient, HttpParams } from "@angular/common/http";
|
|
3
|
-
import { RequestOptionsModel } from '../models/RequestOptionsModel';
|
|
4
|
-
import { AuthService } from '../authentication/auth.service';
|
|
5
|
-
import { EnvironmentService } from './environment.service';
|
|
6
|
-
import { Observable, Subject } from 'rxjs';
|
|
7
|
-
import { UtilityService } from './utility.service';
|
|
8
|
-
import { BBSFTranslateService } from './translate.service';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
10
|
-
export declare class RequestHandlerService implements OnDestroy {
|
|
11
|
-
private http;
|
|
12
|
-
private authService;
|
|
13
|
-
private environmentService;
|
|
14
|
-
private utilityService;
|
|
15
|
-
private bbsfTranslateService;
|
|
16
|
-
private router;
|
|
17
|
-
private requestOptions;
|
|
18
|
-
private currentLanguage;
|
|
19
|
-
onDestroy$: Subject<void>;
|
|
20
|
-
constructor(http: HttpClient, authService: AuthService, environmentService: EnvironmentService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, router: Router);
|
|
21
|
-
getLuckyNumber(): Observable<number>;
|
|
22
|
-
get<T>(Url: string, params?: HttpParams, responseType?: new () => T, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
23
|
-
post<T>(Url: string, model?: any, responseType?: new () => T, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
24
|
-
delete<T>(Url: string, deletedId: string, requestOptions?: RequestOptionsModel, responseType?: new () => T, params?: HttpParams): Observable<T>;
|
|
25
|
-
put<T>(Url: string, model?: any, params?: HttpParams, responseType?: new () => T, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
26
|
-
patch<T>(Url: string, model?: any, responseType?: new () => T, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
27
|
-
download<T>(Url: string, params?: HttpParams, requestOptions?: RequestOptionsModel): Observable<T>;
|
|
28
|
-
destroyHandler(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
private handleError;
|
|
31
|
-
private getHeaders;
|
|
32
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BBSFTranslateService } from './translate.service';
|
|
2
|
-
export declare class StylesBundleService {
|
|
3
|
-
private document;
|
|
4
|
-
private translateService;
|
|
5
|
-
constructor(document: Document, translateService: BBSFTranslateService);
|
|
6
|
-
loadThemes(lang: string, bundleEnglishName: string, bundleArabicName: string): void;
|
|
7
|
-
loadThemesColor(theme: string, bundleDarkName: string, bundleLightName: string): void;
|
|
8
|
-
loadStyleBundle(styleName: string): void;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Resolve } from "@angular/router";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { BBSFTranslateService } from "./translate.service";
|
|
4
|
-
export declare class TranslationResolverService implements Resolve<any> {
|
|
5
|
-
private translateService;
|
|
6
|
-
constructor(translateService: BBSFTranslateService);
|
|
7
|
-
resolve(): Observable<any>;
|
|
8
|
-
}
|