scu-web-components 0.0.43 → 0.0.44

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 (389) hide show
  1. package/dist/chunks/chunk.3T3AZSZZ.js +2 -0
  2. package/dist/chunks/chunk.3T3AZSZZ.js.gz +0 -0
  3. package/dist/chunks/{chunk.QZKLXTNT.js → chunk.6JACVQKT.js} +2 -2
  4. package/dist/chunks/chunk.6JACVQKT.js.gz +0 -0
  5. package/dist/chunks/chunk.BSXT6VJ5.js +2 -0
  6. package/dist/chunks/chunk.BSXT6VJ5.js.gz +0 -0
  7. package/dist/chunks/chunk.FNC5OKC3.js +2 -0
  8. package/dist/chunks/chunk.FNC5OKC3.js.gz +0 -0
  9. package/dist/chunks/{chunk.FFIHTL2R.js → chunk.J6QOERDS.js} +2 -2
  10. package/dist/chunks/chunk.J6QOERDS.js.gz +0 -0
  11. package/dist/chunks/chunk.LONEBJ2H.js +2 -0
  12. package/dist/chunks/chunk.LONEBJ2H.js.gz +0 -0
  13. package/dist/chunks/chunk.MKQHB2CE.js +2 -0
  14. package/dist/chunks/chunk.MKQHB2CE.js.gz +0 -0
  15. package/dist/chunks/chunk.MKQHB2CE.js.map +7 -0
  16. package/dist/chunks/chunk.MKQHB2CE.js.map.gz +0 -0
  17. package/dist/chunks/{chunk.CGB4QC57.js → chunk.MQP3LJ22.js} +2 -2
  18. package/dist/chunks/chunk.MQP3LJ22.js.gz +0 -0
  19. package/dist/chunks/{chunk.VNI42AF7.js → chunk.NU46QA6I.js} +2 -2
  20. package/dist/chunks/chunk.NU46QA6I.js.gz +0 -0
  21. package/dist/chunks/chunk.SQW7MXRN.js +2 -0
  22. package/dist/chunks/chunk.SQW7MXRN.js.gz +0 -0
  23. package/dist/chunks/{chunk.IMYNKCK7.js → chunk.TLLMTMXY.js} +2 -2
  24. package/dist/chunks/chunk.TLLMTMXY.js.gz +0 -0
  25. package/dist/chunks/{chunk.VN2YAMKQ.js → chunk.X5NS5YBQ.js} +2 -2
  26. package/dist/chunks/chunk.X5NS5YBQ.js.gz +0 -0
  27. package/dist/chunks/{chunk.AEXBD2CN.js → chunk.XO3UZUKH.js} +1 -1
  28. package/dist/chunks/chunk.XO3UZUKH.js.gz +0 -0
  29. package/dist/chunks/chunk.ZQIHYYIC.js +2 -0
  30. package/dist/chunks/chunk.ZQIHYYIC.js.gz +0 -0
  31. package/dist/chunks/graphic-apple-app-store.BINYIYOC.js +2 -0
  32. package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.gz +0 -0
  33. package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.map +7 -0
  34. package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.map.gz +0 -0
  35. package/dist/chunks/graphic-ehl.HFHAC6QM.js +2 -0
  36. package/dist/chunks/graphic-ehl.HFHAC6QM.js.gz +0 -0
  37. package/dist/chunks/graphic-ehl.HFHAC6QM.js.map +7 -0
  38. package/dist/chunks/graphic-ehl.HFHAC6QM.js.map.gz +0 -0
  39. package/dist/chunks/graphic-google-play-store.7EJSH2VV.js +2 -0
  40. package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.gz +0 -0
  41. package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.map +7 -0
  42. package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.map.gz +0 -0
  43. package/dist/chunks/graphic-logo.ZDB2NNEH.js +2 -0
  44. package/dist/chunks/graphic-logo.ZDB2NNEH.js.gz +0 -0
  45. package/dist/chunks/graphic-logo.ZDB2NNEH.js.map +7 -0
  46. package/dist/chunks/graphic-logo.ZDB2NNEH.js.map.gz +0 -0
  47. package/dist/chunks/graphic-ncua.AGM6NECM.js +2 -0
  48. package/dist/chunks/graphic-ncua.AGM6NECM.js.gz +0 -0
  49. package/dist/chunks/graphic-ncua.AGM6NECM.js.map +7 -0
  50. package/dist/chunks/graphic-ncua.AGM6NECM.js.map.gz +0 -0
  51. package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js +2 -0
  52. package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js.gz +0 -0
  53. package/dist/chunks/{icon-checkbox-selected-disabled.DLMEJCDA.js.map → icon-checkbox-selected-disabled.YPIYXSB5.js.map} +1 -1
  54. package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js.map.gz +0 -0
  55. package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js +2 -0
  56. package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js.gz +0 -0
  57. package/dist/chunks/{icon-checkbox-selected-hover.PGUVZ62C.js.map → icon-checkbox-selected-hover.Z2A35DYF.js.map} +1 -1
  58. package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js.map.gz +0 -0
  59. package/dist/chunks/icon-checkbox-selected.FED2RUMY.js +2 -0
  60. package/dist/chunks/icon-checkbox-selected.FED2RUMY.js.gz +0 -0
  61. package/dist/chunks/{icon-checkbox-selected.SVAKK3LA.js.map → icon-checkbox-selected.FED2RUMY.js.map} +1 -1
  62. package/dist/chunks/icon-checkbox-selected.FED2RUMY.js.map.gz +0 -0
  63. package/dist/chunks/{icon-chevron-left.7EWLMQJO.js → icon-chevron-left.U4KXPC3Z.js} +2 -2
  64. package/dist/chunks/icon-chevron-left.U4KXPC3Z.js.gz +0 -0
  65. package/dist/chunks/{icon-chevron-left.7EWLMQJO.js.map → icon-chevron-left.U4KXPC3Z.js.map} +1 -1
  66. package/dist/chunks/{icon-chevron-left.7EWLMQJO.js.map.gz → icon-chevron-left.U4KXPC3Z.js.map.gz} +0 -0
  67. package/dist/chunks/icon-document.ZFL6AULX.js +2 -0
  68. package/dist/chunks/icon-document.ZFL6AULX.js.gz +0 -0
  69. package/dist/chunks/icon-document.ZFL6AULX.js.map +7 -0
  70. package/dist/chunks/icon-document.ZFL6AULX.js.map.gz +0 -0
  71. package/dist/chunks/icon-pdf.NPPTHMNU.js +2 -0
  72. package/dist/chunks/icon-pdf.NPPTHMNU.js.gz +0 -0
  73. package/dist/chunks/icon-pdf.NPPTHMNU.js.map +7 -0
  74. package/dist/chunks/icon-pdf.NPPTHMNU.js.map.gz +0 -0
  75. package/dist/chunks/icon-print.U3N7JRFD.js +2 -0
  76. package/dist/chunks/icon-print.U3N7JRFD.js.gz +0 -0
  77. package/dist/chunks/icon-print.U3N7JRFD.js.map +7 -0
  78. package/dist/chunks/icon-print.U3N7JRFD.js.map.gz +0 -0
  79. package/dist/chunks/icon-tester.PNAPVVCU.js +2 -0
  80. package/dist/chunks/icon-tester.PNAPVVCU.js.gz +0 -0
  81. package/dist/chunks/icon-tester.PNAPVVCU.js.map +7 -0
  82. package/dist/chunks/icon-tester.PNAPVVCU.js.map.gz +0 -0
  83. package/dist/custom-elements.json +376 -408
  84. package/dist/custom-elements.json.gz +0 -0
  85. package/dist/docs/components/manifest.json +22 -22
  86. package/dist/docs/config.json +3 -3
  87. package/dist/scw-alert/ScwAlert.d.ts +24 -0
  88. package/dist/scw-alert/scw-alert.d.ts +1 -0
  89. package/dist/scw-button/ScwButton.d.ts +21 -0
  90. package/dist/scw-button/ScwButton.js +1 -1
  91. package/dist/scw-button/ScwButton.js.gz +0 -0
  92. package/dist/scw-button/scw-button.d.ts +1 -0
  93. package/dist/scw-button/scw-button.js +1 -1
  94. package/dist/scw-button/scw-button.js.gz +0 -0
  95. package/dist/scw-card/ScwCard.d.ts +84 -0
  96. package/dist/scw-card/ScwCard.js +1 -1
  97. package/dist/scw-card/ScwCard.js.gz +0 -0
  98. package/dist/scw-card/scw-card-enums.d.ts +20 -0
  99. package/dist/scw-card/scw-card-light-dom.d.ts +6 -0
  100. package/dist/scw-card/scw-card.d.ts +1 -0
  101. package/dist/scw-card/scw-card.js +1 -1
  102. package/dist/scw-card/scw-card.js.gz +0 -0
  103. package/dist/scw-card/tests/imageExample.d.ts +2 -0
  104. package/dist/scw-center-component/ScwCenterComponent.d.ts +15 -0
  105. package/dist/scw-center-component/scw-center-component.d.ts +1 -0
  106. package/dist/scw-component/ScwComponent.d.ts +74 -0
  107. package/dist/scw-component/scw-component-interface.d.ts +8 -0
  108. package/dist/scw-component/scw-component.d.ts +1 -0
  109. package/dist/scw-components.d.ts +12 -0
  110. package/dist/scw-components.js +1 -1
  111. package/dist/scw-components.js.gz +0 -0
  112. package/dist/scw-element-component/scw-element-component.d.ts +10 -0
  113. package/dist/scw-flex-h-component/scw-flex-h-component.d.ts +15 -0
  114. package/dist/scw-flex-v-component/scw-flex-v-component.d.ts +15 -0
  115. package/dist/scw-float-component/scw-float-component.d.ts +15 -0
  116. package/dist/scw-form/scw-form.d.ts +56 -0
  117. package/dist/scw-form-component/scw-form-component.d.ts +92 -0
  118. package/dist/scw-form-component/scw-form-component.js +1 -1
  119. package/dist/scw-form-component/scw-form-component.js.gz +0 -0
  120. package/dist/scw-heading/ScwHeading.d.ts +32 -0
  121. package/dist/scw-heading/parseLightDomHeading.d.ts +6 -0
  122. package/dist/scw-heading/scw-heading-enums.d.ts +7 -0
  123. package/dist/scw-heading/scw-heading.d.ts +1 -0
  124. package/dist/scw-icon/ScwIcon.d.ts +46 -0
  125. package/dist/scw-icon/ScwIcon.js +1 -1
  126. package/dist/scw-icon/ScwIcon.js.gz +0 -0
  127. package/dist/scw-icon/scw-icon-enums.d.ts +12 -0
  128. package/dist/scw-icon/scw-icon.d.ts +1 -0
  129. package/dist/scw-icon/scw-icon.js +1 -1
  130. package/dist/scw-icon/scw-icon.js.gz +0 -0
  131. package/dist/scw-icon/tests/checkIconADA.d.ts +6 -0
  132. package/dist/scw-image/ScwImage.d.ts +91 -0
  133. package/dist/scw-image/scw-image-src-parser.d.ts +7 -0
  134. package/dist/scw-image/scw-image-validate.d.ts +6 -0
  135. package/dist/scw-image/scw-image.d.ts +1 -0
  136. package/dist/scw-image/tests/imageExamples.d.ts +3 -0
  137. package/dist/scw-input/scw-input.d.ts +59 -0
  138. package/dist/scw-input/scw-input.js +1 -1
  139. package/dist/scw-input/scw-input.js.gz +0 -0
  140. package/dist/scw-input-field/autoformatters/autoFormat.d.ts +52 -0
  141. package/dist/scw-input-field/autoformatters/currencyFormatter.d.ts +10 -0
  142. package/dist/scw-input-field/autoformatters/dateAutoFormatter.d.ts +39 -0
  143. package/dist/scw-input-field/autoformatters/numberFormatter.d.ts +8 -0
  144. package/dist/scw-input-field/autoformatters/phoneNumberAutoFormatter.d.ts +9 -0
  145. package/dist/scw-input-field/inputTypes.d.ts +28 -0
  146. package/dist/scw-input-field/scw-input-field.d.ts +94 -0
  147. package/dist/scw-input-layout/scw-input-layout.d.ts +34 -0
  148. package/dist/scw-layout-component/scw-layout-component.d.ts +15 -0
  149. package/dist/scw-link/ScwLink.d.ts +68 -0
  150. package/dist/scw-link/ScwLink.js +1 -1
  151. package/dist/scw-link/ScwLink.js.gz +0 -0
  152. package/dist/scw-link/scw-link-enums.d.ts +10 -0
  153. package/dist/scw-link/scw-link.d.ts +1 -0
  154. package/dist/scw-link/scw-link.js +1 -1
  155. package/dist/scw-link/scw-link.js.gz +0 -0
  156. package/dist/scw-link-base/ScwLinkBase.d.ts +53 -0
  157. package/dist/scw-link-base/parseLightDomAnchor.d.ts +6 -0
  158. package/dist/scw-link-base/scw-link-base.d.ts +1 -0
  159. package/dist/scw-menu/ScwMenu.d.ts +59 -0
  160. package/dist/scw-menu/keyboard/keyboardElements.d.ts +42 -0
  161. package/dist/scw-menu/keyboard/scw-menu-keyboard.d.ts +67 -0
  162. package/dist/scw-menu/scw-menu-enums.d.ts +5 -0
  163. package/dist/scw-menu/scw-menu-validate.d.ts +6 -0
  164. package/dist/scw-menu/scw-menu.d.ts +1 -0
  165. package/dist/scw-menu-item/ScwMenuItem.d.ts +56 -0
  166. package/dist/scw-menu-item/ScwMenuItem.js +1 -1
  167. package/dist/scw-menu-item/ScwMenuItem.js.gz +0 -0
  168. package/dist/scw-menu-item/scw-menu-item-enums.d.ts +4 -0
  169. package/dist/scw-menu-item/scw-menu-item.d.ts +1 -0
  170. package/dist/scw-menu-item/scw-menu-item.js +1 -1
  171. package/dist/scw-menu-item/scw-menu-item.js.gz +0 -0
  172. package/dist/scw-page-alert/scw-page-alert.d.ts +34 -0
  173. package/dist/scw-pane-component/scw-pane-component.d.ts +15 -0
  174. package/dist/scw-select/scw-select.d.ts +58 -0
  175. package/dist/scw-select/scw-select.js +1 -1
  176. package/dist/scw-select/scw-select.js.gz +0 -0
  177. package/dist/scw-single-input/scw-single-input.d.ts +95 -0
  178. package/dist/scw-single-input/scw-single-input.js +1 -1
  179. package/dist/scw-single-input/scw-single-input.js.gz +0 -0
  180. package/dist/scw-single-input-layout/scw-single-input-layout.d.ts +61 -0
  181. package/dist/scw-stack-component/scw-stack-component.d.ts +8 -0
  182. package/dist/scw-test/ScwTest.d.ts +30 -0
  183. package/dist/scw-test/scw-test.d.ts +1 -0
  184. package/dist/scw-textarea/scw-textarea.d.ts +53 -0
  185. package/dist/scw-textarea/scw-textarea.js +1 -1
  186. package/dist/scw-textarea/scw-textarea.js.gz +0 -0
  187. package/dist/scw-validate/rules/alphanumeric.d.ts +9 -0
  188. package/dist/scw-validate/rules/currency.d.ts +8 -0
  189. package/dist/scw-validate/rules/date.d.ts +8 -0
  190. package/dist/scw-validate/rules/email.d.ts +8 -0
  191. package/dist/scw-validate/rules/number.d.ts +9 -0
  192. package/dist/scw-validate/rules/required.d.ts +8 -0
  193. package/dist/scw-validate/rules/telephone.d.ts +8 -0
  194. package/dist/scw-validate/rules/url.d.ts +0 -0
  195. package/dist/scw-validate/rules/utils.d.ts +49 -0
  196. package/dist/scw-validate/scw-validate.d.ts +55 -0
  197. package/dist/scw-validate/validationTypes.d.ts +22 -0
  198. package/dist/scw-validation/scw-validation.d.ts +55 -0
  199. package/dist/scw.d.ts +18 -0
  200. package/dist/scw.js +1 -1
  201. package/dist/scw.js.gz +0 -0
  202. package/dist/tokens/source/assets/graphic-apple-app-store.js +1 -1
  203. package/dist/tokens/source/assets/graphic-apple-app-store.js.gz +0 -0
  204. package/dist/tokens/source/assets/graphic-apple-app-store.svg +1 -1
  205. package/dist/tokens/source/assets/graphic-apple-app-store.svg.gz +0 -0
  206. package/dist/tokens/source/assets/graphic-ehl.js +1 -1
  207. package/dist/tokens/source/assets/graphic-ehl.js.gz +0 -0
  208. package/dist/tokens/source/assets/graphic-ehl.svg +1 -1
  209. package/dist/tokens/source/assets/graphic-ehl.svg.gz +0 -0
  210. package/dist/tokens/source/assets/graphic-google-play-store.js +1 -1
  211. package/dist/tokens/source/assets/graphic-google-play-store.js.gz +0 -0
  212. package/dist/tokens/source/assets/graphic-google-play-store.svg +1 -1
  213. package/dist/tokens/source/assets/graphic-google-play-store.svg.gz +0 -0
  214. package/dist/tokens/source/assets/graphic-logo.js +1 -1
  215. package/dist/tokens/source/assets/graphic-logo.js.gz +0 -0
  216. package/dist/tokens/source/assets/graphic-logo.svg +1 -1
  217. package/dist/tokens/source/assets/graphic-logo.svg.gz +0 -0
  218. package/dist/tokens/source/assets/graphic-ncua.js +1 -1
  219. package/dist/tokens/source/assets/graphic-ncua.js.gz +0 -0
  220. package/dist/tokens/source/assets/graphic-ncua.svg +1 -1
  221. package/dist/tokens/source/assets/graphic-ncua.svg.gz +0 -0
  222. package/dist/tokens/source/assets/icon-checkbox-selected-disabled.js +1 -1
  223. package/dist/tokens/source/assets/icon-checkbox-selected-disabled.js.gz +0 -0
  224. package/dist/tokens/source/assets/icon-checkbox-selected-disabled.svg +1 -1
  225. package/dist/tokens/source/assets/icon-checkbox-selected-disabled.svg.gz +0 -0
  226. package/dist/tokens/source/assets/icon-checkbox-selected-hover.js +1 -1
  227. package/dist/tokens/source/assets/icon-checkbox-selected-hover.js.gz +0 -0
  228. package/dist/tokens/source/assets/icon-checkbox-selected-hover.svg +1 -1
  229. package/dist/tokens/source/assets/icon-checkbox-selected-hover.svg.gz +0 -0
  230. package/dist/tokens/source/assets/icon-checkbox-selected.js +1 -1
  231. package/dist/tokens/source/assets/icon-checkbox-selected.js.gz +0 -0
  232. package/dist/tokens/source/assets/icon-checkbox-selected.svg +1 -1
  233. package/dist/tokens/source/assets/icon-checkbox-selected.svg.gz +0 -0
  234. package/dist/tokens/source/assets/icon-chevron-left.js +1 -1
  235. package/dist/tokens/source/assets/icon-chevron-left.js.gz +0 -0
  236. package/dist/tokens/source/assets/icon-chevron-left.svg +1 -1
  237. package/dist/tokens/source/assets/icon-chevron-left.svg.gz +0 -0
  238. package/dist/tokens/source/assets/icon-document.js +1 -1
  239. package/dist/tokens/source/assets/icon-document.js.gz +0 -0
  240. package/dist/tokens/source/assets/icon-document.svg +1 -1
  241. package/dist/tokens/source/assets/icon-document.svg.gz +0 -0
  242. package/dist/tokens/source/assets/icon-pdf.js +1 -1
  243. package/dist/tokens/source/assets/icon-pdf.js.gz +0 -0
  244. package/dist/tokens/source/assets/icon-pdf.svg +1 -1
  245. package/dist/tokens/source/assets/icon-pdf.svg.gz +0 -0
  246. package/dist/tokens/source/assets/icon-print.js +1 -1
  247. package/dist/tokens/source/assets/icon-print.js.gz +0 -0
  248. package/dist/tokens/source/assets/icon-print.svg +1 -1
  249. package/dist/tokens/source/assets/icon-print.svg.gz +0 -0
  250. package/dist/tokens/source/assets/icon-tester.js +1 -0
  251. package/dist/tokens/source/assets/icon-tester.js.gz +0 -0
  252. package/dist/tokens/source/assets/icon-tester.svg +1 -0
  253. package/dist/tokens/source/assets/icon-tester.svg.gz +0 -0
  254. package/dist/tokens/source/assets/svgs.js +2 -0
  255. package/dist/tokens/source/assets/svgs.js.gz +0 -0
  256. package/dist/tokens/source/jsCss.js +1 -1
  257. package/dist/tokens/source/jsCss.js.gz +0 -0
  258. package/dist/tokens/source/jsCssGenerator.js +2 -2
  259. package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
  260. package/dist/tokens/source/jsCssGeneratorSansAssets.js +2 -2
  261. package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
  262. package/dist/tokens/source/tokens.json +32 -12
  263. package/dist/tokens/source/tokens.json.gz +0 -0
  264. package/dist/utils/enums/Components.d.ts +35 -0
  265. package/dist/utils/events/event.d.ts +19 -0
  266. package/dist/utils/findJsCss.d.ts +24 -0
  267. package/dist/utils/formEnums.d.ts +17 -0
  268. package/dist/utils/getComputedStyleValue.d.ts +7 -0
  269. package/dist/utils/getIconSvg.d.ts +6 -0
  270. package/dist/utils/getIconSvg.js +1 -1
  271. package/dist/utils/getIconSvg.js.gz +0 -0
  272. package/dist/utils/lightCss.d.ts +6 -0
  273. package/dist/utils/lightDomMutationObserver.d.ts +32 -0
  274. package/dist/utils/observers/intersectionObserverSingleton.d.ts +34 -0
  275. package/dist/utils/observers/mutationObserverSingleton.d.ts +18 -0
  276. package/dist/utils/observers/resizeObserverSingleton.d.ts +34 -0
  277. package/dist/utils/responsive/breakpoints.d.ts +5 -0
  278. package/dist/utils/responsive/breakpoints.js +1 -1
  279. package/dist/utils/responsive/breakpoints.js.gz +0 -0
  280. package/dist/utils/responsive/breakpoints.js.map +3 -3
  281. package/dist/utils/responsive/breakpoints.js.map.gz +0 -0
  282. package/dist/utils/submitForm.d.ts +14 -0
  283. package/dist/utils/suffix.d.ts +6 -0
  284. package/dist/utils/suffix.js +1 -1
  285. package/dist/utils/suffix.js.gz +0 -0
  286. package/dist/utils/testing/colorContrast.d.ts +10 -0
  287. package/dist/utils/testing/expectLink.d.ts +10 -0
  288. package/dist/utils/testing/getActiveElement.d.ts +6 -0
  289. package/dist/utils/testing/ssrTesting.d.ts +15 -0
  290. package/dist/utils/testing/testButtonADA.d.ts +6 -0
  291. package/dist/utils/themes/enums.d.ts +21 -0
  292. package/dist/utils/uuid.d.ts +5 -0
  293. package/dist/utils/watch.d.ts +14 -0
  294. package/package.json +1 -1
  295. package/dist/chunks/chunk.2BI5PH3F.js +0 -2
  296. package/dist/chunks/chunk.2BI5PH3F.js.gz +0 -0
  297. package/dist/chunks/chunk.2BI5PH3F.js.map +0 -7
  298. package/dist/chunks/chunk.2BI5PH3F.js.map.gz +0 -0
  299. package/dist/chunks/chunk.6TKTUVOT.js +0 -2
  300. package/dist/chunks/chunk.6TKTUVOT.js.gz +0 -0
  301. package/dist/chunks/chunk.AEXBD2CN.js.gz +0 -0
  302. package/dist/chunks/chunk.CGB4QC57.js.gz +0 -0
  303. package/dist/chunks/chunk.CR7MPPVB.js +0 -2
  304. package/dist/chunks/chunk.CR7MPPVB.js.gz +0 -0
  305. package/dist/chunks/chunk.FFIHTL2R.js.gz +0 -0
  306. package/dist/chunks/chunk.GFFNAQYS.js +0 -2
  307. package/dist/chunks/chunk.GFFNAQYS.js.gz +0 -0
  308. package/dist/chunks/chunk.IMYNKCK7.js.gz +0 -0
  309. package/dist/chunks/chunk.PYKX7ECT.js +0 -2
  310. package/dist/chunks/chunk.PYKX7ECT.js.gz +0 -0
  311. package/dist/chunks/chunk.QZKLXTNT.js.gz +0 -0
  312. package/dist/chunks/chunk.VN2YAMKQ.js.gz +0 -0
  313. package/dist/chunks/chunk.VNI42AF7.js.gz +0 -0
  314. package/dist/chunks/chunk.X3VUYQJP.js +0 -2
  315. package/dist/chunks/chunk.X3VUYQJP.js.gz +0 -0
  316. package/dist/chunks/chunk.XO4NLQ7T.js +0 -2
  317. package/dist/chunks/chunk.XO4NLQ7T.js.gz +0 -0
  318. package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js +0 -2
  319. package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.gz +0 -0
  320. package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.map +0 -7
  321. package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.map.gz +0 -0
  322. package/dist/chunks/graphic-ehl.ESGKDW72.js +0 -2
  323. package/dist/chunks/graphic-ehl.ESGKDW72.js.gz +0 -0
  324. package/dist/chunks/graphic-ehl.ESGKDW72.js.map +0 -7
  325. package/dist/chunks/graphic-ehl.ESGKDW72.js.map.gz +0 -0
  326. package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js +0 -2
  327. package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.gz +0 -0
  328. package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.map +0 -7
  329. package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.map.gz +0 -0
  330. package/dist/chunks/graphic-logo.UL6BCYFE.js +0 -2
  331. package/dist/chunks/graphic-logo.UL6BCYFE.js.gz +0 -0
  332. package/dist/chunks/graphic-logo.UL6BCYFE.js.map +0 -7
  333. package/dist/chunks/graphic-logo.UL6BCYFE.js.map.gz +0 -0
  334. package/dist/chunks/graphic-ncua.PJDHZQTE.js +0 -2
  335. package/dist/chunks/graphic-ncua.PJDHZQTE.js.gz +0 -0
  336. package/dist/chunks/graphic-ncua.PJDHZQTE.js.map +0 -7
  337. package/dist/chunks/graphic-ncua.PJDHZQTE.js.map.gz +0 -0
  338. package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js +0 -2
  339. package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js.gz +0 -0
  340. package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js.map.gz +0 -0
  341. package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js +0 -2
  342. package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js.gz +0 -0
  343. package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js.map.gz +0 -0
  344. package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js +0 -2
  345. package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js.gz +0 -0
  346. package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js.map.gz +0 -0
  347. package/dist/chunks/icon-chevron-left.7EWLMQJO.js.gz +0 -0
  348. package/dist/chunks/icon-document.UHQUZDIW.js +0 -2
  349. package/dist/chunks/icon-document.UHQUZDIW.js.gz +0 -0
  350. package/dist/chunks/icon-document.UHQUZDIW.js.map +0 -7
  351. package/dist/chunks/icon-document.UHQUZDIW.js.map.gz +0 -0
  352. package/dist/chunks/icon-pdf.EH6BCNYI.js +0 -2
  353. package/dist/chunks/icon-pdf.EH6BCNYI.js.gz +0 -0
  354. package/dist/chunks/icon-pdf.EH6BCNYI.js.map +0 -7
  355. package/dist/chunks/icon-pdf.EH6BCNYI.js.map.gz +0 -0
  356. package/dist/chunks/icon-print.SXGTREIU.js +0 -2
  357. package/dist/chunks/icon-print.SXGTREIU.js.gz +0 -0
  358. package/dist/chunks/icon-print.SXGTREIU.js.map +0 -7
  359. package/dist/chunks/icon-print.SXGTREIU.js.map.gz +0 -0
  360. package/dist/utils/observers/mediaQueryListSingleton.js +0 -2
  361. package/dist/utils/observers/mediaQueryListSingleton.js.gz +0 -0
  362. package/dist/utils/observers/mediaQueryListSingleton.js.map +0 -7
  363. package/dist/utils/observers/mediaQueryListSingleton.js.map.gz +0 -0
  364. /package/dist/chunks/{chunk.CR7MPPVB.js.map → chunk.3T3AZSZZ.js.map} +0 -0
  365. /package/dist/chunks/{chunk.CR7MPPVB.js.map.gz → chunk.3T3AZSZZ.js.map.gz} +0 -0
  366. /package/dist/chunks/{chunk.QZKLXTNT.js.map → chunk.6JACVQKT.js.map} +0 -0
  367. /package/dist/chunks/{chunk.QZKLXTNT.js.map.gz → chunk.6JACVQKT.js.map.gz} +0 -0
  368. /package/dist/chunks/{chunk.X3VUYQJP.js.map → chunk.BSXT6VJ5.js.map} +0 -0
  369. /package/dist/chunks/{chunk.X3VUYQJP.js.map.gz → chunk.BSXT6VJ5.js.map.gz} +0 -0
  370. /package/dist/chunks/{chunk.XO4NLQ7T.js.map → chunk.FNC5OKC3.js.map} +0 -0
  371. /package/dist/chunks/{chunk.XO4NLQ7T.js.map.gz → chunk.FNC5OKC3.js.map.gz} +0 -0
  372. /package/dist/chunks/{chunk.FFIHTL2R.js.map → chunk.J6QOERDS.js.map} +0 -0
  373. /package/dist/chunks/{chunk.FFIHTL2R.js.map.gz → chunk.J6QOERDS.js.map.gz} +0 -0
  374. /package/dist/chunks/{chunk.PYKX7ECT.js.map → chunk.LONEBJ2H.js.map} +0 -0
  375. /package/dist/chunks/{chunk.PYKX7ECT.js.map.gz → chunk.LONEBJ2H.js.map.gz} +0 -0
  376. /package/dist/chunks/{chunk.CGB4QC57.js.map → chunk.MQP3LJ22.js.map} +0 -0
  377. /package/dist/chunks/{chunk.CGB4QC57.js.map.gz → chunk.MQP3LJ22.js.map.gz} +0 -0
  378. /package/dist/chunks/{chunk.VNI42AF7.js.map → chunk.NU46QA6I.js.map} +0 -0
  379. /package/dist/chunks/{chunk.VNI42AF7.js.map.gz → chunk.NU46QA6I.js.map.gz} +0 -0
  380. /package/dist/chunks/{chunk.GFFNAQYS.js.map → chunk.SQW7MXRN.js.map} +0 -0
  381. /package/dist/chunks/{chunk.GFFNAQYS.js.map.gz → chunk.SQW7MXRN.js.map.gz} +0 -0
  382. /package/dist/chunks/{chunk.IMYNKCK7.js.map → chunk.TLLMTMXY.js.map} +0 -0
  383. /package/dist/chunks/{chunk.IMYNKCK7.js.map.gz → chunk.TLLMTMXY.js.map.gz} +0 -0
  384. /package/dist/chunks/{chunk.VN2YAMKQ.js.map → chunk.X5NS5YBQ.js.map} +0 -0
  385. /package/dist/chunks/{chunk.VN2YAMKQ.js.map.gz → chunk.X5NS5YBQ.js.map.gz} +0 -0
  386. /package/dist/chunks/{chunk.AEXBD2CN.js.map → chunk.XO3UZUKH.js.map} +0 -0
  387. /package/dist/chunks/{chunk.AEXBD2CN.js.map.gz → chunk.XO3UZUKH.js.map.gz} +0 -0
  388. /package/dist/chunks/{chunk.6TKTUVOT.js.map → chunk.ZQIHYYIC.js.map} +0 -0
  389. /package/dist/chunks/{chunk.6TKTUVOT.js.map.gz → chunk.ZQIHYYIC.js.map.gz} +0 -0
