igniteui-webcomponents-layouts 3.2.3 → 3.5.0

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 (279) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +7675 -276
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/IExternalListPanel.js +11 -0
  4. package/esm2015/lib/IExternalToolPanel.js +11 -0
  5. package/esm2015/lib/IExternalToolbar.js +11 -0
  6. package/esm2015/lib/IListPanelView.js +11 -0
  7. package/esm2015/lib/IPropertyEditorPanelView.js +11 -0
  8. package/esm2015/lib/IToolPanelView.js +11 -0
  9. package/esm2015/lib/IToolbarView.js +11 -0
  10. package/esm2015/lib/ListPanel.js +7 -0
  11. package/esm2015/lib/ListPanelContentRefreshedEventArgs.js +19 -0
  12. package/esm2015/lib/ListPanelDataBindingEventArgs.js +22 -0
  13. package/esm2015/lib/ListPanelDataSourceNotificationBridge.js +7 -0
  14. package/esm2015/lib/ListPanelItemModel.js +62 -0
  15. package/esm2015/lib/ListPanelItemPresenter.js +20 -0
  16. package/esm2015/lib/ListPanelLayoutPanel.js +7 -0
  17. package/esm2015/lib/ListPanelOrientation.js +16 -0
  18. package/esm2015/lib/ListPanelTemplateHeightRequestedEventArgs.js +22 -0
  19. package/esm2015/lib/ListPanelTemplateItemUpdatingEventArgs.js +22 -0
  20. package/esm2015/lib/ListPanelTemplateWidthRequestedEventArgs.js +22 -0
  21. package/esm2015/lib/ListPanelView.js +7 -0
  22. package/esm2015/lib/ListPanelView_combined.js +972 -0
  23. package/esm2015/lib/PropertyEditorPanelView_combined.js +106 -106
  24. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +84 -58
  25. package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -0
  26. package/esm2015/lib/PropertyEditorValueType.js +2 -1
  27. package/esm2015/lib/ToolAction.js +7 -0
  28. package/esm2015/lib/ToolActionCheckbox.js +7 -0
  29. package/esm2015/lib/ToolActionCollection.js +7 -0
  30. package/esm2015/lib/ToolActionEventDetail.js +7 -0
  31. package/esm2015/lib/ToolActionEventDetailCollection.js +7 -0
  32. package/esm2015/lib/ToolActionGroupHeader.js +7 -0
  33. package/esm2015/lib/ToolActionIconButton.js +7 -0
  34. package/esm2015/lib/ToolActionIconMenu.js +7 -0
  35. package/esm2015/lib/ToolActionLabel.js +7 -0
  36. package/esm2015/lib/ToolActionMeasurementContext.js +31 -0
  37. package/esm2015/lib/ToolActionMenuBase.js +7 -0
  38. package/esm2015/lib/ToolActionNumberInput.js +7 -0
  39. package/esm2015/lib/ToolActionPerformedEventArgs.js +7 -0
  40. package/esm2015/lib/ToolActionRadio.js +7 -0
  41. package/esm2015/lib/ToolActionSeparator.js +7 -0
  42. package/esm2015/lib/ToolCommandEventArgs.js +20 -0
  43. package/esm2015/lib/ToolPanel.js +7 -0
  44. package/esm2015/lib/ToolPanelContentRefreshedEventArgs.js +19 -0
  45. package/esm2015/lib/ToolPanelOrientation.js +16 -0
  46. package/esm2015/lib/ToolPanelView.js +7 -0
  47. package/esm2015/lib/ToolPanelView_combined.js +1699 -0
  48. package/esm2015/lib/Toolbar.js +7 -0
  49. package/esm2015/lib/ToolbarIconManager.js +40 -0
  50. package/esm2015/lib/ToolbarOrientation.js +16 -0
  51. package/esm2015/lib/ToolbarView.js +7 -0
  52. package/esm2015/lib/ToolbarView_combined.js +387 -0
  53. package/esm2015/lib/igc-list-panel-component.js +466 -0
  54. package/esm2015/lib/igc-list-panel-content-refreshed-event-args.js +24 -0
  55. package/esm2015/lib/igc-list-panel-item-model.js +57 -0
  56. package/esm2015/lib/igc-list-panel-module.js +17 -0
  57. package/esm2015/lib/igc-list-panel-template-height-requested-event-args.js +42 -0
  58. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +51 -0
  59. package/esm2015/lib/igc-list-panel-template-width-requested-event-args.js +42 -0
  60. package/esm2015/lib/igc-popup-component.js +7 -0
  61. package/esm2015/lib/igc-property-editor-data-source.js +7 -2
  62. package/esm2015/lib/igc-property-editor-description-object.js +5 -0
  63. package/esm2015/lib/igc-property-editor-panel-component.js +6 -5
  64. package/esm2015/lib/igc-property-editor-property-description-component.js +33 -5
  65. package/esm2015/lib/igc-tool-action-checkbox-component.js +63 -0
  66. package/esm2015/lib/igc-tool-action-checkbox-module.js +16 -0
  67. package/esm2015/lib/igc-tool-action-collection.js +48 -0
  68. package/esm2015/lib/igc-tool-action-component.js +333 -0
  69. package/esm2015/lib/igc-tool-action-event-detail-collection.js +48 -0
  70. package/esm2015/lib/igc-tool-action-event-detail.js +91 -0
  71. package/esm2015/lib/igc-tool-action-group-header-component.js +63 -0
  72. package/esm2015/lib/igc-tool-action-group-header-module.js +16 -0
  73. package/esm2015/lib/igc-tool-action-icon-button-component.js +63 -0
  74. package/esm2015/lib/igc-tool-action-icon-button-module.js +16 -0
  75. package/esm2015/lib/igc-tool-action-icon-menu-component.js +63 -0
  76. package/esm2015/lib/igc-tool-action-icon-menu-module.js +16 -0
  77. package/esm2015/lib/igc-tool-action-label-component.js +63 -0
  78. package/esm2015/lib/igc-tool-action-label-module.js +16 -0
  79. package/esm2015/lib/igc-tool-action-menu-base-component.js +103 -0
  80. package/esm2015/lib/igc-tool-action-module.js +16 -0
  81. package/esm2015/lib/igc-tool-action-number-input-component.js +63 -0
  82. package/esm2015/lib/igc-tool-action-number-input-module.js +16 -0
  83. package/esm2015/lib/igc-tool-action-performed-event-args.js +86 -0
  84. package/esm2015/lib/igc-tool-action-radio-component.js +69 -0
  85. package/esm2015/lib/igc-tool-action-radio-module.js +16 -0
  86. package/esm2015/lib/igc-tool-action-separator-component.js +63 -0
  87. package/esm2015/lib/igc-tool-action-separator-module.js +16 -0
  88. package/esm2015/lib/igc-tool-command-event-args.js +30 -0
  89. package/esm2015/lib/igc-tool-panel-component.js +386 -0
  90. package/esm2015/lib/igc-tool-panel-content-refreshed-event-args.js +24 -0
  91. package/esm2015/lib/igc-tool-panel-module.js +29 -0
  92. package/esm2015/lib/igc-toolbar-component.js +417 -0
  93. package/esm2015/lib/igc-toolbar-module.js +19 -0
  94. package/esm2015/lib/igc-x-expansion-panel-component.js +7 -0
  95. package/esm2015/public_api.js +79 -0
  96. package/esm5/lib/IExternalListPanel.js +11 -0
  97. package/esm5/lib/IExternalToolPanel.js +11 -0
  98. package/esm5/lib/IExternalToolbar.js +11 -0
  99. package/esm5/lib/IListPanelView.js +11 -0
  100. package/esm5/lib/IPropertyEditorPanelView.js +11 -0
  101. package/esm5/lib/IToolPanelView.js +11 -0
  102. package/esm5/lib/IToolbarView.js +11 -0
  103. package/esm5/lib/ListPanel.js +7 -0
  104. package/esm5/lib/ListPanelContentRefreshedEventArgs.js +20 -0
  105. package/esm5/lib/ListPanelDataBindingEventArgs.js +24 -0
  106. package/esm5/lib/ListPanelDataSourceNotificationBridge.js +7 -0
  107. package/esm5/lib/ListPanelItemModel.js +80 -0
  108. package/esm5/lib/ListPanelItemPresenter.js +22 -0
  109. package/esm5/lib/ListPanelLayoutPanel.js +7 -0
  110. package/esm5/lib/ListPanelOrientation.js +16 -0
  111. package/esm5/lib/ListPanelTemplateHeightRequestedEventArgs.js +24 -0
  112. package/esm5/lib/ListPanelTemplateItemUpdatingEventArgs.js +24 -0
  113. package/esm5/lib/ListPanelTemplateWidthRequestedEventArgs.js +24 -0
  114. package/esm5/lib/ListPanelView.js +7 -0
  115. package/esm5/lib/ListPanelView_combined.js +1045 -0
  116. package/esm5/lib/PropertyEditorPanelView_combined.js +106 -106
  117. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +82 -57
  118. package/esm5/lib/PropertyEditorTreeTransformer.js +1 -0
  119. package/esm5/lib/PropertyEditorValueType.js +2 -1
  120. package/esm5/lib/ToolAction.js +7 -0
  121. package/esm5/lib/ToolActionCheckbox.js +7 -0
  122. package/esm5/lib/ToolActionCollection.js +7 -0
  123. package/esm5/lib/ToolActionEventDetail.js +7 -0
  124. package/esm5/lib/ToolActionEventDetailCollection.js +7 -0
  125. package/esm5/lib/ToolActionGroupHeader.js +7 -0
  126. package/esm5/lib/ToolActionIconButton.js +7 -0
  127. package/esm5/lib/ToolActionIconMenu.js +7 -0
  128. package/esm5/lib/ToolActionLabel.js +7 -0
  129. package/esm5/lib/ToolActionMeasurementContext.js +33 -0
  130. package/esm5/lib/ToolActionMenuBase.js +7 -0
  131. package/esm5/lib/ToolActionNumberInput.js +7 -0
  132. package/esm5/lib/ToolActionPerformedEventArgs.js +7 -0
  133. package/esm5/lib/ToolActionRadio.js +7 -0
  134. package/esm5/lib/ToolActionSeparator.js +7 -0
  135. package/esm5/lib/ToolCommandEventArgs.js +22 -0
  136. package/esm5/lib/ToolPanel.js +7 -0
  137. package/esm5/lib/ToolPanelContentRefreshedEventArgs.js +20 -0
  138. package/esm5/lib/ToolPanelOrientation.js +16 -0
  139. package/esm5/lib/ToolPanelView.js +7 -0
  140. package/esm5/lib/ToolPanelView_combined.js +1853 -0
  141. package/esm5/lib/Toolbar.js +7 -0
  142. package/esm5/lib/ToolbarIconManager.js +44 -0
  143. package/esm5/lib/ToolbarOrientation.js +16 -0
  144. package/esm5/lib/ToolbarView.js +7 -0
  145. package/esm5/lib/ToolbarView_combined.js +459 -0
  146. package/esm5/lib/igc-list-panel-component.js +544 -0
  147. package/esm5/lib/igc-list-panel-content-refreshed-event-args.js +30 -0
  148. package/esm5/lib/igc-list-panel-item-model.js +79 -0
  149. package/esm5/lib/igc-list-panel-module.js +21 -0
  150. package/esm5/lib/igc-list-panel-template-height-requested-event-args.js +60 -0
  151. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +65 -0
  152. package/esm5/lib/igc-list-panel-template-width-requested-event-args.js +60 -0
  153. package/esm5/lib/igc-popup-component.js +7 -0
  154. package/esm5/lib/igc-property-editor-data-source.js +7 -2
  155. package/esm5/lib/igc-property-editor-description-object.js +5 -0
  156. package/esm5/lib/igc-property-editor-panel-component.js +6 -5
  157. package/esm5/lib/igc-property-editor-property-description-component.js +33 -5
  158. package/esm5/lib/igc-tool-action-checkbox-component.js +72 -0
  159. package/esm5/lib/igc-tool-action-checkbox-module.js +20 -0
  160. package/esm5/lib/igc-tool-action-collection.js +53 -0
  161. package/esm5/lib/igc-tool-action-component.js +409 -0
  162. package/esm5/lib/igc-tool-action-event-detail-collection.js +53 -0
  163. package/esm5/lib/igc-tool-action-event-detail.js +125 -0
  164. package/esm5/lib/igc-tool-action-group-header-component.js +72 -0
  165. package/esm5/lib/igc-tool-action-group-header-module.js +20 -0
  166. package/esm5/lib/igc-tool-action-icon-button-component.js +72 -0
  167. package/esm5/lib/igc-tool-action-icon-button-module.js +20 -0
  168. package/esm5/lib/igc-tool-action-icon-menu-component.js +72 -0
  169. package/esm5/lib/igc-tool-action-icon-menu-module.js +20 -0
  170. package/esm5/lib/igc-tool-action-label-component.js +72 -0
  171. package/esm5/lib/igc-tool-action-label-module.js +20 -0
  172. package/esm5/lib/igc-tool-action-menu-base-component.js +117 -0
  173. package/esm5/lib/igc-tool-action-module.js +20 -0
  174. package/esm5/lib/igc-tool-action-number-input-component.js +72 -0
  175. package/esm5/lib/igc-tool-action-number-input-module.js +20 -0
  176. package/esm5/lib/igc-tool-action-performed-event-args.js +104 -0
  177. package/esm5/lib/igc-tool-action-radio-component.js +82 -0
  178. package/esm5/lib/igc-tool-action-radio-module.js +20 -0
  179. package/esm5/lib/igc-tool-action-separator-component.js +72 -0
  180. package/esm5/lib/igc-tool-action-separator-module.js +20 -0
  181. package/esm5/lib/igc-tool-command-event-args.js +40 -0
  182. package/esm5/lib/igc-tool-panel-component.js +456 -0
  183. package/esm5/lib/igc-tool-panel-content-refreshed-event-args.js +30 -0
  184. package/esm5/lib/igc-tool-panel-module.js +33 -0
  185. package/esm5/lib/igc-toolbar-component.js +489 -0
  186. package/esm5/lib/igc-toolbar-module.js +23 -0
  187. package/esm5/lib/igc-x-expansion-panel-component.js +7 -0
  188. package/esm5/public_api.js +79 -0
  189. package/fesm2015/igniteui-webcomponents-layouts.js +6751 -262
  190. package/fesm5/igniteui-webcomponents-layouts.js +7595 -278
  191. package/lib/IExternalListPanel.d.ts +13 -0
  192. package/lib/IExternalToolPanel.d.ts +13 -0
  193. package/lib/IExternalToolbar.d.ts +13 -0
  194. package/lib/IListPanelView.d.ts +25 -0
  195. package/lib/IPropertyEditorPanelView.d.ts +26 -0
  196. package/lib/IToolPanelView.d.ts +25 -0
  197. package/lib/IToolbarView.d.ts +25 -0
  198. package/lib/ListPanel.d.ts +1 -0
  199. package/lib/ListPanelContentRefreshedEventArgs.d.ts +8 -0
  200. package/lib/ListPanelDataBindingEventArgs.d.ts +10 -0
  201. package/lib/ListPanelDataSourceNotificationBridge.d.ts +1 -0
  202. package/lib/ListPanelItemModel.d.ts +22 -0
  203. package/lib/ListPanelItemPresenter.d.ts +9 -0
  204. package/lib/ListPanelLayoutPanel.d.ts +1 -0
  205. package/lib/ListPanelOrientation.d.ts +9 -0
  206. package/lib/ListPanelTemplateHeightRequestedEventArgs.d.ts +10 -0
  207. package/lib/ListPanelTemplateItemUpdatingEventArgs.d.ts +12 -0
  208. package/lib/ListPanelTemplateWidthRequestedEventArgs.d.ts +10 -0
  209. package/lib/ListPanelView.d.ts +1 -0
  210. package/lib/ListPanelView_combined.d.ts +197 -0
  211. package/lib/PropertyEditorPanelView_combined.d.ts +1 -1
  212. package/lib/PropertyEditorPropertyDescription_combined.d.ts +13 -10
  213. package/lib/PropertyEditorValueType.d.ts +2 -1
  214. package/lib/ToolAction.d.ts +1 -0
  215. package/lib/ToolActionCheckbox.d.ts +1 -0
  216. package/lib/ToolActionCollection.d.ts +1 -0
  217. package/lib/ToolActionEventDetail.d.ts +1 -0
  218. package/lib/ToolActionEventDetailCollection.d.ts +1 -0
  219. package/lib/ToolActionGroupHeader.d.ts +1 -0
  220. package/lib/ToolActionIconButton.d.ts +1 -0
  221. package/lib/ToolActionIconMenu.d.ts +1 -0
  222. package/lib/ToolActionLabel.d.ts +1 -0
  223. package/lib/ToolActionMeasurementContext.d.ts +16 -0
  224. package/lib/ToolActionMenuBase.d.ts +1 -0
  225. package/lib/ToolActionNumberInput.d.ts +1 -0
  226. package/lib/ToolActionPerformedEventArgs.d.ts +1 -0
  227. package/lib/ToolActionRadio.d.ts +1 -0
  228. package/lib/ToolActionSeparator.d.ts +1 -0
  229. package/lib/ToolCommandEventArgs.d.ts +10 -0
  230. package/lib/ToolPanel.d.ts +1 -0
  231. package/lib/ToolPanelContentRefreshedEventArgs.d.ts +8 -0
  232. package/lib/ToolPanelOrientation.d.ts +9 -0
  233. package/lib/ToolPanelView.d.ts +1 -0
  234. package/lib/ToolPanelView_combined.d.ts +355 -0
  235. package/lib/Toolbar.d.ts +1 -0
  236. package/lib/ToolbarIconManager.d.ts +10 -0
  237. package/lib/ToolbarOrientation.d.ts +9 -0
  238. package/lib/ToolbarView.d.ts +1 -0
  239. package/lib/ToolbarView_combined.d.ts +98 -0
  240. package/lib/igc-list-panel-component.d.ts +122 -0
  241. package/lib/igc-list-panel-content-refreshed-event-args.d.ts +12 -0
  242. package/lib/igc-list-panel-item-model.d.ts +17 -0
  243. package/lib/igc-list-panel-module.d.ts +3 -0
  244. package/lib/igc-list-panel-template-height-requested-event-args.d.ts +15 -0
  245. package/lib/igc-list-panel-template-item-updating-event-args.d.ts +15 -0
  246. package/lib/igc-list-panel-template-width-requested-event-args.d.ts +15 -0
  247. package/lib/igc-property-editor-panel-component.d.ts +0 -2
  248. package/lib/igc-property-editor-property-description-component.d.ts +1 -0
  249. package/lib/igc-tool-action-checkbox-component.d.ts +17 -0
  250. package/lib/igc-tool-action-checkbox-module.d.ts +3 -0
  251. package/lib/igc-tool-action-collection.d.ts +8 -0
  252. package/lib/igc-tool-action-component.d.ts +65 -0
  253. package/lib/igc-tool-action-event-detail-collection.d.ts +8 -0
  254. package/lib/igc-tool-action-event-detail.d.ts +22 -0
  255. package/lib/igc-tool-action-group-header-component.d.ts +17 -0
  256. package/lib/igc-tool-action-group-header-module.d.ts +3 -0
  257. package/lib/igc-tool-action-icon-button-component.d.ts +17 -0
  258. package/lib/igc-tool-action-icon-button-module.d.ts +3 -0
  259. package/lib/igc-tool-action-icon-menu-component.d.ts +17 -0
  260. package/lib/igc-tool-action-icon-menu-module.d.ts +3 -0
  261. package/lib/igc-tool-action-label-component.d.ts +17 -0
  262. package/lib/igc-tool-action-label-module.d.ts +3 -0
  263. package/lib/igc-tool-action-menu-base-component.d.ts +25 -0
  264. package/lib/igc-tool-action-module.d.ts +3 -0
  265. package/lib/igc-tool-action-number-input-component.d.ts +17 -0
  266. package/lib/igc-tool-action-number-input-module.d.ts +3 -0
  267. package/lib/igc-tool-action-performed-event-args.d.ts +18 -0
  268. package/lib/igc-tool-action-radio-component.d.ts +18 -0
  269. package/lib/igc-tool-action-radio-module.d.ts +3 -0
  270. package/lib/igc-tool-action-separator-component.d.ts +17 -0
  271. package/lib/igc-tool-action-separator-module.d.ts +3 -0
  272. package/lib/igc-tool-command-event-args.d.ts +14 -0
  273. package/lib/igc-tool-panel-component.d.ts +83 -0
  274. package/lib/igc-tool-panel-content-refreshed-event-args.d.ts +12 -0
  275. package/lib/igc-tool-panel-module.d.ts +3 -0
  276. package/lib/igc-toolbar-component.d.ts +89 -0
  277. package/lib/igc-toolbar-module.d.ts +3 -0
  278. package/package.json +3 -3
  279. package/public_api.d.ts +79 -0
