@sme.up/ketchup 11.0.0-SNAPSHOT-20241119100308 → 11.0.0-SNAPSHOT-20241119152316

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 (172) hide show
  1. package/dist/cjs/{f-cell-121c7e46.js → f-cell-000ee01d.js} +4 -4
  2. package/dist/cjs/{f-cell-121c7e46.js.map → f-cell-000ee01d.js.map} +1 -1
  3. package/dist/cjs/{f-chip-29e9258a.js → f-chip-752377d0.js} +2 -2
  4. package/dist/cjs/{f-chip-29e9258a.js.map → f-chip-752377d0.js.map} +1 -1
  5. package/dist/cjs/{f-paginator-utils-32b87c09.js → f-paginator-utils-dda7406a.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-32b87c09.js.map → f-paginator-utils-dda7406a.js.map} +1 -1
  7. package/dist/cjs/{f-text-field-4226081f.js → f-text-field-9c220f70.js} +2 -2
  8. package/dist/cjs/{f-text-field-4226081f.js.map → f-text-field-9c220f70.js.map} +1 -1
  9. package/dist/cjs/index.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  12. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +6 -6
  13. package/dist/cjs/kup-box.cjs.entry.js +6 -6
  14. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  15. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  16. package/dist/cjs/kup-cell.cjs.entry.js +4 -4
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  18. package/dist/cjs/{kup-data-table-helper-00427a69.js → kup-data-table-helper-e507aa6d.js} +2 -2
  19. package/dist/cjs/{kup-data-table-helper-00427a69.js.map → kup-data-table-helper-e507aa6d.js.map} +1 -1
  20. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  27. package/dist/cjs/kup-image-list.cjs.entry.js +4 -4
  28. package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
  29. package/dist/cjs/kup-input-panel.cjs.entry.js.map +1 -1
  30. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  32. package/dist/cjs/{kup-manager-fe741ac9.js → kup-manager-2dc3e312.js} +2 -2
  33. package/dist/cjs/{kup-manager-fe741ac9.js.map → kup-manager-2dc3e312.js.map} +1 -1
  34. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  36. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  39. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  40. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  41. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  42. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  43. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  44. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  45. package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -3
  46. package/dist/collection/components/kup-input-panel/kup-input-panel.js.map +1 -1
  47. package/dist/components/kup-input-panel.js +3 -3
  48. package/dist/components/kup-input-panel.js.map +1 -1
  49. package/dist/components/kup-manager.js +1 -1
  50. package/dist/components/kup-manager.js.map +1 -1
  51. package/dist/esm/{f-cell-81cf8d6b.js → f-cell-a7a32bc8.js} +4 -4
  52. package/dist/esm/{f-cell-81cf8d6b.js.map → f-cell-a7a32bc8.js.map} +1 -1
  53. package/dist/esm/{f-chip-cd564624.js → f-chip-46072fe3.js} +2 -2
  54. package/dist/esm/{f-chip-cd564624.js.map → f-chip-46072fe3.js.map} +1 -1
  55. package/dist/esm/{f-paginator-utils-d7b3f359.js → f-paginator-utils-0bfa6e5a.js} +2 -2
  56. package/dist/esm/{f-paginator-utils-d7b3f359.js.map → f-paginator-utils-0bfa6e5a.js.map} +1 -1
  57. package/dist/esm/{f-text-field-66b6f8a6.js → f-text-field-65d3ad8a.js} +2 -2
  58. package/dist/esm/{f-text-field-66b6f8a6.js.map → f-text-field-65d3ad8a.js.map} +1 -1
  59. package/dist/esm/index.js +1 -1
  60. package/dist/esm/kup-accordion.entry.js +1 -1
  61. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  62. package/dist/esm/kup-autocomplete_28.entry.js +6 -6
  63. package/dist/esm/kup-box.entry.js +6 -6
  64. package/dist/esm/kup-calendar.entry.js +2 -2
  65. package/dist/esm/kup-card-list.entry.js +1 -1
  66. package/dist/esm/kup-cell.entry.js +4 -4
  67. package/dist/esm/kup-dashboard.entry.js +2 -2
  68. package/dist/esm/{kup-data-table-helper-7807c3bc.js → kup-data-table-helper-895a49b6.js} +2 -2
  69. package/dist/esm/{kup-data-table-helper-7807c3bc.js.map → kup-data-table-helper-895a49b6.js.map} +1 -1
  70. package/dist/esm/kup-drawer.entry.js +1 -1
  71. package/dist/esm/kup-echart.entry.js +1 -1
  72. package/dist/esm/kup-editor.entry.js +1 -1
  73. package/dist/esm/kup-family-tree.entry.js +1 -1
  74. package/dist/esm/kup-grid.entry.js +1 -1
  75. package/dist/esm/kup-htm.entry.js +1 -1
  76. package/dist/esm/kup-iframe.entry.js +1 -1
  77. package/dist/esm/kup-image-list.entry.js +4 -4
  78. package/dist/esm/kup-input-panel.entry.js +6 -6
  79. package/dist/esm/kup-input-panel.entry.js.map +1 -1
  80. package/dist/esm/kup-lazy.entry.js +1 -1
  81. package/dist/esm/kup-magic-box.entry.js +1 -1
  82. package/dist/esm/{kup-manager-e6854c15.js → kup-manager-ad57ae2f.js} +2 -2
  83. package/dist/esm/{kup-manager-e6854c15.js.map → kup-manager-ad57ae2f.js.map} +1 -1
  84. package/dist/esm/kup-nav-bar.entry.js +1 -1
  85. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  86. package/dist/esm/kup-pdf.entry.js +1 -1
  87. package/dist/esm/kup-photo-frame.entry.js +1 -1
  88. package/dist/esm/kup-planner.entry.js +2 -2
  89. package/dist/esm/kup-probe.entry.js +1 -1
  90. package/dist/esm/kup-qlik.entry.js +1 -1
  91. package/dist/esm/kup-snackbar.entry.js +1 -1
  92. package/dist/esm/kup-txt.entry.js +1 -1
  93. package/dist/esm/kup-typography-list.entry.js +1 -1
  94. package/dist/esm/kup-typography.entry.js +1 -1
  95. package/dist/ketchup/index.esm.js +1 -1
  96. package/dist/ketchup/ketchup.esm.js +1 -1
  97. package/dist/ketchup/{p-c22e720d.entry.js → p-0323ba49.entry.js} +2 -2
  98. package/dist/ketchup/{p-822300c4.entry.js → p-03fc7ed4.entry.js} +2 -2
  99. package/dist/ketchup/{p-fcce8e0d.entry.js → p-0a8e2aed.entry.js} +2 -2
  100. package/dist/ketchup/p-0ed77bdc.entry.js +2 -0
  101. package/dist/ketchup/p-0ed77bdc.entry.js.map +1 -0
  102. package/dist/ketchup/{p-d138aa2d.js → p-14ae3263.js} +2 -2
  103. package/dist/ketchup/{p-da7ae266.js → p-187a34ac.js} +2 -2
  104. package/dist/ketchup/{p-9466c7b2.entry.js → p-1d1e72b0.entry.js} +2 -2
  105. package/dist/ketchup/{p-08a8d90e.entry.js → p-200a934c.entry.js} +2 -2
  106. package/dist/ketchup/{p-5403ec7d.js → p-203ecb4b.js} +2 -2
  107. package/dist/ketchup/{p-ee8fc062.entry.js → p-2a48da13.entry.js} +2 -2
  108. package/dist/ketchup/{p-00696d0b.entry.js → p-3bf7ebd6.entry.js} +2 -2
  109. package/dist/ketchup/{p-c618c6fd.js → p-3de3a2e1.js} +2 -2
  110. package/dist/ketchup/{p-56ebec9a.entry.js → p-44212a84.entry.js} +2 -2
  111. package/dist/ketchup/{p-7fd94ab9.entry.js → p-4a53bf70.entry.js} +2 -2
  112. package/dist/ketchup/{p-d073f545.entry.js → p-53d922c0.entry.js} +2 -2
  113. package/dist/ketchup/{p-76f536fc.entry.js → p-5656b76e.entry.js} +2 -2
  114. package/dist/ketchup/{p-36f1f1f2.entry.js → p-5f5a0744.entry.js} +2 -2
  115. package/dist/ketchup/{p-befa2827.entry.js → p-601ba69c.entry.js} +2 -2
  116. package/dist/ketchup/{p-ff6a7fca.entry.js → p-616690ad.entry.js} +2 -2
  117. package/dist/ketchup/{p-e1cf074e.js → p-6926026f.js} +2 -2
  118. package/dist/ketchup/{p-e1cf074e.js.map → p-6926026f.js.map} +1 -1
  119. package/dist/ketchup/{p-3a0e74d7.entry.js → p-83e26dd2.entry.js} +2 -2
  120. package/dist/ketchup/{p-e3370565.js → p-8b3f0d60.js} +2 -2
  121. package/dist/ketchup/{p-c0aed6b3.entry.js → p-8e3ba60a.entry.js} +2 -2
  122. package/dist/ketchup/{p-582719d0.entry.js → p-9034e4ec.entry.js} +2 -2
  123. package/dist/ketchup/p-97036b0f.entry.js +2 -0
  124. package/dist/ketchup/{p-e3dd0ecb.entry.js.map → p-97036b0f.entry.js.map} +1 -1
  125. package/dist/ketchup/{p-46812f71.entry.js → p-a3432abd.entry.js} +2 -2
  126. package/dist/ketchup/{p-02d83afd.entry.js → p-a58f4062.entry.js} +2 -2
  127. package/dist/ketchup/{p-f9e43ad1.entry.js → p-ab11ccef.entry.js} +2 -2
  128. package/dist/ketchup/{p-0f194063.entry.js → p-b12e6523.entry.js} +2 -2
  129. package/dist/ketchup/{p-ba5d1b55.entry.js → p-c85c7a50.entry.js} +2 -2
  130. package/dist/ketchup/{p-834ad695.entry.js → p-d5a21513.entry.js} +2 -2
  131. package/dist/ketchup/{p-dfae63d8.entry.js → p-d917975b.entry.js} +2 -2
  132. package/dist/ketchup/{p-10cea33b.entry.js → p-def7cb8d.entry.js} +2 -2
  133. package/dist/ketchup/{p-d26f1d41.entry.js → p-f81b198f.entry.js} +2 -2
  134. package/dist/ketchup/{p-9b45f18d.entry.js → p-fcfdb44d.entry.js} +2 -2
  135. package/dist/ketchup/{p-4e8485bb.entry.js → p-fe103476.entry.js} +2 -2
  136. package/package.json +1 -1
  137. package/dist/ketchup/p-b20f10c2.entry.js +0 -2
  138. package/dist/ketchup/p-b20f10c2.entry.js.map +0 -1
  139. package/dist/ketchup/p-e3dd0ecb.entry.js +0 -2
  140. /package/dist/ketchup/{p-c22e720d.entry.js.map → p-0323ba49.entry.js.map} +0 -0
  141. /package/dist/ketchup/{p-822300c4.entry.js.map → p-03fc7ed4.entry.js.map} +0 -0
  142. /package/dist/ketchup/{p-fcce8e0d.entry.js.map → p-0a8e2aed.entry.js.map} +0 -0
  143. /package/dist/ketchup/{p-d138aa2d.js.map → p-14ae3263.js.map} +0 -0
  144. /package/dist/ketchup/{p-da7ae266.js.map → p-187a34ac.js.map} +0 -0
  145. /package/dist/ketchup/{p-9466c7b2.entry.js.map → p-1d1e72b0.entry.js.map} +0 -0
  146. /package/dist/ketchup/{p-08a8d90e.entry.js.map → p-200a934c.entry.js.map} +0 -0
  147. /package/dist/ketchup/{p-5403ec7d.js.map → p-203ecb4b.js.map} +0 -0
  148. /package/dist/ketchup/{p-ee8fc062.entry.js.map → p-2a48da13.entry.js.map} +0 -0
  149. /package/dist/ketchup/{p-00696d0b.entry.js.map → p-3bf7ebd6.entry.js.map} +0 -0
  150. /package/dist/ketchup/{p-c618c6fd.js.map → p-3de3a2e1.js.map} +0 -0
  151. /package/dist/ketchup/{p-56ebec9a.entry.js.map → p-44212a84.entry.js.map} +0 -0
  152. /package/dist/ketchup/{p-7fd94ab9.entry.js.map → p-4a53bf70.entry.js.map} +0 -0
  153. /package/dist/ketchup/{p-d073f545.entry.js.map → p-53d922c0.entry.js.map} +0 -0
  154. /package/dist/ketchup/{p-76f536fc.entry.js.map → p-5656b76e.entry.js.map} +0 -0
  155. /package/dist/ketchup/{p-36f1f1f2.entry.js.map → p-5f5a0744.entry.js.map} +0 -0
  156. /package/dist/ketchup/{p-befa2827.entry.js.map → p-601ba69c.entry.js.map} +0 -0
  157. /package/dist/ketchup/{p-ff6a7fca.entry.js.map → p-616690ad.entry.js.map} +0 -0
  158. /package/dist/ketchup/{p-3a0e74d7.entry.js.map → p-83e26dd2.entry.js.map} +0 -0
  159. /package/dist/ketchup/{p-e3370565.js.map → p-8b3f0d60.js.map} +0 -0
  160. /package/dist/ketchup/{p-c0aed6b3.entry.js.map → p-8e3ba60a.entry.js.map} +0 -0
  161. /package/dist/ketchup/{p-582719d0.entry.js.map → p-9034e4ec.entry.js.map} +0 -0
  162. /package/dist/ketchup/{p-46812f71.entry.js.map → p-a3432abd.entry.js.map} +0 -0
  163. /package/dist/ketchup/{p-02d83afd.entry.js.map → p-a58f4062.entry.js.map} +0 -0
  164. /package/dist/ketchup/{p-f9e43ad1.entry.js.map → p-ab11ccef.entry.js.map} +0 -0
  165. /package/dist/ketchup/{p-0f194063.entry.js.map → p-b12e6523.entry.js.map} +0 -0
  166. /package/dist/ketchup/{p-ba5d1b55.entry.js.map → p-c85c7a50.entry.js.map} +0 -0
  167. /package/dist/ketchup/{p-834ad695.entry.js.map → p-d5a21513.entry.js.map} +0 -0
  168. /package/dist/ketchup/{p-dfae63d8.entry.js.map → p-d917975b.entry.js.map} +0 -0
  169. /package/dist/ketchup/{p-10cea33b.entry.js.map → p-def7cb8d.entry.js.map} +0 -0
  170. /package/dist/ketchup/{p-d26f1d41.entry.js.map → p-f81b198f.entry.js.map} +0 -0
  171. /package/dist/ketchup/{p-9b45f18d.entry.js.map → p-fcfdb44d.entry.js.map} +0 -0
  172. /package/dist/ketchup/{p-4e8485bb.entry.js.map → p-fe103476.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,f as i,h as o,H as a,d as n}from"./p-d7c15b0e.js";import{k as s,c as p,g as h,s as r}from"./p-e1cf074e.js";import{a as f,F as l}from"./p-68e220e8.js";import{c}from"./p-635bb4b3.js";import{F as u}from"./p-2b519589.js";import"./p-029c7cbe.js";var g;(function(t){t["data"]="the text of the text";t["Style"]="it is the style of the text";t["Border"]="when true it will appear a border";t["BorderWidth"]="it is the width of the border";t["Align"]="text alignment";t["FontBold"]="when true it will display the bold font";t["FontItalic"]="when true it will display the italic ( cursive )";t["FontName"]="it is the name of the font";t["FontSize"]="it is the size of the font of the text";t["FontULine"]="when true it will show the underline";t["FontColor"]="it is the color of the font of the text";t["BackColor"]="it is the background color of the text";t["Type"]="it is the type of the font. It is an enum that can take from different variant such as body, heading1, caption and so on"})(g||(g={}));const d=".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}.kup-typography--wrap{display:flex;align-items:center;gap:var(--kup-space-03)}.kup-typography--wrap:hover .image__iconToolbar{opacity:0.3}.kup-typography--wrap:hover .image__iconToolbar:hover{cursor:pointer;opacity:1;background-color:var(--kup-gray-color-20-hover)}.kup-typography--wrap .image__iconToolbar{opacity:0.3;margin:0}:host{display:block}";const y=d;var m=undefined&&undefined.__classPrivateFieldSet||function(t,e,i,o,a){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e==="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?a.call(t,i):a?a.value=i:e.set(t,i),i};var k=undefined&&undefined.__classPrivateFieldGet||function(t,e,i,o){if(i==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?o:i==="a"?o.call(t):o?o.value:e.get(t)};var w,x;const b=class{constructor(i){t(this,i);this.kupIconClick=e(this,"kup-typography-iconclick",6);this.kupClick=e(this,"kup-typography-click",6);this.kupItemClick=e(this,"kup-typography-itemclick",6);this.kupManager=s();w.set(this,null);x.set(this,null);this.customStyle="";this.toolbar=true;this.toolbarData=undefined;this.type=f.BODY_COMPACT;this.value=null}onKupClick(){this.kupClick.emit({comp:this,id:this.rootElement.id,value:this.value})}onKupIconClick(t){m(this,x,t,"f");this.kupIconClick.emit({comp:this,id:this.rootElement.id});this.createDropDownToolbarList()}onKupToolbarItemClick(t){this.kupItemClick.emit({comp:this,id:this.rootElement.id,value:this.value,node:t.detail.selected})}closeRowToolbarList(){if(this.toolbarList){this.kupManager.dynamicPosition.stop(this.toolbarList);this.kupManager.removeClickCallback(k(this,w,"f"));this.toolbarList.remove();this.toolbarList=null}}createDropDownToolbarList(){if(this.toolbarList){this.closeRowToolbarList()}const t=document.createElement("kup-toolbar");t.data=this.toolbarData;t.addEventListener("kup-toolbar-click",(t=>{this.onKupToolbarItemClick(t);setTimeout((()=>{this.closeRowToolbarList()}),0)}));this.toolbarList=t;m(this,w,{cb:()=>{this.closeRowToolbarList()},el:this.toolbarList},"f");this.kupManager.addClickCallback(k(this,w,"f"),true);this.rootElement.shadowRoot.appendChild(this.toolbarList);requestAnimationFrame((()=>{this.kupManager.dynamicPosition.register(this.toolbarList,k(this,x,"f"),0,p.AUTO,true);this.kupManager.dynamicPosition.start(this.toolbarList)}))}async getProps(t){return h(this,g,t)}async refresh(){i(this)}async setProps(t){r(this,g,t)}componentWillLoad(){this.kupManager.debug.logLoad(this,false);this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,true)}componentWillRender(){this.kupManager.debug.logRender(this,false)}componentDidRender(){this.kupManager.debug.logRender(this,true)}render(){const t={toolbar:this.toolbar,value:this.value,type:this.type};const e={color:"var(--kup-gray-color-70)",resource:"more_vert",sizeX:"16px",sizeY:"16px",wrapperClass:"image__iconToolbar"};const i={"kup-typography--wrap":t.toolbar?true:false};return o(a,{key:"f41b7de8caf9540365e4766e27304f08c3e7a5d0"},o("style",{key:"1e4895e3f58fd65d8aa380897c7d4e707f19850f"},this.kupManager.theme.setKupStyle(this.rootElement)),o("div",{key:"29256876f9d446a3eb24961e8f36c9db6ca74824",id:c,class:i,onClick:()=>this.onKupClick},o(l,Object.assign({key:"40334bdae6b0df4d9ecb9b7b4cb7ecd46a5bb002"},t)),o(u,Object.assign({key:"09061ecacc7bfeaaff3d72ed84afd4586fef7933"},e,{onClick:t=>{t.stopPropagation();this.onKupIconClick(t.currentTarget)}}))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}static get assetsDirs(){return["assets/fonts"]}get rootElement(){return n(this)}};w=new WeakMap,x=new WeakMap;b.style=y;export{b as kup_typography};
2
- //# sourceMappingURL=p-02d83afd.entry.js.map
1
+ import{r as t,c as e,f as i,h as o,H as a,d as n}from"./p-d7c15b0e.js";import{k as s,c as p,g as h,s as r}from"./p-6926026f.js";import{a as f,F as l}from"./p-68e220e8.js";import{c}from"./p-635bb4b3.js";import{F as u}from"./p-2b519589.js";import"./p-029c7cbe.js";var g;(function(t){t["data"]="the text of the text";t["Style"]="it is the style of the text";t["Border"]="when true it will appear a border";t["BorderWidth"]="it is the width of the border";t["Align"]="text alignment";t["FontBold"]="when true it will display the bold font";t["FontItalic"]="when true it will display the italic ( cursive )";t["FontName"]="it is the name of the font";t["FontSize"]="it is the size of the font of the text";t["FontULine"]="when true it will show the underline";t["FontColor"]="it is the color of the font of the text";t["BackColor"]="it is the background color of the text";t["Type"]="it is the type of the font. It is an enum that can take from different variant such as body, heading1, caption and so on"})(g||(g={}));const d=".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}.kup-typography--wrap{display:flex;align-items:center;gap:var(--kup-space-03)}.kup-typography--wrap:hover .image__iconToolbar{opacity:0.3}.kup-typography--wrap:hover .image__iconToolbar:hover{cursor:pointer;opacity:1;background-color:var(--kup-gray-color-20-hover)}.kup-typography--wrap .image__iconToolbar{opacity:0.3;margin:0}:host{display:block}";const y=d;var m=undefined&&undefined.__classPrivateFieldSet||function(t,e,i,o,a){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e==="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?a.call(t,i):a?a.value=i:e.set(t,i),i};var k=undefined&&undefined.__classPrivateFieldGet||function(t,e,i,o){if(i==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?o:i==="a"?o.call(t):o?o.value:e.get(t)};var w,x;const b=class{constructor(i){t(this,i);this.kupIconClick=e(this,"kup-typography-iconclick",6);this.kupClick=e(this,"kup-typography-click",6);this.kupItemClick=e(this,"kup-typography-itemclick",6);this.kupManager=s();w.set(this,null);x.set(this,null);this.customStyle="";this.toolbar=true;this.toolbarData=undefined;this.type=f.BODY_COMPACT;this.value=null}onKupClick(){this.kupClick.emit({comp:this,id:this.rootElement.id,value:this.value})}onKupIconClick(t){m(this,x,t,"f");this.kupIconClick.emit({comp:this,id:this.rootElement.id});this.createDropDownToolbarList()}onKupToolbarItemClick(t){this.kupItemClick.emit({comp:this,id:this.rootElement.id,value:this.value,node:t.detail.selected})}closeRowToolbarList(){if(this.toolbarList){this.kupManager.dynamicPosition.stop(this.toolbarList);this.kupManager.removeClickCallback(k(this,w,"f"));this.toolbarList.remove();this.toolbarList=null}}createDropDownToolbarList(){if(this.toolbarList){this.closeRowToolbarList()}const t=document.createElement("kup-toolbar");t.data=this.toolbarData;t.addEventListener("kup-toolbar-click",(t=>{this.onKupToolbarItemClick(t);setTimeout((()=>{this.closeRowToolbarList()}),0)}));this.toolbarList=t;m(this,w,{cb:()=>{this.closeRowToolbarList()},el:this.toolbarList},"f");this.kupManager.addClickCallback(k(this,w,"f"),true);this.rootElement.shadowRoot.appendChild(this.toolbarList);requestAnimationFrame((()=>{this.kupManager.dynamicPosition.register(this.toolbarList,k(this,x,"f"),0,p.AUTO,true);this.kupManager.dynamicPosition.start(this.toolbarList)}))}async getProps(t){return h(this,g,t)}async refresh(){i(this)}async setProps(t){r(this,g,t)}componentWillLoad(){this.kupManager.debug.logLoad(this,false);this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,true)}componentWillRender(){this.kupManager.debug.logRender(this,false)}componentDidRender(){this.kupManager.debug.logRender(this,true)}render(){const t={toolbar:this.toolbar,value:this.value,type:this.type};const e={color:"var(--kup-gray-color-70)",resource:"more_vert",sizeX:"16px",sizeY:"16px",wrapperClass:"image__iconToolbar"};const i={"kup-typography--wrap":t.toolbar?true:false};return o(a,{key:"f41b7de8caf9540365e4766e27304f08c3e7a5d0"},o("style",{key:"1e4895e3f58fd65d8aa380897c7d4e707f19850f"},this.kupManager.theme.setKupStyle(this.rootElement)),o("div",{key:"29256876f9d446a3eb24961e8f36c9db6ca74824",id:c,class:i,onClick:()=>this.onKupClick},o(l,Object.assign({key:"40334bdae6b0df4d9ecb9b7b4cb7ecd46a5bb002"},t)),o(u,Object.assign({key:"09061ecacc7bfeaaff3d72ed84afd4586fef7933"},e,{onClick:t=>{t.stopPropagation();this.onKupIconClick(t.currentTarget)}}))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}static get assetsDirs(){return["assets/fonts"]}get rootElement(){return n(this)}};w=new WeakMap,x=new WeakMap;b.style=y;export{b as kup_typography};
2
+ //# sourceMappingURL=p-a58f4062.entry.js.map