@@ -2713,164 +2713,66 @@
2713
2713
  },
2714
2714
  {
2715
2715
  "kind": "javascript-module",
2716
- "path": "src/scw-form-component/scw-form-component.ts",
2716
+ "path": "src/scw-form/scw-form.ts",
2717
2717
  "declarations": [
2718
2718
  {
2719
2719
  "kind": "class",
2720
- "description": "ScwFormComponent",
2721
- "name": "ScwFormComponent",
2722
- "members": [
2723
- {
2724
- "kind": "field",
2725
- "name": "formType",
2726
- "type": {
2727
- "text": "ScwFormComponentTypes"
2728
- },
2729
- "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
2730
- "attribute": "form-type",
2731
- "reflects": true
2732
- },
2733
- {
2734
- "kind": "field",
2735
- "name": "name",
2736
- "type": {
2737
- "text": "string | undefined"
2738
- },
2739
- "description": "(ScwFormComponent) name to identify form element and attach data",
2740
- "attribute": "name"
2741
- },
2742
- {
2743
- "kind": "field",
2744
- "name": "value",
2745
- "type": {
2746
- "text": "string"
2747
- },
2748
- "default": "''",
2749
- "description": "(ScwFormComponent) name to identify form element and attach data",
2750
- "attribute": "value"
2751
- },
2752
- {
2753
- "kind": "field",
2754
- "name": "placeholder",
2755
- "type": {
2756
- "text": "string"
2757
- },
2758
- "default": "''",
2759
- "description": "(ScwFormComponent) text showing when there is no value",
2760
- "attribute": "placeholder"
2761
- },
2762
- {
2763
- "kind": "field",
2764
- "name": "selected",
2765
- "type": {
2766
- "text": "boolean"
2767
- },
2768
- "default": "false",
2769
- "description": "(ScwFormComponent) name to identify form element and attach data",
2770
- "attribute": "selected"
2771
- },
2772
- {
2773
- "kind": "field",
2774
- "name": "readOnly",
2775
- "type": {
2776
- "text": "boolean"
2777
- },
2778
- "default": "false",
2779
- "description": "(ScwFormComponent) read-only state management",
2780
- "attribute": "read-only"
2781
- },
2782
- {
2783
- "kind": "field",
2784
- "name": "required",
2785
- "type": {
2786
- "text": "boolean"
2787
- },
2788
- "default": "false",
2789
- "description": "(ScwFormComponent) required state management",
2790
- "attribute": "required"
2791
- },
2792
- {
2793
- "kind": "field",
2794
- "name": "requiredLabel",
2795
- "type": {
2796
- "text": "string"
2797
- },
2798
- "default": "' *'",
2799
- "description": "(ScwFormComponent) label indicator for required",
2800
- "attribute": "required-label"
2801
- },
2720
+ "description": "ScwForm",
2721
+ "name": "ScwForm",
2722
+ "slots": [
2802
2723
  {
2803
- "kind": "field",
2804
- "name": "requiredFeedback",
2805
- "type": {
2806
- "text": "string | undefined"
2807
- },
2808
- "description": "(ScwFormComponent) label indicator for required",
2809
- "attribute": "required-feedback"
2810
- },
2724
+ "description": "The contents of the form",
2725
+ "name": "default",
2726
+ "default": "\"<scw-input...\""
2727
+ }
2728
+ ],
2729
+ "members": [
2811
2730
  {
2812
2731
  "kind": "field",
2813
- "name": "feedback",
2732
+ "name": "action",
2814
2733
  "type": {
2815
2734
  "text": "string | undefined"
2816
2735
  },
2817
- "description": "the text to use for feedback"
2818
- },
2819
- {
2820
- "kind": "field",
2821
- "name": "focused",
2822
- "type": {
2823
- "text": "boolean"
2824
- },
2825
- "default": "false",
2826
- "description": "determines whether the input is focused or not"
2736
+ "description": "(ScwForm) where to submit search, same as form",
2737
+ "attribute": "action"
2827
2738
  },
2828
2739
  {
2829
2740
  "kind": "field",
2830
- "name": "invalid",
2741
+ "name": "method",
2831
2742
  "type": {
2832
- "text": "boolean"
2743
+ "text": "FormMethods"
2833
2744
  },
2834
- "default": "false",
2835
- "description": "whether this form element is valid, passed validation"
2745
+ "description": "(ScwForm) how to submit search, same as form",
2746
+ "attribute": "method"
2836
2747
  },
2837
2748
  {
2838
2749
  "kind": "method",
2839
- "name": "decorateValues",
2750
+ "name": "findFormElements",
2840
2751
  "return": {
2841
2752
  "type": {
2842
- "text": "void"
2753
+ "text": "ScwFormComponent[]"
2843
2754
  }
2844
2755
  },
2756
+ "description": "find and return list of all form elements within this form"
2757
+ },
2758
+ {
2759
+ "kind": "method",
2760
+ "name": "processData",
2845
2761
  "parameters": [
2846
2762
  {
2847
- "name": "formData",
2763
+ "name": "formElementsArg",
2764
+ "optional": true,
2848
2765
  "type": {
2849
- "text": "Object"
2766
+ "text": "ScwFormComponent[]"
2850
2767
  }
2851
2768
  }
2852
2769
  ],
2853
- "description": "(ScwFormComponent) each form element to decorates the final data object"
2854
- },
2855
- {
2856
- "kind": "method",
2857
- "name": "findIfRequired",
2858
- "return": {
2859
- "type": {
2860
- "text": "boolean"
2861
- }
2862
- },
2863
- "description": "Check to see if form element is required w/o knowing if there is validation"
2864
- },
2865
- {
2866
- "kind": "method",
2867
- "name": "findValidationRules",
2770
+ "description": "process all the form elements' data",
2868
2771
  "return": {
2869
2772
  "type": {
2870
- "text": "ScwValidation | undefined"
2773
+ "text": "Object"
2871
2774
  }
2872
- },
2873
- "description": "Find validation child if there..."
2775
+ }
2874
2776
  },
2875
2777
  {
2876
2778
  "kind": "method",
@@ -2880,70 +2782,54 @@
2880
2782
  "text": "ValidationResult[]"
2881
2783
  }
2882
2784
  },
2883
- "description": "run the validation rules if there...",
2884
2785
  "parameters": [
2885
2786
  {
2886
- "name": "value",
2787
+ "name": "formElementsArg",
2788
+ "optional": true,
2887
2789
  "type": {
2888
- "text": "string"
2790
+ "text": "ScwFormComponent[]"
2889
2791
  }
2890
2792
  }
2891
- ]
2793
+ ],
2794
+ "description": "validate"
2892
2795
  },
