bromcom-ui 2.8.0-rc.1 → 2.8.0-rc.2

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 (194) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-89a9e8e3.entry.js → p-00269ca7.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-0ae31364.entry.js → p-0041bd28.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-98c9ac37.entry.js → p-007bec47.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-3a093f9e.entry.js → p-036f3880.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-8fa7cdf0.entry.js → p-0626d065.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-13082089.entry.js +5 -0
  9. package/dist/bromcom-ui/{p-2a57c8c7.entry.js → p-13337304.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-19cba40f.js +5 -0
  11. package/dist/bromcom-ui/{p-3d8802d9.entry.js → p-1e328bbb.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-3ccc9177.entry.js → p-30070e50.entry.js} +1 -1
  13. package/dist/bromcom-ui/p-3407de8c.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-ffb57c2c.entry.js → p-35e357fb.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-2eaf7068.entry.js → p-400f7245.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-970a4dd6.entry.js → p-445a227f.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-79a1c167.js → p-4bbba8b4.js} +1 -1
  18. package/dist/bromcom-ui/{p-58815bb1.entry.js → p-57185ca0.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-4185987d.entry.js → p-5948de7f.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-afa908e9.entry.js → p-5a26b9b8.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-07b62dab.entry.js → p-5bad0d7b.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-80fdd63f.entry.js → p-6530b216.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-178fb088.entry.js → p-67659c20.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-65fbabc8.entry.js → p-6bd60d81.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-b175a1e1.entry.js → p-6bfece08.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-bd2d9941.entry.js → p-6c288e79.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-ceace9c7.entry.js → p-6c7b218c.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-34a59d30.js → p-7124553b.js} +1 -1
  29. package/dist/bromcom-ui/{p-410c74f6.js → p-7b153da4.js} +1 -1
  30. package/dist/bromcom-ui/{p-b5531d54.entry.js → p-82031406.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-1faaac85.entry.js → p-843c229b.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-e30c5251.entry.js → p-8c9d67ad.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-6baf6ea4.entry.js → p-8ced5b81.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-d39369ff.entry.js → p-935fdf64.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-a5abe2d6.entry.js → p-9490e993.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-56a5396d.js → p-a366b934.js} +1 -1
  37. package/dist/bromcom-ui/{p-3e45d00d.entry.js → p-a3a346fc.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-c718f29a.js → p-a82bcbd4.js} +1 -1
  39. package/dist/bromcom-ui/{p-ef6e4107.entry.js → p-aa59b8d1.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-a452bb5e.entry.js → p-b0d84958.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-94da7678.entry.js → p-b3003060.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-e3d32c37.entry.js → p-c012565a.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-c092fafd.entry.js +11 -0
  44. package/dist/bromcom-ui/{p-7eb09daf.entry.js → p-cf24655f.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-524ab0fc.entry.js → p-d9bd56ef.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-c3238361.entry.js → p-dc3d9f76.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-ba8d8c03.entry.js → p-e38344ed.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-889553d3.entry.js → p-e842eb54.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-e9295fec.entry.js → p-ed04ae18.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-17bafd84.entry.js → p-efd4bae1.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-8cc29a92.entry.js → p-f0877724.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-5cd30376.entry.js → p-f4c08ca4.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-701cf04e.entry.js → p-f4d15784.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-7eb8c46e.js → p-f4d6590d.js} +1 -1
  55. package/dist/bromcom-ui/{p-d236a84f.entry.js → p-ff78d3f1.entry.js} +1 -1
  56. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  57. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
  59. package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
  60. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  61. package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
  62. package/dist/cjs/{bcm-colorful_2.cjs.entry.js → bcm-button_10.cjs.entry.js} +1533 -19
  63. package/dist/cjs/bcm-card.cjs.entry.js +1 -1
  64. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +17 -17
  65. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
  66. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
  68. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  69. package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
  70. package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
  71. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1 -1
  72. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
  74. package/dist/cjs/bcm-dropdown.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
  76. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  77. package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
  78. package/dist/cjs/bcm-item.cjs.entry.js +1 -1
  79. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  80. package/dist/cjs/bcm-list.cjs.entry.js +5 -5
  81. package/dist/cjs/bcm-menu.cjs.entry.js +4 -4
  82. package/dist/cjs/bcm-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  84. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  85. package/dist/cjs/bcm-popover.cjs.entry.js +3 -3
  86. package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
  87. package/dist/cjs/bcm-range.cjs.entry.js +1 -1
  88. package/dist/cjs/bcm-search.cjs.entry.js +2 -2
  89. package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
  90. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-stepper.cjs.entry.js +4 -4
  92. package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
  93. package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
  94. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
  95. package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
  96. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  97. package/dist/cjs/bcm-textarea.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
  99. package/dist/cjs/bcm-toast.cjs.entry.js +115 -0
  100. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  101. package/dist/cjs/{generate-b2779357.js → generate-e2397ffa.js} +1 -1
  102. package/dist/cjs/{input-template-ef0dff49.js → input-template-2bdd0688.js} +1 -1
  103. package/dist/cjs/{json-parse-decarator-6daa901d.js → json-parse-decarator-fe468734.js} +1 -1
  104. package/dist/cjs/loader.cjs.js +1 -1
  105. package/dist/cjs/{number-helper-c0a3073d.js → number-helper-aac9b592.js} +1 -1
  106. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
  107. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  108. package/dist/cjs/{stepper-states-7458308e.js → stepper-states-5aa9bb64.js} +1 -1
  109. package/dist/cjs/{tooltip-helper-d4c09d59.js → tooltip-helper-18b3deae.js} +3 -3
  110. package/dist/cjs/{validators-9db90679.js → validators-5c4ee18b.js} +1 -1
  111. package/dist/collection/components/molecules/radio/radio-group.js +27 -6
  112. package/dist/components/bcm-radio-group.js +21 -4
  113. package/dist/components/generate.js +1 -1
  114. package/dist/esm/bcm-accordion.entry.js +1 -1
  115. package/dist/esm/bcm-alert.entry.js +1 -1
  116. package/dist/esm/bcm-attendance.entry.js +1 -1
  117. package/dist/esm/bcm-avatar_2.entry.js +3 -3
  118. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  119. package/dist/esm/bcm-button-group.entry.js +1 -1
  120. package/dist/esm/{bcm-colorful_2.entry.js → bcm-button_10.entry.js} +1521 -15
  121. package/dist/esm/bcm-card.entry.js +1 -1
  122. package/dist/esm/bcm-checkbox-group.entry.js +7 -7
  123. package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
  124. package/dist/esm/bcm-checkbox_2.entry.js +1 -1
  125. package/dist/esm/bcm-chip.entry.js +1 -1
  126. package/dist/esm/bcm-collapse.entry.js +1 -1
  127. package/dist/esm/bcm-color-input.entry.js +3 -3
  128. package/dist/esm/bcm-date-picker.entry.js +1 -1
  129. package/dist/esm/bcm-datetime-picker.entry.js +1 -1
  130. package/dist/esm/bcm-default.entry.js +1 -1
  131. package/dist/esm/bcm-drawer.entry.js +3 -3
  132. package/dist/esm/bcm-dropdown.entry.js +2 -2
  133. package/dist/esm/bcm-expansion-panel.entry.js +1 -1
  134. package/dist/esm/bcm-form-2.entry.js +1 -1
  135. package/dist/esm/bcm-input-custom.entry.js +1 -1
  136. package/dist/esm/bcm-item.entry.js +1 -1
  137. package/dist/esm/bcm-items.entry.js +1 -1
  138. package/dist/esm/bcm-list.entry.js +5 -5
  139. package/dist/esm/bcm-menu.entry.js +4 -4
  140. package/dist/esm/bcm-modal.entry.js +1 -1
  141. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  142. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  143. package/dist/esm/bcm-popover.entry.js +3 -3
  144. package/dist/esm/bcm-progress.entry.js +1 -1
  145. package/dist/esm/bcm-range.entry.js +1 -1
  146. package/dist/esm/bcm-search.entry.js +2 -2
  147. package/dist/esm/bcm-skeleton.entry.js +1 -1
  148. package/dist/esm/bcm-step.entry.js +2 -2
  149. package/dist/esm/bcm-stepper.entry.js +4 -4
  150. package/dist/esm/bcm-switch.entry.js +1 -1
  151. package/dist/esm/bcm-tab-group.entry.js +3 -3
  152. package/dist/esm/bcm-tab-item-header.entry.js +3 -3
  153. package/dist/esm/bcm-tab-item.entry.js +3 -3
  154. package/dist/esm/bcm-tag.entry.js +2 -2
  155. package/dist/esm/bcm-textarea.entry.js +2 -2
  156. package/dist/esm/bcm-time-picker.entry.js +1 -1
  157. package/dist/esm/bcm-toast.entry.js +111 -0
  158. package/dist/esm/bromcom-ui.js +1 -1
  159. package/dist/esm/{generate-fbf3c64b.js → generate-82c3ee1f.js} +1 -1
  160. package/dist/esm/{input-template-f5b003c0.js → input-template-9a5da65a.js} +1 -1
  161. package/dist/esm/{json-parse-decarator-f023562b.js → json-parse-decarator-aba7d121.js} +1 -1
  162. package/dist/esm/loader.js +1 -1
  163. package/dist/esm/{number-helper-b69dc985.js → number-helper-d4126c02.js} +1 -1
  164. package/dist/esm/old-bcm-popover-box.entry.js +2 -2
  165. package/dist/esm/old-bcm-popover.entry.js +1 -1
  166. package/dist/esm/{stepper-states-7087f0cb.js → stepper-states-3b8d6edd.js} +1 -1
  167. package/dist/esm/{tooltip-helper-31ca799b.js → tooltip-helper-e7eb577d.js} +3 -3
  168. package/dist/esm/{validators-d3c37e80.js → validators-2a89d009.js} +1 -1
  169. package/dist/types/components/molecules/radio/radio-group.d.ts +3 -0
  170. package/package.json +1 -1
  171. package/dist/bromcom-ui/p-168d2632.entry.js +0 -5
  172. package/dist/bromcom-ui/p-1a0900cc.entry.js +0 -10
  173. package/dist/bromcom-ui/p-4a123037.entry.js +0 -5
  174. package/dist/bromcom-ui/p-51deaab5.entry.js +0 -5
  175. package/dist/bromcom-ui/p-6ea775e8.entry.js +0 -5
  176. package/dist/bromcom-ui/p-70c794df.js +0 -5
  177. package/dist/bromcom-ui/p-967df53d.entry.js +0 -5
  178. package/dist/bromcom-ui/p-e2e7d808.entry.js +0 -5
  179. package/dist/bromcom-ui/p-e422fc70.entry.js +0 -5
  180. package/dist/bromcom-ui/p-f881a6b8.entry.js +0 -5
  181. package/dist/cjs/bcm-button_2.cjs.entry.js +0 -482
  182. package/dist/cjs/bcm-form.cjs.entry.js +0 -487
  183. package/dist/cjs/bcm-icon.cjs.entry.js +0 -41
  184. package/dist/cjs/bcm-input.cjs.entry.js +0 -369
  185. package/dist/cjs/bcm-label_2.cjs.entry.js +0 -149
  186. package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -143
  187. package/dist/cjs/bcm-radio.cjs.entry.js +0 -64
  188. package/dist/esm/bcm-button_2.entry.js +0 -477
  189. package/dist/esm/bcm-form.entry.js +0 -483
  190. package/dist/esm/bcm-icon.entry.js +0 -37
  191. package/dist/esm/bcm-input.entry.js +0 -365
  192. package/dist/esm/bcm-label_2.entry.js +0 -144
  193. package/dist/esm/bcm-radio-group.entry.js +0 -139
  194. package/dist/esm/bcm-radio.entry.js +0 -60
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-6e
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
8
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
10
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
11
11
  import { S as SlotTemplate } from './slot-template-64b41ee5.js';
12
12
  import './_commonjsHelpers-3016b722.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
- import { G as Generate, s as snq } from './generate-fbf3c64b.js';
7
+ import { G as Generate, s as snq } from './generate-82c3ee1f.js';
8
8
  import { B as Bcm } from './bcm-9f50af9c.js';
9
9
  import { d as delay, g as getChildElements } from './utils-57652744.js';
10
10
  import { c as createStore } from './index-8b349654.js';
@@ -15,6 +15,12 @@ import './colors-39b87f63.js';
15
15
  import './slot-template-64b41ee5.js';
16
16
  import './string-helper-0fb7ff20.js';
17
17
 
18
+ const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
19
+ return (h("div", { class: groupContainerClasses, style: customStyle }, items.childs && items.childs.map((checkbox) => {
20
+ return (h("bcm-checkbox", { id: checkbox.id, name: checkbox.name, color: checkbox.color, checked: checkbox.checked, disabled: checkbox.disabled, readonly: checkbox.readonly, required: checkbox.required, noCaption: checkbox.noCaption, "no-margin": true, size: checkbox.size, "full-width": checkbox.fullWidth, onClick: (e) => { !checkbox.disabled && !checkbox.readonly && (onBcmSelect(checkbox.id), e.preventDefault()); } }, checkbox.slot || checkbox.label));
21
+ })));
22
+ };
23
+
18
24
  const { state } = createStore({
19
25
  group: new Map(),
20
26
  allChecked: true,
@@ -208,12 +214,6 @@ const checkBoxGroupState = {
208
214
  changeIndeterminate,
209
215
  };
210
216
 
211
- const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
212
- return (h("div", { class: groupContainerClasses, style: customStyle }, items.childs && items.childs.map((checkbox) => {
213
- return (h("bcm-checkbox", { id: checkbox.id, name: checkbox.name, color: checkbox.color, checked: checkbox.checked, disabled: checkbox.disabled, readonly: checkbox.readonly, required: checkbox.required, noCaption: checkbox.noCaption, "no-margin": true, size: checkbox.size, "full-width": checkbox.fullWidth, onClick: (e) => { !checkbox.disabled && !checkbox.readonly && (onBcmSelect(checkbox.id), e.preventDefault()); } }, checkbox.slot || checkbox.label));
214
- })));
215
- };
216
-
217
217
  const groupCss = "@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-checkbox-group{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin-bottom:8px}.bcm-checkbox-group.hidden{display:none}.bcm-checkbox-group__container{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;width:100%}.bcm-checkbox-group__container.full-width{max-width:100%}.bcm-checkbox-group__container.vertical{gap:8px;flex-direction:column}.bcm-checkbox-group__container.button{gap:unset}.bcm-checkbox-group__container.indeterminate{padding-top:16px;margin-top:16px;border-top:1px solid #efefef}";
218
218
 
219
219
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { B as Bcm } from './bcm-9f50af9c.js';
9
9
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
10
10
  import { c as getChilds, d as delay } from './utils-57652744.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { C as CaptionTemplate } from './caption-template-389f5bd6.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import { S as SlotTemplate } from './slot-template-64b41ee5.js';
10
10
  import { B as Bcm } from './bcm-9f50af9c.js';
11
11
  import { d as delay } from './utils-57652744.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { c as classnames } from './index-ba2edd32.js';
9
9
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
10
10
  import './colors-39b87f63.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import './_commonjsHelpers-3016b722.js';
10
10
  import './colors-39b87f63.js';
11
11
 
@@ -5,10 +5,10 @@
5
5
  import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import './color-helper-2b6697b6.js';
7
7
  import './datetime-helper-df25808a.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
9
- import './number-helper-b69dc985.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
+ import './number-helper-d4126c02.js';
10
10
  import './string-helper-0fb7ff20.js';
11
- import './validators-d3c37e80.js';
11
+ import './validators-2a89d009.js';
12
12
  import './element-dragger-89bb52fd.js';
13
13
  import './bcm-9f50af9c.js';
14
14
  import './colors-1d7854ea.js';
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-6e
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
8
  import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
10
  import { B as Bcm } from './bcm-9f50af9c.js';
11
11
  import { d as delay } from './utils-57652744.js';
12
12
  import './_commonjsHelpers-3016b722.js';
@@ -7,7 +7,7 @@ import { D as DragDirections, E as ElementDragger } from './element-dragger-89bb
7
7
  import { c as classnames } from './index-ba2edd32.js';
8
8
  import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
9
  import { d as delay } from './utils-57652744.js';
10
- import { G as Generate } from './generate-fbf3c64b.js';
10
+ import { G as Generate } from './generate-82c3ee1f.js';
11
11
  import { B as Bcm } from './bcm-9f50af9c.js';
12
12
  import { g as getPlacement, s as setPosition } from './popover-placement-4baf5f2f.js';
13
13
  import { L as LabelTemplate } from './label-template-eed2dd69.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import './colors-39b87f63.js';
9
9
  import './_commonjsHelpers-3016b722.js';
10
10
 
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
7
  import './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { a as Bcm } from './bcm-9f50af9c.js';
15
15
  import { c as classnames } from './index-ba2edd32.js';
@@ -5,8 +5,8 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { J as JsonParse } from './json-parse-decarator-f023562b.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { J as JsonParse } from './json-parse-decarator-aba7d121.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
10
  import { B as Bcm } from './bcm-9f50af9c.js';
11
11
  import './_commonjsHelpers-3016b722.js';
12
12
  import './colors-39b87f63.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { c as classnames } from './index-ba2edd32.js';
9
9
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
10
10
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate, s as snq } from './generate-fbf3c64b.js';
7
+ import { G as Generate, s as snq } from './generate-82c3ee1f.js';
8
8
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
9
9
  import { B as Bcm } from './bcm-9f50af9c.js';
