bromcom-ui 2.9.0-rc.18 → 2.9.0-rc.19

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 (223) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-13380aab.js → p-04e7d8ac.js} +1 -1
  3. package/dist/bromcom-ui/{p-b4b9c195.entry.js → p-05fef42b.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-1264d0a2.entry.js → p-06672174.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-95c6e625.entry.js → p-06c3ed21.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-901911e3.entry.js → p-09737f79.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-882a7f23.entry.js → p-0ac10364.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-0b3dc9d6.entry.js → p-0b81c02f.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-0c774416.entry.js +7 -0
  10. package/dist/bromcom-ui/{p-85ad9f3f.entry.js → p-0fb41a53.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-4e79863b.entry.js → p-14cafd64.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-0248dda1.entry.js → p-150450da.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-b81b471f.entry.js → p-1625ce05.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-cb8f146d.entry.js → p-1ae58853.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-f7c0dacd.entry.js → p-1ba23d50.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-73d21d07.entry.js → p-203446af.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-f9be0aa3.js → p-2156f8f5.js} +1 -1
  18. package/dist/bromcom-ui/{p-0f59535f.js → p-2208aada.js} +1 -1
  19. package/dist/bromcom-ui/{p-970b4b64.entry.js → p-2505c9d9.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-b4ab469f.entry.js → p-26290ed5.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-1da685cc.entry.js → p-29a6e6c0.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-3db2e540.entry.js → p-29ca858f.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-ad278432.entry.js → p-2dbf5ba5.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-bd02fdcc.entry.js → p-302fe8de.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-dda4e3d6.entry.js → p-30dbc7bd.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-df33161f.js → p-3363ca16.js} +1 -1
  27. package/dist/bromcom-ui/{p-c357d5b9.entry.js → p-3a29e450.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-ce7aa349.js → p-3fa51f1b.js} +1 -1
  29. package/dist/bromcom-ui/{p-9efd429a.js → p-41dc7f2d.js} +1 -1
  30. package/dist/bromcom-ui/{p-46207bba.entry.js → p-430c0a24.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-9c7c62bf.entry.js → p-47ce3a16.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-2d859945.entry.js → p-4a511d29.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-98cb2ad8.entry.js → p-4a83d3fc.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-00adb162.entry.js → p-4be8e402.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-e2cfb773.entry.js → p-56e27911.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-5c03d929.entry.js +5 -0
  37. package/dist/bromcom-ui/{p-07c3eb8e.js → p-61db1f1f.js} +1 -1
  38. package/dist/bromcom-ui/{p-ac5f4e84.entry.js → p-66da9512.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  40. package/dist/bromcom-ui/{p-660a8daa.entry.js → p-80ee3d97.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-5f87e129.js → p-85ca2b62.js} +1 -1
  42. package/dist/bromcom-ui/{p-6f32652d.entry.js → p-87dda5e5.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-ac234c84.entry.js → p-8a9e9aeb.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-a6edcc85.entry.js → p-8b08527e.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  46. package/dist/bromcom-ui/{p-a341fa6d.entry.js → p-90c5221d.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-10fd8284.js → p-917bd915.js} +1 -1
  48. package/dist/bromcom-ui/{p-c9c7067e.entry.js → p-99824717.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-5a0e52d2.entry.js → p-9e25eb82.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-347b7912.entry.js → p-9ed18ccb.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-347606cb.entry.js → p-a2b00328.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-eeaf54a5.entry.js → p-a3e268da.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-2d0719af.entry.js → p-a7763f93.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-6a2c6341.entry.js → p-a8254f18.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-99384b21.entry.js → p-ad822bff.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-e2933884.entry.js → p-bb3239ef.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-381c0161.entry.js → p-bc46e80c.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-3d730230.entry.js → p-c1a992e7.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-c917c1fb.entry.js → p-c78ab3ca.entry.js} +1 -1
  60. package/dist/bromcom-ui/p-ce938f1e.entry.js +5 -0
  61. package/dist/bromcom-ui/{p-766522ff.entry.js → p-cf9d4122.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-042fa5c0.entry.js → p-d64879be.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-eae72194.entry.js → p-d85727a3.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-bb2f87d8.entry.js → p-e45a2a64.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-8f9077af.entry.js → p-e688b044.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-edf43cd5.entry.js → p-e6e00bc4.entry.js} +1 -1
  67. package/dist/bromcom-ui/{p-fae5ab21.entry.js → p-f2b3b5a8.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-12010629.js → p-fc361b51.js} +1 -1
  69. package/dist/bromcom-ui/{p-106a65bf.entry.js → p-fe86c9e1.entry.js} +1 -1
  70. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  71. package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
  72. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  73. package/dist/cjs/bcm-avatar_2.cjs.entry.js +4 -4
  74. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  76. package/dist/cjs/{bcm-button_14.cjs.entry.js → bcm-button_15.cjs.entry.js} +3586 -2960
  77. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  78. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
  79. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
  81. package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
  82. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  83. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  84. package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
  85. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  87. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  88. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  89. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  90. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
  91. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  92. package/dist/cjs/bcm-items.cjs.entry.js +2 -2
  93. package/dist/cjs/bcm-list_3.cjs.entry.js +9 -6
  94. package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
  95. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  96. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  97. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  98. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  100. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  101. package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
  102. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  103. package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
  104. package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
  105. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  106. package/dist/cjs/bcm-skeleton.cjs.entry.js +2 -2
  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-switch.cjs.entry.js +2 -2
  110. package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
  111. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
  113. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  114. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  115. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  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-90889006.js → generate-a614441c.js} +1 -1
  119. package/dist/cjs/{global-83d1dfc5.js → global-dbb478c2.js} +1 -1
  120. package/dist/cjs/{input-template-58031bb0.js → input-template-2f000bbb.js} +1 -1
  121. package/dist/cjs/{json-parse-decarator-c5086a06.js → json-parse-decarator-2831cc43.js} +1 -1
  122. package/dist/cjs/loader.cjs.js +3 -3
  123. package/dist/cjs/{number-helper-7cf76b12.js → number-helper-f401b29a.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-cbf038fe.js → package-5175214b.js} +1 -1
  127. package/dist/cjs/{stepper-states-7f2a5e9d.js → stepper-states-fa6f45d2.js} +1 -1
  128. package/dist/cjs/{tooltip-helper-2dd2937e.js → tooltip-helper-a9d5aaef.js} +3 -3
  129. package/dist/cjs/{validators-b86a27db.js → validators-45097bb8.js} +1 -1
  130. package/dist/collection/components/molecules/input/input.js +0 -2
  131. package/dist/collection/components/molecules/linked/linked.js +3 -27
  132. package/dist/collection/components/organism/list/list.js +3 -18
  133. package/dist/collection/components/third-parts/rc-picker/date.js +202 -56
  134. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +101 -4
  135. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +274 -159
  136. package/dist/components/bcm-date.js +44 -15
  137. package/dist/components/generate.js +1 -1
  138. package/dist/components/input.js +0 -2
  139. package/dist/components/linked.js +4 -10
  140. package/dist/components/list.js +4 -1
  141. package/dist/components/rc-picker.js +3031 -2887
  142. package/dist/esm/bcm-accordion.entry.js +2 -2
  143. package/dist/esm/bcm-alert.entry.js +2 -2
  144. package/dist/esm/bcm-attendance.entry.js +2 -2
  145. package/dist/esm/bcm-avatar_2.entry.js +7 -7
  146. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  147. package/dist/esm/bcm-button-group.entry.js +2 -2
  148. package/dist/esm/{bcm-button_14.entry.js → bcm-button_15.entry.js} +3589 -2964
  149. package/dist/esm/bcm-card.entry.js +4 -4
  150. package/dist/esm/bcm-checkbox-group.entry.js +3 -3
  151. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  152. package/dist/esm/bcm-checkbox_2.entry.js +4 -4
  153. package/dist/esm/bcm-chip-group.entry.js +7 -7
  154. package/dist/esm/bcm-chip.entry.js +4 -4
  155. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  156. package/dist/esm/bcm-collapse.entry.js +2 -2
  157. package/dist/esm/bcm-color-input.entry.js +7 -7
  158. package/dist/esm/bcm-colorpicker.entry.js +2 -2
  159. package/dist/esm/bcm-default.entry.js +2 -2
  160. package/dist/esm/bcm-drawer.entry.js +7 -7
  161. package/dist/esm/bcm-dropdown.entry.js +3 -3
  162. package/dist/esm/bcm-expansion-panel.entry.js +4 -4
  163. package/dist/esm/bcm-input-custom.entry.js +2 -2
  164. package/dist/esm/bcm-input-dropdown.entry.js +7 -7
  165. package/dist/esm/bcm-item.entry.js +4 -4
  166. package/dist/esm/bcm-items.entry.js +2 -2
  167. package/dist/esm/bcm-list_3.entry.js +12 -9
  168. package/dist/esm/bcm-menu.entry.js +8 -8
  169. package/dist/esm/bcm-modal-2-footer.entry.js +7 -7
  170. package/dist/esm/bcm-modal-2-header.entry.js +7 -7
  171. package/dist/esm/bcm-modal-2.entry.js +7 -7
  172. package/dist/esm/bcm-modal.entry.js +2 -2
  173. package/dist/esm/bcm-old-tag_2.entry.js +1 -1
  174. package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
  175. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  176. package/dist/esm/bcm-popover.entry.js +7 -7
  177. package/dist/esm/bcm-progress.entry.js +4 -4
  178. package/dist/esm/bcm-radio-group.entry.js +7 -7
  179. package/dist/esm/bcm-radio.entry.js +7 -7
  180. package/dist/esm/bcm-range.entry.js +3 -3
  181. package/dist/esm/bcm-select.entry.js +1 -1
  182. package/dist/esm/bcm-skeleton.entry.js +2 -2
  183. package/dist/esm/bcm-step.entry.js +3 -3
  184. package/dist/esm/bcm-stepper.entry.js +8 -8
  185. package/dist/esm/bcm-switch.entry.js +3 -3
  186. package/dist/esm/bcm-tab-group.entry.js +7 -7
  187. package/dist/esm/bcm-tab-item-header.entry.js +7 -7
  188. package/dist/esm/bcm-tab-item.entry.js +7 -7
  189. package/dist/esm/bcm-table.entry.js +7 -7
  190. package/dist/esm/bcm-tabs-content.entry.js +1 -1
  191. package/dist/esm/bcm-tabs.entry.js +1 -1
  192. package/dist/esm/bcm-tag.entry.js +4 -4
  193. package/dist/esm/bcm-text.entry.js +2 -2
  194. package/dist/esm/bcm-textarea.entry.js +4 -4
  195. package/dist/esm/bcm-toast.entry.js +3 -3
  196. package/dist/esm/bromcom-ui.js +3 -3
  197. package/dist/esm/{color-helper-71b610e7.js → color-helper-845ba523.js} +1 -1
  198. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  199. package/dist/esm/{generate-429ed196.js → generate-f5397d67.js} +1 -1
  200. package/dist/esm/{global-4d7d3a13.js → global-fca83dc9.js} +1 -1
  201. package/dist/esm/{input-template-ab2e6439.js → input-template-50de36a8.js} +1 -1
  202. package/dist/esm/{json-parse-decarator-a55054fc.js → json-parse-decarator-db88bf63.js} +1 -1
  203. package/dist/esm/loader.js +3 -3
  204. package/dist/esm/{number-helper-4dc8b504.js → number-helper-aac382ed.js} +1 -1
  205. package/dist/esm/old-bcm-popover-box.entry.js +5 -5
  206. package/dist/esm/old-bcm-popover.entry.js +2 -2
  207. package/dist/esm/{package-ad16f749.js → package-3edf06a4.js} +1 -1
  208. package/dist/esm/{stepper-states-f96a4ba5.js → stepper-states-d7ac1d20.js} +1 -1
  209. package/dist/esm/{tooltip-helper-c4cb45ab.js → tooltip-helper-d7a40058.js} +6 -6
  210. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  211. package/dist/esm/{validators-4cbe3998.js → validators-7cb12260.js} +1 -1
  212. package/dist/types/components/molecules/linked/linked.d.ts +1 -3
  213. package/dist/types/components/organism/list/list.d.ts +1 -0
  214. package/dist/types/components/third-parts/rc-picker/date.d.ts +121 -6
  215. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +35 -16
  216. package/dist/types/components.d.ts +52 -25
  217. package/package.json +7 -7
  218. package/dist/bromcom-ui/p-00f70814.entry.js +0 -5
  219. package/dist/bromcom-ui/p-8373bb17.entry.js +0 -5
  220. package/dist/bromcom-ui/p-be63b3e6.entry.js +0 -13
  221. package/dist/bromcom-ui/p-f82738d7.entry.js +0 -5
  222. package/dist/cjs/bcm-form.cjs.entry.js +0 -489
  223. package/dist/esm/bcm-form.entry.js +0 -485
@@ -60,6 +60,22 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
60
60
  return this.format;
61
61
  };
62
62
  this.getValueObject = (value) => {
63
+ if (this.range) {
64
+ return this.getRangeValueObject(value);
65
+ }
66
+ else {
67
+ return this.createValueObject(value);
68
+ }
69
+ };
70
+ this.getRangeValueObject = (value) => {
71
+ const [start, end] = value._i || [];
72
+ const startObject = this.createValueObject(start);
73
+ const endObject = this.createValueObject(end);
74
+ return Object.assign({ isValid: startObject.isValid && endObject.isValid, start: startObject, end: endObject, date: [startObject.date, endObject.date], timestamp: [startObject.timestamp, endObject.timestamp], value: `${startObject.value} - ${endObject.value}` }, (this.type === "time" && {
75
+ time: `${startObject.time} - ${endObject.time}`,
76
+ }));
77
+ };
78
+ this.createValueObject = (value) => {
63
79
  if (value && hooks(value).isValid()) {
64
80
  return Object.assign({ isValid: hooks(value).isValid(), date: hooks(value).toDate(), timestamp: hooks(value).valueOf(), dateObject: {
65
81
  year: hooks(value).year(),
@@ -67,58 +83,64 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
67
83
  month: hooks(value).month(),
68
84
  dayOfWeek: hooks(value).day(),
69
85
  monthFirstDay: hooks(value).startOf("month").day(),
70
- }, value: hooks(value).format(this.getFormat()) }, this.type === "time" && {
86
+ }, value: hooks(value).format(this.getFormat()) }, (this.type === "time" && {
71
87
  time: hooks(value).format(this.getFormat()),
72
88
  timeObject: {
73
89
  hour: hooks(value).hour(),
74
90
  minute: hooks(value).minute(),
75
91
  second: hooks(value).second(),
76
92
  },
77
- });
93
+ }));
78
94
  }