2893
2796
  {
2894
2797
  "kind": "method",
2895
- "name": "createValidateRule",
2798
+ "name": "findInvalidElements",
2896
2799
  "return": {
2897
2800
  "type": {
2898
- "text": "ScwValidate"
2801
+ "text": "ValidationResult[]"
2899
2802
  }
2900
2803
  },
2901
- "description": "create a validation rule from scratch"
2902
- },
2903
- {
2904
- "kind": "method",
2905
- "name": "addValidationRule",
2906
2804
  "parameters": [
2907
2805
  {
2908
- "name": "rule",
2806
+ "name": "formElementsArg",
2807
+ "optional": true,
2909
2808
  "type": {
2910
- "text": "ScwValidate"
2809
+ "text": "ScwFormComponent[]"
2911
2810
  }
2912
2811
  }
2913
2812
  ],
2914
- "description": "add validation to to child validation (create if not there)"
2813
+ "description": "findInvalidElements"
2915
2814
  },
2916
2815
  {
2917
2816
  "kind": "method",
2918
- "name": "createAndAddValidationRule",
2919
- "parameters": [
2920
- {
2921
- "name": "type",
2922
- "type": {
2923
- "text": "ValidationTypes"
2924
- }
2925
- },
2926
- {
2927
- "name": "feedbackOverride",
2928
- "optional": true,
2929
- "type": {
2930
- "text": "string"
2931
- }
2932
- }
2933
- ],
2934
- "description": "create a validation of a certain type..."
2817
+ "name": "submit",
2818
+ "description": "submit form"
2935
2819
  },
