@sme.up/ketchup 9.5.2 → 9.6.1

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 (310) hide show
  1. package/dist/cjs/{f-button-357a3dff.js → f-button-623dfcc3.js} +2 -2
  2. package/dist/cjs/{f-cell-1de0ea69.js → f-cell-9c718d83.js} +9 -8
  3. package/dist/cjs/{f-checkbox-41864e53.js → f-checkbox-bfa92ebe.js} +1 -1
  4. package/dist/cjs/{f-chip-bd5882a0.js → f-chip-c8efad5b.js} +3 -3
  5. package/dist/cjs/{f-image-30531fd0.js → f-image-b61cc967.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-ad8a4635.js → f-paginator-utils-f32382f6.js} +8 -8
  7. package/dist/cjs/{f-text-field-be758970.js → f-text-field-a09b1705.js} +2 -2
  8. package/dist/cjs/{index-8f2f4159.js → index-db0a6be6.js} +79 -38
  9. package/dist/cjs/index.cjs.js +3 -3
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +7 -6
  12. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +141 -112
  13. package/dist/cjs/kup-box.cjs.entry.js +82 -19
  14. package/dist/cjs/kup-calendar.cjs.entry.js +78 -11
  15. package/dist/cjs/kup-card-list.cjs.entry.js +5 -4
  16. package/dist/cjs/kup-cell.cjs.entry.js +12 -11
  17. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +22 -16
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +10 -9
  19. package/dist/cjs/{kup-dates-0e59b05d.js → kup-dates-4aa560f0.js} +80 -67
  20. package/dist/cjs/kup-drawer.cjs.entry.js +7 -6
  21. package/dist/cjs/kup-echart.cjs.entry.js +1504 -1025
  22. package/dist/cjs/kup-editor.cjs.entry.js +46260 -0
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +9 -8
  24. package/dist/cjs/kup-gantt_10.cjs.entry.js +58 -42
  25. package/dist/cjs/kup-grid.cjs.entry.js +5 -4
  26. package/dist/cjs/kup-iframe.cjs.entry.js +5 -4
  27. package/dist/cjs/kup-image-list.cjs.entry.js +13 -12
  28. package/dist/cjs/kup-lazy.cjs.entry.js +16 -15
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +9 -8
  30. package/dist/cjs/{kup-manager-cefb1999.js → kup-manager-227c4be2.js} +121 -79
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +6 -5
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +7 -6
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -6
  34. package/dist/cjs/{kup-planner-renderer-helper-c2394940.js → kup-planner-renderer-helper-f0c869d7.js} +1 -1
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
  36. package/dist/cjs/kup-planner.cjs.entry.js +7 -6
  37. package/dist/cjs/kup-probe.cjs.entry.js +4 -4
  38. package/dist/cjs/kup-qlik.cjs.entry.js +6 -5
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +8 -7
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/assets/editor-example-1.js +52 -0
  42. package/dist/collection/assets/editor.js +60 -0
  43. package/dist/collection/assets/index.js +12 -0
  44. package/dist/collection/assets/planner-example-4.js +4 -4
  45. package/dist/collection/assets/planner-example-5.js +3175 -0
  46. package/dist/collection/collection-manifest.json +3 -2
  47. package/dist/collection/components/kup-accordion/kup-accordion.js +10 -16
  48. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +10 -16
  49. package/dist/collection/components/kup-badge/kup-badge.js +8 -12
  50. package/dist/collection/components/kup-box/kup-box-declarations.js +11 -0
  51. package/dist/collection/components/kup-box/kup-box-state.js +2 -0
  52. package/dist/collection/components/kup-box/kup-box.css +1 -1
  53. package/dist/collection/components/kup-box/kup-box.js +181 -23
  54. package/dist/collection/components/kup-button/kup-button.js +6 -10
  55. package/dist/collection/components/kup-button-list/kup-button-list.js +7 -11
  56. package/dist/collection/components/kup-calendar/kup-calendar.js +10 -12
  57. package/dist/collection/components/kup-card/kup-card.js +6 -10
  58. package/dist/collection/components/kup-card-list/kup-card-list.js +6 -10
  59. package/dist/collection/components/kup-cell/kup-cell.js +13 -21
  60. package/dist/collection/components/kup-chart/kup-chart.js +7 -11
  61. package/dist/collection/components/kup-checkbox/kup-checkbox.js +7 -11
  62. package/dist/collection/components/kup-chip/kup-chip.js +8 -12
  63. package/dist/collection/components/kup-color-picker/kup-color-picker.js +11 -17
  64. package/dist/collection/components/kup-combobox/kup-combobox.js +10 -16
  65. package/dist/collection/components/kup-dashboard/kup-dashboard.js +7 -11
  66. package/dist/collection/components/kup-data-table/kup-data-table.js +72 -95
  67. package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -11
  68. package/dist/collection/components/kup-dialog/kup-dialog.css +2 -2
  69. package/dist/collection/components/kup-dialog/kup-dialog.js +9 -13
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +8 -12
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +10 -13
  72. package/dist/collection/components/kup-echart/kup-echart.js +7 -11
  73. package/dist/collection/components/kup-editor/kup-editor-declarations.js +15 -0
  74. package/dist/collection/components/kup-editor/kup-editor.js +774 -0
  75. package/dist/collection/components/kup-family-tree/kup-family-tree.js +14 -16
  76. package/dist/collection/components/kup-form/kup-form.js +14 -22
  77. package/dist/collection/components/kup-gauge/kup-gauge.js +6 -10
  78. package/dist/collection/components/kup-grid/kup-grid.js +6 -10
  79. package/dist/collection/components/kup-iframe/kup-iframe.js +6 -10
  80. package/dist/collection/components/kup-image/kup-image.js +6 -10
  81. package/dist/collection/components/kup-image-list/kup-image-list.js +8 -12
  82. package/dist/collection/components/kup-lazy/kup-lazy.js +17 -21
  83. package/dist/collection/components/kup-list/kup-list.js +10 -16
  84. package/dist/collection/components/kup-magic-box/kup-magic-box.js +9 -13
  85. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +7 -11
  86. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +7 -11
  87. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +8 -12
  88. package/dist/collection/components/kup-planner/kup-planner.js +13 -21
  89. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  90. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
  91. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -1
  92. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  93. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
  94. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +0 -2
  95. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +13 -14
  96. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
  97. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  98. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +6 -4
  99. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  100. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  101. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +6 -1
  102. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  103. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  104. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +0 -2
  105. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  106. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  107. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +7 -11
  108. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  109. package/dist/collection/components/kup-radio/kup-radio.js +6 -10
  110. package/dist/collection/components/kup-rating/kup-rating.js +7 -11
  111. package/dist/collection/components/kup-snackbar/kup-snackbar.js +7 -11
  112. package/dist/collection/components/kup-spinner/kup-spinner.js +40 -44
  113. package/dist/collection/components/kup-switch/kup-switch.js +7 -11
  114. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +6 -10
  115. package/dist/collection/components/kup-text-field/kup-text-field.js +10 -13
  116. package/dist/collection/components/kup-time-picker/kup-time-picker.js +10 -13
  117. package/dist/collection/components/kup-tree/kup-tree-faker.js +1 -1
  118. package/dist/collection/components/kup-tree/kup-tree.js +24 -33
  119. package/dist/collection/f-components/f-cell/f-cell.js +2 -1
  120. package/dist/collection/managers/kup-manager/kup-manager.js +5 -0
  121. package/dist/collection/managers/kup-openai/kup-openai.js +11 -8
  122. package/dist/components/custom-task-list-header.js +4 -3
  123. package/dist/components/custom-task-list-table.js +4 -3
  124. package/dist/components/kup-accordion.js +3 -2
  125. package/dist/components/kup-autocomplete2.js +136 -106
  126. package/dist/components/kup-box2.js +78 -11
  127. package/dist/components/kup-button-list.js +1 -1
  128. package/dist/components/kup-button.js +1 -1
  129. package/dist/components/kup-calendar.js +74 -7
  130. package/dist/components/kup-card-list.js +2 -1
  131. package/dist/components/kup-card.js +1 -1
  132. package/dist/components/kup-cell.js +3 -2
  133. package/dist/components/kup-chart.js +1 -1
  134. package/dist/components/kup-checkbox.js +1 -1
  135. package/dist/components/kup-chip.js +1 -1
  136. package/dist/components/kup-color-picker.js +1 -1
  137. package/dist/components/kup-combobox.js +1 -1
  138. package/dist/components/kup-dashboard.js +4 -3
  139. package/dist/components/kup-data-table.js +1 -1
  140. package/dist/components/kup-date-picker.js +1 -1
  141. package/dist/components/kup-dates.js +81 -67
  142. package/dist/components/kup-dialog.js +1 -1
  143. package/dist/components/kup-drawer.js +4 -3
  144. package/dist/components/kup-dropdown-button.js +1 -1
  145. package/dist/components/kup-echart2.js +1501 -1022
  146. package/dist/components/kup-editor.d.ts +11 -0
  147. package/dist/components/kup-editor.js +46434 -0
  148. package/dist/components/kup-family-tree.js +5 -4
  149. package/dist/components/kup-form.js +1 -1
  150. package/dist/components/kup-gantt-calendar2.js +3 -2
  151. package/dist/components/kup-gantt2.js +4 -2
  152. package/dist/components/kup-gauge.js +1 -1
  153. package/dist/components/kup-grid-renderer2.js +10 -7
  154. package/dist/components/kup-grid2.js +2 -1
  155. package/dist/components/kup-horizontal-scroll2.js +12 -12
  156. package/dist/components/kup-iframe.js +2 -1
  157. package/dist/components/kup-image-list.js +5 -4
  158. package/dist/components/kup-image.js +1 -1
  159. package/dist/components/kup-lazy.js +13 -12
  160. package/dist/components/kup-list.js +1 -1
  161. package/dist/components/kup-magic-box.js +6 -5
  162. package/dist/components/kup-manager.js +121 -79
  163. package/dist/components/kup-nav-bar.js +3 -2
  164. package/dist/components/kup-numeric-picker.js +4 -3
  165. package/dist/components/kup-photo-frame.js +4 -3
  166. package/dist/components/kup-planner-renderer-helper.js +2 -2
  167. package/dist/components/kup-planner-renderer2.js +3 -3
  168. package/dist/components/kup-planner.js +5 -4
  169. package/dist/components/kup-probe.js +1 -1
  170. package/dist/components/kup-progress-bar.js +1 -1
  171. package/dist/components/kup-qlik.js +3 -2
  172. package/dist/components/kup-radio.js +1 -1
  173. package/dist/components/kup-rating.js +1 -1
  174. package/dist/components/kup-snackbar.js +4 -3
  175. package/dist/components/kup-spinner.js +1 -1
  176. package/dist/components/kup-standard-tooltip2.js +3 -2
  177. package/dist/components/kup-switch.js +1 -1
  178. package/dist/components/kup-switcher2.js +3 -2
  179. package/dist/components/kup-tab-bar.js +1 -1
  180. package/dist/components/kup-task-gantt2.js +6 -4
  181. package/dist/components/kup-task-list-header2.js +9 -8
  182. package/dist/components/kup-task-list-table2.js +3 -2
  183. package/dist/components/kup-task-list2.js +9 -3
  184. package/dist/components/kup-text-field.js +1 -1
  185. package/dist/components/kup-time-picker.js +1 -1
  186. package/dist/components/kup-tooltip2.js +3 -2
  187. package/dist/components/kup-tree.js +1 -1
  188. package/dist/components/kup-vertical-scroll2.js +5 -4
  189. package/dist/esm/{f-button-856a189a.js → f-button-121958b3.js} +2 -2
  190. package/dist/esm/{f-cell-6324d838.js → f-cell-959b83db.js} +9 -8
  191. package/dist/esm/{f-checkbox-43481de2.js → f-checkbox-fdf27ce9.js} +1 -1
  192. package/dist/esm/{f-chip-e15fba8a.js → f-chip-915ddf53.js} +3 -3
  193. package/dist/esm/{f-image-26b1bc14.js → f-image-98371dac.js} +2 -2
  194. package/dist/esm/{f-paginator-utils-e8f62783.js → f-paginator-utils-10fa5a7d.js} +5 -5
  195. package/dist/esm/{f-text-field-bbe1f236.js → f-text-field-0df308e4.js} +2 -2
  196. package/dist/esm/{index-59f83f91.js → index-bbef9f2a.js} +79 -38
  197. package/dist/esm/index.js +3 -3
  198. package/dist/esm/ketchup.js +4 -4
  199. package/dist/esm/kup-accordion.entry.js +7 -6
  200. package/dist/esm/kup-autocomplete_27.entry.js +141 -112
  201. package/dist/esm/kup-box.entry.js +82 -19
  202. package/dist/esm/kup-calendar.entry.js +78 -11
  203. package/dist/esm/kup-card-list.entry.js +5 -4
  204. package/dist/esm/kup-cell.entry.js +12 -11
  205. package/dist/esm/kup-custom-task-list-header_4.entry.js +22 -16
  206. package/dist/esm/kup-dashboard.entry.js +10 -9
  207. package/dist/esm/{kup-dates-15f89ea2.js → kup-dates-172954df.js} +81 -67
  208. package/dist/esm/kup-drawer.entry.js +7 -6
  209. package/dist/esm/kup-echart.entry.js +1504 -1025
  210. package/dist/esm/kup-editor.entry.js +46256 -0
  211. package/dist/esm/kup-family-tree.entry.js +9 -8
  212. package/dist/esm/kup-gantt_10.entry.js +58 -42
  213. package/dist/esm/kup-grid.entry.js +5 -4
  214. package/dist/esm/kup-iframe.entry.js +5 -4
  215. package/dist/esm/kup-image-list.entry.js +13 -12
  216. package/dist/esm/kup-lazy.entry.js +16 -15
  217. package/dist/esm/kup-magic-box.entry.js +9 -8
  218. package/dist/esm/{kup-manager-8d1df189.js → kup-manager-33b051d6.js} +122 -80
  219. package/dist/esm/kup-nav-bar.entry.js +6 -5
  220. package/dist/esm/kup-numeric-picker.entry.js +7 -6
  221. package/dist/esm/kup-photo-frame.entry.js +7 -6
  222. package/dist/esm/{kup-planner-renderer-helper-2143d119.js → kup-planner-renderer-helper-5d97e075.js} +2 -2
  223. package/dist/esm/kup-planner-renderer.entry.js +4 -4
  224. package/dist/esm/kup-planner.entry.js +8 -7
  225. package/dist/esm/kup-probe.entry.js +4 -4
  226. package/dist/esm/kup-qlik.entry.js +6 -5
  227. package/dist/esm/kup-snackbar.entry.js +8 -7
  228. package/dist/esm/loader.js +3 -3
  229. package/dist/ketchup/index.esm.js +1 -1
  230. package/dist/ketchup/ketchup.esm.js +1 -1
  231. package/dist/ketchup/p-060ae996.entry.js +1 -0
  232. package/dist/ketchup/{p-0c124f99.entry.js → p-0a4595bd.entry.js} +1 -1
  233. package/dist/ketchup/{p-dc370227.entry.js → p-0dd0ae49.entry.js} +1 -1
  234. package/dist/ketchup/p-102866cd.js +1 -0
  235. package/dist/ketchup/{p-d300948a.entry.js → p-11d5400a.entry.js} +1 -1
  236. package/dist/ketchup/p-1ad7fea0.js +2 -0
  237. package/dist/ketchup/{p-01a0b54c.js → p-2778f948.js} +1 -1
  238. package/dist/ketchup/p-2f4055ba.entry.js +1 -0
  239. package/dist/ketchup/p-3c9ac0fd.entry.js +1 -0
  240. package/dist/ketchup/p-3ce8ce77.entry.js +49 -0
  241. package/dist/ketchup/p-3ff9a661.entry.js +1 -0
  242. package/dist/ketchup/p-41d6466e.entry.js +1 -0
  243. package/dist/ketchup/p-4bf5e04f.entry.js +1 -0
  244. package/dist/ketchup/p-610a03d4.js +28 -0
  245. package/dist/ketchup/{p-d9a1e5a4.entry.js → p-662d2f9b.entry.js} +1 -1
  246. package/dist/ketchup/p-773bcc69.entry.js +1 -0
  247. package/dist/ketchup/{p-caeed3c3.js → p-7bda0684.js} +1 -1
  248. package/dist/ketchup/p-81996620.entry.js +1 -0
  249. package/dist/ketchup/p-9d8d5070.entry.js +1 -0
  250. package/dist/ketchup/{p-8042dcd5.entry.js → p-9e63f56b.entry.js} +1 -1
  251. package/dist/ketchup/p-9f31a129.entry.js +38 -0
  252. package/dist/ketchup/p-a9b06bb8.js +1 -0
  253. package/dist/ketchup/p-b3067fd0.entry.js +9 -0
  254. package/dist/ketchup/p-b5d3c24d.entry.js +1 -0
  255. package/dist/ketchup/p-babbffa4.entry.js +1 -0
  256. package/dist/ketchup/p-c1ade766.entry.js +1 -0
  257. package/dist/ketchup/{p-9ba8f169.js → p-ccc637ee.js} +1 -1
  258. package/dist/ketchup/p-d15d1083.entry.js +1 -0
  259. package/dist/ketchup/p-d5254caf.entry.js +1 -0
  260. package/dist/ketchup/{p-d76cd8d6.js → p-dba484b8.js} +1 -1
  261. package/dist/ketchup/{p-f51dbf68.js → p-dc18691c.js} +1 -1
  262. package/dist/ketchup/p-de07d17e.js +1 -0
  263. package/dist/ketchup/p-df450df9.entry.js +16 -0
  264. package/dist/ketchup/{p-269a9af8.js → p-e43d4ccc.js} +1 -1
  265. package/dist/ketchup/p-ea625b2a.entry.js +1 -0
  266. package/dist/ketchup/{p-81c1d557.entry.js → p-eb37ea7e.entry.js} +1 -1
  267. package/dist/ketchup/p-f0b882f4.entry.js +1 -0
  268. package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -0
  269. package/dist/types/components/kup-box/kup-box-state.d.ts +2 -0
  270. package/dist/types/components/kup-box/kup-box.d.ts +26 -1
  271. package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -0
  272. package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +1 -0
  273. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
  274. package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +21 -0
  275. package/dist/types/components/kup-editor/kup-editor.d.ts +128 -0
  276. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +1 -0
  277. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +1 -1
  278. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -0
  279. package/dist/types/components.d.ts +197 -8
  280. package/dist/types/managers/kup-data/kup-data.d.ts +1 -1
  281. package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +1 -0
  282. package/dist/types/managers/kup-interact/kup-interact.d.ts +1 -0
  283. package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +3 -0
  284. package/dist/types/managers/kup-manager/kup-manager.d.ts +1 -0
  285. package/dist/types/managers/kup-toolbar/kup-toolbar-declarations.d.ts +1 -1
  286. package/package.json +4 -3
  287. package/dist/ketchup/p-07bed934.entry.js +0 -1
  288. package/dist/ketchup/p-0f6cb6e4.entry.js +0 -1
  289. package/dist/ketchup/p-177f8008.entry.js +0 -9
  290. package/dist/ketchup/p-2ab02da0.entry.js +0 -1
  291. package/dist/ketchup/p-3f028a71.entry.js +0 -1
  292. package/dist/ketchup/p-4a18db68.entry.js +0 -39
  293. package/dist/ketchup/p-4eb6d4e8.entry.js +0 -1
  294. package/dist/ketchup/p-63031c77.js +0 -1
  295. package/dist/ketchup/p-71acfd3c.entry.js +0 -1
  296. package/dist/ketchup/p-753f30d8.entry.js +0 -1
  297. package/dist/ketchup/p-8c3ad5ef.entry.js +0 -1
  298. package/dist/ketchup/p-937a322f.js +0 -29
  299. package/dist/ketchup/p-a2d3aec9.entry.js +0 -1
  300. package/dist/ketchup/p-b07ffd18.entry.js +0 -16
  301. package/dist/ketchup/p-b115e1ec.entry.js +0 -1
  302. package/dist/ketchup/p-b396d0f8.js +0 -1
  303. package/dist/ketchup/p-c12a9759.entry.js +0 -1
  304. package/dist/ketchup/p-c23731ca.js +0 -1
  305. package/dist/ketchup/p-cadeb53d.entry.js +0 -1
  306. package/dist/ketchup/p-cd9a4274.js +0 -2
  307. package/dist/ketchup/p-f1cae1e1.entry.js +0 -1
  308. package/dist/ketchup/p-f417e794.entry.js +0 -1
  309. package/dist/ketchup/p-f753c13f.entry.js +0 -1
  310. package/dist/ketchup/p-f7980061.entry.js +0 -1
