@sme.up/ketchup 4.3.0-SNAPSHOT → 5.1.0-SNAPSHOT

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 (343) hide show
  1. package/README.md +107 -3
  2. package/dist/cjs/{cell-utils-dc0884a3.js → cell-utils-9b1d6563.js} +4 -4
  3. package/dist/cjs/{component-8fbc31a2.js → component-d1496215.js} +203 -174
  4. package/dist/cjs/{f-button-2ba74fb5.js → f-button-02a7cde4.js} +2 -2
  5. package/dist/cjs/{f-cell-fe60a08d.js → f-cell-4d1450a8.js} +38 -28
  6. package/dist/cjs/f-chip-a50b9f00.js +130 -0
  7. package/dist/cjs/{f-image-d3bd4e08.js → f-image-db55ac49.js} +3 -3
  8. package/dist/cjs/{index-0416afab.js → index-ab119fad.js} +23 -0
  9. package/dist/cjs/ketchup.cjs.js +3 -3
  10. package/dist/cjs/kup-accordion.cjs.entry.js +7 -7
  11. package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_27.cjs.entry.js} +4636 -4073
  12. package/dist/cjs/kup-calendar.cjs.entry.js +626 -359
  13. package/dist/cjs/kup-cell.cjs.entry.js +15 -13
  14. package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-dash_2.cjs.entry.js +8 -7
  16. package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
  17. package/dist/cjs/kup-echart.cjs.entry.js +93039 -0
  18. package/dist/cjs/kup-field.cjs.entry.js +2 -2
  19. package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
  20. package/dist/cjs/kup-lazy.cjs.entry.js +22 -5
  21. package/dist/cjs/kup-magic-box.cjs.entry.js +95 -42
  22. package/dist/cjs/{kup-manager-1a2688ca.js → kup-manager-5877b2ee.js} +3392 -753
  23. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  24. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  27. package/dist/cjs/loader.cjs.js +3 -3
  28. package/dist/cjs/{tslib.es6-4360c099.js → tslib.es6-0ee02c67.js} +13 -0
  29. package/dist/cjs/utils-1b5c8c70.js +482 -0
  30. package/dist/collection/assets/calendar.js +46 -1
  31. package/dist/collection/assets/card.js +15 -15
  32. package/dist/collection/assets/data-table.js +18 -6
  33. package/dist/collection/assets/index.js +8 -0
  34. package/dist/collection/assets/kupdata.js +937 -0
  35. package/dist/collection/collection-manifest.json +4 -4
  36. package/dist/collection/components/kup-accordion/kup-accordion.css +0 -1
  37. package/dist/collection/components/kup-accordion/kup-accordion.js +2 -2
  38. package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -0
  39. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +148 -52
  40. package/dist/collection/components/kup-badge/kup-badge.js +2 -2
  41. package/dist/collection/components/kup-box/kup-box.js +31 -17
  42. package/dist/collection/components/kup-button/kup-button.js +2 -2
  43. package/dist/collection/components/kup-button-list/kup-button-list.js +26 -8
  44. package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +14 -8
  45. package/dist/collection/components/kup-calendar/kup-calendar.css +2 -2
  46. package/dist/collection/components/kup-calendar/kup-calendar.js +185 -315
  47. package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +38 -0
  48. package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-calendar.js +1 -1
  49. package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-clock.js +32 -32
  50. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +167 -0
  51. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +1 -1
  52. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +2 -2
  53. package/dist/collection/components/kup-card/free/kup-card-free.js +11 -2
  54. package/dist/collection/components/kup-card/kup-card-declarations.js +14 -14
  55. package/dist/collection/components/kup-card/kup-card-helper.js +3 -3
  56. package/dist/collection/components/kup-card/kup-card.css +423 -137
  57. package/dist/collection/components/kup-card/kup-card.js +62 -11
  58. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +1 -1
  59. package/dist/collection/components/kup-card/standard/kup-card-standard.js +18 -5
  60. package/dist/collection/components/kup-cell/kup-cell.js +15 -13
  61. package/dist/collection/components/kup-chart/kup-chart-builder.js +3 -4
  62. package/dist/collection/components/kup-chart/kup-chart.js +7 -7
  63. package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
  64. package/dist/collection/components/kup-chip/kup-chip.css +1 -0
  65. package/dist/collection/components/kup-chip/kup-chip.js +51 -92
  66. package/dist/collection/components/kup-color-picker/kup-color-picker.css +1 -265
  67. package/dist/collection/components/kup-color-picker/kup-color-picker.js +93 -48
  68. package/dist/collection/components/kup-combobox/kup-combobox.js +148 -115
  69. package/dist/collection/components/kup-dash/kup-dash.js +1 -1
  70. package/dist/collection/components/kup-dash-list/kup-dash-list.js +5 -5
  71. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +3 -1
  72. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +28 -56
  73. package/dist/collection/components/kup-data-table/kup-data-table.css +4 -0
  74. package/dist/collection/components/kup-data-table/kup-data-table.js +345 -158
  75. package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -5
  76. package/dist/collection/components/kup-drawer/kup-drawer.js +1 -1
  77. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +2 -2
  78. package/dist/collection/components/kup-echart/assets/maps/africa.json +6116 -0
  79. package/dist/collection/components/kup-echart/assets/maps/america.json +5416 -0
  80. package/dist/collection/components/kup-echart/assets/maps/asia.json +6053 -0
  81. package/dist/collection/components/kup-echart/assets/maps/europe.json +5051 -0
  82. package/dist/collection/components/kup-echart/assets/maps/italy.json +3562 -0
  83. package/dist/collection/components/kup-echart/assets/maps/oceania.json +1069 -0
  84. package/dist/collection/components/kup-echart/assets/maps/world.json +23685 -0
  85. package/dist/collection/components/kup-echart/kup-echart-declarations.js +45 -0
  86. package/dist/collection/components/kup-echart/kup-echart.css +13 -0
  87. package/dist/collection/components/kup-echart/kup-echart.js +1165 -0
  88. package/dist/collection/components/kup-field/kup-field.js +2 -2
  89. package/dist/collection/components/kup-gauge/kup-gauge.js +3 -3
  90. package/dist/collection/components/kup-grid/kup-grid.css +2 -2
  91. package/dist/collection/components/kup-grid/kup-grid.js +6 -5
  92. package/dist/collection/components/kup-iframe/kup-iframe.js +2 -2
  93. package/dist/collection/components/kup-image/assets/svg/science.svg +1 -0
  94. package/dist/collection/components/kup-image/kup-image.js +3 -3
  95. package/dist/collection/components/kup-lazy/kup-lazy.css +21 -11
  96. package/dist/collection/components/kup-lazy/kup-lazy.js +62 -3
  97. package/dist/collection/components/kup-list/kup-list-helper.js +7 -1
  98. package/dist/collection/components/kup-list/kup-list.css +3 -0
  99. package/dist/collection/components/kup-list/kup-list.js +219 -288
  100. package/dist/collection/components/kup-magic-box/kup-magic-box-declarations.js +11 -7
  101. package/dist/collection/components/kup-magic-box/kup-magic-box.js +90 -41
  102. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  103. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  104. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  105. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  106. package/dist/collection/components/kup-radio/kup-radio.js +1 -1
  107. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  108. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  109. package/dist/collection/components/kup-spinner/kup-spinner.js +1 -1
  110. package/dist/collection/components/kup-state/mock-store.js +1 -1
  111. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  112. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +3 -3
  113. package/dist/collection/components/kup-text-field/kup-text-field.css +2 -0
  114. package/dist/collection/components/kup-text-field/kup-text-field.js +2 -2
  115. package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -5
  116. package/dist/collection/components/kup-tooltip/kup-tooltip.js +3 -3
  117. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -5
  118. package/dist/collection/components/kup-tree/kup-tree-faker.js +2 -3
  119. package/dist/collection/components/kup-tree/kup-tree.css +2 -0
  120. package/dist/collection/components/kup-tree/kup-tree.js +145 -70
  121. package/dist/collection/f-components/f-cell/f-cell-declarations.js +3 -1
  122. package/dist/collection/f-components/f-cell/f-cell.js +29 -19
  123. package/dist/collection/f-components/f-chip/f-chip.js +76 -87
  124. package/dist/collection/f-components/f-image/f-image.js +2 -2
  125. package/dist/collection/f-components/f-paginator/f-paginator-declarations.js +5 -0
  126. package/dist/collection/f-components/f-paginator/f-paginator-utils.js +28 -0
  127. package/dist/collection/f-components/f-paginator/f-paginator.js +91 -0
  128. package/dist/collection/f-components/f-text-field/f-text-field.js +4 -4
  129. package/dist/collection/managers/kup-data/kup-data-cell-helper.js +52 -0
  130. package/dist/collection/managers/kup-data/kup-data-column-helper.js +272 -0
  131. package/dist/collection/managers/kup-data/kup-data-declarations.js +9 -0
  132. package/dist/collection/managers/kup-data/kup-data-node-helper.js +72 -0
  133. package/dist/collection/managers/kup-data/kup-data-row-helper.js +28 -0
  134. package/dist/collection/managers/kup-data/kup-data.js +382 -0
  135. package/dist/collection/{utils → managers}/kup-dates/kup-dates-declarations.js +0 -0
  136. package/dist/collection/{utils → managers}/kup-dates/kup-dates.js +53 -19
  137. package/dist/collection/{utils → managers}/kup-debug/kup-debug-browser-utils.js +1 -1
  138. package/dist/collection/{utils → managers}/kup-debug/kup-debug-declarations.js +0 -0
  139. package/dist/collection/{utils → managers}/kup-debug/kup-debug.js +79 -124
  140. package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.js +0 -0
  141. package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position.js +10 -1
  142. package/dist/collection/{utils → managers}/kup-interact/kup-interact-declarations.js +1 -0
  143. package/dist/collection/{utils → managers}/kup-interact/kup-interact.js +22 -13
  144. package/dist/collection/{utils → managers}/kup-language/kup-language-declarations.js +10 -0
  145. package/dist/collection/{utils → managers}/kup-language/kup-language.js +5 -5
  146. package/dist/collection/{utils → managers}/kup-manager/kup-manager-declarations.js +0 -0
  147. package/dist/collection/{utils → managers}/kup-manager/kup-manager.js +45 -4
  148. package/dist/collection/managers/kup-math/kup-math-declarations.js +13 -0
  149. package/dist/collection/managers/kup-math/kup-math-helper.js +39 -0
  150. package/dist/collection/managers/kup-math/kup-math.js +151 -0
  151. package/dist/collection/{utils → managers}/kup-objects/kup-objects-declarations.js +0 -0
  152. package/dist/collection/{utils → managers}/kup-objects/kup-objects.js +15 -0
  153. package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +0 -0
  154. package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.js +0 -0
  155. package/dist/collection/{utils → managers}/kup-search/kup-search-declarations.js +0 -0
  156. package/dist/collection/{utils → managers}/kup-search/kup-search.js +0 -0
  157. package/dist/collection/{utils → managers}/kup-theme/kup-theme-declarations.js +99 -0
  158. package/dist/collection/{utils → managers}/kup-theme/kup-theme.js +117 -68
  159. package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar-declarations.js +0 -0
  160. package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar.js +0 -0
  161. package/dist/collection/types/GenericTypes.js +48 -1
  162. package/dist/collection/utils/cell-utils.js +3 -4
  163. package/dist/collection/utils/filters/filters-column-menu.js +7 -7
  164. package/dist/collection/utils/filters/filters-rows.js +2 -2
  165. package/dist/collection/utils/filters/filters-tree-items.js +12 -12
  166. package/dist/collection/utils/filters/filters.js +3 -2
  167. package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +1 -0
  168. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +100 -68
  169. package/dist/collection/utils/utils.js +4 -4
  170. package/dist/esm/{cell-utils-8f512ea9.js → cell-utils-571978d6.js} +4 -4
  171. package/dist/esm/{component-d2803feb.js → component-c4eb6153.js} +204 -170
  172. package/dist/esm/{f-button-30dbcaa9.js → f-button-b3011cc2.js} +2 -2
  173. package/dist/esm/{f-cell-95c186c6.js → f-cell-b88b2731.js} +38 -28
  174. package/dist/esm/f-chip-a52489ec.js +128 -0
  175. package/dist/esm/{f-image-3bc8b24f.js → f-image-5e5ed7e2.js} +3 -3
  176. package/dist/esm/{index-e0e67c23.js → index-78f3699d.js} +23 -0
  177. package/dist/esm/ketchup.js +3 -3
  178. package/dist/esm/kup-accordion.entry.js +7 -7
  179. package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_27.entry.js} +4420 -3856
  180. package/dist/esm/kup-calendar.entry.js +626 -359
  181. package/dist/esm/kup-cell.entry.js +15 -13
  182. package/dist/esm/kup-dash-list.entry.js +4 -4
  183. package/dist/esm/kup-dash_2.entry.js +8 -7
  184. package/dist/esm/kup-drawer.entry.js +3 -3
  185. package/dist/esm/kup-echart.entry.js +93035 -0
  186. package/dist/esm/kup-field.entry.js +2 -2
  187. package/dist/esm/kup-iframe.entry.js +3 -3
  188. package/dist/esm/kup-lazy.entry.js +22 -5
  189. package/dist/esm/kup-magic-box.entry.js +95 -42
  190. package/dist/esm/{kup-manager-7fc234da.js → kup-manager-1f76a3ef.js} +3388 -753
  191. package/dist/esm/kup-nav-bar.entry.js +3 -3
  192. package/dist/esm/kup-probe.entry.js +2 -2
  193. package/dist/esm/kup-qlik.entry.js +2 -2
  194. package/dist/esm/kup-snackbar.entry.js +5 -5
  195. package/dist/esm/loader.js +3 -3
  196. package/dist/esm/polyfills/css-shim.js +1 -1
  197. package/dist/esm/{tslib.es6-e6137777.js → tslib.es6-8f2d44b6.js} +13 -1
  198. package/dist/esm/utils-93ae800f.js +461 -0
  199. package/dist/ketchup/assets/maps/africa.json +6116 -0
  200. package/dist/ketchup/assets/maps/america.json +5416 -0
  201. package/dist/ketchup/assets/maps/asia.json +6053 -0
  202. package/dist/ketchup/assets/maps/europe.json +5051 -0
  203. package/dist/ketchup/assets/maps/italy.json +3562 -0
  204. package/dist/ketchup/assets/maps/oceania.json +1069 -0
  205. package/dist/ketchup/assets/maps/world.json +23685 -0
  206. package/dist/ketchup/assets/svg/science.svg +1 -0
  207. package/dist/ketchup/ketchup.esm.js +1 -1
  208. package/dist/ketchup/{p-a878016f.entry.js → p-088a886c.entry.js} +1 -1
  209. package/dist/ketchup/p-135cabdc.entry.js +1 -0
  210. package/dist/ketchup/{p-1c6178e4.entry.js → p-1c1e830f.entry.js} +1 -1
  211. package/dist/ketchup/{p-62816d0b.entry.js → p-29208220.entry.js} +1 -1
  212. package/dist/ketchup/{p-ca0ca27f.entry.js → p-2b9f2019.entry.js} +1 -1
  213. package/dist/ketchup/p-52d0582a.js +1 -0
  214. package/dist/ketchup/p-554bd5f0.entry.js +39 -0
  215. package/dist/ketchup/{p-de83f2f6.js → p-5f52e313.js} +1 -1
  216. package/dist/ketchup/{p-ccda584a.entry.js → p-65449480.entry.js} +1 -1
  217. package/dist/ketchup/p-79cf3874.entry.js +1 -0
  218. package/dist/ketchup/p-7a85cda4.js +1 -0
  219. package/dist/ketchup/p-84cce555.entry.js +27 -0
  220. package/dist/ketchup/p-8c44c3b9.js +135 -0
  221. package/dist/ketchup/{p-65adc15b.entry.js → p-9d49cdb2.entry.js} +1 -1
  222. package/dist/ketchup/{p-5a4a5fdc.js → p-a0b1d769.js} +1 -1
  223. package/dist/ketchup/{p-dbb6998b.entry.js → p-a2b6672e.entry.js} +1 -1
  224. package/dist/ketchup/{p-a378ba56.entry.js → p-a4be630b.entry.js} +1 -1
  225. package/dist/ketchup/p-c072b270.js +1 -0
  226. package/dist/ketchup/{p-1baf1205.entry.js → p-c648972c.entry.js} +1 -1
  227. package/dist/ketchup/{p-af4a6191.entry.js → p-d67d39c0.entry.js} +1 -1
  228. package/dist/ketchup/p-d6e2f2b0.entry.js +1 -0
  229. package/dist/ketchup/{p-44375e49.js → p-da387e0e.js} +1 -1
  230. package/dist/ketchup/p-e5c9ec9e.js +1 -0
  231. package/dist/ketchup/{p-cb5f4994.js → p-ed0b8666.js} +0 -0
  232. package/dist/ketchup/p-ef539eda.js +9 -0
  233. package/dist/ketchup/p-f316234c.entry.js +143 -0
  234. package/dist/types/components/kup-accordion/kup-accordion-declarations.d.ts +2 -2
  235. package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +6 -0
  236. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +29 -22
  237. package/dist/types/components/kup-box/kup-box-declarations.d.ts +7 -11
  238. package/dist/types/components/kup-box/kup-box.d.ts +4 -4
  239. package/dist/types/components/kup-button-list/kup-button-list-declarations.d.ts +6 -1
  240. package/dist/types/components/kup-button-list/kup-button-list.d.ts +4 -3
  241. package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +28 -10
  242. package/dist/types/components/kup-calendar/kup-calendar.d.ts +19 -47
  243. package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +27 -0
  244. package/dist/types/components/kup-card/{builtin → built-in}/kup-card-calendar.d.ts +0 -0
  245. package/dist/types/components/kup-card/{builtin → built-in}/kup-card-clock.d.ts +0 -0
  246. package/dist/types/components/kup-card/built-in/kup-card-column-drop-menu.d.ts +3 -0
  247. package/dist/types/components/kup-card/free/kup-card-free.d.ts +7 -1
  248. package/dist/types/components/kup-card/kup-card-declarations.d.ts +46 -21
  249. package/dist/types/components/kup-card/kup-card.d.ts +9 -2
  250. package/dist/types/components/kup-cell/kup-cell.d.ts +3 -3
  251. package/dist/types/components/kup-chart/kup-chart-builder.d.ts +5 -5
  252. package/dist/types/components/kup-chart/kup-chart-declarations.d.ts +3 -3
  253. package/dist/types/components/kup-chart/kup-chart.d.ts +2 -2
  254. package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +6 -3
  255. package/dist/types/components/kup-chip/kup-chip.d.ts +9 -13
  256. package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +7 -3
  257. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +4 -0
  258. package/dist/types/components/kup-combobox/kup-combobox.d.ts +11 -33
  259. package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +2 -2
  260. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +45 -104
  261. package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +8 -11
  262. package/dist/types/components/kup-data-table/kup-data-table.d.ts +49 -27
  263. package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +55 -0
  264. package/dist/types/components/kup-echart/kup-echart.d.ts +100 -0
  265. package/dist/types/components/kup-lazy/kup-lazy.d.ts +13 -1
  266. package/dist/types/components/kup-list/kup-list-declarations.d.ts +2 -1
  267. package/dist/types/components/kup-list/kup-list.d.ts +4 -35
  268. package/dist/types/components/kup-magic-box/kup-magic-box-declarations.d.ts +6 -10
  269. package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +7 -11
  270. package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +11 -13
  271. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +14 -35
  272. package/dist/types/components/kup-tree/kup-tree-faker.d.ts +10 -10
  273. package/dist/types/components/kup-tree/kup-tree.d.ts +45 -35
  274. package/dist/types/components.d.ts +305 -186
  275. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +11 -10
  276. package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +7 -22
  277. package/dist/types/f-components/f-paginator/f-paginator-declarations.d.ts +22 -0
  278. package/dist/types/f-components/f-paginator/f-paginator-utils.d.ts +2 -0
  279. package/dist/types/f-components/f-paginator/f-paginator.d.ts +3 -0
  280. package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +24 -0
  281. package/dist/types/managers/kup-data/kup-data-column-helper.d.ts +31 -0
  282. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +160 -0
  283. package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +23 -0
  284. package/dist/types/managers/kup-data/kup-data-row-helper.d.ts +14 -0
  285. package/dist/types/managers/kup-data/kup-data.d.ts +77 -0
  286. package/dist/types/{utils → managers}/kup-dates/kup-dates-declarations.d.ts +0 -0
  287. package/dist/types/{utils → managers}/kup-dates/kup-dates.d.ts +24 -2
  288. package/dist/types/{utils → managers}/kup-debug/kup-debug-declarations.d.ts +0 -0
  289. package/dist/types/{utils → managers}/kup-debug/kup-debug.d.ts +6 -13
  290. package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -0
  291. package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position.d.ts +0 -0
  292. package/dist/types/{utils → managers}/kup-interact/kup-interact-declarations.d.ts +9 -8
  293. package/dist/types/{utils → managers}/kup-interact/kup-interact.d.ts +7 -6
  294. package/dist/types/{utils → managers}/kup-language/kup-language-declarations.d.ts +11 -1
  295. package/dist/types/{utils → managers}/kup-language/kup-language.d.ts +3 -3
  296. package/dist/types/{utils → managers}/kup-manager/kup-manager-declarations.d.ts +21 -2
  297. package/dist/types/{utils → managers}/kup-manager/kup-manager.d.ts +4 -0
  298. package/dist/types/managers/kup-math/kup-math-declarations.d.ts +21 -0
  299. package/dist/types/managers/kup-math/kup-math-helper.d.ts +17 -0
  300. package/dist/types/managers/kup-math/kup-math.d.ts +60 -0
  301. package/dist/types/{utils → managers}/kup-objects/kup-objects-declarations.d.ts +0 -0
  302. package/dist/types/{utils → managers}/kup-objects/kup-objects.d.ts +6 -0
  303. package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +0 -0
  304. package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +0 -0
  305. package/dist/types/{utils → managers}/kup-search/kup-search-declarations.d.ts +0 -0
  306. package/dist/types/{utils → managers}/kup-search/kup-search.d.ts +0 -0
  307. package/dist/types/{utils → managers}/kup-theme/kup-theme-declarations.d.ts +37 -1
  308. package/dist/types/{utils → managers}/kup-theme/kup-theme.d.ts +19 -19
  309. package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar-declarations.d.ts +0 -0
  310. package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar.d.ts +0 -0
  311. package/dist/types/stencil-public-runtime.d.ts +6 -4
  312. package/dist/types/types/GenericTypes.d.ts +53 -6
  313. package/dist/types/utils/cell-utils.d.ts +7 -6
  314. package/dist/types/utils/filters/filters-column-menu.d.ts +16 -16
  315. package/dist/types/utils/filters/filters-rows.d.ts +10 -10
  316. package/dist/types/utils/filters/filters-tree-items.d.ts +7 -7
  317. package/dist/types/utils/helpers.d.ts +2 -2
  318. package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +1 -0
  319. package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +27 -33
  320. package/dist/types/utils/utils.d.ts +4 -2
  321. package/package.json +31 -26
  322. package/dist/cjs/f-chip-90d95d22.js +0 -141
  323. package/dist/cjs/utils-0cc466b9.js +0 -1492
  324. package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +0 -20
  325. package/dist/collection/components/kup-paginator/kup-paginator-declarations.js +0 -5
  326. package/dist/collection/components/kup-paginator/kup-paginator.css +0 -46
  327. package/dist/collection/components/kup-paginator/kup-paginator.js +0 -408
  328. package/dist/esm/f-chip-c0e9c0ff.js +0 -139
  329. package/dist/esm/utils-6c73709d.js +0 -1470
  330. package/dist/ketchup/p-15321eae.js +0 -1
  331. package/dist/ketchup/p-5a5f2a53.js +0 -1
  332. package/dist/ketchup/p-61faaa38.js +0 -8
  333. package/dist/ketchup/p-7e23ea7c.entry.js +0 -1
  334. package/dist/ketchup/p-9d02a676.js +0 -134
  335. package/dist/ketchup/p-a96e6e32.entry.js +0 -1
  336. package/dist/ketchup/p-ad32821e.entry.js +0 -1
  337. package/dist/ketchup/p-c18c7bb0.entry.js +0 -27
  338. package/dist/ketchup/p-d4aa4922.js +0 -1
  339. package/dist/ketchup/p-ec3a3db9.js +0 -1
  340. package/dist/ketchup/p-ecccb3a4.entry.js +0 -45
  341. package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +0 -14
  342. package/dist/types/components/kup-paginator/kup-paginator-declarations.d.ts +0 -11
  343. package/dist/types/components/kup-paginator/kup-paginator.d.ts +0 -48
