ku4web-components 6.5.3 → 6.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. package/angular/index.js +1 -1
  2. package/angular/index.mjs +1 -1
  3. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  4. package/dist/cjs/css-shim-f1391d35.js +6 -0
  5. package/dist/cjs/dom-5345ed9a.js +75 -0
  6. package/dist/cjs/index-065185f8.js +3093 -0
  7. package/dist/cjs/index-16f16ed9.js +14 -0
  8. package/dist/cjs/index-1a439af7.js +14 -0
  9. package/dist/cjs/index-436596bf.js +10 -0
  10. package/dist/cjs/index-49d3746b.js +10 -0
  11. package/dist/cjs/ku4-carousel-controls.cjs.entry.js +2 -2
  12. package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
  13. package/dist/cjs/ku4-carousel.cjs.entry.js +3 -3
  14. package/dist/cjs/ku4-col.cjs.entry.js +1 -1
  15. package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
  16. package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
  17. package/dist/cjs/ku4-focus-trap.cjs.entry.js +26 -26
  18. package/dist/cjs/ku4-form.cjs.entry.js +3 -3
  19. package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
  20. package/dist/cjs/ku4-label.cjs.entry.js +2 -2
  21. package/dist/cjs/ku4-mask.cjs.entry.js +3 -3
  22. package/dist/cjs/ku4-modal.cjs.entry.js +3 -3
  23. package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
  24. package/dist/cjs/ku4-preview.cjs.entry.js +43 -14
  25. package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
  26. package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
  27. package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
  28. package/dist/cjs/ku4-table.cjs.entry.js +1 -1
  29. package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
  30. package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
  31. package/dist/cjs/ku4web-components.cjs.js +101 -6
  32. package/dist/cjs/loader.cjs.js +17 -1
  33. package/dist/cjs/{uid-d533dbb1.js → uid-7f3954c8.js} +1 -1
  34. package/dist/cjs/uid-a1348ea5.js +11 -0
  35. package/dist/collection/capabilities/a11y/aria.js +26 -0
  36. package/dist/collection/capabilities/angular/index.js +24 -0
  37. package/dist/collection/capabilities/decorators/deprecated.js +20 -0
  38. package/dist/collection/capabilities/decorators/index.js +3 -0
  39. package/dist/collection/capabilities/decorators/memoize.js +7 -0
  40. package/dist/collection/capabilities/dom/isFocusable.js +7 -0
  41. package/dist/collection/capabilities/dom/queryFocusable.js +2 -0
  42. package/dist/collection/capabilities/identity/uid.js +6 -0
  43. package/dist/collection/capabilities/mask/index.js +5 -0
  44. package/dist/collection/capabilities/mask/patterns/date.js +40 -0
  45. package/dist/collection/capabilities/mask/patterns/index.js +7 -0
  46. package/dist/collection/capabilities/react/index.js +25 -0
  47. package/dist/collection/capabilities/testing/html.js +14 -0
  48. package/dist/collection/capabilities/testing/styles.js +14 -0
  49. package/dist/collection/capabilities/vue/index.js +28 -0
  50. package/dist/collection/capabilities/vue3/index.js +26 -0
  51. package/dist/collection/collection-manifest.json +31 -0
  52. package/dist/collection/components/ku4-carousel/ku4-carousel.css +221 -0
  53. package/dist/collection/components/ku4-carousel/ku4-carousel.js +369 -0
  54. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +32 -0
  55. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +112 -0
  56. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +3 -0
  57. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +159 -0
  58. package/dist/collection/components/ku4-col/ku4-col.css +601 -0
  59. package/dist/collection/components/ku4-col/ku4-col.js +288 -0
  60. package/dist/collection/components/ku4-drawer/ku4-drawer.css +56 -0
  61. package/dist/collection/components/ku4-drawer/ku4-drawer.js +163 -0
  62. package/dist/collection/components/ku4-feature/ku4-feature.js +70 -0
  63. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +3 -0
  64. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +441 -0
  65. package/dist/collection/components/ku4-form/ku4-form.js +265 -0
  66. package/dist/collection/components/ku4-grid/ku4-grid.css +751 -0
  67. package/dist/collection/components/ku4-grid/ku4-grid.js +408 -0
  68. package/dist/collection/components/ku4-label/ku4-label.css +36 -0
  69. package/dist/collection/components/ku4-label/ku4-label.js +115 -0
  70. package/dist/collection/components/ku4-mask/ku4-mask.css +3 -0
  71. package/dist/collection/components/ku4-mask/ku4-mask.js +459 -0
  72. package/dist/collection/components/ku4-modal/ku4-modal.css +85 -0
  73. package/dist/collection/components/ku4-modal/ku4-modal.js +231 -0
  74. package/dist/collection/components/ku4-panel/ku4-panel.css +14 -0
  75. package/dist/collection/components/ku4-panel/ku4-panel.js +119 -0
  76. package/dist/collection/components/ku4-preview/ku4-preview.css +23 -0
  77. package/dist/collection/components/ku4-preview/ku4-preview.js +266 -0
  78. package/dist/collection/components/ku4-tab/ku4-tab.css +82 -0
  79. package/dist/collection/components/ku4-tab/ku4-tab.js +191 -0
  80. package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +6 -0
  81. package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +118 -0
  82. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +26 -0
  83. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +166 -0
  84. package/dist/collection/components/ku4-table/ku4-table.css +116 -0
  85. package/dist/collection/components/ku4-table/ku4-table.js +120 -0
  86. package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +56 -0
  87. package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +274 -0
  88. package/dist/collection/components/ku4-validation/ku4-validation.css +19 -0
  89. package/dist/collection/components/ku4-validation/ku4-validation.js +364 -0
  90. package/dist/collection/components/ku4-validation/validate.js +14 -0
  91. package/dist/collection/index.js +1 -0
  92. package/dist/collection/security.js +27 -0
  93. package/dist/esm/app-globals-0f993ce5.js +3 -0
  94. package/dist/esm/css-shim-10e6e2ae.js +4 -0
  95. package/dist/esm/dom-7cd9cf71.js +73 -0
  96. package/dist/esm/index-5448a818.js +3 -0
  97. package/dist/esm/index-6cfd87e4.js +3 -0
  98. package/dist/esm/index-77bdf1f1.js +3 -0
  99. package/dist/esm/index-a02dcfc8.js +3057 -0
  100. package/dist/esm/index-aa119486.js +3 -0
  101. package/dist/esm/ku4-carousel-controls.entry.js +2 -2
  102. package/dist/esm/ku4-carousel-slide.entry.js +1 -1
  103. package/dist/esm/ku4-carousel.entry.js +3 -3
  104. package/dist/esm/ku4-col.entry.js +1 -1
  105. package/dist/esm/ku4-drawer.entry.js +1 -1
  106. package/dist/esm/ku4-feature.entry.js +2 -2
  107. package/dist/esm/ku4-focus-trap.entry.js +3 -3
  108. package/dist/esm/ku4-form.entry.js +3 -3
  109. package/dist/esm/ku4-grid.entry.js +1 -1
  110. package/dist/esm/ku4-label.entry.js +2 -2
  111. package/dist/esm/ku4-mask.entry.js +3 -3
  112. package/dist/esm/ku4-modal.entry.js +3 -3
  113. package/dist/esm/ku4-panel.entry.js +1 -1
  114. package/dist/esm/ku4-preview.entry.js +34 -5
  115. package/dist/esm/ku4-tab-list.entry.js +4 -4
  116. package/dist/esm/ku4-tab-panel.entry.js +3 -3
  117. package/dist/esm/ku4-tab.entry.js +3 -3
  118. package/dist/esm/ku4-table.entry.js +1 -1
  119. package/dist/esm/ku4-tooltip.entry.js +2 -2
  120. package/dist/esm/ku4-validation.entry.js +2 -2
  121. package/dist/esm/ku4web-components.js +101 -6
  122. package/dist/esm/loader.js +17 -1
  123. package/dist/esm/uid-3716c2c4.js +9 -0
  124. package/dist/esm/{uid-fbebccfd.js → uid-d593801c.js} +1 -1
  125. package/dist/esm-es5/index-5448a818.js +1 -0
  126. package/dist/esm-es5/index-77bdf1f1.js +1 -0
  127. package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
  128. package/dist/esm-es5/ku4-carousel.entry.js +1 -1
  129. package/dist/esm-es5/ku4-feature.entry.js +1 -1
  130. package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
  131. package/dist/esm-es5/ku4-form.entry.js +1 -1
  132. package/dist/esm-es5/ku4-label.entry.js +1 -1
  133. package/dist/esm-es5/ku4-mask.entry.js +1 -1
  134. package/dist/esm-es5/ku4-modal.entry.js +1 -1
  135. package/dist/esm-es5/ku4-preview.entry.js +1 -1
  136. package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
  137. package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
  138. package/dist/esm-es5/ku4-tab.entry.js +1 -1
  139. package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
  140. package/dist/esm-es5/ku4-validation.entry.js +1 -1
  141. package/dist/esm-es5/uid-d593801c.js +1 -0
  142. package/dist/index.js +1 -1
  143. package/dist/ku4web-components/app-globals-0f993ce5.js +3 -0
  144. package/dist/ku4web-components/app-globals-497eb362.system.js +1 -0
  145. package/dist/ku4web-components/css-shim-10e6e2ae.js +4 -0
  146. package/dist/ku4web-components/css-shim-c8dd4551.system.js +1 -0
  147. package/dist/ku4web-components/dom-67d1e45e.system.js +21 -0
  148. package/dist/ku4web-components/dom-7cd9cf71.js +73 -0
  149. package/dist/ku4web-components/index-1c93827a.system.js +1 -0
  150. package/dist/ku4web-components/index-29f2b09f.system.js +1 -0
  151. package/dist/ku4web-components/index-5d0cb00d.system.js +1 -0
  152. package/dist/ku4web-components/index-6cfd87e4.js +3 -0
  153. package/dist/ku4web-components/index-a02dcfc8.js +3057 -0
  154. package/dist/ku4web-components/index-aa119486.js +3 -0
  155. package/dist/ku4web-components/index.esm.js +1 -0
  156. package/dist/ku4web-components/index.system.js +1 -0
  157. package/dist/ku4web-components/ku4-carousel-controls.entry.js +89 -0
  158. package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +1 -0
  159. package/dist/ku4web-components/ku4-carousel-slide.entry.js +47 -0
  160. package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +1 -0
  161. package/dist/ku4web-components/ku4-carousel.entry.js +175 -0
  162. package/dist/ku4web-components/ku4-carousel.system.entry.js +1 -0
  163. package/dist/ku4web-components/ku4-col.entry.js +75 -0
  164. package/dist/ku4web-components/ku4-col.system.entry.js +1 -0
  165. package/dist/ku4web-components/ku4-drawer.entry.js +35 -0
  166. package/dist/ku4web-components/ku4-drawer.system.entry.js +1 -0
  167. package/dist/ku4web-components/ku4-feature.entry.js +29 -0
  168. package/dist/ku4web-components/ku4-feature.system.entry.js +1 -0
  169. package/dist/ku4web-components/ku4-focus-trap.entry.js +323 -0
  170. package/dist/ku4web-components/ku4-focus-trap.system.entry.js +1 -0
  171. package/dist/ku4web-components/ku4-form.entry.js +120 -0
  172. package/dist/ku4web-components/ku4-form.system.entry.js +1 -0
  173. package/dist/ku4web-components/ku4-grid.entry.js +108 -0
  174. package/dist/ku4web-components/ku4-grid.system.entry.js +1 -0
  175. package/dist/ku4web-components/ku4-label.entry.js +70 -0
  176. package/dist/ku4web-components/ku4-label.system.entry.js +1 -0
  177. package/dist/ku4web-components/ku4-mask.entry.js +343 -0
  178. package/dist/ku4web-components/ku4-mask.system.entry.js +1 -0
  179. package/dist/ku4web-components/ku4-modal.entry.js +80 -0
  180. package/dist/ku4web-components/ku4-modal.system.entry.js +1 -0
  181. package/dist/ku4web-components/ku4-panel.entry.js +49 -0
  182. package/dist/ku4web-components/ku4-panel.system.entry.js +1 -0
  183. package/dist/ku4web-components/ku4-preview.entry.js +128 -0
  184. package/dist/ku4web-components/ku4-preview.system.entry.js +1 -0
  185. package/dist/ku4web-components/ku4-tab-list.entry.js +76 -0
  186. package/dist/ku4web-components/ku4-tab-list.system.entry.js +1 -0
  187. package/dist/ku4web-components/ku4-tab-panel.entry.js +72 -0
  188. package/dist/ku4web-components/ku4-tab-panel.system.entry.js +1 -0
  189. package/dist/ku4web-components/ku4-tab.entry.js +63 -0
  190. package/dist/ku4web-components/ku4-tab.system.entry.js +1 -0
  191. package/dist/ku4web-components/ku4-table.entry.js +79 -0
  192. package/dist/ku4web-components/ku4-table.system.entry.js +1 -0
  193. package/dist/ku4web-components/ku4-tooltip.entry.js +120 -0
  194. package/dist/ku4web-components/ku4-tooltip.system.entry.js +1 -0
  195. package/dist/ku4web-components/ku4-validation.entry.js +162 -0
  196. package/dist/ku4web-components/ku4-validation.system.entry.js +1 -0
  197. package/dist/ku4web-components/ku4web-components.css +299 -1
  198. package/dist/ku4web-components/ku4web-components.esm.js +129 -1
  199. package/dist/ku4web-components/ku4web-components.js +1 -1
  200. package/dist/ku4web-components/ku4web-components.system.js +1 -0
  201. package/dist/ku4web-components/{p-c6a2f4ba.entry.js → p-046b3990.entry.js} +1 -1
  202. package/dist/ku4web-components/{p-018d598f.entry.js → p-0b777b57.entry.js} +1 -1
  203. package/dist/ku4web-components/p-0de744b1.system.js +1 -0
  204. package/dist/ku4web-components/{p-c760ec1e.system.entry.js → p-0f1646ca.system.entry.js} +1 -1
  205. package/dist/ku4web-components/p-14752b72.system.js +1 -0
  206. package/dist/ku4web-components/{p-5d39e051.system.entry.js → p-17c2a7ac.system.entry.js} +1 -1
  207. package/dist/ku4web-components/{p-536d6073.entry.js → p-1abe6f26.entry.js} +1 -1
  208. package/dist/ku4web-components/{p-7bac5d20.system.entry.js → p-1e19bc01.system.entry.js} +1 -1
  209. package/dist/ku4web-components/{p-dfc33643.system.entry.js → p-27647af0.system.entry.js} +1 -1
  210. package/dist/ku4web-components/p-2ee63f57.system.js +1 -1
  211. package/dist/ku4web-components/{p-973be48d.system.entry.js → p-3deab7f6.system.entry.js} +1 -1
  212. package/dist/ku4web-components/{p-23b35ab3.system.entry.js → p-4ecd9b1d.system.entry.js} +1 -1
  213. package/dist/ku4web-components/p-563d1517.system.js +1 -0
  214. package/dist/ku4web-components/p-5a54ccf4.js +1 -0
  215. package/dist/ku4web-components/{p-2681e152.system.entry.js → p-5e8921ef.system.entry.js} +1 -1
  216. package/dist/ku4web-components/{p-6459c75c.system.entry.js → p-6509d3e7.system.entry.js} +1 -1
  217. package/dist/ku4web-components/p-791e2dfc.js +1 -0
  218. package/dist/ku4web-components/{p-4a012d6d.entry.js → p-7b6ca6a8.entry.js} +1 -1
  219. package/dist/ku4web-components/{p-ec165afd.system.entry.js → p-7b93a362.system.entry.js} +1 -1
  220. package/dist/ku4web-components/{p-2faea8a9.system.entry.js → p-8173d389.system.entry.js} +1 -1
  221. package/dist/ku4web-components/{p-13c90d3d.system.entry.js → p-96033515.system.entry.js} +1 -1
  222. package/dist/ku4web-components/{p-e7d401cc.system.entry.js → p-9778d082.system.entry.js} +1 -1
  223. package/dist/ku4web-components/{p-09fb8c34.entry.js → p-9b01a63a.entry.js} +1 -1
  224. package/dist/ku4web-components/p-a110d244.js +1 -0
  225. package/dist/ku4web-components/{p-ff9db3e7.entry.js → p-ac7884f3.entry.js} +1 -1
  226. package/dist/ku4web-components/{p-ce600370.system.entry.js → p-ae7ce1fe.system.entry.js} +1 -1
  227. package/dist/ku4web-components/{p-be0d8b6a.entry.js → p-b1680ef4.entry.js} +1 -1
  228. package/dist/ku4web-components/{p-2f1425ac.entry.js → p-bb5410b5.entry.js} +1 -1
  229. package/dist/ku4web-components/{p-cbee5388.system.entry.js → p-bb698020.system.entry.js} +1 -1
  230. package/dist/ku4web-components/{p-eed33b36.entry.js → p-d42bd64d.entry.js} +1 -1
  231. package/dist/ku4web-components/{p-7a3871e3.entry.js → p-d4877fdf.entry.js} +1 -1
  232. package/dist/ku4web-components/{p-1ebea98a.entry.js → p-da8a8b83.entry.js} +1 -1
  233. package/dist/ku4web-components/{p-507093a6.entry.js → p-de3b2ba1.entry.js} +1 -1
  234. package/dist/ku4web-components/{p-e020ee68.entry.js → p-e11fbd79.entry.js} +1 -1
  235. package/dist/ku4web-components/{p-991d53c6.entry.js → p-ea1961f5.entry.js} +1 -1
  236. package/dist/ku4web-components/shadow-css-38a1326b.js +388 -0
  237. package/dist/ku4web-components/shadow-css-7fde17ac.system.js +13 -0
  238. package/dist/ku4web-components/uid-2ed9f227.system.js +1 -0
  239. package/dist/ku4web-components/uid-3716c2c4.js +9 -0
  240. package/package.json +8 -8
  241. package/react/index.js +1 -1
  242. package/react/index.mjs +1 -1
  243. package/vue/index.js +1 -1
  244. package/vue/index.mjs +1 -1
  245. package/vue3/index.js +1 -1
  246. package/vue3/index.mjs +1 -1
  247. package/dist/cjs/index-57e2cfa5.js +0 -10
  248. package/dist/cjs/index-b46d22c6.js +0 -14
  249. package/dist/esm/index-919b08e6.js +0 -3
  250. package/dist/esm/index-f9890388.js +0 -3
  251. package/dist/esm-es5/index-919b08e6.js +0 -1
  252. package/dist/esm-es5/index-f9890388.js +0 -1
  253. package/dist/esm-es5/uid-fbebccfd.js +0 -1
  254. package/dist/ku4web-components/p-16f6027a.js +0 -1
  255. package/dist/ku4web-components/p-50ea6684.js +0 -1
  256. package/dist/ku4web-components/p-c38c9cd1.system.js +0 -1
  257. package/dist/ku4web-components/p-cbb6fb91.js +0 -1
  258. package/dist/ku4web-components/p-e9770900.system.js +0 -1
  259. package/dist/ku4web-components/p-f8a2bf9b.system.js +0 -1
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
6
- const index$1 = require('./index-57e2cfa5.js');
7
- const uid = require('./uid-d533dbb1.js');
8
- require('./index-b46d22c6.js');
5
+ const index = require('./index-065185f8.js');
6
+ const index$1 = require('./index-49d3746b.js');
7
+ const uid = require('./uid-a1348ea5.js');
8
+ require('./index-16f16ed9.js');
9
9
 