79
95
  else {
80
96
  return null;
81
97
  }
82
98
  };
83
99
  this._id = Generate.UID();
84
- this.name = undefined;
85
- this.value = undefined;
86
100
  this.label = undefined;
87
101
  this.placeholder = undefined;
88
102
  this.size = Bcm.Size.medium;
89
103
  this.fullWidth = false;
90
104
  this.required = false;
91
105
  this.clearable = false;
106
+ this.disabled = false;
92
107
  this.noMargin = false;
93
108
  this.caption = undefined;
94
109
  this.noCaption = false;
95
110
  this.captionType = Bcm.Status.default;
96
111
  this.captionError = undefined;
112
+ this.name = undefined;
113
+ this.value = undefined;
97
114
  this.type = "date";
98
115
  this.format = undefined;
116
+ this.range = false;
99
117
  this.showTime = false;
100
- this.showToday = true;
101
118
  this.showNow = true;
102
119
  this.showHour = true;
103
120
  this.showMinute = true;
104
121
  this.showSecond = false;
105
122
  this.use12Hours = false;
106
- this.disabled = false;
123
+ this.hourStep = 1;
124
+ this.minuteStep = 1;
125
+ this.secondStep = 1;
126
+ this.hideDisabledOptions = false;
127
+ this.disabledTime = undefined;
128
+ this.showToday = true;
129
+ this.disabledDates = undefined;
107
130
  }
