@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.
Files changed (74) hide show
  1. package/dev/package.json +1 -1
  2. package/dev/src/App.vue +2 -7
  3. package/dev/src/components/{PageHeader.vue → Page/Header.vue} +1 -2
  4. package/dev/src/views/ArticleView.vue +2 -3
  5. package/livingdocs/040.Media/010.table/table/download.vue +494 -0
  6. package/livingdocs/040.Media/010.table/table/responsive.vue +104 -0
  7. package/livingdocs/040.Media/010.table/table.html +2 -2
  8. package/livingdocs/040.Media/010.table/table.vue +26 -0
  9. package/package.json +1 -1
  10. package/plugins/viteSrlPlugin.d.ts +2 -0
  11. package/plugins/viteSrlPlugin.js +19 -36
  12. package/scripts/build.js +17 -0
  13. package/scripts/ldd/mapLdd.js +2 -2
  14. package/scripts/vue/components.d.ts +1 -0
  15. package/scripts/vue/components.js +93 -0
  16. package/srl/components/Srl/Article/{DialogButton.vue → Dialog/Button.vue} +1 -1
  17. package/srl/components/Srl/{Note → Category}/Accordion/Content.vue +1 -1
  18. package/srl/components/Srl/Menu/Item/Content.vue +7 -14
  19. package/srl/components/Srl/Menu/Item.vue +12 -10
  20. package/srl/components/Srl/{Menu/List.vue → Menu.vue} +3 -4
  21. package/srl/components/Srl/Page/Dialog.vue +1 -1
  22. package/srl/composables/config.ts +13 -14
  23. package/srl/composables/cssStyles.ts +1 -1
  24. package/srl/composables/menu.ts +5 -1
  25. package/srl/composables/viewPort.ts +4 -3
  26. package/srl/plugins/asyncLdComponent.ts +2 -2
  27. package/srl/plugins/asyncSrlComponents.ts +2 -0
  28. package/srl/plugins/initProject.ts +1 -1
  29. package/srl/plugins/vueSrlPlugin.ts +3 -20
  30. package/srl/types/components.d.ts +3 -17
  31. package/srl/types/global.d.ts +7 -0
  32. package/srl/types/nswow.d.ts +14 -14
  33. package/srl/utils/html.ts +3 -3
  34. package/dev/src/components/SrlPage/KFCApplication/KFCApplication.vue +0 -715
  35. package/dev/src/components/SrlPage/KFCApplication/KFCDropdownCharts.vue +0 -112
  36. package/dev/src/components/SrlPage/KFCApplication/KFCDropdownPeriod.vue +0 -85
  37. package/dev/src/components/SrlPage/KFCApplication/KFCTable.vue +0 -63
  38. package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +0 -9
  39. package/dev/src/components/SrlPage/KFCApplication/models/KFCApplication.ts +0 -183
  40. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-basic.scss +0 -1136
  41. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-custom.scss +0 -71
  42. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-general.scss +0 -113
  43. package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison-dropdown.scss +0 -189
  44. package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +0 -151
  45. package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +0 -40
  46. package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-print.scss +0 -20
  47. package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +0 -21
  48. package/dev/src/components/SrlPage/KFCApplication/scss/_variables.scss +0 -10
  49. package/dev/src/components/SrlPage/KFCApplication/services/xlsxParser.ts +0 -194
  50. package/dev/src/components/SrlPage/KFCApplication/theme/SvgColumnView.vue +0 -28
  51. package/dev/src/components/SrlPage/KFCApplication/theme/SvgDownloadChart.vue +0 -26
  52. package/dev/src/components/SrlPage/KFCApplication/theme/SvgDropdown.vue +0 -18
  53. package/dev/src/components/SrlPage/KFCApplication/theme/SvgIndexedValues.vue +0 -18
  54. package/dev/src/components/SrlPage/KFCApplication/theme/SvgLegendSwap.vue +0 -18
  55. package/dev/src/components/SrlPage/KFCApplication/theme/SvgLineView.vue +0 -28
  56. package/dev/src/components/SrlPage/KFCApplication/theme/SvgPDFChart.vue +0 -26
  57. package/dev/src/components/SrlPage/KFCApplication/theme/SvgPrintChart.vue +0 -33
  58. package/dev/src/components/SrlPage/KFCApplication/theme/SvgTableView.vue +0 -67
  59. package/dev/src/components/SrlPage/KFCApplication/utils/XDownloader.js +0 -455
  60. package/dev/src/components/SrlPage/KFCApplication/utils/XDownloaderStyle.js +0 -44
  61. package/dev/src/components/SrlPage/KFCApplication/utils/XTableNamer.js +0 -68
  62. /package/dev/src/components/{BypassLinks.vue → Page/BypassLinks.vue} +0 -0
  63. /package/dev/src/components/{PageFooter.vue → Page/Footer.vue} +0 -0
  64. /package/dev/src/components/{PageMain.vue → Page/Main.vue} +0 -0
  65. /package/dev/src/components/{MainNavigation.vue → Page/MainNavigation.vue} +0 -0
  66. /package/dev/src/components/{NavLanguages.vue → Page/NavLanguages.vue} +0 -0
  67. /package/dev/src/components/{PrevNext.vue → Page/PrevNext.vue} +0 -0
  68. /package/srl/{components/Srl/Page/App.vue → App.vue} +0 -0
  69. /package/srl/components/Srl/{Note → Category}/Accordion/Toggle.vue +0 -0
  70. /package/srl/components/Srl/{Note → Category}/Accordion.vue +0 -0
  71. /package/srl/components/Srl/Menu/Item/Content/{IconAfter.vue → Icon/After.vue} +0 -0
  72. /package/srl/components/Srl/Menu/Item/Content/{IconBefore.vue → Icon/Before.vue} +0 -0
  73. /package/srl/components/Srl/Menu/Item/Content/{ImageAfter.vue → Image/After.vue} +0 -0
  74. /package/srl/components/Srl/Menu/Item/Content/{ImageBefore.vue → Image/Before.vue} +0 -0