@@ -0,0 +1,972 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, runOn, Number_$type, delegateRemove, typeCast, delegateCombine, enumGetBox } from "igniteui-webcomponents-core";
8
+ import { RenderingContext } from "igniteui-webcomponents-core";
9
+ import { FontInfo } from "igniteui-webcomponents-core";
10
+ import { DOMExecutionContext } from "igniteui-webcomponents-core";
11
+ import { CanvasViewRenderer } from "igniteui-webcomponents-core";
12
+ import { NativeUIComponent } from "igniteui-webcomponents-core";
13
+ import { Size } from "igniteui-webcomponents-core";
14
+ import { NativeUI } from "igniteui-webcomponents-core";
15
+ import { FontUtil } from "igniteui-webcomponents-core";
16
+ import { SRProvider } from "igniteui-webcomponents-core";
17
+ import { IDataSource_$type } from "igniteui-webcomponents-core";
18
+ import { ListPanelOrientation_$type } from "./ListPanelOrientation";
19
+ import { DeviceUtils } from "igniteui-webcomponents-core";
20
+ import { FastIterationDictionary$2 } from "igniteui-webcomponents-core";
21
+ import { ListPanelItemModel } from "./ListPanelItemModel";
22
+ import { Stack$1 } from "igniteui-webcomponents-core";
23
+ import { List$1 } from "igniteui-webcomponents-core";
24
+ import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
25
+ import { ListPanelContentRefreshedEventArgs } from "./ListPanelContentRefreshedEventArgs";
26
+ import { ListPanelItemPresenter } from "./ListPanelItemPresenter";
27
+ import { ListPanelTemplateItemUpdatingEventArgs } from "./ListPanelTemplateItemUpdatingEventArgs";
28
+ import { ListPanelTemplateWidthRequestedEventArgs } from "./ListPanelTemplateWidthRequestedEventArgs";
29
+ import { ListPanelTemplateHeightRequestedEventArgs } from "./ListPanelTemplateHeightRequestedEventArgs";
30
+ import { BrushUtil } from "igniteui-webcomponents-core";
31
+ import { isNaN_ } from "igniteui-webcomponents-core";
32
+ import { IDataSourceUpdateNotifier_$type } from "igniteui-webcomponents-core";
33
+ /**
34
+ * @hidden
35
+ */
36
+ export let ListPanelView = /*@__PURE__*/ (() => {
37
+ class ListPanelView extends Base {
38
+ constructor() {
39
+ super();
40
+ this.n = null;
41
+ this.m = null;
42
+ this.a = null;
43
+ this.i = null;
44
+ this.l = null;
45
+ this.e = null;
46
+ this.k = null;
47
+ this.b = ((() => {
48
+ let $ret = new FontInfo();
49
+ $ret.n = "Verdana";
50
+ $ret.d = 13;
51
+ $ret.q = "Normal";
52
+ $ret.s = "Normal";
53
+ $ret.o = "Normal";
54
+ return $ret;
55
+ })());
56
+ this.aa = new Size();
57
+ this.c = null;
58
+ this._gridExternal = null;
59
+ this.f = false;
60
+ this.j = null;
61
+ }
62
+ p() {
63
+ return this.i;
64
+ }
65
+ v() {
66
+ }
67
+ t(a) {
68
+ if (a == null) {
69
+ this.i = null;
70
+ return;
71
+ }
72
+ this.a.c = new DOMExecutionContext(a);
73
+ this.i = a;
74
+ this.l = this.i.createElement("canvas");
75
+ this.e = new RenderingContext(new CanvasViewRenderer(), this.i.get2DCanvasContext(this.l));
76
+ this.k = this.i.createElement("div");
77
+ this.y();
78
+ NativeUIComponent.aa(this.p(), 9, (b) => {
79
+ let c = b;
80
+ this.a.bv(c);
81
+ this.i.append(c.v);
82
+ });
83
+ let b = Math.round(a.rootWrapper.width());
84
+ let c = Math.round(a.rootWrapper.height());
85
+ this.i.rootWrapper.setStyleProperty("position", "relative");
86
+ }
87
+ y() {
88
+ }
89
+ x() {
90
+ if (this.i != null) {
91
+ }
92
+ }
93
+ s() {
94
+ if (this.i == null) {
95
+ return;
96
+ }
97
+ let a = this.i.rootWrapper.width();
98
+ let b = this.i.rootWrapper.height();
99
+ this.aa = new Size(1, a, b);
100
+ if (this.a.u != null) {
101
+ this.a.cp();
102
+ }
103
+ }
104
+ z() {
105
+ let a = this.i;
106
+ if (null == a) {
107
+ return;
108
+ }
109
+ let b = a.rootWrapper;
110
+ if (null != b) {
111
+ NativeUI.o(b, this.a.cv);
112
+ NativeUI.k(b, this.a.cs);
113
+ }
114
+ }
115
+ d() {
116
+ return this.b;
117
+ }
118
+ u() {
119
+ }
120
+ w() {
121
+ }
122
+ r() {
123
+ }
124
+ g() {
125
+ return this.aa.width;
126
+ }
127
+ h(a) {
128
+ this.c = this.a.t();
129
+ return FontUtil.measureStringWidth(a, this.c, this.e);
130
+ }
131
+ q(a, b) {
132
+ if (this.j == null) {
133
+ this.j = this.i.createElement("div");
134
+ }
135
+ b(this.j.getNativeElement());
136
+ }
137
+ }
138
+ ListPanelView.$t = /*@__PURE__*/ markType(ListPanelView, 'ListPanelView');
139
+ return ListPanelView;
140
+ })();
141
+ /**
142
+ * @hidden
143
+ */
144
+ export let ListPanel = /*@__PURE__*/ (() => {
145
+ class ListPanel extends Base {
146
+ constructor() {
147
+ super();
148
+ this.o = null;
149
+ this.u = null;
150
+ this.y = false;
151
+ this.v = null;
152
+ this.h = null;
153
+ this.propertyChanged = null;
154
+ this.a8 = null;
155
+ this.a = null;
156
+ this.ag = false;
157
+ this.a0 = -1;
158
+ this.ar = DeviceUtils.g(38);
159
+ this.r = null;
160
+ this.x = true;
161
+ this.a9 = null;
162
+ this.as = 0;
163
+ this.aq = NaN;
164
+ this.ap = 0;
165
+ this.ad = false;
166
+ this.z = false;
167
+ this.ac = false;
168
+ this.contentRefreshed = null;
169
+ this.rowUpdating = null;
170
+ this.q = new FastIterationDictionary$2(Number_$type, ListPanelItemModel.$, 0);
171
+ this.itemWidthRequested = null;
172
+ this.itemHeightRequested = null;
173
+ this.p = new FastIterationDictionary$2(ListPanelItemModel.$, ListPanelItemModel.$, 0);
174
+ this.ao = new Stack$1(ListPanelItemModel.$);
175
+ this.al = new List$1(Number_$type, 0);
176
+ this.ak = new List$1(Number_$type, 0);
177
+ this.an = new List$1(Number_$type, 0);
178
+ this.am = new List$1(Number_$type, 0);
179
+ this.ae = true;
180
+ this.ab = true;
181
+ this.ay = -1;
182
+ this.az = -1;
183
+ this.d = null;
184
+ this.c = null;
185
+ this.cq = ListPanel.ct;
186
+ this.i = ListPanel.j;
187
+ this.aa = ListPanel.af;
188
+ this.cr = ListPanel.cu;
189
+ NativeUIInputsFactory.m();
190
+ let a = new ListPanelView();
191
+ a.a = this;
192
+ this.o = a;
193
+ this.o.v();
194
+ }
195
+ get w() {
196
+ if (this.v == null) {
197
+ this.v = new SRProvider(this.o.i);
198
+ this.v.cb("Layouts");
199
+ }
200
+ return this.v;
201
+ }
202
+ bv(a) {
203
+ this.h = new ListPanelLayoutPanel(a);
204
+ }
205
+ cd(a) {
206
+ this.aq = a.width;
207
+ this.ch();
208
+ }
209
+ get itemsSource() {
210
+ return this.a8;
211
+ }
212
+ set itemsSource(a) {
213
+ let b = this.a8;
214
+ this.a8 = a;
215
+ if (b != this.a8) {
216
+ this.ca("ItemsSource", b, this.a8);
217
+ }
218
+ }
219
+ get actualDataSource() {
220
+ return this.a;
221
+ }
222
+ set actualDataSource(a) {
223
+ let b = this.a;
224
+ this.a = a;
225
+ if (this.a != b) {
226
+ this.ca("ActualDataSource", b, this.a);
227
+ }
228
+ }
229
+ notifySizeChanged() {
230
+ this.o.s();
231
+ }
232
+ destroy() {
233
+ this.provideContainer(null);
234
+ }
235
+ provideContainer(a) {
236
+ this.o.t(a);
237
+ }
238
+ get a7() {
239
+ return this.a0;
240
+ }
241
+ set a7(a) {
242
+ let b = this.a0;
243
+ this.a0 = a;
244
+ if (b != this.a0) {
245
+ this.ca("RowHeight", b, this.a0);
246
+ }
247
+ }
248
+ get av() {
249
+ return this.ar;
250
+ }
251
+ set av(a) {
252
+ this.ar = a;
253
+ }
254
+ get s() {
255
+ return this.r;
256
+ }
257
+ set s(a) {
258
+ let b = this.r;
259
+ this.r = a;
260
+ if (b != this.r) {
261
+ this.ca("CellTextStyle", b, this.r);
262
+ }
263
+ }
264
+ t() {
265
+ if (this.s == null) {
266
+ return this.o.d();
267
+ }
268
+ return this.s;
269
+ }
270
+ get ah() {
271
+ return this.k == 1;
272
+ }
273
+ ca(a, b, c) {
274
+ if (this.propertyChanged != null) {
275
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
276
+ }
277
+ this.ce(a, b, c);
278
+ }
279
+ bm(a, b) {
280
+ this.b8();
281
+ }
282
+ ch() {
283
+ if (this.ac) {
284
+ return;
285
+ }
286
+ this.ac = true;
287
+ this.c.enqueueAction(runOn(this, this.bo));
288
+ }
289
+ bo() {
290
+ if (!this.ac) {
291
+ return;
292
+ }
293
+ this.ac = false;
294
+ if (this.ab) {
295
+ this.bk();
296
+ }
297
+ if (this.ae) {
298
+ this.bl();
299
+ }
300
+ this.ci();
301
+ this.cl();
302
+ if (this.contentRefreshed != null) {
303
+ this.contentRefreshed(this, new ListPanelContentRefreshedEventArgs());
304
+ }
305
+ }
306
+ cl() {
307
+ for (let a = 0; a < this.p.o.count; a++) {
308
+ if (this.p.p._inner[a]) {
309
+ continue;
310
+ }
311
+ let b = this.p.o._inner[a];
312
+ let c = this.p.q._inner[a];
313
+ if (c.a != null) {
314
+ this.h.c(c.a.a);
315
+ }
316
+ }
317
+ let d = 0;
318
+ for (let e = 0; e < this.q.o.count; e++) {
319
+ if (this.q.p._inner[e]) {
320
+ continue;
321
+ }
322
+ let f = this.q.o._inner[e];
323
+ let g = this.q.q._inner[e];
324
+ this.br(g);
325
+ this.bp(g);
326
+ this.h.b(this, g);
327
+ }
328
+ }
329
+ bp(a) {
330
+ if (a.e) {
331
+ a.e = false;
332
+ this.bs(a);
333
+ }
334
+ }
335
+ bs(a) {
336
+ if (this.rowUpdating != null) {
337
+ this.rowUpdating(this, ((() => {
338
+ let $ret = new ListPanelTemplateItemUpdatingEventArgs();
339
+ $ret.a = a;
340
+ $ret.b = a.a.a;
341
+ $ret.c = a.a.a.v;
342
+ return $ret;
343
+ })()));
344
+ }
345
+ }
346
+ br(a) {
347
+ if (a.a != null) {
348
+ return;
349
+ }
350
+ a.a = new ListPanelItemPresenter();
351
+ NativeUIComponent.ac(this.o.p(), 0, (b) => {
352
+ let c = b;
353
+ if (this.k == 0) {
354
+ c.d = 3;
355
+ }
356
+ else {
357
+ c.d = 0;
358
+ }
359
+ a.a.a = c;
360
+ });
361
+ }
362
+ bl() {
363
+ if (!this.ae) {
364
+ return;
365
+ }
366
+ this.ae = false;
367
+ this.bu();
368
+ this.ay = this.a5();
369
+ this.az = this.a6();
370
+ let a = new List$1(Number_$type, 0);
371
+ for (let b = 0; b < this.q.o.count; b++) {
372
+ if (this.q.p._inner[b]) {
373
+ continue;
374
+ }
375
+ let c = this.q.o._inner[b];
376
+ let d = this.q.q._inner[b];
377
+ if (c < this.ay || c > this.az) {
378
+ a.add(c);
379
+ }
380
+ }
381
+ for (let e = 0; e < a.count; e++) {
382
+ this.co(a._inner[e]);
383
+ }
384
+ for (let f = this.ay; f <= this.az; f++) {
385
+ this.bq(f);
386
+ let g = this.q.item(f);
387
+ g.k = this.ax(f);
388
+ g.i = this.aw(f);
389
+ }
390
+ }
391
+ aw(a) {
392
+ if (this.k == 0) {
393
+ return 0;
394
+ }
395
+ else {
396
+ return this.an._inner[a];
397
+ }
398
+ }
399
+ ax(a) {
400
+ if (this.k == 1) {
401
+ return 0;
402
+ }
403
+ else {
404
+ if (this.ai) {
405
+ return this.al._inner[a];
406
+ }
407
+ else {
408
+ return a * this.av;
409
+ }
410
+ }
411
+ }
412
+ bq(a) {
413
+ if (this.q.d(a)) {
414
+ return;
415
+ }
416
+ let b = this.g(a);
417
+ if (b.c) {
418
+ this.p.f(b);
419
+ b.c = false;
420
+ }
421
+ this.q.s(a, b);
422
+ }
423
+ g(a) {
424
+ if (this.ao.f > 0) {
425
+ return this.ao.e();
426
+ }
427
+ let b = new ListPanelItemModel();
428
+ b.l = a;
429
+ b.j = this.av;
430
+ return b;
431
+ }
432
+ co(a) {
433
+ let b = this.q.item(a);
434
+ this.ck(b);
435
+ this.q.f(a);
436
+ b.c = true;
437
+ this.p.s(b, b);
438
+ }
439
+ ck(a) {
440
+ this.ao.h(a);
441
+ }
442
+ a6() {
443
+ if (this.actualDataSource == null || this.actualDataSource.actualSchema == null) {
444
+ return -1;
445
+ }
446
+ return this.actualDataSource.actualCount - 1;
447
+ }
448
+ a5() {
449
+ if (this.actualDataSource == null || this.actualDataSource.actualSchema == null) {
450
+ return -1;
451
+ }
452
+ return 0;
453
+ }
454
+ bk() {
455
+ this.ak.clear();
456
+ this.al.clear();
457
+ this.am.clear();
458
+ this.an.clear();
459
+ if (this.actualDataSource != null || this.actualDataSource.actualSchema != null) {
460
+ let a = this.ap;
461
+ let b = isNaN_(this.aq) ? 0 : this.aq;
462
+ if (this.k == 0) {
463
+ if (this.ai) {
464
+ let c = 0;
465
+ for (let d = 0; d < this.actualDataSource.actualCount; d++) {
466
+ this.al.add(c);
467
+ let e = this.av;
468
+ if (this.itemHeightRequested != null) {
469
+ let f = ((() => {
470
+ let $ret = new ListPanelTemplateHeightRequestedEventArgs();
471
+ $ret.b = d;
472
+ $ret.c = this.actualDataSource.getItemAtIndex(d);
473
+ $ret.a = e;
474
+ return $ret;
475
+ })());
476
+ this.itemHeightRequested(this, f);
477
+ e = f.a;
478
+ c += e;
479
+ }
480
+ this.ak.add(e);
481
+ }
482
+ this.ap = c;
483
+ }
484
+ else {
485
+ this.ap = this.av * this.actualDataSource.actualCount;
486
+ }
487
+ }
488
+ else {
489
+ this.ap = this.av;
490
+ {
491
+ let g = 0;
492
+ for (let h = 0; h < this.actualDataSource.actualCount; h++) {
493
+ this.an.add(g);
494
+ let i = 0;
495
+ if (this.itemWidthRequested != null) {
496
+ let j = ((() => {
497
+ let $ret = new ListPanelTemplateWidthRequestedEventArgs();
498
+ $ret.b = h;
499
+ $ret.c = this.actualDataSource.getItemAtIndex(h);
500
+ $ret.a = i;
501
+ return $ret;
502
+ })());
503
+ this.itemWidthRequested(this, j);
504
+ i = j.a;
505
+ g += i;
506
+ }
507
+ this.am.add(i);
508
+ }
509
+ this.aq = g;
510
+ }
511
+ }
512
+ if (a != this.ap || b != (isNaN_(this.aq) ? 0 : this.aq)) {
513
+ this.o.r();
514
+ }
515
+ }
516
+ }
517
+ bt() {
518
+ if (this.ac) {
519
+ this.bo();
520
+ }
521
+ }
522
+ cm() {
523
+ if (this.as == 0) {
524
+ return;
525
+ }
526
+ let a = isNaN_(this.aq) ? 0 : this.aq;
527
+ let b = this.ap;
528
+ this.ad = true;
529
+ this.bz(this.as);
530
+ if (a != (isNaN_(this.aq) ? 0 : this.aq) || b != this.ap) {
531
+ this.externalListPanel.onContentSizeChanged();
532
+ }
533
+ this.ad = false;
534
+ this.b0();
535
+ this.ch();
536
+ }
537
+ b0() {
538
+ this.ae = true;
539
+ }
540
+ bz(a) {
541
+ this.ab = true;
542
+ this.as = a;
543
+ }
544
+ bu() {
545
+ if (this.z) {
546
+ this.z = false;
547
+ this.cm();
548
+ this.by();
549
+ }
550
+ }
551
+ cn() {
552
+ if (this.z) {
553
+ this.bu();
554
+ }
555
+ else {
556
+ this.ch();
557
+ this.bt();
558
+ }
559
+ }
560
+ a4() {
561
+ return this.az;
562
+ }
563
+ a3() {
564
+ return this.ay;
565
+ }
566
+ aj() {
567
+ return this.ay >= 0 && this.az >= 0;
568
+ }
569
+ by() {
570
+ if (!this.aj()) {
571
+ return;
572
+ }
573
+ let a = this.a3();
574
+ let b = this.a4();
575
+ this.bx(a, b);
576
+ }
577
+ bx(a, b) {
578
+ let c = this.a3();
579
+ let d = this.a4();
580
+ if (b < c || a > d) {
581
+ return;
582
+ }
583
+ if (a < c) {
584
+ a = c;
585
+ }
586
+ if (b > d) {
587
+ b = d;
588
+ }
589
+ this.ci();
590
+ this.cn();
591
+ }
592
+ ci() {
593
+ for (let a = 0; a < this.q.q.count; a++) {
594
+ if (this.q.p._inner[a]) {
595
+ continue;
596
+ }
597
+ let b = this.q.q._inner[a];
598
+ b.n = this.actualDataSource.getItemAtIndex(b.l);
599
+ b.j = this.av;
600
+ }
601
+ }
602
+ cj(a) {
603
+ if (this.q.d(a)) {
604
+ let b = this.q.item(a);
605
+ b.n = this.actualDataSource.getItemAtIndex(b.l);
606
+ b.j = this.av;
607
+ }
608
+ }
609
+ cg() {
610
+ if (!this.z) {
611
+ this.z = true;
612
+ this.b0();
613
+ this.ch();
614
+ }
615
+ }
616
+ bw(a) {
617
+ this.cj(a);
618
+ }
619
+ b8() {
620
+ if (this.z) {
621
+ this.bu();
622
+ }
623
+ else {
624
+ this.cm();
625
+ this.by();
626
+ }
627
+ }
628
+ get externalListPanel() {
629
+ return this.d;
630
+ }
631
+ set externalListPanel(a) {
632
+ this.d = a;
633
+ }
634
+ ce(a, b, c) {
635
+ switch (a) {
636
+ case "ItemsSource":
637
+ if (this.a != null) {
638
+ let d = this.a;
639
+ d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.bm));
640
+ this.a.updateNotifier = null;
641
+ }
642
+ if (typeCast(IDataSource_$type, this.itemsSource) !== null) {
643
+ this.actualDataSource = this.itemsSource;
644
+ }
645
+ else {
646
+ let e = this.externalListPanel.createLocalDataSource(this.itemsSource);
647
+ this.actualDataSource = e;
648
+ }
649
+ if (this.a != null) {
650
+ let f = this.a;
651
+ f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.bm));
652
+ this.a.updateNotifier = new ListPanelDataSourceNotificationBridge(this);
653
+ if (this.a.actualSchema != null) {
654
+ this.cg();
655
+ this.c.enqueueAction(() => this.b8());
656
+ }
657
+ }
658
+ break;
659
+ case "RowHeight":
660
+ if (this.u != null) {
661
+ this.av = this.a7;
662
+ }
663
+ break;
664
+ case "CellTextStyle":
665
+ this.by();
666
+ break;
667
+ case "BackgroundColor":
668
+ case "TextColor":
669
+ this.by();
670
+ break;
671
+ case "Orientation":
672
+ this.cm();
673
+ break;
674
+ }
675
+ }
676
+ cp() {
677
+ if (this.u == null) {
678
+ return;
679
+ }
680
+ let a = this.a7 == -1 ? 38 : this.a7;
681
+ let b = this.cs;
682
+ let c = this.t();
683
+ }
684
+ cw() {
685
+ let a = this.ap;
686
+ let b = 0;
687
+ if (!isNaN_(a) && a >= 0) {
688
+ b = a;
689
+ }
690
+ let c = new Size(1, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY);
691
+ let d = 0;
692
+ if (this.k == 0) {
693
+ for (let e = 0; e < this.q.o.count; e++) {
694
+ if (this.q.p._inner[e]) {
695
+ continue;
696
+ }
697
+ let f = this.q.o._inner[e];
698
+ let g = this.q.q._inner[e];
699
+ let h = g.a.a.ap(c);
700
+ d = Math.max(d, h.width);
701
+ }
702
+ }
703
+ return new Size(1, d, b);
704
+ }
705
+ b7(a, b) {
706
+ }
707
+ cc(a, b, c) {
708
+ if (this.k == 0) {
709
+ if (this.ai) {
710
+ let d = this.av;
711
+ if (this.itemHeightRequested != null) {
712
+ let e = new ListPanelTemplateHeightRequestedEventArgs();
713
+ e.c = c;
714
+ e.b = a;
715
+ e.a = d;
716
+ this.itemHeightRequested(this, e);
717
+ d = e.a;
718
+ }
719
+ let f = this.ak._inner[a];
720
+ this.ak._inner[a] = d;
721
+ let g = d - f;
722
+ for (let h = a; h < this.actualDataSource.actualCount; h++) {
723
+ this.al._inner[h] += g;
724
+ }
725
+ }
726
+ }
727
+ else {
728
+ let i = 0;
729
+ if (this.itemWidthRequested != null) {
730
+ let j = new ListPanelTemplateWidthRequestedEventArgs();
731
+ j.c = c;
732
+ j.b = a;
733
+ j.a = i;
734
+ this.itemWidthRequested(this, j);
735
+ i = j.a;
736
+ }
737
+ let k = this.am._inner[a];
738
+ this.am._inner[a] = i;
739
+ let l = i - k;
740
+ for (let m = a; m < this.actualDataSource.actualCount; m++) {
741
+ this.an._inner[m] += l;
742
+ }
743
+ }
744
+ this.bw(a);
745
+ }
746
+ b6() {
747
+ this.cm();
748
+ }
749
+ b9(a, b) {
750
+ if (this.k == 0) {
751
+ if (this.ai) {
752
+ let c = this.av;
753
+ if (this.itemHeightRequested != null) {
754
+ let d = new ListPanelTemplateHeightRequestedEventArgs();
755
+ d.c = b;
756
+ d.b = a;
757
+ d.a = c;
758
+ this.itemHeightRequested(this, d);
759
+ c = d.a;
760
+ }
761
+ this.ak.insert(a, c);
762
+ let e = 0;
763
+ if (a > 0) {
764
+ let f = this.al._inner[a - 1];
765
+ e = f + this.ak._inner[a - 1];
766
+ }
767
+ this.al.insert(a, e);
768
+ for (let g = a; g < this.actualDataSource.actualCount; g++) {
769
+ this.al._inner[g] += c;
770
+ }
771
+ }
772
+ }
773
+ else {
774
+ let h = 0;
775
+ if (this.itemWidthRequested != null) {
776
+ let i = new ListPanelTemplateWidthRequestedEventArgs();
777
+ i.c = b;
778
+ i.b = a;
779
+ i.a = h;
780
+ this.itemWidthRequested(this, i);
781
+ h = i.a;
782
+ }
783
+ this.am.insert(a, h);
784
+ let j = 0;
785
+ if (a > 0) {
786
+ let k = this.an._inner[a - 1];
787
+ j = k + this.am._inner[a - 1];
788
+ }
789
+ this.an.insert(a, j);
790
+ for (let l = a; l < this.actualDataSource.actualCount; l++) {
791
+ this.an._inner[l] += h;
792
+ }
793
+ }
794
+ this.cg();
795
+ }
796
+ cb(a, b) {
797
+ if (this.k == 0) {
798
+ let c = this.ak._inner[a];
799
+ for (let d = a + 1; d < this.actualDataSource.actualCount; d++) {
800
+ this.al._inner[d] -= c;
801
+ }
802
+ this.ak.removeAt(a);
803
+ this.al.removeAt(a);
804
+ }
805
+ else {
806
+ let e = this.am._inner[a];
807
+ for (let f = a + 1; f < this.actualDataSource.actualCount; f++) {
808
+ this.an._inner[f] -= e;
809
+ }
810
+ this.am.removeAt(a);
811
+ this.an.removeAt(a);
812
+ }
813
+ this.cg();
814
+ }
815
+ b4(a, b, c) {
816
+ if (this.a != null) {
817
+ this.a.notifySetItem(a, b, c);
818
+ }
819
+ }
820
+ b1() {
821
+ if (this.a != null) {
822
+ this.a.notifyClearItems();
823
+ }
824
+ }
825
+ b2(a, b) {
826
+ if (this.a != null) {
827
+ this.a.notifyInsertItem(a, b);
828
+ }
829
+ ;
830
+ }
831
+ b3(a, b) {
832
+ if (this.a != null) {
833
+ this.a.notifyRemoveItem(a, b);
834
+ }
835
+ ;
836
+ }
837
+ a1(a) {
838
+ if (this.a == null) {
839
+ return -1;
840
+ }
841
+ return this.a.indexOfItem(a);
842
+ }
843
+ a2(a) {
844
+ if (this.a == null) {
845
+ return -1;
846
+ }
847
+ return this.a.indexOfKey(a);
848
+ }
849
+ get cs() {
850
+ return this.cq;
851
+ }
852
+ set cs(a) {
853
+ let b = this.cq;
854
+ this.cq = a;
855
+ if (b != this.cq) {
856
+ this.ca("BackgroundColor", b, a);
857
+ }
858
+ }
859
+ get k() {
860
+ return this.i;
861
+ }
862
+ set k(a) {
863
+ let b = this.i;
864
+ this.i = a;
865
+ if (b != this.i) {
866
+ this.ca("Orientation", enumGetBox(ListPanelOrientation_$type, b), enumGetBox(ListPanelOrientation_$type, a));
867
+ }
868
+ }
869
+ get ai() {
870
+ return this.aa;
871
+ }
872
+ set ai(a) {
873
+ let b = this.aa;
874
+ this.aa = a;
875
+ if (b != this.aa) {
876
+ this.ca("IsCustomRowHeightEnabled", b, a);
877
+ }
878
+ }
879
+ get cv() {
880
+ return this.cr;
881
+ }
882
+ set cv(a) {
883
+ let b = this.cr;
884
+ this.cr = a;
885
+ if (b != this.cr) {
886
+ this.ca("TextColor", b, a);
887
+ }
888
+ }
889
+ get au() {
890
+ return this.aq;
891
+ }
892
+ get at() {
893
+ return this.ap;
894
+ }
895
+ }
896
+ ListPanel.$t = /*@__PURE__*/ markType(ListPanel, 'ListPanel', Base.$, [INotifyPropertyChanged_$type]);
897
+ ListPanel.ct = /*@__PURE__*/ BrushUtil.g(255, 248, 248, 248);
898
+ ListPanel.j = 0;
899
+ ListPanel.af = false;
900
+ ListPanel.cu = /*@__PURE__*/ BrushUtil.g(255, 24, 29, 31);
901
+ return ListPanel;
902
+ })();
903
+ /**
904
+ * @hidden
905
+ */
906
+ export let ListPanelDataSourceNotificationBridge = /*@__PURE__*/ (() => {
907
+ class ListPanelDataSourceNotificationBridge extends Base {
908
+ constructor(a) {
909
+ super();
910
+ this.a = null;
911
+ this.a = a;
912
+ }
913
+ rangeActualized(a, b) {
914
+ this.a.b7(a, b);
915
+ }
916
+ notifySetItem(a, b, c) {
917
+ this.a.cc(a, b, c);
918
+ }
919
+ notifyClearItems() {
920
+ this.a.b6();
921
+ }
922
+ notifyInsertItem(a, b) {
923
+ this.a.b9(a, b);
924
+ }
925
+ notifyRemoveItem(a, b) {
926
+ this.a.cb(a, b);
927
+ }
928
+ }
929
+ ListPanelDataSourceNotificationBridge.$t = /*@__PURE__*/ markType(ListPanelDataSourceNotificationBridge, 'ListPanelDataSourceNotificationBridge', Base.$, [IDataSourceUpdateNotifier_$type]);
930
+ return ListPanelDataSourceNotificationBridge;
931
+ })();
932
+ /**
933
+ * @hidden
934
+ */
935
+ export let ListPanelLayoutPanel = /*@__PURE__*/ (() => {
936
+ class ListPanelLayoutPanel extends Base {
937
+ constructor(a) {
938
+ super();
939
+ this.a = null;
940
+ this.a = a;
941
+ }
942
+ d(a) {
943
+ this.a.n = a.width;
944
+ this.a.h = a.height;
945
+ }
946
+ b(a, b) {
947
+ if (!b.d) {
948
+ b.d = true;
949
+ this.a.aw(b.a.a);
950
+ }
951
+ if (a.k == 0) {
952
+ if (!isNaN_(a.au)) {
953
+ b.a.a.n = a.au;
954
+ }
955
+ }
956
+ else {
957
+ b.a.a.h = a.at;
958
+ }
959
+ if (b.f) {
960
+ b.f = false;
961
+ this.a.a2(b.a.a, b.i);
962
+ this.a.a3(b.a.a, b.k);
963
+ }
964
+ }
965
+ c(a) {
966
+ this.a.a3(a, -1000);
967
+ this.a.a2(a, -1000);
968
+ }
969
+ }
970
+ ListPanelLayoutPanel.$t = /*@__PURE__*/ markType(ListPanelLayoutPanel, 'ListPanelLayoutPanel');
971
+ return ListPanelLayoutPanel;
972
+ })();