@@ -1,16 +1,16 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-59f83f91.js';
2
- import { k as kupManagerInstance, x as identify, g as getProps, s as setProps, u as getColumnByName, l as KupLanguageGeneric, a as KupThemeIconValues, d as KupDebugCategory, M as KupPointerEventTypes, Q as KupDragEffect, ak as kupDraggableAttr, U as KupDropEventTypes, D as KupLanguageSearch, $ as SortMode } from './kup-manager-8d1df189.js';
3
- import { f as filterRows, p as paginateRows, s as sortRows, d as pageChange, r as rowsPerPageChange, h as FPaginatorMode, b as FPaginator } from './f-paginator-utils-e8f62783.js';
4
- import { F as FImage } from './f-image-26b1bc14.js';
5
- import { a as FChip } from './f-chip-e15fba8a.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-bbef9f2a.js';
2
+ import { k as kupManagerInstance, x as identify, g as getProps, s as setProps, $ as SortMode, u as getColumnByName, l as KupLanguageGeneric, a as KupThemeIconValues, d as KupDebugCategory, M as KupPointerEventTypes, Q as KupDragEffect, ak as kupDraggableAttr, U as KupDropEventTypes, D as KupLanguageSearch } from './kup-manager-33b051d6.js';
3
+ import { f as filterRows, p as paginateRows, s as sortRows, d as pageChange, r as rowsPerPageChange, b as FPaginator } from './f-paginator-utils-10fa5a7d.js';
4
+ import { F as FImage } from './f-image-98371dac.js';
5
+ import { a as FChip } from './f-chip-915ddf53.js';
6
6
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
7
- import { F as FCell } from './f-cell-6324d838.js';
7
+ import { F as FCell } from './f-cell-959b83db.js';
8
8
  import { F as FTextFieldMDC } from './f-text-field-mdc-c88bf688.js';