10
10
  import './colors-39b87f63.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { c as classnames } from './index-ba2edd32.js';
9
9
  import './colors-39b87f63.js';
10
10
  import './_commonjsHelpers-3016b722.js';
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
- import { G as Generate } from './generate-fbf3c64b.js';
6
+ import { G as Generate } from './generate-82c3ee1f.js';
7
7
  import { B as Bcm } from './bcm-9f50af9c.js';
8
8
  import { c as classnames } from './index-ba2edd32.js';
9
9
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-6e2d80d7.js';
6
- import { G as Generate, s as snq } from './generate-fbf3c64b.js';
6
+ import { G as Generate, s as snq } from './generate-82c3ee1f.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
8
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
9
9
  import './colors-39b87f63.js';
@@ -4,13 +4,13 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { J as JsonParse } from './json-parse-decarator-f023562b.js';
7
+ import { J as JsonParse } from './json-parse-decarator-aba7d121.js';
8
8
  import './color-helper-2b6697b6.js';
9
9
  import './datetime-helper-df25808a.js';
10
- import { s as snq, G as Generate } from './generate-fbf3c64b.js';
11
- import { N as NumberHelper } from './number-helper-b69dc985.js';
10
+ import { s as snq, G as Generate } from './generate-82c3ee1f.js';
11
+ import { N as NumberHelper } from './number-helper-d4126c02.js';
12
12
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
13
- import { V as Validators } from './validators-d3c37e80.js';
13
+ import { V as Validators } from './validators-2a89d009.js';
14
14
  import './element-dragger-89bb52fd.js';
