bromcom-ui 2.10.1-rc.5 → 2.10.1-rc.7

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 (202) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-1adea060.entry.js → p-019761a4.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-b15ceedc.entry.js → p-0399256b.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-78bc6bce.entry.js → p-0a7a7585.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-c9276d84.entry.js → p-116eb408.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-371426e0.entry.js → p-131b3b56.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-282771f9.entry.js → p-186dc56b.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-02896bb2.js → p-19d904a0.js} +1 -1
  9. package/dist/bromcom-ui/{p-44787ef8.entry.js → p-2312db4e.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-bd222617.entry.js → p-23fb226c.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-7c8e5f09.entry.js → p-26f198fe.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-7bafb5d9.entry.js → p-2a37859a.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-387c8f42.js → p-2e2241e1.js} +1 -1
  14. package/dist/bromcom-ui/{p-22ad231d.entry.js → p-35455621.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-a5dcfe7e.entry.js → p-36fb65c3.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-f8131852.js → p-37a24b2f.js} +1 -1
  17. package/dist/bromcom-ui/{p-792bb2df.entry.js → p-382a1cca.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-6e6e022d.js → p-38e0832d.js} +1 -1
  19. package/dist/bromcom-ui/{p-205ffb6d.entry.js → p-3c79abc3.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-ce827709.entry.js → p-3d2aa52b.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-c112d1db.entry.js → p-51c055b7.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-87c43cf9.entry.js → p-537f6134.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-96bb4eab.entry.js → p-538bd402.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-329287bb.entry.js → p-573d87af.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-7c21a6d2.entry.js → p-57e840f5.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-8ca621ae.entry.js → p-5c78d783.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-978f564e.entry.js → p-67cd5132.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-e6444045.entry.js → p-6dfefcd1.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-2429b1b8.entry.js → p-71871aa9.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-e23427f6.js → p-725b332a.js} +1 -1
  31. package/dist/bromcom-ui/{p-58d44246.entry.js → p-73b330cc.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-3930cc76.entry.js → p-75664a73.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-5f4baa95.entry.js → p-78a7a0f5.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-9a8209d1.entry.js → p-7e339b22.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-459f5ceb.entry.js → p-7fd731e2.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-83777888.entry.js → p-83906a2b.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-efa31f64.entry.js → p-873571b0.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-c069babd.entry.js → p-902a56fd.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-91264aaa.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-6e50d8cd.entry.js → p-9659d198.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-1dce709b.entry.js → p-974604e0.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-857a1c63.entry.js → p-9967f29f.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-9b96a18d.js +5 -0
  44. package/dist/bromcom-ui/{p-9d25df7a.entry.js → p-a2dc9f9d.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-c2da94ca.entry.js → p-aea588a1.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-e2d42796.entry.js → p-b541f477.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-b815551a.entry.js → p-bb12097e.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-6afec79b.entry.js → p-bb7a53d7.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-c5754a3d.js → p-c4c5ec74.js} +1 -1
  50. package/dist/bromcom-ui/{p-f39c2e0d.entry.js → p-c7b41ea8.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-b5f0168c.entry.js → p-c82e61cf.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-e99fb479.entry.js → p-c88d7eac.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-6edafe98.entry.js → p-c9522c4f.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-8f016b6d.entry.js → p-cad23150.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-6c8f7e8b.entry.js → p-d5b818b9.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-5cb4f9a4.entry.js → p-d74d6934.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-fca361be.entry.js → p-d86bbb88.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-b0d9d8ee.entry.js → p-daa5d928.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-e1bb8ece.entry.js → p-e270b902.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-0111261e.entry.js → p-ee1749c5.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-d6c58248.js → p-efd19381.js} +1 -1
  62. package/dist/bromcom-ui/{p-fc657cbf.entry.js → p-f06cd073.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-6c377a9d.js → p-fa3430bc.js} +1 -1
  64. package/dist/bromcom-ui/{p-a4656c49.entry.js → p-fe74bf5d.entry.js} +1 -1
  65. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  66. package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
  67. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  68. package/dist/cjs/bcm-avatar_2.cjs.entry.js +4 -4
  69. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  70. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  71. package/dist/cjs/bcm-button_12.cjs.entry.js +6 -6
  72. package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
  73. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  74. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  76. package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
  77. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  78. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  79. package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
  81. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  83. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  84. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  85. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
  87. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  88. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
  89. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  90. package/dist/cjs/bcm-items.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-list_3.cjs.entry.js +18 -9
  92. package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
  93. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  94. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  95. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  96. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  97. package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
  98. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  99. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  100. package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
  101. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
  103. package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
  104. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  105. package/dist/cjs/bcm-shortcut.cjs.entry.js +4 -4
  106. package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
  107. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  108. package/dist/cjs/bcm-stepper.cjs.entry.js +5 -5
  109. package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
  110. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
  111. package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  113. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  114. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  115. package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
  116. package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
  117. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  118. package/dist/cjs/{generate-1aa274aa.js → generate-bd91dc15.js} +1 -1
  119. package/dist/cjs/{global-e5aeef34.js → global-28e85645.js} +1 -1
  120. package/dist/cjs/{input-template-960962ca.js → input-template-2c693443.js} +1 -1
  121. package/dist/cjs/{json-parse-decarator-a87230b5.js → json-parse-decarator-dc3d71a1.js} +1 -1
  122. package/dist/cjs/loader.cjs.js +3 -3
  123. package/dist/cjs/{number-helper-662517d9.js → number-helper-79ccb483.js} +1 -1
  124. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  125. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  126. package/dist/cjs/{package-7cfd1ddd.js → package-6475c0ba.js} +1 -1
  127. package/dist/cjs/{stepper-states-c6b8fadd.js → stepper-states-8e284e52.js} +1 -1
  128. package/dist/cjs/{tooltip-helper-c1799ca2.js → tooltip-helper-24ad5741.js} +3 -3
  129. package/dist/cjs/{validators-f687f99a.js → validators-c0d78df5.js} +1 -1
  130. package/dist/collection/components/organism/list/list.js +37 -5
  131. package/dist/components/generate.js +1 -1
  132. package/dist/components/list.js +14 -3
  133. package/dist/esm/bcm-accordion.entry.js +2 -2
  134. package/dist/esm/bcm-alert.entry.js +2 -2
  135. package/dist/esm/bcm-attendance.entry.js +2 -2
  136. package/dist/esm/bcm-avatar_2.entry.js +4 -4
  137. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  138. package/dist/esm/bcm-button-group.entry.js +2 -2
  139. package/dist/esm/bcm-button_12.entry.js +6 -6
  140. package/dist/esm/bcm-caption.entry.js +4 -4
  141. package/dist/esm/bcm-card.entry.js +2 -2
  142. package/dist/esm/bcm-checkbox-group.entry.js +2 -2
  143. package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
  144. package/dist/esm/bcm-chip-group.entry.js +4 -4
  145. package/dist/esm/bcm-chip.entry.js +2 -2
  146. package/dist/esm/bcm-collapse.entry.js +2 -2
  147. package/dist/esm/bcm-color-input.entry.js +4 -4
  148. package/dist/esm/bcm-date-picker.entry.js +2 -2
  149. package/dist/esm/bcm-datetime-picker.entry.js +2 -2
  150. package/dist/esm/bcm-default.entry.js +2 -2
  151. package/dist/esm/bcm-drawer.entry.js +4 -4
  152. package/dist/esm/bcm-dropdown.entry.js +3 -3
  153. package/dist/esm/bcm-expansion-panel.entry.js +2 -2
  154. package/dist/esm/bcm-form-2.entry.js +2 -2
  155. package/dist/esm/bcm-input-custom.entry.js +2 -2
  156. package/dist/esm/bcm-input-dropdown.entry.js +4 -4
  157. package/dist/esm/bcm-item.entry.js +2 -2
  158. package/dist/esm/bcm-items.entry.js +2 -2
  159. package/dist/esm/bcm-list_3.entry.js +18 -9
  160. package/dist/esm/bcm-menu.entry.js +5 -5
  161. package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
  162. package/dist/esm/bcm-modal-2-header.entry.js +4 -4
  163. package/dist/esm/bcm-modal-2.entry.js +4 -4
  164. package/dist/esm/bcm-modal.entry.js +2 -2
  165. package/dist/esm/bcm-number-input.entry.js +4 -4
  166. package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
  167. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  168. package/dist/esm/bcm-popover.entry.js +4 -4
  169. package/dist/esm/bcm-progress.entry.js +2 -2
  170. package/dist/esm/bcm-radio-group.entry.js +4 -4
  171. package/dist/esm/bcm-radio.entry.js +4 -4
  172. package/dist/esm/bcm-range.entry.js +2 -2
  173. package/dist/esm/bcm-shortcut.entry.js +4 -4
  174. package/dist/esm/bcm-skeleton.entry.js +4 -4
  175. package/dist/esm/bcm-step.entry.js +3 -3
  176. package/dist/esm/bcm-stepper.entry.js +5 -5
  177. package/dist/esm/bcm-tab-group.entry.js +4 -4
  178. package/dist/esm/bcm-tab-item-header.entry.js +4 -4
  179. package/dist/esm/bcm-tab-item.entry.js +4 -4
  180. package/dist/esm/bcm-table.entry.js +4 -4
  181. package/dist/esm/bcm-tag.entry.js +3 -3
  182. package/dist/esm/bcm-textarea.entry.js +3 -3
  183. package/dist/esm/bcm-time-picker.entry.js +2 -2
  184. package/dist/esm/bcm-toast.entry.js +2 -2
  185. package/dist/esm/bromcom-ui.js +3 -3
  186. package/dist/esm/{generate-4d5f9d34.js → generate-3de552d7.js} +1 -1
  187. package/dist/esm/{global-79d5db0d.js → global-2c493fd8.js} +1 -1
  188. package/dist/esm/{input-template-2393db89.js → input-template-515d2ea4.js} +1 -1
  189. package/dist/esm/{json-parse-decarator-5b574643.js → json-parse-decarator-1b38480d.js} +1 -1
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/{number-helper-e53164c5.js → number-helper-b0c38696.js} +1 -1
  192. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  193. package/dist/esm/old-bcm-popover.entry.js +2 -2
  194. package/dist/esm/{package-fafe24b6.js → package-df823caa.js} +1 -1
  195. package/dist/esm/{stepper-states-f3469350.js → stepper-states-baa9adbc.js} +1 -1
  196. package/dist/esm/{tooltip-helper-1b3aadcf.js → tooltip-helper-615069b8.js} +3 -3
  197. package/dist/esm/{validators-61b64382.js → validators-c06bfc41.js} +1 -1
  198. package/dist/types/components/organism/list/list.d.ts +3 -1
  199. package/dist/types/components.d.ts +2 -1
  200. package/package.json +1 -1
  201. package/dist/bromcom-ui/p-2719a3e0.js +0 -5
  202. package/dist/bromcom-ui/p-7aa36b32.entry.js +0 -5
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{h as n}from"./p-170cf07d.js";import{d as e}from"./p-3fac58f7.js";import{B as s}from"./p-6369b73b.js";import{c as t}from"./p-64fad38b.js";import{s as a}from"./p-6e6e022d.js";const i=({elementType:i,rows:o,id:c,internalId:r,type:l,placeholder:p,value:u,size:f,pattern:d,unit:b,unitPrefix:m,maxLength:x,disabled:w,clearable:h,focused:y,readonly:v,isPasswordVisible:C,passwordToggle:g,noDefaultIcon:j,inValid:_,captionType:k,resize:z,autocomplete:I,_suffix:T,_prefix:L,changePasswordVisibility:B,handleClear:D,steps:O,ref:P,handleBlur:V,handleFocus:F,handleInput:H,handleChange:M,isEyeDropperSupported:E,eyeDropper:S})=>{const q=s.HtmlElementType[i]||s.HtmlElementType.input;l="password"===l&&C?"text":l,u=a((()=>u),""),u=y?u:u+(u&&(null==b?void 0:b.length)>0?" "+b:"");const A="color"===(l=(null==b?void 0:b.length)>0&&!y?"text":l);l="color"===l?"text":l;var G=t("bcm-input__container",q===s.HtmlElementType.textarea&&t("bcm-input__textarea","textarea-size-"+s.Size[f],"resize-"+z,"textarea-"+f),q===s.HtmlElementType.input&&t("input-size-"+s.Size[f]),{focused:y,clearable:h,disabled:w,readonly:v,invalid:_,unit:(null==b?void 0:b.length)>0,error:"error"===k});const J=t("caret-container",{unit:(null==b?void 0:b.length)>0,disabled:w||v||_}),K="bcm-input__container--"+f,N=t(K,"unit-prefix");return n("div",{class:G,id:c+"-container"},n("span",{hidden:!0},n("slot",null)),n("span",{class:"input-prefix"},n("slot",{name:"prefix"}),L&&L.length>0&&n("span",{innerHTML:L}),m&&n("span",{class:N},m),A&&n("i",{class:"tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-slate-300",style:{backgroundColor:u}})),n(q,Object.assign({tabindex:"0",id:c+"-input","bcm-internal-id":r,class:"bcm-input-element "+K},q===s.HtmlElementType.input&&{type:l,autocomplete:I?"on":"off",pattern:d},q===s.HtmlElementType.textarea&&{rows:o,resize:z},{value:u,maxLength:x,placeholder:p,disabled:w,readOnly:v,ref:n=>P(n),onBlur:n=>(n=>{n.target.parentElement.classList.remove("focused"),V(n)})(n),onFocus:n=>(n=>{n.target.parentElement.classList.add("focused"),F(n)})(n),onInput:n=>H(n),onChange:n=>M(n)})),n("span",{class:"input-suffix-content"},h&&!w&&!v&&n("span",{class:"input-suffix input-suffix-button input-clear-button",onClick:n=>D(n)},n("bcm-icon",{icon:"far fa-times"}))),n("span",{class:"input-suffix-content"},("password"===l||"text"===l)&&g&&n("span",{class:"input-suffix input-suffix-button",onClick:()=>B()},n("bcm-icon",{icon:C?"far fa-eye-slash":"far fa-eye"}))),n("span",{class:"input-suffix-content"},Object.keys(e).includes(l)&&!j&&n("span",{class:"input-suffix"},n("bcm-icon",{icon:e[l]}))),n("span",{class:"input-suffix-content"},"number"===l&&n("div",{class:J},n("span",{class:"bcm-input-caret",onClick:()=>O("up")},n("bcm-icon",{icon:"fas fa-caret-up"})),n("span",{class:"bcm-input-caret",onClick:()=>O("down")},n("bcm-icon",{icon:"fas fa-caret-down"})))),n("span",{class:"input-suffix-content"},"number"!==l&&n("span",{class:"input-suffix"},n("slot",{name:"suffix"}),T&&T.length>0&&n("span",{innerHTML:T})),A&&E()&&n("span",{class:"input-suffix"},n("span",null,n("i",{class:"far fa-eye-dropper",onClick:()=>S()})))))};export{i as I}
5
+ import{h as n}from"./p-170cf07d.js";import{d as e}from"./p-3fac58f7.js";import{B as s}from"./p-6369b73b.js";import{c as t}from"./p-64fad38b.js";import{s as a}from"./p-38e0832d.js";const i=({elementType:i,rows:o,id:c,internalId:r,type:l,placeholder:p,value:u,size:f,pattern:d,unit:b,unitPrefix:m,maxLength:x,disabled:w,clearable:h,focused:y,readonly:v,isPasswordVisible:C,passwordToggle:g,noDefaultIcon:j,inValid:_,captionType:k,resize:z,autocomplete:I,_suffix:T,_prefix:L,changePasswordVisibility:B,handleClear:D,steps:O,ref:P,handleBlur:V,handleFocus:F,handleInput:H,handleChange:M,isEyeDropperSupported:E,eyeDropper:S})=>{const q=s.HtmlElementType[i]||s.HtmlElementType.input;l="password"===l&&C?"text":l,u=a((()=>u),""),u=y?u:u+(u&&(null==b?void 0:b.length)>0?" "+b:"");const A="color"===(l=(null==b?void 0:b.length)>0&&!y?"text":l);l="color"===l?"text":l;var G=t("bcm-input__container",q===s.HtmlElementType.textarea&&t("bcm-input__textarea","textarea-size-"+s.Size[f],"resize-"+z,"textarea-"+f),q===s.HtmlElementType.input&&t("input-size-"+s.Size[f]),{focused:y,clearable:h,disabled:w,readonly:v,invalid:_,unit:(null==b?void 0:b.length)>0,error:"error"===k});const J=t("caret-container",{unit:(null==b?void 0:b.length)>0,disabled:w||v||_}),K="bcm-input__container--"+f,N=t(K,"unit-prefix");return n("div",{class:G,id:c+"-container"},n("span",{hidden:!0},n("slot",null)),n("span",{class:"input-prefix"},n("slot",{name:"prefix"}),L&&L.length>0&&n("span",{innerHTML:L}),m&&n("span",{class:N},m),A&&n("i",{class:"tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-slate-300",style:{backgroundColor:u}})),n(q,Object.assign({tabindex:"0",id:c+"-input","bcm-internal-id":r,class:"bcm-input-element "+K},q===s.HtmlElementType.input&&{type:l,autocomplete:I?"on":"off",pattern:d},q===s.HtmlElementType.textarea&&{rows:o,resize:z},{value:u,maxLength:x,placeholder:p,disabled:w,readOnly:v,ref:n=>P(n),onBlur:n=>(n=>{n.target.parentElement.classList.remove("focused"),V(n)})(n),onFocus:n=>(n=>{n.target.parentElement.classList.add("focused"),F(n)})(n),onInput:n=>H(n),onChange:n=>M(n)})),n("span",{class:"input-suffix-content"},h&&!w&&!v&&n("span",{class:"input-suffix input-suffix-button input-clear-button",onClick:n=>D(n)},n("bcm-icon",{icon:"far fa-times"}))),n("span",{class:"input-suffix-content"},("password"===l||"text"===l)&&g&&n("span",{class:"input-suffix input-suffix-button",onClick:()=>B()},n("bcm-icon",{icon:C?"far fa-eye-slash":"far fa-eye"}))),n("span",{class:"input-suffix-content"},Object.keys(e).includes(l)&&!j&&n("span",{class:"input-suffix"},n("bcm-icon",{icon:e[l]}))),n("span",{class:"input-suffix-content"},"number"===l&&n("div",{class:J},n("span",{class:"bcm-input-caret",onClick:()=>O("up")},n("bcm-icon",{icon:"fas fa-caret-up"})),n("span",{class:"bcm-input-caret",onClick:()=>O("down")},n("bcm-icon",{icon:"fas fa-caret-down"})))),n("span",{class:"input-suffix-content"},"number"!==l&&n("span",{class:"input-suffix"},n("slot",{name:"suffix"}),T&&T.length>0&&n("span",{innerHTML:T})),A&&E()&&n("span",{class:"input-suffix"},n("span",null,n("i",{class:"far fa-eye-dropper",onClick:()=>S()})))))};export{i as I}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,h as e,H as s}from"./p-170cf07d.js";import"./p-61db1f1f.js";import"./p-626a65e9.js";import{G as i}from"./p-6e6e022d.js";import"./p-2719a3e0.js";import"./p-157359d6.js";import"./p-f8131852.js";import"./p-7e44e6b5.js";import"./p-6369b73b.js";import{c as r}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-02896bb2.js";const o=r({slots:{host:"tw-flex tw-flex-row tw-items-center tw-justify-center tw-flex-shrink-0 tw-relative tw-overflow-hidden tw-bg-gray-200"},variants:{variant:{rect:{host:"tw-rounded"},circle:{host:"tw-rounded-full"}},effect:{pulse:{host:"tw-animate-pulse"},ping:{host:"tw-animate-ping"},none:{host:"tw-animate-none"}},hidden:{true:{host:"tw-hidden"},false:{host:"tw-flex"}}},defaultVariants:{variant:"rect",effect:"pulse",hidden:!1}}),p=class{constructor(e){t(this,e),this._id=i.UID(),this.effect="pulse",this.variant="rect",this.hidden=!1,this.width="100%",this.height="16px",this.marginBottom=null,this.customStyles={}}render(){const{variant:t,effect:i,width:r,height:p,marginBottom:n,customStyles:a,hidden:h}=this,c=Object.assign(Object.assign(Object.assign(Object.assign({},r?{width:r}:{}),p?{height:p}:{}),n?{marginBottom:n}:{}),"string"==typeof a?JSON.parse(a):a),{host:m}=o({variant:t,effect:i,hidden:h});return e(s,{class:m(),style:c})}};export{p as bcm_skeleton}
5
+ import{r as t,h as e,H as s}from"./p-170cf07d.js";import"./p-61db1f1f.js";import"./p-626a65e9.js";import{G as i}from"./p-38e0832d.js";import"./p-9b96a18d.js";import"./p-157359d6.js";import"./p-37a24b2f.js";import"./p-7e44e6b5.js";import"./p-6369b73b.js";import{c as r}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-19d904a0.js";const o=r({slots:{host:"tw-flex tw-flex-row tw-items-center tw-justify-center tw-flex-shrink-0 tw-relative tw-overflow-hidden tw-bg-gray-200"},variants:{variant:{rect:{host:"tw-rounded"},circle:{host:"tw-rounded-full"}},effect:{pulse:{host:"tw-animate-pulse"},ping:{host:"tw-animate-ping"},none:{host:"tw-animate-none"}},hidden:{true:{host:"tw-hidden"},false:{host:"tw-flex"}}},defaultVariants:{variant:"rect",effect:"pulse",hidden:!1}}),p=class{constructor(e){t(this,e),this._id=i.UID(),this.effect="pulse",this.variant="rect",this.hidden=!1,this.width="100%",this.height="16px",this.marginBottom=null,this.customStyles={}}render(){const{variant:t,effect:i,width:r,height:p,marginBottom:a,customStyles:n,hidden:h}=this,c=Object.assign(Object.assign(Object.assign(Object.assign({},r?{width:r}:{}),p?{height:p}:{}),a?{marginBottom:a}:{}),"string"==typeof n?JSON.parse(n):n),{host:d}=o({variant:t,effect:i,hidden:h});return e(s,{class:d(),style:c})}};export{p as bcm_skeleton}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,h as p,H as s,g as r}from"./p-170cf07d.js";import"./p-61db1f1f.js";import"./p-626a65e9.js";import{G as o}from"./p-6e6e022d.js";import"./p-2719a3e0.js";import"./p-157359d6.js";import"./p-f8131852.js";import"./p-7e44e6b5.js";import"./p-6369b73b.js";import{c as e}from"./p-64fad38b.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-02896bb2.js";const i=class{constructor(p){t(this,p),this._id=o.UID(),this.el.slot="footer"}render(){return p(s,{class:e("tw-flex tw-flex-row tw-items-center tw-justify-end tw-gap-2 tw-px-6 tw-pb-6 tw-pt-2")},p("slot",null))}get el(){return r(this)}};export{i as bcm_modal_2_footer}
5
+ import{r as t,h as p,H as s,g as r}from"./p-170cf07d.js";import"./p-61db1f1f.js";import"./p-626a65e9.js";import{G as o}from"./p-38e0832d.js";import"./p-9b96a18d.js";import"./p-157359d6.js";import"./p-37a24b2f.js";import"./p-7e44e6b5.js";import"./p-6369b73b.js";import{c as e}from"./p-64fad38b.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-19d904a0.js";const i=class{constructor(p){t(this,p),this._id=o.UID(),this.el.slot="footer"}render(){return p(s,{class:e("tw-flex tw-flex-row tw-items-center tw-justify-end tw-gap-2 tw-px-6 tw-pb-6 tw-pt-2")},p("slot",null))}get el(){return r(this)}};export{i as bcm_modal_2_footer}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{s as f}from"./p-6e6e022d.js";class a{}a.compareTwoArrayIsSame=(a,d)=>f((()=>a.length===d.length&&a.every(((f,a)=>f===d[a])))),a.isEmailValid=f=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(f),a.isUrlValid=f=>/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(f),a.isNumberValid=f=>/^[+-]?\d+$/.test(f),a.isNumberFloatValid=f=>/^\d+(\.\d+)?$/.test(f),a.isPhoneValid=f=>/^(?=.*[0-9])[- +()0-9]+$/.test(f),a.pattern=(f,a)=>new RegExp(a).test(f),a.isValidate=(f,d)=>{switch(d){case"email":return a.isEmailValid(f);case"url":return a.isUrlValid(f);case"number":return a.isNumberValid(f)||a.isNumberFloatValid(f);case"phone":return a.isPhoneValid(f);default:return!0}};export{a as V}
5
+ import{s as f}from"./p-38e0832d.js";class a{}a.compareTwoArrayIsSame=(a,d)=>f((()=>a.length===d.length&&a.every(((f,a)=>f===d[a])))),a.isEmailValid=f=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(f),a.isUrlValid=f=>/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(f),a.isNumberValid=f=>/^[+-]?\d+$/.test(f),a.isNumberFloatValid=f=>/^\d+(\.\d+)?$/.test(f),a.isPhoneValid=f=>/^(?=.*[0-9])[- +()0-9]+$/.test(f),a.pattern=(f,a)=>new RegExp(a).test(f),a.isValidate=(f,d)=>{switch(d){case"email":return a.isEmailValid(f);case"url":return a.isUrlValid(f);case"number":return a.isNumberValid(f)||a.isNumberFloatValid(f);case"phone":return a.isPhoneValid(f);default:return!0}};export{a as V}