@baloise/ds-core 19.0.1 → 19.1.0-snapshot.1722-8ed5de5d1

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 (242) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/bal-app.js +1 -93
  4. package/components/bal-app2.js +95 -0
  5. package/components/bal-button2.js +14 -10
  6. package/components/bal-date.js +84 -61
  7. package/components/bal-doc-app.d.ts +11 -0
  8. package/components/bal-doc-app.js +262 -0
  9. package/components/bal-field-hint.js +22 -10
  10. package/components/bal-hint2.js +35 -28
  11. package/components/bal-nav.js +154 -154
  12. package/components/bal-number-input.js +3 -0
  13. package/components/bal-popover2.js +1 -1
  14. package/components/bal-popup.js +1 -692
  15. package/components/bal-popup2.js +694 -0
  16. package/components/bal-radio2.js +1 -1
  17. package/components/bal-steps.js +1 -1
  18. package/components/bal-tabs2.js +35 -27
  19. package/components/index.esm.js +7 -1
  20. package/components/index.js +7 -314
  21. package/components/initialize.js +312 -0
  22. package/components/scroll.js +2 -0
  23. package/components/swiper.util.js +36 -36
  24. package/components/tokens.esm.js +1 -1
  25. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  26. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  27. package/dist/baloise-design-system/index.esm.js +1 -1
  28. package/dist/baloise-design-system/{p-2556cb83d1.entry.js → p-015e19e598.entry.js} +1 -1
  29. package/dist/baloise-design-system/{p-58cd37922d.system.entry.js → p-0879b070c7.system.entry.js} +1 -1
  30. package/dist/baloise-design-system/{p-0ac528b6cb.entry.js → p-1119214dc7.entry.js} +1 -1
  31. package/dist/baloise-design-system/{p-1e738175.system.js → p-12312f6a.system.js} +1 -1
  32. package/dist/baloise-design-system/p-16247f40.js +1 -0
  33. package/dist/baloise-design-system/p-1d4ea7e42b.system.entry.js +1 -0
  34. package/dist/baloise-design-system/{p-9b9be713.system.js → p-1d7c3cf2.system.js} +1 -1
  35. package/dist/baloise-design-system/{p-98b6f8ba43.entry.js → p-1e0a2263fb.entry.js} +1 -1
  36. package/dist/baloise-design-system/p-1e142b10.system.js +1 -0
  37. package/dist/baloise-design-system/p-20bc89d933.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-3b1a0df0.js → p-2259689b.js} +1 -1
  39. package/dist/baloise-design-system/{p-859c0fae39.system.entry.js → p-24336e0fca.system.entry.js} +1 -1
  40. package/dist/baloise-design-system/p-290dfd0212.system.entry.js +1 -0
  41. package/dist/baloise-design-system/p-294f38c2.js +1 -0
  42. package/dist/baloise-design-system/p-2a27350c.js +1 -0
  43. package/dist/baloise-design-system/{p-234c26f450.system.entry.js → p-2a616a2831.system.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-655d37c8.system.js → p-2b2458c9.system.js} +1 -1
  45. package/dist/baloise-design-system/{p-2bc77d4c8d.system.entry.js → p-2cc9673983.system.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-ef4bf5f5.js → p-2da560c8.js} +1 -1
  47. package/dist/baloise-design-system/p-343cc097d4.entry.js +1 -0
  48. package/dist/baloise-design-system/{p-afe7f75fcf.system.entry.js → p-390b2af6a5.system.entry.js} +1 -1
  49. package/dist/baloise-design-system/p-3913c6ae.js +1 -1
  50. package/dist/baloise-design-system/{p-b79164fedd.entry.js → p-3d22d39702.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-3e27968c78.entry.js +1 -0
  52. package/dist/baloise-design-system/p-42e66219.system.js +1 -0
  53. package/dist/baloise-design-system/p-47f0669a.js +1 -0
  54. package/dist/baloise-design-system/{p-bbdf082862.entry.js → p-4961c13ab2.entry.js} +1 -1
  55. package/dist/baloise-design-system/{p-817f7907be.system.entry.js → p-4ee69ec8ad.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/p-59fe5cd40b.system.entry.js +1 -0
  57. package/dist/baloise-design-system/{p-5281d378.system.js → p-5c54c98c.system.js} +1 -1
  58. package/dist/baloise-design-system/{p-faab35937e.system.entry.js → p-5fcfbec540.system.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-659ecadc.system.js +1 -1
  60. package/dist/baloise-design-system/{p-9f14664495.system.entry.js → p-700d293e05.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-f005df0cd0.entry.js → p-701b36bd47.entry.js} +1 -1
  62. package/dist/baloise-design-system/p-7865227451.entry.js +1 -0
  63. package/dist/baloise-design-system/p-7d4fac85.js +1 -0
  64. package/dist/baloise-design-system/{p-456114b8.system.js → p-83512f21.system.js} +1 -1
  65. package/dist/baloise-design-system/{p-beb28f85.system.js → p-86f22c89.system.js} +1 -1
  66. package/dist/baloise-design-system/p-8a9fb4619a.entry.js +1 -0
  67. package/dist/baloise-design-system/{p-40b022e526.entry.js → p-94ef1276a9.entry.js} +1 -1
  68. package/dist/baloise-design-system/p-96301206d3.system.entry.js +1 -0
  69. package/dist/baloise-design-system/{p-f19ea306.system.js → p-9f7a1215.system.js} +1 -1
  70. package/dist/baloise-design-system/p-a64c7a3b82.system.entry.js +1 -0
  71. package/dist/baloise-design-system/p-a7963df92a.entry.js +1 -0
  72. package/dist/baloise-design-system/{p-a15a24d3a1.system.entry.js → p-a882e9d052.system.entry.js} +1 -1
  73. package/dist/baloise-design-system/{p-5cfc65b40f.system.entry.js → p-aa8f27f4fc.system.entry.js} +1 -1
  74. package/dist/baloise-design-system/{p-b268996da1.system.entry.js → p-b17a4a8685.system.entry.js} +1 -1
  75. package/dist/baloise-design-system/p-b2f7e364.js +1 -0
  76. package/dist/baloise-design-system/{p-ec777a9167.entry.js → p-b9a4f3580b.entry.js} +1 -1
  77. package/dist/baloise-design-system/p-c5bd56d912.system.entry.js +1 -0
  78. package/dist/baloise-design-system/p-cac36dcb42.entry.js +1 -0
  79. package/dist/baloise-design-system/p-ce69fb6380.entry.js +1 -0
  80. package/dist/baloise-design-system/{p-f4f96647cf.system.entry.js → p-d09026edb1.system.entry.js} +1 -1
  81. package/dist/baloise-design-system/{p-df5ddf4439.system.entry.js → p-e39884faba.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/p-e75452d8.system.js +1 -0
  83. package/dist/baloise-design-system/{p-77c6d65eb1.entry.js → p-eaed1f800c.entry.js} +1 -1
  84. package/dist/baloise-design-system/p-f2cc4e63d4.entry.js +1 -0
  85. package/dist/baloise-design-system/p-f3138a7f48.entry.js +1 -0
  86. package/dist/baloise-design-system/{p-8f17a55f2b.system.entry.js → p-f6f9025e5c.system.entry.js} +1 -1
  87. package/dist/baloise-design-system/p-f8f8aae783.entry.js +1 -0
  88. package/dist/cjs/app-globals-f63c33e7.js +7 -0
  89. package/dist/cjs/bal-button_2.cjs.entry.js +13 -9
  90. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  91. package/dist/cjs/bal-date.cjs.entry.js +83 -60
  92. package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
  93. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  94. package/dist/cjs/bal-hint_5.cjs.entry.js +16 -21
  95. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  96. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  97. package/dist/cjs/bal-modal_3.cjs.entry.js +1 -1
  98. package/dist/cjs/bal-nav_8.cjs.entry.js +157 -157
  99. package/dist/cjs/bal-navbar_5.cjs.entry.js +4 -4
  100. package/dist/cjs/bal-number-input.cjs.entry.js +3 -0
  101. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  102. package/dist/cjs/bal-popup.cjs.entry.js +4 -4
  103. package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
  104. package/dist/cjs/bal-radio_2.cjs.entry.js +1 -1
  105. package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
  106. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  107. package/dist/cjs/bal-steps.cjs.entry.js +4 -4
  108. package/dist/cjs/bal-tab-item_2.cjs.entry.js +36 -28
  109. package/dist/cjs/baloise-design-system.cjs.js +3 -2
  110. package/dist/cjs/{breakpoints.decorator-9a0be218.js → breakpoints.decorator-7caeb547.js} +1 -1
  111. package/dist/cjs/{breakpoints.subject-19c7123e.js → breakpoints.subject-38f9d253.js} +1 -1
  112. package/dist/cjs/{app-globals-0d8db19e.js → global-2a76769b.js} +2 -4
  113. package/dist/cjs/index.cjs.js +3 -3
  114. package/dist/cjs/{index.esm-1f386b07.js → index.esm-a38eebac.js} +7 -0
  115. package/dist/cjs/initialize-2e8978a4.js +1 -1
  116. package/dist/cjs/loader.cjs.js +3 -2
  117. package/dist/cjs/{scroll-73c1b762.js → scroll-dc37ea84.js} +2 -0
  118. package/dist/cjs/{tokens.esm-3468979c.js → tokens.esm-199147ab.js} +1 -1
  119. package/dist/cjs/{window-resize.decorator-86974eaf.js → window-resize.decorator-4085797e.js} +1 -1
  120. package/dist/collection/collection-manifest.json +2 -1
  121. package/dist/collection/components/bal-button/bal-button.js +33 -10
  122. package/dist/collection/components/bal-date/bal-date.js +86 -107
  123. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  124. package/dist/collection/components/bal-hint/bal-hint.js +11 -16
  125. package/dist/collection/components/bal-nav/bal-nav.js +7 -7
  126. package/dist/collection/components/bal-number-input/bal-number-input.utils.js +3 -0
  127. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  128. package/dist/collection/components/bal-popup/bal-popup.js +3 -3
  129. package/dist/collection/components/bal-steps/components/step-button.js +1 -1
  130. package/dist/collection/components/bal-tabs/bal-tabs.js +12 -12
  131. package/dist/collection/components/bal-tabs/components/tab-nav.js +9 -1
  132. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  133. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
  134. package/dist/collection/utils/constants/version.constant.js +1 -1
  135. package/dist/collection/utils/scroll.js +2 -0
  136. package/dist/collection/utils/swiper/swiper.util.js +6 -6
  137. package/dist/esm/app-globals-1ecf000f.js +5 -0
  138. package/dist/esm/bal-button_2.entry.js +13 -9
  139. package/dist/esm/bal-carousel_2.entry.js +4 -4
  140. package/dist/esm/bal-date.entry.js +84 -61
  141. package/dist/esm/bal-doc-app.entry.js +229 -0
  142. package/dist/esm/bal-footer.entry.js +1 -1
  143. package/dist/esm/bal-hint_5.entry.js +16 -21
  144. package/dist/esm/bal-list_8.entry.js +3 -3
  145. package/dist/esm/bal-logo.entry.js +3 -3
  146. package/dist/esm/bal-modal_3.entry.js +1 -1
  147. package/dist/esm/bal-nav_8.entry.js +157 -157
  148. package/dist/esm/bal-navbar_5.entry.js +4 -4
  149. package/dist/esm/bal-number-input.entry.js +3 -0
  150. package/dist/esm/bal-pagination.entry.js +3 -3
  151. package/dist/esm/bal-popup.entry.js +4 -4
  152. package/dist/esm/bal-progress-bar.entry.js +4 -4
  153. package/dist/esm/bal-radio_2.entry.js +1 -1
  154. package/dist/esm/bal-segment_2.entry.js +4 -4
  155. package/dist/esm/bal-shape.entry.js +1 -1
  156. package/dist/esm/bal-steps.entry.js +4 -4
  157. package/dist/esm/bal-tab-item_2.entry.js +36 -28
  158. package/dist/esm/baloise-design-system.js +3 -2
  159. package/dist/esm/{breakpoints.decorator-899aba5d.js → breakpoints.decorator-6377fe2f.js} +1 -1
  160. package/dist/esm/{breakpoints.subject-2397d734.js → breakpoints.subject-5cd20c9c.js} +1 -1
  161. package/dist/esm/{app-globals-5dd5fe6b.js → global-6e86728b.js} +2 -4
  162. package/dist/esm/{index.esm-21c97d14.js → index.esm-9079680d.js} +7 -1
  163. package/dist/esm/index.js +4 -4
  164. package/dist/esm/initialize-be160cc4.js +1 -1
  165. package/dist/esm/loader.js +3 -2
  166. package/dist/esm/{scroll-f4b20848.js → scroll-521224a9.js} +2 -0
  167. package/dist/esm/{tokens.esm-a6a0f537.js → tokens.esm-8b16c7c5.js} +1 -1
  168. package/dist/esm/{window-resize.decorator-f286b710.js → window-resize.decorator-5dacd86b.js} +1 -1
  169. package/dist/esm-es5/app-globals-1ecf000f.js +1 -0
  170. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  171. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  172. package/dist/esm-es5/bal-date.entry.js +1 -1
  173. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  174. package/dist/esm-es5/bal-footer.entry.js +1 -1
  175. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  176. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  177. package/dist/esm-es5/bal-logo.entry.js +1 -1
  178. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  179. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  180. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  181. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  182. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  183. package/dist/esm-es5/bal-popup.entry.js +1 -1
  184. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  185. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  186. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  187. package/dist/esm-es5/bal-shape.entry.js +1 -1
  188. package/dist/esm-es5/bal-steps.entry.js +1 -1
  189. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  190. package/dist/esm-es5/baloise-design-system.js +1 -1
  191. package/dist/esm-es5/{breakpoints.decorator-899aba5d.js → breakpoints.decorator-6377fe2f.js} +1 -1
  192. package/dist/esm-es5/{breakpoints.subject-2397d734.js → breakpoints.subject-5cd20c9c.js} +1 -1
  193. package/dist/esm-es5/global-6e86728b.js +1 -0
  194. package/dist/esm-es5/index.esm-9079680d.js +1 -0
  195. package/dist/esm-es5/index.js +1 -1
  196. package/dist/esm-es5/initialize-be160cc4.js +1 -1
  197. package/dist/esm-es5/loader.js +1 -1
  198. package/dist/esm-es5/scroll-521224a9.js +1 -0
  199. package/dist/esm-es5/{swiper.util-01fa2dd9.js → swiper.util-5f92ac1c.js} +1 -1
  200. package/dist/esm-es5/{window-resize.decorator-f286b710.js → window-resize.decorator-5dacd86b.js} +1 -1
  201. package/dist/types/components/bal-button/bal-button.d.ts +5 -1
  202. package/dist/types/components/bal-button/bal-button.interfaces.d.ts +2 -0
  203. package/dist/types/components/bal-date/bal-date.d.ts +10 -15
  204. package/dist/types/components/bal-hint/bal-hint.d.ts +3 -2
  205. package/dist/types/components/bal-nav/bal-nav.d.ts +5 -5
  206. package/dist/types/components/bal-popup/bal-popup.d.ts +1 -1
  207. package/dist/types/components/bal-tabs/bal-tabs.d.ts +6 -6
  208. package/dist/types/components/bal-tabs/components/tab-nav.d.ts +1 -1
  209. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  210. package/dist/types/components.d.ts +42 -1
  211. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  212. package/package.json +6 -6
  213. package/dist/baloise-design-system/p-002d7bb9.js +0 -1
  214. package/dist/baloise-design-system/p-058dece332.system.entry.js +0 -1
  215. package/dist/baloise-design-system/p-082910ce81.entry.js +0 -1
  216. package/dist/baloise-design-system/p-28fbcf6fc9.entry.js +0 -1
  217. package/dist/baloise-design-system/p-2ff3021da9.entry.js +0 -1
  218. package/dist/baloise-design-system/p-345aa92d.system.js +0 -1
  219. package/dist/baloise-design-system/p-36ce945a77.entry.js +0 -1
  220. package/dist/baloise-design-system/p-42629a573a.system.entry.js +0 -1
  221. package/dist/baloise-design-system/p-5e1f2c26.js +0 -1
  222. package/dist/baloise-design-system/p-65e20456c6.entry.js +0 -1
  223. package/dist/baloise-design-system/p-85a6191cd8.entry.js +0 -1
  224. package/dist/baloise-design-system/p-894423fd.system.js +0 -1
  225. package/dist/baloise-design-system/p-917729be7f.entry.js +0 -1
  226. package/dist/baloise-design-system/p-b26a67d805.entry.js +0 -1
  227. package/dist/baloise-design-system/p-c1852273.js +0 -1
  228. package/dist/baloise-design-system/p-c661a0bb96.system.entry.js +0 -1
  229. package/dist/baloise-design-system/p-c72db97c1c.system.entry.js +0 -1
  230. package/dist/baloise-design-system/p-c8ee46d5bc.entry.js +0 -1
  231. package/dist/baloise-design-system/p-ddec5b99.js +0 -1
  232. package/dist/baloise-design-system/p-e5604d449d.system.entry.js +0 -1
  233. package/dist/baloise-design-system/p-ee275c12a9.entry.js +0 -1
  234. package/dist/baloise-design-system/p-f89208a3.js +0 -1
  235. package/dist/esm-es5/app-globals-5dd5fe6b.js +0 -1
  236. package/dist/esm-es5/index.esm-21c97d14.js +0 -1
  237. package/dist/esm-es5/scroll-f4b20848.js +0 -1
  238. package/dist/baloise-design-system/{p-95d42ad1.js → p-cca8571f.js} +0 -0
  239. package/dist/baloise-design-system/{p-cebe968d.system.js → p-f5e9e6a5.system.js} +0 -0
  240. package/dist/cjs/{swiper.util-f1c856f3.js → swiper.util-d23b8eb0.js} +36 -36
  241. package/dist/esm/{swiper.util-01fa2dd9.js → swiper.util-5f92ac1c.js} +36 -36
  242. /package/dist/esm-es5/{tokens.esm-a6a0f537.js → tokens.esm-8b16c7c5.js} +0 -0
@@ -27,6 +27,7 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
27
27
  import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
28
28
  import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
29
29
  import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
30
+ import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
30
31
  import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
31
32
  import { BalField, defineCustomElement as defineBalField } from './bal-field'
32
33
  import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
@@ -145,6 +146,7 @@ export { BalDate, defineBalDate }
145
146
  export { BalDateCalendar, defineBalDateCalendar }
146
147
  export { BalDateCalendarCell, defineBalDateCalendarCell }
147
148
  export { BalDivider, defineBalDivider }
149
+ export { BalDocApp, defineBalDocApp }
148
150
  export { BalDropdown, defineBalDropdown }
149
151
  export { BalField, defineBalField }
150
152
  export { BalFieldControl, defineBalFieldControl }
package/components/all.js CHANGED
@@ -27,6 +27,7 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
27
27
  import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
28
28
  import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
29
29
  import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
30
+ import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
30
31
  import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
31
32
  import { BalField, defineCustomElement as defineBalField } from './bal-field'
32
33
  import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
@@ -145,6 +146,7 @@ export { BalDate, defineBalDate }
145
146
  export { BalDateCalendar, defineBalDateCalendar }
146
147
  export { BalDateCalendarCell, defineBalDateCalendarCell }
147
148
  export { BalDivider, defineBalDivider }
149
+ export { BalDocApp, defineBalDocApp }
148
150
  export { BalDropdown, defineBalDropdown }
149
151
  export { BalField, defineBalField }
150
152
  export { BalFieldControl, defineBalFieldControl }
@@ -264,6 +266,7 @@ export const defineAllComponents = () => {
264
266
  defineBalDateCalendar()
265
267
  defineBalDateCalendarCell()
266
268
  defineBalDivider()
269
+ defineBalDocApp()
267
270
  defineBalDropdown()
268
271
  defineBalField()
269
272
  defineBalFieldControl()
@@ -1,96 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
- import { b as balBrowser } from './browser.js';
4
- import { b as balDevice } from './device.js';
5
- import { k as debounce, p as rIC, m as rOnLoad } from './helpers.js';
6
- import { L as Logger } from './log.js';
7
- import { s as startFocusVisible } from './focus-visible.js';
8
- import { b as updateBalAnimated } from './config.utils.js';
9
-
10
- const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
11
- const BalAppStyle0 = balAppCss;
12
-
13
- const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
14
- constructor() {
15
- super();
16
- this.__registerHost();
17
- this.debouncedNotify = debounce(() => this.notifyResize(), 100);
18
- this.notifyResize = async () => {
19
- if (balBrowser.hasDocument && balBrowser.hasWindow) {
20
- const doc = document.documentElement;
21
- doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
22
- }
23
- };
24
- this.animated = true;
25
- this.ready = false;
26
- }
27
- createLogger(log) {
28
- this.log = log;
29
- }
30
- connectedCallback() {
31
- if (this.animated === false) {
32
- updateBalAnimated(this.animated);
33
- }
34
- if (balBrowser.hasWindow) {
35
- window.addEventListener('resize', this.debouncedNotify);
36
- this.debouncedNotify();
37
- }
38
- }
39
- componentDidLoad() {
40
- rIC(() => {
41
- this.ready = true;
42
- startFocusVisible();
43
- });
44
- rOnLoad(() => {
45
- if (balBrowser.hasDocument && balBrowser.hasWindow) {
46
- const doc = document.documentElement;
47
- doc.classList.add('lcp-ready');
48
- }
49
- });
50
- }
51
- disconnectedCallback() {
52
- if (balBrowser.hasWindow) {
53
- window.removeEventListener('resize', this.debouncedNotify);
54
- }
55
- }
56
- async setFocus(elements) {
57
- if (this.focusVisible) {
58
- this.focusVisible.setFocus(elements);
59
- }
60
- }
61
- render() {
62
- return (h(Host, { key: '8aa3c989125e06e500597db9773fca378e4b7467', class: {
63
- 'bal-app': true,
64
- 'bal-app--safari': balBrowser.isSafari,
65
- 'bal-app--touch': balDevice.hasTouchScreen,
66
- } }, h("slot", { key: 'c0e432a988e29f653198ed4eeead7f18fa447035' })));
67
- }
68
- get el() { return this; }
69
- static get style() { return BalAppStyle0; }
70
- }, [4, "bal-app", {
71
- "animated": [516],
72
- "ready": [1540],
73
- "setFocus": [64]
74
- }]);
75
- __decorate([
76
- Logger('bal-app'),
77
- __metadata("design:type", Function),
78
- __metadata("design:paramtypes", [Function]),
79
- __metadata("design:returntype", void 0)
80
- ], App.prototype, "createLogger", null);
81
- function defineCustomElement$1() {
82
- if (typeof customElements === "undefined") {
83
- return;
84
- }
85
- const components = ["bal-app"];
86
- components.forEach(tagName => { switch (tagName) {
87
- case "bal-app":
88
- if (!customElements.get(tagName)) {
89
- customElements.define(tagName, App);
90
- }
91
- break;
92
- } });
93
- }
1
+ import { A as App, d as defineCustomElement$1 } from './bal-app2.js';
94
2
 
95
3
  const BalApp = App;
96
4
  const defineCustomElement = defineCustomElement$1;
@@ -0,0 +1,95 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
+ import { b as balBrowser } from './browser.js';
4
+ import { b as balDevice } from './device.js';
5
+ import { k as debounce, p as rIC, m as rOnLoad } from './helpers.js';
6
+ import { L as Logger } from './log.js';
7
+ import { s as startFocusVisible } from './focus-visible.js';
8
+ import { b as updateBalAnimated } from './config.utils.js';
9
+
10
+ const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
11
+ const BalAppStyle0 = balAppCss;
12
+
13
+ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
14
+ constructor() {
15
+ super();
16
+ this.__registerHost();
17
+ this.debouncedNotify = debounce(() => this.notifyResize(), 100);
18
+ this.notifyResize = async () => {
19
+ if (balBrowser.hasDocument && balBrowser.hasWindow) {
20
+ const doc = document.documentElement;
21
+ doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
22
+ }
23
+ };
24
+ this.animated = true;
25
+ this.ready = false;
26
+ }
27
+ createLogger(log) {
28
+ this.log = log;
29
+ }
30
+ connectedCallback() {
31
+ if (this.animated === false) {
32
+ updateBalAnimated(this.animated);
33
+ }
34
+ if (balBrowser.hasWindow) {
35
+ window.addEventListener('resize', this.debouncedNotify);
36
+ this.debouncedNotify();
37
+ }
38
+ }
39
+ componentDidLoad() {
40
+ rIC(() => {
41
+ this.ready = true;
42
+ startFocusVisible();
43
+ });
44
+ rOnLoad(() => {
45
+ if (balBrowser.hasDocument && balBrowser.hasWindow) {
46
+ const doc = document.documentElement;
47
+ doc.classList.add('lcp-ready');
48
+ }
49
+ });
50
+ }
51
+ disconnectedCallback() {
52
+ if (balBrowser.hasWindow) {
53
+ window.removeEventListener('resize', this.debouncedNotify);
54
+ }
55
+ }
56
+ async setFocus(elements) {
57
+ if (this.focusVisible) {
58
+ this.focusVisible.setFocus(elements);
59
+ }
60
+ }
61
+ render() {
62
+ return (h(Host, { key: '8aa3c989125e06e500597db9773fca378e4b7467', class: {
63
+ 'bal-app': true,
64
+ 'bal-app--safari': balBrowser.isSafari,
65
+ 'bal-app--touch': balDevice.hasTouchScreen,
66
+ } }, h("slot", { key: 'c0e432a988e29f653198ed4eeead7f18fa447035' })));
67
+ }
68
+ get el() { return this; }
69
+ static get style() { return BalAppStyle0; }
70
+ }, [4, "bal-app", {
71
+ "animated": [516],
72
+ "ready": [1540],
73
+ "setFocus": [64]
74
+ }]);
75
+ __decorate([
76
+ Logger('bal-app'),
77
+ __metadata("design:type", Function),
78
+ __metadata("design:paramtypes", [Function]),
79
+ __metadata("design:returntype", void 0)
80
+ ], App.prototype, "createLogger", null);
81
+ function defineCustomElement() {
82
+ if (typeof customElements === "undefined") {
83
+ return;
84
+ }
85
+ const components = ["bal-app"];
86
+ components.forEach(tagName => { switch (tagName) {
87
+ case "bal-app":
88
+ if (!customElements.get(tagName)) {
89
+ customElements.define(tagName, App);
90
+ }
91
+ break;
92
+ } });
93
+ }
94
+
95
+ export { App as A, defineCustomElement as d };
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { i as inheritAttributes } from './attributes.js';
3
2
  import { a as ariaBooleanToString } from './aria.js';
3
+ import { i as inheritAttributes } from './attributes.js';
4
4
  import { m as rOnLoad } from './helpers.js';
5
5
  import { d as defineCustomElement$2 } from './bal-icon2.js';
6
6
  import { d as defineCustomElement$1 } from './bal-spinner2.js';
@@ -12,6 +12,7 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
12
12
  constructor() {
13
13
  super();
14
14
  this.__registerHost();
15
+ this.balClick = createEvent(this, "balClick", 7);
15
16
  this.balNavigate = createEvent(this, "balNavigate", 7);
16
17
  this.balFocus = createEvent(this, "balFocus", 7);
17
18
  this.balBlur = createEvent(this, "balBlur", 7);
@@ -24,8 +25,11 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
24
25
  this.balBlur.emit();
25
26
  };
26
27
  this.onClick = (ev) => {
27
- if (this.href !== undefined) {
28
- this.balNavigate.emit(ev);
28
+ if (!this.disabled) {
29
+ this.balClick.emit(ev);
30
+ if (this.href !== undefined) {
31
+ this.balNavigate.emit(ev);
32
+ }
29
33
  }
30
34
  };
31
35
  this.isLargestContentPaintDone = false;
@@ -62,15 +66,10 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
62
66
  }
63
67
  }