9
- import './kup-dates-15f89ea2.js';
10
- import './f-button-856a189a.js';
9
+ import './kup-dates-172954df.js';
10
+ import './f-button-121958b3.js';
11
11
  import './f-button-declarations-9bdc6f26.js';
12
- import './f-checkbox-43481de2.js';
13
- import './f-text-field-bbe1f236.js';
12
+ import './f-checkbox-fdf27ce9.js';
13
+ import './f-text-field-0df308e4.js';
14
14
  import './component-879e99bf.js';
15
15
 
16
16
  /**
@@ -32,6 +32,9 @@ var KupBoxProps;
32
32
  KupBoxProps["kanban"] = "Displays the boxlist as a Kanban.";
33
33
  KupBoxProps["layout"] = "How the field will be displayed. If not present, a default one will be created.";
34
34
  KupBoxProps["lazyLoadRows"] = "When set to true, extra rows will be automatically loaded once the last row enters the viewport.";
35
+ KupBoxProps["loadMoreLimit"] = "Sets a maximum limit of new records which can be required by the load more functionality.";
36
+ KupBoxProps["loadMoreMode"] = "Establish the modality of how many new records will be downloaded. This property is regulated also by loadMoreStep.";
37
+ KupBoxProps["loadMoreStep"] = "The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.";
35
38
  KupBoxProps["multiSelection"] = "Enable multi selection.";
36
39
  KupBoxProps["pageSelected"] = "Current page number.";
37
40
  KupBoxProps["pagination"] = "Enables pagination.";
@@ -39,6 +42,7 @@ var KupBoxProps;
39
42
  KupBoxProps["scrollOnHover"] = "Activates the scroll on hover function.";
40
43
  KupBoxProps["selectBox"] = "Automatically selects the box at the specified index.";
41
44
  KupBoxProps["selectedRowsState"] = "Multiple selection.";
45
+ KupBoxProps["showLoadMore"] = "If set to true, displays the button to load more records.";
42
46
  KupBoxProps["showSelection"] = "If enabled, highlights the selected box/boxes.";
43
47
  KupBoxProps["sortBy"] = "If sorting is enabled, specifies which column to sort.";
44
48
  KupBoxProps["sortEnabled"] = "Enable sorting.";
@@ -46,6 +50,13 @@ var KupBoxProps;
46
50
  KupBoxProps["store"] = "";
47
51
  KupBoxProps["swipeDisabled"] = "Disable swipe.";
48
52
  })(KupBoxProps || (KupBoxProps = {}));
53
+ //---- *NEXT functionality AKA load more ----
54
+ var LoadMoreMode;
55
+ (function (LoadMoreMode) {
56
+ LoadMoreMode["CONSTANT"] = "constant";
57
+ LoadMoreMode["CONSTANT_INCREMENT"] = "constant_increment";
58
+ LoadMoreMode["PROGRESSIVE_THRESHOLD"] = "progressive_threshold";
59
+ })(LoadMoreMode || (LoadMoreMode = {}));
49
60
 
50
61
  class KupBoxState {
51
62
  constructor() {
@@ -55,6 +66,8 @@ class KupBoxState {
55
66
  this.pageSelected = 1;
56
67
  this.rowsPerPage = 0;
57
68
  this.load = false;
69
+ this.loadMoreLimit = 1000;
70
+ this.showLoadMore = false;
58
71
  }
59
72
  /*Add attribute*/
