igniteui-webcomponents-inputs 1.3.3

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 (571) hide show
  1. package/License +27 -0
  2. package/README.md +18 -0
  3. package/bundles/igniteui-webcomponents-inputs.umd.js +32535 -0
  4. package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -0
  5. package/bundles/igniteui-webcomponents-inputs.umd.min.js +2 -0
  6. package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -0
  7. package/esm2015/igniteui-webcomponents-inputs.js +2 -0
  8. package/esm2015/igniteui-webcomponents-inputs.js.map +1 -0
  9. package/esm2015/lib/Button.js +8 -0
  10. package/esm2015/lib/Button.js.map +1 -0
  11. package/esm2015/lib/ButtonClickEventArgs.js +17 -0
  12. package/esm2015/lib/ButtonClickEventArgs.js.map +1 -0
  13. package/esm2015/lib/ButtonDisplayStyle.js +12 -0
  14. package/esm2015/lib/ButtonDisplayStyle.js.map +1 -0
  15. package/esm2015/lib/ButtonGroup.js +8 -0
  16. package/esm2015/lib/ButtonGroup.js.map +1 -0
  17. package/esm2015/lib/ButtonGroupButtonCollection.js +29 -0
  18. package/esm2015/lib/ButtonGroupButtonCollection.js.map +1 -0
  19. package/esm2015/lib/ButtonGroupDisplayStyle.js +12 -0
  20. package/esm2015/lib/ButtonGroupDisplayStyle.js.map +1 -0
  21. package/esm2015/lib/ButtonGroupOrientation.js +17 -0
  22. package/esm2015/lib/ButtonGroupOrientation.js.map +1 -0
  23. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +17 -0
  24. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
  25. package/esm2015/lib/ButtonGroupView.js +8 -0
  26. package/esm2015/lib/ButtonGroupView.js.map +1 -0
  27. package/esm2015/lib/ButtonGroupView_combined.js +1334 -0
  28. package/esm2015/lib/ButtonGroupView_combined.js.map +1 -0
  29. package/esm2015/lib/ButtonGroupVisualModelExport.js +57 -0
  30. package/esm2015/lib/ButtonGroupVisualModelExport.js.map +1 -0
  31. package/esm2015/lib/ButtonView.js +8 -0
  32. package/esm2015/lib/ButtonView.js.map +1 -0
  33. package/esm2015/lib/ButtonView_combined.js +2879 -0
  34. package/esm2015/lib/ButtonView_combined.js.map +1 -0
  35. package/esm2015/lib/ButtonVisualModelExport.js +110 -0
  36. package/esm2015/lib/ButtonVisualModelExport.js.map +1 -0
  37. package/esm2015/lib/Calendar.js +8 -0
  38. package/esm2015/lib/Calendar.js.map +1 -0
  39. package/esm2015/lib/CalendarLocaleEn.js +57 -0
  40. package/esm2015/lib/CalendarLocaleEn.js.map +1 -0
  41. package/esm2015/lib/CalendarView.js +8 -0
  42. package/esm2015/lib/CalendarView.js.map +1 -0
  43. package/esm2015/lib/CalendarView_combined.js +2753 -0
  44. package/esm2015/lib/CalendarView_combined.js.map +1 -0
  45. package/esm2015/lib/CalendarVisualModelExport.js +101 -0
  46. package/esm2015/lib/CalendarVisualModelExport.js.map +1 -0
  47. package/esm2015/lib/Checkbox.js +8 -0
  48. package/esm2015/lib/Checkbox.js.map +1 -0
  49. package/esm2015/lib/CheckboxChangeEventArgs.js +34 -0
  50. package/esm2015/lib/CheckboxChangeEventArgs.js.map +1 -0
  51. package/esm2015/lib/CheckboxLabelPosition.js +12 -0
  52. package/esm2015/lib/CheckboxLabelPosition.js.map +1 -0
  53. package/esm2015/lib/CheckboxView.js +8 -0
  54. package/esm2015/lib/CheckboxView.js.map +1 -0
  55. package/esm2015/lib/CheckboxView_combined.js +1026 -0
  56. package/esm2015/lib/CheckboxView_combined.js.map +1 -0
  57. package/esm2015/lib/CheckboxVisualModelExport.js +63 -0
  58. package/esm2015/lib/CheckboxVisualModelExport.js.map +1 -0
  59. package/esm2015/lib/DateFormats.js +26 -0
  60. package/esm2015/lib/DateFormats.js.map +1 -0
  61. package/esm2015/lib/DatePicker.js +8 -0
  62. package/esm2015/lib/DatePicker.js.map +1 -0
  63. package/esm2015/lib/DatePickerView.js +8 -0
  64. package/esm2015/lib/DatePickerView.js.map +1 -0
  65. package/esm2015/lib/DatePickerView_combined.js +1439 -0
  66. package/esm2015/lib/DatePickerView_combined.js.map +1 -0
  67. package/esm2015/lib/DatePickerVisualModelExport.js +71 -0
  68. package/esm2015/lib/DatePickerVisualModelExport.js.map +1 -0
  69. package/esm2015/lib/DateTimeValueFormatter.js +109 -0
  70. package/esm2015/lib/DateTimeValueFormatter.js.map +1 -0
  71. package/esm2015/lib/DayInfo.js +24 -0
  72. package/esm2015/lib/DayInfo.js.map +1 -0
  73. package/esm2015/lib/DayOfWeek.js +46 -0
  74. package/esm2015/lib/DayOfWeek.js.map +1 -0
  75. package/esm2015/lib/ElevationHelper.js +68 -0
  76. package/esm2015/lib/ElevationHelper.js.map +1 -0
  77. package/esm2015/lib/FirstWeek.js +30 -0
  78. package/esm2015/lib/FirstWeek.js.map +1 -0
  79. package/esm2015/lib/GotFocusEventArgs.js +17 -0
  80. package/esm2015/lib/GotFocusEventArgs.js.map +1 -0
  81. package/esm2015/lib/Icon.js +8 -0
  82. package/esm2015/lib/Icon.js.map +1 -0
  83. package/esm2015/lib/IconView.js +8 -0
  84. package/esm2015/lib/IconView.js.map +1 -0
  85. package/esm2015/lib/IconView_combined.js +557 -0
  86. package/esm2015/lib/IconView_combined.js.map +1 -0
  87. package/esm2015/lib/IconVisualModelExport.js +68 -0
  88. package/esm2015/lib/IconVisualModelExport.js.map +1 -0
  89. package/esm2015/lib/Input.js +8 -0
  90. package/esm2015/lib/Input.js.map +1 -0
  91. package/esm2015/lib/InputChangeEventArgs.js +34 -0
  92. package/esm2015/lib/InputChangeEventArgs.js.map +1 -0
  93. package/esm2015/lib/InputGroup.js +8 -0
  94. package/esm2015/lib/InputGroup.js.map +1 -0
  95. package/esm2015/lib/InputGroupDisplayType.js +19 -0
  96. package/esm2015/lib/InputGroupDisplayType.js.map +1 -0
  97. package/esm2015/lib/InputGroupInputCollection.js +8 -0
  98. package/esm2015/lib/InputGroupInputCollection.js.map +1 -0
  99. package/esm2015/lib/InputGroupItem.js +8 -0
  100. package/esm2015/lib/InputGroupItem.js.map +1 -0
  101. package/esm2015/lib/InputGroupView.js +8 -0
  102. package/esm2015/lib/InputGroupView.js.map +1 -0
  103. package/esm2015/lib/InputGroupView_combined.js +5152 -0
  104. package/esm2015/lib/InputGroupView_combined.js.map +1 -0
  105. package/esm2015/lib/InputGroupVisualModelExport.js +110 -0
  106. package/esm2015/lib/InputGroupVisualModelExport.js.map +1 -0
  107. package/esm2015/lib/InputShiftType.js +18 -0
  108. package/esm2015/lib/InputShiftType.js.map +1 -0
  109. package/esm2015/lib/InputView.js +8 -0
  110. package/esm2015/lib/InputView.js.map +1 -0
  111. package/esm2015/lib/InputVisualModelExport.js +79 -0
  112. package/esm2015/lib/InputVisualModelExport.js.map +1 -0
  113. package/esm2015/lib/KEYCODES.js +12 -0
  114. package/esm2015/lib/KEYCODES.js.map +1 -0
  115. package/esm2015/lib/Label.js +8 -0
  116. package/esm2015/lib/Label.js.map +1 -0
  117. package/esm2015/lib/LabelShiftType.js +18 -0
  118. package/esm2015/lib/LabelShiftType.js.map +1 -0
  119. package/esm2015/lib/LabelView.js +8 -0
  120. package/esm2015/lib/LabelView.js.map +1 -0
  121. package/esm2015/lib/LabelVisualModelExport.js +85 -0
  122. package/esm2015/lib/LabelVisualModelExport.js.map +1 -0
  123. package/esm2015/lib/LostFocusEventArgs.js +17 -0
  124. package/esm2015/lib/LostFocusEventArgs.js.map +1 -0
  125. package/esm2015/lib/MaskOptions.js +22 -0
  126. package/esm2015/lib/MaskOptions.js.map +1 -0
  127. package/esm2015/lib/MaskParsingService.js +214 -0
  128. package/esm2015/lib/MaskParsingService.js.map +1 -0
  129. package/esm2015/lib/Prefix.js +8 -0
  130. package/esm2015/lib/Prefix.js.map +1 -0
  131. package/esm2015/lib/PrefixShiftType.js +18 -0
  132. package/esm2015/lib/PrefixShiftType.js.map +1 -0
  133. package/esm2015/lib/PrefixView.js +8 -0
  134. package/esm2015/lib/PrefixView.js.map +1 -0
  135. package/esm2015/lib/PrefixVisualModelExport.js +36 -0
  136. package/esm2015/lib/PrefixVisualModelExport.js.map +1 -0
  137. package/esm2015/lib/Replaced.js +22 -0
  138. package/esm2015/lib/Replaced.js.map +1 -0
  139. package/esm2015/lib/Ripple.js +8 -0
  140. package/esm2015/lib/Ripple.js.map +1 -0
  141. package/esm2015/lib/RippleView.js +8 -0
  142. package/esm2015/lib/RippleView.js.map +1 -0
  143. package/esm2015/lib/RippleView_combined.js +397 -0
  144. package/esm2015/lib/RippleView_combined.js.map +1 -0
  145. package/esm2015/lib/RippleVisualModelExport.js +39 -0
  146. package/esm2015/lib/RippleVisualModelExport.js.map +1 -0
  147. package/esm2015/lib/Suffix.js +8 -0
  148. package/esm2015/lib/Suffix.js.map +1 -0
  149. package/esm2015/lib/SuffixShiftType.js +18 -0
  150. package/esm2015/lib/SuffixShiftType.js.map +1 -0
  151. package/esm2015/lib/SuffixView.js +8 -0
  152. package/esm2015/lib/SuffixView.js.map +1 -0
  153. package/esm2015/lib/SuffixVisualModelExport.js +35 -0
  154. package/esm2015/lib/SuffixVisualModelExport.js.map +1 -0
  155. package/esm2015/lib/TextElementsVisualModelExport.js +45 -0
  156. package/esm2015/lib/TextElementsVisualModelExport.js.map +1 -0
  157. package/esm2015/lib/ThemeResolver.js +53 -0
  158. package/esm2015/lib/ThemeResolver.js.map +1 -0
  159. package/esm2015/lib/ValueChangedEventArgs.js +34 -0
  160. package/esm2015/lib/ValueChangedEventArgs.js.map +1 -0
  161. package/esm2015/lib/igc-button-click-event-args.js +25 -0
  162. package/esm2015/lib/igc-button-click-event-args.js.map +1 -0
  163. package/esm2015/lib/igc-button-component.js +2010 -0
  164. package/esm2015/lib/igc-button-component.js.map +1 -0
  165. package/esm2015/lib/igc-button-group-button-collection.js +49 -0
  166. package/esm2015/lib/igc-button-group-button-collection.js.map +1 -0
  167. package/esm2015/lib/igc-button-group-component.js +1017 -0
  168. package/esm2015/lib/igc-button-group-component.js.map +1 -0
  169. package/esm2015/lib/igc-button-group-module.js +22 -0
  170. package/esm2015/lib/igc-button-group-module.js.map +1 -0
  171. package/esm2015/lib/igc-button-group-selection-changed-event-args.js +25 -0
  172. package/esm2015/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
  173. package/esm2015/lib/igc-button-module.js +22 -0
  174. package/esm2015/lib/igc-button-module.js.map +1 -0
  175. package/esm2015/lib/igc-calendar-component.js +484 -0
  176. package/esm2015/lib/igc-calendar-component.js.map +1 -0
  177. package/esm2015/lib/igc-calendar-locale-en-module.js +14 -0
  178. package/esm2015/lib/igc-calendar-locale-en-module.js.map +1 -0
  179. package/esm2015/lib/igc-calendar-module.js +22 -0
  180. package/esm2015/lib/igc-calendar-module.js.map +1 -0
  181. package/esm2015/lib/igc-checkbox-change-event-args.js +38 -0
  182. package/esm2015/lib/igc-checkbox-change-event-args.js.map +1 -0
  183. package/esm2015/lib/igc-checkbox-component.js +620 -0
  184. package/esm2015/lib/igc-checkbox-component.js.map +1 -0
  185. package/esm2015/lib/igc-checkbox-module.js +22 -0
  186. package/esm2015/lib/igc-checkbox-module.js.map +1 -0
  187. package/esm2015/lib/igc-date-picker-component.js +604 -0
  188. package/esm2015/lib/igc-date-picker-component.js.map +1 -0
  189. package/esm2015/lib/igc-date-picker-module.js +26 -0
  190. package/esm2015/lib/igc-date-picker-module.js.map +1 -0
  191. package/esm2015/lib/igc-got-focus-event-args.js +25 -0
  192. package/esm2015/lib/igc-got-focus-event-args.js.map +1 -0
  193. package/esm2015/lib/igc-icon-component.js +490 -0
  194. package/esm2015/lib/igc-icon-component.js.map +1 -0
  195. package/esm2015/lib/igc-icon-module.js +20 -0
  196. package/esm2015/lib/igc-icon-module.js.map +1 -0
  197. package/esm2015/lib/igc-input-change-event-args.js +38 -0
  198. package/esm2015/lib/igc-input-change-event-args.js.map +1 -0
  199. package/esm2015/lib/igc-input-component.js +540 -0
  200. package/esm2015/lib/igc-input-component.js.map +1 -0
  201. package/esm2015/lib/igc-input-group-component.js +1966 -0
  202. package/esm2015/lib/igc-input-group-component.js.map +1 -0
  203. package/esm2015/lib/igc-input-group-input-collection.js +49 -0
  204. package/esm2015/lib/igc-input-group-input-collection.js.map +1 -0
  205. package/esm2015/lib/igc-input-group-item-component.js +176 -0
  206. package/esm2015/lib/igc-input-group-item-component.js.map +1 -0
  207. package/esm2015/lib/igc-input-group-module.js +24 -0
  208. package/esm2015/lib/igc-input-group-module.js.map +1 -0
  209. package/esm2015/lib/igc-input-module.js +20 -0
  210. package/esm2015/lib/igc-input-module.js.map +1 -0
  211. package/esm2015/lib/igc-label-component.js +400 -0
  212. package/esm2015/lib/igc-label-component.js.map +1 -0
  213. package/esm2015/lib/igc-label-module.js +20 -0
  214. package/esm2015/lib/igc-label-module.js.map +1 -0
  215. package/esm2015/lib/igc-lost-focus-event-args.js +25 -0
  216. package/esm2015/lib/igc-lost-focus-event-args.js.map +1 -0
  217. package/esm2015/lib/igc-prefix-component.js +186 -0
  218. package/esm2015/lib/igc-prefix-component.js.map +1 -0
  219. package/esm2015/lib/igc-prefix-module.js +20 -0
  220. package/esm2015/lib/igc-prefix-module.js.map +1 -0
  221. package/esm2015/lib/igc-ripple-component.js +380 -0
  222. package/esm2015/lib/igc-ripple-component.js.map +1 -0
  223. package/esm2015/lib/igc-ripple-module.js +18 -0
  224. package/esm2015/lib/igc-ripple-module.js.map +1 -0
  225. package/esm2015/lib/igc-suffix-component.js +186 -0
  226. package/esm2015/lib/igc-suffix-component.js.map +1 -0
  227. package/esm2015/lib/igc-value-changed-event-args.js +37 -0
  228. package/esm2015/lib/igc-value-changed-event-args.js.map +1 -0
  229. package/esm2015/public_api.js +103 -0
  230. package/esm2015/public_api.js.map +1 -0
  231. package/esm5/igniteui-webcomponents-inputs.js +2 -0
  232. package/esm5/igniteui-webcomponents-inputs.js.map +1 -0
  233. package/esm5/lib/Button.js +8 -0
  234. package/esm5/lib/Button.js.map +1 -0
  235. package/esm5/lib/ButtonClickEventArgs.js +21 -0
  236. package/esm5/lib/ButtonClickEventArgs.js.map +1 -0
  237. package/esm5/lib/ButtonDisplayStyle.js +12 -0
  238. package/esm5/lib/ButtonDisplayStyle.js.map +1 -0
  239. package/esm5/lib/ButtonGroup.js +8 -0
  240. package/esm5/lib/ButtonGroup.js.map +1 -0
  241. package/esm5/lib/ButtonGroupButtonCollection.js +31 -0
  242. package/esm5/lib/ButtonGroupButtonCollection.js.map +1 -0
  243. package/esm5/lib/ButtonGroupDisplayStyle.js +12 -0
  244. package/esm5/lib/ButtonGroupDisplayStyle.js.map +1 -0
  245. package/esm5/lib/ButtonGroupOrientation.js +17 -0
  246. package/esm5/lib/ButtonGroupOrientation.js.map +1 -0
  247. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +21 -0
  248. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
  249. package/esm5/lib/ButtonGroupView.js +8 -0
  250. package/esm5/lib/ButtonGroupView.js.map +1 -0
  251. package/esm5/lib/ButtonGroupView_combined.js +1702 -0
  252. package/esm5/lib/ButtonGroupView_combined.js.map +1 -0
  253. package/esm5/lib/ButtonGroupVisualModelExport.js +59 -0
  254. package/esm5/lib/ButtonGroupVisualModelExport.js.map +1 -0
  255. package/esm5/lib/ButtonView.js +8 -0
  256. package/esm5/lib/ButtonView.js.map +1 -0
  257. package/esm5/lib/ButtonView_combined.js +3529 -0
  258. package/esm5/lib/ButtonView_combined.js.map +1 -0
  259. package/esm5/lib/ButtonVisualModelExport.js +112 -0
  260. package/esm5/lib/ButtonVisualModelExport.js.map +1 -0
  261. package/esm5/lib/Calendar.js +8 -0
  262. package/esm5/lib/Calendar.js.map +1 -0
  263. package/esm5/lib/CalendarLocaleEn.js +59 -0
  264. package/esm5/lib/CalendarLocaleEn.js.map +1 -0
  265. package/esm5/lib/CalendarView.js +8 -0
  266. package/esm5/lib/CalendarView.js.map +1 -0
  267. package/esm5/lib/CalendarView_combined.js +2877 -0
  268. package/esm5/lib/CalendarView_combined.js.map +1 -0
  269. package/esm5/lib/CalendarVisualModelExport.js +103 -0
  270. package/esm5/lib/CalendarVisualModelExport.js.map +1 -0
  271. package/esm5/lib/Checkbox.js +8 -0
  272. package/esm5/lib/Checkbox.js.map +1 -0
  273. package/esm5/lib/CheckboxChangeEventArgs.js +44 -0
  274. package/esm5/lib/CheckboxChangeEventArgs.js.map +1 -0
  275. package/esm5/lib/CheckboxLabelPosition.js +12 -0
  276. package/esm5/lib/CheckboxLabelPosition.js.map +1 -0
  277. package/esm5/lib/CheckboxView.js +8 -0
  278. package/esm5/lib/CheckboxView.js.map +1 -0
  279. package/esm5/lib/CheckboxView_combined.js +1220 -0
  280. package/esm5/lib/CheckboxView_combined.js.map +1 -0
  281. package/esm5/lib/CheckboxVisualModelExport.js +65 -0
  282. package/esm5/lib/CheckboxVisualModelExport.js.map +1 -0
  283. package/esm5/lib/DateFormats.js +26 -0
  284. package/esm5/lib/DateFormats.js.map +1 -0
  285. package/esm5/lib/DatePicker.js +8 -0
  286. package/esm5/lib/DatePicker.js.map +1 -0
  287. package/esm5/lib/DatePickerView.js +8 -0
  288. package/esm5/lib/DatePickerView.js.map +1 -0
  289. package/esm5/lib/DatePickerView_combined.js +1539 -0
  290. package/esm5/lib/DatePickerView_combined.js.map +1 -0
  291. package/esm5/lib/DatePickerVisualModelExport.js +73 -0
  292. package/esm5/lib/DatePickerVisualModelExport.js.map +1 -0
  293. package/esm5/lib/DateTimeValueFormatter.js +111 -0
  294. package/esm5/lib/DateTimeValueFormatter.js.map +1 -0
  295. package/esm5/lib/DayInfo.js +26 -0
  296. package/esm5/lib/DayInfo.js.map +1 -0
  297. package/esm5/lib/DayOfWeek.js +46 -0
  298. package/esm5/lib/DayOfWeek.js.map +1 -0
  299. package/esm5/lib/ElevationHelper.js +72 -0
  300. package/esm5/lib/ElevationHelper.js.map +1 -0
  301. package/esm5/lib/FirstWeek.js +30 -0
  302. package/esm5/lib/FirstWeek.js.map +1 -0
  303. package/esm5/lib/GotFocusEventArgs.js +21 -0
  304. package/esm5/lib/GotFocusEventArgs.js.map +1 -0
  305. package/esm5/lib/Icon.js +8 -0
  306. package/esm5/lib/Icon.js.map +1 -0
  307. package/esm5/lib/IconView.js +8 -0
  308. package/esm5/lib/IconView.js.map +1 -0
  309. package/esm5/lib/IconView_combined.js +706 -0
  310. package/esm5/lib/IconView_combined.js.map +1 -0
  311. package/esm5/lib/IconVisualModelExport.js +74 -0
  312. package/esm5/lib/IconVisualModelExport.js.map +1 -0
  313. package/esm5/lib/Input.js +8 -0
  314. package/esm5/lib/Input.js.map +1 -0
  315. package/esm5/lib/InputChangeEventArgs.js +44 -0
  316. package/esm5/lib/InputChangeEventArgs.js.map +1 -0
  317. package/esm5/lib/InputGroup.js +8 -0
  318. package/esm5/lib/InputGroup.js.map +1 -0
  319. package/esm5/lib/InputGroupDisplayType.js +19 -0
  320. package/esm5/lib/InputGroupDisplayType.js.map +1 -0
  321. package/esm5/lib/InputGroupInputCollection.js +8 -0
  322. package/esm5/lib/InputGroupInputCollection.js.map +1 -0
  323. package/esm5/lib/InputGroupItem.js +8 -0
  324. package/esm5/lib/InputGroupItem.js.map +1 -0
  325. package/esm5/lib/InputGroupView.js +8 -0
  326. package/esm5/lib/InputGroupView.js.map +1 -0
  327. package/esm5/lib/InputGroupView_combined.js +6273 -0
  328. package/esm5/lib/InputGroupView_combined.js.map +1 -0
  329. package/esm5/lib/InputGroupVisualModelExport.js +112 -0
  330. package/esm5/lib/InputGroupVisualModelExport.js.map +1 -0
  331. package/esm5/lib/InputShiftType.js +18 -0
  332. package/esm5/lib/InputShiftType.js.map +1 -0
  333. package/esm5/lib/InputView.js +8 -0
  334. package/esm5/lib/InputView.js.map +1 -0
  335. package/esm5/lib/InputVisualModelExport.js +81 -0
  336. package/esm5/lib/InputVisualModelExport.js.map +1 -0
  337. package/esm5/lib/KEYCODES.js +12 -0
  338. package/esm5/lib/KEYCODES.js.map +1 -0
  339. package/esm5/lib/Label.js +8 -0
  340. package/esm5/lib/Label.js.map +1 -0
  341. package/esm5/lib/LabelShiftType.js +18 -0
  342. package/esm5/lib/LabelShiftType.js.map +1 -0
  343. package/esm5/lib/LabelView.js +8 -0
  344. package/esm5/lib/LabelView.js.map +1 -0
  345. package/esm5/lib/LabelVisualModelExport.js +87 -0
  346. package/esm5/lib/LabelVisualModelExport.js.map +1 -0
  347. package/esm5/lib/LostFocusEventArgs.js +21 -0
  348. package/esm5/lib/LostFocusEventArgs.js.map +1 -0
  349. package/esm5/lib/MaskOptions.js +24 -0
  350. package/esm5/lib/MaskOptions.js.map +1 -0
  351. package/esm5/lib/MaskParsingService.js +268 -0
  352. package/esm5/lib/MaskParsingService.js.map +1 -0
  353. package/esm5/lib/Prefix.js +8 -0
  354. package/esm5/lib/Prefix.js.map +1 -0
  355. package/esm5/lib/PrefixShiftType.js +18 -0
  356. package/esm5/lib/PrefixShiftType.js.map +1 -0
  357. package/esm5/lib/PrefixView.js +8 -0
  358. package/esm5/lib/PrefixView.js.map +1 -0
  359. package/esm5/lib/PrefixVisualModelExport.js +38 -0
  360. package/esm5/lib/PrefixVisualModelExport.js.map +1 -0
  361. package/esm5/lib/Replaced.js +24 -0
  362. package/esm5/lib/Replaced.js.map +1 -0
  363. package/esm5/lib/Ripple.js +8 -0
  364. package/esm5/lib/Ripple.js.map +1 -0
  365. package/esm5/lib/RippleView.js +8 -0
  366. package/esm5/lib/RippleView.js.map +1 -0
  367. package/esm5/lib/RippleView_combined.js +492 -0
  368. package/esm5/lib/RippleView_combined.js.map +1 -0
  369. package/esm5/lib/RippleVisualModelExport.js +41 -0
  370. package/esm5/lib/RippleVisualModelExport.js.map +1 -0
  371. package/esm5/lib/Suffix.js +8 -0
  372. package/esm5/lib/Suffix.js.map +1 -0
  373. package/esm5/lib/SuffixShiftType.js +18 -0
  374. package/esm5/lib/SuffixShiftType.js.map +1 -0
  375. package/esm5/lib/SuffixView.js +8 -0
  376. package/esm5/lib/SuffixView.js.map +1 -0
  377. package/esm5/lib/SuffixVisualModelExport.js +37 -0
  378. package/esm5/lib/SuffixVisualModelExport.js.map +1 -0
  379. package/esm5/lib/TextElementsVisualModelExport.js +47 -0
  380. package/esm5/lib/TextElementsVisualModelExport.js.map +1 -0
  381. package/esm5/lib/ThemeResolver.js +57 -0
  382. package/esm5/lib/ThemeResolver.js.map +1 -0
  383. package/esm5/lib/ValueChangedEventArgs.js +44 -0
  384. package/esm5/lib/ValueChangedEventArgs.js.map +1 -0
  385. package/esm5/lib/igc-button-click-event-args.js +31 -0
  386. package/esm5/lib/igc-button-click-event-args.js.map +1 -0
  387. package/esm5/lib/igc-button-component.js +2722 -0
  388. package/esm5/lib/igc-button-component.js.map +1 -0
  389. package/esm5/lib/igc-button-group-button-collection.js +54 -0
  390. package/esm5/lib/igc-button-group-button-collection.js.map +1 -0
  391. package/esm5/lib/igc-button-group-component.js +1318 -0
  392. package/esm5/lib/igc-button-group-component.js.map +1 -0
  393. package/esm5/lib/igc-button-group-module.js +26 -0
  394. package/esm5/lib/igc-button-group-module.js.map +1 -0
  395. package/esm5/lib/igc-button-group-selection-changed-event-args.js +31 -0
  396. package/esm5/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
  397. package/esm5/lib/igc-button-module.js +26 -0
  398. package/esm5/lib/igc-button-module.js.map +1 -0
  399. package/esm5/lib/igc-calendar-component.js +595 -0
  400. package/esm5/lib/igc-calendar-component.js.map +1 -0
  401. package/esm5/lib/igc-calendar-locale-en-module.js +18 -0
  402. package/esm5/lib/igc-calendar-locale-en-module.js.map +1 -0
  403. package/esm5/lib/igc-calendar-module.js +26 -0
  404. package/esm5/lib/igc-calendar-module.js.map +1 -0
  405. package/esm5/lib/igc-checkbox-change-event-args.js +52 -0
  406. package/esm5/lib/igc-checkbox-change-event-args.js.map +1 -0
  407. package/esm5/lib/igc-checkbox-component.js +788 -0
  408. package/esm5/lib/igc-checkbox-component.js.map +1 -0
  409. package/esm5/lib/igc-checkbox-module.js +26 -0
  410. package/esm5/lib/igc-checkbox-module.js.map +1 -0
  411. package/esm5/lib/igc-date-picker-component.js +739 -0
  412. package/esm5/lib/igc-date-picker-component.js.map +1 -0
  413. package/esm5/lib/igc-date-picker-module.js +30 -0
  414. package/esm5/lib/igc-date-picker-module.js.map +1 -0
  415. package/esm5/lib/igc-got-focus-event-args.js +31 -0
  416. package/esm5/lib/igc-got-focus-event-args.js.map +1 -0
  417. package/esm5/lib/igc-icon-component.js +609 -0
  418. package/esm5/lib/igc-icon-component.js.map +1 -0
  419. package/esm5/lib/igc-icon-module.js +24 -0
  420. package/esm5/lib/igc-icon-module.js.map +1 -0
  421. package/esm5/lib/igc-input-change-event-args.js +52 -0
  422. package/esm5/lib/igc-input-change-event-args.js.map +1 -0
  423. package/esm5/lib/igc-input-component.js +676 -0
  424. package/esm5/lib/igc-input-component.js.map +1 -0
  425. package/esm5/lib/igc-input-group-component.js +2646 -0
  426. package/esm5/lib/igc-input-group-component.js.map +1 -0
  427. package/esm5/lib/igc-input-group-input-collection.js +54 -0
  428. package/esm5/lib/igc-input-group-input-collection.js.map +1 -0
  429. package/esm5/lib/igc-input-group-item-component.js +194 -0
  430. package/esm5/lib/igc-input-group-item-component.js.map +1 -0
  431. package/esm5/lib/igc-input-group-module.js +28 -0
  432. package/esm5/lib/igc-input-group-module.js.map +1 -0
  433. package/esm5/lib/igc-input-module.js +24 -0
  434. package/esm5/lib/igc-input-module.js.map +1 -0
  435. package/esm5/lib/igc-label-component.js +523 -0
  436. package/esm5/lib/igc-label-component.js.map +1 -0
  437. package/esm5/lib/igc-label-module.js +24 -0
  438. package/esm5/lib/igc-label-module.js.map +1 -0
  439. package/esm5/lib/igc-lost-focus-event-args.js +31 -0
  440. package/esm5/lib/igc-lost-focus-event-args.js.map +1 -0
  441. package/esm5/lib/igc-prefix-component.js +229 -0
  442. package/esm5/lib/igc-prefix-component.js.map +1 -0
  443. package/esm5/lib/igc-prefix-module.js +24 -0
  444. package/esm5/lib/igc-prefix-module.js.map +1 -0
  445. package/esm5/lib/igc-ripple-component.js +450 -0
  446. package/esm5/lib/igc-ripple-component.js.map +1 -0
  447. package/esm5/lib/igc-ripple-module.js +22 -0
  448. package/esm5/lib/igc-ripple-module.js.map +1 -0
  449. package/esm5/lib/igc-suffix-component.js +229 -0
  450. package/esm5/lib/igc-suffix-component.js.map +1 -0
  451. package/esm5/lib/igc-value-changed-event-args.js +51 -0
  452. package/esm5/lib/igc-value-changed-event-args.js.map +1 -0
  453. package/esm5/public_api.js +103 -0
  454. package/esm5/public_api.js.map +1 -0
  455. package/fesm2015/igniteui-webcomponents-inputs.js +26824 -0
  456. package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -0
  457. package/fesm5/igniteui-webcomponents-inputs.js +32419 -0
  458. package/fesm5/igniteui-webcomponents-inputs.js.map +1 -0
  459. package/igniteui-webcomponents-inputs.d.ts +1 -0
  460. package/lib/Button.d.ts +1 -0
  461. package/lib/ButtonClickEventArgs.d.ts +7 -0
  462. package/lib/ButtonDisplayStyle.d.ts +15 -0
  463. package/lib/ButtonGroup.d.ts +1 -0
  464. package/lib/ButtonGroupButtonCollection.d.ts +12 -0
  465. package/lib/ButtonGroupDisplayStyle.d.ts +12 -0
  466. package/lib/ButtonGroupOrientation.d.ts +9 -0
  467. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +7 -0
  468. package/lib/ButtonGroupView.d.ts +1 -0
  469. package/lib/ButtonGroupView_combined.d.ts +306 -0
  470. package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
  471. package/lib/ButtonView.d.ts +1 -0
  472. package/lib/ButtonView_combined.d.ts +667 -0
  473. package/lib/ButtonVisualModelExport.d.ts +46 -0
  474. package/lib/Calendar.d.ts +1 -0
  475. package/lib/CalendarLocaleEn.d.ts +49 -0
  476. package/lib/CalendarView.d.ts +1 -0
  477. package/lib/CalendarView_combined.d.ts +206 -0
  478. package/lib/CalendarVisualModelExport.d.ts +33 -0
  479. package/lib/Checkbox.d.ts +1 -0
  480. package/lib/CheckboxChangeEventArgs.d.ts +11 -0
  481. package/lib/CheckboxLabelPosition.d.ts +12 -0
  482. package/lib/CheckboxView.d.ts +1 -0
  483. package/lib/CheckboxView_combined.d.ts +181 -0
  484. package/lib/CheckboxVisualModelExport.d.ts +28 -0
  485. package/lib/DateFormats.d.ts +18 -0
  486. package/lib/DatePicker.d.ts +1 -0
  487. package/lib/DatePickerView.d.ts +1 -0
  488. package/lib/DatePickerView_combined.d.ts +191 -0
  489. package/lib/DatePickerVisualModelExport.d.ts +24 -0
  490. package/lib/DateTimeValueFormatter.d.ts +20 -0
  491. package/lib/DayInfo.d.ts +13 -0
  492. package/lib/DayOfWeek.d.ts +38 -0
  493. package/lib/ElevationHelper.d.ts +16 -0
  494. package/lib/FirstWeek.d.ts +22 -0
  495. package/lib/GotFocusEventArgs.d.ts +7 -0
  496. package/lib/Icon.d.ts +1 -0
  497. package/lib/IconView.d.ts +1 -0
  498. package/lib/IconView_combined.d.ts +117 -0
  499. package/lib/IconVisualModelExport.d.ts +21 -0
  500. package/lib/Input.d.ts +1 -0
  501. package/lib/InputChangeEventArgs.d.ts +11 -0
  502. package/lib/InputGroup.d.ts +1 -0
  503. package/lib/InputGroupDisplayType.d.ts +11 -0
  504. package/lib/InputGroupInputCollection.d.ts +1 -0
  505. package/lib/InputGroupItem.d.ts +1 -0
  506. package/lib/InputGroupView.d.ts +1 -0
  507. package/lib/InputGroupView_combined.d.ts +1192 -0
  508. package/lib/InputGroupVisualModelExport.d.ts +44 -0
  509. package/lib/InputShiftType.d.ts +10 -0
  510. package/lib/InputView.d.ts +1 -0
  511. package/lib/InputVisualModelExport.d.ts +30 -0
  512. package/lib/KEYCODES.d.ts +26 -0
  513. package/lib/Label.d.ts +1 -0
  514. package/lib/LabelShiftType.d.ts +10 -0
  515. package/lib/LabelView.d.ts +1 -0
  516. package/lib/LabelVisualModelExport.d.ts +34 -0
  517. package/lib/LostFocusEventArgs.d.ts +7 -0
  518. package/lib/MaskOptions.d.ts +9 -0
  519. package/lib/MaskParsingService.d.ts +19 -0
  520. package/lib/Prefix.d.ts +1 -0
  521. package/lib/PrefixShiftType.d.ts +10 -0
  522. package/lib/PrefixView.d.ts +1 -0
  523. package/lib/PrefixVisualModelExport.d.ts +13 -0
  524. package/lib/Replaced.d.ts +9 -0
  525. package/lib/Ripple.d.ts +1 -0
  526. package/lib/RippleView.d.ts +1 -0
  527. package/lib/RippleView_combined.d.ts +89 -0
  528. package/lib/RippleVisualModelExport.d.ts +15 -0
  529. package/lib/Suffix.d.ts +1 -0
  530. package/lib/SuffixShiftType.d.ts +10 -0
  531. package/lib/SuffixView.d.ts +1 -0
  532. package/lib/SuffixVisualModelExport.d.ts +13 -0
  533. package/lib/TextElementsVisualModelExport.d.ts +16 -0
  534. package/lib/ThemeResolver.d.ts +18 -0
  535. package/lib/ValueChangedEventArgs.d.ts +11 -0
  536. package/lib/igc-button-click-event-args.d.ts +12 -0
  537. package/lib/igc-button-component.d.ts +671 -0
  538. package/lib/igc-button-group-button-collection.d.ts +8 -0
  539. package/lib/igc-button-group-component.d.ts +344 -0
  540. package/lib/igc-button-group-module.d.ts +3 -0
  541. package/lib/igc-button-group-selection-changed-event-args.d.ts +12 -0
  542. package/lib/igc-button-module.d.ts +3 -0
  543. package/lib/igc-calendar-component.d.ts +152 -0
  544. package/lib/igc-calendar-locale-en-module.d.ts +3 -0
  545. package/lib/igc-calendar-module.d.ts +3 -0
  546. package/lib/igc-checkbox-change-event-args.d.ts +14 -0
  547. package/lib/igc-checkbox-component.d.ts +198 -0
  548. package/lib/igc-checkbox-module.d.ts +3 -0
  549. package/lib/igc-date-picker-component.d.ts +174 -0
  550. package/lib/igc-date-picker-module.d.ts +3 -0
  551. package/lib/igc-got-focus-event-args.d.ts +12 -0
  552. package/lib/igc-icon-component.d.ts +148 -0
  553. package/lib/igc-icon-module.d.ts +3 -0
  554. package/lib/igc-input-change-event-args.d.ts +14 -0
  555. package/lib/igc-input-component.d.ts +145 -0
  556. package/lib/igc-input-group-component.d.ts +588 -0
  557. package/lib/igc-input-group-input-collection.d.ts +8 -0
  558. package/lib/igc-input-group-item-component.d.ts +39 -0
  559. package/lib/igc-input-group-module.d.ts +3 -0
  560. package/lib/igc-input-module.d.ts +3 -0
  561. package/lib/igc-label-component.d.ts +141 -0
  562. package/lib/igc-label-module.d.ts +3 -0
  563. package/lib/igc-lost-focus-event-args.d.ts +12 -0
  564. package/lib/igc-prefix-component.d.ts +55 -0
  565. package/lib/igc-prefix-module.d.ts +3 -0
  566. package/lib/igc-ripple-component.d.ts +104 -0
  567. package/lib/igc-ripple-module.d.ts +3 -0
  568. package/lib/igc-suffix-component.d.ts +55 -0
  569. package/lib/igc-value-changed-event-args.d.ts +14 -0
  570. package/package.json +35 -0
  571. package/public_api.d.ts +102 -0
