@simple-reporting/base 1.0.15 → 1.0.17

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 (101) hide show
  1. package/dev/eslint.config.js +5 -0
  2. package/dev/package.json +1 -1
  3. package/dev/src/App.vue +2 -7
  4. package/dev/src/assets/scss/components/icons.scss +287 -0
  5. package/dev/src/assets/scss/components/note/accordion.scss +57 -24
  6. package/dev/src/assets/scss/components/round-button.scss +75 -0
  7. package/dev/src/assets/scss/general.scss +2 -0
  8. package/dev/src/assets/scss/placeholders.scss +315 -1
  9. package/dev/src/assets/scss/web.scss +1 -0
  10. package/dev/src/components/{PageHeader.vue → Page/Header.vue} +1 -2
  11. package/dev/src/views/ArticleView.vue +2 -3
  12. package/dev/srl.config.json +23 -8
  13. package/livingdocs/010.Titles/020.title-h2/title-h2.html +5 -6
  14. package/livingdocs/010.Titles/030.title-h3/title-h3.html +4 -5
  15. package/livingdocs/010.Titles/040.title-h4/title-h4.html +4 -5
  16. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +1 -0
  17. package/livingdocs/040.Media/010.table/ld-conf.json +1 -6
  18. package/livingdocs/040.Media/010.table/scss/general.scss +53 -1
  19. package/livingdocs/040.Media/010.table/table.html +11 -9
  20. package/livingdocs/040.Media/010.table/table.vue +0 -1
  21. package/livingdocs/040.Media/030.video/ld-conf.json +3 -0
  22. package/livingdocs/040.Media/030.video/scss/general.scss +4 -0
  23. package/livingdocs/040.Media/030.video/scss/web.scss +23 -32
  24. package/livingdocs/040.Media/030.video/video.html +13 -12
  25. package/livingdocs/040.Media/030.video/video.vue +53 -0
  26. package/livingdocs/060.Buttons/010.button-container/button-container.html +5 -0
  27. package/livingdocs/060.Buttons/010.button-container/ld-conf.json +19 -0
  28. package/livingdocs/060.Buttons/010.button-container/properties.json +1 -0
  29. package/livingdocs/060.Buttons/010.button-container/scss/app.scss +1 -0
  30. package/livingdocs/060.Buttons/010.button-container/scss/editor.scss +1 -0
  31. package/livingdocs/060.Buttons/010.button-container/scss/general.scss +6 -0
  32. package/livingdocs/060.Buttons/010.button-container/scss/pdf.scss +1 -0
  33. package/livingdocs/060.Buttons/010.button-container/scss/web.scss +1 -0
  34. package/livingdocs/060.Buttons/010.button-container/scss/word.scss +1 -0
  35. package/livingdocs/060.Buttons/010.button-container/scss/xbrl.scss +2 -0
  36. package/livingdocs/060.Buttons/020.button/button.html +4 -0
  37. package/livingdocs/060.Buttons/020.button/ld-conf.json +15 -0
  38. package/livingdocs/060.Buttons/020.button/scss/app.scss +1 -0
  39. package/livingdocs/060.Buttons/020.button/scss/editor.scss +1 -0
  40. package/livingdocs/060.Buttons/020.button/scss/general.scss +89 -0
  41. package/livingdocs/060.Buttons/020.button/scss/pdf.scss +1 -0
  42. package/livingdocs/060.Buttons/020.button/scss/web.scss +1 -0
  43. package/livingdocs/060.Buttons/020.button/scss/word.scss +1 -0
  44. package/livingdocs/060.Buttons/020.button/scss/xbrl.scss +3 -0
  45. package/livingdocs/090.Signatures/010.signature-container/scss/web.scss +1 -0
  46. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +0 -6
  47. package/livingdocs/999.Properties/hide-quote-characters/properties.json +1 -1
  48. package/livingdocs/999.Properties/icon/properties.json +19 -0
  49. package/livingdocs/999.Properties/reverse/properties.json +7 -0
  50. package/package.json +1 -1
  51. package/plugins/viteSrlPlugin.d.ts +5 -1
  52. package/plugins/viteSrlPlugin.js +7 -3
  53. package/scripts/build.js +118 -17
  54. package/scripts/ldd/mapLdd.js +2 -2
  55. package/scripts/vue/components.js +14 -15
  56. package/srl/components/Srl/{Note → Category}/Accordion/Content.vue +7 -1
  57. package/srl/components/Srl/{Note → Category}/Accordion.vue +2 -1
  58. package/srl/components/Srl/Menu/Item.vue +7 -3
  59. package/srl/components/Srl/Menu.vue +2 -1
  60. package/srl/composables/config.ts +13 -14
  61. package/srl/composables/cssStyles.ts +1 -1
  62. package/srl/composables/menu.ts +5 -1
  63. package/srl/composables/viewPort.ts +4 -3
  64. package/srl/plugins/initProject.ts +1 -1
  65. package/srl/utils/html.ts +3 -3
  66. package/dev/src/components/SrlPage/KFCApplication/KFCApplication.vue +0 -715
  67. package/dev/src/components/SrlPage/KFCApplication/KFCDropdownCharts.vue +0 -112
  68. package/dev/src/components/SrlPage/KFCApplication/KFCDropdownPeriod.vue +0 -85
  69. package/dev/src/components/SrlPage/KFCApplication/KFCTable.vue +0 -63
  70. package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +0 -9
  71. package/dev/src/components/SrlPage/KFCApplication/models/KFCApplication.ts +0 -183
  72. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-basic.scss +0 -1136
  73. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-custom.scss +0 -71
  74. package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-general.scss +0 -113
  75. package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison-dropdown.scss +0 -189
  76. package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +0 -151
  77. package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +0 -40
  78. package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-print.scss +0 -20
  79. package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +0 -21
  80. package/dev/src/components/SrlPage/KFCApplication/scss/_variables.scss +0 -10
  81. package/dev/src/components/SrlPage/KFCApplication/services/xlsxParser.ts +0 -194
  82. package/dev/src/components/SrlPage/KFCApplication/theme/SvgColumnView.vue +0 -28
  83. package/dev/src/components/SrlPage/KFCApplication/theme/SvgDownloadChart.vue +0 -26
  84. package/dev/src/components/SrlPage/KFCApplication/theme/SvgDropdown.vue +0 -18
  85. package/dev/src/components/SrlPage/KFCApplication/theme/SvgIndexedValues.vue +0 -18
  86. package/dev/src/components/SrlPage/KFCApplication/theme/SvgLegendSwap.vue +0 -18
  87. package/dev/src/components/SrlPage/KFCApplication/theme/SvgLineView.vue +0 -28
  88. package/dev/src/components/SrlPage/KFCApplication/theme/SvgPDFChart.vue +0 -26
  89. package/dev/src/components/SrlPage/KFCApplication/theme/SvgPrintChart.vue +0 -33
  90. package/dev/src/components/SrlPage/KFCApplication/theme/SvgTableView.vue +0 -67
  91. package/dev/src/components/SrlPage/KFCApplication/utils/XDownloader.js +0 -455
  92. package/dev/src/components/SrlPage/KFCApplication/utils/XDownloaderStyle.js +0 -44
  93. package/dev/src/components/SrlPage/KFCApplication/utils/XTableNamer.js +0 -68
  94. /package/dev/src/components/{BypassLinks.vue → Page/BypassLinks.vue} +0 -0
  95. /package/dev/src/components/{PageFooter.vue → Page/Footer.vue} +0 -0
  96. /package/dev/src/components/{PageMain.vue → Page/Main.vue} +0 -0
  97. /package/dev/src/components/{MainNavigation.vue → Page/MainNavigation.vue} +0 -0
  98. /package/dev/src/components/{NavLanguages.vue → Page/NavLanguages.vue} +0 -0
  99. /package/dev/src/components/{PrevNext.vue → Page/PrevNext.vue} +0 -0
  100. /package/srl/{components/App.vue → App.vue} +0 -0
  101. /package/srl/components/Srl/{Note → Category}/Accordion/Toggle.vue +0 -0
@@ -50,17 +50,18 @@ type ViewPorts = {
50
50
  };
51
51
 
52
52
  const { breakpoints } = grid;
53
+ const bp = breakpoints as Breakpoints;
53
54
  const innerWidth = ref<number>(window.innerWidth);
54
55
 
55
56
  const viewPorts = computed<ViewPorts>(() => {
56
57
  const res: ViewPorts = {
57
- breakPoints: breakpoints,
58
+ breakPoints: bp,
58
59
  innerWidth: window.innerWidth,
59
60
  viewPort: null,
60
61
  };
61
62
 
62
- for (const key in breakpoints) {
63
- if (breakpoints[key] <= innerWidth.value) {
63
+ for (const key in bp) {
64
+ if (bp[key] <= innerWidth.value) {
64
65
  res.viewPort = key;
65
66
  } else {
66
67
  break;
@@ -5,7 +5,7 @@ import srlVuePlugin from '#plugins/vueSrlPlugin';
5
5
 
6
6
  import '#imports/app.scss';
7
7
 
8
- import SrlPageApp from '#components/App.vue';
8
+ import SrlPageApp from '../App.vue';
9
9
  import router from '@/router';
10
10
 
11
11
  export default async function initProject() {
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
  }