igniteui-webcomponents-inputs 1.3.1 → 1.4.1

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 (395) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +7356 -6830
  2. package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -1
  3. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  4. package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -1
  5. package/esm2015/lib/ButtonGroupView_combined.js +138 -138
  6. package/esm2015/lib/ButtonGroupView_combined.js.map +1 -1
  7. package/esm2015/lib/ButtonView_combined.js +404 -404
  8. package/esm2015/lib/ButtonView_combined.js.map +1 -1
  9. package/esm2015/lib/CalendarView_combined.js +1898 -1666
  10. package/esm2015/lib/CalendarView_combined.js.map +1 -1
  11. package/esm2015/lib/CheckboxView_combined.js +83 -77
  12. package/esm2015/lib/CheckboxView_combined.js.map +1 -1
  13. package/esm2015/lib/DatePickerView_combined.js +403 -370
  14. package/esm2015/lib/DatePickerView_combined.js.map +1 -1
  15. package/esm2015/lib/DateTimeValueFormatter.js +42 -2
  16. package/esm2015/lib/DateTimeValueFormatter.js.map +1 -1
  17. package/esm2015/lib/IconClickedEventArgs.js +17 -0
  18. package/esm2015/lib/IconClickedEventArgs.js.map +1 -0
  19. package/esm2015/lib/IconView_combined.js +373 -324
  20. package/esm2015/lib/IconView_combined.js.map +1 -1
  21. package/esm2015/lib/IconVisualModelExport.js +27 -18
  22. package/esm2015/lib/IconVisualModelExport.js.map +1 -1
  23. package/esm2015/lib/InputGroupView_combined.js +1589 -1528
  24. package/esm2015/lib/InputGroupView_combined.js.map +1 -1
  25. package/esm2015/lib/RippleView_combined.js +11 -11
  26. package/esm2015/lib/RippleView_combined.js.map +1 -1
  27. package/esm2015/lib/{Button.js → XButton.js} +2 -2
  28. package/esm2015/lib/XButton.js.map +1 -0
  29. package/esm2015/lib/{ButtonGroup.js → XButtonGroup.js} +2 -2
  30. package/esm2015/lib/XButtonGroup.js.map +1 -0
  31. package/esm2015/lib/{ButtonGroupButtonCollection.js → XButtonGroupButtonCollection.js} +7 -7
  32. package/esm2015/lib/XButtonGroupButtonCollection.js.map +1 -0
  33. package/esm2015/lib/XCalendar.js +8 -0
  34. package/esm2015/lib/XCalendar.js.map +1 -0
  35. package/esm2015/lib/XCheckbox.js +8 -0
  36. package/esm2015/lib/XCheckbox.js.map +1 -0
  37. package/{esm5/lib/Icon.js → esm2015/lib/XIcon.js} +2 -2
  38. package/esm2015/lib/XIcon.js.map +1 -0
  39. package/esm2015/lib/XInput.js +8 -0
  40. package/esm2015/lib/XInput.js.map +1 -0
  41. package/esm2015/lib/XInputGroup.js +8 -0
  42. package/esm2015/lib/XInputGroup.js.map +1 -0
  43. package/esm2015/lib/XInputGroupInputCollection.js +8 -0
  44. package/esm2015/lib/XInputGroupInputCollection.js.map +1 -0
  45. package/esm2015/lib/XInputGroupItem.js +8 -0
  46. package/esm2015/lib/XInputGroupItem.js.map +1 -0
  47. package/esm2015/lib/XLabel.js +8 -0
  48. package/esm2015/lib/XLabel.js.map +1 -0
  49. package/esm2015/lib/{Calendar.js → XPrefix.js} +2 -2
  50. package/esm2015/lib/XPrefix.js.map +1 -0
  51. package/esm2015/lib/{Input.js → XRipple.js} +2 -2
  52. package/esm2015/lib/XRipple.js.map +1 -0
  53. package/esm2015/lib/{Checkbox.js → XSuffix.js} +2 -2
  54. package/esm2015/lib/XSuffix.js.map +1 -0
  55. package/esm2015/lib/igc-date-picker-component.js +48 -41
  56. package/esm2015/lib/igc-date-picker-component.js.map +1 -1
  57. package/esm2015/lib/igc-date-picker-module.js +8 -8
  58. package/esm2015/lib/igc-date-picker-module.js.map +1 -1
  59. package/esm2015/lib/{igc-button-component.js → igc-x-button-component.js} +19 -19
  60. package/esm2015/lib/igc-x-button-component.js.map +1 -0
  61. package/esm2015/lib/{igc-button-group-button-collection.js → igc-x-button-group-button-collection.js} +10 -10
  62. package/esm2015/lib/igc-x-button-group-button-collection.js.map +1 -0
  63. package/esm2015/lib/{igc-button-group-component.js → igc-x-button-group-component.js} +28 -24
  64. package/esm2015/lib/{igc-button-group-component.js.map → igc-x-button-group-component.js.map} +1 -1
  65. package/esm2015/lib/{igc-button-group-module.js → igc-x-button-group-module.js} +10 -10
  66. package/esm2015/lib/igc-x-button-group-module.js.map +1 -0
  67. package/esm2015/lib/{igc-button-module.js → igc-x-button-module.js} +10 -10
  68. package/esm2015/lib/igc-x-button-module.js.map +1 -0
  69. package/esm2015/lib/{igc-calendar-component.js → igc-x-calendar-component.js} +81 -81
  70. package/esm2015/lib/igc-x-calendar-component.js.map +1 -0
  71. package/esm2015/lib/igc-x-calendar-module.js +22 -0
  72. package/esm2015/lib/igc-x-calendar-module.js.map +1 -0
  73. package/esm2015/lib/{igc-checkbox-component.js → igc-x-checkbox-component.js} +19 -19
  74. package/esm2015/lib/igc-x-checkbox-component.js.map +1 -0
  75. package/esm2015/lib/{igc-checkbox-module.js → igc-x-checkbox-module.js} +10 -10
  76. package/esm2015/lib/igc-x-checkbox-module.js.map +1 -0
  77. package/esm2015/lib/{igc-icon-component.js → igc-x-icon-component.js} +84 -77
  78. package/esm2015/lib/igc-x-icon-component.js.map +1 -0
  79. package/esm2015/lib/{igc-input-module.js → igc-x-icon-module.js} +8 -8
  80. package/esm2015/lib/igc-x-icon-module.js.map +1 -0
  81. package/esm2015/lib/{igc-input-component.js → igc-x-input-component.js} +72 -67
  82. package/esm2015/lib/igc-x-input-component.js.map +1 -0
  83. package/esm2015/lib/{igc-input-group-component.js → igc-x-input-group-component.js} +367 -366
  84. package/esm2015/lib/igc-x-input-group-component.js.map +1 -0
  85. package/esm2015/lib/{igc-input-group-input-collection.js → igc-x-input-group-input-collection.js} +10 -10
  86. package/esm2015/lib/igc-x-input-group-input-collection.js.map +1 -0
  87. package/esm2015/lib/{igc-input-group-item-component.js → igc-x-input-group-item-component.js} +10 -10
  88. package/esm2015/lib/igc-x-input-group-item-component.js.map +1 -0
  89. package/esm2015/lib/igc-x-input-group-module.js +24 -0
  90. package/esm2015/lib/igc-x-input-group-module.js.map +1 -0
  91. package/esm2015/lib/{igc-prefix-module.js → igc-x-input-module.js} +8 -8
  92. package/esm2015/lib/igc-x-input-module.js.map +1 -0
  93. package/esm2015/lib/{igc-label-component.js → igc-x-label-component.js} +68 -56
  94. package/esm2015/lib/igc-x-label-component.js.map +1 -0
  95. package/esm2015/lib/{igc-icon-module.js → igc-x-label-module.js} +8 -8
  96. package/esm2015/lib/igc-x-label-module.js.map +1 -0
  97. package/esm2015/lib/{igc-prefix-component.js → igc-x-prefix-component.js} +19 -19
  98. package/esm2015/lib/igc-x-prefix-component.js.map +1 -0
  99. package/esm2015/lib/{igc-label-module.js → igc-x-prefix-module.js} +8 -8
  100. package/esm2015/lib/igc-x-prefix-module.js.map +1 -0
  101. package/esm2015/lib/{igc-ripple-component.js → igc-x-ripple-component.js} +19 -19
  102. package/esm2015/lib/igc-x-ripple-component.js.map +1 -0
  103. package/esm2015/lib/{igc-ripple-module.js → igc-x-ripple-module.js} +8 -8
  104. package/esm2015/lib/igc-x-ripple-module.js.map +1 -0
  105. package/esm2015/lib/{igc-suffix-component.js → igc-x-suffix-component.js} +19 -19
  106. package/esm2015/lib/igc-x-suffix-component.js.map +1 -0
  107. package/esm2015/public_api.js +39 -38
  108. package/esm2015/public_api.js.map +1 -1
  109. package/esm5/lib/ButtonGroupView_combined.js +233 -233
  110. package/esm5/lib/ButtonGroupView_combined.js.map +1 -1
  111. package/esm5/lib/ButtonView_combined.js +579 -579
  112. package/esm5/lib/ButtonView_combined.js.map +1 -1
  113. package/esm5/lib/CalendarView_combined.js +1922 -1690
  114. package/esm5/lib/CalendarView_combined.js.map +1 -1
  115. package/esm5/lib/CheckboxView_combined.js +140 -134
  116. package/esm5/lib/CheckboxView_combined.js.map +1 -1
  117. package/esm5/lib/DatePickerView_combined.js +397 -356
  118. package/esm5/lib/DatePickerView_combined.js.map +1 -1
  119. package/esm5/lib/DateTimeValueFormatter.js +42 -2
  120. package/esm5/lib/DateTimeValueFormatter.js.map +1 -1
  121. package/esm5/lib/IconClickedEventArgs.js +21 -0
  122. package/esm5/lib/IconClickedEventArgs.js.map +1 -0
  123. package/esm5/lib/IconView_combined.js +371 -318
  124. package/esm5/lib/IconView_combined.js.map +1 -1
  125. package/esm5/lib/IconVisualModelExport.js +27 -18
  126. package/esm5/lib/IconVisualModelExport.js.map +1 -1
  127. package/esm5/lib/InputGroupView_combined.js +1767 -1697
  128. package/esm5/lib/InputGroupView_combined.js.map +1 -1
  129. package/esm5/lib/RippleView_combined.js +40 -40
  130. package/esm5/lib/RippleView_combined.js.map +1 -1
  131. package/{esm2015/lib/Label.js → esm5/lib/XButton.js} +2 -2
  132. package/esm5/lib/XButton.js.map +1 -0
  133. package/esm5/lib/XButtonGroup.js +8 -0
  134. package/esm5/lib/XButtonGroup.js.map +1 -0
  135. package/esm5/lib/{ButtonGroupButtonCollection.js → XButtonGroupButtonCollection.js} +10 -10
  136. package/esm5/lib/XButtonGroupButtonCollection.js.map +1 -0
  137. package/esm5/lib/XCalendar.js +8 -0
  138. package/esm5/lib/XCalendar.js.map +1 -0
  139. package/esm5/lib/XCheckbox.js +8 -0
  140. package/esm5/lib/XCheckbox.js.map +1 -0
  141. package/{esm2015/lib/Icon.js → esm5/lib/XIcon.js} +2 -2
  142. package/esm5/lib/XIcon.js.map +1 -0
  143. package/esm5/lib/XInput.js +8 -0
  144. package/esm5/lib/XInput.js.map +1 -0
  145. package/esm5/lib/XInputGroup.js +8 -0
  146. package/esm5/lib/XInputGroup.js.map +1 -0
  147. package/esm5/lib/XInputGroupInputCollection.js +8 -0
  148. package/esm5/lib/XInputGroupInputCollection.js.map +1 -0
  149. package/esm5/lib/XInputGroupItem.js +8 -0
  150. package/esm5/lib/XInputGroupItem.js.map +1 -0
  151. package/esm5/lib/XLabel.js +8 -0
  152. package/esm5/lib/XLabel.js.map +1 -0
  153. package/esm5/lib/XPrefix.js +8 -0
  154. package/esm5/lib/XPrefix.js.map +1 -0
  155. package/esm5/lib/XRipple.js +8 -0
  156. package/esm5/lib/XRipple.js.map +1 -0
  157. package/esm5/lib/XSuffix.js +8 -0
  158. package/esm5/lib/XSuffix.js.map +1 -0
  159. package/esm5/lib/igc-date-picker-component.js +52 -41
  160. package/esm5/lib/igc-date-picker-component.js.map +1 -1
  161. package/esm5/lib/igc-date-picker-module.js +8 -8
  162. package/esm5/lib/igc-date-picker-module.js.map +1 -1
  163. package/esm5/lib/{igc-button-component.js → igc-x-button-component.js} +225 -225
  164. package/esm5/lib/igc-x-button-component.js.map +1 -0
  165. package/esm5/lib/{igc-button-group-button-collection.js → igc-x-button-group-button-collection.js} +15 -15
  166. package/esm5/lib/igc-x-button-group-button-collection.js.map +1 -0
  167. package/esm5/lib/{igc-button-group-component.js → igc-x-button-group-component.js} +121 -117
  168. package/esm5/lib/igc-x-button-group-component.js.map +1 -0
  169. package/esm5/lib/igc-x-button-group-module.js +26 -0
  170. package/esm5/lib/igc-x-button-group-module.js.map +1 -0
  171. package/esm5/lib/igc-x-button-module.js +26 -0
  172. package/esm5/lib/igc-x-button-module.js.map +1 -0
  173. package/esm5/lib/{igc-calendar-component.js → igc-x-calendar-component.js} +126 -126
  174. package/esm5/lib/igc-x-calendar-component.js.map +1 -0
  175. package/esm5/lib/igc-x-calendar-module.js +26 -0
  176. package/esm5/lib/igc-x-calendar-module.js.map +1 -0
  177. package/esm5/lib/{igc-checkbox-component.js → igc-x-checkbox-component.js} +78 -78
  178. package/esm5/lib/igc-x-checkbox-component.js.map +1 -0
  179. package/esm5/lib/igc-x-checkbox-module.js +26 -0
  180. package/esm5/lib/igc-x-checkbox-module.js.map +1 -0
  181. package/esm5/lib/{igc-icon-component.js → igc-x-icon-component.js} +135 -124
  182. package/esm5/lib/igc-x-icon-component.js.map +1 -0
  183. package/esm5/lib/{igc-label-module.js → igc-x-icon-module.js} +12 -12
  184. package/esm5/lib/igc-x-icon-module.js.map +1 -0
  185. package/esm5/lib/{igc-input-component.js → igc-x-input-component.js} +124 -110
  186. package/esm5/lib/igc-x-input-component.js.map +1 -0
  187. package/esm5/lib/{igc-input-group-component.js → igc-x-input-group-component.js} +567 -566
  188. package/esm5/lib/igc-x-input-group-component.js.map +1 -0
  189. package/esm5/lib/igc-x-input-group-input-collection.js +54 -0
  190. package/esm5/lib/igc-x-input-group-input-collection.js.map +1 -0
  191. package/esm5/lib/{igc-input-group-item-component.js → igc-x-input-group-item-component.js} +27 -27
  192. package/esm5/lib/igc-x-input-group-item-component.js.map +1 -0
  193. package/esm5/lib/igc-x-input-group-module.js +28 -0
  194. package/esm5/lib/igc-x-input-group-module.js.map +1 -0
  195. package/esm5/lib/{igc-prefix-module.js → igc-x-input-module.js} +12 -12
  196. package/esm5/lib/igc-x-input-module.js.map +1 -0
  197. package/esm5/lib/{igc-label-component.js → igc-x-label-component.js} +117 -101
  198. package/esm5/lib/igc-x-label-component.js.map +1 -0
  199. package/esm5/lib/{igc-icon-module.js → igc-x-label-module.js} +12 -12
  200. package/esm5/lib/igc-x-label-module.js.map +1 -0
  201. package/esm5/lib/{igc-prefix-component.js → igc-x-prefix-component.js} +40 -40
  202. package/esm5/lib/igc-x-prefix-component.js.map +1 -0
  203. package/esm5/lib/{igc-input-module.js → igc-x-prefix-module.js} +12 -12
  204. package/esm5/lib/igc-x-prefix-module.js.map +1 -0
  205. package/esm5/lib/{igc-ripple-component.js → igc-x-ripple-component.js} +57 -57
  206. package/esm5/lib/igc-x-ripple-component.js.map +1 -0
  207. package/esm5/lib/igc-x-ripple-module.js +22 -0
  208. package/esm5/lib/igc-x-ripple-module.js.map +1 -0
  209. package/esm5/lib/{igc-suffix-component.js → igc-x-suffix-component.js} +40 -40
  210. package/esm5/lib/igc-x-suffix-component.js.map +1 -0
  211. package/esm5/public_api.js +39 -38
  212. package/esm5/public_api.js.map +1 -1
  213. package/fesm2015/igniteui-webcomponents-inputs.js +5899 -5418
  214. package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -1
  215. package/fesm5/igniteui-webcomponents-inputs.js +7319 -6794
  216. package/fesm5/igniteui-webcomponents-inputs.js.map +1 -1
  217. package/lib/ButtonGroupView_combined.d.ts +8 -8
  218. package/lib/ButtonView_combined.d.ts +2 -2
  219. package/lib/CalendarView_combined.d.ts +153 -136
  220. package/lib/CheckboxView_combined.d.ts +4 -4
  221. package/lib/DatePickerView_combined.d.ts +79 -77
  222. package/lib/DateTimeValueFormatter.d.ts +3 -2
  223. package/lib/IconClickedEventArgs.d.ts +7 -0
  224. package/lib/IconView_combined.d.ts +82 -74
  225. package/lib/IconVisualModelExport.d.ts +10 -6
  226. package/lib/InputGroupView_combined.d.ts +360 -353
  227. package/lib/RippleView_combined.d.ts +2 -2
  228. package/lib/XButton.d.ts +1 -0
  229. package/lib/XButtonGroup.d.ts +1 -0
  230. package/lib/{ButtonGroupButtonCollection.d.ts → XButtonGroupButtonCollection.d.ts} +2 -2
  231. package/lib/XCalendar.d.ts +1 -0
  232. package/lib/XCheckbox.d.ts +1 -0
  233. package/lib/XIcon.d.ts +1 -0
  234. package/lib/XInput.d.ts +1 -0
  235. package/lib/XInputGroup.d.ts +1 -0
  236. package/lib/XInputGroupInputCollection.d.ts +1 -0
  237. package/lib/XInputGroupItem.d.ts +1 -0
  238. package/lib/XLabel.d.ts +1 -0
  239. package/lib/XPrefix.d.ts +1 -0
  240. package/lib/XRipple.d.ts +1 -0
  241. package/lib/XSuffix.d.ts +1 -0
  242. package/lib/igc-date-picker-component.d.ts +1 -0
  243. package/lib/{igc-button-component.d.ts → igc-x-button-component.d.ts} +7 -7
  244. package/lib/igc-x-button-group-button-collection.d.ts +8 -0
  245. package/lib/{igc-button-group-component.d.ts → igc-x-button-group-component.d.ts} +12 -12
  246. package/lib/igc-x-button-group-module.d.ts +3 -0
  247. package/lib/igc-x-button-module.d.ts +3 -0
  248. package/lib/{igc-calendar-component.d.ts → igc-x-calendar-component.d.ts} +7 -7
  249. package/lib/igc-x-calendar-module.d.ts +3 -0
  250. package/lib/{igc-checkbox-component.d.ts → igc-x-checkbox-component.d.ts} +7 -7
  251. package/lib/igc-x-checkbox-module.d.ts +3 -0
  252. package/lib/{igc-icon-component.d.ts → igc-x-icon-component.d.ts} +7 -6
  253. package/lib/igc-x-icon-module.d.ts +3 -0
  254. package/lib/{igc-input-component.d.ts → igc-x-input-component.d.ts} +15 -11
  255. package/lib/{igc-input-group-component.d.ts → igc-x-input-group-component.d.ts} +11 -11
  256. package/lib/igc-x-input-group-input-collection.d.ts +8 -0
  257. package/lib/{igc-input-group-item-component.d.ts → igc-x-input-group-item-component.d.ts} +6 -6
  258. package/lib/igc-x-input-group-module.d.ts +3 -0
  259. package/lib/igc-x-input-module.d.ts +3 -0
  260. package/lib/{igc-label-component.d.ts → igc-x-label-component.d.ts} +11 -6
  261. package/lib/igc-x-label-module.d.ts +3 -0
  262. package/lib/{igc-prefix-component.d.ts → igc-x-prefix-component.d.ts} +6 -6
  263. package/lib/igc-x-prefix-module.d.ts +3 -0
  264. package/lib/{igc-ripple-component.d.ts → igc-x-ripple-component.d.ts} +6 -6
  265. package/lib/igc-x-ripple-module.d.ts +3 -0
  266. package/lib/{igc-suffix-component.d.ts → igc-x-suffix-component.d.ts} +6 -6
  267. package/package.json +2 -2
  268. package/public_api.d.ts +39 -38
  269. package/esm2015/lib/Button.js.map +0 -1
  270. package/esm2015/lib/ButtonGroup.js.map +0 -1
  271. package/esm2015/lib/ButtonGroupButtonCollection.js.map +0 -1
  272. package/esm2015/lib/Calendar.js.map +0 -1
  273. package/esm2015/lib/Checkbox.js.map +0 -1
  274. package/esm2015/lib/Icon.js.map +0 -1
  275. package/esm2015/lib/Input.js.map +0 -1
  276. package/esm2015/lib/InputGroup.js +0 -8
  277. package/esm2015/lib/InputGroup.js.map +0 -1
  278. package/esm2015/lib/InputGroupInputCollection.js +0 -8
  279. package/esm2015/lib/InputGroupInputCollection.js.map +0 -1
  280. package/esm2015/lib/InputGroupItem.js +0 -8
  281. package/esm2015/lib/InputGroupItem.js.map +0 -1
  282. package/esm2015/lib/Label.js.map +0 -1
  283. package/esm2015/lib/Prefix.js +0 -8
  284. package/esm2015/lib/Prefix.js.map +0 -1
  285. package/esm2015/lib/Ripple.js +0 -8
  286. package/esm2015/lib/Ripple.js.map +0 -1
  287. package/esm2015/lib/Suffix.js +0 -8
  288. package/esm2015/lib/Suffix.js.map +0 -1
  289. package/esm2015/lib/igc-button-component.js.map +0 -1
  290. package/esm2015/lib/igc-button-group-button-collection.js.map +0 -1
  291. package/esm2015/lib/igc-button-group-module.js.map +0 -1
  292. package/esm2015/lib/igc-button-module.js.map +0 -1
  293. package/esm2015/lib/igc-calendar-component.js.map +0 -1
  294. package/esm2015/lib/igc-calendar-module.js +0 -22
  295. package/esm2015/lib/igc-calendar-module.js.map +0 -1
  296. package/esm2015/lib/igc-checkbox-component.js.map +0 -1
  297. package/esm2015/lib/igc-checkbox-module.js.map +0 -1
  298. package/esm2015/lib/igc-icon-component.js.map +0 -1
  299. package/esm2015/lib/igc-icon-module.js.map +0 -1
  300. package/esm2015/lib/igc-input-component.js.map +0 -1
  301. package/esm2015/lib/igc-input-group-component.js.map +0 -1
  302. package/esm2015/lib/igc-input-group-input-collection.js.map +0 -1
  303. package/esm2015/lib/igc-input-group-item-component.js.map +0 -1
  304. package/esm2015/lib/igc-input-group-module.js +0 -24
  305. package/esm2015/lib/igc-input-group-module.js.map +0 -1
  306. package/esm2015/lib/igc-input-module.js.map +0 -1
  307. package/esm2015/lib/igc-label-component.js.map +0 -1
  308. package/esm2015/lib/igc-label-module.js.map +0 -1
  309. package/esm2015/lib/igc-prefix-component.js.map +0 -1
  310. package/esm2015/lib/igc-prefix-module.js.map +0 -1
  311. package/esm2015/lib/igc-ripple-component.js.map +0 -1
  312. package/esm2015/lib/igc-ripple-module.js.map +0 -1
  313. package/esm2015/lib/igc-suffix-component.js.map +0 -1
  314. package/esm5/lib/Button.js +0 -8
  315. package/esm5/lib/Button.js.map +0 -1
  316. package/esm5/lib/ButtonGroup.js +0 -8
  317. package/esm5/lib/ButtonGroup.js.map +0 -1
  318. package/esm5/lib/ButtonGroupButtonCollection.js.map +0 -1
  319. package/esm5/lib/Calendar.js +0 -8
  320. package/esm5/lib/Calendar.js.map +0 -1
  321. package/esm5/lib/Checkbox.js +0 -8
  322. package/esm5/lib/Checkbox.js.map +0 -1
  323. package/esm5/lib/Icon.js.map +0 -1
  324. package/esm5/lib/Input.js +0 -8
  325. package/esm5/lib/Input.js.map +0 -1
  326. package/esm5/lib/InputGroup.js +0 -8
  327. package/esm5/lib/InputGroup.js.map +0 -1
  328. package/esm5/lib/InputGroupInputCollection.js +0 -8
  329. package/esm5/lib/InputGroupInputCollection.js.map +0 -1
  330. package/esm5/lib/InputGroupItem.js +0 -8
  331. package/esm5/lib/InputGroupItem.js.map +0 -1
  332. package/esm5/lib/Label.js +0 -8
  333. package/esm5/lib/Label.js.map +0 -1
  334. package/esm5/lib/Prefix.js +0 -8
  335. package/esm5/lib/Prefix.js.map +0 -1
  336. package/esm5/lib/Ripple.js +0 -8
  337. package/esm5/lib/Ripple.js.map +0 -1
  338. package/esm5/lib/Suffix.js +0 -8
  339. package/esm5/lib/Suffix.js.map +0 -1
  340. package/esm5/lib/igc-button-component.js.map +0 -1
  341. package/esm5/lib/igc-button-group-button-collection.js.map +0 -1
  342. package/esm5/lib/igc-button-group-component.js.map +0 -1
  343. package/esm5/lib/igc-button-group-module.js +0 -26
  344. package/esm5/lib/igc-button-group-module.js.map +0 -1
  345. package/esm5/lib/igc-button-module.js +0 -26
  346. package/esm5/lib/igc-button-module.js.map +0 -1
  347. package/esm5/lib/igc-calendar-component.js.map +0 -1
  348. package/esm5/lib/igc-calendar-module.js +0 -26
  349. package/esm5/lib/igc-calendar-module.js.map +0 -1
  350. package/esm5/lib/igc-checkbox-component.js.map +0 -1
  351. package/esm5/lib/igc-checkbox-module.js +0 -26
  352. package/esm5/lib/igc-checkbox-module.js.map +0 -1
  353. package/esm5/lib/igc-icon-component.js.map +0 -1
  354. package/esm5/lib/igc-icon-module.js.map +0 -1
  355. package/esm5/lib/igc-input-component.js.map +0 -1
  356. package/esm5/lib/igc-input-group-component.js.map +0 -1
  357. package/esm5/lib/igc-input-group-input-collection.js +0 -54
  358. package/esm5/lib/igc-input-group-input-collection.js.map +0 -1
  359. package/esm5/lib/igc-input-group-item-component.js.map +0 -1
  360. package/esm5/lib/igc-input-group-module.js +0 -28
  361. package/esm5/lib/igc-input-group-module.js.map +0 -1
  362. package/esm5/lib/igc-input-module.js.map +0 -1
  363. package/esm5/lib/igc-label-component.js.map +0 -1
  364. package/esm5/lib/igc-label-module.js.map +0 -1
  365. package/esm5/lib/igc-prefix-component.js.map +0 -1
  366. package/esm5/lib/igc-prefix-module.js.map +0 -1
  367. package/esm5/lib/igc-ripple-component.js.map +0 -1
  368. package/esm5/lib/igc-ripple-module.js +0 -22
  369. package/esm5/lib/igc-ripple-module.js.map +0 -1
  370. package/esm5/lib/igc-suffix-component.js.map +0 -1
  371. package/lib/Button.d.ts +0 -1
  372. package/lib/ButtonGroup.d.ts +0 -1
  373. package/lib/Calendar.d.ts +0 -1
  374. package/lib/Checkbox.d.ts +0 -1
  375. package/lib/Icon.d.ts +0 -1
  376. package/lib/Input.d.ts +0 -1
  377. package/lib/InputGroup.d.ts +0 -1
  378. package/lib/InputGroupInputCollection.d.ts +0 -1
  379. package/lib/InputGroupItem.d.ts +0 -1
  380. package/lib/Label.d.ts +0 -1
  381. package/lib/Prefix.d.ts +0 -1
  382. package/lib/Ripple.d.ts +0 -1
  383. package/lib/Suffix.d.ts +0 -1
  384. package/lib/igc-button-group-button-collection.d.ts +0 -8
  385. package/lib/igc-button-group-module.d.ts +0 -3
  386. package/lib/igc-button-module.d.ts +0 -3
  387. package/lib/igc-calendar-module.d.ts +0 -3
  388. package/lib/igc-checkbox-module.d.ts +0 -3
  389. package/lib/igc-icon-module.d.ts +0 -3
  390. package/lib/igc-input-group-input-collection.d.ts +0 -8
  391. package/lib/igc-input-group-module.d.ts +0 -3
  392. package/lib/igc-input-module.d.ts +0 -3
  393. package/lib/igc-label-module.d.ts +0 -3
  394. package/lib/igc-prefix-module.d.ts +0 -3
  395. package/lib/igc-ripple-module.d.ts +0 -3
