@simple-reporting/base 1.0.18 → 1.0.19
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/dev/package.json +1 -2
- package/package.json +1 -1
- package/scripts/beaver.js +5 -5
- package/scripts/build.js +5 -5
- package/scripts/folders.js +1 -1
- package/scripts/prepare.js +13 -1
- package/srl/{tsconfig.srl.json → .srl/tsconfig.srl.json} +2 -2
- package/srl/srl/colors.scss +2 -2
- package/srl/srl/config.scss +7 -7
- package/srl/srl/core-styles.scss +1 -1
- package/srl/srl/fonts.scss +1 -1
- package/srl/srl/grid.scss +1 -1
- package/srl/srl/helpers.scss +1 -1
- package/srl/srl/index.scss +9 -9
- package/srl/srl/meta.scss +1 -1
- package/srl/srl/pdf.scss +1 -1
- package/srl/srl/spacer.scss +1 -1
- package/srl/srl/system.scss +1 -1
- package/srl/srl/typography.scss +2 -2
- /package/{srl/scss → scss}/colors/functions.scss +0 -0
- /package/{srl/scss → scss}/colors/index.scss +0 -0
- /package/{srl/scss → scss}/colors/mixins.scss +0 -0
- /package/{srl/scss → scss}/colors/variables.scss +0 -0
- /package/{srl/scss → scss}/config.scss +0 -0
- /package/{srl/scss → scss}/core-styles.scss +0 -0
- /package/{srl/scss → scss}/fonts/functions.scss +0 -0
- /package/{srl/scss → scss}/fonts/index.scss +0 -0
- /package/{srl/scss → scss}/fonts/mixins.scss +0 -0
- /package/{srl/scss → scss}/fonts/variables.scss +0 -0
- /package/{srl/scss → scss}/grid/functions.scss +0 -0
- /package/{srl/scss → scss}/grid/index.scss +0 -0
- /package/{srl/scss → scss}/grid/mixins.scss +0 -0
- /package/{srl/scss → scss}/grid/variables.scss +0 -0
- /package/{srl/scss → scss}/helpers/functions.scss +0 -0
- /package/{srl/scss → scss}/helpers/index.scss +0 -0
- /package/{srl/scss → scss}/helpers/mixins.scss +0 -0
- /package/{srl/scss → scss}/helpers/variables.scss +0 -0
- /package/{srl/scss → scss}/index.scss +0 -0
- /package/{srl/scss → scss}/meta/functions.scss +0 -0
- /package/{srl/scss → scss}/meta/index.scss +0 -0
- /package/{srl/scss → scss}/meta/mixins.scss +0 -0
- /package/{srl/scss → scss}/meta/variables.scss +0 -0
- /package/{srl/scss → scss}/spacer/functions.scss +0 -0
- /package/{srl/scss → scss}/spacer/index.scss +0 -0
- /package/{srl/scss → scss}/spacer/mixins.scss +0 -0
- /package/{srl/scss → scss}/spacer/variables.scss +0 -0
- /package/{srl/scss → scss}/system/functions.scss +0 -0
- /package/{srl/scss → scss}/system/index.scss +0 -0
- /package/{srl/scss → scss}/system/mixins.scss +0 -0
- /package/{srl/scss → scss}/system/root.scss +0 -0
- /package/{srl/scss → scss}/system/variables.scss +0 -0
- /package/{srl/scss → scss}/typography/functions.scss +0 -0
- /package/{srl/scss → scss}/typography/index.scss +0 -0
- /package/{srl/scss → scss}/typography/mixins.scss +0 -0
- /package/{srl/scss → scss}/typography/variables.scss +0 -0
- /package/{srl/scss → scss}/xbrl-core-styles.scss +0 -0
- /package/srl/{App.vue → .srl/App.vue} +0 -0
- /package/srl/{components → .srl/components}/Srl/Aria/TabChain.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Article/Autoload.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Article/Dialog/Button.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Article/Root.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Category/Accordion/Content.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Category/Accordion/Toggle.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Category/Accordion.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Icon/After.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Icon/Before.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Icon.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Image/After.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Image/Before.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Image.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content/Text.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item/Content.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu/Item.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Menu.vue +0 -0
- /package/srl/{components → .srl/components}/Srl/Page/Dialog.vue +0 -0
- /package/srl/{composables → .srl/composables}/article.ts +0 -0
- /package/srl/{composables → .srl/composables}/articles.ts +0 -0
- /package/srl/{composables → .srl/composables}/config.ts +0 -0
- /package/srl/{composables → .srl/composables}/cssStyles.ts +0 -0
- /package/srl/{composables → .srl/composables}/downloads.ts +0 -0
- /package/srl/{composables → .srl/composables}/index.ts +0 -0
- /package/srl/{composables → .srl/composables}/languageSwitch.ts +0 -0
- /package/srl/{composables → .srl/composables}/locale.ts +0 -0
- /package/srl/{composables → .srl/composables}/menu.ts +0 -0
- /package/srl/{composables → .srl/composables}/search.ts +0 -0
- /package/srl/{composables → .srl/composables}/settings.ts +0 -0
- /package/srl/{composables → .srl/composables}/viewPort.ts +0 -0
- /package/srl/{imports → .srl/imports}/app.scss +0 -0
- /package/srl/{imports → .srl/imports}/ldd.scss +0 -0
- /package/srl/{imports → .srl/imports}/pdf.scss +0 -0
- /package/srl/{imports → .srl/imports}/word.scss +0 -0
- /package/srl/{imports → .srl/imports}/xbrl.scss +0 -0
- /package/srl/{plugins → .srl/plugins}/asyncLdComponent.ts +0 -0
- /package/srl/{plugins → .srl/plugins}/asyncSrlComponents.ts +0 -0
- /package/srl/{plugins → .srl/plugins}/initProject.ts +0 -0
- /package/srl/{plugins → .srl/plugins}/vueSrlPlugin.ts +0 -0
- /package/srl/{types → .srl/types}/components.d.ts +0 -0
- /package/srl/{types → .srl/types}/global.d.ts +0 -0
- /package/srl/{types → .srl/types}/nswow.d.ts +0 -0
- /package/srl/{utils → .srl/utils}/camelCase.ts +0 -0
- /package/srl/{utils → .srl/utils}/html.ts +0 -0
- /package/srl/{utils → .srl/utils}/index.ts +0 -0
- /package/srl/{utils → .srl/utils}/uri.ts +0 -0
package/dev/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"postinstall": "srl prepare"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@simple-reporting/base": "^1.0.
|
|
22
|
+
"@simple-reporting/base": "^1.0.19",
|
|
23
23
|
"axios": "^1.12.2",
|
|
24
24
|
"chalk": "^5.6.2",
|
|
25
25
|
"exceljs": "^4.4.0",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"node-html-parser": "^7.0.1",
|
|
30
30
|
"pinia": "^2.3.1",
|
|
31
31
|
"scrollmonitor": "^1.2.11",
|
|
32
|
-
"standard-scss": "github:mms-neidhartschoen/nsfd_standard-scss",
|
|
33
32
|
"vite-plugin-pwa": "^0.21.2",
|
|
34
33
|
"vue": "^3.5.13",
|
|
35
34
|
"vue-i18n": "^11.1.12",
|
package/package.json
CHANGED
package/scripts/beaver.js
CHANGED
|
@@ -46,7 +46,7 @@ function mapValues(values) {
|
|
|
46
46
|
* @returns {string} - The generated SCSS code.
|
|
47
47
|
*/
|
|
48
48
|
function writeTypographyScss(typography) {
|
|
49
|
-
let r = [`@use "config";`, `@forward "
|
|
49
|
+
let r = [`@use "config";`, `@forward "@simple-reporting/base/scss/typography";`];
|
|
50
50
|
if (typography) {
|
|
51
51
|
if (typography.typography) {
|
|
52
52
|
let o = [];
|
|
@@ -57,7 +57,7 @@ function writeTypographyScss(typography) {
|
|
|
57
57
|
o.push(`}\n`);
|
|
58
58
|
}
|
|
59
59
|
if (o.length) {
|
|
60
|
-
r.push(`@use "
|
|
60
|
+
r.push(`@use "@simple-reporting/base/scss/typography";\n`);
|
|
61
61
|
r.push(o.join(`\n`));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -72,7 +72,7 @@ function writeTypographyScss(typography) {
|
|
|
72
72
|
* @returns {string} - The SCSS code for importing and forwarding colors.
|
|
73
73
|
*/
|
|
74
74
|
function writeColorsScss(colors) {
|
|
75
|
-
let r = [`@use "config";`, `@forward "
|
|
75
|
+
let r = [`@use "config";`, `@forward "@simple-reporting/base/scss/colors";`];
|
|
76
76
|
if (colors) {
|
|
77
77
|
if (colors.colors) {
|
|
78
78
|
let o = [];
|
|
@@ -84,7 +84,7 @@ function writeColorsScss(colors) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
if (o.length) {
|
|
87
|
-
r.push(`@use "
|
|
87
|
+
r.push(`@use "@simple-reporting/base/scss/colors";\n`);
|
|
88
88
|
r.push(o.join(`\n`));
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -263,7 +263,7 @@ async function beaver(verbose = 0) {
|
|
|
263
263
|
if (typeof map[file] !== 'undefined') {
|
|
264
264
|
const o = [];
|
|
265
265
|
o.push(
|
|
266
|
-
`@use "
|
|
266
|
+
`@use "@simple-reporting/base/scss/${file}/variables.scss" as ${file}Variables with (`,
|
|
267
267
|
);
|
|
268
268
|
let v = [];
|
|
269
269
|
for (const variable in map[file]) {
|
package/scripts/build.js
CHANGED
|
@@ -862,32 +862,32 @@ async function mapScss() {
|
|
|
862
862
|
join(folders.srlImports, 'app.scss'),
|
|
863
863
|
`@use ` +
|
|
864
864
|
output.app.join(';\n@use ') +
|
|
865
|
-
`;\n@use "
|
|
865
|
+
`;\n@use "@simple-reporting/base/scss/core-styles.scss" as *;\n`,
|
|
866
866
|
);
|
|
867
867
|
await writeFileSync(
|
|
868
868
|
join(folders.srlImports, 'ldd.scss'),
|
|
869
869
|
`@use ` +
|
|
870
870
|
output.ldd.join(';\n@use ') +
|
|
871
|
-
`;\n@use "
|
|
871
|
+
`;\n@use "@simple-reporting/base/scss/core-styles.scss" as *;\n`,
|
|
872
872
|
);
|
|
873
873
|
await writeFileSync(
|
|
874
874
|
join(folders.srlImports, 'pdf.scss'),
|
|
875
875
|
`@use ` +
|
|
876
876
|
output.pdf.join(';\n@use ') +
|
|
877
|
-
`;\n@use "
|
|
877
|
+
`;\n@use "@simple-reporting/base/scss/core-styles.scss" as *;\n`,
|
|
878
878
|
);
|
|
879
879
|
await writeFileSync(
|
|
880
880
|
join(folders.srlImports, 'word.scss'),
|
|
881
881
|
`@use ` +
|
|
882
882
|
output.word.join(';\n@use ') +
|
|
883
|
-
`;\n@use "
|
|
883
|
+
`;\n@use "@simple-reporting/base/scss/core-styles.scss" as *;\n`,
|
|
884
884
|
);
|
|
885
885
|
|
|
886
886
|
await writeFileSync(
|
|
887
887
|
join(folders.srlImports, 'xbrl.scss'),
|
|
888
888
|
output.xbrl.length
|
|
889
889
|
? `@use ` + output.xbrl.join(';\n@use ')
|
|
890
|
-
: '' + `;\n@use "
|
|
890
|
+
: '' + `;\n@use "@simple-reporting/base/scss/xbrl-core-styles.scss" as *;\n`,
|
|
891
891
|
);
|
|
892
892
|
|
|
893
893
|
return true;
|
package/scripts/folders.js
CHANGED
|
@@ -7,7 +7,7 @@ export const packagePath = join(root, 'node_modules', packageName);
|
|
|
7
7
|
export const packageSrl = join(packagePath, 'srl');
|
|
8
8
|
export const packageLd = join(packagePath, 'livingdocs');
|
|
9
9
|
export const srlRoot = join(root, '.srl');
|
|
10
|
-
export const srlSystem = join(
|
|
10
|
+
export const srlSystem = join(root, 'srl');
|
|
11
11
|
export const srlComponents = join(srlRoot, 'components');
|
|
12
12
|
export const srlComposables = join(srlRoot, 'composables');
|
|
13
13
|
export const srlUtils = join(srlRoot, 'utils');
|
package/scripts/prepare.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import folders from './folders.js';
|
|
2
2
|
import fs from 'fs';
|
|
3
|
+
import { join } from 'path/posix';
|
|
3
4
|
|
|
4
5
|
async function prepare() {
|
|
5
6
|
if (fs.existsSync(folders.srlRoot)) {
|
|
6
7
|
await fs.rmSync(folders.srlRoot, { recursive: true, force: true });
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
const srlFolders = fs.readdirSync(folders.packageSrl, { withFileTypes: true });
|
|
10
|
+
for (const srlFolder of srlFolders) {
|
|
11
|
+
const srcPath = join(folders.packageSrl, srlFolder.name);
|
|
12
|
+
const destPath = join(folders.root, srlFolder.name);
|
|
13
|
+
fs.cpSync(srcPath, destPath, { recursive: true });
|
|
14
|
+
}
|
|
15
|
+
const srlIgnoresFiles = fs.readdirSync(join(folders.packageSrl, 'srl'), { withFileTypes: true });
|
|
16
|
+
const srlIgnoreContent = [];
|
|
17
|
+
for (const srlIgnoreFile of srlIgnoresFiles) {
|
|
18
|
+
srlIgnoreContent.push(`/${srlIgnoreFile.name}`);
|
|
19
|
+
}
|
|
20
|
+
fs.writeFileSync(join(folders.root, 'srl', '.gitignore'), srlIgnoreContent.join('\n'));
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
export default prepare;
|
package/srl/srl/colors.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
3
|
-
@use '
|
|
2
|
+
@forward '@simple-reporting/base/scss/colors';
|
|
3
|
+
@use '@simple-reporting/base/scss/colors';
|
package/srl/srl/config.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
4
|
-
@use '
|
|
5
|
-
@use '
|
|
6
|
-
@use '
|
|
7
|
-
@use '
|
|
1
|
+
@use '@simple-reporting/base/scss/system/variables' as systemVariables;
|
|
2
|
+
@use '@simple-reporting/base/scss/meta/variables' as metaVariables;
|
|
3
|
+
@use '@simple-reporting/base/scss/grid/variables' as gridVariables;
|
|
4
|
+
@use '@simple-reporting/base/scss/colors/variables' as colorsVariables;
|
|
5
|
+
@use '@simple-reporting/base/scss/typography/variables' as typographyVariables;
|
|
6
|
+
@use '@simple-reporting/base/scss/spacer/variables' as spacerVariables;
|
|
7
|
+
@use '@simple-reporting/base/scss/helpers/variables' as helpersVariables;
|
package/srl/srl/core-styles.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/core-styles';
|
package/srl/srl/fonts.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/fonts';
|
package/srl/srl/grid.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/grid';
|
package/srl/srl/helpers.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/helpers';
|
package/srl/srl/index.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use 'config';
|
|
2
|
-
@forward 'system' as system-*;
|
|
3
|
-
@forward 'fonts' as fonts-*;
|
|
4
|
-
@forward 'grid' as grid-*;
|
|
5
|
-
@forward 'colors' as colors-*;
|
|
6
|
-
@forward 'typography' as typography-*;
|
|
7
|
-
@forward 'helpers' as helpers-*;
|
|
8
|
-
@forward 'spacer' as spacer-*;
|
|
9
|
-
@forward 'meta';
|
|
1
|
+
@use './config';
|
|
2
|
+
@forward './system' as system-*;
|
|
3
|
+
@forward './fonts' as fonts-*;
|
|
4
|
+
@forward './grid' as grid-*;
|
|
5
|
+
@forward './colors' as colors-*;
|
|
6
|
+
@forward './typography' as typography-*;
|
|
7
|
+
@forward './helpers' as helpers-*;
|
|
8
|
+
@forward './spacer' as spacer-*;
|
|
9
|
+
@forward './meta';
|
package/srl/srl/meta.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/meta';
|
package/srl/srl/pdf.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/pdf';
|
package/srl/srl/spacer.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/spacer';
|
package/srl/srl/system.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
2
|
+
@forward '@simple-reporting/base/scss/system';
|
package/srl/srl/typography.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
@use 'config';
|
|
2
|
-
@forward '
|
|
3
|
-
@use '
|
|
2
|
+
@forward '@simple-reporting/base/scss/typography';
|
|
3
|
+
@use '@simple-reporting/base/scss/typography';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|