@sme.up/ketchup 9.6.1 → 9.6.3

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 (280) hide show
  1. package/dist/cjs/{f-button-623dfcc3.js → f-button-9a0eba42.js} +2 -2
  2. package/dist/cjs/{f-cell-9c718d83.js → f-cell-1ad41071.js} +51 -9
  3. package/dist/cjs/{f-checkbox-bfa92ebe.js → f-checkbox-1fa28e76.js} +1 -1
  4. package/dist/cjs/{f-chip-c8efad5b.js → f-chip-48851b4f.js} +3 -3
  5. package/dist/cjs/{f-image-b61cc967.js → f-image-541e5f4d.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-f32382f6.js → f-paginator-utils-8ff2a9b4.js} +7 -4
  7. package/dist/cjs/{f-text-field-a09b1705.js → f-text-field-ac5d6497.js} +2 -2
  8. package/dist/cjs/{index-db0a6be6.js → index-958d0399.js} +21 -26
  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 +5 -5
  12. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +121 -95
  13. package/dist/cjs/kup-box.cjs.entry.js +60 -20
  14. package/dist/cjs/kup-calendar.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-card-list.cjs.entry.js +4 -4
  16. package/dist/cjs/kup-cell.cjs.entry.js +10 -10
  17. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +8 -8
  19. package/dist/cjs/{kup-dates-4aa560f0.js → kup-dates-b7d53b4d.js} +25 -8
  20. package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
  21. package/dist/cjs/kup-echart.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-editor.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
  24. package/dist/cjs/kup-gantt_10.cjs.entry.js +20 -14
  25. package/dist/cjs/kup-grid.cjs.entry.js +4 -4
  26. package/dist/cjs/kup-iframe.cjs.entry.js +4 -4
  27. package/dist/cjs/kup-image-list.cjs.entry.js +138 -50
  28. package/dist/cjs/kup-lazy.cjs.entry.js +4 -4
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
  30. package/dist/cjs/{kup-manager-227c4be2.js → kup-manager-26a9154b.js} +684 -73
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -4
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  34. package/dist/cjs/{kup-planner-renderer-helper-f0c869d7.js → kup-planner-renderer-helper-680bbd5a.js} +3 -23
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +13 -6
  36. package/dist/cjs/kup-planner.cjs.entry.js +12 -6
  37. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  38. package/dist/cjs/kup-qlik.cjs.entry.js +4 -4
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/assets/data-table.js +7 -2
  42. package/dist/collection/assets/image-list.js +20 -0
  43. package/dist/collection/assets/index.js +4 -0
  44. package/dist/collection/assets/planner-example-6.js +983 -0
  45. package/dist/collection/collection-manifest.json +1 -1
  46. package/dist/collection/components/kup-accordion/kup-accordion.css +128 -0
  47. package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +128 -0
  48. package/dist/collection/components/kup-badge/kup-badge.css +128 -0
  49. package/dist/collection/components/kup-box/kup-box.css +128 -0
  50. package/dist/collection/components/kup-box/kup-box.js +49 -9
  51. package/dist/collection/components/kup-button/kup-button.css +128 -0
  52. package/dist/collection/components/kup-button-list/kup-button-list.css +128 -0
  53. package/dist/collection/components/kup-calendar/kup-calendar.css +128 -0
  54. package/dist/collection/components/kup-card/built-in/kup-card-openai.js +29 -1
  55. package/dist/collection/components/kup-card/kup-card.css +135 -0
  56. package/dist/collection/components/kup-card-list/kup-card-list.css +128 -0
  57. package/dist/collection/components/kup-cell/kup-cell.css +128 -0
  58. package/dist/collection/components/kup-chart/kup-chart.css +128 -0
  59. package/dist/collection/components/kup-checkbox/kup-checkbox.css +128 -0
  60. package/dist/collection/components/kup-chip/kup-chip.css +128 -0
  61. package/dist/collection/components/kup-color-picker/kup-color-picker.css +128 -0
  62. package/dist/collection/components/kup-combobox/kup-combobox.css +128 -0
  63. package/dist/collection/components/kup-dashboard/kup-dashboard.css +128 -0
  64. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
  65. package/dist/collection/components/kup-data-table/kup-data-table.css +133 -0
  66. package/dist/collection/components/kup-data-table/kup-data-table.js +33 -17
  67. package/dist/collection/components/kup-date-picker/kup-date-picker.css +128 -0
  68. package/dist/collection/components/kup-dialog/kup-dialog.css +128 -0
  69. package/dist/collection/components/kup-drawer/kup-drawer.css +128 -0
  70. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +128 -0
  71. package/dist/collection/components/kup-echart/kup-echart.css +128 -0
  72. package/dist/collection/components/kup-family-tree/kup-family-tree.css +128 -0
  73. package/dist/collection/components/kup-form/kup-form.css +128 -0
  74. package/dist/collection/components/kup-gauge/kup-gauge.css +128 -0
  75. package/dist/collection/components/kup-grid/kup-grid.css +128 -0
  76. package/dist/collection/components/kup-iframe/kup-iframe.css +128 -0
  77. package/dist/collection/components/kup-image/kup-image.css +128 -0
  78. package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +2 -0
  79. package/dist/collection/components/kup-image-list/kup-image-list.css +158 -18
  80. package/dist/collection/components/kup-image-list/kup-image-list.js +175 -46
  81. package/dist/collection/components/kup-lazy/kup-lazy.css +128 -0
  82. package/dist/collection/components/kup-list/kup-list.css +128 -0
  83. package/dist/collection/components/kup-magic-box/kup-magic-box.css +128 -0
  84. package/dist/collection/components/kup-nav-bar/kup-nav-bar.css +128 -0
  85. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +128 -0
  86. package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +128 -0
  87. package/dist/collection/components/kup-planner/kup-planner.css +128 -0
  88. package/dist/collection/components/kup-planner/kup-planner.js +7 -1
  89. package/dist/collection/components/kup-planner/utils/custom-task-list-header.module.css +128 -0
  90. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +128 -0
  91. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +128 -0
  92. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +29 -2
  93. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.css +128 -0
  94. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  95. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +128 -0
  96. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +128 -0
  97. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +2 -22
  98. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +37 -4
  99. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +128 -0
  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.css +128 -0
  102. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.css +128 -0
  103. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +128 -0
  104. package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +128 -0
  105. package/dist/collection/components/kup-qlik/kup-qlik.css +128 -0
  106. package/dist/collection/components/kup-radio/kup-radio.css +128 -0
  107. package/dist/collection/components/kup-rating/kup-rating.css +128 -0
  108. package/dist/collection/components/kup-snackbar/kup-snackbar.css +128 -0
  109. package/dist/collection/components/kup-spinner/kup-spinner.css +128 -0
  110. package/dist/collection/components/kup-switch/kup-switch.css +128 -0
  111. package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +128 -0
  112. package/dist/collection/components/kup-text-field/kup-text-field.css +128 -0
  113. package/dist/collection/components/kup-time-picker/kup-time-picker.css +128 -0
  114. package/dist/collection/components/kup-tree/kup-tree.css +128 -0
  115. package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
  116. package/dist/collection/f-components/f-cell/f-cell.js +44 -2
  117. package/dist/collection/f-components/f-paginator/f-paginator.js +3 -0
  118. package/dist/collection/managers/kup-dates/kup-dates.js +18 -8
  119. package/dist/collection/managers/kup-interact/kup-interact.js +7 -0
  120. package/dist/collection/managers/kup-openai/kup-openai.js +53 -40
  121. package/dist/collection/utils/cell-utils.js +2 -2
  122. package/dist/components/custom-task-list-header.js +1 -1
  123. package/dist/components/custom-task-list-table.js +1 -1
  124. package/dist/components/kup-accordion.js +1 -1
  125. package/dist/components/kup-autocomplete2.js +173 -101
  126. package/dist/components/kup-box2.js +50 -10
  127. package/dist/components/kup-calendar.js +1 -1
  128. package/dist/components/kup-card-list.js +1 -1
  129. package/dist/components/kup-cell.js +1 -1
  130. package/dist/components/kup-dashboard.js +1 -1
  131. package/dist/components/kup-dates.js +25 -8
  132. package/dist/components/kup-drawer.js +1 -1
  133. package/dist/components/kup-echart2.js +1 -1
  134. package/dist/components/kup-family-tree.js +1 -1
  135. package/dist/components/kup-gantt-calendar2.js +2 -2
  136. package/dist/components/kup-gantt2.js +11 -4
  137. package/dist/components/kup-grid-renderer2.js +1 -1
  138. package/dist/components/kup-grid2.js +1 -1
  139. package/dist/components/kup-horizontal-scroll2.js +1 -1
  140. package/dist/components/kup-iframe.js +1 -1
  141. package/dist/components/kup-image-list.js +132 -42
  142. package/dist/components/kup-lazy.js +1 -1
  143. package/dist/components/kup-magic-box.js +1 -1
  144. package/dist/components/kup-manager.js +682 -71
  145. package/dist/components/kup-nav-bar.js +1 -1
  146. package/dist/components/kup-numeric-picker.js +1 -1
  147. package/dist/components/kup-photo-frame.js +1 -1
  148. package/dist/components/kup-planner-renderer-helper.js +2 -22
  149. package/dist/components/kup-planner-renderer2.js +12 -4
  150. package/dist/components/kup-planner.js +8 -2
  151. package/dist/components/kup-qlik.js +1 -1
  152. package/dist/components/kup-snackbar.js +1 -1
  153. package/dist/components/kup-standard-tooltip2.js +1 -1
  154. package/dist/components/kup-switcher2.js +1 -1
  155. package/dist/components/kup-task-list-header2.js +1 -1
  156. package/dist/components/kup-task-list-table2.js +2 -2
  157. package/dist/components/kup-task-list2.js +1 -1
  158. package/dist/components/kup-tooltip2.js +1 -1
  159. package/dist/components/kup-vertical-scroll2.js +1 -1
  160. package/dist/esm/{f-button-121958b3.js → f-button-45d690a5.js} +2 -2
  161. package/dist/esm/{f-cell-959b83db.js → f-cell-63db06db.js} +51 -9
  162. package/dist/esm/{f-checkbox-fdf27ce9.js → f-checkbox-ddb6234e.js} +1 -1
  163. package/dist/esm/{f-chip-915ddf53.js → f-chip-f1ab6c5e.js} +3 -3
  164. package/dist/esm/{f-image-98371dac.js → f-image-8b382cc5.js} +2 -2
  165. package/dist/esm/{f-paginator-utils-10fa5a7d.js → f-paginator-utils-ae563cd5.js} +7 -4
  166. package/dist/esm/{f-text-field-0df308e4.js → f-text-field-b5fcb598.js} +2 -2
  167. package/dist/esm/{index-bbef9f2a.js → index-460631fd.js} +21 -26
  168. package/dist/esm/index.js +3 -3
  169. package/dist/esm/ketchup.js +4 -4
  170. package/dist/esm/kup-accordion.entry.js +5 -5
  171. package/dist/esm/kup-autocomplete_27.entry.js +121 -95
  172. package/dist/esm/kup-box.entry.js +60 -20
  173. package/dist/esm/kup-calendar.entry.js +7 -7
  174. package/dist/esm/kup-card-list.entry.js +4 -4
  175. package/dist/esm/kup-cell.entry.js +10 -10
  176. package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
  177. package/dist/esm/kup-dashboard.entry.js +8 -8
  178. package/dist/esm/{kup-dates-172954df.js → kup-dates-4ad48be7.js} +25 -8
  179. package/dist/esm/kup-drawer.entry.js +4 -4
  180. package/dist/esm/kup-echart.entry.js +4 -4
  181. package/dist/esm/kup-editor.entry.js +3 -3
  182. package/dist/esm/kup-family-tree.entry.js +6 -6
  183. package/dist/esm/kup-gantt_10.entry.js +20 -14
  184. package/dist/esm/kup-grid.entry.js +4 -4
  185. package/dist/esm/kup-iframe.entry.js +4 -4
  186. package/dist/esm/kup-image-list.entry.js +138 -50
  187. package/dist/esm/kup-lazy.entry.js +4 -4
  188. package/dist/esm/kup-magic-box.entry.js +5 -5
  189. package/dist/esm/{kup-manager-33b051d6.js → kup-manager-cdb4f21a.js} +684 -73
  190. package/dist/esm/kup-nav-bar.entry.js +4 -4
  191. package/dist/esm/kup-numeric-picker.entry.js +5 -5
  192. package/dist/esm/kup-photo-frame.entry.js +4 -4
  193. package/dist/esm/{kup-planner-renderer-helper-5d97e075.js → kup-planner-renderer-helper-da0518be.js} +3 -23
  194. package/dist/esm/kup-planner-renderer.entry.js +13 -6
  195. package/dist/esm/kup-planner.entry.js +12 -6
  196. package/dist/esm/kup-probe.entry.js +3 -3
  197. package/dist/esm/kup-qlik.entry.js +4 -4
  198. package/dist/esm/kup-snackbar.entry.js +6 -6
  199. package/dist/esm/loader.js +3 -3
  200. package/dist/ketchup/index.esm.js +1 -1
  201. package/dist/ketchup/ketchup.esm.js +1 -1
  202. package/dist/ketchup/p-090e5097.entry.js +1 -0
  203. package/dist/ketchup/{p-662d2f9b.entry.js → p-1474852d.entry.js} +1 -1
  204. package/dist/ketchup/{p-11d5400a.entry.js → p-157f0e89.entry.js} +1 -1
  205. package/dist/ketchup/p-1cd48eea.entry.js +1 -0
  206. package/dist/ketchup/p-21351b19.entry.js +1 -0
  207. package/dist/ketchup/p-2b40d9b9.entry.js +1 -0
  208. package/dist/ketchup/p-31c0cfc0.entry.js +1 -0
  209. package/dist/ketchup/p-41e8402e.entry.js +1 -0
  210. package/dist/ketchup/p-47040db6.js +2 -0
  211. package/dist/ketchup/{p-9e63f56b.entry.js → p-4c100286.entry.js} +1 -1
  212. package/dist/ketchup/p-4dfc5927.entry.js +1 -0
  213. package/dist/ketchup/{p-e43d4ccc.js → p-590c34bc.js} +1 -1
  214. package/dist/ketchup/p-5c79cb74.js +1 -0
  215. package/dist/ketchup/p-670354ef.entry.js +1 -0
  216. package/dist/ketchup/p-837bd0a6.entry.js +1 -0
  217. package/dist/ketchup/p-935f58fc.js +1 -0
  218. package/dist/ketchup/{p-2778f948.js → p-9852b1e9.js} +1 -1
  219. package/dist/ketchup/p-9a856951.js +28 -0
  220. package/dist/ketchup/{p-ccc637ee.js → p-a5074ce4.js} +1 -1
  221. package/dist/ketchup/p-ad6a3c2a.entry.js +1 -0
  222. package/dist/ketchup/p-b6a21b6a.entry.js +1 -0
  223. package/dist/ketchup/{p-7bda0684.js → p-ba0f28b7.js} +1 -1
  224. package/dist/ketchup/{p-dba484b8.js → p-bedabdb5.js} +1 -1
  225. package/dist/ketchup/p-c6b34763.entry.js +1 -0
  226. package/dist/ketchup/p-ca42a421.entry.js +16 -0
  227. package/dist/ketchup/{p-9f31a129.entry.js → p-ca8a1f53.entry.js} +4 -4
  228. package/dist/ketchup/p-cbe42afd.entry.js +1 -0
  229. package/dist/ketchup/p-cc7352a8.entry.js +1 -0
  230. package/dist/ketchup/p-d50515f7.js +1 -0
  231. package/dist/ketchup/p-d608f866.entry.js +1 -0
  232. package/dist/ketchup/p-d839ce21.entry.js +9 -0
  233. package/dist/ketchup/p-d9284d98.entry.js +1 -0
  234. package/dist/ketchup/p-e0a1fbe7.entry.js +1 -0
  235. package/dist/ketchup/p-e0c10de2.entry.js +1 -0
  236. package/dist/ketchup/{p-dc18691c.js → p-e2bf2bb6.js} +1 -1
  237. package/dist/ketchup/{p-3ce8ce77.entry.js → p-e508b2fd.entry.js} +1 -1
  238. package/dist/ketchup/p-ec4050e1.entry.js +1 -0
  239. package/dist/types/components/kup-box/kup-box.d.ts +1 -0
  240. package/dist/types/components/kup-card/kup-card-declarations.d.ts +1 -0
  241. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
  242. package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -0
  243. package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +19 -4
  244. package/dist/types/components/kup-image-list/kup-image-list.d.ts +13 -11
  245. package/dist/types/components/kup-planner/kup-planner.d.ts +1 -0
  246. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +4 -0
  247. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +6 -0
  248. package/dist/types/components.d.ts +44 -8
  249. package/dist/types/f-components/f-image/f-image-declarations.d.ts +3 -4
  250. package/dist/types/managers/kup-dates/kup-dates.d.ts +2 -2
  251. package/dist/types/managers/kup-interact/kup-interact.d.ts +5 -0
  252. package/dist/types/managers/kup-openai/kup-openai-declarations.d.ts +7 -0
  253. package/dist/types/managers/kup-openai/kup-openai.d.ts +8 -12
  254. package/package.json +1 -1
  255. package/dist/ketchup/p-060ae996.entry.js +0 -1
  256. package/dist/ketchup/p-0a4595bd.entry.js +0 -1
  257. package/dist/ketchup/p-0dd0ae49.entry.js +0 -1
  258. package/dist/ketchup/p-102866cd.js +0 -1
  259. package/dist/ketchup/p-1ad7fea0.js +0 -2
  260. package/dist/ketchup/p-2f4055ba.entry.js +0 -1
  261. package/dist/ketchup/p-3c9ac0fd.entry.js +0 -1
  262. package/dist/ketchup/p-3ff9a661.entry.js +0 -1
  263. package/dist/ketchup/p-41d6466e.entry.js +0 -1
  264. package/dist/ketchup/p-4bf5e04f.entry.js +0 -1
  265. package/dist/ketchup/p-610a03d4.js +0 -28
  266. package/dist/ketchup/p-773bcc69.entry.js +0 -1
  267. package/dist/ketchup/p-81996620.entry.js +0 -1
  268. package/dist/ketchup/p-9d8d5070.entry.js +0 -1
  269. package/dist/ketchup/p-a9b06bb8.js +0 -1
  270. package/dist/ketchup/p-b3067fd0.entry.js +0 -9
  271. package/dist/ketchup/p-b5d3c24d.entry.js +0 -1
  272. package/dist/ketchup/p-babbffa4.entry.js +0 -1
  273. package/dist/ketchup/p-c1ade766.entry.js +0 -1
  274. package/dist/ketchup/p-d15d1083.entry.js +0 -1
  275. package/dist/ketchup/p-d5254caf.entry.js +0 -1
  276. package/dist/ketchup/p-de07d17e.js +0 -1
  277. package/dist/ketchup/p-df450df9.entry.js +0 -16
  278. package/dist/ketchup/p-ea625b2a.entry.js +0 -1
  279. package/dist/ketchup/p-eb37ea7e.entry.js +0 -1
  280. package/dist/ketchup/p-f0b882f4.entry.js +0 -1