@@ -1,4 +1,4 @@
1
- import { b as __spreadArray, c as __read, _ as __extends, a as __assign } from './tslib.es6-e6137777.js';
1
+ import { _ as __spreadArray, a as __read, b as __extends, c as __assign, d as __values } from './tslib.es6-8f2d44b6.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -103,8 +103,9 @@ var MDCComponent = /** @class */ (function () {
103
103
  }
104
104
  this.root = root;
105
105
  this.initialize.apply(this, __spreadArray([], __read(args)));
106
- // Note that we initialize foundation here and not within the constructor's default param so that
107
- // this.root_ is defined and can be used within the foundation class.
106
+ // Note that we initialize foundation here and not within the constructor's
107
+ // default param so that this.root is defined and can be used within the
108
+ // foundation class.
108
109
  this.foundation =
109
110
  foundation === undefined ? this.getDefaultFoundation() : foundation;
110
111
  this.foundation.init();
@@ -255,31 +256,6 @@ function matches(element, selector) {
255
256
  || element.msMatchesSelector;
256
257
  return nativeMatches.call(element, selector);
257
258
  }
258
- /**
259
- * Used to compute the estimated scroll width of elements. When an element is
260
- * hidden due to display: none; being applied to a parent element, the width is
261
- * returned as 0. However, the element will have a true width once no longer
262
- * inside a display: none context. This method computes an estimated width when
263
- * the element is hidden or returns the true width when the element is visble.
264
- * @param {Element} element the element whose width to estimate
265
- */
266
- function estimateScrollWidth(element) {
267
- // Check the offsetParent. If the element inherits display: none from any
268
- // parent, the offsetParent property will be null (see
269
- // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
270
- // This check ensures we only clone the node when necessary.
271
- var htmlEl = element;
272
- if (htmlEl.offsetParent !== null) {
273
- return htmlEl.scrollWidth;
274
- }
275
- var clone = htmlEl.cloneNode(true);
276
- clone.style.setProperty('position', 'absolute');
277
- clone.style.setProperty('transform', 'translate(-9999px, -9999px)');
278
- document.documentElement.appendChild(clone);
279
- var scrollWidth = clone.scrollWidth;
280
- document.documentElement.removeChild(clone);
281
- return scrollWidth;
282
- }
283
259
 