15
15
  import { g as getPlacement, s as setPosition } from './popover-placement-4baf5f2f.js';
16
16
  import { p as pluralize, d as delay } from './utils-57652744.js';
@@ -21,7 +21,7 @@ import './types-6f06fa1a.js';
21
21
  import { L as LabelTemplate } from './label-template-eed2dd69.js';
22
22
  import './types-bfc3bba1.js';
23
23
  import { c as createStore } from './index-8b349654.js';
24
- import { T as Tooltip } from './tooltip-helper-31ca799b.js';
24
+ import { T as Tooltip } from './tooltip-helper-e7eb577d.js';
25
25
  import './colors-1d7854ea.js';
26
26
  import './colors-39b87f63.js';
27
27
  import './_commonjsHelpers-3016b722.js';
@@ -6,11 +6,11 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
13
- import { T as Tooltip } from './tooltip-helper-31ca799b.js';
12
+ import './validators-2a89d009.js';
13
+ import { T as Tooltip } from './tooltip-helper-e7eb577d.js';
14
14
  import './element-dragger-89bb52fd.js';
15
15
  import './bcm-9f50af9c.js';
16
16
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
@@ -7,7 +7,7 @@ import { c as classnames } from './index-ba2edd32.js';
7
7
  import { B as Bcm } from './bcm-9f50af9c.js';
