@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,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const tslib_es6 = require('./tslib.es6-4360c099.js');
3
+ const tslib_es6 = require('./tslib.es6-0ee02c67.js');
4
4
 
5
5
  /**
6
6
  * @license
@@ -105,8 +105,9 @@ var MDCComponent = /** @class */ (function () {
105
105
  }
106
106
  this.root = root;
107
107
  this.initialize.apply(this, tslib_es6.__spreadArray([], tslib_es6.__read(args)));
108
- // Note that we initialize foundation here and not within the constructor's default param so that
109
- // this.root_ is defined and can be used within the foundation class.
108
+ // Note that we initialize foundation here and not within the constructor's
109
+ // default param so that this.root is defined and can be used within the
110
+ // foundation class.
110
111
  this.foundation =
111
112
  foundation === undefined ? this.getDefaultFoundation() : foundation;
112
113
  this.foundation.init();
@@ -257,31 +258,6 @@ function matches(element, selector) {
257
258
  || element.msMatchesSelector;
258
259
  return nativeMatches.call(element, selector);
259
260
  }
260
- /**
261
- * Used to compute the estimated scroll width of elements. When an element is
262
- * hidden due to display: none; being applied to a parent element, the width is
263
- * returned as 0. However, the element will have a true width once no longer
264
- * inside a display: none context. This method computes an estimated width when
265
- * the element is hidden or returns the true width when the element is visble.
266
- * @param {Element} element the element whose width to estimate
267
- */
268
- function estimateScrollWidth(element) {
269
- // Check the offsetParent. If the element inherits display: none from any
270
- // parent, the offsetParent property will be null (see
271
- // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
272
- // This check ensures we only clone the node when necessary.
273
- var htmlEl = element;
274
- if (htmlEl.offsetParent !== null) {
275
- return htmlEl.scrollWidth;
276
- }
277
- var clone = htmlEl.cloneNode(true);
278
- clone.style.setProperty('position', 'absolute');
279
- clone.style.setProperty('transform', 'translate(-9999px, -9999px)');
280
- document.documentElement.appendChild(clone);
281
- var scrollWidth = clone.scrollWidth;
282
- document.documentElement.removeChild(clone);
283
- return scrollWidth;
284
- }
285
261
 
286
262
  /**
287
263
  * @license
@@ -418,25 +394,35 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
418
394
  tslib_es6.__extends(MDCRippleFoundation, _super);
419
395
  function MDCRippleFoundation(adapter) {
420
396
  var _this = _super.call(this, tslib_es6.__assign(tslib_es6.__assign({}, MDCRippleFoundation.defaultAdapter), adapter)) || this;
421
- _this.activationAnimationHasEnded_ = false;
422
- _this.activationTimer_ = 0;
423
- _this.fgDeactivationRemovalTimer_ = 0;
424
- _this.fgScale_ = '0';
425
- _this.frame_ = { width: 0, height: 0 };
426
- _this.initialSize_ = 0;
427
- _this.layoutFrame_ = 0;
428
- _this.maxRadius_ = 0;
429
- _this.unboundedCoords_ = { left: 0, top: 0 };
430
- _this.activationState_ = _this.defaultActivationState_();
431
- _this.activationTimerCallback_ = function () {
432
- _this.activationAnimationHasEnded_ = true;
433
- _this.runDeactivationUXLogicIfReady_();
397
+ _this.activationAnimationHasEnded = false;
398
+ _this.activationTimer = 0;
399
+ _this.fgDeactivationRemovalTimer = 0;
400
+ _this.fgScale = '0';
401
+ _this.frame = { width: 0, height: 0 };
402
+ _this.initialSize = 0;
403
+ _this.layoutFrame = 0;
404
+ _this.maxRadius = 0;
405
+ _this.unboundedCoords = { left: 0, top: 0 };
406
+ _this.activationState = _this.defaultActivationState();
407
+ _this.activationTimerCallback = function () {
408
+ _this.activationAnimationHasEnded = true;
409
+ _this.runDeactivationUXLogicIfReady();
410
+ };
411
+ _this.activateHandler = function (e) {
412
+ _this.activateImpl(e);
413
+ };
414
+ _this.deactivateHandler = function () {
415
+ _this.deactivateImpl();
416
+ };
417
+ _this.focusHandler = function () {
418
+ _this.handleFocus();
419
+ };
420
+ _this.blurHandler = function () {
421
+ _this.handleBlur();
422
+ };
423
+ _this.resizeHandler = function () {
424
+ _this.layout();
434
425
  };
435
- _this.activateHandler_ = function (e) { return _this.activate_(e); };
436
- _this.deactivateHandler_ = function () { return _this.deactivate_(); };
437
- _this.focusHandler_ = function () { return _this.handleFocus(); };
438
- _this.blurHandler_ = function () { return _this.handleBlur(); };
439
- _this.resizeHandler_ = function () { return _this.layout(); };
440
426
  return _this;
441
427
  }
442
428
  Object.defineProperty(MDCRippleFoundation, "cssClasses", {
@@ -465,7 +451,9 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
465
451
  return {
466
452
  addClass: function () { return undefined; },
467
453
  browserSupportsCssVars: function () { return true; },
468
- computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
454
+ computeBoundingRect: function () {
455
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
456
+ },
469
457
  containsEventTarget: function () { return true; },
470
458
  deregisterDocumentInteractionHandler: function () { return undefined; },
471
459
  deregisterInteractionHandler: function () { return undefined; },
@@ -486,8 +474,8 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
486
474
  });
487
475
  MDCRippleFoundation.prototype.init = function () {
488
476
  var _this = this;
489
- var supportsPressRipple = this.supportsPressRipple_();
490
- this.registerRootHandlers_(supportsPressRipple);
477
+ var supportsPressRipple = this.supportsPressRipple();
478
+ this.registerRootHandlers(supportsPressRipple);
491
479
  if (supportsPressRipple) {
492
480
  var _a = MDCRippleFoundation.cssClasses, ROOT_1 = _a.ROOT, UNBOUNDED_1 = _a.UNBOUNDED;
493
481
  requestAnimationFrame(function () {
@@ -495,51 +483,51 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
495
483
  if (_this.adapter.isUnbounded()) {
496
484
  _this.adapter.addClass(UNBOUNDED_1);
497
485
  // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple
498
- _this.layoutInternal_();
486
+ _this.layoutInternal();
499
487
  }
500
488
  });
501
489
  }
502
490
  };
503
491
  MDCRippleFoundation.prototype.destroy = function () {
504
492
  var _this = this;
505
- if (this.supportsPressRipple_()) {
506
- if (this.activationTimer_) {
507
- clearTimeout(this.activationTimer_);
508
- this.activationTimer_ = 0;
493
+ if (this.supportsPressRipple()) {
494
+ if (this.activationTimer) {
495
+ clearTimeout(this.activationTimer);
496
+ this.activationTimer = 0;
509
497
  this.adapter.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION);
510
498
  }
511
- if (this.fgDeactivationRemovalTimer_) {
512
- clearTimeout(this.fgDeactivationRemovalTimer_);
513
- this.fgDeactivationRemovalTimer_ = 0;
499
+ if (this.fgDeactivationRemovalTimer) {
500
+ clearTimeout(this.fgDeactivationRemovalTimer);
501
+ this.fgDeactivationRemovalTimer = 0;
514
502
  this.adapter.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION);
515
503
  }
516
504
  var _a = MDCRippleFoundation.cssClasses, ROOT_2 = _a.ROOT, UNBOUNDED_2 = _a.UNBOUNDED;
517
505
  requestAnimationFrame(function () {
518
506
  _this.adapter.removeClass(ROOT_2);
519
507
  _this.adapter.removeClass(UNBOUNDED_2);
520
- _this.removeCssVars_();
508
+ _this.removeCssVars();
521
509
  });
522
510
  }
523
- this.deregisterRootHandlers_();
524
- this.deregisterDeactivationHandlers_();
511
+ this.deregisterRootHandlers();
512
+ this.deregisterDeactivationHandlers();
525
513
  };
526
514
  /**
527
515
  * @param evt Optional event containing position information.
528
516
  */
529
517
  MDCRippleFoundation.prototype.activate = function (evt) {
530
- this.activate_(evt);
518
+ this.activateImpl(evt);
531
519
  };
532
520
  MDCRippleFoundation.prototype.deactivate = function () {
533
- this.deactivate_();
521
+ this.deactivateImpl();
534
522
  };
535
523
  MDCRippleFoundation.prototype.layout = function () {
536
524
  var _this = this;
537
- if (this.layoutFrame_) {
538
- cancelAnimationFrame(this.layoutFrame_);
525
+ if (this.layoutFrame) {
526
+ cancelAnimationFrame(this.layoutFrame);
539
527
  }
540
- this.layoutFrame_ = requestAnimationFrame(function () {
541
- _this.layoutInternal_();
542
- _this.layoutFrame_ = 0;
528
+ this.layoutFrame = requestAnimationFrame(function () {
529
+ _this.layoutInternal();
530
+ _this.layoutFrame = 0;
543
531
  });
544
532
  };
545
533
  MDCRippleFoundation.prototype.setUnbounded = function (unbounded) {
@@ -565,10 +553,10 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
565
553
  * client-side feature-detection may happen too early, such as when components are rendered on the server
566
554
  * and then initialized at mount time on the client.
567
555
  */
568
- MDCRippleFoundation.prototype.supportsPressRipple_ = function () {
556
+ MDCRippleFoundation.prototype.supportsPressRipple = function () {
569
557
  return this.adapter.browserSupportsCssVars();
570
558
  };
571
- MDCRippleFoundation.prototype.defaultActivationState_ = function () {
559
+ MDCRippleFoundation.prototype.defaultActivationState = function () {
572
560
  return {
573
561
  activationEvent: undefined,
574
562
  hasDeactivationUXRun: false,
@@ -581,49 +569,89 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
581
569
  /**
582
570
  * supportsPressRipple Passed from init to save a redundant function call
583
571
  */
584
- MDCRippleFoundation.prototype.registerRootHandlers_ = function (supportsPressRipple) {
585
- var _this = this;
572
+ MDCRippleFoundation.prototype.registerRootHandlers = function (supportsPressRipple) {
573
+ var e_1, _a;
586
574
  if (supportsPressRipple) {
587
- ACTIVATION_EVENT_TYPES.forEach(function (evtType) {
588
- _this.adapter.registerInteractionHandler(evtType, _this.activateHandler_);
589
- });
575
+ try {
576
+ for (var ACTIVATION_EVENT_TYPES_1 = tslib_es6.__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()) {
577
+ var evtType = ACTIVATION_EVENT_TYPES_1_1.value;
578
+ this.adapter.registerInteractionHandler(evtType, this.activateHandler);
579
+ }
580
+ }
581
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
582
+ finally {
583
+ try {
584
+ if (ACTIVATION_EVENT_TYPES_1_1 && !ACTIVATION_EVENT_TYPES_1_1.done && (_a = ACTIVATION_EVENT_TYPES_1.return)) _a.call(ACTIVATION_EVENT_TYPES_1);
585
+ }
586
+ finally { if (e_1) throw e_1.error; }
587
+ }
590
588
  if (this.adapter.isUnbounded()) {
591
- this.adapter.registerResizeHandler(this.resizeHandler_);
589
+ this.adapter.registerResizeHandler(this.resizeHandler);
592
590
  }
593
591
  }
594
- this.adapter.registerInteractionHandler('focus', this.focusHandler_);
595
- this.adapter.registerInteractionHandler('blur', this.blurHandler_);
592
+ this.adapter.registerInteractionHandler('focus', this.focusHandler);
593
+ this.adapter.registerInteractionHandler('blur', this.blurHandler);
596
594
  };
597
- MDCRippleFoundation.prototype.registerDeactivationHandlers_ = function (evt) {
598
- var _this = this;
595
+ MDCRippleFoundation.prototype.registerDeactivationHandlers = function (evt) {
596
+ var e_2, _a;
599
597
  if (evt.type === 'keydown') {
600
- this.adapter.registerInteractionHandler('keyup', this.deactivateHandler_);
598
+ this.adapter.registerInteractionHandler('keyup', this.deactivateHandler);
601
599
  }
602
600
  else {
603
- POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {
604
- _this.adapter.registerDocumentInteractionHandler(evtType, _this.deactivateHandler_);
605
- });
601
+ try {
602
+ for (var POINTER_DEACTIVATION_EVENT_TYPES_1 = tslib_es6.__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()) {
603
+ var evtType = POINTER_DEACTIVATION_EVENT_TYPES_1_1.value;
604
+ this.adapter.registerDocumentInteractionHandler(evtType, this.deactivateHandler);
605
+ }
606
+ }
607
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
608
+ finally {
609
+ try {
610
+ 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);
611
+ }
612
+ finally { if (e_2) throw e_2.error; }
613
+ }
606
614
  }
607
615
  };
608
- MDCRippleFoundation.prototype.deregisterRootHandlers_ = function () {
609
- var _this = this;
610
- ACTIVATION_EVENT_TYPES.forEach(function (evtType) {
611
- _this.adapter.deregisterInteractionHandler(evtType, _this.activateHandler_);
612
- });
613
- this.adapter.deregisterInteractionHandler('focus', this.focusHandler_);
614
- this.adapter.deregisterInteractionHandler('blur', this.blurHandler_);
616
+ MDCRippleFoundation.prototype.deregisterRootHandlers = function () {
617
+ var e_3, _a;
618
+ try {
619
+ for (var ACTIVATION_EVENT_TYPES_2 = tslib_es6.__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()) {
620
+ var evtType = ACTIVATION_EVENT_TYPES_2_1.value;
621
+ this.adapter.deregisterInteractionHandler(evtType, this.activateHandler);
622
+ }
623
+ }
624
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
625
+ finally {
626
+ try {
627
+ if (ACTIVATION_EVENT_TYPES_2_1 && !ACTIVATION_EVENT_TYPES_2_1.done && (_a = ACTIVATION_EVENT_TYPES_2.return)) _a.call(ACTIVATION_EVENT_TYPES_2);
628
+ }
629
+ finally { if (e_3) throw e_3.error; }
630
+ }
631
+ this.adapter.deregisterInteractionHandler('focus', this.focusHandler);
632
+ this.adapter.deregisterInteractionHandler('blur', this.blurHandler);
615
633
  if (this.adapter.isUnbounded()) {
616
- this.adapter.deregisterResizeHandler(this.resizeHandler_);
634
+ this.adapter.deregisterResizeHandler(this.resizeHandler);
617
635
  }
618
636
  };
619
- MDCRippleFoundation.prototype.deregisterDeactivationHandlers_ = function () {
620
- var _this = this;
621
- this.adapter.deregisterInteractionHandler('keyup', this.deactivateHandler_);
622
- POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {
623
- _this.adapter.deregisterDocumentInteractionHandler(evtType, _this.deactivateHandler_);
624
- });
637
+ MDCRippleFoundation.prototype.deregisterDeactivationHandlers = function () {
638
+ var e_4, _a;
639
+ this.adapter.deregisterInteractionHandler('keyup', this.deactivateHandler);
640
+ try {
641
+ for (var POINTER_DEACTIVATION_EVENT_TYPES_2 = tslib_es6.__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()) {
642
+ var evtType = POINTER_DEACTIVATION_EVENT_TYPES_2_1.value;
643
+ this.adapter.deregisterDocumentInteractionHandler(evtType, this.deactivateHandler);
644
+ }
645
+ }
646
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
647
+ finally {
648
+ try {
649
+ 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);
650
+ }
651
+ finally { if (e_4) throw e_4.error; }
652
+ }
625
653
  };
626
- MDCRippleFoundation.prototype.removeCssVars_ = function () {
654
+ MDCRippleFoundation.prototype.removeCssVars = function () {
627
655
  var _this = this;
628
656
  var rippleStrings = MDCRippleFoundation.strings;
629
657
  var keys = Object.keys(rippleStrings);
@@ -633,17 +661,17 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
633
661
  }
634
662
  });
635
663
  };
636
- MDCRippleFoundation.prototype.activate_ = function (evt) {
664
+ MDCRippleFoundation.prototype.activateImpl = function (evt) {
637
665
  var _this = this;
638
666
  if (this.adapter.isSurfaceDisabled()) {
639
667
  return;
640
668
  }
641
- var activationState = this.activationState_;
669
+ var activationState = this.activationState;
642
670
  if (activationState.isActivated) {
643
671
  return;
644
672
  }
645
673
  // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction
646
- var previousActivationEvent = this.previousActivationEvent_;
674
+ var previousActivationEvent = this.previousActivationEvent;
647
675
  var isSameInteraction = previousActivationEvent && evt !== undefined && previousActivationEvent.type !== evt.type;
648
676
  if (isSameInteraction) {
649
677
  return;
@@ -657,16 +685,16 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
657
685
  activatedTargets.some(function (target) { return _this.adapter.containsEventTarget(target); });
658
686
  if (hasActivatedChild) {
659
687
  // Immediately reset activation state, while preserving logic that prevents touch follow-on events
660
- this.resetActivationState_();
688
+ this.resetActivationState();
661
689
  return;
662
690
  }
663
691
  if (evt !== undefined) {
664
692
  activatedTargets.push(evt.target);
665
- this.registerDeactivationHandlers_(evt);
693
+ this.registerDeactivationHandlers(evt);
666
694
  }
667
- activationState.wasElementMadeActive = this.checkElementMadeActive_(evt);
695
+ activationState.wasElementMadeActive = this.checkElementMadeActive(evt);
668
696
  if (activationState.wasElementMadeActive) {
669
- this.animateActivation_();
697
+ this.animateActivation();
670
698
  }
671
699
  requestAnimationFrame(function () {
672
700
  // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples
@@ -680,130 +708,134 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
680
708
  // - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741
681
709
  // We try first outside rAF to support Edge, which does not exhibit this problem, but will crash if a CSS
682
710
  // variable is set within a rAF callback for a submit button interaction (#2241).
683
- activationState.wasElementMadeActive = _this.checkElementMadeActive_(evt);
711
+ activationState.wasElementMadeActive = _this.checkElementMadeActive(evt);
684
712
  if (activationState.wasElementMadeActive) {
685
- _this.animateActivation_();
713
+ _this.animateActivation();
686
714
  }
687
715
  }
688
716
  if (!activationState.wasElementMadeActive) {
689
717
  // Reset activation state immediately if element was not made active.
690
- _this.activationState_ = _this.defaultActivationState_();
718
+ _this.activationState = _this.defaultActivationState();
691
719
  }
692
720
  });
693
721
  };
694
- MDCRippleFoundation.prototype.checkElementMadeActive_ = function (evt) {
722
+ MDCRippleFoundation.prototype.checkElementMadeActive = function (evt) {
695
723
  return (evt !== undefined && evt.type === 'keydown') ?
696
724
  this.adapter.isSurfaceActive() :
697
725
  true;
698
726
  };
699
- MDCRippleFoundation.prototype.animateActivation_ = function () {
727
+ MDCRippleFoundation.prototype.animateActivation = function () {
700
728
  var _this = this;
701
729
  var _a = MDCRippleFoundation.strings, VAR_FG_TRANSLATE_START = _a.VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END = _a.VAR_FG_TRANSLATE_END;
702
730
  var _b = MDCRippleFoundation.cssClasses, FG_DEACTIVATION = _b.FG_DEACTIVATION, FG_ACTIVATION = _b.FG_ACTIVATION;
703
731
  var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;
704
- this.layoutInternal_();
732
+ this.layoutInternal();
705
733
  var translateStart = '';
706
734
  var translateEnd = '';
707
735
  if (!this.adapter.isUnbounded()) {
708
- var _c = this.getFgTranslationCoordinates_(), startPoint = _c.startPoint, endPoint = _c.endPoint;
736
+ var _c = this.getFgTranslationCoordinates(), startPoint = _c.startPoint, endPoint = _c.endPoint;
709
737
  translateStart = startPoint.x + "px, " + startPoint.y + "px";
710
738
  translateEnd = endPoint.x + "px, " + endPoint.y + "px";
711
739
  }
712
740
  this.adapter.updateCssVariable(VAR_FG_TRANSLATE_START, translateStart);
713
741
  this.adapter.updateCssVariable(VAR_FG_TRANSLATE_END, translateEnd);
714
742
  // Cancel any ongoing activation/deactivation animations
715
- clearTimeout(this.activationTimer_);
716
- clearTimeout(this.fgDeactivationRemovalTimer_);
717
- this.rmBoundedActivationClasses_();
743
+ clearTimeout(this.activationTimer);
744
+ clearTimeout(this.fgDeactivationRemovalTimer);
745
+ this.rmBoundedActivationClasses();
718
746
  this.adapter.removeClass(FG_DEACTIVATION);
719
747
  // Force layout in order to re-trigger the animation.
720
748
  this.adapter.computeBoundingRect();
721
749
  this.adapter.addClass(FG_ACTIVATION);
722
- this.activationTimer_ = setTimeout(function () { return _this.activationTimerCallback_(); }, DEACTIVATION_TIMEOUT_MS);
750
+ this.activationTimer = setTimeout(function () {
751
+ _this.activationTimerCallback();
752
+ }, DEACTIVATION_TIMEOUT_MS);
723
753
  };
724
- MDCRippleFoundation.prototype.getFgTranslationCoordinates_ = function () {
725
- var _a = this.activationState_, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;
754
+ MDCRippleFoundation.prototype.getFgTranslationCoordinates = function () {
755
+ var _a = this.activationState, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;
726
756
  var startPoint;
727
757
  if (wasActivatedByPointer) {
728
758
  startPoint = getNormalizedEventCoords(activationEvent, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect());
729
759
  }
730
760
  else {
731
761
  startPoint = {
732
- x: this.frame_.width / 2,
733
- y: this.frame_.height / 2,
762
+ x: this.frame.width / 2,
763
+ y: this.frame.height / 2,
734
764
  };
735
765
  }
736
766
  // Center the element around the start point.
737
767
  startPoint = {
738
- x: startPoint.x - (this.initialSize_ / 2),
739
- y: startPoint.y - (this.initialSize_ / 2),
768
+ x: startPoint.x - (this.initialSize / 2),
769
+ y: startPoint.y - (this.initialSize / 2),
740
770
  };
741
771
  var endPoint = {
742
- x: (this.frame_.width / 2) - (this.initialSize_ / 2),
743
- y: (this.frame_.height / 2) - (this.initialSize_ / 2),
772
+ x: (this.frame.width / 2) - (this.initialSize / 2),
773
+ y: (this.frame.height / 2) - (this.initialSize / 2),
744
774
  };
745
775
  return { startPoint: startPoint, endPoint: endPoint };
746
776
  };
747
- MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_ = function () {
777
+ MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady = function () {
748
778
  var _this = this;
749
779
  // This method is called both when a pointing device is released, and when the activation animation ends.
750
780
  // The deactivation animation should only run after both of those occur.
751
781
  var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION;
752
- var _a = this.activationState_, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;
782
+ var _a = this.activationState, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;
753
783
  var activationHasEnded = hasDeactivationUXRun || !isActivated;
754
- if (activationHasEnded && this.activationAnimationHasEnded_) {
755
- this.rmBoundedActivationClasses_();
784
+ if (activationHasEnded && this.activationAnimationHasEnded) {
785
+ this.rmBoundedActivationClasses();
756
786
  this.adapter.addClass(FG_DEACTIVATION);
757
- this.fgDeactivationRemovalTimer_ = setTimeout(function () {
787
+ this.fgDeactivationRemovalTimer = setTimeout(function () {
758
788
  _this.adapter.removeClass(FG_DEACTIVATION);
759
789
  }, numbers.FG_DEACTIVATION_MS);
760
790
  }
761
791
  };
762
- MDCRippleFoundation.prototype.rmBoundedActivationClasses_ = function () {
792
+ MDCRippleFoundation.prototype.rmBoundedActivationClasses = function () {
763
793
  var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION;
764
794
  this.adapter.removeClass(FG_ACTIVATION);
765
- this.activationAnimationHasEnded_ = false;
795
+ this.activationAnimationHasEnded = false;
766
796
  this.adapter.computeBoundingRect();
767
797
  };
768
- MDCRippleFoundation.prototype.resetActivationState_ = function () {
798
+ MDCRippleFoundation.prototype.resetActivationState = function () {
769
799
  var _this = this;
770
- this.previousActivationEvent_ = this.activationState_.activationEvent;
771
- this.activationState_ = this.defaultActivationState_();
800
+ this.previousActivationEvent = this.activationState.activationEvent;
801
+ this.activationState = this.defaultActivationState();
772
802
  // Touch devices may fire additional events for the same interaction within a short time.
773
803
  // Store the previous event until it's safe to assume that subsequent events are for new interactions.
774
- setTimeout(function () { return _this.previousActivationEvent_ = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);
804
+ setTimeout(function () { return _this.previousActivationEvent = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);
775
805
  };
776
- MDCRippleFoundation.prototype.deactivate_ = function () {
806
+ MDCRippleFoundation.prototype.deactivateImpl = function () {
777
807
  var _this = this;
778
- var activationState = this.activationState_;
808
+ var activationState = this.activationState;
779
809
  // This can happen in scenarios such as when you have a keyup event that blurs the element.
780
810
  if (!activationState.isActivated) {
781
811
  return;
782
812
  }
783
813
  var state = tslib_es6.__assign({}, activationState);
784
814
  if (activationState.isProgrammatic) {
785
- requestAnimationFrame(function () { return _this.animateDeactivation_(state); });
786
- this.resetActivationState_();
815
+ requestAnimationFrame(function () {
816
+ _this.animateDeactivation(state);
817
+ });
818
+ this.resetActivationState();
787
819
  }
788
820
  else {
789
- this.deregisterDeactivationHandlers_();
821
+ this.deregisterDeactivationHandlers();
790
822
  requestAnimationFrame(function () {
791
- _this.activationState_.hasDeactivationUXRun = true;
792
- _this.animateDeactivation_(state);
793
- _this.resetActivationState_();
823
+ _this.activationState.hasDeactivationUXRun = true;
824
+ _this.animateDeactivation(state);
825
+ _this.resetActivationState();
794
826
  });
795
827
  }
796
828
  };
797
- MDCRippleFoundation.prototype.animateDeactivation_ = function (_a) {
829
+ MDCRippleFoundation.prototype.animateDeactivation = function (_a) {
798
830
  var wasActivatedByPointer = _a.wasActivatedByPointer, wasElementMadeActive = _a.wasElementMadeActive;
799
831
  if (wasActivatedByPointer || wasElementMadeActive) {
800
- this.runDeactivationUXLogicIfReady_();
832
+ this.runDeactivationUXLogicIfReady();
801
833
  }
802
834
  };
803
- MDCRippleFoundation.prototype.layoutInternal_ = function () {
835
+ MDCRippleFoundation.prototype.layoutInternal = function () {
804
836
  var _this = this;
805
- this.frame_ = this.adapter.computeBoundingRect();
806
- var maxDim = Math.max(this.frame_.height, this.frame_.width);
837
+ this.frame = this.adapter.computeBoundingRect();
838
+ var maxDim = Math.max(this.frame.height, this.frame.width);
807
839
  // Surface diameter is treated differently for unbounded vs. bounded ripples.
808
840
  // Unbounded ripple diameter is calculated smaller since the surface is expected to already be padded appropriately
809
841
  // to extend the hitbox, and the ripple is expected to meet the edges of the padded hitbox (which is typically
@@ -811,33 +843,33 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
811
843
  // (calculated based on the diagonal plus a constant padding), and are clipped at the surface's border via
812
844
  // `overflow: hidden`.
813
845
  var getBoundedRadius = function () {
814
- var hypotenuse = Math.sqrt(Math.pow(_this.frame_.width, 2) + Math.pow(_this.frame_.height, 2));
846
+ var hypotenuse = Math.sqrt(Math.pow(_this.frame.width, 2) + Math.pow(_this.frame.height, 2));
815
847
  return hypotenuse + MDCRippleFoundation.numbers.PADDING;
816
848
  };
817
- this.maxRadius_ = this.adapter.isUnbounded() ? maxDim : getBoundedRadius();
849
+ this.maxRadius = this.adapter.isUnbounded() ? maxDim : getBoundedRadius();
818
850
  // Ripple is sized as a fraction of the largest dimension of the surface, then scales up using a CSS scale transform
819
851
  var initialSize = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE);
820
852
  // Unbounded ripple size should always be even number to equally center align.
821
853
  if (this.adapter.isUnbounded() && initialSize % 2 !== 0) {
822
- this.initialSize_ = initialSize - 1;
854
+ this.initialSize = initialSize - 1;
823
855
  }
824
856
  else {
825
- this.initialSize_ = initialSize;
857
+ this.initialSize = initialSize;
826
858
  }
827
- this.fgScale_ = "" + this.maxRadius_ / this.initialSize_;
828
- this.updateLayoutCssVars_();
859
+ this.fgScale = "" + this.maxRadius / this.initialSize;
860
+ this.updateLayoutCssVars();
829
861
  };
830
- MDCRippleFoundation.prototype.updateLayoutCssVars_ = function () {
862
+ MDCRippleFoundation.prototype.updateLayoutCssVars = function () {
831
863
  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;
832
- this.adapter.updateCssVariable(VAR_FG_SIZE, this.initialSize_ + "px");
833
- this.adapter.updateCssVariable(VAR_FG_SCALE, this.fgScale_);
864
+ this.adapter.updateCssVariable(VAR_FG_SIZE, this.initialSize + "px");
865
+ this.adapter.updateCssVariable(VAR_FG_SCALE, this.fgScale);
834
866
  if (this.adapter.isUnbounded()) {
835
- this.unboundedCoords_ = {
836
- left: Math.round((this.frame_.width / 2) - (this.initialSize_ / 2)),
837
- top: Math.round((this.frame_.height / 2) - (this.initialSize_ / 2)),
867
+ this.unboundedCoords = {
868
+ left: Math.round((this.frame.width / 2) - (this.initialSize / 2)),
869
+ top: Math.round((this.frame.height / 2) - (this.initialSize / 2)),
838
870
  };
839
- this.adapter.updateCssVariable(VAR_LEFT, this.unboundedCoords_.left + "px");
840
- this.adapter.updateCssVariable(VAR_TOP, this.unboundedCoords_.top + "px");
871
+ this.adapter.updateCssVariable(VAR_LEFT, this.unboundedCoords.left + "px");
872
+ this.adapter.updateCssVariable(VAR_TOP, this.unboundedCoords.top + "px");
841
873
  }
842
874
  };
843
875
  return MDCRippleFoundation;
@@ -873,7 +905,9 @@ var MDCRipple = /** @class */ (function (_super) {
873
905
  return _this;
874
906
  }
875
907
  MDCRipple.attachTo = function (root, opts) {
876
- if (opts === void 0) { opts = { isUnbounded: undefined }; }
908
+ if (opts === void 0) { opts = {
909
+ isUnbounded: undefined
910
+ }; }
877
911
  var ripple = new MDCRipple(root);
878
912
  // Only override unbounded behavior if option is explicitly specified
879
913
  if (opts.isUnbounded !== undefined) {
@@ -921,11 +955,11 @@ var MDCRipple = /** @class */ (function (_super) {
921
955
  };
922
956
  Object.defineProperty(MDCRipple.prototype, "unbounded", {
923
957
  get: function () {
924
- return Boolean(this.unbounded_);
958
+ return Boolean(this.isUnbounded);
925
959
  },
926
960
  set: function (unbounded) {
927
- this.unbounded_ = Boolean(unbounded);
928
- this.setUnbounded_();
961
+ this.isUnbounded = Boolean(unbounded);
962
+ this.setUnbounded();
929
963
  },
930
964
  enumerable: false,
931
965
  configurable: true
@@ -944,7 +978,7 @@ var MDCRipple = /** @class */ (function (_super) {
944
978
  };
945
979
  MDCRipple.prototype.initialSyncWithDOM = function () {
946
980
  var root = this.root;
947
- this.unbounded = 'mdcRippleIsUnbounded' in root.dataset;
981
+ this.isUnbounded = 'mdcRippleIsUnbounded' in root.dataset;
948
982
  };
949
983
  /**
950
984
  * Closure Compiler throws an access control error when directly accessing a
@@ -952,16 +986,11 @@ var MDCRipple = /** @class */ (function (_super) {
952
986
  * By accessing the protected property inside a method, we solve that problem.
953
987
  * That's why this function exists.
954
988
  */
955
- MDCRipple.prototype.setUnbounded_ = function () {
956
- this.foundation.setUnbounded(Boolean(this.unbounded_));
989
+ MDCRipple.prototype.setUnbounded = function () {
990
+ this.foundation.setUnbounded(Boolean(this.isUnbounded));
957
991
  };
958
992
  return MDCRipple;
959
993
  }(MDCComponent));
960
994
 
961
- exports.MDCComponent = MDCComponent;
962
- exports.MDCFoundation = MDCFoundation;
963
995
  exports.MDCRipple = MDCRipple;
964
996
  exports.MDCRippleFoundation = MDCRippleFoundation;
965
- exports.applyPassive = applyPassive;
966
- exports.estimateScrollWidth = estimateScrollWidth;
967
- exports.matches = matches;