10
10
  const ku4TabListCss = ":host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}";
11
11
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
6
- const uid = require('./uid-d533dbb1.js');
7
- require('./index-b46d22c6.js');
5
+ const index = require('./index-065185f8.js');
6
+ const uid = require('./uid-a1348ea5.js');
7
+ require('./index-16f16ed9.js');
8
8
 
9
9
  const ku4TabPanelCss = ":host{-webkit-backface-visibility:hidden;display:block;width:100%;height:auto;max-height:0;-webkit-transition:max-height 0.4s, padding 0.6s;transition:max-height 0.4s, padding 0.6s;overflow:auto}@media only screen and (min-width: 768px){:host{display:none;border-top:1px solid #ccc;border-bottom:1px solid #ccc;max-height:initial !important;-webkit-transition:none;transition:none;-ms-flex-order:2;order:2}:host([selected]){display:block;max-height:initial !important;-webkit-transition:none;transition:none}}";
10
10
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
6
- const uid = require('./uid-d533dbb1.js');
7
- require('./index-b46d22c6.js');
5
+ const index = require('./index-065185f8.js');
6
+ const uid = require('./uid-a1348ea5.js');
7
+ require('./index-16f16ed9.js');
8
8
 
9
9
  const ku4TabCss = "button{margin:0;padding:0;border:none;background:transparent;-webkit-appearance:none}:host{position:relative;display:block;width:100%;padding:20px 30px;background-color:#eee;text-align:center;color:#aaa;cursor:pointer}:host(:focus){background-color:#eee;color:#666;z-index:2}:host(:hover){background-color:#eee;color:#666}:host(:active){background-color:#fff;color:#333}:host([selected]){border-top:1px solid #ccc;border-bottom:1px solid #ccc;background-color:#fff;color:#444}button{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}@media only screen and (min-width: 768px){:host{width:auto;border-top:1px solid #ccc;border-right:1px solid #ccc;border-top-left-radius:4px;border-top-right-radius:4px;background-color:#eee}:host(:first-of-type){border-left:1px solid #ccc}:host([selected]){padding-bottom:1px;border-top:1px solid #ccc;border-bottom:none}:host([selected]):after{content:\" \";position:absolute;display:block;left:0;bottom:-1px;width:100%;height:1px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:inherit}}";
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
5
+ const index = require('./index-065185f8.js');
6
6
 