8
8
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
9
9
  import { S as SlotTemplate } from './slot-template-64b41ee5.js';
10
- import { G as Generate } from './generate-fbf3c64b.js';
10
+ import { G as Generate } from './generate-82c3ee1f.js';
11
11
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
12
12
  import './_commonjsHelpers-3016b722.js';
13
13
  import './colors-39b87f63.js';
@@ -6,7 +6,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
8
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
10
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
11
11
  import { s as setPosition } from './popover-placement-4baf5f2f.js';
12
12
  import './_commonjsHelpers-3016b722.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import { B as Bcm } from './bcm-9f50af9c.js';
10
10
  import './_commonjsHelpers-3016b722.js';
11
11
  import './colors-39b87f63.js';
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
7
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { a as Bcm } from './bcm-9f50af9c.js';
15
15
  import { d as delay } from './utils-57652744.js';
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-6e
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
8
  import { C as ColorHelper } from './color-helper-2b6697b6.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
10
  import { B as Bcm } from './bcm-9f50af9c.js';
11
11
  import './_commonjsHelpers-3016b722.js';
12
12
  import './colors-1d7854ea.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { B as Bcm } from './bcm-9f50af9c.js';
9
9
  import { d as delay } from './utils-57652744.js';
10
10
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { s as snq, G as Generate } from './generate-fbf3c64b.js';
7
+ import { s as snq, G as Generate } from './generate-82c3ee1f.js';
8
8
  import { B as Bcm } from './bcm-9f50af9c.js';