@@ -1,3 +1,131 @@
1
+ .kup-body-compact-01 {
2
+ font-family: var(--kup-font-family);
3
+ font-size: 14px;
4
+ line-height: 18px;
5
+ font-weight: 400;
6
+ letter-spacing: 0.16px;
7
+ }
8
+
9
+ .kup-body-01 {
10
+ font-family: var(--kup-font-family);
11
+ font-size: 14px;
12
+ line-height: 20px;
13
+ font-weight: 400;
14
+ letter-spacing: 0.16px;
15
+ }
16
+
17
+ .kup-code-01 {
18
+ font-family: var(--kup-font-family-monospace);
19
+ font-size: 12px;
20
+ line-height: 16px;
21
+ font-weight: 400;
22
+ letter-spacing: 0.32px;
23
+ }
24
+
25
+ .kup-label-01 {
26
+ font-family: var(--kup-font-family);
27
+ font-size: 12px;
28
+ line-height: 16px;
29
+ font-weight: 400;
30
+ letter-spacing: 0.32px;
31
+ }
32
+
33
+ .kup-caption-02 {
34
+ font-family: var(--kup-font-family);
35
+ font-size: 12px;
36
+ line-height: 15px;
37
+ font-weight: 500;
38
+ letter-spacing: 1px;
39
+ }
40
+
41
+ .kup-caption-01 {
42
+ font-family: var(--kup-font-family);
43
+ font-size: 10px;
44
+ line-height: 13px;
45
+ font-weight: 400;
46
+ letter-spacing: 1px;
47
+ }
48
+
49
+ .kup-small-label-01 {
50
+ font-family: var(--kup-font-family);
51
+ font-size: 6px;
52
+ line-height: 9px;
53
+ font-weight: 400;
54
+ letter-spacing: 1px;
55
+ }
56
+
57
+ .kup-heading-compact-01 {
58
+ font-family: var(--kup-font-family);
59
+ font-size: 14px;
60
+ line-height: 18px;
61
+ font-weight: 600;
62
+ letter-spacing: 0.16px;
63
+ }
64
+
65
+ .kup-heading-01 {
66
+ font-family: var(--kup-font-family);
67
+ font-size: 14px;
68
+ line-height: 20px;
69
+ font-weight: 600;
70
+ letter-spacing: 0.16px;
71
+ }
72
+
73
+ .kup-heading-02 {
74
+ font-family: var(--kup-font-family);
75
+ font-size: 16px;
76
+ line-height: 24px;
77
+ font-weight: 500;
78
+ letter-spacing: 0;
79
+ }
80
+
81
+ .kup-heading-03 {
82
+ font-family: var(--kup-font-family);
83
+ font-size: 20px;
84
+ line-height: 28px;
85
+ font-weight: 400;
86
+ letter-spacing: 0;
87
+ }
88
+
89
+ .kup-heading-04 {
90
+ font-family: var(--kup-font-family);
91
+ font-size: 28px;
92
+ line-height: 36px;
93
+ font-weight: 400;
94
+ letter-spacing: 0;
95
+ }
96
+
97
+ .kup-heading-05 {
98
+ font-family: var(--kup-font-family);
99
+ font-size: 32px;
100
+ line-height: 40px;
101
+ font-weight: 300;
102
+ letter-spacing: 0;
103
+ }
104
+
105
+ .kup-heading-06 {
106
+ font-family: var(--kup-font-family);
107
+ font-size: 42px;
108
+ line-height: 50px;
109
+ font-weight: 300;
110
+ letter-spacing: 0;
111
+ }
112
+
113
+ .kup-heading-07 {
114
+ font-family: var(--kup-font-family);
115
+ font-size: 54px;
116
+ line-height: 64px;
117
+ font-weight: 300;
118
+ letter-spacing: 0;
119
+ }
120
+
121
+ .kup-heading-08 {
122
+ font-family: var(--kup-font-family);
123
+ font-size: 54px;
124
+ line-height: 64px;
125
+ font-weight: 600;
126
+ letter-spacing: 0;
127
+ }
128
+
1
129
  /**
2
130
  * @prop --kup-textfield-background-color-rgb: Sets the background shader of the field, must be a set of RGB values.
3
131
  * @prop --kup-textfield-color: Sets text color of the text field.
@@ -1,3 +1,131 @@
1
+ .kup-body-compact-01 {
2
+ font-family: var(--kup-font-family);
3
+ font-size: 14px;
4
+ line-height: 18px;
5
+ font-weight: 400;
6
+ letter-spacing: 0.16px;
7
+ }
8
+
9
+ .kup-body-01 {
10
+ font-family: var(--kup-font-family);
11
+ font-size: 14px;
12
+ line-height: 20px;
13
+ font-weight: 400;
14
+ letter-spacing: 0.16px;
15
+ }
16
+
17
+ .kup-code-01 {
18
+ font-family: var(--kup-font-family-monospace);
19
+ font-size: 12px;
20
+ line-height: 16px;
21
+ font-weight: 400;
22
+ letter-spacing: 0.32px;
23
+ }
24
+
25
+ .kup-label-01 {
26
+ font-family: var(--kup-font-family);
27
+ font-size: 12px;
28
+ line-height: 16px;
29
+ font-weight: 400;
30
+ letter-spacing: 0.32px;
31
+ }
32
+
33
+ .kup-caption-02 {
34
+ font-family: var(--kup-font-family);
35
+ font-size: 12px;
36
+ line-height: 15px;
37
+ font-weight: 500;
38
+ letter-spacing: 1px;
39
+ }
40
+
41
+ .kup-caption-01 {
42
+ font-family: var(--kup-font-family);
43
+ font-size: 10px;
44
+ line-height: 13px;
45
+ font-weight: 400;
46
+ letter-spacing: 1px;
47
+ }
48
+
49
+ .kup-small-label-01 {
50
+ font-family: var(--kup-font-family);
51
+ font-size: 6px;
52
+ line-height: 9px;
53
+ font-weight: 400;
54
+ letter-spacing: 1px;
55
+ }
56
+
57
+ .kup-heading-compact-01 {
58
+ font-family: var(--kup-font-family);
59
+ font-size: 14px;
60
+ line-height: 18px;
61
+ font-weight: 600;
62
+ letter-spacing: 0.16px;
63
+ }
64
+
65
+ .kup-heading-01 {
66
+ font-family: var(--kup-font-family);
67
+ font-size: 14px;
68
+ line-height: 20px;
69
+ font-weight: 600;
70
+ letter-spacing: 0.16px;
71
+ }
72
+
73
+ .kup-heading-02 {
74
+ font-family: var(--kup-font-family);
75
+ font-size: 16px;
76
+ line-height: 24px;
77
+ font-weight: 500;
78
+ letter-spacing: 0;
79
+ }
80
+
81
+ .kup-heading-03 {
82
+ font-family: var(--kup-font-family);
83
+ font-size: 20px;
84
+ line-height: 28px;
85
+ font-weight: 400;
86
+ letter-spacing: 0;
87
+ }
88
+
89
+ .kup-heading-04 {
90
+ font-family: var(--kup-font-family);
91
+ font-size: 28px;
92
+ line-height: 36px;
93
+ font-weight: 400;
94
+ letter-spacing: 0;
95
+ }
96
+
97
+ .kup-heading-05 {
98
+ font-family: var(--kup-font-family);
99
+ font-size: 32px;
100
+ line-height: 40px;
101
+ font-weight: 300;
102
+ letter-spacing: 0;
103
+ }
104
+
105
+ .kup-heading-06 {
106
+ font-family: var(--kup-font-family);
107
+ font-size: 42px;
108
+ line-height: 50px;
109
+ font-weight: 300;
110
+ letter-spacing: 0;
111
+ }
112
+
113
+ .kup-heading-07 {
114
+ font-family: var(--kup-font-family);
115
+ font-size: 54px;
116
+ line-height: 64px;
117
+ font-weight: 300;
118
+ letter-spacing: 0;
119
+ }
120
+
121
+ .kup-heading-08 {
122
+ font-family: var(--kup-font-family);
123
+ font-size: 54px;
124
+ line-height: 64px;
125
+ font-weight: 600;
126
+ letter-spacing: 0;
127
+ }
128
+
1
129
  :host {
2
130
  display: block;
3
131
  font-size: var(--kup-font-size);
@@ -1,3 +1,131 @@
1
+ .kup-body-compact-01 {
2
+ font-family: var(--kup-font-family);
3
+ font-size: 14px;
4
+ line-height: 18px;
5
+ font-weight: 400;
6
+ letter-spacing: 0.16px;
7
+ }
8
+
9
+ .kup-body-01 {
10
+ font-family: var(--kup-font-family);
11
+ font-size: 14px;
12
+ line-height: 20px;
13
+ font-weight: 400;
14
+ letter-spacing: 0.16px;
15
+ }
16
+
17
+ .kup-code-01 {
18
+ font-family: var(--kup-font-family-monospace);
19
+ font-size: 12px;
20
+ line-height: 16px;
21
+ font-weight: 400;
22
+ letter-spacing: 0.32px;
23
+ }
24
+
25
+ .kup-label-01 {
26
+ font-family: var(--kup-font-family);
27
+ font-size: 12px;
28
+ line-height: 16px;
29
+ font-weight: 400;
30
+ letter-spacing: 0.32px;
31
+ }
32
+
33
+ .kup-caption-02 {
34
+ font-family: var(--kup-font-family);
35
+ font-size: 12px;
36
+ line-height: 15px;
37
+ font-weight: 500;
38
+ letter-spacing: 1px;
39
+ }
40
+
41
+ .kup-caption-01 {
42
+ font-family: var(--kup-font-family);
43
+ font-size: 10px;
44
+ line-height: 13px;
45
+ font-weight: 400;
46
+ letter-spacing: 1px;
47
+ }
48
+
49
+ .kup-small-label-01 {
50
+ font-family: var(--kup-font-family);
51
+ font-size: 6px;
52
+ line-height: 9px;
53
+ font-weight: 400;
54
+ letter-spacing: 1px;
55
+ }
56
+
57
+ .kup-heading-compact-01 {
58
+ font-family: var(--kup-font-family);
59
+ font-size: 14px;
60
+ line-height: 18px;
61
+ font-weight: 600;
62
+ letter-spacing: 0.16px;
63
+ }
64
+
65
+ .kup-heading-01 {
66
+ font-family: var(--kup-font-family);
67
+ font-size: 14px;
68
+ line-height: 20px;
69
+ font-weight: 600;
70
+ letter-spacing: 0.16px;
71
+ }
72
+
73
+ .kup-heading-02 {
74
+ font-family: var(--kup-font-family);
75
+ font-size: 16px;
76
+ line-height: 24px;
77
+ font-weight: 500;
78
+ letter-spacing: 0;
79
+ }
80
+
81
+ .kup-heading-03 {
82
+ font-family: var(--kup-font-family);
83
+ font-size: 20px;
84
+ line-height: 28px;
85
+ font-weight: 400;
86
+ letter-spacing: 0;
87
+ }
88
+
89
+ .kup-heading-04 {
90
+ font-family: var(--kup-font-family);
91
+ font-size: 28px;
92
+ line-height: 36px;
93
+ font-weight: 400;
94
+ letter-spacing: 0;
95
+ }
96
+
97
+ .kup-heading-05 {
98
+ font-family: var(--kup-font-family);
99
+ font-size: 32px;
100
+ line-height: 40px;
101
+ font-weight: 300;
102
+ letter-spacing: 0;
103
+ }
104
+
105
+ .kup-heading-06 {
106
+ font-family: var(--kup-font-family);
107
+ font-size: 42px;
108
+ line-height: 50px;
109
+ font-weight: 300;
110
+ letter-spacing: 0;
111
+ }
112
+
113
+ .kup-heading-07 {
114
+ font-family: var(--kup-font-family);
115
+ font-size: 54px;
116
+ line-height: 64px;
117
+ font-weight: 300;
118
+ letter-spacing: 0;
119
+ }
120
+
121
+ .kup-heading-08 {
122
+ font-family: var(--kup-font-family);
123
+ font-size: 54px;
124
+ line-height: 64px;
125
+ font-weight: 600;
126
+ letter-spacing: 0;
127
+ }
128
+
1
129
  /**
2
130
  * @prop --kup-tree-border: Sets border of the component.
3
131
  * @prop --kup-tree-color: Sets text color of the component.
@@ -140,6 +140,7 @@ export const editableTypes = [
140
140
  FCellTypes.MULTI_AUTOCOMPLETE,
141
141
  FCellTypes.MULTI_COMBOBOX,
142
142
  FCellTypes.NUMBER,
143
+ FCellTypes.RADIO,
143
144
  FCellTypes.RATING,
144
145
  FCellTypes.STRING,
145
146
  FCellTypes.SWITCH,
@@ -15,6 +15,8 @@ import { FProgressBar } from "../f-progress-bar/f-progress-bar";
15
15
  import { FRadio } from "../f-radio/f-radio";
16
16
  import { FRating } from "../f-rating/f-rating";
17
17
  const dom = document.documentElement;
18
+ let touchEndTime = 0;
19
+ let touchStartTime = 0;
18
20
  /*-------------------------------------------------*/
