bromcom-ui 2.7.37-rc.4-1 → 2.7.37-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/bromcom-ui/assets +0 -0
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/p-02c9c16a.entry.js +5 -0
  4. package/dist/bromcom-ui/{p-7b7caea1.entry.js → p-11d620de.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-7c8d47f6.entry.js → p-189b5173.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-0653fefc.entry.js → p-1a875728.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-a661a9d5.entry.js → p-1b88e052.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-e75fa6be.entry.js → p-254cab03.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-49c83e11.entry.js → p-27b4ba87.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-109d49c2.entry.js → p-29f356e7.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-2b051de8.js +5 -0
  12. package/dist/bromcom-ui/{p-6768e612.entry.js → p-2cd201f7.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-fef3003b.entry.js → p-2e014156.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-3190aa90.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-a677275e.entry.js → p-3481a5e3.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-a59a0361.entry.js → p-3510a7e0.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-11d54517.entry.js → p-37c9deed.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
  19. package/dist/bromcom-ui/{p-8513e734.entry.js → p-4eec6709.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
  21. package/dist/bromcom-ui/{p-2b3b55ef.entry.js → p-5b70c36e.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-47fa3046.entry.js → p-5cd69ba0.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-82ad3d24.entry.js → p-62fac97f.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-ad11bb72.entry.js → p-631d1c84.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-666a76bf.entry.js +5 -0
  26. package/dist/bromcom-ui/{p-31bc32d4.entry.js → p-6b349344.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-8255f60a.entry.js → p-6e873e3c.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-34f30b8b.entry.js → p-7ca81ac4.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-ce9f87de.entry.js → p-86978afe.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-99dc108e.entry.js → p-8900e0dd.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-2c3c7265.entry.js → p-9098c246.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-ab3f2735.entry.js → p-910675c4.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-3716c24c.entry.js → p-97c465cb.entry.js} +1 -1
  34. package/dist/bromcom-ui/p-9c6d453d.js +5 -0
  35. package/dist/bromcom-ui/{p-a98aecdf.entry.js → p-a08d69f0.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-7d119b6d.js → p-a1e67dd0.js} +1 -1
  37. package/dist/bromcom-ui/{p-a3ffcb0d.js → p-a8d1397d.js} +1 -1
  38. package/dist/bromcom-ui/{p-b1d1cdb0.entry.js → p-acfa0500.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-1507f99a.entry.js → p-ad9303de.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-78d48636.entry.js → p-adc35e17.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-ae18981d.entry.js +5 -0
  42. package/dist/bromcom-ui/{p-d9fb53c9.entry.js → p-b4e2c796.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-ea15e1f4.entry.js → p-bc1a3c72.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-1672aa8b.js → p-bd06379a.js} +1 -1
  45. package/dist/bromcom-ui/p-c2376511.js +5 -0
  46. package/dist/bromcom-ui/{p-609bc368.entry.js → p-c4988d92.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-577cf8e3.js → p-c61552b3.js} +1 -1
  48. package/dist/bromcom-ui/{p-f9b0e4d2.entry.js → p-d01dba43.entry.js} +1 -1
  49. package/dist/bromcom-ui/p-d10f3a58.entry.js +5 -0
  50. package/dist/bromcom-ui/{p-9efe118a.entry.js → p-d11d1f5a.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-6a3c1fb9.entry.js → p-d4ad2dc7.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-b9421650.entry.js → p-d50137fe.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-9e8eb647.entry.js → p-d82d5d13.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-2b91dab0.entry.js → p-de4e1e66.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-db7c75ac.entry.js → p-de5a1c78.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-27f0db71.js → p-e3cd7a81.js} +1 -1
  57. package/dist/bromcom-ui/{p-dbb106a4.entry.js → p-e9f81882.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-087d371a.entry.js → p-ef8220de.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-7df25164.entry.js → p-f0f04873.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-a04909f2.entry.js → p-f1aae0d3.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-76153673.entry.js → p-f75f16d3.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-cd638c37.entry.js → p-f8bfcf16.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-fda9a21b.entry.js → p-faebba4a.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-65dcaa9e.entry.js → p-fe9e8096.entry.js} +1 -1
  65. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  66. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  68. package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
  69. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  70. package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
  71. package/dist/cjs/bcm-button_7.cjs.entry.js +2424 -0
  72. package/dist/cjs/bcm-card.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
  74. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
  75. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +1 -1
  76. package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
  77. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  78. package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
  79. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  80. package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
  81. package/dist/cjs/bcm-dropdown.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
  83. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  84. package/dist/cjs/bcm-form.cjs.entry.js +486 -0
  85. package/dist/cjs/bcm-input.cjs.entry.js +4 -4
  86. package/dist/cjs/bcm-item.cjs.entry.js +1 -1
  87. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  88. package/dist/cjs/bcm-linked.cjs.entry.js +3 -3
  89. package/dist/cjs/bcm-list.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
  91. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  92. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  93. package/dist/cjs/bcm-popover.cjs.entry.js +5 -4
  94. package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
  95. package/dist/cjs/bcm-radio-group.cjs.entry.js +1 -1
  96. package/dist/cjs/bcm-radio.cjs.entry.js +1 -1
  97. package/dist/cjs/bcm-range.cjs.entry.js +1 -1
  98. package/dist/cjs/bcm-search.cjs.entry.js +3 -3
  99. package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
  100. package/dist/cjs/bcm-step.cjs.entry.js +10 -3
  101. package/dist/cjs/bcm-stepper.cjs.entry.js +13 -5
  102. package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
  103. package/dist/cjs/bcm-tab-group.cjs.entry.js +1 -1
  104. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  105. package/dist/cjs/bcm-textarea.cjs.entry.js +2 -2
  106. package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
  107. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  108. package/dist/cjs/{generate-9444aa87.js → generate-a4ae25cc.js} +1 -1
  109. package/dist/cjs/{input-template-623d767d.js → input-template-b98dc440.js} +1 -1
  110. package/dist/cjs/{json-parse-decarator-e39af071.js → json-parse-decarator-2576b45e.js} +1 -1
  111. package/dist/cjs/loader.cjs.js +1 -1
  112. package/dist/cjs/{number-helper-ba5aa459.js → number-helper-67ecf943.js} +1 -1
  113. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
  114. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  115. package/dist/cjs/{stepper-states-46c5f64b.js → stepper-states-3a22d53a.js} +1 -1
  116. package/dist/cjs/{tooltip-helper-5442af2e.js → tooltip-helper-13ceba6c.js} +5 -4
  117. package/dist/cjs/{validators-e45ced35.js → validators-e2724166.js} +1 -1
  118. package/dist/collection/assets +0 -0
  119. package/dist/collection/components/molecules/modal/modal.js +7 -4
  120. package/dist/collection/components/molecules/stepper/step.js +9 -0
  121. package/dist/collection/components/molecules/stepper/stepper.js +10 -2
  122. package/dist/collection/components/organism/list/list.js +6 -0
  123. package/dist/collection/helper/popover-helper.js +2 -1
  124. package/dist/collection/helper/tooltip-helper.js +2 -1
  125. package/dist/components/bcm-list.js +1 -1
  126. package/dist/components/bcm-modal.js +6 -3
  127. package/dist/components/bcm-popover.js +2 -1
  128. package/dist/components/bcm-stepper.js +10 -2
  129. package/dist/components/generate.js +1 -1
  130. package/dist/components/step.js +8 -1
  131. package/dist/components/tooltip-helper.js +2 -1
  132. package/dist/esm/bcm-accordion.entry.js +1 -1
  133. package/dist/esm/bcm-alert.entry.js +1 -1
  134. package/dist/esm/bcm-attendance.entry.js +2 -2
  135. package/dist/esm/bcm-avatar_2.entry.js +6 -6
  136. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  137. package/dist/esm/bcm-button-group.entry.js +1 -1
  138. package/dist/esm/bcm-button_7.entry.js +2414 -0
  139. package/dist/esm/bcm-card.entry.js +3 -3
  140. package/dist/esm/bcm-checkbox-group.entry.js +2 -2
  141. package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
  142. package/dist/esm/bcm-checkbox_2.entry.js +3 -3
  143. package/dist/esm/bcm-chip.entry.js +3 -3
  144. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  145. package/dist/esm/bcm-collapse.entry.js +1 -1
  146. package/dist/esm/bcm-colorpicker.entry.js +2 -2
  147. package/dist/esm/bcm-date-picker.entry.js +2 -2
  148. package/dist/esm/bcm-default.entry.js +1 -1
  149. package/dist/esm/bcm-drawer.entry.js +6 -6
  150. package/dist/esm/bcm-dropdown.entry.js +2 -2
  151. package/dist/esm/bcm-expansion-panel.entry.js +3 -3
  152. package/dist/esm/bcm-form-2.entry.js +1 -1
  153. package/dist/esm/bcm-form.entry.js +482 -0
  154. package/dist/esm/bcm-input.entry.js +5 -5
  155. package/dist/esm/bcm-item.entry.js +3 -3
  156. package/dist/esm/bcm-items.entry.js +1 -1
  157. package/dist/esm/bcm-linked.entry.js +6 -6
  158. package/dist/esm/bcm-list.entry.js +8 -8
  159. package/dist/esm/bcm-menu.entry.js +8 -8
  160. package/dist/esm/bcm-old-tag_2.entry.js +1 -1
  161. package/dist/esm/bcm-popconfirm-box.entry.js +3 -3
  162. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  163. package/dist/esm/bcm-popover.entry.js +8 -7
  164. package/dist/esm/bcm-progress.entry.js +3 -3
  165. package/dist/esm/bcm-radio-group.entry.js +2 -2
  166. package/dist/esm/bcm-radio.entry.js +3 -3
  167. package/dist/esm/bcm-range.entry.js +2 -2
  168. package/dist/esm/bcm-search.entry.js +4 -4
  169. package/dist/esm/bcm-select.entry.js +1 -1
  170. package/dist/esm/bcm-skeleton.entry.js +1 -1
  171. package/dist/esm/bcm-step.entry.js +10 -3
  172. package/dist/esm/bcm-stepper.entry.js +14 -6
  173. package/dist/esm/bcm-switch.entry.js +2 -2
  174. package/dist/esm/bcm-tab-group.entry.js +1 -1
  175. package/dist/esm/bcm-table.entry.js +1 -1
  176. package/dist/esm/bcm-tabs-content.entry.js +1 -1
  177. package/dist/esm/bcm-tabs.entry.js +1 -1
  178. package/dist/esm/bcm-tag.entry.js +3 -3
  179. package/dist/esm/bcm-text.entry.js +2 -2
  180. package/dist/esm/bcm-textarea.entry.js +3 -3
  181. package/dist/esm/bcm-time-picker.entry.js +2 -2
  182. package/dist/esm/bromcom-ui.js +1 -1
  183. package/dist/esm/{color-helper-7e202fd8.js → color-helper-b5e9aa56.js} +1 -1
  184. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
  185. package/dist/esm/{generate-d57a5f95.js → generate-536da0b1.js} +1 -1
  186. package/dist/esm/{input-template-2044f4f6.js → input-template-eb5a3532.js} +1 -1
  187. package/dist/esm/{json-parse-decarator-50541a21.js → json-parse-decarator-07ac101b.js} +1 -1
  188. package/dist/esm/loader.js +1 -1
  189. package/dist/esm/{number-helper-75d21178.js → number-helper-1e4205c0.js} +1 -1
  190. package/dist/esm/old-bcm-popover-box.entry.js +4 -4
  191. package/dist/esm/old-bcm-popover.entry.js +1 -1
  192. package/dist/esm/{stepper-states-9f66e2b4.js → stepper-states-69f3eb9f.js} +1 -1
  193. package/dist/esm/{tooltip-helper-bed79484.js → tooltip-helper-ee09e2cf.js} +7 -6
  194. package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
  195. package/dist/esm/{validators-6af629b4.js → validators-05f59402.js} +1 -1
  196. package/dist/types/components/molecules/modal/modal.d.ts +1 -0
  197. package/dist/types/components/molecules/stepper/step.d.ts +1 -0
  198. package/package.json +1 -1
  199. package/dist/bromcom-ui/p-00f2b559.entry.js +0 -5
  200. package/dist/bromcom-ui/p-034cd518.js +0 -5
  201. package/dist/bromcom-ui/p-2b27570e.entry.js +0 -5
  202. package/dist/bromcom-ui/p-30806ec7.js +0 -5
  203. package/dist/bromcom-ui/p-55cce901.entry.js +0 -5
  204. package/dist/bromcom-ui/p-6c12e5dd.entry.js +0 -5
  205. package/dist/bromcom-ui/p-85d1183b.entry.js +0 -5
  206. package/dist/bromcom-ui/p-b9983e4b.entry.js +0 -5
  207. package/dist/bromcom-ui/p-d18c5524.entry.js +0 -5
  208. package/dist/bromcom-ui/p-ea9c10c3.js +0 -5
  209. package/dist/cjs/bcm-button_4.cjs.entry.js +0 -997
  210. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1432
  211. package/dist/cjs/bcm-label_2.cjs.entry.js +0 -119
  212. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -398
  213. package/dist/esm/bcm-button_4.entry.js +0 -990
  214. package/dist/esm/bcm-datetime-picker.entry.js +0 -1428
  215. package/dist/esm/bcm-label_2.entry.js +0 -114
  216. package/dist/esm/bcm-old-input.entry.js +0 -394
@@ -10,7 +10,7 @@ const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
11
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
12
  const colorHelper = require('./color-helper-c9882bd8.js');
13
- const generate = require('./generate-9444aa87.js');
13
+ const generate = require('./generate-a4ae25cc.js');
14
14
  const stringHelper = require('./string-helper-df40a475.js');
15
15
  const slotTemplate = require('./slot-template-2ff0d22a.js');
16
16
  require('./_commonjsHelpers-bd20f4c0.js');
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index$1 = require('./index-9d98aa56.js');
10
10
  const index$2 = require('./index-a2b50e51.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
  const bcm = require('./bcm-2c51bf0c.js');
13
13
  const utils = require('./utils-fc077139.js');
14
14
  const index = require('./index-f8547ecd.js');
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
  const bcm = require('./bcm-2c51bf0c.js');
13
13
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
14
14
  const utils = require('./utils-fc077139.js');
@@ -9,7 +9,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
11
  const captionTemplate = require('./caption-template-954d34bc.js');
12
- const generate = require('./generate-9444aa87.js');
12
+ const generate = require('./generate-a4ae25cc.js');
13
13
  const slotTemplate = require('./slot-template-2ff0d22a.js');
14
14
  const bcm = require('./bcm-2c51bf0c.js');
15
15
  const utils = require('./utils-fc077139.js');
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
  const index$1 = require('./index-a2b50e51.js');
13
13
  const colorHelper = require('./color-helper-c9882bd8.js');
14
14
  require('./_commonjsHelpers-bd20f4c0.js');
@@ -9,7 +9,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
11
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
- const generate = require('./generate-9444aa87.js');
12
+ const generate = require('./generate-a4ae25cc.js');
13
13
  require('./_commonjsHelpers-bd20f4c0.js');
14
14
 
15
15
  const collapseCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8)}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}";
@@ -10,7 +10,7 @@ const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
11
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
12
  const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
13
- const generate = require('./generate-9444aa87.js');
13
+ const generate = require('./generate-a4ae25cc.js');
14
14
  const bcm = require('./bcm-2c51bf0c.js');
15
15
  const utils = require('./utils-fc077139.js');
16
16
  require('./_commonjsHelpers-bd20f4c0.js');
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
 
13
13
  const defaultCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}";
14
14
 
@@ -11,10 +11,10 @@ const isLoadDecorator = require('./is-load-decorator-65755a67.js');
11
11
  const propertyDecorators = require('./property-decorators-cb2155ed.js');
12
12
  require('./color-helper-c9882bd8.js');
13
13
  require('./datetime-helper-eaf4fadb.js');
14
- const generate = require('./generate-9444aa87.js');
15
- require('./number-helper-ba5aa459.js');
14
+ const generate = require('./generate-a4ae25cc.js');
15
+ require('./number-helper-67ecf943.js');
16
16
  require('./string-helper-df40a475.js');
17
- require('./validators-e45ced35.js');
17
+ require('./validators-e2724166.js');
18
18
  require('./element-dragger-a8562f82.js');
19
19
  const bcm = require('./bcm-2c51bf0c.js');
20
20
  const index$1 = require('./index-a2b50e51.js');
@@ -9,8 +9,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const index$1 = require('./index-a2b50e51.js');
11
11
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
- const jsonParseDecarator = require('./json-parse-decarator-e39af071.js');
13
- const generate = require('./generate-9444aa87.js');
12
+ const jsonParseDecarator = require('./json-parse-decarator-2576b45e.js');
13
+ const generate = require('./generate-a4ae25cc.js');
14
14
  const bcm = require('./bcm-2c51bf0c.js');
15
15
  require('./_commonjsHelpers-bd20f4c0.js');
16
16
 
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
  const index$1 = require('./index-a2b50e51.js');
13
13
  const stringHelper = require('./string-helper-df40a475.js');
14
14
  const colorHelper = require('./color-helper-c9882bd8.js');
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
10
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
11
- const generate = require('./generate-9444aa87.js');
11
+ const generate = require('./generate-a4ae25cc.js');
12
12
  const stringHelper = require('./string-helper-df40a475.js');
13
13
  const bcm = require('./bcm-2c51bf0c.js');
14
14
  require('./_commonjsHelpers-bd20f4c0.js');
@@ -0,0 +1,486 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ 'use strict';
6
+
7
+ Object.defineProperty(exports, '__esModule', { value: true });
8
+
9
+ const index = require('./index-9d98aa56.js');
10
+ const index$1 = require('./index-a2b50e51.js');
11
+ const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
+ const stringHelper = require('./string-helper-df40a475.js');
13
+ const utils = require('./utils-fc077139.js');
14
+ require('./_commonjsHelpers-bd20f4c0.js');
15
+ require('./bcm-2c51bf0c.js');
16
+
17
+ // /**
18
+ // *
19
+ // * @param type
20
+ // */
21
+ // export const required = (value:any) => {
22
+ // if ( value || value != null ) {
23
+ // return true
24
+ // } else {
25
+ // return true
26
+ // }
27
+ // }
28
+ class rules {
29
+ constructor() { }
30
+ response(status, message) {
31
+ return Object.assign(Object.assign({ valid: status }, (message && { message })), (!status && { type: 'error' }));
32
+ }
33
+ required(value, componentValidation) {
34
+ let validation = this.response(true);
35
+ if (value == '' || value == "" || value == undefined || value == null || value === false) {
36
+ validation = this.response(false, 'This field is required.');
37
+ }
38
+ if (componentValidation) {
39
+ if (!componentValidation.valid) {
40
+ validation = this.response(false, componentValidation.errorText);
41
+ }
42
+ if (value instanceof Object) {
43
+ if (value.isValid) {
44
+ if (value.isValid == false)
45
+ validation = this.response(false, 'This field is required.');
46
+ }
47
+ }
48
+ }
49
+ return validation;
50
+ }
51
+ selfValidation(input) {
52
+ let validation = this.response(true);
53
+ if (input.captionError != null || input.captionType == 'error') {
54
+ validation = this.response(false, input.captionError);
55
+ }
56
+ return validation;
57
+ }
58
+ }
59
+ const validate = new rules;
60
+
61
+ const formCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block;margin-bottom:8px}:host(.hidden){display:none}";
62
+
63
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
64
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
65
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
66
+ r = Reflect.decorate(decorators, target, key, desc);
67
+ else
68
+ for (var i = decorators.length - 1; i >= 0; i--)
69
+ if (d = decorators[i])
70
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
71
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
72
+ };
73
+ const BcmForm = class {
74
+ constructor(hostRef) {
75
+ index.registerInstance(this, hostRef);
76
+ this.bcmForm = index.createEvent(this, "bcm-form", 7);
77
+ this.formData = {};
78
+ this.inputs = [];
79
+ this.duplicateInput = [];
80
+ this.isValid = true;
81
+ this.returnCaption = [];
82
+ this.Bromcom = {
83
+ errors: {
84
+ targetFormNotExist: 'target form is not exist --> ',
85
+ },
86
+ inputComponents: {
87
+ // Birbirinin aynısı
88
+ INPUT: 'input',
89
+ TEXTAREA: 'textarea',
90
+ //çok benzer
91
+ SWITCH: 'switch',
92
+ CHECKBOX: 'checkbox',
93
+ RADIO_GROUP: 'radio-group',
94
+ CHECKBOX_GROUP: 'checkbox-group',
95
+ RANGE: 'range',
96
+ // sadece value fırlatıyor
97
+ FORM: 'form',
98
+ FORM_GROUP: 'form-group',
99
+ // *En vakit alacak => içinde select, autocomplete, listbox, treeview özellikleri var
100
+ LIST: 'list',
101
+ //
102
+ COLORPICKER: 'colorpicker',
103
+ // picker aslında tek komponent hepsi datetimepicker
104
+ DATE_PICKER: 'date-picker',
105
+ TIME_PICKER: 'time-picker',
106
+ DATETIME_PICKER: 'datetime-picker',
107
+ // silinecek komponentler
108
+ SELECT: 'select',
109
+ LISTBOX: 'listbox'
110
+ },
111
+ helpers: {
112
+ randomId: function () {
113
+ return Math.random().toString(16).slice(2, -1);
114
+ },
115
+ },
116
+ };
117
+ this._id = (Math.random() * 4).toString(16).replace('.', '');
118
+ this.hidden = false;
119
+ this.validation = false;
120
+ this.name = "";
121
+ this.autocomplete = false;
122
+ }
123
+ handleSubmit() {
124
+ // if (lowercase(e.target.nodeName) === 'bcm-button') {
125
+ // if (e.target.type === 'submit') {
126
+ // this.submitFunction()
127
+ // }
128
+ // }
129
+ }
130
+ async submitFunction() {
131
+ this.formData = {};
132
+ this.inputs = [];
133
+ this.selector = this.el;
134
+ await this.getInputs();
135
+ await utils.delay(10);
136
+ const usrFrmData = await this.userFormData();
137
+ var formData = { isValid: true, formData: usrFrmData };
138
+ if (this.name) {
139
+ formData = Object.assign(Object.assign({}, formData), { formName: this.name });
140
+ }
141
+ if (this.isValid) {
142
+ this.bcmForm.emit(formData);
143
+ return formData;
144
+ }
145
+ else {
146
+ this.returnCaption = { isValid: false, 'message': 'Please fill in all inputs', 'errorDetails': this.returnCaption, formData: usrFrmData };
147
+ if (this.name) {
148
+ this.returnCaption = Object.assign(Object.assign({}, this.returnCaption), { formName: this.name });
149
+ }
150
+ this.bcmForm.emit(this.returnCaption);
151
+ return this.returnCaption;
152
+ }
153
+ }
154
+ async submit() {
155
+ return Promise.resolve(this.submitFunction());
156
+ }
157
+ async set(data) {
158
+ var _a;
159
+ const validate = this.validation;
160
+ this.validation = false;
161
+ // debugger
162
+ this.selector = this.el;
163
+ await this.getInputs();
164
+ if (data && ((_a = this.inputs) === null || _a === void 0 ? void 0 : _a.length) > 0) {
165
+ for (const key of Object.keys(data)) {
166
+ const item = this.inputs.find(item => item.name === key);
167
+ if (item) {
168
+ try {
169
+ await item.set(data[key]);
170
+ }
171
+ catch (error) {
172
+ console.log(item.nodeName, "set", error);
173
+ }
174
+ }
175
+ }
176
+ }
177
+ this.validation = validate;
178
+ }
179
+ async get() {
180
+ var _a;
181
+ let formData = {};
182
+ this.selector = this.el;
183
+ const inputsCache = this.inputs;
184
+ await this.getInputs();
185
+ ((_a = this.inputs) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.inputs.forEach(async (item) => {
186
+ try {
187
+ const value = await item.get();
188
+ formData = Object.assign(Object.assign({}, formData), { [item.name]: value });
189
+ }
190
+ catch (error) {
191
+ console.log(`${item.nodeName} get error`);
192
+ }
193
+ });
194
+ this.inputs = inputsCache;
195
+ await utils.delay(10);
196
+ return Promise.resolve(formData);
197
+ }
198
+ async setClear() {
199
+ this.formData = {};
200
+ this.inputs = [];
201
+ this.selector = this.el;
202
+ let clear = [];
203
+ await this.getInputs();
204
+ this.inputs.forEach(async (item) => {
205
+ try {
206
+ clear.push(await item.setClear());
207
+ }
208
+ catch (error) {
209
+ console.log(error);
210
+ }
211
+ });
212
+ await Promise.all(clear).then(() => {
213
+ this.formData = {};
214
+ this.inputs = [];
215
+ this.duplicateInput = [];
216
+ this.isValid = true;
217
+ this.returnCaption = [];
218
+ });
219
+ await utils.delay(10);
220
+ return Promise.resolve(true);
221
+ }
222
+ async resetCaption() {
223
+ await utils.delay(10);
224
+ this.formData = {};
225
+ this.inputs = [];
226
+ this.selector = this.el;
227
+ await this.getInputs();
228
+ for (const item of this.inputs) {
229
+ try {
230
+ await item.resetCaption();
231
+ }
232
+ catch (error) {
233
+ console.log(item.nodeName, "rc p");
234
+ }
235
+ }
236
+ await utils.delay(10);
237
+ return Promise.resolve();
238
+ }
239
+ async config(_config) {
240
+ if (_config['validation']) {
241
+ typeof _config['validation'] == 'boolean'
242
+ ? this.validation = _config['validation']
243
+ : this.validation = false;
244
+ }
245
+ return true;
246
+ }
247
+ async getInputs() {
248
+ var form = this.selector;
249
+ if (!form) {
250
+ console.warn(this.Bromcom.errors.targetFormNotExist + this.selector);
251
+ return;
252
+ }
253
+ const inputs = Array.from(form.querySelectorAll('bcm-' + Object.values(this.Bromcom.inputComponents).join(',bcm-')));
254
+ this.duplicateInput = [];
255
+ // s-hn: Stencil private flag that contains host web component
256
+ // https://github.com/ionic-team/stencil/blob/45388e95edb46ef357eb9ae37cd32bbb5bc1ed23/src/runtime/vdom/vdom-render.ts#L116
257
+ const rootInputs = inputs.filter((input) => { var _a; return !input['s-hn'] || ((_a = input['s-hn']) === null || _a === void 0 ? void 0 : _a.nodeName) !== 'BcmForm'; });
258
+ // debugger;
259
+ for (const item of rootInputs) {
260
+ if (stringHelper.StringHelper.lowercase(item.nodeName) == "bcm-checkbox-group") {
261
+ let checkboxs = item.querySelectorAll("bcm-checkbox");
262
+ if (checkboxs) {
263
+ for (const checkbox of checkboxs) {
264
+ this.duplicateInput.push(checkbox.name);
265
+ }
266
+ }
267
+ }
268
+ if (stringHelper.StringHelper.lowercase(item.nodeName) == "bcm-form") {
269
+ const groupInputs = Array.from(item.querySelectorAll('bcm-' + Object.values(this.Bromcom.inputComponents).join(',bcm-')));
270
+ let itemObject = {};
271
+ for (const element of groupInputs) {
272
+ var name = element.name;
273
+ var value = element.value;
274
+ itemObject = Object.assign(Object.assign({}, itemObject), { [name]: value });
275
+ this.duplicateInput.push(element.name);
276
+ }
277
+ item.value = itemObject;
278
+ let checkboxs = item.querySelectorAll("bcm-checkbox");
279
+ if (checkboxs) {
280
+ for (const checkbox of checkboxs) {
281
+ this.duplicateInput.push(checkbox.name);
282
+ }
283
+ }
284
+ }
285
+ }
286
+ await utils.delay(10);
287
+ this.inputs = rootInputs;
288
+ }
289
+ getItemValue(item) {
290
+ const tagName = item.tagName.toLowerCase().replace('bcm-', '');
291
+ switch (tagName) {
292
+ /* case 'date-picker':
293
+ case 'datetime-picker':
294
+ return item.value.timestamp
295
+ case 'time-picker':
296
+ return item.value.time */
297
+ default:
298
+ return item.value;
299
+ }
300
+ }
301
+ isWrapperComponent(item) {
302
+ return ['bcm-datetime-picker', 'bcm-date-picker', 'bcm-time-picker'].includes(item.toLowerCase());
303
+ }
304
+ isGroupComponent(item) {
305
+ return ['bcm-checkbox-group'].includes(item.toLowerCase());
306
+ }
307
+ isListComponent(item) {
308
+ return ['bcm-list'].includes(item.toLowerCase());
309
+ }
310
+ async userFormData() {
311
+ this.formData = {};
312
+ this.isValid = true;
313
+ this.returnCaption = [];
314
+ for (const item of this.inputs) {
315
+ // const isListComponent = this.isListComponent(item.tagName);
316
+ const isGroupComponent = this.isGroupComponent(item.tagName);
317
+ const isWrapperComponent = this.isWrapperComponent(item.tagName);
318
+ const wrapperComponent = isWrapperComponent && item;
319
+ const input = isWrapperComponent
320
+ ? await item.getInput() && item
321
+ : item;
322
+ // input.caption = ''
323
+ // input.captionType = ''
324
+ if (this.validation) {
325
+ let valid = null;
326
+ // if (isListComponent) {
327
+ // valid = !(input.value && input.value.length > 0) && validate.required(input.value)
328
+ // } else
329
+ if (isWrapperComponent) {
330
+ const isPickerValid = await wrapperComponent.isValid();
331
+ valid = validate.required(input.value, isPickerValid);
332
+ if (valid) {
333
+ if (input.value instanceof Object) {
334
+ if (input.value["isValid"] == false) {
335
+ valid = validate.required("", isPickerValid);
336
+ }
337
+ }
338
+ else {
339
+ valid = validate.required(input.value, isPickerValid);
340
+ }
341
+ }
342
+ }
343
+ else if (isGroupComponent) {
344
+ const childsCheckbox = utils.getChildElements(input, 'bcm-checkbox:not(#bcm-indeterminate-element)');
345
+ if (childsCheckbox && childsCheckbox.length > 0) {
346
+ for (const element of childsCheckbox) {
347
+ if (element && element.required === true) {
348
+ valid = validate.required(element.checked);
349
+ if (!valid['valid']) {
350
+ element.noCaption = false;
351
+ element.captionError = valid['message'];
352
+ element.captionType = valid['type'];
353
+ }
354
+ else {
355
+ element.noCaption = input.noCaption;
356
+ element.captionError = null;
357
+ element.captionType = "default";
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ else {
364
+ valid = validate.required(input.value);
365
+ }
366
+ if (input.required) {
367
+ if (!valid['valid']) {
368
+ input.captionError = valid['message'];
369
+ input.captionType = valid['type'];
370
+ }
371
+ else {
372
+ input.captionError = null;
373
+ input.captionType = "default";
374
+ }
375
+ await utils.delay(10);
376
+ const selfValidation = validate.selfValidation(input);
377
+ if (valid['valid']) {
378
+ if (!selfValidation['valid']) {
379
+ input.captionError = selfValidation['message'];
380
+ input.captionType = selfValidation['type'];
381
+ }
382
+ }
383
+ }
384
+ let name = input.name;
385
+ let value = input.captionError;
386
+ !input.hidden && input.captionType == 'error' && (this.returnCaption = [...Array.from(this.returnCaption), { [name]: value }],
387
+ this.isValid = false);
388
+ }
389
+ if (input.name && !this.duplicateInput.includes(input.name)) {
390
+ var itemValue = this.getItemValue(input);
391
+ if (!itemValue || itemValue == undefined || itemValue == null) {
392
+ itemValue = null;
393
+ }
394
+ this.formData[input.name] = itemValue;
395
+ }
396
+ }
397
+ return this.formData;
398
+ }
399
+ async handleChange(e) {
400
+ const isWrapperComponent = this.isWrapperComponent(e.target.tagName);
401
+ const isGroupComponent = this.isGroupComponent(e.target.tagName);
402
+ let target;
403
+ if (isWrapperComponent) {
404
+ target = e.target.getInput && await e.target.getInput() || e.target;
405
+ }
406
+ else if (isGroupComponent) {
407
+ let req = false;
408
+ const childsCheckbox = utils.getChildElements(e.target, 'bcm-checkbox:not(#bcm-indeterminate-element)');
409
+ childsCheckbox.length > 0 && (childsCheckbox.forEach((element) => {
410
+ if (element && element.required === true) {
411
+ req = true;
412
+ }
413
+ }));
414
+ target = Object.assign(Object.assign({}, e.target), { required: req });
415
+ }
416
+ else {
417
+ target = e.target;
418
+ }
419
+ const value = e.target.value;
420
+ const wrapperComponent = isWrapperComponent && e.target;
421
+ var isPickerValid;
422
+ if (isWrapperComponent) {
423
+ isPickerValid = await wrapperComponent.isValid();
424
+ }
425
+ const tick = setTimeout(() => {
426
+ if (target.required) {
427
+ let valid = null;
428
+ if (isWrapperComponent) {
429
+ valid = validate.required(value, isPickerValid);
430
+ if (valid) {
431
+ if (value instanceof Object) {
432
+ if (value["isValid"] == false) {
433
+ valid = validate.required("", isPickerValid);
434
+ }
435
+ }
436
+ else {
437
+ valid = validate.required(value, isPickerValid);
438
+ }
439
+ }
440
+ }
441
+ else if (isGroupComponent) {
442
+ const childsCheckbox = utils.getChildElements(e.target, 'bcm-checkbox:not(#bcm-indeterminate-element)');
443
+ childsCheckbox.length > 0 && (childsCheckbox.forEach((element) => {
444
+ if (element && element.required === true) {
445
+ valid = validate.required(element.checked);
446
+ if (!valid['valid']) {
447
+ element.noCaption = false;
448
+ element.captionError = valid['message'];
449
+ element.captionType = valid['type'];
450
+ }
451
+ else {
452
+ element.noCaption = e.target.noCaption;
453
+ element.captionError = null;
454
+ element.captionType = "default";
455
+ }
456
+ }
457
+ }));
458
+ }
459
+ else {
460
+ valid = validate.required(value);
461
+ }
462
+ if (valid['valid']) {
463
+ target.captionError = null;
464
+ target.captionType = null;
465
+ }
466
+ else {
467
+ target.captionError = valid['message'];
468
+ target.captionType = valid['type'];
469
+ }
470
+ }
471
+ clearTimeout(tick);
472
+ });
473
+ this.value = await this.userFormData();
474
+ }
475
+ render() {
476
+ const hostClasses = index$1.classnames(this.hidden ? 'hidden' : null);
477
+ return (index.h(index.Host, { class: hostClasses, tabindex: "-1" }, index.h("form", { class: "bcm-form", autocomplete: this.autocomplete ? "on" : "off", tabindex: "-1" }, index.h("slot", null))));
478
+ }
479
+ get el() { return index.getElement(this); }
480
+ };
481
+ __decorate([
482
+ isLoadDecorator.IsLoad()
483
+ ], BcmForm.prototype, "el", void 0);
484
+ BcmForm.style = formCss;
485
+
486
+ exports.bcm_form = BcmForm;
@@ -7,13 +7,13 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
- const generate = require('./generate-9444aa87.js');
11
- const numberHelper = require('./number-helper-ba5aa459.js');
10
+ const generate = require('./generate-a4ae25cc.js');
11
+ const numberHelper = require('./number-helper-67ecf943.js');
12
12
  const stringHelper = require('./string-helper-df40a475.js');
13
- const validators = require('./validators-e45ced35.js');
13
+ const validators = require('./validators-e2724166.js');
14
14
  const bcm = require('./bcm-2c51bf0c.js');
15
15
  const captionTemplate = require('./caption-template-954d34bc.js');
16
- const inputTemplate = require('./input-template-623d767d.js');
16
+ const inputTemplate = require('./input-template-b98dc440.js');
17
17
  const index$1 = require('./index-a2b50e51.js');
18
18
  const utils = require('./utils-fc077139.js');
19
19
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
- const generate = require('./generate-9444aa87.js');
10
+ const generate = require('./generate-a4ae25cc.js');
11
11
  const bcm = require('./bcm-2c51bf0c.js');
12
12
  const index$1 = require('./index-a2b50e51.js');
13
13
  const colorHelper = require('./color-helper-c9882bd8.js');
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-9d98aa56.js');
10
- const generate = require('./generate-9444aa87.js');
10
+ const generate = require('./generate-a4ae25cc.js');
11
11
  const isLoadDecorator = require('./is-load-decorator-65755a67.js');
12
12
  const stringHelper = require('./string-helper-df40a475.js');
13
13
  require('./bcm-2c51bf0c.js');