9
- import { I as InputTemplate } from './input-template-f5b003c0.js';
9
+ import { I as InputTemplate } from './input-template-9a5da65a.js';
10
10
  import { d as delay } from './utils-57652744.js';
11
11
  import { c as createStore } from './index-8b349654.js';
12
12
  import { S as StringHelper } from './string-helper-0fb7ff20.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { r as registerInstance, h, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import './colors-39b87f63.js';
9
9
  import './_commonjsHelpers-3016b722.js';
10
10
 
@@ -5,8 +5,8 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
9
- import { s as stepperStates } from './stepper-states-7087f0cb.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
+ import { s as stepperStates } from './stepper-states-3b8d6edd.js';
10
10
  import './_commonjsHelpers-3016b722.js';
11
11
  import './colors-39b87f63.js';
12
12
  import './index-8b349654.js';
@@ -3,20 +3,20 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-6e2d80d7.js';
6
- import { G as Generate, s as snq } from './generate-fbf3c64b.js';
6
+ import { G as Generate, s as snq } from './generate-82c3ee1f.js';
7
7
  import { c as classnames } from './index-ba2edd32.js';
8
8
  import './color-helper-2b6697b6.js';
9
9
  import './datetime-helper-df25808a.js';
10
- import './number-helper-b69dc985.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { g as getChildElements, d as delay } from './utils-57652744.js';
15
15
  import { a as Bcm } from './bcm-9f50af9c.js';