7
7
  const ku4TableCss = "ku4-table{position:relative;display:block}@media only screen and (min-width: 1px) and (max-width: 767px){@supports (display: contents){ku4-table[stack-xs=column] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-xs=column] thead,ku4-table[stack-xs=column] tbody,ku4-table[stack-xs=column] tfoot,ku4-table[stack-xs=column] tr{display:contents}ku4-table[stack-xs=column] thead .ku4-head-header{display:none}ku4-table[stack-xs=column] tbody th,ku4-table[stack-xs=column] tfoot th{position:absolute;display:block;width:0;height:0;margin:0;padding:0;line-height:0;font-size:0}ku4-table[stack-xs=column] tbody td,ku4-table[stack-xs=column] tfoot td{display:-ms-flexbox;display:flex}ku4-table[stack-xs=column] tbody td:before,ku4-table[stack-xs=column] tfoot td:before{content:attr(data-ku4-row-header)}}ku4-table[stack-xs=row] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-xs=row] thead th,ku4-table[stack-xs=row] thead td{display:none}ku4-table[stack-xs=row] thead,ku4-table[stack-xs=row] tbody,ku4-table[stack-xs=row] tfoot,ku4-table[stack-xs=row] tr,ku4-table[stack-xs=row] th,ku4-table[stack-xs=row] td{display:block}ku4-table[stack-xs=row] tbody td:before,ku4-table[stack-xs=row] tfoot td:before{content:attr(data-ku4-column-header)}}@media only screen and (min-width: 768px) and (max-width: 991px){@supports (display: contents){ku4-table[stack-sm=column] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-sm=column] thead,ku4-table[stack-sm=column] tbody,ku4-table[stack-sm=column] tfoot,ku4-table[stack-sm=column] tr{display:contents}ku4-table[stack-sm=column] thead .ku4-head-header{display:none}ku4-table[stack-sm=column] tbody th,ku4-table[stack-sm=column] tfoot th{position:absolute;display:block;width:0;height:0;margin:0;padding:0;line-height:0;font-size:0}ku4-table[stack-sm=column] tbody td,ku4-table[stack-sm=column] tfoot td{display:-ms-flexbox;display:flex}ku4-table[stack-sm=column] tbody td:before,ku4-table[stack-sm=column] tfoot td:before{content:attr(data-ku4-row-header)}}ku4-table[stack-sm=row] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-sm=row] thead th,ku4-table[stack-sm=row] thead td{display:none}ku4-table[stack-sm=row] thead,ku4-table[stack-sm=row] tbody,ku4-table[stack-sm=row] tfoot,ku4-table[stack-sm=row] tr,ku4-table[stack-sm=row] th,ku4-table[stack-sm=row] td{display:block}ku4-table[stack-sm=row] tbody td:before,ku4-table[stack-sm=row] tfoot td:before{content:attr(data-ku4-column-header)}}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