19
21
  /* C o m p o n e n t */
20
22
  /*-------------------------------------------------*/
@@ -39,6 +41,9 @@ export const FCell = (props, children) => {
39
41
  : column.cssClass
40
42
  ? column.cssClass
41
43
  : '';
44
+ if (props.component.legacyLook) {
45
+ cssClasses += ' monospace c-pre';
46
+ }
42
47
  const classObj = {
43
48
  'f-cell': true,
44
49
  [FCellClasses.OBJ]: hasObj ? true : false,
@@ -108,7 +113,27 @@ export const FCell = (props, children) => {
108
113
  }
109
114
  return (h("div", { onKeyUp: (e) => cellEvent(e, props, cellType, FCellEvents.KEYUP), class: classObj, "kup-get-cell-props": () => {
110
115
  return props;
111
- }, ref: (el) => (cell.element = el), style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
116
+ }, onTouchEnd: dom.ketchup.interact.isMobileDevice()
117
+ ? () => {
118
+ if (touchStartTime) {
119
+ touchEndTime = performance.now();
120
+ const delta = touchEndTime - touchStartTime;
121
+ // 600ms is interact's default "hold" value
122
+ if (delta < 600) {
123
+ const newEvt = document.createEvent('MouseEvents');
124
+ cellEvent(newEvt, props, cellType, FCellEvents.CLICK);
125
+ }
126
+ touchEndTime = 0;
127
+ touchStartTime = 0;
128
+ }
129
+ }
130
+ : null, onTouchStart: dom.ketchup.interact.isMobileDevice()
131
+ ? (e) => {
132
+ touchEndTime = 0;
133
+ touchStartTime = performance.now();
134
+ e.preventDefault();
135
+ }
136
+ : null, ref: (el) => (cell.element = el), style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
112
137
  ? children
113
138
  : [props.indents, infoEl, icon, content])));
114
139
  };