16
16
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
17
17
  import './types-6f06fa1a.js';
18
18
  import './types-bfc3bba1.js';
19
- import { s as stepperStates } from './stepper-states-7087f0cb.js';
19
+ import { s as stepperStates } from './stepper-states-3b8d6edd.js';
20
20
  import './colors-39b87f63.js';
21
21
  import './_commonjsHelpers-3016b722.js';
22
22
  import './colors-1d7854ea.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import { B as Bcm } from './bcm-9f50af9c.js';
10
10
  import { C as CaptionTemplate } from './caption-template-389f5bd6.js';
11
11
  import { d as delay } from './utils-57652744.js';
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
7
  import './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { d as delay } from './utils-57652744.js';
15
15
  import { a as Bcm } from './bcm-9f50af9c.js';
@@ -6,10 +6,10 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-6e
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
7
  import './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import { a as Bcm } from './bcm-9f50af9c.js';
15
15
  import { c as classnames } from './index-ba2edd32.js';
@@ -6,10 +6,10 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-6e
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
7
  import './color-helper-2b6697b6.js';
8
8
  import './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-fbf3c64b.js';
10
- import './number-helper-b69dc985.js';
9
+ import { G as Generate } from './generate-82c3ee1f.js';
10
+ import './number-helper-d4126c02.js';
11
11
  import './string-helper-0fb7ff20.js';
12
- import './validators-d3c37e80.js';
12
+ import './validators-2a89d009.js';
13
13
  import './element-dragger-89bb52fd.js';
14
14
  import './bcm-9f50af9c.js';
15
15
  import './colors-1d7854ea.js';
