@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.
Files changed (52) hide show
  1. package/dist/THIRD-PARTY.txt +127 -0
  2. package/dist/index.d.ts +5 -0
  3. package/dist/index.js +878 -302
  4. package/dist/schemas.d.ts +39601 -38
  5. package/dist/static/pdf-themes/cyberismo-theme.yml +57 -0
  6. package/dist/static/pdf-themes/fonts/PlusJakartaSans-Bold.ttf +0 -0
  7. package/dist/static/pdf-themes/fonts/PlusJakartaSans-BoldItalic.ttf +0 -0
  8. package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraBold.ttf +0 -0
  9. package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraBoldItalic.ttf +0 -0
  10. package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraLight.ttf +0 -0
  11. package/dist/static/pdf-themes/fonts/PlusJakartaSans-ExtraLightItalic.ttf +0 -0
  12. package/dist/static/pdf-themes/fonts/PlusJakartaSans-Italic.ttf +0 -0
  13. package/dist/static/pdf-themes/fonts/PlusJakartaSans-Light.ttf +0 -0
  14. package/dist/static/pdf-themes/fonts/PlusJakartaSans-LightItalic.ttf +0 -0
  15. package/dist/static/pdf-themes/fonts/PlusJakartaSans-Medium.ttf +0 -0
  16. package/dist/static/pdf-themes/fonts/PlusJakartaSans-MediumItalic.ttf +0 -0
  17. package/dist/static/pdf-themes/fonts/PlusJakartaSans-Regular.ttf +0 -0
  18. package/dist/static/pdf-themes/fonts/PlusJakartaSans-SemiBold.ttf +0 -0
  19. package/dist/static/pdf-themes/fonts/PlusJakartaSans-SemiBoldItalic.ttf +0 -0
  20. package/dist/static/pdf-themes/img/cyberismo-logo.png +0 -0
  21. package/package.json +3 -3
  22. package/src/calculations/common/base.lp +0 -14
  23. package/src/calculations/common/queryLanguage.lp +65 -269
  24. package/src/calculations/common/utils.lp +230 -0
  25. package/src/calculations/queries/card.lp +61 -37
  26. package/src/exportPdfReport/index.adoc.hbs +33 -0
  27. package/src/exportPdfReport/query.lp.hbs +47 -0
  28. package/src/graphvizReport/query.lp.hbs +10 -2
  29. package/src/index.ts +10 -1
  30. package/src/schema/macros/imageMacroSchema.json +24 -0
  31. package/src/schema/macros/includeMacroSchema.json +26 -0
  32. package/src/schema/macros/percentageMacroSchema.json +25 -0
  33. package/src/schema/macros/vegaLiteMacroSchema.json +31711 -0
  34. package/src/schema/macros/vegaMacroSchema.json +14931 -0
  35. package/src/schema/macros/xrefMacroSchema.json +12 -0
  36. package/src/schemas.ts +12 -0
  37. package/src/static/pdf-themes/cyberismo-theme.yml +57 -0
  38. package/src/static/pdf-themes/fonts/PlusJakartaSans-Bold.ttf +0 -0
  39. package/src/static/pdf-themes/fonts/PlusJakartaSans-BoldItalic.ttf +0 -0
  40. package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraBold.ttf +0 -0
  41. package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraBoldItalic.ttf +0 -0
  42. package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraLight.ttf +0 -0
  43. package/src/static/pdf-themes/fonts/PlusJakartaSans-ExtraLightItalic.ttf +0 -0
  44. package/src/static/pdf-themes/fonts/PlusJakartaSans-Italic.ttf +0 -0
  45. package/src/static/pdf-themes/fonts/PlusJakartaSans-Light.ttf +0 -0
  46. package/src/static/pdf-themes/fonts/PlusJakartaSans-LightItalic.ttf +0 -0
  47. package/src/static/pdf-themes/fonts/PlusJakartaSans-Medium.ttf +0 -0
  48. package/src/static/pdf-themes/fonts/PlusJakartaSans-MediumItalic.ttf +0 -0
  49. package/src/static/pdf-themes/fonts/PlusJakartaSans-Regular.ttf +0 -0
  50. package/src/static/pdf-themes/fonts/PlusJakartaSans-SemiBold.ttf +0 -0
  51. package/src/static/pdf-themes/fonts/PlusJakartaSans-SemiBoldItalic.ttf +0 -0
  52. package/src/static/pdf-themes/img/cyberismo-logo.png +0 -0