60
73
  toDebugString() {
@@ -63,7 +76,8 @@ class KupBoxState {
63
76
  }
64
77
  }
65
78
 
66
- const kupBoxCss = ":host{--kup_box_background_color:var(\n --kup-box-background-color,\n var(--kup-background-color)\n );--kup_box_color:var(--kup-box-color, var(--kup-text-color));--kup_box_font_family:var(--kup-box-font-family, var(--kup-font-family));--kup_box_font_size:var(--kup-box-font-size, var(--kup-font-size));--kup_box_grid_gap:var(--kup-box-grid-gap, 1em);--kup_box_hover_box_shadow:var(\n --kup-box-hover-box-shadow,\n 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5)\n );--kup_box_primary_color_rgb:var(\n --kup-box-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_box_transition:var(--kup-box-transition, 0.25s);display:block;font-family:var(--kup_box_font_family);font-size:var(--kup_box_font_size)}.box-component{background:var(--kup_box_background_color);transition:border var(--kup_box_transition) ease}.box-component[kup-drag-over]{position:relative;border:3px dashed var(--kup-border-color)}#box-container{display:grid;grid-gap:var(--kup_box_grid_gap);color:var(--kup_box_color);overflow:auto}#box-container.is-kanban .kanban-section{overflow:auto}#box-container.is-kanban .box-wrapper{padding-top:1em}#box-container.is-kanban .box-wrapper .box{overflow:auto}#box-container *{box-sizing:border-box}#box-container .box-wrapper{display:flex;align-items:center}#box-container .box-wrapper .box{flex-grow:1;cursor:pointer;position:relative;display:flex;transition:background-color var(--kup_box_transition) ease, box-shadow var(--kup_box_transition) ease, border var(--kup_box_transition) ease}#box-container .box-wrapper .box.draggable{touch-action:none;user-select:none}#box-container .box-wrapper .box.column{flex-direction:column}#box-container .box-wrapper .box:hover{box-shadow:var(--kup_box_hover_box_shadow)}#box-container .box-wrapper .box.selected{background-color:rgba(var(--kup_box_primary_color_rgb), 0.175)}#box-container .box-wrapper .box.selected .box-section.titled>h3{background-color:transparent}#box-container .box-wrapper .box[kup-draggable]{opacity:0.5}#box-container .box-wrapper .box[kup-drag-over]{border:3px dashed var(--kup-border-color);position:relative;z-index:2}#box-container .box-wrapper .box .box-section{display:flex;flex-direction:row;flex:1 1 1%;flex-wrap:wrap}#box-container .box-wrapper .box .box-section.column{flex-direction:column;justify-content:center;flex-wrap:unset}#box-container .box-wrapper .box .box-section.column>.box-section{flex:0 0 auto}#box-container .box-wrapper .box .box-section.grid{display:grid}#box-container .box-wrapper .box .box-section .box-object{min-height:16px}#box-container .box-wrapper .box .box-section .box-object img{height:auto}#box-container .box-wrapper .box .box-section.collapse-section .header{border-top:1px solid var(--kup-border-color);color:rgba(var(--kup-text-color-rgb), 0.75);display:flex;justify-content:space-around;width:100%}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content{margin:0.5em;display:flex;align-items:center}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image{transition:transform 0.15s}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image.toggled{transform:rotate(-180deg)}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .kup-icon.kup-dropdown-icon{margin:0;-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}#box-container .box-wrapper .box .box-section.collapse-section .content{display:none;width:100%}#box-container .box-wrapper .box .box-section.collapse-section.open .content{display:block}#box-container .box-wrapper .box .box-section.titled{border:1px solid var(--kup-border-color);padding-top:5px;position:relative;margin:10px}#box-container .box-wrapper .box .box-section.titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}#box-container .box-wrapper .box .box-selection{position:absolute;top:0.5em;right:0.5em;z-index:1}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler{position:relative;width:24px;height:24px;margin-left:3px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler svg{cursor:pointer;opacity:0;fill:var(--kup-text-color);transition:opacity 500ms ease-out}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu{background:var(--kup-background-color);border:1px solid var(--kup-border-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);position:absolute;top:0;right:24px;display:none;z-index:10}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul{list-style-type:none;margin:0;padding:0}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li{cursor:pointer;white-space:nowrap;padding:0 12px;display:flex;align-items:center;line-height:30px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li:not(:last-child){border-bottom:1px solid var(--kup-border-color)}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu.open{display:block}#box-container .box-wrapper:hover .row-actions-wrapper .row-actions-toggler svg{opacity:1}#sort-panel,#global-filter{margin-bottom:1em}:host(.kup-center-aligned) #kup-component .box-section{text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell img{margin:auto}:host(.kup-right-aligned) #kup-component .box-section{text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell img{margin-left:auto;margin-right:0}:host(.kup-top-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-start}:host(.kup-bottom-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-end}:host(:not(.kup-borderless)) .box{border:1px solid var(--kup-border-color)}:host(.kup-flat-on-hover) #box-container .box-wrapper .box:hover{box-shadow:none}:host(.kup-shaped) .box{border-radius:10px}:host(.kup-round) .box{border-radius:25px}:host(.kup-dashed-sections) .box-section{border:2px dashed var(--kup-text-color)}:host(:not(.kup-paddingless)) #box-container .box{padding:3px}:host(:not(.kup-paddingless)) #box-container .box .box-section .box-object{padding:1px 4px}:host(:not(.kup-paddingless)) #box-container .box .box-section.last-child{margin:3px 4px}:host(.kup-danger){--kup-box-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-box-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-box-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-box-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-box-primary-color-rgb:var(--kup-warning-color-rgb)}";
79
+ const kupBoxCss = ":host{--kup_box_background_color:var(\n --kup-box-background-color,\n var(--kup-background-color)\n );--kup_box_color:var(--kup-box-color, var(--kup-text-color));--kup_box_font_family:var(--kup-box-font-family, var(--kup-font-family));--kup_box_font_size:var(--kup-box-font-size, var(--kup-font-size));--kup_box_grid_gap:var(--kup-box-grid-gap, 1em);--kup_box_hover_box_shadow:var(\n --kup-box-hover-box-shadow,\n 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5)\n );--kup_box_primary_color_rgb:var(\n --kup-box-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_box_transition:var(--kup-box-transition, 0.25s);display:block;font-family:var(--kup_box_font_family);font-size:var(--kup_box_font_size)}.box-component{background:var(--kup_box_background_color);transition:border var(--kup_box_transition) ease}.box-component[kup-drag-over]{position:relative;border:3px dashed var(--kup-border-color)}#box-container{display:grid;grid-gap:var(--kup_box_grid_gap);color:var(--kup_box_color);overflow:auto}#box-container.is-kanban .kanban-section{overflow:auto}#box-container.is-kanban .box-wrapper{padding-top:1em}#box-container.is-kanban .box-wrapper .box{overflow:auto}#box-container *:not(.progress-bar-percentage){box-sizing:border-box}#box-container .box-wrapper{display:flex;align-items:center}#box-container .box-wrapper .box{flex-grow:1;cursor:pointer;position:relative;display:flex;transition:background-color var(--kup_box_transition) ease, box-shadow var(--kup_box_transition) ease, border var(--kup_box_transition) ease}#box-container .box-wrapper .box.draggable{touch-action:none;user-select:none}#box-container .box-wrapper .box.column{flex-direction:column}#box-container .box-wrapper .box:hover{box-shadow:var(--kup_box_hover_box_shadow)}#box-container .box-wrapper .box.selected{background-color:rgba(var(--kup_box_primary_color_rgb), 0.175)}#box-container .box-wrapper .box.selected .box-section.titled>h3{background-color:transparent}#box-container .box-wrapper .box[kup-draggable]{opacity:0.5}#box-container .box-wrapper .box[kup-drag-over]{border:3px dashed var(--kup-border-color);position:relative;z-index:2}#box-container .box-wrapper .box .box-section{display:flex;flex-direction:row;flex:1 1 1%;flex-wrap:wrap}#box-container .box-wrapper .box .box-section.column{flex-direction:column;justify-content:center;flex-wrap:unset}#box-container .box-wrapper .box .box-section.column>.box-section{flex:0 0 auto}#box-container .box-wrapper .box .box-section.grid{display:grid}#box-container .box-wrapper .box .box-section .box-object{min-height:16px}#box-container .box-wrapper .box .box-section .box-object img{height:auto}#box-container .box-wrapper .box .box-section.collapse-section .header{border-top:1px solid var(--kup-border-color);color:rgba(var(--kup-text-color-rgb), 0.75);display:flex;justify-content:space-around;width:100%}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content{margin:0.5em;display:flex;align-items:center}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image{transition:transform 0.15s}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image.toggled{transform:rotate(-180deg)}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .kup-icon.kup-dropdown-icon{margin:0;-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}#box-container .box-wrapper .box .box-section.collapse-section .content{display:none;width:100%}#box-container .box-wrapper .box .box-section.collapse-section.open .content{display:block}#box-container .box-wrapper .box .box-section.titled{border:1px solid var(--kup-border-color);padding-top:5px;position:relative;margin:10px}#box-container .box-wrapper .box .box-section.titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}#box-container .box-wrapper .box .box-selection{position:absolute;top:0.5em;right:0.5em;z-index:1}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler{position:relative;width:24px;height:24px;margin-left:3px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler svg{cursor:pointer;opacity:0;fill:var(--kup-text-color);transition:opacity 500ms ease-out}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu{background:var(--kup-background-color);border:1px solid var(--kup-border-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);position:absolute;top:0;right:24px;display:none;z-index:10}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul{list-style-type:none;margin:0;padding:0}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li{cursor:pointer;white-space:nowrap;padding:0 12px;display:flex;align-items:center;line-height:30px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li:not(:last-child){border-bottom:1px solid var(--kup-border-color)}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu.open{display:block}#box-container .box-wrapper:hover .row-actions-wrapper .row-actions-toggler svg{opacity:1}#sort-panel,#global-filter{margin-bottom:1em}:host(.kup-center-aligned) #kup-component .box-section{text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell img{margin:auto}:host(.kup-right-aligned) #kup-component .box-section{text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell img{margin-left:auto;margin-right:0}:host(.kup-top-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-start}:host(.kup-bottom-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-end}:host(:not(.kup-borderless)) .box{border:1px solid var(--kup-border-color)}:host(.kup-flat-on-hover) #box-container .box-wrapper .box:hover{box-shadow:none}:host(.kup-shaped) .box{border-radius:10px}:host(.kup-round) .box{border-radius:25px}:host(.kup-dashed-sections) .box-section{border:2px dashed var(--kup-text-color)}:host(:not(.kup-paddingless)) #box-container .box{padding:3px}:host(:not(.kup-paddingless)) #box-container .box .box-section .box-object{padding:1px 4px}:host(:not(.kup-paddingless)) #box-container .box .box-section.last-child{margin:3px 4px}:host(.kup-danger){--kup-box-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-box-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-box-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-box-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-box-primary-color-rgb:var(--kup-warning-color-rgb)}";
80
+ const KupBoxStyle0 = kupBoxCss;
67
81
 