6
- const index$1 = require('./index-b46d22c6.js');
5
+ const index = require('./index-065185f8.js');
6
+ const index$1 = require('./index-16f16ed9.js');
7
7
 
8
8
  const ku4TooltipCss = ":host{position:fixed;display:none;opacity:0;z-index:2;background-color:#fff;border:solid 1px #ccc}:host([visible]){display:block;opacity:1;-webkit-transition:opacity 0.4s;transition:opacity 0.4s}:host .arrow{position:absolute;width:var(--ku4-tooltip-arrow-size, 14px);height:var(--ku4-tooltip-arrow-size, 14px);background-color:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);border:inherit;-webkit-box-shadow:var(--ku4-tooltip-arrow-box-shadow, none);box-shadow:var(--ku4-tooltip-arrow-box-shadow, none)}:host .content{position:relative}:host([top]) .arrow{top:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));left:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));border-top:none !important;border-left:none !important}:host([left]) .arrow{top:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));left:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-left:none !important;border-bottom:none !important}:host([bottom]) .arrow{left:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));bottom:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-bottom:none !important;border-right:none !important}:host([right]) .arrow{top:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));right:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-top:none !important;border-right:none !important}";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
6
- const index$1 = require('./index-b46d22c6.js');
5
+ const index = require('./index-065185f8.js');
6
+ const index$1 = require('./index-16f16ed9.js');
7
7
 
8
8
  /**
9
9
  * Business logic for form validation:
@@ -1,17 +1,44 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-e69a9e98.js');
3
+ const index = require('./index-065185f8.js');
4
+ const appGlobals = require('./app-globals-3a1e7e63.js');
4
5
 
5
6
  /*
6
7
  Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
7
8
  */
