@sme.up/ketchup 10.4.10 → 10.4.12

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 (188) hide show
  1. package/dist/cjs/{f-cell-34af9b5c.js → f-cell-05f3233c.js} +4 -4
  2. package/dist/cjs/{f-chip-0f6c163f.js → f-chip-b4db804b.js} +1 -1
  3. package/dist/cjs/{f-object-field-51d22c3c.js → f-object-field-8dd8fc0e.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-85d4a027.js → f-paginator-utils-37c9a1cb.js} +1 -1
  5. package/dist/cjs/{f-text-field-dd61a24a.js → f-text-field-e780da48.js} +1 -1
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/ketchup.cjs.js +1 -1
  8. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +7 -7
  11. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  12. package/dist/cjs/kup-calendar.cjs.entry.js +118 -6
  13. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  16. package/dist/cjs/{kup-data-table-helper-8ff2d35e.js → kup-data-table-helper-5daa5c82.js} +1 -1
  17. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-echart.cjs.entry.js +22 -9
  19. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-input-panel.cjs.entry.js +5 -5
  25. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  27. package/dist/cjs/{kup-manager-8a2eb175.js → kup-manager-3ab94bba.js} +1 -1
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  33. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  34. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  38. package/dist/cjs/loader.cjs.js +1 -1
  39. package/dist/collection/assets/calendar.js +136 -24
  40. package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +1 -0
  41. package/dist/collection/components/kup-calendar/kup-calendar.css +19 -0
  42. package/dist/collection/components/kup-calendar/kup-calendar.js +136 -2
  43. package/dist/collection/components/kup-echart/kup-echart.js +21 -8
  44. package/dist/components/index.js +1 -1
  45. package/dist/components/kup-accordion.js +2 -2
  46. package/dist/components/kup-activity-timeline.js +2 -2
  47. package/dist/components/kup-autocomplete.js +1 -1
  48. package/dist/components/kup-badge.js +1 -1
  49. package/dist/components/kup-box.js +1 -1
  50. package/dist/components/kup-button-list.js +1 -1
  51. package/dist/components/kup-button.js +1 -1
  52. package/dist/components/kup-calendar.js +121 -7
  53. package/dist/components/kup-card-list.js +3 -3
  54. package/dist/components/kup-card.js +1 -1
  55. package/dist/components/kup-cell.js +2 -2
  56. package/dist/components/kup-chart.js +1 -1
  57. package/dist/components/kup-checkbox.js +1 -1
  58. package/dist/components/kup-chip.js +1 -1
  59. package/dist/components/kup-color-picker.js +1 -1
  60. package/dist/components/kup-combobox.js +1 -1
  61. package/dist/components/kup-dashboard.js +2 -2
  62. package/dist/components/kup-data-table.js +1 -1
  63. package/dist/components/kup-date-picker.js +1 -1
  64. package/dist/components/kup-dialog.js +1 -1
  65. package/dist/components/kup-drawer.js +2 -2
  66. package/dist/components/kup-dropdown-button.js +1 -1
  67. package/dist/components/kup-echart.js +1 -1
  68. package/dist/components/kup-editor.js +1 -1
  69. package/dist/components/kup-family-tree.js +3 -3
  70. package/dist/components/kup-file-upload.js +1 -1
  71. package/dist/components/kup-form.js +1 -1
  72. package/dist/components/kup-gauge.js +1 -1
  73. package/dist/components/kup-grid.js +1 -1
  74. package/dist/components/kup-htm.js +2 -2
  75. package/dist/components/kup-iframe.js +2 -2
  76. package/dist/components/kup-image-list.js +1 -1
  77. package/dist/components/kup-image.js +1 -1
  78. package/dist/components/kup-input-panel.js +3 -3
  79. package/dist/components/kup-lazy.js +2 -2
  80. package/dist/components/kup-list.js +1 -1
  81. package/dist/components/kup-magic-box.js +4 -4
  82. package/dist/components/kup-nav-bar.js +2 -2
  83. package/dist/components/kup-numeric-picker.js +2 -2
  84. package/dist/components/kup-object-field.js +2 -2
  85. package/dist/components/kup-planner.js +2 -2
  86. package/dist/components/kup-probe.js +2 -2
  87. package/dist/components/kup-progress-bar.js +1 -1
  88. package/dist/components/kup-qlik.js +2 -2
  89. package/dist/components/kup-radio.js +1 -1
  90. package/dist/components/kup-rating.js +1 -1
  91. package/dist/components/kup-snackbar.js +2 -2
  92. package/dist/components/kup-spinner.js +1 -1
  93. package/dist/components/kup-switch.js +1 -1
  94. package/dist/components/kup-tab-bar.js +1 -1
  95. package/dist/components/kup-text-field.js +1 -1
  96. package/dist/components/kup-time-picker.js +1 -1
  97. package/dist/components/kup-toolbar.js +1 -1
  98. package/dist/components/kup-tree.js +1 -1
  99. package/dist/components/kup-txt.js +2 -2
  100. package/dist/components/kup-typography-list.js +2 -2
  101. package/dist/components/kup-typography.js +2 -2
  102. package/dist/components/{p-625763b6.js → p-05b01a8c.js} +23 -10
  103. package/dist/components/{p-3353919d.js → p-0c45cb9d.js} +2 -2
  104. package/dist/components/{p-984fea54.js → p-22770377.js} +2 -2
  105. package/dist/components/{p-118fa840.js → p-41c8d9eb.js} +1 -1
  106. package/dist/components/{p-0b0a24a5.js → p-4f899661.js} +1 -1
  107. package/dist/components/{p-30d33a81.js → p-eb55f5ed.js} +2 -2
  108. package/dist/esm/{f-cell-6428839d.js → f-cell-3491806c.js} +4 -4
  109. package/dist/esm/{f-chip-19922fc0.js → f-chip-bd823a3f.js} +1 -1
  110. package/dist/esm/{f-object-field-6e450be4.js → f-object-field-89d2049a.js} +2 -2
  111. package/dist/esm/{f-paginator-utils-50d88733.js → f-paginator-utils-946c53e2.js} +1 -1
  112. package/dist/esm/{f-text-field-12ece8b0.js → f-text-field-3e176c29.js} +1 -1
  113. package/dist/esm/index.js +1 -1
  114. package/dist/esm/ketchup.js +1 -1
  115. package/dist/esm/kup-accordion.entry.js +1 -1
  116. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  117. package/dist/esm/kup-autocomplete_30.entry.js +7 -7
  118. package/dist/esm/kup-box.entry.js +7 -7
  119. package/dist/esm/kup-calendar.entry.js +118 -6
  120. package/dist/esm/kup-card-list.entry.js +1 -1
  121. package/dist/esm/kup-cell.entry.js +5 -5
  122. package/dist/esm/kup-dashboard.entry.js +2 -2
  123. package/dist/esm/{kup-data-table-helper-e006ef28.js → kup-data-table-helper-537ea105.js} +1 -1
  124. package/dist/esm/kup-drawer.entry.js +1 -1
  125. package/dist/esm/kup-echart.entry.js +22 -9
  126. package/dist/esm/kup-editor.entry.js +1 -1
  127. package/dist/esm/kup-family-tree.entry.js +1 -1
  128. package/dist/esm/kup-grid.entry.js +1 -1
  129. package/dist/esm/kup-htm.entry.js +1 -1
  130. package/dist/esm/kup-iframe.entry.js +1 -1
  131. package/dist/esm/kup-input-panel.entry.js +5 -5
  132. package/dist/esm/kup-lazy.entry.js +1 -1
  133. package/dist/esm/kup-magic-box.entry.js +1 -1
  134. package/dist/esm/{kup-manager-2538de17.js → kup-manager-408fac87.js} +1 -1
  135. package/dist/esm/kup-nav-bar.entry.js +1 -1
  136. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  137. package/dist/esm/kup-object-field.entry.js +3 -3
  138. package/dist/esm/kup-planner.entry.js +2 -2
  139. package/dist/esm/kup-probe.entry.js +1 -1
  140. package/dist/esm/kup-qlik.entry.js +1 -1
  141. package/dist/esm/kup-snackbar.entry.js +1 -1
  142. package/dist/esm/kup-txt.entry.js +1 -1
  143. package/dist/esm/kup-typography-list.entry.js +1 -1
  144. package/dist/esm/kup-typography.entry.js +1 -1
  145. package/dist/esm/loader.js +1 -1
  146. package/dist/ketchup/index.esm.js +1 -1
  147. package/dist/ketchup/ketchup.esm.js +1 -1
  148. package/dist/ketchup/p-028b51a2.js +1 -0
  149. package/dist/ketchup/{p-ee148d3a.entry.js → p-20abd2d1.entry.js} +1 -1
  150. package/dist/ketchup/{p-908ee4e3.entry.js → p-23a8c8db.entry.js} +1 -1
  151. package/dist/ketchup/p-23c54a8e.entry.js +1 -0
  152. package/dist/ketchup/{p-ea19a99f.js → p-240eb11a.js} +1 -1
  153. package/dist/ketchup/{p-381ccf39.entry.js → p-309e6dc8.entry.js} +1 -1
  154. package/dist/ketchup/{p-2aa635d7.js → p-33b2e604.js} +1 -1
  155. package/dist/ketchup/{p-f420d42e.entry.js → p-489df979.entry.js} +1 -1
  156. package/dist/ketchup/{p-a40cfeb3.entry.js → p-527bc998.entry.js} +1 -1
  157. package/dist/ketchup/{p-e499761b.entry.js → p-62bba00f.entry.js} +1 -1
  158. package/dist/ketchup/{p-faa4ae0b.js → p-67358173.js} +1 -1
  159. package/dist/ketchup/{p-eee31725.entry.js → p-6cbe8817.entry.js} +1 -1
  160. package/dist/ketchup/{p-869d5146.js → p-6f19471c.js} +1 -1
  161. package/dist/ketchup/{p-2a0cf04a.entry.js → p-7f34b0f8.entry.js} +1 -1
  162. package/dist/ketchup/{p-8a55df25.entry.js → p-848bb2a2.entry.js} +1 -1
  163. package/dist/ketchup/{p-854ac6a9.entry.js → p-876c925b.entry.js} +1 -1
  164. package/dist/ketchup/{p-59d08a05.entry.js → p-8a9e8dcb.entry.js} +1 -1
  165. package/dist/ketchup/{p-0298a281.entry.js → p-9013fe3c.entry.js} +1 -1
  166. package/dist/ketchup/{p-19309d65.entry.js → p-a182a401.entry.js} +1 -1
  167. package/dist/ketchup/{p-5ede6476.js → p-ab58e222.js} +1 -1
  168. package/dist/ketchup/{p-51d50796.entry.js → p-b8796ad4.entry.js} +1 -1
  169. package/dist/ketchup/{p-0e0f50d7.entry.js → p-bc67dea1.entry.js} +1 -1
  170. package/dist/ketchup/{p-5c19f18f.entry.js → p-c346ce06.entry.js} +1 -1
  171. package/dist/ketchup/{p-adc108ba.js → p-c7245604.js} +1 -1
  172. package/dist/ketchup/{p-d8a174d1.entry.js → p-caaf60af.entry.js} +1 -1
  173. package/dist/ketchup/{p-e7b0d802.entry.js → p-cc57c356.entry.js} +1 -1
  174. package/dist/ketchup/{p-ab7a7b39.entry.js → p-cf17fa03.entry.js} +1 -1
  175. package/dist/ketchup/{p-5b3527dd.entry.js → p-d07fbb31.entry.js} +1 -1
  176. package/dist/ketchup/{p-2900dfb6.entry.js → p-da566c60.entry.js} +1 -1
  177. package/dist/ketchup/{p-2ad43847.entry.js → p-da764d68.entry.js} +1 -1
  178. package/dist/ketchup/{p-b910ece1.entry.js → p-da81990d.entry.js} +1 -1
  179. package/dist/ketchup/{p-95835175.entry.js → p-e3601415.entry.js} +4 -4
  180. package/dist/ketchup/{p-ac415f31.entry.js → p-f04e9ca2.entry.js} +1 -1
  181. package/dist/ketchup/{p-8ca36863.entry.js → p-f2d71f07.entry.js} +1 -1
  182. package/dist/ketchup/{p-65e59d3b.entry.js → p-fe7a60ec.entry.js} +1 -1
  183. package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -0
  184. package/dist/types/components/kup-calendar/kup-calendar.d.ts +13 -0
  185. package/dist/types/components.d.ts +10 -0
  186. package/package.json +1 -1
  187. package/dist/ketchup/p-09c2d8dc.entry.js +0 -1
  188. package/dist/ketchup/p-9b8f40ce.js +0 -1
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$4 = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-9aca7812.js');
9
- const fChip = require('./f-chip-0f6c163f.js');
9
+ const fChip = require('./f-chip-b4db804b.js');
10
10
  const kupDates = require('./kup-dates-2ff08e4f.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-5a33fd05.js');
