ku4web-components 6.7.1 → 6.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. package/dist/cjs/{index-4ca7863f.js → index-8b7230db.js} +1 -1
  2. package/dist/cjs/ku4-carousel-controls.cjs.entry.js +1 -1
  3. package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
  4. package/dist/cjs/ku4-carousel.cjs.entry.js +1 -1
  5. package/dist/cjs/ku4-col.cjs.entry.js +1 -1
  6. package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
  7. package/dist/cjs/ku4-feature.cjs.entry.js +1 -1
  8. package/dist/cjs/ku4-focus-trap.cjs.entry.js +1 -1
  9. package/dist/cjs/ku4-form.cjs.entry.js +13 -3
  10. package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
  11. package/dist/cjs/ku4-label.cjs.entry.js +1 -1
  12. package/dist/cjs/ku4-mask.cjs.entry.js +1 -1
  13. package/dist/cjs/ku4-modal.cjs.entry.js +1 -1
  14. package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
  15. package/dist/cjs/ku4-preview.cjs.entry.js +1 -1
  16. package/dist/cjs/ku4-tab-list.cjs.entry.js +1 -1
  17. package/dist/cjs/ku4-tab-panel.cjs.entry.js +1 -1
  18. package/dist/cjs/ku4-tab.cjs.entry.js +1 -1
  19. package/dist/cjs/ku4-table.cjs.entry.js +1 -1
  20. package/dist/cjs/ku4-tooltip.cjs.entry.js +1 -1
  21. package/dist/cjs/ku4-validation.cjs.entry.js +77 -37
  22. package/dist/cjs/ku4web-components.cjs.js +2 -2
  23. package/dist/cjs/loader.cjs.js +2 -2
  24. package/dist/cjs/{shadow-css-8ae6d6e1.js → shadow-css-cf936b02.js} +1 -1
  25. package/dist/esm/{index-21724a14.js → index-ed88cd9f.js} +1 -1
  26. package/dist/esm/ku4-carousel-controls.entry.js +1 -1
  27. package/dist/esm/ku4-carousel-slide.entry.js +1 -1
  28. package/dist/esm/ku4-carousel.entry.js +1 -1
  29. package/dist/esm/ku4-col.entry.js +1 -1
  30. package/dist/esm/ku4-drawer.entry.js +1 -1
  31. package/dist/esm/ku4-feature.entry.js +1 -1
  32. package/dist/esm/ku4-focus-trap.entry.js +1 -1
  33. package/dist/esm/ku4-form.entry.js +14 -4
  34. package/dist/esm/ku4-grid.entry.js +1 -1
  35. package/dist/esm/ku4-label.entry.js +1 -1
  36. package/dist/esm/ku4-mask.entry.js +1 -1
  37. package/dist/esm/ku4-modal.entry.js +1 -1
  38. package/dist/esm/ku4-panel.entry.js +1 -1
  39. package/dist/esm/ku4-preview.entry.js +1 -1
  40. package/dist/esm/ku4-tab-list.entry.js +1 -1
  41. package/dist/esm/ku4-tab-panel.entry.js +1 -1
  42. package/dist/esm/ku4-tab.entry.js +1 -1
  43. package/dist/esm/ku4-table.entry.js +1 -1
  44. package/dist/esm/ku4-tooltip.entry.js +1 -1
  45. package/dist/esm/ku4-validation.entry.js +78 -38
  46. package/dist/esm/ku4web-components.js +2 -2
  47. package/dist/esm/loader.js +2 -2
  48. package/dist/esm/{shadow-css-1257b266.js → shadow-css-4cd4480f.js} +1 -1
  49. package/dist/esm-es5/{index-21724a14.js → index-ed88cd9f.js} +1 -1
  50. package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
  51. package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
  52. package/dist/esm-es5/ku4-carousel.entry.js +1 -1
  53. package/dist/esm-es5/ku4-col.entry.js +1 -1
  54. package/dist/esm-es5/ku4-drawer.entry.js +1 -1
  55. package/dist/esm-es5/ku4-feature.entry.js +1 -1
  56. package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
  57. package/dist/esm-es5/ku4-form.entry.js +1 -1
  58. package/dist/esm-es5/ku4-grid.entry.js +1 -1
  59. package/dist/esm-es5/ku4-label.entry.js +1 -1
  60. package/dist/esm-es5/ku4-mask.entry.js +1 -1
  61. package/dist/esm-es5/ku4-modal.entry.js +1 -1
  62. package/dist/esm-es5/ku4-panel.entry.js +1 -1
  63. package/dist/esm-es5/ku4-preview.entry.js +1 -1
  64. package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
  65. package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
  66. package/dist/esm-es5/ku4-tab.entry.js +1 -1
  67. package/dist/esm-es5/ku4-table.entry.js +1 -1
  68. package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
  69. package/dist/esm-es5/ku4-validation.entry.js +1 -1
  70. package/dist/esm-es5/ku4web-components.js +1 -1
  71. package/dist/esm-es5/loader.js +1 -1
  72. package/dist/esm-es5/{shadow-css-1257b266.js → shadow-css-4cd4480f.js} +0 -0
  73. package/dist/ku4web-components/ku4web-components.esm.js +1 -1
  74. package/dist/ku4web-components/ku4web-components.js +1 -1
  75. package/dist/ku4web-components/{p-2f4a16d7.entry.js → p-003842e3.entry.js} +1 -1
  76. package/dist/ku4web-components/{p-220c33c5.system.entry.js → p-00f6f7a2.system.entry.js} +1 -1
  77. package/dist/ku4web-components/p-0761c31a.system.entry.js +1 -0
  78. package/dist/ku4web-components/{p-a4cd5761.entry.js → p-0ca65b63.entry.js} +1 -1
  79. package/dist/ku4web-components/{p-2da96838.system.entry.js → p-11757f38.system.entry.js} +1 -1
  80. package/dist/ku4web-components/{p-6c7c6b42.system.entry.js → p-15a87049.system.entry.js} +1 -1
  81. package/dist/ku4web-components/{p-c305fd7d.entry.js → p-1b3dda3d.entry.js} +1 -1
  82. package/dist/ku4web-components/{p-d9a5870c.entry.js → p-2639a642.entry.js} +1 -1
  83. package/dist/ku4web-components/{p-d56159f9.system.entry.js → p-2e99f950.system.entry.js} +1 -1
  84. package/dist/ku4web-components/{p-55f5c91c.system.js → p-3074face.system.js} +1 -1
  85. package/dist/ku4web-components/{p-96c08f79.system.entry.js → p-30ae2ddb.system.entry.js} +1 -1
  86. package/dist/ku4web-components/{p-332a5a54.entry.js → p-3a364945.entry.js} +1 -1
  87. package/dist/ku4web-components/{p-2df06b36.system.entry.js → p-416cf70d.system.entry.js} +1 -1
  88. package/dist/ku4web-components/{p-7875dc99.entry.js → p-49a0b872.entry.js} +1 -1
  89. package/dist/ku4web-components/{p-f6330722.js → p-4eaf20b7.js} +0 -0
  90. package/dist/ku4web-components/{p-6f6a8c8d.entry.js → p-4f30a3b4.entry.js} +1 -1
  91. package/dist/ku4web-components/{p-6715c004.system.entry.js → p-4f31ea4d.system.entry.js} +1 -1
  92. package/dist/ku4web-components/{p-4243b0a9.system.entry.js → p-541bf0f5.system.entry.js} +1 -1
  93. package/dist/ku4web-components/{p-bb380a04.entry.js → p-5881c1d7.entry.js} +1 -1
  94. package/dist/ku4web-components/{p-6fc54c2b.system.entry.js → p-591104cc.system.entry.js} +1 -1
  95. package/dist/ku4web-components/{p-d1b4d5dc.entry.js → p-608ea1d6.entry.js} +1 -1
  96. package/dist/ku4web-components/{p-b3ad84eb.system.js → p-68376c90.system.js} +1 -1
  97. package/dist/ku4web-components/{p-9404f926.system.entry.js → p-684ff784.system.entry.js} +1 -1
  98. package/dist/ku4web-components/{p-5acd5997.entry.js → p-68d94b4d.entry.js} +1 -1
  99. package/dist/ku4web-components/{p-3d59749e.entry.js → p-6e094352.entry.js} +1 -1
  100. package/dist/ku4web-components/{p-ee51fe4d.system.entry.js → p-79ea33f5.system.entry.js} +1 -1
  101. package/dist/ku4web-components/{p-f33f1619.entry.js → p-7d459d29.entry.js} +1 -1
  102. package/dist/ku4web-components/{p-746378d8.system.entry.js → p-84c91ca0.system.entry.js} +1 -1
  103. package/dist/ku4web-components/{p-9d027a50.entry.js → p-8539cf81.entry.js} +1 -1
  104. package/dist/ku4web-components/{p-90553d69.system.entry.js → p-9a9a9311.system.entry.js} +1 -1
  105. package/dist/ku4web-components/{p-be3b5409.system.entry.js → p-9dfc9b1f.system.entry.js} +1 -1
  106. package/dist/ku4web-components/{p-5119224c.entry.js → p-a0180821.entry.js} +1 -1
  107. package/dist/ku4web-components/{p-0943c493.js → p-a145181f.js} +1 -1
  108. package/dist/ku4web-components/{p-996461ba.entry.js → p-a3636f09.entry.js} +1 -1
  109. package/dist/ku4web-components/{p-22afbc6b.system.entry.js → p-a8a1f354.system.entry.js} +1 -1
  110. package/dist/ku4web-components/{p-b2af9e06.system.entry.js → p-adbc2f7a.system.entry.js} +1 -1
  111. package/dist/ku4web-components/{p-e77aa4b5.system.js → p-b1530d9c.system.js} +0 -0
  112. package/dist/ku4web-components/p-b5e2d0f3.system.entry.js +1 -0
  113. package/dist/ku4web-components/{p-74ef5565.system.entry.js → p-cabd234a.system.entry.js} +1 -1
  114. package/dist/ku4web-components/p-cefe1c43.entry.js +1 -0
  115. package/dist/ku4web-components/{p-0669a534.entry.js → p-e2515ee6.entry.js} +1 -1
  116. package/dist/ku4web-components/{p-56f61856.entry.js → p-e3e309ca.entry.js} +1 -1
  117. package/dist/ku4web-components/{p-3742c929.entry.js → p-f3b9f60d.entry.js} +1 -1
  118. package/dist/ku4web-components/p-f4012b76.entry.js +1 -0
  119. package/dist/ku4web-components/{p-36e2caf6.system.entry.js → p-f8ee65f5.system.entry.js} +1 -1
  120. package/dist/types/components/ku4-validation/ku4-validation.d.ts +13 -6
  121. package/dist/types/components.d.ts +4 -4
  122. package/package.json +22 -22
  123. package/dist/ku4web-components/p-03c61943.system.entry.js +0 -1
  124. package/dist/ku4web-components/p-20a7e124.entry.js +0 -1
  125. package/dist/ku4web-components/p-baf510f5.entry.js +0 -1
  126. package/dist/ku4web-components/p-d7736b02.system.entry.js +0 -1