64
68
  componentDidLoad() {
65
- var _a;
66
69
  rOnLoad(() => (this.isLargestContentPaintDone = true));
67
- if (this.el.getAttribute('bal-popup') && !((_a = this.aria) === null || _a === void 0 ? void 0 : _a.haspopup)) {
68
- this.aria = {
69
- haspopup: 'true',
70
- };
71
- }
72
70
  }
73
71
  componentWillLoad() {
72
+ var _a;
74
73
  this.inheritAttributes = inheritAttributes(this.el, [
75
74
  'title',
76
75
  'aria-label',
@@ -79,6 +78,11 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
79
78
  'tabindex',
80
79
  'aria-haspopup',
81
80
  ]);
81
+ if (this.el.hasAttribute('bal-popup') && !((_a = this.aria) === null || _a === void 0 ? void 0 : _a.haspopup)) {
82
+ this.aria = {
83
+ haspopup: 'true',
84
+ };
85
+ }
82
86
  }
83
87
  componentDidRender() {
84
88
  this.balDidRender.emit();
@@ -205,7 +209,7 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
205
209
  "noWrap": [4, "no-wrap"],
206
210
  "name": [1],
207
211
  "value": [8],
208
- "aria": [16],
212
+ "aria": [1040],
209
213
  "isLargestContentPaintDone": [32]
210
214
  }, [[6, "click", "listenOnClick"]]]);