9
+ const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
8
10
  const patchBrowser = () => {
11
+ // NOTE!! This fn cannot use async/await!
12
+ if (index.BUILD.isDev && !index.BUILD.isTesting) {
13
+ index.consoleDevInfo('Running in development mode.');
14
+ }
15
+ if (index.BUILD.cssVarShim) {
16
+ // shim css vars
17
+ index.plt.$cssShim$ = index.win.__cssshim;
18
+ }
19
+ if (index.BUILD.cloneNodeFix) {
20
+ // opted-in to polyfill cloneNode() for slot polyfilled components
21
+ patchCloneNodeFix(index.H.prototype);
22
+ }
23
+ if (index.BUILD.profile && !performance.mark) {
24
+ // not all browsers support performance.mark/measure (Safari 10)
25
+ // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
26
+ // simply stub the implementations out.
27
+ // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
28
+ // @ts-ignore
29
+ performance.mark = performance.measure = () => {
30
+ /*noop*/
31
+ };
32
+ performance.getEntriesByName = () => [];
33
+ }
9
34
  // @ts-ignore
10
- const scriptElm = Array.from(index.doc.querySelectorAll('script')).find((s) => new RegExp(`\/${index.NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
35
+ const scriptElm = index.BUILD.scriptDataOpts || index.BUILD.safari10 || index.BUILD.dynamicImportShim
36
+ ? Array.from(index.doc.querySelectorAll('script')).find((s) => new RegExp(`\/${index.NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
11
37
  s.getAttribute('data-stencil-namespace') === index.NAMESPACE)
12
- ;
13
- const opts = {};
14
- if ('onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
38
+ : null;
39
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ku4web-components.cjs.js', document.baseURI).href));
40
+ const opts = index.BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
41
+ if (index.BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
15
42
  // Safari < v11 support: This IF is true if it's Safari below v11.
16
43
  // This fn cannot use async/await since Safari didn't support it until v11,
17
44
  // however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
@@ -25,12 +52,80 @@ const patchBrowser = () => {
25
52
  },
26
53
  };
27
54
  }
28
- {
55
+ if (!index.BUILD.safari10 && importMeta !== '') {
56
+ opts.resourcesUrl = new URL('.', importMeta).href;
57
+ }
58
+ else if (index.BUILD.dynamicImportShim || index.BUILD.safari10) {
29
59
  opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, index.win.location.href)).href;
60
+ if (index.BUILD.dynamicImportShim) {
61
+ patchDynamicImport(opts.resourcesUrl, scriptElm);
62
+ }
63
+ if (index.BUILD.dynamicImportShim && !index.win.customElements) {
64
+ // module support, but no custom elements support (Old Edge)
65
+ // @ts-ignore
66
+ return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-dom" */ './dom-5345ed9a.js'); }).then(() => opts);
67
+ }
30
68
  }
31
69
  return index.promiseResolve(opts);
32
70
  };
71
+ const patchDynamicImport = (base, orgScriptElm) => {
72
+ const importFunctionName = getDynamicImportFunction(index.NAMESPACE);
73
+ try {
74
+ // test if this browser supports dynamic imports
75
+ // There is a caching issue in V8, that breaks using import() in Function
76
+ // By generating a random string, we can workaround it
77
+ // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
78
+ index.win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
79
+ }
80
+ catch (e) {
81
+ // this shim is specifically for browsers that do support "esm" imports
82
+ // however, they do NOT support "dynamic" imports
83
+ // basically this code is for old Edge, v18 and below
84
+ const moduleMap = new Map();
85
+ index.win[importFunctionName] = (src) => {
86
+ const url = new URL(src, base).href;
87
+ let mod = moduleMap.get(url);
88
+ if (!mod) {
89
+ const script = index.doc.createElement('script');
90
+ script.type = 'module';
91
+ script.crossOrigin = orgScriptElm.crossOrigin;
92
+ script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
93
+ type: 'application/javascript',
94
+ }));
95
+ mod = new Promise((resolve) => {
96
+ script.onload = () => {
97
+ resolve(index.win[importFunctionName].m);
98
+ script.remove();
99
+ };
100
+ });
101
+ moduleMap.set(url, mod);
102
+ index.doc.head.appendChild(script);
103
+ }
104
+ return mod;
105
+ };
106
+ }
107
+ };
108
+ const patchCloneNodeFix = (HTMLElementPrototype) => {
109
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
110
+ HTMLElementPrototype.cloneNode = function (deep) {
111
+ if (this.nodeName === 'TEMPLATE') {
112
+ return nativeCloneNodeFn.call(this, deep);
113
+ }
114
+ const clonedNode = nativeCloneNodeFn.call(this, false);
115
+ const srcChildNodes = this.childNodes;
116
+ if (deep) {
117
+ for (let i = 0; i < srcChildNodes.length; i++) {
118
+ // Node.ATTRIBUTE_NODE === 2, and checking because IE11
119
+ if (srcChildNodes[i].nodeType !== 2) {
120
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
121
+ }
122
+ }
123
+ }
124
+ return clonedNode;
125
+ };
126
+ };
33
127
 
34
128
  patchBrowser().then(options => {
129
+ appGlobals.globalScripts();
35
130
  return index.bootstrapLazy([["ku4-carousel.cjs",[[1,"ku4-carousel",{"swipeTolerance":[2,"swipe-tolerance"],"auto":[4],"noSwipe":[4,"no-swipe"],"delay":[2],"slideState":[32],"next":[64],"previous":[64],"slideTo":[64],"pause":[64],"play":[64]}]]],["ku4-carousel-controls.cjs",[[1,"ku4-carousel-controls",{"for":[1]}]]],["ku4-carousel-slide.cjs",[[1,"ku4-carousel-slide",{"name":[1544],"active":[32],"classList":[32],"slideIn":[64],"slideOut":[64],"activate":[64],"deactivate":[64]}]]],["ku4-col.cjs",[[1,"ku4-col",{"startXs":[2,"start-xs"],"startSm":[2,"start-sm"],"startMd":[2,"start-md"],"startLg":[2,"start-lg"],"spanXs":[2,"span-xs"],"spanSm":[2,"span-sm"],"spanMd":[2,"span-md"],"spanLg":[2,"span-lg"],"orderXs":[2,"order-xs"],"orderSm":[2,"order-sm"],"orderMd":[2,"order-md"],"orderLg":[2,"order-lg"]}]]],["ku4-drawer.cjs",[[1,"ku4-drawer",{"bottom":[516],"left":[516],"right":[516],"top":[516],"size":[1],"open":[1540],"toggle":[64]}]]],["ku4-feature.cjs",[[1,"ku4-feature",{"on":[4],"policy":[1],"enabled":[32]}]]],["ku4-focus-trap.cjs",[[1,"ku4-focus-trap",{"active":[1540],"include":[1],"exclude":[1],"excludeShadow":[1,"exclude-shadow"],"initial":[1],"return":[1],"activate":[64],"deactivate":[64]}]]],["ku4-form.cjs",[[4,"ku4-form",{"valid":[1028],"invalid":[1540],"listFieldNames":[64],"validate":[64],"invalidate":[64],"read":[64],"write":[64]}]]],["ku4-grid.cjs",[[1,"ku4-grid",{"columnsXs":[2,"columns-xs"],"columnsSm":[2,"columns-sm"],"columnsMd":[2,"columns-md"],"columnsLg":[2,"columns-lg"],"offsetLeftXs":[2,"offset-left-xs"],"offsetLeftSm":[2,"offset-left-sm"],"offsetLeftMd":[2,"offset-left-md"],"offsetLeftLg":[2,"offset-left-lg"],"offsetRight":[2,"offset-right"],"offsetRightXs":[2,"offset-right-xs"],"offsetRightSm":[2,"offset-right-sm"],"offsetRightMd":[2,"offset-right-md"],"offsetRightLg":[2,"offset-right-lg"],"offsetXs":[2,"offset-xs"],"offsetSm":[2,"offset-sm"],"offsetMd":[2,"offset-md"],"offsetLg":[2,"offset-lg"]}]]],["ku4-label.cjs",[[1,"ku4-label",{"for":[1],"value":[1],"empty":[32]}]]],["ku4-mask.cjs",[[1,"ku4-mask",{"for":[1],"template":[1],"ban":[1],"pattern":[1],"char":[1],"hidden":[4]}]]],["ku4-modal.cjs",[[1,"ku4-modal",{"visible":[1540],"dismissable":[4],"dismissible":[4],"focusTrap":[1,"focus-trap"],"display":[64],"dismiss":[64]},[[8,"keyup","handleKeyUp"]]]]],["ku4-panel.cjs",[[1,"ku4-panel",{"open":[1540],"maxHeight":[32],"toggle":[64],"close":[64]},[[0,"transitionend","handleTransitionEnd"]]]]],["ku4-preview.cjs",[[1,"ku4-preview",{"for":[1],"src":[1],"altsrc":[1],"orientation":[2],"resolutionX":[2,"resolution-x"],"resolutionY":[2,"resolution-y"],"capture":[1],"status":[1537],"alt":[1],"currentSrc":[32],"read":[64]}]]],["ku4-tab.cjs",[[1,"ku4-tab",{"selected":[1540],"panel":[32],"select":[64],"deselect":[64],"connect":[64]},[[0,"click","handleClick"],[0,"keyup","handleKeyUp"]]]]],["ku4-tab-list.cjs",[[1,"ku4-tab-list",{"open":[64]},[[0,"ku4TabClick","handleTabClick"],[0,"ku4TabKeyup","handleTabKeyUp"]]]]],["ku4-tab-panel.cjs",[[1,"ku4-tab-panel",{"selected":[1540],"maxHeight":[32],"tab":[32],"select":[64],"deselect":[64],"connect":[64]},[[0,"transitionend","handleTransitionEnd"]]]]],["ku4-table.cjs",[[4,"ku4-table",{"stackXs":[1537,"stack-xs"],"stackSm":[1537,"stack-sm"]}]]],["ku4-tooltip.cjs",[[1,"ku4-tooltip",{"element":[1],"top":[4],"left":[4],"bottom":[4],"right":[4],"debug":[4],"show":[64],"hide":[64]}]]],["ku4-validation.cjs",[[1,"ku4-validation",{"for":[513],"element":[513],"pattern":[1],"flags":[1],"values":[1],"checked":[4],"method":[1],"invalid":[1540],"disabled":[1540],"hidden":[1540],"isValid":[32],"validate":[64]}]]]], options);
36
131
  });
