@simple-reporting/base 1.0.14 → 1.0.16
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 -1
- package/dev/src/App.vue +2 -7
- package/dev/src/components/{PageHeader.vue → Page/Header.vue} +1 -2
- package/dev/src/views/ArticleView.vue +2 -3
- package/livingdocs/040.Media/010.table/table/download.vue +494 -0
- package/livingdocs/040.Media/010.table/table/responsive.vue +104 -0
- package/livingdocs/040.Media/010.table/table.html +2 -2
- package/livingdocs/040.Media/010.table/table.vue +26 -0
- package/package.json +1 -1
- package/plugins/viteSrlPlugin.d.ts +2 -0
- package/plugins/viteSrlPlugin.js +19 -36
- package/scripts/build.js +17 -0
- package/scripts/ldd/mapLdd.js +2 -2
- package/scripts/vue/components.d.ts +1 -0
- package/scripts/vue/components.js +93 -0
- package/srl/components/Srl/Article/{DialogButton.vue → Dialog/Button.vue} +1 -1
- package/srl/components/Srl/{Note → Category}/Accordion/Content.vue +1 -1
- package/srl/components/Srl/Menu/Item/Content.vue +7 -14
- package/srl/components/Srl/Menu/Item.vue +12 -10
- package/srl/components/Srl/{Menu/List.vue → Menu.vue} +3 -4
- package/srl/components/Srl/Page/Dialog.vue +1 -1
- package/srl/composables/config.ts +13 -14
- package/srl/composables/cssStyles.ts +1 -1
- package/srl/composables/menu.ts +5 -1
- package/srl/composables/viewPort.ts +4 -3
- package/srl/plugins/asyncLdComponent.ts +2 -2
- package/srl/plugins/asyncSrlComponents.ts +2 -0
- package/srl/plugins/initProject.ts +1 -1
- package/srl/plugins/vueSrlPlugin.ts +3 -20
- package/srl/types/components.d.ts +3 -17
- package/srl/types/global.d.ts +7 -0
- package/srl/types/nswow.d.ts +14 -14
- package/srl/utils/html.ts +3 -3
- package/dev/src/components/SrlPage/KFCApplication/KFCApplication.vue +0 -715
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownCharts.vue +0 -112
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownPeriod.vue +0 -85
- package/dev/src/components/SrlPage/KFCApplication/KFCTable.vue +0 -63
- package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +0 -9
- package/dev/src/components/SrlPage/KFCApplication/models/KFCApplication.ts +0 -183
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-basic.scss +0 -1136
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-custom.scss +0 -71
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-general.scss +0 -113
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison-dropdown.scss +0 -189
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +0 -151
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +0 -40
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-print.scss +0 -20
- package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +0 -21
- package/dev/src/components/SrlPage/KFCApplication/scss/_variables.scss +0 -10
- package/dev/src/components/SrlPage/KFCApplication/services/xlsxParser.ts +0 -194
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgColumnView.vue +0 -28
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDownloadChart.vue +0 -26
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDropdown.vue +0 -18
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgIndexedValues.vue +0 -18
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLegendSwap.vue +0 -18
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLineView.vue +0 -28
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPDFChart.vue +0 -26
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPrintChart.vue +0 -33
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgTableView.vue +0 -67
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloader.js +0 -455
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloaderStyle.js +0 -44
- package/dev/src/components/SrlPage/KFCApplication/utils/XTableNamer.js +0 -68
- /package/dev/src/components/{BypassLinks.vue → Page/BypassLinks.vue} +0 -0
- /package/dev/src/components/{PageFooter.vue → Page/Footer.vue} +0 -0
- /package/dev/src/components/{PageMain.vue → Page/Main.vue} +0 -0
- /package/dev/src/components/{MainNavigation.vue → Page/MainNavigation.vue} +0 -0
- /package/dev/src/components/{NavLanguages.vue → Page/NavLanguages.vue} +0 -0
- /package/dev/src/components/{PrevNext.vue → Page/PrevNext.vue} +0 -0
- /package/srl/{components/Srl/Page/App.vue → App.vue} +0 -0
- /package/srl/components/Srl/{Note → Category}/Accordion/Toggle.vue +0 -0
- /package/srl/components/Srl/{Note → Category}/Accordion.vue +0 -0
- /package/srl/components/Srl/Menu/Item/Content/{IconAfter.vue → Icon/After.vue} +0 -0
- /package/srl/components/Srl/Menu/Item/Content/{IconBefore.vue → Icon/Before.vue} +0 -0
- /package/srl/components/Srl/Menu/Item/Content/{ImageAfter.vue → Image/After.vue} +0 -0
- /package/srl/components/Srl/Menu/Item/Content/{ImageBefore.vue → Image/Before.vue} +0 -0
package/srl/types/nswow.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export {};
|
|
2
2
|
declare global {
|
|
3
|
-
|
|
3
|
+
type NsWowSettings = {
|
|
4
4
|
languages: string[];
|
|
5
5
|
defaultLanguage: string;
|
|
6
6
|
shortBreadcrumb: boolean;
|
|
@@ -10,7 +10,7 @@ declare global {
|
|
|
10
10
|
categories: string[];
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface NsWowArticle {
|
|
14
14
|
uuid: string;
|
|
15
15
|
name: string;
|
|
16
16
|
translatedTitle: string;
|
|
@@ -23,11 +23,11 @@ declare global {
|
|
|
23
23
|
status: string;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
interface NsWowArticles {
|
|
27
27
|
[locale: string]: NsWowArticle[];
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
type NsWowConfig = {
|
|
31
31
|
locale: string;
|
|
32
32
|
settings: NsWowSettings;
|
|
33
33
|
articles: NsWowArticles;
|
|
@@ -40,15 +40,15 @@ declare global {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
type NsWowTranslations = {
|
|
44
44
|
[locale: string]: NsWowTranslation;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
type NsWowTranslation = {
|
|
48
48
|
[key: string]: string;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
interface NsWowMenu {
|
|
52
52
|
label: string;
|
|
53
53
|
type: string;
|
|
54
54
|
page?: string;
|
|
@@ -57,11 +57,11 @@ declare global {
|
|
|
57
57
|
submenuEntries?: NsWowMenu[];
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
interface NsWowMenus {
|
|
61
61
|
[menu: string]: NsWowMenu[];
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
interface NsWowResponseRouting {
|
|
65
65
|
version: string;
|
|
66
66
|
pages: NsWowArticle[];
|
|
67
67
|
menu: {
|
|
@@ -69,7 +69,7 @@ declare global {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
interface NsWowDownload {
|
|
73
73
|
type: string;
|
|
74
74
|
title: string;
|
|
75
75
|
fileType: string;
|
|
@@ -77,19 +77,19 @@ declare global {
|
|
|
77
77
|
artifact: string;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
type NsWowDownloads = {
|
|
81
81
|
version?: string;
|
|
82
82
|
structure: NsWowDownload[];
|
|
83
83
|
annualReport?: NsWowDownload;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
type NsWowSearchList = {
|
|
87
87
|
article: NsWowArticle;
|
|
88
88
|
href: string;
|
|
89
89
|
words: string;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
type NsWowNavigationItem = {
|
|
93
93
|
label: string;
|
|
94
94
|
title?: string;
|
|
95
95
|
icon?: string;
|
|
@@ -116,7 +116,7 @@ declare global {
|
|
|
116
116
|
children?: NsWowNavigationItem[];
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
type NsWowPageData = {
|
|
120
120
|
time: number;
|
|
121
121
|
article: NsWowArticle | null;
|
|
122
122
|
content: string;
|
package/srl/utils/html.ts
CHANGED
|
@@ -36,7 +36,7 @@ function replaceAccordionContainer(text: string): string {
|
|
|
36
36
|
const innerContent = replaceAccordionContainer(text.slice(openTagRegex.lastIndex, end - 6));
|
|
37
37
|
|
|
38
38
|
result += text.slice(lastIndex, start);
|
|
39
|
-
result += `<srl-
|
|
39
|
+
result += `<srl-category-accordion v-slot="{ accordion }"${attrs}>${innerContent}</srl-category-accordion>`;
|
|
40
40
|
lastIndex = end;
|
|
41
41
|
openTagRegex.lastIndex = end;
|
|
42
42
|
}
|
|
@@ -61,7 +61,7 @@ function replaceAccordionToggle(text: string): string {
|
|
|
61
61
|
const innerContent = text.slice(contentStart, end);
|
|
62
62
|
|
|
63
63
|
result += text.slice(lastIndex, start);
|
|
64
|
-
result += `<srl-
|
|
64
|
+
result += `<srl-category-accordion-toggle :accordion="accordion"${attrs}>${innerContent}</srl-category-accordion-toggle>`;
|
|
65
65
|
lastIndex = end + closeTag.length;
|
|
66
66
|
openTagRegex.lastIndex = lastIndex;
|
|
67
67
|
}
|
|
@@ -97,7 +97,7 @@ function replaceAccordionContent(text: string): string {
|
|
|
97
97
|
const innerContent = replaceAccordionContent(text.slice(openTagRegex.lastIndex, end - 6));
|
|
98
98
|
|
|
99
99
|
result += text.slice(lastIndex, start);
|
|
100
|
-
result += `<srl-
|
|
100
|
+
result += `<srl-category-accordion-content :accordion="accordion"${attrs}>${innerContent}</srl-category-accordion-content>`;
|
|
101
101
|
lastIndex = end;
|
|
102
102
|
openTagRegex.lastIndex = end;
|
|
103
103
|
}
|