2936
2820
  {
2937
- "kind": "method",
2938
- "name": "removeValidationRule",
2939
- "parameters": [
2940
- {
2941
- "name": "type",
2942
- "type": {
2943
- "text": "ValidationTypes"
2944
- }
2945
- }
2946
- ]
2821
+ "kind": "field",
2822
+ "name": "element",
2823
+ "type": {
2824
+ "text": "string"
2825
+ },
2826
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
2827
+ "attribute": "element",
2828
+ "reflects": true,
2829
+ "inheritedFrom": {
2830
+ "name": "ScwComponent",
2831
+ "module": "src/scw-component/ScwComponent.ts"
2832
+ }
2947
2833
  },
2948
2834
  {
2949
2835
  "kind": "field",
@@ -3024,20 +2910,6 @@
3024
2910
  "module": "src/scw-component/ScwComponent.ts"
3025
2911
  }
3026
2912
  },
3027
- {
3028
- "kind": "field",
3029
- "name": "element",
3030
- "type": {
3031
- "text": "string"
3032
- },
3033
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3034
- "attribute": "element",
3035
- "reflects": true,
3036
- "inheritedFrom": {
3037
- "name": "ScwComponent",
3038
- "module": "src/scw-component/ScwComponent.ts"
3039
- }
3040
- },
3041
2913
  {
3042
2914
  "kind": "method",
3043
2915
  "name": "warn",
@@ -3080,85 +2952,23 @@
3080
2952
  ],