@@ -0,0 +1,127 @@
1
+ --------------
2
+ This project includes the Vega-Lite and Vega JSON schema.
3
+
4
+ BSD 3-Clause License
5
+
6
+ Copyright (c) 2017, Vega
7
+ All rights reserved.
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ * Redistributions of source code must retain the above copyright notice, this
13
+ list of conditions and the following disclaimer.
14
+
15
+ * Redistributions in binary form must reproduce the above copyright notice,
16
+ this list of conditions and the following disclaimer in the documentation
17
+ and/or other materials provided with the distribution.
18
+
19
+ * Neither the name of the copyright holder nor the names of its
20
+ contributors may be used to endorse or promote products derived from
21
+ this software without specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
27
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+ --------------
34
+ Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans)
35
+
36
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
37
+ This license is copied below, and is also available with a FAQ at:
38
+ https://openfontlicense.org
39
+
40
+
41
+ -----------------------------------------------------------
42
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
43
+ -----------------------------------------------------------
44
+
45
+ PREAMBLE
46
+ The goals of the Open Font License (OFL) are to stimulate worldwide
47
+ development of collaborative font projects, to support the font creation
48
+ efforts of academic and linguistic communities, and to provide a free and
49
+ open framework in which fonts may be shared and improved in partnership
50
+ with others.
51
+
52
+ The OFL allows the licensed fonts to be used, studied, modified and
53
+ redistributed freely as long as they are not sold by themselves. The
54
+ fonts, including any derivative works, can be bundled, embedded,
55
+ redistributed and/or sold with any software provided that any reserved
56
+ names are not used by derivative works. The fonts and derivatives,
57
+ however, cannot be released under any other type of license. The
58
+ requirement for fonts to remain under this license does not apply
59
+ to any document created using the fonts or their derivatives.
60
+
61
+ DEFINITIONS
62
+ "Font Software" refers to the set of files released by the Copyright
63
+ Holder(s) under this license and clearly marked as such. This may
64
+ include source files, build scripts and documentation.
65
+
66
+ "Reserved Font Name" refers to any names specified as such after the
67
+ copyright statement(s).
68
+
69
+ "Original Version" refers to the collection of Font Software components as
70
+ distributed by the Copyright Holder(s).
71
+
72
+ "Modified Version" refers to any derivative made by adding to, deleting,
73
+ or substituting -- in part or in whole -- any of the components of the
74
+ Original Version, by changing formats or by porting the Font Software to a
75
+ new environment.
76
+
77
+ "Author" refers to any designer, engineer, programmer, technical
78
+ writer or other person who contributed to the Font Software.
79
+
80
+ PERMISSION & CONDITIONS
81
+ Permission is hereby granted, free of charge, to any person obtaining
82
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
83
+ redistribute, and sell modified and unmodified copies of the Font
84
+ Software, subject to the following conditions:
85
+
86
+ 1) Neither the Font Software nor any of its individual components,
87
+ in Original or Modified Versions, may be sold by itself.
88
+
89
+ 2) Original or Modified Versions of the Font Software may be bundled,
90
+ redistributed and/or sold with any software, provided that each copy
91
+ contains the above copyright notice and this license. These can be
92
+ included either as stand-alone text files, human-readable headers or
93
+ in the appropriate machine-readable metadata fields within text or
94
+ binary files as long as those fields can be easily viewed by the user.
95
+
96
+ 3) No Modified Version of the Font Software may use the Reserved Font
97
+ Name(s) unless explicit written permission is granted by the corresponding
98
+ Copyright Holder. This restriction only applies to the primary font name as
99
+ presented to the users.
100
+
101
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
102
+ Software shall not be used to promote, endorse or advertise any
103
+ Modified Version, except to acknowledge the contribution(s) of the
104
+ Copyright Holder(s) and the Author(s) or with their explicit written
105
+ permission.
106
+
107
+ 5) The Font Software, modified or unmodified, in part or in whole,
108
+ must be distributed entirely under this license, and must not be
109
+ distributed under any other license. The requirement for fonts to
110
+ remain under this license does not apply to any document created
111
+ using the Font Software.
112
+
113
+ TERMINATION
114
+ This license becomes null and void if any of the above conditions are
115
+ not met.
116
+
117
+ DISCLAIMER
118
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
119
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
120
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
121
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
122
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
123
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
124
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
125
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
126
+ OTHER DEALINGS IN THE FONT SOFTWARE.
127
+ --------------
package/dist/index.d.ts CHANGED
@@ -3,10 +3,15 @@ export declare const graphvizReport: {
3
3
  query: string;
4
4
  content: string;
5
5
  };
6
+ export declare const pdfReport: {
7
+ query: string;
8
+ content: string;
9
+ };
6
10
  export declare const lpFiles: {
7
11
  common: {
8
12
  base: string;
9
13
  queryLanguage: string;
14
+ utils: string;
10
15
  };
11
16
  queries: {
12
17
  card: string;