@sme.up/ketchup 11.0.0-SNAPSHOT-20241217120821 → 11.0.0-SNAPSHOT-20241217144747

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 (253) hide show
  1. package/dist/cjs/{f-cell-f64ce26f.js → f-cell-00ed0f88.js} +2 -2
  2. package/dist/cjs/ketchup.cjs.js +1 -1
  3. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +88 -67
  4. package/dist/cjs/kup-box.cjs.entry.js +1 -1
  5. package/dist/cjs/kup-calendar.cjs.entry.js +3 -2
  6. package/dist/cjs/kup-cell.cjs.entry.js +3 -3
  7. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
  8. package/dist/cjs/kup-dashboard.cjs.entry.js +1 -1
  9. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  11. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  12. package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
  13. package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
  14. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-image-list.cjs.entry.js +4 -4
  16. package/dist/cjs/kup-input-panel.cjs.entry.js +3 -3
  17. package/dist/cjs/kup-lazy.cjs.entry.js +11 -11
  18. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  19. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-object-field.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-planner.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  27. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  30. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  32. package/dist/cjs/loader.cjs.js +1 -1
  33. package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +1 -0
  34. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +38 -10
  35. package/dist/collection/components/kup-calendar/kup-calendar.js +24 -2
  36. package/dist/collection/components/kup-cell/kup-cell.js +2 -2
  37. package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
  38. package/dist/collection/components/kup-chip/kup-chip.js +2 -2
  39. package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
  40. package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
  41. package/dist/collection/components/kup-combobox/kup-combobox.js +46 -11
  42. package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
  43. package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
  44. package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
  45. package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
  46. package/dist/collection/components/kup-echart/kup-echart.js +1 -1
  47. package/dist/collection/components/kup-editor/kup-editor.js +1 -1
  48. package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
  49. package/dist/collection/components/kup-form/kup-form.js +2 -2
  50. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  51. package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
  52. package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
  53. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  54. package/dist/collection/components/kup-list/kup-list-helper.js +3 -1
  55. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  56. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  57. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  58. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  59. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  60. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  61. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  62. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  63. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  64. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  65. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  66. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  67. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  68. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  69. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  70. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  71. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  72. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  73. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  74. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  75. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  76. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  77. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  78. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  79. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  80. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  81. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  82. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  83. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  84. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  85. package/dist/collection/components/kup-typography/kup-typography.js +1 -1
  86. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  87. package/dist/collection/f-components/f-cell/f-cell.js +2 -2
  88. package/dist/components/kup-accordion.js +1 -1
  89. package/dist/components/kup-activity-timeline.js +1 -1
  90. package/dist/components/kup-autocomplete.js +1 -1
  91. package/dist/components/kup-badge.js +1 -1
  92. package/dist/components/kup-box.js +1 -1
  93. package/dist/components/kup-button-list.js +1 -1
  94. package/dist/components/kup-button.js +1 -1
  95. package/dist/components/kup-calendar.js +5 -3
  96. package/dist/components/kup-card-list.js +2 -2
  97. package/dist/components/kup-card.js +1 -1
  98. package/dist/components/kup-cell.js +3 -3
  99. package/dist/components/kup-chart.js +1 -1
  100. package/dist/components/kup-checkbox.js +1 -1
  101. package/dist/components/kup-chip.js +1 -1
  102. package/dist/components/kup-color-picker.js +1 -1
  103. package/dist/components/kup-combobox.js +1 -1
  104. package/dist/components/kup-custom-task-list-header.js +1 -1
  105. package/dist/components/kup-dashboard.js +2 -2
  106. package/dist/components/kup-data-table.js +1 -1
  107. package/dist/components/kup-date-picker.js +1 -1
  108. package/dist/components/kup-dialog.js +1 -1
  109. package/dist/components/kup-drawer.js +3 -3
  110. package/dist/components/kup-dropdown-button.js +1 -1
  111. package/dist/components/kup-echart.js +1 -1
  112. package/dist/components/kup-editor.js +1 -1
  113. package/dist/components/kup-family-tree.js +4 -4
  114. package/dist/components/kup-form.js +1 -1
  115. package/dist/components/kup-gantt-calendar.js +1 -1
  116. package/dist/components/kup-gantt.js +1 -1
  117. package/dist/components/kup-gauge.js +1 -1
  118. package/dist/components/kup-grid-renderer.js +1 -1
  119. package/dist/components/kup-grid.js +1 -1
  120. package/dist/components/kup-horizontal-scroll.js +1 -1
  121. package/dist/components/kup-htm.js +2 -2
  122. package/dist/components/kup-iframe.js +1 -1
  123. package/dist/components/kup-image-list.js +4 -4
  124. package/dist/components/kup-image.js +1 -1
  125. package/dist/components/kup-input-panel.js +4 -4
  126. package/dist/components/kup-lazy.js +12 -12
  127. package/dist/components/kup-list.js +1 -1
  128. package/dist/components/kup-magic-box.js +6 -6
  129. package/dist/components/kup-nav-bar.js +2 -2
  130. package/dist/components/kup-numeric-picker.js +2 -2
  131. package/dist/components/kup-object-field.js +2 -2
  132. package/dist/components/kup-pdf.js +2 -2
  133. package/dist/components/kup-photo-frame.js +3 -3
  134. package/dist/components/kup-planner-renderer.js +1 -1
  135. package/dist/components/kup-planner.js +16 -16
  136. package/dist/components/kup-probe.js +2 -2
  137. package/dist/components/kup-progress-bar.js +1 -1
  138. package/dist/components/kup-qlik.js +2 -2
  139. package/dist/components/kup-radio.js +1 -1
  140. package/dist/components/kup-rating.js +1 -1
  141. package/dist/components/kup-snackbar.js +2 -2
  142. package/dist/components/kup-spinner.js +1 -1
  143. package/dist/components/kup-standard-tooltip.js +1 -1
  144. package/dist/components/kup-switch.js +1 -1
  145. package/dist/components/kup-switcher.js +1 -1
  146. package/dist/components/kup-tab-bar.js +1 -1
  147. package/dist/components/kup-task-gantt.js +1 -1
  148. package/dist/components/kup-task-list-header.js +1 -1
  149. package/dist/components/kup-task-list-table.js +1 -1
  150. package/dist/components/kup-task-list.js +1 -1
  151. package/dist/components/kup-text-field.js +1 -1
  152. package/dist/components/kup-time-picker.js +1 -1
  153. package/dist/components/kup-toolbar.js +1 -1
  154. package/dist/components/kup-tooltip.js +1 -1
  155. package/dist/components/kup-tree.js +1 -1
  156. package/dist/components/kup-txt.js +2 -2
  157. package/dist/components/kup-typography-list.js +2 -2
  158. package/dist/components/kup-typography.js +2 -2
  159. package/dist/components/kup-vertical-scroll.js +1 -1
  160. package/dist/components/{p-c97810e2.js → p-036b91a6.js} +1 -1
  161. package/dist/components/{p-a351db24.js → p-03aeb562.js} +2 -2
  162. package/dist/components/{p-3466bd5a.js → p-08373053.js} +1 -1
  163. package/dist/components/{p-776a38a0.js → p-41f531df.js} +15 -15
  164. package/dist/components/{p-822c3930.js → p-4311404d.js} +1 -1
  165. package/dist/components/{p-79c12fc7.js → p-4c7ef355.js} +2 -2
  166. package/dist/components/{p-f7c2ca1d.js → p-4d095265.js} +4 -4
  167. package/dist/components/{p-ff8bdafd.js → p-535c2227.js} +7 -7
  168. package/dist/components/{p-af3fcbd9.js → p-55e884c9.js} +3 -3
  169. package/dist/components/{p-ba7c1486.js → p-6c4f637c.js} +1 -1
  170. package/dist/components/{p-42f0b488.js → p-8353abf2.js} +2 -2
  171. package/dist/components/{p-f8c96edc.js → p-9793001e.js} +1 -1
  172. package/dist/components/{p-3bc624c9.js → p-9da60133.js} +1 -1
  173. package/dist/components/{p-22b40453.js → p-9de12833.js} +2 -2
  174. package/dist/components/{p-be17920c.js → p-a9d55e91.js} +2 -2
  175. package/dist/components/{p-babf447c.js → p-b275e6a3.js} +2 -2
  176. package/dist/components/{p-d8b0f5eb.js → p-d54bf97d.js} +5 -5
  177. package/dist/components/{p-074b0557.js → p-d797e199.js} +93 -69
  178. package/dist/components/{p-ae5af2ad.js → p-ddee2d87.js} +13 -13
  179. package/dist/esm/{f-cell-1256023f.js → f-cell-23d78e15.js} +2 -2
  180. package/dist/esm/ketchup.js +1 -1
  181. package/dist/esm/kup-autocomplete_28.entry.js +88 -67
  182. package/dist/esm/kup-box.entry.js +1 -1
  183. package/dist/esm/kup-calendar.entry.js +3 -2
  184. package/dist/esm/kup-cell.entry.js +3 -3
  185. package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
  186. package/dist/esm/kup-dashboard.entry.js +1 -1
  187. package/dist/esm/kup-drawer.entry.js +2 -2
  188. package/dist/esm/kup-echart.entry.js +1 -1
  189. package/dist/esm/kup-editor.entry.js +1 -1
  190. package/dist/esm/kup-family-tree.entry.js +2 -2
  191. package/dist/esm/kup-gantt_10.entry.js +23 -23
  192. package/dist/esm/kup-htm.entry.js +1 -1
  193. package/dist/esm/kup-image-list.entry.js +4 -4
  194. package/dist/esm/kup-input-panel.entry.js +3 -3
  195. package/dist/esm/kup-lazy.entry.js +11 -11
  196. package/dist/esm/kup-magic-box.entry.js +3 -3
  197. package/dist/esm/kup-nav-bar.entry.js +1 -1
  198. package/dist/esm/kup-numeric-picker.entry.js +1 -1
  199. package/dist/esm/kup-object-field.entry.js +1 -1
  200. package/dist/esm/kup-pdf.entry.js +1 -1
  201. package/dist/esm/kup-photo-frame.entry.js +2 -2
  202. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  203. package/dist/esm/kup-planner.entry.js +1 -1
  204. package/dist/esm/kup-probe.entry.js +1 -1
  205. package/dist/esm/kup-qlik.entry.js +1 -1
  206. package/dist/esm/kup-snackbar.entry.js +1 -1
  207. package/dist/esm/kup-txt.entry.js +1 -1
  208. package/dist/esm/kup-typography-list.entry.js +1 -1
  209. package/dist/esm/kup-typography.entry.js +1 -1
  210. package/dist/esm/loader.js +1 -1
  211. package/dist/ketchup/ketchup.esm.js +1 -1
  212. package/dist/ketchup/{p-03626088.entry.js → p-14cd74b9.entry.js} +1 -1
  213. package/dist/ketchup/{p-f8c3b45b.entry.js → p-155f8ac8.entry.js} +1 -1
  214. package/dist/ketchup/{p-40b2e7e1.entry.js → p-191ffef4.entry.js} +1 -1
  215. package/dist/ketchup/{p-43e904b4.entry.js → p-213ec175.entry.js} +1 -1
  216. package/dist/ketchup/{p-c82def8f.entry.js → p-2685e746.entry.js} +1 -1
  217. package/dist/ketchup/{p-c143bb4f.entry.js → p-26ea9370.entry.js} +1 -1
  218. package/dist/ketchup/{p-2a0f6208.entry.js → p-270e166f.entry.js} +1 -1
  219. package/dist/ketchup/{p-383f0f64.entry.js → p-2c731626.entry.js} +1 -1
  220. package/dist/ketchup/{p-35e91a38.entry.js → p-2c7b2e13.entry.js} +1 -1
  221. package/dist/ketchup/p-32542996.entry.js +1 -0
  222. package/dist/ketchup/{p-7f2d6c8f.entry.js → p-3325cc15.entry.js} +1 -1
  223. package/dist/ketchup/{p-f3dcab80.entry.js → p-3ed6f1f5.entry.js} +1 -1
  224. package/dist/ketchup/p-46f52864.js +1 -0
  225. package/dist/ketchup/{p-47f63cc8.entry.js → p-4b2f6b96.entry.js} +1 -1
  226. package/dist/ketchup/{p-47ac897e.entry.js → p-58834d9a.entry.js} +1 -1
  227. package/dist/ketchup/p-599054a5.entry.js +16 -0
  228. package/dist/ketchup/{p-6242a54b.entry.js → p-61afb3e9.entry.js} +1 -1
  229. package/dist/ketchup/{p-801e0a58.entry.js → p-7dc67db6.entry.js} +1 -1
  230. package/dist/ketchup/{p-18ad3d25.entry.js → p-7f6b336d.entry.js} +1 -1
  231. package/dist/ketchup/{p-9ccb907e.entry.js → p-8413123b.entry.js} +1 -1
  232. package/dist/ketchup/{p-3aa599f4.entry.js → p-894e500b.entry.js} +1 -1
  233. package/dist/ketchup/p-8c65306d.entry.js +9 -0
  234. package/dist/ketchup/{p-f93fb43f.entry.js → p-994dd8aa.entry.js} +1 -1
  235. package/dist/ketchup/{p-21d05b2e.entry.js → p-a18842d7.entry.js} +1 -1
  236. package/dist/ketchup/{p-f81e7e01.entry.js → p-ab182c69.entry.js} +1 -1
  237. package/dist/ketchup/{p-d631b997.entry.js → p-ac327d1d.entry.js} +1 -1
  238. package/dist/ketchup/{p-193ae04f.entry.js → p-b0804c47.entry.js} +1 -1
  239. package/dist/ketchup/{p-36e492ac.entry.js → p-b10051e0.entry.js} +1 -1
  240. package/dist/ketchup/{p-612b260c.entry.js → p-eddd687c.entry.js} +1 -1
  241. package/dist/ketchup/{p-f7cb2d15.entry.js → p-f8cd1c6d.entry.js} +1 -1
  242. package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +1 -0
  243. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +5 -1
  244. package/dist/types/components/kup-calendar/kup-calendar.d.ts +5 -0
  245. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +1 -0
  246. package/dist/types/components/kup-combobox/kup-combobox.d.ts +6 -1
  247. package/dist/types/components.d.ts +28 -2
  248. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
  249. package/package.json +1 -1
  250. package/dist/ketchup/p-06670b74.entry.js +0 -16
  251. package/dist/ketchup/p-4bb016dc.entry.js +0 -9
  252. package/dist/ketchup/p-5892775a.js +0 -1
  253. package/dist/ketchup/p-7c553de7.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,f as e,h as s,H as a,d as i}from"./p-b0368f88.js";import{F as o}from"./p-86b84c19.js";import{k as r,g as c}from"./p-6ba2a784.js";import{c as n}from"./p-635bb4b3.js";import"./p-1bdc7796.js";import"./p-e3062c19.js";import"./p-d1c818ae.js";import"./p-651af91d.js";import"./p-1ee561ba.js";var d;!function(t){t.customStyle="Custom style of the component.",t.data="Actual data of the component."}(d||(d={}));var f,h=function(t,e,s,a){if("a"===s&&!a)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:e.get(t)};const p=class{constructor(e){t(this,e),f.set(this,r()),this.inputValue="",this.customStyle="",this.data={}}async getValue(){return this.inputValue}async getProps(t){return c(this,d,t)}async refresh(){e(this)}async setValue(t){this.inputValue=t}componentWillLoad(){h(this,f,"f").debug.logLoad(this,!1),h(this,f,"f").theme.register(this)}componentDidLoad(){h(this,f,"f").debug.logLoad(this,!0)}componentWillRender(){h(this,f,"f").debug.logRender(this,!1)}componentDidRender(){h(this,f,"f").debug.logRender(this,!0)}render(){var t;const e={data:null!==(t=this.data)&&void 0!==t?t:{},inputValue:this.inputValue};return s(a,{key:"c50277b235f4bbe5945086c619d1a747d83f4172"},s("style",{key:"c238a76b7a96eb1c8ae29edb1d6241540a6deb01"},h(this,f,"f").theme.setKupStyle(this.rootElement)),s("div",{key:"78fd4c7c17b76033f7e11d741086065bc9beed5a",id:n},s(o,Object.assign({key:"a2b16512ef5eec7e4c45f8116d3d5fc6aca2cb93"},e))))}disconnectedCallback(){h(this,f,"f").theme.unregister(this)}get rootElement(){return i(this)}};f=new WeakMap,p.style="";export{p as kup_object_field}
