@cscfi/csc-ui 1.0.0

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 (1146) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -0
  3. package/dist/cjs/c-accordion-item.cjs.entry.js +118 -0
  4. package/dist/cjs/c-accordion-item.cjs.entry.js.map +1 -0
  5. package/dist/cjs/c-accordion.cjs.entry.js +68 -0
  6. package/dist/cjs/c-accordion.cjs.entry.js.map +1 -0
  7. package/dist/cjs/c-alert.cjs.entry.js +30 -0
  8. package/dist/cjs/c-alert.cjs.entry.js.map +1 -0
  9. package/dist/cjs/c-autocomplete.cjs.entry.js +263 -0
  10. package/dist/cjs/c-autocomplete.cjs.entry.js.map +1 -0
  11. package/dist/cjs/c-badge_12.cjs.entry.js +442 -0
  12. package/dist/cjs/c-badge_12.cjs.entry.js.map +1 -0
  13. package/dist/cjs/c-card-actions.cjs.entry.js +28 -0
  14. package/dist/cjs/c-card-actions.cjs.entry.js.map +1 -0
  15. package/dist/cjs/c-card-content.cjs.entry.js +21 -0
  16. package/dist/cjs/c-card-content.cjs.entry.js.map +1 -0
  17. package/dist/cjs/c-card-title.cjs.entry.js +21 -0
  18. package/dist/cjs/c-card-title.cjs.entry.js.map +1 -0
  19. package/dist/cjs/c-checkbox_2.cjs.entry.js +342 -0
  20. package/dist/cjs/c-checkbox_2.cjs.entry.js.map +1 -0
  21. package/dist/cjs/c-data-table.cjs.entry.js +701 -0
  22. package/dist/cjs/c-data-table.cjs.entry.js.map +1 -0
  23. package/dist/cjs/c-dropdown_4.cjs.entry.js +837 -0
  24. package/dist/cjs/c-dropdown_4.cjs.entry.js.map +1 -0
  25. package/dist/cjs/c-link.cjs.entry.js +31 -0
  26. package/dist/cjs/c-link.cjs.entry.js.map +1 -0
  27. package/dist/cjs/c-list-item-title.cjs.entry.js +26 -0
  28. package/dist/cjs/c-list-item-title.cjs.entry.js.map +1 -0
  29. package/dist/cjs/c-list-item.cjs.entry.js +83 -0
  30. package/dist/cjs/c-list-item.cjs.entry.js.map +1 -0
  31. package/dist/cjs/c-list.cjs.entry.js +45 -0
  32. package/dist/cjs/c-list.cjs.entry.js.map +1 -0
  33. package/dist/cjs/c-loader.cjs.entry.js +39 -0
  34. package/dist/cjs/c-loader.cjs.entry.js.map +1 -0
  35. package/dist/cjs/c-login-button.cjs.entry.js +25 -0
  36. package/dist/cjs/c-login-button.cjs.entry.js.map +1 -0
  37. package/dist/cjs/c-login-buttons.cjs.entry.js +21 -0
  38. package/dist/cjs/c-login-buttons.cjs.entry.js.map +1 -0
  39. package/dist/cjs/c-login-card-actions.cjs.entry.js +20 -0
  40. package/dist/cjs/c-login-card-actions.cjs.entry.js.map +1 -0
  41. package/dist/cjs/c-login-card-content.cjs.entry.js +21 -0
  42. package/dist/cjs/c-login-card-content.cjs.entry.js.map +1 -0
  43. package/dist/cjs/c-login-card-title.cjs.entry.js +21 -0
  44. package/dist/cjs/c-login-card-title.cjs.entry.js.map +1 -0
  45. package/dist/cjs/c-login-card.cjs.entry.js +66 -0
  46. package/dist/cjs/c-login-card.cjs.entry.js.map +1 -0
  47. package/dist/cjs/c-menu_2.cjs.entry.js +354 -0
  48. package/dist/cjs/c-menu_2.cjs.entry.js.map +1 -0
  49. package/dist/cjs/c-modal.cjs.entry.js +108 -0
  50. package/dist/cjs/c-modal.cjs.entry.js.map +1 -0
  51. package/dist/cjs/c-navigation-button.cjs.entry.js +22 -0
  52. package/dist/cjs/c-navigation-button.cjs.entry.js.map +1 -0
  53. package/dist/cjs/c-option-value.cjs.entry.js +21 -0
  54. package/dist/cjs/c-option-value.cjs.entry.js.map +1 -0
  55. package/dist/cjs/c-option.cjs.entry.js +25 -0
  56. package/dist/cjs/c-option.cjs.entry.js.map +1 -0
  57. package/dist/cjs/c-otp-input.cjs.entry.js +154 -0
  58. package/dist/cjs/c-otp-input.cjs.entry.js.map +1 -0
  59. package/dist/cjs/c-page.cjs.entry.js +31 -0
  60. package/dist/cjs/c-page.cjs.entry.js.map +1 -0
  61. package/dist/cjs/c-progress-bar.cjs.entry.js +59 -0
  62. package/dist/cjs/c-progress-bar.cjs.entry.js.map +1 -0
  63. package/dist/cjs/c-radio-group.cjs.entry.js +154 -0
  64. package/dist/cjs/c-radio-group.cjs.entry.js.map +1 -0
  65. package/dist/cjs/c-radio.cjs.entry.js +24 -0
  66. package/dist/cjs/c-radio.cjs.entry.js.map +1 -0
  67. package/dist/cjs/c-select.cjs.entry.js +331 -0
  68. package/dist/cjs/c-select.cjs.entry.js.map +1 -0
  69. package/dist/cjs/c-side-navigation-item.cjs.entry.js +121 -0
  70. package/dist/cjs/c-side-navigation-item.cjs.entry.js.map +1 -0
  71. package/dist/cjs/c-side-navigation-title.cjs.entry.js +21 -0
  72. package/dist/cjs/c-side-navigation-title.cjs.entry.js.map +1 -0
  73. package/dist/cjs/c-side-navigation.cjs.entry.js +71 -0
  74. package/dist/cjs/c-side-navigation.cjs.entry.js.map +1 -0
  75. package/dist/cjs/c-status.cjs.entry.js +23 -0
  76. package/dist/cjs/c-status.cjs.entry.js.map +1 -0
  77. package/dist/cjs/c-step.cjs.entry.js +27 -0
  78. package/dist/cjs/c-step.cjs.entry.js.map +1 -0
  79. package/dist/cjs/c-steps.cjs.entry.js +78 -0
  80. package/dist/cjs/c-steps.cjs.entry.js.map +1 -0
  81. package/dist/cjs/c-sub-navigation-item.cjs.entry.js +51 -0
  82. package/dist/cjs/c-sub-navigation-item.cjs.entry.js.map +1 -0
  83. package/dist/cjs/c-swiper-tab.cjs.entry.js +47 -0
  84. package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -0
  85. package/dist/cjs/c-swiper.cjs.entry.js +4187 -0
  86. package/dist/cjs/c-swiper.cjs.entry.js.map +1 -0
  87. package/dist/cjs/c-switch.cjs.entry.js +71 -0
  88. package/dist/cjs/c-switch.cjs.entry.js.map +1 -0
  89. package/dist/cjs/c-tab-buttons.cjs.entry.js +133 -0
  90. package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -0
  91. package/dist/cjs/c-tab-item.cjs.entry.js +40 -0
  92. package/dist/cjs/c-tab-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/c-tab-items.cjs.entry.js +81 -0
  94. package/dist/cjs/c-tab-items.cjs.entry.js.map +1 -0
  95. package/dist/cjs/c-tab.cjs.entry.js +59 -0
  96. package/dist/cjs/c-tab.cjs.entry.js.map +1 -0
  97. package/dist/cjs/c-table.cjs.entry.js +47 -0
  98. package/dist/cjs/c-table.cjs.entry.js.map +1 -0
  99. package/dist/cjs/c-tabs.cjs.entry.js +423 -0
  100. package/dist/cjs/c-tabs.cjs.entry.js.map +1 -0
  101. package/dist/cjs/c-tag.cjs.entry.js +45 -0
  102. package/dist/cjs/c-tag.cjs.entry.js.map +1 -0
  103. package/dist/cjs/c-tags.cjs.entry.js +21 -0
  104. package/dist/cjs/c-tags.cjs.entry.js.map +1 -0
  105. package/dist/cjs/c-text-field.cjs.entry.js +151 -0
  106. package/dist/cjs/c-text-field.cjs.entry.js.map +1 -0
  107. package/dist/cjs/c-toast.cjs.entry.js +73 -0
  108. package/dist/cjs/c-toast.cjs.entry.js.map +1 -0
  109. package/dist/cjs/c-toasts.cjs.entry.js +80 -0
  110. package/dist/cjs/c-toasts.cjs.entry.js.map +1 -0
  111. package/dist/cjs/csc-ui.cjs.js +25 -0
  112. package/dist/cjs/csc-ui.cjs.js.map +1 -0
  113. package/dist/cjs/index-3cad12b5.js +2605 -0
  114. package/dist/cjs/index-3cad12b5.js.map +1 -0
  115. package/dist/cjs/index-72dca436.js +23 -0
  116. package/dist/cjs/index-72dca436.js.map +1 -0
  117. package/dist/cjs/index.cjs.js +28 -0
  118. package/dist/cjs/index.cjs.js.map +1 -0
  119. package/dist/cjs/loader.cjs.js +15 -0
  120. package/dist/cjs/loader.cjs.js.map +1 -0
  121. package/dist/cjs/mdi-16842afc.js +46 -0
  122. package/dist/cjs/mdi-16842afc.js.map +1 -0
  123. package/dist/collection/collection-manifest.json +81 -0
  124. package/dist/collection/components/c-accordion/c-accordion.css +26 -0
  125. package/dist/collection/components/c-accordion/c-accordion.js +172 -0
  126. package/dist/collection/components/c-accordion/c-accordion.js.map +1 -0
  127. package/dist/collection/components/c-accordion/test/c-accordion.e2e.js +140 -0
  128. package/dist/collection/components/c-accordion/test/c-accordion.e2e.js.map +1 -0
  129. package/dist/collection/components/c-accordion/test/c-accordion.spec.js +72 -0
  130. package/dist/collection/components/c-accordion/test/c-accordion.spec.js.map +1 -0
  131. package/dist/collection/components/c-accordion/test/c-accordion.visual.js +52 -0
  132. package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +1 -0
  133. package/dist/collection/components/c-accordion-item/c-accordion-item.css +130 -0
  134. package/dist/collection/components/c-accordion-item/c-accordion-item.js +251 -0
  135. package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +1 -0
  136. package/dist/collection/components/c-alert/c-alert.css +62 -0
  137. package/dist/collection/components/c-alert/c-alert.js +57 -0
  138. package/dist/collection/components/c-alert/c-alert.js.map +1 -0
  139. package/dist/collection/components/c-alert/test/c-alert.spec.js +54 -0
  140. package/dist/collection/components/c-alert/test/c-alert.spec.js.map +1 -0
  141. package/dist/collection/components/c-alert/test/c-alert.visual.js +24 -0
  142. package/dist/collection/components/c-alert/test/c-alert.visual.js.map +1 -0
  143. package/dist/collection/components/c-autocomplete/c-autocomplete.css +207 -0
  144. package/dist/collection/components/c-autocomplete/c-autocomplete.js +808 -0
  145. package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -0
  146. package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js +35 -0
  147. package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js.map +1 -0
  148. package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +31 -0
  149. package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +1 -0
  150. package/dist/collection/components/c-badge/c-badge.css +46 -0
  151. package/dist/collection/components/c-badge/c-badge.js +19 -0
  152. package/dist/collection/components/c-badge/c-badge.js.map +1 -0
  153. package/dist/collection/components/c-badge/test/c-badge.e2e.js +10 -0
  154. package/dist/collection/components/c-badge/test/c-badge.e2e.js.map +1 -0
  155. package/dist/collection/components/c-badge/test/c-badge.spec.js +18 -0
  156. package/dist/collection/components/c-badge/test/c-badge.spec.js.map +1 -0
  157. package/dist/collection/components/c-button/c-button.css +565 -0
  158. package/dist/collection/components/c-button/c-button.js +511 -0
  159. package/dist/collection/components/c-button/c-button.js.map +1 -0
  160. package/dist/collection/components/c-button/test/c-button.spec.js +207 -0
  161. package/dist/collection/components/c-button/test/c-button.spec.js.map +1 -0
  162. package/dist/collection/components/c-button/test/c-button.visual.js +98 -0
  163. package/dist/collection/components/c-button/test/c-button.visual.js.map +1 -0
  164. package/dist/collection/components/c-card/assets/puhti.gif +0 -0
  165. package/dist/collection/components/c-card/c-card.css +47 -0
  166. package/dist/collection/components/c-card/c-card.js +138 -0
  167. package/dist/collection/components/c-card/c-card.js.map +1 -0
  168. package/dist/collection/components/c-card/test/c-card.e2e.js +17 -0
  169. package/dist/collection/components/c-card/test/c-card.e2e.js.map +1 -0
  170. package/dist/collection/components/c-card/test/c-card.spec.js +142 -0
  171. package/dist/collection/components/c-card/test/c-card.spec.js.map +1 -0
  172. package/dist/collection/components/c-card/test/c-card.visual.js +18 -0
  173. package/dist/collection/components/c-card/test/c-card.visual.js.map +1 -0
  174. package/dist/collection/components/c-card-actions/c-card-actions.css +65 -0
  175. package/dist/collection/components/c-card-actions/c-card-actions.js +68 -0
  176. package/dist/collection/components/c-card-actions/c-card-actions.js.map +1 -0
  177. package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js +115 -0
  178. package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js.map +1 -0
  179. package/dist/collection/components/c-card-content/c-card-content.css +31 -0
  180. package/dist/collection/components/c-card-content/c-card-content.js +19 -0
  181. package/dist/collection/components/c-card-content/c-card-content.js.map +1 -0
  182. package/dist/collection/components/c-card-title/c-card-title.css +41 -0
  183. package/dist/collection/components/c-card-title/c-card-title.js +19 -0
  184. package/dist/collection/components/c-card-title/c-card-title.js.map +1 -0
  185. package/dist/collection/components/c-checkbox/c-checkbox.css +178 -0
  186. package/dist/collection/components/c-checkbox/c-checkbox.js +391 -0
  187. package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -0
  188. package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js +60 -0
  189. package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js.map +1 -0
  190. package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js +40 -0
  191. package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js.map +1 -0
  192. package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +22 -0
  193. package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +1 -0
  194. package/dist/collection/components/c-csc-logo/c-csc-logo.css +38 -0
  195. package/dist/collection/components/c-csc-logo/c-csc-logo.js +45 -0
  196. package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +1 -0
  197. package/dist/collection/components/c-data-table/c-data-table.css +379 -0
  198. package/dist/collection/components/c-data-table/c-data-table.js +1163 -0
  199. package/dist/collection/components/c-data-table/c-data-table.js.map +1 -0
  200. package/dist/collection/components/c-data-table/test/c-data-table.e2e.js +125 -0
  201. package/dist/collection/components/c-data-table/test/c-data-table.e2e.js.map +1 -0
  202. package/dist/collection/components/c-data-table/test/c-data-table.spec.js +107 -0
  203. package/dist/collection/components/c-data-table/test/c-data-table.spec.js.map +1 -0
  204. package/dist/collection/components/c-data-table/test/c-data-table.visual.js +31 -0
  205. package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +1 -0
  206. package/dist/collection/components/c-data-table/test/data/index.js +104 -0
  207. package/dist/collection/components/c-data-table/test/data/index.js.map +1 -0
  208. package/dist/collection/components/c-dropdown/c-dropdown.css +99 -0
  209. package/dist/collection/components/c-dropdown/c-dropdown.js +778 -0
  210. package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -0
  211. package/dist/collection/components/c-dropdowns/c-dropdowns.css +24 -0
  212. package/dist/collection/components/c-dropdowns/c-dropdowns.js +66 -0
  213. package/dist/collection/components/c-dropdowns/c-dropdowns.js.map +1 -0
  214. package/dist/collection/components/c-icon/c-icon.css +29 -0
  215. package/dist/collection/components/c-icon/c-icon.js +85 -0
  216. package/dist/collection/components/c-icon/c-icon.js.map +1 -0
  217. package/dist/collection/components/c-icon/test/c-icon.spec.js +12 -0
  218. package/dist/collection/components/c-icon/test/c-icon.spec.js.map +1 -0
  219. package/dist/collection/components/c-icon-button/c-icon-button.css +685 -0
  220. package/dist/collection/components/c-icon-button/c-icon-button.js +238 -0
  221. package/dist/collection/components/c-icon-button/c-icon-button.js.map +1 -0
  222. package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js +82 -0
  223. package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js.map +1 -0
  224. package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +22 -0
  225. package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +1 -0
  226. package/dist/collection/components/c-input/c-input.css +287 -0
  227. package/dist/collection/components/c-input/c-input.js +960 -0
  228. package/dist/collection/components/c-input/c-input.js.map +1 -0
  229. package/dist/collection/components/c-link/c-link.css +54 -0
  230. package/dist/collection/components/c-link/c-link.js +107 -0
  231. package/dist/collection/components/c-link/c-link.js.map +1 -0
  232. package/dist/collection/components/c-link/test/c-link.spec.js +75 -0
  233. package/dist/collection/components/c-link/test/c-link.spec.js.map +1 -0
  234. package/dist/collection/components/c-link/test/c-link.visual.js +14 -0
  235. package/dist/collection/components/c-link/test/c-link.visual.js.map +1 -0
  236. package/dist/collection/components/c-list/c-list.css +22 -0
  237. package/dist/collection/components/c-list/c-list.js +69 -0
  238. package/dist/collection/components/c-list/c-list.js.map +1 -0
  239. package/dist/collection/components/c-list-item/c-list-item.css +90 -0
  240. package/dist/collection/components/c-list-item/c-list-item.js +218 -0
  241. package/dist/collection/components/c-list-item/c-list-item.js.map +1 -0
  242. package/dist/collection/components/c-list-item-title/c-list-item-title.css +33 -0
  243. package/dist/collection/components/c-list-item-title/c-list-item-title.js +48 -0
  244. package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +1 -0
  245. package/dist/collection/components/c-loader/c-loader.css +101 -0
  246. package/dist/collection/components/c-loader/c-loader.js +118 -0
  247. package/dist/collection/components/c-loader/c-loader.js.map +1 -0
  248. package/dist/collection/components/c-loader/test/c-loader.e2e.js +16 -0
  249. package/dist/collection/components/c-loader/test/c-loader.e2e.js.map +1 -0
  250. package/dist/collection/components/c-loader/test/c-loader.spec.js +28 -0
  251. package/dist/collection/components/c-loader/test/c-loader.spec.js.map +1 -0
  252. package/dist/collection/components/c-login-button/c-login-button.css +79 -0
  253. package/dist/collection/components/c-login-button/c-login-button.js +82 -0
  254. package/dist/collection/components/c-login-button/c-login-button.js.map +1 -0
  255. package/dist/collection/components/c-login-buttons/c-login-buttons.css +23 -0
  256. package/dist/collection/components/c-login-buttons/c-login-buttons.js +19 -0
  257. package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +1 -0
  258. package/dist/collection/components/c-login-card/c-login-card.css +88 -0
  259. package/dist/collection/components/c-login-card/c-login-card.js +171 -0
  260. package/dist/collection/components/c-login-card/c-login-card.js.map +1 -0
  261. package/dist/collection/components/c-login-card/test/c-login-card.spec.js +151 -0
  262. package/dist/collection/components/c-login-card/test/c-login-card.spec.js.map +1 -0
  263. package/dist/collection/components/c-login-card/test/c-login-card.visual.js +18 -0
  264. package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +1 -0
  265. package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +53 -0
  266. package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +1 -0
  267. package/dist/collection/components/c-login-card-content/c-login-card-content.css +26 -0
  268. package/dist/collection/components/c-login-card-content/c-login-card-content.js +19 -0
  269. package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +1 -0
  270. package/dist/collection/components/c-login-card-title/c-login-card-title.css +31 -0
  271. package/dist/collection/components/c-login-card-title/c-login-card-title.js +19 -0
  272. package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +1 -0
  273. package/dist/collection/components/c-main/c-main.css +34 -0
  274. package/dist/collection/components/c-main/c-main.js +19 -0
  275. package/dist/collection/components/c-main/c-main.js.map +1 -0
  276. package/dist/collection/components/c-main/test/c-main.spec.js +19 -0
  277. package/dist/collection/components/c-main/test/c-main.spec.js.map +1 -0
  278. package/dist/collection/components/c-menu/c-menu.css +117 -0
  279. package/dist/collection/components/c-menu/c-menu.js +284 -0
  280. package/dist/collection/components/c-menu/c-menu.js.map +1 -0
  281. package/dist/collection/components/c-menu/test/c-menu.spec.js +46 -0
  282. package/dist/collection/components/c-menu/test/c-menu.spec.js.map +1 -0
  283. package/dist/collection/components/c-menu/test/c-menu.visual.js +43 -0
  284. package/dist/collection/components/c-menu/test/c-menu.visual.js.map +1 -0
  285. package/dist/collection/components/c-menu-items/c-menu-items.css +97 -0
  286. package/dist/collection/components/c-menu-items/c-menu-items.js +445 -0
  287. package/dist/collection/components/c-menu-items/c-menu-items.js.map +1 -0
  288. package/dist/collection/components/c-message/c-message.css +68 -0
  289. package/dist/collection/components/c-message/c-message.js +154 -0
  290. package/dist/collection/components/c-message/c-message.js.map +1 -0
  291. package/dist/collection/components/c-modal/c-modal.css +94 -0
  292. package/dist/collection/components/c-modal/c-modal.js +210 -0
  293. package/dist/collection/components/c-modal/c-modal.js.map +1 -0
  294. package/dist/collection/components/c-modal/test/c-modal.spec.js +75 -0
  295. package/dist/collection/components/c-modal/test/c-modal.spec.js.map +1 -0
  296. package/dist/collection/components/c-navigation-button/c-navigation-button.css +33 -0
  297. package/dist/collection/components/c-navigation-button/c-navigation-button.js +20 -0
  298. package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +1 -0
  299. package/dist/collection/components/c-option/c-option.css +23 -0
  300. package/dist/collection/components/c-option/c-option.js +99 -0
  301. package/dist/collection/components/c-option/c-option.js.map +1 -0
  302. package/dist/collection/components/c-option-value/c-option-value.css +21 -0
  303. package/dist/collection/components/c-option-value/c-option-value.js +19 -0
  304. package/dist/collection/components/c-option-value/c-option-value.js.map +1 -0
  305. package/dist/collection/components/c-otp-input/c-otp-input.css +87 -0
  306. package/dist/collection/components/c-otp-input/c-otp-input.js +298 -0
  307. package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -0
  308. package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js +10 -0
  309. package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js.map +1 -0
  310. package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js +18 -0
  311. package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js.map +1 -0
  312. package/dist/collection/components/c-page/c-page.css +46 -0
  313. package/dist/collection/components/c-page/c-page.js +29 -0
  314. package/dist/collection/components/c-page/c-page.js.map +1 -0
  315. package/dist/collection/components/c-pagination/c-pagination.css +121 -0
  316. package/dist/collection/components/c-pagination/c-pagination.js +375 -0
  317. package/dist/collection/components/c-pagination/c-pagination.js.map +1 -0
  318. package/dist/collection/components/c-pagination/test/c-pagination.e2e.js +47 -0
  319. package/dist/collection/components/c-pagination/test/c-pagination.e2e.js.map +1 -0
  320. package/dist/collection/components/c-pagination/test/c-pagination.visual.js +42 -0
  321. package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +1 -0
  322. package/dist/collection/components/c-progress-bar/c-progress-bar.css +137 -0
  323. package/dist/collection/components/c-progress-bar/c-progress-bar.js +153 -0
  324. package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +1 -0
  325. package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js +54 -0
  326. package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js.map +1 -0
  327. package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +22 -0
  328. package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +1 -0
  329. package/dist/collection/components/c-radio/c-radio.css +21 -0
  330. package/dist/collection/components/c-radio/c-radio.js +81 -0
  331. package/dist/collection/components/c-radio/c-radio.js.map +1 -0
  332. package/dist/collection/components/c-radio-group/c-radio-group.css +199 -0
  333. package/dist/collection/components/c-radio-group/c-radio-group.js +403 -0
  334. package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -0
  335. package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js +39 -0
  336. package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js.map +1 -0
  337. package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js +28 -0
  338. package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js.map +1 -0
  339. package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +24 -0
  340. package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +1 -0
  341. package/dist/collection/components/c-radio-group/test/items.js +6 -0
  342. package/dist/collection/components/c-radio-group/test/items.js.map +1 -0
  343. package/dist/collection/components/c-ripple/c-ripple.css +48 -0
  344. package/dist/collection/components/c-ripple/c-ripple.js +91 -0
  345. package/dist/collection/components/c-ripple/c-ripple.js.map +1 -0
  346. package/dist/collection/components/c-row/c-row.css +66 -0
  347. package/dist/collection/components/c-row/c-row.js +121 -0
  348. package/dist/collection/components/c-row/c-row.js.map +1 -0
  349. package/dist/collection/components/c-row/test/c-row.spec.js +137 -0
  350. package/dist/collection/components/c-row/test/c-row.spec.js.map +1 -0
  351. package/dist/collection/components/c-select/c-select.css +200 -0
  352. package/dist/collection/components/c-select/c-select.js +786 -0
  353. package/dist/collection/components/c-select/c-select.js.map +1 -0
  354. package/dist/collection/components/c-select/test/c-select.e2e.js +66 -0
  355. package/dist/collection/components/c-select/test/c-select.e2e.js.map +1 -0
  356. package/dist/collection/components/c-select/test/c-select.spec.js +38 -0
  357. package/dist/collection/components/c-select/test/c-select.spec.js.map +1 -0
  358. package/dist/collection/components/c-select/test/c-select.visual.js +36 -0
  359. package/dist/collection/components/c-select/test/c-select.visual.js.map +1 -0
  360. package/dist/collection/components/c-select/test/items.js +10 -0
  361. package/dist/collection/components/c-select/test/items.js.map +1 -0
  362. package/dist/collection/components/c-side-navigation/c-side-navigation.css +147 -0
  363. package/dist/collection/components/c-side-navigation/c-side-navigation.js +119 -0
  364. package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +1 -0
  365. package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js +21 -0
  366. package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js.map +1 -0
  367. package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +16 -0
  368. package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +1 -0
  369. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.css +168 -0
  370. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +227 -0
  371. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +1 -0
  372. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.css +33 -0
  373. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +19 -0
  374. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +1 -0
  375. package/dist/collection/components/c-spacer/c-spacer.css +21 -0
  376. package/dist/collection/components/c-spacer/c-spacer.js +19 -0
  377. package/dist/collection/components/c-spacer/c-spacer.js.map +1 -0
  378. package/dist/collection/components/c-spacer/test/c-spacer.spec.js +12 -0
  379. package/dist/collection/components/c-spacer/test/c-spacer.spec.js.map +1 -0
  380. package/dist/collection/components/c-spinner/c-spinner.css +59 -0
  381. package/dist/collection/components/c-spinner/c-spinner.js +92 -0
  382. package/dist/collection/components/c-spinner/c-spinner.js.map +1 -0
  383. package/dist/collection/components/c-status/c-status.css +74 -0
  384. package/dist/collection/components/c-status/c-status.js +44 -0
  385. package/dist/collection/components/c-status/c-status.js.map +1 -0
  386. package/dist/collection/components/c-status/test/c-status.spec.js +40 -0
  387. package/dist/collection/components/c-status/test/c-status.spec.js.map +1 -0
  388. package/dist/collection/components/c-status/test/c-status.visual.js +10 -0
  389. package/dist/collection/components/c-status/test/c-status.visual.js.map +1 -0
  390. package/dist/collection/components/c-step/c-step.css +104 -0
  391. package/dist/collection/components/c-step/c-step.js +73 -0
  392. package/dist/collection/components/c-step/c-step.js.map +1 -0
  393. package/dist/collection/components/c-steps/c-steps.css +81 -0
  394. package/dist/collection/components/c-steps/c-steps.js +125 -0
  395. package/dist/collection/components/c-steps/c-steps.js.map +1 -0
  396. package/dist/collection/components/c-steps/test/c-steps.e2e.js +35 -0
  397. package/dist/collection/components/c-steps/test/c-steps.e2e.js.map +1 -0
  398. package/dist/collection/components/c-steps/test/c-steps.visual.js +19 -0
  399. package/dist/collection/components/c-steps/test/c-steps.visual.js.map +1 -0
  400. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.css +184 -0
  401. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +143 -0
  402. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +1 -0
  403. package/dist/collection/components/c-swiper/c-swiper.css +317 -0
  404. package/dist/collection/components/c-swiper/c-swiper.js +214 -0
  405. package/dist/collection/components/c-swiper/c-swiper.js.map +1 -0
  406. package/dist/collection/components/c-swiper/test/c-swiper.e2e.js +83 -0
  407. package/dist/collection/components/c-swiper/test/c-swiper.e2e.js.map +1 -0
  408. package/dist/collection/components/c-swiper/test/c-swiper.visual.js +20 -0
  409. package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +1 -0
  410. package/dist/collection/components/c-swiper-tab/c-swiper-tab.css +115 -0
  411. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +207 -0
  412. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -0
  413. package/dist/collection/components/c-switch/c-switch.css +138 -0
  414. package/dist/collection/components/c-switch/c-switch.js +216 -0
  415. package/dist/collection/components/c-switch/c-switch.js.map +1 -0
  416. package/dist/collection/components/c-switch/test/c-switch.e2e.js +51 -0
  417. package/dist/collection/components/c-switch/test/c-switch.e2e.js.map +1 -0
  418. package/dist/collection/components/c-switch/test/c-switch.spec.js +40 -0
  419. package/dist/collection/components/c-switch/test/c-switch.spec.js.map +1 -0
  420. package/dist/collection/components/c-switch/test/c-switch.visual.js +28 -0
  421. package/dist/collection/components/c-switch/test/c-switch.visual.js.map +1 -0
  422. package/dist/collection/components/c-tab/c-tab.css +101 -0
  423. package/dist/collection/components/c-tab/c-tab.js +230 -0
  424. package/dist/collection/components/c-tab/c-tab.js.map +1 -0
  425. package/dist/collection/components/c-tab-buttons/c-tab-buttons.css +108 -0
  426. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +271 -0
  427. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -0
  428. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js +91 -0
  429. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js.map +1 -0
  430. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js +42 -0
  431. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js.map +1 -0
  432. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +47 -0
  433. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +1 -0
  434. package/dist/collection/components/c-tab-item/c-tab-item.css +41 -0
  435. package/dist/collection/components/c-tab-item/c-tab-item.js +99 -0
  436. package/dist/collection/components/c-tab-item/c-tab-item.js.map +1 -0
  437. package/dist/collection/components/c-tab-items/c-tab-items.css +34 -0
  438. package/dist/collection/components/c-tab-items/c-tab-items.js +140 -0
  439. package/dist/collection/components/c-tab-items/c-tab-items.js.map +1 -0
  440. package/dist/collection/components/c-table/c-table.css +143 -0
  441. package/dist/collection/components/c-table/c-table.js +86 -0
  442. package/dist/collection/components/c-table/c-table.js.map +1 -0
  443. package/dist/collection/components/c-tabs/c-tabs.css +167 -0
  444. package/dist/collection/components/c-tabs/c-tabs.js +598 -0
  445. package/dist/collection/components/c-tabs/c-tabs.js.map +1 -0
  446. package/dist/collection/components/c-tabs/test/c-tabs.e2e.js +74 -0
  447. package/dist/collection/components/c-tabs/test/c-tabs.e2e.js.map +1 -0
  448. package/dist/collection/components/c-tabs/test/c-tabs.spec.js +85 -0
  449. package/dist/collection/components/c-tabs/test/c-tabs.spec.js.map +1 -0
  450. package/dist/collection/components/c-tabs/test/c-tabs.visual.js +16 -0
  451. package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +1 -0
  452. package/dist/collection/components/c-tag/c-tag.css +146 -0
  453. package/dist/collection/components/c-tag/c-tag.js +174 -0
  454. package/dist/collection/components/c-tag/c-tag.js.map +1 -0
  455. package/dist/collection/components/c-tag/test/c-tag.spec.js +50 -0
  456. package/dist/collection/components/c-tag/test/c-tag.spec.js.map +1 -0
  457. package/dist/collection/components/c-tag/test/c-tag.visual.js +26 -0
  458. package/dist/collection/components/c-tag/test/c-tag.visual.js.map +1 -0
  459. package/dist/collection/components/c-tags/c-tags.css +25 -0
  460. package/dist/collection/components/c-tags/c-tags.js +19 -0
  461. package/dist/collection/components/c-tags/c-tags.js.map +1 -0
  462. package/dist/collection/components/c-text-field/c-text-field.css +73 -0
  463. package/dist/collection/components/c-text-field/c-text-field.js +639 -0
  464. package/dist/collection/components/c-text-field/c-text-field.js.map +1 -0
  465. package/dist/collection/components/c-text-field/test/c-text-field.e2e.js +12 -0
  466. package/dist/collection/components/c-text-field/test/c-text-field.e2e.js.map +1 -0
  467. package/dist/collection/components/c-text-field/test/c-text-field.spec.js +33 -0
  468. package/dist/collection/components/c-text-field/test/c-text-field.spec.js.map +1 -0
  469. package/dist/collection/components/c-text-field/test/c-text-field.visual.js +41 -0
  470. package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +1 -0
  471. package/dist/collection/components/c-toast/c-toast.css +156 -0
  472. package/dist/collection/components/c-toast/c-toast.js +145 -0
  473. package/dist/collection/components/c-toast/c-toast.js.map +1 -0
  474. package/dist/collection/components/c-toasts/c-toasts.css +61 -0
  475. package/dist/collection/components/c-toasts/c-toasts.js +196 -0
  476. package/dist/collection/components/c-toasts/c-toasts.js.map +1 -0
  477. package/dist/collection/components/c-toasts/test/c-toasts.spec.js +61 -0
  478. package/dist/collection/components/c-toasts/test/c-toasts.spec.js.map +1 -0
  479. package/dist/collection/components/c-toasts/test/c-toasts.visual.js +27 -0
  480. package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +1 -0
  481. package/dist/collection/components/c-toolbar/c-toolbar.css +49 -0
  482. package/dist/collection/components/c-toolbar/c-toolbar.js +19 -0
  483. package/dist/collection/components/c-toolbar/c-toolbar.js.map +1 -0
  484. package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js +12 -0
  485. package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js.map +1 -0
  486. package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +10 -0
  487. package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +1 -0
  488. package/dist/collection/dist/styles/css/c-data-table.css +10 -0
  489. package/dist/collection/dist/styles/css/theme.css +100 -0
  490. package/dist/collection/dist/styles/css/typography.css +10 -0
  491. package/dist/collection/dist/styles/scss/_c-data-table.scss +7 -0
  492. package/dist/collection/dist/styles/scss/_theme.scss +97 -0
  493. package/dist/collection/dist/styles/scss/_typography.scss +7 -0
  494. package/dist/collection/dist/styles/tailwind/theme.js +117 -0
  495. package/dist/collection/dist/styles/variables.css +111 -0
  496. package/dist/collection/dist/styles/variables.scss +108 -0
  497. package/dist/collection/index.js +3 -0
  498. package/dist/collection/index.js.map +1 -0
  499. package/dist/collection/styles/tailwind/theme.js +117 -0
  500. package/dist/collection/types/index.js +20 -0
  501. package/dist/collection/types/index.js.map +1 -0
  502. package/dist/collection/utils/test/sleep.js +2 -0
  503. package/dist/collection/utils/test/sleep.js.map +1 -0
  504. package/dist/collection/utils/test/takeScreenshot.js +11 -0
  505. package/dist/collection/utils/test/takeScreenshot.js.map +1 -0
  506. package/dist/components/c-accordion-item.d.ts +11 -0
  507. package/dist/components/c-accordion-item.js +144 -0
  508. package/dist/components/c-accordion-item.js.map +1 -0
  509. package/dist/components/c-accordion.d.ts +11 -0
  510. package/dist/components/c-accordion.js +89 -0
  511. package/dist/components/c-accordion.js.map +1 -0
  512. package/dist/components/c-alert.d.ts +11 -0
  513. package/dist/components/c-alert.js +46 -0
  514. package/dist/components/c-alert.js.map +1 -0
  515. package/dist/components/c-autocomplete.d.ts +11 -0
  516. package/dist/components/c-autocomplete.js +335 -0
  517. package/dist/components/c-autocomplete.js.map +1 -0
  518. package/dist/components/c-badge.d.ts +11 -0
  519. package/dist/components/c-badge.js +8 -0
  520. package/dist/components/c-badge.js.map +1 -0
  521. package/dist/components/c-badge2.js +32 -0
  522. package/dist/components/c-badge2.js.map +1 -0
  523. package/dist/components/c-button.d.ts +11 -0
  524. package/dist/components/c-button.js +191 -0
  525. package/dist/components/c-button.js.map +1 -0
  526. package/dist/components/c-card-actions.d.ts +11 -0
  527. package/dist/components/c-card-actions.js +8 -0
  528. package/dist/components/c-card-actions.js.map +1 -0
  529. package/dist/components/c-card-actions2.js +42 -0
  530. package/dist/components/c-card-actions2.js.map +1 -0
  531. package/dist/components/c-card-content.d.ts +11 -0
  532. package/dist/components/c-card-content.js +35 -0
  533. package/dist/components/c-card-content.js.map +1 -0
  534. package/dist/components/c-card-title.d.ts +11 -0
  535. package/dist/components/c-card-title.js +35 -0
  536. package/dist/components/c-card-title.js.map +1 -0
  537. package/dist/components/c-card.d.ts +11 -0
  538. package/dist/components/c-card.js +118 -0
  539. package/dist/components/c-card.js.map +1 -0
  540. package/dist/components/c-checkbox.d.ts +11 -0
  541. package/dist/components/c-checkbox.js +8 -0
  542. package/dist/components/c-checkbox.js.map +1 -0
  543. package/dist/components/c-checkbox2.js +153 -0
  544. package/dist/components/c-checkbox2.js.map +1 -0
  545. package/dist/components/c-csc-logo.d.ts +11 -0
  546. package/dist/components/c-csc-logo.js +39 -0
  547. package/dist/components/c-csc-logo.js.map +1 -0
  548. package/dist/components/c-data-table.d.ts +11 -0
  549. package/dist/components/c-data-table.js +815 -0
  550. package/dist/components/c-data-table.js.map +1 -0
  551. package/dist/components/c-dropdown.d.ts +11 -0
  552. package/dist/components/c-dropdown.js +8 -0
  553. package/dist/components/c-dropdown.js.map +1 -0
  554. package/dist/components/c-dropdown2.js +504 -0
  555. package/dist/components/c-dropdown2.js.map +1 -0
  556. package/dist/components/c-dropdowns.d.ts +11 -0
  557. package/dist/components/c-dropdowns.js +8 -0
  558. package/dist/components/c-dropdowns.js.map +1 -0
  559. package/dist/components/c-dropdowns2.js +60 -0
  560. package/dist/components/c-dropdowns2.js.map +1 -0
  561. package/dist/components/c-icon-button.d.ts +11 -0
  562. package/dist/components/c-icon-button.js +8 -0
  563. package/dist/components/c-icon-button.js.map +1 -0
  564. package/dist/components/c-icon-button2.js +95 -0
  565. package/dist/components/c-icon-button2.js.map +1 -0
  566. package/dist/components/c-icon.d.ts +11 -0
  567. package/dist/components/c-icon.js +8 -0
  568. package/dist/components/c-icon.js.map +1 -0
  569. package/dist/components/c-icon2.js +43 -0
  570. package/dist/components/c-icon2.js.map +1 -0
  571. package/dist/components/c-input.d.ts +11 -0
  572. package/dist/components/c-input.js +8 -0
  573. package/dist/components/c-input.js.map +1 -0
  574. package/dist/components/c-input2.js +373 -0
  575. package/dist/components/c-input2.js.map +1 -0
  576. package/dist/components/c-link.d.ts +11 -0
  577. package/dist/components/c-link.js +50 -0
  578. package/dist/components/c-link.js.map +1 -0
  579. package/dist/components/c-list-item-title.d.ts +11 -0
  580. package/dist/components/c-list-item-title.js +42 -0
  581. package/dist/components/c-list-item-title.js.map +1 -0
  582. package/dist/components/c-list-item.d.ts +11 -0
  583. package/dist/components/c-list-item.js +113 -0
  584. package/dist/components/c-list-item.js.map +1 -0
  585. package/dist/components/c-list.d.ts +11 -0
  586. package/dist/components/c-list.js +62 -0
  587. package/dist/components/c-list.js.map +1 -0
  588. package/dist/components/c-loader.d.ts +11 -0
  589. package/dist/components/c-loader.js +8 -0
  590. package/dist/components/c-loader.js.map +1 -0
  591. package/dist/components/c-loader2.js +63 -0
  592. package/dist/components/c-loader2.js.map +1 -0
  593. package/dist/components/c-login-button.d.ts +11 -0
  594. package/dist/components/c-login-button.js +43 -0
  595. package/dist/components/c-login-button.js.map +1 -0
  596. package/dist/components/c-login-buttons.d.ts +11 -0
  597. package/dist/components/c-login-buttons.js +35 -0
  598. package/dist/components/c-login-buttons.js.map +1 -0
  599. package/dist/components/c-login-card-actions.d.ts +11 -0
  600. package/dist/components/c-login-card-actions.js +43 -0
  601. package/dist/components/c-login-card-actions.js.map +1 -0
  602. package/dist/components/c-login-card-content.d.ts +11 -0
  603. package/dist/components/c-login-card-content.js +35 -0
  604. package/dist/components/c-login-card-content.js.map +1 -0
  605. package/dist/components/c-login-card-title.d.ts +11 -0
  606. package/dist/components/c-login-card-title.js +35 -0
  607. package/dist/components/c-login-card-title.js.map +1 -0
  608. package/dist/components/c-login-card.d.ts +11 -0
  609. package/dist/components/c-login-card.js +87 -0
  610. package/dist/components/c-login-card.js.map +1 -0
  611. package/dist/components/c-main.d.ts +11 -0
  612. package/dist/components/c-main.js +35 -0
  613. package/dist/components/c-main.js.map +1 -0
  614. package/dist/components/c-menu-items.d.ts +11 -0
  615. package/dist/components/c-menu-items.js +8 -0
  616. package/dist/components/c-menu-items.js.map +1 -0
  617. package/dist/components/c-menu-items2.js +236 -0
  618. package/dist/components/c-menu-items2.js.map +1 -0
  619. package/dist/components/c-menu.d.ts +11 -0
  620. package/dist/components/c-menu.js +8 -0
  621. package/dist/components/c-menu.js.map +1 -0
  622. package/dist/components/c-menu2.js +185 -0
  623. package/dist/components/c-menu2.js.map +1 -0
  624. package/dist/components/c-message.d.ts +11 -0
  625. package/dist/components/c-message.js +8 -0
  626. package/dist/components/c-message.js.map +1 -0
  627. package/dist/components/c-message2.js +88 -0
  628. package/dist/components/c-message2.js.map +1 -0
  629. package/dist/components/c-modal.d.ts +11 -0
  630. package/dist/components/c-modal.js +131 -0
  631. package/dist/components/c-modal.js.map +1 -0
  632. package/dist/components/c-navigation-button.d.ts +11 -0
  633. package/dist/components/c-navigation-button.js +66 -0
  634. package/dist/components/c-navigation-button.js.map +1 -0
  635. package/dist/components/c-option-value.d.ts +11 -0
  636. package/dist/components/c-option-value.js +35 -0
  637. package/dist/components/c-option-value.js.map +1 -0
  638. package/dist/components/c-option.d.ts +11 -0
  639. package/dist/components/c-option.js +44 -0
  640. package/dist/components/c-option.js.map +1 -0
  641. package/dist/components/c-otp-input.d.ts +11 -0
  642. package/dist/components/c-otp-input.js +178 -0
  643. package/dist/components/c-otp-input.js.map +1 -0
  644. package/dist/components/c-page.d.ts +11 -0
  645. package/dist/components/c-page.js +45 -0
  646. package/dist/components/c-page.js.map +1 -0
  647. package/dist/components/c-pagination.d.ts +11 -0
  648. package/dist/components/c-pagination.js +8 -0
  649. package/dist/components/c-pagination.js.map +1 -0
  650. package/dist/components/c-pagination2.js +293 -0
  651. package/dist/components/c-pagination2.js.map +1 -0
  652. package/dist/components/c-progress-bar.d.ts +11 -0
  653. package/dist/components/c-progress-bar.js +79 -0
  654. package/dist/components/c-progress-bar.js.map +1 -0
  655. package/dist/components/c-radio-group.d.ts +11 -0
  656. package/dist/components/c-radio-group.js +185 -0
  657. package/dist/components/c-radio-group.js.map +1 -0
  658. package/dist/components/c-radio.d.ts +11 -0
  659. package/dist/components/c-radio.js +42 -0
  660. package/dist/components/c-radio.js.map +1 -0
  661. package/dist/components/c-ripple.d.ts +11 -0
  662. package/dist/components/c-ripple.js +8 -0
  663. package/dist/components/c-ripple.js.map +1 -0
  664. package/dist/components/c-ripple2.js +68 -0
  665. package/dist/components/c-ripple2.js.map +1 -0
  666. package/dist/components/c-row.d.ts +11 -0
  667. package/dist/components/c-row.js +54 -0
  668. package/dist/components/c-row.js.map +1 -0
  669. package/dist/components/c-select.d.ts +11 -0
  670. package/dist/components/c-select.js +402 -0
  671. package/dist/components/c-select.js.map +1 -0
  672. package/dist/components/c-side-navigation-item.d.ts +11 -0
  673. package/dist/components/c-side-navigation-item.js +154 -0
  674. package/dist/components/c-side-navigation-item.js.map +1 -0
  675. package/dist/components/c-side-navigation-title.d.ts +11 -0
  676. package/dist/components/c-side-navigation-title.js +35 -0
  677. package/dist/components/c-side-navigation-title.js.map +1 -0
  678. package/dist/components/c-side-navigation.d.ts +11 -0
  679. package/dist/components/c-side-navigation.js +118 -0
  680. package/dist/components/c-side-navigation.js.map +1 -0
  681. package/dist/components/c-spacer.d.ts +11 -0
  682. package/dist/components/c-spacer.js +8 -0
  683. package/dist/components/c-spacer.js.map +1 -0
  684. package/dist/components/c-spacer2.js +32 -0
  685. package/dist/components/c-spacer2.js.map +1 -0
  686. package/dist/components/c-spinner.d.ts +11 -0
  687. package/dist/components/c-spinner.js +8 -0
  688. package/dist/components/c-spinner.js.map +1 -0
  689. package/dist/components/c-spinner2.js +49 -0
  690. package/dist/components/c-spinner2.js.map +1 -0
  691. package/dist/components/c-status.d.ts +11 -0
  692. package/dist/components/c-status.js +39 -0
  693. package/dist/components/c-status.js.map +1 -0
  694. package/dist/components/c-step.d.ts +11 -0
  695. package/dist/components/c-step.js +44 -0
  696. package/dist/components/c-step.js.map +1 -0
  697. package/dist/components/c-steps.d.ts +11 -0
  698. package/dist/components/c-steps.js +98 -0
  699. package/dist/components/c-steps.js.map +1 -0
  700. package/dist/components/c-sub-navigation-item.d.ts +11 -0
  701. package/dist/components/c-sub-navigation-item.js +83 -0
  702. package/dist/components/c-sub-navigation-item.js.map +1 -0
  703. package/dist/components/c-swiper-tab.d.ts +11 -0
  704. package/dist/components/c-swiper-tab.js +75 -0
  705. package/dist/components/c-swiper-tab.js.map +1 -0
  706. package/dist/components/c-swiper.d.ts +11 -0
  707. package/dist/components/c-swiper.js +4230 -0
  708. package/dist/components/c-swiper.js.map +1 -0
  709. package/dist/components/c-switch.d.ts +11 -0
  710. package/dist/components/c-switch.js +88 -0
  711. package/dist/components/c-switch.js.map +1 -0
  712. package/dist/components/c-tab-buttons.d.ts +11 -0
  713. package/dist/components/c-tab-buttons.js +155 -0
  714. package/dist/components/c-tab-buttons.js.map +1 -0
  715. package/dist/components/c-tab-item.d.ts +11 -0
  716. package/dist/components/c-tab-item.js +57 -0
  717. package/dist/components/c-tab-item.js.map +1 -0
  718. package/dist/components/c-tab-items.d.ts +11 -0
  719. package/dist/components/c-tab-items.js +101 -0
  720. package/dist/components/c-tab-items.js.map +1 -0
  721. package/dist/components/c-tab.d.ts +11 -0
  722. package/dist/components/c-tab.js +86 -0
  723. package/dist/components/c-tab.js.map +1 -0
  724. package/dist/components/c-table.d.ts +11 -0
  725. package/dist/components/c-table.js +63 -0
  726. package/dist/components/c-table.js.map +1 -0
  727. package/dist/components/c-tabs.d.ts +11 -0
  728. package/dist/components/c-tabs.js +481 -0
  729. package/dist/components/c-tabs.js.map +1 -0
  730. package/dist/components/c-tag.d.ts +11 -0
  731. package/dist/components/c-tag.js +96 -0
  732. package/dist/components/c-tag.js.map +1 -0
  733. package/dist/components/c-tags.d.ts +11 -0
  734. package/dist/components/c-tags.js +35 -0
  735. package/dist/components/c-tags.js.map +1 -0
  736. package/dist/components/c-text-field.d.ts +11 -0
  737. package/dist/components/c-text-field.js +220 -0
  738. package/dist/components/c-text-field.js.map +1 -0
  739. package/dist/components/c-toast.d.ts +11 -0
  740. package/dist/components/c-toast.js +8 -0
  741. package/dist/components/c-toast.js.map +1 -0
  742. package/dist/components/c-toast2.js +93 -0
  743. package/dist/components/c-toast2.js.map +1 -0
  744. package/dist/components/c-toasts.d.ts +11 -0
  745. package/dist/components/c-toasts.js +113 -0
  746. package/dist/components/c-toasts.js.map +1 -0
  747. package/dist/components/c-toolbar.d.ts +11 -0
  748. package/dist/components/c-toolbar.js +35 -0
  749. package/dist/components/c-toolbar.js.map +1 -0
  750. package/dist/components/index.d.ts +33 -0
  751. package/dist/components/index.js +4 -0
  752. package/dist/components/index.js.map +1 -0
  753. package/dist/components/index2.js +23 -0
  754. package/dist/components/index2.js.map +1 -0
  755. package/dist/components/mdi.js +25 -0
  756. package/dist/components/mdi.js.map +1 -0
  757. package/dist/csc-ui/assets/puhti.gif +0 -0
  758. package/dist/csc-ui/csc-ui.esm.js +2 -0
  759. package/dist/csc-ui/csc-ui.esm.js.map +1 -0
  760. package/dist/csc-ui/dist/styles/css/c-data-table.css +10 -0
  761. package/dist/csc-ui/dist/styles/css/theme.css +100 -0
  762. package/dist/csc-ui/dist/styles/css/typography.css +10 -0
  763. package/dist/csc-ui/dist/styles/scss/_c-data-table.scss +7 -0
  764. package/dist/csc-ui/dist/styles/scss/_theme.scss +97 -0
  765. package/dist/csc-ui/dist/styles/scss/_typography.scss +7 -0
  766. package/dist/csc-ui/dist/styles/tailwind/theme.js +117 -0
  767. package/dist/csc-ui/dist/styles/variables.css +111 -0
  768. package/dist/csc-ui/dist/styles/variables.scss +108 -0
  769. package/dist/csc-ui/index.esm.js +2 -0
  770. package/dist/csc-ui/index.esm.js.map +1 -0
  771. package/dist/csc-ui/p-0355c094.entry.js +2 -0
  772. package/dist/csc-ui/p-0355c094.entry.js.map +1 -0
  773. package/dist/csc-ui/p-0c7c2bbd.entry.js +2 -0
  774. package/dist/csc-ui/p-0c7c2bbd.entry.js.map +1 -0
  775. package/dist/csc-ui/p-177f7d7d.entry.js +2 -0
  776. package/dist/csc-ui/p-177f7d7d.entry.js.map +1 -0
  777. package/dist/csc-ui/p-20282d86.entry.js +2 -0
  778. package/dist/csc-ui/p-20282d86.entry.js.map +1 -0
  779. package/dist/csc-ui/p-21f39647.entry.js +2 -0
  780. package/dist/csc-ui/p-21f39647.entry.js.map +1 -0
  781. package/dist/csc-ui/p-2318ba6b.entry.js +2 -0
  782. package/dist/csc-ui/p-2318ba6b.entry.js.map +1 -0
  783. package/dist/csc-ui/p-2bf78691.entry.js +2 -0
  784. package/dist/csc-ui/p-2bf78691.entry.js.map +1 -0
  785. package/dist/csc-ui/p-319fba28.entry.js +2 -0
  786. package/dist/csc-ui/p-319fba28.entry.js.map +1 -0
  787. package/dist/csc-ui/p-33e42eb8.entry.js +2 -0
  788. package/dist/csc-ui/p-33e42eb8.entry.js.map +1 -0
  789. package/dist/csc-ui/p-3c11dfb2.entry.js +2 -0
  790. package/dist/csc-ui/p-3c11dfb2.entry.js.map +1 -0
  791. package/dist/csc-ui/p-3e4869bf.entry.js +2 -0
  792. package/dist/csc-ui/p-3e4869bf.entry.js.map +1 -0
  793. package/dist/csc-ui/p-3ec3f184.entry.js +2 -0
  794. package/dist/csc-ui/p-3ec3f184.entry.js.map +1 -0
  795. package/dist/csc-ui/p-3f35766b.entry.js +2 -0
  796. package/dist/csc-ui/p-3f35766b.entry.js.map +1 -0
  797. package/dist/csc-ui/p-425ca7aa.entry.js +2 -0
  798. package/dist/csc-ui/p-425ca7aa.entry.js.map +1 -0
  799. package/dist/csc-ui/p-49726bd5.entry.js +2 -0
  800. package/dist/csc-ui/p-49726bd5.entry.js.map +1 -0
  801. package/dist/csc-ui/p-540e681a.entry.js +2 -0
  802. package/dist/csc-ui/p-540e681a.entry.js.map +1 -0
  803. package/dist/csc-ui/p-593b6720.entry.js +2 -0
  804. package/dist/csc-ui/p-593b6720.entry.js.map +1 -0
  805. package/dist/csc-ui/p-626c6afe.entry.js +2 -0
  806. package/dist/csc-ui/p-626c6afe.entry.js.map +1 -0
  807. package/dist/csc-ui/p-6e90cdfb.entry.js +2 -0
  808. package/dist/csc-ui/p-6e90cdfb.entry.js.map +1 -0
  809. package/dist/csc-ui/p-7092cd6c.entry.js +2 -0
  810. package/dist/csc-ui/p-7092cd6c.entry.js.map +1 -0
  811. package/dist/csc-ui/p-771adfde.entry.js +2 -0
  812. package/dist/csc-ui/p-771adfde.entry.js.map +1 -0
  813. package/dist/csc-ui/p-7d76025c.entry.js +2 -0
  814. package/dist/csc-ui/p-7d76025c.entry.js.map +1 -0
  815. package/dist/csc-ui/p-816f84b2.entry.js +2 -0
  816. package/dist/csc-ui/p-816f84b2.entry.js.map +1 -0
  817. package/dist/csc-ui/p-86a96319.entry.js +2 -0
  818. package/dist/csc-ui/p-86a96319.entry.js.map +1 -0
  819. package/dist/csc-ui/p-87c39c69.entry.js +2 -0
  820. package/dist/csc-ui/p-87c39c69.entry.js.map +1 -0
  821. package/dist/csc-ui/p-89d6e4c6.entry.js +2 -0
  822. package/dist/csc-ui/p-89d6e4c6.entry.js.map +1 -0
  823. package/dist/csc-ui/p-8d3a455f.entry.js +2 -0
  824. package/dist/csc-ui/p-8d3a455f.entry.js.map +1 -0
  825. package/dist/csc-ui/p-8e08df79.entry.js +2 -0
  826. package/dist/csc-ui/p-8e08df79.entry.js.map +1 -0
  827. package/dist/csc-ui/p-982b94a7.entry.js +2 -0
  828. package/dist/csc-ui/p-982b94a7.entry.js.map +1 -0
  829. package/dist/csc-ui/p-993583f1.entry.js +2 -0
  830. package/dist/csc-ui/p-993583f1.entry.js.map +1 -0
  831. package/dist/csc-ui/p-9936c5e9.entry.js +2 -0
  832. package/dist/csc-ui/p-9936c5e9.entry.js.map +1 -0
  833. package/dist/csc-ui/p-9ad61903.entry.js +2 -0
  834. package/dist/csc-ui/p-9ad61903.entry.js.map +1 -0
  835. package/dist/csc-ui/p-9bda8e49.entry.js +2 -0
  836. package/dist/csc-ui/p-9bda8e49.entry.js.map +1 -0
  837. package/dist/csc-ui/p-9d54e9a4.js +3 -0
  838. package/dist/csc-ui/p-9d54e9a4.js.map +1 -0
  839. package/dist/csc-ui/p-a7a7f6ab.entry.js +2 -0
  840. package/dist/csc-ui/p-a7a7f6ab.entry.js.map +1 -0
  841. package/dist/csc-ui/p-a9441233.entry.js +2 -0
  842. package/dist/csc-ui/p-a9441233.entry.js.map +1 -0
  843. package/dist/csc-ui/p-b7dcfced.entry.js +2 -0
  844. package/dist/csc-ui/p-b7dcfced.entry.js.map +1 -0
  845. package/dist/csc-ui/p-bc1000f3.entry.js +2 -0
  846. package/dist/csc-ui/p-bc1000f3.entry.js.map +1 -0
  847. package/dist/csc-ui/p-bf6d76df.entry.js +2 -0
  848. package/dist/csc-ui/p-bf6d76df.entry.js.map +1 -0
  849. package/dist/csc-ui/p-bf8bc8d7.entry.js +2 -0
  850. package/dist/csc-ui/p-bf8bc8d7.entry.js.map +1 -0
  851. package/dist/csc-ui/p-c101d987.entry.js +2 -0
  852. package/dist/csc-ui/p-c101d987.entry.js.map +1 -0
  853. package/dist/csc-ui/p-c4122519.entry.js +2 -0
  854. package/dist/csc-ui/p-c4122519.entry.js.map +1 -0
  855. package/dist/csc-ui/p-c5847170.entry.js +2 -0
  856. package/dist/csc-ui/p-c5847170.entry.js.map +1 -0
  857. package/dist/csc-ui/p-d18578fc.entry.js +2 -0
  858. package/dist/csc-ui/p-d18578fc.entry.js.map +1 -0
  859. package/dist/csc-ui/p-d3659ea8.entry.js +2 -0
  860. package/dist/csc-ui/p-d3659ea8.entry.js.map +1 -0
  861. package/dist/csc-ui/p-dffa1f9f.js +2 -0
  862. package/dist/csc-ui/p-dffa1f9f.js.map +1 -0
  863. package/dist/csc-ui/p-e81aa4e4.entry.js +2 -0
  864. package/dist/csc-ui/p-e81aa4e4.entry.js.map +1 -0
  865. package/dist/csc-ui/p-e8cddda8.entry.js +2 -0
  866. package/dist/csc-ui/p-e8cddda8.entry.js.map +1 -0
  867. package/dist/csc-ui/p-e970fa68.entry.js +2 -0
  868. package/dist/csc-ui/p-e970fa68.entry.js.map +1 -0
  869. package/dist/csc-ui/p-edb164fa.entry.js +2 -0
  870. package/dist/csc-ui/p-edb164fa.entry.js.map +1 -0
  871. package/dist/csc-ui/p-f327adbb.entry.js +2 -0
  872. package/dist/csc-ui/p-f327adbb.entry.js.map +1 -0
  873. package/dist/csc-ui/p-f32832e3.entry.js +2 -0
  874. package/dist/csc-ui/p-f32832e3.entry.js.map +1 -0
  875. package/dist/csc-ui/p-f65ed4bf.entry.js +2 -0
  876. package/dist/csc-ui/p-f65ed4bf.entry.js.map +1 -0
  877. package/dist/csc-ui/p-fa86088a.entry.js +2 -0
  878. package/dist/csc-ui/p-fa86088a.entry.js.map +1 -0
  879. package/dist/csc-ui/p-fafac729.js +2 -0
  880. package/dist/csc-ui/p-fafac729.js.map +1 -0
  881. package/dist/csc-ui/p-fc284e52.entry.js +2 -0
  882. package/dist/csc-ui/p-fc284e52.entry.js.map +1 -0
  883. package/dist/csc-ui/p-fe217f6c.entry.js +2 -0
  884. package/dist/csc-ui/p-fe217f6c.entry.js.map +1 -0
  885. package/dist/esm/c-accordion-item.entry.js +114 -0
  886. package/dist/esm/c-accordion-item.entry.js.map +1 -0
  887. package/dist/esm/c-accordion.entry.js +64 -0
  888. package/dist/esm/c-accordion.entry.js.map +1 -0
  889. package/dist/esm/c-alert.entry.js +26 -0
  890. package/dist/esm/c-alert.entry.js.map +1 -0
  891. package/dist/esm/c-autocomplete.entry.js +259 -0
  892. package/dist/esm/c-autocomplete.entry.js.map +1 -0
  893. package/dist/esm/c-badge_12.entry.js +427 -0
  894. package/dist/esm/c-badge_12.entry.js.map +1 -0
  895. package/dist/esm/c-card-actions.entry.js +24 -0
  896. package/dist/esm/c-card-actions.entry.js.map +1 -0
  897. package/dist/esm/c-card-content.entry.js +17 -0
  898. package/dist/esm/c-card-content.entry.js.map +1 -0
  899. package/dist/esm/c-card-title.entry.js +17 -0
  900. package/dist/esm/c-card-title.entry.js.map +1 -0
  901. package/dist/esm/c-checkbox_2.entry.js +337 -0
  902. package/dist/esm/c-checkbox_2.entry.js.map +1 -0
  903. package/dist/esm/c-data-table.entry.js +697 -0
  904. package/dist/esm/c-data-table.entry.js.map +1 -0
  905. package/dist/esm/c-dropdown_4.entry.js +830 -0
  906. package/dist/esm/c-dropdown_4.entry.js.map +1 -0
  907. package/dist/esm/c-link.entry.js +27 -0
  908. package/dist/esm/c-link.entry.js.map +1 -0
  909. package/dist/esm/c-list-item-title.entry.js +22 -0
  910. package/dist/esm/c-list-item-title.entry.js.map +1 -0
  911. package/dist/esm/c-list-item.entry.js +79 -0
  912. package/dist/esm/c-list-item.entry.js.map +1 -0
  913. package/dist/esm/c-list.entry.js +41 -0
  914. package/dist/esm/c-list.entry.js.map +1 -0
  915. package/dist/esm/c-loader.entry.js +35 -0
  916. package/dist/esm/c-loader.entry.js.map +1 -0
  917. package/dist/esm/c-login-button.entry.js +21 -0
  918. package/dist/esm/c-login-button.entry.js.map +1 -0
  919. package/dist/esm/c-login-buttons.entry.js +17 -0
  920. package/dist/esm/c-login-buttons.entry.js.map +1 -0
  921. package/dist/esm/c-login-card-actions.entry.js +16 -0
  922. package/dist/esm/c-login-card-actions.entry.js.map +1 -0
  923. package/dist/esm/c-login-card-content.entry.js +17 -0
  924. package/dist/esm/c-login-card-content.entry.js.map +1 -0
  925. package/dist/esm/c-login-card-title.entry.js +17 -0
  926. package/dist/esm/c-login-card-title.entry.js.map +1 -0
  927. package/dist/esm/c-login-card.entry.js +62 -0
  928. package/dist/esm/c-login-card.entry.js.map +1 -0
  929. package/dist/esm/c-menu_2.entry.js +349 -0
  930. package/dist/esm/c-menu_2.entry.js.map +1 -0
  931. package/dist/esm/c-modal.entry.js +104 -0
  932. package/dist/esm/c-modal.entry.js.map +1 -0
  933. package/dist/esm/c-navigation-button.entry.js +18 -0
  934. package/dist/esm/c-navigation-button.entry.js.map +1 -0
  935. package/dist/esm/c-option-value.entry.js +17 -0
  936. package/dist/esm/c-option-value.entry.js.map +1 -0
  937. package/dist/esm/c-option.entry.js +21 -0
  938. package/dist/esm/c-option.entry.js.map +1 -0
  939. package/dist/esm/c-otp-input.entry.js +150 -0
  940. package/dist/esm/c-otp-input.entry.js.map +1 -0
  941. package/dist/esm/c-page.entry.js +27 -0
  942. package/dist/esm/c-page.entry.js.map +1 -0
  943. package/dist/esm/c-progress-bar.entry.js +55 -0
  944. package/dist/esm/c-progress-bar.entry.js.map +1 -0
  945. package/dist/esm/c-radio-group.entry.js +150 -0
  946. package/dist/esm/c-radio-group.entry.js.map +1 -0
  947. package/dist/esm/c-radio.entry.js +20 -0
  948. package/dist/esm/c-radio.entry.js.map +1 -0
  949. package/dist/esm/c-select.entry.js +327 -0
  950. package/dist/esm/c-select.entry.js.map +1 -0
  951. package/dist/esm/c-side-navigation-item.entry.js +117 -0
  952. package/dist/esm/c-side-navigation-item.entry.js.map +1 -0
  953. package/dist/esm/c-side-navigation-title.entry.js +17 -0
  954. package/dist/esm/c-side-navigation-title.entry.js.map +1 -0
  955. package/dist/esm/c-side-navigation.entry.js +67 -0
  956. package/dist/esm/c-side-navigation.entry.js.map +1 -0
  957. package/dist/esm/c-status.entry.js +19 -0
  958. package/dist/esm/c-status.entry.js.map +1 -0
  959. package/dist/esm/c-step.entry.js +23 -0
  960. package/dist/esm/c-step.entry.js.map +1 -0
  961. package/dist/esm/c-steps.entry.js +74 -0
  962. package/dist/esm/c-steps.entry.js.map +1 -0
  963. package/dist/esm/c-sub-navigation-item.entry.js +47 -0
  964. package/dist/esm/c-sub-navigation-item.entry.js.map +1 -0
  965. package/dist/esm/c-swiper-tab.entry.js +43 -0
  966. package/dist/esm/c-swiper-tab.entry.js.map +1 -0
  967. package/dist/esm/c-swiper.entry.js +4183 -0
  968. package/dist/esm/c-swiper.entry.js.map +1 -0
  969. package/dist/esm/c-switch.entry.js +67 -0
  970. package/dist/esm/c-switch.entry.js.map +1 -0
  971. package/dist/esm/c-tab-buttons.entry.js +129 -0
  972. package/dist/esm/c-tab-buttons.entry.js.map +1 -0
  973. package/dist/esm/c-tab-item.entry.js +36 -0
  974. package/dist/esm/c-tab-item.entry.js.map +1 -0
  975. package/dist/esm/c-tab-items.entry.js +77 -0
  976. package/dist/esm/c-tab-items.entry.js.map +1 -0
  977. package/dist/esm/c-tab.entry.js +55 -0
  978. package/dist/esm/c-tab.entry.js.map +1 -0
  979. package/dist/esm/c-table.entry.js +43 -0
  980. package/dist/esm/c-table.entry.js.map +1 -0
  981. package/dist/esm/c-tabs.entry.js +419 -0
  982. package/dist/esm/c-tabs.entry.js.map +1 -0
  983. package/dist/esm/c-tag.entry.js +41 -0
  984. package/dist/esm/c-tag.entry.js.map +1 -0
  985. package/dist/esm/c-tags.entry.js +17 -0
  986. package/dist/esm/c-tags.entry.js.map +1 -0
  987. package/dist/esm/c-text-field.entry.js +147 -0
  988. package/dist/esm/c-text-field.entry.js.map +1 -0
  989. package/dist/esm/c-toast.entry.js +69 -0
  990. package/dist/esm/c-toast.entry.js.map +1 -0
  991. package/dist/esm/c-toasts.entry.js +76 -0
  992. package/dist/esm/c-toasts.entry.js.map +1 -0
  993. package/dist/esm/csc-ui.js +20 -0
  994. package/dist/esm/csc-ui.js.map +1 -0
  995. package/dist/esm/index-cdf029b7.js +2575 -0
  996. package/dist/esm/index-cdf029b7.js.map +1 -0
  997. package/dist/esm/index-dfaed2a4.js +23 -0
  998. package/dist/esm/index-dfaed2a4.js.map +1 -0
  999. package/dist/esm/index.js +3 -0
  1000. package/dist/esm/index.js.map +1 -0
  1001. package/dist/esm/loader.js +11 -0
  1002. package/dist/esm/loader.js.map +1 -0
  1003. package/dist/esm/mdi-a4a63b40.js +25 -0
  1004. package/dist/esm/mdi-a4a63b40.js.map +1 -0
  1005. package/dist/esm/polyfills/core-js.js +11 -0
  1006. package/dist/esm/polyfills/dom.js +79 -0
  1007. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1008. package/dist/esm/polyfills/index.js +34 -0
  1009. package/dist/esm/polyfills/system.js +6 -0
  1010. package/dist/index.cjs.js +1 -0
  1011. package/dist/index.js +1 -0
  1012. package/dist/loader/cdn.js +3 -0
  1013. package/dist/loader/index.cjs.js +3 -0
  1014. package/dist/loader/index.d.ts +21 -0
  1015. package/dist/loader/index.es2017.js +3 -0
  1016. package/dist/loader/index.js +4 -0
  1017. package/dist/loader/package.json +11 -0
  1018. package/dist/playwright.config.js +46 -0
  1019. package/dist/playwright.config.js.map +1 -0
  1020. package/dist/stencil.config.js +41 -0
  1021. package/dist/stencil.config.js.map +1 -0
  1022. package/dist/styles/css/c-data-table.css +10 -0
  1023. package/dist/styles/css/theme.css +100 -0
  1024. package/dist/styles/css/typography.css +10 -0
  1025. package/dist/styles/scss/_c-data-table.scss +7 -0
  1026. package/dist/styles/scss/_theme.scss +97 -0
  1027. package/dist/styles/scss/_typography.scss +7 -0
  1028. package/dist/styles/tailwind/theme.js +117 -0
  1029. package/dist/styles/variables.css +111 -0
  1030. package/dist/styles/variables.scss +108 -0
  1031. package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/playwright.config.d.ts +2 -0
  1032. package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/stencil.config.d.ts +2 -0
  1033. package/dist/types/components/c-accordion/c-accordion.d.ts +18 -0
  1034. package/dist/types/components/c-accordion/test/c-accordion.visual.d.ts +1 -0
  1035. package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +27 -0
  1036. package/dist/types/components/c-alert/c-alert.d.ts +6 -0
  1037. package/dist/types/components/c-alert/test/c-alert.visual.d.ts +1 -0
  1038. package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +65 -0
  1039. package/dist/types/components/c-autocomplete/test/c-autocomplete.visual.d.ts +1 -0
  1040. package/dist/types/components/c-badge/c-badge.d.ts +3 -0
  1041. package/dist/types/components/c-button/c-button.d.ts +36 -0
  1042. package/dist/types/components/c-button/test/c-button.visual.d.ts +1 -0
  1043. package/dist/types/components/c-card/c-card.d.ts +12 -0
  1044. package/dist/types/components/c-card/test/c-card.visual.d.ts +1 -0
  1045. package/dist/types/components/c-card-actions/c-card-actions.d.ts +5 -0
  1046. package/dist/types/components/c-card-content/c-card-content.d.ts +3 -0
  1047. package/dist/types/components/c-card-title/c-card-title.d.ts +3 -0
  1048. package/dist/types/components/c-checkbox/c-checkbox.d.ts +37 -0
  1049. package/dist/types/components/c-checkbox/test/c-checkbox.visual.d.ts +1 -0
  1050. package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +4 -0
  1051. package/dist/types/components/c-data-table/c-data-table.d.ts +116 -0
  1052. package/dist/types/components/c-data-table/test/c-data-table.visual.d.ts +1 -0
  1053. package/dist/types/components/c-data-table/test/data/index.d.ts +3 -0
  1054. package/dist/types/components/c-dropdown/c-dropdown.d.ts +66 -0
  1055. package/dist/types/components/c-dropdowns/c-dropdowns.d.ts +29 -0
  1056. package/dist/types/components/c-icon/c-icon.d.ts +7 -0
  1057. package/dist/types/components/c-icon-button/c-icon-button.d.ts +18 -0
  1058. package/dist/types/components/c-icon-button/test/c-icon-button.visual.d.ts +1 -0
  1059. package/dist/types/components/c-input/c-input.d.ts +75 -0
  1060. package/dist/types/components/c-link/c-link.d.ts +7 -0
  1061. package/dist/types/components/c-link/test/c-link.visual.d.ts +1 -0
  1062. package/dist/types/components/c-list/c-list.d.ts +8 -0
  1063. package/dist/types/components/c-list-item/c-list-item.d.ts +16 -0
  1064. package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +4 -0
  1065. package/dist/types/components/c-loader/c-loader.d.ts +10 -0
  1066. package/dist/types/components/c-login-button/c-login-button.d.ts +6 -0
  1067. package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +3 -0
  1068. package/dist/types/components/c-login-card/c-login-card.d.ts +19 -0
  1069. package/dist/types/components/c-login-card/test/c-login-card.visual.d.ts +1 -0
  1070. package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +5 -0
  1071. package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +3 -0
  1072. package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +3 -0
  1073. package/dist/types/components/c-main/c-main.d.ts +3 -0
  1074. package/dist/types/components/c-menu/c-menu.d.ts +26 -0
  1075. package/dist/types/components/c-menu/test/c-menu.visual.d.ts +1 -0
  1076. package/dist/types/components/c-menu-items/c-menu-items.d.ts +44 -0
  1077. package/dist/types/components/c-message/c-message.d.ts +18 -0
  1078. package/dist/types/components/c-modal/c-modal.d.ts +23 -0
  1079. package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +3 -0
  1080. package/dist/types/components/c-option/c-option.d.ts +7 -0
  1081. package/dist/types/components/c-option-value/c-option-value.d.ts +3 -0
  1082. package/dist/types/components/c-otp-input/c-otp-input.d.ts +31 -0
  1083. package/dist/types/components/c-page/c-page.d.ts +7 -0
  1084. package/dist/types/components/c-pagination/c-pagination.d.ts +38 -0
  1085. package/dist/types/components/c-pagination/test/c-pagination.visual.d.ts +1 -0
  1086. package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +9 -0
  1087. package/dist/types/components/c-progress-bar/test/c-progress-bar.visual.d.ts +1 -0
  1088. package/dist/types/components/c-radio/c-radio.d.ts +6 -0
  1089. package/dist/types/components/c-radio-group/c-radio-group.d.ts +40 -0
  1090. package/dist/types/components/c-radio-group/test/c-radio-group.visual.d.ts +1 -0
  1091. package/dist/types/components/c-radio-group/test/items.d.ts +2 -0
  1092. package/dist/types/components/c-ripple/c-ripple.d.ts +7 -0
  1093. package/dist/types/components/c-row/c-row.d.ts +10 -0
  1094. package/dist/types/components/c-select/c-select.d.ts +73 -0
  1095. package/dist/types/components/c-select/test/c-select.visual.d.ts +1 -0
  1096. package/dist/types/components/c-select/test/items.d.ts +2 -0
  1097. package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +9 -0
  1098. package/dist/types/components/c-side-navigation/test/c-side-navigation.visual.d.ts +1 -0
  1099. package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +20 -0
  1100. package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +3 -0
  1101. package/dist/types/components/c-spacer/c-spacer.d.ts +3 -0
  1102. package/dist/types/components/c-spinner/c-spinner.d.ts +6 -0
  1103. package/dist/types/components/c-status/c-status.d.ts +4 -0
  1104. package/dist/types/components/c-status/test/c-status.visual.d.ts +1 -0
  1105. package/dist/types/components/c-step/c-step.d.ts +5 -0
  1106. package/dist/types/components/c-steps/c-steps.d.ts +16 -0
  1107. package/dist/types/components/c-steps/test/c-steps.visual.d.ts +1 -0
  1108. package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +10 -0
  1109. package/dist/types/components/c-swiper/c-swiper.d.ts +25 -0
  1110. package/dist/types/components/c-swiper/test/c-swiper.visual.d.ts +1 -0
  1111. package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +16 -0
  1112. package/dist/types/components/c-switch/c-switch.d.ts +18 -0
  1113. package/dist/types/components/c-switch/test/c-switch.visual.d.ts +1 -0
  1114. package/dist/types/components/c-tab/c-tab.d.ts +20 -0
  1115. package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +24 -0
  1116. package/dist/types/components/c-tab-buttons/test/c-tab-buttons.visual.d.ts +1 -0
  1117. package/dist/types/components/c-tab-item/c-tab-item.d.ts +12 -0
  1118. package/dist/types/components/c-tab-items/c-tab-items.d.ts +18 -0
  1119. package/dist/types/components/c-table/c-table.d.ts +12 -0
  1120. package/dist/types/components/c-tabs/c-tabs.d.ts +67 -0
  1121. package/dist/types/components/c-tabs/test/c-tabs.visual.d.ts +1 -0
  1122. package/dist/types/components/c-tag/c-tag.d.ts +12 -0
  1123. package/dist/types/components/c-tag/test/c-tag.visual.d.ts +1 -0
  1124. package/dist/types/components/c-tags/c-tags.d.ts +3 -0
  1125. package/dist/types/components/c-text-field/c-text-field.d.ts +56 -0
  1126. package/dist/types/components/c-text-field/test/c-text-field.visual.d.ts +1 -0
  1127. package/dist/types/components/c-toast/c-toast.d.ts +19 -0
  1128. package/dist/types/components/c-toasts/c-toasts.d.ts +17 -0
  1129. package/dist/types/components/c-toasts/test/c-toasts.visual.d.ts +1 -0
  1130. package/dist/types/components/c-toolbar/c-toolbar.d.ts +3 -0
  1131. package/dist/types/components/c-toolbar/test/c-toolbar.visual.d.ts +1 -0
  1132. package/dist/types/components.d.ts +5143 -0
  1133. package/dist/types/index.d.ts +2 -0
  1134. package/dist/types/stencil-public-runtime.d.ts +1673 -0
  1135. package/dist/types/types/global.d.ts +13 -0
  1136. package/dist/types/types/index.d.ts +145 -0
  1137. package/dist/types/utils/test/sleep.d.ts +1 -0
  1138. package/dist/types/utils/test/takeScreenshot.d.ts +2 -0
  1139. package/loader/cdn.js +3 -0
  1140. package/loader/index.cjs.js +3 -0
  1141. package/loader/index.d.ts +13 -0
  1142. package/loader/index.es2017.js +3 -0
  1143. package/loader/index.js +4 -0
  1144. package/loader/package.json +10 -0
  1145. package/package.json +95 -0
  1146. package/vscode-data.json +2135 -0