284
260
  /**
285
261
  * @license
@@ -416,25 +392,35 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
416
392
  __extends(MDCRippleFoundation, _super);
417
393
  function MDCRippleFoundation(adapter) {
418
394
  var _this = _super.call(this, __assign(__assign({}, MDCRippleFoundation.defaultAdapter), adapter)) || this;
419
- _this.activationAnimationHasEnded_ = false;
420
- _this.activationTimer_ = 0;
421
- _this.fgDeactivationRemovalTimer_ = 0;
422
- _this.fgScale_ = '0';
423
- _this.frame_ = { width: 0, height: 0 };
424
- _this.initialSize_ = 0;
425
- _this.layoutFrame_ = 0;
426
- _this.maxRadius_ = 0;
427
- _this.unboundedCoords_ = { left: 0, top: 0 };
428
- _this.activationState_ = _this.defaultActivationState_();
429
- _this.activationTimerCallback_ = function () {
430
- _this.activationAnimationHasEnded_ = true;
431
- _this.runDeactivationUXLogicIfReady_();
395
+ _this.activationAnimationHasEnded = false;
396
+ _this.activationTimer = 0;
397
+ _this.fgDeactivationRemovalTimer = 0;
398
+ _this.fgScale = '0';
399
+ _this.frame = { width: 0, height: 0 };
400
+ _this.initialSize = 0;
401
+ _this.layoutFrame = 0;
402
+ _this.maxRadius = 0;
403
+ _this.unboundedCoords = { left: 0, top: 0 };
404
+ _this.activationState = _this.defaultActivationState();
405
+ _this.activationTimerCallback = function () {
406
+ _this.activationAnimationHasEnded = true;
407
+ _this.runDeactivationUXLogicIfReady();
408
+ };
409
+ _this.activateHandler = function (e) {
410
+ _this.activateImpl(e);
411
+ };
412
+ _this.deactivateHandler = function () {
413
+ _this.deactivateImpl();
414
+ };
415
+ _this.focusHandler = function () {
416
+ _this.handleFocus();
417
+ };
418
+ _this.blurHandler = function () {
419
+ _this.handleBlur();
420
+ };
421
+ _this.resizeHandler = function () {
422
+ _this.layout();
432
423
  };
433
- _this.activateHandler_ = function (e) { return _this.activate_(e); };
434
- _this.deactivateHandler_ = function () { return _this.deactivate_(); };
435
- _this.focusHandler_ = function () { return _this.handleFocus(); };
436
- _this.blurHandler_ = function () { return _this.handleBlur(); };
437
- _this.resizeHandler_ = function () { return _this.layout(); };
438
424
  return _this;
439
425
  }
440
426
  Object.defineProperty(MDCRippleFoundation, "cssClasses", {
@@ -463,7 +449,9 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
463
449
  return {
464
450
  addClass: function () { return undefined; },
465
451
  browserSupportsCssVars: function () { return true; },
466
- computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
452
+ computeBoundingRect: function () {
453
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
454
+ },
467
455
  containsEventTarget: function () { return true; },
468
456
  deregisterDocumentInteractionHandler: function () { return undefined; },
469
457
  deregisterInteractionHandler: function () { return undefined; },
@@ -484,8 +472,8 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
484
472
  });
485
473
  MDCRippleFoundation.prototype.init = function () {
486
474
  var _this = this;
487
- var supportsPressRipple = this.supportsPressRipple_();
488
- this.registerRootHandlers_(supportsPressRipple);
475
+ var supportsPressRipple = this.supportsPressRipple();
476
+ this.registerRootHandlers(supportsPressRipple);
489
477
  if (supportsPressRipple) {
490
478
  var _a = MDCRippleFoundation.cssClasses, ROOT_1 = _a.ROOT, UNBOUNDED_1 = _a.UNBOUNDED;
491
479
  requestAnimationFrame(function () {
@@ -493,51 +481,51 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
493
481
  if (_this.adapter.isUnbounded()) {
494
482
  _this.adapter.addClass(UNBOUNDED_1);
495
483
  // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple
496
- _this.layoutInternal_();
484
+ _this.layoutInternal();
497
485
  }
498
486
  });
499
487
  }
500
488
  };
501
489
  MDCRippleFoundation.prototype.destroy = function () {
502
490
  var _this = this;
503
- if (this.supportsPressRipple_()) {
504
- if (this.activationTimer_) {
505
- clearTimeout(this.activationTimer_);
506
- this.activationTimer_ = 0;
491
+ if (this.supportsPressRipple()) {
492
+ if (this.activationTimer) {
493
+ clearTimeout(this.activationTimer);
494
+ this.activationTimer = 0;
507
495
  this.adapter.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION);
508
496
  }
509
- if (this.fgDeactivationRemovalTimer_) {
510
- clearTimeout(this.fgDeactivationRemovalTimer_);
511
- this.fgDeactivationRemovalTimer_ = 0;
497
+ if (this.fgDeactivationRemovalTimer) {
498
+ clearTimeout(this.fgDeactivationRemovalTimer);
499
+ this.fgDeactivationRemovalTimer = 0;
512
500
  this.adapter.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION);
513
501
  }
514
502
  var _a = MDCRippleFoundation.cssClasses, ROOT_2 = _a.ROOT, UNBOUNDED_2 = _a.UNBOUNDED;
515
503
  requestAnimationFrame(function () {
516
504
  _this.adapter.removeClass(ROOT_2);
517
505
  _this.adapter.removeClass(UNBOUNDED_2);
518
- _this.removeCssVars_();
506
+ _this.removeCssVars();
519
507
  });
520
508
  }
521
- this.deregisterRootHandlers_();
522
- this.deregisterDeactivationHandlers_();
509
+ this.deregisterRootHandlers();
510
+ this.deregisterDeactivationHandlers();
523
511
  };
524
512
  /**
525
513
  * @param evt Optional event containing position information.
526
514
  */
