@sme.up/ketchup 11.0.0-SNAPSHOT-20241029160403 → 11.0.0-SNAPSHOT-20241030100919

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 (183) hide show
  1. package/dist/cjs/{f-cell-51f23dcb.js → f-cell-784e142a.js} +4 -4
  2. package/dist/cjs/{f-cell-51f23dcb.js.map → f-cell-784e142a.js.map} +1 -1
  3. package/dist/cjs/{f-chip-b49adf5f.js → f-chip-af09446d.js} +2 -2
  4. package/dist/cjs/{f-chip-b49adf5f.js.map → f-chip-af09446d.js.map} +1 -1
  5. package/dist/cjs/{f-paginator-utils-5d1c3cbe.js → f-paginator-utils-662821e2.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-5d1c3cbe.js.map → f-paginator-utils-662821e2.js.map} +1 -1
  7. package/dist/cjs/{f-text-field-03d5cda6.js → f-text-field-02d9d284.js} +2 -2
  8. package/dist/cjs/{f-text-field-03d5cda6.js.map → f-text-field-02d9d284.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-5f2f9608.js → kup-data-table-helper-d5528bc5.js} +2 -2
  19. package/dist/cjs/{kup-data-table-helper-5f2f9608.js.map → kup-data-table-helper-d5528bc5.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 +4 -4
  29. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  30. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  31. package/dist/cjs/{kup-manager-51a6b521.js → kup-manager-189eaf63.js} +107 -80
  32. package/dist/cjs/kup-manager-189eaf63.js.map +1 -0
  33. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  35. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  38. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  39. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  40. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  41. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  42. package/dist/cjs/kup-typography.cjs.entry.js +3 -2
  43. package/dist/cjs/kup-typography.cjs.entry.js.map +1 -1
  44. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Regular.woff +0 -0
  45. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
  46. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Regular.woff +0 -0
  47. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
  48. package/dist/collection/components/kup-typography/kup-typography.js +2 -1
  49. package/dist/collection/components/kup-typography/kup-typography.js.map +1 -1
  50. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +9 -0
  51. package/dist/collection/managers/kup-theme/kup-theme-declarations.js.map +1 -1
  52. package/dist/collection/managers/kup-theme/kup-theme.js +17 -14
  53. package/dist/collection/managers/kup-theme/kup-theme.js.map +1 -1
  54. package/dist/components/kup-manager.js +106 -79
  55. package/dist/components/kup-manager.js.map +1 -1
  56. package/dist/components/kup-typography.js +2 -1
  57. package/dist/components/kup-typography.js.map +1 -1
  58. package/dist/esm/{f-cell-a11f1068.js → f-cell-9f52a30a.js} +4 -4
  59. package/dist/esm/{f-cell-a11f1068.js.map → f-cell-9f52a30a.js.map} +1 -1
  60. package/dist/esm/{f-chip-6a8151c3.js → f-chip-dd98e13c.js} +2 -2
  61. package/dist/esm/{f-chip-6a8151c3.js.map → f-chip-dd98e13c.js.map} +1 -1
  62. package/dist/esm/{f-paginator-utils-1b1bf83b.js → f-paginator-utils-72800ef7.js} +2 -2
  63. package/dist/esm/{f-paginator-utils-1b1bf83b.js.map → f-paginator-utils-72800ef7.js.map} +1 -1
  64. package/dist/esm/{f-text-field-ba253046.js → f-text-field-81c7e63b.js} +2 -2
  65. package/dist/esm/{f-text-field-ba253046.js.map → f-text-field-81c7e63b.js.map} +1 -1
  66. package/dist/esm/index.js +1 -1
  67. package/dist/esm/kup-accordion.entry.js +1 -1
  68. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  69. package/dist/esm/kup-autocomplete_28.entry.js +6 -6
  70. package/dist/esm/kup-box.entry.js +6 -6
  71. package/dist/esm/kup-calendar.entry.js +2 -2
  72. package/dist/esm/kup-card-list.entry.js +1 -1
  73. package/dist/esm/kup-cell.entry.js +4 -4
  74. package/dist/esm/kup-dashboard.entry.js +2 -2
  75. package/dist/esm/{kup-data-table-helper-cf099214.js → kup-data-table-helper-52b21f9e.js} +2 -2
  76. package/dist/esm/{kup-data-table-helper-cf099214.js.map → kup-data-table-helper-52b21f9e.js.map} +1 -1
  77. package/dist/esm/kup-drawer.entry.js +1 -1
  78. package/dist/esm/kup-echart.entry.js +1 -1
  79. package/dist/esm/kup-editor.entry.js +1 -1
  80. package/dist/esm/kup-family-tree.entry.js +1 -1
  81. package/dist/esm/kup-grid.entry.js +1 -1
  82. package/dist/esm/kup-htm.entry.js +1 -1
  83. package/dist/esm/kup-iframe.entry.js +1 -1
  84. package/dist/esm/kup-image-list.entry.js +4 -4
  85. package/dist/esm/kup-input-panel.entry.js +4 -4
  86. package/dist/esm/kup-lazy.entry.js +1 -1
  87. package/dist/esm/kup-magic-box.entry.js +1 -1
  88. package/dist/esm/{kup-manager-58202f14.js → kup-manager-ee1e7cd4.js} +107 -80
  89. package/dist/esm/kup-manager-ee1e7cd4.js.map +1 -0
  90. package/dist/esm/kup-nav-bar.entry.js +1 -1
  91. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  92. package/dist/esm/kup-pdf.entry.js +1 -1
  93. package/dist/esm/kup-photo-frame.entry.js +1 -1
  94. package/dist/esm/kup-planner.entry.js +2 -2
  95. package/dist/esm/kup-probe.entry.js +1 -1
  96. package/dist/esm/kup-qlik.entry.js +1 -1
  97. package/dist/esm/kup-snackbar.entry.js +1 -1
  98. package/dist/esm/kup-typography-list.entry.js +1 -1
  99. package/dist/esm/kup-typography.entry.js +3 -2
  100. package/dist/esm/kup-typography.entry.js.map +1 -1
  101. package/dist/ketchup/assets/fonts/IBMPlexMono-Regular.woff +0 -0
  102. package/dist/ketchup/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
  103. package/dist/ketchup/assets/fonts/IBMPlexSans-Regular.woff +0 -0
  104. package/dist/ketchup/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
  105. package/dist/ketchup/index.esm.js +1 -1
  106. package/dist/ketchup/ketchup.esm.js +1 -1
  107. package/dist/ketchup/{p-0b4f9fbd.entry.js → p-15ed7d99.entry.js} +2 -2
  108. package/dist/ketchup/{p-c670c1ae.js → p-1cb80f82.js} +2 -2
  109. package/dist/ketchup/{p-01ff9884.js → p-2049ede1.js} +2 -2
  110. package/dist/ketchup/{p-7c94e917.entry.js → p-20bae24d.entry.js} +2 -2
  111. package/dist/ketchup/{p-1b82fe39.entry.js → p-24ff4213.entry.js} +2 -2
  112. package/dist/ketchup/{p-8452e252.entry.js → p-25355f43.entry.js} +2 -2
  113. package/dist/ketchup/{p-a44b1d04.entry.js → p-2bf4b018.entry.js} +2 -2
  114. package/dist/ketchup/{p-32042eb5.entry.js → p-2ebedaaa.entry.js} +2 -2
  115. package/dist/ketchup/{p-2724b666.js → p-3dde5808.js} +2 -2
  116. package/dist/ketchup/{p-838b6a2f.entry.js → p-444237dd.entry.js} +2 -2
  117. package/dist/ketchup/{p-837824a9.entry.js → p-48e9e28a.entry.js} +2 -2
  118. package/dist/ketchup/{p-56e04d74.js → p-49a79002.js} +4 -4
  119. package/dist/ketchup/p-49a79002.js.map +1 -0
  120. package/dist/ketchup/{p-05da2b79.entry.js → p-4a98256d.entry.js} +2 -2
  121. package/dist/ketchup/{p-6ea6f43e.entry.js → p-5ae04be3.entry.js} +2 -2
  122. package/dist/ketchup/{p-d6761118.entry.js → p-602cd520.entry.js} +2 -2
  123. package/dist/ketchup/{p-fb33b3c1.entry.js → p-69012c53.entry.js} +2 -2
  124. package/dist/ketchup/{p-824a75e1.entry.js → p-6e258e44.entry.js} +2 -2
  125. package/dist/ketchup/{p-6278ee25.entry.js → p-6e7863c6.entry.js} +2 -2
  126. package/dist/ketchup/{p-ffc02752.entry.js → p-70d05775.entry.js} +2 -2
  127. package/dist/ketchup/{p-879a4c67.entry.js → p-724a3fdb.entry.js} +2 -2
  128. package/dist/ketchup/p-724a3fdb.entry.js.map +1 -0
  129. package/dist/ketchup/{p-c3bc85c3.entry.js → p-7728ffb2.entry.js} +2 -2
  130. package/dist/ketchup/{p-17992b1b.entry.js → p-7fbb3587.entry.js} +2 -2
  131. package/dist/ketchup/{p-81e39d58.entry.js → p-80928c2c.entry.js} +2 -2
  132. package/dist/ketchup/{p-5cc75efb.entry.js → p-8de170dd.entry.js} +2 -2
  133. package/dist/ketchup/{p-8dacbd87.entry.js → p-92f8f2a8.entry.js} +2 -2
  134. package/dist/ketchup/{p-8a6b8754.entry.js → p-a5329b0b.entry.js} +2 -2
  135. package/dist/ketchup/{p-22a17b5a.js → p-b2875c24.js} +2 -2
  136. package/dist/ketchup/{p-d2bf9725.entry.js → p-b8c8d7b8.entry.js} +2 -2
  137. package/dist/ketchup/{p-6a532839.js → p-ba47d93e.js} +2 -2
  138. package/dist/ketchup/{p-4ac3481d.entry.js → p-bec9fb36.entry.js} +2 -2
  139. package/dist/ketchup/{p-f6103b1d.entry.js → p-dd80dcd1.entry.js} +2 -2
  140. package/dist/ketchup/{p-c40ad67f.entry.js → p-f08e6820.entry.js} +2 -2
  141. package/dist/ketchup/{p-c4129003.entry.js → p-f0be4c49.entry.js} +2 -2
  142. package/dist/ketchup/{p-2292af7c.entry.js → p-f28e4d30.entry.js} +2 -2
  143. package/dist/ketchup/{p-a27d4e3d.entry.js → p-fd00900c.entry.js} +2 -2
  144. package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +6 -1
  145. package/dist/types/managers/kup-theme/kup-theme.d.ts +1 -4
  146. package/package.json +1 -1
  147. package/dist/cjs/kup-manager-51a6b521.js.map +0 -1
  148. package/dist/esm/kup-manager-58202f14.js.map +0 -1
  149. package/dist/ketchup/p-56e04d74.js.map +0 -1
  150. package/dist/ketchup/p-879a4c67.entry.js.map +0 -1
  151. /package/dist/ketchup/{p-0b4f9fbd.entry.js.map → p-15ed7d99.entry.js.map} +0 -0
  152. /package/dist/ketchup/{p-c670c1ae.js.map → p-1cb80f82.js.map} +0 -0
  153. /package/dist/ketchup/{p-01ff9884.js.map → p-2049ede1.js.map} +0 -0
  154. /package/dist/ketchup/{p-7c94e917.entry.js.map → p-20bae24d.entry.js.map} +0 -0
  155. /package/dist/ketchup/{p-1b82fe39.entry.js.map → p-24ff4213.entry.js.map} +0 -0
  156. /package/dist/ketchup/{p-8452e252.entry.js.map → p-25355f43.entry.js.map} +0 -0
  157. /package/dist/ketchup/{p-a44b1d04.entry.js.map → p-2bf4b018.entry.js.map} +0 -0
  158. /package/dist/ketchup/{p-32042eb5.entry.js.map → p-2ebedaaa.entry.js.map} +0 -0
  159. /package/dist/ketchup/{p-2724b666.js.map → p-3dde5808.js.map} +0 -0
  160. /package/dist/ketchup/{p-838b6a2f.entry.js.map → p-444237dd.entry.js.map} +0 -0
  161. /package/dist/ketchup/{p-837824a9.entry.js.map → p-48e9e28a.entry.js.map} +0 -0
  162. /package/dist/ketchup/{p-05da2b79.entry.js.map → p-4a98256d.entry.js.map} +0 -0
  163. /package/dist/ketchup/{p-6ea6f43e.entry.js.map → p-5ae04be3.entry.js.map} +0 -0
  164. /package/dist/ketchup/{p-d6761118.entry.js.map → p-602cd520.entry.js.map} +0 -0
  165. /package/dist/ketchup/{p-fb33b3c1.entry.js.map → p-69012c53.entry.js.map} +0 -0
  166. /package/dist/ketchup/{p-824a75e1.entry.js.map → p-6e258e44.entry.js.map} +0 -0
  167. /package/dist/ketchup/{p-6278ee25.entry.js.map → p-6e7863c6.entry.js.map} +0 -0
  168. /package/dist/ketchup/{p-ffc02752.entry.js.map → p-70d05775.entry.js.map} +0 -0
  169. /package/dist/ketchup/{p-c3bc85c3.entry.js.map → p-7728ffb2.entry.js.map} +0 -0
  170. /package/dist/ketchup/{p-17992b1b.entry.js.map → p-7fbb3587.entry.js.map} +0 -0
  171. /package/dist/ketchup/{p-81e39d58.entry.js.map → p-80928c2c.entry.js.map} +0 -0
  172. /package/dist/ketchup/{p-5cc75efb.entry.js.map → p-8de170dd.entry.js.map} +0 -0
  173. /package/dist/ketchup/{p-8dacbd87.entry.js.map → p-92f8f2a8.entry.js.map} +0 -0
  174. /package/dist/ketchup/{p-8a6b8754.entry.js.map → p-a5329b0b.entry.js.map} +0 -0
  175. /package/dist/ketchup/{p-22a17b5a.js.map → p-b2875c24.js.map} +0 -0
  176. /package/dist/ketchup/{p-d2bf9725.entry.js.map → p-b8c8d7b8.entry.js.map} +0 -0
  177. /package/dist/ketchup/{p-6a532839.js.map → p-ba47d93e.js.map} +0 -0
  178. /package/dist/ketchup/{p-4ac3481d.entry.js.map → p-bec9fb36.entry.js.map} +0 -0
  179. /package/dist/ketchup/{p-f6103b1d.entry.js.map → p-dd80dcd1.entry.js.map} +0 -0
  180. /package/dist/ketchup/{p-c40ad67f.entry.js.map → p-f08e6820.entry.js.map} +0 -0
  181. /package/dist/ketchup/{p-c4129003.entry.js.map → p-f0be4c49.entry.js.map} +0 -0
  182. /package/dist/ketchup/{p-2292af7c.entry.js.map → p-f28e4d30.entry.js.map} +0 -0
  183. /package/dist/ketchup/{p-a27d4e3d.entry.js.map → p-fd00900c.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["KupTypographyProps","kupTypographyCss","KupTypographyStyle0","KupTypography","this","kupManager","kupManagerInstance","_KupTypography_clickCbDropCard","set","_KupTypography_dropDownActionCardAnchor","FTypographyType","BODY_COMPACT","onKupClick","kupClick","emit","comp","id","rootElement","value","onKupIconClick","el","__classPrivateFieldSet","kupIconClick","createDropDownToolbarList","onKupToolbarItemClick","e","kupItemClick","node","detail","selected","closeRowToolbarList","toolbarList","dynamicPosition","stop","removeClickCallback","__classPrivateFieldGet","remove","listEl","document","createElement","data","toolbarData","addEventListener","setTimeout","cb","addClickCallback","shadowRoot","appendChild","requestAnimationFrame","register","KupDynamicPositionPlacement","AUTO","start","getProps","descriptions","refresh","forceUpdate","setProps","props","componentWillLoad","debug","logLoad","theme","componentDidLoad","componentWillRender","logRender","componentDidRender","render","toolbar","type","propsFImage","color","resource","sizeX","sizeY","wrapperClass","classObjParent","h","Host","key","setKupStyle","componentWrapperId","class","onClick","FTypography","Object","assign","FImage","event","stopPropagation","currentTarget","disconnectedCallback","unregister"],"sources":["src/components/kup-typography/kup-typography-declarations.ts","src/components/kup-typography/kup-typography.scss?tag=kup-typography&encapsulation=shadow","src/components/kup-typography/kup-typography.tsx"],"sourcesContent":["import { KupEventPayload } from '../../types/GenericTypes';\n\n/**\n * Props of the kup-typography component.\n * Used to export every prop in an object.\n */\nexport enum KupTypographyProps {\n data = 'the text of the text',\n Style = 'it is the style of the text',\n Border = 'when true it will appear a border',\n BorderWidth = 'it is the width of the border',\n Align = 'text alignment',\n FontBold = 'when true it will display the bold font',\n FontItalic = 'when true it will display the italic ( cursive )',\n FontName = 'it is the name of the font',\n FontSize = 'it is the size of the font of the text',\n FontULine = 'when true it will show the underline',\n FontColor = 'it is the color of the font of the text',\n BackColor = 'it is the background color of the text',\n 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',\n}\n\nexport interface KupTypographyIconClickEventPayload extends KupEventPayload {}\n\nexport interface KupTypographyClickEventPayload extends KupEventPayload {\n value: string;\n}\n","@import 'styles/kup-typography-main.scss';\n@import 'styles/kup-typography-classes.scss';\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n forceUpdate,\n h,\n Host,\n Method,\n Prop,\n} from '@stencil/core';\nimport { GenericObject, KupComponent } from '../../types/GenericTypes';\nimport { getProps, setProps } from '../../utils/utils';\nimport {\n KupManager,\n KupManagerClickCb,\n} from '../../managers/kup-manager/kup-manager-declarations';\nimport { kupManagerInstance } from '../../managers/kup-manager/kup-manager';\nimport { FTypography } from '../../f-components/f-typography/f-typography';\nimport {\n FTypographyProps,\n FTypographyType,\n} from '../../f-components/f-typography/f-typography-declarations';\nimport {\n KupTypographyClickEventPayload,\n KupTypographyIconClickEventPayload,\n KupTypographyProps,\n} from './kup-typography-declarations';\nimport { KupDataNode } from '../../managers/kup-data/kup-data-declarations';\nimport {\n KupDynamicPositionAnchor,\n KupDynamicPositionElement,\n KupDynamicPositionPlacement,\n} from '../../managers/kup-dynamic-position/kup-dynamic-position-declarations';\nimport { componentWrapperId } from '../../variables/GenericVariables';\nimport { FImage } from '../../f-components/f-image/f-image';\nimport { FImageProps } from '../../f-components/f-image/f-image-declarations';\nimport { KupToolbarItemClickEventPayload } from '../../components/kup-toolbar/kup-toolbar-declarations';\n\n@Component({\n tag: 'kup-typography',\n styleUrl: 'kup-typography.scss',\n shadow: true,\n})\nexport class KupTypography {\n /**\n * References the root HTML element of the component (<kup-typography>).\n */\n @Element() rootElement: HTMLElement;\n\n /*-------------------------------------------------*/\n /* P r o p s */\n /*-------------------------------------------------*/\n\n /**\n * Custom style of the component.\n * @default \"\"\n * @see https://smeup.github.io/ketchup/#/customization\n */\n @Prop() customStyle: string = '';\n /**\n * Manage the toolbar icon. If true is visible, otherwise is not\n * @default null\n */\n @Prop() toolbar: boolean = true;\n /**\n * Display DataNode Toolbar.\n * @default null\n */\n @Prop() toolbarData: KupDataNode[];\n /**\n * Sets the sizing of the textfield\n * @default FTypographyType.BODY_COMPACT\n */\n @Prop() type: FTypographyType = FTypographyType.BODY_COMPACT;\n /**\n * This is the content of the text\n * @default null\n */\n @Prop() value: string = null;\n\n /*-------------------------------------------------*/\n /* I n t e r n a l V a r i a b l e s */\n /*-------------------------------------------------*/\n\n /**\n * Instance of the KupManager class.\n */\n private kupManager: KupManager = kupManagerInstance();\n #clickCbDropCard: KupManagerClickCb = null;\n /**\n * Toolbar List.\n */\n private toolbarList: KupDynamicPositionElement;\n #dropDownActionCardAnchor: HTMLElement = null;\n\n /*-------------------------------------------------*/\n /* E v e n t s */\n /*-------------------------------------------------*/\n\n @Event({\n eventName: 'kup-typography-iconclick',\n composed: true,\n cancelable: false,\n bubbles: true,\n })\n kupIconClick: EventEmitter<KupTypographyIconClickEventPayload>;\n\n @Event({\n eventName: 'kup-typography-click',\n composed: true,\n cancelable: false,\n bubbles: true,\n })\n kupClick: EventEmitter<KupTypographyClickEventPayload>;\n\n @Event({\n eventName: 'kup-typography-itemclick',\n composed: true,\n cancelable: false,\n bubbles: true,\n })\n kupItemClick: EventEmitter<KupToolbarItemClickEventPayload>;\n\n onKupClick() {\n this.kupClick.emit({\n comp: this,\n id: this.rootElement.id,\n value: this.value,\n });\n }\n\n onKupIconClick(el: HTMLElement) {\n this.#dropDownActionCardAnchor = el;\n this.kupIconClick.emit({\n comp: this,\n id: this.rootElement.id,\n });\n this.createDropDownToolbarList();\n }\n\n onKupToolbarItemClick(e: CustomEvent) {\n this.kupItemClick.emit({\n comp: this,\n id: this.rootElement.id,\n value: this.value,\n node: e.detail.selected,\n });\n }\n\n /*-------------------------------------------------*/\n /* P r i v a t e M e t h o d s */\n /*-------------------------------------------------*/\n\n closeRowToolbarList() {\n if (this.toolbarList) {\n this.kupManager.dynamicPosition.stop(\n this.toolbarList as KupDynamicPositionElement\n );\n this.kupManager.removeClickCallback(this.#clickCbDropCard);\n this.toolbarList.remove();\n this.toolbarList = null;\n }\n }\n\n createDropDownToolbarList() {\n if (this.toolbarList) {\n this.closeRowToolbarList();\n }\n const listEl = document.createElement('kup-toolbar');\n listEl.data = this.toolbarData;\n listEl.addEventListener('kup-toolbar-click', (e: CustomEvent) => {\n this.onKupToolbarItemClick(e);\n setTimeout(() => {\n this.closeRowToolbarList();\n }, 0);\n });\n this.toolbarList = listEl;\n this.#clickCbDropCard = {\n cb: () => {\n this.closeRowToolbarList();\n },\n el: this.toolbarList,\n };\n\n this.kupManager.addClickCallback(this.#clickCbDropCard, true);\n this.rootElement.shadowRoot.appendChild(this.toolbarList);\n requestAnimationFrame(() => {\n this.kupManager.dynamicPosition.register(\n this.toolbarList as unknown as KupDynamicPositionElement,\n this.#dropDownActionCardAnchor as KupDynamicPositionAnchor,\n 0,\n KupDynamicPositionPlacement.AUTO,\n true\n );\n this.kupManager.dynamicPosition.start(\n this.toolbarList as unknown as KupDynamicPositionElement\n );\n });\n }\n\n /*-------------------------------------------------*/\n /* P u b l i c M e t h o d s */\n /*-------------------------------------------------*/\n\n /**\n * Used to retrieve component's props values.\n * @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.\n * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.\n */\n @Method()\n async getProps(descriptions?: boolean): Promise<GenericObject> {\n return getProps(this, KupTypographyProps, descriptions);\n }\n /**\n * This method is used to trigger a new render of the component.\n */\n @Method()\n async refresh(): Promise<void> {\n forceUpdate(this);\n }\n /**\n * Sets the props to the component.\n * @param {GenericObject} props - Object containing props that will be set to the component.\n */\n @Method()\n async setProps(props: GenericObject): Promise<void> {\n setProps(this, KupTypographyProps, props);\n }\n\n /*-------------------------------------------------*/\n /* L i f e c y c l e H o o k s */\n /*-------------------------------------------------*/\n\n componentWillLoad() {\n this.kupManager.debug.logLoad(this, false);\n this.kupManager.theme.register(this);\n }\n\n componentDidLoad() {\n this.kupManager.debug.logLoad(this, true);\n }\n\n componentWillRender() {\n this.kupManager.debug.logRender(this, false);\n }\n\n componentDidRender() {\n this.kupManager.debug.logRender(this, true);\n }\n\n render() {\n const props: FTypographyProps = {\n toolbar: this.toolbar,\n value: this.value,\n type: this.type,\n };\n\n const propsFImage: FImageProps = {\n color: 'var(--kup-gray-color-70)',\n resource: 'more_vert',\n sizeX: '16px',\n sizeY: '16px',\n wrapperClass: 'image__iconToolbar',\n };\n const classObjParent: Record<string, boolean> = {\n 'kup-typography--wrap': props.toolbar ? true : false,\n };\n return (\n <Host>\n <style>\n {this.kupManager.theme.setKupStyle(\n this.rootElement as KupComponent\n )}\n </style>\n <div\n id={componentWrapperId}\n class={classObjParent}\n onClick={() => this.onKupClick}\n >\n <FTypography {...props} />\n <FImage\n {...propsFImage}\n onClick={(event: MouseEvent) => {\n event.stopPropagation();\n this.onKupIconClick(\n event.currentTarget as HTMLElement\n );\n }}\n />\n </div>\n </Host>\n );\n }\n disconnectedCallback() {\n this.kupManager.theme.unregister(this);\n }\n}\n"],"mappings":"sQAMA,IAAYA,GAAZ,SAAYA,GACRA,EAAA,+BACAA,EAAA,uCACAA,EAAA,8CACAA,EAAA,+CACAA,EAAA,0BACAA,EAAA,sDACAA,EAAA,iEACAA,EAAA,yCACAA,EAAA,qDACAA,EAAA,oDACAA,EAAA,uDACAA,EAAA,sDACAA,EAAA,kIACH,EAdD,CAAYA,MAAkB,KCN9B,MAAMC,EAAmB,wxEACzB,MAAAC,EAAeD,E,wwBC2CFE,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