108
131
  async getValue() {
109
- var _a;
110
- return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.value) || null;
132
+ return this.value;
111
133
  }
112
134
  async get() {
113
135
  var _a;
114
- return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
136
+ return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
115
137
  }
116
138
  async set(value) {
117
139
  // this.value = value;
118
140
  this.getPickerElement().set(value);
119
141
  }
120
142
  async setClear() {
121
- this.value = null;
143
+ this.getPickerElement().set(null);
122
144
  }
123
145
  async resetCaption() {
124
146
  this.captionType = "default";
@@ -139,34 +161,41 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
139
161
  return (h(Host, { class: classnames("bcm-ui-element bcm-ui-input", "tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col", {
140
162
  "tw-max-w-[256px]": !this.fullWidth,
141
163
  "tw-mb-2": !this.noMargin,
142
- }) }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", onBcmRCPickerChange: e => this.onChange(e), type: this.type, format: this.getFormat(), clearable: this.clearable, val: this.value, class: classnames("w-full tw-flex"), size: size, placeholder: this.placeholder, showTime: this.showTime, showToday: this.showToday, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, error: this.captionType === "error", disabled: this.disabled }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
164
+ }) }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: classnames("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
143
165
  }
144
166
  get el() { return this; }
145
167
  }, [0, "bcm-date", {
146
168
  "_id": [513, "id"],
147
- "name": [1],
148
- "value": [1032],
149
169
  "label": [1],
150
170
  "placeholder": [1],
151
171
  "size": [1],
152
172
  "fullWidth": [4, "full-width"],
153
173
  "required": [4],
154
174
  "clearable": [4],
175
+ "disabled": [4],
155
176
  "noMargin": [4, "no-margin"],
156
177
  "caption": [1],
157
178
  "noCaption": [4, "no-caption"],
158
179
  "captionType": [1025, "caption-type"],
159
180
  "captionError": [1025, "caption-error"],
181
+ "name": [1],
182
+ "value": [1032],
160
183
  "type": [1],
161
184
  "format": [8],
185
+ "range": [4],
162
186
  "showTime": [4, "show-time"],
163
- "showToday": [4, "show-today"],
164
187
  "showNow": [4, "show-now"],
165
188
  "showHour": [4, "show-hour"],
166
189
  "showMinute": [4, "show-minute"],
167
190
  "showSecond": [4, "show-second"],
168
191
  "use12Hours": [4, "use-1-2-hours"],
169
- "disabled": [4],
192
+ "hourStep": [2, "hour-step"],
193
+ "minuteStep": [2, "minute-step"],
194
+ "secondStep": [2, "second-step"],
195
+ "hideDisabledOptions": [4, "hide-disabled-options"],
196
+ "disabledTime": [8, "disabled-time"],
197
+ "showToday": [4, "show-today"],
198
+ "disabledDates": [8, "disabled-dates"],
170
199
  "getValue": [64],
171
200
  "get": [64],
172
201
  "set": [64],
@@ -5,7 +5,7 @@
5
5
  import { Build } from '@stencil/core/internal/client';
6
6
  import { c as colors } from './colors2.js';
7
7
 
8
- const version = "2.9.0-rc.18";
8
+ const version = "2.9.0-rc.19";
9
9
 
10
10
  /**
11
11
  * 'status' prop predefined values
@@ -299,7 +299,6 @@ const BcmInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
299
299
  whatchHasFocus() {
300
300
  const { type, focused, valueCache, inValid } = this;
301
301
  if (type == Bcm.InputType.number && inValid) {
302
- console.log("whatchHasFocus");
303
302
  if (focused) {
304
303
  this.value = '';
305
304
  }
@@ -325,7 +324,6 @@ const BcmInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
325
324
  eyeDropper
326
325
  .open()
327
326
  .then((color) => {
328
- console.log("color: ", color.sRGBHex);
329
327
  this.setValue(color.sRGBHex);
330
328
  })
331
329
  .catch((error) => {
@@ -28,6 +28,9 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
28
28
  this.isOpen = false;
29
29
  this.hideDelay = 500;
30
30
  this.isMouseOverLink = false;
31
+ window.addEventListener("scroll", () => this.calculatePosition(), true);
32
+ window.addEventListener("wheel", () => this.calculatePosition(), true);
33
+ window.addEventListener("resize", () => this.calculatePosition(), true);
31
34
  }
32
35
  target() {
33
36
  const target = document.querySelectorAll(`[id="${this.targetId}"]`);
@@ -174,15 +177,6 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
174
177
  isTarget && this.show(false);
175
178
  }
176
179
  }
177
- resizeListener() {
178
- this.calculatePosition();
179
- }
180
- scrollListener() {
181
- this.calculatePosition();
182
- }
183
- wheelListener() {
184
- this.calculatePosition();
185
- }
186
180
  listenMouseOver() {
187
181
  var _a, _b;
188
182
  this.el.addEventListener("mouseover", () => (this.isMouseOverLink = true));
@@ -226,7 +220,7 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
226
220
  "show": [64],
227
221
  "hide": [64],
228
222
  "toggle": [64]
229
- }, [[4, "linked-data-dismiss", "onLinkedDataDismis"], [4, "bcm-floating-is-hide", "onBcmFloatingIsHide"], [6, "click", "clickListener"], [9, "resize", "resizeListener"], [9, "scroll", "scrollListener"], [9, "wheel", "wheelListener"]]]);
223
+ }, [[4, "linked-data-dismiss", "onLinkedDataDismis"], [4, "bcm-floating-is-hide", "onBcmFloatingIsHide"], [6, "click", "clickListener"]]]);
230
224
  function defineCustomElement() {
231
225
  if (typeof customElements === "undefined") {
232
226
  return;
@@ -935,6 +935,9 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
935
935
  this.placement = Bcm$1.Placement["bottom-start"];
936
936
  this.disableChangeEvent = false;
937
937
  this.data = [];
938
+ window.addEventListener("scroll", this.handleWheel.bind(this), true);
939
+ window.addEventListener("wheel", this.handleWheel.bind(this), true);
940
+ window.addEventListener("resize", this.handleResize.bind(this), true);
938
941
  }
939
942
  connectedCallback() {
940
943
  if (this.height != "256px") {
@@ -1668,7 +1671,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1668
1671
  "resetCaption": [64],
1669
1672
  "show": [64],
1670
1673
  "hide": [64]
1671
- }, [[2, "bcm-is-intersecting", "isIntersecting"], [2, "bcm-items", "handleSlotItems"], [0, "bcm-change", "handleChange"], [9, "resize", "handleResize"], [7, "scroll", "handleWheel"], [4, "wheel", "handleWheel"], [0, "bcm-select-other-tag", "handleSelectOtherTag"], [0, "bcm-delete-tag", "handleDeleteTag"], [0, "bcm-select-tag", "handleSelectTag"], [10, "click", "handleClick"], [10, "bcm-on-search-clear", "bcmOnSearchClear"], [10, "bcm-on-search", "bcmOnSearch"], [10, "keydown", "handleKeyDown"], [10, "keyup", "handleKeyUp"]]]);
1674
+ }, [[2, "bcm-is-intersecting", "isIntersecting"], [2, "bcm-items", "handleSlotItems"], [0, "bcm-change", "handleChange"], [0, "bcm-select-other-tag", "handleSelectOtherTag"], [0, "bcm-delete-tag", "handleDeleteTag"], [0, "bcm-select-tag", "handleSelectTag"], [10, "click", "handleClick"], [10, "bcm-on-search-clear", "bcmOnSearchClear"], [10, "bcm-on-search", "bcmOnSearch"], [10, "keydown", "handleKeyDown"], [10, "keyup", "handleKeyUp"]]]);
1672
1675
  __decorate([
1673
1676
  IsLoad()
1674
1677
  ], BcmList.prototype, "el", void 0);