@@ -14772,6 +14772,7 @@ var KupCalendarProps;
14772
14772
  KupCalendarProps["currentDate"] = "Sets the date of the calendar. Must be in ISO format (YYYY-MM-DD).";
14773
14773
  KupCalendarProps["customStyle"] = "Custom style of the component.";
14774
14774
  KupCalendarProps["data"] = "Actual data of the calendar.";
14775
+ KupCalendarProps["totals"] = "Formula to calculate and display totals on each cell. Format: OPERATION(columnName) where OPERATION is SUM, AVG, COUNT, MAX, or MIN.";
14775
14776
  KupCalendarProps["editableEvents"] = "When true, events are editable.";
14776
14777
  KupCalendarProps["hideNavigation"] = "When disabled, the navigation toolbar won't be displayed.";
14777
14778
  KupCalendarProps["viewType"] = "Type of the view.";
@@ -14807,7 +14808,7 @@ class KupCalendarState {
14807
14808
  }
14808
14809
  }
14809
14810
 
14810
- const kupCalendarCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-layer-1)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-subtle)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-gray-color-30)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-secondary)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-layer-2)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-text-secondary)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 1px solid var(--kup-border-subtle)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n var(--kup-layer-0)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-text-secondary)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n var(--kup-layer-2)\n );--kup_calendar_border_top_color:var(\n --kup-calendar-border-top-color,\n var(--kup-border-interactive)\n );--fc-border-color:var(--kup_calendar_border_color);background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;display:flex;justify-content:space-between;background-color:var(--kup_calendar_background_color)}.navigation__left{--kup-font-size:0.875em;display:flex;margin-left:var(--kup-space-03)}.navigation__right{display:flex;margin-right:var(--kup-space-03)}.navigation__title{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-event-title{white-space:normal;word-break:break-word}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color);font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event{padding:0.5rem}#kup-component .fc-event-main{color:inherit;display:flex}#kup-component .fc-event-title .fc-event-time{padding:0.25em}#kup-component .fc-event-time{white-space:pre}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color);border-top:2px solid var(--kup_calendar_border_top_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color);opacity:0.7}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.fc-event{display:flex;flex-direction:column;padding:0.2rem;gap:var(--kup-space-03)}.fc-event .fc-event-main{display:flex;flex-direction:column}.fc-event .fc-daygrid-event-dot{display:none}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}@media (min-width: 599px){#kup-component .fc-daygrid-event{align-items:baseline;white-space:pre-line}}";
14811
+ const kupCalendarCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-layer-1)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-subtle)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-gray-color-30)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-secondary)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-layer-2)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-text-secondary)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 1px solid var(--kup-border-subtle)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n var(--kup-layer-0)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-text-secondary)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n var(--kup-layer-2)\n );--kup_calendar_border_top_color:var(\n --kup-calendar-border-top-color,\n var(--kup-border-interactive)\n );--fc-border-color:var(--kup_calendar_border_color);background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;display:flex;justify-content:space-between;background-color:var(--kup_calendar_background_color)}.navigation__left{--kup-font-size:0.875em;display:flex;margin-left:var(--kup-space-03)}.navigation__right{display:flex;margin-right:var(--kup-space-03)}.navigation__title{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-event-title{white-space:normal;word-break:break-word}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color);font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event{padding:0.5rem}#kup-component .fc-event-main{color:inherit;display:flex}#kup-component .fc-event-title .fc-event-time{padding:0.25em}#kup-component .fc-event-time{white-space:pre}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color);border-top:2px solid var(--kup_calendar_border_top_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color);opacity:0.7}#kup-component .fc-daygrid-day-frame{display:flex;flex-direction:column;min-height:100%}#kup-component .fc-daygrid-day-events{flex:1}#kup-component .kup-calendar-formula-result{align-self:flex-end;font-size:0.85em;font-weight:bold;color:var(--kup-primary-color);padding:0.25em 0.5em;margin-top:auto}#kup-component .fc-daygrid-day-top{width:100%}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.fc-event{display:flex;flex-direction:column;padding:0.2rem;gap:var(--kup-space-03)}.fc-event .fc-event-main{display:flex;flex-direction:column}.fc-event .fc-daygrid-event-dot{display:none}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}@media (min-width: 599px){#kup-component .fc-daygrid-event{align-items:baseline;white-space:pre-line}}";
14811
14812
  const KupCalendarStyle0 = kupCalendarCss;