1
+ import{r as t,f as e,h as s,H as a,d as i}from"./p-b0368f88.js";import{F as o}from"./p-86b84c19.js";import{k as r,g as c}from"./p-6ba2a784.js";import{c as n}from"./p-635bb4b3.js";import"./p-1bdc7796.js";import"./p-e3062c19.js";import"./p-d1c818ae.js";import"./p-651af91d.js";import"./p-1ee561ba.js";var f;!function(t){t.customStyle="Custom style of the component.",t.data="Actual data of the component."}(f||(f={}));var d,h=function(t,e,s,a){if("a"===s&&!a)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:e.get(t)};const p=class{constructor(e){t(this,e),d.set(this,r()),this.inputValue="",this.customStyle="",this.data={}}async getValue(){return this.inputValue}async getProps(t){return c(this,f,t)}async refresh(){e(this)}async setValue(t){this.inputValue=t}componentWillLoad(){h(this,d,"f").debug.logLoad(this,!1),h(this,d,"f").theme.register(this)}componentDidLoad(){h(this,d,"f").debug.logLoad(this,!0)}componentWillRender(){h(this,d,"f").debug.logRender(this,!1)}componentDidRender(){h(this,d,"f").debug.logRender(this,!0)}render(){var t;const e={data:null!==(t=this.data)&&void 0!==t?t:{},inputValue:this.inputValue};return s(a,{key:"64b0ed1c52ab60b6b62f37e2540c615c7734df2b"},s("style",{key:"632c2c4ea945e8f2229026b139716e20afd3c513"},h(this,d,"f").theme.setKupStyle(this.rootElement)),s("div",{key:"83e433664f2a2a2f9cccd96fec89be504683d860",id:n},s(o,Object.assign({key:"dc274a9635608d774373bfa27f068fc2ad7d38b4"},e))))}disconnectedCallback(){h(this,d,"f").theme.unregister(this)}get rootElement(){return i(this)}};d=new WeakMap,p.style="";export{p as kup_object_field}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,H as a,d as n}from"./p-b0368f88.js";import{k as s,g as p,s as f}from"./p-6ba2a784.js";import{c as h}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var r;!function(t){t.customStyle="Custom style of the component.",t.placeholderAttrs="Html attributes of the picture before the component enters the viewport.",t.resourceAttrs="Html attributes of the picture after the component enters the viewport."}(r||(r={}));var l,c,d,m,u,g,k=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},y=function(t,e,i,o,a){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?a.call(t,i):a?a.value=i:e.set(t,i),i};const w=class{constructor(i){t(this,i),this.kupPhotoFramePlaceholderLoad=e(this,"kup-photoframe-placeholderload",6),this.kupPhotoFrameResourceLoad=e(this,"kup-photoframe-resourceload",6),l.set(this,null),c.set(this,s()),d.set(this,null),m.set(this,null),u.set(this,!1),g.set(this,null),this.isInViewport=!1,this.customStyle="",this.placeholderAttrs={},this.resourceAttrs={},this.threshold=.25}async getProps(t){return p(this,r,t)}async refresh(){i(this)}async setProps(t){f(this,r,t)}setObserver(){y(this,l,new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.isInViewport=!0,k(this,l,"f").unobserve(this.rootElement))}))}),{threshold:this.threshold}),"f")}componentWillLoad(){k(this,c,"f").debug.logLoad(this,!1),k(this,c,"f").theme.register(this),this.setObserver()}componentDidLoad(){k(this,c,"f").debug.logLoad(this,!0)}componentWillRender(){k(this,c,"f").debug.logRender(this,!1)}componentDidRender(){k(this,c,"f").debug.logRender(this,!0)}render(){return this.isInViewport&&!k(this,u,"f")&&y(this,u,!0,"f"),o(a,{key:"1ef1d33f9d166a88c06992b34c92c6ffbe2571e5"},o("style",{key:"19ec6c7e0eece08b10c74dcccd872a80a5c376b6"},k(this,c,"f").theme.setKupStyle(this.rootElement)),o("div",{key:"92e2b1633bfb1bc8552789ea130d4730f06630a3",id:h,ref:t=>{y(this,g,t,"f")}},o("img",Object.assign({key:"1ed369fd4c2abb9050f16a81f01b3167a31e1852"},this.placeholderAttrs,{class:"placeholder",ref:t=>y(this,d,t,"f"),onLoad:()=>{k(this,d,"f").naturalWidth>k(this,d,"f").naturalHeight?k(this,g,"f").classList.add("horizontal"):k(this,g,"f").classList.add("vertical"),k(this,l,"f").observe(this.rootElement),k(this,d,"f").classList.add("placeholder--loaded"),this.kupPhotoFramePlaceholderLoad.emit({comp:this,id:this.rootElement.id})}})),k(this,u,"f")?o("img",Object.assign({},this.resourceAttrs,{class:"resource",ref:t=>y(this,m,t,"f"),onLoad:()=>{k(this,d,"f").classList.add("placeholder--fade-out"),k(this,m,"f").classList.add("resource--fade-in"),this.kupPhotoFrameResourceLoad.emit({comp:this,id:this.rootElement.id})}})):null))}disconnectedCallback(){var t;k(this,c,"f").theme.unregister(this),null===(t=k(this,l,"f"))||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};l=new WeakMap,c=new WeakMap,d=new WeakMap,m=new WeakMap,u=new WeakMap,g=new WeakMap,w.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_photoframe_border:var(\n --kup-photoframe-border,\n 1px inset var(--kup-border-subtle)\n );--kup_photoframe_fade_out_time:var(--kup-photoframe-fade-out-time, 2000ms);border:var(--kup_photoframe_border);display:block;height:100%;position:relative;width:100%}#kup-component{position:relative;height:100%;width:100%}img{max-height:100%;max-width:100%}.horizontal img{width:100%}.vertical img{height:100%}.placeholder{display:none;transition:opacity var(--kup_photoframe_fade_out_time) ease-out;will-change:opacity;z-index:1}.placeholder--loaded{display:block}.placeholder--fade-out{opacity:0;position:absolute}.resource{display:none;left:0;position:absolute;top:0;z-index:0}.resource--fade-in{display:block;position:relative}:host(.kup-fit) img{height:100%;object-fit:cover;width:100%}";export{w as kup_photo_frame}
1
+ import{r as t,c as e,f as i,h as o,H as a,d as n}from"./p-b0368f88.js";import{k as s,g as p,s as h}from"./p-6ba2a784.js";import{c as f}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var r;!function(t){t.customStyle="Custom style of the component.",t.placeholderAttrs="Html attributes of the picture before the component enters the viewport.",t.resourceAttrs="Html attributes of the picture after the component enters the viewport."}(r||(r={}));var l,c,d,m,u,g,k=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},y=function(t,e,i,o,a){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?a.call(t,i):a?a.value=i:e.set(t,i),i};const b=class{constructor(i){t(this,i),this.kupPhotoFramePlaceholderLoad=e(this,"kup-photoframe-placeholderload",6),this.kupPhotoFrameResourceLoad=e(this,"kup-photoframe-resourceload",6),l.set(this,null),c.set(this,s()),d.set(this,null),m.set(this,null),u.set(this,!1),g.set(this,null),this.isInViewport=!1,this.customStyle="",this.placeholderAttrs={},this.resourceAttrs={},this.threshold=.25}async getProps(t){return p(this,r,t)}async refresh(){i(this)}async setProps(t){h(this,r,t)}setObserver(){y(this,l,new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.isInViewport=!0,k(this,l,"f").unobserve(this.rootElement))}))}),{threshold:this.threshold}),"f")}componentWillLoad(){k(this,c,"f").debug.logLoad(this,!1),k(this,c,"f").theme.register(this),this.setObserver()}componentDidLoad(){k(this,c,"f").debug.logLoad(this,!0)}componentWillRender(){k(this,c,"f").debug.logRender(this,!1)}componentDidRender(){k(this,c,"f").debug.logRender(this,!0)}render(){return this.isInViewport&&!k(this,u,"f")&&y(this,u,!0,"f"),o(a,{key:"fced79527b2a6530e421a5da370fc92c3b856bab"},o("style",{key:"9f3a8702d820381ce546b1da05a1a59bf18241a3"},k(this,c,"f").theme.setKupStyle(this.rootElement)),o("div",{key:"4ac2c7956b8602bb1ba65911e84576658973a805",id:f,ref:t=>{y(this,g,t,"f")}},o("img",Object.assign({key:"78a244bdcc4ba6d8e9310a3ebf1c7c20a0e560b9"},this.placeholderAttrs,{class:"placeholder",ref:t=>y(this,d,t,"f"),onLoad:()=>{k(this,d,"f").naturalWidth>k(this,d,"f").naturalHeight?k(this,g,"f").classList.add("horizontal"):k(this,g,"f").classList.add("vertical"),k(this,l,"f").observe(this.rootElement),k(this,d,"f").classList.add("placeholder--loaded"),this.kupPhotoFramePlaceholderLoad.emit({comp:this,id:this.rootElement.id})}})),k(this,u,"f")?o("img",Object.assign({},this.resourceAttrs,{class:"resource",ref:t=>y(this,m,t,"f"),onLoad:()=>{k(this,d,"f").classList.add("placeholder--fade-out"),k(this,m,"f").classList.add("resource--fade-in"),this.kupPhotoFrameResourceLoad.emit({comp:this,id:this.rootElement.id})}})):null))}disconnectedCallback(){var t;k(this,c,"f").theme.unregister(this),null===(t=k(this,l,"f"))||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};l=new WeakMap,c=new WeakMap,d=new WeakMap,m=new WeakMap,u=new WeakMap,g=new WeakMap,b.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_photoframe_border:var(\n --kup-photoframe-border,\n 1px inset var(--kup-border-subtle)\n );--kup_photoframe_fade_out_time:var(--kup-photoframe-fade-out-time, 2000ms);border:var(--kup_photoframe_border);display:block;height:100%;position:relative;width:100%}#kup-component{position:relative;height:100%;width:100%}img{max-height:100%;max-width:100%}.horizontal img{width:100%}.vertical img{height:100%}.placeholder{display:none;transition:opacity var(--kup_photoframe_fade_out_time) ease-out;will-change:opacity;z-index:1}.placeholder--loaded{display:block}.placeholder--fade-out{opacity:0;position:absolute}.resource{display:none;left:0;position:absolute;top:0;z-index:0}.resource--fade-in{display:block;position:relative}:host(.kup-fit) img{height:100%;object-fit:cover;width:100%}";export{b as kup_photo_frame}