@@ -4,10 +4,10 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, g as getElement } from './index-6e2d80d7.js';
6
6
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
7
- import { G as Generate } from './generate-fbf3c64b.js';
7
+ import { G as Generate } from './generate-82c3ee1f.js';
8
8
  import { B as Bcm } from './bcm-9f50af9c.js';
9
9
  import { c as classnames } from './index-ba2edd32.js';
10
- import { N as NumberHelper } from './number-helper-b69dc985.js';
10
+ import { N as NumberHelper } from './number-helper-d4126c02.js';
11
11
  import { e as extractColor } from './utils-57652744.js';
12
12
  import { C as ColorPalette } from './colors-1d7854ea.js';
13
13
  import { C as ColorProps } from './types-bfc3bba1.js';
@@ -5,10 +5,10 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import { B as Bcm } from './bcm-9f50af9c.js';
10
10
  import { C as CaptionTemplate } from './caption-template-389f5bd6.js';
11
- import { I as InputTemplate } from './input-template-f5b003c0.js';
11
+ import { I as InputTemplate } from './input-template-9a5da65a.js';
12
12
  import { d as delay } from './utils-57652744.js';
13
13
  import './_commonjsHelpers-3016b722.js';
14
14
  import './colors-39b87f63.js';
@@ -5,7 +5,7 @@
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
6
  import { c as classnames } from './index-ba2edd32.js';
7
7
  import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
- import { G as Generate } from './generate-fbf3c64b.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
9
  import { B as Bcm } from './bcm-9f50af9c.js';
10
10
  import { d as delay } from './utils-57652744.js';
11
11
  import './_commonjsHelpers-3016b722.js';