@@ -7,20 +7,20 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
7
7
  import { Base, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine, Number_$type } from "igniteui-webcomponents-core";
8
8
  import { DomWrapper_$type } from "igniteui-webcomponents-core";
9
9
  import { List$1 } from "igniteui-webcomponents-core";
10
+ import { DayOfWeek_$type } from "./DayOfWeek";
11
+ import { DayInfo } from "./DayInfo";
12
+ import { XButton } from "./XButton";
13
+ import { XIcon } from "./XIcon";
14
+ import { dateMinValue, dateGetMonth, dateNow, dateAddYears, dateFromValues, dateMaxValue, dateGetDate, dateAddDays, dateAddMonths } from "igniteui-webcomponents-core";
10
15
  import { parseBool } from "igniteui-webcomponents-core";
11
- import { dateGetMonth, dateNow, dateMinValue, dateAddYears, dateFromValues, dateMaxValue, dateGetDate, dateAddDays, dateAddMonths } from "igniteui-webcomponents-core";
12
16
  import { SRProvider } from "igniteui-webcomponents-core";
13
17
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
14
18
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
15
- import { DayOfWeek_$type } from "./DayOfWeek";
16
19
  import { FirstWeek_$type } from "./FirstWeek";
17
20
  import { BrushUtil } from "igniteui-webcomponents-core";
18
21
  import { ObservableCollection$1 } from "igniteui-webcomponents-core";
19
- import { DayInfo } from "./DayInfo";
20
- import { Button } from "./Button";
21
22
  import { ValueChangedEventArgs } from "./ValueChangedEventArgs";
22
23
  import { CornerRadius } from "igniteui-webcomponents-core";
23
- import { Icon } from "./Icon";
24
24
  import { CalendarVisualModelExport } from "./CalendarVisualModelExport";
25
25
  import { ButtonVisualModelExport } from "./ButtonVisualModelExport";
26
26
  import { TextElementsVisualModelExport } from "./TextElementsVisualModelExport";