@@ -0,0 +1,1017 @@
1
+ import { ButtonGroup } from "./ButtonGroup";
2
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
3
+ import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
4
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
5
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
6
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
7
+ import { IgcButtonComponent } from './igc-button-component';
8
+ import { IgcButtonGroupButtonCollection } from './igc-button-group-button-collection';
9
+ import { CollectionAdapter } from "igniteui-webcomponents-core";
10
+ import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
11
+ import { ButtonGroupOrientation_$type } from './ButtonGroupOrientation';
12
+ import { IgcButtonGroupSelectionChangedEventArgs } from './igc-button-group-selection-changed-event-args';
13
+ import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
14
+ import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
15
+ import { ButtonGroupDisplayStyle_$type } from './ButtonGroupDisplayStyle';
16
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
17
+ export let IgcButtonGroupComponent = /*@__PURE__*/ (() => {
18
+ class IgcButtonGroupComponent extends IgcHTMLElement {
19
+ constructor() {
20
+ super();
21
+ this.contentButtons = [];
22
+ /**
23
+ * The style mappings actually present in the treemap. Do not directly modify this array.
24
+ * This array's contents can be modified by causing Angular to reproject the child content.
25
+ * Or adding and removing style mappings from the manual style mappings collection on the buttons property.
26
+ */
27
+ this.actualButtons = [];
28
+ this._buttons = null;
29
+ this._buttonsAdapter = null;
30
+ this._disconnected = false;
31
+ this._settingAttributes = false;
32
+ this._attached = false;
33
+ this._queuedSetAttributes = [];
34
+ this._updatingFromAttribute = false;
35
+ this.__p = null;
36
+ this._hasUserValues = new Set();
37
+ this._stylingContainer = null;
38
+ this._stylingParent = null;
39
+ this._inStyling = false;
40
+ this._selectionChanged = null;
41
+ this._selectionChanged_wrapped = null;
42
+ if (this._styling) {
43
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
44
+ }
45
+ this._portalManager = new PortalManager("buttonContent");
46
+ this._renderer = new WebComponentRenderer(this, document, true, {}, this._portalManager);
47
+ this._container = this._renderer.createElement("div");
48
+ this._renderer.updateRoot(this._container);
49
+ this._implementation = this.createImplementation();
50
+ this._implementation.externalObject = this;
51
+ //this._container.setStyleProperty("width", "100%");
52
+ //this._container.setStyleProperty("height", "100%");
53
+ var root;
54
+ root = this._container;
55
+ if (this._container.getNativeElement() != null) {
56
+ root = this._container.getNativeElement();
57
+ }
58
+ this._wrapper = this._renderer;
59
+ var buttonGroup = this.i;
60
+ this._buttonGroup = buttonGroup;
61
+ this._buttonsAdapter = new CollectionAdapter(this.contentButtons, this.i.buttons, this.actualButtons, (c) => c.i, (i) => {
62
+ if (this._container && this._container.getNativeElement().parentElement) {
63
+ i._styling(this, this, this);
64
+ }
65
+ }, (i) => { });
66
+ buttonGroup.provideContainer(this._renderer);
67
+ this._onChildrenChanged();
68
+ //Checkbox.notifySizeChanged();
69
+ let mut = new MutationObserver((list) => {
70
+ for (var mutation of list) {
71
+ if (mutation.type == 'childList') {
72
+ this._onChildrenChanged();
73
+ this.updateButtons();
74
+ }
75
+ }
76
+ });
77
+ mut.observe(this, {
78
+ childList: true
79
+ });
80
+ //this._renderer.addSizeWatcher(() => {
81
+ // this._checkbox.notifySizeChanged();
82
+ //});
83
+ }
84
+ /**
85
+ * A collection or manually added axes for the chart.
86
+ */
87
+ get buttons() {
88
+ if (this._buttons === null) {
89
+ let coll = new IgcButtonGroupButtonCollection();
90
+ let inner = coll._innerColl;
91
+ inner.addListener((sender, e) => {
92
+ switch (e.action) {
93
+ case NotifyCollectionChangedAction.Add:
94
+ this._buttonsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
95
+ break;
96
+ case NotifyCollectionChangedAction.Remove:
97
+ this._buttonsAdapter.removeManualItemAt(e.oldStartingIndex);
98
+ break;
99
+ case NotifyCollectionChangedAction.Replace:
100
+ this._buttonsAdapter.removeManualItemAt(e.oldStartingIndex);
101
+ this._buttonsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
102
+ break;
103
+ case NotifyCollectionChangedAction.Reset:
104
+ this._buttonsAdapter.clearManualItems();
105
+ break;
106
+ }
107
+ });
108
+ this._buttons = coll;
109
+ }
110
+ return this._buttons;
111
+ }
112
+ _onChildrenChanged() {
113
+ var children = [];
114
+ for (var i = 0; i < this.childNodes.length; i++) {
115
+ var child = this.childNodes[i];
116
+ if (child !== this._container.getNativeElement()) {
117
+ children.push(child);
118
+ }
119
+ }
120
+ this._portalManager.onChildrenChanged(children);
121
+ }
122
+ updateButtons() {
123
+ this.contentButtons.length = 0;
124
+ for (var i = 0; i < this.children.length; i++) {
125
+ if (this.children[i] instanceof IgcButtonComponent) {
126
+ this.contentButtons.push(this.children[i]);
127
+ }
128
+ }
129
+ var childContent = this.querySelector("igc-child-content");
130
+ if (childContent) {
131
+ for (var i = 0; i < childContent.children.length; i++) {
132
+ if (childContent.children[i] instanceof IgcButtonComponent) {
133
+ this.contentButtons.push(childContent.children[i]);
134
+ }
135
+ }
136
+ }
137
+ if (this._buttonsAdapter != null) {
138
+ this._buttonsAdapter.notifyContentChanged();
139
+ }
140
+ }
141
+ // supports angular themes or custom properties set in CSS
142
+ updateStyle() {
143
+ this._styling(this, this);
144
+ }
145
+ destroy() {
146
+ this._buttonGroup.destroy();
147
+ this._wrapper.destroy();
148
+ }
149
+ createImplementation() {
150
+ return new ButtonGroup();
151
+ }
152
+ disconnectedCallback() {
153
+ this._disconnected = true;
154
+ if (this.i) {
155
+ this.i.onDetachedFromUI();
156
+ }
157
+ }
158
+ connectedCallback() {
159
+ if (this._disconnected) {
160
+ this._disconnected = false;
161
+ if (this.i) {
162
+ this.i.onAttachedToUI();
163
+ }
164
+ return;
165
+ }
166
+ this.classList.add("ig-button-group");
167
+ this.classList.add("igc-button-group");
168
+ this.appendChild(this._container.getNativeElement());
169
+ this._attached = true;
170
+ this.style.display = "inline-block";
171
+ //this.style.height = this._height;
172
+ //this.style.width = this._width;
173
+ this._flushQueuedAttributes();
174
+ // supports themes or custom properties set in CSS
175
+ this._styling(this, this);
176
+ this.afterContentInit();
177
+ }
178
+ afterContentInit() {
179
+ //this.i.notifySizeChanged();
180
+ }
181
+ /**
182
+ * @hidden
183
+ */
184
+ get i() {
185
+ return this._implementation;
186
+ } /**
187
+ * @hidden
188
+ */
189
+ static _createFromInternal(internal) {
190
+ if (!internal) {
191
+ return null;
192
+ }
193
+ if (!internal.$type) {
194
+ return null;
195
+ }
196
+ let name = internal.$type.name;
197
+ let externalName = "Igc" + name + "Component";
198
+ if (!TypeRegistrar.isRegistered(externalName)) {
199
+ return null;
200
+ }
201
+ return TypeRegistrar.create(externalName);
202
+ }
203
+ _enqueueSetAttribute(attrName, attrValue) {
204
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
205
+ }
206
+ _flushQueuedAttributes() {
207
+ this._settingAttributes = true;
208
+ for (let i = 0; i < this._queuedSetAttributes.length; i++) {
209
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
210
+ }
211
+ this._settingAttributes = false;
212
+ this._queuedSetAttributes.length = 0;
213
+ }
214
+ _a(attrName, attrValue) {
215
+ if (this._updatingFromAttribute) {
216
+ return;
217
+ }
218
+ if (attrValue) {
219
+ attrValue = attrValue.toString();
220
+ }
221
+ this._settingAttributes = true;
222
+ attrName = toSpinal(attrName);
223
+ if (this._attached) {
224
+ this.setAttribute(attrName, attrValue);
225
+ }
226
+ else {
227
+ this._enqueueSetAttribute(attrName, attrValue);
228
+ }
229
+ this._settingAttributes = false;
230
+ }
231
+ static get observedAttributes() {
232
+ if (IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent == null) {
233
+ let names = getAllPropertyNames(IgcButtonGroupComponent);
234
+ for (let i = 0; i < names.length; i++) {
235
+ names[i] = toSpinal(names[i]);
236
+ }
237
+ IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent = names;
238
+ }
239
+ return IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent;
240
+ }
241
+ attributeChangedCallback(name, oldValue, newValue) {
242
+ if (this._settingAttributes) {
243
+ return;
244
+ }
245
+ let setName = fromSpinal(name);
246
+ this._updatingFromAttribute = true;
247
+ this[setName] = newValue;
248
+ this._updatingFromAttribute = false;
249
+ }
250
+ static register() {
251
+ if (!IgcButtonGroupComponent._isElementRegistered) {
252
+ IgcButtonGroupComponent._isElementRegistered = true;
253
+ RegisterElementHelper.registerElement(IgcButtonGroupComponent.htmlTagName, IgcButtonGroupComponent);
254
+ }
255
+ }
256
+ /**
257
+ * Gets or sets the display style to use for the button.
258
+ */
259
+ get displayType() {
260
+ return this.i.p;
261
+ }
262
+ set displayType(v) {
263
+ this.i.p = ensureEnum(ButtonGroupDisplayStyle_$type, v);
264
+ this._a("displayType", enumToString(ButtonGroupDisplayStyle_$type, this.i.p));
265
+ }
266
+ /**
267
+ * Gets or sets the base built in theme to use for the button group.
268
+ */
269
+ get baseTheme() {
270
+ return this.i.g;
271
+ }
272
+ set baseTheme(v) {
273
+ this.i.g = ensureEnum(BaseControlTheme_$type, v);
274
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.g));
275
+ }
276
+ /**
277
+ * Gets or sets the display density to use for the button group.
278
+ */
279
+ get density() {
280
+ return this.i.k;
281
+ }
282
+ set density(v) {
283
+ this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
284
+ this._a("density", enumToString(ControlDisplayDensity_$type, this.i.k));
285
+ }
286
+ /**
287
+ * Gets the actual display density to use for the button group.
288
+ */
289
+ get actualDensity() {
290
+ return this.i.j;
291
+ }
292
+ set actualDensity(v) {
293
+ this.i.j = ensureEnum(ControlDisplayDensity_$type, v);
294
+ this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.j));
295
+ }
296
+ /**
297
+ * Gets the currently selected button indices.
298
+ */
299
+ get selectedIndices() {
300
+ return this.i.d;
301
+ }
302
+ set selectedIndices(v) {
303
+ if (v && !Array.isArray(v) && typeof (v) == "string") {
304
+ const re = /\s*(?:,|\s|$)\s*/gm;
305
+ v = v.split(re);
306
+ }
307
+ this.i.d = v;
308
+ }
309
+ /**
310
+ * Gets the actual item corner radius for the appropriate corners.
311
+ */
312
+ get actualItemCornerRadius() {
313
+ return this.i.al;
314
+ }
315
+ set actualItemCornerRadius(v) {
316
+ this.i.al = +v;
317
+ this._a("actualItemCornerRadius", this.i.al);
318
+ }
319
+ /**
320
+ * Gets the actual item background color.
321
+ */
322
+ get actualItemBackgroundColor() {
323
+ return brushToString(this.i.ez);
324
+ }
325
+ set actualItemBackgroundColor(v) {
326
+ this.i.ez = stringToBrush(v);
327
+ this._a("actualItemBackgroundColor", brushToString(this.i.ez));
328
+ }
329
+ /**
330
+ * Gets the actual item background color.
331
+ */
332
+ get actualItemDisabledBackgroundColor() {
333
+ return brushToString(this.i.e1);
334
+ }
335
+ set actualItemDisabledBackgroundColor(v) {
336
+ this.i.e1 = stringToBrush(v);
337
+ this._a("actualItemDisabledBackgroundColor", brushToString(this.i.e1));
338
+ }
339
+ /**
340
+ * Gets the actual item text color.
341
+ */
342
+ get actualItemTextColor() {
343
+ return brushToString(this.i.e6);
344
+ }
345
+ set actualItemTextColor(v) {
346
+ this.i.e6 = stringToBrush(v);
347
+ this._a("actualItemTextColor", brushToString(this.i.e6));
348
+ }
349
+ /**
350
+ * Gets the actual item text color.
351
+ */
352
+ get actualItemDisabledTextColor() {
353
+ return brushToString(this.i.e3);
354
+ }
355
+ set actualItemDisabledTextColor(v) {
356
+ this.i.e3 = stringToBrush(v);
357
+ this._a("actualItemDisabledTextColor", brushToString(this.i.e3));
358
+ }
359
+ /**
360
+ * Gets the actual item border color.
361
+ */
362
+ get actualItemBorderColor() {
363
+ return brushToString(this.i.e0);
364
+ }
365
+ set actualItemBorderColor(v) {
366
+ this.i.e0 = stringToBrush(v);
367
+ this._a("actualItemBorderColor", brushToString(this.i.e0));
368
+ }
369
+ /**
370
+ * Gets the actual item border color.
371
+ */
372
+ get actualItemDisabledBorderColor() {
373
+ return brushToString(this.i.e2);
374
+ }
375
+ set actualItemDisabledBorderColor(v) {
376
+ this.i.e2 = stringToBrush(v);
377
+ this._a("actualItemDisabledBorderColor", brushToString(this.i.e2));
378
+ }
379
+ /**
380
+ * Gets the actual item border width.
381
+ */
382
+ get actualItemBorderWidth() {
383
+ return this.i.ak;
384
+ }
385
+ set actualItemBorderWidth(v) {
386
+ this.i.ak = +v;
387
+ this._a("actualItemBorderWidth", this.i.ak);
388
+ }
389
+ /**
390
+ * Gets the actual selected item background color.
391
+ */
392
+ get actualSelectedItemBackgroundColor() {
393
+ return brushToString(this.i.e7);
394
+ }
395
+ set actualSelectedItemBackgroundColor(v) {
396
+ this.i.e7 = stringToBrush(v);
397
+ this._a("actualSelectedItemBackgroundColor", brushToString(this.i.e7));
398
+ }
399
+ /**
400
+ * Gets the stroke actual selected item text color.
401
+ */
402
+ get actualSelectedItemTextColor() {
403
+ return brushToString(this.i.fa);
404
+ }
405
+ set actualSelectedItemTextColor(v) {
406
+ this.i.fa = stringToBrush(v);
407
+ this._a("actualSelectedItemTextColor", brushToString(this.i.fa));
408
+ }
409
+ /**
410
+ * Gets the actual item hovered background color.
411
+ */
412
+ get actualItemHoverBackgroundColor() {
413
+ return brushToString(this.i.e4);
414
+ }
415
+ set actualItemHoverBackgroundColor(v) {
416
+ this.i.e4 = stringToBrush(v);
417
+ this._a("actualItemHoverBackgroundColor", brushToString(this.i.e4));
418
+ }
419
+ /**
420
+ * Gets the actual item text color.
421
+ */
422
+ get actualItemHoverTextColor() {
423
+ return brushToString(this.i.e5);
424
+ }
425
+ set actualItemHoverTextColor(v) {
426
+ this.i.e5 = stringToBrush(v);
427
+ this._a("actualItemHoverTextColor", brushToString(this.i.e5));
428
+ }
429
+ /**
430
+ * Gets the actual selected item hovered background color.
431
+ */
432
+ get actualSelectedItemHoverBackgroundColor() {
433
+ return brushToString(this.i.e8);
434
+ }
435
+ set actualSelectedItemHoverBackgroundColor(v) {
436
+ this.i.e8 = stringToBrush(v);
437
+ this._a("actualSelectedItemHoverBackgroundColor", brushToString(this.i.e8));
438
+ }
439
+ /**
440
+ * Gets the actual selected item hovered text color.
441
+ */
442
+ get actualSelectedItemHoverTextColor() {
443
+ return brushToString(this.i.e9);
444
+ }
445
+ set actualSelectedItemHoverTextColor(v) {
446
+ this.i.e9 = stringToBrush(v);
447
+ this._a("actualSelectedItemHoverTextColor", brushToString(this.i.e9));
448
+ }
449
+ /**
450
+ * Gets or sets the corner radius to use for the appropriate corners for the item buttons.
451
+ */
452
+ get itemCornerRadius() {
453
+ return this.i.a1;
454
+ }
455
+ set itemCornerRadius(v) {
456
+ this.i.a1 = +v;
457
+ this._a("itemCornerRadius", this.i.a1);
458
+ }
459
+ /**
460
+ * Gets or sets the color to use the background of the buttons in the group.
461
+ */
462
+ get itemBackgroundColor() {
463
+ return brushToString(this.i.hn);
464
+ }
465
+ set itemBackgroundColor(v) {
466
+ this.i.hn = stringToBrush(v);
467
+ this._a("itemBackgroundColor", brushToString(this.i.hn));
468
+ }
469
+ /**
470
+ * Gets or sets the disabled color to use the background of the buttons in the group.
471
+ */
472
+ get itemDisabledBackgroundColor() {
473
+ return brushToString(this.i.hp);
474
+ }
475
+ set itemDisabledBackgroundColor(v) {
476
+ this.i.hp = stringToBrush(v);
477
+ this._a("itemDisabledBackgroundColor", brushToString(this.i.hp));
478
+ }
479
+ /**
480
+ * Gets or sets the color to use the text of the buttons in the group.
481
+ */
482
+ get itemTextColor() {
483
+ return brushToString(this.i.hu);
484
+ }
485
+ set itemTextColor(v) {
486
+ this.i.hu = stringToBrush(v);
487
+ this._a("itemTextColor", brushToString(this.i.hu));
488
+ }
489
+ /**
490
+ * Gets or sets the disabled color to use the text of the buttons in the group.
491
+ */
492
+ get itemDisabledTextColor() {
493
+ return brushToString(this.i.hr);
494
+ }
495
+ set itemDisabledTextColor(v) {
496
+ this.i.hr = stringToBrush(v);
497
+ this._a("itemDisabledTextColor", brushToString(this.i.hr));
498
+ }
499
+ /**
500
+ * Gets or sets the color to use the hovered background of the buttons in the group.
501
+ */
502
+ get itemHoverBackgroundColor() {
503
+ return brushToString(this.i.hs);
504
+ }
505
+ set itemHoverBackgroundColor(v) {
506
+ this.i.hs = stringToBrush(v);
507
+ this._a("itemHoverBackgroundColor", brushToString(this.i.hs));
508
+ }
509
+ /**
510
+ * Gets or sets the color to use the border of the buttons in the group.
511
+ */
512
+ get itemBorderColor() {
513
+ return brushToString(this.i.ho);
514
+ }
515
+ set itemBorderColor(v) {
516
+ this.i.ho = stringToBrush(v);
517
+ this._a("itemBorderColor", brushToString(this.i.ho));
518
+ }
519
+ /**
520
+ * Gets or sets the disabled color to use the border of the buttons in the group.
521
+ */
522
+ get itemDisabledBorderColor() {
523
+ return brushToString(this.i.hq);
524
+ }
525
+ set itemDisabledBorderColor(v) {
526
+ this.i.hq = stringToBrush(v);
527
+ this._a("itemDisabledBorderColor", brushToString(this.i.hq));
528
+ }
529
+ /**
530
+ * Gets or sets the border width to use for the buttons in the group.
531
+ */
532
+ get itemBorderWidth() {
533
+ return this.i.a0;
534
+ }
535
+ set itemBorderWidth(v) {
536
+ this.i.a0 = +v;
537
+ this._a("itemBorderWidth", this.i.a0);
538
+ }
539
+ /**
540
+ * Gets or sets the color to use the hovered text of the buttons in the group.
541
+ */
542
+ get itemHoverTextColor() {
543
+ return brushToString(this.i.ht);
544
+ }
545
+ set itemHoverTextColor(v) {
546
+ this.i.ht = stringToBrush(v);
547
+ this._a("itemHoverTextColor", brushToString(this.i.ht));
548
+ }
549
+ /**
550
+ * Gets or sets the color to use the background of the buttons in the group that are selected.
551
+ */
552
+ get selectedItemBackgroundColor() {
553
+ return brushToString(this.i.h7);
554
+ }
555
+ set selectedItemBackgroundColor(v) {
556
+ this.i.h7 = stringToBrush(v);
557
+ this._a("selectedItemBackgroundColor", brushToString(this.i.h7));
558
+ }
559
+ /**
560
+ * Gets or sets the color to use the text of the buttons in the group that are selected.
561
+ */
562
+ get selectedItemTextColor() {
563
+ return brushToString(this.i.ia);
564
+ }
565
+ set selectedItemTextColor(v) {
566
+ this.i.ia = stringToBrush(v);
567
+ this._a("selectedItemTextColor", brushToString(this.i.ia));
568
+ }
569
+ /**
570
+ * Gets or sets the color to use the hovered background of the buttons in the group that are selected.
571
+ */
572
+ get selectedItemHoverBackgroundColor() {
573
+ return brushToString(this.i.h8);
574
+ }
575
+ set selectedItemHoverBackgroundColor(v) {
576
+ this.i.h8 = stringToBrush(v);
577
+ this._a("selectedItemHoverBackgroundColor", brushToString(this.i.h8));
578
+ }
579
+ /**
580
+ * Gets or sets the color to use the hovered text of the buttons in the group that are selected.
581
+ */
582
+ get selectedItemHoverTextColor() {
583
+ return brushToString(this.i.h9);
584
+ }
585
+ set selectedItemHoverTextColor(v) {
586
+ this.i.h9 = stringToBrush(v);
587
+ this._a("selectedItemHoverTextColor", brushToString(this.i.h9));
588
+ }
589
+ /**
590
+ * Gets or sets the corner radius to use for the appropriate corners for the outlined type item buttons.
591
+ */
592
+ get outlinedItemCornerRadius() {
593
+ return this.i.a3;
594
+ }
595
+ set outlinedItemCornerRadius(v) {
596
+ this.i.a3 = +v;
597
+ this._a("outlinedItemCornerRadius", this.i.a3);
598
+ }
599
+ /**
600
+ * Gets or sets the color to use the background of the buttons in the group when type is outlined.
601
+ */
602
+ get outlinedItemBackgroundColor() {
603
+ return brushToString(this.i.hv);
604
+ }
605
+ set outlinedItemBackgroundColor(v) {
606
+ this.i.hv = stringToBrush(v);
607
+ this._a("outlinedItemBackgroundColor", brushToString(this.i.hv));
608
+ }
609
+ /**
610
+ * Gets or sets the disabled color to use the background of the buttons in the group when type is outlined.
611
+ */
612
+ get outlinedItemDisabledBackgroundColor() {
613
+ return brushToString(this.i.hx);
614
+ }
615
+ set outlinedItemDisabledBackgroundColor(v) {
616
+ this.i.hx = stringToBrush(v);
617
+ this._a("outlinedItemDisabledBackgroundColor", brushToString(this.i.hx));
618
+ }
619
+ /**
620
+ * Gets or sets the color to use the text of the buttons in the group when type is outlined.
621
+ */
622
+ get outlinedItemTextColor() {
623
+ return brushToString(this.i.h2);
624
+ }
625
+ set outlinedItemTextColor(v) {
626
+ this.i.h2 = stringToBrush(v);
627
+ this._a("outlinedItemTextColor", brushToString(this.i.h2));
628
+ }
629
+ /**
630
+ * Gets or sets the disabled color to use the text of the buttons in the group when type is outlined.
631
+ */
632
+ get outlinedItemDisabledTextColor() {
633
+ return brushToString(this.i.hz);
634
+ }
635
+ set outlinedItemDisabledTextColor(v) {
636
+ this.i.hz = stringToBrush(v);
637
+ this._a("outlinedItemDisabledTextColor", brushToString(this.i.hz));
638
+ }
639
+ /**
640
+ * Gets or sets the color to use the hovered background of the buttons in the group when type is outlined.
641
+ */
642
+ get outlinedItemHoverBackgroundColor() {
643
+ return brushToString(this.i.h0);
644
+ }
645
+ set outlinedItemHoverBackgroundColor(v) {
646
+ this.i.h0 = stringToBrush(v);
647
+ this._a("outlinedItemHoverBackgroundColor", brushToString(this.i.h0));
648
+ }
649
+ /**
650
+ * Gets or sets the color to use the border of the buttons in the group when type is outlined.
651
+ */
652
+ get outlinedItemBorderColor() {
653
+ return brushToString(this.i.hw);
654
+ }
655
+ set outlinedItemBorderColor(v) {
656
+ this.i.hw = stringToBrush(v);
657
+ this._a("outlinedItemBorderColor", brushToString(this.i.hw));
658
+ }
659
+ /**
660
+ * Gets or sets the disabled color to use the border of the buttons in the group when type is outlined.
661
+ */
662
+ get outlinedItemDisabledBorderColor() {
663
+ return brushToString(this.i.hy);
664
+ }
665
+ set outlinedItemDisabledBorderColor(v) {
666
+ this.i.hy = stringToBrush(v);
667
+ this._a("outlinedItemDisabledBorderColor", brushToString(this.i.hy));
668
+ }
669
+ /**
670
+ * Gets or sets the border width to use for the buttons in the group when type is outlined.
671
+ */
672
+ get outlinedItemBorderWidth() {
673
+ return this.i.a2;
674
+ }
675
+ set outlinedItemBorderWidth(v) {
676
+ this.i.a2 = +v;
677
+ this._a("outlinedItemBorderWidth", this.i.a2);
678
+ }
679
+ /**
680
+ * Gets or sets the color to use the hovered text of the buttons in the group when type is outlined.
681
+ */
682
+ get outlinedItemHoverTextColor() {
683
+ return brushToString(this.i.h1);
684
+ }
685
+ set outlinedItemHoverTextColor(v) {
686
+ this.i.h1 = stringToBrush(v);
687
+ this._a("outlinedItemHoverTextColor", brushToString(this.i.h1));
688
+ }
689
+ /**
690
+ * Gets or sets the color to use the background of the buttons in the group that are selected when type is outlined.
691
+ */
692
+ get outlinedSelectedItemBackgroundColor() {
693
+ return brushToString(this.i.h3);
694
+ }
695
+ set outlinedSelectedItemBackgroundColor(v) {
696
+ this.i.h3 = stringToBrush(v);
697
+ this._a("outlinedSelectedItemBackgroundColor", brushToString(this.i.h3));
698
+ }
699
+ /**
700
+ * Gets or sets the color to use the text of the buttons in the group that are selected when type is outlined.
701
+ */
702
+ get outlinedSelectedItemTextColor() {
703
+ return brushToString(this.i.h6);
704
+ }
705
+ set outlinedSelectedItemTextColor(v) {
706
+ this.i.h6 = stringToBrush(v);
707
+ this._a("outlinedSelectedItemTextColor", brushToString(this.i.h6));
708
+ }
709
+ /**
710
+ * Gets or sets the color to use the hovered background of the buttons in the group that are selected when type is outlined.
711
+ */
712
+ get outlinedSelectedItemHoverBackgroundColor() {
713
+ return brushToString(this.i.h4);
714
+ }
715
+ set outlinedSelectedItemHoverBackgroundColor(v) {
716
+ this.i.h4 = stringToBrush(v);
717
+ this._a("outlinedSelectedItemHoverBackgroundColor", brushToString(this.i.h4));
718
+ }
719
+ /**
720
+ * Gets or sets the color to use the hovered text of the buttons in the group that are selected when type is outlined.
721
+ */
722
+ get outlinedSelectedItemHoverTextColor() {
723
+ return brushToString(this.i.h5);
724
+ }
725
+ set outlinedSelectedItemHoverTextColor(v) {
726
+ this.i.h5 = stringToBrush(v);
727
+ this._a("outlinedSelectedItemHoverTextColor", brushToString(this.i.h5));
728
+ }
729
+ /**
730
+ * Gets or sets the corner radius to use for the appropriate corners for the flat type item buttons.
731
+ */
732
+ get flatItemCornerRadius() {
733
+ return this.i.az;
734
+ }
735
+ set flatItemCornerRadius(v) {
736
+ this.i.az = +v;
737
+ this._a("flatItemCornerRadius", this.i.az);
738
+ }
739
+ /**
740
+ * Gets or sets the color to use the background of the buttons in the group when type is flat.
741
+ */
742
+ get flatItemBackgroundColor() {
743
+ return brushToString(this.i.hb);
744
+ }
745
+ set flatItemBackgroundColor(v) {
746
+ this.i.hb = stringToBrush(v);
747
+ this._a("flatItemBackgroundColor", brushToString(this.i.hb));
748
+ }
749
+ /**
750
+ * Gets or sets the disabled color to use the background of the buttons in the group when type is flat.
751
+ */
752
+ get flatItemDisabledBackgroundColor() {
753
+ return brushToString(this.i.hd);
754
+ }
755
+ set flatItemDisabledBackgroundColor(v) {
756
+ this.i.hd = stringToBrush(v);
757
+ this._a("flatItemDisabledBackgroundColor", brushToString(this.i.hd));
758
+ }
759
+ /**
760
+ * Gets or sets the color to use the text of the buttons in the group when type is flat.
761
+ */
762
+ get flatItemTextColor() {
763
+ return brushToString(this.i.hi);
764
+ }
765
+ set flatItemTextColor(v) {
766
+ this.i.hi = stringToBrush(v);
767
+ this._a("flatItemTextColor", brushToString(this.i.hi));
768
+ }
769
+ /**
770
+ * Gets or sets the disabled color to use the text of the buttons in the group when type is flat.
771
+ */
772
+ get flatItemDisabledTextColor() {
773
+ return brushToString(this.i.hf);
774
+ }
775
+ set flatItemDisabledTextColor(v) {
776
+ this.i.hf = stringToBrush(v);
777
+ this._a("flatItemDisabledTextColor", brushToString(this.i.hf));
778
+ }
779
+ /**
780
+ * Gets or sets the color to use the hovered background of the buttons in the group when type is flat.
781
+ */
782
+ get flatItemHoverBackgroundColor() {
783
+ return brushToString(this.i.hg);
784
+ }
785
+ set flatItemHoverBackgroundColor(v) {
786
+ this.i.hg = stringToBrush(v);
787
+ this._a("flatItemHoverBackgroundColor", brushToString(this.i.hg));
788
+ }
789
+ /**
790
+ * Gets or sets the color to use the border of the buttons in the group when type is flat.
791
+ */
792
+ get flatItemBorderColor() {
793
+ return brushToString(this.i.hc);
794
+ }
795
+ set flatItemBorderColor(v) {
796
+ this.i.hc = stringToBrush(v);
797
+ this._a("flatItemBorderColor", brushToString(this.i.hc));
798
+ }
799
+ /**
800
+ * Gets or sets the disabled color to use the border of the buttons in the group when type is flat.
801
+ */
802
+ get flatItemDisabledBorderColor() {
803
+ return brushToString(this.i.he);
804
+ }
805
+ set flatItemDisabledBorderColor(v) {
806
+ this.i.he = stringToBrush(v);
807
+ this._a("flatItemDisabledBorderColor", brushToString(this.i.he));
808
+ }
809
+ /**
810
+ * Gets or sets the border width to use for the buttons in the group when type is flat.
811
+ */
812
+ get flatItemBorderWidth() {
813
+ return this.i.ay;
814
+ }
815
+ set flatItemBorderWidth(v) {
816
+ this.i.ay = +v;
817
+ this._a("flatItemBorderWidth", this.i.ay);
818
+ }
819
+ /**
820
+ * Gets or sets the color to use the hovered text of the buttons in the group when type is flat.
821
+ */
822
+ get flatItemHoverTextColor() {
823
+ return brushToString(this.i.hh);
824
+ }
825
+ set flatItemHoverTextColor(v) {
826
+ this.i.hh = stringToBrush(v);
827
+ this._a("flatItemHoverTextColor", brushToString(this.i.hh));
828
+ }
829
+ /**
830
+ * Gets or sets the color to use the background of the buttons in the group that are selected when type is flat.
831
+ */
832
+ get flatSelectedItemBackgroundColor() {
833
+ return brushToString(this.i.hj);
834
+ }
835
+ set flatSelectedItemBackgroundColor(v) {
836
+ this.i.hj = stringToBrush(v);
837
+ this._a("flatSelectedItemBackgroundColor", brushToString(this.i.hj));
838
+ }
839
+ /**
840
+ * Gets or sets the color to use the text of the buttons in the group that are selected when type is flat.
841
+ */
842
+ get flatSelectedItemTextColor() {
843
+ return brushToString(this.i.hm);
844
+ }
845
+ set flatSelectedItemTextColor(v) {
846
+ this.i.hm = stringToBrush(v);
847
+ this._a("flatSelectedItemTextColor", brushToString(this.i.hm));
848
+ }
849
+ /**
850
+ * Gets or sets the color to use the hovered background of the buttons in the group that are selected when type is flat.
851
+ */
852
+ get flatSelectedItemHoverBackgroundColor() {
853
+ return brushToString(this.i.hk);
854
+ }
855
+ set flatSelectedItemHoverBackgroundColor(v) {
856
+ this.i.hk = stringToBrush(v);
857
+ this._a("flatSelectedItemHoverBackgroundColor", brushToString(this.i.hk));
858
+ }
859
+ /**
860
+ * Gets or sets the color to use the hovered text of the buttons in the group that are selected when type is flat.
861
+ */
862
+ get flatSelectedItemHoverTextColor() {
863
+ return brushToString(this.i.hl);
864
+ }
865
+ set flatSelectedItemHoverTextColor(v) {
866
+ this.i.hl = stringToBrush(v);
867
+ this._a("flatSelectedItemHoverTextColor", brushToString(this.i.hl));
868
+ }
869
+ /**
870
+ * Gets or sets the oreientation to use the button group when type is outlined.
871
+ */
872
+ get orientation() {
873
+ return this.i.r;
874
+ }
875
+ set orientation(v) {
876
+ this.i.r = ensureEnum(ButtonGroupOrientation_$type, v);
877
+ this._a("orientation", enumToString(ButtonGroupOrientation_$type, this.i.r));
878
+ }
879
+ /**
880
+ * Gets or sets the id to use for the button group.
881
+ */
882
+ get id() {
883
+ return this.i.b5;
884
+ }
885
+ set id(v) {
886
+ this.i.b5 = v;
887
+ }
888
+ /**
889
+ * Gets or sets whether the checkbox is disabled.
890
+ */
891
+ get disabled() {
892
+ return this.i.disabled;
893
+ }
894
+ set disabled(v) {
895
+ this.i.disabled = ensureBool(v);
896
+ this._a("disabled", this.i.disabled);
897
+ }
898
+ /**
899
+ * Gets or sets whether the group supports multi-select.
900
+ */
901
+ get isMultiSelect() {
902
+ return this.i.z;
903
+ }
904
+ set isMultiSelect(v) {
905
+ this.i.z = ensureBool(v);
906
+ this._a("isMultiSelect", this.i.z);
907
+ }
908
+ findByName(name) {
909
+ if (this.buttons != null && this.buttons.findByName && this.buttons.findByName(name)) {
910
+ return this.buttons.findByName(name);
911
+ }
912
+ return null;
913
+ }
914
+ get hasUserValues() {
915
+ return this._hasUserValues;
916
+ }
917
+ __m(propertyName) {
918
+ if (!this._inStyling) {
919
+ this._hasUserValues.add(propertyName);
920
+ }
921
+ }
922
+ _styling(container, component, parent) {
923
+ if (this._inStyling) {
924
+ return;
925
+ }
926
+ this._inStyling = true;
927
+ this._stylingContainer = container;
928
+ this._stylingParent = component;
929
+ let genericPrefix = "";
930
+ let typeName = this.i.$type.name;
931
+ if (typeName.indexOf("Xam") === 0) {
932
+ typeName = typeName.substring(3);
933
+ }
934
+ genericPrefix = toSpinal("ButtonGroupComponent");
935
+ let additionalPrefixes = [];
936
+ let prefix = toSpinal(typeName);
937
+ additionalPrefixes.push(prefix + "-");
938
+ let b = this.i.$type.baseType;
939
+ while (b && b.name != "Object" &&
940
+ b.name != "Base" &&
941
+ b.name != "Control" &&
942
+ b.Name != "DependencyObject" &&
943
+ b.Name != "FrameworkElement") {
944
+ typeName = b.name;
945
+ if (typeName.indexOf("Xam") === 0) {
946
+ typeName = typeName.substring(3);
947
+ }
948
+ let basePrefix = toSpinal(typeName);
949
+ additionalPrefixes.push(basePrefix + "-");
950
+ b = b.baseType;
951
+ }
952
+ if (parent) {
953
+ let parentTypeName = parent.i.$type.name;
954
+ if (parentTypeName.indexOf("Xam") === 0) {
955
+ parentTypeName = parentTypeName.substring(3);
956
+ }
957
+ let parentPrefix = toSpinal(parentTypeName);
958
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
959
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
960
+ }
961
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
962
+ if (this._otherStyling) {
963
+ this._otherStyling(container, component, parent);
964
+ }
965
+ this._inStyling = false;
966
+ }
967
+ onDetachedFromUI() {
968
+ this.i.onDetachedFromUI();
969
+ }
970
+ onAttachedToUI() {
971
+ this.i.onAttachedToUI();
972
+ }
973
+ /**
974
+ * Exports visual information about the current state of the grid.
975
+
976
+ */
977
+ exportVisualModel() {
978
+ let iv = this.i.a5();
979
+ return (iv);
980
+ }
981
+ /**
982
+ * Returns a serialized copy of the exported visual model
983
+
984
+ */
985
+ exportSerializedVisualModel() {
986
+ let iv = this.i.bq();
987
+ return (iv);
988
+ }
989
+ get selectionChanged() {
990
+ return this._selectionChanged;
991
+ }
992
+ set selectionChanged(ev) {
993
+ if (this._selectionChanged_wrapped !== null) {
994
+ this.i.selectionChanged = delegateRemove(this.i.selectionChanged, this._selectionChanged_wrapped);
995
+ this._selectionChanged_wrapped = null;
996
+ this._selectionChanged = null;
997
+ }
998
+ this._selectionChanged = ev;
999
+ this._selectionChanged_wrapped = (o, e) => {
1000
+ let outerArgs = new IgcButtonGroupSelectionChangedEventArgs();
1001
+ outerArgs._provideImplementation(e);
1002
+ if (this.beforeSelectionChanged) {
1003
+ this.beforeSelectionChanged(this, outerArgs);
1004
+ }
1005
+ if (this._selectionChanged) {
1006
+ this._selectionChanged(this, outerArgs);
1007
+ }
1008
+ };
1009
+ this.i.selectionChanged = delegateCombine(this.i.selectionChanged, this._selectionChanged_wrapped);
1010
+ }
1011
+ }
1012
+ IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent = null;
1013
+ IgcButtonGroupComponent.htmlTagName = "igc-button-group";
1014
+ IgcButtonGroupComponent._isElementRegistered = false;
1015
+ return IgcButtonGroupComponent;
1016
+ })();
1017
+ //# sourceMappingURL=igc-button-group-component.js.map