211
215
  function defineCustomElement() {
@@ -1,14 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
- import { i as i18nBalDate } from './bal-date.i18n.js';
4
- import { B as BEM } from './bem.js';
5
- import { L as Logger } from './log.js';
3
+ import { i as isEscapeKey } from './index.esm.js';
4
+ import { a as ariaBooleanToString } from './aria.js';
6
5
  import { i as inheritAttributes } from './attributes.js';
7
- import { s as stopEventBubbling } from './form-input.js';
8
- import { o as debounceEvent } from './helpers.js';
9
- import { d as defaultBalAriaForm } from './form.js';
6
+ import { B as BEM } from './bem.js';
7
+ import { b as balBrowser } from './browser.js';
10
8
  import { b as balFloatingUi } from './floating-ui.js';
11
- import { a as ariaBooleanToString } from './aria.js';
9
+ import { F as FOCUS_KEYS } from './focus-visible.js';
10
+ import { d as defaultBalAriaForm } from './form.js';
11
+ import { s as stopEventBubbling } from './form-input.js';
12
+ import { p as rIC, o as debounceEvent, l as addEventListener, r as removeEventListener, d as waitAfterIdleCallback } from './helpers.js';
13
+ import { L as Logger } from './log.js';
14
+ import { i as i18nBalDate } from './bal-date.i18n.js';
12
15
  import { d as defineCustomElement$6 } from './bal-date-calendar2.js';
13
16
  import { d as defineCustomElement$5 } from './bal-date-calendar-cell2.js';
14
17
  import { d as defineCustomElement$4 } from './bal-icon2.js';
@@ -34,9 +37,44 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
34
37
  this.balFocus = createEvent(this, "balFocus", 7);
35
38
  this.balInputClick = createEvent(this, "balInputClick", 7);
36
39
  this.balIconClick = createEvent(this, "balIconClick", 7);
37
- this.balPopoverPrepare = createEvent(this, "balPopoverPrepare", 7);
38
40
  this.inputId = `bal-da-${dateIds++}`;
39
41
  this.inheritedAttributes = {};
42
+ /**
43
+ * LIFECYCLE
44
+ * ------------------------------------------------------
45
+ */
46
+ this.hasConnected = false;
47
+ /**
48
+ * PRIVATE METHOD
49
+ * ------------------------------------------------------
50
+ */
51
+ this.handleKeydown = (ev) => {
52
+ this.isKeyboardMode = FOCUS_KEYS.includes(ev.key);
53
+ };
54
+ this.handlePointerDown = () => {
55
+ this.isKeyboardMode = false;
56
+ };
57
+ this.handleOutsideClick = (ev) => {
58
+ if (this.isExpanded) {
59
+ if (!this.el.contains(ev.target)) {
60
+ this.isExpanded = false;
61
+ this.hasFocus = false;
62
+ rIC(() => this.balBlur.emit(ev));
63
+ }
64
+ }
65
+ };
66
+ this.handleFocus = (ev) => {
67
+ stopEventBubbling(ev);
68
+ this.hasFocus = true;
69
+ this.balFocus.emit(ev.detail);
70
+ };
71
+ this.handleBlur = (ev) => {
72
+ stopEventBubbling(ev);
73
+ if (!this.isExpanded) {
74
+ this.hasFocus = false;
75
+ rIC(() => this.balBlur.emit(ev.detail));
76
+ }
77
+ };
40
78
  /**
41
79
  * EVENT BINDING
42
80
  * ------------------------------------------------------
@@ -60,6 +98,8 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
60
98
  this.balChange.emit(this.value);
61
99
  if (this.closeOnSelect) {
62
100
  this.close();
101
+ this.hasFocus = false;
102
+ rIC(() => this.balBlur.emit());
63
103
  }
64
104
  };
65
105
  this.onInputInput = (ev) => {
@@ -77,24 +117,22 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
77
117
  this.value = ev.detail;
78
118
  this.balChange.emit(this.value);
79
119
  };
80
- this.onInputFocus = (ev) => {
81
- stopEventBubbling(ev);
82
- this.balFocus.emit(ev.detail);
83
- };
84
- this.onInputBlur = (ev) => {
85
- stopEventBubbling(ev);
86
- this.balBlur.emit(ev.detail);
87
- };
88
120
  this.onKeyPress = async ({ detail }) => {
89
- if (isSpaceKey(detail) && !this.triggerIcon) {
121
+ if (detail && detail.key) {
90
122
  if (this.isExpanded) {
91
- await this.close();
123
+ if (detail.key === 'Tab' || isEscapeKey(detail) || isSpaceKey(detail)) {
124
+ await this.close();
125
+ }
92
126
  }
93
127
  else {
94
- await this.open();
128
+ if (isSpaceKey(detail)) {
129
+ await this.open();
130
+ }
95
131
  }
96
132
  }
97
133
  };
134
+ this.isKeyboardMode = false;
135
+ this.hasFocus = false;
98
136
  this.isExpanded = false;
99
137
  this.language = defaultConfig.language;
100
138
  this.calendarValue = undefined;
@@ -129,43 +167,26 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
129
167
  debounceChanged() {
130
168
  this.balChange = debounceEvent(this.balChange, this.debounce);
131
169
  }
132
- /**
133
- * LIFECYCLE
134
- * ------------------------------------------------------
135
- */
136
170
  connectedCallback() {
137
- this.valueChanged();
138
- }
139
- componentWillLoad() {
140
- this.inheritedAttributes = inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
141
- }
142
- /**
143
- * LISTENERS
144
- * ------------------------------------------------------
145
- */
146
- async listenToKeydown(ev) {
147
- if (this.isExpanded && (ev.key === 'Escape' || ev.key === 'Esc')) {
148
- ev.preventDefault();
149
- await this.close();
150
- }
151
- }
152
- async listenOnKeyup(ev) {
153
- // dismiss popup when focus next form control
154
- if (ev.key === 'Tab' && !this.el.contains(document.activeElement) && this.isExpanded) {
155
- await this.close();
171
+ if (balBrowser.hasDocument) {
172
+ addEventListener(document, 'keydown', this.handleKeydown);
173
+ addEventListener(document, 'touchstart', this.handlePointerDown);
174
+ addEventListener(document, 'mousedown', this.handlePointerDown);
175
+ addEventListener(document, 'click', this.handleOutsideClick);
156
176
  }
177
+ this.hasConnected = true;
178
+ this.valueChanged();
157
179
  }
158
- async listenOnclick(ev) {
159
- // when clicked outside dismiss popup
160
- if (this.isExpanded && !this.el.contains(ev.target)) {
161
- await this.close();
180
+ disconnectedCallback() {
181
+ if (balBrowser.hasDocument) {
182
+ removeEventListener(document, 'keydown', this.handleKeydown);
183
+ removeEventListener(document, 'touchstart', this.handlePointerDown);
184
+ removeEventListener(document, 'mousedown', this.handlePointerDown);
185
+ removeEventListener(document, 'click', this.handleOutsideClick);
162
186
  }
163
187
  }
164
- async listenOnPopoverPrepare(ev) {
165
- // dismiss this popover, because another will open
166
- if (this.inputId !== ev.detail) {
167
- await this.close();
168
- }
188
+ componentWillLoad() {
189
+ this.inheritedAttributes = inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
169
190
  }
170
191
  /**
171
192
  * @internal define config for the component
@@ -215,8 +236,10 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
215
236
  * `input.focus()`.
216
237
  */
217
238
  async setFocus() {
218
- var _a;
219
- (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
239
+ if (this.inputEl && !this.disabled && !this.readonly) {
240
+ await waitAfterIdleCallback();
241
+ this.inputEl.focus();
242
+ }
220
243
  }
221
244
  /**
222
245
  * Sets blur on the native `input` in `bal-input`. Use this method instead of the global
@@ -225,7 +248,10 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
225
248
  */
226
249
  async setBlur() {
227
250
  var _a;
228
- (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setBlur();
251
+ if (this.inputEl && !this.disabled && !this.readonly) {
252
+ await waitAfterIdleCallback();
253
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setBlur();
254
+ }
229
255
  }
230
256
  /**
231
257
  * Returns the native `<input>` element used under the hood.
@@ -242,14 +268,9 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
242
268
  this.ariaForm = Object.assign({}, ariaForm);
243
269
  (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setAriaForm(ariaForm);
244
270
  }
245
- /**
246
- * PRIVATE METHOD
247
- * ------------------------------------------------------
248
- */
249
271
  async expand() {
250
272
  if (this.referenceEl && this.floatingEl) {
251
273
  const lib = await balFloatingUi.load();
252
- this.balPopoverPrepare.emit(this.inputId);
253
274
  this.balWillAnimate.emit();
254
275
  this.isExpanded = true;
255
276
  this.popupCleanup = lib.autoUpdate(this.referenceEl, this.floatingEl, () => {
@@ -292,7 +313,7 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
292
313
  const block = BEM.block('date');
293
314
  const blockIcon = block.element('icon');
294
315
  const blockPopup = block.element('popup');
295
- return (h(Host, { key: 'f6b28c8faba40da040e139ec92757837c643bc44', id: this.inputId, class: Object.assign({}, block.class()) }, h("bal-input-group", { key: '8474544891624bc816606bcbca7a9589f2740acb', invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, ref: el => (this.referenceEl = el) }, h("bal-input-date", Object.assign({ key: '04609fd4beddc284e8c132864cdbff1cd76e0328', name: this.name, required: this.required, placeholder: this.placeholder, value: this.value, min: this.min, max: this.max, invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, allowInvalidValue: this.allowInvalidValue, autocomplete: this.autocomplete, onClick: this.onInputClick, onBalInput: this.onInputInput, onBalChange: this.onInputChange, onBalFocus: this.onInputFocus, onBalBlur: this.onInputBlur, onBalKeyPress: this.onKeyPress, ref: el => (this.inputEl = el) }, this.inheritedAttributes)), !this.freeSolo ? (h("bal-icon", { name: "date", role: "button", tabindex: -1, class: Object.assign(Object.assign({}, blockIcon.class()), blockIcon.modifier('clickable').class(!this.disabled && !this.readonly)), "is-right": true, color: this.disabled || this.readonly ? 'grey' : this.invalid ? 'danger' : 'primary', onClick: this.onIconClick, "aria-label": i18nBalDate[this.language].toggleDatepicker, "aria-haspopup": "true", "aria-expanded": ariaBooleanToString(this.isExpanded) })) : ('')), h("div", { key: '4d167de602c3a6e48f6f35d7fade4e5d5b6d4706', role: "dialog", class: Object.assign(Object.assign({}, blockPopup.class()), blockPopup.modifier('visible').class(this.isExpanded)), ref: el => (this.floatingEl = el), "aria-hidden": `${this.isExpanded !== true}`, "aria-presented": `${this.isExpanded === true}` }, h("bal-date-calendar", { key: 'b0abca943beea5a541eead43d050a0c5add16216', value: this.calendarValue, min: this.min, max: this.max, minYearProp: this.minYearProp, maxYearProp: this.maxYearProp, defaultDate: this.defaultDate, allowedDates: this.allowedDates, onBalChange: this.onCalendarChange }))));
316
+ return (h(Host, { key: 'df763339a5267bc106d30ca6cc3d62bc75c8f05f', id: this.inputId, class: Object.assign({}, block.class()) }, h("bal-input-group", { key: '55d4f91e6b77f56f38274bb984be9dc21a54a5a4', invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, ref: el => (this.referenceEl = el) }, h("bal-input-date", Object.assign({ key: 'bf2b5f66aaf62f45f01e42cdd3e236707094d9dd', name: this.name, required: this.required, placeholder: this.placeholder, value: this.value, min: this.min, max: this.max, invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, allowInvalidValue: this.allowInvalidValue, autocomplete: this.autocomplete, onClick: this.onInputClick, onBalInput: this.onInputInput, onBalChange: this.onInputChange, onBalFocus: ev => this.handleFocus(ev), onBalBlur: ev => this.handleBlur(ev), onBalKeyPress: this.onKeyPress, ref: el => (this.inputEl = el) }, this.inheritedAttributes)), !this.freeSolo ? (h("bal-icon", { name: "date", role: "button", tabindex: -1, class: Object.assign(Object.assign({}, blockIcon.class()), blockIcon.modifier('clickable').class(!this.disabled && !this.readonly)), "is-right": true, color: this.disabled || this.readonly ? 'grey' : this.invalid ? 'danger' : 'primary', onClick: this.onIconClick, "aria-label": i18nBalDate[this.language].toggleDatepicker, "aria-haspopup": "true", "aria-expanded": ariaBooleanToString(this.isExpanded) })) : ('')), h("div", { key: '828597483d6ccc05c8fa9059b7d64941d8edc3d8', role: "dialog", class: Object.assign(Object.assign({}, blockPopup.class()), blockPopup.modifier('visible').class(this.isExpanded)), ref: el => (this.floatingEl = el), "aria-hidden": `${this.isExpanded !== true}`, "aria-presented": `${this.isExpanded === true}` }, h("bal-date-calendar", { key: '781a4f0d0b8ebc2c8b05a883e9441f4483e25820', value: this.calendarValue, min: this.min, max: this.max, minYearProp: this.minYearProp, maxYearProp: this.maxYearProp, defaultDate: this.defaultDate, allowedDates: this.allowedDates, onBalChange: this.onCalendarChange }))));
296
317
  }
297
318
  get el() { return this; }
298
319
  static get watchers() { return {
@@ -321,6 +342,8 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
321
342
  "allowInvalidValue": [4, "allow-invalid-value"],
322
343
  "debounce": [2],
323
344
  "autoInvalidOff": [516, "auto-invalid-off"],
345
+ "isKeyboardMode": [32],
346
+ "hasFocus": [32],
324
347
  "isExpanded": [32],
325
348
  "language": [32],
326
349
  "calendarValue": [32],
@@ -334,7 +357,7 @@ const Date = /*@__PURE__*/ proxyCustomElement(class Date extends HTMLElement {
334
357
  "setBlur": [64],
335
358
  "getInputElement": [64],
336
359
  "setAriaForm": [64]
337
- }, [[8, "keydown", "listenToKeydown"], [8, "keyup", "listenOnKeyup"], [4, "click", "listenOnclick"], [4, "balPopoverPrepare", "listenOnPopoverPrepare"]], {
360
+ }, undefined, {
338
361
  "value": ["valueChanged"],
339
362
  "debounce": ["debounceChanged"]
340
363
  }]);
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface BalDocApp extends Components.BalDocApp, HTMLElement {}
4
+ export const BalDocApp: {
5
+ prototype: BalDocApp;
6
+ new (): BalDocApp;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;