3081
2953
  "attributes": [
3082
2954
  {
3083
- "name": "form-type",
2955
+ "name": "action",
3084
2956
  "type": {
3085
- "text": "ScwFormComponentTypes"
2957
+ "text": "string | undefined"
3086
2958
  },
3087
- "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
3088
- "fieldName": "formType"
2959
+ "description": "(ScwForm) where to submit search, same as form",
2960
+ "fieldName": "action"
3089
2961
  },
3090
2962
  {
3091
- "name": "name",
2963
+ "name": "method",
3092
2964
  "type": {
3093
- "text": "string | undefined"
2965
+ "text": "FormMethods"
3094
2966
  },
3095
- "description": "(ScwFormComponent) name to identify form element and attach data",
3096
- "fieldName": "name"
2967
+ "description": "(ScwForm) how to submit search, same as form",
2968
+ "fieldName": "method"
3097
2969
  },
3098
2970
  {
3099
- "name": "value",
3100
- "type": {
3101
- "text": "string"
3102
- },
3103
- "default": "''",
3104
- "description": "(ScwFormComponent) name to identify form element and attach data",
3105
- "fieldName": "value"
3106
- },
3107
- {
3108
- "name": "placeholder",
3109
- "type": {
3110
- "text": "string"
3111
- },
3112
- "default": "''",
3113
- "description": "(ScwFormComponent) text showing when there is no value",
3114
- "fieldName": "placeholder"
3115
- },
3116
- {
3117
- "name": "selected",
3118
- "type": {
3119
- "text": "boolean"
3120
- },
3121
- "default": "false",
3122
- "description": "(ScwFormComponent) name to identify form element and attach data",
3123
- "fieldName": "selected"
3124
- },
3125
- {
3126
- "name": "read-only",
3127
- "type": {
3128
- "text": "boolean"
3129
- },
3130
- "default": "false",
3131
- "description": "(ScwFormComponent) read-only state management",
3132
- "fieldName": "readOnly"
3133
- },
3134
- {
3135
- "name": "required",
3136
- "type": {
3137
- "text": "boolean"
3138
- },
3139
- "default": "false",
3140
- "description": "(ScwFormComponent) required state management",
3141
- "fieldName": "required"
3142
- },
3143
- {
3144
- "name": "required-label",
3145
- "type": {
3146
- "text": "string"
3147
- },
3148
- "default": "' *'",
3149
- "description": "(ScwFormComponent) label indicator for required",
3150
- "fieldName": "requiredLabel"
3151
- },
3152
- {
3153
- "name": "required-feedback",
3154
- "type": {
3155
- "text": "string | undefined"
3156
- },
3157
- "description": "(ScwFormComponent) label indicator for required",
3158
- "fieldName": "requiredFeedback"
3159
- },
3160
- {
3161
- "name": "aria-label",
2971
+ "name": "aria-label",
3162
2972
  "type": {
3163
2973
  "text": "string"
3164
2974
  },
@@ -3226,7 +3036,7 @@
3226
3036
  "name": "ScwComponent",
3227
3037
  "module": "/src/scw-component/ScwComponent"
3228
3038
  },
3229
- "tagName": "scw-form-component",
3039
+ "tagName": "scw-form",
3230
3040
  "customElement": true
3231
3041
  }