@@ -2,18 +2,34 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e69a9e98.js');
5
+ const index = require('./index-065185f8.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
6
7
 
7
8
  /*
8
9
  Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
10
  */
10
11
  const patchEsm = () => {
12
+ // NOTE!! This fn cannot use async/await!
13
+ // @ts-ignore
14
+ if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) {
15
+ // @ts-ignore
16
+ return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-f1391d35.js'); }).then(() => {
17
+ if ((index.plt.$cssShim$ = index.win.__cssshim)) {
18
+ return index.plt.$cssShim$.i();
19
+ }
20
+ else {
21
+ // for better minification
22
+ return 0;
23
+ }
24
+ });
25
+ }
11
26
  return index.promiseResolve();
12
27
  };
13
28
 
14
29
  const defineCustomElements = (win, options) => {
15
30
  if (typeof window === 'undefined') return Promise.resolve();
16
31
  return patchEsm().then(() => {
32
+ appGlobals.globalScripts();
17
33
  return index.bootstrapLazy([["ku4-carousel.cjs",[[1,"ku4-carousel",{"swipeTolerance":[2,"swipe-tolerance"],"auto":[4],"noSwipe":[4,"no-swipe"],"delay":[2],"slideState":[32],"next":[64],"previous":[64],"slideTo":[64],"pause":[64],"play":[64]}]]],["ku4-carousel-controls.cjs",[[1,"ku4-carousel-controls",{"for":[1]}]]],["ku4-carousel-slide.cjs",[[1,"ku4-carousel-slide",{"name":[1544],"active":[32],"classList":[32],"slideIn":[64],"slideOut":[64],"activate":[64],"deactivate":[64]}]]],["ku4-col.cjs",[[1,"ku4-col",{"startXs":[2,"start-xs"],"startSm":[2,"start-sm"],"startMd":[2,"start-md"],"startLg":[2,"start-lg"],"spanXs":[2,"span-xs"],"spanSm":[2,"span-sm"],"spanMd":[2,"span-md"],"spanLg":[2,"span-lg"],"orderXs":[2,"order-xs"],"orderSm":[2,"order-sm"],"orderMd":[2,"order-md"],"orderLg":[2,"order-lg"]}]]],["ku4-drawer.cjs",[[1,"ku4-drawer",{"bottom":[516],"left":[516],"right":[516],"top":[516],"size":[1],"open":[1540],"toggle":[64]}]]],["ku4-feature.cjs",[[1,"ku4-feature",{"on":[4],"policy":[1],"enabled":[32]}]]],["ku4-focus-trap.cjs",[[1,"ku4-focus-trap",{"active":[1540],"include":[1],"exclude":[1],"excludeShadow":[1,"exclude-shadow"],"initial":[1],"return":[1],"activate":[64],"deactivate":[64]}]]],["ku4-form.cjs",[[4,"ku4-form",{"valid":[1028],"invalid":[1540],"listFieldNames":[64],"validate":[64],"invalidate":[64],"read":[64],"write":[64]}]]],["ku4-grid.cjs",[[1,"ku4-grid",{"columnsXs":[2,"columns-xs"],"columnsSm":[2,"columns-sm"],"columnsMd":[2,"columns-md"],"columnsLg":[2,"columns-lg"],"offsetLeftXs":[2,"offset-left-xs"],"offsetLeftSm":[2,"offset-left-sm"],"offsetLeftMd":[2,"offset-left-md"],"offsetLeftLg":[2,"offset-left-lg"],"offsetRight":[2,"offset-right"],"offsetRightXs":[2,"offset-right-xs"],"offsetRightSm":[2,"offset-right-sm"],"offsetRightMd":[2,"offset-right-md"],"offsetRightLg":[2,"offset-right-lg"],"offsetXs":[2,"offset-xs"],"offsetSm":[2,"offset-sm"],"offsetMd":[2,"offset-md"],"offsetLg":[2,"offset-lg"]}]]],["ku4-label.cjs",[[1,"ku4-label",{"for":[1],"value":[1],"empty":[32]}]]],["ku4-mask.cjs",[[1,"ku4-mask",{"for":[1],"template":[1],"ban":[1],"pattern":[1],"char":[1],"hidden":[4]}]]],["ku4-modal.cjs",[[1,"ku4-modal",{"visible":[1540],"dismissable":[4],"dismissible":[4],"focusTrap":[1,"focus-trap"],"display":[64],"dismiss":[64]},[[8,"keyup","handleKeyUp"]]]]],["ku4-panel.cjs",[[1,"ku4-panel",{"open":[1540],"maxHeight":[32],"toggle":[64],"close":[64]},[[0,"transitionend","handleTransitionEnd"]]]]],["ku4-preview.cjs",[[1,"ku4-preview",{"for":[1],"src":[1],"altsrc":[1],"orientation":[2],"resolutionX":[2,"resolution-x"],"resolutionY":[2,"resolution-y"],"capture":[1],"status":[1537],"alt":[1],"currentSrc":[32],"read":[64]}]]],["ku4-tab.cjs",[[1,"ku4-tab",{"selected":[1540],"panel":[32],"select":[64],"deselect":[64],"connect":[64]},[[0,"click","handleClick"],[0,"keyup","handleKeyUp"]]]]],["ku4-tab-list.cjs",[[1,"ku4-tab-list",{"open":[64]},[[0,"ku4TabClick","handleTabClick"],[0,"ku4TabKeyup","handleTabKeyUp"]]]]],["ku4-tab-panel.cjs",[[1,"ku4-tab-panel",{"selected":[1540],"maxHeight":[32],"tab":[32],"select":[64],"deselect":[64],"connect":[64]},[[0,"transitionend","handleTransitionEnd"]]]]],["ku4-table.cjs",[[4,"ku4-table",{"stackXs":[1537,"stack-xs"],"stackSm":[1537,"stack-sm"]}]]],["ku4-tooltip.cjs",[[1,"ku4-tooltip",{"element":[1],"top":[4],"left":[4],"bottom":[4],"right":[4],"debug":[4],"show":[64],"hide":[64]}]]],["ku4-validation.cjs",[[1,"ku4-validation",{"for":[513],"element":[513],"pattern":[1],"flags":[1],"values":[1],"checked":[4],"method":[1],"invalid":[1540],"disabled":[1540],"hidden":[1540],"isValid":[32],"validate":[64]}]]]], options);
18
34
  });
19
35
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-b46d22c6.js');
3
+ const index = require('./index-1a439af7.js');
4
4
 
5
5
  const uid = () => {
6
6
  return (() => { index.R.uid(); })();
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-16f16ed9.js');
4
+
5
+ const uid = () => {
6
+ // @ts-ignore
7
+ let value;
8
+ return (() => { value = index.R.uid(); })();
9
+ };
10
+
11
+ exports.uid = uid;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Sets aria-hidden attribute for passed elements
3
+ * @param {Array} elements - List of elements to set aria-hidden on
4
+ * @param {boolean} [value] - Optional value for aria-hidden.
5
+ * No value will set to previous value if available.
6
+ */
7
+ export const ariaHidden = (elements, value) => {
8
+ if (!value) {
9
+ // eslint-disable-next-line @stencil/ban-side-effects
10
+ elements.forEach((element) => {
11
+ if (!element.currentAriaHidden) {
12
+ element.removeAttribute('aria-hidden');
13
+ }
14
+ else {
15
+ element.setAttribute('aria-hidden', element.currentAriaHidden);
16
+ }
17
+ });
18
+ }
19
+ else {
20
+ // eslint-disable-next-line @stencil/ban-side-effects
21
+ elements.forEach((element) => {
22
+ element.currentAriaHidden = element.getAttribute('aria-hidden');
23
+ element.setAttribute('aria-hidden', value);
24
+ });
25
+ }
26
+ };
@@ -0,0 +1,24 @@
1
+ import { Assert } from 'ku4es-kernel';
2
+ import {form} from 'ku4es-ui-kernel';
3
+ /**
4
+ * Method to wire a form to pass through the ku4-form validation
5
+ * mechanism before calling the application onSubmit method
6
+ * @param {Node} ref - A ref for the target form
7
+ * @param {function} onSubmit - the function to call on submit
8
+ */
9
+ export const wireForm = (ref, onSubmit) => {
10
+ if(!ref || ref.__ku4wired__) return;
11
+ try {
12
+ const submit = ref.submit;
13
+ ref.submit = async () => {
14
+ const values = form.read(ref);
15
+ const formData = form.readData(ref);
16
+ const cont = await onSubmit(values, formData, ref);
17
+ if(!Assert.isFalse(cont)) submit.call(ref);
18
+ };
19
+ ref.__ku4wired__ = true;
20
+ }
21
+ catch(e) {
22
+ throw new Error('wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.');
23
+ }
24
+ };
@@ -0,0 +1,20 @@
1
+ import { Assert } from 'ku4es-kernel';
2
+ /**
3
+ * Decorates deprecated members.
4
+ *
5
+ * Note: Due to inherent issues with Stencil `@Component`, classes
6
+ * should be `@Deprecated` at the `render` method.
7
+ *
8
+ * @param {string} [replacement] - Name of target replacement member
9
+ * @param {function} [callback] - Optional callback for Unit Tests.
10
+ */
11
+ export default (label, replacement, callback) => (_target, propertyKey, _descriptor) => {
12
+ const property = propertyKey === 'render' ? '' : `.${propertyKey}`;
13
+ const message = [
14
+ `DEPRECATED: ${label}${property}`,
15
+ '\nUse identified replacement if available.',
16
+ Assert.exists(replacement) ? `\nReplacement: ${replacement}` : '',
17
+ ].join('');
18
+ // eslint-disable-next-line no-console
19
+ (callback || (message => console.warn(message)))(message);
20
+ };
@@ -0,0 +1,3 @@
1
+ import Deprecated from './deprecated';
2
+ import Memoize from './memoize';
3
+ export { Deprecated, Memoize, };
@@ -0,0 +1,7 @@
1
+ export default () => (_target, _propertyKey, descriptor) => ((type) => {
2
+ let value;
3
+ return Object.assign(Object.assign({}, descriptor), { [type](...params) {
4
+ value = value || descriptor[type].call(this, ...params);
5
+ return value;
6
+ } });
7
+ })(descriptor.get ? 'get' : 'value');
@@ -0,0 +1,7 @@
1
+ const focusableTags = ['A', 'BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];
2
+ export default (element) => {
3
+ const tabindex = element.getAttribute('tabindex');
4
+ return (focusableTags.includes(element.tagName.toUpperCase()) ||
5
+ element.getAttribute('href')) &&
6
+ (!tabindex || isNaN(tabindex) || parseInt(tabindex) > -1);
7
+ };
@@ -0,0 +1,2 @@
1
+ export const queryFocusable = element => [].slice.call(element.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'));
2
+ export const queryTabbable = element => [].slice.call(element.querySelectorAll(':not([tabindex="-1"])'));
@@ -0,0 +1,6 @@
1
+ import { identity } from 'ku4es-kernel';
2
+ export default () => {
3
+ // @ts-ignore
4
+ let value;
5
+ return (() => { value = identity.uid(); })();
6
+ };
@@ -0,0 +1,5 @@
1
+ import * as patterns from './patterns'
2
+
3
+ export {
4
+ patterns
5
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * A pattern to use for ku4-mask when a date pattern is desired.
3
+ * This will only work for mm/dd/yyyy templates. It is advised
4
+ * that this not be edited other than on lines 24+ where the
5
+ * year rules are defined.
6
+ */
7
+
8
+ export const mm_dd = ',[01],(((?<=0)[1-9])|((?<=1)[0-2])),(((?<=(1[0-2]/))[0-3])|((?<=(0[^2]/))[0-3])|((?<=(02/))[0-2])),(((?<=/[0-2])[0-9])|((?<=/3)[01]))'
9
+ export const _1900_2199 = `,[12],(((?<=/../1)9)|((?<=/../2)[01]))`
10
+ export const _1900_2999 = `,[12],(((?<=/../1)9)|((?<=/../2)[0-9]))`
11
+
12
+ /**
13
+ * The following is an expanded for of the expression above.
14
+ * This is done to compress the expression for export. This
15
+ * could be scripted in the future.
16
+ */
17
+ /*
18
+ export default `
19
+ ,
20
+ [01],
21
+ (
22
+ ((?<=0)[1-9])|
23
+ ((?<=1)[0-2])
24
+ ),
25
+ (
26
+ ((?<=(1[0-2]/))[0-3])|
27
+ ((?<=(0[^2]/))[0-3])|
28
+ ((?<=(02/))[0-2])
29
+ ),
30
+ (
31
+ ((?<=/[0-2])[0-9])|
32
+ ((?<=/3)[01])
33
+ ),
34
+ [12],
35
+ (
36
+ ((?<=/../1)9)|
37
+ ((?<=/../2)[01])
38
+ )
39
+ `
40
+ */
@@ -0,0 +1,7 @@
1
+ import { mm_dd, _1900_2199, _1900_2999 } from './date'
2
+
3
+ export {
4
+ mm_dd,
5
+ _1900_2199,
6
+ _1900_2999
7
+ }
@@ -0,0 +1,25 @@
1
+ import { Assert } from 'ku4es-kernel';
2
+ import { form } from 'ku4es-ui-kernel';
3
+
4
+ /**
5
+ * Method to wire a form to pass through the ku4-form validation
6
+ * mechanism before calling the application onSubmit method
7
+ * @param {Node} ref - A React ref for the target form
8
+ * @param {function} onSubmit - the function to call on submit
9
+ */
10
+ export const wireForm = (ref, onSubmit) => {
11
+ if(!ref || ref.__ku4wired__) return;
12
+ try {
13
+ const submit = ref.submit;
14
+ ref.submit = async () => {
15
+ const values = form.read(ref);
16
+ const formData = form.readData(ref);
17
+ const cont = await onSubmit(values, formData, ref);
18
+ if(!Assert.isFalse(cont)) submit.call(ref);
19
+ };
20
+ ref.__ku4wired__ = true;
21
+ }
22
+ catch(e) {
23
+ throw new Error('wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.');
24
+ }
25
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Removes all extraneous whitespace from an HTML string so that well-formatted HTML
3
+ * can be used without consequence in Stenciljs end-to-end testing \.
4
+ *
5
+ * @param {string} value - a valid html string to 'trim'
6
+ * @returns {string}
7
+ */
8
+ export default value => value
9
+ .replace(/<!--.*?-->/g, '')
10
+ .replace(/[\n\s]+/g, ' ')
11
+ .replace(/[\n\s]>/g, '>')
12
+ .replace(/[\n\s]+</g, '<')
13
+ .replace(/>[\n\s]+/g, '>')
14
+ .trim();
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Returns an object literal of the style property values
3
+ * for the requested selector and property array
4
+ *
5
+ * @param {string} selector - a valid query selector string
6
+ * @param {string[]} properties - an array of valid style property values to return
7
+ * @returns {string}
8
+ */
9
+ export default (selector, properties) => properties.reduce((acc, property) => {
10
+ acc[property] = window
11
+ .getComputedStyle(document.querySelector(selector))
12
+ .getPropertyValue(property);
13
+ return acc;
14
+ }, {});
@@ -0,0 +1,28 @@
1
+ import {Assert} from 'ku4es-kernel';
2
+ import {form} from 'ku4es-ui-kernel';
3
+
4
+ /**
5
+ * Method to wire a form to pass through the ku4-form validation
6
+ * mechanism before calling the application onSubmit method
7
+ * @param {Vue} vm - The Vue instance for the target Vue Component instance
8
+ * that encapsulates ku4-form.
9
+ * @param {string} ref - The ref for this form.
10
+ * @param {function} onSubmit - the function to call on submit
11
+ */
12
+ export const wireForm = (vm, ref, onSubmit) => {
13
+ if(!vm || !vm.$refs || !vm.$refs[ref] || vm.$refs[ref].__ku4wired__) { return; }
14
+ try {
15
+ const _ref = vm.$refs[ref];
16
+ const {submit} = _ref;
17
+ _ref.submit = async () => {
18
+ const values = form.read(ref);
19
+ const formData = form.readData(ref);
20
+ const cont = await onSubmit.call(vm, values, formData, _ref);
21
+ if(!Assert.isFalse(cont)) submit.call(ref);
22
+ };
23
+ _ref.__ku4wired__ = true;
24
+ }
25
+ catch(e) {
26
+ throw new Error('wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.');
27
+ }
28
+ };
@@ -0,0 +1,26 @@
1
+ import {Assert} from 'ku4es-kernel';
2
+ import {form} from 'ku4es-ui-kernel';
3
+
4
+ /**
5
+ * Method to wire a form to pass through the ku4-form validation
6
+ * mechanism before calling the application onSubmit method
7
+ * @param {string} ref - The ref for this form.
8
+ * @param {function} onSubmit - the function to call on submit
9
+ */
10
+ export const wireForm = (ref, onSubmit) => {
11
+ if(!ref || !ref.value || ref.value.__ku4wired__) { return; }
12
+ try {
13
+ const _ref = ref.value;
14
+ const {submit} = _ref;
15
+ _ref.submit = async () => {
16
+ const values = form.read(ref.value);
17
+ const formData = form.readData(ref.value);
18
+ const cont = await onSubmit(values, formData, _ref);
19
+ if(!Assert.isFalse(cont)) submit.call(ref.value);
20
+ };
21
+ _ref.__ku4wired__ = true;
22
+ }
23
+ catch(e) {
24
+ throw new Error('wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.');
25
+ }
26
+ };
@@ -0,0 +1,31 @@
1
+ {
2
+ "entries": [
3
+ "./components/ku4-carousel/ku4-carousel.js",
4
+ "./components/ku4-carousel-controls/ku4-carousel-controls.js",
5
+ "./components/ku4-carousel-slide/ku4-carousel-slide.js",
6
+ "./components/ku4-col/ku4-col.js",
7
+ "./components/ku4-drawer/ku4-drawer.js",
8
+ "./components/ku4-feature/ku4-feature.js",
9
+ "./components/ku4-focus-trap/ku4-focus-trap.js",
10
+ "./components/ku4-form/ku4-form.js",
11
+ "./components/ku4-grid/ku4-grid.js",
12
+ "./components/ku4-label/ku4-label.js",
13
+ "./components/ku4-mask/ku4-mask.js",
14
+ "./components/ku4-modal/ku4-modal.js",
15
+ "./components/ku4-panel/ku4-panel.js",
16
+ "./components/ku4-preview/ku4-preview.js",
17
+ "./components/ku4-tab/ku4-tab.js",
18
+ "./components/ku4-tab-list/ku4-tab-list.js",
19
+ "./components/ku4-tab-panel/ku4-tab-panel.js",
20
+ "./components/ku4-table/ku4-table.js",
21
+ "./components/ku4-tooltip/ku4-tooltip.js",
22
+ "./components/ku4-validation/ku4-validation.js"
23
+ ],
24
+ "compiler": {
25
+ "name": "@stencil/core",
26
+ "version": "2.15.2",
27
+ "typescriptVersion": "4.5.4"
28
+ },
29
+ "collections": [],
30
+ "bundles": []
31
+ }