@@ -0,0 +1,111 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6e2d80d7.js';
6
+ import { c as classnames } from './index-ba2edd32.js';
7
+ import { I as IsLoad } from './is-load-decorator-66e19e04.js';
8
+ import { G as Generate } from './generate-82c3ee1f.js';
9
+ import { S as StringHelper } from './string-helper-0fb7ff20.js';
10
+ import { B as Bcm } from './bcm-9f50af9c.js';
11
+ import { d as delay } from './utils-57652744.js';
12
+ import './_commonjsHelpers-3016b722.js';
13
+ import './colors-39b87f63.js';
14
+
15
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
16
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
+ r = Reflect.decorate(decorators, target, key, desc);
19
+ else
20
+ for (var i = decorators.length - 1; i >= 0; i--)
21
+ if (d = decorators[i])
22
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ };
25
+ const BcmToast = class {
26
+ constructor(hostRef) {
27
+ registerInstance(this, hostRef);
28
+ this.bcmToastClose = createEvent(this, "bcm-toast-close", 7);
29
+ this.bcmToastOpen = createEvent(this, "bcm-toast-open", 7);
30
+ this.bcmToastView = createEvent(this, "bcm-toast-view", 7);
31
+ this._id = Generate.UID();
32
+ this.status = undefined;
33
+ this.message = "";
34
+ this.description = "";
35
+ this.duration = 3000;
36
+ this.position = Bcm.Placement.bottom;
37
+ this.messageIcon = undefined;
38
+ this.viewButton = false;
39
+ this.closeButton = true;
40
+ this.visible = false;
41
+ this.visibleContainer = false;
42
+ }
43
+ async show() {
44
+ const container = document.getElementById(this._id + "-container");
45
+ if (container) {
46
+ document.body.appendChild(container);
47
+ }
48
+ this.visible = true;
49
+ await delay(50);
50
+ this.visibleContainer = true;
51
+ this.bcmToastOpen.emit();
52
+ if (this.timer) {
53
+ clearTimeout(this.timer);
54
+ }
55
+ this.timer = setTimeout(() => this.hide(), this.duration);
56
+ return this.el;
57
+ }
58
+ async hide() {
59
+ this.visibleContainer = false;
60
+ clearTimeout(this.timer);
61
+ this.bcmToastClose.emit();
62
+ await delay(100);
63
+ this.visible = false;
64
+ }
65
+ handleMouseEnter() {
66
+ clearTimeout(this.timer);
67
+ }
68
+ handleMouseLeave() {
69
+ if (this.visible) {
70
+ this.timer = setTimeout(() => this.hide(), 1000);
71
+ }
72
+ }
73
+ render() {
74
+ return (h(Host, { class: "tw-hidden" }, h("div", { class: classnames({ "tw-hidden": !this.visible }), id: this._id + "-container", onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("div", { class: classnames("tw-pointer-events-auto tw-transform tw-transition tw-duration-300 tw-ease-in-out", "tw-flex tw-min-w-[256px] tw-max-w-[420px] tw-flex-col tw-gap-2 tw-rounded-lg tw-border tw-font-sans tw-font-normal tw-shadow-2", "tw-border-gray-300 tw-bg-white tw-text-slate-600", {
75
+ "tw-p-4": !this.description,
76
+ "tw-p-6": this.description,
77
+ }, "tw-fixed tw-z-50", "tw-transform tw-transition tw-duration-300 tw-ease-in-out ", {
78
+ "tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === Bcm.Placement.top,
79
+ "tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === Bcm.Placement.bottom,
80
+ "tw-top-4 tw-left-4": this.position === Bcm.Placement["top-start"],
81
+ "tw-top-4 tw-right-4": this.position === Bcm.Placement["top-end"],
82
+ "tw-bottom-4 tw-left-4": this.position === Bcm.Placement["bottom-start"],
83
+ "tw-bottom-4 tw-right-4": this.position === Bcm.Placement["bottom-end"],
84
+ "tw-translate-y-0 tw-opacity-100 ": this.visibleContainer,
85
+ "tw-opacity-0": !this.visibleContainer,
86
+ "tw-translate-y-[-100%]": !this.visibleContainer && this.position.split("-")[0] === "top",
87
+ "tw-translate-y-[100%]": !this.visibleContainer && this.position.split("-")[0] === "bottom",
88
+ }) }, h("div", { class: "tw-flex tw-items-center tw-justify-between tw-gap-5" }, h("div", { class: "tw-flex tw-items-center tw-gap-3 " }, this.status && (h("i", { class: classnames("tw-text-6", this.messageIcon ? this.messageIcon : "far", {
89
+ "tw-text-emerald-500": this.status === "success",
90
+ "tw-text-red-500": this.status === "error",
91
+ "tw-text-amber-500": this.status === "warning",
92
+ "tw-text-blue-500": this.status === "info",
93
+ }, {
94
+ "fa-check-circle": !this.messageIcon && this.status === "success",
95
+ "fa-exclamation-circle": !this.messageIcon && this.status === "error",
96
+ "fa-exclamation-triangle": !this.messageIcon && this.status === "warning",
97
+ "fa-info-circle": !this.messageIcon && this.status === "info",
98
+ }) })), h("span", { class: classnames({
99
+ "tw-text-4": !this.description,
100
+ "tw-text-6 tw-font-medium": this.description,
101
+ }) }, !this.description && this.status && h("span", null, StringHelper.capitalize(this.status), ": "), this.message)), h("div", { class: "tw-flex tw-items-baseline tw-gap-2" }, this.viewButton && (h("button", { onClick: () => this.bcmToastView.emit(), title: "View details", class: classnames("tw-cursor-pointer tw-rounded tw-bg-transparent tw-p-0 tw-px-1 tw-text-4 tw-text-inherit", "hover:tw-bg-gray-100 hover:tw-text-slate-800", "active:tw-bg-gray-200", "tw-transition tw-duration-300 tw-ease-in-out", {
102
+ "tw-font-medium": this.description,
103
+ }) }, "View")), this.closeButton && (h("button", { title: "Close", onClick: () => this.hide(), class: classnames("tw-rounded tw-bg-transparent tw-p-0", "tw-flex tw-h-6 tw-w-6 tw-cursor-pointer tw-items-center tw-justify-center tw-text-3 tw-text-inherit", "hover:tw-bg-gray-100 hover:tw-text-slate-800", "active:tw-bg-gray-200") }, h("i", { class: "fal fa-times" }))))), this.description && h("div", { class: "tw-text-3 " }, this.description), h("slot", null)))));
104
+ }
105
+ get el() { return getElement(this); }
106
+ };
107
+ __decorate([
108
+ IsLoad()
109
+ ], BcmToast.prototype, "el", void 0);
110
+
111
+ export { BcmToast as bcm_toast };