@@ -0,0 +1,1163 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s)
4
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { mdiArrowDownThin, mdiArrowUpThin, mdiSwapVertical, mdiChevronDown, mdiChevronLeft, mdiChevronRight, } from "@mdi/js";
14
+ import { Host, h, Fragment, } from "@stencil/core";
15
+ export class CDataTable {
16
+ constructor() {
17
+ this._debounce = null;
18
+ this._extraHeaders = [];
19
+ this._isValidated = false;
20
+ this._isVisible = false;
21
+ this._sortedData = [];
22
+ this.data = [];
23
+ this.externalData = false;
24
+ this.headers = [];
25
+ this.hideFooter = false;
26
+ this.footerOptions = {
27
+ itemsPerPageOptions: [5, 25, 50, 100],
28
+ hideDetails: false,
29
+ simple: false,
30
+ hideRange: false,
31
+ size: 'default',
32
+ };
33
+ this.loading = false;
34
+ this.loadingText = 'Loading data';
35
+ this.noDataText = 'No data';
36
+ this.pagination = undefined;
37
+ this.selectable = false;
38
+ this.singleSelection = false;
39
+ this.selectionProperty = null;
40
+ this.singleExpansion = false;
41
+ this.sortBy = null;
42
+ this.sortDirection = null;
43
+ this.stickyHeader = false;
44
+ this.horizontalScrolling = false;
45
+ this._activeRows = [];
46
+ this._data = [];
47
+ this._isIndeterminate = false;
48
+ this._isPaginationSimple = false;
49
+ this._selections = [];
50
+ this.hasOverflow = false;
51
+ this.hiddenHeaders = [];
52
+ this.initiallyHiddenHeaders = [];
53
+ this.forceRender = false;
54
+ this.breakpoints = [];
55
+ this.markedFooterWidth = 0;
56
+ this.parentWidth = 0;
57
+ this.firstCellHidden = false;
58
+ this.lastCellHidden = false;
59
+ }
60
+ onHiddenHeaderChange() {
61
+ this._getData();
62
+ }
63
+ onDataChange() {
64
+ this._getData();
65
+ this._handleInitialHeaders();
66
+ }
67
+ onHeaderChange() {
68
+ this._handleInitialHeaders();
69
+ }
70
+ onSingleSelectionChange() {
71
+ this.clearSelections();
72
+ }
73
+ onLoadingChange(loading) {
74
+ if (!loading) {
75
+ this._setIndeterminateStatus();
76
+ }
77
+ }
78
+ async clearSelections() {
79
+ this._selections = [];
80
+ this._emitChange();
81
+ }
82
+ async getData() {
83
+ return this._sortedData;
84
+ }
85
+ componentWillLoad() {
86
+ var _a, _b;
87
+ this.sortBy = (_a = this.sortBy) !== null && _a !== void 0 ? _a : this.headers[0].key;
88
+ this.sortDirection = (_b = this.sortDirection) !== null && _b !== void 0 ? _b : 'asc';
89
+ this._getData();
90
+ this._handleInitialHeaders();
91
+ }
92
+ componentDidLoad() {
93
+ if (!this.horizontalScrolling) {
94
+ this._rootIntersectionObserver = new IntersectionObserver(([entry]) => {
95
+ if (entry.isIntersecting) {
96
+ this._handleResponsiveHeaders();
97
+ this._isVisible = true;
98
+ }
99
+ });
100
+ this._resizeObserver = new ResizeObserver(() => {
101
+ this._handleResize();
102
+ });
103
+ this._rootIntersectionObserver.observe(this.element);
104
+ }
105
+ else {
106
+ const [firstCell] = this._headerKeys;
107
+ const lastCell = this._headerKeys[this._headerKeys.length - 1];
108
+ this._firstCellIntersectionObserver = new IntersectionObserver(([entry]) => {
109
+ this.firstCellHidden = !entry.isIntersecting;
110
+ }, { threshold: 1, rootMargin: '16px', root: this.element });
111
+ this._lastCellIntersectionObserver = new IntersectionObserver(([entry]) => {
112
+ this.lastCellHidden = !entry.isIntersecting;
113
+ }, { threshold: 1, rootMargin: '16px', root: this.element });
114
+ this._resizeObserver = new ResizeObserver(() => {
115
+ this._handleScrollWidth();
116
+ });
117
+ this._firstCellIntersectionObserver.observe(this._tableElement.querySelector(`[data-id="${firstCell}"]`));
118
+ this._lastCellIntersectionObserver.observe(this._tableElement.querySelector(`[data-id="${lastCell}"]`));
119
+ }
120
+ this._resizeObserver.observe(this.element);
121
+ }
122
+ disconnectedCallback() {
123
+ var _a, _b, _c, _d;
124
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
125
+ (_b = this._rootIntersectionObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
126
+ (_c = this._firstCellIntersectionObserver) === null || _c === void 0 ? void 0 : _c.disconnect();
127
+ (_d = this._lastCellIntersectionObserver) === null || _d === void 0 ? void 0 : _d.disconnect();
128
+ }
129
+ _handleInitialHeaders() {
130
+ this.initiallyHiddenHeaders = this.headers
131
+ .filter((header) => !!header.hidden)
132
+ .map((header) => header.key);
133
+ this.hiddenHeaders = [
134
+ ...new Set([...this.hiddenHeaders, ...this.initiallyHiddenHeaders]),
135
+ ];
136
+ }
137
+ _handleHeaderVisibility(header, rootWidth, x) {
138
+ var _a;
139
+ const index = this._headers.findIndex((h) => h.key === header.dataset.id);
140
+ const position = header.getBoundingClientRect();
141
+ const isFullyVisible = position.right - x <= rootWidth;
142
+ const isLastVisibleHeader = header.dataset.id === Array.from(this._headerRefs.keys()).at(0);
143
+ const isPinned = (_a = this._headers[index]) === null || _a === void 0 ? void 0 : _a.pinned;
144
+ if (!isFullyVisible && isPinned && index >= 1) {
145
+ const nextUnpinnedHeader = Array.from(this._headerRefs.values())
146
+ .reverse()
147
+ .find((hdr) => {
148
+ var _a;
149
+ if (!hdr)
150
+ return false;
151
+ return !((_a = this._headers.find((h) => h.key === hdr.dataset.id)) === null || _a === void 0 ? void 0 : _a.pinned);
152
+ });
153
+ this.hiddenHeaders = [
154
+ ...new Set([
155
+ ...this.initiallyHiddenHeaders,
156
+ ...this.hiddenHeaders,
157
+ (nextUnpinnedHeader || header).dataset.id,
158
+ ]),
159
+ ];
160
+ return;
161
+ }
162
+ if (!isFullyVisible && !isLastVisibleHeader) {
163
+ this.hiddenHeaders = [
164
+ ...new Set([
165
+ ...this.initiallyHiddenHeaders,
166
+ ...this.hiddenHeaders,
167
+ header.dataset.id,
168
+ ]),
169
+ ];
170
+ }
171
+ }
172
+ _handleResponsiveHeaders() {
173
+ const { width: tableWidth } = this._tableElement.getBoundingClientRect();
174
+ const { width: rootWidth, x } = this.element.getBoundingClientRect();
175
+ if (this._debounce !== null) {
176
+ clearTimeout(this._debounce);
177
+ this._debounce = null;
178
+ }
179
+ if (rootWidth < tableWidth) {
180
+ this.breakpoints = [...new Set([...this.breakpoints, tableWidth])];
181
+ setTimeout(() => {
182
+ for (const header of this._headerRefs.values()) {
183
+ if (header) {
184
+ this._handleHeaderVisibility(header, rootWidth, x);
185
+ }
186
+ }
187
+ this._debounce = setTimeout(() => {
188
+ var _a, _b;
189
+ const footerWidth = ((_b = (_a = this._footerElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width) || 0;
190
+ if (rootWidth < footerWidth) {
191
+ this.markedFooterWidth = footerWidth;
192
+ this._isPaginationSimple = true;
193
+ }
194
+ }, 200);
195
+ }, 0);
196
+ }
197
+ else if (this.breakpoints.length > 0 &&
198
+ tableWidth >= this.breakpoints[this.breakpoints.length - 1]) {
199
+ this.breakpoints.pop();
200
+ const displayHeader = this.headers.find((header) => this.hiddenHeaders.includes(header.key));
201
+ if (!!displayHeader) {
202
+ const headerIndex = this.hiddenHeaders.indexOf(displayHeader.key);
203
+ this.hiddenHeaders.splice(headerIndex, 1);
204
+ this.hiddenHeaders = [
205
+ ...new Set([...this.hiddenHeaders, ...this.initiallyHiddenHeaders]),
206
+ ];
207
+ }
208
+ }
209
+ this._debounce = setTimeout(() => {
210
+ if (rootWidth >= this.markedFooterWidth && this.markedFooterWidth > 0) {
211
+ this._isPaginationSimple = false;
212
+ }
213
+ }, 200);
214
+ }
215
+ _addHeaderRef(key, el) {
216
+ if (!this._headerRefs) {
217
+ this._headerRefs = new Map([[key, el]]);
218
+ return;
219
+ }
220
+ this._headerRefs.set(key, el);
221
+ }
222
+ _getData() {
223
+ this._extraHeaders = this.headers.filter((header) => { var _a; return !Object.keys(((_a = this.data) === null || _a === void 0 ? void 0 : _a[0]) || {}).includes(header.key); });
224
+ const extraCells = this._extraHeaders.reduce((cells, header) => (Object.assign(Object.assign({}, cells), { [header.key]: {
225
+ value: null,
226
+ } })), {});
227
+ const items = this.data
228
+ .map((row) => (Object.assign(Object.assign({}, row), extraCells)))
229
+ .reduce((data, cell) => {
230
+ const item = {
231
+ _hiddenData: [],
232
+ };
233
+ Object.keys(cell).forEach((key) => {
234
+ item[key] = cell[key];
235
+ });
236
+ this.hiddenHeaders.forEach((header) => {
237
+ const cellData = this.headers.find((h) => h.key === header);
238
+ item._hiddenData.push({
239
+ id: cellData === null || cellData === void 0 ? void 0 : cellData.key,
240
+ key: cellData === null || cellData === void 0 ? void 0 : cellData.value,
241
+ value: cell[header],
242
+ });
243
+ });
244
+ data.push(item);
245
+ return data;
246
+ }, []);
247
+ this._data = this._sortData(items);
248
+ this.pagination = Object.assign(Object.assign({}, this.pagination), { itemCount: this.data.length });
249
+ this._validateProps(this._data[0]);
250
+ this._handleScrollWidth();
251
+ requestAnimationFrame(() => {
252
+ this._handleResize();
253
+ });
254
+ }
255
+ _getSelectionValue(row, index) {
256
+ var _a;
257
+ return !!this.selectionProperty
258
+ ? ((_a = row[this.selectionProperty]) === null || _a === void 0 ? void 0 : _a.value) || index
259
+ : index;
260
+ }
261
+ get _headers() {
262
+ return this.headers
263
+ .map((header) => (Object.assign(Object.assign({}, header), { pinned: !!header.pinned })))
264
+ .filter((header) => !this.hiddenHeaders.includes(header.key) && !header.hidden);
265
+ }
266
+ get _headerKeys() {
267
+ return this._headers.map((header) => header.key);
268
+ }
269
+ get _hasHiddenData() {
270
+ return !!this.hiddenHeaders.length;
271
+ }
272
+ _emitChange() {
273
+ this.selection.emit(this._selections);
274
+ }
275
+ _setIndeterminateStatus() {
276
+ requestAnimationFrame(() => {
277
+ this._isIndeterminate = this._isPageIndeterminate();
278
+ this._refresh();
279
+ });
280
+ }
281
+ _sortData(data) {
282
+ var _a, _b, _c, _d;
283
+ if (!this.sortBy || this.externalData)
284
+ return data;
285
+ const sorted = data.sort((a, b) => {
286
+ const valueA = a[this.sortBy].value;
287
+ const valueB = b[this.sortBy].value;
288
+ if (typeof valueA === 'string') {
289
+ if (this.sortDirection === 'asc') {
290
+ return valueA.toLowerCase().localeCompare(valueB.toLowerCase());
291
+ }
292
+ return valueB.toLowerCase().localeCompare(valueA.toLowerCase());
293
+ }
294
+ if (typeof valueA === 'number') {
295
+ if (this.sortDirection === 'asc') {
296
+ return valueA - valueB;
297
+ }
298
+ return valueB - valueA;
299
+ }
300
+ });
301
+ this._sortedData = sorted.map((row) => {
302
+ const { _hiddenData } = row, _rowData = __rest(row, ["_hiddenData"]);
303
+ const hiddenData = _hiddenData.reduce((items, item) => {
304
+ var _a;
305
+ items[item.id] =
306
+ item.value.plainTextValue ||
307
+ ((_a = item.value.formattedValue) === null || _a === void 0 ? void 0 : _a.trim()) ||
308
+ item.value.value;
309
+ return items;
310
+ }, {});
311
+ const rowData = Object.entries(_rowData).reduce((items, [key, item]) => {
312
+ var _a;
313
+ items[key] =
314
+ item.plainTextValue ||
315
+ ((_a = item.formattedValue) === null || _a === void 0 ? void 0 : _a.toString().trim()) ||
316
+ item.value;
317
+ return items;
318
+ }, {});
319
+ return Object.assign(Object.assign({}, rowData), hiddenData);
320
+ });
321
+ return !this.hideFooter
322
+ ? sorted.slice((_b = (_a = this.pagination) === null || _a === void 0 ? void 0 : _a.startFrom) !== null && _b !== void 0 ? _b : 0, ((_d = (_c = this.pagination) === null || _c === void 0 ? void 0 : _c.endTo) !== null && _d !== void 0 ? _d : this.data.length) + 1)
323
+ : sorted;
324
+ }
325
+ _handleScrollWidth() {
326
+ this.parentWidth = this.element.getBoundingClientRect().width;
327
+ }
328
+ _handleResize() {
329
+ if (this._isVisible) {
330
+ this._handleResponsiveHeaders();
331
+ }
332
+ }
333
+ _getIndex(index) {
334
+ let realIndex = index;
335
+ if (!this.selectionProperty &&
336
+ !!this.pagination &&
337
+ typeof realIndex === 'number') {
338
+ realIndex += this.pagination.startFrom;
339
+ if (this.sortDirection === 'desc') {
340
+ realIndex = this.pagination.itemCount - 1 - realIndex;
341
+ }
342
+ }
343
+ return realIndex;
344
+ }
345
+ _getSelectionsForPage() {
346
+ return this._selections.filter((selection) => this._data
347
+ .map((row, index) => this._getSelectionValue(row, this._getIndex(index)))
348
+ .includes(selection));
349
+ }
350
+ _hasSelectionsOnPage() {
351
+ return this._getSelectionsForPage().length > 0;
352
+ }
353
+ _isPageIndeterminate() {
354
+ const selectionsInPage = this._getSelectionsForPage();
355
+ return (this._hasSelectionsOnPage() && selectionsInPage.length < this._data.length);
356
+ }
357
+ _onHeadingSelection(event) {
358
+ event === null || event === void 0 ? void 0 : event.stopPropagation();
359
+ event === null || event === void 0 ? void 0 : event.preventDefault();
360
+ if (event instanceof KeyboardEvent &&
361
+ event.type === 'keyup' &&
362
+ event.key !== ' ') {
363
+ return;
364
+ }
365
+ if (this._debounce !== null) {
366
+ clearTimeout(this._debounce);
367
+ this._debounce = null;
368
+ }
369
+ this._debounce = setTimeout(() => {
370
+ if (this._data.length === this._getSelectionsForPage().length) {
371
+ this._selections = [
372
+ ...this._selections.filter((selection) => !this._data
373
+ .map((row, index) => this._getSelectionValue(row, this._getIndex(index)))
374
+ .includes(selection)),
375
+ ];
376
+ this._setIndeterminateStatus();
377
+ this._emitChange();
378
+ this._tableElement;
379
+ return;
380
+ }
381
+ this._selections = [
382
+ ...new Set([
383
+ ...this._selections,
384
+ ...this._data.map((row, index) => this._getSelectionValue(row, this._getIndex(index))),
385
+ ]),
386
+ ];
387
+ this._setIndeterminateStatus();
388
+ this._emitChange();
389
+ }, 200);
390
+ }
391
+ _onPaginationChange(event) {
392
+ if (this.externalData) {
393
+ this.paginate.emit(event.detail);
394
+ return;
395
+ }
396
+ this.pagination = Object.assign(Object.assign({}, this.pagination), event.detail);
397
+ this._setIndeterminateStatus();
398
+ this._getData();
399
+ }
400
+ _onSelection(value) {
401
+ if (this.singleSelection) {
402
+ this._selections = [value];
403
+ this._emitChange();
404
+ this._refresh();
405
+ return;
406
+ }
407
+ if (this._selections.includes(value)) {
408
+ this._selections = this._selections.filter((selection) => selection !== value);
409
+ }
410
+ else {
411
+ this._selections = [...this._selections, value];
412
+ }
413
+ this._emitChange();
414
+ this._setIndeterminateStatus();
415
+ }
416
+ _onSort(key) {
417
+ if (this.sortBy === key) {
418
+ this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';
419
+ }
420
+ else {
421
+ this.sortDirection = 'asc';
422
+ }
423
+ this.sortBy = key;
424
+ this.sort.emit({ sortBy: this.sortBy, direction: this.sortDirection });
425
+ this._getData();
426
+ this._setIndeterminateStatus();
427
+ this._refresh();
428
+ }
429
+ _onToggleAdditionalData(event, value, row) {
430
+ if (!this._hasHiddenData ||
431
+ event.target.tagName === 'C-CHECKBOX')
432
+ return;
433
+ const isActive = this.singleExpansion
434
+ ? this._activeRows[0] === value
435
+ : this._activeRows.includes(value);
436
+ const { _hiddenData } = row, data = __rest(row, ["_hiddenData"]);
437
+ Object.keys(data).forEach((key) => {
438
+ data[key] = data[key].value;
439
+ });
440
+ _hiddenData.forEach((hiddenRow) => {
441
+ data[hiddenRow.id] = hiddenRow.value.value;
442
+ });
443
+ this.expand.emit({
444
+ active: !isActive,
445
+ row: data,
446
+ });
447
+ if (this.singleExpansion) {
448
+ this._activeRows = isActive ? [] : [value];
449
+ return;
450
+ }
451
+ if (isActive) {
452
+ this._activeRows = this._activeRows.filter((i) => i !== value);
453
+ return;
454
+ }
455
+ this._activeRows = [...this._activeRows, value];
456
+ }
457
+ _handleKeyUp(event, value, row) {
458
+ event.preventDefault();
459
+ if (event.key === 'Enter') {
460
+ this._onToggleAdditionalData(event, value, row);
461
+ }
462
+ }
463
+ _refresh() {
464
+ this.forceRender = !this.forceRender;
465
+ }
466
+ _renderAdditioanlDataRow(rowIndex, rowData = {}) {
467
+ return (this._hasHiddenData && (h("tr", { class: {
468
+ 'additional-data': true,
469
+ active: this._activeRows.includes(rowIndex),
470
+ } }, h("td", { colSpan: 100 }, h("div", null, h("ul", null, this._renderHiddenCells(rowIndex), this._renderHiddenHeaderChildren(rowIndex, rowData)))))));
471
+ }
472
+ _renderCellData(key, options, colIndex, rowIndex) {
473
+ var _a;
474
+ const component = options.component || ((_a = this._headers[colIndex]) === null || _a === void 0 ? void 0 : _a.component);
475
+ const Tag = (component === null || component === void 0 ? void 0 : component.tag) || null;
476
+ const injectValue = !!(component === null || component === void 0 ? void 0 : component.injectValue);
477
+ const params = (component === null || component === void 0 ? void 0 : component.params) || {};
478
+ if (injectValue) {
479
+ params.value = options.value;
480
+ }
481
+ return !!Tag ? (h(Tag, Object.assign({}, params, { onClick: (event) => {
482
+ var _a;
483
+ (_a = params === null || params === void 0 ? void 0 : params.onClick) === null || _a === void 0 ? void 0 : _a.call(params, {
484
+ index: rowIndex,
485
+ value: options.value,
486
+ data: this.data[rowIndex],
487
+ event,
488
+ key,
489
+ });
490
+ } }), options.formattedValue || options.value)) : (options.formattedValue || options.value);
491
+ }
492
+ _renderCellChildren(options, index, key, data) {
493
+ return options.children.map((child) => {
494
+ var _a, _b, _c;
495
+ const Tag = (_a = child.component) === null || _a === void 0 ? void 0 : _a.tag;
496
+ const params = ((_b = child.component) === null || _b === void 0 ? void 0 : _b.params) || {};
497
+ const { _hiddenData = [] } = data, rest = __rest(data, ["_hiddenData"]);
498
+ const flatData = Object.assign(Object.assign({}, rest), _hiddenData.reduce((obj, row) => {
499
+ obj[row.id] = row.value;
500
+ return obj;
501
+ }, {}));
502
+ return !!Tag ? (h(Tag, Object.assign({}, params, (!(params === null || params === void 0 ? void 0 : params.onClick)
503
+ ? {}
504
+ : {
505
+ onClick: (event) => {
506
+ params.onClick({
507
+ value: options.value,
508
+ index,
509
+ event,
510
+ key,
511
+ data: flatData,
512
+ });
513
+ },
514
+ })), !!((_c = child.children) === null || _c === void 0 ? void 0 : _c.length)
515
+ ? this._renderCellChildren(child, index, key, data)
516
+ : child.value)) : (child.value);
517
+ });
518
+ }
519
+ _renderExpansionIndicator(rowIndex, rowData = {}) {
520
+ return (this._hasHiddenData && (h("td", null, h("div", { tabindex: "0", onKeyUp: (event) => this._handleKeyUp(event, rowIndex, rowData) }, h("svg", { width: "22", height: "22", viewBox: "0 0 24 24" }, h("path", { d: mdiChevronDown }))))));
521
+ }
522
+ _renderHiddenCells(index) {
523
+ return this._data[index]._hiddenData
524
+ .filter((d) => !this._extraHeaders.find((h) => h.key === d.id))
525
+ .map(({ id, key, value: options }) => {
526
+ const index = this._headers.findIndex((h) => h.key === id);
527
+ return (h("li", null, !!key && (h("div", { class: "title" }, h("span", null, key, ":"), this._renderCellData(id, options, index, index))), !!options.children && (h("div", { class: "children" }, this._renderCellChildren(options, index, id, {})))));
528
+ });
529
+ }
530
+ _renderHiddenHeaderChildren(index, rowData) {
531
+ return this._data[index]._hiddenData.map(({ id, key }) => {
532
+ var _a;
533
+ const headerIndex = this.headers.findIndex((h) => h.key === id);
534
+ return (!!((_a = this.headers[headerIndex]) === null || _a === void 0 ? void 0 : _a.children) && (h("li", null, h("div", { class: "children" }, this._renderCellChildren(this.headers[headerIndex], index, key, rowData)))));
535
+ });
536
+ }
537
+ _renderLoaderRow() {
538
+ return (h("tr", null, h("td", { class: "loader", colSpan: 100 }, this.loading && (h("div", { class: "c-data-table__loader" }, h("div", { class: "loading-bar" }))))));
539
+ }
540
+ _renderRows() {
541
+ return (!!this._data.length &&
542
+ Object.values(this._data).map((rowData, rowIndex) => {
543
+ let selectionValue = this._getSelectionValue(rowData, rowIndex);
544
+ if (!this.selectionProperty && typeof selectionValue === 'number') {
545
+ selectionValue = this._getIndex(selectionValue);
546
+ }
547
+ const isSelected = !!this._selections.includes(selectionValue);
548
+ return (h(Fragment, null, h("tr", { class: {
549
+ active: this._activeRows.includes(rowIndex),
550
+ parent: this._hasHiddenData,
551
+ selected: isSelected,
552
+ }, onClick: (event) => this._onToggleAdditionalData(event, rowIndex, rowData) }, this._renderSelectionCell(isSelected, selectionValue), this._renderExpansionIndicator(rowIndex, rowData), this._renderTableCells(rowIndex, rowData)), this._renderAdditioanlDataRow(rowIndex, rowData)));
553
+ }));
554
+ }
555
+ _renderSelectionCell(isSelected, selectionValue) {
556
+ return (this.selectable && (h("td", null, h("div", { class: "selection" }, h("c-checkbox", { value: isSelected, "hide-details": true, onChangeValue: () => this._onSelection(selectionValue) })))));
557
+ }
558
+ _renderSortIndicator(key) {
559
+ let iconPath = mdiSwapVertical;
560
+ if (key === this.sortBy && this.sortDirection === 'asc') {
561
+ iconPath = mdiArrowUpThin;
562
+ }
563
+ if (key === this.sortBy && this.sortDirection === 'desc') {
564
+ iconPath = mdiArrowDownThin;
565
+ }
566
+ return (h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", tabindex: 0 }, h("path", { d: iconPath })));
567
+ }
568
+ _renderStatusTextRow() {
569
+ return (!this._data.length && (h("tr", null, h("td", { class: "info", colSpan: 100 }, h("div", null, this.loading ? this.loadingText : this.noDataText)))));
570
+ }
571
+ _renderTableBody() {
572
+ return (h("tbody", null, this._renderLoaderRow(), this._renderStatusTextRow(), this._renderRows()));
573
+ }
574
+ _renderTableCell(key, options, colIndex, rowIndex, rowData = {}) {
575
+ var _a;
576
+ const header = this.headers.find((header) => header.key === key);
577
+ const isHidden = this.hiddenHeaders.includes(key);
578
+ return (!!header &&
579
+ !isHidden && (h("td", null, h("div", { "data-align": header === null || header === void 0 ? void 0 : header.align, "data-justify": header === null || header === void 0 ? void 0 : header.justify }, this._renderCellData(key, options, colIndex, rowIndex), !!options.children && (h("div", { class: "children" }, this._renderCellChildren(options, rowIndex, key, rowData))), !!((_a = this.headers.find((header) => header.key === key)) === null || _a === void 0 ? void 0 : _a.children) && (h("div", { class: "children" }, this._renderCellChildren(this.headers.find((header) => header.key === key), rowIndex, key, rowData)))))));
580
+ }
581
+ _renderTableCells(rowIndex, rowData = {}) {
582
+ return this._sortCellProperties(rowData).map(([key, options], index) => this._renderTableCell(key, options, index, rowIndex, rowData));
583
+ }
584
+ _renderTableFooter() {
585
+ const footerStyles = this.horizontalScrolling
586
+ ? {
587
+ maxWidth: `${this.parentWidth}px`,
588
+ position: 'sticky',
589
+ left: '0',
590
+ }
591
+ : {};
592
+ return (!!this.pagination && (h("tfoot", null, h("tr", { ref: (el) => (this._footerElement = el) }, h("td", { colSpan: 100 }, h("div", { class: "c-data-table__footer", style: footerStyles }, h("c-pagination", Object.assign({}, this.footerOptions, { value: this.pagination, simple: this._isPaginationSimple, onChangeValue: (e) => this._onPaginationChange(e) }))))))));
593
+ }
594
+ _renderTableHeader() {
595
+ const indicatorRowStyles = this.horizontalScrolling
596
+ ? {
597
+ width: `${this.parentWidth - 8}px`,
598
+ position: 'sticky',
599
+ left: '4px',
600
+ }
601
+ : {};
602
+ return (h("thead", { class: { sticky: this.stickyHeader } }, h("tr", null, this.selectable && (h("th", { class: "selection" }, !this.singleSelection && (h("div", { class: "selection--heading" }, h("c-checkbox", { value: this._hasSelectionsOnPage(), indeterminate: this._isIndeterminate, "hide-details": true, onClick: (event) => this._onHeadingSelection(event), onKeyUp: (event) => this._onHeadingSelection(event) }))))), this._hasHiddenData && h("th", { class: "indicator" }), !!this._headers.length &&
603
+ this._headers.map((header) => {
604
+ const isSortable = !!header.sortable || typeof header.sortable === 'undefined';
605
+ const params = Object.assign(Object.assign({ 'data-id': header.key, ref: (el) => this._addHeaderRef(header.key, el) }, (!!header && {
606
+ style: Object.assign({}, (header.width && { minWidth: header.width })),
607
+ })), (isSortable && {
608
+ onClick: () => this._onSort(header.key),
609
+ onKeyUp: () => this._onSort(header.key),
610
+ }));
611
+ return (h("th", Object.assign({}, params), h("div", { class: { sortable: isSortable } }, header.value, isSortable && this._renderSortIndicator(header.key))));
612
+ })), this.horizontalScrolling && (h("tr", { class: "c-data-table__header-indicators" }, h("th", { colSpan: 100 }, h("div", { style: indicatorRowStyles }, this.firstCellHidden && (h("c-icon-button", { class: "first", size: "small", outlined: true, onClick: () => this._scrollLeft() }, h("c-icon", { path: mdiChevronLeft }))), h("c-spacer", null), this.lastCellHidden && (h("c-icon-button", { class: "last", size: "small", outlined: true, onClick: () => this._scrollRight() }, h("c-icon", { path: mdiChevronRight })))))))));
613
+ }
614
+ _scrollLeft() {
615
+ const leftBorder = this.element.getBoundingClientRect().left;
616
+ const hiddenHeaderKeys = this._headerKeys.filter((key) => {
617
+ var _a;
618
+ const headerCellLeftBorder = (_a = this._tableElement
619
+ .querySelector(`[data-id="${key}"]`)) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().left;
620
+ return headerCellLeftBorder < leftBorder - 2;
621
+ });
622
+ if (hiddenHeaderKeys.length) {
623
+ if (hiddenHeaderKeys.length === 1) {
624
+ this._tableElement.scrollIntoView({
625
+ behavior: 'smooth',
626
+ block: 'nearest',
627
+ inline: 'start',
628
+ });
629
+ return;
630
+ }
631
+ this._tableElement
632
+ .querySelector(`[data-id="${hiddenHeaderKeys[hiddenHeaderKeys.length - 1]}"]`)
633
+ .scrollIntoView({ behavior: 'smooth', block: 'nearest' });
634
+ }
635
+ }
636
+ _scrollRight() {
637
+ const rightBorder = this.element.getBoundingClientRect().right;
638
+ const hiddenHeaderKeys = this._headerKeys.filter((key) => {
639
+ var _a;
640
+ const headerCellRightBorder = (_a = this._tableElement
641
+ .querySelector(`[data-id="${key}"]`)) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().right;
642
+ return headerCellRightBorder > rightBorder + 2;
643
+ });
644
+ if (hiddenHeaderKeys.length) {
645
+ this._tableElement
646
+ .querySelector(`[data-id="${hiddenHeaderKeys[0]}"]`)
647
+ .scrollIntoView({ behavior: 'smooth', block: 'nearest' });
648
+ }
649
+ }
650
+ _sortCellProperties(row) {
651
+ const sorted = Object.entries(row)
652
+ .filter(([key]) => ![...this.hiddenHeaders, '_hiddenData'].includes(key))
653
+ .sort(([keyA], [keyB]) => this._headerKeys.indexOf(keyA) - this._headerKeys.indexOf(keyB));
654
+ return sorted;
655
+ }
656
+ _validateProps(data) {
657
+ if (!!data &&
658
+ !this._isValidated &&
659
+ this.selectionProperty !== null &&
660
+ !data[this.selectionProperty]) {
661
+ console.warn(`[C-DATA-TABLE] Invalid selection property '${this.selectionProperty}'. Using row index as a fallback. This may lead to unexpected behavior.`);
662
+ this._isValidated = true;
663
+ }
664
+ }
665
+ render() {
666
+ const tableClasses = {
667
+ 'c-data-table': true,
668
+ 'c-data-table--hoverable': this.selectable || this._hasHiddenData,
669
+ 'c-data-table--scrollable': this.horizontalScrolling,
670
+ };
671
+ return (h(Host, null, h("table", { class: tableClasses, ref: (el) => (this._tableElement = el) }, h("colgroup", null, [
672
+ ...(this.selectable ? ['_selection'] : []),
673
+ ...(this.hiddenHeaders.length ? ['_hidden'] : []),
674
+ ...this._headerKeys,
675
+ ].map((key) => (h("col", { class: this.sortBy === key && 'sorted-column' })))), this._renderTableHeader(), this._renderTableBody(), !this.hideFooter && this._renderTableFooter())));
676
+ }
677
+ static get is() { return "c-data-table"; }
678
+ static get encapsulation() { return "shadow"; }
679
+ static get originalStyleUrls() {
680
+ return {
681
+ "$": ["c-data-table.scss"]
682
+ };
683
+ }
684
+ static get styleUrls() {
685
+ return {
686
+ "$": ["c-data-table.css"]
687
+ };
688
+ }
689
+ static get properties() {
690
+ return {
691
+ "data": {
692
+ "type": "unknown",
693
+ "mutable": false,
694
+ "complexType": {
695
+ "original": "CDataTableData[]",
696
+ "resolved": "CDataTableData[]",
697
+ "references": {
698
+ "CDataTableData": {
699
+ "location": "import",
700
+ "path": "../../types",
701
+ "id": "src/types/index.ts::CDataTableData"
702
+ }
703
+ }
704
+ },
705
+ "required": false,
706
+ "optional": false,
707
+ "docs": {
708
+ "tags": [],
709
+ "text": "Data of the table"
710
+ },
711
+ "defaultValue": "[]"
712
+ },
713
+ "externalData": {
714
+ "type": "boolean",
715
+ "mutable": false,
716
+ "complexType": {
717
+ "original": "boolean",
718
+ "resolved": "boolean",
719
+ "references": {}
720
+ },
721
+ "required": false,
722
+ "optional": false,
723
+ "docs": {
724
+ "tags": [],
725
+ "text": "Externally sorted and paginated data"
726
+ },
727
+ "attribute": "external-data",
728
+ "reflect": false,
729
+ "defaultValue": "false"
730
+ },
731
+ "headers": {
732
+ "type": "unknown",
733
+ "mutable": false,
734
+ "complexType": {
735
+ "original": "CDataTableHeader[]",
736
+ "resolved": "CDataTableHeader[]",
737
+ "references": {
738
+ "CDataTableHeader": {
739
+ "location": "import",
740
+ "path": "../../types",
741
+ "id": "src/types/index.ts::CDataTableHeader"
742
+ }
743
+ }
744
+ },
745
+ "required": false,
746
+ "optional": false,
747
+ "docs": {
748
+ "tags": [],
749
+ "text": "Headers of the table"
750
+ },
751
+ "defaultValue": "[]"
752
+ },
753
+ "hideFooter": {
754
+ "type": "boolean",
755
+ "mutable": false,
756
+ "complexType": {
757
+ "original": "boolean",
758
+ "resolved": "boolean",
759
+ "references": {}
760
+ },
761
+ "required": false,
762
+ "optional": false,
763
+ "docs": {
764
+ "tags": [],
765
+ "text": "Hide the footer"
766
+ },
767
+ "attribute": "hide-footer",
768
+ "reflect": false,
769
+ "defaultValue": "false"
770
+ },
771
+ "footerOptions": {
772
+ "type": "unknown",
773
+ "mutable": false,
774
+ "complexType": {
775
+ "original": "CDataTableFooterOptions",
776
+ "resolved": "{ itemsPerPageOptions?: number[]; hideDetails?: boolean; simple?: boolean; hideRange?: boolean; size?: \"default\" | \"small\"; }",
777
+ "references": {
778
+ "CDataTableFooterOptions": {
779
+ "location": "import",
780
+ "path": "../../types",
781
+ "id": "src/types/index.ts::CDataTableFooterOptions"
782
+ }
783
+ }
784
+ },
785
+ "required": false,
786
+ "optional": false,
787
+ "docs": {
788
+ "tags": [],
789
+ "text": "Items per page options"
790
+ },
791
+ "defaultValue": "{\n itemsPerPageOptions: [5, 25, 50, 100],\n hideDetails: false,\n simple: false,\n hideRange: false,\n size: 'default',\n }"
792
+ },
793
+ "loading": {
794
+ "type": "boolean",
795
+ "mutable": false,
796
+ "complexType": {
797
+ "original": "boolean",
798
+ "resolved": "boolean",
799
+ "references": {}
800
+ },
801
+ "required": false,
802
+ "optional": false,
803
+ "docs": {
804
+ "tags": [],
805
+ "text": "Show a loader on top of the table"
806
+ },
807
+ "attribute": "loading",
808
+ "reflect": false,
809
+ "defaultValue": "false"
810
+ },
811
+ "loadingText": {
812
+ "type": "string",
813
+ "mutable": false,
814
+ "complexType": {
815
+ "original": "string",
816
+ "resolved": "string",
817
+ "references": {}
818
+ },
819
+ "required": false,
820
+ "optional": false,
821
+ "docs": {
822
+ "tags": [],
823
+ "text": "Text shown when there is no data and the table is loading"
824
+ },
825
+ "attribute": "loading-text",
826
+ "reflect": false,
827
+ "defaultValue": "'Loading data'"
828
+ },
829
+ "noDataText": {
830
+ "type": "string",
831
+ "mutable": false,
832
+ "complexType": {
833
+ "original": "string",
834
+ "resolved": "string",
835
+ "references": {}
836
+ },
837
+ "required": false,
838
+ "optional": false,
839
+ "docs": {
840
+ "tags": [],
841
+ "text": "Text shown when there are no data available"
842
+ },
843
+ "attribute": "no-data-text",
844
+ "reflect": false,
845
+ "defaultValue": "'No data'"
846
+ },
847
+ "pagination": {
848
+ "type": "unknown",
849
+ "mutable": true,
850
+ "complexType": {
851
+ "original": "CPaginationOptions",
852
+ "resolved": "{ itemCount: number; currentPage?: number; totalVisible?: number; itemsPerPage?: number; startFrom?: number; endTo?: number; locale?: string; textOverrides?: CPaginationTextOverrides; }",
853
+ "references": {
854
+ "CPaginationOptions": {
855
+ "location": "import",
856
+ "path": "../../types",
857
+ "id": "src/types/index.ts::CPaginationOptions"
858
+ }
859
+ }
860
+ },
861
+ "required": false,
862
+ "optional": false,
863
+ "docs": {
864
+ "tags": [],
865
+ "text": "Pagination options"
866
+ }
867
+ },
868
+ "selectable": {
869
+ "type": "boolean",
870
+ "mutable": false,
871
+ "complexType": {
872
+ "original": "boolean",
873
+ "resolved": "boolean",
874
+ "references": {}
875
+ },
876
+ "required": false,
877
+ "optional": false,
878
+ "docs": {
879
+ "tags": [],
880
+ "text": "Make rows selectable"
881
+ },
882
+ "attribute": "selectable",
883
+ "reflect": false,
884
+ "defaultValue": "false"
885
+ },
886
+ "singleSelection": {
887
+ "type": "boolean",
888
+ "mutable": false,
889
+ "complexType": {
890
+ "original": "boolean",
891
+ "resolved": "boolean",
892
+ "references": {}
893
+ },
894
+ "required": false,
895
+ "optional": false,
896
+ "docs": {
897
+ "tags": [],
898
+ "text": "Select only a single row at a time"
899
+ },
900
+ "attribute": "single-selection",
901
+ "reflect": false,
902
+ "defaultValue": "false"
903
+ },
904
+ "selectionProperty": {
905
+ "type": "string",
906
+ "mutable": false,
907
+ "complexType": {
908
+ "original": "string",
909
+ "resolved": "string",
910
+ "references": {}
911
+ },
912
+ "required": false,
913
+ "optional": false,
914
+ "docs": {
915
+ "tags": [],
916
+ "text": "Property used in selections"
917
+ },
918
+ "attribute": "selection-property",
919
+ "reflect": false,
920
+ "defaultValue": "null"
921
+ },
922
+ "singleExpansion": {
923
+ "type": "boolean",
924
+ "mutable": false,
925
+ "complexType": {
926
+ "original": "boolean",
927
+ "resolved": "boolean",
928
+ "references": {}
929
+ },
930
+ "required": false,
931
+ "optional": false,
932
+ "docs": {
933
+ "tags": [],
934
+ "text": "Allow only a single row expanded at a time"
935
+ },
936
+ "attribute": "single-expansion",
937
+ "reflect": false,
938
+ "defaultValue": "false"
939
+ },
940
+ "sortBy": {
941
+ "type": "any",
942
+ "mutable": true,
943
+ "complexType": {
944
+ "original": "any",
945
+ "resolved": "any",
946
+ "references": {}
947
+ },
948
+ "required": false,
949
+ "optional": false,
950
+ "docs": {
951
+ "tags": [],
952
+ "text": "Sort data by"
953
+ },
954
+ "attribute": "sort-by",
955
+ "reflect": false,
956
+ "defaultValue": "null"
957
+ },
958
+ "sortDirection": {
959
+ "type": "string",
960
+ "mutable": true,
961
+ "complexType": {
962
+ "original": "'asc' | 'desc' | null",
963
+ "resolved": "\"asc\" | \"desc\"",
964
+ "references": {}
965
+ },
966
+ "required": false,
967
+ "optional": false,
968
+ "docs": {
969
+ "tags": [],
970
+ "text": "Sorting direction"
971
+ },
972
+ "attribute": "sort-direction",
973
+ "reflect": false,
974
+ "defaultValue": "null"
975
+ },
976
+ "stickyHeader": {
977
+ "type": "boolean",
978
+ "mutable": false,
979
+ "complexType": {
980
+ "original": "boolean",
981
+ "resolved": "boolean",
982
+ "references": {}
983
+ },
984
+ "required": false,
985
+ "optional": false,
986
+ "docs": {
987
+ "tags": [],
988
+ "text": "Use sticky header"
989
+ },
990
+ "attribute": "sticky-header",
991
+ "reflect": false,
992
+ "defaultValue": "false"
993
+ },
994
+ "horizontalScrolling": {
995
+ "type": "boolean",
996
+ "mutable": false,
997
+ "complexType": {
998
+ "original": "boolean",
999
+ "resolved": "boolean",
1000
+ "references": {}
1001
+ },
1002
+ "required": false,
1003
+ "optional": false,
1004
+ "docs": {
1005
+ "tags": [],
1006
+ "text": "Use horizontal scrolling"
1007
+ },
1008
+ "attribute": "horizontal-scrolling",
1009
+ "reflect": false,
1010
+ "defaultValue": "false"
1011
+ }
1012
+ };
1013
+ }
1014
+ static get states() {
1015
+ return {
1016
+ "_activeRows": {},
1017
+ "_data": {},
1018
+ "_isIndeterminate": {},
1019
+ "_isPaginationSimple": {},
1020
+ "_selections": {},
1021
+ "hasOverflow": {},
1022
+ "hiddenHeaders": {},
1023
+ "initiallyHiddenHeaders": {},
1024
+ "forceRender": {},
1025
+ "breakpoints": {},
1026
+ "markedFooterWidth": {},
1027
+ "parentWidth": {},
1028
+ "firstCellHidden": {},
1029
+ "lastCellHidden": {}
1030
+ };
1031
+ }
1032
+ static get events() {
1033
+ return [{
1034
+ "method": "paginate",
1035
+ "name": "paginate",
1036
+ "bubbles": true,
1037
+ "cancelable": true,
1038
+ "composed": true,
1039
+ "docs": {
1040
+ "tags": [],
1041
+ "text": "Triggered on pagination"
1042
+ },
1043
+ "complexType": {
1044
+ "original": "CPaginationOptions",
1045
+ "resolved": "{ itemCount: number; currentPage?: number; totalVisible?: number; itemsPerPage?: number; startFrom?: number; endTo?: number; locale?: string; textOverrides?: CPaginationTextOverrides; }",
1046
+ "references": {
1047
+ "CPaginationOptions": {
1048
+ "location": "import",
1049
+ "path": "../../types",
1050
+ "id": "src/types/index.ts::CPaginationOptions"
1051
+ }
1052
+ }
1053
+ }
1054
+ }, {
1055
+ "method": "expand",
1056
+ "name": "expand",
1057
+ "bubbles": true,
1058
+ "cancelable": true,
1059
+ "composed": true,
1060
+ "docs": {
1061
+ "tags": [],
1062
+ "text": "Triggered on row expansion"
1063
+ },
1064
+ "complexType": {
1065
+ "original": "any",
1066
+ "resolved": "any",
1067
+ "references": {}
1068
+ }
1069
+ }, {
1070
+ "method": "sort",
1071
+ "name": "sort",
1072
+ "bubbles": true,
1073
+ "cancelable": true,
1074
+ "composed": true,
1075
+ "docs": {
1076
+ "tags": [],
1077
+ "text": "Triggered on sort"
1078
+ },
1079
+ "complexType": {
1080
+ "original": "any",
1081
+ "resolved": "any",
1082
+ "references": {}
1083
+ }
1084
+ }, {
1085
+ "method": "selection",
1086
+ "name": "selection",
1087
+ "bubbles": true,
1088
+ "cancelable": true,
1089
+ "composed": true,
1090
+ "docs": {
1091
+ "tags": [],
1092
+ "text": "Triggered on selection"
1093
+ },
1094
+ "complexType": {
1095
+ "original": "any",
1096
+ "resolved": "any",
1097
+ "references": {}
1098
+ }
1099
+ }];
1100
+ }
1101
+ static get methods() {
1102
+ return {
1103
+ "clearSelections": {
1104
+ "complexType": {
1105
+ "signature": "() => Promise<void>",
1106
+ "parameters": [],
1107
+ "references": {
1108
+ "Promise": {
1109
+ "location": "global",
1110
+ "id": "global::Promise"
1111
+ }
1112
+ },
1113
+ "return": "Promise<void>"
1114
+ },
1115
+ "docs": {
1116
+ "text": "Clear selections externally",
1117
+ "tags": []
1118
+ }
1119
+ },
1120
+ "getData": {
1121
+ "complexType": {
1122
+ "signature": "() => Promise<Record<string, string | number | boolean>[]>",
1123
+ "parameters": [],
1124
+ "references": {
1125
+ "Promise": {
1126
+ "location": "global",
1127
+ "id": "global::Promise"
1128
+ },
1129
+ "Record": {
1130
+ "location": "global",
1131
+ "id": "global::Record"
1132
+ }
1133
+ },
1134
+ "return": "Promise<Record<string, string | number | boolean>[]>"
1135
+ },
1136
+ "docs": {
1137
+ "text": "Provide sorted data",
1138
+ "tags": []
1139
+ }
1140
+ }
1141
+ };
1142
+ }
1143
+ static get elementRef() { return "element"; }
1144
+ static get watchers() {
1145
+ return [{
1146
+ "propName": "hiddenHeaders",
1147
+ "methodName": "onHiddenHeaderChange"
1148
+ }, {
1149
+ "propName": "data",
1150
+ "methodName": "onDataChange"
1151
+ }, {
1152
+ "propName": "headers",
1153
+ "methodName": "onHeaderChange"
1154
+ }, {
1155
+ "propName": "singleSelection",
1156
+ "methodName": "onSingleSelectionChange"
1157
+ }, {
1158
+ "propName": "loading",
1159
+ "methodName": "onLoadingChange"
1160
+ }];
1161
+ }
1162
+ }
1163
+ //# sourceMappingURL=c-data-table.js.map