@cyberismo/assets 0.0.8 → 0.0.9
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/dist/THIRD-PARTY.txt +127 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +878 -302
- package/dist/schemas.d.ts +39601 -38
- package/dist/static/pdf-themes/cyberismo-theme.yml +57 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-Bold.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-BoldItalic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraBold.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraBoldItalic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraLight.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraLightItalic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-Light.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-LightItalic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-Medium.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-MediumItalic.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-Regular.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-SemiBold.ttf +0 -0
- package/dist/static/pdf-themes/fonts/PlusJakartaSans-SemiBoldItalic.ttf +0 -0
- package/dist/static/pdf-themes/img/cyberismo-logo.png +0 -0
- package/package.json +3 -3
- package/src/calculations/common/base.lp +0 -14
- package/src/calculations/common/queryLanguage.lp +65 -269
- package/src/calculations/common/utils.lp +230 -0
- package/src/calculations/queries/card.lp +61 -37
- package/src/exportPdfReport/index.adoc.hbs +33 -0
- package/src/exportPdfReport/query.lp.hbs +47 -0
- package/src/graphvizReport/query.lp.hbs +10 -2
- package/src/index.ts +10 -1
- package/src/schema/macros/imageMacroSchema.json +24 -0
- package/src/schema/macros/includeMacroSchema.json +26 -0
- package/src/schema/macros/percentageMacroSchema.json +25 -0
- package/src/schema/macros/vegaLiteMacroSchema.json +31711 -0
- package/src/schema/macros/vegaMacroSchema.json +14931 -0
- package/src/schema/macros/xrefMacroSchema.json +12 -0
- package/src/schemas.ts +12 -0
- package/src/static/pdf-themes/cyberismo-theme.yml +57 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-Bold.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-BoldItalic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraBold.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraBoldItalic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraLight.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraLightItalic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-Light.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-LightItalic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-Medium.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-MediumItalic.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-Regular.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-SemiBold.ttf +0 -0
- package/src/static/pdf-themes/fonts/PlusJakartaSans-SemiBoldItalic.ttf +0 -0
- package/src/static/pdf-themes/img/cyberismo-logo.png +0 -0
package/src/schemas.ts
CHANGED
|
@@ -22,13 +22,19 @@ import fieldTypeSchema from './schema/resources/fieldTypeSchema.json' with { typ
|
|
|
22
22
|
import graphMacroBaseSchema from './schema/macros/graphMacroBaseSchema.json' with { type: 'json' };
|
|
23
23
|
import graphModelSchema from './schema/resources/graphModelSchema.json' with { type: 'json' };
|
|
24
24
|
import graphViewSchema from './schema/resources/graphViewSchema.json' with { type: 'json' };
|
|
25
|
+
import imageMacroSchema from './schema/macros/imageMacroSchema.json' with { type: 'json' };
|
|
26
|
+
import includeMacroSchema from './schema/macros/includeMacroSchema.json' with { type: 'json' };
|
|
25
27
|
import linkTypeSchema from './schema/resources/linkTypeSchema.json' with { type: 'json' };
|
|
28
|
+
import percentageMacroSchema from './schema/macros/percentageMacroSchema.json' with { type: 'json' };
|
|
26
29
|
import reportMacroBaseSchema from './schema/macros/reportMacroBaseSchema.json' with { type: 'json' };
|
|
27
30
|
import reportSchema from './schema/resources/reportSchema.json' with { type: 'json' };
|
|
28
31
|
import schema from './schema/schema.json' with { type: 'json' };
|
|
29
32
|
import scoreCardMacroSchema from './schema/macros/scoreCardMacroSchema.json' with { type: 'json' };
|
|
30
33
|
import templateSchema from './schema/resources/templateSchema.json' with { type: 'json' };
|
|
34
|
+
import vegaLiteMacroSchema from './schema/macros/vegaLiteMacroSchema.json' with { type: 'json' };
|
|
35
|
+
import vegaMacroSchema from './schema/macros/vegaMacroSchema.json' with { type: 'json' };
|
|
31
36
|
import workflowSchema from './schema/resources/workflowSchema.json' with { type: 'json' };
|
|
37
|
+
import xrefMacroSchema from './schema/macros/xrefMacroSchema.json' with { type: 'json' };
|
|
32
38
|
import cardTreeDirectorySchema from './schema/cardTreeDirectorySchema.json' with { type: 'json' };
|
|
33
39
|
|
|
34
40
|
export const schemas = [
|
|
@@ -42,13 +48,19 @@ export const schemas = [
|
|
|
42
48
|
graphMacroBaseSchema,
|
|
43
49
|
graphModelSchema,
|
|
44
50
|
graphViewSchema,
|
|
51
|
+
imageMacroSchema,
|
|
52
|
+
includeMacroSchema,
|
|
45
53
|
linkTypeSchema,
|
|
54
|
+
percentageMacroSchema,
|
|
46
55
|
reportMacroBaseSchema,
|
|
47
56
|
reportSchema,
|
|
48
57
|
schema,
|
|
49
58
|
scoreCardMacroSchema,
|
|
50
59
|
templateSchema,
|
|
60
|
+
vegaLiteMacroSchema,
|
|
61
|
+
vegaMacroSchema,
|
|
51
62
|
workflowSchema,
|
|
63
|
+
xrefMacroSchema,
|
|
52
64
|
];
|
|
53
65
|
|
|
54
66
|
export const parentSchema = cardTreeDirectorySchema;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
extends: default
|
|
2
|
+
page:
|
|
3
|
+
size: a4
|
|
4
|
+
running-content:
|
|
5
|
+
start-at: toc
|
|
6
|
+
|
|
7
|
+
font:
|
|
8
|
+
merge: false
|
|
9
|
+
catalog:
|
|
10
|
+
Plus Jakarta Sans:
|
|
11
|
+
normal: PlusJakartaSans-Medium.ttf
|
|
12
|
+
italic: PlusJakartaSans-Italic.ttf
|
|
13
|
+
bold: PlusJakartaSans-Bold.ttf
|
|
14
|
+
bold_italic: PlusJakartaSans-BoldItalic.ttf
|
|
15
|
+
'M+ 1mn':
|
|
16
|
+
normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
|
|
17
|
+
bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
|
|
18
|
+
italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
|
|
19
|
+
bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
|
|
20
|
+
|
|
21
|
+
base:
|
|
22
|
+
font-family: Plus Jakarta Sans
|
|
23
|
+
font-style: normal
|
|
24
|
+
|
|
25
|
+
heading:
|
|
26
|
+
font-family: Plus Jakarta Sans
|
|
27
|
+
font-style: bold
|
|
28
|
+
|
|
29
|
+
codespan:
|
|
30
|
+
font_family: Courier
|
|
31
|
+
|
|
32
|
+
code:
|
|
33
|
+
font_family: Courier
|
|
34
|
+
|
|
35
|
+
title-page:
|
|
36
|
+
logo:
|
|
37
|
+
image: image:img/cyberismo-logo.png[pdfwidth=2.5in,align=right]
|
|
38
|
+
title:
|
|
39
|
+
font-color: #ff530f
|
|
40
|
+
font-style: bold
|
|
41
|
+
align: center
|
|
42
|
+
|
|
43
|
+
header:
|
|
44
|
+
height: 0.5in
|
|
45
|
+
recto:
|
|
46
|
+
right:
|
|
47
|
+
content: image:img/cyberismo-logo.png[pdfwidth=12%]
|
|
48
|
+
verso:
|
|
49
|
+
left:
|
|
50
|
+
content: image:img/cyberismo-logo.png[pdfwidth=12%]
|
|
51
|
+
|
|
52
|
+
footer:
|
|
53
|
+
columns: =100%
|
|
54
|
+
recto: &shared_footer
|
|
55
|
+
center:
|
|
56
|
+
content: '{page-number}'
|
|
57
|
+
verso: *shared_footer
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|