3232
3042
  ],
@@ -3235,74 +3045,172 @@
3235
3045
  "kind": "js",
3236
3046
  "name": "default",
3237
3047
  "declaration": {
3238
- "name": "ScwFormComponent",
3239
- "module": "src/scw-form-component/scw-form-component.ts"
3048
+ "name": "ScwForm",
3049
+ "module": "src/scw-form/scw-form.ts"
3240
3050
  }
3241
3051
  }
3242
3052
  ]
3243
3053
  },
3244
3054
  {
3245
3055
  "kind": "javascript-module",
3246
- "path": "src/scw-form/scw-form.ts",
3056
+ "path": "src/scw-form-component/scw-form-component.ts",
3247
3057
  "declarations": [
3248
3058
  {
3249
3059
  "kind": "class",
3250
- "description": "ScwForm",
3251
- "name": "ScwForm",
3252
- "slots": [
3253
- {
3254
- "description": "The contents of the form",
3255
- "name": "default",
3256
- "default": "\"<scw-input...\""
3257
- }
3258
- ],
3060
+ "description": "ScwFormComponent",
3061
+ "name": "ScwFormComponent",
3259
3062
  "members": [
3260
3063
  {
3261
3064
  "kind": "field",
3262
- "name": "action",
3065
+ "name": "formType",
3066
+ "type": {
3067
+ "text": "ScwFormComponentTypes"
3068
+ },
3069
+ "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
3070
+ "attribute": "form-type",
3071
+ "reflects": true
3072
+ },
3073
+ {
3074
+ "kind": "field",
3075
+ "name": "name",
3263
3076
  "type": {
3264
3077
  "text": "string | undefined"
3265
3078
  },
3266
- "description": "(ScwForm) where to submit search, same as form",
3267
- "attribute": "action"
3079
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3080
+ "attribute": "name"
3268
3081
  },
3269
3082
  {
3270
3083
  "kind": "field",
3271
- "name": "method",
3084
+ "name": "value",
3272
3085
  "type": {
3273
- "text": "FormMethods"
3086
+ "text": "string"
3274
3087
  },
3275
- "description": "(ScwForm) how to submit search, same as form",
3276
- "attribute": "method"
3088
+ "default": "''",
3089
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3090
+ "attribute": "value"
3091
+ },
3092
+ {
3093
+ "kind": "field",
3094
+ "name": "placeholder",
3095
+ "type": {
3096
+ "text": "string"
3097
+ },
3098
+ "default": "''",
3099
+ "description": "(ScwFormComponent) text showing when there is no value",
3100
+ "attribute": "placeholder"
3101
+ },
3102
+ {
3103
+ "kind": "field",
3104
+ "name": "selected",
3105
+ "type": {
3106
+ "text": "boolean"
3107
+ },
3108
+ "default": "false",
3109
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3110
+ "attribute": "selected"
3111
+ },
3112
+ {
3113
+ "kind": "field",
3114
+ "name": "readOnly",
3115
+ "type": {
3116
+ "text": "boolean"
3117
+ },
3118
+ "default": "false",
3119
+ "description": "(ScwFormComponent) read-only state management",
3120
+ "attribute": "read-only"
3121
+ },
3122
+ {
3123
+ "kind": "field",
3124
+ "name": "required",
3125
+ "type": {
3126
+ "text": "boolean"
3127
+ },
3128
+ "default": "false",
3129
+ "description": "(ScwFormComponent) required state management",
3130
+ "attribute": "required"
3131
+ },
3132
+ {
3133
+ "kind": "field",
3134
+ "name": "requiredLabel",
3135
+ "type": {
3136
+ "text": "string"
3137
+ },
3138
+ "default": "' *'",
3139
+ "description": "(ScwFormComponent) label indicator for required",
3140
+ "attribute": "required-label"
3141
+ },
3142
+ {
3143
+ "kind": "field",
3144
+ "name": "requiredFeedback",
3145
+ "type": {
3146
+ "text": "string | undefined"
3147
+ },
3148
+ "description": "(ScwFormComponent) label indicator for required",
3149
+ "attribute": "required-feedback"
3150
+ },
3151
+ {
3152
+ "kind": "field",
3153
+ "name": "feedback",
3154
+ "type": {
3155
+ "text": "string | undefined"
3156
+ },
3157
+ "description": "the text to use for feedback"
3158
+ },
3159
+ {
3160
+ "kind": "field",
3161
+ "name": "focused",
3162
+ "type": {
3163
+ "text": "boolean"
3164
+ },
3165
+ "default": "false",
3166
+ "description": "determines whether the input is focused or not"
3167
+ },
3168
+ {
3169
+ "kind": "field",
3170
+ "name": "invalid",
3171
+ "type": {
3172
+ "text": "boolean"
3173
+ },
3174
+ "default": "false",
3175
+ "description": "whether this form element is valid, passed validation"
3277
3176
  },
3278
3177
  {
3279
3178
  "kind": "method",
3280
- "name": "findFormElements",
3179
+ "name": "decorateValues",
3281
3180
  "return": {
3282
3181
  "type": {
3283
- "text": "ScwFormComponent[]"
3182
+ "text": "void"
3284
3183
  }
3285
3184
  },
3286
- "description": "find and return list of all form elements within this form"
3287
- },
3288
- {
3289
- "kind": "method",
3290
- "name": "processData",
3291
3185
  "parameters": [
3292
3186
  {
3293
- "name": "formElementsArg",
3294
- "optional": true,
3187
+ "name": "formData",
3295
3188
  "type": {
3296
- "text": "ScwFormComponent[]"
3189
+ "text": "Object"
3297
3190
  }
3298
3191
  }
3299
3192
  ],
3300
- "description": "process all the form elements' data",
3193
+ "description": "(ScwFormComponent) each form element to decorates the final data object"
3194
+ },
3195
+ {
3196
+ "kind": "method",
3197
+ "name": "findIfRequired",
3301
3198
  "return": {
3302
3199
  "type": {
3303
- "text": "Object"
3200
+ "text": "boolean"
3304
3201
  }
3305
- }
3202
+ },
3203
+ "description": "Check to see if form element is required w/o knowing if there is validation"
3204
+ },
3205
+ {
3206
+ "kind": "method",
3207
+ "name": "findValidationRules",
3208
+ "return": {
3209
+ "type": {
3210
+ "text": "ScwValidation | undefined"
3211
+ }
3212
+ },
3213
+ "description": "Find validation child if there..."
3306
3214
  },
3307
3215
  {
3308
3216
  "kind": "method",
@@ -3312,54 +3220,70 @@
3312
3220
  "text": "ValidationResult[]"
3313
3221
  }
3314
3222
  },
3223
+ "description": "run the validation rules if there...",
3224
+ "parameters": [
3225
+ {
3226
+ "name": "value",
3227
+ "type": {
3228
+ "text": "string"
3229
+ }
3230
+ }
3231
+ ]
3232
+ },
3233
+ {
3234
+ "kind": "method",
3235
+ "name": "createValidateRule",
3236
+ "return": {
3237
+ "type": {
3238
+ "text": "ScwValidate"
3239
+ }
3240
+ },
3241
+ "description": "create a validation rule from scratch"
3242
+ },
3243
+ {
3244
+ "kind": "method",
3245
+ "name": "addValidationRule",
3315
3246
  "parameters": [
3316
3247
  {
3317
- "name": "formElementsArg",
3248
+ "name": "rule",
3249
+ "type": {
3250
+ "text": "ScwValidate"
3251
+ }
3252
+ }
3253
+ ],
3254
+ "description": "add validation to to child validation (create if not there)"
3255
+ },
3256
+ {
3257
+ "kind": "method",
3258
+ "name": "createAndAddValidationRule",
3259
+ "parameters": [
3260
+ {
3261
+ "name": "type",
3262
+ "type": {
3263
+ "text": "ValidationTypes"
3264
+ }
3265
+ },
3266
+ {
3267
+ "name": "feedbackOverride",
3318
3268
  "optional": true,
3319
3269
  "type": {
3320
- "text": "ScwFormComponent[]"
3270
+ "text": "string"
3321
3271
  }
3322
3272
  }
3323
3273
  ],
3324
- "description": "validate"
3274
+ "description": "create a validation of a certain type..."
3325
3275
  },
3326
3276
  {
3327
3277
  "kind": "method",
3328
- "name": "findInvalidElements",
3329
- "return": {
3330
- "type": {
3331
- "text": "ValidationResult[]"
3332
- }
3333
- },
3278
+ "name": "removeValidationRule",
3334
3279
  "parameters": [
3335
3280
  {
3336
- "name": "formElementsArg",
3337
- "optional": true,
3281
+ "name": "type",
3338
3282
  "type": {
3339
- "text": "ScwFormComponent[]"
3283
+ "text": "ValidationTypes"
3340
3284
  }
3341
3285
  }
3342
- ],
3343
- "description": "findInvalidElements"
3344
- },
3345
- {
3346
- "kind": "method",
3347
- "name": "submit",
3348
- "description": "submit form"
3349
- },
3350
- {
3351
- "kind": "field",
3352
- "name": "element",
3353
- "type": {
3354
- "text": "string"
3355
- },
3356
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3357
- "attribute": "element",
3358
- "reflects": true,
3359
- "inheritedFrom": {
3360
- "name": "ScwComponent",
3361
- "module": "src/scw-component/ScwComponent.ts"
3362
- }
3286
+ ]
3363
3287
  },