68
82
  var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
69
83
  if (kind === "a" && !f)
@@ -81,7 +95,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
81
95
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
82
96
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
83
97
  };
84
- var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_didRenderObservers, _KupBox_setObserver;
98
+ var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
85
99
  const KupBox = class {
86
100
  constructor(hostRef) {
87
101
  registerInstance(this, hostRef);
@@ -93,6 +107,7 @@ const KupBox = class {
93
107
  this.kupDidLoad = createEvent(this, "kup-box-didload", 6);
94
108
  this.kupDidUnload = createEvent(this, "kup-box-didunload", 6);
95
109
  this.kupBoxContextMenu = createEvent(this, "kup-box-contextmenu", 6);
110
+ this.kupLoadMoreClick = createEvent(this, "kup-box-loadmoreclick", 6);
96
111
  _KupBox_instances.add(this);
97
112
  this.state = new KupBoxState();
98
113
  /*-------------------------------------------------*/
@@ -114,6 +129,8 @@ const KupBox = class {
114
129
  _KupBox_intObserver.set(this, undefined);
115
130
  _KupBox_rowsRefs.set(this, []);
116
131
  _KupBox_navBarHeight.set(this, 0);
132
+ _KupBox_loadMoreEventCounter.set(this, 0);
133
+ _KupBox_loadMoreEventPreviousQuantity.set(this, 0);
117
134
  this.collapsedSection = {};
118
135
  this.selectedRows = [];
119
136
  this.rowActionMenuOpened = undefined;
@@ -133,6 +150,9 @@ const KupBox = class {
133
150
  this.kanban = null;
134
151
  this.layout = undefined;
135
152
  this.lazyLoadRows = false;
153
+ this.loadMoreLimit = 1000;
154
+ this.loadMoreMode = LoadMoreMode.PROGRESSIVE_THRESHOLD;
155
+ this.loadMoreStep = 60;
136
156
  this.multiSelection = false;
137
157
  this.pageSelected = 1;
138
158
  this.pagination = false;
@@ -140,6 +160,7 @@ const KupBox = class {
140
160
  this.scrollOnHover = false;
141
161
  this.selectBox = undefined;
142
162
  this.selectedRowsState = undefined;
163
+ this.showLoadMore = false;
143
164
  this.showSelection = true;
144
165
  this.sortBy = undefined;
145
166
  this.sortEnabled = false;
@@ -161,6 +182,8 @@ const KupBox = class {
161
182
  this.selectedRowsState = this.state.selectedRowsState;
162
183
  this.pageSelected = this.state.pageSelected;
163
184
  this.rowsPerPage = this.state.rowsPerPage;
185
+ this.loadMoreLimit = state.loadMoreLimit;
186
+ this.showLoadMore = state.showLoadMore;
164
187
  }
165
188
  }
166
189
  }
@@ -191,6 +214,14 @@ const KupBox = class {
191
214
  this.state.selectedRowsState = selectedRowsState;
192
215
  somethingChanged = true;
193
216
  }
217
+ if (!this.kupManager.objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
218
+ this.state.loadMoreLimit = this.loadMoreLimit;
219
+ somethingChanged = true;
220
+ }
221
+ if (!this.kupManager.objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
222
+ this.state.showLoadMore = this.showLoadMore;
223
+ somethingChanged = true;
224
+ }
194
225
  if (!this.state.load) {
195
226
  this.state.load = true;
196
227
  return;
@@ -1218,10 +1249,16 @@ const KupBox = class {
1218
1249
  } })));
1219
1250
  }