@@ -1378,7 +1378,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1378
1378
  if (!styles.has(scopeId)) {
1379
1379
  const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1380
1380
  if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
1381
- style = await Promise.resolve().then(function () { return require('./shadow-css-8ae6d6e1.js'); }).then((m) => m.scopeCss(style, scopeId, false));
1381
+ style = await Promise.resolve().then(function () { return require('./shadow-css-cf936b02.js'); }).then((m) => m.scopeCss(style, scopeId, false));
1382
1382
  }
1383
1383
  registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1384
1384
  endRegisterStyles();
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
 
8
8
  const ku4CarouselControlsCss = ":host{position:relative;display:block}input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:20px;height:20px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}input[type=radio]:checked:after{content:\"\";position:absolute;top:2px;left:2px;width:14px;height:14px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;background-color:#333}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  const ku4CarouselSlideCss = ":host{overflow-x:hidden}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
  const index$2 = require('./index-5ea4489d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  const ku4ColCss = ":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  const ku4DrawerCss = ":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
 
8
8
  const Ku4Feature = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
  const index$2 = require('./index-5ea4489d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$2 = require('./index-2d850c25.js');
7
7
  const index$1 = require('./index-5ea4489d.js');
8
8
 
@@ -32,7 +32,13 @@ const Ku4Form = class {
32
32
  this.valid = this.isValid;
33
33
  this.invalid = !this.isValid;
34
34
  await index$2.Y(100)
35
- .then(() => this.host.querySelectorAll('ku4-validation[invalid]'))
35
+ .then(() => {
36
+ const children = [].slice.call(this.form.querySelectorAll('ku4-validation[invalid]'));
37
+ const attributed = [].slice.call(document.querySelectorAll(`[form="${this.form.id}"]`));
38
+ const formValidations = attributed.map(a => document.querySelector(`ku4-validation[invalid][for="${a.id}"]`));
39
+ const externalValidations = [].slice.call(document.querySelectorAll(`ku4-validation[invalid][form="${this.form.id}"]`));
40
+ return index$2.o(children.concat(formValidations).concat(externalValidations).filter(v => index$2.t.exists(v)));
41
+ })
36
42
  .then(invalid => this.didValidate.emit({ invalid }));
37
43
  return this.isValid;
38
44
  }
@@ -97,7 +103,11 @@ const Ku4Form = class {
97
103
  return this.host.querySelector('form');
98
104
  }
99
105
  get fields() {
100
- return [].slice.call(this.form.querySelectorAll('ku4-validation'));
106
+ const children = [].slice.call(this.form.querySelectorAll('ku4-validation'));
107
+ const attributed = [].slice.call(document.querySelectorAll(`[form="${this.form.id}"]`));
108
+ const formValidations = attributed.map(a => document.querySelector(`ku4-validation[for="${a.id}"]`));
109
+ const externalValidations = [].slice.call(document.querySelectorAll(`ku4-validation[form="${this.form.id}"]`));
110
+ return index$2.o(children.concat(formValidations).concat(externalValidations).filter(v => index$2.t.exists(v)));
101
111
  }
102
112
  handleReset() {
103
113
  this.isValid = true;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  const ku4GridCss = ":host{position:relative;display:block;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}@media only screen and (min-width: 1px){:host(.columns-xs-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-xs-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-xs-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-xs-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-xs-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-xs-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-xs-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-xs-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-xs-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-xs-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-xs-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-xs-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-xs-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-xs-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-xs-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-xs-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-xs-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-xs-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-xs-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-xs-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-xs-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-xs-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-xs-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-xs-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-xs-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-xs-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-xs-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-xs-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-xs-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-xs-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-xs-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-xs-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-xs-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-xs-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-xs, 6px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-xs, 6px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-xs, 6px)}}@media only screen and (min-width: 768px){:host(.columns-sm-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-sm-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-sm-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-sm-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-sm-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-sm-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-sm-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-sm-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-sm-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-sm-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-sm-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-sm-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-sm-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-sm-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-sm-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-sm-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-sm-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-sm-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-sm-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-sm-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-sm-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-sm-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-sm-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-sm-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-sm-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-sm-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-sm-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-sm-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-sm-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-sm-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-sm-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-sm-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-sm-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-sm-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-sm, 10px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-sm, 10px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-sm, 10px)}}@media only screen and (min-width: 992px){:host(.columns-md-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-md-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-md-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-md-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-md-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-md-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-md-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-md-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-md-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-md-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-md-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-md-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-md-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-md-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-md-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-md-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-md-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-md-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-md-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-md-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-md-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-md-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-md-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-md-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-md-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-md-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-md-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-md-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-md-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-md-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-md-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-md-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-md-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-md-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-md, 12px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-md, 12px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-md, 12px)}}@media only screen and (min-width: 1200px){:host(.columns-lg-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-lg-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-lg-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-lg-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-lg-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-lg-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-lg-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-lg-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-lg-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-lg-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-lg-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-lg-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-lg-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-lg-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-lg-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-lg-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-lg-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-lg-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-lg-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-lg-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-lg-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-lg-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-lg-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-lg-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-lg-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-lg-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-lg-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-lg-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-lg-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-lg-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-lg-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-lg-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-lg-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-lg-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-lg, 16px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-lg, 16px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-lg, 16px)}}::slotted(*){margin-left:var(--ku4-grid-column-gutter, 15px);margin-right:var(--ku4-grid-column-gutter, 15px)}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
 
8
8
  const ku4LabelCss = ":host{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;line-height:14px}::slotted(*){padding:6px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;font-size:18px;-webkit-appearance:none}label{position:absolute;display:var(--ku4-label-display, inline);top:var(--ku4-label-top, -6px);left:var(--ku4-label-left, 8px);padding:var(--ku4-label-padding, 0 4px);font-size:inherit;line-height:inherit;background-color:var(--ku4-label-background-color, inherit);color:inherit;z-index:1;white-space:nowrap;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}label.empty{opacity:0;-webkit-transition:all 0.1s ease;transition:all 0.1s ease}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
 
8
8
  const ku4MaskCss = ":host{display:none}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$2 = require('./index-2d850c25.js');
7
7
  const index$1 = require('./index-5ea4489d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  const ku4PanelCss = ":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:hidden}:host([open]){padding-top:inherit;padding-bottom:inherit}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
  const index$2 = require('./index-5ea4489d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-5ea4489d.js');
7
7
  const uid = require('./uid-04ee16aa.js');
8
8
  require('./index-2d850c25.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const uid = require('./uid-04ee16aa.js');
7
7
  require('./index-2d850c25.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const uid = require('./uid-04ee16aa.js');
7
7
  require('./index-2d850c25.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.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,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.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}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
  const index$1 = require('./index-2d850c25.js');
7
7
 
8
8
  /**
@@ -50,11 +50,15 @@ const Ku4Validation = class {
50
50
  * A reference to a named function or a function body that
51
51
  * define a validation criteria and return `true` when the
52
52
  * defined validation criteria are satisfied.
53
- * The function will be called with one argument, `value`,
54
- * that will contain the current value of the target field.
55
- * Example: method="return value === 'valid'", or
56
- * function validate(value) { return value === 'valid'; }
57
- * method="validate(value)"
53
+ * The function will be called with two arguments: `value`, `values`,
54
+ * that will contain the current "value" of the target field, and
55
+ * the current "values" of the entire form as an object whose
56
+ * keys are the names of each fields and whose values are the value
57
+ * of each of these fields having name "key".
58
+ * Example (html): method="return value === 'valid' && values.key === 'valid'", or
59
+ * function validate(value, values) { return value === 'valid' && values.key === 'valid'; }
60
+ * method="validate(value, values)".
61
+ * Example (Vue3): .method="validate"
58
62
  */
59
63
  this.method = '';
60
64
  const patterns = this.pattern.split(' ');
@@ -81,11 +85,11 @@ const Ku4Validation = class {
81
85
  async validate() {
82
86
  return await this.assert();
83
87
  }
84
- async handleInput() {
85
- (this.input.type === 'file' || index$1.t.isFalse(this.isValid)) && await this.assert();
88
+ async handleInput({ target }) {
89
+ (target.type === 'file' || index$1.t.isFalse(this.isValid)) && await this.assert();
86
90
  }
87
- async handleChange() {
88
- (this.input.type === 'file' || index$1.t.isFalse(this.isValid)) && await this.assert();
91
+ async handleChange({ target }) {
92
+ (target.type === 'file' || index$1.t.isFalse(this.isValid)) && await this.assert();
89
93
  }
90
94
  async handleBlur() {
91
95
  await this.assert();
@@ -93,36 +97,70 @@ const Ku4Validation = class {
93
97
  handleReset() {
94
98
  this.isValid = true;
95
99
  this.invalid = !this.isValid;
96
- this.input.setAttribute('aria-invalid', this.invalid);
100
+ this.input && this.input.setAttribute('aria-invalid', this.invalid);
97
101
  }
98
102
  async assert() {
99
- const { ele, validOptions, input, regex, checked } = this;
103
+ const { ele, validOptions, inputs, input, regex, checked } = this;
104
+ const previousIsValid = this.isValid;
100
105
  const values = await index$1.h.async(async () => await this.ku4Form.read(), {});
101
- if (input.type === 'file' && index$1.t.isNullOrEmpty(input.value)) {
102
- return;
106
+ if (!this.disabled) {
107
+ const assertInput = async (i) => {
108
+ if (i.type === 'file' && index$1.t.isNullOrEmpty(i.value)) {
109
+ return true;
110
+ }
111
+ const valid = index$1.t.isBool(checked)
112
+ ? i.checked === checked
113
+ : validate(regex, i.value, validOptions, ele) && await this.validationMethod(i.value, values);
114
+ i.setAttribute('aria-invalid', !valid);
115
+ return valid;
116
+ };
117
+ this.isValid = inputs
118
+ ? !(await Promise.all(inputs.map(i => assertInput(i)))).some(v => !v)
119
+ : input
120
+ ? await assertInput(input)
121
+ : true;
122
+ }
123
+ else {
124
+ this.isValid = true;
103
125
  }
104
- const previousIsValid = this.isValid;
105
- this.isValid = this.disabled
106
- ? true
107
- : index$1.t.isBool(checked)
108
- ? input.checked === checked
109
- : validate(regex, input.value, validOptions, ele) && await this.validationMethod(input.value, values);
110
- this.invalid = !this.isValid;
111
- input.setAttribute('aria-invalid', this.invalid);
112
126
  if (index$1.t.isFalse(previousIsValid) && this.isValid) {
113
127
  this.didValidate.emit(this.isValid);
114
128
  }
129
+ this.invalid = !this.isValid;
115
130
  return this.isValid;
116
131
  }
117
132
  componentWillLoad() {
118
- this.input = document.getElementById(this.for);
119
- if (index$1.t.exists(this.input)) {
120
- this.ele = document.getElementById(this.element) || document.querySelector(this.element);
121
- this.validOptions = index$1.t.exists(this.values)
122
- ? this.values.split(',')
123
- : (this.ele && this.ele.nodeName === 'DATALIST' &&
124
- [].slice.call(this.ele.querySelectorAll('option'))
125
- .map(option => option.value));
133
+ const ids = this.for.replace(/\s/g, '').replace(/,/g, ',#');
134
+ this.inputs = /,/.test(this.for) && Array.from(document.querySelectorAll(`#${ids}`));
135
+ this.input = !/,/.test(this.for) && document.getElementById(this.for);
136
+ this.ele = document.getElementById(this.element) || document.querySelector(this.element);
137
+ this.validOptions = index$1.t.exists(this.values)
138
+ ? this.values.split(',')
139
+ : (this.ele && this.ele.nodeName === 'DATALIST' &&
140
+ [].slice.call(this.ele.querySelectorAll('option'))
141
+ .map(option => option.value));
142
+ if (index$1.t.isFunction(this.host.closest)) {
143
+ this.ku4Form = this.host.closest('ku4-form');
144
+ this.form = this.host.closest('form');
145
+ if (this.form && this.form.addEventListener) {
146
+ this.form.addEventListener('reset', this.handleReset);
147
+ }
148
+ }
149
+ if (this.inputs) {
150
+ /**
151
+ * We "wait" to put this on the next event loop. This allows
152
+ * ku4-mask to be placed anywhere in the dom and not affect
153
+ * to workings of ku4-validation.
154
+ */
155
+ index$1.Y(0).then(() => {
156
+ this.inputs.forEach((input) => {
157
+ input.addEventListener('input', this.handleInput);
158
+ input.addEventListener('change', this.handleChange);
159
+ input.addEventListener('blur', this.handleBlur);
160
+ });
161
+ });
162
+ }
163
+ else if (this.input) {
126
164
  const describedby = this.input.getAttribute('aria-describedby');
127
165
  const id = this.host.getAttribute('id') || index$1.R.uid();
128
166
  this.host.setAttribute('id', id);
@@ -139,13 +177,6 @@ const Ku4Validation = class {
139
177
  this.input.addEventListener('change', this.handleChange);
140
178
  this.input.addEventListener('blur', this.handleBlur);
141
179
  });
142
- if (index$1.t.isFunction(this.host.closest)) {
143
- this.ku4Form = this.host.closest('ku4-form');
144
- this.form = this.host.closest('form');
145
- if (this.form && this.form.addEventListener) {
146
- this.form.addEventListener('reset', this.handleReset);
147
- }
148
- }
149
180
  }
150
181
  else {
151
182
  // eslint-disable-next-line no-console
@@ -153,6 +184,15 @@ const Ku4Validation = class {
153
184
  }
154
185
  }
155
186
  disconnectedCallback() {
187
+ if (this.inputs) {
188
+ this.inputs.forEach((input) => {
189
+ if (input && input.removeEventListener) {
190
+ input.removeEventListener('input', this.handleInput);
191
+ input.removeEventListener('change', this.handleChange);
192
+ input.removeEventListener('blur', this.handleBlur);
193
+ }
194
+ });
195
+ }
156
196
  if (this.input && this.input.removeEventListener) {
157
197
  this.input.removeEventListener('input', this.handleInput);
158
198
  this.input.removeEventListener('change', this.handleChange);
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-4ca7863f.js');
3
+ const index = require('./index-8b7230db.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.17.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.17.4 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  // @ts-ignore
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4ca7863f.js');
5
+ const index = require('./index-8b7230db.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.17.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.17.4 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /*
4
- Stencil Client Platform v2.17.3 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Platform v2.17.4 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  /**
7
7
  * @license
@@ -1356,7 +1356,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1356
1356
  if (!styles.has(scopeId)) {
1357
1357
  const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1358
1358
  if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
1359
- style = await import('./shadow-css-1257b266.js').then((m) => m.scopeCss(style, scopeId, false));
1359
+ style = await import('./shadow-css-4cd4480f.js').then((m) => m.scopeCss(style, scopeId, false));
1360
1360
  }
1361
1361
  registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1362
1362
  endRegisterStyles();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-21724a14.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-ed88cd9f.js';
2
2
  import { t } from './index-4dba724d.js';
3
3
 
4
4
  const ku4CarouselControlsCss = ":host{position:relative;display:block}input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:20px;height:20px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}input[type=radio]:checked:after{content:\"\";position:absolute;top:2px;left:2px;width:14px;height:14px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;background-color:#333}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-21724a14.js';
1
+ import { r as registerInstance, h, H as Host } from './index-ed88cd9f.js';
2
2
 
3
3
  const ku4CarouselSlideCss = ":host{overflow-x:hidden}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21724a14.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ed88cd9f.js';
2
2
  import { L, Y, c } from './index-4dba724d.js';
3
3
  import { S as Swipe } from './index-bb8d5d62.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-21724a14.js';
1
+ import { r as registerInstance, h, H as Host } from './index-ed88cd9f.js';
2
2
 
3
3
  const ku4ColCss = ":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-21724a14.js';
1
+ import { r as registerInstance, h, H as Host } from './index-ed88cd9f.js';
2
2
 
3
3
  const ku4DrawerCss = ":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement, H as Host } from './index-21724a14.js';
1
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-ed88cd9f.js';
2
2
  import { t } from './index-4dba724d.js';
3
3
 
4
4
  const Ku4Feature = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-21724a14.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-ed88cd9f.js';
2
2
  import { t, o } from './index-4dba724d.js';
3
3
  import { E as Event, K as Key } from './index-bb8d5d62.js';
4
4
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-21724a14.js';
2
- import { Y, t } from './index-4dba724d.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ed88cd9f.js';
2
+ import { Y, o, t } from './index-4dba724d.js';
3
3
  import { i as index } from './index-bb8d5d62.js';
4
4
 
5
5
  const Ku4Form = class {
@@ -28,7 +28,13 @@ const Ku4Form = class {
28
28
  this.valid = this.isValid;
29
29
  this.invalid = !this.isValid;
30
30
  await Y(100)
31
- .then(() => this.host.querySelectorAll('ku4-validation[invalid]'))
31
+ .then(() => {
32
+ const children = [].slice.call(this.form.querySelectorAll('ku4-validation[invalid]'));
33
+ const attributed = [].slice.call(document.querySelectorAll(`[form="${this.form.id}"]`));
34
+ const formValidations = attributed.map(a => document.querySelector(`ku4-validation[invalid][for="${a.id}"]`));
35
+ const externalValidations = [].slice.call(document.querySelectorAll(`ku4-validation[invalid][form="${this.form.id}"]`));
36
+ return o(children.concat(formValidations).concat(externalValidations).filter(v => t.exists(v)));
37
+ })
32
38
  .then(invalid => this.didValidate.emit({ invalid }));
33
39
  return this.isValid;
34
40
  }
@@ -93,7 +99,11 @@ const Ku4Form = class {
93
99
  return this.host.querySelector('form');
94
100
  }
95
101
  get fields() {
96
- return [].slice.call(this.form.querySelectorAll('ku4-validation'));
102
+ const children = [].slice.call(this.form.querySelectorAll('ku4-validation'));
103
+ const attributed = [].slice.call(document.querySelectorAll(`[form="${this.form.id}"]`));
104
+ const formValidations = attributed.map(a => document.querySelector(`ku4-validation[for="${a.id}"]`));
105
+ const externalValidations = [].slice.call(document.querySelectorAll(`ku4-validation[form="${this.form.id}"]`));
106
+ return o(children.concat(formValidations).concat(externalValidations).filter(v => t.exists(v)));
97
107
  }
98
108
  handleReset() {
99
109
  this.isValid = true;