3364
3288
  {
3365
3289
  "kind": "field",
@@ -3440,6 +3364,20 @@
3440
3364
  "module": "src/scw-component/ScwComponent.ts"
3441
3365
  }
3442
3366
  },
3367
+ {
3368
+ "kind": "field",
3369
+ "name": "element",
3370
+ "type": {
3371
+ "text": "string"
3372
+ },
3373
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3374
+ "attribute": "element",
3375
+ "reflects": true,
3376
+ "inheritedFrom": {
3377
+ "name": "ScwComponent",
3378
+ "module": "src/scw-component/ScwComponent.ts"
3379
+ }
3380
+ },
3443
3381
  {
3444
3382
  "kind": "method",
3445
3383
  "name": "warn",
@@ -3482,20 +3420,82 @@
3482
3420
  ],
3483
3421
  "attributes": [
3484
3422
  {
3485
- "name": "action",
3423
+ "name": "form-type",
3424
+ "type": {
3425
+ "text": "ScwFormComponentTypes"
3426
+ },
3427
+ "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
3428
+ "fieldName": "formType"
3429
+ },
3430
+ {
3431
+ "name": "name",
3486
3432
  "type": {
3487
3433
  "text": "string | undefined"
3488
3434
  },
3489
- "description": "(ScwForm) where to submit search, same as form",
3490
- "fieldName": "action"
3435
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3436
+ "fieldName": "name"
3491
3437
  },
3492
3438
  {
3493
- "name": "method",
3439
+ "name": "value",
3494
3440
  "type": {
3495
- "text": "FormMethods"
3441
+ "text": "string"
3496
3442
  },
3497
- "description": "(ScwForm) how to submit search, same as form",
3498
- "fieldName": "method"
3443
+ "default": "''",
3444
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3445
+ "fieldName": "value"
3446
+ },
3447
+ {
3448
+ "name": "placeholder",
3449
+ "type": {
3450
+ "text": "string"
3451
+ },
3452
+ "default": "''",
3453
+ "description": "(ScwFormComponent) text showing when there is no value",
3454
+ "fieldName": "placeholder"
3455
+ },
3456
+ {
3457
+ "name": "selected",
3458
+ "type": {
3459
+ "text": "boolean"
3460
+ },
3461
+ "default": "false",
3462
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3463
+ "fieldName": "selected"
3464
+ },
3465
+ {
3466
+ "name": "read-only",
3467
+ "type": {
3468
+ "text": "boolean"
3469
+ },
3470
+ "default": "false",
3471
+ "description": "(ScwFormComponent) read-only state management",
3472
+ "fieldName": "readOnly"
3473
+ },
3474
+ {
3475
+ "name": "required",
3476
+ "type": {
3477
+ "text": "boolean"
3478
+ },
3479
+ "default": "false",
3480
+ "description": "(ScwFormComponent) required state management",
3481
+ "fieldName": "required"
3482
+ },
3483
+ {
3484
+ "name": "required-label",
3485
+ "type": {
3486
+ "text": "string"
3487
+ },
3488
+ "default": "' *'",
3489
+ "description": "(ScwFormComponent) label indicator for required",
3490
+ "fieldName": "requiredLabel"
3491
+ },
3492
+ {
3493
+ "name": "required-feedback",
3494
+ "type": {
3495
+ "text": "string | undefined"
3496
+ },
3497
+ "description": "(ScwFormComponent) label indicator for required",
3498
+ "fieldName": "requiredFeedback"
3499
3499
  },
3500
3500
  {
3501
3501
  "name": "aria-label",
@@ -3566,7 +3566,7 @@
3566
3566
  "name": "ScwComponent",
3567
3567
  "module": "/src/scw-component/ScwComponent"
3568
3568
  },
3569
- "tagName": "scw-form",
3569
+ "tagName": "scw-form-component",
3570
3570
  "customElement": true
3571
3571
  }