527
515
  MDCRippleFoundation.prototype.activate = function (evt) {
528
- this.activate_(evt);
516
+ this.activateImpl(evt);
529
517
  };
530
518
  MDCRippleFoundation.prototype.deactivate = function () {
531
- this.deactivate_();
519
+ this.deactivateImpl();
532
520
  };
533
521
  MDCRippleFoundation.prototype.layout = function () {
534
522
  var _this = this;
535
- if (this.layoutFrame_) {
536
- cancelAnimationFrame(this.layoutFrame_);
523
+ if (this.layoutFrame) {
524
+ cancelAnimationFrame(this.layoutFrame);
537
525
  }
538
- this.layoutFrame_ = requestAnimationFrame(function () {
539
- _this.layoutInternal_();
540
- _this.layoutFrame_ = 0;
526
+ this.layoutFrame = requestAnimationFrame(function () {
527
+ _this.layoutInternal();
528
+ _this.layoutFrame = 0;
541
529
  });
542
530
  };
543
531
  MDCRippleFoundation.prototype.setUnbounded = function (unbounded) {
@@ -563,10 +551,10 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
563
551
  * client-side feature-detection may happen too early, such as when components are rendered on the server
564
552
  * and then initialized at mount time on the client.
565
553
  */
566
- MDCRippleFoundation.prototype.supportsPressRipple_ = function () {
554
+ MDCRippleFoundation.prototype.supportsPressRipple = function () {
567
555
  return this.adapter.browserSupportsCssVars();
568
556
  };
569
- MDCRippleFoundation.prototype.defaultActivationState_ = function () {
557
+ MDCRippleFoundation.prototype.defaultActivationState = function () {
570
558
  return {
571
559
  activationEvent: undefined,
572
560
  hasDeactivationUXRun: false,
@@ -579,49 +567,89 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
579
567
  /**
580
568
  * supportsPressRipple Passed from init to save a redundant function call
581
569
  */
582
- MDCRippleFoundation.prototype.registerRootHandlers_ = function (supportsPressRipple) {
583
- var _this = this;
570
+ MDCRippleFoundation.prototype.registerRootHandlers = function (supportsPressRipple) {
571
+ var e_1, _a;
584
572
  if (supportsPressRipple) {
585
- ACTIVATION_EVENT_TYPES.forEach(function (evtType) {
586
- _this.adapter.registerInteractionHandler(evtType, _this.activateHandler_);
587
- });
573
+ try {
574
+ for (var ACTIVATION_EVENT_TYPES_1 = __values(ACTIVATION_EVENT_TYPES), ACTIVATION_EVENT_TYPES_1_1 = ACTIVATION_EVENT_TYPES_1.next(); !ACTIVATION_EVENT_TYPES_1_1.done; ACTIVATION_EVENT_TYPES_1_1 = ACTIVATION_EVENT_TYPES_1.next()) {
575
+ var evtType = ACTIVATION_EVENT_TYPES_1_1.value;
576
+ this.adapter.registerInteractionHandler(evtType, this.activateHandler);
577
+ }
578
+ }
579
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
580
+ finally {
581
+ try {
582
+ if (ACTIVATION_EVENT_TYPES_1_1 && !ACTIVATION_EVENT_TYPES_1_1.done && (_a = ACTIVATION_EVENT_TYPES_1.return)) _a.call(ACTIVATION_EVENT_TYPES_1);
583
+ }
584
+ finally { if (e_1) throw e_1.error; }
585
+ }
588
586
  if (this.adapter.isUnbounded()) {
589
- this.adapter.registerResizeHandler(this.resizeHandler_);
587
+ this.adapter.registerResizeHandler(this.resizeHandler);
590
588
  }
591
589
  }
592
- this.adapter.registerInteractionHandler('focus', this.focusHandler_);
593
- this.adapter.registerInteractionHandler('blur', this.blurHandler_);
590
+ this.adapter.registerInteractionHandler('focus', this.focusHandler);
591
+ this.adapter.registerInteractionHandler('blur', this.blurHandler);
594
592
  };
595
- MDCRippleFoundation.prototype.registerDeactivationHandlers_ = function (evt) {
596
- var _this = this;
593
+ MDCRippleFoundation.prototype.registerDeactivationHandlers = function (evt) {
594
+ var e_2, _a;
597
595
  if (evt.type === 'keydown') {
598
- this.adapter.registerInteractionHandler('keyup', this.deactivateHandler_);
596
+ this.adapter.registerInteractionHandler('keyup', this.deactivateHandler);
599
597
  }
600
598
  else {
601
- POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {
602
- _this.adapter.registerDocumentInteractionHandler(evtType, _this.deactivateHandler_);
603
- });
599
+ try {
600
+ for (var POINTER_DEACTIVATION_EVENT_TYPES_1 = __values(POINTER_DEACTIVATION_EVENT_TYPES), POINTER_DEACTIVATION_EVENT_TYPES_1_1 = POINTER_DEACTIVATION_EVENT_TYPES_1.next(); !POINTER_DEACTIVATION_EVENT_TYPES_1_1.done; POINTER_DEACTIVATION_EVENT_TYPES_1_1 = POINTER_DEACTIVATION_EVENT_TYPES_1.next()) {
601
+ var evtType = POINTER_DEACTIVATION_EVENT_TYPES_1_1.value;
602
+ this.adapter.registerDocumentInteractionHandler(evtType, this.deactivateHandler);
603
+ }
604
+ }
605
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
606
+ finally {
607
+ try {
608
+ if (POINTER_DEACTIVATION_EVENT_TYPES_1_1 && !POINTER_DEACTIVATION_EVENT_TYPES_1_1.done && (_a = POINTER_DEACTIVATION_EVENT_TYPES_1.return)) _a.call(POINTER_DEACTIVATION_EVENT_TYPES_1);
609
+ }
610
+ finally { if (e_2) throw e_2.error; }
611
+ }
604
612
  }
605
613
  };
606
- MDCRippleFoundation.prototype.deregisterRootHandlers_ = function () {
607
- var _this = this;
608
- ACTIVATION_EVENT_TYPES.forEach(function (evtType) {
609
- _this.adapter.deregisterInteractionHandler(evtType, _this.activateHandler_);
610
- });
611
- this.adapter.deregisterInteractionHandler('focus', this.focusHandler_);
612
- this.adapter.deregisterInteractionHandler('blur', this.blurHandler_);
614
+ MDCRippleFoundation.prototype.deregisterRootHandlers = function () {
615
+ var e_3, _a;
616
+ try {
617
+ for (var ACTIVATION_EVENT_TYPES_2 = __values(ACTIVATION_EVENT_TYPES), ACTIVATION_EVENT_TYPES_2_1 = ACTIVATION_EVENT_TYPES_2.next(); !ACTIVATION_EVENT_TYPES_2_1.done; ACTIVATION_EVENT_TYPES_2_1 = ACTIVATION_EVENT_TYPES_2.next()) {
618
+ var evtType = ACTIVATION_EVENT_TYPES_2_1.value;
619
+ this.adapter.deregisterInteractionHandler(evtType, this.activateHandler);
620
+ }
621
+ }
622
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
623
+ finally {
624
+ try {
625
+ if (ACTIVATION_EVENT_TYPES_2_1 && !ACTIVATION_EVENT_TYPES_2_1.done && (_a = ACTIVATION_EVENT_TYPES_2.return)) _a.call(ACTIVATION_EVENT_TYPES_2);
626
+ }
627
+ finally { if (e_3) throw e_3.error; }
628
+ }
629
+ this.adapter.deregisterInteractionHandler('focus', this.focusHandler);
630
+ this.adapter.deregisterInteractionHandler('blur', this.blurHandler);
613
631
  if (this.adapter.isUnbounded()) {
614
- this.adapter.deregisterResizeHandler(this.resizeHandler_);
632
+ this.adapter.deregisterResizeHandler(this.resizeHandler);
615
633
  }
616
634
  };
617
- MDCRippleFoundation.prototype.deregisterDeactivationHandlers_ = function () {
618
- var _this = this;
619
- this.adapter.deregisterInteractionHandler('keyup', this.deactivateHandler_);
620
- POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {
621
- _this.adapter.deregisterDocumentInteractionHandler(evtType, _this.deactivateHandler_);
622
- });
635
+ MDCRippleFoundation.prototype.deregisterDeactivationHandlers = function () {
636
+ var e_4, _a;
637
+ this.adapter.deregisterInteractionHandler('keyup', this.deactivateHandler);
638
+ try {
639
+ for (var POINTER_DEACTIVATION_EVENT_TYPES_2 = __values(POINTER_DEACTIVATION_EVENT_TYPES), POINTER_DEACTIVATION_EVENT_TYPES_2_1 = POINTER_DEACTIVATION_EVENT_TYPES_2.next(); !POINTER_DEACTIVATION_EVENT_TYPES_2_1.done; POINTER_DEACTIVATION_EVENT_TYPES_2_1 = POINTER_DEACTIVATION_EVENT_TYPES_2.next()) {
640
+ var evtType = POINTER_DEACTIVATION_EVENT_TYPES_2_1.value;
641
+ this.adapter.deregisterDocumentInteractionHandler(evtType, this.deactivateHandler);
642
+ }
643
+ }
644
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
645
+ finally {
646
+ try {
647
+ if (POINTER_DEACTIVATION_EVENT_TYPES_2_1 && !POINTER_DEACTIVATION_EVENT_TYPES_2_1.done && (_a = POINTER_DEACTIVATION_EVENT_TYPES_2.return)) _a.call(POINTER_DEACTIVATION_EVENT_TYPES_2);
648
+ }
649
+ finally { if (e_4) throw e_4.error; }
650
+ }
623
651
  };
624
- MDCRippleFoundation.prototype.removeCssVars_ = function () {
652
+ MDCRippleFoundation.prototype.removeCssVars = function () {
625
653
  var _this = this;
626
654
  var rippleStrings = MDCRippleFoundation.strings;
627
655
  var keys = Object.keys(rippleStrings);
@@ -631,17 +659,17 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
631
659
  }
632
660
  });
633
661
  };
634
- MDCRippleFoundation.prototype.activate_ = function (evt) {
662
+ MDCRippleFoundation.prototype.activateImpl = function (evt) {
635
663
  var _this = this;
636
664
  if (this.adapter.isSurfaceDisabled()) {
637
665
  return;
638
666
  }
639
- var activationState = this.activationState_;
667
+ var activationState = this.activationState;
640
668
  if (activationState.isActivated) {
641
669
  return;
642
670
  }
643
671
  // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction
644
- var previousActivationEvent = this.previousActivationEvent_;
672
+ var previousActivationEvent = this.previousActivationEvent;
645
673
  var isSameInteraction = previousActivationEvent && evt !== undefined && previousActivationEvent.type !== evt.type;
646
674
  if (isSameInteraction) {
647
675
  return;
@@ -655,16 +683,16 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
655
683
  activatedTargets.some(function (target) { return _this.adapter.containsEventTarget(target); });
656
684
  if (hasActivatedChild) {
657
685
  // Immediately reset activation state, while preserving logic that prevents touch follow-on events
658
- this.resetActivationState_();
686
+ this.resetActivationState();
659
687
  return;
660
688
  }
661
689
  if (evt !== undefined) {
662
690
  activatedTargets.push(evt.target);
663
- this.registerDeactivationHandlers_(evt);
691
+ this.registerDeactivationHandlers(evt);
664
692
  }
665
- activationState.wasElementMadeActive = this.checkElementMadeActive_(evt);
693
+ activationState.wasElementMadeActive = this.checkElementMadeActive(evt);
666
694
  if (activationState.wasElementMadeActive) {
667
- this.animateActivation_();
695
+ this.animateActivation();
668
696
  }
669
697
  requestAnimationFrame(function () {
670
698
  // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples
@@ -678,130 +706,134 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
678
706
  // - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741
679
707
  // We try first outside rAF to support Edge, which does not exhibit this problem, but will crash if a CSS
680
708
  // variable is set within a rAF callback for a submit button interaction (#2241).
681
- activationState.wasElementMadeActive = _this.checkElementMadeActive_(evt);
709
+ activationState.wasElementMadeActive = _this.checkElementMadeActive(evt);
682
710
  if (activationState.wasElementMadeActive) {
683
- _this.animateActivation_();
711
+ _this.animateActivation();
684
712
  }
685
713
  }
686
714
  if (!activationState.wasElementMadeActive) {
687
715
  // Reset activation state immediately if element was not made active.
688
- _this.activationState_ = _this.defaultActivationState_();
716
+ _this.activationState = _this.defaultActivationState();
689
717
  }
690
718
  });
691
719
  };
692
- MDCRippleFoundation.prototype.checkElementMadeActive_ = function (evt) {
720
+ MDCRippleFoundation.prototype.checkElementMadeActive = function (evt) {
693
721
  return (evt !== undefined && evt.type === 'keydown') ?
694
722
  this.adapter.isSurfaceActive() :
695
723
  true;
696
724
  };
697
- MDCRippleFoundation.prototype.animateActivation_ = function () {
725
+ MDCRippleFoundation.prototype.animateActivation = function () {
698
726
  var _this = this;
699
727
  var _a = MDCRippleFoundation.strings, VAR_FG_TRANSLATE_START = _a.VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END = _a.VAR_FG_TRANSLATE_END;
700
728
  var _b = MDCRippleFoundation.cssClasses, FG_DEACTIVATION = _b.FG_DEACTIVATION, FG_ACTIVATION = _b.FG_ACTIVATION;
701
729
  var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;
702
- this.layoutInternal_();
730
+ this.layoutInternal();
703
731
  var translateStart = '';
704
732
  var translateEnd = '';
705
733
  if (!this.adapter.isUnbounded()) {
706
- var _c = this.getFgTranslationCoordinates_(), startPoint = _c.startPoint, endPoint = _c.endPoint;
734
+ var _c = this.getFgTranslationCoordinates(), startPoint = _c.startPoint, endPoint = _c.endPoint;
707
735
  translateStart = startPoint.x + "px, " + startPoint.y + "px";
708
736
  translateEnd = endPoint.x + "px, " + endPoint.y + "px";
709
737
  }
710
738
  this.adapter.updateCssVariable(VAR_FG_TRANSLATE_START, translateStart);
711
739
  this.adapter.updateCssVariable(VAR_FG_TRANSLATE_END, translateEnd);
712
740
  // Cancel any ongoing activation/deactivation animations
713
- clearTimeout(this.activationTimer_);
714
- clearTimeout(this.fgDeactivationRemovalTimer_);
715
- this.rmBoundedActivationClasses_();
741
+ clearTimeout(this.activationTimer);
742
+ clearTimeout(this.fgDeactivationRemovalTimer);
743
+ this.rmBoundedActivationClasses();
716
744
  this.adapter.removeClass(FG_DEACTIVATION);
717
745
  // Force layout in order to re-trigger the animation.
718
746
  this.adapter.computeBoundingRect();
719
747
  this.adapter.addClass(FG_ACTIVATION);
720
- this.activationTimer_ = setTimeout(function () { return _this.activationTimerCallback_(); }, DEACTIVATION_TIMEOUT_MS);
748
+ this.activationTimer = setTimeout(function () {
749
+ _this.activationTimerCallback();
750
+ }, DEACTIVATION_TIMEOUT_MS);
721
751
  };
722
- MDCRippleFoundation.prototype.getFgTranslationCoordinates_ = function () {
723
- var _a = this.activationState_, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;
752
+ MDCRippleFoundation.prototype.getFgTranslationCoordinates = function () {
753
+ var _a = this.activationState, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;
724
754
  var startPoint;
725
755
  if (wasActivatedByPointer) {
726
756
  startPoint = getNormalizedEventCoords(activationEvent, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect());
727
757
  }
728
758
  else {
729
759
  startPoint = {
730
- x: this.frame_.width / 2,
731
- y: this.frame_.height / 2,
760
+ x: this.frame.width / 2,
761
+ y: this.frame.height / 2,
732
762
  };
733
763
  }
734
764
  // Center the element around the start point.
735
765
  startPoint = {
736
- x: startPoint.x - (this.initialSize_ / 2),
737
- y: startPoint.y - (this.initialSize_ / 2),
766
+ x: startPoint.x - (this.initialSize / 2),
767
+ y: startPoint.y - (this.initialSize / 2),
738
768
  };
739
769
  var endPoint = {
740
- x: (this.frame_.width / 2) - (this.initialSize_ / 2),
741
- y: (this.frame_.height / 2) - (this.initialSize_ / 2),
770
+ x: (this.frame.width / 2) - (this.initialSize / 2),
771
+ y: (this.frame.height / 2) - (this.initialSize / 2),
742
772
  };
743
773
  return { startPoint: startPoint, endPoint: endPoint };
744
774
  };
745
- MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_ = function () {
775
+ MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady = function () {
746
776
  var _this = this;
747
777
  // This method is called both when a pointing device is released, and when the activation animation ends.
748
778
  // The deactivation animation should only run after both of those occur.
749
779
  var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION;
750
- var _a = this.activationState_, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;
780
+ var _a = this.activationState, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;
751
781
  var activationHasEnded = hasDeactivationUXRun || !isActivated;
752
- if (activationHasEnded && this.activationAnimationHasEnded_) {
753
- this.rmBoundedActivationClasses_();
782
+ if (activationHasEnded && this.activationAnimationHasEnded) {
783
+ this.rmBoundedActivationClasses();
754
784
  this.adapter.addClass(FG_DEACTIVATION);
755
- this.fgDeactivationRemovalTimer_ = setTimeout(function () {
785
+ this.fgDeactivationRemovalTimer = setTimeout(function () {
756
786
  _this.adapter.removeClass(FG_DEACTIVATION);
757
787
  }, numbers.FG_DEACTIVATION_MS);
758
788
  }
759
789
  };
760
- MDCRippleFoundation.prototype.rmBoundedActivationClasses_ = function () {
790
+ MDCRippleFoundation.prototype.rmBoundedActivationClasses = function () {
761
791
  var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION;
762
792
  this.adapter.removeClass(FG_ACTIVATION);
763
- this.activationAnimationHasEnded_ = false;
793
+ this.activationAnimationHasEnded = false;
764
794
  this.adapter.computeBoundingRect();
765
795
  };
766
- MDCRippleFoundation.prototype.resetActivationState_ = function () {
796
+ MDCRippleFoundation.prototype.resetActivationState = function () {
767
797
  var _this = this;
768
- this.previousActivationEvent_ = this.activationState_.activationEvent;
769
- this.activationState_ = this.defaultActivationState_();
798
+ this.previousActivationEvent = this.activationState.activationEvent;
799
+ this.activationState = this.defaultActivationState();
770
800
  // Touch devices may fire additional events for the same interaction within a short time.
771
801
  // Store the previous event until it's safe to assume that subsequent events are for new interactions.
772
- setTimeout(function () { return _this.previousActivationEvent_ = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);
802
+ setTimeout(function () { return _this.previousActivationEvent = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);
773
803
  };
774
- MDCRippleFoundation.prototype.deactivate_ = function () {
804
+ MDCRippleFoundation.prototype.deactivateImpl = function () {
775
805
  var _this = this;
776
- var activationState = this.activationState_;
806
+ var activationState = this.activationState;
777
807
  // This can happen in scenarios such as when you have a keyup event that blurs the element.
778
808
  if (!activationState.isActivated) {
779
809
  return;
780
810
  }
781
811
  var state = __assign({}, activationState);
782
812
  if (activationState.isProgrammatic) {
783
- requestAnimationFrame(function () { return _this.animateDeactivation_(state); });
784
- this.resetActivationState_();
813
+ requestAnimationFrame(function () {
814
+ _this.animateDeactivation(state);
815
+ });
816
+ this.resetActivationState();
785
817
  }
786
818
  else {
787
- this.deregisterDeactivationHandlers_();
819
+ this.deregisterDeactivationHandlers();
788
820
  requestAnimationFrame(function () {
789
- _this.activationState_.hasDeactivationUXRun = true;
790
- _this.animateDeactivation_(state);
791
- _this.resetActivationState_();
821
+ _this.activationState.hasDeactivationUXRun = true;
822
+ _this.animateDeactivation(state);
823
+ _this.resetActivationState();
792
824
  });
793
825
  }
794
826
  };
795
- MDCRippleFoundation.prototype.animateDeactivation_ = function (_a) {
827
+ MDCRippleFoundation.prototype.animateDeactivation = function (_a) {
796
828
  var wasActivatedByPointer = _a.wasActivatedByPointer, wasElementMadeActive = _a.wasElementMadeActive;
797
829
  if (wasActivatedByPointer || wasElementMadeActive) {
798
- this.runDeactivationUXLogicIfReady_();
830
+ this.runDeactivationUXLogicIfReady();
799
831
  }
800
832
  };
801
- MDCRippleFoundation.prototype.layoutInternal_ = function () {
833
+ MDCRippleFoundation.prototype.layoutInternal = function () {
802
834
  var _this = this;
803
- this.frame_ = this.adapter.computeBoundingRect();
804
- var maxDim = Math.max(this.frame_.height, this.frame_.width);
835
+ this.frame = this.adapter.computeBoundingRect();
836
+ var maxDim = Math.max(this.frame.height, this.frame.width);
805
837
  // Surface diameter is treated differently for unbounded vs. bounded ripples.
806
838
  // Unbounded ripple diameter is calculated smaller since the surface is expected to already be padded appropriately
807
839
  // to extend the hitbox, and the ripple is expected to meet the edges of the padded hitbox (which is typically
@@ -809,33 +841,33 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
809
841
  // (calculated based on the diagonal plus a constant padding), and are clipped at the surface's border via
810
842
  // `overflow: hidden`.
811
843
  var getBoundedRadius = function () {
812
- var hypotenuse = Math.sqrt(Math.pow(_this.frame_.width, 2) + Math.pow(_this.frame_.height, 2));
844
+ var hypotenuse = Math.sqrt(Math.pow(_this.frame.width, 2) + Math.pow(_this.frame.height, 2));
813
845
  return hypotenuse + MDCRippleFoundation.numbers.PADDING;
814
846
  };
815
- this.maxRadius_ = this.adapter.isUnbounded() ? maxDim : getBoundedRadius();
847
+ this.maxRadius = this.adapter.isUnbounded() ? maxDim : getBoundedRadius();
816
848
  // Ripple is sized as a fraction of the largest dimension of the surface, then scales up using a CSS scale transform
817
849
  var initialSize = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE);
818
850
  // Unbounded ripple size should always be even number to equally center align.
819
851
  if (this.adapter.isUnbounded() && initialSize % 2 !== 0) {
820
- this.initialSize_ = initialSize - 1;
852
+ this.initialSize = initialSize - 1;
821
853
  }
822
854
  else {
823
- this.initialSize_ = initialSize;
855
+ this.initialSize = initialSize;
824
856
  }
825
- this.fgScale_ = "" + this.maxRadius_ / this.initialSize_;
826
- this.updateLayoutCssVars_();
857
+ this.fgScale = "" + this.maxRadius / this.initialSize;
858
+ this.updateLayoutCssVars();
827
859
  };
828
- MDCRippleFoundation.prototype.updateLayoutCssVars_ = function () {
860
+ MDCRippleFoundation.prototype.updateLayoutCssVars = function () {
829
861
  var _a = MDCRippleFoundation.strings, VAR_FG_SIZE = _a.VAR_FG_SIZE, VAR_LEFT = _a.VAR_LEFT, VAR_TOP = _a.VAR_TOP, VAR_FG_SCALE = _a.VAR_FG_SCALE;
830
- this.adapter.updateCssVariable(VAR_FG_SIZE, this.initialSize_ + "px");
831
- this.adapter.updateCssVariable(VAR_FG_SCALE, this.fgScale_);
862
+ this.adapter.updateCssVariable(VAR_FG_SIZE, this.initialSize + "px");
863
+ this.adapter.updateCssVariable(VAR_FG_SCALE, this.fgScale);
832
864
  if (this.adapter.isUnbounded()) {
833
- this.unboundedCoords_ = {
834
- left: Math.round((this.frame_.width / 2) - (this.initialSize_ / 2)),
835
- top: Math.round((this.frame_.height / 2) - (this.initialSize_ / 2)),
865
+ this.unboundedCoords = {
866
+ left: Math.round((this.frame.width / 2) - (this.initialSize / 2)),
867
+ top: Math.round((this.frame.height / 2) - (this.initialSize / 2)),
836
868
  };
837
- this.adapter.updateCssVariable(VAR_LEFT, this.unboundedCoords_.left + "px");
838
- this.adapter.updateCssVariable(VAR_TOP, this.unboundedCoords_.top + "px");
869
+ this.adapter.updateCssVariable(VAR_LEFT, this.unboundedCoords.left + "px");
870
+ this.adapter.updateCssVariable(VAR_TOP, this.unboundedCoords.top + "px");
839
871
  }
840
872
  };
841
873
  return MDCRippleFoundation;
@@ -871,7 +903,9 @@ var MDCRipple = /** @class */ (function (_super) {
871
903
  return _this;
872
904
  }
873
905
  MDCRipple.attachTo = function (root, opts) {
874
- if (opts === void 0) { opts = { isUnbounded: undefined }; }
906
+ if (opts === void 0) { opts = {
907
+ isUnbounded: undefined
908
+ }; }
875
909
  var ripple = new MDCRipple(root);
876
910
  // Only override unbounded behavior if option is explicitly specified
877
911
  if (opts.isUnbounded !== undefined) {
@@ -919,11 +953,11 @@ var MDCRipple = /** @class */ (function (_super) {
919
953
  };
920
954
  Object.defineProperty(MDCRipple.prototype, "unbounded", {
921
955
  get: function () {
922
- return Boolean(this.unbounded_);
956
+ return Boolean(this.isUnbounded);
923
957
  },
924
958
  set: function (unbounded) {
925
- this.unbounded_ = Boolean(unbounded);
926
- this.setUnbounded_();
959
+ this.isUnbounded = Boolean(unbounded);
960
+ this.setUnbounded();
927
961
  },
928
962
  enumerable: false,
929
963
  configurable: true
@@ -942,7 +976,7 @@ var MDCRipple = /** @class */ (function (_super) {
942
976
  };
943
977
  MDCRipple.prototype.initialSyncWithDOM = function () {
944
978
  var root = this.root;
945
- this.unbounded = 'mdcRippleIsUnbounded' in root.dataset;
979
+ this.isUnbounded = 'mdcRippleIsUnbounded' in root.dataset;
946
980
  };
947
981
  /**
948
982
  * Closure Compiler throws an access control error when directly accessing a
@@ -950,10 +984,10 @@ var MDCRipple = /** @class */ (function (_super) {
950
984
  * By accessing the protected property inside a method, we solve that problem.
951
985
  * That's why this function exists.
952
986
  */
953
- MDCRipple.prototype.setUnbounded_ = function () {
954
- this.foundation.setUnbounded(Boolean(this.unbounded_));
987
+ MDCRipple.prototype.setUnbounded = function () {
988
+ this.foundation.setUnbounded(Boolean(this.isUnbounded));
955
989
  };
956
990
  return MDCRipple;
957
991
  }(MDCComponent));
958
992
 
959
- export { MDCFoundation as M, MDCComponent as a, applyPassive as b, MDCRipple as c, MDCRippleFoundation as d, estimateScrollWidth as e, matches as m };
993
+ export { MDCRipple as M, MDCRippleFoundation as a };
@@ -1,6 +1,6 @@
1
- import { h } from './index-e0e67c23.js';
1
+ import { h } from './index-78f3699d.js';
2
2
  import { F as FButtonStyling } from './f-button-declarations-fd4965d1.js';
3
- import { F as FImage } from './f-image-3bc8b24f.js';
3
+ import { F as FImage } from './f-image-5e5ed7e2.js';
4
4
 
5
5
  /*-------------------------------------------------*/
6
6
  /* C o m p o n e n t */