1220
1251
  let paginator = null;
1221
- if (!this.lazyLoadRows && this.pagination) {
1222
- paginator = (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.filteredRows.length, mode: FPaginatorMode.SIMPLE, perPage: this.currentRowsPerPage
1252
+ if (this.showLoadMore || (!this.lazyLoadRows && this.pagination)) {
1253
+ paginator = (h(FPaginator, { id: 'top-paginator' , currentPage: this.currentPage, max: this.filteredRows.length,
1254
+ // mode={FPaginatorMode.SIMPLE}
1255
+ perPage: this.currentRowsPerPage
1223
1256
  ? this.currentRowsPerPage
1224
- : this.rowsPerPage, onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) }));
1257
+ : this.rowsPerPage, onLoadMore: this.showLoadMore
1258
+ ? () => {
1259
+ __classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_onLoadMoreClick).call(this);
1260
+ }
1261
+ : null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) }));
1225
1262
  }
1226
1263
  let boxContent = null;
1227
1264
  let containerStyle = {};
@@ -1275,7 +1312,7 @@ const KupBox = class {
1275
1312
  "selectBox": ["onSelectBoxChanged"]
1276
1313
  }; }
1277
1314
  };
1278
- _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_didRenderObservers = function _KupBox_didRenderObservers() {
1315
+ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_didRenderObservers = function _KupBox_didRenderObservers() {
1279
1316
  if (this.lazyLoadRows &&
1280
1317
  this.currentRowsPerPage < this.data.rows.length) {
1281
1318
  __classPrivateFieldGet(this, _KupBox_intObserver, "f").observe(__classPrivateFieldGet(this, _KupBox_rowsRefs, "f")[__classPrivateFieldGet(this, _KupBox_rowsRefs, "f").length - 1]);
@@ -1286,11 +1323,11 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
1286
1323
  if (entry.isIntersecting) {
1287
1324
  this.kupManager.debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
1288
1325
  const delta = this.data.rows.length - this.currentRowsPerPage;
1289
- if (delta < 10) {
1326
+ if (delta < this.loadMoreStep) {
1290
1327
  this.currentRowsPerPage += delta;
1291
1328
  }
1292
1329
  else {
1293
- this.currentRowsPerPage += 10;
1330
+ this.currentRowsPerPage += this.loadMoreStep;
1294
1331
  }
1295
1332
  entry.target.classList.remove('last-row');
1296
1333
  __classPrivateFieldGet(this, _KupBox_intObserver, "f").unobserve(entry.target);
@@ -1302,7 +1339,33 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
1302
1339
  rootMargin: '-' + __classPrivateFieldGet(this, _KupBox_navBarHeight, "f") + 'px 0px 0px 0px',
1303
1340
  };
1304
1341
  __classPrivateFieldSet(this, _KupBox_intObserver, new IntersectionObserver(callback, options), "f");
1342
+ }, _KupBox_onLoadMoreClick = function _KupBox_onLoadMoreClick() {
1343
+ var _a;
1344
+ let loadItems = 0;
1345
+ switch (this.loadMoreMode) {
1346
+ case LoadMoreMode.CONSTANT:
1347
+ loadItems = this.loadMoreStep;
1348
+ break;
1349
+ case LoadMoreMode.CONSTANT_INCREMENT:
1350
+ loadItems =
1351
+ this.loadMoreStep * (__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1);
1352
+ break;
1353
+ case LoadMoreMode.PROGRESSIVE_THRESHOLD:
1354
+ loadItems =
1355
+ Math.max(__classPrivateFieldGet(this, _KupBox_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1, 2);
1356
+ break;
1357
+ }
1358
+ if (loadItems > this.loadMoreLimit) {
1359
+ loadItems = this.loadMoreLimit;
1360
+ }
1361
+ this.kupLoadMoreClick.emit({
1362
+ comp: this,
1363
+ id: this.rootElement.id,
1364
+ loadItems: loadItems,
1365
+ });
1366
+ __classPrivateFieldSet(this, _KupBox_loadMoreEventPreviousQuantity, loadItems, "f");
1367
+ __classPrivateFieldSet(this, _KupBox_loadMoreEventCounter, (_a = __classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f"), _a++, _a), "f");
1305
1368
  };
1306
- KupBox.style = kupBoxCss;
1369
+ KupBox.style = KupBoxStyle0;
1307
1370
 
1308
1371
  export { KupBox as kup_box };
@@ -1,17 +1,17 @@
1
- import { r as registerInstance, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-59f83f91.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, u as getColumnByName } from './kup-manager-8d1df189.js';
1
+ import { r as registerInstance, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-bbef9f2a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, u as getColumnByName } from './kup-manager-33b051d6.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import { F as FButton } from './f-button-856a189a.js';
5
- import { a as FChip, F as FChipType } from './f-chip-e15fba8a.js';
6
- import { e as KupDatesLocales } from './kup-dates-15f89ea2.js';
4
+ import { F as FButton } from './f-button-121958b3.js';
5
+ import { a as FChip, F as FChipType } from './f-chip-915ddf53.js';
6
+ import { d as KupDatesLocales } from './kup-dates-172954df.js';
7
7
  import './f-button-declarations-9bdc6f26.js';
8
- import './f-image-26b1bc14.js';
8
+ import './f-image-98371dac.js';
9
9
 
10
10
  var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
11
11
 
12
- var r,u,i,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w$1),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j$1)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w$1(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g$1="function"==typeof requestAnimationFrame;function j$1(n){var t,r=function(){clearTimeout(u),g$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g$1&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w$1(n){var t=r;n.__c=n.__(),r=t;}
12
+ var r,u,i,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n);var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w$1),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j$1)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w$1(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g$1="function"==typeof requestAnimationFrame;function j$1(n){var t,r=function(){clearTimeout(u),g$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g$1&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w$1(n){var t=r;n.__c=n.__(),r=t;}
13
13
 
14
- function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new x$1).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new x$1).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&y(_,null,n.fallback);return i&&(i.__h=null),[y(_,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){D$1(null,e.l),e.l=null,e.i=null;},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n);},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n);}}),D$1(y(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=y($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new x$1).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=j$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};x$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x$1.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n),n.__c;};
14
+ function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new x$1).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new x$1).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&y(_,null,n.fallback);return i&&(i.__h=null),[y(_,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){D$1(null,e.l),e.l=null,e.i=null;},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n);},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n);}}),D$1(y(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=y($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new x$1).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=j$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};x$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x$1.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n);};
15
15
 
