bromcom-ui 2.9.0-rc.17 → 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 (228) 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-e990bd92.js → p-04e7d8ac.js} +1 -1
  4. package/dist/bromcom-ui/{p-ec3f8fa1.entry.js → p-05fef42b.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-471e6f13.entry.js → p-06672174.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-b2f9f3de.entry.js → p-06c3ed21.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-b285932b.entry.js → p-09737f79.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-a2895a18.entry.js → p-0ac10364.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-0c705d0d.entry.js → p-0b81c02f.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-0c774416.entry.js +7 -0
  11. package/dist/bromcom-ui/{p-7883b679.entry.js → p-0fb41a53.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-4e79863b.entry.js → p-14cafd64.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-0c8157d4.entry.js → p-150450da.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-685ac3f4.entry.js → p-1625ce05.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-6340db85.entry.js → p-1ae58853.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-d7ee1012.entry.js → p-1ba23d50.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-9319f7f4.entry.js → p-203446af.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-2156f8f5.js +5 -0
  19. package/dist/bromcom-ui/{p-c59955f2.js → p-2208aada.js} +1 -1
  20. package/dist/bromcom-ui/{p-540f4773.entry.js → p-2505c9d9.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-b4ab469f.entry.js → p-26290ed5.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-5c6acefe.entry.js → p-29a6e6c0.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-beaa330c.entry.js → p-29ca858f.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-155da29a.entry.js → p-2dbf5ba5.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-20a6109c.entry.js → p-302fe8de.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-85626493.entry.js → p-30dbc7bd.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-eb499b2a.js → p-3363ca16.js} +1 -1
  28. package/dist/bromcom-ui/{p-b1a5a52f.entry.js → p-3a29e450.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-7f168998.js → p-3fa51f1b.js} +1 -1
  30. package/dist/bromcom-ui/{p-bc4d601b.js → p-41dc7f2d.js} +1 -1
  31. package/dist/bromcom-ui/{p-46207bba.entry.js → p-430c0a24.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-57919ad8.entry.js → p-47ce3a16.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-57e95f4d.entry.js → p-4a511d29.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-2ecdf256.entry.js → p-4a83d3fc.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-17d77ef9.entry.js → p-4be8e402.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-5b7405f1.entry.js → p-56e27911.entry.js} +1 -1
  37. package/dist/bromcom-ui/p-5c03d929.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-07c3eb8e.js → p-61db1f1f.js} +1 -1
  39. package/dist/bromcom-ui/{p-279d1c89.entry.js → p-66da9512.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  41. package/dist/bromcom-ui/{p-660a8daa.entry.js → p-80ee3d97.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-26474f78.js → p-85ca2b62.js} +1 -1
  43. package/dist/bromcom-ui/{p-ce5ecb3b.entry.js → p-87dda5e5.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-f8a945e0.entry.js → p-8a9e9aeb.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-ca8d81d3.entry.js → p-8b08527e.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  47. package/dist/bromcom-ui/p-90c5221d.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-cd730a64.js → p-917bd915.js} +1 -1
  49. package/dist/bromcom-ui/{p-c9c7067e.entry.js → p-99824717.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-225a4a91.entry.js → p-9e25eb82.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-ea34b1bb.entry.js → p-9ed18ccb.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-7460c390.entry.js → p-a2b00328.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-06f6bec2.entry.js → p-a3e268da.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-bbd40bdb.entry.js → p-a7763f93.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-78523120.entry.js → p-a8254f18.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-50e46665.entry.js → p-ad822bff.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-6a8553bd.entry.js → p-bb3239ef.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-bc46e80c.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-3d730230.entry.js → p-c1a992e7.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-8df92692.entry.js → p-c78ab3ca.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-ce938f1e.entry.js +5 -0
  62. package/dist/bromcom-ui/{p-42ced8e3.entry.js → p-cf9d4122.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-f8998fe4.entry.js → p-d64879be.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-fb8e1424.entry.js → p-d85727a3.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-61cc61af.entry.js → p-e45a2a64.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-8f9077af.entry.js → p-e688b044.entry.js} +1 -1
  67. package/dist/bromcom-ui/p-e6e00bc4.entry.js +5 -0
  68. package/dist/bromcom-ui/{p-a829d1e0.entry.js → p-f2b3b5a8.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-3f883b7f.js → p-fc361b51.js} +1 -1
  70. package/dist/bromcom-ui/{p-7e05ccf7.entry.js → p-fe86c9e1.entry.js} +1 -1
  71. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  72. package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
  73. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  74. package/dist/cjs/bcm-avatar_2.cjs.entry.js +4 -4
  75. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  76. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  77. package/dist/cjs/{bcm-button_14.cjs.entry.js → bcm-button_15.cjs.entry.js} +3586 -2960
  78. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  79. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  81. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
  83. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  84. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  85. package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
  86. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  87. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  88. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  89. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  90. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
  92. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  93. package/dist/cjs/bcm-items.cjs.entry.js +2 -2
  94. package/dist/cjs/bcm-list_3.cjs.entry.js +9 -6
  95. package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
  96. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  97. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  98. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  99. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  100. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  101. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
  103. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  104. package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
  105. package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
  106. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  107. package/dist/cjs/bcm-skeleton.cjs.entry.js +2 -2
  108. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  109. package/dist/cjs/bcm-stepper.cjs.entry.js +5 -5
  110. package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
  111. package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
  113. package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
  114. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  115. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  116. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  117. package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
  118. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  119. package/dist/cjs/{generate-030514c7.js → generate-a614441c.js} +1 -1
  120. package/dist/cjs/{global-7a53c842.js → global-dbb478c2.js} +1 -1
  121. package/dist/cjs/{input-template-66b87638.js → input-template-2f000bbb.js} +1 -1
  122. package/dist/cjs/{json-parse-decarator-06d53544.js → json-parse-decarator-2831cc43.js} +1 -1
  123. package/dist/cjs/loader.cjs.js +3 -3
  124. package/dist/cjs/{number-helper-352187f7.js → number-helper-f401b29a.js} +1 -1
  125. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  126. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  127. package/dist/cjs/{package-11e34ed7.js → package-5175214b.js} +1 -1
  128. package/dist/cjs/{stepper-states-49f02d8f.js → stepper-states-fa6f45d2.js} +1 -1
  129. package/dist/cjs/{tooltip-helper-bb2b5e81.js → tooltip-helper-a9d5aaef.js} +3 -3
  130. package/dist/cjs/{validators-930ccb7e.js → validators-45097bb8.js} +1 -1
  131. package/dist/collection/components/molecules/input/input.js +0 -2
  132. package/dist/collection/components/molecules/linked/linked.js +3 -27
  133. package/dist/collection/components/organism/list/list.js +3 -18
  134. package/dist/collection/components/third-parts/rc-picker/date.js +202 -56
  135. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +101 -4
  136. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +274 -159
  137. package/dist/components/bcm-date.js +44 -15
  138. package/dist/components/generate.js +1 -1
  139. package/dist/components/input.js +0 -2
  140. package/dist/components/linked.js +4 -10
  141. package/dist/components/list.js +4 -1
  142. package/dist/components/rc-picker.js +3031 -2887
  143. package/dist/esm/bcm-accordion.entry.js +2 -2
  144. package/dist/esm/bcm-alert.entry.js +2 -2
  145. package/dist/esm/bcm-attendance.entry.js +2 -2
  146. package/dist/esm/bcm-avatar_2.entry.js +7 -7
  147. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  148. package/dist/esm/bcm-button-group.entry.js +2 -2
  149. package/dist/esm/{bcm-button_14.entry.js → bcm-button_15.entry.js} +3589 -2964
  150. package/dist/esm/bcm-card.entry.js +4 -4
  151. package/dist/esm/bcm-checkbox-group.entry.js +3 -3
  152. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  153. package/dist/esm/bcm-checkbox_2.entry.js +4 -4
  154. package/dist/esm/bcm-chip-group.entry.js +7 -7
  155. package/dist/esm/bcm-chip.entry.js +4 -4
  156. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  157. package/dist/esm/bcm-collapse.entry.js +2 -2
  158. package/dist/esm/bcm-color-input.entry.js +7 -7
  159. package/dist/esm/bcm-colorpicker.entry.js +2 -2
  160. package/dist/esm/bcm-default.entry.js +2 -2
  161. package/dist/esm/bcm-drawer.entry.js +7 -7
  162. package/dist/esm/bcm-dropdown.entry.js +3 -3
  163. package/dist/esm/bcm-expansion-panel.entry.js +4 -4
  164. package/dist/esm/bcm-input-custom.entry.js +2 -2
  165. package/dist/esm/bcm-input-dropdown.entry.js +7 -7
  166. package/dist/esm/bcm-item.entry.js +4 -4
  167. package/dist/esm/bcm-items.entry.js +2 -2
  168. package/dist/esm/bcm-list_3.entry.js +12 -9
  169. package/dist/esm/bcm-menu.entry.js +8 -8
  170. package/dist/esm/bcm-modal-2-footer.entry.js +7 -7
  171. package/dist/esm/bcm-modal-2-header.entry.js +7 -7
  172. package/dist/esm/bcm-modal-2.entry.js +7 -7
  173. package/dist/esm/bcm-modal.entry.js +2 -2
  174. package/dist/esm/bcm-old-tag_2.entry.js +1 -1
  175. package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
  176. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  177. package/dist/esm/bcm-popover.entry.js +7 -7
  178. package/dist/esm/bcm-progress.entry.js +4 -4
  179. package/dist/esm/bcm-radio-group.entry.js +7 -7
  180. package/dist/esm/bcm-radio.entry.js +7 -7
  181. package/dist/esm/bcm-range.entry.js +3 -3
  182. package/dist/esm/bcm-select.entry.js +1 -1
  183. package/dist/esm/bcm-skeleton.entry.js +2 -2
  184. package/dist/esm/bcm-step.entry.js +3 -3
  185. package/dist/esm/bcm-stepper.entry.js +8 -8
  186. package/dist/esm/bcm-switch.entry.js +3 -3
  187. package/dist/esm/bcm-tab-group.entry.js +7 -7
  188. package/dist/esm/bcm-tab-item-header.entry.js +7 -7
  189. package/dist/esm/bcm-tab-item.entry.js +7 -7
  190. package/dist/esm/bcm-table.entry.js +7 -7
  191. package/dist/esm/bcm-tabs-content.entry.js +1 -1
  192. package/dist/esm/bcm-tabs.entry.js +1 -1
  193. package/dist/esm/bcm-tag.entry.js +4 -4
  194. package/dist/esm/bcm-text.entry.js +2 -2
  195. package/dist/esm/bcm-textarea.entry.js +4 -4
  196. package/dist/esm/bcm-toast.entry.js +3 -3
  197. package/dist/esm/bromcom-ui.js +3 -3
  198. package/dist/esm/{color-helper-71b610e7.js → color-helper-845ba523.js} +1 -1
  199. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  200. package/dist/esm/{generate-bc4836ec.js → generate-f5397d67.js} +1 -1
  201. package/dist/esm/{global-f3c4deee.js → global-fca83dc9.js} +1 -1
  202. package/dist/esm/{input-template-488d5665.js → input-template-50de36a8.js} +1 -1
  203. package/dist/esm/{json-parse-decarator-db6d3ec5.js → json-parse-decarator-db88bf63.js} +1 -1
  204. package/dist/esm/loader.js +3 -3
  205. package/dist/esm/{number-helper-ff8702fd.js → number-helper-aac382ed.js} +1 -1
  206. package/dist/esm/old-bcm-popover-box.entry.js +5 -5
  207. package/dist/esm/old-bcm-popover.entry.js +2 -2
  208. package/dist/esm/{package-24fdb9f8.js → package-3edf06a4.js} +1 -1
  209. package/dist/esm/{stepper-states-a9f17d5f.js → stepper-states-d7ac1d20.js} +1 -1
  210. package/dist/esm/{tooltip-helper-db3aba86.js → tooltip-helper-d7a40058.js} +6 -6
  211. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  212. package/dist/esm/{validators-efb38781.js → validators-7cb12260.js} +1 -1
  213. package/dist/types/components/molecules/linked/linked.d.ts +1 -3
  214. package/dist/types/components/organism/list/list.d.ts +1 -0
  215. package/dist/types/components/third-parts/rc-picker/date.d.ts +121 -6
  216. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +35 -16
  217. package/dist/types/components.d.ts +52 -25
  218. package/package.json +7 -7
  219. package/dist/bromcom-ui/p-00f70814.entry.js +0 -5
  220. package/dist/bromcom-ui/p-06e043df.entry.js +0 -13
  221. package/dist/bromcom-ui/p-64fb69ee.entry.js +0 -5
  222. package/dist/bromcom-ui/p-74221f9a.entry.js +0 -5
  223. package/dist/bromcom-ui/p-75d8b6cd.entry.js +0 -5
  224. package/dist/bromcom-ui/p-ac1b198d.js +0 -5
  225. package/dist/bromcom-ui/p-ba30fbea.entry.js +0 -5
  226. package/dist/bromcom-ui/p-c0d0d800.entry.js +0 -5
  227. package/dist/cjs/bcm-form.cjs.entry.js +0 -489
  228. 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.17";
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);