@@ -37,196 +37,784 @@ export let CalendarView = /*@__PURE__*/ (() => {
37
37
  class CalendarView extends Base {
38
38
  constructor() {
39
39
  super();
40
- this.j = null;
41
- this.k = null;
42
40
  this.n = null;
43
- this.m = null;
44
41
  this.o = null;
45
- this.f = new List$1(DomWrapper_$type, 0);
46
- this.e = new List$1(DomWrapper_$type, 0);
42
+ this.s = null;
43
+ this.q = null;
44
+ this.t = null;
45
+ this.r = null;
47
46
  this.g = new List$1(DomWrapper_$type, 0);
47
+ this.f = new List$1(DomWrapper_$type, 0);
48
48
  this.h = new List$1(DomWrapper_$type, 0);
49
- this.l = null;
50
- this.q = null;
49
+ this.j = new List$1(DomWrapper_$type, 0);
50
+ this.i = new List$1(DomWrapper_$type, 0);
51
+ this.e = new List$1(DomWrapper_$type, 0);
52
+ this.p = null;
53
+ this.v = null;
51
54
  this.c = null;
52
- this.i = null;
53
- this.q = "day";
54
- this.l = null;
55
+ this.m = null;
56
+ this.v = "day";
57
+ this.p = null;
55
58
  }
56
- ad() {
59
+ k() {
60
+ return this.e;
61
+ }
62
+ l() {
63
+ return this.i;
64
+ }
65
+ an() {
57
66
  }
58
- ac(a) {
67
+ am(a) {
59
68
  if (a == null) {
60
- this.i = null;
69
+ this.m = null;
61
70
  return;
62
71
  }
63
- this.i = a;
64
- this.i.rootWrapper.setStyleProperty("background-color", "rgb(255, 255, 255)");
72
+ this.m = a;
73
+ this.m.rootWrapper.setStyleProperty("background-color", "rgb(255, 255, 255)");
65
74
  let b = Math.round(a.rootWrapper.width());
66
75
  let c = Math.round(a.rootWrapper.height());
67
- this.u();
68
- this.am();
69
- this.an();
70
- this.al();
71
- let d = this.i.rootWrapper;
72
- d.listen("keydown", runOn(this, this.t));
73
- d.listen("focus", runOn(this, this.s));
74
- }
75
- r() {
76
- return this.q;
77
- }
78
- u() {
79
- if (this.i != null) {
80
- this.j = this.i.createElement("div");
81
- this.j.setStyleProperty("display", "flex");
82
- this.k = this.i.createElement("div");
83
- this.k.setStyleProperty("height", "100%");
84
- this.n = this.i.createElement("div");
85
- this.c.ce(this.i, this.n);
86
- this.aq();
87
- this.j.append(this.k);
88
- this.i.append(this.j);
76
+ this.z();
77
+ this.a1();
78
+ this.a2();
79
+ this.az();
80
+ let d = this.m.rootWrapper;
81
+ d.listen("keydown", runOn(this, this.y));
82
+ d.listen("focus", runOn(this, this.x));
83
+ }
84
+ w() {
85
+ return this.v;
86
+ }
87
+ z() {
88
+ if (this.m != null) {
89
+ this.n = this.m.createElement("div");
90
+ this.n.setStyleProperty("display", "flex");
91
+ this.n.setStyleProperty("width", "100%");
92
+ this.n.setStyleProperty("height", "100%");
93
+ this.o = this.m.createElement("div");
94
+ this.o.setStyleProperty("height", "100%");
95
+ this.o.setStyleProperty("width", "100%");
96
+ this.s = this.m.createElement("div");
97
+ this.ac();
98
+ this.n.append(this.o);
99
+ this.m.append(this.n);
89
100
  for (let a = 0; a < 42; a++) {
90
- let b = this.i.createElement("div");
91
- this.e.add(b);
92
- }
93
- this.c.cb(this.i, this.k, this.n, this.e);
94
- this.m = this.i.createElement("div");
95
- this.m.setStyleProperty("height", "100%");
96
- this.i.append(this.m);
101
+ let b = this.m.createElement("div");
102
+ this.f.add(b);
103
+ }
104
+ this.aa();
105
+ this.a7();
106
+ this.q = this.m.createElement("div");
107
+ this.q.setStyleProperty("height", "100%");
108
+ this.m.append(this.q);
97
109
  for (let c = 0; c < 12; c++) {
98
- let d = this.i.createElement("div");
99
- this.g.add(d);
110
+ let d = this.m.createElement("div");
111
+ this.h.add(d);
100
112
  }
101
- this.c.cd(this.i, this.m, this.g);
113
+ this.ab();
102
114
  for (let e = 0; e < 12; e++) {
103
- let f = this.m.getChildAt(e);
104
- f.listen("click", runOn(this, this.x));
115
+ let f = this.q.getChildAt(e);
116
+ f.listen("click", runOn(this, this.ah));
105
117
  }
106
- this.m.hide();
107
- this.o = this.i.createElement("div");
108
- this.o.setStyleProperty("height", "100%");
109
- this.i.append(this.o);
118
+ this.q.hide();
119
+ this.t = this.m.createElement("div");
120
+ this.t.setStyleProperty("height", "100%");
121
+ this.m.append(this.t);
110
122
  for (let g = 0; g < 7; g++) {
111
- let h = this.i.createElement("div");
112
- this.h.add(h);
123
+ let h = this.m.createElement("div");
124
+ this.j.add(h);
113
125
  }
114
- this.c.cf(this.i, this.o, this.h);
126
+ this.ad();
115
127
  for (let i = 0; i < 7; i++) {
116
- let j = this.o.getChildAt(i);
117
- j.listen("click", runOn(this, this.at));
128
+ let j = this.t.getChildAt(i);
129
+ j.listen("click", runOn(this, this.ba));
118
130
  }
119
- this.o.listen("wheel", runOn(this, this.au));
120
- this.o.hide();
131
+ this.t.listen("wheel", runOn(this, this.bb));
132
+ this.t.hide();
121
133
  }
122
134
  }
123
- am() {
124
- if (this.i != null) {
125
- let a = this.k.getChildAt(0);
135
+ ac() {
136
+ if (this.m != null) {
137
+ this.s.setStyleProperty("display", "flex");
138
+ this.s.setStyleProperty("flex-direction", "column");
139
+ this.s.setStyleProperty("padding-top", "26px");
140
+ this.s.setStyleProperty("width", "12%");
141
+ let a = this.c.ag();
142
+ for (let b = 0; b < 6; b++) {
143
+ let c = this.m.createElement("div");
144
+ c.setAttribute("aria-hidden", "true");
145
+ c.setStyleProperty("text-align", "center");
146
+ c.setStyleProperty("vertical-align", "middle");
147
+ c.setStyleProperty("height", "30px");
148
+ c.setStyleProperty("width", "25px");
149
+ c.setStyleProperty("border-width", "0px 1px 0px 0px");
150
+ c.setStyleProperty("border-style", "solid");
151
+ c.setStyleProperty("border-color", "rgb(163, 172, 184)");
152
+ let d = this.m.createElement("span");
153
+ d.setAttribute("aria-hidden", "true");
154
+ d.setStyleProperty("font", "14px \"Segoe UI\", Verdana");
155
+ d.setStyleProperty("color", "rgb(24, 29, 31)");
156
+ c.append(d);
157
+ this.i.add(d);
158
+ d.setText(a._inner[b].toString());
159
+ this.s.append(c);
160
+ }
161
+ }
162
+ }
163
+ a3() {
164
+ if (this.s != null) {
165
+ let a = this.c.ag();
166
+ this.i.clear();
167
+ for (let b = 0; b < 6; b++) {
168
+ let c = this.s.getChildAt(b);
169
+ let d = c.getChildAt(0);
170
+ d.setText(a._inner[b].toString());
171
+ this.i.add(d);
172
+ }
173
+ }
174
+ }
175
+ a7() {
176
+ if (this.s != null) {
177
+ if (this.c.af == true) {
178
+ this.s.show();
179
+ this.s.setStyleProperty("display", "flex");
180
+ this.s.parent().setStyleProperty("max-width", "245px");
181
+ this.s.parent().getChildAt(1).setStyleProperty("width", "88%");
182
+ }
183
+ else {
184
+ this.s.hide();
185
+ this.s.parent().setStyleProperty("max-width", "231px");
186
+ this.s.parent().getChildAt(1).setStyleProperty("width", "100%");
187
+ }
188
+ }
189
+ }
190
+ aa() {
191
+ if (this.m != null) {
192
+ this.o.setStyleProperty("display", "flex");
193
+ this.o.setStyleProperty("flex-direction", "column");
194
+ this.o.setStyleProperty("justify-content", "space-evenly");
195
+ let a = this.m.createElement("div");
196
+ a.setStyleProperty("display", "flex");
197
+ a.setStyleProperty("justify-content", "space-evenly");
198
+ a.setStyleProperty("width", "100%");
199
+ a.setAttribute("role", "row");
200
+ let b = this.m.createElement("div");
201
+ b.setStyleProperty("width", "15%");
202
+ let c = this.m.createElement("div");
203
+ c.setStyleProperty("width", "20%");
204
+ let d = this.m.createElement("div");
205
+ d.setStyleProperty("width", "20%");
206
+ let e = this.m.createElement("div");
207
+ e.setStyleProperty("width", "15%");
208
+ a.append(b);
209
+ a.append(c);
210
+ a.append(d);
211
+ a.append(e);
212
+ this.o.append(a);
213
+ let f = this.m.createElement("div");
214
+ f.setStyleProperty("width", "100%");
215
+ f.setStyleProperty("height", "100%");
216
+ f.setStyleProperty("display", "flex");
217
+ f.setStyleProperty("flex-direction", "row");
218
+ f.setStyleProperty("justify-content", "space-evenly");
219
+ this.s.setStyleProperty("padding-bottom", "6px");
220
+ f.append(this.s);
221
+ let g = this.m.createElement("div");
222
+ g.setStyleProperty("display", "flex");
223
+ g.setStyleProperty("flex-direction", "column");
224
+ g.setStyleProperty("width", "88%");
225
+ g.setAttribute("role", "grid");
226
+ g.setAttribute("aria-readonly", "true");
227
+ f.append(g);
228
+ this.o.append(f);
229
+ let h = 0;
230
+ for (let i = 0; i < 7; i++) {
231
+ let j = this.m.createElement("div");
232
+ j.setAttribute("role", "row");
233
+ j.setStyleProperty("display", "flex");
234
+ j.setStyleProperty("justify-content", "space-evenly");
235
+ if (i == 0) {
236
+ for (let k = 0; k < 7; k++) {
237
+ let l = this.m.createElement("div");
238
+ l.setAttribute("role", "columnheader");
239
+ l.setAttribute("scope", "col");
240
+ l.setStyleProperty("text-align", "center");
241
+ l.setStyleProperty("vertical-align", "middle");
242
+ l.setStyleProperty("width", "12%");
243
+ let m = this.m.createElement("span");
244
+ m.setStyleProperty("font", "16px \"Segoe UI\", Verdana");
245
+ m.setStyleProperty("color", "rgb(24, 29, 31)");
246
+ l.append(m);
247
+ this.e.add(m);
248
+ j.append(l);
249
+ }
250
+ g.append(j);
251
+ }
252
+ else {
253
+ for (let n = 0; n < 7; n++) {
254
+ let o = this.m.createElement("div");
255
+ o.setAttribute("role", "gridcell");
256
+ o.setStyleProperty("justify-content", "center");
257
+ let p = this.f._inner[h];
258
+ let q = this.m.createElement("span");
259
+ q.setAttribute("aria-hidden", "true");
260
+ p.append(q);
261
+ this.ae(o, p, h);
262
+ o.setStyleProperty("width", "12%");
263
+ o.setStyleProperty("height", "100%");
264
+ j.append(o);
265
+ h++;
266
+ }
267
+ g.append(j);
268
+ }
269
+ }
270
+ this.r = this.m.createElement("div");
271
+ this.r.setStyleProperty("display", "flex");
272
+ this.r.setStyleProperty("padding-bottom", "4px");
273
+ let r = this.m.createElement("div");
274
+ r.setStyleProperty("width", "100%");
275
+ r.setStyleProperty("justify-content", "center");
276
+ let s = this.m.createElement("div");
277
+ s.setAttribute("aria-hidden", "true");
278
+ let t = this.m.createElement("span");
279
+ t.setAttribute("aria-hidden", "true");
280
+ s.append(t);
281
+ this.c.cm(r, s);
282
+ s.parent().setAttribute("aria-hidden", "true");
283
+ s.parent().parent().setAttribute("tabindex", "-1");
284
+ s.parent().parent().setAttribute("aria-readonly", "true");
285
+ s.parent().parent().setAttribute("aria-selected", "false");
286
+ s.parent().parent().setAttribute("aria-disabled", "false");
287
+ s.parent().parent().setAttribute("data-is-focusable", "true");
288
+ this.r.append(r);
289
+ this.o.append(this.r);
290
+ this.a6();
291
+ this.c.cf();
292
+ }
293
+ }
294
+ ab() {
295
+ if (this.m != null) {
296
+ this.q.setStyleProperty("display", "flex");
297
+ this.q.setStyleProperty("flex-direction", "row");
298
+ this.q.setStyleProperty("flex-wrap", "wrap");
299
+ this.q.setStyleProperty("margin", "2px");
300
+ this.q.setStyleProperty("justify-content", "center");
301
+ this.q.setStyleProperty("width", "100%");
302
+ this.q.setStyleProperty("height", "100%");
303
+ this.q.setAttribute("role", "grid");
304
+ this.q.setAttribute("aria-readonly", "true");
305
+ for (let a = 0; a < 12; a++) {
306
+ let b = this.m.createElement("div");
307
+ b.setStyleProperty("margin", "5px");
308
+ b.setAttribute("data-month", (a + 1).toString());
309
+ let c = this.h._inner[a];
310
+ c.setAttribute("aria-hidden", "true");
311
+ this.c.cl(b, c);
312
+ b.setStyleProperty("width", "28%");
313
+ let d = b.getChildAt(0);
314
+ d.setStyleProperty("width", "100%");
315
+ let e = this.m.createElement("span");
316
+ e.setAttribute("aria-hidden", "true");
317
+ let f;
318
+ let g = a + 1;
319
+ f = this.c.e(g, a);
320
+ c.parent().parent().setAttribute("aria-label", f[0]);
321
+ e.setText(f[1]);
322
+ c.append(e);
323
+ c.parent().setAttribute("aria-hidden", "true");
324
+ c.parent().parent().setAttribute("tabindex", "-1");
325
+ c.parent().parent().setAttribute("aria-readonly", "true");
326
+ c.parent().parent().setAttribute("aria-selected", "false");
327
+ c.parent().parent().setAttribute("aria-disabled", "false");
328
+ c.parent().parent().setAttribute("data-is-focusable", "true");
329
+ c.setAttribute("data-index", a.toString());
330
+ c.append(e);
331
+ this.q.append(b);
332
+ }
333
+ }
334
+ }
335
+ ad() {
336
+ if (this.m != null) {
337
+ this.t.setStyleProperty("width", "100%");
338
+ this.t.setStyleProperty("height", "100%");
339
+ let a = this.c.aq.getFullYear() - 3;
340
+ this.t.setStyleProperty("padding", "5px");
341
+ this.t.setAttribute("role", "grid");
342
+ this.t.setAttribute("aria-readonly", "true");
343
+ for (let b = 0; b < 7; b++) {
344
+ let c = this.m.createElement("div");
345
+ let d = this.j._inner[b];
346
+ d.setAttribute("aria-hidden", "true");
347
+ this.c.cn(c, d, b);
348
+ d.parent().setAttribute("aria-hidden", "true");
349
+ d.parent().parent().setAttribute("tabindex", "-1");
350
+ d.parent().parent().setAttribute("aria-readonly", "true");
351
+ d.parent().parent().setAttribute("aria-selected", "false");
352
+ d.parent().parent().setAttribute("aria-disabled", "false");
353
+ d.parent().parent().setAttribute("data-is-focusable", "true");
354
+ c.setStyleProperty("width", "100%");
355
+ c.setStyleProperty("height", "14%");
356
+ c.setStyleProperty("justify-content", "center");
357
+ let e = c.getChildAt(0);
358
+ e.setStyleProperty("width", "98%");
359
+ let f = this.m.createElement("span");
360
+ f.setAttribute("aria-hidden", "true");
361
+ f.setText(a.toString());
362
+ a++;
363
+ d.setAttribute("data-index", b.toString());
364
+ d.append(f);
365
+ this.t.append(c);
366
+ }
367
+ }
368
+ }
369
+ a6() {
370
+ if (this.m != null) {
371
+ if (this.c.ae == true) {
372
+ this.r.setStyleProperty("display", "flex");
373
+ }
374
+ else {
375
+ this.r.setStyleProperty("display", "none");
376
+ }
377
+ }
378
+ }
379
+ a1() {
380
+ if (this.m != null) {
381
+ let a = this.o.getChildAt(0);
126
382
  for (let b = 0; b < 4; b++) {
127
- let c = this.i.createElement("div");
128
- this.f.add(c);
383
+ let c = this.m.createElement("div");
384
+ this.g.add(c);
129
385
  }
130
- this.c.cx(this.i, a, this.f);
131
386
  let d = a.getChildAt(0);
132
- let e = a.getChildAt(3);
133
- d.listen("click", runOn(this, this.ae));
134
- e.listen("click", runOn(this, this.z));
135
- let f = a.getChildAt(1);
136
- let g = a.getChildAt(2);
137
- f.listen("click", runOn(this, this.y));
138
- g.listen("click", runOn(this, this.av));
387
+ let e = this.g._inner[0];
388
+ let f = this.m.createElement("div");
389
+ f.setAttribute("aria-hidden", "true");
390
+ e.append(f);
391
+ this.c.ck(d, f, e, "prev");
392
+ e.parent().parent().setAttribute("aria-label", "Previous Month");
393
+ e.setAttribute("data-index", "0");
394
+ this.av(e);
395
+ let g = a.getChildAt(1);
396
+ let h = this.g._inner[1];
397
+ let i = this.m.createElement("span");
398
+ i.setAttribute("aria-hidden", "true");
399
+ h.append(i);
400
+ this.c.cj(g, h, "month");
401
+ i = h.getChildAt(0);
402
+ let j = this.c.bx();
403
+ i.setText(j);
404
+ h.parent().parent().setAttribute("aria-label", "Select Month");
405
+ h.setAttribute("data-index", "1");
406
+ this.av(h);
407
+ let k = a.getChildAt(2);
408
+ let l = this.g._inner[2];
409
+ let m = this.m.createElement("span");
410
+ m.setAttribute("aria-hidden", "true");
411
+ l.append(m);
412
+ this.c.cj(k, l, "year");
413
+ m = this.g._inner[2].getChildAt(0);
414
+ let n = this.c.by();
415
+ m.setText(n);
416
+ l.parent().parent().setAttribute("aria-label", "Select Year");
417
+ l.setAttribute("data-index", "2");
418
+ this.av(l);
419
+ let o = a.getChildAt(3);
420
+ let p = this.g._inner[3];
421
+ let q = this.m.createElement("div");
422
+ q.setAttribute("aria-hidden", "true");
423
+ p.append(q);
424
+ this.c.ck(o, q, p, "next");
425
+ p.parent().parent().setAttribute("aria-label", "Next Month");
426
+ p.setAttribute("data-index", "3");
427
+ this.av(p);
428
+ let r = this.c.a();
429
+ for (let s = 0; s < this.g.count; s++) {
430
+ if (r[s] == true) {
431
+ this.g._inner[s].setAttribute("data-disabled", "true");
432
+ }
433
+ else {
434
+ this.g._inner[s].setAttribute("data-disabled", "false");
435
+ }
436
+ }
437
+ d.listen("click", runOn(this, this.ao));
438
+ o.listen("click", runOn(this, this.aj));
439
+ g.listen("click", runOn(this, this.ai));
440
+ k.listen("click", runOn(this, this.bc));
139
441
  }
140
442
  }
141
- an() {
142
- if (this.i != null) {
143
- let a = this.k.getChildAt(1).getChildAt(1).getChildAt(0);
144
- this.c.cz(a);
443
+ av(a) {
444
+ a.setAttribute("aria-hidden", "true");
445
+ a.parent().setAttribute("aria-hidden", "true");
446
+ a.parent().parent().setAttribute("tabindex", "-1");
447
+ a.parent().parent().setAttribute("aria-readonly", "true");
448
+ a.parent().parent().setAttribute("aria-selected", "false");
449
+ a.parent().parent().setAttribute("aria-disabled", "false");
450
+ a.parent().parent().setAttribute("data-is-focusable", "true");
451
+ a.setAttribute("data-section", "header");
452
+ a.setAttribute("data-disabled", "false");
453
+ }
454
+ a2() {
455
+ if (this.m != null) {
456
+ let a = this.o.getChildAt(1).getChildAt(1).getChildAt(0);
457
+ let b = new List$1(DayOfWeek_$type, 0);
458
+ switch (this.c.p) {
459
+ case 0:
460
+ b.add(0);
461
+ b.add(1);
462
+ b.add(2);
463
+ b.add(3);
464
+ b.add(4);
465
+ b.add(5);
466
+ b.add(6);
467
+ break;
468
+ case 1:
469
+ b.add(1);
470
+ b.add(2);
471
+ b.add(3);
472
+ b.add(4);
473
+ b.add(5);
474
+ b.add(6);
475
+ b.add(0);
476
+ break;
477
+ case 2:
478
+ b.add(2);
479
+ b.add(3);
480
+ b.add(4);
481
+ b.add(5);
482
+ b.add(6);
483
+ b.add(0);
484
+ b.add(1);
485
+ break;
486
+ case 3:
487
+ b.add(3);
488
+ b.add(4);
489
+ b.add(5);
490
+ b.add(6);
491
+ b.add(0);
492
+ b.add(1);
493
+ b.add(2);
494
+ break;
495
+ case 4:
496
+ b.add(4);
497
+ b.add(5);
498
+ b.add(6);
499
+ b.add(0);
500
+ b.add(1);
501
+ b.add(2);
502
+ b.add(3);
503
+ break;
504
+ case 5:
505
+ b.add(5);
506
+ b.add(6);
507
+ b.add(0);
508
+ b.add(1);
509
+ b.add(2);
510
+ b.add(3);
511
+ b.add(4);
512
+ break;
513
+ case 6:
514
+ b.add(6);
515
+ b.add(0);
516
+ b.add(1);
517
+ b.add(2);
518
+ b.add(3);
519
+ b.add(4);
520
+ b.add(5);
521
+ break;
522
+ }
523
+ this.e.clear();
524
+ for (let c = 0; c < b.count; c++) {
525
+ let d = a.getChildAt(c);
526
+ let e = d.getChildAt(0);
527
+ let f = this.c.d(b._inner[c]);
528
+ d.setAttribute("title", f[0]);
529
+ d.setAttribute("aria-label", f[0]);
530
+ e.setText(f[1]);
531
+ this.e.add(e);
532
+ }
145
533
  }
146
534
  }
147
- al() {
148
- if (this.i != null) {
149
- this.c.cw(this.e);
150
- this.c.c0(this.n);
151
- let a = this.k.getChildAt(1);
535
+ az() {
536
+ if (this.m != null) {
537
+ this.a0();
538
+ this.a3();
539
+ let a = this.o.getChildAt(1);
152
540
  let b = a.getChildAt(1);
153
541
  for (let c = 1; c < 7; c++) {
154
542
  let d = b.getChildAt(c);
155
543
  for (let e = 0; e < 7; e++) {
156
544
  let f = d.getChildAt(e);
157
- f.listen("click", runOn(this, this.v));
545
+ f.listen("click", runOn(this, this.af));
546
+ }
547
+ }
548
+ }
549
+ }
550
+ a0(a = false, b = false) {
551
+ if (this.m != null) {
552
+ let c = null;
553
+ let d = null;
554
+ let e = null;
555
+ let f = this.c.aw;
556
+ let g = this.c.aq;
557
+ let h = this.c.av;
558
+ for (let i = 0; i < 42; i++) {
559
+ let j = this.f._inner[i];
560
+ let k = j.getChildAt(0);
561
+ let l = this.c.n(i);
562
+ if (l != null) {
563
+ j.parent().parent().setAttribute("aria-label", l.c.toString() + "/" + l.b.toString() + "/" + l.d.toString());
564
+ j.setAttribute("data-section", "days");
565
+ j.setAttribute("data-index", i.toString());
566
+ j.setAttribute("data-date", l.b.toString() + "/" + l.c.toString() + "/" + l.d.toString());
567
+ j.setAttribute("data-selected", "false");
568
+ j.setAttribute("data-disabled", "false");
569
+ j.setAttribute("data-today", "false");
570
+ k.setText(l.b.toString());
571
+ if (+f != +(dateMinValue()) && l.b == f.getDate() && l.c == dateGetMonth(f) && l.d == f.getFullYear()) {
572
+ c = j;
573
+ j.parent().parent().setAttribute("aria-selected", "true");
574
+ j.setAttribute("data-selected", "true");
575
+ }
576
+ else if (l.b == h.getDate() && l.c == dateGetMonth(h) && l.d == h.getFullYear()) {
577
+ d = j;
578
+ j.setAttribute("data-today", "true");
579
+ }
580
+ let m = this.c.ad(i);
581
+ if (m) {
582
+ j.setAttribute("data-disabled", "true");
583
+ }
584
+ if (l.b == 1 && l.c == dateGetMonth(g)) {
585
+ e = j;
586
+ }
587
+ }
588
+ }
589
+ if (a == true) {
590
+ if (c != null && +f != +(dateMinValue()) && f.getFullYear() == g.getFullYear() && dateGetMonth(f) == dateGetMonth(g)) {
591
+ this.d(c);
592
+ }
593
+ else if (d != null && h.getFullYear() == g.getFullYear() && dateGetMonth(h) == dateGetMonth(g)) {
594
+ this.d(d);
595
+ }
596
+ else if (e != null) {
597
+ if (b == true) {
598
+ for (let n = 41; n >= 0; n--) {
599
+ let o = this.c.n(n);
600
+ if (o.c == dateGetMonth(g)) {
601
+ let p = this.f._inner[n];
602
+ let q = p.getAttribute("data-disabled");
603
+ if (q == "false") {
604
+ e = this.f._inner[n];
605
+ break;
606
+ }
607
+ }
608
+ }
609
+ }
610
+ else {
611
+ for (let r = 0; r < 42; r++) {
612
+ let s = this.c.n(r);
613
+ if (s.c == dateGetMonth(g)) {
614
+ let t = this.f._inner[r];
615
+ let u = t.getAttribute("data-disabled");
616
+ if (u == "false") {
617
+ e = this.f._inner[r];
618
+ break;
619
+ }
620
+ }
621
+ }
622
+ }
623
+ this.d(e);
158
624
  }
159
625
  }
160
626
  }
161
627
  }
162
- ap() {
163
- if (this.i != null) {
164
- this.c.c4(this.k);
628
+ ae(a, b, c) {
629
+ if (this.m != null) {
630
+ b.setAttribute("aria-hidden", "true");
631
+ let d = this.m.createElement("span");
632
+ d.setAttribute("aria-hidden", "true");
633
+ b.append(d);
634
+ this.c.ci(a, b, c);
635
+ b.parent().setAttribute("aria-hidden", "true");
636
+ b.parent().parent().setAttribute("tabindex", "-1");
637
+ b.parent().parent().setAttribute("aria-readonly", "true");
638
+ b.parent().parent().setAttribute("aria-selected", "false");
639
+ b.parent().parent().setAttribute("aria-disabled", "false");
640
+ b.parent().parent().setAttribute("data-is-focusable", "true");
165
641
  }
166
642
  }
167
- aq() {
168
- if (this.n != null) {
169
- if (this.c.aa == true) {
170
- this.n.show();
171
- this.n.setStyleProperty("display", "flex");
172
- }
173
- else {
174
- this.n.hide();
175
- }
643
+ as(a, b) {
644
+ if (this.m != null) {
645
+ let c = this.m.getSubRenderer(a);
646
+ b.provideContainer(c);
647
+ let d = c.getExternal(b, c.rootWrapper, c.getExternal(this.c, null, null));
176
648
  }
177
649
  }
178
- ak() {
179
- if (this.i != null) {
180
- this.c.cu(this.f._inner[1]);
181
- this.c.c3(this.f._inner[2]);
650
+ ar(a, b) {
651
+ let c = a.getChildAt(0);
652
+ c.setText(b);
653
+ a.parent().parent().setAttribute("aria-label", b);
654
+ }
655
+ aw(a, b) {
656
+ if (this.m != null) {
657
+ let c = this.m.getSubRenderer(a);
658
+ b.provideContainer(c);
659
+ let d = c.getExternal(b, c.rootWrapper, c.getExternal(this.c, null, null));
182
660
  }
183
661
  }
184
- ah(a = false, b = false) {
185
- if (this.i != null) {
186
- this.c.cw(this.e, a, b);
187
- this.c.c0(this.n);
188
- this.c.b8(this.f);
662
+ ay() {
663
+ if (this.m != null) {
664
+ let a = this.g._inner[1].getChildAt(0);
665
+ let b = this.c.bx();
666
+ a.setText(b);
667
+ let c = this.g._inner[2].getChildAt(0);
668
+ let d = this.c.by();
669
+ c.setText(d);
670
+ }
671
+ }
672
+ at(a = false, b = false) {
673
+ if (this.m != null) {
674
+ this.a0(a, b);
675
+ this.a3();
676
+ let c = this.c.a();
677
+ for (let d = 0; d < this.g.count; d++) {
678
+ if (c[d] == true) {
679
+ this.g._inner[d].setAttribute("data-disabled", "true");
680
+ }
681
+ else {
682
+ this.g._inner[d].setAttribute("data-disabled", "false");
683
+ }
684
+ }
685
+ }
686
+ }
687
+ ax() {
688
+ if (this.m != null) {
689
+ if (this.h.count != 0) {
690
+ let a = null;
691
+ let b = null;
692
+ let c = 0;
693
+ let d = 0;
694
+ let e = 0;
695
+ for (let f = 0; f < 12; f++) {
696
+ let g = this.h._inner[f];
697
+ g.setAttribute("data-section", "months");
698
+ g.setAttribute("data-disabled", "false");
699
+ g.parent().parent().setAttribute("aria-selected", "false");
700
+ let h = f + 1;
701
+ let i = this.c.aw;
702
+ let j = this.c.av;
703
+ if (+i != +(dateMinValue()) && dateGetMonth(i) == h) {
704
+ b = g;
705
+ c = f;
706
+ g.parent().parent().setAttribute("aria-selected", "true");
707
+ }
708
+ if (dateGetMonth(j) == h) {
709
+ a = g;
710
+ d = f;
711
+ }
712
+ let k = this.c.aa(f, h);
713
+ if (k) {
714
+ g.setAttribute("data-disabled", "true");
715
+ }
716
+ }
717
+ for (let l = 0; l < this.h.count; l++) {
718
+ let m = this.h._inner[l];
719
+ let n = m.getAttribute("data-disabled");
720
+ if (n == "false") {
721
+ e = l;
722
+ break;
723
+ }
724
+ }
725
+ let o = this.h._inner[c].getAttribute("data-disabled");
726
+ let p = this.h._inner[d].getAttribute("data-disabled");
727
+ let q = this.h._inner[e].getAttribute("data-disabled");
728
+ if (b != null && o == "false") {
729
+ this.d(b);
730
+ }
731
+ else if (a != null && p == "false") {
732
+ this.d(a);
733
+ }
734
+ else if (q == "false") {
735
+ this.d(this.h._inner[e]);
736
+ }
737
+ else {
738
+ this.aq();
739
+ }
740
+ }
189
741
  }
190
742
  }
191
- aj() {
192
- if (this.g.count != 0) {
193
- this.c.cy(this.g);
743
+ a5() {
744
+ if (this.m != null) {
745
+ if (this.j.count != 0) {
746
+ let a = this.c.aq.getFullYear();
747
+ let b = true;
748
+ this.a4(a, b);
749
+ }
194
750
  }
195
751
  }
196
- ao() {
197
- if (this.h.count != 0) {
198
- this.c.c2(this.h);
752
+ a4(a, b = false) {
753
+ if (a < this.c.au.getFullYear()) {
754
+ a = this.c.au.getFullYear();
755
+ }
756
+ if (a > this.c.at.getFullYear()) {
757
+ a = this.c.at.getFullYear();
758
+ }
759
+ let c = a - 3;
760
+ let d = false;
761
+ for (let e = 0; e < 7; e++) {
762
+ let f = this.j._inner[e];
763
+ f.setAttribute("data-section", "years");
764
+ f.setAttribute("data-disabled", "false");
765
+ f.parent().parent().setAttribute("aria-selected", "false");
766
+ let g = this.c.ab(e, c);
767
+ f.setAttribute("data-disabled", g.toString());
768
+ let h = f.getChildAt(0);
769
+ h.setText(c.toString());
770
+ f.parent().parent().setAttribute("aria-label", c.toString());
771
+ if (c == a && b) {
772
+ if (g == false) {
773
+ f.parent().parent().setAttribute("aria-selected", "true");
774
+ d = true;
775
+ this.d(f);
776
+ }
777
+ }
778
+ c++;
779
+ }
780
+ if (d == false) {
781
+ let i = this.j._inner[3].getAttribute("data-disabled");
782
+ if (i == "false") {
783
+ let j = this.j._inner[3];
784
+ this.d(j);
785
+ }
199
786
  }
200
787
  }
201
- ag(a = false) {
202
- this.ah();
203
- this.ak();
204
- this.q = "day";
205
- this.j.show();
206
- this.j.setStyleProperty("display", "flex");
207
- this.m.hide();
208
- this.o.hide();
209
- this.ai(a);
210
- this.w();
211
- }
212
- ai(a = false) {
788
+ aq(a = false) {
789
+ this.at();
790
+ this.ay();
791
+ this.v = "day";
792
+ this.n.show();
793
+ this.n.setStyleProperty("display", "flex");
794
+ this.q.hide();
795
+ this.t.hide();
796
+ this.au(a);
797
+ this.ag();
798
+ }
799
+ au(a = false) {
213
800
  let b = null;
214
801
  let c = null;
215
802
  let d = null;
216
- for (let e = 0; e < this.e.count; e++) {
217
- let f = this.e._inner[e];
803
+ for (let e = 0; e < this.f.count; e++) {
804
+ let f = this.f._inner[e];
218
805
  let g = parseBool(f.getAttribute("data-disabled").toString());
219
- let h = f.getAttribute("data-month").toString();
220
- let i = parseBool(f.getAttribute("data-selected").toString());
221
- let j = parseBool(f.getAttribute("data-today").toString());
222
- if (i == true) {
806
+ let h = f.getAttribute("data-date").toString().split('/');
807
+ let i = h[1];
808
+ let j = parseBool(f.getAttribute("data-selected").toString());
809
+ let k = parseBool(f.getAttribute("data-today").toString());
810
+ if (j == true) {
223
811
  c = f;
224
812
  }
225
- if (j == true) {
813
+ if (k == true) {
226
814
  d = f;
227
815
  }
228
- let k = dateGetMonth(this.c.an).toString();
229
- if (g == false && k == h && b == null) {
816
+ let l = dateGetMonth(this.c.aq).toString();
817
+ if (g == false && l == i && b == null) {
230
818
  b = f;
231
819
  }
232
820
  }
@@ -237,10 +825,10 @@ export let CalendarView = /*@__PURE__*/ (() => {
237
825
  b = c;
238
826
  }
239
827
  if (b == null) {
240
- for (let l = 0; l < this.f.count; l++) {
241
- let m = parseBool(this.f._inner[l].getAttribute("data-disabled").toString());
242
- if (m == false) {
243
- b = this.f._inner[l];
828
+ for (let m = 0; m < this.g.count; m++) {
829
+ let n = parseBool(this.g._inner[m].getAttribute("data-disabled").toString());
830
+ if (n == false) {
831
+ b = this.g._inner[m];
244
832
  break;
245
833
  }
246
834
  }
@@ -257,335 +845,344 @@ export let CalendarView = /*@__PURE__*/ (() => {
257
845
  if (b) {
258
846
  return false;
259
847
  }
260
- this.l = a;
848
+ this.p = a;
261
849
  return true;
262
850
  }
263
- w() {
264
- if (this.l != null) {
265
- this.l.parent().parent().focus(false);
851
+ ag() {
852
+ if (this.p != null) {
853
+ this.p.parent().parent().focus(false);
266
854
  }
267
855
  }
268
- af(a = true, b = false) {
269
- let c = parseBool(this.f._inner[0].getAttribute("data-disabled").toString());
856
+ ap(a = true, b = false) {
857
+ let c = parseBool(this.g._inner[0].getAttribute("data-disabled").toString());
270
858
  if (c) {
271
859
  return;
272
860
  }
273
- this.c.b7(-1);
274
- this.ah(a, b);
275
- this.ak();
861
+ this.c.cc(-1);
862
+ this.at(a, b);
863
+ this.ay();
276
864
  }
277
- aa(a = true, b = false) {
278
- let c = parseBool(this.f._inner[3].getAttribute("data-disabled").toString());
865
+ ak(a = true, b = false) {
866
+ let c = parseBool(this.g._inner[3].getAttribute("data-disabled").toString());
279
867
  if (c) {
280
868
  return;
281
869
  }
282
- this.c.b7(1);
283
- this.ah(a, b);
284
- this.ak();
870
+ this.c.cc(1);
871
+ this.at(a, b);
872
+ this.ay();
873
+ }
874
+ a8() {
875
+ this.n.hide();
876
+ this.q.show();
877
+ this.q.setStyleProperty("display", "flex");
878
+ this.t.hide();
879
+ this.v = "month";
880
+ this.ax();
881
+ this.ag();
882
+ }
883
+ a9() {
884
+ this.n.hide();
885
+ this.q.hide();
886
+ this.t.show();
887
+ this.v = "year";
888
+ this.a5();
889
+ this.ag();
890
+ }
891
+ x(a) {
285
892
  }
286
- ar() {
287
- this.j.hide();
288
- this.m.show();
289
- this.m.setStyleProperty("display", "flex");
290
- this.o.hide();
291
- this.q = "month";
292
- this.aj();
293
- this.w();
294
- }
295
- as() {
296
- this.j.hide();
297
- this.m.hide();
298
- this.o.show();
299
- this.q = "year";
300
- this.ao();
301
- this.w();
302
- }
303
- s(a) {
304
- }
305
- t(a) {
893
+ y(a) {
306
894
  let b = a.which;
307
- if (this.q == "day") {
308
- let c = this.l.getAttribute("data-section").toString();
309
- let d = parseInt(this.l.getAttribute("data-index").toString());
895
+ if (this.v == "day") {
896
+ let c = this.p.getAttribute("data-section").toString();
897
+ let d = parseInt(this.p.getAttribute("data-index").toString());
310
898
  if (c == "header") {
311
899
  if (b == 37) {
312
900
  if (d > 0) {
313
- let e = this.f._inner[d - 1];
901
+ let e = this.g._inner[d - 1];
314
902
  let f = this.d(e);
315
903
  if (f == false && d > 1) {
316
- e = this.f._inner[d - 2];
904
+ e = this.g._inner[d - 2];
317
905
  this.d(e);
318
906
  }
319
- this.w();
907
+ this.ag();
320
908
  }
321
909
  else {
322
- this.af(false);
323
- let g = parseBool(this.l.getAttribute("data-disabled").toString());
910
+ this.ap(false);
911
+ let g = parseBool(this.p.getAttribute("data-disabled").toString());
324
912
  if (g == true) {
325
- this.ai();
326
- this.w();
913
+ this.au();
914
+ this.ag();
327
915
  }
328
916
  }
329
917
  }
330
918
  else if (b == 39) {
331
919
  if (d < 3) {
332
- let h = this.f._inner[d + 1];
920
+ let h = this.g._inner[d + 1];
333
921
  let i = this.d(h);
334
922
  if (i == false && d < 2) {
335
- h = this.f._inner[d + 2];
923
+ h = this.g._inner[d + 2];
336
924
  this.d(h);
337
925
  }
338
- this.w();
926
+ this.ag();
339
927
  }
340
928
  else {
341
- this.aa(false);
342
- let j = parseBool(this.l.getAttribute("data-disabled").toString());
929
+ this.ak(false);
930
+ let j = parseBool(this.p.getAttribute("data-disabled").toString());
343
931
  if (j == true) {
344
- this.ai();
345
- this.w();
932
+ this.au();
933
+ this.ag();
346
934
  }
347
935
  }
348
936
  }
349
937
  else if (b == 9) {
350
938
  if (a.shiftKey) {
351
- this.c.cl();
939
+ this.c.cs();
352
940
  }
353
941
  else {
354
942
  a.preventDefault();
355
- this.ah(true);
356
- this.w();
943
+ this.at(true);
944
+ this.ag();
357
945
  }
358
946
  }
359
947
  else if (b == 13) {
360
948
  a.preventDefault();
361
949
  if (d == 0) {
362
- this.af(false);
950
+ this.ap(false);
363
951
  }
364
952
  else if (d == 1) {
365
- this.ar();
953
+ this.a8();
366
954
  }
367
955
  else if (d == 2) {
368
- this.as();
956
+ this.a9();
369
957
  }
370
958
  else if (d == 3) {
371
- this.aa(false);
959
+ this.ak(false);
372
960
  }
373
961
  }
374
962
  }
375
963
  else if (c == "days") {
376
- let k = this.l.getAttribute("data-day").toString();
377
- let l = this.l.getAttribute("data-month").toString();
964
+ let k = this.p.getAttribute("data-date").toString().split('/');
965
+ let l = k[0];
966
+ let m = k[1];
378
967
  if (b == 37) {
379
968
  if (d == 0) {
380
- this.af(true, true);
381
- this.w();
969
+ this.ap(true, true);
970
+ this.ag();
382
971
  }
383
972
  else {
384
- let m = this.e._inner[d - 1];
385
- let n = m.getAttribute("data-day").toString();
386
- let o = m.getAttribute("data-month").toString();
387
- if (l == o) {
388
- this.d(m);
389
- this.w();
973
+ let n = this.f._inner[d - 1];
974
+ let o = n.getAttribute("data-date").toString().split('/');
975
+ let p = o[0];
976
+ let q = o[1];
977
+ if (m == q) {
978
+ this.d(n);
979
+ this.ag();
390
980
  }
391
981
  else {
392
- this.af();
393
- let p = this.p(n, o);
394
- this.d(p);
395
- this.w();
982
+ this.ap();
983
+ let r = this.u(p, q);
984
+ this.d(r);
985
+ this.ag();
396
986
  }
397
987
  }
398
988
  }
399
989
  else if (b == 39) {
400
990
  if (d == 41) {
401
- this.aa(true, false);
402
- this.w();
991
+ this.ak(true, false);
992
+ this.ag();
403
993
  }
404
994
  else {
405
- let q = this.e._inner[d + 1];
406
- let r = q.getAttribute("data-day").toString();
407
- let s = q.getAttribute("data-month").toString();
408
- if (l == s) {
409
- this.d(q);
410
- this.w();
995
+ let s = this.f._inner[d + 1];
996
+ let t = s.getAttribute("data-date").toString().split('/');
997
+ let u = t[0];
998
+ let v = t[1];
999
+ if (m == v) {
1000
+ this.d(s);
1001
+ this.ag();
411
1002
  }
412
1003
  else {
413
- this.aa();
414
- let t = this.p(r, s);
415
- this.d(t);
416
- this.w();
1004
+ this.ak();
1005
+ let w = this.u(u, v);
1006
+ this.d(w);
1007
+ this.ag();
417
1008
  }
418
1009
  }
419
1010
  }
420
1011
  else if (b == 40) {
421
1012
  if (d >= 35) {
422
- this.aa();
423
- let u = this.p(k, l);
424
- let v = parseInt(u.getAttribute("data-index").toString());
425
- let w = this.e._inner[v + 7];
426
- let x = w.getAttribute("data-day").toString();
427
- let y = w.getAttribute("data-month").toString();
428
- let z = this.p(x, y);
429
- this.d(z);
430
- this.w();
1013
+ this.ak();
1014
+ let x = this.u(l, m);
1015
+ let y = parseInt(x.getAttribute("data-index").toString());
1016
+ let z = this.f._inner[y + 7];
1017
+ let aa = z.getAttribute("data-date").toString().split('/');
1018
+ let ab = aa[0];
1019
+ let ac = aa[1];
1020
+ let ad = this.u(ab, ac);
1021
+ this.d(ad);
1022
+ this.ag();
431
1023
  }
432
1024
  else {
433
- let aa = this.e._inner[d + 7];
434
- let ab = aa.getAttribute("data-day").toString();
435
- let ac = aa.getAttribute("data-month").toString();
436
- if (l == ac) {
437
- this.d(aa);
438
- this.w();
1025
+ let ae = this.f._inner[d + 7];
1026
+ let af = ae.getAttribute("data-date").toString().split('/');
1027
+ let ag = af[0];
1028
+ let ah = af[1];
1029
+ if (m == ah) {
1030
+ this.d(ae);
1031
+ this.ag();
439
1032
  }
440
1033
  else {
441
- this.aa();
442
- let ad = this.p(ab, ac);
443
- this.d(ad);
444
- this.w();
1034
+ this.ak();
1035
+ let ai = this.u(ag, ah);
1036
+ this.d(ai);
1037
+ this.ag();
445
1038
  }
446
1039
  }
447
1040
  }
448
1041
  else if (b == 38) {
449
1042
  if (d <= 6) {
450
- this.af();
451
- let ae = this.p(k, l);
452
- let af = parseInt(ae.getAttribute("data-index").toString());
453
- let ag = this.e._inner[af - 7];
454
- let ah = ag.getAttribute("data-day").toString();
455
- let ai = ag.getAttribute("data-month").toString();
456
- let aj = this.p(ah, ai);
457
- this.d(aj);
458
- this.w();
1043
+ this.ap();
1044
+ let aj = this.u(l, m);
1045
+ let ak = parseInt(aj.getAttribute("data-index").toString());
1046
+ let al = this.f._inner[ak - 7];
1047
+ let am = al.getAttribute("data-date").toString().split('/');
1048
+ let an = am[0];
1049
+ let ao = am[1];
1050
+ let ap = this.u(an, ao);
1051
+ this.d(ap);
1052
+ this.ag();
459
1053
  }
460
1054
  else {
461
- let ak = this.e._inner[d - 7];
462
- let al = ak.getAttribute("data-day").toString();
463
- let am = ak.getAttribute("data-month").toString();
464
- if (l == am) {
465
- this.d(ak);
466
- this.w();
1055
+ let aq = this.f._inner[d - 7];
1056
+ let ar = aq.getAttribute("data-date").toString().split('/');
1057
+ let as = ar[0];
1058
+ let at = ar[1];
1059
+ if (m == at) {
1060
+ this.d(aq);
1061
+ this.ag();
467
1062
  }
468
1063
  else {
469
- this.af();
470
- let an = this.p(al, am);
471
- this.d(an);
472
- this.w();
1064
+ this.ap();
1065
+ let au = this.u(as, at);
1066
+ this.d(au);
1067
+ this.ag();
473
1068
  }
474
1069
  }
475
1070
  }
476
1071
  else if (b == 34) {
477
- this.aa();
478
- this.w();
1072
+ this.ak();
1073
+ this.ag();
479
1074
  }
480
1075
  else if (b == 33) {
481
- this.af();
482
- this.w();
1076
+ this.ap();
1077
+ this.ag();
483
1078
  }
484
1079
  else if (b == 9) {
485
1080
  if (a.shiftKey) {
486
1081
  a.preventDefault();
487
- let ao = this.f._inner[1];
488
- this.d(ao);
489
- this.w();
1082
+ let av = this.g._inner[1];
1083
+ this.d(av);
1084
+ this.ag();
490
1085
  }
491
1086
  else {
492
- this.c.cl();
1087
+ this.c.cs();
493
1088
  }
494
1089
  }
495
1090
  }
496
1091
  }
497
- else if (this.q == "month") {
498
- let ap = parseInt(this.l.getAttribute("data-index").toString());
1092
+ else if (this.v == "month") {
1093
+ let aw = parseInt(this.p.getAttribute("data-index").toString());
499
1094
  if (b == 37) {
500
- if (ap == 0) {
501
- let aq = this.g._inner[11];
502
- this.d(aq);
503
- this.w();
1095
+ if (aw == 0) {
1096
+ let ax = this.h._inner[11];
1097
+ this.d(ax);
1098
+ this.ag();
504
1099
  }
505
1100
  else {
506
- let ar = this.g._inner[ap - 1];
507
- this.d(ar);
508
- this.w();
1101
+ let ay = this.h._inner[aw - 1];
1102
+ this.d(ay);
1103
+ this.ag();
509
1104
  }
510
1105
  }
511
1106
  else if (b == 39) {
512
- if (ap == 11) {
513
- let as = this.g._inner[0];
514
- this.d(as);
515
- this.w();
1107
+ if (aw == 11) {
1108
+ let az = this.h._inner[0];
1109
+ this.d(az);
1110
+ this.ag();
516
1111
  }
517
1112
  else {
518
- let at = this.g._inner[ap + 1];
519
- this.d(at);
520
- this.w();
1113
+ let a0 = this.h._inner[aw + 1];
1114
+ this.d(a0);
1115
+ this.ag();
521
1116
  }
522
1117
  }
523
1118
  else if (b == 40) {
524
- if (ap >= 9) {
525
- let au = this.g._inner[ap - 9];
526
- this.d(au);
527
- this.w();
1119
+ if (aw >= 9) {
1120
+ let a1 = this.h._inner[aw - 9];
1121
+ this.d(a1);
1122
+ this.ag();
528
1123
  }
529
1124
  else {
530
- let av = this.g._inner[ap + 3];
531
- this.d(av);
532
- this.w();
1125
+ let a2 = this.h._inner[aw + 3];
1126
+ this.d(a2);
1127
+ this.ag();
533
1128
  }
534
1129
  }
535
1130
  else if (b == 38) {
536
- if (ap <= 2) {
537
- let aw = this.g._inner[ap + 9];
538
- this.d(aw);
539
- this.w();
1131
+ if (aw <= 2) {
1132
+ let a3 = this.h._inner[aw + 9];
1133
+ this.d(a3);
1134
+ this.ag();
540
1135
  }
541
1136
  else {
542
- let ax = this.g._inner[ap - 3];
543
- this.d(ax);
544
- this.w();
1137
+ let a4 = this.h._inner[aw - 3];
1138
+ this.d(a4);
1139
+ this.ag();
545
1140
  }
546
1141
  }
547
1142
  else if (b == 13) {
548
- this.d(this.f._inner[1]);
549
- this.w();
1143
+ this.d(this.g._inner[1]);
1144
+ this.ag();
550
1145
  }
551
1146
  }
552
- else if (this.q == "year") {
553
- let ay = parseInt(this.l.getAttribute("data-index").toString());
1147
+ else if (this.v == "year") {
1148
+ let a5 = parseInt(this.p.getAttribute("data-index").toString());
1149
+ let a6 = parseInt(this.j._inner[3].getChildAt(0).getText());
554
1150
  if (b == 40) {
555
- this.c.cs(this.h, 1);
556
- this.w();
1151
+ this.c.cz(a6, 1);
1152
+ this.ag();
557
1153
  }
558
1154
  else if (b == 38) {
559
- this.c.cs(this.h, -1);
560
- this.w();
1155
+ this.c.cz(a6, -1);
1156
+ this.ag();
561
1157
  }
562
1158
  else if (b == 13) {
563
- this.d(this.f._inner[2]);
564
- this.w();
1159
+ this.d(this.g._inner[2]);
1160
+ this.ag();
565
1161
  }
566
1162
  }
567
1163
  if (b == 27) {
568
- this.ag();
569
- this.c.cl();
1164
+ this.aq();
1165
+ this.c.cs();
570
1166
  }
571
1167
  if (a.altKey == true) {
572
1168
  if (b == 38) {
573
- this.ag();
574
- this.c.cl();
1169
+ this.aq();
1170
+ this.c.cs();
575
1171
  }
576
1172
  }
577
1173
  }
578
- p(a, b) {
1174
+ u(a, b) {
579
1175
  let c = null;
580
1176
  let d = null;
581
1177
  for (let e = 0; e < 42; e++) {
582
- let f = this.e._inner[e];
583
- let g = f.getAttribute("data-day").toString();
584
- let h = f.getAttribute("data-month").toString();
585
- if (b == h && d == null) {
1178
+ let f = this.f._inner[e];
1179
+ let g = f.getAttribute("data-date").toString().split('/');
1180
+ let h = g[0];
1181
+ let i = g[1];
1182
+ if (b == i && d == null) {
586
1183
  d = f;
587
1184
  }
588
- if (b == h && a == g) {
1185
+ if (b == i && a == h) {
589
1186
  c = f;
590
1187
  break;
591
1188
  }
@@ -595,52 +1192,53 @@ export let CalendarView = /*@__PURE__*/ (() => {
595
1192
  }
596
1193
  return c;
597
1194
  }
598
- ae(a) {
599
- let b = this.f._inner[0];
1195
+ ao(a) {
1196
+ let b = this.g._inner[0];
600
1197
  let c = parseBool(b.getAttribute("data-disabled").toString());
601
1198
  if (c == true) {
602
1199
  return;
603
1200
  }
604
- this.af();
1201
+ this.ap();
605
1202
  }
606
- z(a) {
607
- let b = this.f._inner[3];
1203
+ aj(a) {
1204
+ let b = this.g._inner[3];
608
1205
  let c = parseBool(b.getAttribute("data-disabled").toString());
609
1206
  if (c == true) {
610
1207
  return;
611
1208
  }
612
- this.aa();
1209
+ this.ak();
613
1210
  }
614
- y(a) {
615
- let b = this.f._inner[1];
1211
+ ai(a) {
1212
+ let b = this.g._inner[1];
616
1213
  let c = parseBool(b.getAttribute("data-disabled").toString());
617
1214
  if (c == true) {
618
1215
  return;
619
1216
  }
620
- this.ar();
1217
+ this.a8();
621
1218
  }
622
- av(a) {
623
- let b = this.f._inner[2];
1219
+ bc(a) {
1220
+ let b = this.g._inner[2];
624
1221
  let c = parseBool(b.getAttribute("data-disabled").toString());
625
1222
  if (c == true) {
626
1223
  return;
627
1224
  }
628
- this.as();
1225
+ this.a9();
629
1226
  }
630
- v(e_) {
1227
+ af(e_) {
631
1228
  let a = (e_.originalEvent.currentTarget);
632
1229
  let b = a.innerText;
633
1230
  if (b != "") {
634
1231
  let c = a.lastChild.lastChild.lastChild;
635
1232
  let d = parseBool(c.getAttribute("data-disabled").toString());
636
1233
  if (d == false) {
637
- let e = c.getAttribute("data-month").toString();
638
- let f = c.getAttribute("data-year").toString();
639
- this.c.ch(b, e, f);
1234
+ let e = c.getAttribute("data-date").toString().split('/');
1235
+ let f = e[1];
1236
+ let g = e[2];
1237
+ this.c.co(b, f, g);
640
1238
  }
641
1239
  }
642
1240
  }
643
- x(e_) {
1241
+ ah(e_) {
644
1242
  let a = (e_.originalEvent.currentTarget);
645
1243
  let b = a.getAttribute("data-month").toString();
646
1244
  if (b != "") {
@@ -648,12 +1246,12 @@ export let CalendarView = /*@__PURE__*/ (() => {
648
1246
  let d = a.lastChild.lastChild.lastChild;
649
1247
  let e = parseBool(d.getAttribute("data-disabled").toString());
650
1248
  if (e == false) {
651
- this.c.b9(c);
652
- this.ag();
1249
+ this.c.cd(c);
1250
+ this.aq();
653
1251
  }
654
1252
  }
655
1253
  }
656
- at(e_) {
1254
+ ba(e_) {
657
1255
  let a = (e_.originalEvent.currentTarget);
658
1256
  let b = a.innerText;
659
1257
  if (b != "") {
@@ -661,18 +1259,19 @@ export let CalendarView = /*@__PURE__*/ (() => {
661
1259
  let d = a.lastChild.lastChild.lastChild;
662
1260
  let e = parseBool(d.getAttribute("data-disabled").toString());
663
1261
  if (e == false) {
664
- this.c.ca(c);
665
- this.ag();
1262
+ this.c.ce(c);
1263
+ this.aq();
666
1264
  }
667
1265
  }
668
1266
  }
669
- au(e_) {
1267
+ bb(e_) {
670
1268
  e_.preventDefault();
671
1269
  let a = (e_.originalEvent.deltaY);
672
- this.c.cs(this.h, a);
1270
+ let b = parseInt(this.j._inner[3].getChildAt(0).getText());
1271
+ this.c.cz(b, a);
673
1272
  }
674
1273
  a() {
675
- let rect_ = this.i.rootWrapper.getNativeElement().getBoundingClientRect();
1274
+ let rect_ = this.m.rootWrapper.getNativeElement().getBoundingClientRect();
676
1275
  let a = (rect_.top);
677
1276
  let b = (rect_.left);
678
1277
  let c = new Array(2);
@@ -689,7 +1288,7 @@ export let CalendarView = /*@__PURE__*/ (() => {
689
1288
  d[1] = c;
690
1289
  return d;
691
1290
  }
692
- ab() {
1291
+ al() {
693
1292
  }
694
1293
  }
695
1294
  CalendarView.$t = /*@__PURE__*/ markType(CalendarView, 'CalendarView');
@@ -698,68 +1297,64 @@ export let CalendarView = /*@__PURE__*/ (() => {
698
1297
  /**
699
1298
  * @hidden
700
1299
  */
701
- export let Calendar = /*@__PURE__*/ (() => {
702
- class Calendar extends Base {
1300
+ export let XCalendar = /*@__PURE__*/ (() => {
1301
+ class XCalendar extends Base {
703
1302
  constructor() {
704
1303
  super();
705
- this.k = null;
706
- this.an = dateNow();
707
- this.aj = new Date();
708
- this.ae = null;
709
- this.af = null;
710
- this.ac = null;
711
- this.ag = null;
1304
+ this.l = null;
1305
+ this.aq = dateNow();
1306
+ this.am = new Date();
712
1307
  this.ai = null;
1308
+ this.aj = null;
713
1309
  this.ah = null;
714
- this.ad = null;
715
- this.h = null;
716
- this.am = dateMinValue();
1310
+ this.ak = null;
1311
+ this.al = null;
1312
+ this.k = null;
1313
+ this.ap = dateMinValue();
717
1314
  this.propertyChanged = null;
718
1315
  this.close = null;
719
1316
  this.valueChanged = null;
1317
+ this.w = null;
1318
+ this.as = dateMinValue();
1319
+ this.ar = dateNow();
1320
+ this.ao = dateMinValue();
1321
+ this.an = dateMaxValue();
1322
+ this.h = 3;
1323
+ this.f = 1;
1324
+ this.c5 = BrushUtil.g(0, 255, 255, 255);
1325
+ this.db = BrushUtil.g(255, 33, 150, 243);
1326
+ this.dd = BrushUtil.g(255, 21, 112, 184);
1327
+ this.c8 = BrushUtil.g(76, 33, 150, 243);
1328
+ this.da = BrushUtil.g(50, 186, 191, 199);
1329
+ this.de = BrushUtil.g(255, 24, 29, 31);
1330
+ this.dc = BrushUtil.g(255, 255, 255, 255);
1331
+ this.c9 = BrushUtil.g(255, 24, 29, 31);
1332
+ this.c7 = BrushUtil.g(255, 33, 150, 243);
1333
+ this.c6 = BrushUtil.g(255, 33, 150, 243);
1334
+ this.y = false;
720
1335
  this.u = null;
721
- this.ap = dateMinValue();
722
- this.ao = dateNow();
723
- this.al = dateMinValue();
724
- this.ak = dateMaxValue();
725
- this.e = 3;
726
- this.c = 1;
727
- this.c8 = BrushUtil.g(0, 255, 255, 255);
728
- this.de = BrushUtil.g(255, 33, 150, 243);
729
- this.dg = BrushUtil.g(255, 21, 112, 184);
730
- this.db = BrushUtil.g(76, 33, 150, 243);
731
- this.dd = BrushUtil.g(50, 186, 191, 199);
732
- this.dh = BrushUtil.g(255, 24, 29, 31);
733
- this.df = BrushUtil.g(255, 255, 255, 255);
734
- this.dc = BrushUtil.g(255, 24, 29, 31);
735
- this.da = BrushUtil.g(255, 33, 150, 243);
736
- this.c9 = BrushUtil.g(255, 33, 150, 243);
737
- this.w = false;
738
- this.s = null;
739
- this.m = 0;
740
- this.p = 0;
741
- this.x = false;
742
- this.aj = dateAddYears(this.aj, -200);
743
- this.ae = new ObservableCollection$1(DayInfo.$, 0);
744
- this.af = new ObservableCollection$1(Button.$, 0);
745
- this.ac = new ObservableCollection$1(Button.$, 0);
746
- this.ag = new ObservableCollection$1(Button.$, 0);
747
- this.ai = new ObservableCollection$1(Button.$, 0);
748
- this.ah = new ObservableCollection$1(DomWrapper_$type, 0);
749
- this.ad = new ObservableCollection$1(DomWrapper_$type, 0);
1336
+ this.o = 0;
1337
+ this.r = 0;
1338
+ this.z = false;
1339
+ this.am = dateAddYears(this.am, -200);
1340
+ this.ai = new ObservableCollection$1(DayInfo.$, 0);
1341
+ this.aj = new ObservableCollection$1(XButton.$, 0);
1342
+ this.ah = new ObservableCollection$1(XButton.$, 0);
1343
+ this.ak = new ObservableCollection$1(XButton.$, 0);
1344
+ this.al = new ObservableCollection$1(XButton.$, 0);
750
1345
  let a = new CalendarView();
751
1346
  a.c = this;
752
- this.k = a;
753
- this.k.ad();
1347
+ this.l = a;
1348
+ this.l.an();
754
1349
  }
755
- cl() {
1350
+ cs() {
756
1351
  if (this.close != null) {
757
1352
  this.close(this);
758
1353
  }
759
1354
  }
760
- cn(a) {
761
- let b = this.ap;
762
- this.ap = a;
1355
+ cu(a) {
1356
+ let b = this.as;
1357
+ this.as = a;
763
1358
  if (this.valueChanged != null) {
764
1359
  this.valueChanged(this, ((() => {
765
1360
  let $ret = new ValueChangedEventArgs();
@@ -768,124 +1363,104 @@ export let Calendar = /*@__PURE__*/ (() => {
768
1363
  return $ret;
769
1364
  })()));
770
1365
  }
771
- if (+(this.at) != +(dateMinValue())) {
772
- this.an = this.at;
1366
+ if (+(this.aw) != +(dateMinValue())) {
1367
+ this.aq = this.aw;
773
1368
  }
774
- this.cq();
1369
+ this.cx();
775
1370
  }
776
- ch(a, b, c) {
1371
+ co(a, b, c) {
777
1372
  let d = dateFromValues(parseInt(c), parseInt(b), parseInt(a), 0, 0, 0, 0);
778
- this.cn(d);
1373
+ this.cu(d);
779
1374
  }
780
1375
  notifySizeChanged() {
781
- this.k.ab();
1376
+ this.l.al();
782
1377
  }
783
1378
  destroy() {
784
- if (this.h != null) {
785
- let a = this.h;
786
- a.clicked = delegateRemove(a.clicked, runOn(this, this.c5));
1379
+ if (this.k != null) {
1380
+ let a = this.k;
1381
+ a.clicked = delegateRemove(a.clicked, runOn(this, this.c2));
787
1382
  }
788
1383
  this.provideContainer(null);
789
1384
  }
790
1385
  provideContainer(a) {
791
- this.k.ac(a);
1386
+ this.l.am(a);
792
1387
  }
793
- get v() {
794
- if (this.u == null) {
795
- this.u = new SRProvider(this.k.i);
796
- this.u.cb("Calendar");
1388
+ get x() {
1389
+ if (this.w == null) {
1390
+ this.w = new SRProvider(this.l.m);
1391
+ this.w.cb("Calendar");
797
1392
  }
798
- return this.u;
1393
+ return this.w;
799
1394
  }
800
- get at() {
801
- return this.ap;
1395
+ get aw() {
1396
+ return this.as;
802
1397
  }
803
- set at(a) {
804
- let b = this.ap;
805
- this.am = b;
806
- this.ap = a;
807
- if (+b != +(this.ap)) {
808
- this.cm("Value", b, this.ap);
1398
+ set aw(a) {
1399
+ let b = this.as;
1400
+ this.ap = b;
1401
+ this.as = a;
1402
+ if (+b != +(this.as)) {
1403
+ this.ct("Value", b, this.as);
809
1404
  }
810
1405
  }
811
- get as() {
1406
+ get av() {
1407
+ return this.ar;
1408
+ }
1409
+ set av(a) {
1410
+ let b = this.ar;
1411
+ this.ar = a;
1412
+ if (+b != +(this.ar)) {
1413
+ this.ct("Today", b, this.ar);
1414
+ }
1415
+ }
1416
+ get au() {
812
1417
  return this.ao;
813
1418
  }
814
- set as(a) {
1419
+ set au(a) {
815
1420
  let b = this.ao;
816
1421
  this.ao = a;
817
1422
  if (+b != +(this.ao)) {
818
- this.cm("Today", b, this.ao);
819
- }
820
- }
821
- get ar() {
822
- return this.al;
823
- }
824
- set ar(a) {
825
- let b = this.al;
826
- this.al = a;
827
- if (+b != +(this.al)) {
828
- this.cm("MinDate", b, this.al);
829
- }
830
- }
831
- get aq() {
832
- return this.ak;
833
- }
834
- set aq(a) {
835
- let b = this.ak;
836
- this.ak = a;
837
- if (+b != +(this.ak)) {
838
- this.cm("MaxDate", b, this.ak);
1423
+ this.ct("MinDate", b, this.ao);
839
1424
  }
840
1425
  }
841
- get f() {
842
- return this.e;
843
- }
844
- set f(a) {
845
- let b = this.e;
846
- this.e = a;
847
- if (b != this.e) {
848
- this.cm("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.e));
849
- }
850
- }
851
- get d() {
852
- return this.c;
1426
+ get at() {
1427
+ return this.an;
853
1428
  }
854
- set d(a) {
855
- let b = this.c;
856
- this.c = a;
857
- if (b != this.c) {
858
- this.cm("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.c));
1429
+ set at(a) {
1430
+ let b = this.an;
1431
+ this.an = a;
1432
+ if (+b != +(this.an)) {
1433
+ this.ct("MaxDate", b, this.an);
859
1434
  }
860
1435
  }
861
- get di() {
862
- return this.c8;
1436
+ get i() {
1437
+ return this.h;
863
1438
  }
864
- set di(a) {
865
- let b = this.c8;
866
- this.c8 = a;
867
- if (b != this.c8) {
868
- this.cm("BackgroundColor", b, this.c8);
1439
+ set i(a) {
1440
+ let b = this.h;
1441
+ this.h = a;
1442
+ if (b != this.h) {
1443
+ this.ct("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.h));
869
1444
  }
870
1445
  }
871
- get dp() {
872
- return this.de;
1446
+ get g() {
1447
+ return this.f;
873
1448
  }
874
- set dp(a) {
875
- let b = this.de;
876
- this.de = a;
877
- if (b != this.de) {
878
- this.cm("SelectedDateBackgroundColor", b, this.de);
1449
+ set g(a) {
1450
+ let b = this.f;
1451
+ this.f = a;
1452
+ if (b != this.f) {
1453
+ this.ct("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.f));
879
1454
  }
880
1455
  }
881
- get dr() {
882
- return this.dg;
1456
+ get df() {
1457
+ return this.c5;
883
1458
  }
884
- set dr(a) {
885
- let b = this.dg;
886
- this.dg = a;
887
- if (b != this.dg) {
888
- this.cm("SelectedFocusDateBackgroundColor", b, this.dg);
1459
+ set df(a) {
1460
+ let b = this.c5;
1461
+ this.c5 = a;
1462
+ if (b != this.c5) {
1463
+ this.ct("BackgroundColor", b, this.c5);
889
1464
  }
890
1465
  }
891
1466
  get dl() {
@@ -895,7 +1470,7 @@ export let Calendar = /*@__PURE__*/ (() => {
895
1470
  let b = this.db;
896
1471
  this.db = a;
897
1472
  if (b != this.db) {
898
- this.cm("FocusDateBackgroundColor", b, this.db);
1473
+ this.ct("SelectedDateBackgroundColor", b, this.db);
899
1474
  }
900
1475
  }
901
1476
  get dn() {
@@ -905,27 +1480,37 @@ export let Calendar = /*@__PURE__*/ (() => {
905
1480
  let b = this.dd;
906
1481
  this.dd = a;
907
1482
  if (b != this.dd) {
908
- this.cm("HoverBackgroundColor", b, this.dd);
1483
+ this.ct("SelectedFocusDateBackgroundColor", b, this.dd);
909
1484
  }
910
1485
  }
911
- get ds() {
912
- return this.dh;
1486
+ get di() {
1487
+ return this.c8;
913
1488
  }
914
- set ds(a) {
915
- let b = this.dh;
916
- this.dh = a;
917
- if (b != this.dh) {
918
- this.cm("TextColor", b, this.dh);
1489
+ set di(a) {
1490
+ let b = this.c8;
1491
+ this.c8 = a;
1492
+ if (b != this.c8) {
1493
+ this.ct("FocusDateBackgroundColor", b, this.c8);
919
1494
  }
920
1495
  }
921
- get dq() {
922
- return this.df;
1496
+ get dk() {
1497
+ return this.da;
923
1498
  }
924
- set dq(a) {
925
- let b = this.df;
926
- this.df = a;
927
- if (b != this.df) {
928
- this.cm("SelectedDateTextColor", b, this.df);
1499
+ set dk(a) {
1500
+ let b = this.da;
1501
+ this.da = a;
1502
+ if (b != this.da) {
1503
+ this.ct("HoverBackgroundColor", b, this.da);
1504
+ }
1505
+ }
1506
+ get dp() {
1507
+ return this.de;
1508
+ }
1509
+ set dp(a) {
1510
+ let b = this.de;
1511
+ this.de = a;
1512
+ if (b != this.de) {
1513
+ this.ct("TextColor", b, this.de);
929
1514
  }
930
1515
  }
931
1516
  get dm() {
@@ -935,17 +1520,7 @@ export let Calendar = /*@__PURE__*/ (() => {
935
1520
  let b = this.dc;
936
1521
  this.dc = a;
937
1522
  if (b != this.dc) {
938
- this.cm("FocusDateTextColor", b, this.dc);
939
- }
940
- }
941
- get dk() {
942
- return this.da;
943
- }
944
- set dk(a) {
945
- let b = this.da;
946
- this.da = a;
947
- if (b != this.da) {
948
- this.cm("CurrentDateTextColor", b, this.da);
1523
+ this.ct("SelectedDateTextColor", b, this.dc);
949
1524
  }
950
1525
  }
951
1526
  get dj() {
@@ -955,114 +1530,134 @@ export let Calendar = /*@__PURE__*/ (() => {
955
1530
  let b = this.c9;
956
1531
  this.c9 = a;
957
1532
  if (b != this.c9) {
958
- this.cm("CurrentDateBorderColor", b, this.c9);
1533
+ this.ct("FocusDateTextColor", b, this.c9);
959
1534
  }
960
1535
  }
961
- get z() {
962
- return this.w;
1536
+ get dh() {
1537
+ return this.c7;
963
1538
  }
964
- set z(a) {
965
- let b = this.w;
966
- this.w = a;
967
- if (b != this.w) {
968
- this.cm("ShowTodayButton", b, this.w);
1539
+ set dh(a) {
1540
+ let b = this.c7;
1541
+ this.c7 = a;
1542
+ if (b != this.c7) {
1543
+ this.ct("CurrentDateTextColor", b, this.c7);
969
1544
  }
970
1545
  }
971
- get t() {
972
- return this.s;
1546
+ get dg() {
1547
+ return this.c6;
973
1548
  }
974
- set t(a) {
975
- let b = this.s;
976
- this.s = a;
977
- if (b != this.s) {
978
- this.cm("TextStyle", b, this.s);
1549
+ set dg(a) {
1550
+ let b = this.c6;
1551
+ this.c6 = a;
1552
+ if (b != this.c6) {
1553
+ this.ct("CurrentDateBorderColor", b, this.c6);
979
1554
  }
980
1555
  }
981
- get n() {
982
- return this.m;
1556
+ get ae() {
1557
+ return this.y;
983
1558
  }
984
- set n(a) {
985
- let b = this.m;
986
- this.m = a;
987
- if (b != this.m) {
988
- this.cm("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.m));
1559
+ set ae(a) {
1560
+ let b = this.y;
1561
+ this.y = a;
1562
+ if (b != this.y) {
1563
+ this.ct("ShowTodayButton", b, this.y);
989
1564
  }
990
1565
  }
991
- get q() {
992
- return this.p;
1566
+ get v() {
1567
+ return this.u;
993
1568
  }
994
- set q(a) {
995
- let b = this.p;
996
- this.p = a;
997
- if (b != this.p) {
998
- this.cm("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.p));
1569
+ set v(a) {
1570
+ let b = this.u;
1571
+ this.u = a;
1572
+ if (b != this.u) {
1573
+ this.ct("TextStyle", b, this.u);
1574
+ }
1575
+ }
1576
+ get p() {
1577
+ return this.o;
1578
+ }
1579
+ set p(a) {
1580
+ let b = this.o;
1581
+ this.o = a;
1582
+ if (b != this.o) {
1583
+ this.ct("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.o));
999
1584
  }
1000
1585
  }
1001
- get aa() {
1002
- return this.x;
1586
+ get s() {
1587
+ return this.r;
1003
1588
  }
1004
- set aa(a) {
1005
- let b = this.x;
1006
- this.x = a;
1007
- if (b != this.x) {
1008
- this.cm("ShowWeekNumbers", b, this.x);
1589
+ set s(a) {
1590
+ let b = this.r;
1591
+ this.r = a;
1592
+ if (b != this.r) {
1593
+ this.ct("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.r));
1009
1594
  }
1010
1595
  }
1011
- cm(a, b, c) {
1596
+ get af() {
1597
+ return this.z;
1598
+ }
1599
+ set af(a) {
1600
+ let b = this.z;
1601
+ this.z = a;
1602
+ if (b != this.z) {
1603
+ this.ct("ShowWeekNumbers", b, this.z);
1604
+ }
1605
+ }
1606
+ ct(a, b, c) {
1012
1607
  if (this.propertyChanged != null) {
1013
1608
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
1014
1609
  }
1015
- this.co(a, b, c);
1610
+ this.cv(a, b, c);
1016
1611
  }
1017
- co(a, b, c) {
1612
+ cv(a, b, c) {
1018
1613
  switch (a) {
1019
1614
  case "Density":
1020
- this.ct();
1615
+ this.c0();
1021
1616
  break;
1022
1617
  case "BaseTheme":
1023
- this.cv();
1618
+ this.c1();
1024
1619
  break;
1025
1620
  case "Value":
1026
- if (+(this.at) != +(dateMinValue())) {
1027
- if (dateGetDate(this.at) < dateGetDate(this.ar) || dateGetDate(this.at) > dateGetDate(this.aq)) {
1028
- this.at = this.am;
1621
+ if (+(this.aw) != +(dateMinValue())) {
1622
+ if (dateGetDate(this.aw) < dateGetDate(this.au) || dateGetDate(this.aw) > dateGetDate(this.at)) {
1623
+ this.aw = this.ap;
1029
1624
  }
1030
1625
  }
1031
- this.am = this.at;
1032
- if (+(this.at) != +(dateMinValue())) {
1033
- this.an = this.at;
1626
+ this.ap = this.aw;
1627
+ if (+(this.aw) != +(dateMinValue())) {
1628
+ this.aq = this.aw;
1034
1629
  }
1035
- this.cq();
1630
+ this.cx();
1036
1631
  break;
1037
1632
  case "Today":
1038
- let d = Base.compareSimple(this.as, this.ar);
1039
- let e = Base.compareSimple(this.as, this.aq);
1633
+ let d = Base.compareSimple(this.av, this.au);
1634
+ let e = Base.compareSimple(this.av, this.at);
1040
1635
  if (d < 0) {
1041
- this.ao = this.ar;
1636
+ this.ar = this.au;
1042
1637
  }
1043
1638
  else if (e > 0) {
1044
- this.ao = this.aq;
1639
+ this.ar = this.at;
1045
1640
  }
1046
- if (+(this.at) == +(dateMinValue())) {
1047
- this.an = this.as;
1641
+ if (+(this.aw) == +(dateMinValue())) {
1642
+ this.aq = this.av;
1048
1643
  }
1049
- this.cq();
1644
+ this.cx();
1050
1645
  break;
1051
1646
  case "MaxDate":
1052
1647
  case "MinDate":
1053
- let f = Base.compareSimple(this.ar, this.aq);
1648
+ let f = Base.compareSimple(this.au, this.at);
1054
1649
  if (f >= 0) {
1055
- this.aq = dateMaxValue();
1650
+ this.at = dateMaxValue();
1056
1651
  }
1057
- let g = Base.compareSimple(this.an, this.ar);
1058
- let h = Base.compareSimple(this.an, this.aq);
1652
+ let g = Base.compareSimple(this.aq, this.au);
1653
+ let h = Base.compareSimple(this.aq, this.at);
1059
1654
  if (g < 0) {
1060
- this.an = this.ar;
1655
+ this.aq = this.au;
1061
1656
  }
1062
1657
  else if (h > 0) {
1063
- this.an = this.aq;
1658
+ this.aq = this.at;
1064
1659
  }
1065
- this.cq();
1660
+ this.cx();
1066
1661
  break;
1067
1662
  case "TextColor":
1068
1663
  case "SelectedDateTextColor":
@@ -1074,423 +1669,345 @@ export let Calendar = /*@__PURE__*/ (() => {
1074
1669
  case "SelectedFocusDateBackgroundColor":
1075
1670
  case "SelectedDateBackgroundColor":
1076
1671
  case "HoverBackgroundColor":
1077
- this.c6();
1672
+ this.c3();
1078
1673
  break;
1079
1674
  case "TextStyle":
1080
- this.c7();
1675
+ this.c4();
1081
1676
  break;
1082
1677
  case "ShowTodayButton":
1083
- this.k.ap();
1678
+ this.l.a6();
1084
1679
  break;
1085
1680
  case "FirstDayOfWeek":
1086
- this.cq();
1681
+ this.cx();
1087
1682
  break;
1088
1683
  case "FirstWeekOfYear":
1089
1684
  case "ShowWeekNumbers":
1090
- this.k.aq();
1091
- this.cq();
1685
+ this.l.a7();
1686
+ this.cx();
1092
1687
  break;
1093
1688
  }
1094
1689
  }
1095
- c6() {
1096
- for (let a = 0; a < this.af.count; a++) {
1097
- if (this.ds != null) {
1098
- this.af._inner[a].s5 = this.ds;
1690
+ c3() {
1691
+ for (let a = 0; a < this.aj.count; a++) {
1692
+ if (this.dp != null) {
1693
+ this.aj._inner[a].s5 = this.dp;
1099
1694
  }
1100
- if (this.dm != null) {
1101
- this.af._inner[a].s1 = this.dm;
1695
+ if (this.dj != null) {
1696
+ this.aj._inner[a].s1 = this.dj;
1102
1697
  }
1103
- if (this.di != null) {
1104
- this.af._inner[a].sv = this.di;
1698
+ if (this.df != null) {
1699
+ this.aj._inner[a].sv = this.df;
1105
1700
  }
1106
- if (this.dl != null) {
1107
- this.af._inner[a].s0 = this.dl;
1701
+ if (this.di != null) {
1702
+ this.aj._inner[a].s0 = this.di;
1108
1703
  }
1109
- if (this.dn != null) {
1110
- this.af._inner[a].s2 = this.dn;
1704
+ if (this.dk != null) {
1705
+ this.aj._inner[a].s2 = this.dk;
1111
1706
  }
1112
1707
  }
1113
- for (let b = 0; b < this.ac.count; b++) {
1114
- if (this.ds != null) {
1115
- this.ac._inner[b].s5 = this.ds;
1708
+ for (let b = 0; b < this.ah.count; b++) {
1709
+ if (this.dp != null) {
1710
+ this.ah._inner[b].s5 = this.dp;
1116
1711
  }
1117
- if (this.dm != null) {
1118
- this.ac._inner[b].s1 = this.dm;
1712
+ if (this.dj != null) {
1713
+ this.ah._inner[b].s1 = this.dj;
1119
1714
  }
1120
- if (this.di != null) {
1121
- this.ac._inner[b].sv = this.di;
1715
+ if (this.df != null) {
1716
+ this.ah._inner[b].sv = this.df;
1122
1717
  }
1123
- if (this.dl != null) {
1124
- this.ac._inner[b].s0 = this.dl;
1718
+ if (this.di != null) {
1719
+ this.ah._inner[b].s0 = this.di;
1125
1720
  }
1126
- if (this.dn != null) {
1127
- this.ac._inner[b].s2 = this.dn;
1721
+ if (this.dk != null) {
1722
+ this.ah._inner[b].s2 = this.dk;
1128
1723
  }
1129
1724
  }
1130
- for (let c = 0; c < this.ag.count; c++) {
1131
- if (this.ds != null) {
1132
- this.ag._inner[c].s5 = this.ds;
1725
+ for (let c = 0; c < this.ak.count; c++) {
1726
+ if (this.dp != null) {
1727
+ this.ak._inner[c].s5 = this.dp;
1133
1728
  }
1134
- if (this.dm != null) {
1135
- this.ag._inner[c].s1 = this.dm;
1729
+ if (this.dj != null) {
1730
+ this.ak._inner[c].s1 = this.dj;
1136
1731
  }
1137
- if (this.di != null) {
1138
- this.ag._inner[c].sv = this.di;
1732
+ if (this.df != null) {
1733
+ this.ak._inner[c].sv = this.df;
1139
1734
  }
1140
- if (this.dl != null) {
1141
- this.ag._inner[c].s0 = this.dl;
1735
+ if (this.di != null) {
1736
+ this.ak._inner[c].s0 = this.di;
1142
1737
  }
1143
- if (this.dn != null) {
1144
- this.ag._inner[c].s2 = this.dn;
1738
+ if (this.dk != null) {
1739
+ this.ak._inner[c].s2 = this.dk;
1145
1740
  }
1146
1741
  }
1147
- for (let d = 0; d < this.ai.count; d++) {
1148
- if (this.ds != null) {
1149
- this.ai._inner[d].s5 = this.ds;
1742
+ for (let d = 0; d < this.al.count; d++) {
1743
+ if (this.dp != null) {
1744
+ this.al._inner[d].s5 = this.dp;
1150
1745
  }
1151
- if (this.dm != null) {
1152
- this.ai._inner[d].s1 = this.dm;
1746
+ if (this.dj != null) {
1747
+ this.al._inner[d].s1 = this.dj;
1153
1748
  }
1154
- if (this.di != null) {
1155
- this.ai._inner[d].sv = this.di;
1749
+ if (this.df != null) {
1750
+ this.al._inner[d].sv = this.df;
1156
1751
  }
1157
- if (this.dl != null) {
1158
- this.ai._inner[d].s0 = this.dl;
1752
+ if (this.di != null) {
1753
+ this.al._inner[d].s0 = this.di;
1159
1754
  }
1160
- if (this.dn != null) {
1161
- this.ai._inner[d].s2 = this.dn;
1755
+ if (this.dk != null) {
1756
+ this.al._inner[d].s2 = this.dk;
1162
1757
  }
1163
1758
  }
1164
1759
  }
1165
- c7() {
1166
- for (let a = 0; a < this.af.count; a++) {
1167
- if (this.s != null) {
1168
- this.af._inner[a].v = this.s;
1760
+ c4() {
1761
+ for (let a = 0; a < this.aj.count; a++) {
1762
+ if (this.u != null) {
1763
+ this.aj._inner[a].v = this.u;
1169
1764
  }
1170
1765
  }
1171
- for (let b = 0; b < this.ac.count; b++) {
1172
- if (this.s != null) {
1173
- this.ac._inner[b].v = this.s;
1766
+ for (let b = 0; b < this.ah.count; b++) {
1767
+ if (this.u != null) {
1768
+ this.ah._inner[b].v = this.u;
1174
1769
  }
1175
1770
  }
1176
- for (let c = 0; c < this.ag.count; c++) {
1177
- if (this.s != null) {
1178
- this.ag._inner[c].v = this.s;
1771
+ for (let c = 0; c < this.ak.count; c++) {
1772
+ if (this.u != null) {
1773
+ this.ak._inner[c].v = this.u;
1179
1774
  }
1180
1775
  }
1181
- for (let d = 0; d < this.ai.count; d++) {
1182
- if (this.s != null) {
1183
- this.ai._inner[d].v = this.s;
1776
+ for (let d = 0; d < this.al.count; d++) {
1777
+ if (this.u != null) {
1778
+ this.al._inner[d].v = this.u;
1184
1779
  }
1185
1780
  }
1186
1781
  }
1187
- cj() {
1188
- this.k.ai();
1189
- this.k.w();
1190
- }
1191
- cv() {
1192
- }
1193
- ct() {
1194
- }
1195
- cg() {
1196
- this.at = dateMinValue();
1197
- this.k.ah();
1198
- }
1199
1782
  cq() {
1200
- this.k.an();
1201
- this.cc();
1202
- this.k.ak();
1203
- this.k.ao();
1204
- this.k.ah();
1205
- }
1206
- cb(a, b, c, d) {
1207
- b.setStyleProperty("display", "flex");
1208
- b.setStyleProperty("flex-direction", "column");
1209
- b.setStyleProperty("justify-content", "space-evenly");
1210
- let e = a.createElement("div");
1211
- e.setStyleProperty("display", "flex");
1212
- e.setStyleProperty("justify-content", "space-evenly");
1213
- e.setStyleProperty("width", "100%");
1214
- e.setAttribute("role", "row");
1215
- let f = a.createElement("div");
1216
- f.setStyleProperty("width", "15%");
1217
- let g = a.createElement("div");
1218
- g.setStyleProperty("width", "20%");
1219
- let h = a.createElement("div");
1220
- h.setStyleProperty("width", "20%");
1221
- let i = a.createElement("div");
1222
- i.setStyleProperty("width", "15%");
1223
- e.append(f);
1224
- e.append(g);
1225
- e.append(h);
1226
- e.append(i);
1227
- b.append(e);
1228
- let j = a.createElement("div");
1229
- j.setStyleProperty("display", "flex");
1230
- j.setStyleProperty("flex-direction", "row");
1231
- j.setStyleProperty("justify-content", "space-evenly");
1232
- c.setStyleProperty("padding-bottom", "6px");
1233
- j.append(c);
1234
- let k = a.createElement("div");
1235
- k.setStyleProperty("display", "flex");
1236
- k.setStyleProperty("flex-direction", "column");
1237
- k.setStyleProperty("width", "220px");
1238
- k.setAttribute("role", "grid");
1239
- k.setAttribute("aria-readonly", "true");
1240
- j.append(k);
1241
- b.append(j);
1242
- let l = 0;
1243
- for (let m = 0; m < 7; m++) {
1244
- let n = a.createElement("div");
1245
- n.setAttribute("role", "row");
1246
- n.setStyleProperty("display", "flex");
1247
- n.setStyleProperty("justify-content", "space-evenly");
1248
- if (m == 0) {
1249
- for (let o = 0; o < 7; o++) {
1250
- let p = a.createElement("div");
1251
- p.setAttribute("role", "columnheader");
1252
- p.setAttribute("scope", "col");
1253
- p.setStyleProperty("text-align", "center");
1254
- p.setStyleProperty("vertical-align", "middle");
1255
- p.setStyleProperty("width", "12%");
1256
- let q = a.createElement("span");
1257
- q.setStyleProperty("font", "16px \"Segoe UI\", Verdana");
1258
- q.setStyleProperty("color", "rgb(24, 29, 31)");
1259
- p.append(q);
1260
- this.ad.add(q);
1261
- n.append(p);
1262
- }
1263
- k.append(n);
1264
- }
1265
- else {
1266
- for (let r = 0; r < 7; r++) {
1267
- let s = a.createElement("div");
1268
- s.setAttribute("role", "gridcell");
1269
- s.setStyleProperty("justify-content", "center");
1270
- let t = d._inner[l];
1271
- let u = this.j(a, s, t);
1272
- u.bh = 30;
1273
- u.bg = 30;
1274
- this.ac.add(u);
1275
- u.ih = "btnDays" + r.toString();
1276
- s.setStyleProperty("width", "12%");
1277
- s.setStyleProperty("height", "100%");
1278
- n.append(s);
1279
- l++;
1280
- }
1281
- k.append(n);
1282
- }
1283
- }
1284
- let v = a.createElement("div");
1285
- v.setStyleProperty("display", "flex");
1286
- v.setStyleProperty("padding-bottom", "4px");
1287
- let w = a.createElement("div");
1288
- w.setStyleProperty("width", "100%");
1289
- w.setStyleProperty("justify-content", "center");
1290
- let x = a.createElement("div");
1291
- this.h = this.j(a, w, x);
1292
- let y = this.h;
1293
- y.clicked = delegateCombine(y.clicked, runOn(this, this.c5));
1294
- let z = x.getChildAt(0);
1295
- let aa = !stringIsNullOrWhiteSpace(this.v.b1("Today")) ? this.v.b1("Today") : "Today";
1296
- z.setText(aa);
1297
- x.parent().parent().setAttribute("aria-label", aa);
1298
- v.append(w);
1299
- b.append(v);
1300
- this.c4(b);
1301
- this.cc();
1302
- }
1303
- ce(a, b) {
1304
- b.setStyleProperty("display", "flex");
1305
- b.setStyleProperty("flex-direction", "column");
1306
- b.setStyleProperty("padding-top", "26px");
1307
- let c = this.ab();
1308
- for (let d = 0; d < 6; d++) {
1309
- let e = a.createElement("div");
1310
- e.setAttribute("aria-hidden", "true");
1311
- e.setStyleProperty("text-align", "center");
1312
- e.setStyleProperty("vertical-align", "middle");
1313
- e.setStyleProperty("height", "30px");
1314
- e.setStyleProperty("width", "25px");
1315
- e.setStyleProperty("border-width", "0px 1px 0px 0px");
1316
- e.setStyleProperty("border-style", "solid");
1317
- e.setStyleProperty("border-color", "rgb(163, 172, 184)");
1318
- let f = a.createElement("span");
1319
- f.setAttribute("aria-hidden", "true");
1320
- f.setStyleProperty("font", "14px \"Segoe UI\", Verdana");
1321
- f.setStyleProperty("color", "rgb(24, 29, 31)");
1322
- e.append(f);
1323
- this.ah.add(f);
1324
- f.setText(c._inner[d].toString());
1325
- b.append(e);
1783
+ this.l.au();
1784
+ this.l.ag();
1785
+ }
1786
+ c1() {
1787
+ }
1788
+ c0() {
1789
+ }
1790
+ ch() {
1791
+ this.aw = dateMinValue();
1792
+ this.l.at();
1793
+ }
1794
+ cx() {
1795
+ this.l.a2();
1796
+ this.cg();
1797
+ this.l.ay();
1798
+ this.l.a5();
1799
+ this.l.at();
1800
+ }
1801
+ cf() {
1802
+ this.cg();
1803
+ }
1804
+ ci(a, b, c) {
1805
+ let d = new XButton();
1806
+ this.l.as(a, d);
1807
+ d.d = this.g;
1808
+ d.h = this.i;
1809
+ d.v = this.u;
1810
+ d.eu = -1;
1811
+ d.s = 1;
1812
+ if (this.u != null) {
1813
+ d.v = this.u;
1814
+ }
1815
+ let e = new CornerRadius(0, 2);
1816
+ d.ke = e;
1817
+ d.kv = e;
1818
+ d.ec = 0;
1819
+ d.appendButtonContent(b);
1820
+ d.s5 = this.dp;
1821
+ d.s1 = this.dj;
1822
+ d.sv = this.df;
1823
+ d.s0 = this.di;
1824
+ d.s2 = this.dk;
1825
+ d.bh = 30;
1826
+ d.bg = 30;
1827
+ this.ah.add(d);
1828
+ d.ih = "btnDays" + c.toString();
1829
+ }
1830
+ cm(a, b) {
1831
+ let c = new XButton();
1832
+ this.l.as(a, c);
1833
+ c.d = this.g;
1834
+ c.h = this.i;
1835
+ c.v = this.u;
1836
+ c.eu = -1;
1837
+ c.s = 1;
1838
+ if (this.u != null) {
1839
+ c.v = this.u;
1840
+ }
1841
+ let d = new CornerRadius(0, 2);
1842
+ c.ke = d;
1843
+ c.kv = d;
1844
+ c.ec = 0;
1845
+ c.appendButtonContent(b);
1846
+ let e = !stringIsNullOrWhiteSpace(this.x.b1("Today")) ? this.x.b1("Today") : "Today";
1847
+ this.l.ar(b, e);
1848
+ c.s5 = this.dp;
1849
+ c.s1 = this.dj;
1850
+ c.sv = this.df;
1851
+ c.s0 = this.di;
1852
+ c.s2 = this.dk;
1853
+ this.k = c;
1854
+ let f = this.k;
1855
+ f.clicked = delegateCombine(f.clicked, runOn(this, this.c2));
1856
+ }
1857
+ c2(a, b) {
1858
+ this.aq = this.av;
1859
+ this.cg();
1860
+ this.l.aq(true);
1861
+ }
1862
+ cl(a, b) {
1863
+ let c = new XButton();
1864
+ this.l.as(a, c);
1865
+ c.d = this.g;
1866
+ c.h = this.i;
1867
+ c.v = this.u;
1868
+ c.eu = -1;
1869
+ c.s = 1;
1870
+ if (this.u != null) {
1871
+ c.v = this.u;
1872
+ }
1873
+ let d = new CornerRadius(0, 2);
1874
+ c.ke = d;
1875
+ c.kv = d;
1876
+ c.ec = 0;
1877
+ c.appendButtonContent(b);
1878
+ c.s5 = this.dp;
1879
+ c.s1 = this.dj;
1880
+ c.sv = this.df;
1881
+ c.s0 = this.di;
1882
+ c.s2 = this.dk;
1883
+ c.bh = 40;
1884
+ this.ak.add(c);
1885
+ }
1886
+ e(a, b) {
1887
+ let c = new Array(2);
1888
+ c[0] = "";
1889
+ c[1] = "";
1890
+ switch (a) {
1891
+ case 1:
1892
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("January_Full")) ? this.x.b1("January_Full") : "January";
1893
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("January_Short")) ? this.x.b1("January_Short") : "Jan";
1894
+ break;
1895
+ case 2:
1896
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("February_Full")) ? this.x.b1("February_Full") : "February";
1897
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("February_Short")) ? this.x.b1("February_Short") : "Feb";
1898
+ break;
1899
+ case 3:
1900
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("March_Full")) ? this.x.b1("March_Full") : "March";
1901
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("March_Short")) ? this.x.b1("March_Short") : "Mar";
1902
+ break;
1903
+ case 4:
1904
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("April_Full")) ? this.x.b1("April_Full") : "April";
1905
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("April_Short")) ? this.x.b1("April_Short") : "Apr";
1906
+ break;
1907
+ case 5:
1908
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("May_Full")) ? this.x.b1("May_Full") : "May";
1909
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("May_Short")) ? this.x.b1("May_Short") : "May";
1910
+ break;
1911
+ case 6:
1912
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("June_Full")) ? this.x.b1("June_Full") : "June";
1913
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("June_Short")) ? this.x.b1("June_Short") : "Jun";
1914
+ break;
1915
+ case 7:
1916
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("July_Full")) ? this.x.b1("July_Full") : "July";
1917
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("July_Short")) ? this.x.b1("July_Short") : "Jul";
1918
+ break;
1919
+ case 8:
1920
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("August_Full")) ? this.x.b1("August_Full") : "August";
1921
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("August_Short")) ? this.x.b1("August_Short") : "Aug";
1922
+ break;
1923
+ case 9:
1924
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("September_Full")) ? this.x.b1("September_Full") : "September";
1925
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("September_Short")) ? this.x.b1("September_Short") : "Sep";
1926
+ break;
1927
+ case 10:
1928
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("October_Full")) ? this.x.b1("October_Full") : "October";
1929
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("October_Short")) ? this.x.b1("October_Short") : "Oct";
1930
+ break;
1931
+ case 11:
1932
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("November_Full")) ? this.x.b1("November_Full") : "November";
1933
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("November_Short")) ? this.x.b1("November_Short") : "Nov";
1934
+ break;
1935
+ case 12:
1936
+ c[0] = !stringIsNullOrWhiteSpace(this.x.b1("December_Full")) ? this.x.b1("December_Full") : "December";
1937
+ c[1] = !stringIsNullOrWhiteSpace(this.x.b1("December_Short")) ? this.x.b1("December_Short") : "Dec";
1938
+ break;
1326
1939
  }
1940
+ this.ak._inner[b].ih = "btnMonth" + c[1];
1941
+ return c;
1327
1942
  }
1328
- c5(a, b) {
1329
- this.an = this.as;
1330
- this.cc();
1331
- this.k.ag(true);
1943
+ cn(a, b, c) {
1944
+ let d = new XButton();
1945
+ this.l.as(a, d);
1946
+ d.d = this.g;
1947
+ d.h = this.i;
1948
+ d.v = this.u;
1949
+ d.eu = -1;
1950
+ d.s = 1;
1951
+ if (this.u != null) {
1952
+ d.v = this.u;
1953
+ }
1954
+ let e = new CornerRadius(0, 2);
1955
+ d.ke = e;
1956
+ d.kv = e;
1957
+ d.ec = 0;
1958
+ d.appendButtonContent(b);
1959
+ d.s5 = this.dp;
1960
+ d.s1 = this.dj;
1961
+ d.sv = this.df;
1962
+ d.s0 = this.di;
1963
+ d.s2 = this.dk;
1964
+ d.ih = "btnYear" + c.toString();
1965
+ this.al.add(d);
1332
1966
  }
1333
- c4(a) {
1334
- if (this.z == true) {
1335
- let b = a.getChildAt(2);
1336
- b.setStyleProperty("display", "flex");
1967
+ cg() {
1968
+ if (+(this.aq) == +(dateMinValue())) {
1969
+ this.aq = dateNow();
1337
1970
  }
1338
- else {
1339
- let c = a.getChildAt(2);
1340
- c.setStyleProperty("display", "none");
1341
- }
1342
- }
1343
- cd(a, b, c) {
1344
- b.setStyleProperty("display", "flex");
1345
- b.setStyleProperty("flex-direction", "row");
1346
- b.setStyleProperty("flex-wrap", "wrap");
1347
- b.setStyleProperty("margin", "2px");
1348
- b.setStyleProperty("justify-content", "center");
1349
- b.setStyleProperty("width", "100%");
1350
- b.setStyleProperty("height", "100%");
1351
- b.setAttribute("role", "grid");
1352
- b.setAttribute("aria-readonly", "true");
1353
- for (let d = 0; d < 12; d++) {
1354
- let e = a.createElement("div");
1355
- e.setStyleProperty("margin", "5px");
1356
- e.setAttribute("data-month", (d + 1).toString());
1357
- let f = c._inner[d];
1358
- let g = this.j(a, e, f);
1359
- g.bh = 40;
1360
- this.ag.add(g);
1361
- e.setStyleProperty("width", "28%");
1362
- let h = e.getChildAt(0);
1363
- h.setStyleProperty("width", "100%");
1364
- let i = f.getChildAt(0);
1365
- let j = "";
1366
- let k = d + 1;
1367
- switch (k) {
1368
- case 1:
1369
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("January_Full")) ? this.v.b1("January_Full") : "January");
1370
- j = !stringIsNullOrWhiteSpace(this.v.b1("January_Short")) ? this.v.b1("January_Short") : "Jan";
1371
- break;
1372
- case 2:
1373
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("February_Full")) ? this.v.b1("February_Full") : "February");
1374
- j = !stringIsNullOrWhiteSpace(this.v.b1("February_Short")) ? this.v.b1("February_Short") : "Feb";
1375
- break;
1376
- case 3:
1377
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("March_Full")) ? this.v.b1("March_Full") : "March");
1378
- j = !stringIsNullOrWhiteSpace(this.v.b1("March_Short")) ? this.v.b1("March_Short") : "Mar";
1379
- break;
1380
- case 4:
1381
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("April_Full")) ? this.v.b1("April_Full") : "April");
1382
- j = !stringIsNullOrWhiteSpace(this.v.b1("April_Short")) ? this.v.b1("April_Short") : "Apr";
1383
- break;
1384
- case 5:
1385
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("May_Full")) ? this.v.b1("May_Full") : "May");
1386
- j = !stringIsNullOrWhiteSpace(this.v.b1("May_Short")) ? this.v.b1("May_Short") : "May";
1387
- break;
1388
- case 6:
1389
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("June_Full")) ? this.v.b1("June_Full") : "June");
1390
- j = !stringIsNullOrWhiteSpace(this.v.b1("June_Short")) ? this.v.b1("June_Short") : "Jun";
1391
- break;
1392
- case 7:
1393
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("July_Full")) ? this.v.b1("July_Full") : "July");
1394
- j = !stringIsNullOrWhiteSpace(this.v.b1("July_Short")) ? this.v.b1("July_Short") : "Jul";
1395
- break;
1396
- case 8:
1397
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("August_Full")) ? this.v.b1("August_Full") : "August");
1398
- j = !stringIsNullOrWhiteSpace(this.v.b1("August_Short")) ? this.v.b1("August_Short") : "Aug";
1399
- break;
1400
- case 9:
1401
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("September_Full")) ? this.v.b1("September_Full") : "September");
1402
- j = !stringIsNullOrWhiteSpace(this.v.b1("September_Short")) ? this.v.b1("September_Short") : "Sep";
1403
- break;
1404
- case 10:
1405
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("October_Full")) ? this.v.b1("October_Full") : "October");
1406
- j = !stringIsNullOrWhiteSpace(this.v.b1("October_Short")) ? this.v.b1("October_Short") : "Oct";
1407
- break;
1408
- case 11:
1409
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("November_Full")) ? this.v.b1("November_Full") : "November");
1410
- j = !stringIsNullOrWhiteSpace(this.v.b1("November_Short")) ? this.v.b1("November_Short") : "Nov";
1411
- break;
1412
- case 12:
1413
- f.parent().parent().setAttribute("aria-label", !stringIsNullOrWhiteSpace(this.v.b1("December_Full")) ? this.v.b1("December_Full") : "December");
1414
- j = !stringIsNullOrWhiteSpace(this.v.b1("December_Short")) ? this.v.b1("December_Short") : "Dec";
1415
- break;
1416
- }
1417
- g.ih = "btnMonth" + j;
1418
- i.setText(j);
1419
- f.setAttribute("data-index", d.toString());
1420
- f.append(i);
1421
- b.append(e);
1422
- }
1423
- }
1424
- cf(a, b, c) {
1425
- b.setStyleProperty("width", "100%");
1426
- b.setStyleProperty("height", "100%");
1427
- let d = this.an.getFullYear() - 3;
1428
- b.setStyleProperty("padding", "5px");
1429
- b.setAttribute("role", "grid");
1430
- b.setAttribute("aria-readonly", "true");
1431
- for (let e = 0; e < 7; e++) {
1432
- let f = a.createElement("div");
1433
- let g = c._inner[e];
1434
- let h = this.j(a, f, g);
1435
- this.ai.add(h);
1436
- f.setStyleProperty("width", "100%");
1437
- f.setStyleProperty("height", "14%");
1438
- f.setStyleProperty("justify-content", "center");
1439
- let i = f.getChildAt(0);
1440
- i.setStyleProperty("width", "98%");
1441
- let j = g.getChildAt(0);
1442
- h.ih = "btnYear" + e.toString();
1443
- j.setText(d.toString());
1444
- d++;
1445
- g.setAttribute("data-index", e.toString());
1446
- g.append(j);
1447
- b.append(f);
1448
- }
1449
- }
1450
- cc() {
1451
- if (+(this.an) == +(dateMinValue())) {
1452
- this.an = dateNow();
1453
- }
1454
- this.ae.clear();
1455
- let a = dateAddDays(this.an, -(this.an.getDate() - 1));
1456
- let b = this.n;
1971
+ this.ai.clear();
1972
+ let a = dateAddDays(this.aq, -(this.aq.getDate() - 1));
1973
+ let b = this.p;
1457
1974
  let c = a.getDay();
1458
1975
  while (c != b) {
1459
1976
  a = dateAddDays(a, -1);
1460
1977
  c = a.getDay();
1461
1978
  }
1462
- while (this.ae.count < 42) {
1979
+ while (this.ai.count < 42) {
1463
1980
  let d = new DayInfo();
1464
1981
  d.b = a.getDate();
1465
1982
  d.c = dateGetMonth(a);
1466
1983
  d.d = a.getFullYear();
1467
1984
  d.a = a.getDay();
1468
- this.ae.add(d);
1985
+ this.ai.add(d);
1469
1986
  a = dateAddDays(a, 1);
1470
1987
  }
1471
1988
  }
1472
- ab() {
1989
+ ag() {
1473
1990
  let a = new List$1(Number_$type, 0);
1474
- if (this.aa == false) {
1991
+ if (this.af == false) {
1475
1992
  for (let b = 0; b < 6; b++) {
1476
1993
  a.add(b);
1477
1994
  }
1478
1995
  return a;
1479
1996
  }
1480
- let c = dateFromValues(this.an.getFullYear(), dateGetMonth(this.an), 1, 0, 0, 0, 0);
1997
+ let c = dateFromValues(this.aq.getFullYear(), dateGetMonth(this.aq), 1, 0, 0, 0, 0);
1481
1998
  for (let d = 0; d < 6; d++) {
1482
1999
  let e = 0;
1483
- if (this.q == 2) {
1484
- e = this.a7(c, this.q, this.n);
2000
+ if (this.s == 2) {
2001
+ e = this.ba(c, this.s, this.p);
1485
2002
  }
1486
2003
  else {
1487
- e = this.a7(c, this.q, this.n);
2004
+ e = this.ba(c, this.s, this.p);
1488
2005
  }
1489
- if (this.q == 0 || this.q == 2) {
2006
+ if (this.s == 0 || this.s == 2) {
1490
2007
  if (e == 2 && a._inner[d - 1] == 53) {
1491
2008
  let f = c;
1492
2009
  for (let g = 0; g < 6; g++) {
1493
- if (f.getDay() == this.n) {
2010
+ if (f.getDay() == this.p) {
1494
2011
  if (f.getDate() > 1) {
1495
2012
  a._inner[d - 1] = 1;
1496
2013
  }
@@ -1498,10 +2015,10 @@ export let Calendar = /*@__PURE__*/ (() => {
1498
2015
  e = 1;
1499
2016
  }
1500
2017
  }
1501
- else if (f.getDay() < this.n) {
2018
+ else if (f.getDay() < this.p) {
1502
2019
  f = dateAddDays(f, 1);
1503
2020
  }
1504
- else if (f.getDay() > this.n) {
2021
+ else if (f.getDay() > this.p) {
1505
2022
  f = dateAddDays(f, -1);
1506
2023
  }
1507
2024
  }
@@ -1512,7 +2029,7 @@ export let Calendar = /*@__PURE__*/ (() => {
1512
2029
  }
1513
2030
  return a;
1514
2031
  }
1515
- a6(a) {
2032
+ a9(a) {
1516
2033
  let b = dateAddMonths(dateAddDays(a, -a.getDate() + 1), -dateGetMonth(a) + 1);
1517
2034
  let c = dateAddDays(dateAddYears(b, 1), -1);
1518
2035
  let d = [6, 7, 8, 9, 10, 4, 5];
@@ -1520,7 +2037,7 @@ export let Calendar = /*@__PURE__*/ (() => {
1520
2037
  let f = e + d[b.getDay()];
1521
2038
  let g = intDivide(f, 7);
1522
2039
  switch (g) {
1523
- case 0: return this.a6(dateAddDays(b, -1));
2040
+ case 0: return this.a9(dateAddDays(b, -1));
1524
2041
  case 53: if (c.getDay() < 4) {
1525
2042
  return 1;
1526
2043
  }
@@ -1530,29 +2047,29 @@ export let Calendar = /*@__PURE__*/ (() => {
1530
2047
  default: return g;
1531
2048
  }
1532
2049
  }
1533
- a7(a, b, c) {
2050
+ ba(a, b, c) {
1534
2051
  if (c < 0 || c > 6) {
1535
2052
  return -1;
1536
2053
  }
1537
2054
  switch (b) {
1538
- case 0: return (this.a5(a, c));
1539
- case 1: return (this.a8(a, c, 7));
1540
- case 2: return (this.a8(a, c, 4));
2055
+ case 0: return (this.a8(a, c));
2056
+ case 1: return (this.bb(a, c, 7));
2057
+ case 2: return (this.bb(a, c, 4));
1541
2058
  }
1542
2059
  return -1;
1543
2060
  }
1544
- a5(a, b) {
1545
- let c = this.a4(a) - 1;
2061
+ a8(a, b) {
2062
+ let c = this.a7(a) - 1;
1546
2063
  let d = a.getDay();
1547
2064
  let e = d - (c % 7);
1548
2065
  let f = (e - b + 14) % 7;
1549
2066
  return (intDivide((c + f), 7) + 1);
1550
2067
  }
1551
- a8(a, b, c) {
2068
+ bb(a, b, c) {
1552
2069
  let d;
1553
2070
  let e;
1554
2071
  let f;
1555
- let g = this.a4(a) - 1;
2072
+ let g = this.a7(a) - 1;
1556
2073
  let h = a.getDay();
1557
2074
  d = h - (g % 7);
1558
2075
  e = (b - d + 14) % 7;
@@ -1563,14 +2080,14 @@ export let Calendar = /*@__PURE__*/ (() => {
1563
2080
  if (f >= 0) {
1564
2081
  return (intDivide(f, 7) + 1);
1565
2082
  }
1566
- if (a <= dateAddDays(this.ar, g)) {
1567
- return this.a9(b, c);
2083
+ if (a <= dateAddDays(this.au, g)) {
2084
+ return this.bc(b, c);
1568
2085
  }
1569
- return (this.a8(dateAddDays(a, -(g + 1)), b, c));
2086
+ return (this.bb(dateAddDays(a, -(g + 1)), b, c));
1570
2087
  }
1571
- a9(a, b) {
1572
- let c = this.a4(this.ar) - 1;
1573
- let d = this.o(this.ar) - c % 7;
2088
+ bc(a, b) {
2089
+ let c = this.a7(this.au) - 1;
2090
+ let d = this.q(this.au) - c % 7;
1574
2091
  let e = (a + 7 - d) % 7;
1575
2092
  if (e == 0 || e >= b) {
1576
2093
  return 1;
@@ -1584,14 +2101,14 @@ export let Calendar = /*@__PURE__*/ (() => {
1584
2101
  }
1585
2102
  return (intDivide(i, 7) + 1);
1586
2103
  }
1587
- a4(a) {
1588
- return this.a3(a, 1);
2104
+ a7(a) {
2105
+ return this.a6(a, 1);
1589
2106
  }
1590
- o(a) {
2107
+ q(a) {
1591
2108
  return ((intDivide(a.getTime(), 0xC92A69C000) + 1) % 7);
1592
2109
  }
1593
- a3(a, b) {
1594
- let c = this.ba(a.getFullYear(), dateGetMonth(a), a.getDate());
2110
+ a6(a, b) {
2111
+ let c = this.bd(a.getFullYear(), dateGetMonth(a), a.getDate());
1595
2112
  let d = (intDivide(c, 0xC92A69C000));
1596
2113
  let e = intDivide(d, 146097);
1597
2114
  d -= e * 146097;
@@ -1614,7 +2131,7 @@ export let Calendar = /*@__PURE__*/ (() => {
1614
2131
  return d + 1;
1615
2132
  }
1616
2133
  let i = h == 3 && (g != 24 || f == 3);
1617
- let j = i ? Calendar.b : Calendar.a;
2134
+ let j = i ? XCalendar.c : XCalendar.b;
1618
2135
  let k = d >> 5 + 1;
1619
2136
  while (d >= j[k]) {
1620
2137
  k++;
@@ -1624,9 +2141,9 @@ export let Calendar = /*@__PURE__*/ (() => {
1624
2141
  }
1625
2142
  return d - j[k - 1] + 1;
1626
2143
  }
1627
- ba(a, b, c) {
2144
+ bd(a, b, c) {
1628
2145
  if (a >= 1 && a <= 9999 && b >= 1 && b <= 12) {
1629
- let d = Calendar.y(a) ? Calendar.b : Calendar.a;
2146
+ let d = XCalendar.ac(a) ? XCalendar.c : XCalendar.b;
1630
2147
  if (c >= 1 && c <= d[b] - d[b - 1]) {
1631
2148
  let e = a - 1;
1632
2149
  let f = e * 365 + intDivide(e, 4) - intDivide(e, 100) + intDivide(e, 400) + d[b - 1] + c - 1;
@@ -1635,889 +2152,604 @@ export let Calendar = /*@__PURE__*/ (() => {
1635
2152
  }
1636
2153
  return -1;
1637
2154
  }
1638
- static y(a) {
2155
+ static ac(a) {
1639
2156
  return a % 4 == 0 && (a % 100 != 0 || a % 400 == 0);
1640
2157
  }
1641
- cx(a, b, c) {
1642
- let d = b.getChildAt(0);
1643
- let e = c._inner[0];
1644
- let f = this.i(a, d, e, Calendar.bh);
1645
- f.bh = 28;
1646
- f.bg = 28;
1647
- e.parent().parent().setAttribute("aria-label", "Previous Month");
1648
- f.ih = "btnPrev";
1649
- this.af.add(f);
1650
- e.setAttribute("data-section", "header");
1651
- e.setAttribute("data-index", "0");
1652
- e.setAttribute("data-disabled", "false");
1653
- let g = b.getChildAt(1);
1654
- let h = c._inner[1];
1655
- let i = this.j(a, g, h);
1656
- i.bh = 40;
1657
- h.parent().parent().setAttribute("aria-label", "Select Month");
1658
- i.ih = "btnMonth";
1659
- this.af.add(i);
1660
- h.setAttribute("data-section", "header");
1661
- h.setAttribute("data-index", "1");
1662
- h.setAttribute("data-disabled", "false");
1663
- this.cu(h);
1664
- let j = b.getChildAt(2);
1665
- let k = c._inner[2];
1666
- let l = this.j(a, j, k);
1667
- l.bh = 40;
1668
- k.parent().parent().setAttribute("aria-label", "Select Year");
1669
- l.ih = "btnYear";
1670
- this.af.add(l);
1671
- k.setAttribute("data-section", "header");
1672
- k.setAttribute("data-index", "2");
1673
- k.setAttribute("data-disabled", "false");
1674
- this.c3(k);
1675
- let m = b.getChildAt(3);
1676
- let n = c._inner[3];
1677
- let o = this.i(a, m, n, Calendar.bi);
1678
- o.bh = 28;
1679
- o.bg = 28;
1680
- n.parent().parent().setAttribute("aria-label", "Next Month");
1681
- o.ih = "btnNext";
1682
- this.af.add(o);
1683
- n.setAttribute("data-section", "header");
1684
- n.setAttribute("data-index", "3");
1685
- n.setAttribute("data-disabled", "false");
1686
- this.b8(c);
1687
- }
1688
- b8(a) {
1689
- let b = this.an.getFullYear();
1690
- let c = dateGetMonth(this.an);
1691
- if (b == this.ar.getFullYear() && b == this.aq.getFullYear()) {
1692
- this.af._inner[2].disabled = true;
1693
- if (c == dateGetMonth(this.ar) && c == dateGetMonth(this.aq)) {
1694
- this.af._inner[0].disabled = true;
1695
- this.af._inner[1].disabled = true;
1696
- this.af._inner[3].disabled = true;
1697
- }
1698
- else if (c == dateGetMonth(this.ar)) {
1699
- this.af._inner[0].disabled = true;
1700
- this.af._inner[1].disabled = false;
1701
- this.af._inner[3].disabled = false;
1702
- }
1703
- else if (c == dateGetMonth(this.aq)) {
1704
- this.af._inner[0].disabled = false;
1705
- this.af._inner[1].disabled = false;
1706
- this.af._inner[3].disabled = true;
2158
+ ck(a, b, c, d) {
2159
+ let e = new XButton();
2160
+ this.l.as(a, e);
2161
+ e.d = this.g;
2162
+ e.h = this.i;
2163
+ e.v = this.u;
2164
+ e.eu = -1;
2165
+ e.s = 1;
2166
+ let f = new CornerRadius(0, 2);
2167
+ e.ke = f;
2168
+ e.kv = f;
2169
+ e.ec = 0;
2170
+ let g = new XIcon();
2171
+ this.l.aw(b, g);
2172
+ if (d == "prev") {
2173
+ g.svgPath = XCalendar.bk;
2174
+ e.ih = "btnPrev";
2175
+ }
2176
+ else if (d == "next") {
2177
+ g.svgPath = XCalendar.bl;
2178
+ e.ih = "btnNext";
2179
+ }
2180
+ e.appendButtonContent(c);
2181
+ e.s5 = this.dp;
2182
+ e.s1 = this.dj;
2183
+ e.sv = this.df;
2184
+ e.s0 = this.di;
2185
+ e.s2 = this.dk;
2186
+ e.bh = 28;
2187
+ e.bg = 28;
2188
+ this.aj.add(e);
2189
+ }
2190
+ cj(a, b, c) {
2191
+ let d = new XButton();
2192
+ this.l.as(a, d);
2193
+ d.d = this.g;
2194
+ d.h = this.i;
2195
+ d.v = this.u;
2196
+ d.eu = -1;
2197
+ d.s = 1;
2198
+ if (this.u != null) {
2199
+ d.v = this.u;
2200
+ }
2201
+ let e = new CornerRadius(0, 2);
2202
+ d.ke = e;
2203
+ d.kv = e;
2204
+ d.ec = 0;
2205
+ d.appendButtonContent(b);
2206
+ d.s5 = this.dp;
2207
+ d.s1 = this.dj;
2208
+ d.sv = this.df;
2209
+ d.s0 = this.di;
2210
+ d.s2 = this.dk;
2211
+ d.bh = 40;
2212
+ if (c == "month") {
2213
+ d.ih = "btnMonth";
2214
+ }
2215
+ else if (c == "year") {
2216
+ d.ih = "btnYear";
2217
+ }
2218
+ this.aj.add(d);
2219
+ }
2220
+ a() {
2221
+ let a = new Array(4);
2222
+ a[0] = false;
2223
+ a[1] = false;
2224
+ a[2] = false;
2225
+ a[3] = false;
2226
+ let b = this.aq.getFullYear();
2227
+ let c = dateGetMonth(this.aq);
2228
+ if (b == this.au.getFullYear() && b == this.at.getFullYear()) {
2229
+ this.aj._inner[2].disabled = true;
2230
+ if (c == dateGetMonth(this.au) && c == dateGetMonth(this.at)) {
2231
+ this.aj._inner[0].disabled = true;
2232
+ this.aj._inner[1].disabled = true;
2233
+ this.aj._inner[3].disabled = true;
2234
+ }
2235
+ else if (c == dateGetMonth(this.au)) {
2236
+ this.aj._inner[0].disabled = true;
2237
+ this.aj._inner[1].disabled = false;
2238
+ this.aj._inner[3].disabled = false;
2239
+ }
2240
+ else if (c == dateGetMonth(this.at)) {
2241
+ this.aj._inner[0].disabled = false;
2242
+ this.aj._inner[1].disabled = false;
2243
+ this.aj._inner[3].disabled = true;
1707
2244
  }
1708
2245
  else {
1709
- this.af._inner[0].disabled = false;
1710
- this.af._inner[1].disabled = false;
1711
- this.af._inner[3].disabled = false;
2246
+ this.aj._inner[0].disabled = false;
2247
+ this.aj._inner[1].disabled = false;
2248
+ this.aj._inner[3].disabled = false;
1712
2249
  }
1713
2250
  }
1714
2251
  else {
1715
- this.af._inner[2].disabled = false;
1716
- if (b == this.ar.getFullYear()) {
1717
- if (c == dateGetMonth(this.ar)) {
1718
- this.af._inner[0].disabled = true;
1719
- this.af._inner[1].disabled = false;
1720
- this.af._inner[3].disabled = false;
2252
+ this.aj._inner[2].disabled = false;
2253
+ if (b == this.au.getFullYear()) {
2254
+ if (c == dateGetMonth(this.au)) {
2255
+ this.aj._inner[0].disabled = true;
2256
+ this.aj._inner[1].disabled = false;
2257
+ this.aj._inner[3].disabled = false;
1721
2258
  }
1722
2259
  else {
1723
- this.af._inner[0].disabled = false;
1724
- this.af._inner[1].disabled = false;
1725
- this.af._inner[3].disabled = false;
2260
+ this.aj._inner[0].disabled = false;
2261
+ this.aj._inner[1].disabled = false;
2262
+ this.aj._inner[3].disabled = false;
1726
2263
  }
1727
2264
  }
1728
- else if (b == this.aq.getFullYear()) {
1729
- if (c == dateGetMonth(this.aq)) {
1730
- this.af._inner[0].disabled = false;
1731
- this.af._inner[1].disabled = false;
1732
- this.af._inner[3].disabled = true;
2265
+ else if (b == this.at.getFullYear()) {
2266
+ if (c == dateGetMonth(this.at)) {
2267
+ this.aj._inner[0].disabled = false;
2268
+ this.aj._inner[1].disabled = false;
2269
+ this.aj._inner[3].disabled = true;
1733
2270
  }
1734
2271
  else {
1735
- this.af._inner[0].disabled = false;
1736
- this.af._inner[1].disabled = false;
1737
- this.af._inner[3].disabled = false;
2272
+ this.aj._inner[0].disabled = false;
2273
+ this.aj._inner[1].disabled = false;
2274
+ this.aj._inner[3].disabled = false;
1738
2275
  }
1739
2276
  }
1740
- else if (b > this.aq.getFullYear() || b < this.ar.getFullYear()) {
1741
- this.af._inner[0].disabled = true;
1742
- this.af._inner[1].disabled = true;
1743
- this.af._inner[3].disabled = true;
2277
+ else if (b > this.at.getFullYear() || b < this.au.getFullYear()) {
2278
+ this.aj._inner[0].disabled = true;
2279
+ this.aj._inner[1].disabled = true;
2280
+ this.aj._inner[3].disabled = true;
1744
2281
  }
1745
2282
  }
1746
- for (let d = 0; d < this.af.count; d++) {
1747
- if (this.af._inner[d].disabled == true) {
1748
- a._inner[d].setAttribute("data-disabled", "true");
1749
- }
1750
- else {
1751
- a._inner[d].setAttribute("data-disabled", "false");
1752
- }
2283
+ for (let d = 0; d < this.aj.count; d++) {
2284
+ a[d] = this.aj._inner[d].disabled;
1753
2285
  }
2286
+ return a;
1754
2287
  }
1755
- cu(a) {
1756
- let b = a.getChildAt(0);
1757
- let c = dateGetMonth(this.an);
1758
- let d = "";
1759
- switch (c) {
2288
+ bx() {
2289
+ let a = dateGetMonth(this.aq);
2290
+ let b = "";
2291
+ switch (a) {
1760
2292
  case 1:
1761
- d = !stringIsNullOrWhiteSpace(this.v.b1("January_Short")) ? this.v.b1("January_Short") : "Jan";
2293
+ b = !stringIsNullOrWhiteSpace(this.x.b1("January_Short")) ? this.x.b1("January_Short") : "Jan";
1762
2294
  break;
1763
2295
  case 2:
1764
- d = !stringIsNullOrWhiteSpace(this.v.b1("February_Short")) ? this.v.b1("February_Short") : "Feb";
2296
+ b = !stringIsNullOrWhiteSpace(this.x.b1("February_Short")) ? this.x.b1("February_Short") : "Feb";
1765
2297
  break;
1766
2298
  case 3:
1767
- d = !stringIsNullOrWhiteSpace(this.v.b1("March_Short")) ? this.v.b1("March_Short") : "Mar";
2299
+ b = !stringIsNullOrWhiteSpace(this.x.b1("March_Short")) ? this.x.b1("March_Short") : "Mar";
1768
2300
  break;
1769
2301
  case 4:
1770
- d = !stringIsNullOrWhiteSpace(this.v.b1("April_Short")) ? this.v.b1("April_Short") : "Apr";
2302
+ b = !stringIsNullOrWhiteSpace(this.x.b1("April_Short")) ? this.x.b1("April_Short") : "Apr";
1771
2303
  break;
1772
2304
  case 5:
1773
- d = !stringIsNullOrWhiteSpace(this.v.b1("May_Short")) ? this.v.b1("May_Short") : "May";
2305
+ b = !stringIsNullOrWhiteSpace(this.x.b1("May_Short")) ? this.x.b1("May_Short") : "May";
1774
2306
  break;
1775
2307
  case 6:
1776
- d = !stringIsNullOrWhiteSpace(this.v.b1("June_Short")) ? this.v.b1("June_Short") : "Jun";
2308
+ b = !stringIsNullOrWhiteSpace(this.x.b1("June_Short")) ? this.x.b1("June_Short") : "Jun";
1777
2309
  break;
1778
2310
  case 7:
1779
- d = !stringIsNullOrWhiteSpace(this.v.b1("July_Short")) ? this.v.b1("July_Short") : "Jul";
2311
+ b = !stringIsNullOrWhiteSpace(this.x.b1("July_Short")) ? this.x.b1("July_Short") : "Jul";
1780
2312
  break;
1781
2313
  case 8:
1782
- d = !stringIsNullOrWhiteSpace(this.v.b1("August_Short")) ? this.v.b1("August_Short") : "Aug";
2314
+ b = !stringIsNullOrWhiteSpace(this.x.b1("August_Short")) ? this.x.b1("August_Short") : "Aug";
1783
2315
  break;
1784
2316
  case 9:
1785
- d = !stringIsNullOrWhiteSpace(this.v.b1("September_Short")) ? this.v.b1("September_Short") : "Sep";
2317
+ b = !stringIsNullOrWhiteSpace(this.x.b1("September_Short")) ? this.x.b1("September_Short") : "Sep";
1786
2318
  break;
1787
2319
  case 10:
1788
- d = !stringIsNullOrWhiteSpace(this.v.b1("October_Short")) ? this.v.b1("October_Short") : "Oct";
2320
+ b = !stringIsNullOrWhiteSpace(this.x.b1("October_Short")) ? this.x.b1("October_Short") : "Oct";
1789
2321
  break;
1790
2322
  case 11:
1791
- d = !stringIsNullOrWhiteSpace(this.v.b1("November_Short")) ? this.v.b1("November_Short") : "Nov";
2323
+ b = !stringIsNullOrWhiteSpace(this.x.b1("November_Short")) ? this.x.b1("November_Short") : "Nov";
1792
2324
  break;
1793
2325
  case 12:
1794
- d = !stringIsNullOrWhiteSpace(this.v.b1("December_Short")) ? this.v.b1("December_Short") : "Dec";
2326
+ b = !stringIsNullOrWhiteSpace(this.x.b1("December_Short")) ? this.x.b1("December_Short") : "Dec";
1795
2327
  break;
1796
2328
  }
1797
- b.setText(d);
1798
- }
1799
- c3(a) {
1800
- let b = a.getChildAt(0);
1801
- let c = this.an.getFullYear().toString();
1802
- b.setText(c);
1803
- }
1804
- cz(a) {
1805
- let b = new List$1(DayOfWeek_$type, 0);
1806
- switch (this.n) {
1807
- case 0:
1808
- b.add(0);
1809
- b.add(1);
1810
- b.add(2);
1811
- b.add(3);
1812
- b.add(4);
1813
- b.add(5);
1814
- b.add(6);
1815
- break;
1816
- case 1:
1817
- b.add(1);
1818
- b.add(2);
1819
- b.add(3);
1820
- b.add(4);
1821
- b.add(5);
1822
- b.add(6);
1823
- b.add(0);
1824
- break;
1825
- case 2:
1826
- b.add(2);
1827
- b.add(3);
1828
- b.add(4);
1829
- b.add(5);
1830
- b.add(6);
1831
- b.add(0);
1832
- b.add(1);
1833
- break;
1834
- case 3:
1835
- b.add(3);
1836
- b.add(4);
1837
- b.add(5);
1838
- b.add(6);
1839
- b.add(0);
1840
- b.add(1);
1841
- b.add(2);
1842
- break;
1843
- case 4:
1844
- b.add(4);
1845
- b.add(5);
1846
- b.add(6);
1847
- b.add(0);
1848
- b.add(1);
1849
- b.add(2);
1850
- b.add(3);
1851
- break;
1852
- case 5:
1853
- b.add(5);
1854
- b.add(6);
1855
- b.add(0);
1856
- b.add(1);
1857
- b.add(2);
1858
- b.add(3);
1859
- b.add(4);
1860
- break;
1861
- case 6:
1862
- b.add(6);
1863
- b.add(0);
1864
- b.add(1);
1865
- b.add(2);
1866
- b.add(3);
1867
- b.add(4);
1868
- b.add(5);
1869
- break;
2329
+ return b;
2330
+ }
2331
+ by() {
2332
+ let a = this.aq.getFullYear().toString();
2333
+ return a;
2334
+ }
2335
+ d(a) {
2336
+ let b = new Array(2);
2337
+ b[0] = "";
2338
+ b[1] = "";
2339
+ if (a == 0) {
2340
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Sunday_Full")) ? this.x.b1("Sunday_Full") : "Sunday";
2341
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Sunday_Single")) ? this.x.b1("Sunday_Single") : "S";
2342
+ }
2343
+ else if (a == 1) {
2344
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Monday_Full")) ? this.x.b1("Monday_Full") : "Monday";
2345
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Monday_Single")) ? this.x.b1("Monday_Single") : "M";
2346
+ }
2347
+ else if (a == 2) {
2348
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Full")) ? this.x.b1("Tuesday_Full") : "Tuesday";
2349
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Single")) ? this.x.b1("Tuesday_Single") : "T";
2350
+ }
2351
+ else if (a == 3) {
2352
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Full")) ? this.x.b1("Wednesday_Full") : "Wednesday";
2353
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Single")) ? this.x.b1("Wednesday_Single") : "W";
2354
+ }
2355
+ else if (a == 4) {
2356
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Thursday_Full")) ? this.x.b1("Thursday_Full") : "Thursday";
2357
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Thursday_Single")) ? this.x.b1("Thursday_Single") : "T";
2358
+ }
2359
+ else if (a == 5) {
2360
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Friday_Full")) ? this.x.b1("Friday_Full") : "Friday";
2361
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Friday_Single")) ? this.x.b1("Friday_Single") : "F";
2362
+ }
2363
+ else if (a == 6) {
2364
+ b[0] = !stringIsNullOrWhiteSpace(this.x.b1("Saturday_Full")) ? this.x.b1("Saturday_Full") : "Saturday";
2365
+ b[1] = !stringIsNullOrWhiteSpace(this.x.b1("Saturday_Single")) ? this.x.b1("Saturday_Single") : "S";
2366
+ }
2367
+ return b;
2368
+ }
2369
+ n(a) {
2370
+ return this.ai._inner[a];
2371
+ }
2372
+ ad(a) {
2373
+ let b = this.ai._inner[a];
2374
+ let c = this.ah._inner[a];
2375
+ if (+(this.aw) != +(dateMinValue()) && b.b == this.aw.getDate() && b.c == dateGetMonth(this.aw) && b.d == this.aw.getFullYear()) {
2376
+ c.s5 = this.dm;
2377
+ c.s1 = this.dm;
2378
+ c.sv = this.dl;
2379
+ c.s0 = this.dn;
2380
+ c.sw = this.df;
2381
+ }
2382
+ else if (b.b == this.av.getDate() && b.c == dateGetMonth(this.av) && b.d == this.av.getFullYear()) {
2383
+ c.s5 = this.dh;
2384
+ ;
2385
+ c.s1 = this.dj;
2386
+ c.sv = this.df;
2387
+ c.s0 = this.di;
2388
+ c.sw = this.dg;
2389
+ c.be = 1;
2390
+ }
2391
+ else if (b.a != 0 && b.a != 6 && b.c == dateGetMonth(this.aq)) {
2392
+ c.s5 = this.dp;
2393
+ c.s1 = this.dj;
2394
+ c.sv = this.df;
2395
+ c.s0 = this.di;
2396
+ c.sw = this.df;
1870
2397
  }
1871
- this.ad.clear();
1872
- for (let c = 0; c < b.count; c++) {
1873
- let d = a.getChildAt(c);
1874
- let e = d.getChildAt(0);
1875
- if (b._inner[c] == 0) {
1876
- let f = !stringIsNullOrWhiteSpace(this.v.b1("Sunday_Full")) ? this.v.b1("Sunday_Full") : "Sunday";
1877
- d.setAttribute("title", f);
1878
- d.setAttribute("aria-label", f);
1879
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Sunday_Single")) ? this.v.b1("Sunday_Single") : "S");
1880
- }
1881
- else if (b._inner[c] == 1) {
1882
- let g = !stringIsNullOrWhiteSpace(this.v.b1("Monday_Full")) ? this.v.b1("Monday_Full") : "Monday";
1883
- d.setAttribute("title", g);
1884
- d.setAttribute("aria-label", g);
1885
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Monday_Single")) ? this.v.b1("Monday_Single") : "M");
1886
- }
1887
- else if (b._inner[c] == 2) {
1888
- let h = !stringIsNullOrWhiteSpace(this.v.b1("Tuesday_Full")) ? this.v.b1("Tuesday_Full") : "Tuesday";
1889
- d.setAttribute("title", h);
1890
- d.setAttribute("aria-label", h);
1891
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Tuesday_Single")) ? this.v.b1("Tuesday_Single") : "T");
1892
- }
1893
- else if (b._inner[c] == 3) {
1894
- let i = !stringIsNullOrWhiteSpace(this.v.b1("Wednesday_Full")) ? this.v.b1("Wednesday_Full") : "Wednesday";
1895
- d.setAttribute("title", i);
1896
- d.setAttribute("aria-label", i);
1897
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Wednesday_Single")) ? this.v.b1("Wednesday_Single") : "W");
1898
- }
1899
- else if (b._inner[c] == 4) {
1900
- let j = !stringIsNullOrWhiteSpace(this.v.b1("Thursday_Full")) ? this.v.b1("Thursday_Full") : "Thursday";
1901
- d.setAttribute("title", j);
1902
- d.setAttribute("aria-label", j);
1903
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Thursday_Single")) ? this.v.b1("Thursday_Single") : "T");
1904
- }
1905
- else if (b._inner[c] == 5) {
1906
- let k = !stringIsNullOrWhiteSpace(this.v.b1("Friday_Full")) ? this.v.b1("Friday_Full") : "Friday";
1907
- d.setAttribute("title", k);
1908
- d.setAttribute("aria-label", k);
1909
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Friday_Single")) ? this.v.b1("Friday_Single") : "F");
1910
- }
1911
- else if (b._inner[c] == 6) {
1912
- let l = !stringIsNullOrWhiteSpace(this.v.b1("Saturday_Full")) ? this.v.b1("Saturday_Full") : "Saturday";
1913
- d.setAttribute("title", l);
1914
- d.setAttribute("aria-label", l);
1915
- e.setText(!stringIsNullOrWhiteSpace(this.v.b1("Saturday_Single")) ? this.v.b1("Saturday_Single") : "S");
1916
- }
1917
- this.ad.add(e);
1918
- }
1919
- }
1920
- cw(a, b = false, c = false) {
1921
- let d = null;
1922
- let e = null;
1923
- let f = null;
1924
- for (let g = 0; g < 42; g++) {
1925
- let h = a._inner[g];
1926
- let i = h.getChildAt(0);
1927
- let j = this.ae._inner[g];
1928
- let k = this.ac._inner[g];
1929
- h.parent().parent().setAttribute("aria-label", j.c.toString() + "/" + j.b.toString() + "/" + j.d.toString());
1930
- if (j != null) {
1931
- h.setAttribute("data-section", "days");
1932
- h.setAttribute("data-index", g.toString());
1933
- h.setAttribute("data-day", j.b.toString());
1934
- h.setAttribute("data-month", j.c.toString());
1935
- h.setAttribute("data-year", j.d.toString());
1936
- h.setAttribute("data-selected", "false");
1937
- h.setAttribute("data-disabled", "false");
1938
- h.setAttribute("data-today", "false");
1939
- h.parent().parent().setAttribute("aria-selected", "false");
1940
- i.setText(j.b.toString());
1941
- if (+(this.at) != +(dateMinValue()) && j.b == this.at.getDate() && j.c == dateGetMonth(this.at) && j.d == this.at.getFullYear()) {
1942
- k.s5 = this.dq;
1943
- k.s1 = this.dq;
1944
- k.sv = this.dp;
1945
- k.s0 = this.dr;
1946
- k.sw = this.di;
1947
- d = h;
1948
- h.parent().parent().setAttribute("aria-selected", "true");
1949
- h.setAttribute("data-selected", "true");
1950
- }
1951
- else if (j.b == this.as.getDate() && j.c == dateGetMonth(this.as) && j.d == this.as.getFullYear()) {
1952
- k.s5 = this.dk;
1953
- ;
1954
- k.s1 = this.dm;
1955
- k.sv = this.di;
1956
- k.s0 = this.dl;
1957
- k.sw = this.dj;
1958
- k.be = 1;
1959
- e = h;
1960
- h.setAttribute("data-today", "true");
1961
- }
1962
- else if (j.a != 0 && j.a != 6 && j.c == dateGetMonth(this.an)) {
1963
- k.s5 = this.ds;
1964
- k.s1 = this.dm;
1965
- k.sv = this.di;
1966
- k.s0 = this.dl;
1967
- k.sw = this.di;
2398
+ else {
2399
+ c.s5 = this.dp;
2400
+ c.s1 = this.dj;
2401
+ c.sv = this.df;
2402
+ c.s0 = this.di;
2403
+ c.sw = this.df;
2404
+ }
2405
+ if (b.d >= this.au.getFullYear() && b.d <= this.at.getFullYear()) {
2406
+ if (b.d == this.au.getFullYear() && b.d == this.at.getFullYear()) {
2407
+ if (b.c == dateGetMonth(this.au) && b.c == dateGetMonth(this.at)) {
2408
+ if (b.b >= this.au.getDate() && b.b <= this.at.getDate()) {
2409
+ c.disabled = false;
2410
+ }
2411
+ else {
2412
+ c.disabled = true;
2413
+ }
1968
2414
  }
1969
- else {
1970
- k.s5 = this.ds;
1971
- k.s1 = this.dm;
1972
- k.sv = this.di;
1973
- k.s0 = this.dl;
1974
- k.sw = this.di;
1975
- }
1976
- if (j.b == 1 && j.c == dateGetMonth(this.an)) {
1977
- f = h;
1978
- }
1979
- if (j.d >= this.ar.getFullYear() && j.d <= this.aq.getFullYear()) {
1980
- if (j.d == this.ar.getFullYear() && j.d == this.aq.getFullYear()) {
1981
- if (j.c == dateGetMonth(this.ar) && j.c == dateGetMonth(this.aq)) {
1982
- if (j.b >= this.ar.getDate() && j.b <= this.aq.getDate()) {
1983
- k.disabled = false;
1984
- }
1985
- else {
1986
- k.disabled = true;
1987
- }
2415
+ else if (b.c >= dateGetMonth(this.au) && b.c <= dateGetMonth(this.at)) {
2416
+ if (b.c == dateGetMonth(this.au)) {
2417
+ if (b.b >= this.au.getDate()) {
2418
+ c.disabled = false;
1988
2419
  }
1989
- else if (j.c >= dateGetMonth(this.ar) && j.c <= dateGetMonth(this.aq)) {
1990
- if (j.c == dateGetMonth(this.ar)) {
1991
- if (j.b >= this.ar.getDate()) {
1992
- k.disabled = false;
1993
- }
1994
- else {
1995
- k.disabled = true;
1996
- }
1997
- }
1998
- else if (j.c == dateGetMonth(this.aq)) {
1999
- if (j.b <= this.aq.getDate()) {
2000
- k.disabled = false;
2001
- }
2002
- else {
2003
- k.disabled = true;
2004
- }
2005
- }
2006
- else {
2007
- k.disabled = false;
2008
- }
2420
+ else {
2421
+ c.disabled = true;
2422
+ }
2423
+ }
2424
+ else if (b.c == dateGetMonth(this.at)) {
2425
+ if (b.b <= this.at.getDate()) {
2426
+ c.disabled = false;
2009
2427
  }
2010
2428
  else {
2011
- k.disabled = true;
2429
+ c.disabled = true;
2012
2430
  }
2013
2431
  }
2014
2432
  else {
2015
- if (j.d == this.ar.getFullYear()) {
2016
- if (j.c >= dateGetMonth(this.ar)) {
2017
- if (j.c == dateGetMonth(this.ar)) {
2018
- if (j.b >= this.ar.getDate()) {
2019
- k.disabled = false;
2020
- }
2021
- else {
2022
- k.disabled = true;
2023
- }
2024
- }
2025
- else {
2026
- k.disabled = false;
2027
- }
2433
+ c.disabled = false;
2434
+ }
2435
+ }
2436
+ else {
2437
+ c.disabled = true;
2438
+ }
2439
+ }
2440
+ else {
2441
+ if (b.d == this.au.getFullYear()) {
2442
+ if (b.c >= dateGetMonth(this.au)) {
2443
+ if (b.c == dateGetMonth(this.au)) {
2444
+ if (b.b >= this.au.getDate()) {
2445
+ c.disabled = false;
2028
2446
  }
2029
2447
  else {
2030
- k.disabled = true;
2448
+ c.disabled = true;
2031
2449
  }
2032
2450
  }
2033
- else if (j.d == this.aq.getFullYear()) {
2034
- if (j.c <= dateGetMonth(this.aq)) {
2035
- if (j.c == dateGetMonth(this.aq)) {
2036
- if (j.b <= this.aq.getDate()) {
2037
- k.disabled = false;
2038
- }
2039
- else {
2040
- k.disabled = true;
2041
- }
2042
- }
2043
- else {
2044
- k.disabled = false;
2045
- }
2451
+ else {
2452
+ c.disabled = false;
2453
+ }
2454
+ }
2455
+ else {
2456
+ c.disabled = true;
2457
+ }
2458
+ }
2459
+ else if (b.d == this.at.getFullYear()) {
2460
+ if (b.c <= dateGetMonth(this.at)) {
2461
+ if (b.c == dateGetMonth(this.at)) {
2462
+ if (b.b <= this.at.getDate()) {
2463
+ c.disabled = false;
2046
2464
  }
2047
2465
  else {
2048
- k.disabled = true;
2466
+ c.disabled = true;
2049
2467
  }
2050
2468
  }
2051
2469
  else {
2052
- k.disabled = false;
2470
+ c.disabled = false;
2053
2471
  }
2054
2472
  }
2473
+ else {
2474
+ c.disabled = true;
2475
+ }
2055
2476
  }
2056
2477
  else {
2057
- k.disabled = true;
2478
+ c.disabled = false;
2058
2479
  }
2059
2480
  }
2060
- if (k.disabled) {
2061
- h.setAttribute("data-disabled", "true");
2062
- }
2063
2481
  }
2064
- if (b == true) {
2065
- if (d != null && +(this.at) != +(dateMinValue()) && this.at.getFullYear() == this.an.getFullYear() && dateGetMonth(this.at) == dateGetMonth(this.an)) {
2066
- this.k.d(d);
2067
- }
2068
- else if (e != null && this.as.getFullYear() == this.an.getFullYear() && dateGetMonth(this.as) == dateGetMonth(this.an)) {
2069
- this.k.d(e);
2070
- }
2071
- else if (f != null) {
2072
- if (c == true) {
2073
- for (let l = 41; l >= 0; l--) {
2074
- let m = this.ae._inner[l];
2075
- if (m.c == dateGetMonth(this.an)) {
2076
- let n = this.ac._inner[l];
2077
- if (n.disabled == false) {
2078
- f = a._inner[l];
2079
- break;
2080
- }
2081
- }
2082
- }
2482
+ else {
2483
+ c.disabled = true;
2484
+ }
2485
+ return c.disabled;
2486
+ }
2487
+ aa(a, b) {
2488
+ if (this.aq.getFullYear() >= this.au.getFullYear() && this.aq.getFullYear() <= this.at.getFullYear()) {
2489
+ if (this.aq.getFullYear() == this.au.getFullYear() && this.aq.getFullYear() == this.at.getFullYear()) {
2490
+ if (b < dateGetMonth(this.au) || b > dateGetMonth(this.at)) {
2491
+ this.ak._inner[a].disabled = true;
2083
2492
  }
2084
2493
  else {
2085
- for (let o = 0; o < 42; o++) {
2086
- let p = this.ae._inner[o];
2087
- if (p.c == dateGetMonth(this.an)) {
2088
- let q = this.ac._inner[o];
2089
- if (q.disabled == false) {
2090
- f = a._inner[o];
2091
- break;
2092
- }
2093
- }
2094
- }
2494
+ this.ak._inner[a].disabled = false;
2095
2495
  }
2096
- this.k.d(f);
2097
2496
  }
2098
- }
2099
- }
2100
- c0(a) {
2101
- let b = this.ab();
2102
- this.ah.clear();
2103
- for (let c = 0; c < 6; c++) {
2104
- let d = a.getChildAt(c);
2105
- let e = d.getChildAt(0);
2106
- e.setText(b._inner[c].toString());
2107
- this.ah.add(e);
2108
- }
2109
- }
2110
- cy(a) {
2111
- let b = null;
2112
- let c = null;
2113
- let d = 0;
2114
- let e = 0;
2115
- let f = 0;
2116
- for (let g = 0; g < 12; g++) {
2117
- let h = a._inner[g];
2118
- h.setAttribute("data-section", "months");
2119
- h.setAttribute("data-year", this.an.getFullYear().toString());
2120
- h.setAttribute("data-disabled", "false");
2121
- h.parent().parent().setAttribute("aria-selected", "false");
2122
- let i = g + 1;
2123
- if (+(this.at) != +(dateMinValue()) && dateGetMonth(this.at) == i) {
2124
- c = h;
2125
- d = g;
2126
- h.parent().parent().setAttribute("aria-selected", "true");
2127
- }
2128
- if (dateGetMonth(this.as) == i) {
2129
- b = h;
2130
- e = g;
2131
- }
2132
- if (this.an.getFullYear() >= this.ar.getFullYear() && this.an.getFullYear() <= this.aq.getFullYear()) {
2133
- if (this.an.getFullYear() == this.ar.getFullYear() && this.an.getFullYear() == this.aq.getFullYear()) {
2134
- if (i < dateGetMonth(this.ar) || i > dateGetMonth(this.aq)) {
2135
- this.ag._inner[g].disabled = true;
2136
- }
2137
- else {
2138
- this.ag._inner[g].disabled = false;
2139
- }
2497
+ else if (this.aq.getFullYear() == this.au.getFullYear()) {
2498
+ if (b < dateGetMonth(this.au)) {
2499
+ this.ak._inner[a].disabled = true;
2140
2500
  }
2141
- else if (this.an.getFullYear() == this.ar.getFullYear()) {
2142
- if (i < dateGetMonth(this.ar)) {
2143
- this.ag._inner[g].disabled = true;
2144
- }
2145
- else {
2146
- this.ag._inner[g].disabled = false;
2147
- }
2501
+ else {
2502
+ this.ak._inner[a].disabled = false;
2148
2503
  }
2149
- else if (this.an.getFullYear() == this.aq.getFullYear()) {
2150
- if (i > dateGetMonth(this.aq)) {
2151
- this.ag._inner[g].disabled = true;
2152
- }
2153
- else {
2154
- this.ag._inner[g].disabled = false;
2155
- }
2504
+ }
2505
+ else if (this.aq.getFullYear() == this.at.getFullYear()) {
2506
+ if (b > dateGetMonth(this.at)) {
2507
+ this.ak._inner[a].disabled = true;
2156
2508
  }
2157
2509
  else {
2158
- this.ag._inner[g].disabled = false;
2510
+ this.ak._inner[a].disabled = false;
2159
2511
  }
2160
2512
  }
2161
2513
  else {
2162
- this.ag._inner[g].disabled = true;
2163
- }
2164
- if (this.ag._inner[g].disabled) {
2165
- h.setAttribute("data-disabled", "true");
2166
- }
2167
- }
2168
- for (let j = 0; j < this.ag.count; j++) {
2169
- if (this.ag._inner[j].disabled == false) {
2170
- f = j;
2171
- break;
2514
+ this.ak._inner[a].disabled = false;
2172
2515
  }
2173
2516
  }
2174
- if (c != null && this.ag._inner[d].disabled == false) {
2175
- this.k.d(c);
2176
- }
2177
- else if (b != null && this.ag._inner[e].disabled == false) {
2178
- this.k.d(b);
2517
+ else {
2518
+ this.ak._inner[a].disabled = true;
2179
2519
  }
2180
- else if (this.ag._inner[f].disabled == false) {
2181
- this.k.d(a._inner[f]);
2520
+ return this.ak._inner[a].disabled;
2521
+ }
2522
+ ab(a, b) {
2523
+ if (b < this.au.getFullYear() || b > this.at.getFullYear()) {
2524
+ this.al._inner[a].disabled = true;
2182
2525
  }
2183
2526
  else {
2184
- this.k.ag();
2527
+ this.al._inner[a].disabled = false;
2185
2528
  }
2529
+ return this.al._inner[a].disabled;
2186
2530
  }
2187
- c2(a) {
2188
- this.c1(a, this.an.getFullYear(), true);
2531
+ cc(a) {
2532
+ this.aq = dateAddMonths(this.aq, a);
2533
+ this.cg();
2189
2534
  }
2190
- c1(a, b, c = false) {
2191
- if (b < this.ar.getFullYear()) {
2192
- b = this.ar.getFullYear();
2193
- }
2194
- if (b > this.aq.getFullYear()) {
2195
- b = this.aq.getFullYear();
2196
- }
2197
- let d = b - 3;
2198
- let e = false;
2199
- for (let f = 0; f < 7; f++) {
2200
- let g = a._inner[f];
2201
- g.setAttribute("data-section", "years");
2202
- g.setAttribute("data-disabled", "false");
2203
- g.parent().parent().setAttribute("aria-selected", "false");
2204
- if (d < this.ar.getFullYear() || d > this.aq.getFullYear()) {
2205
- this.ai._inner[f].disabled = true;
2206
- g.setAttribute("data-disabled", "true");
2535
+ cd(a) {
2536
+ this.aq = dateFromValues(this.aq.getFullYear(), a, this.aq.getDate(), 0, 0, 0, 0);
2537
+ this.cg();
2538
+ }
2539
+ ce(a) {
2540
+ let b = dateGetMonth(this.aq);
2541
+ let c = this.aq.getDate();
2542
+ if (a == this.au.getFullYear() && a == this.at.getFullYear()) {
2543
+ if (b < dateGetMonth(this.au)) {
2544
+ b = dateGetMonth(this.au);
2545
+ if (c < this.au.getDate()) {
2546
+ c = this.au.getDate();
2547
+ }
2207
2548
  }
2208
- else {
2209
- this.ai._inner[f].disabled = false;
2210
- g.setAttribute("data-disabled", "false");
2549
+ else if (b > dateGetMonth(this.at)) {
2550
+ b = dateGetMonth(this.at);
2551
+ if (c > this.at.getDate()) {
2552
+ c = this.at.getDate();
2553
+ }
2211
2554
  }
2212
- let h = g.getChildAt(0);
2213
- h.setText(d.toString());
2214
- g.parent().parent().setAttribute("aria-label", d.toString());
2215
- if (d == b && c) {
2216
- if (this.ai._inner[f].disabled == false) {
2217
- g.parent().parent().setAttribute("aria-selected", "true");
2218
- e = true;
2219
- this.k.d(g);
2555
+ else if (b == dateGetMonth(this.au) && b == dateGetMonth(this.at)) {
2556
+ if (c < this.au.getDate()) {
2557
+ c = this.au.getDate();
2558
+ }
2559
+ else if (c > this.at.getDate()) {
2560
+ c = this.at.getDate();
2220
2561
  }
2221
2562
  }
2222
- d++;
2223
- }
2224
- if (e == false) {
2225
- if (this.ai._inner[3].disabled == false) {
2226
- let i = a._inner[3];
2227
- this.k.d(i);
2563
+ else if (b == dateGetMonth(this.au)) {
2564
+ if (c < this.au.getDate()) {
2565
+ c = this.au.getDate();
2566
+ }
2567
+ }
2568
+ else if (b == dateGetMonth(this.at)) {
2569
+ if (c > this.at.getDate()) {
2570
+ c = this.at.getDate();
2571
+ }
2228
2572
  }
2229
2573
  }
2230
- }
2231
- j(a, b, c) {
2232
- c.setAttribute("aria-hidden", "true");
2233
- let d = a.getSubRenderer(b);
2234
- let e = new Button();
2235
- e.provideContainer(d);
2236
- e.d = this.d;
2237
- e.h = this.f;
2238
- e.v = this.s;
2239
- e.eu = -1;
2240
- e.s = 1;
2241
- if (this.s != null) {
2242
- e.v = this.s;
2574
+ else if (a == this.au.getFullYear()) {
2575
+ if (b < dateGetMonth(this.au)) {
2576
+ b = dateGetMonth(this.au);
2577
+ if (c < this.au.getDate()) {
2578
+ c = this.au.getDate();
2579
+ }
2580
+ }
2581
+ else if (b == dateGetMonth(this.au)) {
2582
+ if (c < this.au.getDate()) {
2583
+ c = this.au.getDate();
2584
+ }
2585
+ }
2243
2586
  }
2244
- let f = a.createElement("span");
2245
- f.setAttribute("aria-hidden", "true");
2246
- let g = new CornerRadius(0, 2);
2247
- e.ke = g;
2248
- e.kv = g;
2249
- e.ec = 0;
2250
- c.append(f);
2251
- e.appendButtonContent(c);
2252
- c.parent().setAttribute("aria-hidden", "true");
2253
- c.parent().parent().setAttribute("tabindex", "-1");
2254
- c.parent().parent().setAttribute("aria-readonly", "true");
2255
- c.parent().parent().setAttribute("aria-selected", "false");
2256
- c.parent().parent().setAttribute("aria-disabled", "false");
2257
- c.parent().parent().setAttribute("data-is-focusable", "true");
2258
- e.s5 = this.ds;
2259
- e.s1 = this.dm;
2260
- e.sv = this.di;
2261
- e.s0 = this.dl;
2262
- e.s2 = this.dn;
2263
- return e;
2264
- }
2265
- i(a, b, c, d) {
2266
- c.setAttribute("aria-hidden", "true");
2267
- let e = a.getSubRenderer(b);
2268
- let f = new Button();
2269
- f.provideContainer(e);
2270
- f.d = this.d;
2271
- f.h = this.f;
2272
- f.v = this.s;
2273
- f.eu = -1;
2274
- f.s = 1;
2275
- let g = new CornerRadius(0, 2);
2276
- f.ke = g;
2277
- f.kv = g;
2278
- f.ec = 0;
2279
- let h = a.createElement("div");
2280
- h.setAttribute("aria-hidden", "true");
2281
- let i = a.getSubRenderer(h);
2282
- let j = new Icon();
2283
- j.provideContainer(i);
2284
- j.svgPath = d;
2285
- c.append(h);
2286
- f.appendButtonContent(c);
2287
- c.parent().setAttribute("aria-hidden", "true");
2288
- c.parent().parent().setAttribute("tabindex", "-1");
2289
- c.parent().parent().setAttribute("aria-readonly", "true");
2290
- c.parent().parent().setAttribute("aria-selected", "false");
2291
- c.parent().parent().setAttribute("aria-disabled", "false");
2292
- c.parent().parent().setAttribute("data-is-focusable", "true");
2293
- f.s5 = this.ds;
2294
- f.s1 = this.dm;
2295
- f.sv = this.di;
2296
- f.s0 = this.dl;
2297
- f.s2 = this.dn;
2298
- return f;
2299
- }
2300
- b7(a) {
2301
- this.an = dateAddMonths(this.an, a);
2302
- this.cc();
2303
- }
2304
- b9(a) {
2305
- this.an = dateFromValues(this.an.getFullYear(), a, this.an.getDate(), 0, 0, 0, 0);
2306
- this.cc();
2307
- }
2308
- ca(a) {
2309
- let b = dateGetMonth(this.an);
2310
- let c = this.an.getDate();
2311
- if (a == this.ar.getFullYear() && a == this.aq.getFullYear()) {
2312
- if (b < dateGetMonth(this.ar)) {
2313
- b = dateGetMonth(this.ar);
2314
- if (c < this.ar.getDate()) {
2315
- c = this.ar.getDate();
2316
- }
2317
- }
2318
- else if (b > dateGetMonth(this.aq)) {
2319
- b = dateGetMonth(this.aq);
2320
- if (c > this.aq.getDate()) {
2321
- c = this.aq.getDate();
2322
- }
2323
- }
2324
- else if (b == dateGetMonth(this.ar) && b == dateGetMonth(this.aq)) {
2325
- if (c < this.ar.getDate()) {
2326
- c = this.ar.getDate();
2327
- }
2328
- else if (c > this.aq.getDate()) {
2329
- c = this.aq.getDate();
2330
- }
2331
- }
2332
- else if (b == dateGetMonth(this.ar)) {
2333
- if (c < this.ar.getDate()) {
2334
- c = this.ar.getDate();
2335
- }
2336
- }
2337
- else if (b == dateGetMonth(this.aq)) {
2338
- if (c > this.aq.getDate()) {
2339
- c = this.aq.getDate();
2340
- }
2341
- }
2342
- }
2343
- else if (a == this.ar.getFullYear()) {
2344
- if (b < dateGetMonth(this.ar)) {
2345
- b = dateGetMonth(this.ar);
2346
- if (c < this.ar.getDate()) {
2347
- c = this.ar.getDate();
2348
- }
2349
- }
2350
- else if (b == dateGetMonth(this.ar)) {
2351
- if (c < this.ar.getDate()) {
2352
- c = this.ar.getDate();
2353
- }
2354
- }
2355
- }
2356
- else if (a == this.aq.getFullYear()) {
2357
- if (b > dateGetMonth(this.aq)) {
2358
- b = dateGetMonth(this.aq);
2359
- if (c > this.aq.getDate()) {
2360
- c = this.aq.getDate();
2361
- }
2362
- }
2363
- else if (b == dateGetMonth(this.aq)) {
2364
- if (c > this.aq.getDate()) {
2365
- c = this.aq.getDate();
2366
- }
2587
+ else if (a == this.at.getFullYear()) {
2588
+ if (b > dateGetMonth(this.at)) {
2589
+ b = dateGetMonth(this.at);
2590
+ if (c > this.at.getDate()) {
2591
+ c = this.at.getDate();
2592
+ }
2593
+ }
2594
+ else if (b == dateGetMonth(this.at)) {
2595
+ if (c > this.at.getDate()) {
2596
+ c = this.at.getDate();
2597
+ }
2367
2598
  }
2368
2599
  }
2369
- this.an = dateFromValues(a, b, c, 0, 0, 0, 0);
2370
- this.cc();
2600
+ this.aq = dateFromValues(a, b, c, 0, 0, 0, 0);
2601
+ this.cg();
2371
2602
  }
2372
- cs(a, b) {
2373
- let c = parseInt(a._inner[3].getChildAt(0).getText());
2603
+ cz(a, b) {
2374
2604
  if (b < 0) {
2375
- c--;
2605
+ a--;
2376
2606
  }
2377
2607
  else {
2378
- c++;
2608
+ a++;
2379
2609
  }
2380
- this.c1(a, c);
2610
+ this.l.a4(a);
2381
2611
  }
2382
- cr() {
2383
- this.k.ag();
2612
+ cy() {
2613
+ this.l.aq();
2384
2614
  }
2385
- bg() {
2386
- return this.g();
2615
+ bj() {
2616
+ return this.j();
2387
2617
  }
2388
- bp() {
2389
- let a = this.g();
2618
+ bs() {
2619
+ let a = this.j();
2390
2620
  return a.o();
2391
2621
  }
2392
- g() {
2622
+ j() {
2393
2623
  let a = new CalendarVisualModelExport();
2394
- a.i = this.f;
2395
- a.h = this.d;
2396
- a.e = AppearanceHelper.a(this.dp);
2397
- a.g = AppearanceHelper.a(this.dr);
2398
- a.c = AppearanceHelper.a(this.dl);
2399
- a.f = AppearanceHelper.a(this.dq);
2400
- a.d = AppearanceHelper.a(this.dm);
2401
- a.b = AppearanceHelper.a(this.dk);
2402
- a.a = AppearanceHelper.a(this.dj);
2624
+ a.i = this.i;
2625
+ a.h = this.g;
2626
+ a.e = AppearanceHelper.a(this.dl);
2627
+ a.g = AppearanceHelper.a(this.dn);
2628
+ a.c = AppearanceHelper.a(this.di);
2629
+ a.f = AppearanceHelper.a(this.dm);
2630
+ a.d = AppearanceHelper.a(this.dj);
2631
+ a.b = AppearanceHelper.a(this.dh);
2632
+ a.a = AppearanceHelper.a(this.dg);
2403
2633
  a.j = new List$1(ButtonVisualModelExport.$, 0);
2404
2634
  a.k = new List$1(TextElementsVisualModelExport.$, 0);
2405
2635
  a.l = new List$1(TextElementsVisualModelExport.$, 0);
2406
- let b = this.k.r();
2636
+ let b = this.l.w();
2407
2637
  a.n = b;
2408
- let c = this.k.a();
2638
+ let c = this.l.a();
2409
2639
  let d = c[0];
2410
2640
  let e = c[1];
2411
2641
  if (b == "day") {
2412
- for (let f = 0; f < this.af.count; f++) {
2413
- if (this.af._inner[f].ih == null) {
2414
- this.af._inner[f].ih = "header" + f.toString();
2642
+ for (let f = 0; f < this.aj.count; f++) {
2643
+ if (this.aj._inner[f].ih == null) {
2644
+ this.aj._inner[f].ih = "header" + f.toString();
2415
2645
  }
2416
- let g = this.af._inner[f].ey();
2646
+ let g = this.aj._inner[f].ey();
2417
2647
  g.s = g.s - d;
2418
2648
  g.q = g.q - e;
2419
2649
  a.j.add(g);
2420
2650
  }
2421
- for (let h = 0; h < this.ac.count; h++) {
2422
- if (this.ac._inner[h].ih == null) {
2423
- this.ac._inner[h].ih = "days" + h.toString();
2651
+ for (let h = 0; h < this.ah.count; h++) {
2652
+ if (this.ah._inner[h].ih == null) {
2653
+ this.ah._inner[h].ih = "days" + h.toString();
2424
2654
  }
2425
- let i = this.ac._inner[h].ey();
2655
+ let i = this.ah._inner[h].ey();
2426
2656
  i.s = i.s - d;
2427
2657
  i.q = i.q - e;
2428
2658
  a.j.add(i);
2429
2659
  }
2430
- if (this.z == true) {
2431
- this.h.ih = "todayButton";
2432
- let j = this.h.ey();
2660
+ if (this.ae == true) {
2661
+ this.k.ih = "todayButton";
2662
+ let j = this.k.ey();
2433
2663
  j.s = j.s - d;
2434
2664
  j.q = j.q - e;
2435
2665
  a.j.add(j);
2436
2666
  }
2437
- for (let k = 0; k < this.ad.count; k++) {
2438
- let l = new TextElementsVisualModelExport();
2439
- let m = this.k.b(this.ad._inner[k]);
2440
- l.e = m[0] - d;
2441
- l.d = m[1] - e;
2442
- l.c = NativeUI.c(this.ad._inner[k].parent());
2443
- l.f = NativeUI.h(this.ad._inner[k].parent());
2444
- l.b = AppearanceHelper.a(NativeUI.af(this.ad._inner[k]));
2445
- l.g = this.ad._inner[k].getText();
2446
- a.k.add(l);
2447
- }
2448
- if (this.aa == true) {
2449
- for (let n = 0; n < this.ah.count; n++) {
2450
- let o = new TextElementsVisualModelExport();
2451
- let p = this.k.b(this.ah._inner[n]);
2452
- o.e = p[0] - d;
2453
- o.d = p[1] - e;
2454
- o.c = NativeUI.c(this.ah._inner[n].parent());
2455
- o.f = NativeUI.h(this.ah._inner[n].parent());
2456
- o.b = AppearanceHelper.a(NativeUI.af(this.ah._inner[n]));
2457
- o.a = AppearanceHelper.a(NativeUI.ae(this.ah._inner[n]));
2458
- o.g = this.ah._inner[n].getText();
2459
- a.l.add(o);
2667
+ let k = this.l.k();
2668
+ for (let l = 0; l < k.count; l++) {
2669
+ let m = new TextElementsVisualModelExport();
2670
+ let n = this.l.b(k._inner[l]);
2671
+ m.e = n[0] - d;
2672
+ m.d = n[1] - e;
2673
+ m.c = NativeUI.c(k._inner[l].parent());
2674
+ m.f = NativeUI.i(k._inner[l].parent());
2675
+ m.b = AppearanceHelper.a(NativeUI.ah(k._inner[l]));
2676
+ m.g = k._inner[l].getText();
2677
+ a.k.add(m);
2678
+ }
2679
+ if (this.af == true) {
2680
+ let o = this.l.l();
2681
+ for (let p = 0; p < o.count; p++) {
2682
+ let q = new TextElementsVisualModelExport();
2683
+ let r = this.l.b(o._inner[p]);
2684
+ q.e = r[0] - d;
2685
+ q.d = r[1] - e;
2686
+ q.c = NativeUI.c(o._inner[p].parent());
2687
+ q.f = NativeUI.i(o._inner[p].parent());
2688
+ q.b = AppearanceHelper.a(NativeUI.ah(o._inner[p]));
2689
+ q.a = AppearanceHelper.a(NativeUI.ag(o._inner[p]));
2690
+ q.g = o._inner[p].getText();
2691
+ a.l.add(q);
2460
2692
  }
2461
2693
  }
2462
2694
  }
2463
2695
  else if (b == "month") {
2464
- for (let q = 0; q < this.ag.count; q++) {
2465
- if (this.ag._inner[q].ih == null) {
2466
- this.ag._inner[q].ih = "months" + q.toString();
2696
+ for (let s = 0; s < this.ak.count; s++) {
2697
+ if (this.ak._inner[s].ih == null) {
2698
+ this.ak._inner[s].ih = "months" + s.toString();
2467
2699
  }
2468
- let r = this.ag._inner[q].ey();
2469
- r.s = r.s - d;
2470
- r.q = r.q - e;
2471
- a.j.add(r);
2700
+ let t = this.ak._inner[s].ey();
2701
+ t.s = t.s - d;
2702
+ t.q = t.q - e;
2703
+ a.j.add(t);
2472
2704
  }
2473
2705
  }
2474
2706
  else if (b == "year") {
2475
- for (let s = 0; s < this.ai.count; s++) {
2476
- if (this.ai._inner[s].ih == null) {
2477
- this.ai._inner[s].ih = "years" + s.toString();
2707
+ for (let u = 0; u < this.al.count; u++) {
2708
+ if (this.al._inner[u].ih == null) {
2709
+ this.al._inner[u].ih = "years" + u.toString();
2478
2710
  }
2479
- let t = this.ai._inner[s].ey();
2480
- t.s = t.s - d;
2481
- t.q = t.q - e;
2482
- a.j.add(t);
2711
+ let v = this.al._inner[u].ey();
2712
+ v.s = v.s - d;
2713
+ v.q = v.q - e;
2714
+ a.j.add(v);
2483
2715
  }
2484
2716
  }
2485
- if (this.t != null) {
2486
- let u = this.t;
2487
- if (this.k != null && u.n == null) {
2488
- let v = this.k.i;
2489
- let w = FontUtil.getFontInfoFromString(v, u.fontString);
2490
- u.n = w.n;
2491
- u.d = w.d;
2492
- u.o = w.o;
2493
- u.q = w.q;
2494
- u.r = w.r;
2495
- u.s = w.s;
2717
+ if (this.v != null) {
2718
+ let w = this.v;
2719
+ if (this.l != null && w.n == null) {
2720
+ let x = this.l.m;
2721
+ let y = FontUtil.getFontInfoFromString(x, w.fontString);
2722
+ w.n = y.n;
2723
+ w.d = y.d;
2724
+ w.o = y.o;
2725
+ w.q = y.q;
2726
+ w.r = y.r;
2727
+ w.s = y.s;
2496
2728
  }
2497
- if (u.n != null) {
2498
- a.p = u.n;
2729
+ if (w.n != null) {
2730
+ a.p = w.n;
2499
2731
  }
2500
- if (!isNaN_(u.d)) {
2501
- a.m = u.d;
2732
+ if (!isNaN_(w.d)) {
2733
+ a.m = w.d;
2502
2734
  }
2503
- if (u.s != null) {
2504
- a.t = u.s;
2735
+ if (w.s != null) {
2736
+ a.t = w.s;
2505
2737
  }
2506
- if (u.q != null) {
2507
- a.r = u.q;
2738
+ if (w.q != null) {
2739
+ a.r = w.q;
2508
2740
  }
2509
- if (u.o != null) {
2510
- a.q = u.q;
2741
+ if (w.o != null) {
2742
+ a.q = w.q;
2511
2743
  }
2512
2744
  }
2513
2745
  return a;
2514
2746
  }
2515
2747
  }
2516
- Calendar.$t = /*@__PURE__*/ markType(Calendar, 'Calendar', Base.$, [INotifyPropertyChanged_$type]);
2517
- Calendar.bh = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z";
2518
- Calendar.bi = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z";
2519
- Calendar.a = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
2520
- Calendar.b = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366];
2521
- return Calendar;
2748
+ XCalendar.$t = /*@__PURE__*/ markType(XCalendar, 'XCalendar', Base.$, [INotifyPropertyChanged_$type]);
2749
+ XCalendar.bk = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z";
2750
+ XCalendar.bl = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z";
2751
+ XCalendar.b = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
2752
+ XCalendar.c = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366];
2753
+ return XCalendar;
2522
2754
  })();
2523
2755
  //# sourceMappingURL=CalendarView_combined.js.map