16
16
  const styleTexts = [];
17
17
  const styleEls = new Map();
@@ -12147,6 +12147,70 @@ const LISTENER_REFINERS = {
12147
12147
  };
12148
12148
  config.dataAttrPrefix = '';
12149
12149
 
12150
+ /*
12151
+ Detects when a *THIRD-PARTY* drag-n-drop system interacts with elements.
12152
+ The third-party system is responsible for drawing the visuals effects of the drag.
12153
+ This class simply monitors for pointer movements and fires events.
12154
+ It also has the ability to hide the moving element (the "mirror") during the drag.
12155
+ */
12156
+ class InferredElementDragging extends ElementDragging {
12157
+ constructor(containerEl) {
12158
+ super(containerEl);
12159
+ this.shouldIgnoreMove = false;
12160
+ this.mirrorSelector = '';
12161
+ this.currentMirrorEl = null;
12162
+ this.handlePointerDown = (ev) => {
12163
+ this.emitter.trigger('pointerdown', ev);
12164
+ if (!this.shouldIgnoreMove) {
12165
+ // fire dragstart right away. does not support delay or min-distance
12166
+ this.emitter.trigger('dragstart', ev);
12167
+ }
12168
+ };
12169
+ this.handlePointerMove = (ev) => {
12170
+ if (!this.shouldIgnoreMove) {
12171
+ this.emitter.trigger('dragmove', ev);
12172
+ }
12173
+ };
12174
+ this.handlePointerUp = (ev) => {
12175
+ this.emitter.trigger('pointerup', ev);
12176
+ if (!this.shouldIgnoreMove) {
12177
+ // fire dragend right away. does not support a revert animation
12178
+ this.emitter.trigger('dragend', ev);
12179
+ }
12180
+ };
12181
+ let pointer = this.pointer = new PointerDragging(containerEl);
12182
+ pointer.emitter.on('pointerdown', this.handlePointerDown);
12183
+ pointer.emitter.on('pointermove', this.handlePointerMove);
12184
+ pointer.emitter.on('pointerup', this.handlePointerUp);
12185
+ }
12186
+ destroy() {
12187
+ this.pointer.destroy();
12188
+ }
12189
+ setIgnoreMove(bool) {
12190
+ this.shouldIgnoreMove = bool;
12191
+ }
12192
+ setMirrorIsVisible(bool) {
12193
+ if (bool) {
12194
+ // restore a previously hidden element.
12195
+ // use the reference in case the selector class has already been removed.
12196
+ if (this.currentMirrorEl) {
12197
+ this.currentMirrorEl.style.visibility = '';
12198
+ this.currentMirrorEl = null;
12199
+ }
12200
+ }
12201
+ else {
12202
+ let mirrorEl = this.mirrorSelector
12203
+ // TODO: somehow query FullCalendars WITHIN shadow-roots
12204
+ ? document.querySelector(this.mirrorSelector)
12205
+ : null;
12206
+ if (mirrorEl) {
12207
+ this.currentMirrorEl = mirrorEl;
12208
+ mirrorEl.style.visibility = 'hidden';
12209
+ }
12210
+ }
12211
+ }
12212
+ }
12213
+
12150
12214
  var index$2 = createPlugin({
12151
12215
  name: '@fullcalendar/interaction',
12152
12216
  componentInteractions: [DateClicking, DateSelecting, EventDragging, EventResizing],
@@ -13847,6 +13911,7 @@ var KupCalendarOptions;
13847
13911
  })(KupCalendarOptions || (KupCalendarOptions = {}));