14812
14813
 
14813
14814
  const KupCalendar = class {
@@ -14833,9 +14834,12 @@ const KupCalendar = class {
14833
14834
  this.imageCol = null;
14834
14835
  this.startCol = null;
14835
14836
  this.styleCol = null;
14837
+ this.formulaOperation = null;
14838
+ this.formulaColumn = null;
14836
14839
  this.currentDate = null;
14837
14840
  this.customStyle = '';
14838
14841
  this.data = null;
14842
+ this.totals = null;
14839
14843
  this.calendarColumns = {
14840
14844
  [KupCalendarOptions.DATE]: '',
14841
14845
  [KupCalendarOptions.DESCR]: '',
@@ -14897,6 +14901,8 @@ const KupCalendar = class {
14897
14901
  if (this.calendar) {
14898
14902
  this.calendar.destroy();
14899
14903
  }
14904
+ // Parse formula if provided
14905
+ this.parseFormula();
14900
14906
  if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.columns) {
14901
14907
  this.data.columns.forEach((column) => {
14902
14908
  for (const key in this.calendarColumns) {
@@ -14922,6 +14928,9 @@ const KupCalendar = class {
14922
14928
  }
14923
14929
  this.persistState();
14924
14930
  },
14931
+ dayCellDidMount: this.formulaOperation
14932
+ ? (arg) => this.renderDayCellFormula(arg)
14933
+ : undefined,
14925
14934
  dateClick: ({ date }) => {
14926
14935
  this.kupCalendarDateClick.emit({
14927
14936
  comp: this,
@@ -15249,6 +15258,108 @@ const KupCalendar = class {
15249
15258
  this.calendar.updateSize();
15250
15259
  }
15251
15260
  }
15261
+ parseFormula() {
15262
+ this.formulaOperation = null;
15263
+ this.formulaColumn = null;
15264
+ if (!this.totals) {
15265
+ return;
15266
+ }
15267
+ const formulaRegex = /^(SUM|AVG|COUNT|MAX|MIN)\(([^)]+)\)$/i;
15268
+ const match = this.totals.trim().match(formulaRegex);
15269
+ if (match) {
15270
+ this.formulaOperation = match[1].toUpperCase();
15271
+ this.formulaColumn = match[2].trim();
15272
+ }
15273
+ else {
15274
+ this.kupManager.debug.logMessage(this, `Invalid totals format: ${this.totals}. Expected format: OPERATION(columnName)`, kupManager.KupDebugCategory.WARNING);
15275
+ }
15276
+ }
15277
+ calculateFormulaForDay(date) {
15278
+ var _a;
15279
+ if (!this.formulaOperation || !this.formulaColumn) {
15280
+ return null;
15281
+ }
15282
+ if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.rows) || !this.dateCol) {
15283
+ return null;
15284
+ }
15285
+ // Get the date as ISO string (YYYY-MM-DD) for comparison
15286
+ const targetDate = this.kupManager.dates
15287
+ .toDayjs(date)
15288
+ .format('YYYY-MM-DD');
15289
+ // Filter rows for the specific day
15290
+ const dayRows = this.data.rows.filter((row) => {
15291
+ const cell = row.cells[this.dateCol];
15292
+ if (!cell || !cell.value) {
15293
+ return false;
15294
+ }
15295
+ const rowDate = this.kupManager.dates
15296
+ .toDayjs(cell.value)
15297
+ .format('YYYY-MM-DD');
15298
+ return rowDate === targetDate;
15299
+ });
15300
+ if (dayRows.length === 0) {
15301
+ return null;
15302
+ }
15303
+ // For COUNT operation, count all non-null values (numeric or not)
15304
+ if (this.formulaOperation === 'COUNT') {
15305
+ let count = 0;
15306
+ dayRows.forEach((row) => {
15307
+ const cell = row.cells[this.formulaColumn];
15308
+ if (cell && cell.value !== null && cell.value !== undefined) {
15309
+ count++;
15310
+ }
15311
+ });
15312
+ return count > 0 ? count : null;
15313
+ }
15314
+ // For SUM and AVG, extract only numeric values
15315
+ const values = [];
15316
+ dayRows.forEach((row) => {
15317
+ const cell = row.cells[this.formulaColumn];
15318
+ if (cell && cell.value !== null && cell.value !== undefined) {
15319
+ const numValue = parseFloat(cell.value);
15320
+ if (!isNaN(numValue)) {
15321
+ values.push(numValue);
15322
+ }
15323
+ }
15324
+ });
15325
+ if (values.length === 0) {
15326
+ return null;
15327
+ }
15328
+ // Calculate based on operation
15329
+ switch (this.formulaOperation) {
15330
+ case 'SUM':
15331
+ return values.reduce((acc, val) => acc + val, 0);
15332
+ case 'AVG':
15333
+ return (values.reduce((acc, val) => acc + val, 0) / values.length);
15334
+ case 'MAX':
15335
+ return Math.max(...values);
15336
+ case 'MIN':
15337
+ return Math.min(...values);
15338
+ default:
15339
+ return null;
15340
+ }
15341
+ }
15342
+ renderDayCellFormula(arg) {
15343
+ const date = arg.date;
15344
+ const formulaResult = this.calculateFormulaForDay(date);
15345
+ if (formulaResult !== null) {
15346
+ // Find the day frame container
15347
+ const dayFrame = arg.el.querySelector('.fc-daygrid-day-frame');
15348
+ if (dayFrame) {
15349
+ // Create formula result element
15350
+ const resultDiv = document.createElement('div');
15351
+ resultDiv.classList.add('kup-calendar-formula-result');
15352
+ resultDiv.textContent = this.formatFormulaResult(formulaResult);
15353
+ // Append to day frame
15354
+ dayFrame.appendChild(resultDiv);
15355
+ }
15356
+ }
15357
+ }
15358
+ formatFormulaResult(value) {
15359
+ // Use KupManager to format numbers with locale-specific separators
15360
+ const decimals = this.formulaOperation === 'COUNT' ? 0 : 2;
15361
+ return this.kupManager.math.numberToFormattedString(value, decimals, '');
15362
+ }
15252
15363
  /*-------------------------------------------------*/
15253
15364
  /* L i f e c y c l e H o o k s */
15254
15365
  /*-------------------------------------------------*/
@@ -15273,11 +15384,11 @@ const KupCalendar = class {
15273
15384
  this.kupManager.debug.logRender(this, true);
15274
15385
  }
15275
15386
  render() {
15276
- return (index$4.h(index$4.Host, { key: 'cd8efd2e4d7168d2b00b8c8c1ffbc0dd5de47dae' }, index$4.h("style", { key: '38b007b0a59e1272804e0b8a3ab960ecd08dccf5' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '7971fd8d4bfded4fe357e619c0d80e40c4ff7c8f', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '4aa984af8bc7b94a551deef3e54b996f496706f1', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: 'db70df951a8d695b6886ea961cda248c12e916a9', class: `navigation__title ${this.hideNavigation
15387
+ return (index$4.h(index$4.Host, { key: '7998e6f8c76632a6703738efa59767e6b2bf04b6' }, index$4.h("style", { key: '48f322043b150fb757efd18b7b5f2dfbf6fff512' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '3db3413823be3d4a49f5ebe3b7c58883f05f608d', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: 'f56ad6c224c581252e12a370a4fcb50ab2abda7c', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: '443d8e7206c9244c5c5fc2d1584d495d26265c03', class: `navigation__title ${this.hideNavigation
15277
15388
  ? 'navigation__title--centered'
15278
15389
  : ''}`, ref: (el) => {
15279
15390
  this.navTitle = el;
15280
- } }), index$4.h("div", { key: 'ac3cabb086e8bcd69f8acffd590276323bf2dbc7', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: '5660535edbcf474a4b5969a84f304092e4c25778', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15391
+ } }), index$4.h("div", { key: '48bc7f6e9fbe40cccea4599ee9df5b9b2b1bfa3c', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: '94cee398522dd36799665989b52d4c75fd77ca1d', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15281
15392
  }
15282
15393
  disconnectedCallback() {
15283
15394
  if (this.calendar) {
@@ -15291,7 +15402,8 @@ const KupCalendar = class {
15291
15402
  get rootElement() { return index$4.getElement(this); }
15292
15403
  static get watchers() { return {
15293
15404
  "data": ["setCalendarData"],
15294
- "currentDate": ["setCalendarData"]
15405
+ "currentDate": ["setCalendarData"],
15406
+ "totals": ["setCalendarData"]
15295
15407
  }; }
15296
15408
  };
15297
15409
  KupCalendar.style = KupCalendarStyle0;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -3,17 +3,17 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-9aca7812.js');
9
- const fCell = require('./f-cell-34af9b5c.js');
9
+ const fCell = require('./f-cell-05f3233c.js');
10
10
  require('./kup-dates-2ff08e4f.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-5a33fd05.js');
13
13
  require('./f-checkbox-a3461c4d.js');
14
- require('./f-chip-0f6c163f.js');
15
- require('./f-object-field-51d22c3c.js');
16
- require('./f-text-field-dd61a24a.js');
14
+ require('./f-chip-b4db804b.js');
15
+ require('./f-object-field-8dd8fc0e.js');
16
+ require('./f-text-field-e780da48.js');
17
17
 
18
18
  const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
19
19
  const KupCellStyle0 = kupCellCss;
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-9aca7812.js');
7
7
  const fCheckbox = require('./f-checkbox-a3461c4d.js');
8
- const fTextField = require('./f-text-field-dd61a24a.js');
8
+ const fTextField = require('./f-text-field-e780da48.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
10
- const kupManager = require('./kup-manager-8a2eb175.js');
10
+ const kupManager = require('./kup-manager-3ab94bba.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-5a33fd05.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const kupManager = require('./kup-manager-8a2eb175.js');
3
+ const kupManager = require('./kup-manager-3ab94bba.js');
4
4
  const kupDates = require('./kup-dates-2ff08e4f.js');
5
5
 
6
6
  /**
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -84693,7 +84693,7 @@ const KupEchart = class {
84693
84693
  '--kup_echart_height': this.sizeY ? this.sizeY : '100%',
84694
84694
  '--kup_echart_width': this.sizeX ? this.sizeX : '100%',
84695
84695
  };
84696
- return (index.h(index.Host, { key: '90763d03af943757a43395254643ac23b3316b91', style: style }, index.h("style", { key: '16da41fb5f188e0dd74fd2ef258e9398820c995a' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'a5365416fc15bfd4d40549c15737c926b916d987', id: GenericVariables.componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84696
+ return (index.h(index.Host, { key: 'ee4d5709d66552bb8922d9fb1967ba32185b7051', style: style }, index.h("style", { key: '9684ebc783c37de3da380a036c5fc6f84016bf3e' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '86eab75fec62dd2cd1a205ba6fac8bf91b3f8399', id: GenericVariables.componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84697
84697
  }
84698
84698
  disconnectedCallback() {
84699
84699
  var _a;
@@ -84782,6 +84782,13 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
84782
84782
  else if (__classPrivateFieldGet(this, _KupEchart_sortedDataset, "f") && e.seriesType === 'bar') {
84783
84783
  row = __classPrivateFieldGet(this, _KupEchart_sortedDataset, "f").rows[e.dataIndex];
84784
84784
  }
84785
+ else if (e.seriesType === 'pie') {
84786
+ // Data are grouped than i need to return a right row not obtained by using dataIndex.
84787
+ row = structuredClone(this.data.rows.find((r) => { var _a; return ((_a = r.cells[this.axis]) === null || _a === void 0 ? void 0 : _a.value) === e.name; }));
84788
+ // I need to set the value of the cell related to the series, by using the value calculated
84789
+ // inside #setPieOptions method
84790
+ row.cells[this.series[0]].obj.k = row.cells[this.series[0]].value = e.value.toString();
84791
+ }
84785
84792
  else if (!Array.isArray(e.data)) {
84786
84793
  row = this.data.rows[e.dataIndex];
84787
84794
  }
@@ -85754,6 +85761,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85754
85761
  data: __classPrivateFieldGet(this, _KupEchart_kupManager, "f").math.normalDistribution(values),
85755
85762
  label: {
85756
85763
  show: this.showMarks,
85764
+ formatter: (params) => __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value),
85757
85765
  },
85758
85766
  name: key,
85759
85767
  showSymbol: false,
@@ -85769,6 +85777,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85769
85777
  data: values,
85770
85778
  label: {
85771
85779
  show: this.showMarks,
85780
+ formatter: (params) => __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value),
85772
85781
  },
85773
85782
  name: key,
85774
85783
  stack: this.stacked ? 'total' : undefined,
@@ -85781,6 +85790,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85781
85790
  data: values,
85782
85791
  label: {
85783
85792
  show: this.showMarks,
85793
+ formatter: (params) => __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value),
85784
85794
  },
85785
85795
  name: key,
85786
85796
  type: 'scatter',
@@ -85793,6 +85803,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85793
85803
  data: values.map((value) => __classPrivateFieldGet(this, _KupEchart_kupManager, "f").math.numberifySafe(value)),
85794
85804
  label: {
85795
85805
  show: this.showMarks,
85806
+ formatter: (params) => __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value),
85796
85807
  },
85797
85808
  name: key,
85798
85809
  type: 'line',
@@ -85901,14 +85912,14 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85901
85912
  */
85902
85913
  const renamedSeries = series.map((s) => (Object.assign(Object.assign({}, s), { name: this.data.columns.find((col) => col.name === s.name).title })));
85903
85914
  const yAxis = (multipleYAxes === null || multipleYAxes === void 0 ? void 0 : multipleYAxes.length) === renamedSeries.length
85904
- ? Array.from({ length: renamedSeries.length }, (_el, i) => (Object.assign(Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? x : undefined, type: isHorizontal ? 'category' : 'value', axisLabel: {
85905
- formatter: axisLabelFormatter,
85906
- }, min: this.axisYMin, max: this.axisYMax, offset: Math.floor(i / 2) * 60 }), this.yAxis), { splitLine: i === 0
85915
+ ? Array.from({ length: renamedSeries.length }, (_el, i) => (Object.assign(Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? x : undefined, type: isHorizontal ? 'category' : 'value', axisLabel: Object.assign({}, (isHorizontal
85916
+ ? {}
85917
+ : { formatter: axisLabelFormatter })), min: this.axisYMin, max: this.axisYMax, offset: Math.floor(i / 2) * 60 }), this.yAxis), { splitLine: i === 0
85907
85918
  ? __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this).splitLine
85908
85919
  : { show: false } })))
85909
- : Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? x : undefined, type: isHorizontal ? 'category' : 'value', axisLabel: {
85910
- formatter: axisLabelFormatter,
85911
- }, min: this.axisYMin, max: this.axisYMax }), this.yAxis);
85920
+ : Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? x : undefined, type: isHorizontal ? 'category' : 'value', axisLabel: Object.assign({}, (isHorizontal
85921
+ ? {}
85922
+ : { formatter: axisLabelFormatter })), min: this.axisYMin, max: this.axisYMax }), this.yAxis);
85912
85923
  return {
85913
85924
  color,
85914
85925
  legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
@@ -85917,7 +85928,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85917
85928
  tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (params) => {
85918
85929
  return `<b>${params.name}</b><br/>${params.seriesName}: <b>${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value)}</b>`;
85919
85930
  } }),
85920
- xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: Object.assign({ formatter: axisLabelFormatter }, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_buildResponsiveAxisLabel).call(this, x)) }), this.xAxis),
85931
+ xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: Object.assign(Object.assign({}, (isHorizontal
85932
+ ? { formatter: axisLabelFormatter }
85933
+ : {})), __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_buildResponsiveAxisLabel).call(this, x)) }), this.xAxis),
85921
85934
  yAxis,
85922
85935
  grid: { show: true, containLabel: true },
85923
85936
  };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const kupDates = require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -6,7 +6,7 @@ const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-9aca7812.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-5a33fd05.js');
9
- const kupManager = require('./kup-manager-8a2eb175.js');
9
+ const kupManager = require('./kup-manager-3ab94bba.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
11
  require('./kup-dates-2ff08e4f.js');
12
12
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  require('./kup-dates-2ff08e4f.js');
8
8
 
9
9
  /**
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-9aca7812.js');
7
- const fCell = require('./f-cell-34af9b5c.js');
8
- const kupManager = require('./kup-manager-8a2eb175.js');
7
+ const fCell = require('./f-cell-05f3233c.js');
8
+ const kupManager = require('./kup-manager-3ab94bba.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
10
10
  const fTypography = require('./f-typography-85d8238a.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-5a33fd05.js');
14
14
  require('./f-checkbox-a3461c4d.js');
15
- require('./f-chip-0f6c163f.js');
16
- require('./f-object-field-51d22c3c.js');
17
- require('./f-text-field-dd61a24a.js');
15
+ require('./f-chip-b4db804b.js');
16
+ require('./f-object-field-8dd8fc0e.js');
17
+ require('./f-text-field-e780da48.js');
18
18
  require('./kup-dates-2ff08e4f.js');
19
19
  require('./component-a6dd6c14.js');
20
20
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-2ff08e4f.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-8a2eb175.js');
6
+ const kupManager = require('./kup-manager-3ab94bba.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-5a33fd05.js');
9
9
  const GenericVariables = require('./GenericVariables-1d52ba57.js');