3572
3572
  ],
@@ -3575,8 +3575,8 @@
3575
3575
  "kind": "js",
3576
3576
  "name": "default",
3577
3577
  "declaration": {
3578
- "name": "ScwForm",
3579
- "module": "src/scw-form/scw-form.ts"
3578
+ "name": "ScwFormComponent",
3579
+ "module": "src/scw-form-component/scw-form-component.ts"
3580
3580
  }
3581
3581
  }
3582
3582
  ]
@@ -14835,28 +14835,68 @@
14835
14835
  },
14836
14836
  {
14837
14837
  "kind": "javascript-module",
14838
- "path": "src/utils/observers/intersectionObserverSingleton.ts",
14839
- "declarations": [],
14838
+ "path": "src/utils/events/event.ts",
14839
+ "declarations": [
14840
+ {
14841
+ "kind": "function",
14842
+ "name": "emit",
14843
+ "parameters": [
14844
+ {
14845
+ "name": "name",
14846
+ "type": {
14847
+ "text": "string"
14848
+ }
14849
+ },
14850
+ {
14851
+ "name": "target",
14852
+ "type": {
14853
+ "text": "HTMLElement"
14854
+ }
14855
+ },
14856
+ {
14857
+ "name": "detail",
14858
+ "default": "{}",
14859
+ "type": {
14860
+ "text": "object"
14861
+ }
14862
+ },
14863
+ {
14864
+ "name": "options",
14865
+ "optional": true,
14866
+ "type": {
14867
+ "text": "CustomEventInit"
14868
+ }
14869
+ }
14870
+ ],
14871
+ "description": "Emits a custom event with web component friendly defaults.",
14872
+ "return": {
14873
+ "type": {
14874
+ "text": "object"
14875
+ }
14876
+ }
14877
+ }
14878
+ ],
14840
14879
  "exports": [
14841
14880
  {
14842
14881
  "kind": "js",
14843
- "name": "default",
14882
+ "name": "emit",
14844
14883
  "declaration": {
14845
- "module": "src/utils/observers/intersectionObserverSingleton.ts"
14884
+ "name": "emit",
14885
+ "module": "src/utils/events/event.ts"
14846
14886
  }
14847
14887
  }
14848
14888
  ]
14849
14889
  },
14850
14890
  {
14851
14891
  "kind": "javascript-module",
14852
- "path": "src/utils/observers/mediaQueryListSingleton.ts",
14892
+ "path": "src/utils/observers/intersectionObserverSingleton.ts",
14853
14893
  "declarations": [],
14854
14894
  "exports": [
14855
14895
  {
14856
14896
  "kind": "js",
14857
14897
  "name": "default",
14858
14898
  "declaration": {
14859
- "module": "src/utils/observers/mediaQueryListSingleton.ts"
14899
+ "module": "src/utils/observers/intersectionObserverSingleton.ts"
14860
14900
  }
14861
14901
  }
14862
14902
  ]
@@ -14896,60 +14936,6 @@
14896
14936
  }
14897
14937
  ]
14898
14938
  },
14899
- {
14900
- "kind": "javascript-module",
14901
- "path": "src/utils/events/event.ts",
14902
- "declarations": [
14903
- {
14904
- "kind": "function",
14905
- "name": "emit",
14906
- "parameters": [
14907
- {
14908
- "name": "name",
14909
- "type": {
14910
- "text": "string"
14911
- }
14912
- },
14913
- {
14914
- "name": "target",
14915
- "type": {
14916
- "text": "HTMLElement"
14917
- }
14918
- },
14919
- {
14920
- "name": "detail",
14921
- "default": "{}",
14922
- "type": {
14923
- "text": "object"
14924
- }
14925
- },
14926
- {
14927
- "name": "options",
14928
- "optional": true,
14929
- "type": {
14930
- "text": "CustomEventInit"
14931
- }
14932
- }
14933
- ],
14934
- "description": "Emits a custom event with web component friendly defaults.",
14935
- "return": {
14936
- "type": {
14937
- "text": "object"
14938
- }
14939
- }
14940
- }
14941
- ],
14942
- "exports": [
14943
- {
14944
- "kind": "js",
14945
- "name": "emit",
14946
- "declaration": {
14947
- "name": "emit",
14948
- "module": "src/utils/events/event.ts"
14949
- }
14950
- }
14951
- ]
14952
- },
14953
14939
  {
14954
14940
  "kind": "javascript-module",
14955
14941
  "path": "src/utils/responsive/breakpoints.ts",
@@ -14961,16 +14947,6 @@
14961
14947
  "text": "array"
14962
14948
  },
14963
14949
  "default": "[\n {name: 'xlg',\n minWidth: 1200, order: 4},\n {name: 'lg',\n minWidth: 992, order: 3},\n {name: 'md',\n minWidth: 768, order: 2},\n {name: 'sm',\n minWidth: 576, order: 1},\n]"
14964
- },
14965
- {
14966
- "kind": "function",
14967
- "name": "breakpointLookup",
14968
- "description": "breakpoint lookup",
14969
- "return": {
14970
- "type": {
14971
- "text": "object"
14972
- }
14973
- }
14974
14950
  }
14975
14951
  ],
14976
14952
  "exports": [
@@ -14981,14 +14957,6 @@
14981
14957
  "name": "breakpoints",
14982
14958
  "module": "src/utils/responsive/breakpoints.ts"
14983
14959
  }
14984
- },
14985
- {
14986
- "kind": "js",
14987
- "name": "breakpointLookup",
14988
- "declaration": {
14989
- "name": "breakpointLookup",
14990
- "module": "src/utils/responsive/breakpoints.ts"
14991
- }
14992
14960
  }
14993
14961
  ]
14994
14962
  },