@@ -0,0 +1,7 @@
1
+ import { App } from 'vue'
2
+ export {}
3
+ declare global {
4
+ interface Window {
5
+ app: App;
6
+ }
7
+ }
@@ -1,6 +1,6 @@
1
1
  export {};
2
2
  declare global {
3
- export type NsWowSettings = {
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
- export interface NsWowArticle {
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
- export interface NsWowArticles {
26
+ interface NsWowArticles {
27
27
  [locale: string]: NsWowArticle[];
28
28
  }
29
29
 
30
- export type NsWowConfig = {
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
- export type NsWowTranslations = {
43
+ type NsWowTranslations = {
44
44
  [locale: string]: NsWowTranslation;
45
45
  };
46
46
 
47
- export type NsWowTranslation = {
47
+ type NsWowTranslation = {
48
48
  [key: string]: string;
49
49
  };
50
50
 
51
- export interface NsWowMenu {
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
- export interface NsWowMenus {
60
+ interface NsWowMenus {
61
61
  [menu: string]: NsWowMenu[];
62
62
  }
63
63
 
64
- export interface NsWowResponseRouting {
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
- export interface NsWowDownload {
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
- export type NsWowDownloads = {
80
+ type NsWowDownloads = {
81
81
  version?: string;
82
82
  structure: NsWowDownload[];
83
83
  annualReport?: NsWowDownload;
84
84
  };
85
85
 
86
- export type NsWowSearchList = {
86
+ type NsWowSearchList = {
87
87
  article: NsWowArticle;
88
88
  href: string;
89
89
  words: string;
90
90
  };
91
91
 
92
- export type NsWowNavigationItem = {
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
- export type NsWowPageData = {
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-note-accordion v-slot="{ accordion }"${attrs}>${innerContent}</srl-note-accordion>`;
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-note-accordion-toggle :accordion="accordion"${attrs}>${innerContent}</srl-note-accordion-toggle>`;
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-note-accordion-content :accordion="accordion"${attrs}>${innerContent}</srl-note-accordion-content>`;
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
  }