@@ -232,6 +257,20 @@ function setEditableCell(cellType, classObj, cell, column, props) {
232
257
  return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-autocomplete", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), showDropDownIcon: false }, cell.slotData))));
233
258
  case FCellTypes.MULTI_COMBOBOX:
234
259
  return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData))));
260
+ case FCellTypes.RADIO:
261
+ return (h(FRadio, Object.assign({}, cell.data, { disabled: false, onChange: (i, e) => {
262
+ const radioData = cell.data.data;
263
+ for (let index = 0; index < radioData.length; index++) {
264
+ const radioEl = radioData[index];
265
+ if (index === i) {
266
+ radioEl.checked = true;
267
+ }
268
+ else {
269
+ radioEl.checked = false;
270
+ }
271
+ }
272
+ cellEvent(e, props, cellType, FCellEvents.UPDATE);
273
+ } })));
235
274
  case FCellTypes.RATING:
236
275
  return (h("kup-rating", Object.assign({ key: column.name + props.row.id }, cell.data, { disabled: false, "onkup-rating-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
237
276
  case FCellTypes.SWITCH:
@@ -376,8 +415,8 @@ function cellEvent(e, props, cellType, cellEventName) {
376
415
  const column = props.column;
377
416
  const comp = props.component;
378
417
  const row = props.row;
379
- let value = getValueFromEventTaget(e, cellType);
380
418
  if (cellEventName === FCellEvents.UPDATE) {
419
+ let value = getValueFromEventTaget(e, cellType);
381
420
  switch (cellType) {
382
421
  case FCellTypes.AUTOCOMPLETE:
383
422
  case FCellTypes.COMBOBOX:
@@ -395,6 +434,9 @@ function cellEvent(e, props, cellType, cellEventName) {
395
434
  value === '0' ? false : true;
396
435
  }
397
436
  break;
437
+ case FCellTypes.RADIO:
438
+ // data change handled outside this switchcase to avoid passing the index
439
+ break;
398
440
  case FCellTypes.CHIP:
399
441
  case FCellTypes.MULTI_AUTOCOMPLETE:
400
442
  case FCellTypes.MULTI_COMBOBOX:
@@ -8,6 +8,9 @@ const dom = document.documentElement;
8
8
  /* C o m p o n e n t */
9
9
  /*-------------------------------------------------*/
10
10
  export const FPaginator = (props) => {
11
+ if (!props.perPage) {
12
+ props.perPage = 10;
13
+ }
11
14
  const maxNumberOfPage = Math.ceil(props.max / props.perPage);
12
15
  const pageItems = getPageItems(props, maxNumberOfPage);
13
16
  const rowsPerPageItems = getRowsItems(props);
@@ -1,4 +1,5 @@
1
1
  import dayjs from "dayjs";
2
+ import utc from "dayjs/plugin/utc";
2
3
  import customParseFormat from "dayjs/plugin/customParseFormat";
3
4
  import localizedFormat from "dayjs/plugin/localizedFormat";
4
5
  import minMax from "dayjs/plugin/minMax";
@@ -31,16 +32,24 @@ export class KupDates {
31
32
  * Parses a Date string to JS Date Object
32
33
  *
33
34
  * @param {string} ymd - The string to be converted to Date.
34
- */
35
- this.parseToDayStart = (ymd) => dayjs(ymd).toDate();
36
- this.parseToDayEnd = (endDate) => dayjs(endDate).add(23, 'hour').add(59, 'minute').add(59, 'second').toDate();
35
+ */
36
+ this.parseToDayStart = (ymd) => {
37
+ return dayjs(ymd).toDate();
38
+ };
39
+ this.parseToDayEnd = (endDate) => {
40
+ return dayjs(endDate)
41
+ .set('hour', 23)
42
+ .set('minute', 59)
43
+ .set('second', 59)
44
+ .toDate();
45
+ };
37
46
  /**
38
47
  * Returns Start and end date of given dates
39
48
  *
40
49
  * @param {string} startDate - The start date string.
41
50
  * @param {string} endDate - The end date string.
42
51
  * @param {string} _name
43
- */
52
+ */
44
53
  this.validDates = (startDate, endDate, _name) => {
45
54
  let start = this.parseToDayStart(startDate);
46
55
  const end = this.parseToDayEnd(endDate);
@@ -49,10 +58,11 @@ export class KupDates {
49
58
  }
50
59
  return { start, end };
51
60
  };
52
- this.formatToLocaleSimple = (date) => dayjs(date).format("DD/MM/YYYY");
61
+ this.formatToLocaleSimple = (date) => dayjs(date).format('DD/MM/YYYY');
53
62
  this.managedComponents = new Set();
54
63
  this.setLocale(locale);
55
64
  this.dayjs = dayjs;
65
+ dayjs.extend(utc);
56
66
  dayjs.extend(customParseFormat);
57
67
  dayjs.extend(localizedFormat);
58
68
  dayjs.extend(minMax);
@@ -179,7 +189,7 @@ export class KupDates {
179
189
  if (!format) {
180
190
  format = 'L'; // MM/DD/YYYY, DD/MM/YYYY depending on locale
181
191
  }
182
- return dayjs(input).format(format);
192
+ return dayjs.utc(input).format(format);
183
193
  }
184
194
  /**
185
195
  * Gets the time formatted
@@ -231,10 +241,10 @@ export class KupDates {
231
241
  */
232
242
  toDate(input, format) {
233
243
  if (format && format != null) {
234
- return dayjs(input, format).toDate();
244
+ return dayjs.utc(input, format).toDate();
235
245
  }
236
246
  else {
237
- return dayjs(input).toDate();
247
+ return dayjs.utc(input).toDate();
238
248
  }
239
249
  }
240
250
  /**
@@ -240,6 +240,13 @@ export class KupInteract {
240
240
  interact(el).dropzone(options);
241
241
  this.managedElements.add(el);
242
242
  }
243
+ /**
244
+ * Tests whether the current device is mobile or not.
245
+ * @returns {boolean} Returns true when it's a mobile device
246
+ */
247
+ isMobileDevice() {
248
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
249
+ }
243
250
  /**
244
251
  * Sets up a new resizable element.
245
252
  * @param {HTMLElement} el - The resizable element.