13848
13912
 
13849
13913
  const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\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-on-primary-color)\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-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );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;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;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-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)}#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-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_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)}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}";
13914
+ const KupCalendarStyle0 = kupCalendarCss;
13850
13915
 
13851
13916
  const KupCalendar = class {
13852
13917
  constructor(hostRef) {
@@ -13970,6 +14035,7 @@ const KupCalendar = class {
13970
14035
  }
13971
14036
  },
13972
14037
  eventDrop: ({ event, oldEvent }) => {
14038
+ var _a;
13973
14039
  this.kupCalendarEventDrop.emit({
13974
14040
  comp: this,
13975
14041
  id: this.rootElement.id,
@@ -13981,6 +14047,7 @@ const KupCalendar = class {
13981
14047
  start: event.start,
13982
14048
  end: event.end,
13983
14049
  },
14050
+ row: (_a = oldEvent.extendedProps) === null || _a === void 0 ? void 0 : _a.row,
13984
14051
  });
13985
14052
  },
13986
14053
  events: this.getEvents(),
@@ -14187,11 +14254,11 @@ const KupCalendar = class {
14187
14254
  this.kupManager.debug.logRender(this, true);
14188
14255
  }
14189
14256
  render() {
14190
- return (h$1(Host, null, h$1("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { id: componentWrapperId }, h$1("div", { class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { class: `navigation__title ${this.hideNavigation
14257
+ return (h$1(Host, { key: '256712f0367d8a4979fbe5cf01230ef6919cbe30' }, h$1("style", { key: '483bc12677fbf0feb94f0322d050d3e92b76aa96' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'd396f95087febb8439ba747250dbde5c966664a9', id: componentWrapperId }, h$1("div", { key: '218107d205ccc74759b902682fbb4ffc38b4e6af', class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { key: '35207cde78644377b8a90dc0798da7cb3a8fb028', class: `navigation__title ${this.hideNavigation
14191
14258
  ? 'navigation__title--centered'
14192
14259
  : ''}`, ref: (el) => {
14193
14260
  this.navTitle = el;
14194
- } }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
14261
+ } }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '0cc18bfc6befd69d45d4ba0c119fc5a4c2437d36', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
14195
14262
  }
14196
14263
  disconnectedCallback() {
14197
14264
  if (this.calendar) {
@@ -14208,6 +14275,6 @@ const KupCalendar = class {
14208
14275
  "currentDate": ["setCalendarData"]
14209
14276
  }; }
14210
14277
  };
14211
- KupCalendar.style = kupCalendarCss;
14278
+ KupCalendar.style = KupCalendarStyle0;
14212
14279
 
14213
14280
  export { KupCalendar as kup_calendar };
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-59f83f91.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, r as KupCardFamily, ac as getCellValueForDisplay } from './kup-manager-8d1df189.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-bbef9f2a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, r as KupCardFamily, ac as getCellValueForDisplay } from './kup-manager-33b051d6.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import './kup-dates-15f89ea2.js';
4
+ import './kup-dates-172954df.js';
5
5
 
6
6
  /**
7
7
  * Props of the kup-card-list component.
@@ -28,6 +28,7 @@ var KupCardListProps;
28
28
  })(KupCardListProps || (KupCardListProps = {}));
29
29
 
30
30
  const kupCardListCss = ":host{--kup_cardlist_cards_max_height:var(--kup-cardlist-cards-max-height, unset);--kup_cardlist_cards_min_height:var(--kup-cardlist-cards-min-height, unset);--kup_cardlist_cards_max_width:var(--kup-cardlist-cards-max-width, unset);--kup_cardlist_cards_min_width:var(--kup-cardlist-cards-min-width, unset);display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}kup-card{max-height:var(--kup_cardlist_cards_max_height);min-height:var(--kup_cardlist_cards_min_height);max-width:var(--kup_cardlist_cards_max_width);min-width:var(--kup_cardlist_cards_min_width)}kup-card.is-clickable{cursor:pointer}kup-grid{--kup-grid-padding:0}";
31
+ const KupCardListStyle0 = kupCardListCss;
31
32
 
32
33
  var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
33
34
  if (kind === "a" && !f)
@@ -256,6 +257,6 @@ const KupCardList = class {
256
257
  get rootElement() { return getElement(this); }
257
258
  };
258
259
  _KupCardList_kupManager = new WeakMap();
259
- KupCardList.style = kupCardListCss;
260
+ KupCardList.style = KupCardListStyle0;
260
261
 
261
262
  export { KupCardList as kup_card_list };
@@ -1,13 +1,13 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-59f83f91.js';
2
- import { k as kupManagerInstance, e as FCellPadding, g as getProps, s as setProps, Q as KupDragEffect, l as KupLanguageGeneric } from './kup-manager-8d1df189.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-bbef9f2a.js';
2
+ import { k as kupManagerInstance, e as FCellPadding, g as getProps, s as setProps, Q as KupDragEffect, l as KupLanguageGeneric } from './kup-manager-33b051d6.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import { F as FCell } from './f-cell-6324d838.js';
5
- import './kup-dates-15f89ea2.js';
6
- import './f-checkbox-43481de2.js';
7
- import './f-text-field-bbe1f236.js';
8
- import './f-image-26b1bc14.js';
9
- import './f-chip-e15fba8a.js';
10
- import './f-button-856a189a.js';
4
+ import { F as FCell } from './f-cell-959b83db.js';
5
+ import './kup-dates-172954df.js';
6
+ import './f-checkbox-fdf27ce9.js';
7
+ import './f-text-field-0df308e4.js';
8
+ import './f-image-98371dac.js';
9
+ import './f-chip-915ddf53.js';
10
+ import './f-button-121958b3.js';
11
11
  import './f-button-declarations-9bdc6f26.js';
12
12
 
13
13
  /**
@@ -23,6 +23,7 @@ var KupCellProps;
23
23
  })(KupCellProps || (KupCellProps = {}));
24
24
 
25
25
  const kupCellCss = ":host{display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}";
26
+ const KupCellStyle0 = kupCellCss;
26
27
 
27
28
  const KupCell = class {
28
29
  constructor(hostRef) {
@@ -169,7 +170,7 @@ const KupCell = class {
169
170
  renderKup: true,
170
171
  row: this.generateRow(),
171
172
  };
172
- return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h(FCell, Object.assign({}, props)))));
173
+ return (h(Host, { key: '6eae5c64c3c22889f6d67c79150bb109e2a27c83' }, h("style", { key: 'a807aece995466845f8699d51e5d78ddba19cb5d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '759dc36e0a82552f49238ada3906634c7ff032ea', id: componentWrapperId }, h(FCell, Object.assign({ key: '1f45b43d0dd416c935f1c2963806c3f90bf1f61d' }, props)))));
173
174
  }
174
175
  disconnectedCallback() {
175
176
  this.kupManager.dates.unregister(this);
@@ -178,6 +179,6 @@ const KupCell = class {
178
179
  }
179
180
  get rootElement() { return getElement(this); }
180
181
  };
181
- KupCell.style = kupCellCss;
182
+ KupCell.style = KupCellStyle0;
182
183
 
183
184
  export { KupCell as kup_cell };