devexpress-reporting 23.2.4-build-23361-1610 → 23.2.4-build-2411-1519

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 (1438) hide show
  1. package/bundle/_add-designer-to-bundle.d.ts +3 -3
  2. package/bundle/_add-designer-to-bundle.js +3 -3
  3. package/bundle/_add-rich-edit-to-bundle.d.ts +3 -3
  4. package/bundle/_add-rich-edit-to-bundle.js +3 -3
  5. package/bundle/_add-viewer-to-bundle.d.ts +3 -3
  6. package/bundle/_add-viewer-to-bundle.js +3 -3
  7. package/bundle/_validator.d.ts +3 -3
  8. package/bundle/_validator.js +3 -3
  9. package/bundle/designer-bundle.d.ts +3 -3
  10. package/bundle/designer-bundle.js +3 -3
  11. package/bundle/viewer-bundle.d.ts +3 -3
  12. package/bundle/viewer-bundle.js +3 -3
  13. package/chart/_IChartControlCallbacks.d.ts +3 -3
  14. package/chart/_IChartControlCallbacks.js +3 -3
  15. package/chart/_control.d.ts +3 -3
  16. package/chart/_control.js +3 -3
  17. package/chart/_controlsFactory.d.ts +3 -3
  18. package/chart/_controlsFactory.js +3 -3
  19. package/chart/_dateUtils.d.ts +3 -3
  20. package/chart/_dateUtils.js +3 -3
  21. package/chart/_handlerUri.d.ts +3 -3
  22. package/chart/_handlerUri.js +3 -3
  23. package/chart/_initializer.d.ts +3 -3
  24. package/chart/_initializer.js +3 -3
  25. package/chart/_surface.d.ts +3 -3
  26. package/chart/_surface.js +3 -3
  27. package/chart/_utils.d.ts +3 -3
  28. package/chart/_utils.js +3 -3
  29. package/chart/components/_diagram.d.ts +3 -3
  30. package/chart/components/_diagram.js +3 -3
  31. package/chart/components/axis/_axis.d.ts +3 -3
  32. package/chart/components/axis/_axis.js +3 -3
  33. package/chart/components/axis/_axisXYViewModel.d.ts +3 -3
  34. package/chart/components/axis/_axisXYViewModel.js +3 -3
  35. package/chart/components/axis/_secondaryAxisViewModel.d.ts +3 -3
  36. package/chart/components/axis/_secondaryAxisViewModel.js +3 -3
  37. package/chart/components/models/_additionalLegend.d.ts +3 -3
  38. package/chart/components/models/_additionalLegend.js +3 -3
  39. package/chart/components/models/_additionalPane.d.ts +3 -3
  40. package/chart/components/models/_additionalPane.js +3 -3
  41. package/chart/components/models/_chart.d.ts +3 -3
  42. package/chart/components/models/_chart.js +3 -3
  43. package/chart/components/models/_constantLine.d.ts +3 -3
  44. package/chart/components/models/_constantLine.js +3 -3
  45. package/chart/components/models/_dataContainer.d.ts +3 -3
  46. package/chart/components/models/_dataContainer.js +3 -3
  47. package/chart/components/models/_dataFilter.d.ts +3 -3
  48. package/chart/components/models/_dataFilter.js +3 -3
  49. package/chart/components/models/_legend.d.ts +3 -3
  50. package/chart/components/models/_legend.js +3 -3
  51. package/chart/components/models/_scaleBreak.d.ts +3 -3
  52. package/chart/components/models/_scaleBreak.js +3 -3
  53. package/chart/components/models/_strip.d.ts +3 -3
  54. package/chart/components/models/_strip.js +3 -3
  55. package/chart/components/models/_stripLimit.d.ts +3 -3
  56. package/chart/components/models/_stripLimit.js +3 -3
  57. package/chart/components/models/_title.d.ts +3 -3
  58. package/chart/components/models/_title.js +3 -3
  59. package/chart/components/models/_wholeRange.d.ts +3 -3
  60. package/chart/components/models/_wholeRange.js +3 -3
  61. package/chart/components/series/_fillStyle.d.ts +3 -3
  62. package/chart/components/series/_fillStyle.js +3 -3
  63. package/chart/components/series/_indicator.d.ts +3 -3
  64. package/chart/components/series/_indicator.js +3 -3
  65. package/chart/components/series/_label.d.ts +3 -3
  66. package/chart/components/series/_label.js +3 -3
  67. package/chart/components/series/_point.d.ts +3 -3
  68. package/chart/components/series/_point.js +3 -3
  69. package/chart/components/series/_series.d.ts +3 -3
  70. package/chart/components/series/_series.js +3 -3
  71. package/chart/components/series/_summaryOptions.d.ts +3 -3
  72. package/chart/components/series/_summaryOptions.js +3 -3
  73. package/chart/components/series/_summaryOptionsMetaData.d.ts +3 -3
  74. package/chart/components/series/_summaryOptionsMetaData.js +3 -3
  75. package/chart/components/series/_template.d.ts +3 -3
  76. package/chart/components/series/_template.js +3 -3
  77. package/chart/components/series/_templateOptions.d.ts +3 -3
  78. package/chart/components/series/_templateOptions.js +3 -3
  79. package/chart/components/series/_view.d.ts +3 -3
  80. package/chart/components/series/_view.js +3 -3
  81. package/chart/internal/_editorTemplates.d.ts +3 -3
  82. package/chart/internal/_editorTemplates.js +3 -3
  83. package/chart/internal/_elementCollection.d.ts +3 -3
  84. package/chart/internal/_elementCollection.js +3 -3
  85. package/chart/internal/_localizableElementCollection.d.ts +3 -3
  86. package/chart/internal/_localizableElementCollection.js +3 -3
  87. package/chart/internal/_registerEditors.d.ts +3 -3
  88. package/chart/internal/_registerEditors.js +3 -3
  89. package/chart/internal/_requests.d.ts +3 -3
  90. package/chart/internal/_requests.js +3 -3
  91. package/chart/internal/_utils.d.ts +3 -3
  92. package/chart/internal/_utils.js +3 -3
  93. package/chart/internal/chartStructure/_chartTreeListDragDropHelper.d.ts +3 -3
  94. package/chart/internal/chartStructure/_chartTreeListDragDropHelper.js +3 -3
  95. package/chart/internal/chartStructure/_controller.d.ts +3 -3
  96. package/chart/internal/chartStructure/_controller.js +3 -3
  97. package/chart/internal/chartStructure/_provider.d.ts +3 -3
  98. package/chart/internal/chartStructure/_provider.js +3 -3
  99. package/chart/internal/data/_commonValue.d.ts +3 -3
  100. package/chart/internal/data/_commonValue.js +3 -3
  101. package/chart/internal/data/_dataMemberBase.d.ts +3 -3
  102. package/chart/internal/data/_dataMemberBase.js +3 -3
  103. package/chart/internal/data/_stockValue.d.ts +3 -3
  104. package/chart/internal/data/_stockValue.js +3 -3
  105. package/chart/internal/data/_value1Value2.d.ts +3 -3
  106. package/chart/internal/data/_value1Value2.js +3 -3
  107. package/chart/internal/data/_valueWeight.d.ts +3 -3
  108. package/chart/internal/data/_valueWeight.js +3 -3
  109. package/chart/internal/meta/_axis.d.ts +3 -3
  110. package/chart/internal/meta/_axis.js +3 -3
  111. package/chart/internal/meta/_chart.d.ts +3 -3
  112. package/chart/internal/meta/_chart.js +3 -3
  113. package/chart/internal/meta/_common.d.ts +3 -3
  114. package/chart/internal/meta/_common.js +3 -3
  115. package/chart/internal/meta/_diagram.d.ts +3 -3
  116. package/chart/internal/meta/_diagram.js +3 -3
  117. package/chart/internal/meta/_indicators.d.ts +3 -3
  118. package/chart/internal/meta/_indicators.js +3 -3
  119. package/chart/internal/meta/_series.d.ts +3 -3
  120. package/chart/internal/meta/_series.js +3 -3
  121. package/chart/internal/meta/_value.d.ts +3 -3
  122. package/chart/internal/meta/_value.js +3 -3
  123. package/chart/internal/meta/_view.d.ts +3 -3
  124. package/chart/internal/meta/_view.js +3 -3
  125. package/chart/widgets/_chartDataMemberEditor.d.ts +3 -3
  126. package/chart/widgets/_chartDataMemberEditor.js +3 -3
  127. package/chart/widgets/_chartDataSourceEditor.d.ts +3 -3
  128. package/chart/widgets/_chartDataSourceEditor.js +3 -3
  129. package/chart/widgets/_chartDependencyEditor.d.ts +3 -3
  130. package/chart/widgets/_chartDependencyEditor.js +3 -3
  131. package/chart/widgets/_collectionLookupEditor.d.ts +3 -3
  132. package/chart/widgets/_collectionLookupEditor.js +3 -3
  133. package/chart/widgets/_extendedicons.d.ts +3 -3
  134. package/chart/widgets/_extendedicons.js +3 -3
  135. package/chart/widgets/_pointsEditor.d.ts +3 -3
  136. package/chart/widgets/_pointsEditor.js +3 -3
  137. package/chart/widgets/_positionSeriesLabelEditor.d.ts +3 -3
  138. package/chart/widgets/_positionSeriesLabelEditor.js +3 -3
  139. package/chart/widgets/_summaryFunctionEditor.d.ts +3 -3
  140. package/chart/widgets/_summaryFunctionEditor.js +3 -3
  141. package/chart/widgets/_undoColorPickerEditor.d.ts +3 -3
  142. package/chart/widgets/_undoColorPickerEditor.js +3 -3
  143. package/chart/widgets/_viewEditor.d.ts +3 -3
  144. package/chart/widgets/_viewEditor.js +3 -3
  145. package/common/binding/eventGenerator.d.ts +3 -3
  146. package/common/binding/eventGenerator.js +3 -3
  147. package/common/binding/exportOptionsEventArgs.d.ts +3 -3
  148. package/common/binding/exportOptionsEventArgs.js +3 -3
  149. package/common/customTypes.d.ts +3 -3
  150. package/common/customTypes.js +3 -3
  151. package/common/defaultCulture.d.ts +3 -3
  152. package/common/defaultCulture.js +3 -3
  153. package/common/exportOptions/csvExportOptions.d.ts +3 -3
  154. package/common/exportOptions/csvExportOptions.js +3 -3
  155. package/common/exportOptions/csvMetaData.d.ts +3 -3
  156. package/common/exportOptions/csvMetaData.js +3 -3
  157. package/common/exportOptions/docxExportOptions.d.ts +3 -3
  158. package/common/exportOptions/docxExportOptions.js +3 -3
  159. package/common/exportOptions/docxMetaData.d.ts +3 -3
  160. package/common/exportOptions/docxMetaData.js +3 -3
  161. package/common/exportOptions/emailExportOptions.d.ts +3 -3
  162. package/common/exportOptions/emailExportOptions.js +3 -3
  163. package/common/exportOptions/emailMetaData.d.ts +3 -3
  164. package/common/exportOptions/emailMetaData.js +3 -3
  165. package/common/exportOptions/exportOptions.d.ts +3 -3
  166. package/common/exportOptions/exportOptions.js +3 -3
  167. package/common/exportOptions/exportOptionsMetaData.d.ts +3 -3
  168. package/common/exportOptions/exportOptionsMetaData.js +3 -3
  169. package/common/exportOptions/htmlExportOptions.d.ts +3 -3
  170. package/common/exportOptions/htmlExportOptions.js +3 -3
  171. package/common/exportOptions/htmlMetaData.d.ts +3 -3
  172. package/common/exportOptions/htmlMetaData.js +3 -3
  173. package/common/exportOptions/imageExportOptions.d.ts +3 -3
  174. package/common/exportOptions/imageExportOptions.js +3 -3
  175. package/common/exportOptions/imageMetaData.d.ts +3 -3
  176. package/common/exportOptions/imageMetaData.js +3 -3
  177. package/common/exportOptions/metadata.d.ts +3 -3
  178. package/common/exportOptions/metadata.js +3 -3
  179. package/common/exportOptions/mhtExportOptions.d.ts +3 -3
  180. package/common/exportOptions/mhtExportOptions.js +3 -3
  181. package/common/exportOptions/mhtMetaData.d.ts +3 -3
  182. package/common/exportOptions/mhtMetaData.js +3 -3
  183. package/common/exportOptions/options/docxExportDocumentOptions.d.ts +3 -3
  184. package/common/exportOptions/options/docxExportDocumentOptions.js +3 -3
  185. package/common/exportOptions/options/pdfExportDocumentOptions.d.ts +3 -3
  186. package/common/exportOptions/options/pdfExportDocumentOptions.js +3 -3
  187. package/common/exportOptions/options/pdfPasswordSecurityOptions.d.ts +3 -3
  188. package/common/exportOptions/options/pdfPasswordSecurityOptions.js +3 -3
  189. package/common/exportOptions/options/pdfPermissionsOptions.d.ts +3 -3
  190. package/common/exportOptions/options/pdfPermissionsOptions.js +3 -3
  191. package/common/exportOptions/pdfExportOptions.d.ts +3 -3
  192. package/common/exportOptions/pdfExportOptions.js +3 -3
  193. package/common/exportOptions/pdfMetaData.d.ts +3 -3
  194. package/common/exportOptions/pdfMetaData.js +3 -3
  195. package/common/exportOptions/printPreviewMetaData.d.ts +3 -3
  196. package/common/exportOptions/printPreviewMetaData.js +3 -3
  197. package/common/exportOptions/printPreviewOptions.d.ts +3 -3
  198. package/common/exportOptions/printPreviewOptions.js +3 -3
  199. package/common/exportOptions/rtfExportOptions.d.ts +3 -3
  200. package/common/exportOptions/rtfExportOptions.js +3 -3
  201. package/common/exportOptions/rtfMetaData.d.ts +3 -3
  202. package/common/exportOptions/rtfMetaData.js +3 -3
  203. package/common/exportOptions/textExportOptions.d.ts +3 -3
  204. package/common/exportOptions/textExportOptions.js +3 -3
  205. package/common/exportOptions/textMetaData.d.ts +3 -3
  206. package/common/exportOptions/textMetaData.js +3 -3
  207. package/common/exportOptions/xlsExportOptions.d.ts +3 -3
  208. package/common/exportOptions/xlsExportOptions.js +3 -3
  209. package/common/exportOptions/xlsMetaData.d.ts +3 -3
  210. package/common/exportOptions/xlsMetaData.js +3 -3
  211. package/common/exportOptions/xlsxExportOptions.d.ts +3 -3
  212. package/common/exportOptions/xlsxExportOptions.js +3 -3
  213. package/common/exportOptions/xlsxMetaData.d.ts +3 -3
  214. package/common/exportOptions/xlsxMetaData.js +3 -3
  215. package/common/imageSource.d.ts +3 -3
  216. package/common/imageSource.js +3 -3
  217. package/common/metadata.d.ts +3 -3
  218. package/common/metadata.js +3 -3
  219. package/common/types.d.ts +3 -3
  220. package/common/types.js +3 -3
  221. package/common/utils/_chartUtils.d.ts +3 -3
  222. package/common/utils/_chartUtils.js +3 -3
  223. package/common/utils/_locker.d.ts +3 -3
  224. package/common/utils/_locker.js +3 -3
  225. package/common/utils/_utils.d.ts +3 -3
  226. package/common/utils/_utils.js +3 -3
  227. package/common/utils/editingFieldExtensions.d.ts +3 -3
  228. package/common/utils/editingFieldExtensions.js +3 -3
  229. package/common/versions.d.ts +3 -3
  230. package/common/versions.js +3 -3
  231. package/common/widgets/_editorTemplates.d.ts +3 -3
  232. package/common/widgets/_editorTemplates.js +3 -3
  233. package/designer/actions/_alignmentHandler.d.ts +3 -3
  234. package/designer/actions/_alignmentHandler.js +3 -3
  235. package/designer/actions/_dataSourceActions.d.ts +3 -3
  236. package/designer/actions/_dataSourceActions.js +3 -3
  237. package/designer/actions/_federationDataSourceEditor.d.ts +3 -3
  238. package/designer/actions/_federationDataSourceEditor.js +3 -3
  239. package/designer/actions/_jsonDataSourceEditor.d.ts +3 -3
  240. package/designer/actions/_jsonDataSourceEditor.js +3 -3
  241. package/designer/actions/_objectDataSourceEditor.d.ts +3 -3
  242. package/designer/actions/_objectDataSourceEditor.js +3 -3
  243. package/designer/actions/_spaceCommandHandler.d.ts +3 -3
  244. package/designer/actions/_spaceCommandHandler.js +3 -3
  245. package/designer/actions/_sqlDataSourceEditor.d.ts +3 -3
  246. package/designer/actions/_sqlDataSourceEditor.js +3 -3
  247. package/designer/actions/actionId.d.ts +3 -3
  248. package/designer/actions/actionId.js +3 -3
  249. package/designer/actions/chartActions.d.ts +3 -3
  250. package/designer/actions/chartActions.js +3 -3
  251. package/designer/actions/crossTabActions.d.ts +3 -3
  252. package/designer/actions/crossTabActions.js +3 -3
  253. package/designer/actions/elementActions.d.ts +3 -3
  254. package/designer/actions/elementActions.js +3 -3
  255. package/designer/actions/elementsGroupActions.d.ts +3 -3
  256. package/designer/actions/elementsGroupActions.js +3 -3
  257. package/designer/actions/fitBoundsToTextAction.d.ts +3 -3
  258. package/designer/actions/fitBoundsToTextAction.js +3 -3
  259. package/designer/actions/fitTextToBoundsAction.d.ts +3 -3
  260. package/designer/actions/fitTextToBoundsAction.js +3 -3
  261. package/designer/actions/fitToContainerAction.d.ts +3 -3
  262. package/designer/actions/fitToContainerAction.js +3 -3
  263. package/designer/actions/pdfContentActions.d.ts +3 -3
  264. package/designer/actions/pdfContentActions.js +3 -3
  265. package/designer/actions/pivotGridActions.d.ts +3 -3
  266. package/designer/actions/pivotGridActions.js +3 -3
  267. package/designer/actions/reportActions.d.ts +3 -3
  268. package/designer/actions/reportActions.js +3 -3
  269. package/designer/actions/reportElementActions.d.ts +3 -3
  270. package/designer/actions/reportElementActions.js +3 -3
  271. package/designer/actions/tableCellActions.d.ts +3 -3
  272. package/designer/actions/tableCellActions.js +3 -3
  273. package/designer/actions/tableCellGroupActions.d.ts +3 -3
  274. package/designer/actions/tableCellGroupActions.js +3 -3
  275. package/designer/actions/tableRowActions.d.ts +3 -3
  276. package/designer/actions/tableRowActions.js +3 -3
  277. package/designer/actions/textElementAction.d.ts +3 -3
  278. package/designer/actions/textElementAction.js +3 -3
  279. package/designer/bands/_bandContainerUtils.d.ts +3 -3
  280. package/designer/bands/_bandContainerUtils.js +3 -3
  281. package/designer/bands/_bandHolder.d.ts +3 -3
  282. package/designer/bands/_bandHolder.js +3 -3
  283. package/designer/bands/_bandUtils.d.ts +3 -3
  284. package/designer/bands/_bandUtils.js +3 -3
  285. package/designer/bands/_printAcrossBandsPlaceHolder.d.ts +3 -3
  286. package/designer/bands/_printAcrossBandsPlaceHolder.js +3 -3
  287. package/designer/bands/_vericalBandContainer.d.ts +3 -3
  288. package/designer/bands/_vericalBandContainer.js +3 -3
  289. package/designer/bands/_verticalBandsUtils.d.ts +3 -3
  290. package/designer/bands/_verticalBandsUtils.js +3 -3
  291. package/designer/bands/bandSurfaceCollapsedHeight.d.ts +3 -3
  292. package/designer/bands/bandSurfaceCollapsedHeight.js +3 -3
  293. package/designer/bands/groupfield.d.ts +3 -3
  294. package/designer/bands/groupfield.js +3 -3
  295. package/designer/bands/metadata/bandsMetadata.d.ts +3 -3
  296. package/designer/bands/metadata/bandsMetadata.js +3 -3
  297. package/designer/bands/metadata/groupfieldMetaData.d.ts +3 -3
  298. package/designer/bands/metadata/groupfieldMetaData.js +3 -3
  299. package/designer/bands/metadata/multiColumnMetaData.d.ts +3 -3
  300. package/designer/bands/metadata/multiColumnMetaData.js +3 -3
  301. package/designer/bands/metadata/xrBandMetaData.d.ts +3 -3
  302. package/designer/bands/metadata/xrBandMetaData.js +3 -3
  303. package/designer/bands/metadata/xrDetailBandMetaData.d.ts +3 -3
  304. package/designer/bands/metadata/xrDetailBandMetaData.js +3 -3
  305. package/designer/bands/metadata/xrDetailReportBandMetaData.d.ts +3 -3
  306. package/designer/bands/metadata/xrDetailReportBandMetaData.js +3 -3
  307. package/designer/bands/metadata/xrGroupBandMetaData.d.ts +3 -3
  308. package/designer/bands/metadata/xrGroupBandMetaData.js +3 -3
  309. package/designer/bands/metadata/xrPageBandMetaData.d.ts +3 -3
  310. package/designer/bands/metadata/xrPageBandMetaData.js +3 -3
  311. package/designer/bands/metadata/xrVerticalBandMetaData.d.ts +3 -3
  312. package/designer/bands/metadata/xrVerticalBandMetaData.js +3 -3
  313. package/designer/bands/metadata/xrVerticalDetailBandMetaData.d.ts +3 -3
  314. package/designer/bands/metadata/xrVerticalDetailBandMetaData.js +3 -3
  315. package/designer/bands/multiColumn.d.ts +3 -3
  316. package/designer/bands/multiColumn.js +3 -3
  317. package/designer/bands/xrBand.d.ts +3 -3
  318. package/designer/bands/xrBand.js +3 -3
  319. package/designer/bands/xrDetailBand.d.ts +3 -3
  320. package/designer/bands/xrDetailBand.js +3 -3
  321. package/designer/bands/xrDetailReportBand.d.ts +3 -3
  322. package/designer/bands/xrDetailReportBand.js +3 -3
  323. package/designer/bands/xrGroupBand.d.ts +3 -3
  324. package/designer/bands/xrGroupBand.js +3 -3
  325. package/designer/bands/xrMarginBands.d.ts +3 -3
  326. package/designer/bands/xrMarginBands.js +3 -3
  327. package/designer/bands/xrPageBand.d.ts +3 -3
  328. package/designer/bands/xrPageBand.js +3 -3
  329. package/designer/bands/xrSubband.d.ts +3 -3
  330. package/designer/bands/xrSubband.js +3 -3
  331. package/designer/bands/xrVerticalBand.d.ts +3 -3
  332. package/designer/bands/xrVerticalBand.js +3 -3
  333. package/designer/bands/xrVerticalDetailBand.d.ts +3 -3
  334. package/designer/bands/xrVerticalDetailBand.js +3 -3
  335. package/designer/controls/_xrTodoControl.d.ts +3 -3
  336. package/designer/controls/_xrTodoControl.js +3 -3
  337. package/designer/controls/barCodesTypes.d.ts +3 -3
  338. package/designer/controls/barCodesTypes.js +3 -3
  339. package/designer/controls/crossTab/cellCreator.d.ts +3 -3
  340. package/designer/controls/crossTab/cellCreator.js +3 -3
  341. package/designer/controls/crossTab/defenitions.d.ts +3 -3
  342. package/designer/controls/crossTab/defenitions.js +3 -3
  343. package/designer/controls/crossTab/enums.d.ts +3 -3
  344. package/designer/controls/crossTab/enums.js +3 -3
  345. package/designer/controls/customControlViewModel.d.ts +3 -3
  346. package/designer/controls/customControlViewModel.js +3 -3
  347. package/designer/controls/defaultTableOfContentsLevelHeight.d.ts +3 -3
  348. package/designer/controls/defaultTableOfContentsLevelHeight.js +3 -3
  349. package/designer/controls/getNearestBand.d.ts +3 -3
  350. package/designer/controls/getNearestBand.js +3 -3
  351. package/designer/controls/metadata/crosstab/defenitions.d.ts +3 -3
  352. package/designer/controls/metadata/crosstab/defenitions.js +3 -3
  353. package/designer/controls/metadata/crosstab/fields.d.ts +3 -3
  354. package/designer/controls/metadata/crosstab/fields.js +3 -3
  355. package/designer/controls/metadata/crosstab/layoutOptions.d.ts +3 -3
  356. package/designer/controls/metadata/crosstab/layoutOptions.js +3 -3
  357. package/designer/controls/metadata/crosstab/printOptions.d.ts +3 -3
  358. package/designer/controls/metadata/crosstab/printOptions.js +3 -3
  359. package/designer/controls/metadata/crosstab/xrCrossTabCell.d.ts +3 -3
  360. package/designer/controls/metadata/crosstab/xrCrossTabCell.js +3 -3
  361. package/designer/controls/metadata/pivotgrid/pivotgridfield.d.ts +3 -3
  362. package/designer/controls/metadata/pivotgrid/pivotgridfield.js +3 -3
  363. package/designer/controls/metadata/pivotgrid/sortBySummary.d.ts +3 -3
  364. package/designer/controls/metadata/pivotgrid/sortBySummary.js +3 -3
  365. package/designer/controls/metadata/properties/action.d.ts +3 -3
  366. package/designer/controls/metadata/properties/action.js +3 -3
  367. package/designer/controls/metadata/properties/anchoring.d.ts +3 -3
  368. package/designer/controls/metadata/properties/anchoring.js +3 -3
  369. package/designer/controls/metadata/properties/controlParameter.d.ts +3 -3
  370. package/designer/controls/metadata/properties/controlParameter.js +3 -3
  371. package/designer/controls/metadata/properties/dataBindings.d.ts +3 -3
  372. package/designer/controls/metadata/properties/dataBindings.js +3 -3
  373. package/designer/controls/metadata/properties/editOptions.d.ts +3 -3
  374. package/designer/controls/metadata/properties/editOptions.js +3 -3
  375. package/designer/controls/metadata/properties/editOptionsSerializationInfo.d.ts +3 -3
  376. package/designer/controls/metadata/properties/editOptionsSerializationInfo.js +3 -3
  377. package/designer/controls/metadata/properties/expressionBinding.d.ts +3 -3
  378. package/designer/controls/metadata/properties/expressionBinding.js +3 -3
  379. package/designer/controls/metadata/properties/formattingRulesLink.d.ts +3 -3
  380. package/designer/controls/metadata/properties/formattingRulesLink.js +3 -3
  381. package/designer/controls/metadata/properties/formattingrules.d.ts +3 -3
  382. package/designer/controls/metadata/properties/formattingrules.js +3 -3
  383. package/designer/controls/metadata/properties/frameOptions.d.ts +3 -3
  384. package/designer/controls/metadata/properties/frameOptions.js +3 -3
  385. package/designer/controls/metadata/properties/glyphOptions.d.ts +3 -3
  386. package/designer/controls/metadata/properties/glyphOptions.js +3 -3
  387. package/designer/controls/metadata/properties/metadata.d.ts +3 -3
  388. package/designer/controls/metadata/properties/metadata.js +3 -3
  389. package/designer/controls/metadata/properties/metadataGroups.d.ts +3 -3
  390. package/designer/controls/metadata/properties/metadataGroups.js +3 -3
  391. package/designer/controls/metadata/properties/scriptMetadata.d.ts +3 -3
  392. package/designer/controls/metadata/properties/scriptMetadata.js +3 -3
  393. package/designer/controls/metadata/properties/sortingOptions.d.ts +3 -3
  394. package/designer/controls/metadata/properties/sortingOptions.js +3 -3
  395. package/designer/controls/metadata/properties/style.d.ts +3 -3
  396. package/designer/controls/metadata/properties/style.js +3 -3
  397. package/designer/controls/metadata/properties/watermark.d.ts +3 -3
  398. package/designer/controls/metadata/properties/watermark.js +3 -3
  399. package/designer/controls/metadata/xrBarcode.d.ts +3 -3
  400. package/designer/controls/metadata/xrBarcode.js +3 -3
  401. package/designer/controls/metadata/xrCharactercomb.d.ts +3 -3
  402. package/designer/controls/metadata/xrCharactercomb.js +3 -3
  403. package/designer/controls/metadata/xrChart.d.ts +3 -3
  404. package/designer/controls/metadata/xrChart.js +3 -3
  405. package/designer/controls/metadata/xrCheckbox.d.ts +3 -3
  406. package/designer/controls/metadata/xrCheckbox.js +3 -3
  407. package/designer/controls/metadata/xrControl.d.ts +3 -3
  408. package/designer/controls/metadata/xrControl.js +3 -3
  409. package/designer/controls/metadata/xrCrossTab.d.ts +3 -3
  410. package/designer/controls/metadata/xrCrossTab.js +3 -3
  411. package/designer/controls/metadata/xrCrossband.d.ts +3 -3
  412. package/designer/controls/metadata/xrCrossband.js +3 -3
  413. package/designer/controls/metadata/xrGauge.d.ts +3 -3
  414. package/designer/controls/metadata/xrGauge.js +3 -3
  415. package/designer/controls/metadata/xrLine.d.ts +3 -3
  416. package/designer/controls/metadata/xrLine.js +3 -3
  417. package/designer/controls/metadata/xrPagebreak.d.ts +3 -3
  418. package/designer/controls/metadata/xrPagebreak.js +3 -3
  419. package/designer/controls/metadata/xrPageinfo.d.ts +3 -3
  420. package/designer/controls/metadata/xrPageinfo.js +3 -3
  421. package/designer/controls/metadata/xrPdfContent.d.ts +3 -3
  422. package/designer/controls/metadata/xrPdfContent.js +3 -3
  423. package/designer/controls/metadata/xrPdfSignature.d.ts +3 -3
  424. package/designer/controls/metadata/xrPdfSignature.js +3 -3
  425. package/designer/controls/metadata/xrPicturebox.d.ts +3 -3
  426. package/designer/controls/metadata/xrPicturebox.js +3 -3
  427. package/designer/controls/metadata/xrPivotgrid.d.ts +3 -3
  428. package/designer/controls/metadata/xrPivotgrid.js +3 -3
  429. package/designer/controls/metadata/xrReport.d.ts +3 -3
  430. package/designer/controls/metadata/xrReport.js +3 -3
  431. package/designer/controls/metadata/xrRichText.d.ts +3 -3
  432. package/designer/controls/metadata/xrRichText.js +3 -3
  433. package/designer/controls/metadata/xrShape.d.ts +3 -3
  434. package/designer/controls/metadata/xrShape.js +3 -3
  435. package/designer/controls/metadata/xrSparkline.d.ts +3 -3
  436. package/designer/controls/metadata/xrSparkline.js +3 -3
  437. package/designer/controls/metadata/xrSubreport.d.ts +3 -3
  438. package/designer/controls/metadata/xrSubreport.js +3 -3
  439. package/designer/controls/metadata/xrSubreportParameterBinding.d.ts +3 -3
  440. package/designer/controls/metadata/xrSubreportParameterBinding.js +3 -3
  441. package/designer/controls/metadata/xrTable.d.ts +3 -3
  442. package/designer/controls/metadata/xrTable.js +3 -3
  443. package/designer/controls/metadata/xrTableCell.d.ts +3 -3
  444. package/designer/controls/metadata/xrTableCell.js +3 -3
  445. package/designer/controls/metadata/xrTableOfContents.d.ts +3 -3
  446. package/designer/controls/metadata/xrTableOfContents.js +3 -3
  447. package/designer/controls/metadata/xrTableOfContentsLevel.d.ts +3 -3
  448. package/designer/controls/metadata/xrTableOfContentsLevel.js +3 -3
  449. package/designer/controls/metadata/xrTableRow.d.ts +3 -3
  450. package/designer/controls/metadata/xrTableRow.js +3 -3
  451. package/designer/controls/metadata/xrTextControl.d.ts +3 -3
  452. package/designer/controls/metadata/xrTextControl.js +3 -3
  453. package/designer/controls/metadata/xrZipcode.d.ts +3 -3
  454. package/designer/controls/metadata/xrZipcode.js +3 -3
  455. package/designer/controls/pivotgrid/pivotgridfield.d.ts +3 -3
  456. package/designer/controls/pivotgrid/pivotgridfield.js +3 -3
  457. package/designer/controls/pivotgrid/sortBySummary.d.ts +3 -3
  458. package/designer/controls/pivotgrid/sortBySummary.js +3 -3
  459. package/designer/controls/properties/action.d.ts +3 -3
  460. package/designer/controls/properties/action.js +3 -3
  461. package/designer/controls/properties/anchoring.d.ts +3 -3
  462. package/designer/controls/properties/anchoring.js +3 -3
  463. package/designer/controls/properties/components.d.ts +3 -3
  464. package/designer/controls/properties/components.js +3 -3
  465. package/designer/controls/properties/controlParameter.d.ts +3 -3
  466. package/designer/controls/properties/controlParameter.js +3 -3
  467. package/designer/controls/properties/editOptions.d.ts +3 -3
  468. package/designer/controls/properties/editOptions.js +3 -3
  469. package/designer/controls/properties/expressionBinding.d.ts +3 -3
  470. package/designer/controls/properties/expressionBinding.js +3 -3
  471. package/designer/controls/properties/extension.d.ts +3 -3
  472. package/designer/controls/properties/extension.js +3 -3
  473. package/designer/controls/properties/formattingrules.d.ts +3 -3
  474. package/designer/controls/properties/formattingrules.js +3 -3
  475. package/designer/controls/properties/glyphOptions.d.ts +3 -3
  476. package/designer/controls/properties/glyphOptions.js +3 -3
  477. package/designer/controls/properties/glyphsInfo.d.ts +3 -3
  478. package/designer/controls/properties/glyphsInfo.js +3 -3
  479. package/designer/controls/properties/sortingOptions.d.ts +3 -3
  480. package/designer/controls/properties/sortingOptions.js +3 -3
  481. package/designer/controls/properties/style.d.ts +3 -3
  482. package/designer/controls/properties/style.js +3 -3
  483. package/designer/controls/properties/symbology.d.ts +3 -3
  484. package/designer/controls/properties/symbology.js +3 -3
  485. package/designer/controls/properties/watermark.d.ts +3 -3
  486. package/designer/controls/properties/watermark.js +3 -3
  487. package/designer/controls/richEdit.d.ts +3 -3
  488. package/designer/controls/richEdit.js +3 -3
  489. package/designer/controls/spartlineTypes.d.ts +3 -3
  490. package/designer/controls/spartlineTypes.js +3 -3
  491. package/designer/controls/subreportViewModel.d.ts +3 -3
  492. package/designer/controls/subreportViewModel.js +3 -3
  493. package/designer/controls/utils/_IReportSerializableModel.d.ts +3 -3
  494. package/designer/controls/utils/_IReportSerializableModel.js +3 -3
  495. package/designer/controls/utils/_bindings.d.ts +3 -3
  496. package/designer/controls/utils/_bindings.js +3 -3
  497. package/designer/controls/utils/_charactercombHelper.d.ts +3 -3
  498. package/designer/controls/utils/_charactercombHelper.js +3 -3
  499. package/designer/controls/utils/_chartDataFilterModelReport.d.ts +3 -3
  500. package/designer/controls/utils/_chartDataFilterModelReport.js +3 -3
  501. package/designer/controls/utils/_chartFieldListExtender.d.ts +3 -3
  502. package/designer/controls/utils/_chartFieldListExtender.js +3 -3
  503. package/designer/controls/utils/_chartUtils.d.ts +3 -3
  504. package/designer/controls/utils/_chartUtils.js +3 -3
  505. package/designer/controls/utils/_controlTypes.d.ts +3 -3
  506. package/designer/controls/utils/_controlTypes.js +3 -3
  507. package/designer/controls/utils/_headOrFooterBandType.d.ts +3 -3
  508. package/designer/controls/utils/_headOrFooterBandType.js +3 -3
  509. package/designer/controls/utils/_initUtils.d.ts +3 -3
  510. package/designer/controls/utils/_initUtils.js +3 -3
  511. package/designer/controls/utils/_localizationUtils.d.ts +3 -3
  512. package/designer/controls/utils/_localizationUtils.js +3 -3
  513. package/designer/controls/utils/_metaUtils.d.ts +3 -3
  514. package/designer/controls/utils/_metaUtils.js +3 -3
  515. package/designer/controls/utils/_modelPatch.d.ts +3 -3
  516. package/designer/controls/utils/_modelPatch.js +3 -3
  517. package/designer/controls/utils/_paddingUtils.d.ts +3 -3
  518. package/designer/controls/utils/_paddingUtils.js +3 -3
  519. package/designer/controls/utils/_subreportUtils.d.ts +3 -3
  520. package/designer/controls/utils/_subreportUtils.js +3 -3
  521. package/designer/controls/utils/_tableCalculationProvider.d.ts +3 -3
  522. package/designer/controls/utils/_tableCalculationProvider.js +3 -3
  523. package/designer/controls/utils/_tableComponentSurface.d.ts +3 -3
  524. package/designer/controls/utils/_tableComponentSurface.js +3 -3
  525. package/designer/controls/utils/_tocUtils.d.ts +3 -3
  526. package/designer/controls/utils/_tocUtils.js +3 -3
  527. package/designer/controls/utils/controlsFactory.d.ts +3 -3
  528. package/designer/controls/utils/controlsFactory.js +3 -3
  529. package/designer/controls/xrBarcode.d.ts +3 -3
  530. package/designer/controls/xrBarcode.js +3 -3
  531. package/designer/controls/xrCharactercomb.d.ts +3 -3
  532. package/designer/controls/xrCharactercomb.js +3 -3
  533. package/designer/controls/xrChart.d.ts +3 -3
  534. package/designer/controls/xrChart.js +3 -3
  535. package/designer/controls/xrCheckbox.d.ts +3 -3
  536. package/designer/controls/xrCheckbox.js +3 -3
  537. package/designer/controls/xrControl.d.ts +3 -3
  538. package/designer/controls/xrControl.js +3 -3
  539. package/designer/controls/xrCrossTab.d.ts +3 -3
  540. package/designer/controls/xrCrossTab.js +3 -3
  541. package/designer/controls/xrCrossTabCell.d.ts +3 -3
  542. package/designer/controls/xrCrossTabCell.js +3 -3
  543. package/designer/controls/xrCrossband.d.ts +3 -3
  544. package/designer/controls/xrCrossband.js +3 -3
  545. package/designer/controls/xrGauge.d.ts +3 -3
  546. package/designer/controls/xrGauge.js +3 -3
  547. package/designer/controls/xrLine.d.ts +3 -3
  548. package/designer/controls/xrLine.js +3 -3
  549. package/designer/controls/xrPagebreak.d.ts +3 -3
  550. package/designer/controls/xrPagebreak.js +3 -3
  551. package/designer/controls/xrPageinfo.d.ts +3 -3
  552. package/designer/controls/xrPageinfo.js +3 -3
  553. package/designer/controls/xrPdfContent.d.ts +3 -3
  554. package/designer/controls/xrPdfContent.js +3 -3
  555. package/designer/controls/xrPdfSignature.d.ts +3 -3
  556. package/designer/controls/xrPdfSignature.js +3 -3
  557. package/designer/controls/xrPicturebox.d.ts +3 -3
  558. package/designer/controls/xrPicturebox.js +3 -3
  559. package/designer/controls/xrPivotgrid.d.ts +3 -3
  560. package/designer/controls/xrPivotgrid.js +3 -3
  561. package/designer/controls/xrReport.d.ts +3 -3
  562. package/designer/controls/xrReport.js +3 -3
  563. package/designer/controls/xrReportelement.d.ts +3 -3
  564. package/designer/controls/xrReportelement.js +3 -3
  565. package/designer/controls/xrRichText.d.ts +3 -3
  566. package/designer/controls/xrRichText.js +3 -3
  567. package/designer/controls/xrRichTextSurface.d.ts +3 -3
  568. package/designer/controls/xrRichTextSurface.js +3 -3
  569. package/designer/controls/xrShape.d.ts +3 -3
  570. package/designer/controls/xrShape.js +3 -3
  571. package/designer/controls/xrSparkline.d.ts +3 -3
  572. package/designer/controls/xrSparkline.js +3 -3
  573. package/designer/controls/xrSubreport.d.ts +3 -3
  574. package/designer/controls/xrSubreport.js +3 -3
  575. package/designer/controls/xrSubreportParameterBinding.d.ts +3 -3
  576. package/designer/controls/xrSubreportParameterBinding.js +3 -3
  577. package/designer/controls/xrTable.d.ts +3 -3
  578. package/designer/controls/xrTable.js +3 -3
  579. package/designer/controls/xrTableCell.d.ts +3 -3
  580. package/designer/controls/xrTableCell.js +3 -3
  581. package/designer/controls/xrTableOfContents.d.ts +3 -3
  582. package/designer/controls/xrTableOfContents.js +3 -3
  583. package/designer/controls/xrTableOfContentsLevel.d.ts +3 -3
  584. package/designer/controls/xrTableOfContentsLevel.js +3 -3
  585. package/designer/controls/xrTableRow.d.ts +3 -3
  586. package/designer/controls/xrTableRow.js +3 -3
  587. package/designer/controls/xrTextControl.d.ts +3 -3
  588. package/designer/controls/xrTextControl.js +3 -3
  589. package/designer/controls/xrUnknownControl.d.ts +3 -3
  590. package/designer/controls/xrUnknownControl.js +3 -3
  591. package/designer/controls/xrZipcode.d.ts +3 -3
  592. package/designer/controls/xrZipcode.js +3 -3
  593. package/designer/dataObjects/calculatedField.d.ts +3 -3
  594. package/designer/dataObjects/calculatedField.js +3 -3
  595. package/designer/dataObjects/dataBinding.d.ts +3 -3
  596. package/designer/dataObjects/dataBinding.js +3 -3
  597. package/designer/dataObjects/dataFederation.d.ts +3 -3
  598. package/designer/dataObjects/dataFederation.js +3 -3
  599. package/designer/dataObjects/expressions/_expressionWrapper.d.ts +3 -3
  600. package/designer/dataObjects/expressions/_expressionWrapper.js +3 -3
  601. package/designer/dataObjects/expressions/_wrappedExpressionOptions.d.ts +3 -3
  602. package/designer/dataObjects/expressions/_wrappedExpressionOptions.js +3 -3
  603. package/designer/dataObjects/metadata/_parameterUtils.d.ts +3 -3
  604. package/designer/dataObjects/metadata/_parameterUtils.js +3 -3
  605. package/designer/dataObjects/metadata/calculatedField.d.ts +3 -3
  606. package/designer/dataObjects/metadata/calculatedField.js +3 -3
  607. package/designer/dataObjects/metadata/dataBinding.d.ts +3 -3
  608. package/designer/dataObjects/metadata/dataBinding.js +3 -3
  609. package/designer/dataObjects/metadata/dataBindingInfo.d.ts +3 -3
  610. package/designer/dataObjects/metadata/dataBindingInfo.js +3 -3
  611. package/designer/dataObjects/metadata/parameters/layoutItems.d.ts +3 -3
  612. package/designer/dataObjects/metadata/parameters/layoutItems.js +3 -3
  613. package/designer/dataObjects/metadata/parameters/lookUpSettings.d.ts +3 -3
  614. package/designer/dataObjects/metadata/parameters/lookUpSettings.js +3 -3
  615. package/designer/dataObjects/metadata/parameters/lookUpValue.d.ts +3 -3
  616. package/designer/dataObjects/metadata/parameters/lookUpValue.js +3 -3
  617. package/designer/dataObjects/metadata/parameters/parameter.d.ts +3 -3
  618. package/designer/dataObjects/metadata/parameters/parameter.js +3 -3
  619. package/designer/dataObjects/metadata/parameters/parameterExpressionBinding.d.ts +3 -3
  620. package/designer/dataObjects/metadata/parameters/parameterExpressionBinding.js +3 -3
  621. package/designer/dataObjects/metadata/parameters/rangeSettings.d.ts +3 -3
  622. package/designer/dataObjects/metadata/parameters/rangeSettings.js +3 -3
  623. package/designer/dataObjects/objectItemCreation.d.ts +3 -3
  624. package/designer/dataObjects/objectItemCreation.js +3 -3
  625. package/designer/dataObjects/objectStorage.d.ts +3 -3
  626. package/designer/dataObjects/objectStorage.js +3 -3
  627. package/designer/dataObjects/objectStorageItem.d.ts +3 -3
  628. package/designer/dataObjects/objectStorageItem.js +3 -3
  629. package/designer/dataObjects/parameters/layoutItems.d.ts +3 -3
  630. package/designer/dataObjects/parameters/layoutItems.js +3 -3
  631. package/designer/dataObjects/parameters/lookUpValue.d.ts +3 -3
  632. package/designer/dataObjects/parameters/lookUpValue.js +3 -3
  633. package/designer/dataObjects/parameters/lookupSettings.d.ts +3 -3
  634. package/designer/dataObjects/parameters/lookupSettings.js +3 -3
  635. package/designer/dataObjects/parameters/parameter.d.ts +3 -3
  636. package/designer/dataObjects/parameters/parameter.js +3 -3
  637. package/designer/dataObjects/parameters/parameterExpressionAddon.d.ts +3 -3
  638. package/designer/dataObjects/parameters/parameterExpressionAddon.js +3 -3
  639. package/designer/dataObjects/parameters/parameterExpressionBinding.d.ts +3 -3
  640. package/designer/dataObjects/parameters/parameterExpressionBinding.js +3 -3
  641. package/designer/dataObjects/parameters/parameterSettings.d.ts +3 -3
  642. package/designer/dataObjects/parameters/parameterSettings.js +3 -3
  643. package/designer/dataObjects/parameters/parameterTypesHelper.d.ts +3 -3
  644. package/designer/dataObjects/parameters/parameterTypesHelper.js +3 -3
  645. package/designer/dataObjects/parameters/propertyExpressionMapper.d.ts +3 -3
  646. package/designer/dataObjects/parameters/propertyExpressionMapper.js +3 -3
  647. package/designer/dataObjects/parameters/rangeSettings.d.ts +3 -3
  648. package/designer/dataObjects/parameters/rangeSettings.js +3 -3
  649. package/designer/dataObjects/parameters/valueSourceSettingsHelper.d.ts +3 -3
  650. package/designer/dataObjects/parameters/valueSourceSettingsHelper.js +3 -3
  651. package/designer/dataObjects/universalDataSource.d.ts +3 -3
  652. package/designer/dataObjects/universalDataSource.js +3 -3
  653. package/designer/helpers/_dataSourceHelper.d.ts +3 -3
  654. package/designer/helpers/_dataSourceHelper.js +3 -3
  655. package/designer/helpers/_designControlsHelper.d.ts +3 -3
  656. package/designer/helpers/_designControlsHelper.js +3 -3
  657. package/designer/helpers/_reportDesignerControlsHelper.d.ts +3 -3
  658. package/designer/helpers/_reportDesignerControlsHelper.js +3 -3
  659. package/designer/helpers/_styleHelper.d.ts +3 -3
  660. package/designer/helpers/_styleHelper.js +3 -3
  661. package/designer/helpers/_textElementSizeHelper.d.ts +3 -3
  662. package/designer/helpers/_textElementSizeHelper.js +3 -3
  663. package/designer/helpers/reportParameterHelper.d.ts +3 -3
  664. package/designer/helpers/reportParameterHelper.js +3 -3
  665. package/designer/internal/_addVariablesToExpressionEditor.d.ts +3 -3
  666. package/designer/internal/_addVariablesToExpressionEditor.js +3 -3
  667. package/designer/internal/_autoScrolling.d.ts +3 -3
  668. package/designer/internal/_autoScrolling.js +3 -3
  669. package/designer/internal/_bandLevelEditor.d.ts +3 -3
  670. package/designer/internal/_bandLevelEditor.js +3 -3
  671. package/designer/internal/_baseConverter.d.ts +3 -3
  672. package/designer/internal/_baseConverter.js +3 -3
  673. package/designer/internal/_controlScrollingTool.d.ts +3 -3
  674. package/designer/internal/_controlScrollingTool.js +3 -3
  675. package/designer/internal/_coordinateGrid.d.ts +3 -3
  676. package/designer/internal/_coordinateGrid.js +3 -3
  677. package/designer/internal/_copyPasteStrategy.d.ts +3 -3
  678. package/designer/internal/_copyPasteStrategy.js +3 -3
  679. package/designer/internal/_createIDataMemberInfoByName.d.ts +3 -3
  680. package/designer/internal/_createIDataMemberInfoByName.js +3 -3
  681. package/designer/internal/_createObjectFromInfo.d.ts +3 -3
  682. package/designer/internal/_createObjectFromInfo.js +3 -3
  683. package/designer/internal/_crossTabConverter.d.ts +3 -3
  684. package/designer/internal/_crossTabConverter.js +3 -3
  685. package/designer/internal/_customMergingEngine.d.ts +3 -3
  686. package/designer/internal/_customMergingEngine.js +3 -3
  687. package/designer/internal/_dataBindingMode.d.ts +3 -3
  688. package/designer/internal/_dataBindingMode.js +3 -3
  689. package/designer/internal/_dataUtils.d.ts +3 -3
  690. package/designer/internal/_dataUtils.js +3 -3
  691. package/designer/internal/_defaultCrossTabControl.d.ts +3 -3
  692. package/designer/internal/_defaultCrossTabControl.js +3 -3
  693. package/designer/internal/_designerEditorAddOn.d.ts +3 -3
  694. package/designer/internal/_designerEditorAddOn.js +3 -3
  695. package/designer/internal/_displayNameBindings.d.ts +3 -3
  696. package/designer/internal/_displayNameBindings.js +3 -3
  697. package/designer/internal/_displayNameProvider.d.ts +3 -3
  698. package/designer/internal/_displayNameProvider.js +3 -3
  699. package/designer/internal/_expressionEditorAction.d.ts +3 -3
  700. package/designer/internal/_expressionEditorAction.js +3 -3
  701. package/designer/internal/_expressionableFontModel.d.ts +3 -3
  702. package/designer/internal/_expressionableFontModel.js +3 -3
  703. package/designer/internal/_htmlMarkUpConverter.d.ts +3 -3
  704. package/designer/internal/_htmlMarkUpConverter.js +3 -3
  705. package/designer/internal/_initializer.d.ts +3 -3
  706. package/designer/internal/_initializer.js +3 -3
  707. package/designer/internal/_localizationStringId.d.ts +3 -3
  708. package/designer/internal/_localizationStringId.js +3 -3
  709. package/designer/internal/_reportConverter.d.ts +3 -3
  710. package/designer/internal/_reportConverter.js +3 -3
  711. package/designer/internal/_ruler.d.ts +3 -3
  712. package/designer/internal/_ruler.js +3 -3
  713. package/designer/internal/_settings.d.ts +3 -3
  714. package/designer/internal/_settings.js +3 -3
  715. package/designer/internal/_translateHelper.d.ts +3 -3
  716. package/designer/internal/_translateHelper.js +3 -3
  717. package/designer/internal/_utils.d.ts +3 -3
  718. package/designer/internal/_utils.js +3 -3
  719. package/designer/internal/_watermarkBinding.d.ts +3 -3
  720. package/designer/internal/_watermarkBinding.js +3 -3
  721. package/designer/internal/_wizardRunner.d.ts +3 -3
  722. package/designer/internal/_wizardRunner.js +3 -3
  723. package/designer/internal/dragdrop/_fieldListDragDropHandler.d.ts +3 -3
  724. package/designer/internal/dragdrop/_fieldListDragDropHandler.js +3 -3
  725. package/designer/internal/dragdrop/_fieldListDragDropHelper.d.ts +3 -3
  726. package/designer/internal/dragdrop/_fieldListDragDropHelper.js +3 -3
  727. package/designer/internal/dragdrop/_objectExplorerDragDropHandler.d.ts +3 -3
  728. package/designer/internal/dragdrop/_objectExplorerDragDropHandler.js +3 -3
  729. package/designer/internal/dragdrop/_objectExplorerDragDropHelper.d.ts +3 -3
  730. package/designer/internal/dragdrop/_objectExplorerDragDropHelper.js +3 -3
  731. package/designer/internal/dragdrop/_reportControlsDragDropHelper.d.ts +3 -3
  732. package/designer/internal/dragdrop/_reportControlsDragDropHelper.js +3 -3
  733. package/designer/internal/dragdrop/_reportExplorerDragDropHandler.d.ts +3 -3
  734. package/designer/internal/dragdrop/_reportExplorerDragDropHandler.js +3 -3
  735. package/designer/internal/dragdrop/_reportSnapLinesCollector.d.ts +3 -3
  736. package/designer/internal/dragdrop/_reportSnapLinesCollector.js +3 -3
  737. package/designer/internal/dragdrop/_reportToolboxDragDropHandler.d.ts +3 -3
  738. package/designer/internal/dragdrop/_reportToolboxDragDropHandler.js +3 -3
  739. package/designer/internal/dragdrop/_selectionDragDropHandler.d.ts +3 -3
  740. package/designer/internal/dragdrop/_selectionDragDropHandler.js +3 -3
  741. package/designer/internal/dragdrop/_utils.d.ts +3 -3
  742. package/designer/internal/dragdrop/_utils.js +3 -3
  743. package/designer/internal/errorPanel/_designerErrorProvider.d.ts +3 -3
  744. package/designer/internal/errorPanel/_designerErrorProvider.js +3 -3
  745. package/designer/internal/errorPanel/_errorPanelViewModel.d.ts +3 -3
  746. package/designer/internal/errorPanel/_errorPanelViewModel.js +3 -3
  747. package/designer/internal/errorPanel/_runtimeErrorProvider.d.ts +3 -3
  748. package/designer/internal/errorPanel/_runtimeErrorProvider.js +3 -3
  749. package/designer/internal/errorPanel/_types.d.ts +3 -3
  750. package/designer/internal/errorPanel/_types.js +3 -3
  751. package/designer/internal/fieldlist/_calculatedFieldsSource.d.ts +3 -3
  752. package/designer/internal/fieldlist/_calculatedFieldsSource.js +3 -3
  753. package/designer/internal/fieldlist/_dataSourceItemsExtender.d.ts +3 -3
  754. package/designer/internal/fieldlist/_dataSourceItemsExtender.js +3 -3
  755. package/designer/internal/fieldlist/_fieldListController.d.ts +3 -3
  756. package/designer/internal/fieldlist/_fieldListController.js +3 -3
  757. package/designer/internal/fieldlist/_fieldListDataSourcesHelper.d.ts +3 -3
  758. package/designer/internal/fieldlist/_fieldListDataSourcesHelper.js +3 -3
  759. package/designer/internal/fieldlist/_parametersViewModel.d.ts +3 -3
  760. package/designer/internal/fieldlist/_parametersViewModel.js +3 -3
  761. package/designer/internal/fieldlist/_renameDataSourceStrategy.d.ts +3 -3
  762. package/designer/internal/fieldlist/_renameDataSourceStrategy.js +3 -3
  763. package/designer/internal/fieldlist/_treelistFactory.d.ts +3 -3
  764. package/designer/internal/fieldlist/_treelistFactory.js +3 -3
  765. package/designer/internal/fieldlist/_treelistItem.d.ts +3 -3
  766. package/designer/internal/fieldlist/_treelistItem.js +3 -3
  767. package/designer/internal/fieldlist/_watermarksViewModel.d.ts +3 -3
  768. package/designer/internal/fieldlist/_watermarksViewModel.js +3 -3
  769. package/designer/internal/parameterLayout/_parameterLayoutDragDropHandler.d.ts +3 -3
  770. package/designer/internal/parameterLayout/_parameterLayoutDragDropHandler.js +3 -3
  771. package/designer/internal/parameterLayout/_parametersLayoutItemsProvider.d.ts +3 -3
  772. package/designer/internal/parameterLayout/_parametersLayoutItemsProvider.js +3 -3
  773. package/designer/internal/parameterLayout/_parametersLayoutTreeListController.d.ts +3 -3
  774. package/designer/internal/parameterLayout/_parametersLayoutTreeListController.js +3 -3
  775. package/designer/internal/reportExplorer/_reportExplorer.d.ts +3 -3
  776. package/designer/internal/reportExplorer/_reportExplorer.js +3 -3
  777. package/designer/internal/reportExplorer/_reportItemsProvider.d.ts +3 -3
  778. package/designer/internal/reportExplorer/_reportItemsProvider.js +3 -3
  779. package/designer/internal/scripting/_eventArgsTypes.d.ts +3 -3
  780. package/designer/internal/scripting/_eventArgsTypes.js +3 -3
  781. package/designer/internal/scripting/_eventdropdowneditor.d.ts +3 -3
  782. package/designer/internal/scripting/_eventdropdowneditor.js +3 -3
  783. package/designer/internal/scripting/_languageHelper.d.ts +3 -3
  784. package/designer/internal/scripting/_languageHelper.js +3 -3
  785. package/designer/internal/scripting/_reportCompleter.d.ts +3 -3
  786. package/designer/internal/scripting/_reportCompleter.js +3 -3
  787. package/designer/internal/scripting/_reportDummyCreator.d.ts +3 -3
  788. package/designer/internal/scripting/_reportDummyCreator.js +3 -3
  789. package/designer/internal/scripting/_scriptsEditor.d.ts +3 -3
  790. package/designer/internal/scripting/_scriptsEditor.js +3 -3
  791. package/designer/internal/serialization/_serializer.d.ts +3 -3
  792. package/designer/internal/serialization/_serializer.js +3 -3
  793. package/designer/jsReportDesigner.d.ts +3 -3
  794. package/designer/jsReportDesigner.js +3 -3
  795. package/designer/jsReportDesignerBinding.d.ts +3 -3
  796. package/designer/jsReportDesignerBinding.js +3 -3
  797. package/designer/localization/_localization.d.ts +3 -3
  798. package/designer/localization/_localization.js +3 -3
  799. package/designer/localization/_localizationEditor.d.ts +3 -3
  800. package/designer/localization/_localizationEditor.js +3 -3
  801. package/designer/localization/_localizationEngine.d.ts +3 -3
  802. package/designer/localization/_localizationEngine.js +3 -3
  803. package/designer/localization/_localiziblePropertiesAccessibilityProvider.d.ts +3 -3
  804. package/designer/localization/_localiziblePropertiesAccessibilityProvider.js +3 -3
  805. package/designer/localization/localizationMetadata.d.ts +3 -3
  806. package/designer/localization/localizationMetadata.js +3 -3
  807. package/designer/localization/localizationService.d.ts +3 -3
  808. package/designer/localization/localizationService.js +3 -3
  809. package/designer/services/_controlConverterService.d.ts +3 -3
  810. package/designer/services/_controlConverterService.js +3 -3
  811. package/designer/services/_formatStringService.d.ts +3 -3
  812. package/designer/services/_formatStringService.js +3 -3
  813. package/designer/services/_reportDataSourceService.d.ts +3 -3
  814. package/designer/services/_reportDataSourceService.js +3 -3
  815. package/designer/services/_reportPreviewService.d.ts +3 -3
  816. package/designer/services/_reportPreviewService.js +3 -3
  817. package/designer/services/_reportRenderingService.d.ts +3 -3
  818. package/designer/services/_reportRenderingService.js +3 -3
  819. package/designer/services/_reportScriptService.d.ts +3 -3
  820. package/designer/services/_reportScriptService.js +3 -3
  821. package/designer/services/_reportWizardService.d.ts +3 -3
  822. package/designer/services/_reportWizardService.js +3 -3
  823. package/designer/services/reportStorageWeb.d.ts +3 -3
  824. package/designer/services/reportStorageWeb.js +3 -3
  825. package/designer/settings.d.ts +3 -3
  826. package/designer/settings.js +3 -3
  827. package/designer/tools/dialogs/editParametersDialog.d.ts +3 -3
  828. package/designer/tools/dialogs/editParametersDialog.js +3 -3
  829. package/designer/tools/dialogs/openReportDialog.d.ts +3 -3
  830. package/designer/tools/dialogs/openReportDialog.js +3 -3
  831. package/designer/tools/dialogs/parametersDialogs.d.ts +3 -3
  832. package/designer/tools/dialogs/parametersDialogs.js +3 -3
  833. package/designer/tools/dialogs/reportDialogBase.d.ts +3 -3
  834. package/designer/tools/dialogs/reportDialogBase.js +3 -3
  835. package/designer/tools/dialogs/saveAsReportDialog.d.ts +3 -3
  836. package/designer/tools/dialogs/saveAsReportDialog.js +3 -3
  837. package/designer/tools/dialogs/saveReportDialog.d.ts +3 -3
  838. package/designer/tools/dialogs/saveReportDialog.js +3 -3
  839. package/designer/tools/generator/_inititalizer.d.ts +3 -3
  840. package/designer/tools/generator/_inititalizer.js +3 -3
  841. package/designer/tools/generator/_qBRequestWrapper.d.ts +3 -3
  842. package/designer/tools/generator/_qBRequestWrapper.js +3 -3
  843. package/designer/tools/generator/_reportMenuSettings.d.ts +3 -3
  844. package/designer/tools/generator/_reportMenuSettings.js +3 -3
  845. package/designer/tools/generator/_settings.d.ts +3 -3
  846. package/designer/tools/generator/_settings.js +3 -3
  847. package/designer/tools/generator/reportDesignerContext.d.ts +3 -3
  848. package/designer/tools/generator/reportDesignerContext.js +3 -3
  849. package/designer/tools/navigation/navigateByReports.d.ts +3 -3
  850. package/designer/tools/navigation/navigateByReports.js +3 -3
  851. package/designer/tools/navigation/navigateTab.d.ts +3 -3
  852. package/designer/tools/navigation/navigateTab.js +3 -3
  853. package/designer/tools/smartTags/expressionSmartTag.d.ts +3 -3
  854. package/designer/tools/smartTags/expressionSmartTag.js +3 -3
  855. package/designer/tools/smartTags/smartTagContainer.d.ts +3 -3
  856. package/designer/tools/smartTags/smartTagContainer.js +3 -3
  857. package/designer/utils/_registerControls.d.ts +3 -3
  858. package/designer/utils/_registerControls.js +3 -3
  859. package/designer/utils/_registerCustomControls.d.ts +3 -3
  860. package/designer/utils/_registerCustomControls.js +3 -3
  861. package/designer/utils/_registerCustomExpressions.d.ts +3 -3
  862. package/designer/utils/_registerCustomExpressions.js +3 -3
  863. package/designer/utils/base64ImageParser.d.ts +3 -3
  864. package/designer/utils/base64ImageParser.js +3 -3
  865. package/designer/utils/inititalizer.d.ts +3 -3
  866. package/designer/utils/inititalizer.js +3 -3
  867. package/designer/utils/paperKind.d.ts +3 -3
  868. package/designer/utils/paperKind.js +3 -3
  869. package/designer/utils/publicCallbacks.d.ts +3 -3
  870. package/designer/utils/publicCallbacks.js +3 -3
  871. package/designer/utils/reportDesignerElements.d.ts +3 -3
  872. package/designer/utils/reportDesignerElements.js +3 -3
  873. package/designer/utils/serializationInfo.d.ts +3 -3
  874. package/designer/utils/serializationInfo.js +3 -3
  875. package/designer/utils/settings.d.ts +3 -3
  876. package/designer/utils/settings.js +3 -3
  877. package/designer/utils/utils.d.ts +3 -3
  878. package/designer/utils/utils.js +3 -3
  879. package/designer/viewtemplates.d.ts +3 -3
  880. package/designer/viewtemplates.js +3 -3
  881. package/designer/widgets/_summaryEditor.d.ts +3 -3
  882. package/designer/widgets/_summaryEditor.js +3 -3
  883. package/designer/widgets/bandEditors.d.ts +3 -3
  884. package/designer/widgets/bandEditors.js +3 -3
  885. package/designer/widgets/chartValueBindingEditor.d.ts +3 -3
  886. package/designer/widgets/chartValueBindingEditor.js +3 -3
  887. package/designer/widgets/customFunctions.d.ts +3 -3
  888. package/designer/widgets/customFunctions.js +3 -3
  889. package/designer/widgets/dataSourceEditor.d.ts +3 -3
  890. package/designer/widgets/dataSourceEditor.js +3 -3
  891. package/designer/widgets/dataSourceSelectBox.d.ts +3 -3
  892. package/designer/widgets/dataSourceSelectBox.js +3 -3
  893. package/designer/widgets/editOptionsEditor.d.ts +3 -3
  894. package/designer/widgets/editOptionsEditor.js +3 -3
  895. package/designer/widgets/editorTemplates.d.ts +3 -3
  896. package/designer/widgets/editorTemplates.js +3 -3
  897. package/designer/widgets/explorerEditors.d.ts +3 -3
  898. package/designer/widgets/explorerEditors.js +3 -3
  899. package/designer/widgets/expressionableFontEditor.d.ts +3 -3
  900. package/designer/widgets/expressionableFontEditor.js +3 -3
  901. package/designer/widgets/expressioneditor/reportComplexExpressionEditor.d.ts +3 -3
  902. package/designer/widgets/expressioneditor/reportComplexExpressionEditor.js +3 -3
  903. package/designer/widgets/expressioneditor/reportExpressionEditor.d.ts +3 -3
  904. package/designer/widgets/expressioneditor/reportExpressionEditor.js +3 -3
  905. package/designer/widgets/expressioneditor/reportExpressionEditorAdapter.d.ts +3 -3
  906. package/designer/widgets/expressioneditor/reportExpressionEditorAdapter.js +3 -3
  907. package/designer/widgets/expressioneditor/reportExpressionEditorWrapper.d.ts +3 -3
  908. package/designer/widgets/expressioneditor/reportExpressionEditorWrapper.js +3 -3
  909. package/designer/widgets/fieldsComboboxEditor.d.ts +3 -3
  910. package/designer/widgets/fieldsComboboxEditor.js +3 -3
  911. package/designer/widgets/formatStringEditor.d.ts +3 -3
  912. package/designer/widgets/formatStringEditor.js +3 -3
  913. package/designer/widgets/formattingRuleEditor.d.ts +3 -3
  914. package/designer/widgets/formattingRuleEditor.js +3 -3
  915. package/designer/widgets/gaugeStyleEditor.d.ts +3 -3
  916. package/designer/widgets/gaugeStyleEditor.js +3 -3
  917. package/designer/widgets/groups.d.ts +3 -3
  918. package/designer/widgets/groups.js +3 -3
  919. package/designer/widgets/imageSourceEditor.d.ts +3 -3
  920. package/designer/widgets/imageSourceEditor.js +3 -3
  921. package/designer/widgets/linesEditor.d.ts +3 -3
  922. package/designer/widgets/linesEditor.js +3 -3
  923. package/designer/widgets/nameEditor.d.ts +3 -3
  924. package/designer/widgets/nameEditor.js +3 -3
  925. package/designer/widgets/pivotGridCriteriaEditor.d.ts +3 -3
  926. package/designer/widgets/pivotGridCriteriaEditor.js +3 -3
  927. package/designer/widgets/propertyGridEditors.d.ts +3 -3
  928. package/designer/widgets/propertyGridEditors.js +3 -3
  929. package/designer/widgets/registerEditors.d.ts +3 -3
  930. package/designer/widgets/registerEditors.js +3 -3
  931. package/designer/widgets/reportFieldListEditor.d.ts +3 -3
  932. package/designer/widgets/reportFieldListEditor.js +3 -3
  933. package/designer/widgets/reportUrlEditor.d.ts +3 -3
  934. package/designer/widgets/reportUrlEditor.js +3 -3
  935. package/designer/widgets/richTextFileEditor.d.ts +3 -3
  936. package/designer/widgets/richTextFileEditor.js +3 -3
  937. package/designer/widgets/styleseditor.d.ts +3 -3
  938. package/designer/widgets/styleseditor.js +3 -3
  939. package/designer/widgets/summaryEditor.d.ts +3 -3
  940. package/designer/widgets/summaryEditor.js +3 -3
  941. package/designer/widgets/undoEditors.d.ts +3 -3
  942. package/designer/widgets/undoEditors.js +3 -3
  943. package/designer/widgets/watermarkIdEditor.d.ts +3 -3
  944. package/designer/widgets/watermarkIdEditor.js +3 -3
  945. package/designer/wizard/_reportWizardCreating.d.ts +3 -3
  946. package/designer/wizard/_reportWizardCreating.js +3 -3
  947. package/designer/wizard/_utils.d.ts +3 -3
  948. package/designer/wizard/_utils.js +3 -3
  949. package/designer/wizard/fullscreenReportWizard.d.ts +3 -3
  950. package/designer/wizard/fullscreenReportWizard.js +3 -3
  951. package/designer/wizard/internal/_commonRequestModel.d.ts +3 -3
  952. package/designer/wizard/internal/_commonRequestModel.js +3 -3
  953. package/designer/wizard/internal/_crossTabDragUtils.d.ts +3 -3
  954. package/designer/wizard/internal/_crossTabDragUtils.js +3 -3
  955. package/designer/wizard/internal/_crossTabRequestModel.d.ts +3 -3
  956. package/designer/wizard/internal/_crossTabRequestModel.js +3 -3
  957. package/designer/wizard/internal/_labelWizardUtils.d.ts +3 -3
  958. package/designer/wizard/internal/_labelWizardUtils.js +3 -3
  959. package/designer/wizard/internal/_legacyReportRequestModel.d.ts +3 -3
  960. package/designer/wizard/internal/_legacyReportRequestModel.js +3 -3
  961. package/designer/wizard/internal/_masterDetailRequestModel.d.ts +3 -3
  962. package/designer/wizard/internal/_masterDetailRequestModel.js +3 -3
  963. package/designer/wizard/internal/_masterDetailWizardUtils.d.ts +3 -3
  964. package/designer/wizard/internal/_masterDetailWizardUtils.js +3 -3
  965. package/designer/wizard/internal/_pageSetupUtils.d.ts +3 -3
  966. package/designer/wizard/internal/_pageSetupUtils.js +3 -3
  967. package/designer/wizard/internal/_reportWizardStateHelper.d.ts +3 -3
  968. package/designer/wizard/internal/_reportWizardStateHelper.js +3 -3
  969. package/designer/wizard/internal/_summaryOptionsPageUtils.d.ts +3 -3
  970. package/designer/wizard/internal/_summaryOptionsPageUtils.js +3 -3
  971. package/designer/wizard/internal/_utils.d.ts +3 -3
  972. package/designer/wizard/internal/_utils.js +3 -3
  973. package/designer/wizard/internal/colorSchemaPageUtils.d.ts +3 -3
  974. package/designer/wizard/internal/colorSchemaPageUtils.js +3 -3
  975. package/designer/wizard/internal/labelWizardUtils.d.ts +3 -3
  976. package/designer/wizard/internal/labelWizardUtils.js +3 -3
  977. package/designer/wizard/internal/layoutPageUtils.d.ts +3 -3
  978. package/designer/wizard/internal/layoutPageUtils.js +3 -3
  979. package/designer/wizard/internal/reportStylePageUtils.d.ts +3 -3
  980. package/designer/wizard/internal/reportStylePageUtils.js +3 -3
  981. package/designer/wizard/internal/utils.d.ts +3 -3
  982. package/designer/wizard/internal/utils.js +3 -3
  983. package/designer/wizard/legacyReportWizard.d.ts +3 -3
  984. package/designer/wizard/legacyReportWizard.js +3 -3
  985. package/designer/wizard/pageId.d.ts +3 -3
  986. package/designer/wizard/pageId.js +3 -3
  987. package/designer/wizard/pages/_selectLabelTypePage.d.ts +3 -3
  988. package/designer/wizard/pages/_selectLabelTypePage.js +3 -3
  989. package/designer/wizard/pages/addGroupingLevelPage.d.ts +3 -3
  990. package/designer/wizard/pages/addGroupingLevelPage.js +3 -3
  991. package/designer/wizard/pages/addGroupingLevelSection.d.ts +3 -3
  992. package/designer/wizard/pages/addGroupingLevelSection.js +3 -3
  993. package/designer/wizard/pages/chooseAvailableDataSourcePage.d.ts +3 -3
  994. package/designer/wizard/pages/chooseAvailableDataSourcePage.js +3 -3
  995. package/designer/wizard/pages/chooseReportTypePage.d.ts +3 -3
  996. package/designer/wizard/pages/chooseReportTypePage.js +3 -3
  997. package/designer/wizard/pages/chooseSummaryOptionsPage.d.ts +3 -3
  998. package/designer/wizard/pages/chooseSummaryOptionsPage.js +3 -3
  999. package/designer/wizard/pages/chooseSummaryOptionsSection.d.ts +3 -3
  1000. package/designer/wizard/pages/chooseSummaryOptionsSection.js +3 -3
  1001. package/designer/wizard/pages/colorSchemePage.d.ts +3 -3
  1002. package/designer/wizard/pages/colorSchemePage.js +3 -3
  1003. package/designer/wizard/pages/configureReportPageSettingsAndColorSchemeSection.d.ts +3 -3
  1004. package/designer/wizard/pages/configureReportPageSettingsAndColorSchemeSection.js +3 -3
  1005. package/designer/wizard/pages/configureReportPageSettingsPage.d.ts +3 -3
  1006. package/designer/wizard/pages/configureReportPageSettingsPage.js +3 -3
  1007. package/designer/wizard/pages/customizeLabelPage.d.ts +3 -3
  1008. package/designer/wizard/pages/customizeLabelPage.js +3 -3
  1009. package/designer/wizard/pages/dataSourceWizard/_dataSourceWizardHelper.d.ts +3 -3
  1010. package/designer/wizard/pages/dataSourceWizard/_dataSourceWizardHelper.js +3 -3
  1011. package/designer/wizard/pages/dataSourceWizard/chooseJsonSchemaPage.d.ts +3 -3
  1012. package/designer/wizard/pages/dataSourceWizard/chooseJsonSchemaPage.js +3 -3
  1013. package/designer/wizard/pages/dataSourceWizard/configureMasterDetailRelationshipsPage.d.ts +3 -3
  1014. package/designer/wizard/pages/dataSourceWizard/configureMasterDetailRelationshipsPage.js +3 -3
  1015. package/designer/wizard/pages/dataSourceWizard/multiQueryConfigurePage.d.ts +3 -3
  1016. package/designer/wizard/pages/dataSourceWizard/multiQueryConfigurePage.js +3 -3
  1017. package/designer/wizard/pages/dataSourceWizard/multiQueryConfigureParametersPage.d.ts +3 -3
  1018. package/designer/wizard/pages/dataSourceWizard/multiQueryConfigureParametersPage.js +3 -3
  1019. package/designer/wizard/pages/fullscreen/configureCrossTabPage.d.ts +3 -3
  1020. package/designer/wizard/pages/fullscreen/configureCrossTabPage.js +3 -3
  1021. package/designer/wizard/pages/fullscreen/defineCrossTabPage.d.ts +3 -3
  1022. package/designer/wizard/pages/fullscreen/defineCrossTabPage.js +3 -3
  1023. package/designer/wizard/pages/fullscreen/defineReportLayoutPage.d.ts +3 -3
  1024. package/designer/wizard/pages/fullscreen/defineReportLayoutPage.js +3 -3
  1025. package/designer/wizard/pages/fullscreen/selectDataSourcePage.d.ts +3 -3
  1026. package/designer/wizard/pages/fullscreen/selectDataSourcePage.js +3 -3
  1027. package/designer/wizard/pages/fullscreen/specifyFederationDataSourceSettingsPage.d.ts +3 -3
  1028. package/designer/wizard/pages/fullscreen/specifyFederationDataSourceSettingsPage.js +3 -3
  1029. package/designer/wizard/pages/fullscreen/specifyJsonDataSourceSettingsPage.d.ts +3 -3
  1030. package/designer/wizard/pages/fullscreen/specifyJsonDataSourceSettingsPage.js +3 -3
  1031. package/designer/wizard/pages/fullscreen/specifyLabelSettingsPage.d.ts +3 -3
  1032. package/designer/wizard/pages/fullscreen/specifyLabelSettingsPage.js +3 -3
  1033. package/designer/wizard/pages/fullscreen/specifyObjectDataSourceSettingsPage.d.ts +3 -3
  1034. package/designer/wizard/pages/fullscreen/specifyObjectDataSourceSettingsPage.js +3 -3
  1035. package/designer/wizard/pages/fullscreen/specifyPageSettingsPage.d.ts +3 -3
  1036. package/designer/wizard/pages/fullscreen/specifyPageSettingsPage.js +3 -3
  1037. package/designer/wizard/pages/fullscreen/specifySqlDataSourceSettingsPage.d.ts +3 -3
  1038. package/designer/wizard/pages/fullscreen/specifySqlDataSourceSettingsPage.js +3 -3
  1039. package/designer/wizard/pages/legacy/addGroupingLevelPage.d.ts +3 -3
  1040. package/designer/wizard/pages/legacy/addGroupingLevelPage.js +3 -3
  1041. package/designer/wizard/pages/legacy/chooseReportLayoutPage.d.ts +3 -3
  1042. package/designer/wizard/pages/legacy/chooseReportLayoutPage.js +3 -3
  1043. package/designer/wizard/pages/legacy/chooseReportStylePage.d.ts +3 -3
  1044. package/designer/wizard/pages/legacy/chooseReportStylePage.js +3 -3
  1045. package/designer/wizard/pages/legacy/chooseSummaryOptionsPage.d.ts +3 -3
  1046. package/designer/wizard/pages/legacy/chooseSummaryOptionsPage.js +3 -3
  1047. package/designer/wizard/pages/legacy/selectColumnsPage.d.ts +3 -3
  1048. package/designer/wizard/pages/legacy/selectColumnsPage.js +3 -3
  1049. package/designer/wizard/pages/legacy/selectDataMemberPage.d.ts +3 -3
  1050. package/designer/wizard/pages/legacy/selectDataMemberPage.js +3 -3
  1051. package/designer/wizard/pages/selectDataMembersPage.d.ts +3 -3
  1052. package/designer/wizard/pages/selectDataMembersPage.js +3 -3
  1053. package/designer/wizard/pages/selectLabelTypePage.d.ts +3 -3
  1054. package/designer/wizard/pages/selectLabelTypePage.js +3 -3
  1055. package/designer/wizard/pages/setReportTitlePage.d.ts +3 -3
  1056. package/designer/wizard/pages/setReportTitlePage.js +3 -3
  1057. package/designer/wizard/reportWizard.d.ts +3 -3
  1058. package/designer/wizard/reportWizard.js +3 -3
  1059. package/designer/wizard/reportWizardState.d.ts +3 -3
  1060. package/designer/wizard/reportWizardState.js +3 -3
  1061. package/designer/wizard/reportWizardStateCreating.d.ts +3 -3
  1062. package/designer/wizard/reportWizardStateCreating.js +3 -3
  1063. package/designer/wizard/wizardTypes.d.ts +3 -3
  1064. package/designer/wizard/wizardTypes.js +3 -3
  1065. package/dist/css/dx-reportdesigner.css +3 -3
  1066. package/dist/css/dx-reporting-skeleton-screen.css +3 -3
  1067. package/dist/css/dx-webdocumentviewer.css +3 -3
  1068. package/dist/js/dx-reportdesigner.js +3 -3
  1069. package/dist/js/dx-reportdesigner.min.js +3 -3
  1070. package/dist/js/dx-reporting.d.ts +3 -3
  1071. package/dist/js/dx-webdocumentviewer.js +3 -3
  1072. package/dist/js/dx-webdocumentviewer.min.js +3 -3
  1073. package/dx-designer-bindings.d.ts +3 -3
  1074. package/dx-designer-bindings.js +3 -3
  1075. package/dx-designer-templates.d.ts +3 -3
  1076. package/dx-designer-templates.js +3 -3
  1077. package/dx-reportdesigner-imports.d.ts +3 -3
  1078. package/dx-reportdesigner-imports.js +3 -3
  1079. package/dx-reportdesigner.d.ts +3 -3
  1080. package/dx-reportdesigner.js +3 -3
  1081. package/dx-reporting-svg-bindings.d.ts +3 -3
  1082. package/dx-reporting-svg-bindings.js +3 -3
  1083. package/dx-reporting-svg-templates.d.ts +3 -3
  1084. package/dx-reporting-svg-templates.js +3 -3
  1085. package/dx-reporting-version.d.ts +3 -3
  1086. package/dx-reporting-version.js +3 -3
  1087. package/dx-rich-edit-bindings.d.ts +3 -3
  1088. package/dx-rich-edit-bindings.js +3 -3
  1089. package/dx-rich-edit-templates.d.ts +3 -3
  1090. package/dx-rich-edit-templates.js +3 -3
  1091. package/dx-richedit.d.ts +3 -3
  1092. package/dx-richedit.js +3 -3
  1093. package/dx-viewer-bindings.d.ts +3 -3
  1094. package/dx-viewer-bindings.js +3 -3
  1095. package/dx-viewer-templates.d.ts +3 -3
  1096. package/dx-viewer-templates.js +3 -3
  1097. package/dx-webdocumentviewer-imports.d.ts +3 -3
  1098. package/dx-webdocumentviewer-imports.js +3 -3
  1099. package/dx-webdocumentviewer.d.ts +3 -3
  1100. package/dx-webdocumentviewer.js +3 -3
  1101. package/index.d.ts +3 -3
  1102. package/index.js +3 -3
  1103. package/package.json +2 -2
  1104. package/reporting-compile-utils/dx-reporting.d.ts +3 -3
  1105. package/rich-edit/customizeToolbarActions.d.ts +3 -3
  1106. package/rich-edit/customizeToolbarActions.js +3 -3
  1107. package/rich-edit/instance.d.ts +3 -3
  1108. package/rich-edit/instance.js +3 -3
  1109. package/rich-edit/registrator.d.ts +3 -3
  1110. package/rich-edit/registrator.js +3 -3
  1111. package/rich-edit/surface.d.ts +3 -3
  1112. package/rich-edit/surface.js +3 -3
  1113. package/rich-edit/utils/_bindings.d.ts +3 -3
  1114. package/rich-edit/utils/_bindings.js +3 -3
  1115. package/rich-edit/utils/_controller.d.ts +3 -3
  1116. package/rich-edit/utils/_controller.js +3 -3
  1117. package/rich-edit/utils/_inlineControl.d.ts +3 -3
  1118. package/rich-edit/utils/_inlineControl.js +3 -3
  1119. package/rich-edit/utils/_loaddispatcher.d.ts +3 -3
  1120. package/rich-edit/utils/_loaddispatcher.js +3 -3
  1121. package/rich-edit/utils/_model.d.ts +3 -3
  1122. package/rich-edit/utils/_model.js +3 -3
  1123. package/rich-edit/utils/_toolbar.d.ts +3 -3
  1124. package/rich-edit/utils/_toolbar.js +3 -3
  1125. package/rich-edit/utils/_utils.d.ts +3 -3
  1126. package/rich-edit/utils/_utils.js +3 -3
  1127. package/scopes/reporting-chart-internal-axis.d.ts +3 -3
  1128. package/scopes/reporting-chart-internal-axis.js +3 -3
  1129. package/scopes/reporting-chart-internal-dataMembers.d.ts +3 -3
  1130. package/scopes/reporting-chart-internal-dataMembers.js +3 -3
  1131. package/scopes/reporting-chart-internal-models.d.ts +3 -3
  1132. package/scopes/reporting-chart-internal-models.js +3 -3
  1133. package/scopes/reporting-chart-internal-series-metadata.d.ts +3 -3
  1134. package/scopes/reporting-chart-internal-series-metadata.js +3 -3
  1135. package/scopes/reporting-chart-internal-series.d.ts +3 -3
  1136. package/scopes/reporting-chart-internal-series.js +3 -3
  1137. package/scopes/reporting-chart-internal-widgets.d.ts +3 -3
  1138. package/scopes/reporting-chart-internal-widgets.js +3 -3
  1139. package/scopes/reporting-chart-internal.d.ts +3 -3
  1140. package/scopes/reporting-chart-internal.js +3 -3
  1141. package/scopes/reporting-designer-actions.d.ts +3 -3
  1142. package/scopes/reporting-designer-actions.js +3 -3
  1143. package/scopes/reporting-designer-bands-internal.d.ts +3 -3
  1144. package/scopes/reporting-designer-bands-internal.js +3 -3
  1145. package/scopes/reporting-designer-bands-metadata.d.ts +3 -3
  1146. package/scopes/reporting-designer-bands-metadata.js +3 -3
  1147. package/scopes/reporting-designer-bands.d.ts +3 -3
  1148. package/scopes/reporting-designer-bands.js +3 -3
  1149. package/scopes/reporting-designer-controls-crossTab-metadata.d.ts +3 -3
  1150. package/scopes/reporting-designer-controls-crossTab-metadata.js +3 -3
  1151. package/scopes/reporting-designer-controls-crossTab.d.ts +3 -3
  1152. package/scopes/reporting-designer-controls-crossTab.js +3 -3
  1153. package/scopes/reporting-designer-controls-metadata.d.ts +3 -3
  1154. package/scopes/reporting-designer-controls-metadata.js +3 -3
  1155. package/scopes/reporting-designer-controls-pivotGrid-metadata.d.ts +3 -3
  1156. package/scopes/reporting-designer-controls-pivotGrid-metadata.js +3 -3
  1157. package/scopes/reporting-designer-controls-pivotGrid.d.ts +3 -3
  1158. package/scopes/reporting-designer-controls-pivotGrid.js +3 -3
  1159. package/scopes/reporting-designer-controls-richEdit-internal-toolbar.d.ts +3 -3
  1160. package/scopes/reporting-designer-controls-richEdit-internal-toolbar.js +3 -3
  1161. package/scopes/reporting-designer-controls-richEdit-internal.d.ts +3 -3
  1162. package/scopes/reporting-designer-controls-richEdit-internal.js +3 -3
  1163. package/scopes/reporting-designer-controls-richEdit.d.ts +3 -3
  1164. package/scopes/reporting-designer-controls-richEdit.js +3 -3
  1165. package/scopes/reporting-designer-controls.d.ts +3 -3
  1166. package/scopes/reporting-designer-controls.js +3 -3
  1167. package/scopes/reporting-designer-data-metadata.d.ts +3 -3
  1168. package/scopes/reporting-designer-data-metadata.js +3 -3
  1169. package/scopes/reporting-designer-data.d.ts +3 -3
  1170. package/scopes/reporting-designer-data.js +3 -3
  1171. package/scopes/reporting-designer-internal-htmlMarkUp.d.ts +3 -3
  1172. package/scopes/reporting-designer-internal-htmlMarkUp.js +3 -3
  1173. package/scopes/reporting-designer-internal.d.ts +3 -3
  1174. package/scopes/reporting-designer-internal.js +3 -3
  1175. package/scopes/reporting-designer-localization.d.ts +3 -3
  1176. package/scopes/reporting-designer-localization.js +3 -3
  1177. package/scopes/reporting-designer-metadata.d.ts +3 -3
  1178. package/scopes/reporting-designer-metadata.js +3 -3
  1179. package/scopes/reporting-designer-settings.d.ts +3 -3
  1180. package/scopes/reporting-designer-settings.js +3 -3
  1181. package/scopes/reporting-designer-tools.d.ts +3 -3
  1182. package/scopes/reporting-designer-tools.js +3 -3
  1183. package/scopes/reporting-designer-utils.d.ts +3 -3
  1184. package/scopes/reporting-designer-utils.js +3 -3
  1185. package/scopes/reporting-designer-widgets-internal.d.ts +3 -3
  1186. package/scopes/reporting-designer-widgets-internal.js +3 -3
  1187. package/scopes/reporting-designer-widgets.d.ts +3 -3
  1188. package/scopes/reporting-designer-widgets.js +3 -3
  1189. package/scopes/reporting-designer-wizard.d.ts +3 -3
  1190. package/scopes/reporting-designer-wizard.js +3 -3
  1191. package/scopes/reporting-designer.d.ts +3 -3
  1192. package/scopes/reporting-designer.js +3 -3
  1193. package/scopes/reporting-editing.d.ts +3 -3
  1194. package/scopes/reporting-editing.js +3 -3
  1195. package/scopes/reporting-export-metadata.d.ts +3 -3
  1196. package/scopes/reporting-export-metadata.js +3 -3
  1197. package/scopes/reporting-export.d.ts +3 -3
  1198. package/scopes/reporting-export.js +3 -3
  1199. package/scopes/reporting-internal.d.ts +3 -3
  1200. package/scopes/reporting-internal.js +3 -3
  1201. package/scopes/reporting-metadata.d.ts +3 -3
  1202. package/scopes/reporting-metadata.js +3 -3
  1203. package/scopes/reporting-viewer-editing.d.ts +3 -3
  1204. package/scopes/reporting-viewer-editing.js +3 -3
  1205. package/scopes/reporting-viewer-export-metadata.d.ts +3 -3
  1206. package/scopes/reporting-viewer-export-metadata.js +3 -3
  1207. package/scopes/reporting-viewer-export.d.ts +3 -3
  1208. package/scopes/reporting-viewer-export.js +3 -3
  1209. package/scopes/reporting-viewer-internal.d.ts +3 -3
  1210. package/scopes/reporting-viewer-internal.js +3 -3
  1211. package/scopes/reporting-viewer-mobile-internal.d.ts +3 -3
  1212. package/scopes/reporting-viewer-mobile-internal.js +3 -3
  1213. package/scopes/reporting-viewer-mobile.d.ts +3 -3
  1214. package/scopes/reporting-viewer-mobile.js +3 -3
  1215. package/scopes/reporting-viewer-parameters.d.ts +3 -3
  1216. package/scopes/reporting-viewer-parameters.js +3 -3
  1217. package/scopes/reporting-viewer-settings.d.ts +3 -3
  1218. package/scopes/reporting-viewer-settings.js +3 -3
  1219. package/scopes/reporting-viewer-utils.d.ts +3 -3
  1220. package/scopes/reporting-viewer-utils.js +3 -3
  1221. package/scopes/reporting-viewer-widgets-internal.d.ts +3 -3
  1222. package/scopes/reporting-viewer-widgets-internal.js +3 -3
  1223. package/scopes/reporting-viewer-widgets.d.ts +3 -3
  1224. package/scopes/reporting-viewer-widgets.js +3 -3
  1225. package/scopes/reporting-viewer.d.ts +3 -3
  1226. package/scopes/reporting-viewer.js +3 -3
  1227. package/scopes/reporting.d.ts +3 -3
  1228. package/scopes/reporting.js +3 -3
  1229. package/viewer/accessibility/_dateRangeKeyboardHelper.d.ts +3 -3
  1230. package/viewer/accessibility/_dateRangeKeyboardHelper.js +3 -3
  1231. package/viewer/accessibility/_previewBricksKeyboardHelper.d.ts +3 -3
  1232. package/viewer/accessibility/_previewBricksKeyboardHelper.js +3 -3
  1233. package/viewer/accessibility/_previewEditingFieldsKeyboardHelper.d.ts +3 -3
  1234. package/viewer/accessibility/_previewEditingFieldsKeyboardHelper.js +3 -3
  1235. package/viewer/accessibility/_searchKeyboardHelper.d.ts +3 -3
  1236. package/viewer/accessibility/_searchKeyboardHelper.js +3 -3
  1237. package/viewer/binding/jsReportViewer.d.ts +3 -3
  1238. package/viewer/binding/jsReportViewer.js +3 -3
  1239. package/viewer/binding/jsReportViewerBinding.binding.d.ts +3 -3
  1240. package/viewer/binding/jsReportViewerBinding.binding.js +3 -3
  1241. package/viewer/binding/jsReportViewerBinding.d.ts +3 -3
  1242. package/viewer/binding/jsReportViewerBinding.js +3 -3
  1243. package/viewer/constants.d.ts +3 -3
  1244. package/viewer/constants.js +3 -3
  1245. package/viewer/documentMap/_documentMapItemsProvider.d.ts +3 -3
  1246. package/viewer/documentMap/_documentMapItemsProvider.js +3 -3
  1247. package/viewer/documentMap/_documentMapModel.d.ts +3 -3
  1248. package/viewer/documentMap/_documentMapModel.js +3 -3
  1249. package/viewer/documentMap/_documentMapTreeListController.d.ts +3 -3
  1250. package/viewer/documentMap/_documentMapTreeListController.js +3 -3
  1251. package/viewer/editing/editingField.d.ts +3 -3
  1252. package/viewer/editing/editingField.js +3 -3
  1253. package/viewer/editing/models/characterCombEditingField.d.ts +3 -3
  1254. package/viewer/editing/models/characterCombEditingField.js +3 -3
  1255. package/viewer/editing/models/checkEditingField.d.ts +3 -3
  1256. package/viewer/editing/models/checkEditingField.js +3 -3
  1257. package/viewer/editing/models/editingFieldBase.d.ts +3 -3
  1258. package/viewer/editing/models/editingFieldBase.js +3 -3
  1259. package/viewer/editing/models/imageEditingField.d.ts +3 -3
  1260. package/viewer/editing/models/imageEditingField.js +3 -3
  1261. package/viewer/editing/models/popupImageEditingField.d.ts +3 -3
  1262. package/viewer/editing/models/popupImageEditingField.js +3 -3
  1263. package/viewer/editing/models/textEditingField.d.ts +3 -3
  1264. package/viewer/editing/models/textEditingField.js +3 -3
  1265. package/viewer/exportOptions/csvExportOptionsPreview.d.ts +3 -3
  1266. package/viewer/exportOptions/csvExportOptionsPreview.js +3 -3
  1267. package/viewer/exportOptions/docxExportOptionsPreview.d.ts +3 -3
  1268. package/viewer/exportOptions/docxExportOptionsPreview.js +3 -3
  1269. package/viewer/exportOptions/exportOptionsModel.d.ts +3 -3
  1270. package/viewer/exportOptions/exportOptionsModel.js +3 -3
  1271. package/viewer/exportOptions/exportOptionsPreview.d.ts +3 -3
  1272. package/viewer/exportOptions/exportOptionsPreview.js +3 -3
  1273. package/viewer/exportOptions/htmlExportOptionsPreview.d.ts +3 -3
  1274. package/viewer/exportOptions/htmlExportOptionsPreview.js +3 -3
  1275. package/viewer/exportOptions/imageExportOptionsPreview.d.ts +3 -3
  1276. package/viewer/exportOptions/imageExportOptionsPreview.js +3 -3
  1277. package/viewer/exportOptions/metadata.d.ts +3 -3
  1278. package/viewer/exportOptions/metadata.js +3 -3
  1279. package/viewer/exportOptions/mhtExportOptionsPreview.d.ts +3 -3
  1280. package/viewer/exportOptions/mhtExportOptionsPreview.js +3 -3
  1281. package/viewer/exportOptions/pdfExportOptionsPreview.d.ts +3 -3
  1282. package/viewer/exportOptions/pdfExportOptionsPreview.js +3 -3
  1283. package/viewer/exportOptions/rtfExportOptionsPreview.d.ts +3 -3
  1284. package/viewer/exportOptions/rtfExportOptionsPreview.js +3 -3
  1285. package/viewer/exportOptions/xlsExportOptionsPreview.d.ts +3 -3
  1286. package/viewer/exportOptions/xlsExportOptionsPreview.js +3 -3
  1287. package/viewer/exportOptions/xlsxExportOptionsPreview.d.ts +3 -3
  1288. package/viewer/exportOptions/xlsxExportOptionsPreview.js +3 -3
  1289. package/viewer/internal/_actions.d.ts +3 -3
  1290. package/viewer/internal/_actions.js +3 -3
  1291. package/viewer/internal/_bindings.d.ts +3 -3
  1292. package/viewer/internal/_bindings.js +3 -3
  1293. package/viewer/internal/_brickUtils.d.ts +3 -3
  1294. package/viewer/internal/_brickUtils.js +3 -3
  1295. package/viewer/internal/_exportHandler.d.ts +3 -3
  1296. package/viewer/internal/_exportHandler.js +3 -3
  1297. package/viewer/internal/_exportHandler.viewModel.d.ts +3 -3
  1298. package/viewer/internal/_exportHandler.viewModel.js +3 -3
  1299. package/viewer/internal/_initializer.d.ts +3 -3
  1300. package/viewer/internal/_initializer.js +3 -3
  1301. package/viewer/internal/_ko_bindings.d.ts +3 -3
  1302. package/viewer/internal/_ko_bindings.js +3 -3
  1303. package/viewer/internal/_page.d.ts +3 -3
  1304. package/viewer/internal/_page.js +3 -3
  1305. package/viewer/internal/_page.viewModel.d.ts +3 -3
  1306. package/viewer/internal/_page.viewModel.js +3 -3
  1307. package/viewer/internal/_pageLoader.d.ts +3 -3
  1308. package/viewer/internal/_pageLoader.js +3 -3
  1309. package/viewer/internal/_previewBreadcrumbs.d.ts +3 -3
  1310. package/viewer/internal/_previewBreadcrumbs.js +3 -3
  1311. package/viewer/internal/_previewHandlersHelper.d.ts +3 -3
  1312. package/viewer/internal/_previewHandlersHelper.js +3 -3
  1313. package/viewer/internal/_previewModel.d.ts +3 -3
  1314. package/viewer/internal/_previewModel.js +3 -3
  1315. package/viewer/internal/_previewRequestWrapper.d.ts +3 -3
  1316. package/viewer/internal/_previewRequestWrapper.js +3 -3
  1317. package/viewer/internal/_previewSelection.d.ts +3 -3
  1318. package/viewer/internal/_previewSelection.js +3 -3
  1319. package/viewer/internal/_progressBarUtils.d.ts +3 -3
  1320. package/viewer/internal/_progressBarUtils.js +3 -3
  1321. package/viewer/internal/_progressViewModel.d.ts +3 -3
  1322. package/viewer/internal/_progressViewModel.js +3 -3
  1323. package/viewer/internal/_sizeUtils.d.ts +3 -3
  1324. package/viewer/internal/_sizeUtils.js +3 -3
  1325. package/viewer/internal/_sortingProcessor.d.ts +3 -3
  1326. package/viewer/internal/_sortingProcessor.js +3 -3
  1327. package/viewer/internal/_utils.d.ts +3 -3
  1328. package/viewer/internal/_utils.js +3 -3
  1329. package/viewer/mobile/constants.d.ts +3 -3
  1330. package/viewer/mobile/constants.js +3 -3
  1331. package/viewer/mobile/internal/_editorTemplates.d.ts +3 -3
  1332. package/viewer/mobile/internal/_editorTemplates.js +3 -3
  1333. package/viewer/mobile/internal/_eventProcessor.d.ts +3 -3
  1334. package/viewer/mobile/internal/_eventProcessor.js +3 -3
  1335. package/viewer/mobile/internal/_ko_mobileBindings.d.ts +3 -3
  1336. package/viewer/mobile/internal/_ko_mobileBindings.js +3 -3
  1337. package/viewer/mobile/internal/_mobileBindings.d.ts +3 -3
  1338. package/viewer/mobile/internal/_mobileBindings.js +3 -3
  1339. package/viewer/mobile/internal/_mobilePage.d.ts +3 -3
  1340. package/viewer/mobile/internal/_mobilePage.js +3 -3
  1341. package/viewer/mobile/internal/_mobilePreviewModel.d.ts +3 -3
  1342. package/viewer/mobile/internal/_mobilePreviewModel.js +3 -3
  1343. package/viewer/mobile/internal/_mobilePreviewParameterHelper.d.ts +3 -3
  1344. package/viewer/mobile/internal/_mobilePreviewParameterHelper.js +3 -3
  1345. package/viewer/mobile/internal/_mobileSearch.d.ts +3 -3
  1346. package/viewer/mobile/internal/_mobileSearch.js +3 -3
  1347. package/viewer/mobile/internal/_paginator.d.ts +3 -3
  1348. package/viewer/mobile/internal/_paginator.js +3 -3
  1349. package/viewer/mobile/internal/_parametersPopup.d.ts +3 -3
  1350. package/viewer/mobile/internal/_parametersPopup.js +3 -3
  1351. package/viewer/mobile/internal/_parametersPopup.viewModel.d.ts +3 -3
  1352. package/viewer/mobile/internal/_parametersPopup.viewModel.js +3 -3
  1353. package/viewer/mobile/internal/_sizeUtils.d.ts +3 -3
  1354. package/viewer/mobile/internal/_sizeUtils.js +3 -3
  1355. package/viewer/mobile/internal/gallery/_galleryComponent.d.ts +3 -3
  1356. package/viewer/mobile/internal/gallery/_galleryComponent.js +3 -3
  1357. package/viewer/mobile/internal/gallery/_galleryItem.d.ts +3 -3
  1358. package/viewer/mobile/internal/gallery/_galleryItem.js +3 -3
  1359. package/viewer/mobile/internal/gallery/_galleryModel.d.ts +3 -3
  1360. package/viewer/mobile/internal/gallery/_galleryModel.js +3 -3
  1361. package/viewer/mobile/mobilePreview.d.ts +3 -3
  1362. package/viewer/mobile/mobilePreview.js +3 -3
  1363. package/viewer/mobile/mobilePreview.viewModel.d.ts +3 -3
  1364. package/viewer/mobile/mobilePreview.viewModel.js +3 -3
  1365. package/viewer/mobile/utils/_mobileActionList.d.ts +3 -3
  1366. package/viewer/mobile/utils/_mobileActionList.js +3 -3
  1367. package/viewer/mobile/utils/_mobileInitializer.d.ts +3 -3
  1368. package/viewer/mobile/utils/_mobileInitializer.js +3 -3
  1369. package/viewer/parameters/multiValuesHelper.d.ts +3 -3
  1370. package/viewer/parameters/multiValuesHelper.js +3 -3
  1371. package/viewer/parameters/parameterHelper.d.ts +3 -3
  1372. package/viewer/parameters/parameterHelper.js +3 -3
  1373. package/viewer/parameters/parameterPanelItemBase.d.ts +3 -3
  1374. package/viewer/parameters/parameterPanelItemBase.js +3 -3
  1375. package/viewer/parameters/previewParameter.d.ts +3 -3
  1376. package/viewer/parameters/previewParameter.js +3 -3
  1377. package/viewer/parameters/previewParameterHelper.d.ts +3 -3
  1378. package/viewer/parameters/previewParameterHelper.js +3 -3
  1379. package/viewer/parameters/previewParameterValueValidator.d.ts +3 -3
  1380. package/viewer/parameters/previewParameterValueValidator.js +3 -3
  1381. package/viewer/parameters/previewParametersViewModel.d.ts +3 -3
  1382. package/viewer/parameters/previewParametersViewModel.js +3 -3
  1383. package/viewer/parameters/previewParametersViewModel.viewmodel.d.ts +3 -3
  1384. package/viewer/parameters/previewParametersViewModel.viewmodel.js +3 -3
  1385. package/viewer/reportPreview.d.ts +3 -3
  1386. package/viewer/reportPreview.js +3 -3
  1387. package/viewer/reportPreview.viewModel.d.ts +3 -3
  1388. package/viewer/reportPreview.viewModel.js +3 -3
  1389. package/viewer/search/_searchResultNavigator.d.ts +3 -3
  1390. package/viewer/search/_searchResultNavigator.js +3 -3
  1391. package/viewer/search/_searchViewModel.d.ts +3 -3
  1392. package/viewer/search/_searchViewModel.js +3 -3
  1393. package/viewer/search/_utils.d.ts +3 -3
  1394. package/viewer/search/_utils.js +3 -3
  1395. package/viewer/settings.d.ts +3 -3
  1396. package/viewer/settings.js +3 -3
  1397. package/viewer/templates.d.ts +3 -3
  1398. package/viewer/templates.js +3 -3
  1399. package/viewer/utils/initializer.d.ts +3 -3
  1400. package/viewer/utils/initializer.js +3 -3
  1401. package/viewer/utils/publicCallbacks.d.ts +3 -3
  1402. package/viewer/utils/publicCallbacks.js +3 -3
  1403. package/viewer/utils/utils.d.ts +3 -3
  1404. package/viewer/utils/utils.js +3 -3
  1405. package/viewer/widgets/_groupEditor.d.ts +3 -3
  1406. package/viewer/widgets/_groupEditor.js +3 -3
  1407. package/viewer/widgets/_multiValueEditor.d.ts +3 -3
  1408. package/viewer/widgets/_multiValueEditor.js +3 -3
  1409. package/viewer/widgets/dateRange/dateRangeEditor.binding.d.ts +3 -3
  1410. package/viewer/widgets/dateRange/dateRangeEditor.binding.js +3 -3
  1411. package/viewer/widgets/dateRange/dateRangeEditor.d.ts +3 -3
  1412. package/viewer/widgets/dateRange/dateRangeEditor.js +3 -3
  1413. package/viewer/widgets/dateRange/dateRangeEditor.ranges.d.ts +3 -3
  1414. package/viewer/widgets/dateRange/dateRangeEditor.ranges.js +3 -3
  1415. package/viewer/widgets/dateRange/dateRangeEditor.viewmodel.d.ts +3 -3
  1416. package/viewer/widgets/dateRange/dateRangeEditor.viewmodel.js +3 -3
  1417. package/viewer/widgets/editorTemplates.d.ts +3 -3
  1418. package/viewer/widgets/editorTemplates.js +3 -3
  1419. package/viewer/widgets/pictureEditor/_imagePainter.d.ts +3 -3
  1420. package/viewer/widgets/pictureEditor/_imagePainter.js +3 -3
  1421. package/viewer/widgets/pictureEditor/_imagePicker.d.ts +3 -3
  1422. package/viewer/widgets/pictureEditor/_imagePicker.js +3 -3
  1423. package/viewer/widgets/pictureEditor/_ko_bindings.d.ts +3 -3
  1424. package/viewer/widgets/pictureEditor/_ko_bindings.js +3 -3
  1425. package/viewer/widgets/pictureEditor/_painter.d.ts +3 -3
  1426. package/viewer/widgets/pictureEditor/_painter.js +3 -3
  1427. package/viewer/widgets/pictureEditor/_pictureEditorActionProvider.d.ts +3 -3
  1428. package/viewer/widgets/pictureEditor/_pictureEditorActionProvider.js +3 -3
  1429. package/viewer/widgets/pictureEditor/_pictureEditorModel.d.ts +3 -3
  1430. package/viewer/widgets/pictureEditor/_pictureEditorModel.js +3 -3
  1431. package/viewer/widgets/pictureEditor/_pictureEditorToolbarItem.d.ts +3 -3
  1432. package/viewer/widgets/pictureEditor/_pictureEditorToolbarItem.js +3 -3
  1433. package/viewer/widgets/pictureEditor/_pictureEditorTypes.d.ts +3 -3
  1434. package/viewer/widgets/pictureEditor/_pictureEditorTypes.js +3 -3
  1435. package/viewer/widgets/pictureEditor/_signaturePainter.d.ts +3 -3
  1436. package/viewer/widgets/pictureEditor/_signaturePainter.js +3 -3
  1437. package/viewer/widgets/pictureEditor/pictureEditMode.d.ts +3 -3
  1438. package/viewer/widgets/pictureEditor/pictureEditMode.js +3 -3
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Reporting (dist\js\dx-reportdesigner.min.js)
3
- * Version: 23.2.4-build-23361-1610
4
- * Build date: Dec 27, 2023
5
- * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 23.2.4-build-2411-1519
4
+ * Build date: Jan 11, 2024
5
+ * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/universal.xml
7
7
  */
8
8
  (()=>{"use strict";var e={n:t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a}),a},d:(t,a)=>{for(var i in a)e.o(a,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:a[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ChartControlSurface:()=>cp,ChartControlViewModel:()=>op,ChartDragDropHandler:()=>J,ChartRequests:()=>M,ChartStructureObjectProvider:()=>Sc,ChartStructureTreeListController:()=>q,ChartTreeListDragDropHelper:()=>j,DiagramViewModel:()=>jc,HandlerUri:()=>V,_getUnconvertiblePoint:()=>U,_isDateTypeSpecific:()=>W,_isNumericTypeSpecific:()=>H,additionalLegendSerializationsInfo:()=>Jr,additionalPaneSerializationsInfo:()=>Je,angle:()=>le,antialiasing:()=>Te,appearanceName:()=>Qr,autoBindingSettingsEnabled:()=>Ir,autoLayoutSettingsEnabled:()=>Pr,axisLabelText:()=>Da,axisValue:()=>ba,axisValueSerializable:()=>fa,axisX3D:()=>Oa,axisXName:()=>as,axisXYSerializationsInfo:()=>Ea,axisY3D:()=>Xa,axisYName:()=>is,backColor:()=>ce,backImage:()=>Zr,bar3DSeriesViewGroup:()=>Ja,barPositionValues:()=>ur,barSeriesViewGroup:()=>qa,barWidth:()=>Ka,border:()=>Za,borderColor:()=>de,borderSerializationsInfo:()=>Ya,bottom:()=>Fe,bubbleSeriesPointsSortingKeys:()=>ar,chartControlSerializationsInfo:()=>dp,chartDataMember:()=>sp,chartDataSource:()=>ee,chartSeriesDataMember:()=>np,color:()=>ye,colorDataMember:()=>Nr,colorEach:()=>Qa,commonSeriesPointsSortingKeys:()=>tr,commonValueSerializationsInfo:()=>oo,constantLineSerializationsInfo:()=>Ta,controlsFactory:()=>rp,createInnerActionsWithPopover:()=>X,createViewsArray:()=>wr,dataFiltersConjunctionMode:()=>zr,dataMember:()=>pe,dateTimeSumaryOptions:()=>Mr,defaultBooleanValues:()=>oe,defaultPane:()=>qe,deserializeModelArray:()=>Wa,diagram:()=>qc,diagramMapper:()=>Uc,diagramSerializationsInfo:()=>wc,editorTemplates:()=>Z,emptyChartText:()=>Or,emptyChartTextSerializationsInfo:()=>Fr,enableAxisXScrolling:()=>Re,enableAxisXZooming:()=>we,enableAxisYScrolling:()=>Ve,enableAxisYZooming:()=>Be,fakeChartSerializationInfo:()=>lp,fillMode:()=>ti,fillMode3D:()=>oi,fillModeMapper:()=>di,fillStyle:()=>si,fillStyleOptionsSerialize:()=>ri,filterString:()=>Ke,filterStringEditable:()=>Qe,font:()=>ze,font12:()=>He,font18:()=>Xe,font8:()=>We,funnelPositionValues:()=>hr,getSeriesClassName:()=>Ha,gridLinesAxisX:()=>Et,gridLinesAxisY:()=>wt,indicatorMapper:()=>Yo,left:()=>Ae,legendName:()=>Sa,legendSerializationsInfo:()=>qr,legendText:()=>xe,legends:()=>Kr,lineMarker:()=>Cr,lineMarkerOptionsSerializationsInfo:()=>Sr,margin:()=>Oe,maxLineCount:()=>_e,maxWidth:()=>Ie,name:()=>he,numericSummaryOptions:()=>Vr,padding:()=>yr,paletteName:()=>Yr,paneName:()=>ts,paneSerializationsInfo:()=>je,panes:()=>Tc,parseDate:()=>F,piePositionValues:()=>mr,pivotGridDataSourceOptions:()=>Tr,points:()=>Er,qualitativeScaleOptions:()=>It,qualitativeScaleOptionsSerializationInfo:()=>_t,qualitativeSummaryOptions:()=>Br,radarAxisX:()=>$a,radarAxisY:()=>Fa,rangeSeriesPointsSortingKeys:()=>ir,right:()=>Le,rotated:()=>Me,scaleBreakSerializationsInfo:()=>ga,scaleTypeValues:()=>se,secondaryAxesX:()=>Ic,secondaryAxesY:()=>Pc,secondaryAxisXYSerializationsInfo:()=>wa,serializeDate:()=>O,seriesDataMember:()=>Ar,seriesLabelSerializationsInfo:()=>yi,seriesSerializable:()=>kr,showAxisLabel:()=>Ca,showBehind:()=>ya,showInLegend:()=>ve,sideBySideBarDistance:()=>er,sideBySideBarDistanceFixed:()=>Zi,sideBySideEqualBarWidth:()=>Yi,smallChartText:()=>Xr,stockSeriesPointsSortingKeys:()=>rr,stockValueSerializationsInfo:()=>lo,stringAlignmentValues:()=>ne,tag:()=>ge,text:()=>ue,textAlignment:()=>De,textColor:()=>Pe,textPattern:()=>Ce,thickness:()=>fe,title:()=>Ee,titleAlignment:()=>Se,titleSerializationsInfo:()=>Ne,titles:()=>Hr,top:()=>$e,topNOptions:()=>_r,topNOptionsSerializationsInfo:()=>Dr,typeNameNotShow:()=>ke,typeNameSerializable:()=>ja,value1Value2SerializationsInfo:()=>no,valueWeightSerializationsInfo:()=>so,viewBindableSerializationInfo:()=>Rr,viewMapper:()=>ac,viewSerializationsInfo:()=>li,visibility:()=>be,visible:()=>me,waterfallPositionValues:()=>gr});var a={};e.r(a),e.d(a,{AxisXYViewModel:()=>Ri,SecondaryAxisViewModel:()=>Mi,axisX:()=>Bi,axisY:()=>Vi,initCollectionItem:()=>te});var i={};e.r(i),e.d(i,{CommonValueDataMembers:()=>po,DataMemberBase:()=>co,StockValueDataMembers:()=>ho,Value1Value2DataMembers:()=>go,ValueWeightDataMembers:()=>xo});var r={};e.r(r),e.d(r,{dateTimeSummaryOptionsSerializationInfoArray:()=>ji,numericSummaryOptionsSerializationInfoArray:()=>Gi,summaryFunctionSerializationInfo:()=>Wi,summaryOptionsSerializationInfoArray:()=>Ui});var o={};e.r(o),e.d(o,{AdditionalLegendViewModel:()=>Jc,AdditionalPaneViewModel:()=>Gc,ChartComponentModelWithText:()=>ie,ChartElementCollectionItemBase:()=>ae,ChartLocalizableElementCollectionItemBase:()=>re,ChartViewModel:()=>tp,ConstantLineViewModel:()=>Ua,DataContainerViewModel:()=>Kc,DataFilterModel:()=>wp,DefaultDataFilterModel:()=>Rp,LegendViewModel:()=>Zc,ScaleBreakViewModel:()=>Ga,StripLimitViewModel:()=>Ii,StripViewModel:()=>Ei,TitleViewModel:()=>yo,WholeRangeModel:()=>Y,assignTitleActions:()=>So,chart:()=>ip,chartSerializationsInfo:()=>ap,dataContainer:()=>Yc,dataContainerSerializationsInfo:()=>Qc,dataFilterSerializationsInfo:()=>Ep,legend:()=>ep,stripLimitSerializationsInfo:()=>Ti,stripMaxLimitInfo:()=>Ni,stripMinLimitInfo:()=>zi,stripSerializationsInfo:()=>wi,titleSerializationsInfo:()=>Do});var s={};e.r(s),e.d(s,{DateTimeSummaryOptionsModel:()=>Qi,FillStyle:()=>Si,Indicator:()=>Zo,NumericSummaryOptionsModel:()=>Ki,QualitativeSummaryOptionsModel:()=>Ji,ScaleType:()=>oc,ScaleTypeMap:()=>sc,SeriesLabelViewModel:()=>uo,SeriesPointModel:()=>eo,SeriesTemplateViewModel:()=>nc,SeriesViewModel:()=>bc,SeriesViewViewModel:()=>ic,SummaryOptionsModelBase:()=>qi,_argumentScaleTypeValidatorOptions:()=>pc,argumentDataMember:()=>gc,argumentScaleType:()=>uc,argumentSerializable:()=>ao,assignIndicatorActions:()=>es,colorSerializable:()=>io,dateTimeSummaryOptionsSerializationInfoArray:()=>ji,fillStyleInfo:()=>Di,labelsVisibility:()=>hc,legendTextPattern:()=>cc,mapTypes:()=>fo,numericSummaryOptionsSerializationInfoArray:()=>Gi,onlyNumericArgumentSupportedSeriesViewTypes:()=>bo,seriesLabel:()=>mo,seriesPointSerializationsInfo:()=>ro,seriesPointsSorting:()=>lc,seriesPointsSortingKey:()=>dc,seriesSerializationsInfo:()=>yc,seriesTemplate:()=>fc,seriesTemplateSerializationsInfo:()=>vc,stripFillStyle:()=>_i,summaryFunctionSerializationInfo:()=>Wi,summaryOptionsSerializationInfoArray:()=>Ui,valueDataMembersSerializable:()=>xc,valueScaleType:()=>mc,valuesSerializable:()=>to,view:()=>rc,viewFillMode:()=>Ci,viewTypesDataMembers:()=>vo});var n={};e.r(n),e.d(n,{ChartDataMemberEditor:()=>Cp,ChartDataSourceEditor:()=>Dp,ChartDependencyEditor:()=>_p,CollectionLookupEditorModel:()=>Ip,PointsEditor:()=>Pp,PositionSeriesLabelEditor:()=>Tp,SummaryFunctionEditor:()=>Hi,SummaryFunctionModel:()=>Xi,UndoColorPickerEditor:()=>zp,ViewEditor:()=>Np});var l={};e.r(l),e.d(l,{ActionTypeBase:()=>Eu,ActionsCacheManager:()=>Nu,Anchoring:()=>Mp,BarCodeSymbology:()=>zg,CheckEditOptions:()=>uh,ComponentsModel:()=>ah,ContainerEditOptions:()=>ph,ControlParameter:()=>sh,ControlsFactory:()=>Wy,CrossTabDataFieldModel:()=>w_,CrossTabFieldModel:()=>E_,CrossTabLayoutOptionsModel:()=>N_,EditOptions:()=>ch,ExtensionModel:()=>gh,FormattingRule:()=>Th,FormattingRuleLink:()=>zh,GlyphOptions:()=>$h,HorizontalAnchoring:()=>Ap,ImageBase64Model:()=>wI,ImageEditOptions:()=>mh,NavigateToReportAction:()=>wu,ParameterBinding:()=>Su,ReportSurface:()=>$y,ReportViewModel:()=>Ly,SortingOptions:()=>Hh,StyleModel:()=>yg,SubreportViewModel:()=>Oy,TableOfContentsLevel:()=>kP,TableOfContentsLevelSurface:()=>AP,TextEditOptions:()=>hh,VerticalAcnhoring:()=>kp,WatermarkModel:()=>Qx,XRBarCodeViewModel:()=>WS,XRCellsurface:()=>T_,XRCharacterComb:()=>GS,XRCharacterCombSurface:()=>jS,XRChartSurface:()=>cC,XRChartViewModel:()=>dC,XRCheckBoxSurface:()=>uC,XRCheckBoxViewModel:()=>pC,XRControlSurface:()=>Yv,XRControlSurfaceBase:()=>Qv,XRControlViewModel:()=>Kv,XRCrossBandControlViewModel:()=>Dy,XRCrossBandSurface:()=>_y,XRCrossTabCellViewModel:()=>P_,XRCrossTabSurface:()=>R_,XRCrossTabViewModel:()=>z_,XRGaugeViewModel:()=>M_,XRLineSurface:()=>k_,XRPageBreakSurface:()=>A_,XRPageInfoSurface:()=>L_,XRPageInfoViewModel:()=>$_,XRPdfContentSurface:()=>iI,XRPdfContentViewModel:()=>aI,XRPdfSignatureModel:()=>rI,XRPdfSignatureSurface:()=>oI,XRPictureBoxSurface:()=>cI,XRPictureBoxViewModel:()=>nI,XRPivotGridSurface:()=>lC,XRPivotGridViewModel:()=>nC,XRReportElementViewModel:()=>bv,XRRichSurface:()=>Zv,XRRichTextStreamType:()=>pI,XRRichViewModel:()=>uI,XRShapeControlSurface:()=>RI,XRShapeViewModel:()=>EI,XRSparkLineSurface:()=>pP,XRSparklineViewModel:()=>cP,XRSubreportSurface:()=>DP,XRSubreportViewModel:()=>CP,XRTableCellSurface:()=>By,XRTableCellViewModel:()=>Ry,XRTableControlViewModel:()=>ky,XRTableOfContentsSurface:()=>$P,XRTableOfContentsViewModel:()=>LP,XRTableRowSurface:()=>My,XRTableRowViewModel:()=>Vy,XRTableSurface:()=>Ay,XRTextControlSurfaceBase:()=>Ny,XRUnknownControlSurface:()=>FP,XRZipCodeSurface:()=>OP,_getCustomGlyphsInfo:()=>Rh,barCodesTypes:()=>Vp,circularValues:()=>B_,getDefaultCheckSize:()=>wh,getNearestBand:()=>uv,getRichEditSurface:()=>ef,kindToString:()=>I_,levelDefaultHeight:()=>_P,linearValues:()=>V_,pageInfoValuesMap:()=>F_,registerRichEditInline:()=>tf,spartlineTypes:()=>af});var d={};e.r(d),e.d(d,{bandLayout:()=>sT,bandSerializationInfo:()=>Gf,commonBandSerializationInfo:()=>Uf,commonVerticalBandProperties:()=>oT,detailBandSerializationInfo:()=>ib,detailReportBandSerializationInfo:()=>XP,drillDownControl:()=>wv,drillDownDetailReportExpanded:()=>Sv,expanded:()=>Wf,fillEmptySpace:()=>Zf,generalBandPopularProperties:()=>ab,generalBandSerializationInfo:()=>eb,groupFieldSerializationInfo:()=>Lf,groupFields:()=>qP,groupFooterBandSerializationInfo:()=>QP,groupFooterUnion:()=>UP,groupHeaderBandSerializationInfo:()=>KP,groupUnion:()=>WP,height:()=>Nv,hierarchyPrintOptions:()=>Yf,keepTogetherWithDetailReports:()=>zv,level:()=>Ev,multiColumn:()=>Hf,pageBandSerializationInfo:()=>aT,pageBandSerializationInfoPageHeader:()=>tT,pageBreak:()=>Tv,pageBreakValues:()=>Pv,pageBreakWithoutAfterValues:()=>Iv,popularPropertiesDetail:()=>rb,popularPropertiesDetailReport:()=>HP,popularPropertiesGroupFooter:()=>YP,popularPropertiesGroupHeader:()=>ZP,popularPropertiesPageFooter:()=>rT,popularPropertiesPageHeader:()=>iT,popularPropertiesReportFooter:()=>Kf,popularPropertiesReportHeader:()=>Jf,popularPropertiesVerticalDetailBand:()=>uT,popularPropertiesVerticalHeaderBand:()=>lT,popularPropertiesVerticalTotalBand:()=>cT,printAcrossBands:()=>Dv,printAtBottom:()=>Cv,printOn:()=>eT,repeatEveryPage:()=>_v,reportFooterBandSerializationInfo:()=>qf,reportHeaderBandSerializationInfo:()=>jf,sortFields:()=>Qf,sortingSummary:()=>JP,subBandSerializationInfo:()=>tb,verticalDetailBandSerializationInfo:()=>pT,verticalHeaderBandSerializationInfo:()=>nT,verticalTotalBandSerializationInfo:()=>dT});var c={};e.r(c),e.d(c,{ActionType:()=>Iu,FrameOptionsTypesEPC:()=>Ig,Shape:()=>xI,accessibleDescription:()=>Zm,accessibleRole:()=>Ym,accessibleRoleValues:()=>Qm,action:()=>zu,actionKind:()=>Pu,actionSerializationInfo:()=>Tu,actualValue:()=>KT,afterPrint:()=>ex,alignment:()=>$S,allScripts:()=>Fx,allowMarkupText:()=>xm,anchorHorizontal:()=>Mg,anchorVertical:()=>Vg,angle:()=>pm,autoModule:()=>RS,autoWidth:()=>vm,backColor:()=>Qu,barCodeOrientation:()=>BS,barCodesMap:()=>FS,barcodeFake:()=>LS,barcodeSerializationsInfo:()=>XS,baseControlProperties:()=>Hg,baseTocLevelSerializationsInfo:()=>PP,beforePrint:()=>tx,bookmark:()=>Nm,bookmarkDuplicateSuppress:()=>Nf,bookmarkGroup:()=>jg,bookmarkParent:()=>Em,borderColor:()=>am,borderDashStyle:()=>om,borderDashStyleCrossband:()=>XT,borderDashStyleValues:()=>ku,borderWidth:()=>rm,borders:()=>im,bordersProperties:()=>Xg,calculatedFields:()=>Tf,canGrow:()=>um,canGrowShrinkGroup:()=>Qg,canPublish:()=>Wm,canShrink:()=>mm,cellHeight:()=>xT,cellHorizontalSpacing:()=>hT,cellSizeMode:()=>vT,cellVerticalSpacing:()=>mT,cellWidth:()=>gT,cells:()=>eh,characterCombBorderDashStyle:()=>ST,characterCombBorders:()=>yT,characterCombFont:()=>bT,characterCombSerializationsInfo:()=>CT,chart:()=>DT,chartScripts:()=>gx,checkEditOptions:()=>ET,checkState:()=>TT,checkboxSerializationsInfo:()=>BT,checked:()=>zT,commonBandProperties:()=>Wg,commonBandScripts:()=>Sx,commonControlProperties:()=>Ug,commonScripts:()=>nx,conditionObj:()=>_h,controlParameterInfos:()=>oh,controlParametersInfo:()=>_T,controlScripts:()=>dx,createSummarySerializationInfo:()=>Am,crossBandBoxControlSerializationsInfo:()=>WT,crossBandLineControlSerializationsInfo:()=>UT,crossBandLineWidth:()=>AT,crossTabSerializationInfo:()=>JT,crossTabStyles:()=>hg,crossTabStylesDefaults:()=>gg,dataAdapter:()=>_m,dataMember:()=>Pm,dataSource:()=>Im,datasourcePrintOptionsGroup:()=>Jg,defaultAccessibleRole:()=>Km,defaultBooleanValuesArray:()=>ju,defaultBooleanVisible:()=>yh,defaultCodeSerializationInfo:()=>Uy,defaultFrameOptionsSerializationInfo:()=>Sg,defaultPrinterSettingsUsingInfo:()=>Mf,defaultTextPadding:()=>lm,detailReportBandScripts:()=>Bx,displayName:()=>Fu,dpi:()=>Hm,drawWatermark:()=>pf,drillThroughParameterBindings:()=>_u,drillThroughReportSource:()=>Du,drillThroughReportSourceUrl:()=>Cu,editOptions:()=>kg,editOptionsSerializationInfo:()=>dh,endBand:()=>OT,endPoint:()=>$T,evaluateBinding:()=>ix,evenStyleName:()=>Jh,expressionBindingSerializationsInfo:()=>Lg,expressionBindings:()=>$g,expressionableFont:()=>em,expressionableFontInfo:()=>tm,fillColor:()=>gI,filterString:()=>Tm,filterStringEditable:()=>zm,font:()=>Zu,fontGroup:()=>Gg,fontWatermark:()=>qx,foreColor:()=>Yu,foreColorWatermark:()=>jx,formatting:()=>Ih,formattingRuleLinkSerializationsInfo:()=>bh,formattingRuleLinks:()=>Fg,formattingRuleSerializationsInfo:()=>Ph,formattingRuleSheet:()=>bf,formattingSerializationsInfo:()=>Dh,frameOptionsMap:()=>Pg,frameOptionsTypes:()=>_g,generateOwnPages:()=>U_,getSummaryFunctionValues:()=>Vm,glyphAlignment:()=>Bh,glyphOptions:()=>NT,glyphOptionsSerializationInfo:()=>Lh,groupBandScripts:()=>_x,groupHeaderBandScripts:()=>zx,horizontalContentSplitting:()=>Ef,imageEditOptions:()=>Hx,imageSource:()=>Xx,imageType:()=>qm,imageUrl:()=>Ox,interactiveSorting:()=>Xh,keepTogether:()=>fm,keepTogetherDefaultValueFalse:()=>bm,labelGroup:()=>Yg,labelScripts:()=>mx,labelSerializationsInfo:()=>tN,landscape:()=>sf,language:()=>Df,lineDirection:()=>sz,lineSerializationsInfo:()=>nz,lineStyle:()=>Xm,lineWidth:()=>Om,localizationItems:()=>Cf,location:()=>Gu,lockedInUserDesigner:()=>Ju,margins:()=>nf,maxNestingLevel:()=>RP,maximum:()=>QT,measureUnit:()=>df,minimum:()=>YT,moduleInfo:()=>VS,multiline:()=>hm,name:()=>$u,navigateUrl:()=>wm,navigationGroup:()=>qg,newDocumentData:()=>Wz,nullValueText:()=>Bm,oddStyleName:()=>Kh,padding:()=>nm,paddingGroup:()=>Jm,paddingString:()=>sm,pageBreakSerializationsInfo:()=>dz,pageColor:()=>lf,pageCount:()=>K_,pageHeight:()=>Sf,pageInfo:()=>cz,pageInfoSerializationsInfo:()=>mz,pageWidth:()=>yf,panelSerializationsInfo:()=>MT,paperKind:()=>of,parameterBindingSerializationInfo:()=>yu,parameterBindings:()=>W_,parametersInfo:()=>zf,pdfContentScripts:()=>bx,pdfContentSerializationInfo:()=>Y_,pdfSignatureInfo:()=>gN,pdfSource:()=>j_,pdfSourceUrl:()=>q_,pictureBoxSerializationsInfo:()=>Ux,pivotGridAppearances:()=>xz,pivotGridOptions:()=>$z,pivotGridSerializationsInfo:()=>Fz,pivotGridStyles:()=>mg,pivotScripts:()=>vx,popularPropertiesBarCode:()=>HS,popularPropertiesCheckBox:()=>VT,popularPropertiesCrossLine:()=>GT,popularPropertiesGauge:()=>oz,popularPropertiesLabel:()=>aN,popularPropertiesLine:()=>lz,popularPropertiesPageInfo:()=>hz,popularPropertiesPdfContent:()=>Z_,popularPropertiesPicture:()=>Gx,popularPropertiesReport:()=>Af,popularPropertiesRichText:()=>Gz,popularPropertiesShape:()=>NI,popularPropertiesSparkline:()=>dP,popularPropertiesTable:()=>Jz,popularPropertiesTableCell:()=>Zz,popularPropertiesZipCode:()=>oN,prefilter:()=>vz,processDuplicatesMode:()=>Sm,processDuplicatesTarget:()=>ym,processGroup:()=>Kg,processHiddenCellMode:()=>jz,processNullValues:()=>Cm,reportExportOptionsSerializationInfo:()=>hf,reportPrintOptions:()=>Fm,reportPrintOptionsSerializationInfo:()=>Dm,reportScripts:()=>$x,reportSerializationInfo:()=>kf,reportSource:()=>H_,reportSourceUrl:()=>X_,requestParameters:()=>ff,richTextSerializationsInfo:()=>Uz,rollPaper:()=>vf,rowSpan:()=>Qz,rtf:()=>Oz,rtl:()=>jm,rtlLayout:()=>wf,rtlReport:()=>Rf,rtlValues:()=>Um,runningBand:()=>uz,scriptLanguage:()=>If,scriptReferencesString:()=>Pf,segmentWidth:()=>iN,serializableRtfString:()=>Hz,shapeElementSerializationsInfo:()=>fI,shapeFake:()=>vI,shapeSerializationsInfo:()=>zI,shapeType:()=>mI,shapesMap:()=>TI,showPreviewMarginLines:()=>uf,showText:()=>MS,signatureOptions:()=>hN,size:()=>Uu,sizeChanged:()=>ax,sizeLocation:()=>Og,snapGridSize:()=>cf,sortOrder:()=>th,sortingOptionsSerializationsInfo:()=>Oh,sparklineFake:()=>nP,sparklineSerializationsInfo:()=>lP,sparklineViewMap:()=>oP,startBand:()=>FT,startPageNumber:()=>pz,startPoint:()=>LT,stretch:()=>hI,styleName:()=>qh,stylePriority:()=>Qh,stylePrioritySerializationInfo:()=>Au,styleSerializationInfo:()=>jh,stylesInfo:()=>xg,stylesObj:()=>vg,subreportScripts:()=>fx,subreportSerializationsInfo:()=>G_,summary:()=>$m,summaryFunctionValues:()=>Mm,summarySerializationInfo:()=>Lm,symbology:()=>kS,tableCellSerializationsInfo:()=>Yz,tableRowSerializationsInfo:()=>eN,tableSerializationsInfo:()=>qz,tag:()=>qu,target:()=>Rm,targetDeviceDpi:()=>AS,targetValue:()=>ez,text:()=>Ou,textAlignment:()=>dm,textAlignmentValues:()=>Mu,textArea:()=>Xu,textControlScripts:()=>px,textEditOptions:()=>Ag,textFitMode:()=>cm,textFormatString:()=>km,textRtf:()=>Xz,textTrimming:()=>Wu,textTrimmingValues:()=>Hu,tickmarkCount:()=>ZT,tocLevelDefault:()=>wP,tocLevelSerializationsInfo:()=>TP,tocLevels:()=>BP,tocSerializationsInfo:()=>MP,tocTitle:()=>EP,tocTitleSerializationsInfo:()=>NP,truncatedControlEventsSerializationInfo:()=>rx,truncatedControlScripts:()=>ox,unknownSerializationsInfo:()=>Zg,useImageMetadata:()=>Wx,useLandscape:()=>Bf,usePaperKind:()=>Vf,valueMember:()=>BI,valueRange:()=>sP,verticalContentSplitting:()=>mf,viewStyle:()=>tz,viewTheme:()=>az,viewType:()=>iz,visible:()=>Ku,watermarkId:()=>xf,watermarkSerializationsInfo:()=>Kx,watermarks:()=>gf,weight:()=>Kz,width:()=>HT,wordWrap:()=>gm,xlsxFormatString:()=>Lu,xrChartSerializationInfo:()=>PT,xrControlSerializationsInfo:()=>kT,xrGaugeSerializationInfo:()=>rz,zipCodeSerializationInfo:()=>rN});var p={};e.r(p),e.d(p,{calculatedFieldExpression:()=>db,calculatedFieldScripts:()=>lb,calculatedFieldSerializationInfo:()=>cb,collectAvailableParameters:()=>vu,dataBindingBaseSerializationInfo:()=>Lp,dataBindingSerializationInfo:()=>$p,dataBindings:()=>Ng,dynamicListLookUpSettingsInfoBase:()=>zb,editedStaticListLookUpSettingsInfo:()=>Eb,extendValueSourceSettingsTypes:()=>xb,groupLayoutItemInfo:()=>iu,labelOrientation:()=>au,lookUpValueSerializationInfo:()=>Rb,parameterExpressionBindingSerializationsInfo:()=>mb,parameterExpressionBindings:()=>hb,parameterExpressionSerializationInfo:()=>fb,parameterLayoutItemInfo:()=>ru,parameterLookUpSettingsSerializationInfo:()=>bb,parameterNameSerializationInfo:()=>Sb,parameterSerializationInfo:()=>Cb,parameterValueSerializationInfo:()=>vb,parameterValueToJsonObject:()=>xu,rangeBoundaryParameterInfos:()=>Lb,rangeEditor:()=>Ab,rangeSettingsInfos:()=>$b,readonlyStaticListLookUpSettingsInfo:()=>wb,separatorLayoutItemInfo:()=>ou,valueSourceSettingsSerializationInfo:()=>yb,valueSourceSettingsTypes:()=>gb});var u={};e.r(u),e.d(u,{KPIGraphic:()=>UC,allowedAreas:()=>yC,appearanceInfo:()=>ZC,appearancesInfo:()=>nD,area:()=>bC,areaIndex:()=>SC,areaIndexEditable:()=>CC,caption:()=>hC,cellFormat:()=>jC,columnValueLineCount:()=>XC,conditions:()=>QS,customTotalSummaryType:()=>ZS,displayFolder:()=>OC,emptyCellText:()=>FC,emptyValueText:()=>$C,expandedInFieldsGroup:()=>LC,field:()=>YS,fieldComponentName:()=>KS,fieldName:()=>xC,grandTotalCellFormat:()=>JC,grandTotalText:()=>AC,groupInterval:()=>kC,groupIntervalNumericRange:()=>MC,index:()=>gC,minWidth:()=>vC,options:()=>fD,pivotGridFieldSerializationsInfo:()=>yD,pivotGridFieldsSerializable:()=>CD,popularPropertiesPivotGridField:()=>SD,rowValueLineCount:()=>VC,runningTotal:()=>BC,showNewValues:()=>RC,sortBySummary:()=>bD,sortBySummaryConditionInfo:()=>tC,sortBySummaryInfo:()=>eC,sortMode:()=>wC,sortOrder:()=>EC,summaryDisplayType:()=>NC,summaryType:()=>JS,summaryTypeValues:()=>qS,topValueCount:()=>zC,topValueShowOthers:()=>TC,topValueType:()=>PC,totalCellFormat:()=>qC,totalValueFormat:()=>QC,totalsVisibility:()=>HC,unboundExpression:()=>IC,unboundExpressionMode:()=>vD,unboundFieldName:()=>_C,unboundType:()=>DC,useNativeFormat:()=>WC,valueFormat:()=>KC,width:()=>fC});var m={};e.r(m),e.d(m,{autoSizeMode:()=>OD,cellserializtionInfo:()=>KD,cellserializtionInfoBase:()=>JD,columnAutoWidthMode:()=>UD,columnDefinitions:()=>h_,columnFields:()=>$D,columnIndex:()=>jD,columnVisible:()=>HD,crossTabCellHeight:()=>p_,crossTabCellOptionsInfo:()=>GD,crossTabCellWidth:()=>n_,crossTabColumnDefinitionInfo:()=>c_,crossTabDataFieldInfo:()=>VD,crossTabDataFieldInfoBase:()=>BD,crossTabFieldName:()=>DD,crossTabGroupFieldInfo:()=>AD,crossTabGroupFieldInfoBase:()=>kD,crossTabGroupInterval:()=>ID,crossTabGroupIntervalNumericRange:()=>PD,crossTabLayoutOptions:()=>__,crossTabLayoutOptionsInfo:()=>D_,crossTabPrintOptions:()=>qT,crossTabPrintOptionsInfo:()=>jT,crossTabRowDefinitionInfo:()=>u_,crossTabSortBySummaryInfo:()=>ND,crossTabSummaryType:()=>zD,dataFields:()=>FD,popularPropertiesCrossTabCell:()=>QD,rowAutoHeightMode:()=>WD,rowDefinitions:()=>m_,rowFields:()=>LD,rowIndex:()=>qD,rowVisible:()=>XD,sortOrderdefaultValAscending:()=>MD});var h={};e.r(h),e.d(h,{DxReportDesigner:()=>$M,JSReportDesigner:()=>vN,JSReportDesignerBinding:()=>AM,ReportDesignerContext:()=>TV,ReportParameterHelper:()=>uu,ReportStorageWeb:()=>SP});var g={};e.r(g),e.d(g,{ActionId:()=>IN,ChartActions:()=>EM,CrossTabActions:()=>wN,ElementActions:()=>$N,ElementsGroupActions:()=>VN,FitBoundsToTextAction:()=>Ty,FitTextToBoundsAction:()=>zy,FitToContainerAction:()=>LN,PdfContentActions:()=>MN,PivotGridActions:()=>kN,ReportActions:()=>AN,ReportElementActions:()=>FN,TableCellActions:()=>XN,TableCellGroupActions:()=>HN,TableRowActions:()=>ON,TextElementAction:()=>WN});var x={};e.r(x),e.d(x,{BandsHolder:()=>Vv,PrintAcrossBandsPlaceHolder:()=>Uv,VerticalBandsContainerSurface:()=>Bv,_getUnitAbsoluteRect:()=>Wv,addBandToContainer:()=>nb,generateArray:()=>Hv,getLevelCount:()=>Av,initLevels:()=>Xv,insertBand:()=>Lv,markerHeight:()=>Rv,setMarkerWidth:()=>kv,sortBands:()=>Mv});var v={};e.r(v),e.d(v,{BandSurface:()=>jv,BandViewModel:()=>Gv,BottomMarginBand:()=>oR,BottomMarginSurface:()=>sR,DetailBand:()=>ob,DetailBandSurface:()=>sb,DetailReportBand:()=>VE,DetailReportBandSurface:()=>ME,GroupFieldModel:()=>$f,GroupHeaderBand:()=>iR,MultiColumn:()=>Ff,MultiColumnSurface:()=>Xf,PageFooterSurface:()=>nR,SubBandSurface:()=>BE,SubBandViewModel:()=>RE,TopMarginBand:()=>rR,VerticalBandSurface:()=>Jv,VerticalBandViewModel:()=>qv,VerticalDetailBandViewModel:()=>lR,bandSurfaceCollapsedHeight:()=>yv,multiColumnSerializationsInfo:()=>Of});var f={};e.r(f),e.d(f,{PivotGridFieldSurface:()=>oC,PivotGridFieldViewModel:()=>rC,SortBySummaryInfo:()=>iC,SortBySummaryInfoCondition:()=>aC});var b={};e.r(b),e.d(b,{CellCreator:()=>r_,CellKind:()=>ZD,CellMatrixHelper:()=>b_,CornerHeaderDisplayMode:()=>YD,CrossTabCellInfo:()=>i_,CrossTabColumnDefinitionsModel:()=>f_,CrossTabDefinitionsModel:()=>x_,CrossTabRowDefinitionsModel:()=>v_,DataFieldLayout:()=>a_,DefenitionUpdater:()=>y_,HorizontalCreator:()=>o_,TotalHeaderPosition:()=>e_,TotalsPosition:()=>t_,VerticalCreator:()=>s_,findcells:()=>g_});var y={};e.r(y),e.d(y,{CalculatedField:()=>pb,DataBinding:()=>bu,DataBindingBase:()=>fu,DataFederationDataSource:()=>Pb,DynamicListLookUpSettings:()=>kb,GroupLayoutItem:()=>lu,LookUpSettings:()=>Vb,LookUpValue:()=>Bb,ObjectItem:()=>Db,ObjectStorageItem:()=>_b,ObjectStorageParameter:()=>Ib,ObjectsStorage:()=>Zb,Parameter:()=>ry,ParameterExpressionAddOn:()=>ow,ParameterExpressionBinding:()=>Wb,ParameterLayoutItem:()=>cu,ParameterPanelLayoutItem:()=>nu,ParameterPanelMapper:()=>pu,ParameterTypesHelper:()=>mu,PropertyExpressionMapper:()=>ty,RangeBoundaryParameter:()=>Gb,RangeEndParameter:()=>qb,RangeParametersSettings:()=>Ub,RangeStartParameter:()=>jb,SeparatorLayoutItem:()=>du,SerializableDataFederationDataSource:()=>Tb,StaticListLookUpSettings:()=>Mb,TableInfoCollectionItem:()=>Jb,UniversalDataSource:()=>Qb,ValueSourceSettingsHelper:()=>ay,createExpressionProperty:()=>Hb,createNewObjectItem:()=>Yb,parameterSeparator:()=>hu,parameterTypeValues:()=>gu});var S={};e.r(S),e.d(S,{AlignmentHandler:()=>RN,AvailableFieldsTreeListController:()=>KR,BandLevelEditor:()=>qM,BaseConverter:()=>TN,CONVERSION_COEEFICIENT:()=>MB,CalculatedFieldsSource:()=>CV,CharacterCombHelper:()=>US,ChartFieldListExtender:()=>fV,ChartLocalizationProvider:()=>vv,CommonRequestModel:()=>IR,ControlConverterService:()=>PN,ControlScrollingTool:()=>Pw,CoordinateGridViewModel:()=>JM,CreateQueryIterator:()=>pE,CrossTabColumnFieldInfo:()=>zR,CrossTabConverter:()=>zN,CrossTabDataFieldInfo:()=>ER,CrossTabFieldInfoBase:()=>PR,CrossTabGroupFieldInfo:()=>TR,CrossTabRowFieldInfo:()=>NR,CrossTabWizardDragDropHandler:()=>$R,CrossTabWizardFieldListController:()=>LR,CustomControlSerializableModel:()=>pR,CustomMergingEngine:()=>zw,DataBindingMode:()=>nv,DataFilterModelReport:()=>WM,DataMemberCustomCheckedTreeNode:()=>qR,DataSourceActions:()=>MV,DataSourceEditorBase:()=>cE,DataSourceHelper:()=>UN,DataSourceItemsExtender:()=>DV,DataSourceWizardHelper:()=>EB,DefaultCrossTabControlEnum:()=>EN,DefaultLocalizationProvider:()=>hv,DesignControlsHelper:()=>bV,DesignerEditorAddOn:()=>Nw,DesignerErrorProvider:()=>yV,DisplayNameProvider:()=>IV,ErrorPanelViewModel:()=>jE,ErrorSource:()=>WE,ErrorType:()=>UE,ExpressionEditorAddOn:()=>Ew,ExpressionWrapper:()=>Hy,ExpressionableFontModel:()=>ok,FederationDataSourceEditor:()=>_B,FieldInfo:()=>WR,FieldListController:()=>JE,FieldListDataSourcesHelper:()=>ZE,FieldListDragDropHandler:()=>yE,FieldListDragDropHelper:()=>vE,FieldListItemFactory:()=>hw,FormatStringService:()=>nk,JsonDataSourceEditor:()=>hE,JsonEditSchemaIterator:()=>mE,LanguageHelper:()=>_w,LegacyReportRequestModel:()=>KV,ListViewModel:()=>oB,LocalizationDictionary:()=>hy,LocalizationEditor:()=>Hw,LocalizationInfo:()=>gy,LocalizationItem:()=>py,LocalizedProperty:()=>fv,LocaliziblePropertiesAccessibilityProvider:()=>Ww,MasterDetailFieldInfo:()=>GR,MasterDetailInfoBase:()=>UR,MasterDetailQueryInfo:()=>jR,MasterDetailRequestModel:()=>wR,MasterDetailTreeListController:()=>JR,ObjectDataSourceEditParametersIterator:()=>WB,ObjectDataSourceEditor:()=>UB,ObjectExplorerDragDropHandler:()=>SE,ObjectExplorerDragDropHelper:()=>NE,PageSetupHelper:()=>ZB,ParameterLayoutDragDropHandler:()=>iw,ParametersLayoutItemsProvider:()=>tw,ParametersLayoutTreeListController:()=>rw,ParametersViewModel:()=>cw,PivotGridConverter:()=>NN,PromptBoolean:()=>hP,QBRequestWrapper:()=>lE,RenameDataSourceStrategy:()=>KE,ReportCompleter:()=>Dw,ReportControlsDragDropHelper:()=>EE,ReportConverter:()=>Vw,ReportDataSourceService:()=>nE,ReportDesignerControlsHelper:()=>xE,ReportDesignerInitializer:()=>VM,ReportDesignerTreelistItem:()=>uw,ReportDialogSettings:()=>NM,ReportDummyCreator:()=>Cw,ReportExplorerDragDropHandler:()=>wE,ReportExplorerModel:()=>gw,ReportItemsProvider:()=>_V,ReportLocalizationEngine:()=>xy,ReportLocalizationProvider:()=>xv,ReportMenuSettings:()=>VV,ReportModelSerializer:()=>dy,ReportPreviewService:()=>Uw,ReportRenderingService:()=>Yx,ReportScriptService:()=>xw,ReportSnapLinesCollector:()=>kE,ReportToolboxDragDropHandler:()=>AE,ReportWizardService:()=>eR,ReportWizardStateHelper:()=>uV,RulerViewModel:()=>sk,RuntimeErrorProvider:()=>SV,ScriptsEditor:()=>Iw,SelectionDragDropHandler:()=>LE,SpaceCommandHandler:()=>BN,SqlDataSourceEditor:()=>uE,StringId:()=>Rw,StylesHelper:()=>rv,SummaryInfo:()=>QR,SummaryInfoFieldlist:()=>YR,SummaryOptionsWrapper:()=>dM,TableActionDirection:()=>Ey,TableCalculationProvider:()=>Iy,TableComponentSurface:()=>wy,TableOfContentLocalizationProvider:()=>gv,TextElementSizeHelper:()=>Py,TodoControlSurface:()=>tI,TranslateHelper:()=>kw,UnknownViewModel:()=>eI,ValueEditorAddOn:()=>ww,WizardRunner:()=>Mw,WizardsInitializerSettings:()=>zM,WrappedExpressionOptions:()=>Xb,__createLocalizationProperties:()=>mv,_checkBandsType:()=>YN,_createReportWizard:()=>yM,_masterDetailScrollViewHeight:()=>XR,_masterDetailWizardHeight:()=>FR,_masterDetailWizardWidth:()=>OR,addDataSourceToReport:()=>rE,addVariablesToExpressionEditor:()=>vh,assignBinding:()=>eE,convertFontToDXFont:()=>vy,correctModel:()=>gP,createChartDesignerOptions:()=>gE,createExpressionEditorAction:()=>dv,createIDataMemberInfoByName:()=>Ob,createObjectFromInfo:()=>ov,createPaddingProperty:()=>bg,createPictureBox:()=>QN,createPopularBindingInfo:()=>Rg,createPopularBindingInfos:()=>wg,createReportDesigner:()=>MM,createReportDesignerFromModel:()=>kM,createReportViewModel:()=>xP,createSimpleControl:()=>ZN,createSinglePopularBindingInfos:()=>Eg,dragDropComponentAdded:()=>iE,dxEventDropDownEditor:()=>jM,eventArgsTypes:()=>vw,expressionEditorActionId:()=>lv,findFirstParentWithPropertyName:()=>sv,getClosestDataMember:()=>jN,getExistTableOfContents:()=>av,getExpressionPath:()=>qN,getFirstSurfaceParentByType:()=>JN,getFormattedValueInUnits:()=>rB,getUnitProperties:()=>cy,getUsefulReportWidth:()=>KN,includeNonListItem:()=>oE,initializeLabelReportWizardPromise:()=>AB,isBand:()=>ev,isControl:()=>bP,isHeaderOrFooterBandType:()=>tv,isList:()=>tE,isNotParameter:()=>fP,isVerticalBand:()=>Zx,labelReportWizardPromise:()=>kB,limitation:()=>$i,listMemberControlsMap:()=>fE,maxNestingLevelUpdate:()=>QE,memberControlsMap:()=>bE,overrideFullscreenDataSourceWizardPageMetadata:()=>HR,overrideJsonDataSourceWizardPage:()=>zB,overrideSqlDataSourceWizardPage:()=>NB,patchFont:()=>by,patchFontInLocalizationItem:()=>fy,patchMargins:()=>yy,patchRequest:()=>YE,patchSubreport:()=>Sy,recalculateUnit:()=>mP,registerControls:()=>cR,registerCustomControls:()=>uR,registerCustomGlobalExpressions:()=>hR,registerCustomReportExpressions:()=>gR,removeDataSourceFromReport:()=>sE,reportCopyPasteStrategy:()=>Tw,reportStorageWebIsRegister:()=>Li,searchInLocalizationArray:()=>my,selectTreeListItem:()=>GN,stylesProperties:()=>iv,subreportControlCollector:()=>uP,updateDataSourceRefs:()=>vP,updateSurfaceContentSizeLocalizationMode:()=>yP,valuesArrayAsEnumWithLocalizationId:()=>Bg});var C={};e.r(C),e.d(C,{ValueConverter:()=>rk});var D={};e.r(D),e.d(D,{_translationFactory:()=>Fw,registerTranslationService:()=>Ow,unregisterTranslationService:()=>Xw});var _={};e.r(_),e.d(_,{AddParameterDialog:()=>lw,EditParametersDialog:()=>dw,ExpressionSmartTag:()=>EV,NavigateByReports:()=>NV,NavigateTab:()=>zV,OpenReportDialog:()=>DM,OpenReportDialogModelBase:()=>CM,ParametersDialogBase:()=>nw,ReportDialogBase:()=>SM,SaveAsReportDialog:()=>IM,SaveAsReportDialogModelBase:()=>_M,SaveReportDialog:()=>TM,SaveReportDialogModelBase:()=>PM,SmartTagModel:()=>RV,TasksSmartTag:()=>wV});var I={};e.r(I),e.d(I,{Base64ImageParser:()=>sI,DataBindingMode:()=>Hp,DefaultCrossTabControl:()=>Gp,HandlerUri:()=>Wp,PaperKind:()=>fR,ReportDesignerAddOns:()=>aR,ReportDesignerElements:()=>tR,ReportWizardSettings:()=>BR,SearchBoxVisibilityMode:()=>RR,_isMarginBand:()=>PE,_isPageBand:()=>TE,_isReorderBand:()=>IE,availableFonts:()=>zE,base64UTF16LEtobase64UTF8:()=>_E,controlsFactory:()=>Op,formatStringEditorCustomSet:()=>Up,smartTagFactory:()=>Xp});var P={};e.r(P),e.d(P,{ContextMenusEnabled:()=>BM,PropertyGrid:()=>wM,SmartTagsEnabled:()=>RM});var T={};e.r(T),e.d(T,{BandEditorBase:()=>dk,BandsEditor:()=>pk,ChartValueBindingEditor:()=>hk,ComboboxUndoEditor:()=>Lk,ContentByTypeEditor:()=>Nk,DataBindingEditor:()=>wk,DataBindingsEditor:()=>Ek,DataSourceEditor:()=>gk,DataSourceSelectBox:()=>$w,DrillDownEditor:()=>vk,EditOptionsEditorNameEditorModel:()=>lh,ExplorerEditor:()=>xk,ExpressionableFontEditor:()=>yk,FieldsComboboxEditor:()=>Sk,FontEditorUndo:()=>Rk,FormatStringEditor:()=>Ck,FormattingRuleEditor:()=>Dk,GaugeStyleEditor:()=>_k,LinesEditor:()=>Vu,NameEditor:()=>Pk,PageBreakBandEditor:()=>mk,PivotGridCriteriaEditor:()=>zk,ReportComplexExpressionEditor:()=>bk,ReportExpressionEditor:()=>fk,ReportExpressionEditorAdapter:()=>cv,ReportExpressionEditorWrapper:()=>pv,ReportFieldListEditor:()=>ih,ReportUrlEditor:()=>Bk,RunningBandEditor:()=>ck,SortingBandEditor:()=>uk,StylesEditorHeaderModel:()=>vR,SummaryEditor:()=>Ak,WatermarkIdEditor:()=>Tk,dataBindingsSerializationInfo:()=>lk,designerEditorTemplates:()=>jp,dxImageSourceEditor:()=>Ik,dxRichTextFileEditor:()=>Vk,groups:()=>xN,reportFunctionDisplay:()=>fh});var z={};e.r(z),e.d(z,{SummaryEditorModel:()=>kk,SummaryEditorPopup:()=>Mk});var N={};e.r(N),e.d(N,{AddGroupFieldsPage:()=>pB,AddGroupingLevelPage:()=>nB,AddSummaryFieldsPage:()=>gB,ChooseAvailableDataSourcePage:()=>Yw,ChooseDataSourceTypePage:()=>MR,ChooseJsonSchemaPage:()=>wB,ChooseReportColorSchemePage:()=>KB,ChooseSummaryOptionsPage:()=>mB,ColorScheme:()=>qB,ConfigureCrossTabPage:()=>aB,ConfigureMasterDetailRelationshipsPage:()=>AV,ConfigurePageSettingsPage:()=>rV,ConfigureReportPageSettingsPage:()=>tV,CustomColorScheme:()=>JB,CustomizeLabelPage:()=>LB,DefineCrossTabPage:()=>bB,DefineReportLayoutPage:()=>vB,FullscreenReportWizard:()=>hV,FullscreenReportWizardPageId:()=>qw,FullscreenReportWizardPageIterator:()=>gV,FullscreenReportWizardSectionId:()=>Jw,GraphicsUnit:()=>SR,LayoutTypeItem:()=>aM,LegacyAddGroupingLevelPage:()=>QV,LegacyChooseDataMemberPage:()=>gM,LegacyChooseReportLayoutPage:()=>rM,LegacyChooseReportStylePage:()=>nM,LegacyChooseSummaryOptionsPage:()=>cM,LegacyReportWizard:()=>vM,LegacyReportWizardPageId:()=>Gw,LegacyReportWizardPageIterator:()=>fM,LegacySelectColumnsPage:()=>uM,MultiQueryConfigurePage:()=>$V,MultiQueryConfigureParametersPage:()=>OV,PageOrientation:()=>eM,PageOrientationItem:()=>iM,PivotSummaryType:()=>yR,PreviewPageHelper:()=>eV,ReportLayout:()=>ZV,ReportStyle:()=>tM,ReportStyleItem:()=>sM,ReportType:()=>bR,ReportWizard:()=>UV,ReportWizardPageId:()=>jw,ReportWizardPageIterator:()=>GV,SelectCrossTabDataMember:()=>tB,SelectDataMembersPage:()=>ZR,SelectDataSourcePage:()=>CB,SelectLabelTypePage:()=>FB,SelectReportTypePage:()=>VR,SetReportTitlePage:()=>HV,SpecifyFederationDataSourceSettingsPage:()=>IB,SpecifyJsonDataSourceSettingsPage:()=>BB,SpecifyLabelSettingsPage:()=>XB,SpecifyObjectDataSourceSettingsPage:()=>GB,SpecifyPageSettingsPage:()=>sV,SpecifyReportTitlePage:()=>lV,SpecifySqlDataSourceSettingsPage:()=>cV,_GroupField:()=>cB,_GroupsFieldStore:()=>dB,_ReportWizardOptions:()=>kV,_applyColorSchemeState:()=>QB,_applyPageSetting:()=>aV,_convertToStateDataSource:()=>Kw,_createFullscreenReportWizard:()=>vV,_createLegacyReportWizard:()=>bM,_createReportWizard:()=>JV,_fillTreeQueries:()=>sB,_registerAddGroupFieldsPage:()=>uB,_registerAddGroupingLevelPage:()=>lB,_registerAddSummaryFieldsPage:()=>xB,_registerChooseAvailableDataSourcePage:()=>Zw,_registerChooseDataSourceTypePage:()=>AR,_registerChooseJsonSchemaPage:()=>RB,_registerChooseReportColorSchemePage:()=>YB,_registerChooseSummaryOptionsPage:()=>hB,_registerCommonReportWizardPages:()=>jV,_registerConfigureCrossTabPage:()=>iB,_registerConfigureMasterDetailRelationshipsPage:()=>LV,_registerConfigureReportPageSettingsPage:()=>iV,_registerConfigureReportPageSettingsSection:()=>oV,_registerCustomizeLabelPage:()=>$B,_registerDefineCrossTabPage:()=>SB,_registerDefineReportLayoutPage:()=>fB,_registerFullscreenReportWizardPages:()=>xV,_registerLegacyAddGroupingLevelPage:()=>YV,_registerLegacyChooseDataMemberPage:()=>xM,_registerLegacyChooseReportLayoutPage:()=>oM,_registerLegacyChooseReportStylePage:()=>lM,_registerLegacyChooseSummaryOptionsPage:()=>pM,_registerLegacySelectColumnsPage:()=>mM,_registerMultiQueryConfigurePage:()=>FV,_registerMultiQueryConfigureParametersPage:()=>XV,_registerReportWizardPages:()=>qV,_registerSelectDataMembersPage:()=>eB,_registerSelectDataSourcePage:()=>DB,_registerSelectLabelTypePage:()=>OB,_registerSelectReportTypePage:()=>kR,_registerSelectSingleDataMemberPage:()=>yB,_registerSetReportTitlePage:()=>WV,_registerSpecifyFederationDataSourceSettingsPage:()=>PB,_registerSpecifyJsonDataSourceSettingsPage:()=>VB,_registerSpecifyLabelSettingsPage:()=>HB,_registerSpecifyObjectDataSourceSettingsPage:()=>jB,_registerSpecifyPageSettingsPage:()=>nV,_registerSpecifyReportTitlePage:()=>dV,_registerSpecifySqlDataSourceSettingsPage:()=>pV,_restoreDataSourceFromState:()=>Qw,createReportWizardState:()=>mV,defaultPageSetupState:()=>DR,defaultReportWizardState:()=>_R});var E={};e.r(E),e.d(E,{ToolbarActionId:()=>$k,ToolbarGroupId:()=>Fk,XRRichModernSurface:()=>dA,createRichEdit:()=>Wk,createRichEditOptions:()=>Uk,events:()=>Ok,getRichEditInstance:()=>Hk});var w={};e.r(w),e.d(w,{InlineRichEditControl:()=>cA,RichAction:()=>Gk,RichEditFontModel:()=>nA,RichEditLoadDispatcher:()=>jk,RichEditPaddingModelWrapper:()=>sA,RichEditVirtualScroll:()=>pA,RichLoader:()=>oA,XRRichController:()=>lA,XRRichEditControlModel:()=>rA});var R={};e.r(R),e.d(R,{Component:()=>Kk,ComponentButton:()=>Yk,ComponentButtonGroup:()=>Qk,ComponentCollection:()=>aA,ComponentColorPicker:()=>tA,ComponentComboBox:()=>Zk,ComponentFontSizeComboBox:()=>eA,CustomComponent:()=>Jk,ToolbarSurface:()=>iA});const B=DevExpress.Analytics.Internal,V=(0,B.createGlobalModuleVariableFunc)("DXXCD.axd");class M{static getChartImage(e,t,a,i){return(0,B.ajax)(e,"chart",encodeURIComponent(JSON.stringify({width:a,height:i,Chart:JSON.stringify({ChartXmlSerializer:{"@version":"16.2.0.0",Chart:t}})})))}static fieldListCallback(e){const t=JSON.stringify(e),a=encodeURIComponent(t);return(0,B.ajax)(V(),"fieldList",a)}}const k=jQuery,A=ko,L=DevExpress.Analytics.Utils;function F(e){if(!e)return null;if(e instanceof Date)return e;const t=e.split("."),a=(0,B.parseDate)(t[0]);if(t.length>1&&a&&3===t[1].length){const e=parseInt(t[1]);e&&a.setMilliseconds(e)}return a}function O(e){const t=e.getMilliseconds().toString();let a;switch(3-t.length){case 2:a="00";break;case 1:a="0";break;default:a=""}return(0,L.serializeDate)(e)+"."+a+t}function X(e,t,a,i){const r={text:e,imageClassName:"dxrd-image-add",imageTemplateName:"dxrd-svg-operations-add",disabled:A.observable(!1),id:t,_visible:A.observable(!1),popoverVisible:null,togglePopoverVisible:null,closePopover:null,templateName:"dxrd-collectionactions-template",contentTemplate:i,getContainer:function(e,t){return k.fn.constructor(e).parent().find(t)},actions:a};return r.popoverVisible=A.pureComputed((()=>r._visible())),r.togglePopoverVisible=()=>{r._visible(!r._visible())},r.closePopover=()=>{r._visible(!1)},[r]}function H(e){return["Integer","Float","CalcInteger","CalcFloat","SumInteger","SumFloat"].indexOf(e)>-1}function W(e){return["Date","CalcDate","SumDate"].indexOf(e)>-1}function U(e,t,a,i){let r=e=>!1;return("Numerical"===t&&"DateTime"===a||"DateTime"===t&&"Numerical"===a)&&(r=t=>null!==t[e]()&&void 0!==t[e]()&&""!==t[e]()),"Auto"!==t&&"Qualitative"!==t||("Numerical"===a?r=t=>{const a=parseInt(t[e]());return isNaN(a)||"number"==typeof a&&JSON.stringify(a)!==t[e]().toString()}:"DateTime"===a&&(r=t=>{let a=(0,B.parseDate)(t[e](),!1,"MM/dd/yyyy");return a||(a=F(t[e]())),!a})),i.filter(r)[0]||null}const G=DevExpress.Analytics.Widgets.Internal;class j extends G.ReorderTreeListDragDropHelper{getSiblings(){return this._draggableModel.parent}stop(){super.stop(),this.canDrop()&&this.reorderSiblings()}}class q extends B.ObjectStructureTreeListController{constructor(e,t,a,i,r,o){super(e,t),this.surface=i,this.undoEngine=r,this.dragHelperContent=o;const s=this.itemsFilter;this.itemsFilter=(e,t)=>"Chart.seriesTemplate.label"!==t&&s(e,t),this.hasItems=e=>!!t&&-1!==t.indexOf(e.specifics),this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0,a&&a(e)},this.showIconsForChildItems=(e=null)=>null===e||e.level<1,this.dragDropHandler=new J(this.selectedItem,i,r,o)}}class J extends B.DragDropHandler{constructor(e,t,a,i){super(e,t,a,null,i),this.undoEngine=a,this.cursor="arrow",this.alwaysAlt=!0,this.containment=".dx-chart-left-panel",this.parent=()=>k.fn.constructor(".dxcd-designer"),this.cursorAt={top:0,left:0},this.dragDropHelper=new j(i),this.helper=this.dragDropHelper.helper}dispose(){super.dispose(),this.dragDropHelper.dispose()}startDrag(e){this.dragDropHelper.start(e),super.startDrag(e)}drag(e,t){if(this.dragDropHelper){const t=this.getTarget(e);t&&(this.dragDropHelper.drag(A.dataFor(t),t),this.dragDropHelper.addDroppableClass())}}doStopDrag(e,t,a){this.dragDropHelper.stop()}}const K=DevExpress.Analytics.Widgets,Q=DevExpress.Analytics.Elements;class Y extends Q.SerializableModel{constructor(e,t,a){super(e,t,a)}getExpressionProperties(){return["MinValue","MaxValue"]}}const Z=new K.EditorTemplates,ee={propertyName:"dataSource",displayName:"Data Source",modelName:"@DataSource",link:!0,editor:Z.getEditor("chartDataSource"),localizationId:"DevExpress.XtraReports.UI.XRSparkline.DataSource"};function te(e,t){return()=>{e.parent=t,e.innerActions=[{text:(0,L.getLocalization)("Remove","ReportStringId.UD_Capt_SpacingRemove"),imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",disabled:A.observable(!1),visible:!0,clickAction:()=>{t.remove(e)}}]}}class ae extends Q.SerializableModel{constructor(e,t,a,i){super(e,a,i),te(this,t)()}static toJson(e,t,a){return t.serialize(e,null,a)}}class ie extends Q.SerializableModel{constructor(e,t,a){super(e,t,a)}getExpressionProperties(){return["Text"]}}class re extends ae{getChildComponents(){return[{component:this.title,path:"Title"}]}}const oe=[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"StringId.DefaultBooleanDefault"}],se=[{value:"Qualitative",displayValue:"Qualitative",localizationId:"DevExpress.XtraCharts.ScaleType.Qualitative"},{value:"Numerical",displayValue:"Numerical",localizationId:"DevExpress.XtraCharts.ScaleType.Numerical"},{value:"DateTime",displayValue:"DateTime",localizationId:"DevExpress.XtraCharts.ScaleType.DateTime"},{value:"Auto",displayValue:"Auto",localizationId:"DevExpress.XtraCharts.ScaleType.Auto"}],ne=[{value:"Near",displayValue:"Near",localizationId:"ChartStringId.WizStringAlignmentNear"},{value:"Center",displayValue:"Center",localizationId:"ChartStringId.WizStringAlignmentCenter"},{value:"Far",displayValue:"Far",localizationId:"ChartStringId.WizStringAlignmentFar"}],le={propertyName:"angle",modelName:"@Angle",defaultVal:0,from:L.floatFromModel,displayName:"Angle",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraReports.UI.XRLabel.Angle"},de={propertyName:"borderColor",modelName:"@BorderColor",from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Border Color",editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraReports.UI.XRControl.BorderColor"},ce={propertyName:"backColor",modelName:"@BackColor",from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Background Color",editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraReports.UI.XRControl.BackColor"},pe={propertyName:"dataMember",modelName:"@DataMember"},ue={propertyName:"text",modelName:"@Text",defaultVal:"",displayName:"Text",editor:K.editorTemplates.getEditor("text"),localizable:!0,localizationId:"ASPxReportsStringId.ExportName_txt"},me={propertyName:"visible",modelName:"@Visible",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Visible",localizationId:"DevExpress.XtraReports.UI.XRControl.Visible"},he={propertyName:"name",modelName:"@Name",displayName:"Name",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraReports.UI.XRControl.Name"},ge={propertyName:"tag",modelName:"@Tag",displayName:"Tag",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraReports.UI.XRControl.Tag"},xe={propertyName:"legendText",modelName:"@LegendText",displayName:"Legend Text",localizable:!0,editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraCharts.Strip.LegendText"},ve={propertyName:"showInLegend",modelName:"@ShowInLegend",displayName:"Show In Legend",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.Indicator.ShowInLegend"},fe={propertyName:"thickness",modelName:"@Thickness",displayName:"Thickness",defaultVal:1,editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.TickmarksBase.Thickness"},be={propertyName:"visibility",modelName:"@Visibility",displayName:"Visibility",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.BorderBase.Visibility"},ye={propertyName:"color",modelName:"@Color",displayName:"Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraCharts.SeriesViewBase.Color"},Se={propertyName:"titleAlignment",modelName:"@Alignment",displayName:"Alignment",defaultVal:"Center",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ne,localizationId:"DevExpress.XtraReports.UI.XRBarCode.Alignment"},Ce={propertyName:"textPattern",modelName:"@TextPattern",displayName:"Text Pattern",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraCharts.TotalLabel.TextPattern"},De={propertyName:"textAlignment",modelName:"@TextAlignment",displayName:"Text Alignment",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ne,localizationId:"DevExpress.XtraReports.UI.XRControl.TextAlignment"},_e={propertyName:"maxLineCount",modelName:"@MaxLineCount",displayName:"Max Line Count",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.SeriesLabelBase.MaxLineCount"},Ie={propertyName:"maxWidth",modelName:"@MaxWidth",displayName:"Max Width",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsSelection.MaxWidth"},Pe={propertyName:"textColor",modelName:"@TextColor",displayName:"Text Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraCharts.TotalLabel.TextColor"},Te={propertyName:"antialiasing",modelName:"@Antialiasing",displayName:"Antialiasing",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.SwiftPlotSeriesView.Antialiasing"},ze={propertyName:"font",modelName:"@Font",displayName:"Font",defaultVal:"Tahoma, 8pt",editor:K.editorTemplates.getEditor("font"),localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font"},Ne=[ue,Se,Pe],Ee={propertyName:"title",modelName:"Title",displayName:"Title",defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Title",type:ie},we={propertyName:"enableAxisXZooming",modelName:"@EnableAxisXZooming",displayName:"Enable Axis X Zooming"},Re={propertyName:"enableAxisXScrolling",modelName:"@EnableAxisXScrolling",displayName:"Enable Axis X Scrolling"},Be={propertyName:"enableAxisYZooming",modelName:"@EnableAxisYZooming",displayName:"Enable Axis Y Zooming"},Ve={propertyName:"enableAxisYScrolling",modelName:"@EnableAxisYScrolling",displayName:"Enable Axis Y Scrolling"},Me={propertyName:"rotated",modelName:"@Rotated",displayName:"Rotated",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.XYDiagram.Rotated"},ke={propertyName:"typeNameSerializable",modelName:"@TypeNameSerializable"},Ae={propertyName:"left",modelName:"@Left",displayName:"Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",editor:K.editorTemplates.getEditor("numeric")},Le={propertyName:"right",modelName:"@Top",displayName:"Top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",editor:K.editorTemplates.getEditor("numeric")},$e={propertyName:"top",modelName:"@Right",displayName:"Right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",editor:K.editorTemplates.getEditor("numeric")},Fe={propertyName:"bottom",modelName:"@Bottom",displayName:"Bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",editor:K.editorTemplates.getEditor("numeric")},Oe={propertyName:"chartMargins",modelName:"Margins",displayName:"Margins",info:[Ae,Le,$e,Fe],editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XtraReport.Margins"},Xe={propertyName:"font18",modelName:"@Font",displayName:"Font",defaultVal:"Tahoma, 18pt",editor:K.editorTemplates.getEditor("font"),localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font"},He={propertyName:"font12",modelName:"@Font",displayName:"Font",defaultVal:"Tahoma, 12pt",editor:K.editorTemplates.getEditor("font"),localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font"},We={propertyName:"font8",modelName:"@Font",displayName:"Font",defaultVal:"Tahoma, 8pt",editor:K.editorTemplates.getEditor("font"),localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font"},Ue=[Te,He,be].concat(Ne),Ge=(0,B.extend)(!0,{},Ee,{info:Ue}),je=[Re,Ve,Be,we,ce,de,Ge],qe={propertyName:"defaultPane",modelName:"DefaultPane",displayName:"Default Pane",localizationId:"ChartStringId.DefaultPaneName",info:je,defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor")},Je=[he].concat(je),Ke={propertyName:"_filterString",modelName:"@FilterString"},Qe={propertyName:"filterString",displayName:"Filter String",localizationId:"DevExpress.XtraReports.UI.XtraReportBase.FilterString",defaultVal:"",editor:K.editorTemplates.getEditor("filterEditor")},Ye={propertyName:"minValue",modelName:"@MinValueSerializable",displayName:"Min Value",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.AxisRange.MinValue"},Ze={propertyName:"maxValue",modelName:"@MaxValueSerializable",displayName:"Max Value",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.Range.MaxValue"},et=[{propertyName:"auto",modelName:"@Auto",displayName:"Auto",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraReports.UI.DocumentExportMode.Auto"},{propertyName:"autoSideMargins",modelName:"@AutoSideMargins",displayName:"Auto Side Margins",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.Range.AutoSideMargins"},Ye,Ze,{propertyName:"sideMarginsValue",modelName:"@SideMarginsValue",displayName:"Side Margins Value",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.Range.SideMarginsValue"}],tt={propertyName:"visualRange",modelName:"VisualRange",displayName:"Visual Range",info:et,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.AxisBase.VisualRange"},at={propertyName:"alwaysShowZeroLevel",modelName:"@AlwaysShowZeroLevel",displayName:"Always Show Zero Level",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool,localizationId:"DevExpress.XtraCharts.WholeRange.AlwaysShowZeroLevel"},it=et.concat(at),rt={propertyName:"wholeRange",modelName:"WholeRange",displayName:"Whole Range",type:Y,info:it,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.AxisBase.WholeRange"},ot={propertyName:"radarWholeRange",modelName:"WholeRange",displayName:"Whole Range",info:et,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.AxisBase.WholeRange"},st={propertyName:"dashStyle",modelName:"@DashStyle",displayName:"Dash Style",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Dash",displayValue:"Dash",localizationId:"DevExpress.XtraCharts.DashStyle.Dash"},{value:"Dot",displayValue:"Dot",localizationId:"DevExpress.XtraCharts.DashStyle.Dot"},{value:"DashDot",displayValue:"DashDot"},{value:"DashDotDot",displayValue:"DashDotDot"}],localizationId:"DevExpress.XtraCharts.LineStyle.DashStyle"},nt=[fe,st],lt={propertyName:"lineStyle",modelName:"LineStyle",displayName:"Line Style",info:nt,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRShape.LineStyle"},dt={propertyName:"minorLineStyle",modelName:"MinorLineStyle",displayName:"Minor Line Style",info:nt,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.GridLines.MinorLineStyle"},ct={propertyName:"scaleName",modelName:"@ScaleMode",displayName:"Scale Mode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Automatic",displayValue:"Automatic",localizationId:"DevExpress.XtraCharts.ScaleMode.Automatic"},{value:"Manual",displayValue:"Manual",localizationId:"DevExpress.XtraCharts.ChartRangeControlClientSnapMode.Manual"},{value:"Continuous",displayValue:"Continuous",localizationId:"DevExpress.XtraCharts.ScaleMode.Continuous"}],localizationId:"DevExpress.XtraCharts.ScaleOptionsBase.ScaleMode"},pt={propertyName:"aggregateFunction",modelName:"@AggregateFunction",displayName:"Aggregate Function",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Average",displayValue:"Average",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average"},{value:"Sum",displayValue:"Sum",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum"},{value:"Minimum",displayValue:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},{value:"Maximum",displayValue:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum"},{value:"Count",displayValue:"Count",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},{value:"Financial",displayValue:"Financial",localizationId:"DevExpress.XtraCharts.SeriesAggregateFunction.Financial"}],localizationId:"DevExpress.XtraCharts.XYDiagram3DSeriesViewBase.AggregateFunction"},ut={propertyName:"gridSpacing",modelName:"@GridSpacing",displayName:"Grid Spacing",localizationId:"DevExpress.XtraCharts.ScaleGridOptionsBase.GridSpacing",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},mt={propertyName:"autoGrid",modelName:"@AutoGrid",displayName:"Auto Grid",localizationId:"DevExpress.XtraCharts.ScaleGridOptionsBase.AutoGrid",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool},ht={propertyName:"gridOffset",modelName:"@GridOffset",displayName:"Grid Offset",localizationId:"DevExpress.XtraCharts.ScaleGridOptionsBase.GridOffset",editor:K.editorTemplates.getEditor("numeric")},gt=[mt,pt,ht,ut,ct],xt={propertyName:"measureUnit",modelName:"@MeasureUnit",displayName:"Measure Unit",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Ones",displayValue:"Ones",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Ones"},{value:"Tens",displayValue:"Tens",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Tens"},{value:"Hundreds",displayValue:"Hundreds",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Hundreds"},{value:"Thousands",displayValue:"Thousands",localizationId:"DevExpress.XtraCharts.NumericGridAlignment.Thousands"},{value:"Millions",displayValue:"Millions",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Millions"},{value:"Billions",displayValue:"Billions",localizationId:"DevExpress.XtraCharts.NumericGridAlignment.Billions"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraReports.UI.SortingSummaryFunction.Custom"}],localizationId:"DevExpress.XtraCharts.DateTimeScaleOptions.MeasureUnit"},vt={propertyName:"gridAlignment",modelName:"@GridAlignment",displayName:"Grid Alignment",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Ones",displayValue:"Ones",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Ones"},{value:"Tens",displayValue:"Tens",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Tens"},{value:"Hundreds",displayValue:"Hundreds",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Hundreds"},{value:"Thousands",displayValue:"Thousands",localizationId:"DevExpress.XtraCharts.NumericGridAlignment.Thousands"},{value:"Millions",displayValue:"Millions",localizationId:"DevExpress.XtraCharts.NumericMeasureUnit.Millions"},{value:"Billions",displayValue:"Billions",localizationId:"DevExpress.XtraCharts.NumericGridAlignment.Billions"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraReports.UI.SortingSummaryFunction.Custom"}],localizationId:"DevExpress.XtraCharts.ChartRangeControlClientDateTimeGridOptions.GridAlignment"},ft={propertyName:"numericScaleOptions",modelName:"NumericScaleOptions",displayName:"Numeric Scale Options",info:[xt,vt,{propertyName:"customGridAlignment",modelName:"@CustomGridAlignment",defaultVal:null,displayName:"Custom Grid Alignment",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.NumericScaleOptions.CustomGridAlignment"},{propertyName:"customMeasureUnit",modelName:"@CustomMeasureUnit",defaultVal:null,displayName:"Custom Measure Unit",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.NumericScaleOptions.CustomMeasureUnit"}].concat(gt),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.NumericScaleOptions"},bt=[mt,vt,ht,ut],yt={propertyName:"radarAxisYNumericScaleOptions",modelName:"NumericScaleOptions",displayName:"Numeric Scale Options",info:bt,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.NumericScaleOptions"},St={propertyName:"radarAxisXNumericScaleOptions",modelName:"NumericScaleOptions",displayName:"Numeric Scale Options",info:bt.concat(ct),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.NumericScaleOptions"},Ct={propertyName:"measureUnit",modelName:"@MeasureUnit",displayName:"Measure Unit",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Millisecond",displayValue:"Millisecond",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Millisecond"},{value:"Second ",displayValue:"Second",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Second"},{value:"Minute",displayValue:"Minute",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Minute"},{value:"Hour",displayValue:"Hour",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Hour"},{value:"Day",displayValue:"Day",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateDay"},{value:"Week",displayValue:"Week",localizationId:"DevExpress.XtraCharts.DateTimeGridAlignment.Week"},{value:"Month",displayValue:"Month",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateMonth"},{value:"Quarter",displayValue:"Quarter",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateQuarter"},{value:"Year",displayValue:"Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateYear"}],localizationId:"DevExpress.XtraCharts.DateTimeScaleOptions.MeasureUnit"},Dt={propertyName:"dateTimeScaleOptions",modelName:"DateTimeScaleOptions",displayName:"Date-Time Scale Options",info:[{propertyName:"gridAlignment",modelName:"@GridAlignment",displayName:"Grid Alignment",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Millisecond",displayValue:"Millisecond",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Millisecond"},{value:"Second ",displayValue:"Second",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Second"},{value:"Minute",displayValue:"Minute",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Minute"},{value:"Hour",displayValue:"Hour",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Hour"},{value:"Day",displayValue:"Day",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateDay"},{value:"Week",displayValue:"Week",localizationId:"DevExpress.XtraCharts.DateTimeGridAlignment.Week"},{value:"Month",displayValue:"Month",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateMonth"},{value:"Quarter",displayValue:"Quarter",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateQuarter"},{value:"Year",displayValue:"Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateYear"}],localizationId:"DevExpress.XtraCharts.ChartRangeControlClientDateTimeGridOptions.GridAlignment"},Ct,{propertyName:"workdaysOnly",modelName:"@WorkdaysOnly",displayName:"Workdays Only",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1,from:L.parseBool,localizationId:"DevExpress.XtraCharts.DateTimeScaleOptions.WorkdaysOnly"}].concat(gt),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.DateTimeScaleOptions"},_t=[mt,ht,ut],It={propertyName:"qualitativeScaleOptions",modelName:"QualitativeScaleOptions",displayName:"Qualitative Scale Options",localizationId:"DevExpress.XtraCharts.AxisX3D.QualitativeScaleOptions",info:_t,editor:K.editorTemplates.getEditor("objecteditor")},Pt={propertyName:"visibleInPanesSerializable",modelName:"@VisibleInPanesSerializable",displayName:"Visible In Panes Serializable",editor:K.editorTemplates.getEditor("text")},Tt={propertyName:"minorVisible",modelName:"@MinorVisible",displayName:"Minor Visible",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.TickmarksBase.MinorVisible"},zt={propertyName:"minorColor",modelName:"@MinorColor",displayName:"Minor Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraCharts.GridLines.MinorColor"},Nt=[me,Tt,ye,zt,lt,dt],Et={propertyName:"gridLinesAxisX",modelName:"GridLines",displayName:"Grid Lines",info:Nt,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.AxisBase.GridLines"},wt={propertyName:"gridLinesAxisY",modelName:"GridLines",displayName:"Grid Lines",info:Nt,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.AxisBase.GridLines"},Rt={propertyName:"straggered",modelName:"@Staggered",displayName:"Staggered",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1,from:L.parseBool,localizationId:"DevExpress.XtraCharts.AxisLabel.Staggered"},Bt=[{propertyName:"allowStagger",modelName:"@AllowStagger",displayName:"Allow Stagger",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool,localizationId:"DevExpress.XtraCharts.AxisLabelResolveOverlappingOptions.AllowStagger"},{propertyName:"allowRotate",modelName:"@AllowRotate",displayName:"Allow Rotate",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool,localizationId:"DevExpress.XtraCharts.AxisLabelResolveOverlappingOptions.AllowRotate"},{propertyName:"allowHide",modelName:"@AllowHide",displayName:"Allow Hide",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool,localizationId:"DevExpress.XtraCharts.AxisLabelResolveOverlappingOptions.AllowHide"},{propertyName:"minIndent",modelName:"@MinIndent",displayName:"Min Indent",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.AxisLabelResolveOverlappingOptions.MinIndent"}],Vt={propertyName:"resolveOverlappingOptions",modelName:"ResolveOverlappingOptions",displayName:"Resolve Overlapping Options",editor:K.editorTemplates.getEditor("objecteditor"),info:Bt,localizationId:"DevExpress.XtraCharts.AxisLabel.ResolveOverlappingOptions"},Mt=[{propertyName:"enableAntialiasing",modelName:"@EnableAntialiasing",displayName:"Enable Antialiasing",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.TitleBase.EnableAntialiasing"},ze,_e,Ie,Vt,De,Pe,Ce],kt=[le,Rt,be].concat(Mt),At={propertyName:"axisLabel",modelName:"Label",displayName:"Label",editor:K.editorTemplates.getEditor("objecteditor"),info:kt,localizationId:"DevExpress.XtraReports.UI.XRLabel"},Lt={propertyName:"minorCount",modelName:"@MinorCount",displayName:"Minor Count",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.AxisBase.MinorCount"},$t={propertyName:"interlaced",modelName:"@Interlaced",displayName:"Interlaced",from:L.parseBool,defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),localizationId:"DevExpress.XtraCharts.AxisBase.Interlaced"},Ft={propertyName:"interlacedColor",modelName:"@InterlacedColor",displayName:"Interlaced Color",editor:K.editorTemplates.getEditor("customColorEditor"),from:L.colorFromString,toJsonObject:L.colorToString,localizationId:"DevExpress.XtraCharts.AxisBase.InterlacedColor"},Ot=[tt,rt,ft,Dt,Lt,Ft],Xt={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Gradient",displayValue:"Gradient",localizationId:"DevExpress.XtraCharts.FillMode3D.Gradient"},{value:"Hatch",displayValue:"Hatch",localizationId:"DevExpress.XtraCharts.FillMode.Hatch"}],localizationId:"DevExpress.XtraCharts.FillStyle3D.FillMode"},Ht={propertyName:"InterlacedFillStyle",modelName:"InterlacedFillStyle",displayName:"Interlaced Fill Style",info:[].concat([Xt]),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.RadarAxis.InterlacedFillStyle"},Wt={propertyName:"crossAxis",modelName:"@CrossAxis",displayName:"Cross Axis",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1,from:L.parseBool,localizationId:"DevExpress.XtraCharts.TickmarksBase.CrossAxis"},Ut={propertyName:"minorThickness",modelName:"@MinorThickness",displayName:"Minor Thickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,localizationId:"DevExpress.XtraCharts.TickmarksBase.MinorThickness"},Gt={propertyName:"minorLength",modelName:"@MinorLength",displayName:"Minor Length",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,localizationId:"DevExpress.XtraCharts.TickmarksBase.MinorLength"},jt={propertyName:"length",modelName:"@Length",displayName:"Length",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5,localizationId:"DevExpress.XtraCharts.TickmarksBase.Length"},qt={propertyName:"minorVisible",modelName:"@MinorVisible",displayName:"Minor Visible",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.TickmarksBase.MinorVisible"},Jt=[].concat([me,qt,Wt,fe,Ut,jt,Gt]),Kt={propertyName:"tickmarks",modelName:"Tickmarks",displayName:"Tickmarks",editor:K.editorTemplates.getEditor("objecteditor"),info:Jt,localizationId:"DevExpress.XtraCharts.RadarAxisY.Tickmarks"},Qt={propertyName:"axisAlignment",modelName:"@Alignment",displayName:"Alignment",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Near",displayValue:"Near",localizationId:"DevExpress.XtraCharts.ConstantLineTitleAlignment.Near"},{value:"Zero",displayValue:"Zero",localizationId:"DevExpress.XtraCharts.AxisAlignment.Zero"},{value:"Far",displayValue:"Far",localizationId:"DevExpress.XtraCharts.ConstantLineTitleAlignment.Far"}],localizationId:"DevExpress.XtraReports.UI.XRBarCode.Alignment"},Yt={propertyName:"pattern",modelName:"@Pattern",displayName:"Pattern",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraCharts.CrosshairAxisLabelOptions.Pattern"},Zt=[be,Yt,ce,Pe,ze],ea={propertyName:"crosshairAxisLabelOptions",modelName:"CrosshairAxisLabelOptions",displayName:"Crosshair Axis Label Options",editor:K.editorTemplates.getEditor("objecteditor"),info:Zt,localizationId:"DevExpress.XtraCharts.Axis2D.CrosshairAxisLabelOptions"},ta={propertyName:"axisTitleVisibility",modelName:"@Visibility",displayName:"Visibility",defaultVal:"False",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.BorderBase.Visibility"},aa=[Te,ta,He].concat(Ne),ia=(0,B.extend)(!0,{},Ee,{propertyName:"axisTitle",info:aa}),ra={propertyName:"crosshairLabelVisibility",modelName:"@CrosshairLabelVisibility",displayName:"Crosshair Label Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.SeriesBase.CrosshairLabelVisibility"},oa=[$t,Ht,Kt,ia,be,Qt,At,fe,ye,ra,Pt,ea].concat(Ot),sa={propertyName:"axisY3DInterlaced",modelName:"@Interlaced",displayName:"Interlaced",from:L.parseBool,defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),localizationId:"DevExpress.XtraCharts.AxisBase.Interlaced"},na=(K.editorTemplates.getEditor("combobox"),[{propertyName:"interlacedFillStyle",modelName:"InterlacedFillStyle",displayName:"Interlaced Fill Style",info:[].concat([Xt]),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.RadarAxis.InterlacedFillStyle"},{propertyName:"axisLabel3D",modelName:"Label",displayName:"Label",info:[{propertyName:"axisLabel3DPosition",modelName:"@AxisLabel3DPosition",displayName:"Axis Label 3D Position",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Bottom"},{value:"Left",displayValue:"Left",localizationId:"DevExpress.XtraReports.UI.XRControl.Left"},{value:"Right",displayValue:"Right",localizationId:"DevExpress.XtraCharts.RectangleIndents.Right"},{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Top"},{value:"Auto",displayValue:"Auto",localizationId:"DevExpress.XtraReports.UI.DocumentExportMode.Auto"}]}].concat(kt),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRLabel"}].concat(Ot)),la={propertyName:"sizeInPixels",modelName:"@SizeInPixels",displayName:"Size In Pixels",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.XYDiagramPaneBase.SizeInPixels"},da={propertyName:"style",modelName:"@Style",displayName:"Style",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Straight",displayValue:"Straight",localizationId:"DevExpress.XtraCharts.ScaleBreakStyle.Straight"},{value:"Ragged",displayValue:"Ragged",localizationId:"DevExpress.XtraCharts.ScaleBreakStyle.Ragged"},{value:"Waved",displayValue:"Waved",localizationId:"DevExpress.XtraCharts.ScaleBreakStyle.Waved"}],localizationId:"DevExpress.XtraReports.UI.ConditionFormatting.Style"},ca={propertyName:"scaleBreakOptions",modelName:"ScaleBreakOptions",displayName:"Scale Break Options",info:[la,ye,da],editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.Axis.ScaleBreakOptions"},pa=[{propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraReports.UI.EditOptions.Enabled"},{propertyName:"maxCount",modelName:"@MaxCount",displayName:"Max Count",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.AutoScaleBreaks.MaxCount"}],ua={propertyName:"edge1",modelName:"@Edge1Serializable",displayName:"Edge1",localizationId:"DevExpress.XtraCharts.ScaleBreak.Edge1",editor:K.editorTemplates.getEditor("numeric")},ma={propertyName:"edge2",modelName:"@Edge2Serializable",displayName:"Edge2",localizationId:"DevExpress.XtraCharts.ScaleBreak.Edge2",editor:K.editorTemplates.getEditor("numeric")},ha={propertyName:"scaleBreaks",modelName:"ScaleBreaks",displayName:"Scale Breaks",localizationId:"DevExpress.XtraCharts.Axis.ScaleBreaks",array:!0,editor:Z.getEditor("collection")},ga=[ua,ma,me,he,ge],xa={propertyName:"autoScaleBreaks",modelName:"AutoScaleBreaks",displayName:"Auto Scale Breaks",editor:K.editorTemplates.getEditor("objecteditor"),info:pa,localizationId:"DevExpress.XtraCharts.Axis.AutoScaleBreaks"},va={propertyName:"axisReverse",modelName:"@Reverse",displayName:"Reverse",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.Axis.Reverse"},fa={propertyName:"_axisValue",modelName:"@AxisValueSerializable"},ba={propertyName:"axisValue",displayName:"Axis Value",localizationId:"DevExpress.XtraCharts.AxisCoordinate.AxisValue",editor:K.editorTemplates.getEditor("text")},ya={propertyName:"showBehind",modelName:"@ShowBehind",from:L.parseBool,displayName:"Show Behind",localizationId:"DevExpress.XtraCharts.ConstantLine.ShowBehind",editor:K.editorTemplates.getEditor("bool")},Sa={propertyName:"legendName",modelName:"@LegendName",displayName:"Legend",localizationId:"DevExpress.XtraCharts.ConstantLine.Legend",defaultVal:(0,L.getLocalization)("Default Legend","ChartStringId.DefaultLegend"),editor:Z.getEditor("legends")},Ca={propertyName:"showAxisLabel",modelName:"@ShowAxisLabel",displayName:"Show Axis Label",localizationId:"DevExpress.XtraCharts.Strip.ShowAxisLabel",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Da={propertyName:"axisLabelText",modelName:"@AxisLabelText",displayName:"Axis Label Text",localizationId:"DevExpress.XtraCharts.Strip.AxisLabelText",localizable:!0,editor:K.editorTemplates.getEditor("text")},_a={propertyName:"strips",modelName:"Strips",displayName:"Strips",localizationId:"DevExpress.XtraCharts.Axis2D.Strips",array:!0,editor:Z.getEditor("collection")},Ia=[Te,be,We,ge].concat(Ne),Pa=(0,B.extend)(!0,{},Ee,{info:Ia}),Ta=[fa,ba,he,me,ye,ve,Sa,xe,ya,ge,Pa],za={propertyName:"constantLines",modelName:"ConstantLines",displayName:"Constant Lines",localizationId:"DevExpress.XtraCharts.Axis2D.ConstantLines",array:!0,editor:Z.getEditor("collection")},Na=[va,ca,xa].concat(oa),Ea=[za,ha,_a].concat(Na),wa=[he,{propertyName:"axisID",modelName:"@AxisID"}].concat(Ea),Ra={propertyName:"topLevel",modelName:"@TopLevel",displayName:"Top Level",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.RadarAxisY.TopLevel"},Ba={propertyName:"textDirection",modelName:"TextDirection",displayName:"Text Direction",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"LeftToRight",displayValue:"LeftToRight",localizationId:"ChartStringId.WizGradientLeftToRight"},{value:"TopToBottom",displayValue:"TopToBottom",localizationId:"ChartStringId.WizSeriesLabelTextOrientationTopToBottom"},{value:"BottomToTop",displayValue:"BottomToTop",localizationId:"ChartStringId.WizSeriesLabelTextOrientationBottomToTop"},{value:"Radial",displayValue:"Radial",localizationId:"DevExpress.XtraCharts.PieSeriesLabelPosition.Radial"},{value:"Tangent",displayValue:"Tangent",localizationId:"DevExpress.XtraCharts.PieSeriesLabelPosition.Tangent"}],localizationId:"DevExpress.XtraCharts.RadarAxisXLabel.TextDirection"},Va={propertyName:"radarAxisXLabel",modelName:"Label",displayName:"Label",info:Mt.concat(Ba),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRLabel"},Ma={propertyName:"radarAxisYLabel",modelName:"Label",displayName:"Label",info:Mt.concat([le,me]),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRLabel"},ka=[$t,Ft,Ht,tt,Lt],Aa=[St,ot,Et,Va,It].concat(ka),La=[ye,fe,me,yt,Ra,rt,wt,Ma,Kt].concat(ka),$a={propertyName:"axisX",modelName:"AxisX",displayName:"Axis X",info:Aa,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.GanttAxisX"},Fa={propertyName:"axisY",modelName:"AxisY",displayName:"Axis Y",info:La,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.SeparatePaneIndicator.AxisY"},Oa={propertyName:"axisX",modelName:"AxisX",displayName:"Axis X",info:[Et,$t,It].concat(na),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.GanttAxisX"},Xa={propertyName:"axisY",modelName:"AxisY",displayName:"Axis Y",info:[wt,sa].concat(na),editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.SeparatePaneIndicator.AxisY"};function Ha(e){return e.toLowerCase().split("seriesview")[0]}function Wa(e,t,a){const i=A.observableArray();return i((0,L.deserializeArray)(e||{},(e=>t(e,i)))()),i().innerActions=[{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-add",imageTemplateName:"dxrd-svg-operations-add",disabled:A.observable(!1),visible:!0,clickAction:()=>{i.push(t({"@Name":(0,B.getUniqueName)(i().map((e=>e.name&&e.name())),a)},i))}}],i}class Ua extends re{constructor(e,t,a){super(e,t,a,Ta),this.axisValue=this._axisValue}static from(e,t){return new Ua(e||{},null,t)}getExpressionProperties(){return["LegendText","AxisValue"]}}Ua.prefix="Constant Line ";class Ga extends ae{constructor(e,t,a){super(e,t,a,ga)}static from(e,t){return new Ga(e||{},null,t)}}Ga.prefix="Scale Break ";const ja={propertyName:"typeName",modelName:"@TypeNameSerializable",from:e=>e},qa=["SideBySideBarSeriesView","StackedBarSeriesView","FullStackedBarSeriesView","SideBySideStackedBarSeriesView","SideBySideFullStackedBarSeriesView","OverlappedRangeBarSeriesView","SideBySideRangeBarSeriesView","OverlappedGanttSeriesView","SideBySideGanttSeriesView"],Ja=["SideBySideBar3DSeriesView","StackedBar3DSeriesView","FullStackedBar3DSeriesView","SideBySideStackedBar3DSeriesView","SideBySideFullStackedBar3DSeriesView","ManhattanBarSeriesView"],Ka={propertyName:"barWidth",modelName:"@BarWidth",displayName:"Bar Width",defaultVal:.6,editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.BarSeriesView.BarWidth"},Qa={propertyName:"colorEach",modelName:"@ColorEach",displayName:"Color Each",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.SeriesView3DColorEachSupportBase.ColorEach"},Ya=[ye,fe,be],Za={propertyName:"border",modelName:"Border",displayName:"Border",info:Ya,defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.TotalLabel.Border"},ei={propertyName:"color2",modelName:"@Color2",displayName:"Color2",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraCharts.PaletteEntry.Color2"},ti={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",defaultVal:"Empty",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Gradient",displayValue:"Gradient",localizationId:"DevExpress.XtraCharts.FillMode3D.Gradient"},{value:"Hatch",displayValue:"Hatch",localizationId:"DevExpress.XtraCharts.FillMode.Hatch"}],localizationId:"DevExpress.XtraCharts.FillStyle3D.FillMode"},ai=[{propertyName:"gradientMode",modelName:"@GradientMode",displayName:"Gradient Mode",defaultVal:"TopToBottom",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"TopToBottom",displayValue:"Top To Bottom",localizationId:"DevExpress.XtraCharts.TextOrientation.TopToBottom"},{value:"BottomToTop",displayValue:"Bottom To Top",localizationId:"DevExpress.XtraCharts.TextOrientation.BottomToTop"},{value:"LeftToRight",displayValue:"Left To Right"},{value:"RightToLeft",displayValue:"Right To Left"},{value:"TopLeftToBottomRight",displayValue:"Top Left To Bottom Right"},{value:"BottomRightToTopLeft",displayValue:"Bottom Right To Top Left"},{value:"TopRightToBottomLeft",displayValue:"Top Right To Bottom Left"},{value:"BottomLeftToTopRight",displayValue:"Bottom Left To Top Right"},{value:"FromCenterHorizontal",displayValue:"From Center Horizontal",localizationId:"DevExpress.XtraCharts.RectangleGradientMode.FromCenterHorizontal"},{value:"ToCenterHorizontal",displayValue:"To Center Horizontal",localizationId:"DevExpress.XtraCharts.RectangleGradientMode.ToCenterHorizontal"},{value:"FromCenterVertical",displayValue:"From Center Vertical",localizationId:"DevExpress.XtraCharts.RectangleGradientMode.FromCenterVertical"},{value:"ToCenterVertical",displayValue:"To Center Vertical",localizationId:"DevExpress.XtraCharts.RectangleGradientMode.ToCenterVertical"}],localizationId:"DevExpress.XtraCharts.PolygonGradientFillOptions.GradientMode"},ei,ge,{propertyName:"typeNameSerializable",modelName:"@TypeNameSerializable"}],ii=[{propertyName:"hatchStyle",modelName:"@HatchStyle",displayName:"Hatch Style",defaultVal:"BackwardDiagonal",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Horizontal",displayValue:"Horizontal",localizationId:"DevExpress.XtraCharts.TextOrientation.Horizontal"},{value:"Vertical",displayValue:"Vertical",localizationId:"DevExpress.XtraCharts.LayoutDirection.Vertical"},{value:"ForwardDiagonal",displayValue:"ForwardDiagonal",localizationId:"ChartStringId.WizHatchForwardDiagonal"},{value:"BackwardDiagonal",displayValue:"BackwardDiagonal",localizationId:"ChartStringId.WizHatchBackwardDiagonal"},{value:"LargeGrid",displayValue:"LargeGrid",localizationId:"ChartStringId.WizHatchLargeGrid"},{value:"DiagonalCross",displayValue:"DiagonalCross",localizationId:"ChartStringId.WizHatchDiagonalCross"},{value:"Percent05",displayValue:"Percent05",localizationId:"ChartStringId.WizHatchPercent05"},{value:"Percent10",displayValue:"Percent10",localizationId:"ChartStringId.WizHatchPercent10"},{value:"Percent20",displayValue:"Percent20",localizationId:"ChartStringId.WizHatchPercent20"},{value:"Percent25",displayValue:"Percent25",localizationId:"ChartStringId.WizHatchPercent25"},{value:"Percent30",displayValue:"Percent30",localizationId:"ChartStringId.WizHatchPercent30"},{value:"Percent40",displayValue:"Percent40",localizationId:"ChartStringId.WizHatchPercent40"},{value:"Percent50",displayValue:"Percent50",localizationId:"ChartStringId.WizHatchPercent50"},{value:"Percent60",displayValue:"Percent60",localizationId:"ChartStringId.WizHatchPercent60"},{value:"Percent70",displayValue:"Percent70",localizationId:"ChartStringId.WizHatchPercent70"},{value:"Percent75",displayValue:"Percent75",localizationId:"ChartStringId.WizHatchPercent75"},{value:"Percent80",displayValue:"Percent80",localizationId:"ChartStringId.WizHatchPercent80"},{value:"Percent90",displayValue:"Percent90",localizationId:"ChartStringId.WizHatchPercent90"},{value:"LightDownwardDiagonal",displayValue:"LightDownwardDiagonal",localizationId:"ChartStringId.WizHatchLightDownwardDiagonal"},{value:"LightUpwardDiagonal",displayValue:"LightUpwardDiagonal",localizationId:"ChartStringId.WizHatchLightUpwardDiagonal"},{value:"DarkDownwardDiagonal",displayValue:"DarkDownwardDiagonal",localizationId:"ChartStringId.WizHatchDarkDownwardDiagonal"},{value:"DarkUpwardDiagonal",displayValue:"DarkUpwardDiagonal",localizationId:"ChartStringId.WizHatchDarkUpwardDiagonal"},{value:"WideDownwardDiagonal",displayValue:"WideDownwardDiagonal",localizationId:"ChartStringId.WizHatchWideDownwardDiagonal"},{value:"WideUpwardDiagonal",displayValue:"WideUpwardDiagonal",localizationId:"ChartStringId.WizHatchWideUpwardDiagonal"},{value:"LightVertical",displayValue:"LightVertical",localizationId:"ChartStringId.WizHatchLightVertical"},{value:"LightHorizontal",displayValue:"LightHorizontal",localizationId:"ChartStringId.WizHatchLightHorizontal"},{value:"NarrowVertical",displayValue:"NarrowVertical",localizationId:"ChartStringId.WizHatchNarrowVertical"},{value:"NarrowHorizontal",displayValue:"NarrowHorizontal",localizationId:"ChartStringId.WizHatchNarrowHorizontal"},{value:"DarkVertical",displayValue:"DarkVertical",localizationId:"ChartStringId.WizHatchDarkVertical"},{value:"DarkHorizontal",displayValue:"DarkHorizontal",localizationId:"ChartStringId.WizHatchDarkHorizontal"},{value:"DashedDownwardDiagonal",displayValue:"DashedDownwardDiagonal",localizationId:"ChartStringId.WizHatchDashedDownwardDiagonal"},{value:"DashedUpwardDiagonal",displayValue:"DashedUpwardDiagonal",localizationId:"ChartStringId.WizHatchDashedUpwardDiagonal"},{value:"DashedHorizontal",displayValue:"DashedHorizontal",localizationId:"ChartStringId.WizHatchDashedHorizontal"},{value:"DashedVertical",displayValue:"DashedVertical",localizationId:"ChartStringId.WizHatchDashedVertical"},{value:"SmallConfetti",displayValue:"SmallConfetti",localizationId:"ChartStringId.WizHatchSmallConfetti"},{value:"LargeConfetti",displayValue:"LargeConfetti",localizationId:"ChartStringId.WizHatchLargeConfetti"},{value:"ZigZag",displayValue:"ZigZag",localizationId:"ChartStringId.WizHatchZigZag"},{value:"Wave",displayValue:"Wave",localizationId:"System.Drawing.Drawing2D.HatchStyle.Wave"},{value:"DiagonalBrick",displayValue:"DiagonalBrick",localizationId:"ChartStringId.WizHatchDiagonalBrick"},{value:"HorizontalBrick",displayValue:"HorizontalBrick",localizationId:"ChartStringId.WizHatchHorizontalBrick"},{value:"Weave",displayValue:"Weave",localizationId:"System.Drawing.Drawing2D.HatchStyle.Weave"},{value:"Plaid",displayValue:"Plaid",localizationId:"System.Drawing.Drawing2D.HatchStyle.Plaid"},{value:"Divot",displayValue:"Divot",localizationId:"System.Drawing.Drawing2D.HatchStyle.Divot"},{value:"DottedGrid",displayValue:"DottedGrid",localizationId:"ChartStringId.WizHatchDottedGrid"},{value:"DottedDiamond",displayValue:"DottedDiamond",localizationId:"ChartStringId.WizHatchDottedDiamond"},{value:"Shingle",displayValue:"Shingle",localizationId:"System.Drawing.Drawing2D.HatchStyle.Shingle"},{value:"Trellis",displayValue:"Trellis",localizationId:"System.Drawing.Drawing2D.HatchStyle.Trellis"},{value:"Sphere",displayValue:"Sphere",localizationId:"System.Drawing.Drawing2D.HatchStyle.Sphere"},{value:"SmallGrid",displayValue:"SmallGrid",localizationId:"ChartStringId.WizHatchSmallGrid"},{value:"SmallCheckerBoard",displayValue:"SmallCheckerBoard",localizationId:"ChartStringId.WizHatchSmallCheckerBoard"},{value:"LargeCheckerBoard",displayValue:"LargeCheckerBoard",localizationId:"ChartStringId.WizHatchLargeCheckerBoard"},{value:"OutlinedDiamond",displayValue:"OutlinedDiamond",localizationId:"ChartStringId.WizHatchOutlinedDiamond"},{value:"SolidDiamond",displayValue:"SolidDiamond",localizationId:"ChartStringId.WizHatchSolidDiamond"}],localizationId:"DevExpress.XtraCharts.HatchFillOptions.HatchStyle"},ei,ge,{propertyName:"typeNameSerializable",modelName:"@TypeNameSerializable"}],ri={propertyName:"options",modelName:"Options",displayName:"Options",editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.Options"},oi={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",defaultVal:"Empty",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Gradient",displayValue:"Gradient",localizationId:"DevExpress.XtraCharts.FillMode3D.Gradient"}],localizationId:"DevExpress.XtraCharts.FillStyle3D.FillMode"},si={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRChart.FillStyle"},ni={propertyName:"aggregateFunction",modelName:"@AggregateFunction",displayName:"Aggregate Function",localizationId:"DevExpress.XtraCharts.XYDiagram2DSeriesViewBase.AggregateFunction",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:(0,L.getLocalization)("Default","ChartStringId.WizAggregateFunctionDefault")},{value:"None",displayValue:(0,L.getLocalization)("None","ChartStringId.WizAggregateFunctionNone")},{value:"Average",displayValue:(0,L.getLocalization)("Average","ChartStringId.WizAggregateFunctionAverage")},{value:"Sum",displayValue:(0,L.getLocalization)("Sum","ChartStringId.WizAggregateFunctionSum")},{value:"Minimum",displayValue:(0,L.getLocalization)("Minimum","ChartStringId.WizAggregateFunctionMinimum")},{value:"Maximum",displayValue:(0,L.getLocalization)("Maximum","ChartStringId.WizAggregateFunctionMaximum")},{value:"Count",displayValue:(0,L.getLocalization)("Count","ChartStringId.WizAggregateFunctionCount")},{value:"Financial",displayValue:(0,L.getLocalization)("Financial","ChartStringId.WizAggregateFunctionFinancial")}]},li=[ja,ye,Qa,Za,ni,ge],di={Empty:[],Solid:[ge],Gradient:ai,Hatch:ii},ci={propertyName:"textOrientation",modelName:"@TextOrientation",displayName:"Text Orientation",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Horizontal ",displayValue:"Horizontal",localizationId:"DevExpress.XtraCharts.TextOrientation.Horizontal"},{value:"TopToBottom",displayValue:"Top To Bottom",localizationId:"DevExpress.XtraCharts.TextOrientation.TopToBottom"},{value:"BottomToTop",displayValue:"Bottom To Top",localizationId:"DevExpress.XtraCharts.TextOrientation.BottomToTop"}],localizationId:"DevExpress.XtraCharts.SeriesLabelBase.TextOrientation"},pi={propertyName:"resolveOverlappingMode",modelName:"@ResolveOverlappingMode",displayName:"Resolve Overlapping Mode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"},{value:"HideOverlapped",displayValue:"Hide Overlapped",localizationId:"DevExpress.XtraCharts.AxisLabelResolveOverlappingMode.HideOverlapped"},{value:"JustifyAroundPoint",displayValue:"Justify Around Point",localizationId:"DevExpress.XtraCharts.ResolveOverlappingMode.JustifyAroundPoint"},{value:"JustifyAllAroundPoint",displayValue:"Justify All Around Point",localizationId:"DevExpress.XtraCharts.ResolveOverlappingMode.JustifyAllAroundPoint"}],localizationId:"DevExpress.XtraCharts.StackedBarTotalLabel.ResolveOverlappingMode"},ui={propertyName:"lineColor",modelName:"@LineColor",displayName:"Line Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraCharts.SeriesLabelBase.LineColor"},mi={propertyName:"lineVisibility",modelName:"@LineVisibility",displayName:"Line Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.SeriesLabelBase.LineVisibility"},hi={propertyName:"lineLength",modelName:"@LineLength",displayName:"Line Length",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.SeriesLabelBase.LineLength"},gi={propertyName:"showForZeroValues",modelName:"@ShowForZeroValues",displayName:"Show for Zero Values",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.BarSeriesLabel.ShowForZeroValues"},xi={propertyName:"dashStyle",modelName:"@DashStyle",displayName:"Dash Style",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Dash",displayValue:"Dash",localizationId:"DevExpress.XtraCharts.DashStyle.Dash"},{value:"Dot",displayValue:"Dot",localizationId:"DevExpress.XtraCharts.DashStyle.Dot"},{value:"DashDot",displayValue:"Dash-Dot",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.DashDot"},{value:"DashDotDot",displayValue:"Dash-Dot-Dot",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.DashDotDot"}],localizationId:"DevExpress.XtraCharts.LineStyle.DashStyle"},vi={propertyName:"lineStyle",modelName:"LineStyle",displayName:"Line Style",info:[fe,xi],defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRShape.LineStyle"},fi={propertyName:"seriesLabelPosition",modelName:"@Position",displayName:"Position",editor:Z.getEditor("comboboxPositionSeriesLabel"),valuesArray:[],localizationId:"DevExpress.XtraCharts.PointSeriesLabel.Position"},bi=(0,B.extend)(!0,{},Ce,{localizable:!0}),yi=[ke,bi,De,_e,Ie,ci,pi,ui,mi,hi,Te,ce,Pe,fi,gi,We,vi,Za];class Si extends Q.SerializableModel{constructor(e,t,a,i){super(e,i,t),this.gradientTypeName=a,this.updateOptions(this.fillMode(),i,e.Options),this._disposables.push(this.fillMode.subscribe((e=>{this.updateOptions(e,i,{})})))}static from(e,t){return(a,i)=>new Si(a||{},e,t,i)}static toJson(e,t,a){return t.serialize(e,void 0,a)}_optionsTypeMap(e){switch(e){case"Gradient":return this.gradientTypeName;case"Hatch":return"HatchFillOptions";default:return}}isPropertyVisible(e){return"options"!==e||"options"===e&&this[e]()}updateOptions(e,t,a){const i=k.extend({"@TypeNameSerializable":this._optionsTypeMap(e)},a),r=di[e];this.options(new Q.SerializableModel(i,t,r))}}const Ci={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",localizationId:"DevExpress.XtraCharts.FillStyle2D.FillMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Gradient",displayValue:"Gradient",localizationId:"DevExpress.XtraCharts.FillMode3D.Gradient"},{value:"Hatch",displayValue:"Hatch",localizationId:"DevExpress.XtraCharts.FillMode.Hatch"}],defaultVal:"Empty"},Di=[Ci,ri,ge],_i={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.Strip.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"RectangleGradientFillOptions"),toJsonObject:Si.toJson};class Ii extends Q.SerializableModel{constructor(e,t,a){super(e,t,a||Ti),this.axisValue=A.observable(this._axisValue()),this.getInfo=()=>{if(!this.enabled()){const e=(0,B.extend)(!0,[],Ti),t=e.filter((e=>"axisValue"===e.propertyName))[0];return t.visible=!1,e}return Ti}}static from(e,t){return new Ii(e||{},t)}static toJson(e,t,a){return e._axisValue(e.enabled()?e.axisValue():null),t.serialize(e,void 0,a)}getExpressionProperties(){return["AxisValue"]}}const Pi={propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.StripLimit.Enabled"},Ti=[fa,ba,Pi,ge],zi={propertyName:"minLimit",modelName:"MinLimit",displayName:"Min Limit",from:Ii.from,toJsonObject:Ii.toJson,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.Strip.MinLimit"},Ni={propertyName:"maxLimit",modelName:"MaxLimit",displayName:"Max Limit",from:Ii.from,toJsonObject:Ii.toJson,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.Strip.MaxLimit"};class Ei extends ae{constructor(e,t,a){super((0,B.extend)(!0,{},Ei.initialModel,e),t,a,wi)}static from(e,t){return new Ei(e||{},null,t)}getExpressionProperties(){return["LegendText","AxisLabelText"]}getChildComponents(){return[{component:A.unwrap(this.minLimit),path:"MinLimit"},{component:A.unwrap(this.maxLimit),path:"MaxLimit"}]}}Ei.initialModel={MinLimit:{"@AxisValueSerializable":"0"},MaxLimit:{"@AxisValueSerializable":"1"}},Ei.prefix="Strip ";const wi=[me,ye,ve,Sa,xe,Ca,Da,he,ge,_i,zi,Ni];class Ri extends Q.SerializableModel{constructor(e,t,a){super(e,t,a||Ea),this.constantLines=Wa(e&&e.ConstantLines,((e,a)=>new Ua(e,a,t)),Ua.prefix),this.scaleBreaks=Wa(e&&e.ScaleBreaks,((e,a)=>new Ga(e,a,t)),Ga.prefix),this.strips=Wa(e&&e.Strips,((e,a)=>new Ei(e,a,t)),Ei.prefix)}static from(e){return(t,a)=>new Ri(t||{},a,e)}static toJson(e,t,a){return t.serialize(e,void 0,a)}getChildComponents(){return[{component:this.axisTitle,path:"Title"},{component:A.unwrap(this.strips),path:"Strips"},{component:A.unwrap(this.constantLines),path:"ConstantLines"},{component:A.unwrap(this.wholeRange),path:"WholeRange"}]}}const Bi={propertyName:"axisX",modelName:"AxisX",displayName:"Primary Axis X",localizationId:"DevExpress.XtraCharts.AxisX",defaultVal:{},from:Ri.from([Et,It].concat(Ea)),toJsonObject:Ri.toJson,editor:K.editorTemplates.getEditor("objecteditor")},Vi={propertyName:"axisY",modelName:"AxisY",displayName:"Primary Axis Y",localizationId:"DevExpress.XtraCharts.AxisY",defaultVal:{},from:Ri.from([wt].concat(Ea)),toJsonObject:Ri.toJson,editor:K.editorTemplates.getEditor("objecteditor")};class Mi extends Ri{constructor(e,t,a){super(e,a,wa),te(this,t)()}get axisID(){return this.parent().indexOf(this)}}Mi.xPrefix="Secondary Axis X",Mi.yPrefix="Secondary Axis Y";const ki=DevExpress.ui.dxSelectBox;var Ai=e.n(ki);const Li=(0,B.createGlobalModuleVariableFunc)(!1),$i=(0,B.createGlobalModuleVariableFunc)(!1),Fi=Ai().prototype._optionValuesEqual;Ai().redefine({_optionValuesEqual:function(e,t,a){return"value"===e&&t instanceof Q.ElementViewModel&&a instanceof Q.ElementViewModel?t===a:Fi.apply(this,arguments)}});const Oi=DevExpress.Analytics.Serializer.Native;class Xi{constructor(e,t){this.functionName=A.observable(),this.args=A.observableArray(),this.functionName(e),this.args(t.map((e=>({value:A.observable(e)})))),this.functionName.subscribe((e=>{this._updateArgs(e)}))}static from(e){let t=null,a=[];return e&&(t=e.split("(")[0],a=e.split("(")[1].split(")")[0].split(","),a=""===a[0]?[]:a.map((e=>e.split("[")[1].split("]")[0]))),new Xi(t,a)}static toJson(e){return e.functionName()?e.functionName()+"("+e.args().map((e=>"["+e.value()+"]")).join(",")+")":{}}_updateArgs(e){-1!==Xi.availableItems.indexOf(e)&&("COUNT"!==e&&e?0===this.args().length?this.args.push({value:A.observable("")}):this.args().length>1&&this.args.splice(1,this.args().length-1):this.args([]))}}Xi.availableItems=["SUM","MIN","MAX","AVERAGE","COUNT"];class Hi extends K.FieldListEditor{constructor(e,t,a){super(e,t,a),this.argumentTemplateName=A.bindingHandlers.displayNameExtender?"dxrd-field":"dxcd-field",this.actionsAreAvailable=A.observable(!1);let i=null;this.memberPadding={paddingLeft:(t+1)*(0,G.propertiesGridEditorsPaddingLeft)()},this.subscribeProperty("_model",(e=>{i&&i.dispose(),i=A.computed((()=>{this.actionsAreAvailable(this.value().functionName()&&-1===Xi.availableItems.indexOf(this.value()&&this.value().functionName()))}))}))}createViewModel(){const e=(0,Oi.createViewModelGenerator)(super.createViewModel()).generateProperty("actionsAreAvailable",A.unwrap(this.actionsAreAvailable)).generateProperty("add",(()=>this.add())).generateProperty("availableItems",this.availableItems()).generateProperty("memberPadding",this.memberPadding).generateProperty("argumentTemplateName",this.argumentTemplateName).generateProperty("getLocalization",this.getLocalization).generateProperty("remove",(e=>this.remove(e))).getViewModel();return this.subscribeOnChanges(e,["actionsAreAvailable"]),e}getLocalization(e,t){return(0,L.getLocalization)(e,t)}add(){this.value().args.push({value:A.observable("")})}remove(e){this.value().args.splice(e,1)}availableItems(){return Xi.availableItems}}const Wi={propertyName:"summaryFunction",displayName:"Summary Function",modelName:"@SummaryFunction",from:Xi.from,toJsonObject:Xi.toJson,editor:Z.getEditor("summaryFunction"),localizationId:"DevExpress.XtraCharts.SummaryOptionsBase.SummaryFunction"},Ui=[Wi,ge],Gi=Ui.concat([{propertyName:"measureUnit",modelName:"@MeasureUnit",displayName:"Measure Unit",localizationId:"DevExpress.XtraCharts.NumericSummaryOptions.MeasureUnit",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"useAxisMeasureUnit",modelName:"@UseAxisMeasureUnit",displayName:"Use Axis Measure Unit",localizationId:"DevExpress.XtraCharts.NumericSummaryOptions.UseAxisMeasureUnit",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")}]),ji=Ui.concat([{propertyName:"measureUnit",modelName:"@MeasureUnit",displayName:"Measure Unit",localizationId:"DevExpress.XtraCharts.DateTimeSummaryOptions.MeasureUnit",defaultVal:"Day",from:L.fromEnum,editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Millisecond",displayValue:"Millisecond",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Millisecond"},{value:"Second",displayValue:"Second",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Second"},{value:"Minute",displayValue:"Minute",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Minute"},{value:"Hour",displayValue:"Hour",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Hour"},{value:"Day",displayValue:"Day",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Day"},{value:"Week",displayValue:"Week",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Week"},{value:"Month",displayValue:"Month",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Month"},{value:"Quarter",displayValue:"Quarter",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Quarter"},{value:"Year",displayValue:"Year",localizationId:"DevExpress.XtraCharts.DateTimeMeasureUnit.Year"}]},{propertyName:"measureUnitMultiplier",modelName:"@MeasureUnitMultiplier",displayName:"Measure Unit Multiplier",localizationId:"DevExpress.XtraCharts.DateTimeSummaryOptions.MeasureUnitMultiplier",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"useAxisMeasureUnit",modelName:"@UseAxisMeasureUnit",displayName:"Use Axis Measure Unit",localizationId:"DevExpress.XtraCharts.DateTimeSummaryOptions.UseAxisMeasureUnit",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")}]);class qi{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e||{})}getInfo(){return Ui}resetAllProperties(){this.getInfo().forEach((e=>{"defaultVal"in e?this[e.propertyName](e.defaultVal):"summaryFunction"===e.propertyName?(this.summaryFunction.functionName(null),this.summaryFunction.args([])):this[e.propertyName](null)}))}}class Ji extends qi{static from(e,t){return new Ji(e||{},t)}static toJson(e,t,a){return t.serialize(e,Ui,a)}constructor(e,t){super(e||{},t)}}class Ki extends qi{static from(e,t){return new Ki(e||{},t)}static toJson(e,t,a){return t.serialize(e,Gi,a)}constructor(e,t){super(e||{},t)}getInfo(){return Gi}}class Qi extends qi{static from(e,t){return new Qi(e||{},t)}static toJson(e,t,a){return t.serialize(e,ji,a)}constructor(e,t){super(e||{},t)}getInfo(){return ji}}const Yi={propertyName:"equalBarWidth",modelName:"@SideBySideEqualBarWidth",displayName:"Side By Side Equal Bar Width",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Zi={propertyName:"barDistanceFixed",modelName:"@SideBySideBarDistanceFixed",defaultVal:1},er={propertyName:"barDistance",modelName:"@SideBySideBarDistance",defaultVal:0},tr=[{value:"Argument",displayValue:"Argument",localizationId:"DevExpress.XtraCharts.SeriesSelectionMode.Argument"},{value:"Value_1",displayValue:"Value",localizationId:"ChartStringId.WizValueLevelValue"}],ar=[{value:"Argument",displayValue:"Argument",localizationId:"DevExpress.XtraCharts.SeriesSelectionMode.Argument"},{value:"Value_1",displayValue:"Value",localizationId:"ChartStringId.WizValueLevelValue"},{value:"Value_2",displayValue:"Weight",localizationId:"ChartStringId.WizValueLevelWeight"}],ir=[{value:"Argument",displayValue:"Argument",localizationId:"DevExpress.XtraCharts.SeriesSelectionMode.Argument"},{value:"Value_1",displayValue:"Value_1",localizationId:"ChartStringId.WizValueLevelValue_1"},{value:"Value_2",displayValue:"Value_2",localizationId:"ChartStringId.WizValueLevelValue_2"}],rr=[{value:"Argument",displayValue:"Argument",localizationId:"DevExpress.XtraCharts.SeriesSelectionMode.Argument"},{value:"Value_1",displayValue:"Low",localizationId:"ChartStringId.WizValueLevelLow"},{value:"Value_2",displayValue:"High",localizationId:"ChartStringId.WizValueLevelHigh"},{value:"Value_3",displayValue:"Open",localizationId:"ChartStringId.WizValueLevelOpen"},{value:"Value_4",displayValue:"Close",localizationId:"ChartStringId.WizValueLevelClose"}],or={propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraReports.UI.EditOptions.Enabled"},sr={propertyName:"mode",modelName:"@Mode",displayName:"Mode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Count",valuesArray:[{value:"Count",displayValue:"Count",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},{value:"ThresholdValue",displayValue:"Threshold Value",localizationId:"DevExpress.XtraCharts.TopNMode.ThresholdValue"},{value:"ThresholdPercent",displayValue:"Threshold Percent",localizationId:"DevExpress.XtraCharts.TopNOptions.ThresholdPercent"}],localizationId:"DevExpress.XtraReports.UI.MultiColumn.Mode"},nr={propertyName:"count",modelName:"@Count",displayName:"Count",defaultVal:5,editor:K.editorTemplates.getEditor("numeric"),localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},lr={propertyName:"showOthers",modelName:"@ShowOthers",displayName:"Show Others",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,localizationId:"DevExpress.XtraCharts.TopNOptions.ShowOthers"},dr={propertyName:"othersArgument",modelName:"@OthersArgument",displayName:"Others Argument",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraCharts.TopNOptions.OthersArgument"},cr={propertyName:"thresholdValue",modelName:"@ThresholdValue",displayName:"Threshold Value",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.TopNMode.ThresholdValue"},pr={propertyName:"thresholdPercent",modelName:"@ThresholdPercent",displayName:"Threshold Percent",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.TopNOptions.ThresholdPercent"},ur=[{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Top"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.XtraCharts.FunnelSeriesLabelPosition.Center"},{value:"TopInside",displayValue:"Top Inside",localizationId:"DevExpress.XtraCharts.BarSeriesLabelPosition.TopInside"},{value:"BottomInside",displayValue:"Bottom Inside",localizationId:"DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside"}],mr=[{value:"Inside",displayValue:"Inside",localizationId:"ChartStringId.WizPieSeriesLabelPositionInside"},{value:"Outside",displayValue:"Outside",localizationId:"ChartStringId.WizPieSeriesLabelPositionOutside"},{value:"Radial",displayValue:"Radial",localizationId:"ChartStringId.WizPieSeriesLabelPositionRadial"},{value:"Tangent",displayValue:"Tangent",localizationId:"ChartStringId.WizPieSeriesLabelPositionTangent"},{value:"TwoColumns",displayValue:"Two Columns",localizationId:"ChartStringId.WizPieSeriesLabelPositionTwoColumns"}],hr=[{value:"LeftColumn",displayValue:"Left Column",localizationId:"ChartStringId.WizFunnelSeriesLabelPositionLeftColumn"},{value:"Left",displayValue:"Left",localizationId:"ChartStringId.WizFunnelSeriesLabelPositionLeft"},{value:"Center",displayValue:"Center",localizationId:"ChartStringId.WizFunnelSeriesLabelPositionCenter"},{value:"Right",displayValue:"Right",localizationId:"ChartStringId.WizFunnelSeriesLabelPositionRight"},{value:"RightColumn",displayValue:"Right Column",localizationId:"ChartStringId.WizFunnelSeriesLabelPositionRightColumn"}],gr=[{value:"Auto",displayValue:"Auto",localizationId:"DevExpress.XtraCharts.WaterfallSeriesLabelPosition.Auto"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.XtraCharts.WaterfallSeriesLabelPosition.Center"},{value:"InsideEnd",displayValue:"Insid End",localizationId:"DevExpress.XtraCharts.WaterfallSeriesLabelPosition.InsideEnd"},{value:"InsideStart",displayValue:"Inside Start",localizationId:"DevExpress.XtraCharts.WaterfallSeriesLabelPosition.InsideStart"}],xr={propertyName:"markerVisibility",modelName:"@MarkerVisibility",displayName:"Marker Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.RadarLineSeriesView.MarkerVisibility"},vr=(K.editorTemplates.getEditor("combobox"),K.editorTemplates.getEditor("bool"),L.parseBool,{propertyName:"direction",modelName:"@Direction",displayName:"Direction",defaultVal:"TopToBottom",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"TopToBottom",displayValue:"Top To Bottom",localizationId:"DevExpress.XtraCharts.TextOrientation.TopToBottom"},{value:"BottomToTop",displayValue:"Bottom To Top",localizationId:"DevExpress.XtraCharts.TextOrientation.BottomToTop"},{value:"LeftToRight",displayValue:"Left To Right"},{value:"RightToLeft",displayValue:"Right To Left"}],localizationId:"DevExpress.XtraReports.UI.MultiColumn.Direction"}),fr={propertyName:"alignmentVertical",modelName:"@AlignmentVertical",displayName:"Vertical Alignment",defaultVal:"Top",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Top"},{value:"TopOutside",displayValue:"Top Outside",localizationId:"DevExpress.XtraCharts.LegendAlignmentVertical.TopOutside"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.XtraCharts.FunnelSeriesLabelPosition.Center"},{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Bottom"},{value:"BottomOutside",displayValue:"Bottom Outside",localizationId:"DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside"}],localizationId:"DevExpress.XtraCharts.Legend.AlignmentVertical"},br={propertyName:"alignmentHorizontal",modelName:"@AlignmentHorizontal",displayName:"Horizontal Alignment",defaultVal:"RightOutside",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Left",displayValue:"Left",localizationId:"DevExpress.XtraReports.UI.XRControl.Left"},{value:"LeftOutside",displayValue:"Left Outside",localizationId:"DevExpress.XtraCharts.LegendAlignmentHorizontal.LeftOutside"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.XtraCharts.FunnelSeriesLabelPosition.Center"},{value:"Right",displayValue:"Right",localizationId:"DevExpress.XtraCharts.RectangleIndents.Right"},{value:"RightOutside",displayValue:"Right Outside",localizationId:"DevExpress.XtraCharts.LegendAlignmentHorizontal.RightOutside"}],localizationId:"DevExpress.XtraCharts.Legend.AlignmentHorizontal"},yr={propertyName:"chartPadding",modelName:"Padding",displayName:"Padding",info:[Ae,Le,$e,Fe],editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRBarCode.PaddingInfo"},Sr=[ye,Qa,xr],Cr={propertyName:"lineMarker",modelName:"LineMarker",displayName:"Line Marker",info:Sr,editor:K.editorTemplates.getEditor("objecteditor")},Dr=[or,sr,nr,pr,cr,lr,dr],_r={propertyName:"topNOptions",modelName:"TopNOptions",displayName:"Top N Options",info:Dr,defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraCharts.SeriesBase.TopNOptions"},Ir={propertyName:"autoBindingSettingsEnabled",modelName:"@AutoBindingSettingsEnabled",displayName:"Auto Binding Settings Enabled",localizationId:"DevExpress.XtraCharts.PivotGridDataSourceOptions.AutoBindingSettingsEnabled",defaultVal:!0,editor:K.editorTemplates.getEditor("bool")},Pr={propertyName:"autoLayoutSettingsEnabled",modelName:"@AutoLayoutSettingsEnabled",displayName:"Auto Layout Settings Enabled",localizationId:"DevExpress.XtraCharts.PivotGridDataSourceOptions.AutoLayoutSettingsEnabled",defaultVal:!0,editor:K.editorTemplates.getEditor("bool")},Tr={propertyName:"pivotGridDataSourceOptions",modelName:"PivotGridDataSourceOptions",displayName:"Pivot Grid Data Source Options",localizationId:"DevExpress.XtraReports.UI.XRChart.PivotGridDataSourceOptions",info:[Ir,Pr],editor:K.editorTemplates.getEditor("objecteditor")},zr={modelName:"@DataFiltersConjunctionMode",defaultVal:"And",displayName:"Conjunction Mode",propertyName:"dataFiltersConjunctionMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"And",displayValue:"And",localizationId:"DevExpress.XtraCharts.ConjunctionTypes.And"},{value:"Or",displayValue:"Or",localizationId:"DevExpress.XtraCharts.ConjunctionTypes.Or"}],localizationId:"DevExpress.XtraCharts.DataFilterCollection.ConjunctionMode"},Nr={propertyName:"colorDataMember",displayName:"Color Data Member",defaultVal:"",modelName:"@ColorDataMember",editor:A.bindingHandlers.displayNameExtender?K.editorTemplates.getEditor("field"):Z.getEditor("fieldChart"),localizationId:"DevExpress.XtraCharts.SeriesBase.ColorDataMember"},Er={propertyName:"points",modelName:"Points",displayName:"Points",localizationId:"DevExpress.XtraCharts.Series.Points",editor:Z.getEditor("points"),array:!0},wr=function(e){const t=[];return t.push({value:"SideBySideBarSeriesView",displayValue:"Bar",localizationId:"DevExpress.Sparkline.SparklineViewType.Bar"}),t.push({value:"StackedBarSeriesView",displayValue:"Bar Stacked",localizationId:"ChartStringId.SvnStackedBar"}),t.push({value:"FullStackedBarSeriesView",displayValue:"Bar Stacked 100%",localizationId:"ChartStringId.SvnFullStackedBar"}),t.push({value:"SideBySideStackedBarSeriesView",displayValue:"Side By Side Bar Stacked",localizationId:"ChartStringId.SvnSideBySideStackedBar"}),t.push({value:"SideBySideFullStackedBarSeriesView",displayValue:"Side By Side Bar Stacked 100%",localizationId:"ChartStringId.SvnSideBySideFullStackedBar"}),t.push({value:"WaterfallSeriesView",displayValue:"Waterfall",localizationId:"ChartStringId.SvnWaterfall"}),e||(t.push({value:"SideBySideBar3DSeriesView",displayValue:"Bar 3D",localizationId:"ChartStringId.SvnSideBySideBar3D"}),t.push({value:"StackedBar3DSeriesView",displayValue:"Bar 3D Stacked",localizationId:"ChartStringId.SvnStackedBar3D"}),t.push({value:"FullStackedBar3DSeriesView",displayValue:"Bar 3D Stacked 100%",localizationId:"ChartStringId.SvnFullStackedBar3D"}),t.push({value:"SideBySideStackedBar3DSeriesView",displayValue:"Side By Side Bar 3D Stacked "}),t.push({value:"SideBySideFullStackedBar3DSeriesView",displayValue:"Side By Side Bar 3D Stacked 100%",localizationId:"ChartStringId.SvnSideBySideFullStackedBar3D"}),t.push({value:"ManhattanBarSeriesView",displayValue:"Manhattan Bar",localizationId:"ChartStringId.SvnManhattanBar"})),t.push({value:"PointSeriesView",displayValue:"Point",localizationId:"ASPxReportsStringId.ReportDesigner_FontOptions_Unit_Point"}),t.push({value:"BubbleSeriesView",displayValue:"Bubble",localizationId:"ChartStringId.SvnBubble"}),t.push({value:"LineSeriesView",displayValue:"Line",localizationId:"DevExpress.XtraReports.UI.XRLine"}),t.push({value:"StackedLineSeriesView",displayValue:"Line Stacked",localizationId:"ChartStringId.SvnStackedLine"}),t.push({value:"FullStackedLineSeriesView",displayValue:"Line Stacked 100%",localizationId:"ChartStringId.SvnFullStackedLine"}),t.push({value:"StepLineSeriesView",displayValue:"Step Line",localizationId:"ChartStringId.SvnStepLine"}),t.push({value:"SplineSeriesView",displayValue:"Spline",localizationId:"ChartStringId.SvnSpline"}),t.push({value:"ScatterLineSeriesView",displayValue:"Scatter Line",localizationId:"ChartStringId.CmdCreateScatterLineChartMenuCaption"}),t.push({value:"SwiftPlotSeriesView",displayValue:"Swift Plot",localizationId:"ChartStringId.SvnSwiftPlot"}),e||(t.push({value:"Line3DSeriesView",displayValue:"Line 3D",localizationId:"ChartStringId.SvnLine3D"}),t.push({value:"StackedLine3DSeriesView",displayValue:"Line 3D Stacked",localizationId:"ChartStringId.SvnStackedLine3D"}),t.push({value:"FullStackedLine3DSeriesView",displayValue:"Line 3D Stacked 100%",localizationId:"ChartStringId.SvnFullStackedLine3D"}),t.push({value:"StepLine3DSeriesView",displayValue:"Step Line 3D",localizationId:"ChartStringId.SvnStepLine3D"}),t.push({value:"Spline3DSeriesView",displayValue:"Spline 3D",localizationId:"ChartStringId.SvnSpline3D"})),t.push({value:"PieSeriesView",displayValue:"Pie",localizationId:"ChartStringId.CmdCreatePieChartMenuCaption"}),t.push({value:"DoughnutSeriesView",displayValue:"Doughnut",localizationId:"ChartStringId.CmdCreateDoughnutChartMenuCaption"}),t.push({value:"NestedDoughnutSeriesView",displayValue:"Nested Doughnut",localizationId:"ChartStringId.CmdCreateNestedDoughnutChartMenuCaption"}),e||(t.push({value:"Pie3DSeriesView",displayValue:"Pie 3D",localizationId:"ChartStringId.SvnPie3D"}),t.push({value:"Doughnut3DSeriesView",displayValue:"Doughnut 3D",localizationId:"ChartStringId.SvnDoughnut3D"})),t.push({value:"FunnelSeriesView",displayValue:"Funnel",localizationId:"ChartStringId.SvnFunnel"}),e||t.push({value:"Funnel3DSeriesView",displayValue:"Funnel 3D",localizationId:"ChartStringId.SvnFunnel3D"}),t.push({value:"AreaSeriesView",displayValue:"Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataField.Area"}),t.push({value:"StackedAreaSeriesView",displayValue:"Area Stacked",localizationId:"ChartStringId.SvnStackedArea"}),t.push({value:"FullStackedAreaSeriesView",displayValue:"Area Stacked 100%",localizationId:"ChartStringId.SvnFullStackedArea"}),t.push({value:"StepAreaSeriesView",displayValue:"Step Area",localizationId:"ChartStringId.SvnStepArea"}),t.push({value:"SplineAreaSeriesView",displayValue:"Spline Area",localizationId:"ChartStringId.SvnSplineArea"}),t.push({value:"StackedSplineAreaSeriesView",displayValue:"Spline Area Stacked",localizationId:"ChartStringId.SvnSplineStackedArea"}),t.push({value:"FullStackedSplineAreaSeriesView",displayValue:"Spline Area Stacked 100%",localizationId:"ChartStringId.SvnSplineFullStackedArea"}),e||(t.push({value:"Area3DSeriesView",displayValue:"Area 3D",localizationId:"ChartStringId.SvnArea3D"}),t.push({value:"StackedArea3DSeriesView",displayValue:"Area 3D Stacked",localizationId:"ChartStringId.SvnStackedArea3D"}),t.push({value:"FullStackedArea3DSeriesView",displayValue:"Area 3D Stacked 100%",localizationId:"ChartStringId.SvnFullStackedArea3D"}),t.push({value:"StepArea3DSeriesView",displayValue:"Step 3D Area"}),t.push({value:"SplineArea3DSeriesView",displayValue:"Spline 3D Area"}),t.push({value:"StackedSplineArea3DSeriesView",displayValue:"Spline Area 3D Stacked",localizationId:"ChartStringId.SvnSplineAreaStacked3D"}),t.push({value:"FullStackedSplineArea3DSeriesView",displayValue:"Spline Area 3D Stacked 100%",localizationId:"ChartStringId.SvnSplineAreaFullStacked3D"})),t.push({value:"OverlappedRangeBarSeriesView",displayValue:"Range Bar",localizationId:"ChartStringId.SvnOverlappedRangeBar"}),t.push({value:"SideBySideRangeBarSeriesView",displayValue:"Side By Side Range Bar",localizationId:"ChartStringId.SvnSideBySideRangeBar"}),t.push({value:"RangeAreaSeriesView",displayValue:"Range Area",localizationId:"ChartStringId.SvnRangeArea"}),e||t.push({value:"RangeArea3DSeriesView",displayValue:"Range Area 3D",localizationId:"ChartStringId.SvnRangeArea3D"}),t.push({value:"RadarPointSeriesView",displayValue:"Radar Point",localizationId:"ChartStringId.SvnRadarPoint"}),t.push({value:"RadarLineSeriesView",displayValue:"Radar Line",localizationId:"ChartStringId.SvnRadarLine"}),t.push({value:"RadarAreaSeriesView",displayValue:"Radar Area",localizationId:"ChartStringId.CmdCreateRadarAreaChartMenuCaption"}),t.push({value:"PolarPointSeriesView",displayValue:"Polar Point",localizationId:"ChartStringId.SvnPolarPoint"}),t.push({value:"PolarLineSeriesView",displayValue:"Polar Line",localizationId:"ChartStringId.CmdCreatePolarLineChartMenuCaption"}),t.push({value:"PolarAreaSeriesView",displayValue:"Polar Area",localizationId:"ChartStringId.SvnPolarArea"}),t.push({value:"StockSeriesView",displayValue:"Stock Series"}),t.push({value:"CandleStickSeriesView",displayValue:"Candle Stick",localizationId:"ChartStringId.CmdCreateCandleStickChartMenuCaption"}),t.push({value:"OverlappedGanttSeriesView",displayValue:"Gantt",localizationId:"ChartStringId.CmdGanttGroupPlaceHolderMenuCaption"}),t.push({value:"SideBySideGanttSeriesView",displayValue:"Side By Side Gantt",localizationId:"ChartStringId.SvnSideBySideGantt"}),t},Rr={propertyName:"viewBindable",displayName:"View",editor:Z.getEditor("views"),valuesArray:wr($i()),localizationId:"DevExpress.XtraReports.UI.XRSparkline.View"},Br={propertyName:"qualitativeSummaryOptions",modelName:"QualitativeSummaryOptions",displayName:"Qualitative Summary Options",localizationId:"DevExpress.XtraCharts.SeriesBase.QualitativeSummaryOptions",info:Ui,from:Ji.from,toJsonObject:Ji.toJson,editor:K.editorTemplates.getEditor("objecteditor")},Vr={propertyName:"numericSummaryOptions",modelName:"NumericSummaryOptions",displayName:"Numeric Summary Options",localizationId:"DevExpress.XtraCharts.SeriesBase.NumericSummaryOptions",info:Gi,from:Ki.from,toJsonObject:Ki.toJson,editor:K.editorTemplates.getEditor("objecteditor")},Mr={propertyName:"dateTimeSummaryOptions",modelName:"DateTimeSummaryOptions",displayName:"Date-Time Summary Options",localizationId:"DevExpress.XtraCharts.SeriesBase.DateTimeSummaryOptions",info:ji,from:Qi.from,toJsonObject:Qi.toJson,editor:K.editorTemplates.getEditor("objecteditor")},kr={propertyName:"series",modelName:"SeriesSerializable",displayName:"Series",array:!0,editor:Z.getEditor("collection"),localizationId:"DevExpress.XtraReports.UI.XRChart.Series"},Ar={propertyName:"seriesDataMember",modelName:"@SeriesDataMember",displayName:"Series Data Member",editor:A.bindingHandlers.displayNameExtender?K.editorTemplates.getEditor("field"):Z.getEditor("fieldChart"),localizationId:"DevExpress.XtraReports.UI.XRChart.SeriesDataMember"},Lr={propertyName:"text",modelName:"@Text",displayName:"Text",localizationId:"DevExpress.XtraReports.UI.XRControl.Text",localizable:!0,defaultVal:"",editor:K.editorTemplates.getEditor("stringArray")},$r={propertyName:"enableAntialiasing",modelName:"@EnableAntialiasing",displayName:"Enable Antialiasing",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.TitleBase.EnableAntialiasing"},Fr=[Lr,He,Pe,$r,ge],Or={propertyName:"emptyChartText",modelName:"EmptyChartText",displayName:"Empty Chart Text",info:Fr,editor:K.editorTemplates.getEditor("objecteditor"),type:ie},Xr={propertyName:"smallChartText",modelName:"SmallChartText",displayName:"Small Chart Text",info:Fr,editor:K.editorTemplates.getEditor("objecteditor"),type:ie},Hr={propertyName:"titles",modelName:"Titles",displayName:"Titles",localizationId:"DevExpress.XtraReports.UI.XRChart.Titles",array:!0,editor:Z.getEditor("collection")},Wr={propertyName:"markerMode",modelName:"@MarkerMode",displayName:"Marker Mode",localizationId:"DevExpress.XtraCharts.Legend.MarkerMode",defaultVal:"Marker",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Marker",displayValue:(0,L.getLocalization)("Marker","DevExpress.XtraCharts.LegendMarkerMode.Marker")},{value:"CheckBox",displayValue:(0,L.getLocalization)("Check Box","DevExpress.XtraCharts.LegendMarkerMode.CheckBox")},{value:"CheckBoxAndMarker",displayValue:(0,L.getLocalization)("Check Box and Marker","DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker")},{value:"MarkerAndCheckBox",displayValue:(0,L.getLocalization)("Marker and Check Box","DevExpress.XtraCharts.LegendMarkerMode.MarkerAndCheckBox")},{value:"None",displayValue:(0,L.getLocalization)("None","DevExpress.XtraCharts.LegendMarkerMode.None")}]},Ur={propertyName:"markerOffset",modelName:"@MarkerOffset",displayName:"Marker Offset",localizationId:"DevExpress.XtraCharts.Legend.MarkerOffset",defaultVal:2,editor:K.editorTemplates.getEditor("numeric")},Gr=[Xe,Oe,ge,be].concat(Ne),jr=(0,B.extend)(!0,{},Ee,{info:Gr}),qr=[Pe,ce,vr,fr,br,be,Wr,Ur,jr,Za,Oe,yr,We],Jr=[he].concat(qr),Kr={propertyName:"legends",modelName:"Legends",displayName:"Legends",localizationId:"DevExpress.XtraReports.UI.XRChart.Legends",array:!0,editor:Z.getEditor("collection")},Qr={propertyName:"appearanceName",modelName:"@AppearanceNameSerializable",displayName:"Appearance Name",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Nature Colors",displayValue:"Nature Colors",localizationId:"ChartStringId.AppNatureColors"},{value:"Pastel Kit",displayValue:"Pastel Kit",localizationId:"ChartStringId.AppPastelKit"},{value:"In A Fog",displayValue:"In A Fog",localizationId:"ChartStringId.AppInAFog"},{value:"Terracotta Pie",displayValue:"Terracotta Pie",localizationId:"ChartStringId.PltTerracottaPie"},{value:"Northern Lights",displayValue:"Northern Lights",localizationId:"ChartStringId.PltNorthernLights"},{value:"Chameleon",displayValue:"Chameleon",localizationId:"ChartStringId.AppChameleon"},{value:"The Trees",displayValue:"The Trees",localizationId:"ChartStringId.PltTheTrees"},{value:"Light",displayValue:"Light",localizationId:"ChartStringId.AppLight"},{value:"Gray",displayValue:"Gray",localizationId:"ChartStringId.AppGray"},{value:"Dark",displayValue:"Dark",localizationId:"ChartStringId.AppDark"},{value:"Dark Flat",displayValue:"Dark Flat",localizationId:"ChartStringId.AppDarkFlat"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],localizationId:"DevExpress.XtraReports.UI.XRChart.AppearanceName"},Yr={propertyName:"paletteName",modelName:"@PaletteName",displayName:"Palette Name",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"},{value:"Nature Colors",displayValue:"Nature Colors",localizationId:"ChartStringId.AppNatureColors"},{value:"Pastel Kit",displayValue:"Pastel Kit",localizationId:"ChartStringId.AppPastelKit"},{value:"In A Fog",displayValue:"In A Fog",localizationId:"ChartStringId.AppInAFog"},{value:"Terracotta Pie",displayValue:"Terracotta Pie",localizationId:"ChartStringId.PltTerracottaPie"},{value:"Northern Lights",displayValue:"Northern Lights",localizationId:"ChartStringId.PltNorthernLights"},{value:"Chameleon",displayValue:"Chameleon",localizationId:"ChartStringId.AppChameleon"},{value:"The Trees",displayValue:"The Trees",localizationId:"ChartStringId.PltTheTrees"},{value:"Mixed",displayValue:"Mixed",localizationId:"ChartStringId.PltMixed"},{value:"Office",displayValue:"Office",localizationId:"ChartStringId.PltOffice"},{value:"Black and White",displayValue:"Black and White",localizationId:"ChartStringId.PltBlackAndWhite"},{value:"Grayscale",displayValue:"Grayscale",localizationId:"ChartStringId.PltGrayscale"},{value:"Apex",displayValue:"Apex",localizationId:"ChartStringId.PltApex"},{value:"Aspect",displayValue:"Aspect",localizationId:"ChartStringId.PltAspect"},{value:"Civic",displayValue:"Civic",localizationId:"ChartStringId.PltCivic"},{value:"Concourse",displayValue:"Concourse",localizationId:"ChartStringId.PltConcourse"},{value:"Equity",displayValue:"Equity",localizationId:"ChartStringId.PltEquity"},{value:"Flow",displayValue:"Flow",localizationId:"ChartStringId.PltFlow"},{value:"Foundry",displayValue:"Foundry",localizationId:"ChartStringId.PltFoundry"},{value:"Median",displayValue:"Median",localizationId:"DevExpress.XtraReports.UI.SortingSummaryFunction.Median"},{value:"Metro",displayValue:"Metro",localizationId:"ChartStringId.PltMetro"},{value:"Module",displayValue:"Module",localizationId:"DevExpress.XtraReports.UI.XRBarCode.Module"},{value:"Opulent",displayValue:"Opulent",localizationId:"ChartStringId.PltOpulent"},{value:"Oriel",displayValue:"Oriel",localizationId:"ChartStringId.PltOriel"},{value:"Origin",displayValue:"Origin",localizationId:"ChartStringId.PltOrigin"},{value:"Paper",displayValue:"Paper",localizationId:"ChartStringId.PltPaper"},{value:"Solstice",displayValue:"Solstice",localizationId:"ChartStringId.PltSolstice"},{value:"Technic",displayValue:"Technic",localizationId:"ChartStringId.PltTechnic"},{value:"Trek",displayValue:"Trek",localizationId:"ChartStringId.PltTrek"},{value:"Urban",displayValue:"Urban",localizationId:"ChartStringId.PltUrban"},{value:"Verve",displayValue:"Verve",localizationId:"ChartStringId.PltVerve"},{value:"Office 2013",displayValue:"Office 2013",localizationId:"ChartStringId.PltOffice2013"},{value:"Blue Warm",displayValue:"Blue Warm",localizationId:"ChartStringId.PltBlueWarm"},{value:"Blue",displayValue:"Blue",localizationId:"ChartStringId.PltBlue"},{value:"Blue II",displayValue:"Blue II",localizationId:"ChartStringId.PltBlueII"},{value:"Blue Green",displayValue:"Blue Green",localizationId:"ChartStringId.PltBlueGreen"},{value:"Green",displayValue:"Green",localizationId:"ChartStringId.PltGreen"},{value:"Green Yellow",displayValue:"Green Yellow",localizationId:"ChartStringId.PltGreenYellow"},{value:"Yellow",displayValue:"Yellow",localizationId:"ChartStringId.PltYellow"},{value:"Yellow Orange",displayValue:"Yellow Orange",localizationId:"ChartStringId.PltYellowOrange"},{value:"Orange",displayValue:"Orange",localizationId:"ChartStringId.PltOrange"},{value:"Orange Red",displayValue:"Orange Red",localizationId:"ChartStringId.PltOrangeRed"},{value:"Red Orange",displayValue:"Red Orange",localizationId:"ChartStringId.PltRedOrange"},{value:"Red",displayValue:"Red",localizationId:"ChartStringId.PltRed"},{value:"Red Violet",displayValue:"Red Violet",localizationId:"ChartStringId.PltRedViolet"},{value:"Violet",displayValue:"Violet",localizationId:"ChartStringId.PltViolet"},{value:"Violet II",displayValue:"Violet II",localizationId:"ChartStringId.PltVioletII"},{value:"Marquee",displayValue:"Marquee",localizationId:"ChartStringId.PltMarquee"},{value:"Slipstream",displayValue:"Slipstream",localizationId:"ChartStringId.PltSlipstream"}],localizationId:"DevExpress.XtraReports.UI.XRChart.PaletteName"},Zr={propertyName:"backImage",modelName:"BackImage",displayName:"Background Image",localizationId:"DevExpress.XtraCharts.BackgroundImage",editor:K.editorTemplates.getEditor("objecteditor"),info:[{propertyName:"tag",modelName:"@Tag",displayName:"Tag",localizationId:"DevExpress.XtraCharts.ChartElement.Tag",editor:K.editorTemplates.getEditor("text")},{propertyName:"stretch",modelName:"@Stretch",displayName:"Stretch",localizationId:"DevExpress.XtraCharts.BackgroundImage.Stretch",editor:K.editorTemplates.getEditor("bool"),defaultVal:"false",from:L.parseBool},{propertyName:"image",modelName:"@Image",displayName:"Image",localizationId:"DevExpress.XtraCharts.ChartImage.Image",editor:K.editorTemplates.getEditor("image")}]};class eo extends Q.SerializableModel{constructor(e,t,a){super(e,a,ro),this.series=t,this.arrayValueDataMemberNames=t.valueDataMembers().arrayValueDataMemberNames,this._assignValueDataMembers(this,this.valuesSerializable(),null),this._disposables.push(this.series.valueDataMembers.subscribe((e=>{this.arrayValueDataMemberNames=e.arrayValueDataMemberNames}))),this._disposables.push(this.series.valueScaleType.subscribe((e=>{this._assignValueDataMembers(this,null,null)}))),this.valuesSerializable=A.computed((()=>this.arrayValueDataMemberNames.map((e=>this[e])))),this.argumentSerializableInfo=A.computed((()=>{const e=t.argumentScaleType();let a=K.editorTemplates.getEditor("text");return"Numerical"===e?a=K.editorTemplates.getEditor("numeric"):"DateTime"===e&&(a=K.editorTemplates.getEditor("date")),k.extend(!0,{},ao,{editor:a})})),this.getInfo=()=>{const e=this.series&&this.series.valueDataMembers();if(!e)return ro;const t=e.getInfo().map((e=>k.extend({},e,{editor:this.isDateType?K.editorTemplates.getEditor("date"):K.editorTemplates.getEditor("numeric")}))),a=k.extend(!0,[],ro);return a.splice(a.indexOf(a.filter((e=>"argumentSerializable"===e.propertyName))[0]),1,this.argumentSerializableInfo()),a.concat(t)}}static getSerializationValue(e,t){return e.map((e=>{const a=A.unwrap(e);return a instanceof Date?t(a):a}))}static createNew(e){return new eo(eo.getPointModelBySeries(e),e,new L.ModelSerializer)}static getPointModelBySeries(e){let t=eo.getDefaultValueByScaleType(e.valueScaleType());t=t instanceof Date?(0,B.formatDate)(t):t.toString();for(let a=1;a<e.valueDataMembers().arrayValueDataMemberNames.length;a++)t+=eo.separator+t;const a={"@ValuesSerializable":t},i=eo.getDefaultValueByScaleType(e.argumentScaleType());return null!=i&&(a["@ArgumentSerializable"]=i),a}static getDefaultValueByScaleType(e){return"Numerical"===e?0:"DateTime"===e?new Date((new Date).setHours(0,0,0,0)):null}static valueToJsonObject(e){const t=eo.getSerializationValue(e,O);return t instanceof Array?t.join(eo.separator):t}_valueDataMembersToString(e,t){const a=[];return e.arrayValueDataMemberNames.forEach((i=>{t&&a.push(O(e[i]()||"")),a.push(e[i]()||"")})),a.join(eo.separator)}_assignValueDataMembers(e,t,a){const i=(t||"").split(eo.separator);e.arrayValueDataMemberNames.forEach(((t,r)=>{let o;this.isDateType&&i[r]?(o=(0,B.parseDate)(i[r]||a,!1,"MM/dd/yyyy"),o||(o=F(i[r]||a))):o=i[r]||a,e[t]?e[t](o):e[t]=A.observable(o)}))}get isDateType(){return"DateTime"===this.series.valueScaleType()}}eo.separator=";";const to={propertyName:"valuesSerializable",modelName:"@ValuesSerializable",from:e=>A.observable(e),toJsonObject:eo.valueToJsonObject},ao={propertyName:"argumentSerializable",modelName:"@ArgumentSerializable",displayName:"Argument",localizationId:"DevExpress.XtraCharts.SeriesPoint.Argument",editor:K.editorTemplates.getEditor("text")},io={propertyName:"colorSerializable",modelName:"@ColorSerializable",displayName:"Color",localizationId:"DevExpress.XtraCharts.SeriesPoint.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor")},ro=[ao,to,io],oo=[{propertyName:"value",displayName:"Value",editor:Z.getEditor("valueDataMember"),localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}],so=[{propertyName:"value",displayName:"Value",editor:Z.getEditor("valueDataMember"),localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"},{propertyName:"weight",displayName:"Weight",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraPivotGrid.PivotKPIType.Weight"}],no=[{propertyName:"value1",displayName:"Value 1",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.ValueLevel.Value_1"},{propertyName:"value2",displayName:"Value 2",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.ValueLevel.Value_2"}],lo=[{propertyName:"low",displayName:"Low",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.StockLevel.Low"},{propertyName:"high",displayName:"High",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.StockLevel.High"},{propertyName:"open",displayName:"Open",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.StockLevel.Open"},{propertyName:"close",displayName:"Close",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.StockLevel.Close"}];class co extends L.Disposable{constructor(e,t){super(),this._separator=";",this._assignValueDataMembers(this,e),t&&(this.valueScaleType=t,this._disposables.push(this.valueScaleType.subscribe((e=>{this._assignValueDataMembers(this,"")}))))}_assignValueDataMembers(e,t){const a=(t||"").split(this._separator);e.arrayValueDataMemberNames.forEach(((t,i)=>{e[t]?e[t](a[i]||""):e[t]=A.observable(a[i]||"")}))}_valueDataMembersToString(e){const t=[];return e.arrayValueDataMemberNames.forEach((a=>{t.push(e[a]()||"")})),t.join(this._separator)}toString(){let e=!1;return this.arrayValueDataMemberNames.forEach((t=>{e=e||this[t]()})),e?this._valueDataMembersToString(this):null}get arrayValueDataMemberNames(){return[]}}class po extends co{static from(e){return new po(e,null)}static toJson(e){return e.toString()||{}}getInfo(){return oo}get arrayValueDataMemberNames(){return["value"]}}class uo extends Q.SerializableModel{constructor(e,t){super(e,t,yi),this.typeNameSerializable&&this._disposables.push(this.typeNameSerializable.subscribe((e=>{this.seriesLabelPosition(null)})))}static from(e,t){return new uo(e||{},t)}static toJson(e,t,a){return t.serialize(e,yi,a)}}const mo={propertyName:"label",modelName:"Label",displayName:"Label",info:yi,defaultVal:{},from:uo.from,toJsonObject:uo.toJson,editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRLabel"};class ho extends co{getInfo(){return lo}get arrayValueDataMemberNames(){return["low","high","open","close"]}}class go extends co{getInfo(){return no}get arrayValueDataMemberNames(){return["value1","value2"]}}class xo extends co{getInfo(){return so}get arrayValueDataMemberNames(){return["value","weight"]}}const vo={BubbleSeriesView:xo,OverlappedRangeBarSeriesView:go,SideBySideRangeBarSeriesView:go,RangeAreaSeriesView:go,RangeArea3DSeriesView:go,OverlappedGanttSeriesView:go,SideBySideGanttSeriesView:go,StockSeriesView:ho,CandleStickSeriesView:ho},fo={SideBySideBarSeriesView:"SideBySideBarSeriesLabel",StackedBarSeriesView:"StackedBarSeriesLabel",FullStackedBarSeriesView:"FullStackedBarSeriesLabel",SideBySideStackedBarSeriesView:"StackedBarSeriesLabel",SideBySideFullStackedBarSeriesView:"FullStackedBarSeriesLabel",WaterfallSeriesView:"WaterfallSeriesLabel",SideBySideBar3DSeriesView:"Bar3DSeriesLabel",StackedBar3DSeriesView:"StackedBar3DSeriesLabel",FullStackedBar3DSeriesView:"FullStackedBar3DSeriesLabel",SideBySideStackedBar3DSeriesView:"StackedBar3DSeriesLabel",SideBySideFullStackedBar3DSeriesView:"FullStackedBar3DSeriesLabel",ManhattanBarSeriesView:"Bar3DSeriesLabel",PointSeriesView:"PointSeriesLabel",BubbleSeriesView:"BubbleSeriesLabel",LineSeriesView:"PointSeriesLabel",StackedLineSeriesView:"StackedLineSeriesLabel",FullStackedLineSeriesView:"StackedLineSeriesLabel",StepLineSeriesView:"PointSeriesLabel",SplineSeriesView:"PointSeriesLabel",ScatterLineSeriesView:"PointSeriesLabel",SwiftPlotSeriesView:null,Line3DSeriesView:"Line3DSeriesLabel",StackedLine3DSeriesView:"StackedLine3DSeriesLabel",FullStackedLine3DSeriesView:"StackedLine3DSeriesLabel",StepLine3DSeriesView:"Line3DSeriesLabel",Spline3DSeriesView:"Line3DSeriesLabel",PieSeriesView:"PieSeriesLabel",DoughnutSeriesView:"DoughnutSeriesLabel",NestedDoughnutSeriesView:"NestedDoughnutSeriesLabel",Pie3DSeriesView:"Pie3DSeriesLabel",Doughnut3DSeriesView:"Doughnut3DSeriesLabel",FunnelSeriesView:"FunnelSeriesLabel",Funnel3DSeriesView:"Funnel3DSeriesLabel",AreaSeriesView:"PointSeriesLabel",StackedAreaSeriesView:"PointSeriesLabel",FullStackedAreaSeriesView:"FullStackedAreaSeriesLabel",StepAreaSeriesView:"PointSeriesLabel",SplineAreaSeriesView:"PointSeriesLabel",StackedSplineAreaSeriesView:"PointSeriesLabel",FullStackedSplineAreaSeriesView:"FullStackedSplineAreaSeriesLabel",Area3DSeriesView:"Area3DSeriesLabel",StackedArea3DSeriesView:"StackedArea3DSeriesLabel",FullStackedArea3DSeriesView:"FullStackedArea3DSeriesLabel",StepArea3DSeriesView:"Area3DSeriesLabel",SplineArea3DSeriesView:"Area3DSeriesLabel",StackedSplineArea3DSeriesView:"StackedArea3DSeriesLabel",FullStackedSplineArea3DSeriesView:"FullStackedArea3DSeriesLabel",OverlappedRangeBarSeriesView:"RangeBarSeriesLabel",SideBySideRangeBarSeriesView:"RangeBarSeriesLabel",RangeAreaSeriesView:"RangeAreaSeriesLabel",RangeArea3DSeriesView:"RangeArea3DSeriesLabel",RadarPointSeriesView:"RadarPointSeriesLabel",RadarLineSeriesView:"RadarPointSeriesLabel",RadarAreaSeriesView:"RadarPointSeriesLabel",PolarPointSeriesView:"RadarPointSeriesLabel",PolarLineSeriesView:"RadarPointSeriesLabel",PolarAreaSeriesView:"RadarPointSeriesLabel",StockSeriesView:"StockSeriesLabel",CandleStickSeriesView:"StockSeriesLabel",OverlappedGanttSeriesView:"RangeBarSeriesLabel",SideBySideGanttSeriesView:"RangeBarSeriesLabel"},bo=["PolarPointSeriesView","PolarLineSeriesView","PolarAreaSeriesView"];class yo extends ae{constructor(e,t,a){super(e,t,a,Do),this._disposables.push(this.name=A.pureComputed({read:()=>this.text?this.text():"title",write:e=>{this.text(e)}}))}static from(e,t){return new yo(e||{},null,t)}getExpressionProperties(){return["Text"]}}function So(e){const t=t=>{t["@Text"]=t["@Name"]=(0,B.getUniqueName)(e().map((e=>e.name())),yo.prefix),e().innerActions[0].closePopover(),e.push(new yo(t,e))},a=[{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-top_left",imageTemplateName:"dxrd-svg-titles-top_left",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Alignment":"Near"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-top_center",imageTemplateName:"dxrd-svg-titles-top_center",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Alignment":"Center"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-top_right",imageTemplateName:"dxrd-svg-titles-top_right",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Alignment":"Far"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-right_top_vertical",imageTemplateName:"dxrd-svg-titles-right_top_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Right","@Alignment":"Near"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-right_center_vertical",imageTemplateName:"dxrd-svg-titles-right_center_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Right","@Alignment":"Center"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-right_bottom_vertical",imageTemplateName:"dxrd-svg-titles-right_bottom_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Right","@Alignment":"Far"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-bottom_left",imageTemplateName:"dxrd-svg-titles-bottom_left",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Bottom","@Alignment":"Near"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-bottom_center",imageTemplateName:"dxrd-svg-titles-bottom_center",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Bottom","@Alignment":"Center"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-bottom_right",imageTemplateName:"dxrd-svg-titles-bottom_right",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Bottom","@Alignment":"Far"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-left_bottom_vertical",imageTemplateName:"dxrd-svg-titles-left_bottom_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Left","@Alignment":"Near"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-left_center_vertical",imageTemplateName:"dxrd-svg-titles-left_center_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Left","@Alignment":"Center"})}},{text:(0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),imageClassName:"dxrd-image-chart-title-left_top_vertical",imageTemplateName:"dxrd-svg-titles-left_top_vertical",disabled:A.observable(!1),visible:!0,clickAction:()=>{t({"@Dock":"Left","@Alignment":"Far"})}}];e().innerActions=X((0,L.getLocalization)("Add","ChartStringId.MenuItemAdd"),"addtitles-action_"+(0,B.guid)(),a)}yo.prefix="Title";const Co={propertyName:"dock",modelName:"@Dock",displayName:"Dock",defaultVal:"Top",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Top"},{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.XtraReports.UI.XRDockStyle.Bottom"},{value:"Left",displayValue:"Left",localizationId:"DevExpress.XtraReports.UI.XRControl.Left"},{value:"Right",displayValue:"Right",localizationId:"DevExpress.XtraCharts.RectangleIndents.Right"}],localizationId:"DevExpress.XtraCharts.DockableTitle.Dock"},Do=[{propertyName:"text",modelName:"@Text",localizable:!0,displayName:"Text",editor:K.editorTemplates.getEditor("text"),localizationId:"ASPxReportsStringId.ExportName_txt"},Pe,Co,Se,be,Xe],_o={propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.AverageTrueRange.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},Io={propertyName:"name",modelName:"@Name",displayName:"Name",localizationId:"DevExpress.XtraCharts.Indicator.Name",editor:K.editorTemplates.getEditor("text")},Po={propertyName:"legendText",modelName:"@LegendText",displayName:"LegendText",localizable:!0,localizationId:"DevExpress.XtraCharts.Indicator.LegendText",editor:K.editorTemplates.getEditor("text")},To={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.Indicator.Color",editor:K.editorTemplates.getEditor("customColorEditor")},zo={propertyName:"visible",modelName:"@Visible",displayName:"Visible",localizationId:"DevExpress.XtraCharts.Indicator.Visible",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},No={propertyName:"checkedInLegend",modelName:"@CheckedInLegend",displayName:"CheckedInLegend",localizationId:"DevExpress.XtraCharts.Indicator.CheckedInLegend",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Eo={propertyName:"checkableInLegend",modelName:"@CheckableInLegend",displayName:"CheckableInLegend",localizationId:"DevExpress.XtraCharts.Indicator.CheckableInLegend",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},wo={propertyName:"showInLegend",modelName:"@ShowInLegend",displayName:"ShowInLegend",localizationId:"DevExpress.XtraCharts.Indicator.ShowInLegend",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},Ro={propertyName:"crosshairEnabled",modelName:"@CrosshairEnabled",displayName:"CrosshairEnabled",localizationId:"DevExpress.XtraCharts.Indicator.CrosshairEnabled",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Default",valuesArray:[{displayValue:"True",value:"True"},{displayValue:"False",value:"False"},{displayValue:"Default",value:"Default"}]},Bo={propertyName:"crosshairLabelVisibility",modelName:"@CrosshairLabelVisibility",displayName:"CrosshairLabelVisibility",localizationId:"DevExpress.XtraCharts.Indicator.CrosshairLabelVisibility",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Default",valuesArray:[{displayValue:"True",value:"True"},{displayValue:"False",value:"False"},{displayValue:"Default",value:"Default"}]},Vo={propertyName:"crosshairLabelPattern",modelName:"@CrosshairLabelPattern",displayName:"CrosshairLabelPattern",localizationId:"DevExpress.XtraCharts.Indicator.CrosshairLabelPattern",editor:K.editorTemplates.getEditor("text")},Mo={propertyName:"crosshairContentShowMode",modelName:"@CrosshairContentShowMode",displayName:"CrosshairContentShowMode",localizationId:"DevExpress.XtraCharts.Indicator.CrosshairContentShowMode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Default",valuesArray:[{displayValue:"Default",value:"Default"},{displayValue:"Label",value:"Label"},{displayValue:"Legend",value:"Legend"}]},Ao={propertyName:"crosshairEmptyValueLegendText",modelName:"@CrosshairEmptyValueLegendText",displayName:"CrosshairEmptyValueLegendText",localizationId:"DevExpress.XtraCharts.Indicator.CrosshairEmptyValueLegendText",editor:K.editorTemplates.getEditor("text")},Lo={propertyName:"tag",modelName:"@Tag",displayName:"Tag",localizationId:"DevExpress.XtraCharts.ChartElement.Tag",editor:K.editorTemplates.getEditor("objecteditor"),visible:!1},$o=[_o,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],Fo=[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.BollingerBands.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:20},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.BollingerBands.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},{propertyName:"bandsColor",modelName:"@BandsColor",displayName:"BandsColor",localizationId:"DevExpress.XtraCharts.BollingerBands.BandsColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"standardDeviationMultiplier",modelName:"@StandardDeviationMultiplier",displayName:"StandardDeviationMultiplier",localizationId:"DevExpress.XtraCharts.BollingerBands.StandardDeviationMultiplier",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],Oo=[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.ChaikinsVolatility.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:10},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],Xo=[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.CommodityChannelIndex.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],Ho={propertyName:"negativeErrorDataMember",modelName:"@NegativeErrorDataMember",displayName:"NegativeErrorDataMember",localizationId:"DevExpress.XtraCharts.DataSourceBasedErrorBars.NegativeErrorDataMember",editor:K.editorTemplates.getEditor("text")},Wo={propertyName:"positiveErrorDataMember",modelName:"@PositiveErrorDataMember",displayName:"PositiveErrorDataMember",localizationId:"DevExpress.XtraCharts.DataSourceBasedErrorBars.PositiveErrorDataMember",editor:K.editorTemplates.getEditor("text")},Uo={propertyName:"endStyle",modelName:"@EndStyle",displayName:"EndStyle",localizationId:"DevExpress.XtraCharts.ErrorBars.EndStyle",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Cap",valuesArray:[{displayValue:"Cap",value:"Cap"},{displayValue:"NoCap",value:"NoCap"}]},Go={propertyName:"direction",modelName:"@Direction",displayName:"Direction",localizationId:"DevExpress.XtraCharts.ErrorBars.Direction",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Both",valuesArray:[{displayValue:"Both",value:"Both"},{displayValue:"Minus",value:"Minus"},{displayValue:"Plus",value:"Plus"}]},jo=[Ho,Wo,Uo,Go,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],qo=[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.DetrendedPriceOscillator.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:20},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.DetrendedPriceOscillator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],Jo={propertyName:"kind",modelName:"@Kind",displayName:"Kind",localizationId:"DevExpress.XtraCharts.MovingAverage.Kind",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"MovingAverage",valuesArray:[{displayValue:"MovingAverage",value:"MovingAverage"},{displayValue:"Envelope",value:"Envelope"},{displayValue:"MovingAverageAndEnvelope",value:"MovingAverageAndEnvelope"}]},Ko={propertyName:"envelopePercent",modelName:"@EnvelopePercent",displayName:"EnvelopePercent",localizationId:"DevExpress.XtraCharts.MovingAverage.EnvelopePercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:3},Qo={propertyName:"envelopeColor",modelName:"@EnvelopeColor",displayName:"EnvelopeColor",localizationId:"DevExpress.XtraCharts.MovingAverage.EnvelopeColor",editor:K.editorTemplates.getEditor("customColorEditor")},Yo={AverageTrueRange:$o,BollingerBands:Fo,ChaikinsVolatility:Oo,CommodityChannelIndex:Xo,DataSourceBasedErrorBars:jo,DetrendedPriceOscillator:qo,ExponentialMovingAverage:[Jo,Ko,Qo,{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.SubsetBasedIndicator.PointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],FibonacciIndicator:[{propertyName:"baseLevelColor",modelName:"@BaseLevelColor",displayName:"BaseLevelColor",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.BaseLevelColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"showLevel0",modelName:"@ShowLevel0",displayName:"ShowLevel0",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.ShowLevel0",editor:K.editorTemplates.getEditor("bool")},{propertyName:"showLevel100",modelName:"@ShowLevel100",displayName:"ShowLevel100",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.ShowLevel100",editor:K.editorTemplates.getEditor("bool")},{propertyName:"showLevel23_6",modelName:"@ShowLevel23_6",displayName:"ShowLevel23_6",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.ShowLevel23_6",editor:K.editorTemplates.getEditor("bool")},{propertyName:"showLevel76_4",modelName:"@ShowLevel76_4",displayName:"ShowLevel76_4",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.ShowLevel76_4",editor:K.editorTemplates.getEditor("bool")},{propertyName:"showAdditionalLevels",modelName:"@ShowAdditionalLevels",displayName:"ShowAdditionalLevels",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.ShowAdditionalLevels",editor:K.editorTemplates.getEditor("bool")},{propertyName:"kind",modelName:"@Kind",displayName:"Kind",localizationId:"DevExpress.XtraCharts.FibonacciIndicator.Kind",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"FibonacciArcs",valuesArray:[{displayValue:"FibonacciArcs",value:"FibonacciArcs"},{displayValue:"FibonacciFans",value:"FibonacciFans"},{displayValue:"FibonacciRetracement",value:"FibonacciRetracement"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],FixedValueErrorBars:[{propertyName:"negativeError",modelName:"@NegativeError",displayName:"NegativeError",localizationId:"DevExpress.XtraCharts.FixedValueErrorBars.NegativeError",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1},{propertyName:"positiveError",modelName:"@PositiveError",displayName:"PositiveError",localizationId:"DevExpress.XtraCharts.FixedValueErrorBars.PositiveError",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1},Uo,Go,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],MassIndex:[{propertyName:"movingAveragePointsCount",modelName:"@MovingAveragePointsCount",displayName:"MovingAveragePointsCount",localizationId:"DevExpress.XtraCharts.MassIndex.MovingAveragePointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"sumPointsCount",modelName:"@SumPointsCount",displayName:"SumPointsCount",localizationId:"DevExpress.XtraCharts.MassIndex.SumPointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:25},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],MedianPrice:[Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],MovingAverageConvergenceDivergence:[{propertyName:"longPeriod",modelName:"@LongPeriod",displayName:"LongPeriod",localizationId:"DevExpress.XtraCharts.MovingAverageConvergenceDivergence.LongPeriod",editor:K.editorTemplates.getEditor("numeric"),defaultVal:26},{propertyName:"shortPeriod",modelName:"@ShortPeriod",displayName:"ShortPeriod",localizationId:"DevExpress.XtraCharts.MovingAverageConvergenceDivergence.ShortPeriod",editor:K.editorTemplates.getEditor("numeric"),defaultVal:12},{propertyName:"signalSmoothingPeriod",modelName:"@SignalSmoothingPeriod",displayName:"SignalSmoothingPeriod",localizationId:"DevExpress.XtraCharts.MovingAverageConvergenceDivergence.SignalSmoothingPeriod",editor:K.editorTemplates.getEditor("numeric"),defaultVal:9},{propertyName:"signalLineColor",modelName:"@SignalLineColor",displayName:"SignalLineColor",localizationId:"DevExpress.XtraCharts.MovingAverageConvergenceDivergence.SignalLineColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.MovingAverageConvergenceDivergence.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],PercentageErrorBars:[{propertyName:"percent",modelName:"@Percent",displayName:"Percent",localizationId:"DevExpress.XtraCharts.PercentageErrorBars.Percent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5},Uo,Go,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],RateOfChange:[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.RateOfChange.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.RateOfChange.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],RegressionLine:[{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],RelativeStrengthIndex:[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.RelativeStrengthIndex.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.RelativeStrengthIndex.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],SimpleMovingAverage:[Jo,Ko,Qo,{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.SubsetBasedIndicator.PointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],StandardDeviation:[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.StandardDeviation.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.StandardDeviation.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],StandardDeviationErrorBars:[{propertyName:"multiplier",modelName:"@Multiplier",displayName:"Multiplier",localizationId:"DevExpress.XtraCharts.StandardDeviationErrorBars.Multiplier",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1},Uo,Go,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],StandardErrorBars:[Uo,Go,Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],TrendLine:[{propertyName:"extrapolateToInfinity",modelName:"@ExtrapolateToInfinity",displayName:"ExtrapolateToInfinity",localizationId:"DevExpress.XtraCharts.TrendLine.ExtrapolateToInfinity",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],TriangularMovingAverage:[Jo,Ko,Qo,{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.SubsetBasedIndicator.PointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],TripleExponentialMovingAverageTema:[Jo,Ko,Qo,{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.SubsetBasedIndicator.PointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],TripleExponentialMovingAverageTrix:[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.TripleExponentialMovingAverageTrix.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:15},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.TripleExponentialMovingAverageTrix.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Close",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],TypicalPrice:[Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],WeightedClose:[Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],WeightedMovingAverage:[Jo,Ko,Qo,{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.SubsetBasedIndicator.PointsCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"valueLevel",modelName:"@ValueLevel",displayName:"ValueLevel",localizationId:"DevExpress.XtraCharts.SingleLevelIndicator.ValueLevel",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",valuesArray:[{displayValue:"Value",value:"Value"},{displayValue:"Value_1",value:"Value_1"},{displayValue:"Value_2",value:"Value_2"},{displayValue:"Low",value:"Low"},{displayValue:"High",value:"High"},{displayValue:"Open",value:"Open"},{displayValue:"Close",value:"Close"},{displayValue:"Weight",value:"Weight"},{displayValue:"BoxPlotMin",value:"BoxPlotMin"},{displayValue:"BoxPlotQuartile_1",value:"BoxPlotQuartile_1"},{displayValue:"BoxPlotMedian",value:"BoxPlotMedian"},{displayValue:"BoxPlotQuartile_3",value:"BoxPlotQuartile_3"},{displayValue:"BoxPlotMax",value:"BoxPlotMax"},{displayValue:"BoxPlotMean",value:"BoxPlotMean"}]},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo],WilliamsR:[{propertyName:"pointsCount",modelName:"@PointsCount",displayName:"PointsCount",localizationId:"DevExpress.XtraCharts.WilliamsR.PointsCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:14},Io,Po,To,zo,No,Eo,wo,Ro,Bo,Vo,Mo,Ao,Lo]};class Zo extends ae{constructor(e,t,a){super(e,t,a,Yo[e["@TypeNameSerializable"]])}getExpressionProperties(){return["LegendText"]}}function es(e){const t=Object.keys(Yo).map((t=>{const a=(0,B.getLocalization)(t,"ChartStringId.Ind"+t);return{text:t,display:a,clickAction:()=>((t,a)=>{t["@Name"]=(0,B.getUniqueName)(e().map((e=>e.name())),a),e().innerActions[0].closePopover(),e.push(new Zo(t,e))})({"@TypeNameSerializable":t},a)}})),a="addindicators-action_"+(0,B.guid)();e().innerActions=X((0,B.getLocalization)("Add","ChartStringId.MenuItemAdd"),a,t,"dxcd-indicators-list")}Zo.prefix="indicator";const ts={propertyName:"paneName",modelName:"@PaneName",displayName:"Pane",localizationId:"DevExpress.XtraCharts.XYDiagramPane",defaultVal:(0,L.getLocalization)("Default Pane","ChartStringId.DefaultPaneName"),editor:Z.getEditor("panes")},as={propertyName:"axisXName",modelName:"@AxisXName",displayName:"AxisX",localizationId:"DevExpress.XtraCharts.GanttAxisX",defaultVal:(0,L.getLocalization)("Primary AxisX","ChartStringId.PrimaryAxisXName"),editor:Z.getEditor("axisX")},is={propertyName:"axisYName",modelName:"@AxisYName",displayName:"AxisY",localizationId:"DevExpress.XtraCharts.SeparatePaneIndicator.AxisY",defaultVal:(0,L.getLocalization)("Primary AxisY","ChartStringId.PrimaryAxisYName"),editor:Z.getEditor("axisY")},rs=[{type:"custom",validationCallback:e=>e.value%2!=0,get message(){return(0,L.getLocalization)("The arrow width should be always odd and greater than 0","ChartStringId.MsgIncorrectArrowWidth")}}],os={propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.FullStackedStepAreaSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},ss={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.AreaSeriesViewBase.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"PolygonGradientFillOptions"),toJsonObject:Si.toJson},ns={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.AreaSeriesViewBase.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},ls={propertyName:"enableAntialiasing",modelName:"@EnableAntialiasing",displayName:"Enable Antialiasing",localizationId:"DevExpress.XtraCharts.LineSeriesView.EnableAntialiasing",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},ds={propertyName:"size",modelName:"@Size",displayName:"Size",localizationId:"DevExpress.XtraCharts.Shadow.Size",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,editorOptions:{min:1}},cs={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.Shadow.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"79,0,0,0"},ps={propertyName:"visible",modelName:"@Visible",displayName:"Visible",localizationId:"DevExpress.XtraCharts.Shadow.Visible",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},us=[ds,cs,ps,ge],ms={propertyName:"shadow",modelName:"Shadow",displayName:"Shadow",localizationId:"DevExpress.XtraCharts.XYDiagramSeriesViewBase.Shadow",editor:K.editorTemplates.getEditor("objecteditor"),info:us},hs={propertyName:"aggregateFunction",modelName:"@AggregateFunction",displayName:"Aggregate Function",localizationId:"DevExpress.XtraCharts.XYDiagram2DSeriesViewBase.AggregateFunction",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Average",displayValue:"Average",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average"},{value:"Minimum",displayValue:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},{value:"Maximum",displayValue:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum"},{value:"Sum",displayValue:"Sum",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum"},{value:"Count",displayValue:"Count",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},{value:"Financial",displayValue:"Financial",localizationId:"DevExpress.XtraCharts.SeriesAggregateFunction.Financial"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},gs={propertyName:"indicators",modelName:"Indicators",displayName:"Indicators",localizationId:"DevExpress.XtraCharts.XYDiagram2DSeriesViewBase.Indicators",array:!0,from:(e,t)=>Wa(e,((e,a)=>new Zo(e,a,t)),Zo.prefix)},xs={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.SeriesViewBase.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},vs=[os,ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],fs={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.Marker.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},bs={propertyName:"size",modelName:"@Size",displayName:"Size",localizationId:"DevExpress.XtraCharts.SimpleMarker.Size",editor:K.editorTemplates.getEditor("numeric"),defaultVal:10,editorOptions:{min:1}},ys={propertyName:"kind",modelName:"@Kind",displayName:"Kind",localizationId:"DevExpress.XtraCharts.MarkerBase.Kind",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Square",displayValue:"Square",localizationId:"DevExpress.XtraCharts.MarkerKind.Square"},{value:"Diamond",displayValue:"Diamond",localizationId:"DevExpress.XtraCharts.MarkerKind.Diamond"},{value:"Triangle",displayValue:"Triangle",localizationId:"DevExpress.XtraCharts.MarkerKind.Triangle"},{value:"InvertedTriangle",displayValue:"InvertedTriangle"},{value:"Circle",displayValue:"Circle",localizationId:"DevExpress.XtraCharts.CircleEasingFunction"},{value:"Plus",displayValue:"Plus",localizationId:"DevExpress.XtraCharts.MarkerKind.Plus"},{value:"Cross",displayValue:"Cross",localizationId:"DevExpress.XtraCharts.MarkerKind.Cross"},{value:"Star",displayValue:"Star",localizationId:"DevExpress.XtraCharts.MarkerKind.Star"},{value:"Pentagon",displayValue:"Pentagon",localizationId:"DevExpress.XtraCharts.MarkerKind.Pentagon"},{value:"Hexagon",displayValue:"Hexagon",localizationId:"DevExpress.XtraCharts.MarkerKind.Hexagon"}],defaultVal:"Circle"},Ss={propertyName:"starPointCount",modelName:"@StarPointCount",displayName:"Star Point Count",localizationId:"DevExpress.XtraCharts.MarkerBase.StarPointCount",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5,editorOptions:{min:3,max:100}},Cs={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.MarkerBase.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"PolygonGradientFillOptions"),toJsonObject:Si.toJson},Ds={propertyName:"borderVisible",modelName:"@BorderVisible",displayName:"Border Visible",localizationId:"DevExpress.XtraCharts.MarkerBase.BorderVisible",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},_s={propertyName:"borderColor",modelName:"@BorderColor",displayName:"Border Color",localizationId:"DevExpress.XtraCharts.MarkerBase.BorderColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},Is=[fs,bs,ys,Ss,Cs,Ds,_s,ge],Ps={propertyName:"marker1",modelName:"Marker1",displayName:"Marker 1",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Marker1",editor:K.editorTemplates.getEditor("objecteditor"),info:Is},Ts=[fs,bs,ys,Ss,Cs,Ds,_s,ge],zs={propertyName:"marker2",modelName:"Marker2",displayName:"Marker 2",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Marker2",editor:K.editorTemplates.getEditor("objecteditor"),info:Ts},Ns={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.BorderBase.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},Es={propertyName:"thickness",modelName:"@Thickness",displayName:"Thickness",localizationId:"DevExpress.XtraCharts.BorderBase.Thickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{min:1}},ws={propertyName:"visibility",modelName:"@Visibility",displayName:"Visibility",localizationId:"DevExpress.XtraCharts.BorderBase.Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},Rs=[Ns,Es,ws,ge],Bs={propertyName:"border1",modelName:"Border1",displayName:"Border 1",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Border1",editor:K.editorTemplates.getEditor("objecteditor"),info:Rs},Vs=[Ns,Es,ws,ge],Ms={propertyName:"border2",modelName:"Border2",displayName:"Border 2",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Border2",editor:K.editorTemplates.getEditor("objecteditor"),info:Vs},ks={propertyName:"marker1Visibility",modelName:"@Marker1Visibility",displayName:"Marker 1 Visibility",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Marker1Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},As={propertyName:"marker2Visibility",modelName:"@Marker2Visibility",displayName:"Marker 2 Visibility",localizationId:"DevExpress.XtraCharts.RadarRangeAreaSeriesView.Marker2Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},Ls={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.RadarAreaSeriesView.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"PolygonGradientFillOptions"),toJsonObject:Si.toJson},$s={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.RadarAreaSeriesView.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:135},Fs={propertyName:"aggregateFunction",modelName:"@AggregateFunction",displayName:"Aggregate Function",localizationId:"DevExpress.XtraCharts.RadarSeriesViewBase.AggregateFunction",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Average",displayValue:"Average",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average"},{value:"Minimum",displayValue:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},{value:"Maximum",displayValue:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum"},{value:"Sum",displayValue:"Sum",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum"},{value:"Count",displayValue:"Count",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},{value:"Financial",displayValue:"Financial",localizationId:"DevExpress.XtraCharts.SeriesAggregateFunction.Financial"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},Os={propertyName:"shadow",modelName:"Shadow",displayName:"Shadow",localizationId:"DevExpress.XtraCharts.RadarSeriesViewBase.Shadow",editor:K.editorTemplates.getEditor("objecteditor"),info:us},Xs={propertyName:"colorEach",modelName:"@ColorEach",displayName:"Color Each",localizationId:"DevExpress.XtraCharts.RadarSeriesViewBase.ColorEach",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},Hs=[Ps,zs,Bs,Ms,ks,As,Ls,$s,Fs,Os,Xs,xs,ge],Ws=[Ps,zs,Bs,Ms,ks,As,Ls,$s,Fs,Os,Xs,xs,ge],Us={propertyName:"areaWidth",modelName:"@AreaWidth",displayName:"Area Width",localizationId:"DevExpress.XtraCharts.Area3DSeriesView.AreaWidth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.6,editorOptions:{min:1}},Gs={propertyName:"aggregateFunction",modelName:"@AggregateFunction",displayName:"Aggregate Function",localizationId:"DevExpress.XtraCharts.XYDiagram3DSeriesViewBase.AggregateFunction",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Average",displayValue:"Average",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average"},{value:"Minimum",displayValue:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},{value:"Maximum",displayValue:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum"},{value:"Sum",displayValue:"Sum",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum"},{value:"Count",displayValue:"Count",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count"},{value:"Financial",displayValue:"Financial",localizationId:"DevExpress.XtraCharts.SeriesAggregateFunction.Financial"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},js={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.XYDiagram3DSeriesViewBase.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},qs=[Us,Gs,js,xs,ge],Js={propertyName:"marker1",modelName:"Marker1",displayName:"Marker 1",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Marker1",editor:K.editorTemplates.getEditor("objecteditor"),info:Is},Ks={propertyName:"marker2",modelName:"Marker2",displayName:"Marker 2",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Marker2",editor:K.editorTemplates.getEditor("objecteditor"),info:Ts},Qs={propertyName:"border1",modelName:"Border1",displayName:"Border 1",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Border1",editor:K.editorTemplates.getEditor("objecteditor"),info:Rs},Ys={propertyName:"border2",modelName:"Border2",displayName:"Border 2",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Border2",editor:K.editorTemplates.getEditor("objecteditor"),info:Vs},Zs={propertyName:"marker1Visibility",modelName:"@Marker1Visibility",displayName:"Marker 1 Visibility",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Marker1Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},en={propertyName:"marker2Visibility",modelName:"@Marker2Visibility",displayName:"Marker 2 Visibility",localizationId:"DevExpress.XtraCharts.RangeAreaSeriesView.Marker2Visibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},tn={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.AreaSeriesViewBase.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:135},an={propertyName:"colorEach",modelName:"@ColorEach",displayName:"Color Each",localizationId:"DevExpress.XtraCharts.SeriesViewColorEachSupportBase.ColorEach",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},rn=[Js,Ks,Qs,Ys,Zs,en,ss,tn,ls,an,ms,ts,as,is,hs,gs,xs,ge],on={propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.StackedStepAreaSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},sn=[Ns,Es,ws,ge],nn={propertyName:"border",modelName:"Border",displayName:"Border",localizationId:"DevExpress.XtraCharts.AreaSeriesViewBase.Border",editor:K.editorTemplates.getEditor("objecteditor"),info:sn},ln=[on,nn,ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],dn={propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.StepArea3DSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},cn={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.XYDiagram3DSeriesViewBase.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:135},pn=[dn,Us,Gs,cn,xs,ge],un={propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.StepAreaSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},mn=[fs,bs,ys,Ss,Cs,Ds,_s,ge],hn={propertyName:"markerOptions",modelName:"MarkerOptions",displayName:"Marker Options",localizationId:"DevExpress.XtraCharts.AreaSeriesViewBase.MarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:mn},gn={propertyName:"markerVisibility",modelName:"@MarkerVisibility",displayName:"Marker Visibility",localizationId:"DevExpress.XtraCharts.LineSeriesView.MarkerVisibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},xn=[un,nn,ss,hn,tn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],vn={propertyName:"stackedGroup",modelName:"@StackedGroupSerializable",displayName:"Stacked Group",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBar3DSeriesView.StackedGroup",editor:Z.getEditor("group"),defaultVal:null},fn={propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBar3DSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},bn={propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBar3DSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},yn={propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBar3DSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Sn={propertyName:"barWidth",modelName:"@BarWidth",displayName:"Bar Width",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.BarWidth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.6,editorOptions:{min:0,step:.1}},Cn={propertyName:"barDepth",modelName:"@BarDepth",displayName:"Bar Depth",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.BarDepth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.6,editorOptions:{min:0,step:.1}},Dn={propertyName:"barDepthAuto",modelName:"@BarDepthAuto",displayName:"Bar Depth Auto",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.BarDepthAuto",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},_n={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",localizationId:"DevExpress.XtraCharts.FillStyle3D.FillMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Empty",displayValue:"Empty",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearances.Empty"},{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Gradient",displayValue:"Gradient",localizationId:"DevExpress.XtraCharts.FillMode3D.Gradient"}],defaultVal:"Empty"},In=[_n,ri,ge],Pn={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(In,"RectangleGradientFillOptions"),toJsonObject:Si.toJson},Tn={propertyName:"model",modelName:"@Model",displayName:"Model",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.Model",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Box",displayValue:"Box",localizationId:"DevExpress.XtraCharts.Bar3DModel.Box"},{value:"Cylinder",displayValue:"Cylinder",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Cylinder"},{value:"Cone",displayValue:"Cone",localizationId:"DevExpress.XtraCharts.Bar3DModel.Cone"},{value:"Pyramid",displayValue:"Pyramid",localizationId:"DevExpress.XtraCharts.Bar3DModel.Pyramid"}],defaultVal:"Box"},zn={propertyName:"showFacet",modelName:"@ShowFacet",displayName:"Show Facet",localizationId:"DevExpress.XtraCharts.Bar3DSeriesView.ShowFacet",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Nn={propertyName:"colorEach",modelName:"@ColorEach",displayName:"Color Each",localizationId:"DevExpress.XtraCharts.SeriesView3DColorEachSupportBase.ColorEach",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},En=[vn,fn,bn,yn,Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],wn={propertyName:"stackedGroup",modelName:"@StackedGroupSerializable",displayName:"Stacked Group",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBarSeriesView.StackedGroup",editor:Z.getEditor("group"),defaultVal:null},Rn={propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBarSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},Bn={propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBarSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},Vn={propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideFullStackedBarSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Mn={propertyName:"barWidth",modelName:"@BarWidth",displayName:"Bar Width",localizationId:"DevExpress.XtraCharts.BarSeriesView.BarWidth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.6,editorOptions:{min:0,step:.1}},kn={propertyName:"border",modelName:"Border",displayName:"Border",localizationId:"DevExpress.XtraCharts.BarSeriesView.Border",editor:K.editorTemplates.getEditor("objecteditor"),info:sn},An={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.BarSeriesView.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"RectangleGradientFillOptions"),toJsonObject:Si.toJson},Ln={propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.BarSeriesView.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},$n=[wn,Rn,Bn,Vn,Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Fn=[{propertyName:"stackedGroup",modelName:"@StackedGroupSerializable",displayName:"Stacked Group",localizationId:"DevExpress.XtraCharts.SideBySideStackedBar3DSeriesView.StackedGroup",editor:Z.getEditor("group"),defaultVal:null},{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideStackedBar3DSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideStackedBar3DSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideStackedBar3DSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],On=[{propertyName:"stackedGroup",modelName:"@StackedGroupSerializable",displayName:"Stacked Group",localizationId:"DevExpress.XtraCharts.SideBySideStackedBarSeriesView.StackedGroup",editor:Z.getEditor("group"),defaultVal:null},{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideStackedBarSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideStackedBarSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideStackedBarSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Xn={propertyName:"lineThickness",modelName:"@LineThickness",displayName:"Line Thickness",localizationId:"DevExpress.XtraCharts.Line3DSeriesView.LineThickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5,editorOptions:{min:1}},Hn={propertyName:"lineWidth",modelName:"@LineWidth",displayName:"Line Width",localizationId:"DevExpress.XtraCharts.Line3DSeriesView.LineWidth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.6,editorOptions:{min:1}},Wn=[Xn,Hn,Gs,js,xs,ge],Un={propertyName:"thickness",modelName:"@Thickness",displayName:"Thickness",localizationId:"DevExpress.XtraCharts.LineStyle.Thickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,editorOptions:{min:1}},Gn={propertyName:"dashStyle",modelName:"@DashStyle",displayName:"Dash Style",localizationId:"DevExpress.XtraCharts.LineStyle.DashStyle",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.FillMode3D.Solid"},{value:"Dash",displayValue:"Dash",localizationId:"DevExpress.XtraCharts.DashStyle.Dash"},{value:"Dot",displayValue:"Dot",localizationId:"DevExpress.XtraCharts.DashStyle.Dot"},{value:"DashDot",displayValue:"DashDot"},{value:"DashDotDot",displayValue:"DashDotDot"}],defaultVal:"Solid"},jn={propertyName:"lineJoin",modelName:"@LineJoin",displayName:"Line Join",localizationId:"DevExpress.XtraCharts.LineStyle.LineJoin",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Miter",displayValue:"Miter",localizationId:"System.Drawing.Drawing2D.LineJoin.Miter"},{value:"Bevel",displayValue:"Bevel",localizationId:"System.Drawing.Drawing2D.LineJoin.Bevel"},{value:"Round",displayValue:"Round",localizationId:"System.Drawing.Drawing2D.LineJoin.Round"},{value:"MiterClipped",displayValue:"MiterClipped",localizationId:"System.Drawing.Drawing2D.LineJoin.MiterClipped"}],defaultVal:"Miter"},qn=[Un,Gn,jn,ge],Jn={propertyName:"lineStyle",modelName:"LineStyle",displayName:"Line Style",localizationId:"DevExpress.XtraCharts.LineSeriesView.LineStyle",editor:K.editorTemplates.getEditor("objecteditor"),info:qn},Kn=[fs,bs,ys,Ss,Cs,Ds,_s,ge],Qn={propertyName:"lineMarkerOptions",modelName:"LineMarkerOptions",displayName:"Line Marker Options",localizationId:"DevExpress.XtraCharts.LineSeriesView.LineMarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:Kn},Yn=[Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Zn={propertyName:"lineStyle",modelName:"LineStyle",displayName:"Line Style",localizationId:"DevExpress.XtraCharts.RadarLineSeriesView.LineStyle",editor:K.editorTemplates.getEditor("objecteditor"),info:qn},el={propertyName:"closed",modelName:"@Closed",displayName:"Closed",localizationId:"DevExpress.XtraCharts.RadarLineSeriesView.Closed",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},tl={propertyName:"lineMarkerOptions",modelName:"LineMarkerOptions",displayName:"Line Marker Options",localizationId:"DevExpress.XtraCharts.RadarLineSeriesView.LineMarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:Kn},al={propertyName:"markerVisibility",modelName:"@MarkerVisibility",displayName:"Marker Visibility",localizationId:"DevExpress.XtraCharts.RadarLineSeriesView.MarkerVisibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},il=[Zn,el,tl,al,Fs,Os,Xs,xs,ge],rl=[Zn,el,tl,al,Fs,Os,Xs,xs,ge],ol=[Xn,Hn,Gs,js,xs,ge],sl=[Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],nl={propertyName:"weight",modelName:"@Weight",displayName:"Weight",localizationId:"DevExpress.XtraCharts.NestedDoughnutSeriesView.Weight",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{min:1}},ll={propertyName:"innerIndent",modelName:"@InnerIndent",displayName:"Inner Indent",localizationId:"DevExpress.XtraCharts.NestedDoughnutSeriesView.InnerIndent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5,editorOptions:{min:0}},dl={propertyName:"group",modelName:"@GroupSerializable",displayName:"Group",localizationId:"DevExpress.XtraCharts.NestedDoughnutSeriesView.Group",editor:Z.getEditor("group"),defaultVal:null},cl={propertyName:"holeRadiusPercent",modelName:"@HoleRadiusPercent",displayName:"Hole Radius Percent",localizationId:"DevExpress.XtraCharts.DoughnutSeriesView.HoleRadiusPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:40,editorOptions:{min:0,max:100}},pl={propertyName:"minAllowedSizePercentage",modelName:"@MinAllowedSizePercentage",displayName:"Min Allowed Size Percentage",localizationId:"DevExpress.XtraCharts.PieSeriesView.MinAllowedSizePercentage",editor:K.editorTemplates.getEditor("numeric"),defaultVal:50,editorOptions:{min:0,max:100}},ul={propertyName:"rotation",modelName:"@Rotation",displayName:"Rotation",localizationId:"DevExpress.XtraCharts.PieSeriesView.Rotation",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},ml={propertyName:"heightToWidthRatio",modelName:"@HeightToWidthRatio",displayName:"Height to Width Ratio",localizationId:"DevExpress.XtraCharts.PieSeriesView.HeightToWidthRatio",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{min:0}},hl={propertyName:"border",modelName:"Border",displayName:"Border",localizationId:"DevExpress.XtraCharts.PieSeriesView.Border",editor:K.editorTemplates.getEditor("objecteditor"),info:sn},gl={propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.PieSeriesView.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"PolygonGradientFillOptions"),toJsonObject:Si.toJson},xl={propertyName:"runtimeExploding",modelName:"@RuntimeExploding",displayName:"Runtime Exploding",localizationId:"DevExpress.XtraCharts.PieSeriesView.RuntimeExploding",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},vl={propertyName:"explodedDistancePercentage",modelName:"@ExplodedDistancePercentage",displayName:"Exploded Distance Percentage",localizationId:"DevExpress.XtraCharts.PieSeriesViewBase.ExplodedDistancePercentage",editor:K.editorTemplates.getEditor("numeric"),defaultVal:10,editorOptions:{min:1}},fl={propertyName:"explodeMode",modelName:"@ExplodeMode",displayName:"Explode Mode",localizationId:"DevExpress.XtraCharts.PieSeriesViewBase.ExplodeMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"All",displayValue:"All",localizationId:"DevExpress.XtraCharts.PieExplodeMode.All"},{value:"MinValue",displayValue:"MinValue"},{value:"MaxValue",displayValue:"MaxValue"},{value:"UsePoints",displayValue:"UsePoints"},{value:"UseFilters",displayValue:"UseFilters"},{value:"Others",displayValue:"Others",localizationId:"DevExpress.XtraCharts.PieExplodeMode.Others"}],defaultVal:"None"},bl={propertyName:"sweepDirection",modelName:"@SweepDirection",displayName:"Sweep Direction",localizationId:"DevExpress.XtraCharts.PieSeriesViewBase.SweepDirection",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Counterclockwise",displayValue:"Counterclockwise",localizationId:"DevExpress.XtraCharts.PieSweepDirection.Counterclockwise"},{value:"Clockwise",displayValue:"Clockwise",localizationId:"DevExpress.XtraCharts.PieSweepDirection.Clockwise"}],defaultVal:"Counterclockwise"},yl=[Pe,ce,ls,Ie,_e,De,Ce,ps,ge,He,nn,ss,ms],Sl={propertyName:"totalLabel",modelName:"TotalLabel",displayName:"Total Label",localizationId:"DevExpress.XtraCharts.PieSeriesView.TotalLabel",editor:K.editorTemplates.getEditor("objecteditor"),info:yl},Cl={propertyName:"titles",modelName:"Titles",array:!0,from:(e,t)=>Wa(e,((e,a)=>new yo(e,a,t)),yo.prefix),displayName:"Titles",localizationId:"DevExpress.XtraCharts.SimpleDiagramSeriesViewBase.Titles"},Dl=[nl,ll,dl,cl,pl,ul,ml,hl,gl,xl,vl,fl,bl,Cl,ge,Sl],_l=[{propertyName:"thickness",modelName:"@Thickness",displayName:"Thickness",localizationId:"DevExpress.XtraCharts.LineStyle.Thickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{min:1}},Gn,jn,ge],Il=[{propertyName:"lineStyle",modelName:"LineStyle",displayName:"Line Style",localizationId:"DevExpress.XtraCharts.SwiftPlotSeriesView.LineStyle",editor:K.editorTemplates.getEditor("objecteditor"),info:_l},{propertyName:"antialiasing",modelName:"@Antialiasing",displayName:"Antialiasing",localizationId:"DevExpress.XtraCharts.SwiftPlotSeriesView.Antialiasing",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},as,is,ts,hs,gs,xs,ge],Pl={propertyName:"holeRadiusPercent",modelName:"@HoleRadiusPercent",displayName:"Hole Radius Percent",localizationId:"DevExpress.XtraCharts.Funnel3DSeriesView.HoleRadiusPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:90,editorOptions:{min:0,max:100}},Tl={propertyName:"heightToWidthRatio",modelName:"@HeightToWidthRatio",displayName:"Height to Width Ratio",localizationId:"DevExpress.XtraCharts.FunnelSeriesViewBase.HeightToWidthRatio",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1},zl={propertyName:"pointDistance",modelName:"@PointDistance",displayName:"Point Distance",localizationId:"DevExpress.XtraCharts.FunnelSeriesViewBase.PointDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0,editorOptions:{min:0}},Nl=[Pl,Tl,zl,Cl,ge],El=[{propertyName:"border",modelName:"Border",displayName:"Border",localizationId:"DevExpress.XtraCharts.FunnelSeriesView.Border",editor:K.editorTemplates.getEditor("objecteditor"),info:sn},{propertyName:"fillStyle",modelName:"FillStyle",displayName:"Fill Style",localizationId:"DevExpress.XtraCharts.FunnelSeriesView.FillStyle",editor:K.editorTemplates.getEditor("objecteditor"),from:Si.from(Di,"PolygonGradientFillOptions"),toJsonObject:Si.toJson},{propertyName:"alignToCenter",modelName:"@AlignToCenter",displayName:"Align to Center",localizationId:"DevExpress.XtraCharts.FunnelSeriesView.AlignToCenter",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},{propertyName:"heightToWidthRatioAuto",modelName:"@HeightToWidthRatioAuto",displayName:"Height to Width Ratio Auto",localizationId:"DevExpress.XtraCharts.FunnelSeriesView.HeightToWidthRatioAuto",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Tl,zl,Cl,ge],wl=[Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Rl=[ys,Ss,Cs,Ds,_s,ge],Bl=[{propertyName:"bubbleMarkerOptions",modelName:"BubbleMarkerOptions",displayName:"Bubble Marker Options",localizationId:"DevExpress.XtraCharts.BubbleSeriesView.BubbleMarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:Rl},{propertyName:"autoSize",modelName:"@AutoSize",displayName:"Automatic Size",localizationId:"DevExpress.XtraCharts.BubbleSeriesView.AutoSize",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},{propertyName:"maxSize",modelName:"@MaxSize",displayName:"Max Size",localizationId:"DevExpress.XtraCharts.BubbleSeriesView.MaxSize",editor:Z.getEditor("maxSize"),defaultVal:.9},{propertyName:"minSize",modelName:"@MinSize",displayName:"Min Size",localizationId:"DevExpress.XtraCharts.BubbleSeriesView.MinSize",editor:Z.getEditor("minSize"),defaultVal:.3,editorOptions:{min:0}},{propertyName:"transparency",modelName:"@Transparency",displayName:"Transparency",localizationId:"DevExpress.XtraCharts.BubbleSeriesView.Transparency",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},an,ms,ts,as,is,hs,gs,xs,ge],Vl=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.Spline3DSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},Xn,Hn,Gs,js,xs,ge],Ml=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.SplineArea3DSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},Us,Gs,cn,xs,ge],kl=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.FullStackedSplineArea3DSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},Us,Gs,cn,xs,ge],Al=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.SplineAreaSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},nn,ss,hn,tn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Ll=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.FullStackedSplineAreaSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],$l=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.StackedSplineArea3DSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},Us,Gs,cn,xs,ge],Fl=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.SplineSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Ol=[{propertyName:"lineTensionPercent",modelName:"@LineTensionPercent",displayName:"Line Tension Percent",localizationId:"DevExpress.XtraCharts.StackedSplineAreaSeriesView.LineTensionPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:80,editorOptions:{min:0,max:100}},nn,ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],Xl=[Us,Gs,cn,xs,ge],Hl=[Us,Gs,cn,xs,ge],Wl={propertyName:"border",modelName:"Border",displayName:"Border",localizationId:"DevExpress.XtraCharts.RadarAreaSeriesView.Border",editor:K.editorTemplates.getEditor("objecteditor"),info:sn},Ul={propertyName:"markerOptions",modelName:"MarkerOptions",displayName:"Marker Options",localizationId:"DevExpress.XtraCharts.RadarAreaSeriesView.MarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:mn},Gl=[Wl,Ls,Ul,$s,al,Fs,Os,Xs,xs,ge],jl=[Wl,Ls,Ul,$s,al,Fs,Os,Xs,xs,ge],ql=[Us,Gs,cn,xs,ge],Jl=[Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],Kl=[{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideBar3DSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideBar3DSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideBar3DSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],Ql=[Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],Yl=[Zn,el,tl,al,Fs,Os,Xs,xs,ge],Zl=[Zn,el,tl,al,Fs,Os,Xs,xs,ge],ed={propertyName:"holeRadiusPercent",modelName:"@HoleRadiusPercent",displayName:"Hole Radius Percent",localizationId:"DevExpress.XtraCharts.Doughnut3DSeriesView.HoleRadiusPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:60,editorOptions:{min:0,max:100}},td={propertyName:"depth",modelName:"@Depth",displayName:"Depth",localizationId:"DevExpress.XtraCharts.Pie3DSeriesView.Depth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:15,editorOptions:{min:1,max:100}},ad={propertyName:"sizeAsPercentage",modelName:"@SizeAsPercentage",displayName:"Size As Percentage",localizationId:"DevExpress.XtraCharts.Pie3DSeriesView.SizeAsPercentage",editor:K.editorTemplates.getEditor("numeric"),defaultVal:100,editorOptions:{min:0,max:100}},id=[_n,ri,ge],rd={propertyName:"pieFillStyle",modelName:"PieFillStyle",displayName:"Pie Fill Style",localizationId:"DevExpress.XtraCharts.Pie3DSeriesView.PieFillStyle",editor:K.editorTemplates.getEditor("objecteditor"),info:id},od=[ed,td,ad,rd,vl,fl,bl,Cl,ge],sd=[{propertyName:"holeRadiusPercent",modelName:"@HoleRadiusPercent",displayName:"Hole Radius Percent",localizationId:"DevExpress.XtraCharts.DoughnutSeriesView.HoleRadiusPercent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:60,editorOptions:{min:0,max:100}},pl,ul,ml,hl,gl,xl,vl,fl,bl,Cl,ge,Sl],nd=[{propertyName:"size",modelName:"@Size",displayName:"Size",localizationId:"DevExpress.XtraCharts.SimpleMarker.Size",editor:K.editorTemplates.getEditor("numeric"),defaultVal:8,editorOptions:{min:1}},ys,Ss,Cs,Ds,_s,ge],ld={propertyName:"pointMarkerOptions",modelName:"PointMarkerOptions",displayName:"Point Marker Options",localizationId:"DevExpress.XtraCharts.RadarPointSeriesView.PointMarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:nd},dd=[ld,Fs,Os,Xs,xs,ge],cd=[{propertyName:"arrowWidth",modelName:"@ArrowWidth",displayName:"Arrow Width",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.ArrowWidth",editor:K.editorTemplates.getEditor("numeric"),defaultVal:7,editorOptions:{min:1},validationRules:rs},{propertyName:"arrowHeight",modelName:"@ArrowHeight",displayName:"Arrow Height",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.ArrowHeight",editor:K.editorTemplates.getEditor("numeric"),defaultVal:5,editorOptions:{min:1}},{propertyName:"minIndent",modelName:"@MinIndent",displayName:"Min Indent",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.MinIndent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,editorOptions:{min:0}},{propertyName:"thickness",modelName:"@Thickness",displayName:"Thickness",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.Thickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:3,editorOptions:{min:1}},{propertyName:"visible",modelName:"@Visible",displayName:"Visible",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.Visible",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},{propertyName:"colorSource",modelName:"@ColorSource",displayName:"Color Source",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.ColorSource",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"ParentColor",displayValue:"ParentColor"},{value:"ParentBorderColor",displayValue:"ParentBorderColor"},{value:"ChildColor",displayValue:"ChildColor"},{value:"ChildBorderColor",displayValue:"ChildBorderColor"},{value:"OwnColor",displayValue:"OwnColor"}],defaultVal:"ParentColor"},{propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:Z.getEditor("undoCustomColorEditor"),defaultVal:"transparent"},{propertyName:"inFront",modelName:"@InFront",displayName:"In Front",localizationId:"DevExpress.XtraCharts.TaskLinkOptions.InFront",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},ge],pd={propertyName:"linkOptions",modelName:"LinkOptions",displayName:"Link Options",localizationId:"DevExpress.XtraCharts.GanttSeriesView.LinkOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:cd},ud=[fs,bs,ys,Ss,Cs,Ds,_s,ge],md={propertyName:"minValueMarker",modelName:"MinValueMarker",displayName:"Min Value Marker",localizationId:"DevExpress.XtraCharts.RangeBarSeriesView.MinValueMarker",editor:K.editorTemplates.getEditor("objecteditor"),info:ud},hd=[fs,bs,ys,Ss,Cs,Ds,_s,ge],gd={propertyName:"maxValueMarker",modelName:"MaxValueMarker",displayName:"Max Value Marker",localizationId:"DevExpress.XtraCharts.RangeBarSeriesView.MaxValueMarker",editor:K.editorTemplates.getEditor("objecteditor"),info:hd},xd={propertyName:"minValueMarkerVisibility",modelName:"@MinValueMarkerVisibility",displayName:"Min Value Marker Visibility",localizationId:"DevExpress.XtraCharts.RangeBarSeriesView.MinValueMarkerVisibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},vd={propertyName:"maxValueMarkerVisibility",modelName:"@MaxValueMarkerVisibility",displayName:"Max Value Marker Visibility",localizationId:"DevExpress.XtraCharts.RangeBarSeriesView.MaxValueMarkerVisibility",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"True",displayValue:"True",localizationId:"StringId.DefaultBooleanTrue"},{value:"False",displayValue:"False",localizationId:"StringId.DefaultBooleanFalse"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.WinControlPrintMode.Default"}],defaultVal:"Default"},fd=[pd,md,gd,xd,vd,Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],bd=[ld,Fs,Os,Xs,xs,ge],yd=[{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideGanttSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideGanttSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideGanttSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},pd,md,gd,xd,vd,Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Sd=[nn,ss,hn,tn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Cd={propertyName:"fillMode",modelName:"@FillMode",displayName:"Fill Mode",localizationId:"DevExpress.XtraCharts.CandleStickReductionOptions.FillMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"FilledOnReduction",displayValue:"FilledOnReduction"},{value:"FilledOnIncrease",displayValue:"FilledOnIncrease"},{value:"AlwaysEmpty",displayValue:"AlwaysEmpty"},{value:"AlwaysFilled",displayValue:"AlwaysFilled"}],defaultVal:"FilledOnReduction"},Dd={propertyName:"color",modelName:"@Color",displayName:"Color",localizationId:"DevExpress.XtraCharts.ReductionStockOptions.Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"255,255,0,0"},_d={propertyName:"level",modelName:"@Level",displayName:"Level",localizationId:"DevExpress.XtraCharts.ReductionStockOptions.Level",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Low",displayValue:"Low",localizationId:"DevExpress.XtraCharts.StockLevel.Low"},{value:"High",displayValue:"High",localizationId:"DevExpress.XtraCharts.StockLevel.High"},{value:"Open",displayValue:"Open",localizationId:"DevExpress.XtraCharts.StockLevel.Open"},{value:"Close",displayValue:"Close",localizationId:"DevExpress.XtraCharts.StockLevel.Close"}],defaultVal:"Close"},Id={propertyName:"visible",modelName:"@Visible",displayName:"Visible",localizationId:"DevExpress.XtraCharts.ReductionStockOptions.Visible",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Pd={propertyName:"colorMode",modelName:"@ColorMode",displayName:"Color Mode",localizationId:"DevExpress.XtraCharts.ReductionStockOptions.ColorMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"PreviousToCurrentPoint",displayValue:"PreviousToCurrentPoint"},{value:"OpenToCloseValue",displayValue:"OpenToCloseValue"}],defaultVal:"PreviousToCurrentPoint"},Td=[Cd,Dd,_d,Id,Pd,ge],zd={propertyName:"reductionOptions",modelName:"ReductionOptions",displayName:"Reduction Options",localizationId:"DevExpress.XtraCharts.CandleStickSeriesView.ReductionOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:Td},Nd={propertyName:"levelLineLength",modelName:"@LevelLineLength",displayName:"Level Line Length",localizationId:"DevExpress.XtraCharts.FinancialSeriesViewBase.LevelLineLength",editor:K.editorTemplates.getEditor("numeric"),defaultVal:.25,editorOptions:{min:1}},Ed={propertyName:"lineThickness",modelName:"@LineThickness",displayName:"Line Thickness",localizationId:"DevExpress.XtraCharts.FinancialSeriesViewBase.LineThickness",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,editorOptions:{min:1}},wd=[Dd,_d,Id,Pd,ge],Rd={propertyName:"reductionOptions",modelName:"ReductionOptions",displayName:"Reduction Options",localizationId:"DevExpress.XtraCharts.FinancialSeriesViewBase.ReductionOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:wd},Bd=[zd,Nd,Ed,ms,ts,as,is,hs,gs,xs,ge],Vd=[ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],Md=[Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],kd=[Xn,Hn,Gs,js,xs,ge],Ad=[Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],Ld=[Sn,Cn,Dn,Pn,Tn,zn,Nn,Gs,js,xs,ge],$d=[md,gd,xd,vd,Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Fd=[td,ad,rd,vl,fl,bl,Cl,ge],Od=[pl,ul,ml,hl,gl,xl,vl,fl,bl,Cl,ge,Sl],Xd=[{propertyName:"pointMarkerOptions",modelName:"PointMarkerOptions",displayName:"Point Marker Options",localizationId:"DevExpress.XtraCharts.PointSeriesView.PointMarkerOptions",editor:K.editorTemplates.getEditor("objecteditor"),info:nd},an,ms,ts,as,is,hs,gs,xs,ge],Hd=[{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideBarSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideBarSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideBarSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Wd=[{propertyName:"barDistance",displayName:"Bar Distance",localizationId:"DevExpress.XtraCharts.SideBySideRangeBarSeriesView.BarDistance",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},{propertyName:"barDistanceFixed",displayName:"Bar Distance Fixed",localizationId:"DevExpress.XtraCharts.SideBySideRangeBarSeriesView.BarDistanceFixed",editor:K.editorTemplates.getEditor("numeric"),defaultVal:1,editorOptions:{format:"#0"}},{propertyName:"equalBarWidth",modelName:"@EqualBarWidth",displayName:"Equal Bar Width",localizationId:"DevExpress.XtraCharts.SideBySideRangeBarSeriesView.EqualBarWidth",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!0},md,gd,xd,vd,Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],Ud=[nn,ss,ns,ls,ms,ts,as,is,hs,gs,xs,ge],Gd=[Mn,kn,An,Ln,an,ms,ts,as,is,hs,gs,xs,ge],jd=[{propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.StepLineSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},Jn,Qn,gn,ls,an,ms,ts,as,is,hs,gs,xs,ge],qd=[{propertyName:"showOpenClose",modelName:"@ShowOpenClose",displayName:"Show Open Close",localizationId:"DevExpress.XtraCharts.StockSeriesView.ShowOpenClose",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Both",displayValue:"Both",localizationId:"DevExpress.XtraCharts.ErrorBarDirection.Both"},{value:"Open",displayValue:"Open",localizationId:"DevExpress.XtraCharts.StockLevel.Open"},{value:"Close",displayValue:"Close",localizationId:"DevExpress.XtraCharts.StockLevel.Close"}],defaultVal:"Both"},Nd,Ed,Rd,ms,ts,as,is,hs,gs,xs,ge],Jd=[{propertyName:"invertedStep",modelName:"@InvertedStep",displayName:"Inverted Step",localizationId:"DevExpress.XtraCharts.StepLine3DSeriesView.InvertedStep",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},Xn,Hn,Gs,js,xs,ge],Kd={propertyName:"risingBarColor",modelName:"@RisingBarColor",displayName:"Rising Bar Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.RisingBarColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},Qd={propertyName:"fallingBarColor",modelName:"@FallingBarColor",displayName:"Falling Bar Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.FallingBarColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"transparent"},Yd={propertyName:"startBarColor",modelName:"@StartBarColor",displayName:"Start Bar Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.StartBarColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"Gray"},Zd={propertyName:"subtotalBarColor",modelName:"@SubtotalBarColor",displayName:"Subtotal Bar Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.SubtotalBarColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"Gray"},ec={propertyName:"totalBarColor",modelName:"@TotalBarColor",displayName:"Total Bar Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.TotalBarColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"Gray"},tc={propertyName:"connectorColor",modelName:"@ConnectorColor",displayName:"Connector Color",localizationId:"DevExpress.XtraCharts.WaterfallSeriesView.ConnectorColor",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"Gray"},ac={FullStackedStepAreaSeriesView:vs,PolarRangeAreaSeriesView:Hs,RadarRangeAreaSeriesView:Ws,RangeArea3DSeriesView:qs,RangeAreaSeriesView:rn,StackedStepAreaSeriesView:ln,StepArea3DSeriesView:pn,StepAreaSeriesView:xn,SideBySideFullStackedBar3DSeriesView:En,SideBySideFullStackedBarSeriesView:$n,SideBySideStackedBar3DSeriesView:Fn,SideBySideStackedBarSeriesView:On,FullStackedLine3DSeriesView:Wn,FullStackedLineSeriesView:Yn,WaterfallSeriesView:Gd.concat([Kd,Qd,Yd,Zd,ec,tc]),ScatterPolarLineSeriesView:il,ScatterRadarLineSeriesView:rl,StackedLine3DSeriesView:ol,StackedLineSeriesView:sl,NestedDoughnutSeriesView:Dl,SwiftPlotSeriesView:Il,Funnel3DSeriesView:Nl,FunnelSeriesView:El,ScatterLineSeriesView:wl,BubbleSeriesView:Bl,Spline3DSeriesView:Vl,SplineArea3DSeriesView:Ml,FullStackedSplineArea3DSeriesView:kl,SplineAreaSeriesView:Al,FullStackedSplineAreaSeriesView:Ll,StackedSplineArea3DSeriesView:$l,SplineSeriesView:Fl,StackedSplineAreaSeriesView:Ol,Area3DSeriesView:Xl,FullStackedArea3DSeriesView:Hl,PolarAreaSeriesView:Gl,RadarAreaSeriesView:jl,StackedArea3DSeriesView:ql,FullStackedBar3DSeriesView:Jl,SideBySideBar3DSeriesView:Kl,StackedBar3DSeriesView:Ql,PolarLineSeriesView:Yl,RadarLineSeriesView:Zl,Doughnut3DSeriesView:od,DoughnutSeriesView:sd,PolarPointSeriesView:dd,OverlappedGanttSeriesView:fd,RadarPointSeriesView:bd,SideBySideGanttSeriesView:yd,AreaSeriesView:Sd,CandleStickSeriesView:Bd,FullStackedAreaSeriesView:Vd,FullStackedBarSeriesView:Md,Line3DSeriesView:kd,LineSeriesView:Ad,ManhattanBarSeriesView:Ld,OverlappedRangeBarSeriesView:$d,Pie3DSeriesView:Fd,PieSeriesView:Od,PointSeriesView:Xd,SideBySideBarSeriesView:Hd,SideBySideRangeBarSeriesView:Wd,StackedAreaSeriesView:Ud,StackedBarSeriesView:Gd,StepLineSeriesView:jd,StockSeriesView:qd,StepLine3DSeriesView:Jd};class ic extends Q.SerializableModel{constructor(e,t){e["@TypeNameSerializable"]=e["@TypeNameSerializable"]||"SideBySideBarSeriesView",super(e,t),this.titles&&So(this.titles),this.indicators&&es(this.indicators),this._createMarkerDependences(),this._createLinkOptionsDependences(),this.isPropertyDisabled=e=>this._createPropertyDisabledDependence(e,"heightToWidthRatio",this.heightToWidthRatioAuto,[!0])||this._createPropertyDisabledDependence(e,"minSize",this.autoSize,[!0])||this._createPropertyDisabledDependence(e,"maxSize",this.autoSize,[!0])||this._createPropertyDisabledDependence(e,"barDepth",this.barDepthAuto,[!0])||this._createPropertyDisabledDependence(e,"showFacet",this.model,["Cone","Pyramid"])}static from(e,t){return A.observable(new ic(e||{},t))}dispose(){this._disposables.forEach((e=>e.dispose()))}static toJson(e,t,a){const i=A.unwrap(e);return t.serialize(i,i.getInfo(),a)}_getInfo(e){return[ja].concat(ac[e])}_createPropertyDisabledDependence(e,t,a,i,r=!1){if(e!==t||!a)return!1;let o=!1;for(let e=0;e<i.length;e++)if(a()===i[e]){o=!0;break}return r?!o:o}_createMarkerDependences(){["minValueMarker","maxValueMarker","marker1","marker2","markerOptions","lineMarkerOptions","bubbleMarkerOptions","pointMarkerOptions"].forEach((e=>{this[e]&&(this[e].isPropertyDisabled=t=>this._createPropertyDisabledDependence(t,"starPointCount",this[e].kind,["Star"],!0))}))}_createLinkOptionsDependences(){this.linkOptions&&this._disposables.push(this.linkOptions.color.subscribe((e=>{this.linkOptions.colorSource("OwnColor")})))}preInitProperties(e){this.getInfo=()=>this._getInfo(e["@TypeNameSerializable"])}getChildComponents(){return[{component:A.unwrap(this.indicators),path:"Indicators"},{component:A.unwrap(this.titles),path:"Titles"}]}}const rc={propertyName:"view",modelName:"View",displayName:"View",defaultVal:{},from:ic.from,toJsonObject:ic.toJson,localizationId:"DevExpress.XtraReports.UI.XRSparkline.View"};var oc;!function(e){e[e.Qualitative=0]="Qualitative",e[e.Numerical=1]="Numerical",e[e.DateTime=2]="DateTime",e[e.Auto=3]="Auto"}(oc||(oc={}));const sc={Qualitative:oc.Qualitative,Numerical:oc.Numerical,DateTime:oc.DateTime,Auto:oc.Auto};class nc extends Q.SerializableModel{constructor(e,t,a){super(function(e){return delete e["@SeriesDataMember"],e}(e),t,a),this._actualArgumentScaleType=A.observable(oc.Numerical),this.valueDataMembers&&A.unwrap(this.valueDataMembers).dispose(),this.viewType=A.observable(this.view().typeName),this._adjustArgumentScaleType();const i=(0,B.extend)(!0,[],a),r=i.filter((e=>e.propertyName===dc.propertyName))[0];Object.defineProperty(r,"valuesArray",{get:()=>this._getCurrentSeriesPointsSortingKeys(this.viewType()),configurable:!0}),this.viewType.subscribe((e=>{const a=t||new L.ModelSerializer;this.view(ic.from({"@TypeNameSerializable":e},a)()),this._adjustArgumentScaleType(),this._updateSeriesPointsSortingKey(r)})),this.getInfo=()=>i,this._disposables.push(this.view.subscribe((e=>{this.viewType()!==e.typeName&&this.viewType(e.typeName),this.updateByView(e)}))),this.valueDataMembers=A.observable(new(vo[this.view().typeName]||po)(e["@ValueDataMembersSerializable"]||"",this.valueScaleType)),this._disposables.push(this.indicators=A.computed((()=>this.view()&&this.view().indicators&&this.view().indicators()))),this._disposables.push(this.titles=A.computed((()=>this.view()&&this.view().titles&&this.view().titles()))),this._disposables.push(this._actualArgumentScaleType.subscribe((e=>{switch(e){case oc.DateTime:this.qualitativeSummaryOptions.resetAllProperties(),this.numericSummaryOptions.resetAllProperties();break;case oc.Numerical:this.qualitativeSummaryOptions.resetAllProperties(),this.dateTimeSummaryOptions.resetAllProperties();break;case oc.Qualitative:this.numericSummaryOptions.resetAllProperties(),this.dateTimeSummaryOptions.resetAllProperties()}}))),this.updateByView(this.view()),[this.qualitativeSummaryOptions,this.numericSummaryOptions,this.dateTimeSummaryOptions].forEach((e=>{e.getPath=e=>this.getPath&&this.getPath("summaryFunction")||""})),this.viewBindable={model:this.view,type:this.viewType},this.filterString=new K.FilterStringOptions(this._filterString,A.pureComputed((()=>this.getPath&&this.getPath("argumentDataMember")||"")))}static from(e,t){return new nc(e||{},t,vc)}static toJson(e,t,a){return t.serialize(e,vc,a)}updateByView(e){this.label&&this.label.typeNameSerializable&&this.label.typeNameSerializable(fo[e.typeName]),this.valueDataMembers.peek().dispose(),this.valueDataMembers(new(vo[e.typeName]||po)(this.valueDataMembers.peek().toString(),this.valueScaleType))}preInitProperties(e){delete e.DataFilters}getChildComponents(){return[{component:A.unwrap(this.view),path:"View"}]}getExpressionProperties(){return["LegendTextPattern"]}_isOnlyNumericArgumentScaleTypeSupported(){return bo.indexOf(this.viewType())>-1}_getCurrentSeriesPointsSortingKeys(e){return(e=>"BubbleSeriesView"===e)(e)?ar:(e=>"PolarRangeAreaSeriesView"===e||"RadarRangeAreaSeriesView"===e||"RangeArea3DSeriesView"===e||"RangeAreaSeriesView"===e||"OverlappedGanttSeriesView"===e||"SideBySideGanttSeriesView"===e||"OverlappedRangeBarSeriesView"===e||"SideBySideRangeBarSeriesView"===e)(e)?ir:(e=>"StockSeriesView"===e||"CandleStickSeriesView"===e)(e)?rr:tr}_adjustArgumentScaleType(){this._isOnlyNumericArgumentScaleTypeSupported()&&this.argumentScaleType("Numerical")}_updateSeriesPointsSortingKey(e){const t=this[e.propertyName];t()&&!e.valuesArray.some((e=>e.value===t()))&&t(e.valuesArray[0].value)}_isDataMemberPropertyDisabled(e){return!!nc.dataMemberProperies.concat(["valueScaleType","argumentScaleType"]).some((t=>t===e))&&!A.unwrap(this.dataSource)}_isPropertyDisabled(e){return"argumentScaleType"===e&&this._isOnlyNumericArgumentScaleTypeSupported()}getPath(e){const t=A.unwrap(this.dataSource);if(t){const e=t.dsHelperProvider&&t.dsHelperProvider();return e&&e.getDataSourcePath(t)}}isPropertyVisible(e){switch(e){case"qualitativeSummaryOptions":return this._actualArgumentScaleType()===oc.Qualitative;case"numericSummaryOptions":return this._actualArgumentScaleType()===oc.Numerical;case"dateTimeSummaryOptions":return this._actualArgumentScaleType()===oc.DateTime;default:return!0}}}nc.dataMemberProperies=["argumentDataMember","valueDataMembers"];const lc={propertyName:"seriesPointsSorting",modelName:"@SeriesPointsSorting",displayName:"Series Points Sorting",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"Ascending",displayValue:"Ascending",localizationId:"DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending"},{value:"Descending",displayValue:"Descending",localizationId:"DevExpress.XtraReports.UI.XRColumnSortOrder.Descending"}],localizationId:"DevExpress.XtraCharts.SeriesBase.SeriesPointsSorting"},dc={propertyName:"seriesPointsSortingKey",modelName:"@SeriesPointsSortingKey",displayName:"Series Points Sorting Key",editor:K.editorTemplates.getEditor("combobox"),valuesArray:tr,localizationId:"DevExpress.XtraCharts.SeriesBase.SeriesPointsSortingKey"},cc={propertyName:"legendTextPattern",modelName:"@LegendTextPattern",displayName:"Legend Text Pattern",localizable:!0,editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraCharts.SeriesBase.LegendTextPattern"},pc={_seriesViewModel:null,onInitialized:({model:e})=>{pc._seriesViewModel=e._model},validationRules:[{type:"custom",reevaluate:!0,validationCallback:e=>{let t=pc._seriesViewModel.peek();if("points"in t&&t instanceof nc){const a=U("argumentSerializable",t.argumentScaleType.peek(),e.value,t.points.peek()),i=(0,L.getLocalization)("The type of the '{0}' point isn't compatible with the {1} scale.","ChartStringId.MsgIncompatiblePointType");let r=a&&a.argumentSerializable();return r&&r instanceof Date&&(r=(0,B.formatDate)(r)),e.rule.message=(0,B.formatUnicorn)(i,null!==r||void 0!==r?r:"",e.value),!a}return!0}}]},uc={propertyName:"argumentScaleType",modelName:"@ArgumentScaleType",displayName:"Argument Scale Type",defaultVal:"Auto",editor:K.editorTemplates.getEditor("combobox"),valuesArray:se,localizationId:"DevExpress.XtraCharts.SeriesBase.ArgumentScaleType",validatorOptions:pc},mc={propertyName:"valueScaleType",modelName:"@ValueScaleType",displayName:"Value Scale Type",defaultVal:"Numerical",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Numerical",displayValue:"Numerical",localizationId:"DevExpress.XtraCharts.ScaleType.Numerical"},{value:"DateTime",displayValue:"DateTime",localizationId:"DevExpress.XtraTreeList.Data.UnboundColumnType.DateTime"}],localizationId:"DevExpress.XtraCharts.SeriesBase.ValueScaleType"},hc={propertyName:"labelsVisibility",modelName:"@LabelsVisibility",displayName:"Labels Visibility",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:oe,localizationId:"DevExpress.XtraCharts.SeriesBase.LabelsVisibility"},gc={propertyName:"argumentDataMember",modelName:"@ArgumentDataMember",displayName:"Argument Data Member",defaultVal:"",editor:Z.getEditor("valueDataMember"),localizationId:"DevExpress.XtraCharts.SeriesBase.ArgumentDataMember"},xc={propertyName:"valueDataMembers",modelName:"@ValueDataMembersSerializable",displayName:"Value Data Members",defaultVal:"",editor:K.editorTemplates.getEditor("objecteditor"),from:po.from,toJsonObject:po.toJson,localizationId:"DevExpress.XtraCharts.SeriesBase.ValueDataMembers"},vc=[Rr,{propertyName:"titles",displayName:"Titles",localizationId:"DevExpress.XtraReports.UI.XRChart.Titles"},{propertyName:"indicators",displayName:"Indicators",localizationId:"DevExpress.XtraReports.UI.XRChart.Indicators"},rc,gc,xc,Nr,uc,mc,Ke,Qe,lc,dc,ve,Sa,cc,hc,Br,Vr,Mr,mo,_r,me,ee],fc={propertyName:"seriesTemplate",modelName:"SeriesTemplate",displayName:"Series Template",localizationId:"DevExpress.XtraReports.UI.XRChart.SeriesTemplate",info:vc,from:nc.from,toJsonObject:nc.toJson,editor:K.editorTemplates.getEditor("objecteditor")};class bc extends nc{constructor(e,t,a){super(e,a,yc),this.isIncompatible=A.observable(!1),te(this,t)(),this._disposables.push(this.displayName=A.pureComputed((()=>this.isIncompatible()?(0,L.getLocalization)("(incompatible)","ChartStringId.IncompatibleSeriesView")+" "+this.name():this.name()))),this.points=A.observableArray([]),this._disposables.push(this.points.subscribe((e=>{e.owner=this}))),this.points((0,L.deserializeArray)(e.Points||[],(e=>new eo(e,this,a)))())}updateByView(e){super.updateByView(e),this.points&&this.points([])}_isDataMemberPropertyDisabled(e){return!!nc.dataMemberProperies.concat(["colorDataMember"]).some((t=>t===e))&&!A.unwrap(this.dataSource)}}bc.prefix="Series";const yc=[he,Er].concat(vc);class Sc extends B.ObjectStructureProvider{getClassName(e){return e instanceof bc?"SeriesViewModel":e instanceof Mi?"SecondaryAxisViewModel":super.getClassName(e)}createArrayItem(e,t,a){super.createArrayItem(e,t,a);for(let a=0;a<t.length;a++){if("SeriesViewModel"===t[a].specifics){const i=A.unwrap(e[a]);t[a].dragData={noDragable:!1},t[a].data=i}}}constructor(e,t,a){super(e,t,a)}}const Cc={propertyName:"dimension",modelName:"@Dimension",displayName:"Dimension",editor:K.editorTemplates.getEditor("numeric"),localizationId:"DevExpress.XtraCharts.SimpleDiagram3D.Dimension"},Dc={propertyName:"equalPieSize",modelName:"@EqualPieSize",displayName:"EqualPieSize",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},_c={propertyName:"typeNameSerializable",modelName:"@TypeNameSerializable"},Ic={propertyName:"secondaryAxesX",modelName:"SecondaryAxesX",displayName:"Secondary Axes X",array:!0,editor:Z.getEditor("collection"),localizationId:"DevExpress.XtraCharts.XYDiagram.SecondaryAxesX"},Pc={propertyName:"secondaryAxesY",modelName:"SecondaryAxesY",displayName:"Secondary Axes Y",array:!0,editor:Z.getEditor("collection"),localizationId:"DevExpress.XtraCharts.XYDiagram.SecondaryAxesY"},Tc={propertyName:"panes",modelName:"Panes",displayName:"Additional Panes",array:!0,editor:Z.getEditor("collection"),localizationId:"ChartDesignerStringIDs.TreeAdditionalPanelCollection"},zc={propertyName:"drawingStyle",modelName:"@DrawingStyle",displayName:"Drawing Style",localizationId:"DevExpress.XtraCharts.RadarDiagram.DrawingStyle",defaultVal:"Circle",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Circle",displayValue:"Circle",localizationId:"DevExpress.XtraCharts.RadarDiagramDrawingStyle.Circle"},{value:"Polygon",displayValue:"Polygon",localizationId:"DevExpress.XtraCharts.RadarDiagramDrawingStyle.Polygon"}]},Nc={propertyName:"startAngleInDegrees",modelName:"@StartAngleInDegrees",displayName:"Start Angle in Degrees",localizationId:"DevExpress.XtraCharts.RadarDiagram.StartAngleInDegrees",editor:K.editorTemplates.getEditor("numeric"),defaultVal:0},Ec={propertyName:"rotationDirection",modelName:"@RotationDirection",displayName:"Rotation Direction",localizationId:"DevExpress.XtraCharts.RadarDiagram.RotationDirection",defaultVal:"Counterclockwise",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Counterclockwise",displayValue:"Counterclockwise",localizationId:"DevExpress.XtraCharts.RadarDiagramRotationDirection.Counterclockwise"},{value:"Clockwise",displayValue:"Clockwise",localizationId:"DevExpress.XtraCharts.RadarDiagramRotationDirection.Clockwise"}]},wc=[_c],Rc=[zc,Nc,Ec,$a,Fa,Oe,ce].concat(wc),Bc=[$a,Fa,Oe,ce].concat(wc),Vc=[Cc,Oe,Dc].concat(wc),Mc=[].concat(Vc),kc=[Cc,Oe,Dc].concat(wc),Ac=[qe,Tc,Bi,Vi,Ic,Pc,Oe,Re,we,Ve,Be,_c],Lc={info:[Me].concat(Ac),type:"XYDiagram"},$c={info:[Oa,Xa,ce,_c],type:"XYDiagram3D"},Fc={info:Rc,type:"RadarDiagram"},Oc={info:Bc,type:"PolarDiagram"},Xc={info:kc,type:"SimpleDiagram"},Hc={info:Vc,type:"SimpleDiagram3D"},Wc={info:[].concat(Ac),type:"GanttDiagram"},Uc={SideBySideBarSeriesView:Lc,StackedBarSeriesView:Lc,FullStackedBarSeriesView:Lc,SideBySideStackedBarSeriesView:Lc,SideBySideFullStackedBarSeriesView:Lc,WaterfallSeriesView:Lc,SideBySideBar3DSeriesView:$c,StackedBar3DSeriesView:$c,FullStackedBar3DSeriesView:$c,SideBySideStackedBar3DSeriesView:$c,SideBySideFullStackedBar3DSeriesView:$c,ManhattanBarSeriesView:$c,PointSeriesView:Lc,BubbleSeriesView:Lc,LineSeriesView:Lc,StackedLineSeriesView:Lc,FullStackedLineSeriesView:Lc,StepLineSeriesView:Lc,SplineSeriesView:Lc,ScatterLineSeriesView:Lc,SwiftPlotSeriesView:{info:Ac,type:"SwiftPlotDiagram"},Line3DSeriesView:$c,StackedLine3DSeriesView:$c,FullStackedLine3DSeriesView:$c,StepLine3DSeriesView:$c,Spline3DSeriesView:$c,PieSeriesView:Xc,DoughnutSeriesView:Xc,NestedDoughnutSeriesView:Xc,Pie3DSeriesView:Hc,Doughnut3DSeriesView:Hc,FunnelSeriesView:Xc,Funnel3DSeriesView:{info:Mc,type:"FunnelDiagram"},AreaSeriesView:Lc,StackedAreaSeriesView:Lc,FullStackedAreaSeriesView:Lc,StepAreaSeriesView:Lc,SplineAreaSeriesView:Lc,StackedSplineAreaSeriesView:Lc,FullStackedSplineAreaSeriesView:Lc,Area3DSeriesView:$c,StackedArea3DSeriesView:$c,FullStackedArea3DSeriesView:$c,StepArea3DSeriesView:$c,SplineArea3DSeriesView:$c,StackedSplineArea3DSeriesView:$c,FullStackedSplineArea3DSeriesView:$c,OverlappedRangeBarSeriesView:Lc,SideBySideRangeBarSeriesView:Lc,RangeAreaSeriesView:Lc,RangeArea3DSeriesView:$c,RadarPointSeriesView:Fc,RadarLineSeriesView:Fc,RadarAreaSeriesView:Fc,PolarPointSeriesView:Oc,PolarLineSeriesView:Oc,PolarAreaSeriesView:Oc,StockSeriesView:Lc,CandleStickSeriesView:Lc,OverlappedGanttSeriesView:Wc,SideBySideGanttSeriesView:Wc};class Gc extends re{constructor(e,t,a){super(e,t,a,Je)}static from(e,t){return new Gc(e||{},null,t)}}Gc.prefix="Pane ";class jc extends Q.SerializableModel{constructor(e,t,a=new L.ModelSerializer){const i=Uc[t].info;if(super(e=k.extend(e,{"@TypeNameSerializable":Uc[t].type}),a,Uc[t].info),i.filter((e=>e.propertyName===Ic.propertyName)).length>0){const t=(e,t)=>new Mi(e,t,a);this.secondaryAxesX=Wa(e&&e.SecondaryAxesX,t,Mi.xPrefix),this.secondaryAxesY=Wa(e&&e.SecondaryAxesY,t,Mi.yPrefix)}i.filter((e=>e.propertyName===Tc.propertyName)).length>0&&(this.panes=Wa(e&&e.Panes,((e,t)=>new Gc(e,t,a)),Gc.prefix))}getChildComponents(){var e;return[{component:this.axisX,path:"AxisX"},{component:this.axisY,path:"AxisY"},{component:A.unwrap(this.secondaryAxesX),path:"SecondaryAxesX"},{component:A.unwrap(this.secondaryAxesY),path:"SecondaryAxesY"},{component:A.unwrap(this.panes),path:"Panes"},{component:null===(e=this.defaultPane)||void 0===e?void 0:e.title,path:"DefaultPane.Title"}]}static toJson(e,t,a){return t.serialize(e,null,a)}}const qc={propertyName:"diagram",modelName:"Diagram",displayName:"Diagram",from:e=>A.observable(e),toJsonObject:jc.toJson,localizationId:"DevExpress.XtraReports.UI.XRChart.Diagram"};class Jc extends re{constructor(e,t,a){super(e,t,a,Jr)}static from(e,t){return new Jc(e||{},null,t)}}Jc.prefix="Legend";class Kc extends Q.SerializableModel{constructor(e,t){super(e,t,Qc),this.series=Wa(e&&e.SeriesSerializable,((e,a)=>new bc(e,a,t)),bc.prefix);const a=Rr.valuesArray,i=[];for(let e=0;e<a.length;e++){const t=a[e],r=(e=!1)=>(e?"dxrd-svg-fieldlist-":"dx-image-fieldlist-")+Ha(t.value);i.push({text:(0,B.getLocalization)(t.displayValue,t.localizationId),imageClassName:r(),imageTemplateName:G.SvgTemplatesEngine.getExistingTemplate(r(!0)),disabled:A.observable(!1),visible:!0,clickAction:(e=>t=>{this.series().innerActions[0].closePopover(),this.series.push(new bc({"@Name":(0,B.getUniqueName)(this.series().map((e=>e.name())),bc.prefix),View:{"@TypeNameSerializable":e}},this.series))})(t.value)})}this.series().innerActions=X((0,B.getLocalization)("Add","ChartStringId.MenuItemAdd"),"addseries-action",i)}static from(e,t){return new Kc(e||{},t)}static toJson(e,t,a){return t.serialize(e,Qc,a)}getChildComponents(){return[{component:A.unwrap(this.series),path:"Series"}]}}const Qc=[Ar,kr,fc,pe,Tr],Yc={propertyName:"dataContainer",modelName:"DataContainer",displayName:"Data Container",info:Qc,from:Kc.from,toJsonObject:Kc.toJson,editor:K.editorTemplates.getEditor("objecteditorCustom")};class Zc extends Q.SerializableModel{constructor(e,t){super(e,t,qr)}static from(e,t){return new Zc(e||{},t)}static toJson(e,t,a){return t.serialize(e,qr,a)}}const ep={propertyName:"legend",modelName:"Legend",displayName:"Legend",localizationId:"DevExpress.XtraCharts.Legend",info:qr,from:Zc.from,toJsonObject:Zc.toJson,defaultVal:{},editor:K.editorTemplates.getEditor("objecteditor")};class tp extends Q.SerializableModel{constructor(e,t){super((0,B.cutRefs)(e),t,ap);const a=A.observable("");this._createDiagram(e.Diagram,a,t),this._disposables.push(A.computed((()=>{this._createDiagram({},a,t)}))),this.titles=Wa(e&&e.Titles,((e,a)=>new yo(e,a,t)),yo.prefix),this.legends=Wa(e&&e.Legends,((e,a)=>new Jc(e,a,t)),Jc.prefix),this._patchSeries(this.dataContainer.seriesTemplate),this._disposables.push(this.dataContainer.series.subscribe((e=>{e.filter((e=>"added"===e.status)).forEach((e=>{this._patchSeries(e.value)}))}),void 0,"arrayChange")),this.dataContainer.series().forEach((e=>this._patchSeries(e))),So(this.titles)}static from(e,t){return new tp(e||{},t)}static toJson(e,t,a){return t.serialize(e,ap,a)}_patchView(e){const t=e.getInfo();["barDistance","barDistanceFixed","equalBarWidth"].forEach((a=>{t.filter((e=>e.propertyName===a)).length>0&&(e[a]=this[a])}))}_patchSeries(e){e._disposables.push(e.view.subscribe((e=>{this._patchView(e)}))),this._patchView(e.view())}_createDiagram(e,t,a){if(e){let i="";i=this.dataContainer.seriesDataMember()||0===this.dataContainer.series().length?this.dataContainer.seriesTemplate.viewType():this.dataContainer.series()[0].viewType(),t.peek()!==Uc[i].type&&(t(Uc[i].type),this.diagram(new jc(e,i,a)))}}getChildComponents(){return[{component:this.emptyChartText,path:"EmptyChartText"},{component:this.smallChartText,path:"SmallChartText"},{component:A.unwrap(this.titles),path:"Titles"},{component:A.unwrap(this.legends),path:"Legends"},{component:this.legend.title,path:"Legend.Title"},{component:this.dataContainer,path:""},{component:A.unwrap(this.diagram),path:"Diagram"}]}}const ap=[Qr,Zr,Yr,Zi,Yi,er,Yc,qc,Hr,ep,Kr,Or,Xr],ip={propertyName:"chart",modelName:"Chart",displayName:"Chart",from:tp.from,toJsonObject:tp.toJson,localizationId:"DevExpress.XtraReports.UI.XRChart"},rp=new L.ControlsFactory;class op extends L.Disposable{constructor(e){super(),this.fieldListProvider=A.observable(null),this.chart=e.chart?e.chart:new tp(e.chartSource,new L.ModelSerializer),this.dataSource=e.dataSource,this.parameters=e.parameters,this._initChartElementFunctions(),["seriesDataMember","dataMember"].forEach((e=>{this[e]=A.computed({read:()=>this.chart.dataContainer[e](),write:t=>{this.chart.dataContainer[e](t)}})}))}getInfo(){return dp}getControlFactory(){return rp}isSeriesPropertyDisabled(e){if(!this.dataSource())return"argumentDataMember"===e||"valueDataMembers"===e||"colorDataMember"===e||"filterString"===e}isSeriesTemplatePropertyDisabled(e){if(!this.dataSource())return"argumentDataMember"===e||"valueDataMembers"===e||"valueScaleType"===e||"filterString"===e}_getSeriesActualArgumentScaleType(e){const t=k.Deferred();if(this.fieldListProvider()&&e){let a=this.getPath("seriesDataMember"),i=e;const r=e.split(".");r.length>1&&(i=r.pop(),r.splice(0,0,a),a=r.join(".")),this.fieldListProvider().getItems(new L.PathRequest(a)).done((e=>{const a=e.filter((e=>e.name===i))[0];let r=oc.Numerical;a&&a.specifics&&(r=H(a.specifics)?oc.Numerical:W(a.specifics)?oc.DateTime:oc.Qualitative),t.resolve(r)})).fail((()=>{t.resolve(oc.Numerical)}))}else t.resolve(oc.Numerical);return t.promise()}_initSeries(e){const t=e.getPath.bind(e);e.getPath=e=>{if("argumentDataMember"===e||"colorDataMember"===e||"summaryFunction"===e)return t("seriesDataMember")||this.getPath("seriesDataMember")},e.isPropertyDisabled=t=>!!e._isPropertyDisabled(t)||(e._isDataMemberPropertyDisabled(t)?this.isSeriesPropertyDisabled(t):void 0),e._disposables.push(e.filterString.helper.parameters=A.computed((()=>this.parameters&&this.parameters()))),e.valueDataMembers().getPath=e=>t("seriesDataMember")||this.getPath("seriesDataMember"),e._disposables.push(e.valueDataMembers.subscribe((e=>{e.getPath=e=>t("seriesDataMember")||this.getPath("seriesDataMember")}))),e._disposables.push(e.argumentDataMember.subscribe((t=>{"Auto"===this.chart.dataContainer.seriesTemplate.argumentScaleType()&&this._getSeriesActualArgumentScaleType(t).done((t=>{e._actualArgumentScaleType(t)}))}))),e._disposables.push(e.argumentScaleType.subscribe((t=>{"Auto"!==t&&"Qualitative"!==t&&this._getSeriesActualArgumentScaleType(e.argumentDataMember()).done((a=>{a!==sc[t]&&e.argumentDataMember("")})),e._actualArgumentScaleType("Auto"==t?oc.Numerical:sc[t])})))}_initChartElementFunctions(){const e=this.chart.dataContainer.seriesTemplate,t=e.getPath.bind(e);this._initSeries(e),this.chart.dataContainer.series().forEach((e=>this._initSeries(e))),this._disposables.push(this.chart.dataContainer.series.subscribe((e=>{"added"===e[0].status&&this._initSeries(e[0].value)}),null,"arrayChange")),e.getPath=e=>t("seriesDataMember")||this.getPath("seriesDataMember"),e.isPropertyDisabled=t=>!!e._isPropertyDisabled(t)||(e._isDataMemberPropertyDisabled(t)?this.isSeriesTemplatePropertyDisabled(t):void 0),this._disposables.push(e.filterString.helper.parameters=A.computed((()=>this.parameters&&this.parameters()))),e.valueDataMembers().getPath=e=>t("seriesDataMember")||this.getPath("seriesDataMember"),this._disposables.push(e.valueDataMembers.subscribe((e=>{e.getPath=e=>t("seriesDataMember")||this.getPath("seriesDataMember")}))),this._disposables.push(e.argumentDataMember.subscribe((t=>{"Auto"===e.argumentScaleType()&&this._getSeriesActualArgumentScaleType(t).done((t=>{e._actualArgumentScaleType(t)}))})))}getPath(e){const t=this.dataSource(),a=t&&t.data&&(t.id||t.ref)||"";return"seriesDataMember"===e||"valueDataMembers"===e||"colorDataMember"===e?(0,B.getFullPath)(a,this.chart.dataContainer.dataMember()):"dataMember"===e?a:void 0}serialize(){return(new L.ModelSerializer).serialize(this)}save(){const e=this.serialize();return this.onSave&&this.onSave(e),e}isPropertyDisabled(e){return!this.dataSource()&&("seriesDataMember"===e||"dataMember"===e)}}const sp={propertyName:"dataMember",displayName:"Data Member",defaultVal:"",editor:Z.getEditor("dataMemberChart"),localizationId:"DevExpress.XtraReports.UI.XRSparkline.DataMember"},np={propertyName:"seriesDataMember",displayName:"Series Data Member",defaultVal:"",editor:Z.getEditor("fieldChart"),localizationId:"DevExpress.XtraReports.UI.XRChart.SeriesDataMember"},lp=[ee,sp,np,Yr,fc,kr,qc,Hr,ep,Kr,Or,Xr,Zr],dp=[ip];class cp extends L.Disposable{constructor(e,t=A.observable(1),a=Q.Size.fromString("500, 500")){super(),this.imageSrc=A.observable(""),this.templateName="dx-chart-surface",this.width=A.computed((()=>a.width()*t())),this.height=A.computed((()=>a.height()*t())),this.zoom=t,this._disposables.push(this.width),this._disposables.push(this.height),this._disposables.push(A.computed((()=>{e.chart.dataContainer.series().forEach((e=>{e.viewType()}));const t=this;V()&&M.getChartImage(V(),tp.toJson(A.unwrap(e.chart),new L.ModelSerializer,null),this.width(),this.height()).done((function(a){const i=e.chart.dataContainer.series();i.forEach((e=>{e.isIncompatible(!1)})),t.imageSrc("data:image/svg+xml;base64,"+a.Image),a.Indexes.forEach((e=>{i[e].isIncompatible(!0)}))})).fail((function(e){(0,B.NotifyAboutWarning)("Impossible to get chart image.")}))})).extend({deferred:!0}))}}const pp={Save:"dxxcd-save"},up="dx-chart-middlePart",mp="dxcd-toolbar",hp="dx-right-panel-lightweight",gp="dx-chart-leftPanel";let xp=!1;function vp(e){xp=e,Rr.valuesArray=wr(e)}function fp(e,t,a,i){return t.subscribe((r=>{r.forEach((r=>{if(r.status){let o="";const s=a();"deleted"===r.status?o=0===t().length?s.join("."):[].concat(s,"0").join("."):"added"===r.status&&(o=[].concat(s,r.index).join("."),i&&i(r.value,t,s)),e.selectedPath(o)}}))}),null,"arrayChange")}function bp(e,t,a,i="element"){const r={};return r[i]=e,r.owner=A.unwrap(e).owner,r.getInfo=()=>[k.extend({},t,{displayName:a,propertyName:i})],r}function yp(e,t){return A.computed((()=>(t&&[t]||[]).concat(e().map((e=>e.name())))))}function Sp(e,t,a=!0){t.localization&&(0,L.addCultureInfo)(t.localization),t.callbacks.fieldLists=t.callbacks.fieldLists||M.fieldListCallback,rp.registerControl("ChartControl",{info:dp,surfaceType:cp,type:op,elementActionsTypes:[],isContainer:!0,nonToolboxItem:!0});const i=A.observable(),r=A.observable(),o=A.observable(),s=new Q.Size(t.data.width,t.data.height),n=A.observable(null),l=A.observable(null);let d=[];const c=A.observableArray();let p=null;const u=A.observable({}),m=e=>{if(r()&&r()._disposables.forEach((e=>{e.dispose()})),d.forEach((e=>e.dispose())),d=[],e){c(e.chart.dataContainer.series().map((e=>e.view().group||e.stackedGroup)).filter((e=>!!e)).map((e=>e()))),i(e),u(e),r()&&r()._disposables.forEach((e=>{e.dispose()})),r(new cp(e,A.observable(1),s));const a=A.unwrap(t.fieldListProvider);if(a)o(a);else{let e=t.data.dataSource&&t.data.dataSource()?[t.data.dataSource()]:[];t.data.availableChartDataSources&&(e=t.data.availableChartDataSources().map((e=>e.value)));const a=A.observableArray(e);o(new B.FieldListProvider(t.callbacks.fieldLists,a))}e.fieldListProvider(o()),v.dragHelperContent=new B.DragHelperContent(null),n(function(e,t,a,i,r,o){const s={dataSource:e.dataSource,dataMember:e.chart.dataContainer.dataMember,seriesDataMember:e.chart.dataContainer.seriesDataMember,seriesTemplate:e.chart.dataContainer.seriesTemplate,series:e.chart.dataContainer.series,diagram:A.computed((()=>e.chart.dataContainer.series().length>0||e.chart.dataContainer.seriesDataMember()?e.chart.diagram():null)),titles:e.chart.titles,backImage:e.chart.backImage,legend:e.chart.legend,legends:e.chart.legends,emptyChartText:e.chart.emptyChartText,smallChartText:e.chart.smallChartText,paletteName:e.chart.paletteName,getInfo:()=>lp,getPath:t=>e.getPath(t),isPropertyDisabled:t=>e.isPropertyDisabled(t),className:()=>"chart"},n=new Sc(s,"Chart","DevExpress.XtraReports.UI.XRChart"),l=new q(["chart","Chart","titles","legend","legends","series","diagram","indicators","defaultPane","panes","axisX","axisY","secondaryAxesX","secondaryAxesY","constantLines","scaleBreaks","strips","seriesTemplate","label","points"],["chart","diagram","axisX","axisY","titles","indicators","legends","series","panes","secondaryAxesX","secondaryAxesY","seriesTemplate","constantLines","scaleBreaks","strips","SeriesViewModel","SecondaryAxisViewModel"],(e=>{let a=n.selectedMember();"points"===e.data.specifics?a=bp(A.observableArray(a),Er,e.data.displayName,"points"):Array.isArray(a)&&(a=bp(a,{editor:Z.getEditor("collection")},e.data.displayName)),t(a)}),i,r,o),d={itemsProvider:n,treeListController:l,expandRootItems:!0,selectedPath:n.selectedPath};n.selectedPath("Chart"),t(null),a.push(s.diagram),a.push(fp(n,e.chart.dataContainer.series,(()=>["Chart","series"]))),a.push(fp(n,e.chart.titles,(()=>["Chart","titles"]))),a.push(fp(n,e.chart.legends,(()=>["Chart","legends"])));const c=[],p=e=>{c.forEach((e=>e.dispose()));const t=["constantLines","scaleBreaks","strips"],i=(e,a,i)=>{t.forEach((t=>{c.push(fp(n,e[t],(()=>[].concat(i,a.indexOf(e),t))))}))};["axisX","axisY"].forEach((a=>{e[a]&&t.forEach((t=>{e[a][t]&&c.push(fp(n,e[a][t],(()=>["Chart","diagram",a,t])))}))})),["secondaryAxesX","secondaryAxesY"].forEach((t=>{if(e[t]){c.push(fp(n,e[t],(()=>["Chart","diagram",t]),i));const a=A.unwrap(e[t]);for(let e=0;e<a.length;e++)i(a[e],a,["Chart","diagram",t])}})),e.panes&&c.push(fp(n,e.panes,(()=>["Chart","diagram","panes"]))),[].push.apply(a,c)};return p(e.chart.diagram()),e.chart.diagram.subscribe((e=>{p(e)})),d}(e,l,d,r,v.undoEngine,v.dragHelperContent))}v.undoEngine().clearHistory()},h=e=>{const a=new op({chartSource:e,dataSource:t.data.dataSource,callbacks:t.callbacks,size:{height:A.observable(t.data.height),width:A.observable(t.data.width),isPropertyDisabled:e=>!0}});m(a)},g=new L.UndoEngine(u,["viewType"],"getInfo");g._disposeUndoEngineSubscriptionsName+="chartdesigner";const x=new K.ObjectProperties(l);x.registerAccessibilityProvider(t.accessibilityProvider);const v={model:i,chartStructure:n,rightPanelHeader:()=>(0,L.getLocalization)("Chart Structure","ChartDesignerStringIDs.ChartStructureDockPanelTitle"),surface:r,undoEngine:A.observable(g),tabPanel:new L.TabPanel({tabs:[new L.TabInfo({text:"Properties",template:"dxrd-propertygridtab",model:x,localizationId:"AnalyticsCoreStringId.Cmd_Properties"})],rtl:t.rtl,width:396}),surfaceSize:A.observable(0),isLoading:A.observable(!0),rtl:t.rtl,groups:c,applyGroup:e=>{-1===c().indexOf(e)&&e&&c.push(e)}};if((0,B.appendStaticContextToRootViewModel)(v,B.staticContext),t.data.chartSource?(p=t.data.chartSource.subscribe((e=>{h(e)})),h(t.data.chartSource())):(t.data.chart.subscribe((e=>{m(e)})),m(t.data.chart())),v.panes=yp((()=>{const e=i().chart.diagram().panes;return e&&e()||[]}),ts.defaultVal),v.legends=yp((()=>{const e=i().chart.legends;return e&&e()||[]}),Sa.defaultVal),v.axisX=yp((()=>{const e=i().chart.diagram().secondaryAxesX;return e&&e()||[]}),as.defaultVal),v.axisY=yp((()=>{const e=i().chart.diagram().secondaryAxesY;return e&&e()||[]}),is.defaultVal),t.data.availableChartDataSources)v.chartDataSources=t.data.availableChartDataSources;else{const e=t.data.dataSource&&t.data.dataSource()?[{displayName:t.data.dataSource().name,value:t.data.dataSource()}]:[];v.chartDataSources=A.observableArray(e)}v.rootStyle="dxcd-designer dxd-back-primary",v.parts=[{id:up,templateName:up,model:v},{id:mp,templateName:mp,model:v},{id:hp,templateName:hp,model:v},{id:gp,templateName:gp,model:v}],v.dataBindingsProvider=o,v.actionLists=new B.ActionLists(r,null,v.undoEngine,function(e,t){const a=e.model;return e=>{const i={id:pp.Save,text:"Save",imageClassName:"dxrd-image-save",imageTemplateName:"dxrd-svg-menu-save",disabled:A.observable(!1),visible:!0,hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"S".charCodeAt(0)},clickAction:()=>{a().save()}};e.splice(0,0,i),t&&t(e)}}(v,t.callbacks.customizeActions)),v.isLoading(!1),a&&(k.fn.constructor(e).children().remove(),A.applyBindings(v,e));const f=function(e,t,a=!1){const i=k.fn.constructor(e);return()=>{const e=i.find(".dxrd-right-panel")[0].offsetWidth,r=i.find(".dx-chart-left-panel")[0].offsetWidth,o=e+r,s=i.find(".dxcd-designer")[0].offsetWidth-(o+5);i.find(".dxrd-surface-wrapper").eq(0).css({right:a?r:e,left:a?e:r,width:s}),t(s)}}(e,v.surfaceSize,v.rtl);return v.tabPanel.events.on("widthChanged",(e=>{f()})),v.subscriptions=d,v.chartSourceSubscription=p,v.updateSurfaceSize=()=>{f()},a&&v.updateSurfaceSize(),t.callbacks&&t.callbacks.init&&t.callbacks.init(v),v}A.bindingHandlers.dxChartDesigner={init:function(e,t){const a=A.unwrap(t())||{};k.fn.constructor(e).children().remove();const i=(0,K.getTemplate)("dxrd-designer"),r=k.fn.constructor(e).append(i);let o=Sp(r[0],a,!1);A.applyBindings(o,r.children()[0]);const s=a.visible.subscribe((e=>{e&&o.updateSurfaceSize()}));return o.updateSurfaceSize(),(0,B.addDisposeCallback)(e,(function(){o.model()&&o.model()._disposables.forEach((e=>e.dispose())),o.subscriptions.forEach((e=>e.dispose())),o.chartSourceSubscription&&o.chartSourceSubscription.dispose(),o.subscriptions=[],s.dispose(),o=null})),{controlsDescendantBindings:!0}}};class Cp extends K.FieldListEditor{_isNumber(e){return-1!==e.indexOf("integer")||-1!==e.indexOf("float")}_isDate(e){return-1!==e.indexOf("date")}_getArgumentDataMemberFilter(e){const t=this._get("_model"),a=t&&t.argumentScaleType(),i=e.specifics.toLowerCase();return"Numerical"===a?this._isNumber(i):"DateTime"!==a||this._isDate(i)}_getValueDataMemberFilter(e){const t=e.specifics.toLowerCase();if("weight"===this.name)return this._isNumber(t);{const e=this._get("_model");return"Numerical"===(e&&e.valueScaleType())?this._isNumber(t):this._isDate(t)}}constructor(e,t,a){super(e,t,a),this.treeListController.itemsFilter=e=>!!e.isList||("argumentDataMember"===this.name?this._getArgumentDataMemberFilter(e):this._getValueDataMemberFilter(e))}}class Dp extends K.Editor{constructor(){super(...arguments),this.options=null}generateOptions(e,t){if(!this.options){const a=A.computed((()=>this._get("disabled")||!e()||0===e().length)),i=A.computed({read:()=>{const t=e().filter((e=>!!e&&e.value===this.value()))[0];return A.unwrap(t&&t.displayName)},write:t=>{const a=e().filter((e=>!!e&&A.unwrap(e.displayName)===t))[0];this.value(a&&a.value)}});this._disposables.push(i),this._disposables.push(a),this.options={displayExpr:"displayName",dataSource:e,disabled:a,value:i,valueExpr:"displayName",displayCustomValue:!0,dropDownOptions:{container:t}}}return this.options}}class _p extends K.Editor{constructor(e,t,a,i){super(e,t,a,i)}getDependencyOptions(e,t,a){if(!this.bindableOptions){const i={};this.depProperty=A.computed((()=>{const e=this._get("_model");return e&&e[a]()})),this._disposables.push(this.depProperty),i[t]=this.depProperty,this.bindableOptions=k.extend({},this.getOptions(e),i)}return this.bindableOptions}}class Ip extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.array=A.computed((()=>this.value()||[])),this.selectedItem=A.observable(),this._disposables.push(this.array)}get editors(){const e=this.selectedItem();return e&&e.getInfo&&e.getInfo()}}class Pp extends K.Editor{constructor(e,t,a,i){super(e,t,a,i)}addPoint(e){return eo.createNew(e)}}class Tp extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this._disposables.push(this.values=A.pureComputed((()=>{const e=this._get("_model");if(e&&e.typeNameSerializable)return this._positionChooser(e.typeNameSerializable())})))}_positionChooser(e){if(e){if(-1!==["PieSeriesLabel","Pie3DSeriesLabel","DoughnutSeriesLabel","NestedDoughnutSeriesLabel","Doughnut3DSeriesLabel"].indexOf(e))return mr;if(-1!==["FunnelSeriesLabel","Funnel3DSeriesLabel"].indexOf(e))return hr;if("WaterfallSeriesLabel"===e)return gr}return ur}}class zp extends K.ColorPickerEditor{constructor(e,t,a){super(e,t,a)}generateValue(e){return this.generatedValue||this._disposables.push(this.generatedValue=A.computed({read:()=>this._get("displayValue"),write:t=>{e().start(),this._set("displayValue",t),e().end()}})),this.generatedValue}}class Np extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.viewItems=[],this.contentValue=A.computed((()=>this.value()&&this.value().model()||{})),this._disposables.push(this.contentValue)}generateHeaderValue(e){return this.headerValue||this._disposables.push(this.headerValue=A.computed({read:()=>this.value()&&this.value().type(),write:t=>{e().start(),this.value().type(t),e().end()}})),this.headerValue}generateViewItems(){return this.viewItems.length||(this.viewItems=this._get("values").map((e=>Object.assign(Object.assign({},e),{className:this.generateViewClassName(e.value),templateName:this.generateViewClassName(e.value,!0)})))),this.viewItems}generateViewClassName(e,t=!1){const a=(t?"dxrd-svg-fieldlist-":"dx-image-fieldlist-")+Ha(e);return t?G.SvgTemplatesEngine.getExistingTemplate(a):a}}Z.registerEditors({chartDataSource:{header:"dxcd-datasource",editorType:Dp},collection:{header:"dxcd-collection-lookup-header",content:"dxcd-collection-item",editorType:Ip},views:{header:"dxcd-viewHeader",content:"dxcd-viewContent",editorType:Np},fieldChart:{header:"dxcd-field",editorType:K.FieldListEditor},dataMemberChart:{header:"dxcd-field",editorType:K.DataMemberEditor},valueDataMember:{header:"dxcd-field",editorType:Cp},comboboxPositionSeriesLabel:{header:"dx-combobox",editorType:Tp},panes:{header:"dxcd-panes-editor"},axisX:{header:"dxcd-axisX-editor"},axisY:{header:"dxcd-axisY-editor"},legends:{header:"dxcd-legends-editor"},summaryFunction:{header:"dx-emptyHeader",content:"dxcd-summaryFunction-content",editorType:Hi},points:{custom:"dxcd-pointscollection",editorType:Pp},maxSize:{header:"dxcd-maxSize",editorType:_p},minSize:{header:"dxcd-minSize",editorType:_p},group:{header:"dxcd-group"},undoCustomColorEditor:{header:"dxcd-color-undo",editorType:zp}});const Ep=[{propertyName:"columnName",displayName:"Column Name",editor:A.bindingHandlers.displayNameExtender?K.editorTemplates.getEditor("field"):Z.getEditor("fieldChart"),modelName:"@ColumnNameSerializable",localizationId:"DevExpress.XtraCharts.DataFilter.ColumnName"},{propertyName:"dataType",displayName:"Data Type",defaultVal:"System.String",editor:K.editorTemplates.getEditor("combobox"),modelName:"@DataTypeSerializable",valuesArray:[{value:"System.Boolean",displayValue:"System.Boolean"},{value:"System.Byte",displayValue:"System.Byte"},{value:"System.Char",displayValue:"System.Char"},{value:"System.DateTime",displayValue:"System.DateTime"},{value:"System.Decimal",displayValue:"System.Decimal"},{value:"System.Double",displayValue:"System.Double"},{value:"System.Guid",displayValue:"System.Guid"},{value:"System.Int16",displayValue:"System.Int16"},{value:"System.Int32",displayValue:"System.Int32"},{value:"System.Int64",displayValue:"System.Int64"},{value:"System.SByte",displayValue:"System.SByte"},{value:"System.Single",displayValue:"System.Single"},{value:"System.String",displayValue:"System.String"},{value:"System.TimeSpan",displayValue:"System.TimeSpan"},{value:"System.UInt16",displayValue:"System.UInt16"},{value:"System.UInt32",displayValue:"System.UInt32"},{value:"System.UInt64",displayValue:"System.UInt64"}],localizationId:"DevExpress.XtraCharts.DataFilter.DataType"},{propertyName:"condition",displayName:"Condition",defaultVal:"Equal",editor:K.editorTemplates.getEditor("combobox"),modelName:"@Condition",valuesArray:[{value:"Equal",displayValue:"Equal",localizationId:"DevExpress.XtraCharts.DataFilterCondition.Equal"},{value:"GreaterThan",displayValue:"GreaterThan"},{value:"GreaterThanOrEqual",displayValue:"GreaterThanOrEqual"},{value:"LessThan",displayValue:"LessThan"},{value:"LessThanOrEqual",displayValue:"LessThanOrEqual"},{value:"NotEqual",displayValue:"NotEqual"}],localizationId:"DevExpress.XtraReports.UI.FormattingRule.Condition"},{propertyName:"value",displayName:"Value",editor:K.editorTemplates.getEditor("text"),modelName:"@InvariantValueSerializable",localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];class wp{constructor(e,t){this.columnName=A.observable(""),(t=t||new L.ModelSerializer).deserialize(this,e),this.name=A.pureComputed((()=>this.columnName()?this.columnName():(0,B.getLocalization)("DataFilter","ChartStringId.DefaultDataFilterName")))}static createNew(){return new(Rp())({},new L.ModelSerializer)}getInfo(){return Ep}}const Rp=(0,B.createGlobalModuleVariableFunc)(wp),Bp=(K.editorTemplates.getEditor("commonCollection"),DevExpress.Reporting.Viewer.Editing);G.SvgTemplatesEngine.extendTemplates({"dxrd-svg-fieldlist-area":"dxrd-svg-series-area","dxrd-svg-fieldlist-area3d":"dxrd-svg-series-area3d","dxrd-svg-fieldlist-sidebysidebar":"dxrd-svg-series-side_by_side_bar","dxrd-svg-fieldlist-sidebysidebar3d":"dxrd-svg-series-side_by_side_bar3d","dxrd-svg-fieldlist-bubble":"dxrd-svg-series-bubbles","dxrd-svg-fieldlist-candlestick":"dxrd-svg-series-candle_stick","dxrd-svg-fieldlist-doughnut3d":"dxrd-svg-series-doughnut3d","dxrd-svg-fieldlist-doughnut":"dxrd-svg-series-doughnut","dxrd-svg-fieldlist-fullstackedarea":"dxrd-svg-series-full_stacked_area","dxrd-svg-fieldlist-fullstackedarea3d":"dxrd-svg-series-full_stacked_area3d","dxrd-svg-fieldlist-fullstackedbar":"dxrd-svg-series-full_stacked_bar","dxrd-svg-fieldlist-fullstackedbar3d":"dxrd-svg-series-full_stacked_bar3d","dxrd-svg-fieldlist-fullstackedline":"dxrd-svg-series-full_stacked_line","dxrd-svg-fieldlist-fullstackedline3d":"dxrd-svg-series-full_stacked_line3d","dxrd-svg-fieldlist-fullstackedsplinearea":"dxrd-svg-series-full_stacked_spline_area","dxrd-svg-fieldlist-fullstackedsplinearea3d":"dxrd-svg-series-full_stacked_spline_area3d","dxrd-svg-fieldlist-waterfall":"dxrd-svg-series-waterfall","dxrd-svg-fieldlist-funnel":"dxrd-svg-series-funnel","dxrd-svg-fieldlist-funnel3d":"dxrd-svg-series-funnel3d","dxrd-svg-fieldlist-overlappedgantt":"dxrd-svg-series-gantt","dxrd-svg-fieldlist-line":"dxrd-svg-series-line","dxrd-svg-fieldlist-line3d":"dxrd-svg-series-line3d","dxrd-svg-fieldlist-manhattanbar":"dxrd-svg-series-manhattan_bar3d","dxrd-svg-fieldlist-nesteddoughnut":"dxrd-svg-series-nested_doughnut","dxrd-svg-fieldlist-pie":"dxrd-svg-series-pie","dxrd-svg-fieldlist-pie3d":"dxrd-svg-series-pie3d","dxrd-svg-fieldlist-point":"dxrd-svg-series-point","dxrd-svg-fieldlist-polararea":"dxrd-svg-series-polar_area","dxrd-svg-fieldlist-polarline":"dxrd-svg-series-polar_line","dxrd-svg-fieldlist-polarpoint":"dxrd-svg-series-polar_point","dxrd-svg-fieldlist-radararea":"dxrd-svg-series-radar_area","dxrd-svg-fieldlist-radarline":"dxrd-svg-series-radar_line","dxrd-svg-fieldlist-radarpoint":"dxrd-svg-series-radar_point","dxrd-svg-fieldlist-rangearea":"dxrd-svg-series-range_area","dxrd-svg-fieldlist-rangearea3d":"dxrd-svg-series-range_area3d","dxrd-svg-fieldlist-overlappedrangebar":"dxrd-svg-series-range_bar","dxrd-svg-fieldlist-scatterline":"dxrd-svg-series-scatter_line","dxrd-svg-fieldlist-sidebysidefullstackedbar":"dxrd-svg-series-side_by_side_full_stacked_bar","dxrd-svg-fieldlist-sidebysidefullstackedbar3d":"dxrd-svg-series-side_by_side_full_stacked_bar3d","dxrd-svg-fieldlist-sidebysidegantt":"dxrd-svg-series-side_by_side_gantt","dxrd-svg-fieldlist-sidebysiderangebar":"dxrd-svg-series-side_by_side_range_bar","dxrd-svg-fieldlist-sidebysidestackedbar":"dxrd-svg-series-side_by_side_stacked_bar","dxrd-svg-fieldlist-sidebysidestackedbar3d":"dxrd-svg-series-side_by_side_stacked_bar3d","dxrd-svg-fieldlist-spline":"dxrd-svg-series-spline","dxrd-svg-fieldlist-splinearea":"dxrd-svg-series-spline_area","dxrd-svg-fieldlist-splinearea3d":"dxrd-svg-series-spline_area3d","dxrd-svg-fieldlist-spline3d":"dxrd-svg-series-spline3d","dxrd-svg-fieldlist-stackedarea":"dxrd-svg-series-stacked_area","dxrd-svg-fieldlist-stackedarea3d":"dxrd-svg-series-stacked_area3d","dxrd-svg-fieldlist-stackedbar":"dxrd-svg-series-stacked_bar","dxrd-svg-fieldlist-stackedbar3d":"dxrd-svg-series-stacked_bar3d","dxrd-svg-fieldlist-stackedline":"dxrd-svg-series-stacked_line","dxrd-svg-fieldlist-stackedline3d":"dxrd-svg-series-stacked_line","dxrd-svg-fieldlist-stackedsplinearea":"dxrd-svg-series-stacked_spline_area","dxrd-svg-fieldlist-stackedsplinearea3d":"dxrd-svg-series-stacked_spline_area3d","dxrd-svg-fieldlist-steparea":"dxrd-svg-series-step_area","dxrd-svg-fieldlist-steparea3d":"dxrd-svg-series-step_area3d","dxrd-svg-fieldlist-stepline":"dxrd-svg-series-step_line","dxrd-svg-fieldlist-stepline3d":"dxrd-svg-series-step_line3d","dxrd-svg-fieldlist-stock":"dxrd-svg-series-stock","dxrd-svg-fieldlist-swiftplot":"dxrd-svg-series-swift_plot","dxrd-svg-fieldlist-chart":"dxrd-svg-chartstructure-chart","dxrd-svg-fieldlist-diagram":"dxrd-svg-chartstructure-diagram","dxrd-svg-fieldlist-legend":"dxrd-svg-chartstructure-legend","dxrd-svg-fieldlist-legends":"dxrd-svg-chartstructure-legend","dxrd-svg-fieldlist-series":"dxrd-svg-chartstructure-seriescollection","dxrd-svg-fieldlist-seriestemplate":"dxrd-svg-chartstructure-seriescollection","dxrd-svg-fieldlist-titles":"dxrd-svg-chartstructure-titles"});const Vp=[{value:"Codabar",displayValue:"Codabar",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Codabar"},{value:"Code11",displayValue:"Code 11",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code11"},{value:"Code128",displayValue:"Code 128",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code128"},{value:"Code39",displayValue:"Code 39",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code39"},{value:"Code39Extended",displayValue:"Code 39 Extended",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code39Extended"},{value:"Code93",displayValue:"Code 93",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code93"},{value:"Code93Extended",displayValue:"Code 93 Extended",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Code93Extended"},{value:"CodeMSI",displayValue:"Code MSI",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.CodeMSI"},{value:"DataBar",displayValue:"DataBar",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.DataBar"},{value:"DataMatrix",displayValue:"Data Matrix",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.DataMatrix"},{value:"DataMatrixGS1",displayValue:"Data Matrix GS1",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.DataMatrixGS1"},{value:"EAN128",displayValue:"EAN 128",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.EAN128"},{value:"EAN13",displayValue:"EAN 13",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.EAN13"},{value:"EAN8",displayValue:"EAN 8",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.EAN8"},{value:"Industrial2of5",displayValue:"Industrial 2 of 5",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Industrial2of5"},{value:"IntelligentMail",displayValue:"Intelligent Mail",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.IntelligentMail"},{value:"IntelligentMailPackage",displayValue:"Intelligent Mail Package",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.IntelligentMailPackage"},{value:"Interleaved2of5",displayValue:"Interleaved 2 of 5",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Interleaved2of5"},{value:"ITF14",displayValue:"ITF 14",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.ITF14"},{value:"Matrix2of5",displayValue:"Matrix 2 of 5",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Matrix2of5"},{value:"PDF417",displayValue:"PDF 417",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.PDF417"},{value:"PostNet",displayValue:"PostNet",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.PostNet"},{value:"QRCode",displayValue:"QR Code",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.QRCode"},{value:"UPCA",displayValue:"UPC A",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.UPCA"},{value:"UPCE0",displayValue:"UPC E0",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.UPCE0"},{value:"UPCE1",displayValue:"UPC E1",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.UPCE1"},{value:"UPCSupplemental2",displayValue:"UPCSupplemental2",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.UPCSupplemental2"},{value:"UPCSupplemental5",displayValue:"UPCSupplemental5",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.UPCSupplemental5"},{value:"Pharmacode",displayValue:"Pharmacode",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.Pharmacode"},{value:"DeutschePostIdentcode",displayValue:"DeutschePostIdentcode",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.DeutschePostIdentcode"},{value:"DeutschePostLeitcode",displayValue:"DeutschePostLeitcode",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.DeutschePostLeitcode"},{value:"SSCC",displayValue:"SSCC",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.SSCC"},{value:"QRCodeGS1",displayValue:"QRCodeGS1",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.QRCodeGS1"},{value:"QRCodeEPC",displayValue:"EPC QR Code",localizationId:"DevExpress.XtraPrinting.BarCode.Native.BarCodeSymbology.QRCodeEPC"}];class Mp extends L.Disposable{constructor(e,t,a){super(),this.state=Mp.states.complete,this.anchoring=a,this.start(e,t)}dispose(){super.dispose(),this.subscribtion.dispose()}start(e,t){this.subscribtion&&this.subscribtion.dispose();const a=A.observable(e());this.subscribtion=e.subscribe((e=>{this.state!==Mp.states.fromControls&&(this.state=Mp.states.inProgress,this.anchorSubscribtion(e,a,t)),a(e),this.state=Mp.states.complete}))}}Mp.states={inProgress:"inProgress",complete:"complete",fromControls:"fromControls"};class kp extends Mp{constructor(e,t,a){super(e,t,a),this.anchorSubscribtion=(e,t,a)=>{if((0,B.checkModelReady)(a.root)&&isFinite(t())&&t()){if("Both"===this.anchoring()){const i=a.size.height()+e-t();a.size.height(i>0?i:1)}if("Bottom"===this.anchoring()){const i=a.location.y()+e-t();a.location.y(i>0?i:0)}}},this._disposables.push(t.size.height.subscribe((e=>{this.state===Mp.states.complete&&(this.state=Mp.states.fromControls)}))),this._disposables.push(t.location.y.subscribe((e=>{this.state===Mp.states.complete&&(this.state=Mp.states.fromControls)})))}}class Ap extends Mp{constructor(e,t,a){super(e,t,a),this.anchorSubscribtion=(e,t,a)=>{if((0,B.checkModelReady)(a.root)&&isFinite(t())&&t()){if("Both"===this.anchoring()){const i=a.size.width()+e-t();a.size.width(i>0?i:1)}if("Right"===this.anchoring()){const i=a.location.x()+e-t();a.location.x(i>0?i:0)}}}}}const Lp=[{propertyName:"parameter",modelName:"@Parameter",link:!0},{propertyName:"dataSource",modelName:"@DataSource",link:!0},{propertyName:"dataMember",modelName:"@DataMember"}],$p=Lp.concat([{propertyName:"propertyName",modelName:"@PropertyName"},{propertyName:"formatString",modelName:"@FormatString"}]),Fp=DevExpress.Reporting.Viewer.Parameters,Op=(0,B.createGlobalModuleVariableFunc)(null),Xp=(0,B.createGlobalModuleVariableFunc)({}),Hp=(0,B.createGlobalModuleVariableFunc)("Expressions"),Wp=(0,B.createGlobalModuleVariableFunc)("DXXRD.axd"),Up=(0,B.createGlobalModuleVariableFunc)({}),Gp=(0,B.createGlobalModuleVariableFunc)("XRCrossTab"),jp=new K.EditorTemplates,qp=[{displayValue:"Horizontal",value:"Horizontal"},{displayValue:"Vertical",value:"Vertical"}],Jp={propertyName:"layoutItemType",modelName:"@LayoutItemType",displayName:"LayoutItemType"},Kp={propertyName:"titleVisible",modelName:"@TitleVisible",displayName:"Show title",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupTitleVisible",editor:jp.getEditor("parametersCheckbox"),defaultVal:!0,from:L.parseBool},Qp={propertyName:"title",modelName:"@Title",displayName:"Title",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupTitle",editor:K.editorTemplates.getEditor("text"),defaultVal:""},Yp={propertyName:"borderVisible",modelName:"@BorderVisible",displayName:"Show borders",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupBorderVisible",editor:jp.getEditor("parametersCheckbox"),defaultVal:!0,from:L.parseBool},Zp={propertyName:"expanded",modelName:"@Expanded",displayName:"Expanded",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupExpanded",editor:jp.getEditor("parametersCheckbox"),defaultVal:!0,from:L.parseBool},eu={propertyName:"showExpandButton",modelName:"@ShowExpandButton",displayName:"Show expand/collapse button",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupShowExpandButton",editor:jp.getEditor("parametersCheckbox"),defaultVal:!1,from:L.parseBool},tu={propertyName:"orientation",modelName:"@Orientation",displayName:"Orientation",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupOrientation",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Vertical",valuesArray:qp},au={propertyName:"labelOrientation",modelName:"@LabelOrientation",displayName:"Orientation",localizationId:"ASPxReportsStringId.ReportDesigner_ParametersDialog_GroupOrientation",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Horizontal",valuesArray:qp},iu=[Qp,tu,eu,Zp,Jp,Kp,Yp,{propertyName:"parameterPanelLayoutItems",modelName:"Items",array:!0}],ru=[Jp,au,{propertyName:"parameter",modelName:"@Parameter",link:!0}],ou=[Jp];var su;!function(e){e[e.Parameter=0]="Parameter",e[e.Group=1]="Group",e[e.Separator=2]="Separator"}(su||(su={}));class nu extends Q.ElementViewModel{constructor(e,t,a){super(e,t,a),this.name=A.observable(null);const i=this.root.parameterHelper;i&&i.addParameterPanelLayoutItem(this)}static createLayoutItem(e,t,a){return new pu[e["@LayoutItemType"]](e,t,a)}delete(){this.parentModel().parameterPanelLayoutItems.remove(this)}getControlFactory(){return Op()}className(){return""}}class lu extends nu{constructor(e,t,a){super(e,t,a),this.layoutItemType(su[su.Group]),this.name=this.title,this.parameterPanelLayoutItems=(0,L.deserializeArray)(e.Items,(e=>nu.createLayoutItem(e,this,a)))}getInfo(){return iu}className(){return"parametergroup"}isPropertyDisabled(e){return"expanded"===e&&!this.showExpandButton()}}class du extends nu{constructor(){super(...arguments),this.layoutItemType=A.observable(su[su.Separator]),this.name=A.observable(this.layoutItemType())}getInfo(){return ou}className(){return"parameterseparator"}}class cu extends nu{constructor(e,t,a,i){super(e,t,a),this.layoutItemType(su[su.Parameter]),i=i||this.parameter(),e["@Name"]&&(i=this.root.parameters().filter((t=>t.name===e["@Name"]))[0]),i&&(this.parameter(i),this.name=i.parameterName,"Vertical"===i.labelOrientation()&&this.labelOrientation("Vertical"),i.labelOrientation=this.labelOrientation)}className(){return this.parameter()&&this.parameter().specifics}getInfo(){return ru}}const pu={Group:lu,Separator:du,Parameter:cu};class uu extends Fp.ParameterHelper{constructor(e){super(),this.container=e,this._disposables.push(this.allLayoutItems=A.pureComputed((()=>{var e;let t=[];return this.parameterPanelLayoutItems&&(null===(e=this.parameterPanelLayoutItems())||void 0===e?void 0:e.length)&&(t=this.getAllLayoutItems(this.parameterPanelLayoutItems())),t})))}get parameters(){return this.container.parameters}get parameterPanelLayoutItems(){return this.container.parameterPanelLayoutItems}getAllLayoutItems(e){const t=[];return e.forEach((e=>{if(t.push(e),e instanceof lu){const a=this.getAllLayoutItems(e.parameterPanelLayoutItems());a&&a.length&&t.push(...a)}})),t}addParameterPanelLayoutItem(e){if(e instanceof lu&&!e.title()){const t=(0,B.getUniqueNameForNamedObjectsArray)(this.allLayoutItems().filter((e=>e instanceof lu)),"Group");e.title(t)}}startEditing(){this.parameters().forEach((e=>{e._isEditing(!0),e._showLayoutProperties(!0)}))}endEditing(){this.parameters().forEach((e=>{e._isEditing(!1),e._showLayoutProperties(!1)}))}updateParameterLayoutItems(){this.parameters().forEach((e=>{if(!this.getParameterLayoutItem(e)){const t=new cu({},this.container,void 0,e);this.parameterPanelLayoutItems.push(t)}}))}clearLayoutItems(){const e=[];this.parameterPanelLayoutItems().forEach((t=>{if(t instanceof cu){t.getInfo().some((e=>!!e.editor&&t.isPropertyModified(e.propertyName)))||e.push(t)}})),e.forEach((e=>this.parameterPanelLayoutItems.remove(e)))}getParameterLayoutItem(e){return this.allLayoutItems().filter((t=>t.parameter&&t.parameter()===e))[0]}removeParameterModel(e){for(const t of this.allLayoutItems())t.parameter&&t.parameter()===e&&t.delete()}}class mu{constructor(e){this.knownEnums=e,this.enumValueTypes=this.getEnumTypeValues()}_getTypeInfo(e){var t;const a=mu.typeValues.filter((t=>t.value===e));if(a.length>0)return a[0];if(null===(t=this.enumValueTypes)||void 0===t?void 0:t.length){const t=this.enumValueTypes.filter((t=>t.value===e));if(t.length>0)return t[0]}return null}_tryConvertValue(e,t){const a=e=>null!=e&&!isNaN("string"==typeof e?"":e);if(!a(e))return{isValid:!1,newValue:null};const i=this._getTypeInfo(t),r=i&&i.valueConverter?i.valueConverter(e,this.getDefaultValue(t)):e;return{isValid:a(r),newValue:r}}convertSingleValue(e,t){const a=this._tryConvertValue(e,t);return a.isValid?a.newValue:this.getDefaultValue(t)}getSpecifics(e){const t=this._getTypeInfo(e);return t?t.specifics:"default"}getIcon(e){const t=this._getTypeInfo(e);return t&&t.icon}getDefaultValue(e){var t,a,i;const r=this._getTypeInfo(e);let o=r?r.defaultValue:"";if(""===o&&(null===(t=this.knownEnums)||void 0===t?void 0:t.length)){const t=this.knownEnums.filter((t=>t.enumType===e))[0];t&&(o=null!==(i=null===(a=t.values[0])||void 0===a?void 0:a.value)&&void 0!==i?i:0)}else o instanceof Date&&(o=new Date(o));return o}getEnumTypeValues(){var e;if(null===(e=this.knownEnums)||void 0===e?void 0:e.length){const e=[];return this.knownEnums.forEach((t=>{e.push({value:t.enumType,displayValue:t.enumType,defaultValue:t.values[0].value,specifics:"Enum",valueConverter:function(e,a){return(0,B.enumValueConverter)(e,a,t.values)}})})),e}}}mu.defaultGuidValue="00000000-0000-0000-0000-000000000000",mu.typeValues=[{value:"System.String",displayValue:"String",defaultValue:"",specifics:"String",valueConverter:function(e){return e.toString()},localizationId:"UtilsUIStringId.Parameter_Type_String"},{value:"System.DateTime",displayValue:"Date",defaultValue:new Date((new Date).setHours(0,0,0,0)),specifics:"Date",valueConverter:function(e){return(0,B.parseDate)(e)},localizationId:"UtilsUIStringId.Parameter_Type_DateTime"},{value:"System.Int16",displayValue:"Number (16 bit integer)",defaultValue:"0",specifics:"Integer",valueConverter:function(e,t){return(0,B.integerValueConverter)(e,t,"System.Int16")},localizationId:"UtilsUIStringId.Parameter_Type_Int16"},{value:"System.Int32",displayValue:"Number (32 bit integer)",defaultValue:"0",specifics:"Integer",valueConverter:function(e,t){return(0,B.integerValueConverter)(e,t,"System.Int32")},localizationId:"UtilsUIStringId.Parameter_Type_Int32"},{value:"System.Int64",displayValue:"Number (64 bit integer)",defaultValue:"0",specifics:"Integer",valueConverter:function(e,t){return(0,B.integerValueConverter)(e,t,"System.Int64")},localizationId:"UtilsUIStringId.Parameter_Type_Int64"},{value:"System.Single",displayValue:"Number (floating-point)",defaultValue:"0",specifics:"Float",valueConverter:function(e,t){return(0,B.floatValueConverter)(e,t,"System.Single")},localizationId:"UtilsUIStringId.Parameter_Type_Float"},{value:"System.Double",displayValue:"Number (double-precision floating-point)",defaultValue:"0",specifics:"Float",valueConverter:function(e,t){return(0,B.floatValueConverter)(e,t,"System.Double")},localizationId:"UtilsUIStringId.Parameter_Type_Double"},{value:"System.Decimal",displayValue:"Number (decimal)",defaultValue:"0",specifics:"Float",valueConverter:function(e,t){return(0,B.floatValueConverter)(e,t,"System.Decimal")},localizationId:"UtilsUIStringId.Parameter_Type_Decimal"},{value:"System.Boolean",displayValue:"Boolean",defaultValue:!1,specifics:"Bool",valueConverter:function(e){return"true"===String(e).toLowerCase()||"false"!==String(e).toLowerCase()&&null},localizationId:"UtilsUIStringId.Parameter_Type_Boolean"},{value:"System.Guid",displayValue:"Guid",defaultValue:mu.defaultGuidValue,valueConverter:function(e){return(0,G.validateGuid)(e)?e:mu.defaultGuidValue},specifics:"guid",localizationId:"UtilsUIStringId.Parameter_Type_Guid"}];const hu="|",gu=mu.typeValues;function xu(e){const t=uu.getSerializationValue(e,L.serializeDate);return t instanceof Array?t.join(hu):t}function vu(e){return e.reduce(((e,t)=>(t.isList?e.push.apply(e,t.getRangeParameters()):e.push(t),e)),[])}class fu extends L.Disposable{constructor(e,t){super(),(t=t||new L.ModelSerializer).deserialize(this,e),this._disposables.push(this.displayExpr=A.pureComputed((()=>{const e=this.parameter();return e?e.name:this.dataMember()})))}getInfo(){return Lp}_findDataSourceFromPath(e,t){const a=e.split(".")[0],i=(t||[]).filter((e=>e.ref===a||e.id===a))[0];return i?i.data:null}updateParameter(e,t){const a=e.fullPath.split(".").pop();this.parameter(vu(this._findDataSourceFromPath(e.fullPath,t)()||[]).filter((e=>e.name===a))[0]),this.dataSource(null)}updateBinding(e,t){if(e){const a=new L.PathRequest(e);0===e.indexOf("Parameters.")?this.updateParameter(a,t):(this.dataMember(a.path),this.dataSource(this._findDataSourceFromPath(e,t)),this.parameter(null))}else this.resetValue()}getValuePath(e){if(this.parameter())return"Parameters."+this.parameter().name;let t="";if(this.dataSource()){const a=e.findDataSourceInfo(this.dataSource());t=a&&(a.id||a.ref)}return t&&this.dataMember()?t+"."+this.dataMember():""}generateValue(e,t,a){return this.generatedValue||this._disposables.push(this.generatedValue=A.computed({read:()=>this.getValuePath(t),write:t=>{e.start(),this.updateBinding(t,a),e.end()}})),this.generatedValue}resetValue(){this.parameter(null),this.dataSource(null),this.dataMember(null)}isEmpty(){return!(this.dataMember()||this.dataSource()||this.parameter())}}class bu extends fu{constructor(e,t){super(e,t),this.visible=A.observable(!0),this.disabled=A.pureComputed((()=>{const e=this.dataMember();return!(this.parameter()||e)})),this._disposables.push(this.disabled.subscribe((e=>{e&&this.formatString("")}))),this._disposables.push(this.disabled)}static initialize(e,t){const a=(0,L.deserializeArray)(e,(e=>new bu(e,t)));return(this.allDataBindings||[]).forEach((e=>{0===a().filter((t=>t.propertyName()===e)).length&&a.push(new bu({"@PropertyName":e},t))})),a().findBinding=e=>a().filter((t=>t.propertyName()===e))[0],a}getInfo(){return $p}updateParameter(e,t){super.updateParameter(e,t),this.dataMember(e.path)}resetValue(){super.resetValue(),this.formatString("")}}const yu=Lp.concat([{propertyName:"parameterName",modelName:"@ParameterName",displayName:"Parameter Name",localizationId:"DevExpress.XtraReports.UI.ParameterBinding.ParameterName",editor:K.editorTemplates.getEditor("combobox")},{propertyName:"fakeBinding",displayName:"Binding",localizationId:"DevExpress.XtraReports.Design.DataBinding.Binding",link:!0,editor:{header:"dxrd-dataBinding",editorType:K.FieldListEditor}}]);class Su extends fu{constructor(e,t,a){super(e,a),this._dataSourceCallback=A.observable((()=>null)),this._parametersCallback=A.observable((()=>[])),this._reportDataSource=A.computed((()=>this._dataSourceCallback()())),this.visible=A.observable(!0),this.subreportParameters=A.computed((()=>this._parametersCallback()())),this._disposables.push(this._reportDataSource),this._disposables.push(this.subreportParameters),this.fakeBinding=this;const i=A.observable(this.dataSource());this._disposables.push(this.dataSource=A.pureComputed({read:()=>i()||this._reportDataSource(),write:e=>{i(e)}})),this._disposables.push(this.dataSource.subscribe((e=>{e||this.dataMember(null)})))}static createNew(){return new Su({},null)}dispose(){super.dispose()}getInfo(){if(this.subreportParameters&&this.subreportParameters().length>0){const e=(0,B.extend)(!0,[],yu);e.filter((e=>"parameterName"===e.propertyName))[0].valuesArray=this.subreportParameters().map((e=>({value:e,displayValue:e})));return e.filter((e=>"dataSource"===e.propertyName))[0].defaultVal=this._reportDataSource(),e}return yu}updateParameter(e,t){super.updateParameter(e,t),this.dataMember(null)}refresh(){this.subreportParameters().some((e=>e===this.parameterName()))||this.parameterName("")}initReportDataSource(e){this._dataSourceCallback(e)}initSubreportParameters(e){this._parametersCallback(e)}}const Cu={propertyName:"reportSourceUrl",modelName:"@ReportSourceUrl",defaultVal:"",editor:jp.getEditor("reportSourceUrl"),displayName:"Report Source Url",localizationId:"DevExpress.XtraReports.Actions.NavigateToReport.ReportSourceUrl"},Du={propertyName:"reportSource",modelName:"ReportSource",displayName:"Report Source",localizationId:"DevExpress.XtraReports.Actions.NavigateToReport.ReportSource"},_u={propertyName:"parameterBindings",modelName:"ParameterBindings",displayName:"Parameter Bindings",localizationId:"DevExpress.XtraReports.Actions.NavigateToReport.ParameterBindings",array:!0,editor:K.editorTemplates.getEditor("commonCollection"),addHandler:Su.createNew,template:"#dxrd-commonCollectionItem"},Iu={None:"None",NavigateToReport:"NavigateToReport"},Pu={propertyName:"name",modelName:"@Name",editor:K.editorTemplates.getEditor("combobox"),displayName:"Action",localizationId:"DevExpress.XtraReports.UI.XRControl.Action",valuesArray:[{value:Iu.None,displayValue:"None",localizationId:"DevExpress.XtraReports.Actions.None"},{value:"NavigateToReport",displayValue:"Navigate to Report",localizationId:"DevExpress.XtraReports.Actions.NavigateToReport"}],defaultVal:Iu.None},Tu=[Pu,Du,Cu,_u],zu={propertyName:"action",modelName:"Action",editor:K.editorTemplates.getEditor("objecteditor"),displayName:"Action",localizationId:"DevExpress.XtraReports.UI.XRControl.Action"};class Nu{static getFromCache(e){return this.cache.find((t=>e(t)))}static addOrUpdate(e,t){const a=this.cache.findIndex((e=>t(e)));if(-1!==a)return this.cache[a].dispose(),void(this.cache[a]=e);this.cache.push(e)}}Nu.cache=[];class Eu extends L.Disposable{constructor(e,t,a){super(),this.key=A.observable(""),this.getInfo=()=>[Pu],this.key(t),this.name=A.observable(Iu.None),this._control=e,a&&this.subscribeToObjectType()}updateActionType(e){const t=t=>e===Iu.NavigateToReport&&t instanceof wu;if(e===Iu.None)return Nu.addOrUpdate(this._control.action(),t),void this._control.action(new Eu(this._control,this.key(),!0));let a=Nu.getFromCache(t);e===Iu.NavigateToReport&&(null!=a||(a=new wu(this.key(),{},this._control,void 0,((e,t)=>this._control.root.createReportViewModel(e,t)))),a.name(e)),Nu.addOrUpdate(a,t),this._control.action(a)}subscribeToObjectType(){this._disposables.push(this.name.subscribe((e=>this.updateActionType(e))))}isPropertyVisible(e){return!0}}class wu extends Eu{constructor(e,t,a,i,r){super(a,e,!1),this.subreportParameters=A.observableArray(),this.getInfo=()=>{const e=Tu.find((e=>"reportSource"===e.propertyName));return e&&(e.from=(e,t)=>e?this.drillThroughReportViewModel&&this.drillThroughReportViewModel(e,t):null,e.toJsonObject=(e,t,a)=>{var i;return null===(i=e.parameterHelper)||void 0===i||i.clearLayoutItems(),t.serialize(e,t,a)}),Tu},this.drillThroughReportViewModel=r,(i=i||new L.ModelSerializer).deserialize(this,t),this.name?this.name(Iu.NavigateToReport):this.name=A.observable(Iu.NavigateToReport),this.subscribeToObjectType(),this.parameterBindings||(this.parameterBindings=A.observableArray([])),this.reportSourceUrl||(this.reportSourceUrl=A.observable()),t&&t.ParameterBindings&&(this.parameterBindings=(0,L.deserializeArray)(t.ParameterBindings,(e=>new Su(e,this,i)))),this._disposables.push(this.reportSourceUrl.subscribe((e=>{this.reportSource&&this.reportSource.dispose&&this.reportSource.dispose(),this.updateParameters()}))),this.parameterBindings=(0,L.deserializeArray)(t.ParameterBindings,(e=>{const t=new Su(e,this,i);return this._initParameter(t),t})),this.updateParameters(),this._disposables.push(this.parameterBindings.subscribe((e=>{for(let t=0;t<e.length;t++)"added"===e[t].status&&this._initParameter(e[t].value)}),null,"arrayChange"))}getParameters(e){return Li()?(0,B.ajax)(Wp(),"getData",encodeURIComponent(JSON.stringify({reportUrl:e}))):k.Deferred().reject().promise()}_assignParameters(e){this.subreportParameters(vu(e).map((e=>e.name))),this.refreshParameterBindings()}_initParameter(e){e.initSubreportParameters((()=>this.subreportParameters()))}refreshParameterBindings(){this.parameterBindings().forEach((e=>e.refresh()))}updateParameters(){this.reportSourceUrl()?this.getParameters(this.reportSourceUrl()).done((e=>{var t;const a=JSON.parse(e.reportLayout),i=(0,L.deserializeArray)(null===(t=null==a?void 0:a.XtraReportsLayoutSerializer)||void 0===t?void 0:t.Parameters,(e=>e["@Name"]));this.subreportParameters(i()),this.refreshParameterBindings()})):this.reportSource&&this.reportSource.parameters&&this._assignParameters(this.reportSource.parameters())}isPropertyVisible(e){return this.name()===Iu.NavigateToReport||"name"===e}}const Ru=DevExpress.Analytics.Widgets.Metadata,Bu=DevExpress.Reporting.Metadata;class Vu extends K.Editor{constructor(){super(...arguments),this.collapsed=A.observable(!1)}_shouldSkipHighlighting(e){return!1}}const Mu=[{value:"TopLeft",displayValue:"Top Left",localizationId:"DevExpress.XtraPrinting.TextAlignment.TopLeft"},{value:"MiddleLeft",displayValue:"Middle Left",localizationId:"DevExpress.XtraPrinting.TextAlignment.MiddleLeft"},{value:"BottomLeft",displayValue:"Bottom Left",localizationId:"DevExpress.XtraPrinting.TextAlignment.BottomLeft"},{value:"TopCenter",displayValue:"Top Center",localizationId:"DevExpress.XtraPrinting.TextAlignment.TopCenter"},{value:"MiddleCenter",displayValue:"Middle Center",localizationId:"DevExpress.XtraPrinting.TextAlignment.MiddleCenter"},{value:"BottomCenter",displayValue:"Bottom Center",localizationId:"DevExpress.XtraPrinting.TextAlignment.BottomCenter"},{value:"TopJustify",displayValue:"Top Justify",localizationId:"DevExpress.XtraPrinting.TextAlignment.TopJustify"},{value:"MiddleJustify",displayValue:"Middle Justify",localizationId:"DevExpress.XtraPrinting.TextAlignment.MiddleJustify"},{value:"BottomJustify",displayValue:"Bottom Justify",localizationId:"DevExpress.XtraPrinting.TextAlignment.BottomJustify"},{value:"TopRight",displayValue:"Top Right",localizationId:"DevExpress.XtraPrinting.TextAlignment.TopRight"},{value:"MiddleRight",displayValue:"Middle Right",localizationId:"DevExpress.XtraPrinting.TextAlignment.MiddleRight"},{value:"BottomRight",displayValue:"Bottom Right",localizationId:"DevExpress.XtraPrinting.TextAlignment.BottomRight"}],ku=[{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.Solid"},{value:"Dash",displayValue:"Dash",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.Dash"},{value:"Dot",displayValue:"Dot",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.Dot"},{value:"DashDot",displayValue:"Dash-Dot",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.DashDot"},{value:"DashDotDot",displayValue:"Dash-Dot-Dot",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.DashDotDot"}],Au=[{propertyName:"useBackColor",modelName:"@UseBackColor",defaultVal:!0,from:L.parseBool},{propertyName:"useBorderColor",modelName:"@UseBorderColor",defaultVal:!0,from:L.parseBool},{propertyName:"useBorderDashStyle",modelName:"@UseBorderDashStyle",defaultVal:!0,from:L.parseBool},{propertyName:"useBorders",modelName:"@UseBorders",defaultVal:!0,from:L.parseBool},{propertyName:"useBorderWidth",modelName:"@UseBorderWidth",defaultVal:!0,from:L.parseBool},{propertyName:"useFont",modelName:"@UseFont",defaultVal:!0,from:L.parseBool},{propertyName:"useForeColor",modelName:"@UseForeColor",defaultVal:!0,from:L.parseBool},{propertyName:"usePadding",modelName:"@UsePadding",defaultVal:!0,from:L.parseBool},{propertyName:"useTextAlignment",modelName:"@UseTextAlignment",defaultVal:!0,from:L.parseBool}],Lu={propertyName:"xlsxFormatString",modelName:"@XlsxFormatString",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"Xlsx Format String",localizationId:"DevExpress.XtraReports.UI.XRControl.XlsxFormatString"},$u={propertyName:"name",modelName:"@Name",displayName:"Name",localizationId:"DevExpress.XtraReports.UI.XRControl.Name",editor:jp.getEditor("name"),validationRules:B.nameValidationRules},Fu={propertyName:"displayNameObject",localizable:!0,modelName:"@DisplayName",editor:K.editorTemplates.getEditor("text"),defaultVal:"",displayName:"Display Name",localizationId:"DevExpress.XtraReports.UI.XtraReport.DisplayName"},Ou={propertyName:"text",modelName:"@Text",defaultVal:"",displayName:"Text",localizationId:"DevExpress.XtraReports.UI.XRControl.Text",editor:K.editorTemplates.getEditor("text"),localizable:!0},Xu={propertyName:"textArea",displayName:"Text",localizationId:"DevExpress.XtraReports.UI.XRControl.Text",defaultVal:"",localizable:!0,editor:(0,B.extend)({},K.editorTemplates.getEditor("stringArray"),{editorType:Vu})},Hu=[{value:"None",displayValue:"None",localizationId:"DevExpress.Utils.Trimming.None"},{value:"Character",displayValue:"Character",localizationId:"DevExpress.Utils.Trimming.Character"},{value:"Word",displayValue:"Word",localizationId:"DevExpress.Utils.Trimming.Word"},{value:"EllipsisCharacter",displayValue:"Ellipsis Character",localizationId:"DevExpress.Utils.Trimming.EllipsisCharacter"},{value:"EllipsisWord",displayValue:"Ellipsis Word",localizationId:"DevExpress.Utils.Trimming.EllipsisWord"},{value:"EllipsisPath",displayValue:"Ellipsis Path",localizationId:"DevExpress.Utils.Trimming.EllipsisPath"}],Wu={propertyName:"textTrimming",modelName:"@TextTrimming",displayName:"Text Trimming",localizationId:"DevExpress.XtraReports.UI.XRControl.TextTrimming",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.TextTrimming.Description",defaultVal:"Character",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Hu},Uu={propertyName:"size",modelName:"@SizeF",from:Q.Size.fromString,displayName:"Size",localizationId:"DevExpress.XtraReports.UI.XRControl.Size",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRControl.SizeF.Description",editor:K.editorTemplates.getEditor("objecteditor"),localizable:!0},Gu={propertyName:"location",modelName:"@LocationFloat",from:Q.Point.fromString,displayName:"Location",localizationId:"DevExpress.XtraReports.UI.XRControl.Location",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRControl.LocationF.Description",editor:K.editorTemplates.getEditor("objecteditor"),localizable:!0},ju=[{value:"True",displayValue:"True",localizationId:"DevExpress.Utils.DefaultBoolean.True"},{value:"False",displayValue:"False",localizationId:"DevExpress.Utils.DefaultBoolean.False"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.Utils.DefaultBoolean.Default"}],qu={propertyName:"tag",modelName:"@Tag",displayName:"Tag",localizationId:"DevExpress.XtraReports.UI.XRControl.Tag",editor:K.editorTemplates.getEditor("text"),defaultVal:""},Ju={propertyName:"_lockedInUserDesigner",modelName:"@LockedInUserDesigner",defaultVal:!1,from:L.parseBool},Ku={propertyName:"visible",modelName:"@Visible",localizable:!0,defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Visible",localizationId:"DevExpress.XtraReports.UI.XRControl.Visible"},Qu=(0,B.extend)({displayName:"Background Color",editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraReports.UI.XRControl.BackColor"},Bu.previewBackColor),Yu=(0,B.extend)({displayName:"Foreground Color",editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraReports.UI.XRControlStyle.ForeColor"},Bu.previewForeColor),Zu=(0,B.extend)({displayName:"Font",editor:K.editorTemplates.getEditor("font"),localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRControl.Font.Description",localizable:!0},Bu.previewFont),em=(0,B.extend)({},Zu,{editor:jp.getEditor("expressionableFont")}),tm=[Ru.fontName,Ru.fontSize,Ru.fontSizeUnit,{propertyName:"modificators",editor:jp.getEditor("fontModificatorsHighlightable")}],am=(0,B.extend)({displayName:"Border Color",editor:K.editorTemplates.getEditor("customColorEditor"),localizationId:"DevExpress.XtraReports.UI.XRControl.BorderColor"},Bu.previewBorderColor),im={propertyName:"borders",modelName:"@Borders",displayName:"Borders",localizationId:"DevExpress.XtraReports.UI.XRControl.Borders",editor:K.editorTemplates.getEditor("borders")},rm={propertyName:"borderWidth",modelName:"@BorderWidth",displayName:"Border Width",localizationId:"DevExpress.XtraReports.UI.XRControl.BorderWidth",from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric")},om=(0,B.extend)({editor:K.editorTemplates.getEditor("combobox"),displayName:"Border Dash Style",localizationId:"DevExpress.XtraReports.UI.XRControl.BorderDashStyle",valuesArray:[].concat(ku,[{value:"Double",displayValue:"Double",localizationId:"DevExpress.XtraPrinting.BorderDashStyle.Double"}])},Bu.previewBorderDashStyle),sm={propertyName:"padding",modelName:"@Padding"},nm={displayName:"Padding",editor:K.editorTemplates.getEditor("objecteditor"),propertyName:"paddingObj",localizationId:"DevExpress.XtraReports.UI.XRBarCode.PaddingInfo",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRControl.Padding.Description"},lm="2,2,0,0,96",dm=(0,B.extend)({displayName:"Text Alignment",modelName:"@TextAlignment",editor:K.editorTemplates.getEditor("textAlignment"),localizationId:"DevExpress.XtraReports.UI.XRControl.TextAlignment"},Bu.previewTextAlignment),cm={propertyName:"textFitMode",modelName:"@TextFitMode",displayName:"Text Fit Mode",localizationId:"DevExpress.XtraReports.UI.XRLabel.TextFitMode",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.TextFitMode.None"},{value:"GrowOnly",displayValue:"Grow Only",localizationId:"DevExpress.XtraReports.UI.TextFitMode.GrowOnly"},{value:"ShrinkOnly",displayValue:"Shrink Only",localizationId:"DevExpress.XtraReports.UI.TextFitMode.ShrinkOnly"},{value:"ShrinkAndGrow",displayValue:"Shrink And Grow",localizationId:"DevExpress.XtraReports.UI.TextFitMode.ShrinkAndGrow"}]},pm={propertyName:"angle",modelName:"@Angle",defaultVal:0,from:L.floatFromModel,displayName:"Angle",localizationId:"DevExpress.XtraReports.UI.XRLabel.Angle",editor:K.editorTemplates.getEditor("numeric")},um={propertyName:"canGrow",modelName:"@CanGrow",defaultVal:!0,from:L.parseBool,displayName:"Can Grow",localizationId:"DevExpress.XtraReports.UI.XRControl.CanGrow",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.CanGrow.Description",editor:K.editorTemplates.getEditor("bool")},mm={propertyName:"canShrink",modelName:"@CanShrink",defaultVal:!1,from:L.parseBool,displayName:"Can Shrink",localizationId:"DevExpress.XtraReports.UI.XRControl.CanShrink",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.CanShrink.Description",editor:K.editorTemplates.getEditor("bool")},hm={propertyName:"multiline",modelName:"@Multiline",defaultVal:!1,from:L.parseBool,displayName:"Multiline",localizationId:"DevExpress.XtraReports.UI.XRLabel.Multiline",editor:K.editorTemplates.getEditor("bool")},gm={propertyName:"wordWrap",modelName:"@WordWrap",defaultVal:!0,from:L.parseBool,displayName:"Word Wrap",localizationId:"DevExpress.XtraReports.UI.XRControl.WordWrap",editor:K.editorTemplates.getEditor("bool")},xm={propertyName:"allowMarkupText",modelName:"@AllowMarkupText",defaultVal:!1,from:L.parseBool,displayName:"Allow Markup Text",localizationId:"DevExpress.XtraReports.UI.XRLabel.AllowMarkupText",editor:K.editorTemplates.getEditor("bool")},vm={propertyName:"autoWidth",modelName:"@AutoWidth",defaultVal:!1,from:L.parseBool,displayName:"Auto Width",localizationId:"DevExpress.XtraReports.UI.XRLabel.AutoWidth",editor:K.editorTemplates.getEditor("bool")},fm={propertyName:"keepTogether",modelName:"@KeepTogether",defaultVal:!0,from:L.parseBool,displayName:"Keep Together",localizationId:"DevExpress.XtraReports.UI.XRControl.KeepTogether",editor:K.editorTemplates.getEditor("bool")},bm={propertyName:"keepTogether",modelName:"@KeepTogether",defaultVal:!1,from:L.parseBool,displayName:"Keep Together",localizationId:"DevExpress.XtraReports.UI.XRControl.KeepTogether",editor:K.editorTemplates.getEditor("bool")},ym={propertyName:"processDuplicatesTarget",modelName:"@ProcessDuplicatesTarget",displayName:"Process Duplicates Target",localizationId:"DevExpress.XtraReports.UI.XRLabel.ProcessDuplicatesTarget",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Value",from:L.fromEnum,valuesArray:[{value:"Value",displayValue:"Value",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesTarget.Value"},{value:"Tag",displayValue:"Tag",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesTarget.Tag"}]},Sm={propertyName:"processDuplicatesMode",modelName:"@ProcessDuplicatesMode",displayName:"Process Duplicates Mode",localizationId:"DevExpress.XtraReports.UI.XRLabel.ProcessDuplicatesMode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Leave",from:L.fromEnum,valuesArray:[{value:"Leave",displayValue:"Leave",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesMode.Leave"},{value:"Merge",displayValue:"Merge",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge"},{value:"Suppress",displayValue:"Suppress",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress"},{value:"SuppressAndShrink",displayValue:"Suppress and Shrink",localizationId:"DevExpress.XtraReports.UI.ProcessDuplicatesMode.SuppressAndShrink"}]},Cm={propertyName:"processNullValues",modelName:"@ProcessNullValues",displayName:"Process Null Values",localizationId:"DevExpress.XtraReports.UI.XRLabel.ProcessNullValues",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Leave",from:L.fromEnum,valuesArray:[{value:"Leave",displayValue:"Leave",localizationId:"DevExpress.XtraReports.UI.ValueSuppressType.Leave"},{value:"Suppress",displayValue:"Suppress",localizationId:"DevExpress.XtraReports.UI.ValueSuppressType.Suppress"},{value:"SuppressAndShrink",displayValue:"Suppress and Shrink",localizationId:"DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink"}]},Dm=[{propertyName:"printOnEmptyDataSource",defaultVal:!0,from:L.parseBool,modelName:"@PrintOnEmptyDataSource",displayName:"Print when Data Source is Empty",localizationId:"DevExpress.XtraReports.UI.ReportPrintOptions.PrintOnEmptyDataSource",editor:K.editorTemplates.getEditor("bool")},{propertyName:"detailCountAtDesignTime",defaultVal:0,from:L.floatFromModel,modelName:"@DetailCountAtDesignTime",displayName:"Detail Count at Design Time",localizationId:"DevExpress.XtraReports.UI.ReportPrintOptions.DetailCountAtDesignTime",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"detailCountOnEmptyDataSource",defaultVal:1,from:L.floatFromModel,modelName:"@DetailCountOnEmptyDataSource",displayName:"Detail Count when Data Source is Empty",localizationId:"DevExpress.XtraReports.UI.ReportPrintOptions.DetailCountOnEmptyDataSource",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"blankDetailCount",defaultVal:0,from:L.floatFromModel,modelName:"@BlankDetailCount",displayName:"Blank Detail Count",localizationId:"DevExpress.XtraReports.UI.ReportPrintOptions.BlankDetailCount",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"detailCount",defaultVal:0,from:L.floatFromModel,modelName:"@DetailCount",displayName:"Detail Count",localizationId:"DevExpress.XtraReports.UI.ReportPrintOptions.DetailCount",editor:K.editorTemplates.getEditor("numeric")}],_m={propertyName:"dataAdapter",modelName:"@DataAdapter",link:!0,editor:null},Im={propertyName:"dataSource",modelName:"@DataSource",displayName:"Data Source",localizationId:"DevExpress.XtraReports.UI.XtraReportBase.DataSource",link:!0,editor:jp.getEditor("dataSource")},Pm={propertyName:"dataMember",modelName:"@DataMember",displayName:"Data Member",localizationId:"DevExpress.XtraReports.UI.XtraReportBase.DataMember",defaultVal:"",editor:K.editorTemplates.getEditor("dataMember")},Tm={propertyName:"_filterString",modelName:"@FilterString"},zm={propertyName:"filterString",displayName:"Filter String",localizationId:"DevExpress.XtraReports.UI.XtraReportBase.FilterString",defaultVal:"",editor:K.editorTemplates.getEditor("filterEditor")},Nm={propertyName:"bookmark",localizable:!0,modelName:"@Bookmark",displayName:"Bookmark",localizationId:"DevExpress.XtraReports.UI.XRControl.Bookmark",editor:K.editorTemplates.getEditor("text")},Em={propertyName:"bookmarkParent",modelName:"@BookmarkParent",link:!0,displayName:"Parent Bookmark",localizationId:"DevExpress.XtraReports.UI.XRControl.BookmarkParent",defaultVal:null,editor:jp.getEditor("reportExplorer")},wm={propertyName:"navigateUrl",modelName:"@NavigateUrl",displayName:"Navigation URL",localizationId:"DevExpress.XtraReports.UI.XRControl.NavigateUrl",defaultVal:"",editor:K.editorTemplates.getEditor("text")},Rm={propertyName:"target",modelName:"@Target",displayName:"Navigation Target",localizationId:"DevExpress.XtraReports.UI.XRControl.Target",editor:K.editorTemplates.getEditor("text"),defaultVal:""},Bm={propertyName:"nullValueText",modelName:"@NullValueText",localizable:!0,displayName:"Null Value Text",localizationId:"DevExpress.XtraReports.UI.XRControl.NullValueText",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.NullValueText.Description",defaultVal:"",editor:K.editorTemplates.getEditor("text")};function Vm(){if("Bindings"===Hp()){const e=Mm.concat([]);return e.push({value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Custom"}),e}return Mm}const Mm=[{value:"Avg",displayValue:"Average",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Avg"},{value:"Count",displayValue:"Count",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Count"},{value:"Sum",displayValue:"Sum",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Sum"},{value:"RunningSum",displayValue:"Running Summary",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.RunningSum"},{value:"CarryoverSum",displayValue:"Carryover Summary",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.CarryoverSum"},{value:"Percentage",displayValue:"Percentage",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Percentage"},{value:"Max",displayValue:"Max",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Max"},{value:"Min",displayValue:"Min",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Min"},{value:"Median",displayValue:"Median",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Median"},{value:"Var",displayValue:"Variance",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.Var"},{value:"VarP",displayValue:"Population Variance",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.VarP"},{value:"StdDev",displayValue:"Standard Deviation",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.StdDev"},{value:"StdDevP",displayValue:"Standard Population Deviation",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.StdDevP"},{value:"DAvg",displayValue:"Average (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DAvg"},{value:"DCount",displayValue:"Count (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DCount"},{value:"DSum",displayValue:"Summary (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DSum"},{value:"DVar",displayValue:"Variance (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DVar"},{value:"DVarP",displayValue:"Population Variance (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DVarP"},{value:"DStdDev",displayValue:"Standard Deviation (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DStdDev"},{value:"DStdDevP",displayValue:"Standard Population Deviation (Distinct)",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.DStdDevP"},{value:"RecordNumber",displayValue:"Record Number",localizationId:"DevExpress.XtraReports.UI.SummaryFunc.RecordNumber"}],km={propertyName:"textFormatString",localizable:!0,modelName:"@TextFormatString",defaultVal:"",editor:jp.getEditor("formatEditor"),displayName:"Text Format String",localizationId:"DevExpress.XtraReports.UI.XRControl.TextFormatString",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.TextFormatString.Description"};function Am(e){return[{propertyName:"Running",modelName:"@Running",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),displayName:"Running",localizationId:"DevExpress.XtraReports.UI.XRSummary.Running",valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.SummaryRunning.None"},{value:"Group",displayValue:"Group",localizationId:"DevExpress.XtraReports.UI.SummaryRunning.Group"},{value:"Report",displayValue:"Report",localizationId:"DevExpress.XtraReports.UI.SummaryRunning.Report"},{value:"Page",displayValue:"Page",localizationId:"DevExpress.XtraReports.UI.SummaryRunning.Page"}]},{propertyName:"Func",modelName:"@Func",defaultVal:"Sum",editor:K.editorTemplates.getEditor("combobox"),displayName:"Function",localizationId:"DevExpress.XtraReports.UI.XRSummary.Func",get valuesArray(){return e||Vm()}},{propertyName:"formatString",visible:!1,modelName:"@FormatString",defaultVal:"",editor:jp.getEditor("formatEditor"),displayName:"Format String",localizationId:"DevExpress.XtraReports.UI.XRSummary.FormatString"},{propertyName:"ignoreNullValues",modelName:"@IgnoreNullValues",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Ignore Null Values",localizationId:"DevExpress.XtraReports.UI.XRSummary.IgnoreNullValues"},{propertyName:"treatStringsAsNumerics",modelName:"@TreatStringsAsNumerics",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Treat Strings As Numerics",localizationId:"DevExpress.XtraReports.UI.XRSummary.TreatStringsAsNumerics"}]}const Lm=Am(),$m={propertyName:"Summary",modelName:"Summary",info:Lm,editor:jp.getEditor("summaryEditor"),displayName:"Summary",localizationId:"DevExpress.XtraReports.UI.XRLabel.Summary"},Fm={propertyName:"reportPrintOptions",modelName:"ReportPrintOptions",info:Dm,editor:K.editorTemplates.getEditor("objecteditor"),displayName:"Report Print Options",localizationId:"DevExpress.XtraReports.UI.XtraReport.ReportPrintOptions",descriptionLocalizationId:"DevExpress.XtraReports.UI.XtraReportBase.ReportPrintOptions.Description"},Om={propertyName:"lineWidth",modelName:"@LineWidth",defaultVal:1,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Line Width",localizationId:"DevExpress.XtraReports.UI.XRLine.LineWidth"},Xm={propertyName:"lineStyle",modelName:"@LineStyle",defaultVal:"Solid",editor:K.editorTemplates.getEditor("combobox"),displayName:"Line Style",localizationId:"DevExpress.XtraReports.UI.XRLine.LineStyle",valuesArray:[{value:"Solid",displayValue:"Solid",localizationId:"DevExpress.XtraCharts.DashStyle.Solid"},{value:"Dash",displayValue:"Dash",localizationId:"DevExpress.XtraCharts.DashStyle.Dash"},{value:"Dot",displayValue:"Dot",localizationId:"DevExpress.XtraCharts.DashStyle.Dot"},{value:"DashDot",displayValue:"Dash-Dot",localizationId:"DevExpress.XtraCharts.DashStyle.DashDot"},{value:"DashDotDot",displayValue:"Dash-Dot-Dot",localizationId:"DevExpress.XtraCharts.DashStyle.DashDotDot"}]},Hm={propertyName:"dpi",modelName:"@Dpi",defaultVal:100,from:L.floatFromModel},Wm={propertyName:"canPublish",modelName:"@CanPublish",displayName:"Can Publish",localizationId:"DevExpress.XtraReports.UI.XRControl.CanPublish",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},Um=[{value:"No",displayValue:"No",localizationId:"DevExpress.XtraReports.UI.RightToLeft.No"},{value:"Yes",displayValue:"Yes",localizationId:"DevExpress.XtraReports.UI.RightToLeft.Yes"}],Gm=Um.concat([{value:"Inherit",displayValue:"Inherit",localizationId:"DevExpress.XtraReports.UI.RightToLeft.Inherit"}]),jm={propertyName:"rightToLeft",modelName:"@RightToLeft",displayName:"Right To Left",localizationId:"DevExpress.XtraReports.UI.XRControl.RightToLeft",descriptionLocalizationId:"DevExpress.XtraReports.UI.XtraReport.RightToLeft.Description",defaultVal:"Inherit",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Gm},qm={propertyName:"imageType",displayName:"Image Type",localizationId:"DevExpress.XtraReports.UI.XRChart.ImageType",modelName:"@ImageType",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Metafile",valuesArray:[{value:"Metafile",displayValue:"Metafile",localizationId:"DevExpress.XtraReports.UI.ChartImageType.Metafile"},{value:"Bitmap",displayValue:"Bitmap",localizationId:"DevExpress.XtraReports.UI.ChartImageType.Bitmap"}]},Jm=[sm,nm],Km={value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Default"},Qm=[Km,{value:"Heading1",displayValue:"Heading 1",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading1"},{value:"Heading2",displayValue:"Heading 2",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading2"},{value:"Heading3",displayValue:"Heading 3",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading3"},{value:"Heading4",displayValue:"Heading 4",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading4"},{value:"Heading5",displayValue:"Heading 5",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading5"},{value:"Heading6",displayValue:"Heading 6",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Heading6"}],Ym={propertyName:"accessibleRole",modelName:"@AccessibleRole",displayName:"Accessible Role",localizationId:"DevExpress.XtraReports.UI.XRControl.AccessibleRole",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRLabel.AccessibleRole.Description",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Qm},Zm={propertyName:"accessibleDescription",displayName:"Accessible Description",localizationId:"DevExpress.XtraReports.UI.XRControl.AccessibleDescription",localizable:!0,modelName:"@AccessibleDescription",editor:K.editorTemplates.getEditor("text")},eh={propertyName:"cells",modelName:"Cells",array:!0},th={propertyName:"sortOrder",modelName:"@SortOrder",displayName:"Sort Order",localizationId:"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings.SortOrder",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.Data.ColumnSortOrder.None"},{value:"Ascending",displayValue:"Ascending",localizationId:"DevExpress.Data.ColumnSortOrder.Ascending"},{value:"Descending",displayValue:"Descending",localizationId:"DevExpress.Data.ColumnSortOrder.Descending"}]};class ah extends L.Disposable{constructor(e,t){super(),this.renameComponentStrategy=t,this.className=()=>"component",this.controlType="XRComponent";const a=A.observable(e.name);this.data=e.data,this._disposables.push(this.name=A.pureComputed({read:()=>a(),write:e=>{e!==a()&&t.validateName(e)&&t.validateUnique(e,a())&&t.tryRename(e,this.data)&&a(e)}}))}getInfo(){return[$u]}}class ih extends K.FieldListEditor{constructor(e,t,a,i){super(e,t,a,i),this.treeListController=new rh,this._disposables.push(this.treeListController.selectedItemData.subscribe((e=>{const t=this._get("_model");t.setDataMemberInfo&&t.setDataMemberInfo(e)})))}}class rh extends G.TreeListController{constructor(){super(...arguments),this.selectedItemData=A.observable()}select(e){super.select(e),this.selectedItemData(this.selectedItem&&this.selectedItem.data)}}const oh=Lp.concat([k.extend({},$u,{propertyName:"parameterName"}),{propertyName:"fakeBinding",displayName:"Binding",localizationId:"DevExpress.XtraReports.Design.DataBinding.Binding",link:!0,editor:{header:"dxrd-dataBinding",editorType:ih}}]);class sh extends fu{constructor(e,t,a,i){super(e,t),this._dataSourceHelper=a,this._dataBindingsProvider=i,this.visible=A.observable(!0),this.dataMemberInfo=A.observable(),this.fakeBinding=this}static createNew(){return new sh({},null)}getInfo(){return oh}isEmpty(){return!1}setDataMemberInfo(e){this.dataMemberInfo(e)}get dataType(){var e;return null===(e=this.dataMemberInfo())||void 0===e?void 0:e.dataType}get specifics(){var e;return this.parameter()?this.parameter().specifics:null===(e=this.dataMemberInfo())||void 0===e?void 0:e.specifics}get name(){return this.parameterName()}generateValue(e,t,a,i){const r=super.generateValue(e,t,a);return this.initDataMemberInfo(t,i),r}initDataMemberInfo(e,t){if(e=e||this._dataSourceHelper(),t=t||this._dataBindingsProvider(),e&&t&&this.dataSource()&&!this.dataMemberInfo()){const a=e.getDataSourcePath(this.dataSource()),i=(this.dataMember()||"").split("."),r=i.pop(),o=i.join("."),s=new L.PathRequest(a+(o?"."+o:""));t.getItems(s).done((e=>{this.dataMemberInfo(e.filter((e=>e.name===r))[0])}))}}}const nh=DevExpress.Reporting.Editing;class lh extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.displayValue=A.observable("");const r=nh.EditingFieldExtensions.instance(),o=e.editorOptions;let s=[];o&&(s=o.categories||r.categories(o.excludeCategories)),this.itemsProvider={getItems:e=>{const t=r.editors(),a=(s?t.filter((e=>-1!==s.indexOf(e.category))):t).map((e=>{const t=e.options&&e.options.mask;return{name:e.name,displayName:e.displayName,specifics:"_none_",templateName:"dxrd-editingField-editor-treelist-item",title:e.displayName+(t?" ["+t+"]":"")}}));return k.Deferred().resolve(a).promise()}};const n=r.editor(this.value());n&&(this.value(n.name),this.displayValue(n.displayName)),this.value.subscribe((e=>{const t=r.editor(e);if(t)return this.value(t.name),void this.displayValue(t.displayName);this.displayValue(""),this.value("")}))}}const dh=[{propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",localizationId:"DevExpress.XtraReports.UI.EditOptions.Enabled",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("boolSelect")},{propertyName:"id",modelName:"@ID",displayName:"ID",localizationId:"DevExpress.XtraReports.UI.EditOptions.ID",editor:K.editorTemplates.getEditor("text")},{propertyName:"readOnly",modelName:"@ReadOnly",displayName:"Read Only",localizationId:"DevExpress.XtraReports.UI.EditOptions.ReadOnly",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("boolSelect")}];class ch{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e||{})}getInfo(){return dh}isEmpty(){return!this.enabled()}isPropertyDisabled(e){return"enabled"!==e&&!this.enabled()}}class ph extends ch{constructor(e,t,a){super(e||{},a),this.parent=t}isPropertyDisabled(e){return"enabled"==e?this.parent.controls().length>0:super.isPropertyDisabled(e)}}class uh extends ch{constructor(e,t){super(e||{},t)}getInfo(){return super.getInfo().concat([{propertyName:"groupId",modelName:"@GroupID",displayName:"Group ID",localizationId:"DevExpress.XtraReports.UI.CheckEditOptions.GroupID",defaultVal:"",editor:K.editorTemplates.getEditor("text")}])}}class mh extends ch{constructor(e,t){super(e||{},t)}getInfo(){return super.getInfo().concat([{propertyName:"editorName",modelName:"@EditorName",displayName:"Editor Name",localizationId:"DevExpress.XtraReports.UI.ImageEditOptions.EditorName",defaultVal:"",editor:{header:"dxrd-editOptionsEditorName",editorType:lh},editorOptions:{acceptCustomValue:!0,categories:[nh.Categories.Image()]}}])}}class hh extends ch{constructor(e,t){super(e||{},t)}getInfo(){const e=nh.Categories;return super.getInfo().concat([{propertyName:"editorName",modelName:"@EditorName",displayName:"Editor Name",localizationId:"DevExpress.XtraReports.UI.TextEditOptions.EditorName",defaultVal:"",editor:{header:"dxrd-editOptionsEditorName",editorType:lh},editorOptions:{acceptCustomValue:!0,excludeCategories:[e.Image()]}}])}}class gh{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e)}getInfo(){return xh}}const xh=[{propertyName:"key",modelName:"@Key"},{propertyName:"value",modelName:"@Value"}];function vh(e,t=(e=>e)){const a=t([{text:"DataSource.CurrentRowIndex",class:"dx-expression-variables-datasource",val:"[DataSource.CurrentRowIndex]",descriptionStringId:"ReportStringId.ExpressionEditor_ItemInfo_Variables_CurrentRowIndex_Description"},{text:"DataSource.RowCount",class:"dx-expression-variables-datasource",val:"[DataSource.RowCount]",descriptionStringId:"ReportStringId.ExpressionEditor_ItemInfo_Variables_RowCount_Description"},{text:"DataSource.CurrentRowHierarchyLevel",class:"dx-expression-variables-datasource",val:"[DataSource.CurrentRowHierarchyLevel]",descriptionStringId:"ReportStringId.ExpressionEditor_ItemInfo_Variables_CurrentRowHierarchyLevel_Description"},{text:"Arguments.GroupRowIndex",class:"dx-expression-variables-arguments",val:"[Arguments.GroupRowIndex]",descriptionStringId:""},{text:"Arguments.GroupColumnIndex",class:"dx-expression-variables-arguments",val:"[Arguments.GroupColumnIndex]",descriptionStringId:""}]);e.push((0,G.createExpressionEditorCollectionToolOptions)(a,"Variables","ReportStringId.ExpressionEditor_ItemInfo_Variables",!0))}const fh=(0,G.combineFunctionDisplay)([{display:"String",items:{NewLine:[{paramCount:0,text:"NewLine()",descriptionStringId:"ExpressionEditorStringId.Function_NewLine"}],FormatString:[{paramCount:1,text:"FormatString('')",descriptionStringId:"ExpressionEditorStringId.Function_FormatString"}]}},{display:"Reporting",localizationId:"ReportStringId.ExpressionEditor_ItemInfo_FunctionReporting",items:{Rgb:[{paramCount:3,text:"Rgb(, , )",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_Rgb"}],Argb:[{paramCount:4,text:"Argb(, , , )",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_Argb"}],GetDisplayText:[{paramCount:1,text:"GetDisplayText(?parameter)",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_GetDisplayText"}],ConvertDataToEPC:[{paramCount:8,text:"ConvertDataToEPC()",displayName:"ConvertDataToEPC()",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_EPC"}]}},{display:"Aggregate",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate",items:{Join:[{paramCount:1,text:"[].Join()",displayName:"Join()",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_Join"}]}}]),bh=[{propertyName:"value",modelName:"@Value",link:!0}],yh={propertyName:"visible",modelName:"@Visible",displayName:"Visible",localizationId:"DevExpress.XtraReports.UI.Formatting.Visible",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},Sh={propertyName:"borderWidthSerializable",modelName:"@BorderWidthSerializable",displayName:"Border Width",localizationId:"DevExpress.XtraReports.UI.Formatting.BorderWidthSerializable",from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric")},Ch=(0,B.extend)({displayName:"Borders",editor:K.editorTemplates.getEditor("borders"),localizationId:"DevExpress.XtraReports.UI.XRControl.Borders"},Bu.previewSides),Dh=[Qu,Ch,am,om,Sh,Yu,Zu,dm,yh].concat(Jm),_h={propertyName:"conditionObj",displayName:"Condition",localizationId:"DevExpress.XtraReports.UI.FormattingRule.Condition",editor:K.editorTemplates.getEditor("expressionEditor")},Ih={propertyName:"formatting",modelName:"Formatting",displayName:"Formatting",localizationId:"DevExpress.XtraReports.UI.FormattingRule.Formatting",info:Dh,editor:K.editorTemplates.getEditor("objecteditor")},Ph=[{propertyName:"name",modelName:"@Name",displayName:"Name",localizationId:"DevExpress.XtraReports.UI.FormattingRule.Name",editor:K.editorTemplates.getEditor("text"),validationRules:B.nameValidationRules},{propertyName:"condition",modelName:"@Condition",displayName:"Condition",localizationId:"DevExpress.XtraReports.UI.FormattingRule.Condition",defaultVal:""},_h,Im,Pm,Ih];class Th extends L.Disposable{constructor(e,t,a){super(),this.className=()=>"formattingrule",this.controlType="XRFormattingRule",this.selected=A.observable(!1),(a=a||new L.ModelSerializer).deserialize(this,e),this.parent=t||null;const i=A.pureComputed((()=>{const e=this.getPath("");return e?(0,B.getFullPath)(e,this.dataMember()||t.dataMember()):e}));this._disposables.push(i),this.conditionObj={value:this.condition,path:i,functions:fh,customizeCategories:(e,t,a)=>{vh(t)}}}static createNew(e){return new Th({},e)}getInfo(){return Ph}getPath(e){return this.parent&&this.parent.dsHelperProvider()&&this.parent.dsHelperProvider().getDataSourcePath(this.dataSource()||this.parent.dataSource())}displayType(){return(0,L.getLocalization)("Formatting Rule","DevExpress.XtraReports.UI.FormattingRule")}}class zh{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e)}static createNew(e){const t=new zh({});return t.value=A.observable(e),t}getInfo(){return bh}}const Nh=DevExpress.Reporting.Viewer.Internal,Eh=DevExpress.Reporting;function wh(e=Bp.GlyphStyle.StandardBox1){return e===Bp.GlyphStyle.StandardBox1?new Q.Size(13,13):new Q.Size(16,16)}function Rh(e){return{propertyName:e,modelName:"@"+e,editor:{header:"dxrd-image-loadfile",editorType:K.Editor},displayName:e,localizationId:"DevExpress.XtraReports.UI.CheckBoxGlyphs."+e,from:e=>A.observable(Eh.ImageSource.parse(e)),toJsonObject:Eh.ImageSource.toString,defaultVal:null}}const Bh={propertyName:"alignment",modelName:"@Alignment",displayName:"Alignment",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.GlyphAlignment",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Near",valuesArray:[{value:"Near",displayValue:"Near",localizationId:"DevExpress.Utils.HorzAlignment.Near"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.Utils.HorzAlignment.Center"},{value:"Far",displayValue:"Far",localizationId:"DevExpress.Utils.HorzAlignment.Far"}]},Vh=(0,Nh.getEnumValues)(Bp.CheckState),Mh={propertyName:"customGlyphs",modelName:"CustomGlyphs",info:[Rh(Vh[Bp.CheckState.Checked]),Rh(Vh[Bp.CheckState.Unchecked]),Rh(Vh[Bp.CheckState.Indeterminate])],displayName:"Custom Glyphs",localizationId:"DevExpress.XtraReports.UI.CheckBoxGlyphOptions.CustomGlyphs",editor:K.editorTemplates.getEditor("objecteditor")},kh={propertyName:"style",modelName:"@Style",displayName:"Glyph Style",localizationId:"DevExpress.XtraReports.UI.CheckBoxGlyphOptions.Style",editor:k.extend({},K.editorTemplates.getEditor("combobox"),{header:"dxrd-checkbox-style-combobox"}),defaultVal:"StandardBox1",valuesArray:(0,Nh.getEnumValues)(Bp.GlyphStyle).map((e=>({value:e,displayValue:e,localizationId:"DevExpress.XtraPrinting.GlyphStyle."+e,templateBinding:e=>({name:e,if:G.SvgTemplatesEngine.getExistingTemplate(e)})})))},Ah={propertyName:"size",modelName:"@Size",from:Q.Size.fromString,defaultVal:wh().toString(),displayName:"Size",localizationId:"DevExpress.XtraReports.UI.CheckBoxGlyphOptions.Size",editor:K.editorTemplates.getEditor("objecteditor")},Lh=[Mh,Bh,Ah,kh];class $h extends L.Disposable{constructor(e,t){super(),this.getInfo=A.observable(Lh),(t=t||new L.ModelSerializer).deserialize(this,e||{});let a=Bp.GlyphStyle[this.style()];this._disposables.push(this.style.subscribe((e=>{if(e){const t=wh(a),i=wh(Bp.GlyphStyle[e]);a=Bp.GlyphStyle[e],t.height()===this.size.height()&&this.size.height(i.height()),t.width()===this.size.width()&&this.size.width(i.width())}})))}}$h.unitProperties=["size"];const Fh={propertyName:"fieldName",modelName:"@FieldName",displayName:"Field Name",localizationId:"DevExpress.XtraReports.UI.SortingOptions.FieldName",defaultVal:"",editor:jp.getEditor("fieldsCombobox")},Oh=[{propertyName:"targetBand",modelName:"@TargetBand",link:!0,displayName:"Target Band",localizationId:"DevExpress.XtraReports.UI.SortingOptions.TargetBand",editor:jp.getEditor("sortingBand")},Fh],Xh={propertyName:"interactiveSorting",modelName:"InteractiveSorting",displayName:"Interactive Sorting",localizationId:"DevExpress.XtraReports.UI.XRLabel.InteractiveSorting",info:Oh,editor:K.editorTemplates.getEditor("objecteditor")};class Hh extends L.Disposable{constructor(e,t,a){super(),this._info=k.extend(!0,[],Oh),this._fieldNameInfo=this._info.filter((e=>"fieldName"==e.propertyName))[0],(a=a||new L.ModelSerializer).deserialize(this,e||{}),Object.defineProperty(this._fieldNameInfo,"valuesArray",{get:()=>{let e=[];const t=this.targetBand&&this.targetBand();return t&&(e=this._getFieldNames(t).map((e=>({value:e,displayValue:e})))),e}});const i=this.fieldName;this._disposables.push(this.fieldName=A.computed({read:()=>{const e=i();return-1===this._getFieldNames(this.targetBand()).indexOf(e)?"":e},write:e=>{i(e)}}))}_getFieldNames(e){const t=e&&(e.sortFields||e.groupFields);return t?t().map((e=>e.fieldName())).filter((e=>!!e)):[]}getInfo(){return this._info}isPropertyDisabled(e){return"fieldName"==e&&!this.targetBand()}resetValue(){this.targetBand(null),this.fieldName("")}getPath(e){return this.targetBand()&&this.targetBand().getPath("groupFields")||""}}const Wh={propertyName:"_backColor",modelName:"@BackColor",from:L.colorFromString,toJsonObject:L.colorToString},Uh={propertyName:"_foreColor",modelName:"@ForeColor",from:L.colorFromString,toJsonObject:L.colorToString},Gh={propertyName:"_borderColor",modelName:"@BorderColor",from:L.colorFromString,toJsonObject:L.colorToString},jh=[Object.assign({},$u)].concat((0,B.extend)(!0,[],[(0,B.extend)(!0,{},Zu,{localizable:!1}),dm,Uh,Wh,Gh,{propertyName:"backColor",displayName:"Background Color",localizationId:"DevExpress.XtraReports.UI.XRControlStyle.BackColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"foreColor",displayName:"Foreground Color",localizationId:"DevExpress.XtraReports.UI.XRControlStyle.ForeColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"borderColor",displayName:"Border Color",localizationId:"DevExpress.XtraReports.UI.XRControlStyle.BorderColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"borders",modelName:"@Sides",displayName:"Borders",localizationId:"DevExpress.XtraReports.UI.XRControlStyle.Borders",editor:K.editorTemplates.getEditor("borders")},{propertyName:"borderWidth",modelName:"@BorderWidthSerializable",displayName:"Border Width",localizationId:"DevExpress.XtraReports.UI.XRControlStyle.BorderWidth",from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric")}])).concat([om],Jm);jh.forEach((e=>{delete e.defaultVal}));const qh={propertyName:"styleName",modelName:"@StyleName",editor:jp.getEditor("style"),displayName:"Style",localizationId:"DevExpress.XtraReports.UI.ConditionFormatting.Style",defaultVal:null},Jh={propertyName:"evenStyleName",modelName:"@EvenStyleName",editor:jp.getEditor("style"),displayName:"Even Style",localizationId:"DevExpress.XtraReports.UI.XRControl.XRControlStyles.EvenStyle",defaultVal:null},Kh={propertyName:"oddStyleName",modelName:"@OddStyleName",editor:jp.getEditor("style"),displayName:"Odd Style",localizationId:"DevExpress.XtraReports.UI.XRControl.XRControlStyles.OddStyle",defaultVal:null},Qh={propertyName:"stylePriority",modelName:"StylePriority",info:Au},Yh={propertyName:"cellStyleName",modelName:"@CellStyleName",displayName:"Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.Cell",editor:jp.getEditor("style"),defaultVal:null},Zh={propertyName:"customTotalCellStyleName",modelName:"@CustomTotalCellStyleName",displayName:"Custom Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.CustomTotalCell",editor:jp.getEditor("style"),defaultVal:null},eg={propertyName:"fieldHeaderStyleName",modelName:"@FieldHeaderStyleName",displayName:"Field Header",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldHeader",editor:jp.getEditor("style"),defaultVal:null},tg={propertyName:"fieldValueGrandTotalStyleName",modelName:"@FieldValueGrandTotalStyleName",displayName:"Field Value Grand Total",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearancesBase.FieldValueGrandTotal",editor:jp.getEditor("style"),defaultVal:null},ag={propertyName:"fieldValueStyleName",modelName:"@FieldValueStyleName",displayName:"Field Value",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldValue",editor:jp.getEditor("style"),defaultVal:null},ig={propertyName:"fieldValueTotalStyleName",modelName:"@FieldValueTotalStyleName",displayName:"Field Value Total",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldValueTotal",editor:jp.getEditor("style"),defaultVal:null},rg={propertyName:"filterSeparatorStyleName",modelName:"@FilterSeparatorStyleName",displayName:"Filter Separator",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FilterSeparator",editor:jp.getEditor("style"),defaultVal:null},og={propertyName:"grandTotalCellStyleName",modelName:"@GrandTotalCellStyleName",displayName:"Grand Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.GrandTotalCell",editor:jp.getEditor("style"),defaultVal:null},sg={propertyName:"headerGroupLineStyleName",modelName:"@HeaderGroupLineStyleName",displayName:"Header Group Line",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.HeaderGroupLine",editor:jp.getEditor("style"),defaultVal:null},ng={propertyName:"linesStyleName",modelName:"@LinesStyleName",displayName:"Lines",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.Lines",editor:jp.getEditor("style"),defaultVal:null},lg={propertyName:"totalCellStyleName",modelName:"@TotalCellStyleName",displayName:"Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.TotalCell",editor:jp.getEditor("style"),defaultVal:null},dg={propertyName:"generalStyleName",modelName:"@GeneralStyleName",displayName:"General Style",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.GeneralStyleName",editor:jp.getEditor("style"),defaultVal:null},cg={propertyName:"dataAreaStyleName",modelName:"@DataAreaStyleName",displayName:"Data Area Style",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.DataAreaStyleName",editor:jp.getEditor("style"),defaultVal:null},pg={propertyName:"headerAreaStyleName",modelName:"@HeaderAreaStyleName",displayName:"Header Area Style",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.HeaderAreaStyleName",editor:jp.getEditor("style"),defaultVal:null},ug={propertyName:"totalAreaStyleName",modelName:"@TotalAreaStyleName",displayName:"Total Area Style",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.TotalAreaStyleName",editor:jp.getEditor("style"),defaultVal:null},mg=[Yh,Zh,eg,tg,ag,ig,rg,og,sg,ng,lg],hg=[dg,pg,cg,ug],gg={generalStyleName:{"@Name":"crossTabGeneralStyle","@BorderStyle":"Inset","@Padding":lm,"@Font":"Arial, 9.75pt","@ForeColor":"Black","@BackColor":"White","@BorderColor":"255,160,160,160","@Sides":"All","@StringFormat":"Near;Near;0;None;Character;Default"},dataAreaStyleName:{"@Name":"crossTabDataStyle","@BorderStyle":"Inset","@StringFormat":"Far;Center;0;None;Character;Default","@TextAlignment":"MiddleRight"},headerAreaStyleName:{"@Name":"crossTabHeaderStyle","@BorderStyle":"Inset","@BackColor":"255,240,240,240","@StringFormat":"Near;Center;0;None;Character;Default","@TextAlignment":"MiddleLeft"},totalAreaStyleName:{"@Name":"crossTabTotalStyle","@BorderStyle":"Inset","@StringFormat":"Far;Center;0;None;Character;Default","@TextAlignment":"MiddleRight"}},xg=[Jh,Kh,qh].concat(mg,hg),vg={propertyName:"styleObj",displayName:"Styles",editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.Styles"},fg=DevExpress.Reporting.Internal;function bg(e){e.addDisposable(e.paddingObj=new Q.PaddingModel),e.paddingObj.applyFromString(e.padding());const t=(new fg.Locker).lock;e._disposables.push(e.padding.subscribe((a=>{t((()=>e.paddingObj.applyFromString(a)))}))),["left","right","top","bottom"].forEach((a=>{e.addDisposable(e.paddingObj.subscribeProperty(a,(a=>{t((()=>e.padding(e.paddingObj.toString())))})))}))}class yg extends L.Disposable{constructor(e,t){super(),this.className=()=>"stylemodel",this.controlType="XRStyleModel",(t=t||new L.ModelSerializer).deserialize(this,e),["backColor","foreColor","borderColor"].forEach((e=>{this._disposables.push(this[e]=A.pureComputed({read:()=>this["_"+e]&&this["_"+e](),write:t=>{this["_"+e](t)}}))})),bg(this)}getInfo(){return jh}isPropertyModified(e){const t=this["_"+e]?"_"+e:e,a=A.unwrap(this[t]);return a instanceof Object?!a.isEmpty():!!a}displayType(){return(0,L.getLocalization)("Control Style","DevExpress.XtraReports.UI.XRControlStyle")}}yg.unitProperties=["paddingObj"];const Sg={propertyName:"name",modelName:"@Name"},Cg=[Sg,{propertyName:"frameColor",modelName:"@FrameColor",displayName:"Frame Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"black",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.FrameColor"},{propertyName:"frameWidth",modelName:"@FrameWidth",displayName:"Frame Width",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.FrameWidth"},{propertyName:"padding",modelName:"@Padding",defaultVal:"5,5,5,5,96"},{propertyName:"paddingObj",displayName:"Padding",editor:K.editorTemplates.getEditor("objecteditor"),localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.Padding"},{propertyName:"text",modelName:"@Text",defaultVal:"",displayName:"Text",editor:K.editorTemplates.getEditor("text"),localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.Text"},{propertyName:"textAlignment",modelName:"@TextAlignment",displayName:"Text Alignment",editor:K.editorTemplates.getEditor("combobox"),localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.TextAlignment",valuesArray:[{value:"Center",displayValue:"Center",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextAlignment.Center"},{value:"Baseline",displayValue:"Baseline",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextAlignment.Baseline"}],defaultVal:"Center"},{propertyName:"textColor",modelName:"@TextColor",displayName:"Text Color",from:L.colorFromString,toJsonObject:L.colorToString,editor:K.editorTemplates.getEditor("customColorEditor"),defaultVal:"black",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.TextColor"},{propertyName:"textPosition",modelName:"@TextPosition",displayName:"Text Position",editor:K.editorTemplates.getEditor("combobox"),localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.TextPosition",valuesArray:[{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextPosition.Top"},{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextPosition.Bottom"},{value:"Left",displayValue:"Left",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextPosition.Left"},{value:"Right",displayValue:"Right",localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameTextPosition.Right"}],defaultVal:"Bottom"}],Dg=[{propertyName:"cornerRadius",modelName:"@CornerRadius",displayName:"Corner Radius",editor:K.editorTemplates.getEditor("numeric"),defaultVal:2,localizationId:"DevExpress.XtraPrinting.BarCode.QRFrameOptions.CornerRadius"}].concat(Cg),_g=[{value:"Corner",displayValue:"Corner",localizationId:"DevExpress.XtraPrinting.BarCode.CornerQRFrameOptions"},{value:"Rectangle",displayValue:"Rectangle",localizationId:"DevExpress.XtraPrinting.BarCode.RectangleQRFrameOptions"}],Ig=_g.concat([{value:"PaymentServicesAustria",displayValue:"Payment Services Austria Frame",localizationId:"DevExpress.XtraPrinting.BarCode.PaymentServicesAustriaQRFrameOptions"}]),Pg={Rectangle:Dg,Corner:Cg,PaymentServicesAustria:[Sg]};class Tg extends Q.SerializableModel{constructor(e,t,a){super(e,t,a),this.padding&&bg(this)}}class zg extends Q.SerializableModel{constructor(e,t,a){super(e,t,a),this.frameOptions&&(this.frameOptions(this.createFrameOptions(this.frameOptions()||{},t)),this.frameOptionsFake={type:A.pureComputed({read:()=>this.frameOptions().name(),write:e=>{var a;this.frameOptions&&(null===(a=this.frameOptions())||void 0===a||a.dispose()),this.frameOptions(this.createFrameOptions({"@Name":e},t))}}),content:this.frameOptions,showClearButton:!0},this._disposables.push(this.frameOptionsFake.type))}createFrameOptions(e,t=null){const a=Pg[e["@Name"]]||[Sg];return new Tg(e,t,a)}isPropertyDisabled(e){return"DataBar"===this.name()&&("fNC1Substitute"==e&&-1===this.type().indexOf("Expanded"))}dispose(){var e;super.dispose(),this.frameOptions&&(null===(e=this.frameOptions())||void 0===e||e.dispose())}}const Ng=e=>({propertyName:"dataBindings",modelName:"DataBindings",array:!0,info:$p,displayName:"Data Bindings",localizationId:"DevExpress.XtraReports.UI.XRControl.DataBindings",editor:jp.getEditor("dataBindings"),allDataBindings:e,from:bu.initialize}),Eg=e=>[Rg({bindingName:e,propertyName:""},!1),Rg({bindingName:e,propertyName:""})],wg=e=>{const t={propertyName:"popularDataBinding"+e.propertyName,displayName:e.propertyName,localizationId:e.localizationId,bindingName:e.propertyName},a={propertyName:"popularExpression"+e.propertyName,displayName:e.propertyName,localizationId:e.localizationId,bindingName:e.propertyName};return[Rg(t,!1),Rg(a)]},Rg=(e,t=!0)=>{const a={propertyName:e.propertyName||(t?"popularExpression":"popularDataBinding"),displayName:e.displayName||(t?"Expression":"Data Binding"),localizationId:e.localizationId||(t?"DevExpress.XtraReports.UI.CalculatedField.Expression":"ReportStringId.STag_Name_DataBinding"),editor:t?jp.getEditor("reportexpressionComplex"):jp.getEditor("dataBinding")};return t?a.expressionName=e.bindingName:a.bindingName=e.bindingName,a};function Bg(e,t){return e.valuesArray.map((e=>{const a=e.localizationId&&e.localizationId.split(".").pop()||e.value;return(0,B.extend)({},e,{localizationId:t+a})}))}const Vg={propertyName:"anchorVertical",modelName:"@AnchorVertical",displayName:"Anchor Vertically",localizationId:"DevExpress.XtraReports.UI.XRControl.AnchorVertical",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.VerticalAnchorStyles.None"},{value:"Top",displayValue:"Top",localizationId:"DevExpress.XtraReports.UI.VerticalAnchorStyles.Top"},{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom"},{value:"Both",displayValue:"Both",localizationId:"DevExpress.XtraReports.UI.VerticalAnchorStyles.Both"}]},Mg={propertyName:"anchorHorizontal",modelName:"@AnchorHorizontal",displayName:"Anchor Horizontally",localizationId:"DevExpress.XtraReports.UI.XRControl.AnchorHorizontal",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.HorizontalAnchorStyles.None"},{value:"Left",displayValue:"Left",localizationId:"DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left"},{value:"Right",displayValue:"Right",localizationId:"DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right"},{value:"Both",displayValue:"Both",localizationId:"DevExpress.XtraReports.UI.HorizontalAnchorStyles.Both"}]},kg={propertyName:"editOptions",modelName:"EditOptions",displayName:"Edit Options",localizationId:"DevExpress.XtraReports.UI.XRLabel.EditOptions",editor:K.editorTemplates.getEditor("objecteditor"),from:(e,t)=>new ch(e,t),toJsonObject:(e,t)=>t.serialize(e)},Ag=(0,B.extend)({},kg,{propertyName:"textEditOptions",from:(e,t)=>new hh(e,t)}),Lg=[{propertyName:"eventName",modelName:"@EventName"},{propertyName:"propertyName",modelName:"@PropertyName"},{propertyName:"expression",modelName:"@Expression"}],$g={propertyName:"expressionBindings",modelName:"ExpressionBindings",array:!0,info:Lg},Fg={propertyName:"formattingRuleLinks",modelName:"FormattingRuleLinks",displayName:"Formatting Rules",localizationId:"DevExpress.XtraReports.UI.XRControl.FormattingRules",array:!0,editor:jp.getEditor("formattingRule"),addHandler:Th.createNew,displayPropertyName:"name"},Og=[Uu,Gu],Xg=[im,rm,om,am],Hg=[$u,Ku,Hm,Ju,qu,$g],Wg=[Qu,Fg].concat(Hg,Xg,Jm),Ug=[qh,Jh,Zm,Kh,vg,Qh,Wm].concat(Wg),Gg=[em,Yu],jg=[Nm,Em],qg=[wm,Rm].concat(jg),Jg=[Im,Pm,_m,Tm,zm,Fm],Kg=[Sm,ym,Cm],Qg=[um,mm],Yg=[dm,Ou,Xu,km,cm,Bm,bm,$m,hm,pm,gm,Lu,jm,Xh].concat(Ug,Gg,qg,Qg,Kg),Zg=[].concat(Hg,Og),ex={propertyName:"onAfterPrint",modelName:"@OnAfterPrint",displayName:"After Print",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnAfterPrint",editor:jp.getEditor("scriptsBox")},tx={propertyName:"onBeforePrint",modelName:"@OnBeforePrint",displayName:"Before Print",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnBeforePrint",editor:jp.getEditor("scriptsBox")},ax={propertyName:"onSizeChanged",modelName:"@OnSizeChanged",displayName:"Size Changed",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnSizeChanged",editor:jp.getEditor("scriptsBox")},ix={propertyName:"onEvaluateBinding",modelName:"@OnEvaluateBinding",displayName:"Evaluate Binding",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnEvaluateBinding",editor:jp.getEditor("scriptsBox")},rx=[ex,tx,{propertyName:"onLocationChanged",modelName:"@OnLocationChanged",displayName:"Location Changed",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnLocationChanged",editor:jp.getEditor("scriptsBox")},{propertyName:"onParentChanged",modelName:"@OnParentChanged",displayName:"Parent Changed",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnParentChanged",editor:jp.getEditor("scriptsBox")}],ox={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRPageBreak.Scripts",info:rx,editor:K.editorTemplates.getEditor("objecteditor")},sx=rx.concat([ax,{propertyName:"onDraw",modelName:"@OnDraw",displayName:"Draw",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnDraw",editor:jp.getEditor("scriptsBox")},ix,{propertyName:"onPrintOnPage",modelName:"@OnPrintOnPage",displayName:"Print on Page",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnPrintOnPage",editor:jp.getEditor("scriptsBox")}]),nx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRControl.Scripts",info:sx,editor:K.editorTemplates.getEditor("objecteditor")},lx=sx.concat([{propertyName:"onHtmlItemCreated",modelName:"@OnHtmlItemCreated",displayName:"Html Item Created",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnHtmlItemCreated",editor:jp.getEditor("scriptsBox")}]),dx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRLine.Scripts",info:lx,editor:K.editorTemplates.getEditor("objecteditor")},cx=lx.concat([{propertyName:"onTextChanged",modelName:"@OnTextChanged",displayName:"Text Changed",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnTextChanged",editor:jp.getEditor("scriptsBox")}]),px={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRLabel.Scripts",info:cx,editor:K.editorTemplates.getEditor("objecteditor")},ux=cx.concat([{propertyName:"onSummaryCalculated",modelName:"@OnSummaryCalculated",displayName:"Summary Calculated",localizationId:"DevExpress.XtraReports.UI.XRLabelScripts.OnSummaryCalculated",editor:jp.getEditor("scriptsBox")},{propertyName:"onSummaryGetResult",modelName:"@OnSummaryGetResult",displayName:"Summary Get Result",localizationId:"DevExpress.XtraReports.UI.XRLabelScripts.OnSummaryGetResult",editor:jp.getEditor("scriptsBox")},{propertyName:"onSummaryReset",modelName:"@OnSummaryReset",displayName:"Summary Reset",localizationId:"DevExpress.XtraReports.UI.XRLabelScripts.OnSummaryReset",editor:jp.getEditor("scriptsBox")},{propertyName:"onSummaryRowChanged",modelName:"@OnSummaryRowChanged",displayName:"Summary Row Changed",localizationId:"DevExpress.XtraReports.UI.XRLabelScripts.OnSummaryRowChanged",editor:jp.getEditor("scriptsBox")}]),mx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRLabel.Scripts",info:ux,editor:K.editorTemplates.getEditor("objecteditor")},hx=[{propertyName:"onCustomDrawSeries",modelName:"@OnCustomDrawSeries",displayName:"Custom Draw a Series",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnCustomDrawSeries",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomDrawSeriesPoint",modelName:"@OnCustomDrawSeriesPoint",displayName:"Custom Draw a Series Point",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnCustomDrawSeriesPoint",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomDrawAxisLabel",modelName:"@OnCustomDrawAxisLabel",displayName:"Custom Draw an Axis Label",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnCustomDrawAxisLabel",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomPaint",modelName:"@OnCustomPaint",displayName:"Custom Paint",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnCustomPaint",editor:jp.getEditor("scriptsBox")},{propertyName:"onBoundDataChanged",modelName:"@OnBoundDataChanged",displayName:"Bound Data Changed",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnBoundDataChanged",editor:jp.getEditor("scriptsBox")},{propertyName:"onPieSeriesPointExploded",modelName:"@OnPieSeriesPointExploded",displayName:"Pie Series Point Exploded",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnPieSeriesPointExploded",editor:jp.getEditor("scriptsBox")},{propertyName:"onAxisScaleChanged",modelName:"@OnAxisScaleChanged",displayName:"Axis Scale Changed",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnAxisScaleChanged",editor:jp.getEditor("scriptsBox")},{propertyName:"onSmallChartTextShowing",modelName:"@OnSmallChartTextShowing",displayName:"Small Chart Text Showing",localizationId:"DevExpress.XtraReports.UI.XRChartScripts.OnSmallChartTextShowing",editor:jp.getEditor("scriptsBox")}],gx={propertyName:"scripts",modelName:"Scripts",info:lx.concat(hx),displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRChart.Scripts",editor:K.editorTemplates.getEditor("objecteditor")},xx=[{propertyName:"onCustomCellDisplayText",modelName:"@OnCustomCellDisplayText",displayName:"Custom Cell Display Text",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomCellDisplayText",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomCellValue",modelName:"@OnCustomCellValue",displayName:"Custom Cell Value",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomCellValue",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomColumnWidth",modelName:"@OnCustomColumnWidth",displayName:"Custom Column Width",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomColumnWidth",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomFieldSort",modelName:"@OnCustomFieldSort",displayName:"Custom Field Sort",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomFieldSort",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomFieldValueCells",modelName:"@OnCustomFieldValueCells",displayName:"Custom Field Value Cells",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomFieldValueCells",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomGroupInterval",modelName:"@OnCustomGroupInterval",displayName:"Custom Group Interval",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomGroupInterval",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomRowHeight",modelName:"@OnCustomRowHeight",displayName:"Custom Row Height",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomRowHeight",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomSummary",modelName:"@OnCustomSummary",displayName:"Custom Summary",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomSummary",editor:jp.getEditor("scriptsBox")},{propertyName:"onCustomUnboundFieldData",modelName:"@OnCustomUnboundFieldData",displayName:"Custom Unbound Field Data",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnCustomUnboundFieldData",editor:jp.getEditor("scriptsBox")},{propertyName:"onFieldValueDisplayText",modelName:"@OnFieldValueDisplayText",displayName:"Field Value Display Text",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnFieldValueDisplayText",editor:jp.getEditor("scriptsBox")},{propertyName:"onPrefilterCriteriaChanged",modelName:"@OnPrefilterCriteriaChanged",displayName:"Prefilter Criteria Changed",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnPrefilterCriteriaChanged",editor:jp.getEditor("scriptsBox")},{propertyName:"onPrintCell",modelName:"@OnPrintCell",displayName:"Print Cell",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnPrintCell",editor:jp.getEditor("scriptsBox")},{propertyName:"onPrintFieldValue",modelName:"@OnPrintFieldValue",displayName:"Print Field Value",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnPrintFieldValue",editor:jp.getEditor("scriptsBox")},{propertyName:"onPrintHeader",modelName:"@OnPrintHeader",displayName:"Print Header",localizationId:"DevExpress.XtraReports.UI.XRPivotGridScripts.OnPrintHeader",editor:jp.getEditor("scriptsBox")}],vx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.Scripts",info:rx.concat([ax],xx),editor:K.editorTemplates.getEditor("objecteditor")},fx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.SubreportBase.Scripts",info:rx.concat(ax),editor:K.editorTemplates.getEditor("objecteditor")},bx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRPdfContent.Scripts",info:rx.concat(ix),editor:K.editorTemplates.getEditor("objecteditor")},yx=[ex,tx],Sx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.Band.Scripts",info:yx,editor:K.editorTemplates.getEditor("objecteditor")},Cx={propertyName:"onBandLevelChanged",modelName:"@OnBandLevelChanged",displayName:"Band Level Changed",localizationId:"DevExpress.XtraReports.UI.GroupBandScripts.OnBandLevelChanged",editor:jp.getEditor("scriptsBox")},Dx=yx.concat([Cx]),_x={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBand.Scripts",info:Dx,editor:K.editorTemplates.getEditor("objecteditor")},Ix={propertyName:"onSortingSummaryGetResult",modelName:"@OnSortingSummaryGetResult",displayName:"Sorting Summary Get Result",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBandScripts.OnSortingSummaryGetResult",editor:jp.getEditor("scriptsBox")},Px={propertyName:"onSortingSummaryReset",modelName:"@OnSortingSummaryReset",displayName:"Sorting Summary Reset",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBandScripts.OnSortingSummaryReset",editor:jp.getEditor("scriptsBox")},Tx={propertyName:"onSortingSummaryRowChanged",modelName:"@OnSortingSummaryRowChanged",displayName:"Sorting Summary RowChanged",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBandScripts.OnSortingSummaryRowChanged",editor:jp.getEditor("scriptsBox")},zx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBand.Scripts",info:Dx.concat([Ix,Px,Tx]),editor:K.editorTemplates.getEditor("objecteditor")},Nx={propertyName:"onBandHeightChanged",modelName:"@OnBandHeightChanged",displayName:"Band's Height Changed",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnBandHeightChanged",editor:jp.getEditor("scriptsBox")},Ex={propertyName:"onDataSourceRowChanged",modelName:"@OnDataSourceRowChanged",displayName:"Data Source's Row Changed",localizationId:"DevExpress.XtraReports.UI.XtraReportBase.DataSource",editor:jp.getEditor("scriptsBox")},wx={propertyName:"onDataSourceDemanded",modelName:"@OnDataSourceDemanded",displayName:"Data Source Demanded",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnDataSourceDemanded",editor:jp.getEditor("scriptsBox")},Rx=yx.concat([Nx,Ex,wx]),Bx={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.DetailReportBand.Scripts",info:Rx,editor:K.editorTemplates.getEditor("objecteditor")},Vx={propertyName:"onFillEmptySpace",modelName:"@OnFillEmptySpace",displayName:"Fill Empty Space",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnFillEmptySpace",editor:jp.getEditor("scriptsBox")},Mx={propertyName:"onPrintProgress",modelName:"@OnPrintProgress",displayName:"Print Progress",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnPrintProgress",editor:jp.getEditor("scriptsBox")},kx={propertyName:"onParametersRequestBeforeShow",modelName:"@OnParametersRequestBeforeShow",displayName:"Parameters Request Before Show",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnParametersRequestBeforeShow",editor:jp.getEditor("scriptsBox")},Ax={propertyName:"onParametersRequestValueChanged",modelName:"@OnParametersRequestValueChanged",displayName:"Parameters Changed",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnParametersRequestValueChanged",editor:jp.getEditor("scriptsBox")},Lx={propertyName:"onParametersRequestSubmit",modelName:"@OnParametersRequestSubmit",displayName:"Parameters Submitted",localizationId:"DevExpress.XtraReports.UI.XtraReportScripts.OnParametersRequestSubmit",editor:jp.getEditor("scriptsBox")},$x={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XtraReport.Scripts",info:Rx.concat([Vx,Mx,kx,Ax,Lx]),editor:K.editorTemplates.getEditor("objecteditor")},Fx={propertyName:"scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.XRControl.Scripts",info:ux.concat(hx,xx,[Cx,Ix,Px,Tx,Nx,Ex,wx,Vx,Mx,kx,Ax,Lx]),editor:K.editorTemplates.getEditor("objecteditor")},Ox={propertyName:"imageUrl",modelName:"@ImageUrl",editor:K.editorTemplates.getEditor("text"),defaultVal:"",displayName:"Image Url",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageUrl"},Xx={propertyName:"imageSource",modelName:"@ImageSource",editor:{header:"dxrd-image-loadfile",editorType:K.Editor},displayName:"Image Source",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageSource",from:e=>A.observable(Eh.ImageSource.parse(e)),toJsonObject:Eh.ImageSource.toString,defaultVal:null},Hx=(0,B.extend)({},kg,{propertyName:"imageEditOptions",from:(e,t)=>new mh(e,t)}),Wx={propertyName:"useImageMetadata",modelName:"@UseImageMetadata",displayName:"Use Image Metadata",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.UseImageMetadata",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},Ux=[Ox,Xx,Bp.sizing,Bp.imageAlignment,fm,Vg,Mg,dx,Wx,zu,Ng(["Bookmark","Image","ImageSource","ImageUrl","NavigateUrl","Tag"]),Hx].concat(wg({propertyName:"ImageUrl",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageUrl"}),wg({propertyName:"ImageSource",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageSource"}),Og,Ug,qg,Kg),Gx=["imageSource","popularDataBindingImageSource","imageUrl","popularDataBindingImageUrl","sizing","imageAlignment","bookmark","bookmarkParent"],jx=(0,B.extend)({},Yu,{defaultVal:"Red"}),qx=(0,B.extend)({},Zu,{defaultVal:"Verdana, 36pt",editorOptions:{hideUnderline:!0,hideStrikeout:!0}}),Jx=[{value:"Behind",displayValue:"Behind",localizationId:"DevExpress.XtraPrinting.Drawing.WatermarkPosition.Behind"},{value:"InFront",displayValue:"InFront",localizationId:"DevExpress.XtraPrinting.Drawing.WatermarkPosition.InFront"}],Kx=[{propertyName:"watermarkId",modelName:"@Id",displayName:"Watermark Id",localizationId:"DevExpress.XtraReports.UI.XtraReport.WatermarkId",editor:jp.getEditor("watermarkId")},qx,jx,{propertyName:"textTransparency",modelName:"@TextTransparency",displayName:"Text Transparency",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.TextTransparency",defaultVal:50,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"text",modelName:"@Text",displayName:"Text",localizable:!0,localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.Text",defaultVal:"",editor:K.editorTemplates.getEditor("comboboxEditable"),valuesArray:[{value:"ASAP",displayValue:"ASAP",localizationId:"PreviewStringId.WMForm_Watermark_Asap"},{value:"CONFIDENTIAL",displayValue:"CONFIDENTIAL",localizationId:"PreviewStringId.WMForm_Watermark_Confidential"},{value:"COPY",displayValue:"COPY",localizationId:"PreviewStringId.WMForm_Watermark_Copy"},{value:"DO NOT COPY",displayValue:"DO NOT COPY",localizationId:"PreviewStringId.WMForm_Watermark_DoNotCopy"},{value:"DRAFT",displayValue:"DRAFT",localizationId:"PreviewStringId.WMForm_Watermark_Draft"},{value:"EVALUATION",displayValue:"EVALUATION",localizationId:"PreviewStringId.WMForm_Watermark_Evaluation"},{value:"ORIGINAL",displayValue:"ORIGINAL",localizationId:"PreviewStringId.WMForm_Watermark_Original"},{value:"PERSONAL",displayValue:"PERSONAL",localizationId:"PreviewStringId.WMForm_Watermark_Personal"},{value:"SAMPLE",displayValue:"SAMPLE",localizationId:"PreviewStringId.WMForm_Watermark_Sample"},{value:"TOP SECRET",displayValue:"TOP SECRET",localizationId:"PreviewStringId.WMForm_Watermark_TopSecret"},{value:"URGENT",displayValue:"URGENT",localizationId:"PreviewStringId.WMForm_Watermark_Urgent"}]},{propertyName:"textDirection",modelName:"@TextDirection",displayName:"Text Direction",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.TextDirection",defaultVal:"ForwardDiagonal",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Horizontal",displayValue:"Horizontal",localizationId:"DevExpress.XtraPrinting.Drawing.DirectionMode.Horizontal"},{value:"ForwardDiagonal",displayValue:"ForwardDiagonal",localizationId:"DevExpress.XtraPrinting.Drawing.DirectionMode.ForwardDiagonal"},{value:"BackwardDiagonal",displayValue:"BackwardDiagonal",localizationId:"DevExpress.XtraPrinting.Drawing.DirectionMode.BackwardDiagonal"},{value:"Vertical",displayValue:"Vertical",localizationId:"DevExpress.XtraPrinting.Drawing.DirectionMode.Vertical"}]},{propertyName:"textPosition",modelName:"@TextPosition",displayName:"Text Position",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.TextPosition",defaultVal:"Behind",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Jx},Xx,{propertyName:"imagePosition",modelName:"@ImagePosition",displayName:"Image Position",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.ImagePosition",defaultVal:"Behind",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Jx},{propertyName:"imageTransparency",modelName:"@ImageTransparency",displayName:"Image Transparency",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.ImageTransparency",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"imageTiling",modelName:"@ImageTiling",displayName:"Image Tiling",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.ImageTiling",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"imageAlign",modelName:"@ImageAlign",displayName:"Image Alignment",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.ImageAlign",defaultVal:"MiddleCenter",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"TopLeft",displayValue:"TopLeft",localizationId:"System.Drawing.ContentAlignment.TopLeft"},{value:"TopCenter",displayValue:"TopCenter",localizationId:"System.Drawing.ContentAlignment.TopCenter"},{value:"TopRight",displayValue:"TopRight",localizationId:"System.Drawing.ContentAlignment.TopRight"},{value:"MiddleLeft",displayValue:"MiddleLeft",localizationId:"System.Drawing.ContentAlignment.MiddleLeft"},{value:"MiddleCenter",displayValue:"MiddleCenter",localizationId:"System.Drawing.ContentAlignment.MiddleCenter"},{value:"MiddleRight",displayValue:"MiddleRight",localizationId:"System.Drawing.ContentAlignment.MiddleRight"},{value:"BottomLeft",displayValue:"BottomLeft",localizationId:"System.Drawing.ContentAlignment.BottomLeft"},{value:"BottomCenter",displayValue:"BottomCenter",localizationId:"System.Drawing.ContentAlignment.BottomCenter"},{value:"BottomRight",displayValue:"BottomRight",localizationId:"System.Drawing.ContentAlignment.BottomRight"}]},{propertyName:"imageViewMode",modelName:"@ImageViewMode",displayName:"Image View Mode",localizationId:"DevExpress.XtraPrinting.Drawing.PageWatermark.ImageViewMode",defaultVal:"Clip",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Clip",displayValue:"Clip",localizationId:"DevExpress.XtraPrinting.Drawing.ImageViewMode.Clip"},{value:"Stretch",displayValue:"Stretch",localizationId:"DevExpress.XtraPrinting.Drawing.ImageViewMode.Stretch"},{value:"Zoom",displayValue:"Zoom",localizationId:"DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom"}]},{propertyName:"pageRange",modelName:"@PageRange",displayName:"Page Range",localizationId:"DevExpress.XtraPrinting.Drawing.Watermark.PageRange",defaultVal:"",editor:K.editorTemplates.getEditor("text")}];class Qx extends Q.SerializableModel{constructor(e,t){super(e||{},t,Kx),this.rtl=k.noop,!this.imageSource()&&e&&e["@Image"]&&(this.imageSource(new Eh.ImageSource("img",e["@Image"])),delete this._model["@Image"])}get displayName(){return this.displayNameObject()||this.watermarkId()}get name(){return this.watermarkId()}displayType(){return(0,L.getLocalization)("Watermark","DevExpress.XtraReports.UI.XtraReport.Watermark")}shouldDrawWatermarkImage(){return this.imageSource()&&"svg"!==this.imageSource().sourceType}}class Yx{static getChartImage(e){return M.getChartImage(Wp(),(new L.ModelSerializer).serialize(e._control.chart,ap),e.contentWidthWithoutZoom(),e.contentHeightWithoutZoom())}static getUnknownControlImage(e,t){return(0,B.ajax)(Wp(),"renderUnknownControl",encodeURIComponent(JSON.stringify({layout:JSON.stringify(e),scale:t})))}static getShapeImage(e){const t=e.getUsefulRect(),a={shapeType:e._control.Shape().shapeType&&e._control.Shape().shapeType()||"Ellipse",width:t.width,lineWidth:e._control.lineWidth(),fillColor:(0,L.colorToString)(e._control.fillColor()),lineStyle:e._control.lineStyle&&e._control.lineStyle()||"Solid",height:t.height,fillet:e._control.Shape().fillet&&e._control.Shape().fillet()||0,numberOfSides:e._control.Shape().numberOfSides&&e._control.Shape().numberOfSides()||3,angle:e._control.angle&&e._control.angle()||0,arrowHeight:e._control.Shape().arrowHeight&&e._control.Shape().arrowHeight()||20,arrowWidth:e._control.Shape().arrowWidth&&e._control.Shape().arrowWidth()||20,concavity:e._control.Shape().concavity&&e._control.Shape().concavity()||5,starPointCount:e._control.Shape().starPointCount&&e._control.Shape().starPointCount()||3,horizontalLineWidth:e._control.Shape().horizontalLineWidth&&e._control.Shape().horizontalLineWidth()||10,verticalLineWidth:e._control.Shape().verticalLineWidth&&e._control.Shape().verticalLineWidth()||10,tipLength:e._control.Shape().tipLength&&e._control.Shape().tipLength()||30,tailLength:e._control.Shape().tailLength&&e._control.Shape().tailLength()||30,foreColor:(0,L.colorToString)(e._control.foreColor&&e._control.foreColor()||"black"),stretch:e._control.stretch&&e._control.stretch()||!1,padding:e._control.padding&&e._control.padding()||Q.PaddingModel.defaultVal,dpi:e._control.dpi&&e._control.dpi()||100};return(0,B.ajax)(Wp(),"shapeGlyph",encodeURIComponent(JSON.stringify(a)))}static getRichImage(e,t){return(0,B.ajax)(Wp(),"renderRich",encodeURIComponent(JSON.stringify({layout:JSON.stringify(k.extend((new L.ModelSerializer).serialize(e._control),{"@Font":e._control.font()})),scale:e._context.zoom(),text:(0,fg.transformNewLineCharacters)(e._control.textRtf()||""),rtf:(0,fg.transformNewLineCharacters)(e._control._rtf()||""),format:e._control.format(),base64rtf:e._control.serializableRtfString(),propertyName:t})))}static getPdfContentData(e){return(0,B.ajax)(Wp(),"renderPdfContent",encodeURIComponent(JSON.stringify({sourceBase64:e.source()||"",sourceUrl:e.sourceUrl()||"",pageRange:e.pageRange()||""})))}}function Zx(e){return"VerticalDetailBand"===e||"VerticalHeaderBand"===e||"VerticalTotalBand"===e}function ev(e){return Zx(e)||"BottomMarginBand"===e||"SubBand"===e||"DetailBand"===e||"DetailReportBand"===e||"GroupFooterBand"===e||"GroupHeaderBand"===e||"PageFooterBand"===e||"PageHeaderBand"===e||"ReportFooterBand"===e||"ReportHeaderBand"===e||"TopMarginBand"===e}function tv(e){return("ReportHeaderBand"===e.controlType||"ReportFooterBand"===e.controlType)&&"DevExpress.XtraReports.UI.XtraReport"===e.parentModel().controlType||"SubBand"===e.controlType&&tv(e.parentModel())}function av(e){return(0,B.findFirstItemMatchesCondition)(e.controls(),(e=>"XRTableOfContents"===e.controlType))}const iv=["foreColor","borderColor","borderWidth","backColor","borders","borderDashStyle","padding","textAlignment","font"];class rv extends L.Disposable{constructor(e,t){super(),this._report=e,this._controlsHelper=t}static styleEqualityComparer(e,t){return iv.every((a=>e[a]()===t[a]()||void 0===e[a]()&&void 0===t[a]()))}static generateStyle(e){const t=new yg({});return iv.forEach((a=>{e[a]&&e[a]()&&t[a](e[a]())})),t}removeUnusedStyle(e){const t=this._report.findStyle(e);if(t&&!this._controlsHelper.allControls().some((t=>t.styleName&&t.styleName()===e)))return this._report.styles.remove(t),t}}function ov(e,t){let a;const i=[];return t.forEach((t=>{e[t.propertyName]&&(void 0===a&&(a={}),a[t.propertyName]=e[t.propertyName],i.push(t))})),a&&(a.getInfo=()=>i),a}function sv(e,t){const a=e.parentModel&&e.parentModel();return a?a[t]?a:sv(a,t):e.root}var nv;!function(e){e.Bindings="Bindings",e.Expressions="Expressions",e.ExpressionsAdvanced="ExpressionsAdvanced"}(nv||(nv={}));const lv="dxrd-expression";function dv({expressionEditor:e,hasInnerItems:t,title:a,hint:i}){return{id:lv,action:t?e=>{}:t=>{e.popupVisible(!0)},title:a,itemTemplate:"dxrd-expression-action",hint:i,weight:50,innerTemplate:t?null:{name:"dxrd-expressioneditor-popup",data:e},visible:e=>!0}}class cv extends L.Disposable{constructor(e,t){super(),this.values=e,this.value=t,this.popupVisible=A.observable(!1)}_onHidingPopup(e){this._relatedControlClassName&&e.component.content().classList.remove(this._relatedControlClassName)}_onShowingPopup(e){return t=>{if(e&&e.expressionObj){const a=e.controlType||"unknown";this._relatedControlClassName="dx-expression-popup-related-"+a.toLowerCase().split(".").join("_"),k.fn.constructor(t.component.content())[0].classList.add(this._relatedControlClassName)}}}patchOptions(e,t){return!!this.value()&&(this.value().customizeCategories||(this.value().customizeCategories=(a,i,r)=>{i.splice(0,0,this._createReportItems(e,r)),this.values()&&this.values().length>0&&i.splice(2,0,this._createValuesTab());vh(i,(e=>{var t;return("PrintOnPage"===this.value().eventName||"BeforePrint"===this.value().eventName&&"WatermarkId"===(null===(t=this.value().serializationInfo)||void 0===t?void 0:t.modelName))&&(e.push({text:"Arguments.PageIndex",val:"[Arguments.PageIndex]",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Arguments_PageIndex"}),e.push({text:"Arguments.PageCount",val:"[Arguments.PageCount]",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Arguments_PageCount"})),e})),t.customizeExpressionCategories&&t.customizeExpressionCategories(a,i)},this.value().onHiding=this._onHidingPopup,this.value().onShowing=this._onShowingPopup(t)),!0)}_createReportItems(e,t){return{displayName:(0,L.getLocalization)("Report Items","ReportStringId.ExpressionEditor_ItemInfo_ReportItems"),content:{showDescription:!1,isSelected:A.observable(!1),data:{fields:{itemsProvider:e,expandRootItems:!0,selectedPath:A.observable(""),templateName:"dx-ee-treelist-item",treeListController:new G.ExpressionEditorTreeListController("",((e,a)=>{t("["+["ReportItems",e.text].join(".")+"]")}))}},name:"dx-expressioneditor-report-items"},dispose:()=>{}}}_createValuesTab(){const e=this.values().map((e=>{const t=e.value||e;return{text:"'"+t+"'",displayName:t}}));return(0,G.createExpressionEditorCollectionToolOptions)(e,"Values","ReportStringId.ExpressionEditor_ItemInfo_Values",!1)}}class pv extends G.PopupEditorBase{constructor(e,t){super(),this.control=e,this.value=t,this._allProperties=[],this.title=()=>(0,L.getLocalization)("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.getPopupContainer=B.getParentContainer,this.adapter=A.observable(),this.editor=A.observable(),this.properties=A.observable([]);const a=this;this.resizeHelper=new G.ResizeHelper({onResize:()=>this.resizeAceEditor()}),this.buttonItems.push({toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Apply","StringId.Apply"),type:"normal",stylingMode:"contained",onClick:function(e){a.apply(e)}}})}save(e){this.apply(e)&&super.save()}apply(e){const t=this.editor().getValue();if(this.editor().validate(t,e))return this.editor().save(null),this._allProperties.forEach((e=>e.value&&e.content.value&&void 0!==e.value()&&e.content.value(e.value()))),!0}onShowing(e){const t=this.control().expressionObj;this._allProperties=[],this.properties([]),this.createExpressionEditorProperties(t,this.properties(),this.value),this.properties.valueHasMutated(),this.value()&&this.updateExpression(this.value()),this._undoEngine=L.UndoEngine.tryGetUndoEngine(this.control()),this._undoEngine&&this._undoEngine.start(),this.editor().onShowing(e),this.editor().initDisplayValue()}resizeAceEditor(){this.editor().resizeAceEditor()}onHiding(e){this._allProperties.forEach((e=>e.content&&e.value(e.content.value()))),this.editor()&&this.editor().onHiding(e),this._undoEngine&&this._undoEngine.end(),this.adapter()&&this.adapter().dispose()}createExpressionEditorProperties(e,t,a){return e.getInfo().forEach((i=>{const r=[];let o=!1;if(i.info&&(o=this.createExpressionEditorProperties(e[i.propertyName],r,a)),"Appearance"===i.propertyName||"Layout"===i.propertyName)t.push(...r);else{const s=!r.length&&e[i.propertyName],n={displayName:(0,L.getLocalization)(i.displayName,i.localizationId),propertyName:i.propertyName,items:r,templateName:r.length?"dxrd-expressioneditor-property-accordion":"",collapsed:A.observable(!o),content:s,value:A.observable(s&&s.value()),isSelected:A.observable(s==a()),click:()=>this.switchExpression(n),isBinded:()=>!!n.value()||n.items.some((e=>e.isBinded()))};a()||(n.isSelected(!0),a(n.content)),n.isSelected()&&(this.currentProperty=n),t.push(n),this._allProperties.push(n)}})),t.sort(((e,t)=>e.displayName<t.displayName?-1:1)),t.some((e=>e.isSelected()||!e.collapsed()))}switchExpression(e){if(e===this.currentProperty)return;const t=this.editor().getValue();this.editor().validate(t)&&(this.editor().save(null),this.currentProperty.isSelected(!1),this.currentProperty=e,this.updateExpression(e.content),e.isSelected(!0),this.editor().initDisplayValue())}updateExpression(e){this.adapter()&&this.adapter().dispose(),this.adapter(new cv(A.observable(e.serializationInfo&&e.serializationInfo.valuesArray||[]),A.observable(Object.assign(Object.assign({},e),{value:this.currentProperty.value}))))}}function uv(e){let t=null,a=e;do{ev(a.controlType)&&(t=a),a=a.parentModel()}while(!t&&a);return t}function mv(e,t="{0}"){return e.getInfo().filter((e=>e.localizable&&e.modelName)).map((a=>new fv((0,B.formatUnicorn)(t,a.modelName.substr(1)),e["_"+a.propertyName]||e[a.propertyName],a)))}class hv extends L.Disposable{constructor(e){super(),this._model=e}dispose(){this._localizationInfo=null}getLocalizationProperty(e){return this.getLocalizationProperties().filter((t=>t.propertyName===e))[0]}getLocalizationProperties(){return this._localizationInfo||(this._localizationInfo=mv(this._model)),this._localizationInfo}applyLocalization(e,t){this.getLocalizationProperties().filter((t=>t.propertyName===e)).forEach((e=>e.applyLocalization(t)))}}class gv extends hv{getLocalizationProperties(){return this._localizationInfo||(this._localizationInfo=[].concat.apply(super.getLocalizationProperties(),[mv(this._model.levelTitle,"LevelTitle.{0}")])),[].concat.apply(this._localizationInfo,this._model.levels().map(((e,t)=>mv(e,(0,B.formatUnicorn)("Levels.{0}.",t)+"{0}"))))}}class xv extends hv{getLocalizationProperties(){return this._localizationInfo||(this._localizationInfo=[].concat.apply(super.getLocalizationProperties(),this._model.watermarks().map(((e,t)=>mv(e,(0,B.formatUnicorn)("Watermarks.{0}.",t)+"{0}"))))),this._localizationInfo}}class vv extends hv{getLocalizationProperties(){const e=this._model.allChartComponents();return[].concat.apply(super.getLocalizationProperties(),e.map((e=>mv(e.component,e.path+".{0}"))))}}class fv{constructor(e,t,a){this.propertyName=e,this.value=t,this.info=a}applyLocalization(e){const t=this.info.from?A.unwrap(this.info.from(e)):e,a=A.unwrap(this.value);if(this.value.getInfo){a.getInfo().forEach((e=>{a[e.propertyName]&&a[e.propertyName](t[e.propertyName]())}))}else this.value(t)}}class bv extends Q.ElementViewModel{constructor(e,t,a){super(e,t,a),this._expressionActions={},this.initialize(),this.formattingRuleLinks=(0,L.deserializeArray)(e.FormattingRuleLinks,(e=>new zh(e,a)));const i=(e,t)=>{this["_"+e]=A.observable(this[e]()),this._disposables.push(this[e]=A.computed({read:()=>this._getStyleProperty(e,t,this.root),write:a=>{this._getStyleProperty(e,t,this.root)!==a&&(this.stylePriority&&this.stylePriority[t]&&this.stylePriority[t](!1),this["_"+e](a))}}))};this.dsHelperProvider=()=>this.root.dataSourceHelper&&this.root.dataSourceHelper(),this.initBindings(),this.getStyleProperty=(e,t)=>this._getStyleProperty(e,t,this.root);for(let e=0;e<iv.length;e++)if(this[iv[e]]){const t=this._getStylePriorityPropertyName(iv[e]);i(iv[e],t)}this.padding&&this._createPaddingDependencies(),this.toggleUseStyle=e=>{const t=this._getStylePriorityPropertyName(e);this.stylePriority[t](!this.stylePriority[t]())},this.actions.push({action:this.toggleUseStyle,title:(0,L.getLocalization)("Style Priority","DevExpress.XtraReports.UI.XRControl.StylePriority"),visible:e=>this.isStyleProperty(e)}),this.actionProviders.push({getActions:e=>this._getExpressionActions(e)}),this._disposables.push(this.lockedInUserDesigner=A.computed({read:()=>{const e=this.parentModel(),t=!(!e||!e.lockedInUserDesigner)&&e.lockedInUserDesigner();return this._lockedInUserDesigner()||t},write:e=>this._lockedInUserDesigner(e)}))}get _localizationProvider(){return this.__localizationProvider||(this.__localizationProvider=this.createLocalizationProvider()),this.__localizationProvider}dispose(){super.dispose(),this.disposeObservableArray(this.dataBindings),this.resetObservableArray(this.formattingRuleLinks),this.resetObservableArray(this.dataBindings),this.__localizationProvider=null}createLocalizationProvider(){return new hv(this)}getLocalizationProperty(e){return this._localizationProvider.getLocalizationProperty(e)}getLocalizationProperties(){return this._localizationProvider.getLocalizationProperties()}applyLocalization(e,t){this._localizationProvider.applyLocalization(e,t)}_resetProperty(e){super._resetProperty(e),this._resetExpressions(e)}_getControlPropertyName(e){return e="textArea"===(e="paddingObj"===e?"padding":e)?"text":e}_getStylePriorityPropertyName(e){return"use"+(e=this._getControlPropertyName(e)).charAt(0).toUpperCase()+e.substr(1)}_getStyle(e){const t=this.styleName&&this.styleName();return t&&e&&e.findStyle&&e.findStyle(t)}_checkStylePropertyModify(e,t){return null!=A.unwrap(e&&(e["_"+t]||e[t]))&&e.isPropertyModified(t)}_getStyleProperty(e,t,a){if(this.stylePriority&&this.stylePriority[t]&&this.stylePriority[t]()||!this._checkStylePropertyModify(this,e)){const t=this._getStyle(a);if(t&&this._checkStylePropertyModify(t,e))return t[e]()}if(this._checkStylePropertyModify(this,e))return this["_"+e]();const i=this.getPropertyDefaultValue(e);if(i&&!(i instanceof Object))return i;const r=this.parentModel();return r?r.getStyleProperty(e,t):void 0}_zOrderChange(e){const t=this.parentModel(),a=t&&t[this.getControlContainerName()];if(a){const t=a().indexOf(this),i=a();i.splice(t,1),i.splice(e?0:a().length,0,this),a.valueHasMutated()}}_createPaddingDependencies(){this.paddingObj=new Q.PaddingModel,this.paddingObj.isPropertyHighlighted=e=>this.isPropertyHighlighted(e,"padding"),this._disposables.push(this.paddingObj),this.paddingObj.applyFromString(this.padding()),this.addDisposable(this.paddingObj.createComputedProperty("dpi",(()=>this.dpi&&this.dpi()),[(0,Oi.subscribableProperty)(this,["dpi"])]));const e=(new fg.Locker).lock;this._disposables.push(this.padding.subscribe((t=>e((()=>this.paddingObj.applyFromString(t)))))),["left","right","top","bottom"].forEach((t=>{this._disposables.push(this.paddingObj[t].subscribe((t=>{(this.root.isModelReady&&this.root.isModelReady()||!this.root.isModelReady)&&e((()=>this.padding(this.paddingObj.toString())))})))})),this.addDisposable(this.paddingObj.subscribeProperty("dpi",(t=>e((()=>{this._padding()&&this._padding(this.paddingObj.toString())}))))),this.paddingObj.resetValue=()=>{e((()=>{["left","right","top","bottom"].forEach((e=>this.paddingObj[e](null))),this.padding(this.paddingObj.toString()),this.paddingObj.applyFromString(this.padding())}))}}_getExpressionActions(e){return this._expressionActions[e]||(this._expressionActions[e]=this._addExpressionActions(e)),this._expressionActions[e]}_getExpressionEvents(){const e=[{name:"BeforePrint",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnBeforePrint",displayName:"BeforePrint"}];return this.dataBindingMode===nv.ExpressionsAdvanced&&e.push({name:"PrintOnPage",localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnPrintOnPage",displayName:"PrintOnPage"}),e}_addExpressionActions(e){if(this.dataBindingMode===nv.Bindings)return[];const t=this._getExpressionNameByPropertyName(e);if(!t)return[];const a=this._getExpressionEvents(),i=this.expressionObj.getExpressionsTreeItems(t);if(!i||!i.length)return[];const r=(0,L.getLocalization)("{0} Expression","ReportStringId.UD_PropertyGrid_Menu_ItemExpression"),o=e=>{const t=e.innerItems&&!!e.innerItems.length,i=t?null:new pv(A.observable(this),A.observable(e.expressionObj)),s=a.filter((t=>t.name===e.eventName))[0],n=s?(0,L.getLocalization)(s.displayName,s.localizationId):e.eventName,l=e.displayName||e.localizationId?(0,L.getLocalization)(e.displayName,e.localizationId):e.expressionName,d=dv({expressionEditor:i,hasInnerItems:t,title:e.eventName?n:(0,B.formatUnicorn)(r,l),hint:A.computed((()=>e.expressionObj&&e.expressionObj.value()))});return d.items=(e.innerItems||[]).map(o),this._disposables.push(d.hint),d};return i.map(o)}getControlFactory(){return Op()}addChild(e){if("XRTableOfContents"===e.controlType&&!tv(this)){const t=uv(this);if(t)return void(tv(t)&&t.addChild(e));throw new Error("TOC can be added only to ReportHeaderBand or ReportFooterBand!!!")}super.addChild(e)}initDataBindingProperties(){this.getInfo().filter((e=>"bindingName"in e)).forEach((e=>{this[e.propertyName]=this.dataBindings().findBinding(e.bindingName)}))}initExpressionProperties(){if(!this.expressionBindings)return;const e=A.pureComputed((()=>this.getPath("expression")));if(this._disposables.push(e),this.expressionObj=this.getControlFactory()._createExpressionObject(this.controlType,this.expressionBindings,e,(e=>this.Summary&&this.Summary.Running&&this.getControlInfo().defaultBindingName===e&&A.computed((()=>"None"!=this.Summary.Running())))),!this.expressionObj)return;this._disposables.push(this.expressionObj);this.getInfo().filter((e=>"expressionName"in e)).forEach((e=>{const t=this.expressionObj.getExpression(e.expressionName,"BeforePrint");t&&(this[e.propertyName]=t)}))}_resetExpressions(e){const t=this._getExpressionNameByPropertyName(e);t&&this._getExpressionEvents().forEach((e=>{const a=this.expressionObj.getExpression(t,e.name);a&&(a.getInfo?(a.getInfo()||[]).forEach((e=>{const t=a[e.propertyName].value;t&&t("")})):a.value&&a.value(""))}))}_hasAnyExpressions(e,t=(e=>!!A.unwrap(e))){const a=this._getExpressionNameByPropertyName(e);if(!a)return!1;let i=!1;return this._getExpressionEvents().forEach((e=>{const r=this.expressionObj.getExpression(a,e.name);if(!r)return;const o=r.getInfo;let s=!1;if(o){s=(o()||[]).filter((e=>t(r[e.propertyName].value,e.propertyName))).length>0}else s=t(r.value);i=i||s})),i}_getExpressionNameByPropertyName(e,t=this.getInfo()){if(this.dataBindingMode===nv.Bindings)return"";e=this._getControlPropertyName(e);const a=this.getInfo().filter((t=>t.propertyName===e))[0];return a&&a.modelName?a.modelName.substring(a.modelName.lastIndexOf("@")+1):""}initBindings(){this.initDataBindingProperties(),this.initExpressionProperties()}isStyleProperty(e){return this.stylePriority&&Au.some((t=>t.propertyName==this._getStylePriorityPropertyName(e)))}isResettableProperty(e){return super.isResettableProperty(e)&&"dataBindings"!==e}getActionClassName(e){const t={};t["dxrd-editormenu-usestyle"]=this.isStyleProperty(e)&&this.stylePriority[this._getStylePriorityPropertyName(e)](),t["dxrd-editormenu-modified"]=this.isPropertyModified(e);const a=this._hasAnyExpressions(e);return t["dxrd-editormenu-expressions"]=a,t["dxd-icon-accented"]=a,t}getMenuBoxTemplate(e){return this._hasAnyExpressions(e)?"dxrd-svg-tabs-expressions":""}className(){return this.controlType.toLowerCase()}initialize(){this.size||(this.size=new Q.Size(0,0))}getPath(e){if("expression"===e&&this.dsHelperProvider()){const e=sv(this,"dataSource"),t=this.dsHelperProvider().getDataSourcePath(A.unwrap(e.dataSource)),a=A.unwrap(e.dataMember)||"";return t?a?[t,a].join("."):t:""}return""}isPropertyDisabled(e){return this.lockedInUserDesigner()}isPropertyVisible(e){return this.dataBindingMode!==nv.Bindings?"dataBindings"!==e&&"formattingRuleLinks"!==e&&"formattingRuleSheet"!==e&&0!==e.indexOf("popularDataBinding"):0!==e.indexOf("popularExpression")}isPropertyHighlighted(e,t){if(!t)return this._hasAnyExpressions(e);const a=this._getExpressionNameByPropertyName(t),i=e[0].toUpperCase()+e.substr(1);return a&&this._hasAnyExpressions(t,((e,t)=>{const r=!!A.unwrap(e);return t===a+"."+i&&r}))}sendToBack(){this._zOrderChange(!1)}bringToFront(){this._zOrderChange(!0)}get root(){return this._getRoot()}getControlContainerName(){return"controls"}customizeExpressionCategories(e,t){}get dataBindingMode(){return this.root!==this?this.root.dataBindingMode:nv.Expressions}set dpi(e){this._innerDpi=e}get dpi(){return this.root!==this?this.root.dpi:this._innerDpi}rtl(){const e=A.unwrap(this.rightToLeft);return"Yes"===e||!(!this.parentModel()||e&&"Inherit"!==e)&&this.parentModel().rtl()}}bv.unitProperties=["size","location","paddingObj"];const yv=27,Sv={propertyName:"drillDownDetailReportExpanded",modelName:"@DrillDownExpanded",displayName:"Drill-Down Expanded",localizationId:"DevExpress.XtraReports.UI.Band.DrillDownExpanded",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,defaultVal:!0},Cv={propertyName:"printAtBottom",modelName:"@PrintAtBottom",defaultVal:!1,from:L.parseBool,displayName:"Print at Bottom",localizationId:"DevExpress.XtraReports.UI.ReportFooterBand.PrintAtBottom",editor:K.editorTemplates.getEditor("bool")},Dv={propertyName:"printAcrossBands",modelName:"@PrintAcrossBands",defaultVal:!1,from:L.parseBool,displayName:"Print Across Bands",localizationId:"DevExpress.XtraReports.UI.Band.PrintAcrossBands",editor:K.editorTemplates.getEditor("bool")},_v={propertyName:"repeatEveryPage",modelName:"@RepeatEveryPage",displayName:"Repeat Every Page",localizationId:"DevExpress.XtraReports.UI.GroupBand.RepeatEveryPage",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},Iv=[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.PageBreak.None"},{value:"BeforeBand",displayValue:"Before the Band",localizationId:"DevExpress.XtraReports.UI.PageBreak.BeforeBand"},{value:"BeforeBandExceptFirstEntry",displayValue:"Before the Band, Except for the First Entry",localizationId:"DevExpress.XtraReports.UI.PageBreak.BeforeBandExceptFirstEntry"}],Pv=[].concat(Iv,[{value:"AfterBand",displayValue:"After the Band",localizationId:"DevExpress.XtraReports.UI.PageBreak.AfterBand"},{value:"AfterBandExceptLastEntry",displayValue:"After the Band, Except for the Last Entry",localizationId:"DevExpress.XtraReports.UI.PageBreak.AfterBandExceptLastEntry"}]),Tv={propertyName:"pageBreak",modelName:"@PageBreak",displayName:"Page Break",localizationId:"DevExpress.XtraReports.UI.Band.PageBreak",defaultVal:"None",from:L.fromEnum,editor:jp.getEditor("comboboxPageBreak"),valuesArray:Pv},zv={propertyName:"keepTogetherWithDetailReports",modelName:"@KeepTogetherWithDetailReports",defaultVal:!1,from:L.parseBool,displayName:"Keep Together with Detail Reports",localizationId:"DevExpress.XtraReports.UI.DetailBand.KeepTogetherWithDetailReports",editor:K.editorTemplates.getEditor("bool")},Nv={propertyName:"height",modelName:"@HeightF",defaultVal:"100",displayName:"Height",localizationId:"DevExpress.XtraReports.UI.Band.Height",from:L.floatFromModel,localizable:!0},Ev={propertyName:"level",modelName:"@Level",displayName:"Level",localizationId:"DevExpress.XtraReports.UI.GroupBand.Level",defaultVal:0,from:L.floatFromModel,editor:jp.getEditor("bandLevel")},wv={propertyName:"drillDownControl",modelName:"@DrillDownControl",displayName:"Drill-Down Control",localizationId:"DevExpress.XtraReports.UI.Band.DrillDownControl",link:!0,defaultVal:null,editor:jp.getEditor("drillDownControls")},Rv=29;class Bv extends L.Disposable{constructor(e){super(),this._parent=e,this.markerWidth=A.observable(yv),this.name="Vertical Bands",this.bandOffset=29,this.templateName="dxrd-vertical-bands-container",this.selectionTemplate="dxrd-vertical-bands-container-selection",this.vrulerTemplate="dxrd-vertical-bands-container-vruler",this.leftMarginTemplate="dxrd-vertical-bands-leftMargin",this.leftMarginSelectionTemplate="dxrd-vertical-bands-leftMargin-selection",this.verticalBands=A.observableArray(),this.scrollOffset=A.observable(0),this._disposables.push(this.bandPosition=A.computed((()=>this.getBandPosition())),this.topOffset=A.computed((()=>{if(this.bandPosition()>0){const e=this._parent.bandsHolder.bands()[this.bandPosition()-1];if(e)return e.absolutePosition.y()+e.height()}return this._parent&&"DetailReportBand"===this._parent._control.controlType?this._parent.absolutePosition.y():0})),this.collapsed=A.computed({read:()=>this.verticalBands().some((e=>e.collapsed())),write:e=>this.verticalBands().forEach((t=>t.collapsed(e)))}),this.selected=A.computed((()=>this.verticalBands().some((e=>e.selected())))),this.canResize=A.computed((()=>this.selected()&&!this.isLocked()&&!this.collapsed()&&!B.DragDropHandler.started())),this.width=A.computed((()=>e._context.pageWidth()-e._context.margins.left()-(this.collapsed()?0:e._context.margins.right()))),this.leftMargin=A.pureComputed((()=>0-(e._context.margins&&e._context.margins.left()||0)+10)),this.height=A.computed({read:()=>this.verticalBands()[0]&&this.verticalBands()[0].height()||0,write:e=>this.verticalBands().forEach((t=>t._height(e-Rv)))}),this._height=A.computed((()=>this.verticalBands()[0]&&this.verticalBands()[0]._height()||0)),this.focused=A.computed((()=>this.verticalBands().some((e=>e.focused())))),this.leftOffset=A.computed((()=>e.rtlLayout()?e._context.margins.right():0)),this.grayAreaWidth=A.computed((()=>Math.max(0,this.width()-this.getBandsWidth(this.verticalBands())))),this.grayAreaLeft=A.computed((()=>{const e=this.verticalBands();if(!e.length)return 0;const t=e[e.length-1];return t.absolutePosition.x()+t._width()})),this.minHeight=A.pureComputed((()=>Math.max(...this.verticalBands().map((e=>e.heightFromControls&&e.heightFromControls()||1)))+Rv)),this.locked=A.computed((()=>this.isLocked())));let t=0;this._resize=(e,t)=>{const a=this.verticalBands()[0];return a._height(a._height()+e-t),e},this.resize=e=>{t=this._resize(e.delta.dh,t)},this.stopResize=()=>{t=0}}dispose(){super.dispose(),this.disposeObservableArray(this.verticalBands),this.resetObservableArray(this.verticalBands)}getBandPosition(){return this.visible?this._parent.getControlModel().bands().indexOf(this.verticalBands()[0]._control):-1}isLocked(){return this.verticalBands().some((e=>e.locked))}createScrollViewOptions(e,t){return{direction:"horizontal",showScrollbar:"always",useNative:!1,scrollByContent:!1,scrollByThumb:!0,onStart:function(){t.disabled(!0)},onScroll:function(t){e.scrollOffset(t.scrollOffset.left)},onEnd:function(){t.disabled(!1)}}}markerClick(e,t=!0){e.expectClick?e.expectClick=!1:this.focused()||e.disabled()?t&&this.collapsed(!this.collapsed()):e.initialize(this.verticalBands()[0])}getBandsWidth(e){return e.reduce(((e,t,a)=>e+t._width()),0)}_getTopOffset(){let e=0;if(this._parent&&"DetailReportBand"===this._parent._control.controlType&&(e=this._parent.backgroundRect().top),this.bandPosition()>0)for(let t=0;t<this.bandPosition();t++)e+=this._parent.bandsHolder.bands()[t]._totalHeight();return e}get visible(){return this.verticalBands().length>0}get zoom(){return this._parent.zoom}}class Vv extends L.Disposable{constructor(e){super(),this._container=e,this.bands=A.observableArray(),"DevExpress.XtraReports.UI.XtraReport"!==e._control.controlType&&"DetailReportBand"!==e._control.controlType||this._disposables.push(this.verticalBandsContainer=new Bv(e)),this._disposables.push(this.multiColumn=A.computed((()=>{const t=e.multiColumn&&e.multiColumn();if(t&&t.haveColumns())return t;{const e=this.bands().filter((e=>"DetailBand"===e._control.controlType))[0];return e&&e.multiColumn()&&e.multiColumn().haveColumns()?e.multiColumn():null}})))}dispose(){super.dispose(),this.disposeObservableArray(this.bands),this.resetObservableArray(this.bands)}_createBandsMapCollection(e,t){let a=0;return e.peek().forEach((e=>t.addItem(t.createItem(e),a++))),t.callMutated(),e.subscribe((e=>{e.forEach((e=>{"deleted"===e.status&&(t.removeItem(e.value.surface),t.callMutated())})),e.forEach((e=>{"added"===e.status&&(t.addItem(t.createItem(e.value),e.index),t.callMutated())}))}),null,"arrayChange")}_addHorizontalBand(e,t){const a=this.verticalBandsContainer&&this.verticalBandsContainer.bandPosition();if(void 0===t)return this.bands().push(e);a>0&&t>a&&(t-=this.verticalBandsContainer.verticalBands().length),this.bands().splice(t,0,e)}_addVerticalBand(e,t){this.verticalBandsContainer.verticalBands().splice(t>0?t:0,0,e)}initialize(e){let t=!1,a=!1;this._disposables.push(this._createBandsMapCollection(e,{addItem:(e,i)=>{Zx(e._control.controlType)?(this._addVerticalBand(e,i-this.verticalBandsContainer.bandPosition()),t=!0):(a=!0,this._addHorizontalBand(e,i))},callMutated:()=>{a&&this.bands.valueHasMutated(),t&&this.verticalBandsContainer&&this.verticalBandsContainer.verticalBands.valueHasMutated(),a=!1,t=!1},createItem:e=>this._container._createSurface(e),removeItem:e=>{Zx(e._control.controlType)?(this.verticalBandsContainer.verticalBands().splice(this.verticalBandsContainer.verticalBands().indexOf(e),1),t=!0):(this.bands().splice(this.bands().indexOf(e),1),a=!0)}}))}getHeight(){let e=this.verticalBandsContainer&&this.verticalBandsContainer.height()||0;return this.bands().forEach((t=>{e+=t.height()})),e}getTotalHeight(){return(this.verticalBandsContainer&&this.verticalBandsContainer._height()||0)+(this.bands()||[]).reduce(((e,t)=>e+t._totalHeight()),0)}getBandAbsolutePositionY(e){let t,a=0;const i=A.unwrap(this.bands);if(i&&0!==i.length){if(t=i.indexOf(e),-1===t)return a;t>0&&i[t-1]?a=i[t-1].absolutePosition.y()+i[t-1].height():0===t&&this._container.absolutePosition&&(a=this._container.absolutePosition.y()),this.verticalBandsContainer&&t===this.verticalBandsContainer.getBandPosition()&&(a=this.verticalBandsContainer.topOffset()+this.verticalBandsContainer.height())}return a}checkUnderCursor(){let e=!1;return[this.bands(),this.verticalBandsContainer.verticalBands()].forEach((t=>{for(let a=0;a<t.length;a++)if(e=t[a].underCursor().isOver,e)return e})),e}}function Mv(e,t){return Fv(e)-Fv(t)}function kv(e,t,a=0){e&&0!==e.bands().length&&(e.bands().forEach((e=>{e.markerWidth(yv*(t-a)),kv(e.bandsHolder,t,a+1)})),e.verticalBandsContainer&&e.verticalBandsContainer.markerWidth(yv*(t-a)))}function Av(e){let t=0,a=0;return e?(0!==e.bands().length?(e.bands().forEach((e=>{const t=Av(e.bandsHolder);t>a&&(a=t)})),t=a+1):e.verticalBandsContainer&&e.verticalBandsContainer.visible&&(t=a+1),t):t}function Lv(e,t){if("GroupHeaderBand"===t.controlType||"GroupFooterBand"===t.controlType||"DetailReportBand"===t.controlType||"SubBand"===t.controlType){const a=Hv(e(),t.controlType);let i=a.length;for(let e=0;e<a.length;e++)if(!a[e]){i=e;break}t._level(i)}!function(e,t){if(t){const a=e().slice(0),i=e().indexOf(t);-1===i&&a.push(t),a.sort(Mv);const r=a.indexOf(t);-1!==i&&e.splice(i,1),e.splice(r,0,t)}}(e,t)}const $v={TopMarginBand:100,ReportHeaderBand:200,PageHeaderBand:300,GroupHeaderBand:400,DetailBand:500,VerticalHeaderBand:500,VerticalDetailBand:600,VerticalTotalBand:700,DetailReportBand:800,GroupFooterBand:900,ReportFooterBand:1e3,PageFooterBand:1100,BottomMarginBand:1200};function Fv(e){return"GroupHeaderBand"===e.controlType?$v[e.controlType]-(e.level()||0):"GroupFooterBand"===e.controlType?$v[e.controlType]+(e.level()||0):"DetailReportBand"===e.controlType?$v[e.controlType]+(e.level()||-1):$v[e.controlType]}function Ov(e,t){const a={},i=[],r=t=>{let a=t;const r=(t,a)=>{const o=t+a;if(o!==e.length&&-1!==o)return-1!==i.indexOf(t+a)?o:r(o,a)};return-1!==i.indexOf(t)&&(a=r(t,-1),void 0===a&&(a=r(t,1))),a};for(let t=0;t<e.length;t++){const i=e[t]._level;a[i()]?a[i()].push(t):a[i()]=[t],i(t)}for(let o=0;o<t.length;o++){let s=o;const n=t[o]._level;s=a[n()]&&a[n()].length>0?a[n()].splice(0,1)[0]:n()<e.length?r(n()):r(o),n(s),i.push(s)}}function Xv(e){["DetailReportBand","SubBand"].map((t=>e.filter((e=>e.controlType===t)).sort(Mv))).forEach((e=>{for(let t=0;t<e.length;t++)e[t]._level(t)}));const t=e.filter((e=>"GroupHeaderBand"===e.controlType)).sort(Mv).reverse(),a=e.filter((e=>"GroupFooterBand"===e.controlType)).sort(Mv);a.length>t.length?Ov(a,t):Ov(t,a)}function Hv(e,t,a){let i=e.filter((e=>e.controlType===t));a=a||i.length-1,i="GroupHeaderBand"===t?i.reverse():i;const r=(i.length>0&&i[i.length-1].level()>a?i[i.length-1].level():a)+1;let o=0;const s=[];for(let e=0;e<r;e++)o<i.length&&i[o]._level()===e?(s.push(i[o]),o++):s.push(void 0);return s}function Wv(e,t){const a=e.parent&&e.parent._unitAbsoluteRect;if(a){const i=t();return{top:a.top+i.y(),left:a.left+i.x(),right:a.left+i.x()+e._control.size.width(),bottom:a.top+i.y()+e._control.size.height(),width:e._control.size.width()-e._getGrayArea(),height:e._control.size.height()}}return{top:0,left:0,right:e._control.size.width(),bottom:e._control.size.height(),width:e._control.size.width()-e._getGrayArea(),height:e._control.size.height()}}class Uv extends L.Disposable{constructor(e){super(),this.band=e,this._disposables.push(this.isVisible=A.computed((()=>e.printAcrossBands()&&!this.bandModel.parentModel().bands().filter((e=>Zx(e.controlType))).length)),this.absolutePositionY=A.computed((()=>{const t=e.bandsHolder.bands().filter((e=>!e.printAcrossBands()));if(t.length>0)return t[0].absolutePosition.y();let a=this.findNextUntransparentSiblingBand(e);return a||(a=this.findNextUntransparentSiblingBand(e.parent)),a&&a.absolutePosition.y()})),this.height=A.computed((()=>{const e=this.findFirstNonAcrossBand();return e?e.absolutePosition.y()-this.absolutePositionY():0})))}findNextUntransparentSiblingBand(e){const t=e.parent.bandsHolder.bands().indexOf(e);return e.parent.bandsHolder.bands().filter(((e,a)=>(!e.printAcrossBands||e.printAcrossBands&&!e.printAcrossBands())&&a>t))[0]}findFirstNonAcrossBand(){const e="SubBand"===this.bandModel.controlType,t=e?this.band.parent.parent.bandsHolder:this.band.parent.bandsHolder;let a=[];if("GroupHeaderBand"===this.bandModel.controlType||e&&"GroupHeaderBand"===this.bandModel.parentModel().controlType){const i=e?this.bandModel.parentModel().level():this.bandModel.level();a=t.bands().filter((e=>"GroupFooterBand"===e.getControlModel().controlType&&e.getControlModel().level()>i||"PageFooterBand"===e.getControlModel().controlType||"ReportFooterBand"===e.getControlModel().controlType||"BottomMarginBand"===e.getControlModel().controlType))}else("PageHeaderBand"===this.bandModel.controlType||e&&"PageHeaderBand"===this.bandModel.parentModel().controlType)&&(a=t.bands().filter((e=>"BottomMarginBand"===e.getControlModel().controlType)));if(a.length>0)return a[0]}get bandModel(){return this.band.getControlModel()}}class Gv extends bv{constructor(e,t,a){super(e,t,a),this.preInit(e,t,a),this.createChildsArray(e,a),this.initHeight(),this.size.height=this.height,this.level&&(this._disposables.push(this.maxLevel=A.pureComputed((()=>this._getMaxLevel()))),this._level=A.observable(this.level.peek()),this._disposables.push(this.level=A.pureComputed({read:()=>this._level(),write:e=>{e>this.maxLevel()&&(e=this.maxLevel());const t=this.parentModel().bands,a=Hv(t(),this.controlType,e);a.splice(e,0,a.splice(this._level(),1)[0]),this._level(e);for(let t=e+1,i=e+1;t<a.length;t++)a[t]&&a[t]._level(i++);for(let t=e-1,i=e-1;t>=0;t--)a[t]&&a[t]._level(i--);t.sort(((e,t)=>e.controlType===this.controlType&&t.controlType===this.controlType?"GroupHeaderBand"===this.controlType?t.level()-e.level():e.level()-t.level():0))}})));const i=ov(this,xg);i&&(this[vg.propertyName]=i)}dispose(){super.dispose(),this.disposeObservableArray(this.bands),this.disposeObservableArray(this.controls),this.resetObservableArray(this.bands),this.resetObservableArray(this.controls)}createChildsArray(e,t){const a=[];e.SubBands&&Object.keys(e.SubBands).forEach((i=>{a.push(this.getControlFactory().createControl(Object.assign({"@ControlType":"SubBand"},e.SubBands[i]),this,t))})),a&&(Xv(a),a.sort(Mv)),this.bands=A.observableArray(a),this.controls=(0,B.deserializeChildArray)(e.Controls,this,(e=>this.createControl(e,t)))}initHeight(){let e=0;this._disposables.push(this.heightFromControls=A.pureComputed((()=>{if(e=0,(0,B.checkModelReady)(this.root)){for(let t=0;t<this.controls().length;t++)if(!this.controls()[t].update()){const a=(this.controls()[t].anchorVertical&&"Bottom"===this.controls()[t].anchorVertical()&&this.controls()[t].vertAnchoring.state!==Mp.states.fromControls?0:this.controls()[t].location.y())+(this.controls()[t].anchorVertical&&"Both"===this.controls()[t].anchorVertical()&&this.controls()[t].vertAnchoring.state!==Mp.states.fromControls?1:this.controls()[t].size.height());a>e&&(e=a)}e=(0,B.roundingXDecimals)(e),this.height(Math.max(e,this.height())),e=e>0?e:0}return e})))}preInit(e,t,a){}_getMaxLevel(){const e=e=>this.parentModel().bands().filter((t=>t.controlType===e)).length;return"GroupHeaderBand"===this.controlType||"GroupFooterBand"===this.controlType?Math.max(e("GroupHeaderBand"),e("GroupFooterBand"))-1:e(this.controlType)-1}addChild(e){if(e instanceof Gv&&e.isAllowedParent(this))Lv(this.bands,e);else{if("XRTableOfContents"===e.controlType&&tv(this)){if(!!av(this))throw new Error("Only one TOC can be added!!!")}super.addChild(e)}}getPath(e){return"dataMember"===e?this.dsHelperProvider()&&this.dsHelperProvider().getDataSourcePath(this.dataSource()):"groupFields"===e?(0,B.getFullPath)(this.parentModel().getPath("dataMember"),this.parentModel().dataMember()):super.getPath(e)}initSize(){this.size.height=this.height,this._disposables.push(this.size.width=A.computed({read:()=>this.root.size.width()-(this.root.margins?(this.root.margins.left&&this.root.margins.left())+(this.root.margins.right&&this.root.margins.right()):0),write:e=>{}})),this.size.isPropertyDisabled=e=>"width"===e||"height"===e&&A.unwrap(Op().getPropertyInfo("DetailBand","height").disabled),this.size.isPropertyVisible=e=>"height"!==e||!1!==A.unwrap(Op().getPropertyInfo("DetailBand","height").visible)}initialize(){super.initialize(),this.initSize()}removeChild(e){e instanceof Gv?-1!==this.bands().indexOf(e)&&this.bands.splice(this.bands().indexOf(e),1):super.removeChild(e)}static isReorderingBand(e){return["GroupHeaderBand","GroupFooterBand","DetailReportBand","SubBand"].indexOf(e.controlType)>-1}isAllowedParent(e){return!1}_isHeaderBandTypeOrThemSubBands(e){const t=e=>"PageHeaderBand"===e.controlType||"GroupHeaderBand"===e.controlType;return t(e)||"SubBand"===this.controlType&&t(e.parentModel())}isPropertyVisible(e){return e===Dv.propertyName?this._isHeaderBandTypeOrThemSubBands(this):e===Tv.propertyName?"SubBand"===this.controlType||!this._isHeaderBandTypeOrThemSubBands(this)||this[Dv.propertyName]:super.isPropertyVisible(e)}isPropertyDisabled(e){return"dataMember"===e&&this.dataSource?null===this.dataSource():e===_v.propertyName?this[Dv.propertyName]&&this[Dv.propertyName]():e===Dv.propertyName?!!this[_v.propertyName]&&this[_v.propertyName]()||!!this.parentModel().bands().filter((e=>Zx(e.controlType))).length||!!this[Tv.propertyName]&&("AfterBand"===this[Tv.propertyName]()||"AfterBandExceptLastEntry"===this[Tv.propertyName]()):super.isPropertyDisabled(e)}}Gv.unitProperties=["height"];class jv extends Q.SurfaceElementBase{constructor(e,t,a=jv._unitProperties){super(e,t,a),this.isSomeParentCollapsed=A.observable(!1),this._resize=(e,t)=>(this._height(this._height()+e-t),e),this.showMarker=!0,this.templateName="dxrd-band",this.selectionTemplate="dxrd-band-selection",this.vrulerTemplate="dxrd-band-vruler",this.contentSelectionTemplate="dxrd-bandselection-content",this.leftMarginTemplate="dxrd-band-coordinate-grid",this.leftMarginSelectionTemplate="dxrd-band-coordinate-grid-selection",this.allowMultiselect=!1,this.markerWidth=A.observable(yv),this.collapsed=A.observable(!1),this._disposables.push(A.computed((()=>{this._width(t.pageWidth()-t.margins.left())}))),this._disposables.push(this.collapsed=A.pureComputed({read:()=>!e.expanded(),write:t=>{e.expanded(!t)}})),this._disposables.push(this._totalHeight=A.pureComputed((()=>this.getTotalHeight()))),this.name=e.name;this._disposables.push(this.subBandsHeight=A.pureComputed((()=>this.bandsHolder.getHeight()))),this._disposables.push(this.heightWithoutSubBands=A.pureComputed((()=>this.height()-this.subBandsHeight()))),this._disposables.push(this.height=A.pureComputed((()=>this.getHeight()))),this._initMultiColumn(),this.createChildCollection(e),this.createUnderCursor(),this._disposables.push(this.hasOwnRuler=A.pureComputed((()=>this.getHasOwnRuler()))),this._disposables.push(this.rulerHeight=A.pureComputed((()=>this.collapsed()?yv:this.heightWithoutSubBands())));const i=this.getControlModel().root;this.coordinateGridOptions={left:A.pureComputed((()=>this.rtlLayout()?this._context.margins.right():0)),height:this.getControlModel().height,snapGridSize:i.snapGridSize,zoom:t.zoom,measureUnit:t.measureUnit,width:A.pureComputed((()=>i.pageWidth()-(i.margins.right()+i.margins.left()))),flip:t.rtl};let r=0;this.resize=e=>{r=this._resize(e.delta.dh,r)},this.resizeTheBand=e=>{r=this._resize(e.delta.dh,r)},this.stopResize=()=>{r=0},this._disposables.push(this.markerClass=A.pureComputed((()=>{let t="dxrd-band-marker-body";return-1!==e.controlType.toLowerCase().indexOf("header")||"TopMarginBand"===e.controlType?t="dxrd-band-marker-header":-1===e.controlType.toLowerCase().indexOf("footer")&&"BottomMarginBand"!==e.controlType||(t="dxrd-band-marker-footer"),this.focused()?t+"-focused":t}))),this._disposables.push(this.leftMargin=A.pureComputed((()=>0-(t.margins&&t.margins.left()||0)+10))),this._disposables.push(this.canResize=A.computed((()=>this.selected()&&!this.locked&&!this.collapsed()&&!B.DragDropHandler.started()))),this._disposables.push(this.minHeight=A.computed((()=>(this.heightFromControls&&this.heightFromControls()||0)+this.subBandsHeight()||1))),this.getUsefulRect=()=>{let e=this.rect().width;const t=this.getControlModel().root.margins;if(e-=this._getMarginWidth(t,this._context.rtl()),e-=this._getGrayArea(),this.rtlLayout()){const a=this._getMarginWidth(t,this._context.rtl(),!1);return{top:0,left:this.container().rect().width-e-a,right:e+a,bottom:this.height(),width:e,height:this.height()}}return{top:0,left:0,right:e,bottom:this.height(),width:e,height:this.height()}},this._disposables.push(this.backgroundRect=A.pureComputed((()=>this.getBackgroundRect()))),this._isHeaderBandTypeOrThemSubBands()&&(this.printAcrossBands=e.printAcrossBands,this._disposables.push(this.printAcrossBandsPlaceHolder=new Uv(this)))}_getMarginWidth(e,t,a=!0){const i=e&&(a&&this._context.rtl()?e.left&&e.left():e.right&&e.right())||0;return(0,B.unitsToPixel)(i,this._context.measureUnit(),this._context.zoom())}dispose(){super.dispose(),this.disposeObservableArray(this.controls),this.resetObservableArray(this.controls)}_isHeaderBandTypeOrThemSubBands(){const e=this.getControlModel(),t=e=>"PageHeaderBand"===e.controlType||"GroupHeaderBand"===e.controlType;return t(e)||"SubBand"===e.controlType&&t(e.parentModel())}_getUnitPositionInParent(){let e=!1;const t=this._control.parentModel().bands(),a=t.slice(0,t.indexOf(this._control)).reduce(((t,a)=>Zx(a.controlType)&&e?t:(Zx(a.controlType)&&(e=!0),t+a.size.height())),0);return new Q.Point(0,a)}get _unitAbsoluteRect(){return Wv(this,(()=>this._getUnitPositionInParent()))}_getGrayArea(){return this.multiColumn&&this.multiColumn()?this.multiColumn().grayAreaWidth()+(this.multiColumn().columnSpacing()||0):0}createChildCollection(e){this._disposables.push(this.bandsHolder=new Vv(this)),this.bandsHolder.initialize(e.bands)}createUnderCursor(){this.underCursor=A.observable(new B.HoverInfo)}getTotalHeight(){return this._height()+this.bandsHolder.getTotalHeight()}getHeight(){return this.collapsed()?yv:this._height()+this.subBandsHeight()}getHasOwnRuler(){return!0}getBackgroundRect(){let e,t=0,a=this._height();const i=this.parent;if(!i)return{top:t,bottom:e,height:a};const r=A.unwrap(i.bandsHolder.bands),o=A.unwrap(i.backgroundRect);if(o)t+=o.top,e=o.bottom;else{const t=i.pageHeight(),a=i.margins.bottom(),o=r.filter((function(e){return"PageFooterBand"===e._control.controlType}))[0];e=t-a,o&&(e-=o._totalHeight())}const s=r.indexOf(this);i.bandsHolder.verticalBandsContainer.visible&&i.bandsHolder.verticalBandsContainer.bandPosition()<=s&&(t+=i.bandsHolder.verticalBandsContainer._height());for(let e=0;e<s;e++)t+=r[e]._totalHeight();return t>e?a=0:t+a>e&&(a=e-t),{top:t,bottom:e,height:a}}_initMultiColumn(){this._disposables.push(this.multiColumn=A.computed((()=>{const e=this.parent&&this.parent.bandsHolder.multiColumn(),t=this.parent&&!("DevExpress.XtraReports.UI.XtraReport"===this.parent._control.controlType)&&this.parent.parent.bandsHolder.multiColumn();return t&&t.haveColumns()?t:e&&e.haveColumns()&&("GroupHeaderBand"===this.getControlModel().controlType||"GroupFooterBand"===this.getControlModel().controlType||"DetailReportBand"===this.getControlModel().controlType)?e:void 0})))}getAbsolutePositionY(){return this.parent.bandsHolder.getBandAbsolutePositionY(this)}updateAbsolutePosition(){if(!this.parent)return;const e=this.parent;this.absolutePosition.x(0),A.unwrap(e.collapsed)?this.absolutePosition.y(e.absolutePosition.y()):this.absolutePosition.y(this.getAbsolutePositionY())}markerClick(e,t=!0){e.expectClick?e.expectClick=!1:this.focused()||e.disabled()?t&&this.collapsed(!this.collapsed()):e.initialize(this)}canDrop(){return super.canDrop()&&!this.collapsed()}get parent(){return this._getParent()}get zoom(){return this.getRoot().zoom}checkParent(e){return!1}}jv._unitProperties={_height:e=>e.height,heightFromControls:e=>e.heightFromControls};class qv extends Gv{constructor(e,t,a){super(e,t,a),this.preInit(e,t,a);let i=0;this._disposables.push(this.widthFromControls=A.pureComputed((()=>(i=0,(0,B.checkModelReady)(this.root)&&(i=this.controls().length>0?Math.max(...this.controls().filter((e=>!e.update())).map((e=>e.location.x()+e.size.width()))):1,i=(0,B.roundingXDecimals)(i),this.width(Math.max(i,this.width())),i=i>0?i:0),i)))),this._disposables.push(this.height.subscribe((e=>{if(this.update())return;const t=this.parentModel()&&(this.parentModel().bands()||[]).filter((e=>e instanceof qv)),a=Math.max(...t.map((e=>e.heightFromControls())));e<a&&(e=a),t.forEach((t=>{t.update(!0),t.height(e),t.update(!1)}))})))}dispose(){super.dispose(),this.disposeObservableArray(this.controls),this.resetObservableArray(this.controls)}initSize(){this.size.height=this.height,this.size.width=this.width}preInit(e,t,a){}}qv.unitProperties=[].concat(["width"],Gv.unitProperties);class Jv extends Q.SurfaceElementBase{constructor(e,t,a=Jv._unitProperties){super(e,t,a),this.isSomeParentCollapsed=A.observable(!1),this._resize=(e,t)=>{const a=Math.max(this._width()+e-t,this.minimumWidth());return this._width(a),e},this.resizeHandles=A.computed((()=>this.rtlLayout()?"w":"e")),this.templateName="dxrd-vertical-band",this.selectiontemplate="dxrd-vertical-band-selection",this.contentSelectionTemplate="dxrd-vertical-band-selection-content",this._disposables.push(this.collapsed=A.pureComputed({read:()=>!e.expanded(),write:t=>{e.expanded(!t)}})),this.coordinateGridOptions={height:e.height,snapGridSize:e.root.snapGridSize,width:e.width,zoom:t.zoom,measureUnit:t.measureUnit,flip:t.rtl},this.name=e.name,this.height=A.pureComputed((()=>this.collapsed()?yv:this._height()+Rv)),this._disposables.push(this.backgroundRect=A.pureComputed((()=>({top:this.verticalBandsContainer._getTopOffset(),left:this.absolutePosition.x(),height:this._height(),width:this._width()}))));let i=0;this.resize=e=>{i=this.rtlLayout()&&e.delta.dx?this._resize(-1*e.delta.dx,i):e.delta.dh?this.verticalBandsContainer._resize(e.delta.dh,i):this._resize(e.delta.dw,i)},this.stopResize=()=>{i=0},this._disposables.push(this.canResize=A.computed((()=>this.selected()&&!this.locked&&!B.DragDropHandler.started()))),this.getUsefulRect=()=>({top:0,left:0,right:this._width(),bottom:this._height(),width:this._width(),height:this._height()});let r=this.underCursor().x;const o=this,s=e=>{const t=k.extend(!0,{},e);return delete t.x,Object.defineProperty(t,"x",{get:()=>r,set(e){r=e+o.verticalBandsContainer.scrollOffset()},configurable:!0}),t};let n=s(this.underCursor());this.underCursor=e=>{if(!e)return n;r=e.x,n=s(e)},this._disposables.push(this.resizeHandles)}_getRtlAbsolutePositionX(e,t){const a=this.verticalBandsContainer.getBandsWidth(t);return 0!==e?t[e-1].absolutePosition.x()-t[e]._width():a>this.verticalBandsContainer.width()?t.reduce(((e,t,a)=>e+(0===a?0:t._width())),0):this.verticalBandsContainer.width()-t[e]._width()}_getGrayArea(){return 0}_getUnitPositionInParent(){const e=this._control.parentModel().bands(),t=e.slice(0,e.indexOf(this._control)).reduce(((e,t)=>(t instanceof qv?e.x+=t.size.width():e.y+=t.size.height(),e)),{x:0,y:0});return new Q.Point(t.x,t.y)}get _unitAbsoluteRect(){return Wv(this,(()=>this._getUnitPositionInParent()))}getAbsolutePositionX(){let e,t=0;const a=A.unwrap(this.verticalBandsContainer.verticalBands);if(a&&0!==a.length){if(e=a.indexOf(this),-1===e)return 0;this.rtlLayout()?t=this._getRtlAbsolutePositionX(e,a):e>0&&a[e-1]&&(t=a[e-1].absolutePosition.x()+a[e-1]._width())}return t}updateAbsolutePosition(){this.parent&&(this.absolutePosition.x(this.getAbsolutePositionX()),this.absolutePosition.y(this.verticalBandsContainer.topOffset()+Rv))}minimumHeight(){return this.verticalBandsContainer.minHeight&&this.verticalBandsContainer.minHeight()}minimumWidth(){return this.widthFromControls&&this.widthFromControls()}get parent(){return this._getParent()}get verticalBandsContainer(){return this.parent.bandsHolder.verticalBandsContainer}}Jv._unitProperties={_width:e=>e.width,_height:e=>e.height,heightFromControls:e=>e.heightFromControls,widthFromControls:e=>e.widthFromControls};class Kv extends bv{constructor(e,t,a){super(e,t,a),this.text&&(this.textArea=this.text),this.controls=(0,B.deserializeChildArray)(e.Controls,this,(e=>this.createControl(e,a))),(this.anchorVertical||this.anchorHorizontal)&&(this.anchoring(t),this._disposables.push(this.parentModel.subscribe((e=>{this.vertAnchoring&&this.horAnchoring&&e?(this.vertAnchoring.start(e.size.height,this),this.horAnchoring.start(e.size.width,this)):this.anchoring(e)})))),this.interactiveSorting&&(this.interactiveSorting=new Hh(e.InteractiveSorting,this.root,a),this._disposables.push(this.interactiveSorting)),this._disposables.push(this.hasBindings=A.pureComputed((()=>{const e=this.dataBindings&&this.dataBindings();return!!e&&e.filter((e=>!e.isEmpty())).length>0||this.hasExpressionBindings()})));const i=ov(this,xg);if(i&&(this[vg.propertyName]=i),this.Summary&&(this.Summary.isPropertyVisible=e=>"Func"!==e||this.isPropertyVisible("dataBindings")),this.textFormatString){const e=this.dataBindings&&this.dataBindings().filter((e=>"Text"===e.propertyName()))[0];let t=null,a=null;this._textFormatString=A.observable(this.textFormatString.peek()),[t,a]=[this.Summary,e].map((e=>{if(e&&e.formatString)return e._formatString=A.observable(e.formatString.peek()),this._disposables.push(e.formatString=A.computed({read:()=>this._textFormatString()||e._formatString(),write:e=>{this.textFormatString(e)}})),e._formatString})),this._disposables.push(this.textFormatString=A.computed({read:()=>this._textFormatString()||t&&t()||a&&a(),write:e=>{this._textFormatString(e),t&&t(null),a&&a(null)}}))}e.Action?-1!==e.Action["@Name"].indexOf("NavigateToReport")&&(this.action=A.observable(new wu(this.name(),e.Action,this,a,((e,t)=>this.root.createReportViewModel(e,t))))):this.action=A.observable(new Eu(this,this.name(),!0)),this.dataBindingsAreValid=A.observable(!0),this._disposables.push(A.computed((()=>{const e=this.dataBindings&&this.dataBindings();if(e)if(0===e.length)this.dataBindingsAreValid(!0);else{const t=this.root;if(!t||"DevExpress.XtraReports.UI.XtraReport"!==t.controlType)return;const a=t.dsHelperProvider(),i=t.parameters(),r=t.getControlFactory().fieldListProvider();if(!a||!i||!r)return;const o=a.findDataSourceInfo(A.unwrap(sv(this,"dataSource").dataSource));let s=0;const n=e.length;let l=!0;const d=k.Deferred();for(let t=0;t<e.length;t++){const c=e[t],p=c.parameter(),u=c.dataMember(),m=c.dataSource();if(p)l=!m&&(l&&i.some((e=>e.name===p.name))),s++;else if(u){let e=null;if(m?(e=m.dataSourceInfo,a.usedDataSources().indexOf(e)<0&&(l=!1,s++)):e=o,e){const t=u.slice(u.lastIndexOf(".")+1);r.getItems(new L.PathRequest([e.id||e.ref].concat(...u.split(".").slice(0,-1)).join("."))).done((e=>{e.every((e=>e.isList||e.name!==t))&&(l=!1)})).fail((()=>{l=!1})).always((()=>{++s===n&&d.resolve(l)}))}else l=!1,s++}else m?(l=!1,s++):s++;if(!l){s+=n-1-t;break}}s===n&&d.resolve(l),d.done((e=>{this.dataBindingsAreValid(e)}))}})))}dispose(){super.dispose(),this.disposeObservableArray(this.controls),this.resetObservableArray(this.controls)}anchoring(e){e&&(this.vertAnchoring=new kp(e.size.height,this,this.anchorVertical),this.horAnchoring=new Ap(e.size.width,this,this.anchorHorizontal),this._disposables.push(this.vertAnchoring),this._disposables.push(this.horAnchoring))}getNearestParent(e){return-1!==["XRPageBreak","XRPivotGrid","XRSubreport","XRTableOfContents","XRPdfContent"].indexOf(this.controlType)?uv(e):super.getNearestParent(e)}isPropertyDisabled(e){return"textFitMode"===e?this.canGrow()||this.canShrink()||"XRLabel"===this.controlType&&this.autoWidth():"processNullValues"===e?this.Summary&&"None"!==A.unwrap(this.Summary.Running):"allowMarkupText"===e?this.textEditOptions&&A.unwrap(this.textEditOptions.enabled):"textEditOptions"===e||"angle"===e?this.allowMarkupText&&A.unwrap(this.allowMarkupText):super.isPropertyDisabled(e)}isPropertyVisible(e){if(this.multiline&&this.multiline()){if("text"===e)return!1}else if("textArea"===e)return!1;return super.isPropertyVisible(e)}hasExpressionBindings(){return!(!this.expressionBindings||!this.expressionBindings().filter((e=>!!e.expression()))[0])}hasDataBindingByName(e="Text"){const t=this.dataBindings&&this.dataBindings()&&this.dataBindings().filter((e=>!e.isEmpty()));if(t&&t.length>0){const t=this.dataBindings().findBinding(e);return!!t&&!t.isEmpty()}return!!(this.expressionBindings&&this.expressionBindings().filter((t=>t.propertyName()===e)).length>0)}get hasDefaultBindingProperty(){return!!this.getControlInfo().defaultBindingName}getExpressionBinding(e="Text",t="BeforePrint"){if(!this.expressionBindings)return null;const a=this.expressionBindings().filter((a=>a.propertyName()===e&&a.eventName()===t))[0];return a&&a.expression()}setExpressionBinding(e,t="Text",a="BeforePrint"){if(!this.expressionBindings)return;const i=this.expressionBindings().filter((e=>e.propertyName()===t&&e.eventName()===a))[0];i&&i.expression(e)}getControlInfo(){return super.getControlInfo()}getDefaultBinding(){const e=this.getControlInfo().defaultBindingName;return this.dataBindingMode!==nv.Bindings?this.expressionObj.getExpression(e,"BeforePrint"):this.dataBindings().filter((t=>t.propertyName()===e))[0]}}class Qv extends Q.SurfaceElementBase{constructor(e,t,a){super(e,t,a),this.delta=1e-4,this.template="dxrd-control",this.selectiontemplate="dxrd-control-selection",this.contenttemplate="dxrd-control-content",this.displayNameParameters=A.pureComputed((()=>{const e=this.getControlModel(),t={text:null,isExpression:!0,dataSource:null,dataMember:null,dataMemberOffset:null,allowMarkupText:!1,wordWrap:!1,fontSize:0,fontUnit:null};if(e.controls&&0!==e.controls().length)return t.text="",t;if(t.text=e.getExpressionBinding&&e.getExpressionBinding(),t.isExpression=!!t.text,t.allowMarkupText=e.allowMarkupText&&e.allowMarkupText(),t.wordWrap=e.wordWrap&&e.wordWrap(),e.font){const a=new G.FontModel(e.font);t.fontSize=a.size(),t.fontUnit=a.unit(),a.dispose()}if(t.isExpression)return t.dataMember=e.getPath&&e.getPath("expression")||"",t;if(e.dataBindings&&this.hasBindings){const a=(0,B.getFirstItemByPropertyValue)(e.dataBindings(),"propertyName","Text");if(a&&a.dataMember()){const i=a.dataMember(),r=a.dataSource(),o=sv(e,"dataSource"),s=o.dataMember&&o.dataMember()||"",n=o.dataSource&&o.dataSource()||null;return r&&r!==n||0!==i.indexOf(s)||"."!==i.charAt(s.length)?(t.dataMemberOffset="",t.dataMember=a.dataMember()):(t.dataMemberOffset=s,t.dataMember=i.substr(s.length+1)),t.dataSource=r||n,t}}return t.text=this.displayText(),t})),this.displayName=A.pureComputed((()=>{const e=this.displayNameParameters();return e.dataMember?"["+e.dataMember+"]":e.text||""})),this._disposables.push(this.contentSizes=A.pureComputed((()=>this.cssCalculator.contentSizeCss(this.rect().width,this.rect().height,this._context.zoom())))),this._disposables.push(this.contentHeightWithoutZoom=A.pureComputed((()=>this.contentSizes().height/this._context.zoom()))),this._disposables.push(this.contentWidthWithoutZoom=A.pureComputed((()=>this.contentSizes().width/this._context.zoom()))),this._disposables.push(this.borderCss=A.pureComputed((()=>e.borders&&"None"!==e.borders()?this.cssCalculator.borderCss(this._context.zoom()):{border:"solid 1px Silver"}))),this._disposables.push(this.isIntersect=A.pureComputed((()=>this.isThereIntersectionWithUsefulArea()||this.isThereIntersectionWithCrossBandControls()||this.isThereIntersectionWithControls())).extend({deferred:!0})),this._disposables.push(this.adorntemplate=A.computed((()=>this.getAdornTemplate()))),this._disposables.push(this.displayNameParameters),this._disposables.push(this.displayName)}_isThereIntersectionWithUsefulArea(e){const t=this._unitAbsoluteRect;return Math.max(t.left,t.right)-e>this.delta}static _appendValue(e,t,a=!0){return a&&(e+=e?" "+t:t),e}get _unitAbsoluteRect(){const e=this.parent&&this.parent._unitAbsoluteRect;return e?{top:e.top+this._unitRect.top,left:e.left+this._unitRect.left,right:e.left+this._unitRect.left+this._unitRect.width,bottom:e.top+this._unitRect.top+this._unitRect.height,width:this._unitRect.width,height:this._unitRect.height}:this._unitRect}get _unitRect(){const e=this._control.location||new Q.Point(0,0),t=this._control.size||new Q.Size(0,0);return{top:e.y(),left:e.x(),right:e.x()+t.width(),bottom:e.y()+t.height(),width:t.width(),height:t.height()}}checkParent(e){return(this.parent instanceof jv||this.parent&&"DevExpress.XtraReports.UI.XtraReport"===this.parent._control.controlType?null:this.parent)===(e instanceof jv||this.parent&&"DevExpress.XtraReports.UI.XtraReport"===this.parent._control.controlType?null:e)}isThereIntersection(e,t){const a=e.right||e.left+e.width,i=t.right||t.left+t.width,r=e.bottom||e.top+e.height,o=t.bottom||t.top+t.height;return a>t.left&&Math.abs(a-t.left)>=1e-4&&i>e.left&&Math.abs(i-e.left)>=1e-4&&r>t.top&&Math.abs(r-t.top)>=1e-4&&o>e.top&&Math.abs(o-e.top)>=1e-4}isThereIntersectionWithParent(e,t){const a=t.right||t.left+t.width,i=t.bottom||t.top+t.height;return a>e.width&&Math.abs(a-e.width)>this.delta||i>e.height&&Math.abs(i-e.height)>this.delta}isThereIntersectionWithUsefulArea(){const e=this.container();if(e instanceof jv&&e._unitAbsoluteRect){const e=this.container()._unitAbsoluteRect;return this._isThereIntersectionWithUsefulArea(e.width)}if(e instanceof Jv)return!1;{const e=this.getRoot()._unitAbsoluteRect.width;return this._isThereIntersectionWithUsefulArea(e)}}isThereIntersectionWithCrossBandControls(e=this._unitAbsoluteRect){if(!e)return!1;let t=!1;const a=this.getRoot().crossBandControls();if(this.isThereIntersectionWithNeighborsCollection(e,a.filter((e=>e.visible()&&"XRCrossBandLine"===e.getControlModel().controlType)),"_unitAbsoluteRect"))return!0;const i=a.filter((e=>e.visible()&&"XRCrossBandBox"===e.getControlModel().controlType));for(let a=0;a<i.length;a++){const r=i[a]._getCrossBandBoxSides();for(let o=0;o<r.length;o++)if(this!==i[a]&&this.isThereIntersection(e,r[o])){t=!0;break}if(t)break}return t}isThereIntersectionWithControls(){const e=this.parent&&this.parent.getChildrenCollection()&&this.parent.getChildrenCollection()().filter((e=>!e.isIntersectionDeny))||[];return this.isThereIntersectionWithParentCollection(this._unitRect)||this.isThereIntersectionWithChildCollection()||this.isThereIntersectionWithNeighborsCollection(this._unitRect,e)}isThereIntersectionWithParentCollection(e,t="_unitRect"){return this.parent&&this.parent instanceof Qv&&this.parent[t]&&this.isThereIntersectionWithParent(this.parent[t],e)}isThereIntersectionWithChildCollection(e="_unitRect"){return this.controls&&this.controls().length>0&&this.isThereIntersectionWithChildControls(this.controls(),e)}isThereIntersectionWithNeighborsCollection(e,t,a="_unitRect"){for(let i=0;i<t.length;i++)if(this!==t[i]&&this.isThereIntersection(e,t[i][a]))return!0;return!1}isThereIntersectionWithChildControls(e,t="_unitRect"){const a=this[t];for(let i=0;i<e.length;i++)if(this!==e[i]&&this.isThereIntersectionWithParent(a,e[i][t]))return!0;return!1}getAdornTemplate(){let e=Yv._appendValue("","dxrd-intersect",this.isIntersect());return e=Yv._appendValue(e,"dxrd-control-rtl",this._control.rtl()),e=Yv._appendValue(e,"dxrd-uiselected",this.selected()),this.hasBindings&&(e=this._context.validationMode&&this._context.validationMode()?this.bindingsIsValid?this.bindingsHasWarning?Yv._appendValue(e,"dxrd-image-surface-bounded-warning",!0):Yv._appendValue(e,"dxrd-image-surface-bounded",!0):Yv._appendValue(e,"dxrd-image-surface-bounded-notvalid",!0):Yv._appendValue(e,"dxrd-image-surface-bounded",!0)),this._control.visible&&(e=Yv._appendValue(e,"dxrd-surface-hidden",!this._control.visible())),e}hasDataBindingByName(e){return!(!this._control.hasDataBindingByName||!this._control.hasDataBindingByName(e))}get hasBindings(){return!(!this._control.hasBindings||!this._control.hasBindings())}get bindingsIsValid(){return"Bindings"!==this._control.dataBindingMode?!this._control.expressionBindings||this._control.expressionObj.validateExpression():this._control.dataBindingsAreValid()}get bindingsHasWarning(){if("Bindings"!==this._control.dataBindingMode)return!!this._control.expressionBindings&&this._control.expressionObj.hasWarning()}displayText(){if("XRPanel"==this._control.controlType)return(0,L.getLocalization)("Place controls here to keep them together","ReportStringId.PanelDesignMsg");let e=this._control.text&&this._control.text()?this._control.text():"";return this._control.multiline&&!this._control.multiline()&&(e=e.replace(/\r/g,"").replace(/\n/g,"")),e}}class Yv extends Qv{constructor(e,t){super(e,t,Yv._unitProperties),this.multiline=e.multiline||!1,this.getUsefulRect=()=>{const t=A.unwrap(e.borderWidth),a=e.borders(),i={top:0,left:0,width:this.rect().width,height:this.rect().height};return t&&("All"===a?(i.height-=2*t,i.width-=2*t):(a.indexOf("Top")>=0&&(i.height-=t),a.indexOf("Right")>=0&&(i.width-=t),a.indexOf("Bottom")>=0&&(i.height-=t),a.indexOf("Left")>=0&&(i.width-=t))),i}}dispose(){super.dispose(),this.disposeObservableArray(this.controls),this.resetObservableArray(this.controls)}}Yv._unitProperties={_height:e=>e.size.height,_width:e=>e.size.width,_x:e=>e.location.x,_y:e=>e.location.y};class Zv extends Yv{constructor(e,t){super(e,t),this._lastRequest=A.observable(null),this._innerUpdate=A.observable(!1),this.imageSrc=A.observable(""),this.isLoading=A.observable(!1),this.template="dxrd-shape",this.contenttemplate="dxrd-server-rendered-control-content",this._sendCallback(),this._disposables.push(e._newDocumentData.subscribe((t=>{e.serializableRtfString(t&&t.content)}))),this._disposables.push(e.textRtf.subscribe((e=>{this._sendCallback("textRtf")}))),this._disposables.push(e._rtf.subscribe((()=>{this._sendCallback("rtf")}))),this._disposables.push(e.font.subscribe((()=>{this._sendCallback("font")}))),this._disposables.push(e.foreColor.subscribe((()=>{this._sendCallback("foreColor")}))),this._disposables.push(this.position.width.subscribe((e=>{this._sendCallback("width")}))),this._disposables.push(this.position.height.subscribe((e=>{this._sendCallback("height")}))),this._disposables.push(e.serializableRtfString.subscribe((e=>{this._sendCallback(e?"base64rtf":void 0)})))}_sendCallback(e=null){if(!this._innerUpdate()){this._lastRequest(e);const t=this,a=this._control;this.isLoading(!0),Yx.getRichImage(this,e).done((function(i){t.isLoading(!1),e===t._lastRequest()&&(a.root&&a.root._update&&a.root._update(!0),"height"!==e&&"width"!==e&&(t._innerUpdate(!0),"textRtf"!==e&&a.textRtf(i.Text),a._rtf(i.Rtf),a.serializableRtfString(i.SerializableRtfString),t._innerUpdate(!1)),t.imageSrc("data:image/x;base64,"+i.Img),a.root&&a.root._update&&a.root._update(!1))})).fail((function(e){t.isLoading(!1),(0,B.NotifyAboutWarning)("It is impossible to get richText")}))}}}const ef=(0,B.createGlobalModuleVariableFunc)((()=>Zv)),tf=(0,B.createGlobalModuleVariableFunc)((e=>{})),af=[{value:"Line",displayValue:"Line",localizationId:"DevExpress.Sparkline.SparklineViewType.Line"},{value:"Bar",displayValue:"Bar",localizationId:"DevExpress.Sparkline.SparklineViewType.Bar"},{value:"WinLoss",displayValue:"WinLoss",localizationId:"DevExpress.Sparkline.SparklineViewType.WinLoss"},{value:"Area",displayValue:"Area",localizationId:"DevExpress.Sparkline.SparklineViewType.Area"}],rf=DevExpress.Reporting.Export,of={propertyName:"paperKind",modelName:"@PaperKind",localizable:!0,defaultVal:"Letter",displayName:"Paper Kind",localizationId:"DevExpress.XtraReports.UI.XtraReport.PaperKind",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"A2",displayValue:"A2",localizationId:"System.Drawing.Printing.PaperKind.A2"},{value:"A3",displayValue:"A3",localizationId:"System.Drawing.Printing.PaperKind.A3"},{value:"A3Extra",displayValue:"A3Extra",localizationId:"System.Drawing.Printing.PaperKind.A3Extra"},{value:"A3ExtraTransverse",displayValue:"A3ExtraTransverse",localizationId:"System.Drawing.Printing.PaperKind.A3ExtraTransverse"},{value:"A3Rotated",displayValue:"A3Rotated",localizationId:"System.Drawing.Printing.PaperKind.A3Rotated"},{value:"A3Transverse",displayValue:"A3Transverse",localizationId:"System.Drawing.Printing.PaperKind.A3Transverse"},{value:"A4",displayValue:"A4",localizationId:"System.Drawing.Printing.PaperKind.A4"},{value:"A4Extra",displayValue:"A4Extra",localizationId:"System.Drawing.Printing.PaperKind.A4Extra"},{value:"A4Plus",displayValue:"A4Plus",localizationId:"System.Drawing.Printing.PaperKind.A4Plus"},{value:"A4Rotated",displayValue:"A4Rotated",localizationId:"System.Drawing.Printing.PaperKind.A4Rotated"},{value:"A4Small",displayValue:"A4Small",localizationId:"System.Drawing.Printing.PaperKind.A4Small"},{value:"A4Transverse",displayValue:"A4Transverse",localizationId:"System.Drawing.Printing.PaperKind.A4Transverse"},{value:"A5",displayValue:"A5",localizationId:"System.Drawing.Printing.PaperKind.A5"},{value:"A5Extra",displayValue:"A5Extra",localizationId:"System.Drawing.Printing.PaperKind.A5Extra"},{value:"A5Rotated",displayValue:"A5Rotated",localizationId:"System.Drawing.Printing.PaperKind.A5Rotated"},{value:"A5Transverse",displayValue:"A5Transverse",localizationId:"System.Drawing.Printing.PaperKind.A5Transverse"},{value:"A6",displayValue:"A6",localizationId:"System.Drawing.Printing.PaperKind.A6"},{value:"A6Rotated",displayValue:"A6Rotated",localizationId:"System.Drawing.Printing.PaperKind.A6Rotated"},{value:"APlus",displayValue:"APlus",localizationId:"System.Drawing.Printing.PaperKind.APlus"},{value:"B4",displayValue:"B4",localizationId:"System.Drawing.Printing.PaperKind.B4"},{value:"B4Envelope",displayValue:"B4Envelope",localizationId:"System.Drawing.Printing.PaperKind.B4Envelope"},{value:"B4JisRotated",displayValue:"B4JisRotated",localizationId:"System.Drawing.Printing.PaperKind.B4JisRotated"},{value:"B5",displayValue:"B5",localizationId:"System.Drawing.Printing.PaperKind.B5"},{value:"B5Envelope",displayValue:"B5Envelope",localizationId:"System.Drawing.Printing.PaperKind.B5Envelope"},{value:"B5Extra",displayValue:"B5Extra",localizationId:"System.Drawing.Printing.PaperKind.B5Extra"},{value:"B5JisRotated",displayValue:"B5JisRotated",localizationId:"System.Drawing.Printing.PaperKind.B5JisRotated"},{value:"B5Transverse",displayValue:"B5Transverse",localizationId:"System.Drawing.Printing.PaperKind.B5Transverse"},{value:"B6Envelope",displayValue:"B6Envelope",localizationId:"System.Drawing.Printing.PaperKind.B6Envelope"},{value:"B6Jis",displayValue:"B6Jis",localizationId:"System.Drawing.Printing.PaperKind.B6Jis"},{value:"B6JisRotated",displayValue:"B6JisRotated",localizationId:"System.Drawing.Printing.PaperKind.B6JisRotated"},{value:"BPlus",displayValue:"BPlus",localizationId:"System.Drawing.Printing.PaperKind.BPlus"},{value:"C3Envelope",displayValue:"C3Envelope",localizationId:"System.Drawing.Printing.PaperKind.C3Envelope"},{value:"C4Envelope",displayValue:"C4Envelope",localizationId:"System.Drawing.Printing.PaperKind.C4Envelope"},{value:"C5Envelope",displayValue:"C5Envelope",localizationId:"System.Drawing.Printing.PaperKind.C5Envelope"},{value:"C65Envelope",displayValue:"C65Envelope",localizationId:"System.Drawing.Printing.PaperKind.C65Envelope"},{value:"C6Envelope",displayValue:"C6Envelope",localizationId:"System.Drawing.Printing.PaperKind.C6Envelope"},{value:"CSheet",displayValue:"CSheet",localizationId:"System.Drawing.Printing.PaperKind.CSheet"},{value:"Custom",displayValue:"Custom",localizationId:"System.Drawing.Printing.PaperKind.Custom"},{value:"DLEnvelope",displayValue:"DLEnvelope",localizationId:"System.Drawing.Printing.PaperKind.DLEnvelope"},{value:"DSheet",displayValue:"DSheet",localizationId:"System.Drawing.Printing.PaperKind.DSheet"},{value:"ESheet",displayValue:"ESheet",localizationId:"System.Drawing.Printing.PaperKind.ESheet"},{value:"Executive",displayValue:"Executive",localizationId:"System.Drawing.Printing.PaperKind.Executive"},{value:"Folio",displayValue:"Folio",localizationId:"System.Drawing.Printing.PaperKind.Folio"},{value:"GermanLegalFanfold",displayValue:"GermanLegalFanfold",localizationId:"System.Drawing.Printing.PaperKind.GermanLegalFanfold"},{value:"GermanStandardFanfold",displayValue:"GermanStandardFanfold",localizationId:"System.Drawing.Printing.PaperKind.GermanStandardFanfold"},{value:"InviteEnvelope",displayValue:"InviteEnvelope",localizationId:"System.Drawing.Printing.PaperKind.InviteEnvelope"},{value:"IsoB4",displayValue:"IsoB4",localizationId:"System.Drawing.Printing.PaperKind.IsoB4"},{value:"ItalyEnvelope",displayValue:"ItalyEnvelope",localizationId:"System.Drawing.Printing.PaperKind.ItalyEnvelope"},{value:"JapaneseDoublePostcard",displayValue:"JapaneseDoublePostcard",localizationId:"System.Drawing.Printing.PaperKind.JapaneseDoublePostcard"},{value:"JapaneseDoublePostcardRotated",displayValue:"JapaneseDoublePostcardRotated",localizationId:"System.Drawing.Printing.PaperKind.JapaneseDoublePostcardRotated"},{value:"JapanesePostcard",displayValue:"JapanesePostcard",localizationId:"System.Drawing.Printing.PaperKind.JapanesePostcard"},{value:"Ledger",displayValue:"Ledger",localizationId:"System.Drawing.Printing.PaperKind.Ledger"},{value:"Legal",displayValue:"Legal",localizationId:"System.Drawing.Printing.PaperKind.Legal"},{value:"LegalExtra",displayValue:"LegalExtra",localizationId:"System.Drawing.Printing.PaperKind.LegalExtra"},{value:"Letter",displayValue:"Letter",localizationId:"System.Drawing.Printing.PaperKind.Letter"},{value:"LetterExtra",displayValue:"LetterExtra",localizationId:"System.Drawing.Printing.PaperKind.LetterExtra"},{value:"LetterExtraTransverse",displayValue:"LetterExtraTransverse",localizationId:"System.Drawing.Printing.PaperKind.LetterExtraTransverse"},{value:"LetterPlus",displayValue:"LetterPlus",localizationId:"System.Drawing.Printing.PaperKind.LetterPlus"},{value:"LetterRotated",displayValue:"LetterRotated",localizationId:"System.Drawing.Printing.PaperKind.LetterRotated"},{value:"LetterSmall",displayValue:"LetterSmall",localizationId:"System.Drawing.Printing.PaperKind.LetterSmall"},{value:"LetterTransverse",displayValue:"LetterTransverse",localizationId:"System.Drawing.Printing.PaperKind.LetterTransverse"},{value:"MonarchEnvelope",displayValue:"MonarchEnvelope",localizationId:"System.Drawing.Printing.PaperKind.MonarchEnvelope"},{value:"Note",displayValue:"Note",localizationId:"System.Drawing.Printing.PaperKind.Note"},{value:"Number10Envelope",displayValue:"Number10Envelope",localizationId:"System.Drawing.Printing.PaperKind.Number10Envelope"},{value:"Number11Envelope",displayValue:"Number11Envelope",localizationId:"System.Drawing.Printing.PaperKind.Number11Envelope"},{value:"Number12Envelope",displayValue:"Number12Envelope",localizationId:"System.Drawing.Printing.PaperKind.Number12Envelope"},{value:"Number14Envelope",displayValue:"Number14Envelope",localizationId:"System.Drawing.Printing.PaperKind.Number14Envelope"},{value:"Number9Envelope",displayValue:"Number9Envelope",localizationId:"System.Drawing.Printing.PaperKind.Number9Envelope"},{value:"PersonalEnvelope",displayValue:"PersonalEnvelope",localizationId:"System.Drawing.Printing.PaperKind.PersonalEnvelope"},{value:"Prc16K",displayValue:"Prc16K",localizationId:"System.Drawing.Printing.PaperKind.Prc16K"},{value:"Prc16KRotated",displayValue:"Prc16KRotated",localizationId:"System.Drawing.Printing.PaperKind.Prc16KRotated"},{value:"Prc32K",displayValue:"Prc32K",localizationId:"System.Drawing.Printing.PaperKind.Prc32K"},{value:"Prc32KBig",displayValue:"Prc32KBig",localizationId:"System.Drawing.Printing.PaperKind.Prc32KBig"},{value:"Prc32KBigRotated",displayValue:"Prc32KBigRotated",localizationId:"System.Drawing.Printing.PaperKind.Prc32KBigRotated"},{value:"Prc32KRotated",displayValue:"Prc32KRotated",localizationId:"System.Drawing.Printing.PaperKind.Prc32KRotated"},{value:"PrcEnvelopeNumber1",displayValue:"PrcEnvelopeNumber1",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber1"},{value:"PrcEnvelopeNumber10",displayValue:"PrcEnvelopeNumber10",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber10"},{value:"PrcEnvelopeNumber10Rotated",displayValue:"PrcEnvelopeNumber10Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber10Rotated"},{value:"PrcEnvelopeNumber1Rotated",displayValue:"PrcEnvelopeNumber1Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber1Rotated"},{value:"PrcEnvelopeNumber2",displayValue:"PrcEnvelopeNumber2",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber2"},{value:"PrcEnvelopeNumber2Rotated",displayValue:"PrcEnvelopeNumber2Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber2Rotated"},{value:"PrcEnvelopeNumber3",displayValue:"PrcEnvelopeNumber3",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber3"},{value:"PrcEnvelopeNumber3Rotated",displayValue:"PrcEnvelopeNumber3Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber3Rotated"},{value:"PrcEnvelopeNumber4",displayValue:"PrcEnvelopeNumber4",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber4"},{value:"PrcEnvelopeNumber4Rotated",displayValue:"PrcEnvelopeNumber4Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber4Rotated"},{value:"PrcEnvelopeNumber5",displayValue:"PrcEnvelopeNumber5",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber5"},{value:"PrcEnvelopeNumber5Rotated",displayValue:"PrcEnvelopeNumber5Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber5Rotated"},{value:"PrcEnvelopeNumber6",displayValue:"PrcEnvelopeNumber6",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber6"},{value:"PrcEnvelopeNumber6Rotated",displayValue:"PrcEnvelopeNumber6Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber6Rotated"},{value:"PrcEnvelopeNumber7",displayValue:"PrcEnvelopeNumber7",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber7"},{value:"PrcEnvelopeNumber7Rotated",displayValue:"PrcEnvelopeNumber7Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber7Rotated"},{value:"PrcEnvelopeNumber8",displayValue:"PrcEnvelopeNumber8",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber8"},{value:"PrcEnvelopeNumber8Rotated",displayValue:"PrcEnvelopeNumber8Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber8Rotated"},{value:"PrcEnvelopeNumber9",displayValue:"PrcEnvelopeNumber9",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber9"},{value:"PrcEnvelopeNumber9Rotated",displayValue:"PrcEnvelopeNumber9Rotated",localizationId:"System.Drawing.Printing.PaperKind.PrcEnvelopeNumber9Rotated"},{value:"Quarto",displayValue:"Quarto",localizationId:"System.Drawing.Printing.PaperKind.Quarto"},{value:"Standard10x11",displayValue:"Standard10x11",localizationId:"System.Drawing.Printing.PaperKind.Standard10x11"},{value:"Standard10x14",displayValue:"Standard10x14",localizationId:"System.Drawing.Printing.PaperKind.Standard10x14"},{value:"Standard11x17",displayValue:"Standard11x17",localizationId:"System.Drawing.Printing.PaperKind.Standard11x17"},{value:"Standard12x11",displayValue:"Standard12x11",localizationId:"System.Drawing.Printing.PaperKind.Standard12x11"},{value:"Standard15x11",displayValue:"Standard15x11",localizationId:"System.Drawing.Printing.PaperKind.Standard15x11"},{value:"Standard9x11",displayValue:"Standard9x11",localizationId:"System.Drawing.Printing.PaperKind.Standard9x11"},{value:"Statement",displayValue:"Statement",localizationId:"System.Drawing.Printing.PaperKind.Statement"},{value:"Tabloid",displayValue:"Tabloid",localizationId:"System.Drawing.Printing.PaperKind.Tabloid"},{value:"TabloidExtra",displayValue:"TabloidExtra",localizationId:"System.Drawing.Printing.PaperKind.TabloidExtra"},{value:"USStandardFanfold",displayValue:"USStandardFanfold",localizationId:"System.Drawing.Printing.PaperKind.USStandardFanfold"}]},sf={propertyName:"landscape",modelName:"@Landscape",displayName:"Landscape",localizationId:"DevExpress.XtraReports.UI.XtraReport.Landscape",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},nf={propertyName:"margins",modelName:"@Margins",localizable:!0,from:Q.Margins.fromString,displayName:"Margins",localizationId:"DevExpress.XtraReports.UI.XtraReport.Margins",editor:K.editorTemplates.getEditor("objecteditor")},lf={propertyName:"pageColor",modelName:"@PageColor",defaultVal:"White",from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Page Color",localizationId:"DevExpress.XtraReports.UI.XtraReport.PageColor",editor:K.editorTemplates.getEditor("customColorEditor")},df={propertyName:"measureUnit",modelName:"@ReportUnit",defaultVal:"HundredthsOfAnInch",editor:K.editorTemplates.getEditor("combobox"),displayName:"Measure Units",localizationId:"DevExpress.XtraReports.UI.XtraReport.ReportUnit",from:L.fromEnum,valuesArray:[{value:"HundredthsOfAnInch",displayValue:"Hundredths of an Inch",localizationId:"DevExpress.XtraReports.UI.ReportUnit.HundredthsOfAnInch"},{value:"TenthsOfAMillimeter",displayValue:"Tenths of a Millimeter",localizationId:"DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter"},{value:"Pixels",displayValue:"Pixels",localizationId:"DevExpress.XtraReports.UI.ReportUnit.Pixels"}]},cf={propertyName:"snapGridSize",modelName:"@SnapGridSize",defaultVal:12.5,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),editorOptions:{min:.1},displayName:"Snap Grid Size",localizationId:"DevExpress.XtraReports.UI.XtraReport.SnapGridSize"},pf={propertyName:"drawWatermark",modelName:"@DrawWatermark",displayName:"Draw the Watermark",localizationId:"DevExpress.XtraReports.UI.XtraReport.DrawWatermark",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},uf={propertyName:"showPreviewMarginLines",modelName:"@ShowPreviewMarginLines",displayName:"Show Margin Lines in Preview",localizationId:"DevExpress.XtraReports.UI.XtraReport.ShowPreviewMarginLines",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},mf={propertyName:"verticalContentSplitting",modelName:"@VerticalContentSplitting",displayName:"Vertical Content Splitting",localizationId:"DevExpress.XtraReports.UI.XtraReport.VerticalContentSplitting",defaultVal:"Exact",from:L.fromEnum,editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Exact",displayValue:"Exact",localizationId:"DevExpress.XtraPrinting.VerticalContentSplitting.Exact"},{value:"Smart",displayValue:"Smart",localizationId:"DevExpress.XtraPrinting.VerticalContentSplitting.Smart"}]},hf={propertyName:"exportOptions",modelName:"ExportOptions",displayName:"Export Options",localizationId:"DevExpress.XtraReports.UI.XtraReport.ExportOptions",from:rf.ExportOptions.from,toJsonObject:rf.ExportOptions.toJson,editor:K.editorTemplates.getEditor("objecteditor")},gf={propertyName:"watermarks",modelName:"Watermarks",displayName:"Watermarks",localizationId:"DevExpress.XtraReports.UI.XtraReport.Watermarks",array:!0,info:Kx,template:"#dxrd-collectionItemWithAccordion",editor:jp.getEditor("watermarks")},xf={propertyName:"watermarkId",modelName:"@WatermarkId",displayName:"WatermarkId",localizationId:"DevExpress.XtraReports.UI.XtraReport.WatermarkId",editor:K.editorTemplates.getEditor("text")},vf={propertyName:"rollPaper",modelName:"@RollPaper",displayName:"Roll Paper",localizationId:"DevExpress.XtraReports.UI.XtraReport.RollPaper",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},ff={propertyName:"requestParameters",modelName:"@RequestParameters",displayName:"Request Parameters",localizationId:"DevExpress.XtraReports.UI.XtraReport.RequestParameters",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},bf={propertyName:"formattingRuleSheet",modelName:"FormattingRuleSheet",displayName:"Formatting Rule Sheet",localizationId:"DevExpress.XtraReports.UI.XtraReport.FormattingRuleSheet",array:!0},yf={propertyName:"pageWidth",modelName:"@PageWidth",displayName:"Page Width",localizationId:"DevExpress.XtraReports.UI.XtraReport.PageWidth",defaultVal:-1,from:L.floatFromModel,toJsonObject:L.saveAsInt,editor:K.editorTemplates.getEditor("numeric")},Sf={propertyName:"pageHeight",modelName:"@PageHeight",displayName:"Page Height",localizationId:"DevExpress.XtraReports.UI.XtraReport.PageHeight",defaultVal:-1,from:L.floatFromModel,toJsonObject:L.saveAsInt,editor:K.editorTemplates.getEditor("numeric")},Cf={propertyName:"_localizationItems",modelName:"LocalizationItems",array:!0},Df={propertyName:"language",displayName:"Language",defaultVal:Bu.defaultCulture,localizationId:"DevExpress.XtraReports.UI.XtraReport.XRLanguage",localizable:!0,editor:jp.getEditor("localizationSelectBox"),values:(0,Bu.availableCultures)()},_f=Bu.availableCultures.subscribe((e=>{Df.values=e,_f()})),If={propertyName:"scriptLanguage",modelName:"@ScriptLanguage",displayName:"Script Language",localizationId:"DevExpress.XtraReports.UI.XtraReport.ScriptLanguage",defaultVal:"CSharp",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"CSharp",displayValue:"C#",localizationId:"DevExpress.XtraReports.ScriptLanguage.CSharp"},{value:"VisualBasic",displayValue:"Visual Basic",localizationId:"DevExpress.XtraReports.ScriptLanguage.VisualBasic"},{value:"JScript",displayValue:"JScript",localizationId:"DevExpress.XtraReports.ScriptLanguage.JScript"}]},Pf={propertyName:"scriptReferencesString",modelName:"@ScriptReferencesString",defaultVal:"",displayName:"Script References",localizationId:"DevExpress.XtraReports.UI.XtraReport.ScriptReferences",editor:K.editorTemplates.getEditor("stringArray")},Tf={propertyName:"calculatedFields",modelName:"CalculatedFields",displayName:"Calculated Fields",localizationId:"DevExpress.XtraReports.UI.XtraReport.CalculatedFields",array:!0,template:"#dxrd-collectionItemWithAccordion",editor:jp.getEditor("calculatedFields")},zf={propertyName:"parameters",modelName:"Parameters",displayName:"Parameters",localizationId:"DevExpress.XtraReports.UI.XtraReport.Parameters",array:!0,template:"#dxrd-collectionItemWithAccordion",editor:jp.getEditor("parameters")},Nf={propertyName:"bookmarkDuplicateSuppress",modelName:"@BookmarkDuplicateSuppress",displayName:"Bookmark Duplicate Suppress",localizationId:"DevExpress.XtraReports.UI.XtraReport.BookmarkDuplicateSuppress",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Ef={propertyName:"horizontalContentSplitting",modelName:"@HorizontalContentSplitting",displayName:"Horizontal Content Splitting",localizationId:"DevExpress.XtraReports.UI.XtraReport.HorizontalContentSplitting",defaultVal:"Exact",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Exact",displayValue:"Exact",localizationId:"DevExpress.XtraPrinting.HorizontalContentSplitting.Exact"},{value:"Smart",displayValue:"Smart",localizationId:"DevExpress.XtraPrinting.HorizontalContentSplitting.Smart"}]},wf={propertyName:"rtlLayout",modelName:"@RightToLeftLayout",displayName:"Right To Left Layout",localizationId:"DevExpress.XtraReports.UI.XtraReport.RightToLeftLayout",defaultVal:"No",editor:jp.getEditor("reportRtlProperty"),valuesArray:Um},Rf=(0,B.extend)({},jm,{defaultVal:"No",editor:jp.getEditor("reportRtlProperty"),valuesArray:Um}),Bf={propertyName:"useLandscape",modelName:"@UseLandscape",displayName:"Use Landscape",localizationId:"DevExpress.XtraPrinting.PrinterSettingsUsing.UseLandscape",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},Vf={propertyName:"usePaperKind",modelName:"@UsePaperKind",displayName:"Use Paper Kind",localizationId:"DevExpress.XtraPrinting.PrinterSettingsUsing.UsePaperKind",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},Mf={propertyName:"defaultPrinterSettingsUsing",modelName:"DefaultPrinterSettingsUsing",displayName:"Using Settings of the Default Printer",localizationId:"DevExpress.XtraReports.UI.XtraReport.DefaultPrinterSettingsUsing",editor:K.editorTemplates.getEditor("objecteditor"),info:[Bf,Vf]},kf=[(0,B.extend)({},Qu,{defaultVal:"transparent"}),(0,B.extend)({},Yu,{defaultVal:"Black"}),(0,B.extend)({},am,{defaultVal:"Black"}),(0,B.extend)({},em,{defaultVal:(0,G.defaultFontSerialization)()}),(0,B.extend)({},dm,{defaultVal:"TopLeft"}),(0,B.extend)({},rm,{defaultVal:1}),(0,B.extend)({},om,{defaultVal:"Solid"}),(0,B.extend)({},im,{defaultVal:"None"}),{propertyName:"size",visible:!1},sf,of,Mf,lf,Nm,nf,vf,ff,df,cf,pf,xf,gf,Fu,mf,uf,Tf,{propertyName:"scriptsSource",modelName:"@ScriptsSource"},yf,Sf,Df,Cf,{propertyName:"bands",modelName:"Bands",array:!0},{propertyName:"crossBandControls",modelName:"CrossBandControls",array:!0},{propertyName:"styles",modelName:"StyleSheet",array:!0},{propertyName:"_objectStorage",modelName:"ObjectStorage",array:!0},{propertyName:"_componentStorage",modelName:"ComponentStorage",array:!0},{propertyName:"objectStorage"},{propertyName:"extensions",modelName:"Extensions",array:!0},{propertyName:"parameterPanelLayoutItems",modelName:"ParameterPanelLayoutItems",array:!0},bf,Fg,zf,{propertyName:"version",modelName:"@Version"},hf,$x,If,Pf,Rf,wf,Nf,Ef].concat(Hg,Jg,Jm),Af=["dataSource","dataMember","filterString","measureUnit",Df.propertyName],Lf=[{propertyName:"fieldName",modelName:"@FieldName",displayName:"Field Name",localizationId:"DevExpress.XtraReports.UI.GroupField.FieldName",editor:jp.getEditor("dataBinding")},{propertyName:"sortOrder",modelName:"@SortOrder",displayName:"Sort Order",localizationId:"DevExpress.XtraReports.UI.GroupField.SortOrder",defaultVal:"Ascending"}];class $f extends L.Disposable{constructor(e,t){super(),(t=t||new L.ModelSerializer).deserialize(this,e),this.changeSortOrder=()=>{const e=this.sortOrder();"Ascending"===e?this.sortOrder("Descending"):"None"===e?this.sortOrder("Ascending"):this.sortOrder("None")},this._disposables.push(this.sortOrderClass=A.pureComputed((()=>{let e=this.sortOrder().toLowerCase();return e="none"===e?"unsorted":e,{class:"dxrd-image-"+e,template:"dxrd-svg-operations-"+e}})))}getInfo(){return Lf}}$f.createNew=()=>new $f({});class Ff extends Q.SerializableModel{constructor(e,t,a,i){super(e||{},i,Of),this.grayAreaWidth=A.observable(0),this._disposables.push(this.realColumnWidth=A.pureComputed((()=>{const e=t()-a.left()-a.right();let i=e;return this.grayAreaWidth(0),"UseColumnWidth"===this.mode()?this.columnWidth()>e?(this.grayAreaWidth(0),i=e-this.columnSpacing()):this.columnWidth()>0&&(this.grayAreaWidth(e-this.columnWidth()-this.columnSpacing()),i=this.columnWidth()):"UseColumnCount"===this.mode()&&this.columnCount()>1&&(i=(e-this.columnSpacing()*(this.columnCount()-1))/this.columnCount(),this.grayAreaWidth(e-i-this.columnSpacing())),i}))),this._disposables.push(this.columnWidth.subscribe((e=>{this.mode("UseColumnWidth")}))),this._disposables.push(this.columnCount.subscribe((e=>{this.mode("UseColumnCount")})))}}Ff.unitProperties=["columnWidth","columnSpacing"];const Of=[{propertyName:"columnCount",modelName:"@ColumnCount",displayName:"Column Count",localizationId:"DevExpress.XtraReports.UI.MultiColumn.ColumnCount",defaultVal:1,editor:K.editorTemplates.getEditor("numeric"),from:L.floatFromModel},{propertyName:"columnWidth",modelName:"@ColumnWidth",displayName:"Column Width",localizationId:"DevExpress.XtraReports.UI.MultiColumn.ColumnWidth",defaultVal:0,editor:K.editorTemplates.getEditor("numeric"),from:L.floatFromModel},{propertyName:"columnSpacing",modelName:"@ColumnSpacing",displayName:"Column Spacing",localizationId:"DevExpress.XtraReports.UI.MultiColumn.ColumnSpacing",defaultVal:0,editor:K.editorTemplates.getEditor("numeric"),from:L.floatFromModel},{propertyName:"layout",modelName:"@Layout",displayName:"Layout",localizationId:"DevExpress.XtraReports.UI.MultiColumn.Layout",defaultVal:"DownThenAcross",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"DownThenAcross",displayValue:"DownThenAcross",localizationId:"DevExpress.XtraPrinting.ColumnLayout.DownThenAcross"},{value:"AcrossThenDown",displayValue:"AcrossThenDown",localizationId:"DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown"}]},{propertyName:"mode",modelName:"@Mode",displayName:"Mode",localizationId:"DevExpress.XtraReports.UI.MultiColumn.Mode",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.None"},{value:"UseColumnCount",displayValue:"UseColumnCount",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.UseColumnCount"},{value:"UseColumnWidth",displayValue:"UseColumnWidth",localizationId:"DevExpress.XtraReports.UI.MultiColumnMode.UseColumnWidth"}]}];class Xf extends L.Disposable{constructor(e,t){super(),this._disposables.push(this.grayAreaWidth=A.pureComputed((()=>(0,B.unitsToPixel)(e.grayAreaWidth(),t.measureUnit(),t.zoom()))),this.columnWidth=A.pureComputed((()=>(0,B.unitsToPixel)(e.realColumnWidth(),t.measureUnit(),t.zoom()))),this.columnSpacing=A.pureComputed((()=>(0,B.unitsToPixel)(e.columnSpacing(),t.measureUnit(),t.zoom()))),this.columnSpacingLeft=A.pureComputed((()=>{const e=this.columnWidth();return t.rtl()?t.margins.right()+this.grayAreaWidth():e})),this.grayAreaLeft=A.pureComputed((()=>{const e=this.columnWidth();return t.rtl()?t.margins.right():e+this.columnSpacing()})),this.haveColumns=A.pureComputed((()=>e.columnCount()>1&&"None"!==e.mode())))}}const Hf={propertyName:"multiColumn",modelName:"MultiColumn",displayName:"Multi-Column Options",localizationId:"DevExpress.XtraReports.UI.DetailBand.MultiColumn",info:Of,editor:K.editorTemplates.getEditor("objecteditor")},Wf={propertyName:"expanded",modelName:"@Expanded",from:L.parseBool,defaultVal:!0},Uf=[dm,Wf,{propertyName:"controls",modelName:"Controls",array:!0},{propertyName:"bands",modelName:"SubBands",array:!0}].concat(Wg,Gg),Gf=[qh,vg,Qh,Nv,Dv].concat(Uf),jf=[bm,Tv,Sx].concat(Gf),qf=[Cv].concat(jf),Jf=[Tv.propertyName,"keepTogether"],Kf=[Tv.propertyName,"keepTogether","printAtBottom"],Qf={propertyName:"sortFields",modelName:"SortFields",displayName:"Sort Fields",localizationId:"DevExpress.XtraReports.UI.DetailBand.SortFields",array:!0,editor:K.editorTemplates.getEditor("commonCollection"),addHandler:$f.createNew,template:"#dxrd-collection-item-group",getChildCaption:e=>0===e?(0,L.getLocalization)("Sort By","ASPxReportsStringId.ReportDesigner_SortFields_SortBy"):(0,L.getLocalization)("Then By","ASPxReportsStringId.ReportDesigner_SortFields_ThenBy")},Yf={modelName:"HierarchyPrintOptions",propertyName:"hierarchyPrintOptions",info:[{propertyName:"childListFieldName",modelName:"@ChildListFieldName",defaultVal:"",localizationId:"DevExpress.XtraReports.UI.HierarchyPrintOptions.ChildListFieldName",displayName:"Child List Field Name",editor:K.editorTemplates.getEditor("field")},{propertyName:"keyFieldName",modelName:"@KeyFieldName",defaultVal:"",localizationId:"DevExpress.XtraReports.UI.HierarchyPrintOptions.KeyFieldName",displayName:"Key Field Name",editor:K.editorTemplates.getEditor("field")},{propertyName:"parentFieldName",modelName:"@ParentFieldName",defaultVal:"",localizationId:"DevExpress.XtraReports.UI.HierarchyPrintOptions.ParentFieldName",displayName:"Parent Field Name",editor:K.editorTemplates.getEditor("field")},{propertyName:"indent",localizationId:"DevExpress.XtraReports.UI.HierarchyPrintOptions.Indent",modelName:"@Indent",defaultVal:20,displayName:"Indent",editor:K.editorTemplates.getEditor("numeric")},{propertyName:"keepTogetherWithFirstChild",modelName:"@KeepTogetherWithFirstChild",defaultVal:!0,displayName:"Keep Together With First Child",localizationId:"DevExpress.XtraReports.UI.HierarchyPrintOptions.KeepTogetherWithFirstChild",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],localizationId:"DevExpress.XtraReports.UI.DetailBand.HierarchyPrintOptions",displayName:"Hierarchy Print Options",editor:K.editorTemplates.getEditor("objecteditor")},Zf={propertyName:"fillEmptySpace",modelName:"@FillEmptySpace",defaultVal:!1,from:L.parseBool,displayName:"Fill Empty Space",localizationId:"DevExpress.XtraReports.UI.DetailBand.FillEmptySpace",editor:K.editorTemplates.getEditor("bool")},eb=[Jh,Kh,bm,Tv,Sx].concat(Gf),tb=[Ev].concat(eb),ab=["pageBreak","keepTogether",Dv.propertyName],ib=eb.concat(Sv,Yf,wv,zv,Zf,Qf,Hf),rb=ab.concat("sortFields","keepTogetherWithDetailReports",Zf.propertyName,"multiColumn");class ob extends Gv{constructor(e,t,a){super(e,t,a),this.hierarchyPrintOptions.isPropertyDisabled=function(e){return"keyFieldName"===e||"parentFieldName"===e?!!this.childListFieldName():"childListFieldName"===e?!!this.keyFieldName()||!!this.parentFieldName():void 0},this.hierarchyPrintOptions.getPath=()=>this.getPath("groupFields")}dispose(){super.dispose(),this.disposeObservableArray(this.sortFields),this.resetObservableArray(this.sortFields)}preInit(e,t,a){this.multiColumn=new Ff(e.MultiColumn,this.root.pageWidth||A.observable(0),this.root.margins||Q.Margins.fromString()),this._disposables.push(this.multiColumn),this.sortFields=(0,L.deserializeArray)(e.SortFields,(e=>new $f(e,a)))}hasHierarchyPrintOptions(){return!((0,B.isNullOrEmptyString)(this.hierarchyPrintOptions.childListFieldName())&&((0,B.isNullOrEmptyString)(this.hierarchyPrintOptions.keyFieldName())||(0,B.isNullOrEmptyString)(this.hierarchyPrintOptions.parentFieldName())))}isPropertyDisabled(e){return e===Zf.propertyName?!this.parentModel().bands().filter((e=>"GroupFooterBand"===e.controlType||"ReportFooterBand"===e.controlType)).every((e=>e[Cv.propertyName]&&e[Cv.propertyName]()||e[Tv.propertyName]&&("BeforeBand"===e[Tv.propertyName]()||"BeforeBandExceptFirstEntry"===e[Tv.propertyName]()))):super.isPropertyDisabled(e)}}ob.unitProperties=[].concat([],Gv.unitProperties,"multiColumn");class sb extends jv{_initMultiColumn(){const e=new Xf(this._control.multiColumn,this._context);this._disposables.push(e),this._disposables.push(this.multiColumn=A.computed((()=>{const t=this.parent.multiColumn&&this.parent.multiColumn();return t||e})))}}function nb(e,t){if(t.parentModel(e),t instanceof ob)e.bands().filter((e=>e instanceof qv)).forEach((t=>e.removeChild(t)));else if(t instanceof qv)if(e.bands().every((e=>!(e instanceof qv)))){const a=e.bands().filter((e=>e instanceof ob))[0];a&&e.removeChild(a),"VerticalDetailBand"!==t.controlType&&e.createChild({"@ControlType":"VerticalDetailBand","@HeightF":e.root.dpi()})}else{const a=e.bands().filter((e=>e instanceof qv))[0];a&&t.height(a.height())}Lv(e.bands,t)}const lb={propertyName:"scripts",modelName:"Scripts",displayName:"Scripts",localizationId:"DevExpress.XtraReports.UI.CalculatedField.Scripts",info:[{propertyName:"onGetValue",modelName:"@OnGetValue",displayName:"Get a Value",localizationId:"DevExpress.XtraReports.UI.CalculatedFieldScripts.OnGetValue",editor:jp.getEditor("scriptsBox")}],editor:K.editorTemplates.getEditor("objecteditor")},db={propertyName:"calcExpressionObj",displayName:"Expression",localizationId:"DevExpress.XtraReports.UI.CalculatedField.Expression",editor:K.editorTemplates.getEditor("expressionEditor")},cb=[{propertyName:"calculatedFieldName",modelName:"@Name"},{propertyName:"nameEditable",displayName:"Name",validationRules:B.nameValidationRules,editor:jp.getEditor("name"),localizationId:"DevExpress.XtraReports.UI.XRControl.Name"},Fu,{propertyName:"fieldType",modelName:"@FieldType",displayName:"Field Type",localizationId:"DevExpress.XtraReports.UI.CalculatedField.FieldType",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"None",from:L.fromEnum,valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.FieldType.None"},{value:"String",displayValue:"String",localizationId:"DevExpress.XtraReports.UI.FieldType.String"},{value:"DateTime",displayValue:"DateTime",localizationId:"DevExpress.XtraReports.UI.FieldType.DateTime"},{value:"TimeSpan",displayValue:"TimeSpan",localizationId:"DevExpress.XtraReports.UI.FieldType.TimeSpan"},{value:"Byte",displayValue:"Byte",localizationId:"DevExpress.XtraReports.UI.FieldType.Byte"},{value:"Int16",displayValue:"Int16",localizationId:"DevExpress.XtraReports.UI.FieldType.Int16"},{value:"Int32",displayValue:"Int32",localizationId:"DevExpress.XtraReports.UI.FieldType.Int32"},{value:"Float",displayValue:"Float",localizationId:"DevExpress.XtraReports.UI.FieldType.Float"},{value:"Double",displayValue:"Double",localizationId:"DevExpress.XtraReports.UI.FieldType.Double"},{value:"Decimal",displayValue:"Decimal",localizationId:"DevExpress.XtraReports.UI.FieldType.Decimal"},{value:"Boolean",displayValue:"Boolean",localizationId:"DevExpress.XtraReports.UI.FieldType.Boolean"}]},Im,Pm,{propertyName:"expression",modelName:"@Expression",displayName:"Expression",localizationId:"DevExpress.XtraReports.UI.CalculatedField.Expression",defaultVal:""},db,lb];class pb extends L.Disposable{constructor(e,t){super(),this.templateName="dx-treelist-item",this.contenttemplate="dxrd-calculatedfield-content",this.isList=!1,this.isCalculated=!0,(t=t||new L.ModelSerializer).deserialize(this,e)}getInfo(){return cb}get displayName(){return this.displayNameObject()||this.calculatedFieldName()}get name(){return this.calculatedFieldName()}get specifics(){const e=this.fieldType();return["Byte","Int16","Int32"].indexOf(e)>-1?"calcinteger":["Float","Double","Decimal"].indexOf(e)>-1?"calcfloat":["DateTime","TimeSpan"].indexOf(e)>-1?"calcdate":"Boolean"===e?"calcbool":"calc"+("None"===e?"default":e.toLowerCase())}get type(){return this.fieldType()}lockedInUserDesigner(){return!1}displayType(){return(0,L.getLocalization)("Calculated Field","DevExpress.XtraReports.UI.CalculatedField")}}const ub=DevExpress.Analytics.Data,mb=[{propertyName:"propertyName",modelName:"@PropertyName",defaultVal:""},{propertyName:"expression",modelName:"@Expression",defaultVal:""}],hb={propertyName:"expressionBindings",modelName:"ExpressionBindings",array:!0,info:mb},gb=[{value:"None",displayValue:"(none)",localizationId:"PreviewStringId.ParameterLookUpSettingsNoLookUp"},{value:"StaticListLookUpSettings",displayValue:"Static List",localizationId:"DevExpress.XtraReports.Parameters.StaticListLookUpSettings"},{value:"DynamicListLookUpSettings",displayValue:"Dynamic List",localizationId:"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings"}],xb=(0,B.extend)(!0,[],[].concat(gb,[{value:"RangeParametersSettings",displayValue:"Range Parameters",localizationId:"DevExpress.XtraReports.Parameters.RangeParametersSettings"}])),vb={propertyName:"value",displayName:"Value",localizationId:"DevExpress.XtraReports.Parameters.Parameter.Value",modelName:"@ValueInfo",from:e=>A.observable(e),toJsonObject:xu},fb={propertyName:"ValueExpressionObj",displayName:"Expression",localizationId:"DevExpress.XtraReports.UI.CalculatedField.Expression",editor:K.editorTemplates.getEditor("expressionEditor")},bb={propertyName:"lookUpSettings",displayName:"Look-Up Settings",localizationId:"DevExpress.XtraReports.Parameters.Parameter.LookUpSettings",modelName:"@LookUpSettings",link:!0,editor:K.editorTemplates.getEditor("objecteditor")},yb={propertyName:"valueSourceSettings",displayName:"Value Source Settings",localizationId:"DevExpress.XtraReports.Parameters.Parameter.ValueSourceSettings",modelName:"@ValueSourceSettings",link:!0,editor:K.editorTemplates.getEditor("objecteditor")},Sb={propertyName:"parameterName",modelName:"@Name",displayName:"Name",localizationId:"DevExpress.XtraReports.UI.XRControl.Name",defaultVal:"",validationRules:B.nameValidationRules,editor:jp.getEditor("name")},Cb=[Sb,{propertyName:"description",localizable:!0,modelName:"@Description",displayName:"Description",localizationId:"DevExpress.XtraReports.Parameters.Parameter.Description",defaultVal:"",editor:K.editorTemplates.getEditor("text")},{propertyName:"type",displayName:"Type",localizationId:"DevExpress.XtraReports.Parameters.Parameter.Type",editor:K.editorTemplates.getEditor("combobox"),valuesArray:gu},{propertyName:"visible",modelName:"@Visible",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("boolSelect"),displayName:"Visible",localizationId:"DevExpress.XtraReports.UI.XRControl.Visible"},{propertyName:"enabled",modelName:"@Enabled",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("boolSelect"),displayName:"Enabled",localizationId:"DevExpress.XtraReports.UI.EditOptions.Enabled"},{propertyName:"allowNull",modelName:"@AllowNull",displayName:"Allow Null",localizationId:"DevExpress.XtraReports.Parameters.Parameter.AllowNull",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},{propertyName:"isMultiValue",modelName:"@MultiValue",displayName:"MultiValue",localizationId:"DevExpress.XtraReports.Parameters.Parameter.MultiValue",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},{propertyName:"selectAllValues",modelName:"@SelectAllValues",displayName:"Select All Values",localizationId:"DevExpress.XtraReports.Parameters.Parameter.SelectAllValues",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},{propertyName:"tag",modelName:"@Tag",displayName:"Tag",localizationId:"DevExpress.XtraReports.UI.XRControl.Tag",editor:K.editorTemplates.getEditor("text"),defaultVal:""},fb,vb,hb,{propertyName:"_obsoleteValue",modelName:"@Value",link:!0},{propertyName:"_type",modelName:"@Type",link:!0},{propertyName:"valueSourceSettingsType",displayName:"Value Source Settings",localizationId:"DevExpress.XtraReports.Parameters.Parameter.ValueSourceSettings",editor:K.editorTemplates.getEditor("combobox"),valuesArray:gb},yb];class Db extends L.Disposable{constructor(e,t,a){super(),this.dsHelperProvider=t,this.preInitProperties(e,t,a),(a=a||new L.ModelSerializer).deserialize(this,e),this.afterDeserialization(e,a)}dispose(){super.dispose(),this.dsHelperProvider=null}getInfo(){return[{propertyName:"objectType",modelName:"@ObjectType"}]}afterDeserialization(e,t){(0,B.cutRefs)(e)}preInitProperties(e,t,a){}}class _b extends Db{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Serialization.ObjectStorageInfo"},e),t,a)}_getInfo(){return super.getInfo().concat([{propertyName:"content",modelName:"@Content"},{propertyName:"type",modelName:"@Type"},{propertyName:"name",modelName:"@Name",defaultVal:""}])}preInitProperties(e){this.getInfo=e&&e["@Base64"]?()=>this._getInfo().concat({propertyName:"base64",modelName:"@Base64"}):()=>this._getInfo()}isEmpty(){return this.type&&"System.DateTime"===this.type()&&this.content&&(void 0===this.content()||null===this.content())}}class Ib extends Q.SerializableModel{constructor(e,t){super(e,t,[{propertyName:"_type",modelName:"@Type",link:!0},bb])}}class Pb extends _b{constructor(e,t,a){super(e,t,a),this._dsHelperProvider=t,this._serializer=a}static getDependentDataSources(e,t){const a=e.dataSource();a instanceof Pb&&a.serializableSourceMap().forEach((e=>this.getDependentDataSources(e,t))),t.push(e)}preInitProperties(e){const t=this._getInfo();this.getInfo=()=>{let a=[];return e&&e["@Base64"]&&(a=a.concat({propertyName:"base64",modelName:"@Base64"})),a.concat([],t,[{modelName:"SerializableSourceMap",propertyName:"serializableSourceMap",array:!0,info:[{modelName:"@DataSource",propertyName:"dataSource",link:!0},{modelName:"@Name",propertyName:"name"}]}])}}getSerializableModel(){return this._serializableModel||(this._serializableModel=new Tb(this,null,this._dsHelperProvider,this._serializer)),this._serializableModel}get dependentDataSources(){return this.getSerializableModel().getSerializableFederationDataSourceInfo().dataSources}}class Tb extends ub.SerializableDataFederationDataSource{constructor(e,t,a,i){super(e,i),!e&&t&&(this.dataSources=A.observableArray(Object.keys(t.dataSources||{}).map((e=>new _b(t.dataSources[e],a,this.serializer)))),this.dataSource=new Pb(t.dataSource,a,this.serializer))}dispose(){super.dispose(),this.dataSources=null,this.dataSource=null}}const zb=[_m,Im,Pm,{propertyName:"valueMember",modelName:"@ValueMember",displayName:"Value Member",localizationId:"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings.ValueMember",defaultVal:"",editor:K.editorTemplates.getEditor("field")},{propertyName:"displayMember",modelName:"@DisplayMember",displayName:"Display Member",localizationId:"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings.DisplayMember",defaultVal:"",editor:K.editorTemplates.getEditor("field")},{propertyName:"sortMember",modelName:"@SortMember",displayName:"Sort Member",localizationId:"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings.SortMember",defaultVal:"",editor:K.editorTemplates.getEditor("field")},th],Nb={propertyName:"lookUpValues",displayName:"Look-Up Values",localizationId:"DevExpress.XtraReports.Parameters.StaticListLookUpSettings.LookUpValues",modelName:"LookUpValues",array:!0},Eb=Object.assign(Object.assign({},Nb),{editor:{custom:"dxrd-lookUpValues-editing"}}),wb=Object.assign(Object.assign({},Nb),{editor:jp.getEditor("lookUpValues")}),Rb=[{propertyName:"description",modelName:"@Description",displayName:"Description",localizationId:"DevExpress.XtraReports.Parameters.Parameter.Description",defaultVal:"",editor:K.editorTemplates.getEditor("text")},{propertyName:"_value",modelName:"@Value",link:!0}];class Bb{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e),this.value=A.pureComputed({read:()=>this._value()&&this._value().content(),write:e=>{this._value()&&this._value().content(e)}})}static createNew(){return new Bb({})}static from(e,t){return new Bb(e,t)}static toJson(e,t,a){return t.serialize(e,Rb,a)}getInfo(){return this.valueInfo?Rb.concat(this.valueInfo()):Rb}get isEmpty(){return null===this._value()||void 0===this._value()}}class Vb extends Db{constructor(e,t,a){super(e,t,a)}getInfo(){return super.getInfo().concat([Tm,zm])}updateFilter(e,t){this.filterString.helper.parameters=A.pureComputed({read:()=>{const a=t.parameters().indexOf(e),i=a>0?t.parameters().filter(((e,t)=>t<a)):t.parameters();return vu(i)},deferEvaluation:!0}),this._disposables.push(this.filterString.helper.parameters)}}class Mb extends Vb{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Parameters.StaticListLookUpSettings"},e),t,a),this.filterString=new K.FilterStringOptions(this._filterString),this.filterString.helper.canChoiceParameters=!0,this.filterString.itemsProvider=A.observable(null)}getInfo(){return super.getInfo().concat(this._isEditing()?Eb:wb)}preInitProperties(e,t,a){super.preInitProperties(e,t,a),this._isEditing=A.observable(!1)}afterDeserialization(e,t){this.lookUpValues=(0,L.deserializeArray)(e.LookUpValues||[],(e=>new Bb(e,t))),super.afterDeserialization(e,t)}updateFilter(e,t){this.filterString.itemsProvider({getItems(t){const a=k.Deferred();return a.resolve([{displayName:"Description",isList:!1,name:"Description",specifics:"String"},{displayName:"Value",isList:!1,name:"Value",specifics:e.specifics}]),a.promise()}}),super.updateFilter(e,t)}}class kb extends Vb{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Parameters.DynamicListLookUpSettings"},e),t,a),this.dsHelperProvider=t,this.filterString=new K.FilterStringOptions(this._filterString,A.pureComputed((()=>this.getPath("valueMember"))),A.pureComputed((()=>!this.dataSource())))}getInfo(){return super.getInfo().concat(zb)}getPath(e){return"dataMember"===e?this.dsHelperProvider()&&this.dsHelperProvider().getDataSourcePath(this.dataSource()):"displayMember"===e||"valueMember"===e||"sortMember"===e?(0,B.getFullPath)(this.getPath("dataMember"),this.dataMember()):""}isPropertyDisabled(e){if("dataSource"!=e)return null===this.dataSource()}}const Ab={custom:"dxrd-parameters-range-grid",editorType:K.PropertyGridEditorFlat},Lb=[Sb,vb,hb,fb],$b=[{propertyName:"startParameter",modelName:"@StartParameter",displayName:"Start Parameter",localizationId:"DevExpress.XtraReports.Parameters.RangeSettings.StartParameter",editor:K.editorTemplates.getEditor("objecteditor"),link:!0},{propertyName:"endParameter",modelName:"@EndParameter",displayName:"End Parameter",localizationId:"DevExpress.XtraReports.Parameters.RangeSettings.EndParameter",editor:K.editorTemplates.getEditor("objecteditor"),link:!0}],Fb=DevExpress.Analytics.Criteria.Utils;function Ob(e,t="list"){return{displayName:e,name:e,specifics:t,isList:"list"===t}}class Xb extends L.Disposable{constructor(e,t,a,i){super(),this.eventName=i,this.isValid=A.observable(!0),this.warningMessage=A.observable(""),this.expression=A.observable(null),this.rootItems=[{name:"Parameters",needPrefix:!0},{name:"ReportItems",needPrefix:!1,rootPath:"Root"},{name:"DataSource",needPrefix:!1,rootPath:"Root"},{name:"Arguments",needPrefix:!1,rootPath:"Root"}],t?this._disposables.push(this.value=A.computed({read:()=>this.expression()&&this.expression().expression()||"",write:e=>{this.expression()?e&&e.trim()?this.expression().expression(e):t.removeExpression(this.expression()):e&&e.trim()&&t.addExpression(e)}})):this.value=e.value,this.path=e.path,this.functions=e.functions,this.customizeCategories=e.customizeCategories;const r={DataSource:e=>"DataSource"===e&&["CurrentRowIndex","RowCount","CurrentRowHierarchyLevel"].map((e=>Ob(e,"integer"))),Arguments:e=>"Arguments"===e&&["PageIndex","PageCount"].map((e=>Ob(e,"integer")))};this._disposables.push(A.computed((()=>{const e=A.unwrap(a);try{if(this.isValid(!0),this.warningMessage(""),!this.value())return;Fb.CriteriaOperatorStateMachine.parse(this.value()),e&&(0,B.validateExpression)({fieldListProvider:{getItemByPath:t=>e.getItemByPath(t,r),getItems:()=>{}},expression:this.value(),path:this.path(),rootItems:this.rootItems.map((e=>e.name))}).done((e=>this.warningMessage(e))).fail((()=>this.isValid(!1)))}catch(e){this.isValid(!1)}})))}onHiding(e){}onShowing(e){}onContentReady(e){}}function Hb(e,t,a="ExpressionObj"){if(!e.expressionBindings().filter((e=>e.propertyName()===t))[0]){const a=new Wb({});a.propertyName(t),e.expressionBindings.push(a)}const i=e.expressionBindings().filter((e=>e.propertyName()===t))[0],r={value:i.expression,customizeCategories:"Value"!==t?()=>{}:(e,t)=>{const a=t.filter((e=>"dx-expressioneditor-fields"==e.content.name))[0];a&&t.splice(t.indexOf(a),1)},functions:fh.filter((e=>"Summary"!=e.category&&"Aggregate"!=e.category))},o=new Xb(r,{addExpression:t=>{-1===e.expressionBindings().indexOf(i)&&e.expressionBindings.push(i),i.expression(t)},removeExpression:t=>{e.expressionBindings.remove(i),o.isValid(!0)}});return e._disposables.push(A.computed((()=>{-1!==e.expressionBindings().indexOf(i)?o.expression(i):o.expression(null)})),o),e[t+a]=o,o}class Wb{constructor(e,t){(t=t||new L.ModelSerializer).deserialize(this,e)}getInfo(){return mb}isEmpty(){return!this.expression()}}Wb.expressionSuff="ExpressionObj";class Ub extends Db{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Parameters.RangeParametersSettings"},e),t,a)}_updateInfo(e){this._isEditing()&&e.forEach((e=>{e.editor&&e.editor===K.editorTemplates.getEditor("objecteditor")&&(e.editor=Ab)}))}preInitProperties(e,t,a){super.preInitProperties(e,t,a),this._isEditing=A.observable(!1)}getInfo(){const e=super.getInfo().concat($b);return this._updateInfo(e),e}initalizeRangeParameter(e,t,a="_Start"){e.parameterName(t.name+a),e.value(t.defaultValue)}assingParameterInfo(e){[this.startParameter(),this.endParameter()].forEach((t=>{t.valueInfo=e.valueInfo,t._type=e.type,t._specifics(e.parameterTypesHelper.getSpecifics(e.type())),Hb(t,"Value")}))}initializeParameters(e){this.assingParameterInfo(e),this.initalizeRangeParameter(this.startParameter(),e),this.initalizeRangeParameter(this.endParameter(),e,"_End")}}class Gb extends Db{constructor(e,t,a){super(e,t,a),this._specifics=A.observable("date"),this.templateName="dx-treelist-item"}getInfo(){if(this.valueInfo){const e=k.extend(!0,[],Lb),t="System.DateTime"===this._type()?(0,B.extend)({},this.valueInfo(),{editorOptions:{type:"date"}}):this.valueInfo();return e.splice(e.indexOf(e.filter((e=>"value"===e.propertyName))[0]),1,t),e}return Lb}get name(){return this.parameterName()}get displayName(){return this.parameterName()}get specifics(){return this._specifics()}}class jb extends Gb{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Parameters.RangeStartParameter"},e),t,a)}}class qb extends Gb{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.XtraReports.Parameters.RangeEndParameter"},e),t,a)}}class Jb extends Q.SerializableModel{constructor(e,t,a,i){super(e,i,Kb),this.filterString=A.observable(null);const r=new K.FilterStringOptions(this._filterString,A.pureComputed((()=>a()&&a().getDataSourcePath(t)+"."+this.tableName())),A.pureComputed((()=>!t)));r.helper.canChoiceParameters=!0,this.filterString(r)}}const Kb=[Tm,zm,{propertyName:"tableName",modelName:"@TableName"}];class Qb extends Db{constructor(e,t,a){super(k.extend({"@ObjectType":"DevExpress.ReportServer.Infrastructure.Data.UniversalDataSource"},e),t,a),this.parameters=(0,L.deserializeArray)(e.Parameters||[],(e=>new Ib(e,a))),this.tableInfoCollection=(0,L.deserializeArray)(e.TableInfoCollection||[],(e=>new Jb(e,this,t,a))),this.spParameterInfoCollection=(0,L.deserializeArray)(e.StoredProcedureParameterInfoCollection||[],(e=>new Ib(e,a)))}dispose(){super.dispose(),this.disposeObservableArray(this.parameters),this.disposeObservableArray(this.tableInfoCollection),this.disposeObservableArray(this.spParameterInfoCollection),this.resetObservableArray(this.parameters),this.resetObservableArray(this.tableInfoCollection),this.resetObservableArray(this.spParameterInfoCollection)}getInfo(){return super.getInfo().concat([{propertyName:"parameters",modelName:"Parameters",array:!0},{propertyName:"tableInfoCollection",modelName:"TableInfoCollection",array:!0},{propertyName:"spParameterInfoCollection",modelName:"StoredProcedureParameterInfoCollection",array:!0},{propertyName:"name",modelName:"@Name"}])}}function Yb(e,t,a){const i=e["@ObjectType"]||"";return-1!==i.indexOf("StaticListLookUpSettings")?new Mb(e,t,a):-1!==i.indexOf("DynamicListLookUpSettings")?new kb(e,t,a):-1!==i.indexOf("RangeParametersSettings")?new Ub(e,t,a):-1!==i.indexOf("RangeStartParameter")?new jb(e,t,a):-1!==i.indexOf("RangeEndParameter")?new qb(e,t,a):-1!==i.indexOf("ReportServer")&&-1!==e["@ObjectType"].indexOf("DataSource")?new Qb(e,t,a):-1!==i.indexOf("DataFederation")?new Pb(e,t,a):new _b(e,t,a)}class Zb extends L.Disposable{constructor(e,t){super(),this.objects=e,this.dsHelperProvider=t}findType(e){const t=this.objects().filter((e=>e instanceof _b)).filter((t=>!!t.type&&"System.Type"===t.type()&&t.content()===e));return 0===t.length?null:t[0]}getType(e){let t=this.findType(e);return t||(t=new _b({"@Content":e,"@Type":"System.Type"},this.dsHelperProvider),this.objects.push(t)),t}addValue(){const e=new _b({"@Content":""},this.dsHelperProvider);return this.objects.push(e),e}createStaticLookUpSetting(){const e=new Mb({},this.dsHelperProvider);return this.objects.push(e),e}createDynamicLookUpSetting(){const e=new kb({},this.dsHelperProvider);return this.objects.push(e),e}createRangeSetting(){const e=new Ub({},this.dsHelperProvider);this.objects.push(e);const t=new jb({},this.dsHelperProvider);e.startParameter(t),this.objects.push(t);const a=new qb({},this.dsHelperProvider);return e.endParameter(a),this.objects.push(a),e}}const ey=DevExpress.Reporting.Viewer.Widgets;class ty{constructor(){this._mapper={}}getExpressionPropertyName(e){return e.substr(0,1).toLocaleUpperCase()+e.substr(1)+"ExpressionObj"}registerExpressionProperty(e){const t=this.getExpressionPropertyName(e.propertyName),a={propertyName:t,editor:K.editorTemplates.getEditor("expressionEditor"),displayName:e.displayName,localizationId:e.localizationId};return this._mapper[t]={showExpression:A.observable(!1)},a}isPropertyVisible(e,t){if(!t)return!this._mapper[e];const a=this.getExpressionProperty(e);return!a||!!this._mapper[e]===a.showExpression()}getExpressionProperty(e){return this._mapper[e]||this._mapper[this.getExpressionPropertyName(e)]}}ty.propertiesWithExpressions=["visible","enabled"];class ay{constructor(e){this.parameter=e}_updateValueSourceSettingsType(e=this.parameter.valueSourceSettings()){e&&(-1!==e.objectType().indexOf("StaticListLookUpSettings")?this.parameter.valueSourceSettingsType("StaticListLookUpSettings"):-1!==e.objectType().indexOf("DynamicListLookUpSettings")?this.parameter.valueSourceSettingsType("DynamicListLookUpSettings"):this.parameter.valueSourceSettingsType("RangeParametersSettings"))}_updateValueSourceSettings(e){const t=e=>(e._isEditing(this.parameter._isEditing()),e);if("StaticListLookUpSettings"===e)this.parameter.valueSourceSettings(t(this.parameter.objectsStorage.createStaticLookUpSetting()));else if("DynamicListLookUpSettings"===e)this.parameter.valueSourceSettings(this.parameter.objectsStorage.createDynamicLookUpSetting());else if("RangeParametersSettings"===e){this.parameter.isMultiValue(!1),this.parameter.allowNull(!1),this.parameter.selectAllValues(!1);const e=this.parameter.objectsStorage.createRangeSetting();e.initializeParameters(this.parameter),this.parameter.valueSourceSettings(t(e))}else this.parameter.objectsStorage.objects.remove(this.parameter.valueSourceSettings()),this.parameter.valueSourceSettings(null)}initializeParameterSettingsType(){const e=new fg.Locker,t=this.parameter.valueSourceSettings(),a=t&&t instanceof Mb&&t.lookUpValues();a&&a.forEach((e=>{e.valueInfo=this.parameter.multiValueInfo,e.isEmpty&&this.initializeLookUpValue(e)})),this._updateValueSourceSettingsType(),this.parameter._disposables.push(this.parameter.valueSourceSettings.subscribe((t=>{e.lock((()=>this._updateValueSourceSettingsType(t)))}))),this.parameter._disposables.push(this.parameter.valueSourceSettingsType.subscribe((t=>{e.lock((()=>this._updateValueSourceSettings(t)))}))),t instanceof Ub&&t.assingParameterInfo(this.parameter)}initializeLookupValueSubscribe(e){const t=this;this.parameter._disposables.push(A.computed((()=>{const a=this.parameter.valueSourceSettings();a instanceof Vb&&(a.updateFilter(this.parameter,e),a instanceof Mb&&this.parameter._disposables.push(a.lookUpValues.subscribe((function(e){for(let a=0;a<e.length;a++)"added"===e[a].status?(t.initializeLookUpValue(e[a].value),e[a].value.valueInfo=t.parameter.multiValueInfo):"deleted"===e[a].status&&t.parameter.objectsStorage.objects.remove(e[a].value._value())}),null,"arrayChange")))})))}initializeLookUpValue(e){const t=this.parameter.objectsStorage.addValue();t.type(this.parameter.type()),t.content(this.parameter.defaultValue),e._value(t)}updateLookUpValues(e,t=null){const a=this.parameter.valueSourceSettings(),i=a&&a instanceof Mb&&a.lookUpValues();a&&i&&i.forEach((a=>{const i=a._value();i.content(t),e&&i.type(e)}))}updateSettingValues(e,t=null){const a=this.parameter.valueSourceSettings();a&&a instanceof Mb?(this.updateLookUpValues(e,t),a._isEditing(this.parameter._isEditing())):a instanceof Ub&&(a.startParameter().value(t),a.endParameter().value(t),a._isEditing(this.parameter._isEditing()))}}const iy={_ignoreEditors:["valueSourceSettings","valueSourceSettingsType"],_displayNamePatcher:{isMultiValue:e=>{e.displayName="Allow multiple values",e.localizationId="ASPxReportsStringId.ReportDesigner_ParametersDialog_AllowMultipleValues"},allowNull:e=>{e.displayName="Allow null value",e.localizationId="ASPxReportsStringId.ReportDesigner_ParametersDialog_AllowNull"},selectAllValues:e=>{e.displayName="Select all values",e.localizationId="ASPxReportsStringId.ReportDesigner_ParametersDialog_SelectAllValues"},valueSourceSettingsType:e=>e.displayName="Value Source"}};class ry extends L.Disposable{constructor(e,t,a){super(),this._report=t,this.templateName="dx-treelist-item",this.labelOrientation=A.observable("Horizontal"),this.actionProviders=[],this._expressionActions={},this.expressionObj={},this.info=k.extend(!0,[],Cb),this.propertyExpressionMapper=new ty,this._isEditing=A.observable(!1),this._showLayoutProperties=A.observable(!1),this.collapsed=A.observable(!1),this.valueSourceSettingsType=A.observable("None"),this.valueInfo=A.observable(),this.multiValueInfo=A.observable(),this.parameterTypesHelper=new mu,this.appendExpressionObjInfo(this.info),this.actionProviders.push({getActions:e=>this._getExpressionActions(e)}),this._disposables.push(this._localizationProvider);const i=t.objectsStorageHelper,r=t.parameterHelper;this._preDeserialize(e),this.parameterTypesHelper=new mu(t.knownEnums),this._updateTypeValues(),(a=a||new L.ModelSerializer).deserialize(this,e),this.valueSourceSettingsHelper=new ay(this),this.objectsStorage=i,this._parameterHelper=r,this._name=A.observable(this.parameterName()),this.change=(e,t)=>{1===t.filter((t=>t.parameterName()===e.value)).length?this._name(e.value):this.parameterName(this._name())},this._type()||this._type(i.getType("System.String")),this._processObsoleteProperties(),this.type=A.pureComputed({read:()=>this._type().content(),write:e=>{const t=this._type().content();if(e!==t){const t=this.value();this.isMultiValue()?this.value([]):this.value(null),this.valueSourceSettingsHelper.updateSettingValues(void 0,null),setTimeout((()=>{this._type(i.getType(e)),this.isMultiValue()||("System.DateTime"===e?this.value(this.defaultValue):this.value(this.parameterTypesHelper.convertSingleValue(t,this.type())),this.valueSourceSettingsHelper.updateSettingValues(this._type().content(),this.defaultValue))}),1)}}}),this.expressionObj={getInfo:()=>{const e=this.getInfo().filter((e=>-1!=e.propertyName.indexOf(Wb.expressionSuff)));return e.filter((e=>"ValueExpressionObj"==e.propertyName))[0].displayName="Value",e}},this.info.forEach((e=>{const t=e.propertyName.indexOf(Wb.expressionSuff);-1!==t&&(this.expressionObj[e.propertyName]=Hb(this,e.propertyName.substr(0,t)))})),this._initializeValue(),this._disposables.push(this.isMultiValue.subscribe((e=>{e?this.value=A.observableArray([this._parameterHelper.createMultiValue(this,this.value())]):(this.value=A.observable(this.defaultValue),this.selectAllValues(!1))}))),this._disposables.push(this.selectAllValues.subscribe((e=>{e?this.value=A.observableArray([]):this.isMultiValue()?this.value=A.observableArray([this._parameterHelper.createMultiValue(this,this.value())]):this.value=A.observable(this.defaultValue),this[fb.propertyName].value("")}))),this._disposables.push(this.valueSourceSettingsType.subscribe((e=>{"None"===e&&this.selectAllValues(!1)}))),this._disposables.push(this._isEditing.subscribe((e=>{const t=this.valueSourceSettings();(t instanceof Ub||t instanceof Mb)&&t._isEditing(e)}))),this.valueInfo=A.pureComputed((()=>{const e=k.extend(!0,{},vb,r.getParameterInfo(this));return e.propertyName="value",("System.String"===this.type()||this.isMultiValue())&&(e.defaultVal=""),e})),this.valueSourceSettingsHelper.initializeParameterSettingsType(),this.valueSourceSettingsHelper.initializeLookupValueSubscribe(t),this.viewmodel=new K.ObjectProperties(A.observable(this))}get _localizationProvider(){return this.__localizationProvider||(this.__localizationProvider=new hv(this)),this.__localizationProvider}getLocalizationProperty(e){return this._localizationProvider.getLocalizationProperty(e)}getLocalizationProperties(){return this._localizationProvider.getLocalizationProperties()}applyLocalization(e,t){this._localizationProvider.applyLocalization(e,t)}_initializeValue(){const e=this.value();this.isMultiValue()?this.value="string"==typeof e?A.observableArray(this._parameterHelper.createMultiValueArray(e.split(hu),this,(e=>this.parameterTypesHelper.convertSingleValue(e,this.type())))):A.observableArray():this.allowNull()&&!e?this.value(null):this.value(this.parameterTypesHelper.convertSingleValue(e,this.type()))}_preDeserialize(e){e["@LookUpSettings"]&&(e["@ValueSourceSettings"]=e["@LookUpSettings"],delete e["@LookUpSettings"])}_processObsoleteProperties(){this._obsoleteValue()&&(this.value(this._obsoleteValue().content()),this._obsoleteValue(null)),delete this._obsoleteValue}_getExpressionActions(e){if(-1===ry.propertiesWithExpressions.indexOf(e))return;const t=this.info.filter((t=>t.propertyName===e))[0],a=this[this.propertyExpressionMapper.getExpressionPropertyName(e)],i=(0,B.getLocalization)(t.displayName,t.localizationId),r=(0,B.getLocalization)("{0} Expression","ReportStringId.UD_PropertyGrid_Menu_ItemExpression"),o=A.pureComputed((()=>a.value()));if(this._disposables.push(o),!this._expressionActions[e]){const t=new pv(A.observable(this),A.observable(a));this._disposables.push(t),this._expressionActions[e]=[dv({expressionEditor:t,hint:o,title:(0,B.formatUnicorn)(r,i)})]}return this._expressionActions[e]}_updateTypeValues(){const e=this.info.filter((e=>"type"==e.propertyName))[0],t=this.parameterTypesHelper.getEnumTypeValues();(null==t?void 0:t.length)&&(e.valuesArray=e.valuesArray.concat(t))}preprocessInfo(e){this._isEditing()&&e.forEach((e=>{-1!==iy._ignoreEditors.indexOf(e.propertyName)?e.editor=void 0:e.editor&&e.editor.header===K.editorTemplates.getEditor("bool").header?e.editor=jp.getEditor("parametersCheckbox"):e.editor&&e.editor.custom===ey.viewerEditorTemplates.multiValueEditable.custom&&(e.editor={custom:"dxrd-multivalue-editing"}),iy._displayNamePatcher[e.propertyName]&&iy._displayNamePatcher[e.propertyName](e)}))}getInfo(){let e=this.info;if(this.type){const t=k.extend(!0,[],this.info);if(t.splice(t.indexOf(t.filter((e=>"value"===e.propertyName))[0]),1,this.valueInfo()),t.splice(t.indexOf(t.filter((e=>"description"===e.propertyName))[0])+1,0,au),-1!==ry.availableRangeSettingTypes.indexOf(this.type())){const e=t.filter((e=>"valueSourceSettingsType"===e.propertyName))[0];e&&(e.valuesArray=xb)}if(this.valueSourceSettings()&&this.valueSourceSettings()instanceof Ub){const e=t.filter((e=>"type"===e.propertyName))[0];e&&(e.valuesArray=mu.typeValues.filter((e=>-1!==ry.availableRangeSettingTypes.indexOf(e.value))))}e=t}return this.preprocessInfo(e),e}appendExpressionObjInfo(e){for(let t=0;t<e.length;t++){if("value"==e[t].propertyName)continue;const a=e[t];if(-1!=ry.propertiesWithExpressions.indexOf(a.propertyName)){const i=this.propertyExpressionMapper.registerExpressionProperty(a);e.splice(t+1,0,i),t++}}}getActionClassName(e){const t=!!this[this.propertyExpressionMapper.getExpressionPropertyName(e)].value();return{"dxrd-editormenu-expressions":t,"dxd-icon-accented":t}}isPropertyVisible(e){return"valueSourceSettings"===e?!!this.valueSourceSettings():e===vb.propertyName?!(this.valueSourceSettings()instanceof Ub):e==fb.propertyName?this._isEditing()||this.isMultiValue():e==au.propertyName?this._showLayoutProperties():this.propertyExpressionMapper.isPropertyVisible(e,this._isEditing())}getParameterDescriptor(){return{description:this.description.peek(),displayName:"Value",localizationId:"DevExpress.XtraReports.Parameters.Parameter.Value",name:this.parameterName.peek(),type:this.type.peek(),value:this.value.peek(),visible:this.visible.peek(),enabled:this.enabled.peek(),multiValue:this.isMultiValue.peek(),allowNull:this.allowNull.peek(),selectAllValues:this.selectAllValues.peek(),tag:this.tag.peek()}}assign(e){this.getInfo().forEach((t=>{this[t.propertyName]&&A.isWritableObservable(this[t.propertyName])&&this[t.propertyName](e[t.propertyName]())}))}getRangeParameters(){let e=[];if(this.isList){const t=this.valueSourceSettings();e=[t.startParameter(),t.endParameter()]}return e}get name(){return this.parameterName()}get specifics(){return this.isList?G.RangeSpecific:this.parameterTypesHelper.getSpecifics(this.type())}get icon(){return this.parameterTypesHelper.getIcon(this.type())}get defaultValue(){return this.parameterTypesHelper.getDefaultValue(this.type())}get displayName(){return this.parameterName()}get isList(){return this.valueSourceSettings()instanceof Ub}get dragData(){return{noDragable:this.isList}}isPropertyDisabled(e){return"allowNull"===e||"isMultiValue"===e?this.valueSourceSettings()instanceof Ub:"selectAllValues"===e?!(this.isMultiValue()&&(this.valueSourceSettings()instanceof Mb||this.valueSourceSettings()instanceof kb)):(e===vb.propertyName||e===fb.propertyName)&&(this.selectAllValues()&&!this.isPropertyDisabled("selectAllValues"))}}ry.propertiesWithExpressions=["visible","enabled","value"],ry.ParametersRefString="Parameters",ry.defaultGuidValue=mu.defaultGuidValue,ry.availableRangeSettingTypes=["System.DateTime"];const oy={propertyName:"component",modelName:"@Component",link:!0},sy={propertyName:"culture",modelName:"@Culture"},ny={propertyName:"propertyName",modelName:"@Path"},ly={propertyName:"propertyValue",modelName:"@Data"};class dy extends L.ModelSerializer{constructor(e,t){super(t),this.reportModel=e,this.isLocalized=!1}serialize(e,t,a){const i=!e;e=e||this.reportModel,a=a||{linkObjTable:[],objects:[]};const r=super.serialize(e,t,a);return i&&(r["@Ref"]=(a.objects.push(e)-1).toString(),this.setLinks(a)),r}serializeProperty(e,t,a,i,r){if(!e.localizable||!this.reportModel.isLocalized())return super.serializeProperty(e,t,a,i,r)}deserialize(e,t,a){if("DevExpress.XtraReports.UI.XtraReport"===e.controlType){this.reportModel||(this.reportModel=e);const a=t[Cf.modelName];a&&(this.isLocalized=!0,this.localizationJsonObj=Object.keys(a).map((e=>a[e])).filter((e=>e[sy.modelName]===Bu.defaultCulture)))}return super.deserialize(e,t,a)}}function cy(e){const t=e&&e.constructor&&e.constructor.unitProperties;if(t)return{reCalculateObject:a=>{for(let i=0;i<t.length;i++){const r=t[i],o=e["_"+r]||e[r],s=cy(o);s?s.reCalculateObject(a):A.unwrap(o)&&o((0,B.roundingXDecimals)(A.unwrap(o)*a))}},calcProperty:(e,t)=>e&&(0,B.roundingXDecimals)(e*t),properties:t}}class py{constructor(e,t){this.culture=A.observable(),this.component=A.observable(),this.propertyName=A.observable(),this.propertyValue=A.observable(),t=t||new L.ModelSerializer,e&&t.deserialize(this,e)}getInfo(){return[oy,sy,ny,ly]}}function uy(e){return e.component.getLocalizationProperty(e.propertyName)}function my(e,t,a){return e.filter((e=>e.component==a&&e.propertyName===t))[0]}class hy{constructor(){this.cultures={},this.count=()=>Object.keys(this.cultures).length,this.clear=e=>{if(e)this.cultures[e].properties=[],delete this.cultures[e];else{const e=this.cultures[Bu.defaultCulture];this.cultures={},this.cultures[Bu.defaultCulture]=e}}}add(e){return this.cultures[e]=new gy(e),this.cultures[e].createNodes(e,this),this.cultures[e]}get(e){return this.cultures[e]}keys(){return Object.keys(this.cultures)}}class gy{constructor(e){this.code=e,this.properties=[],this.isLocalized=A.observable(!1),this.setValue=(e,t,a)=>{const i=A.unwrap(a),r={component:e,propertyName:t,value:i&&i.toString()||i},o=my(this.properties,r.propertyName,r.component),s=this.parent?this.parent.findClosestProperty(r):void 0;o?s&&s.value==r.value?this.properties.splice(this.properties.indexOf(o),1):o.value=r.value:s&&s.value===r.value||(this._updateLocalizationInfoItem(r),this.properties.push(r)),this.isLocalized(this.properties.length>0)}}getInheritedProperties(){const e=this.properties.map((e=>e));return this.parent?this.parent.mergePropertiesWithChild(e):e}createNodes(e,t){const a=this.getParentCulture(e);a&&(t.get(a)||t.add(a),this.parent=t.get(a))}mergePropertiesWithChild(e){return this.properties.forEach((t=>{e.filter((e=>e.component===t.component&&e.propertyName===t.propertyName)).length||e.push(t)})),this.parent?this.parent.mergePropertiesWithChild(e):e}_recalculateUnit(e,t,a){let i=A.unwrap(t.from?t.from(e.value):e.value);i=a(i),e.value=t.toJsonObject?t.toJsonObject(i):i.toString()}_updateLocalizationInfoItem(e){const t=uy(e),a=t&&t.info,i=cy(e.component);a&&i&&i.properties.some((e=>e===a.propertyName))&&(e.recalculate=t=>{this._recalculateUnit(e,a,(e=>{const a=cy(e);return a?(a.reCalculateObject(t),e):i.calcProperty(e,t)}))})}_createLocalizationItem(e){const t=new py;return t.culture(this.code),t.component(e.component),t.propertyName(e.propertyName),t.propertyValue(e.value.toString()),t}serialize(e){return this.properties.reduce(((t,a)=>{if(e(a.component))if(this.code===Bu.defaultCulture){const e=uy(a);let i=A.unwrap(e.info.from?e.info.from(e.info.defaultVal):e.info.defaultVal);i=e.info.toJsonObject?e.info.toJsonObject(i):null!=i&&i.toString()||i,null!=a.value&&a.value.toString()!==i&&t.push(this._createLocalizationItem(a))}else t.push(this._createLocalizationItem(a));return t}),[])}findClosestProperty(e){for(let t=0;t<this.properties.length;t++)if(this.properties[t].component===e.component&&this.properties[t].propertyName===e.propertyName)return this.properties[t];return this.parent?this.parent.findClosestProperty(e):void 0}getParentCulture(e){if(null==e||e==Bu.defaultCulture)return;const t=e.split("-");return 1==t.length?Bu.defaultCulture:t.splice(0,t.length-1).join("-")}}class xy extends L.Disposable{constructor(e){super(),this.report=e,this.items=new hy,this.add=(e,t,a,i)=>{const r=this.items.get(e);r?r.setValue(t,a,i):this.items.add(e).setValue(t,a,i)},this.save=(e=this.report.language())=>{this.report.enumerateComponents().forEach((t=>{t.getLocalizationProperties&&t.getLocalizationProperties().forEach((a=>this.add(e,t,a.propertyName,a.value)))}))},this.apply=e=>{const t=this.items.get(e);if(t){const e=!this.report._update();e&&this.report._update(!0),t.getInheritedProperties().forEach((e=>{e.component.applyLocalization(e.propertyName,e.value)})),e&&this.report._update(!1)}else this.items.add(e),this.apply(e)},this.serialize=()=>{const e=[],t=this.report.enumerateComponents(),a={},i=e=>(0,B.replaceInvalidSymbols)(e.controlType+A.unwrap(e.name));t.forEach((e=>{a[i(e)]=e}));const r=e=>{const t=a[i(e)];return t&&e===t};return this.items.keys().forEach((t=>{e.push(...this.items.get(t).serialize(r))})),e},e._localizationItems().forEach((e=>{e.component()&&this.add(e.culture(),e.component(),e.propertyName(),e.propertyValue)}))}recalculateUnits(e){this.items.keys().forEach((t=>{t!==this.report.language()&&this.items.get(t).properties.forEach((t=>t.recalculate&&t.recalculate(e)))}))}hasCulture(e){const t=this.items.get(e);return t&&t.isLocalized()}isLocalized(){return this.items.keys().some((e=>e!==Bu.defaultCulture&&this.items.get(e).properties.length>0))}}function vy(e){const t=(e=e.replace("style=","")).split(",");return t.length>1&&(t[1]=" "+parseFloat(t[1])),t.join(",")}function fy(e){e&&-1!==e["@Path"].indexOf("Font")&&(e["@Data"]=vy(e["@Data"]))}function by(e){return e["@Font"]&&(e["@Font"]=vy(e["@Font"])),e}function yy(e){return e["@Margins"]&&(e["@Margins"]=function(e){const t=e.split(",");return t.length>4&&t.pop(),t.join(",")}(e["@Margins"])),e}function Sy(e){return e["@ReportSourceUrl"]&&delete e.ReportSource,e}function Cy(e,t){let a=null;return e.bands().forEach((e=>{if(e.absolutePosition.y.peek()<=t&&e)return a=Cy(e.bandsHolder,t)||e,!1})),a}class Dy extends bv{constructor(e,t,a){super(e,t,a),this.isCrossbandShow=A.computed((()=>!(!this.startBand()||!this.endBand())));this.endBand;this._disposables.push(this.endPoint.x=A.pureComputed({read:()=>this.startPoint.x(),write:e=>{(0,B.checkModelReady)(this.root)&&this.startPoint.x(e)}})),this._disposables.push(this.locationF.x=A.pureComputed({read:()=>this.startPoint.x(),write:e=>{(0,B.checkModelReady)(this.root)&&this.startPoint.x(e)}})),this._disposables.push(this.locationF.y=A.pureComputed({read:()=>this.startPoint.y(),write:e=>{(0,B.checkModelReady)(this.root)&&this.startPoint.y(e)}})),this.parentModel()?this._subscribeBands(this.parentModel()):this._disposables.push(this.parentModel.subscribe((e=>{e&&this._subscribeBands(e)}))),this._disposables.push(this.isCrossbandShow)}_subscribeBands(e){this._disposables.push(e.bands.subscribe((t=>{for(let a=0;a<t.length;a++){const i=t[a];if("deleted"===i.status)if(i.value===this.startBand()&&i.value===this.endBand())e.crossBandControls.remove(this);else if(i.value===this.endBand())this.endBand(e.bands()[i.index-1]),this.endPoint.y(e.bands()[i.index-1].height());else if(i.value===this.startBand()){const t=this.endBand(),a=this.endPoint.y();this.startBand(e.bands()[i.index]),this.startPoint.y(0),this.endBand(t),this.endPoint.y(a)}}}),null,"arrayChange"))}getNearestParent(e){let t=e;for(;t.parentModel();)t=t.parentModel();return t}isResettableProperty(e){return super.isResettableProperty(e)&&-1===["startPoint","endPoint","startBand","endBand"].indexOf(e)}isPropertyVisible(e){return"size"!==e&&super.isPropertyVisible(e)}getControlContainerName(){return"crossBandControls"}}Dy.unitProperties=["width","locationF","startPoint","endPoint"];class _y extends Qv{constructor(e,t){super(e,t,_y._unitProperties),this.edgeUnderCursor=A.observable({isOver:!1,x:0,y:0,isNotDropTarget:!0}),this.underCursor=A.observable({isOver:!1,x:0,y:0,isNotDropTarget:!0}),this._disposables.push(this._x.subscribe((e=>{this._endX(e)}))),this.visible=e.isCrossbandShow;let a=this._startY(),i=this._endY();this._disposables.push(A.computed((()=>{if(e.startBand()){const t=(0,B.findSurface)(e.startBand.peek());a=this._isBandCollapsed(t)?t.absolutePosition.y():this._startY()+t.absolutePosition.y()}this._y(a)}))),this._disposables.push(A.computed((()=>{if(e.endBand()){const t=(0,B.findSurface)(e.endBand.peek());i=this._isBandCollapsed(t)?t.absolutePosition.y():this._endY()+t.absolutePosition.y()}this._height(i-a)}))),this._disposables.push(A.computed((()=>{const t=this._y();if(t<0)this._y(0);else if(t!==a){const r=Cy(this.parent.bandsHolder,t);e.startBand(r.getControlModel()),a=t,this._startY(a-r.absolutePosition.y()),this._updateEndPoint(this._height(),i,a)}}))),this._disposables.push(A.computed((()=>{const e=this._height();e!==i-a&&this._updateEndPoint(e,i,a)}))),this.template="XRCrossBandLine"===e.controlType?"dxrd-crossband-line":"dxrd-crossband","XRCrossBandLine"===this.getControlModel().controlType?(this._disposables.push(this.lineCss=A.pureComputed((()=>k.extend({},this.cssCalculator.stroke(),this.cssCalculator.strokeWidthWithWidth(),this.cssCalculator.strokeDashArrayWithWidth())))),this._disposables.push(this.lineWidthCss=A.pureComputed((()=>k.extend({},this.cssCalculator.strokeWidthWithWidth()))))):(this._disposables.push(this.leftCss=A.pureComputed((()=>this.cssCalculator.crossBandBorder("Left")))),this._disposables.push(this.rightCss=A.pureComputed((()=>this.cssCalculator.crossBandBorder("Right")))),this._disposables.push(this.topCss=A.pureComputed((()=>this.cssCalculator.crossBandBorder("Top")))),this._disposables.push(this.bottomCss=A.pureComputed((()=>this.cssCalculator.crossBandBorder("Bottom"))))),this._disposables.push(e.startBand.subscribe((e=>{if(e){const t=(0,B.findSurface)(e);this._y(t.absolutePosition.y())}}))),this._disposables.push(e.endBand.subscribe((t=>{if(t){let a=(0,B.findSurface)(t).absolutePosition.y()-this._y();e.startBand()===t&&(a+=this._endY()),this._height(a)}}))),this._disposables.push(this.borderWidth=A.pureComputed((()=>e.borderWidth&&Math.floor(e.borderWidth()))))}_isBandCollapsed(e){return e&&(e.collapsed()||e.isSomeParentCollapsed())}_updateEndPoint(e,t,a){t=a+e;const i=Cy(this.parent.bandsHolder,t);i&&(i.absolutePosition.y.peek()+i.height.peek()<t&&i._height(t-i.absolutePosition.y.peek()),this._control.endBand(i.getControlModel()),this._endY(t-i.absolutePosition.y()))}_getAllBands(e){const t=e.bandsHolder.bands();let a=[];return t.forEach((e=>{a=a.concat(this._getAllBands(e))})),[].concat(t,a)}_getIntersectionBands(e,t){const a=t.filter((t=>this.isThereIntersection(e,t.absoluteRect())));let i=[].concat(a);return a.forEach((e=>{i=i.concat(this._getAllBands(e))})),i=i.filter((e=>e.controls&&e.controls().length>0)),i}_getCrossBandBoxSides(){const e=this._unitAbsoluteRect,t=this.getControlModel().borderWidth();return[{top:e.top,left:e.left,height:t,width:e.width},{top:e.bottom-t,left:e.left,height:t,width:e.width},{top:e.top,left:e.left,height:e.height,width:t},{top:e.top,left:e.right-t,height:e.height,width:t}]}get _unitAbsoluteRect(){const e=this._control.startBand()&&this._control.startBand().surface,t=this._control.endBand()&&this._control.endBand().surface,a=e?e._unitAbsoluteRect.top:0,i=t?t._unitAbsoluteRect.top:0,r=a+this._control.startPoint.y(),o=i+this._control.endPoint.y();return{top:r,left:this._control.startPoint.x(),right:this._control.startPoint.x()+this._control.width(),bottom:o,width:this._control.width(),height:o-r}}canSetRect(e){const t=this._control.root;if(t&&t.language()!==Bu.defaultCulture){const t=Cy(this.parent.bandsHolder,e.top+e.height);if(this._control.endBand()!==t._control)return!1;const a=Cy(this.parent.bandsHolder,e.top);if(this._control.startBand()!==a._control)return!1}return!0}isThereIntersectionWithControls(){let e=!1;const t=this._unitAbsoluteRect,a=this._getIntersectionBands(t,this.parent&&this.parent.getChildrenCollection()()),i="XRCrossBandBox"===this.getControlModel().controlType?this._getCrossBandBoxSides():[t];for(let t=0;t<a.length;t++){for(let r=0;r<i.length;r++)if(this.isThereIntersectionWithNeighborsCollection(i[r],a[t].controls().filter((e=>!e.isIntersectionDeny)),"_unitAbsoluteRect")){e=!0;break}if(e)break}return e}updateAbsolutePosition(){this.absolutePosition.x(this._endX()),this.absolutePosition.y(this._y()),this.afterUpdateAbsolutePosition()}isThereIntersectionWithCrossBandControls(){if("XRCrossBandBox"===this.getControlModel().controlType){let e=!1;const t=this._getCrossBandBoxSides()||[];for(let a=0;a<t.length;a++)if(super.isThereIntersectionWithCrossBandControls(t[a])){e=!0;break}return e}return super.isThereIntersectionWithCrossBandControls()}get parent(){return this._getParent()}container(){return this._control.isCrossbandShow()?(0,B.findSurface)(this.getControlModel().startBand()):null}_getChildrenHolderName(){return null}}_y._unitProperties={_x:e=>e.startPoint.x,_width:e=>e.width,_startY:e=>e.startPoint.y,_endX:e=>e.endPoint.x,_endY:e=>e.endPoint.y};class Iy{constructor(e){this._table=e,this._tableOffset={width:null,left:null},this._calculationStarted=!1,this._calculationTimeout=null,this._calculationNodes=[]}_resetState(){this._calculationNodes=[],this._tableOffset.width=null,this._tableOffset.left=null,this._calculationStarted=!1}_startCalculation(e=this._calculationNodes){this._calculationStarted=!0;const t=this._table.rows().map(((t,a)=>t.cells().map(((t,i)=>{const r=e.filter((e=>e.column===i&&e.row===a))[0],o=t.weight();return r?r.calc:()=>t.weight(o)}))));this._tableOffset.left&&this._table.location.x(this._table.location.x()+this._tableOffset.left),this._tableOffset.width&&this._table.size.width(this._table.size.width()+this._tableOffset.width),t.forEach((e=>e.forEach((e=>e())))),this._calculationStarted=!1}addTableOffset(e,t){this._tableOffset.width=e,this._tableOffset.left=t}addCalculationNode(e){this._calculationStarted||(this._calculationNodes.push(e),this._calculationTimeout&&clearTimeout(this._calculationTimeout),this._calculationTimeout=setTimeout((()=>{const e=L.UndoEngine.tryGetUndoEngine(this._table);e&&e.start(),this._startCalculation(),this._resetState(),e&&e.end()}),1))}hasCalculationNode(e,t){return this._calculationNodes.some((a=>a.column===t&&a.row===e))}}class Py{constructor(){this._spaceSymbol="&nbsp"}_$createElement(e,t){return t(k.fn.constructor("<div>").css(e)).appendTo(k.fn.constructor("body"))}$createTextElement(e,t){return this._$createElement(t,(t=>t.text(e)))}$createSpaceElement(e){return this._$createElement(e,(e=>e.html(this._spaceSymbol)))}getTextContainerSize(e,t,a=2){const i=e!==this._spaceSymbol?this.$createTextElement(e,t):this.$createSpaceElement(t);i.height(i.height()+a);const r=i[0].getBoundingClientRect(),o=Math.ceil(r.height),s=Math.ceil(r.width);return i.remove(),{width:s,height:o}}}class Ty{constructor(e,t=new Py){this._control=e,this.textElementHelper=t}_getNewRectForVetical(e,t){const a=this._control.getContentSize(),i=this._control.rect(),r=a.height-e;return"Middle"===t?{top:i.top+r/2,height:i.height-r}:"Bottom"===t?{top:i.top+r,height:i.height-r}:{height:i.height-r}}_findWidth(e,t){const a=this._control.getCssContent();if(!this._control.getWordWrap())return this.textElementHelper.getTextContainerSize(e,a).width;let i=0;["Left","Right"].forEach((e=>{i+=parseFloat(a["padding"+e])*this._control._context.zoom(),delete a["padding"+e]}));const r=e.split(" ").map((e=>this.textElementHelper.getTextContainerSize(e,a).width));if(r.some((e=>e+i>t)))return t;const o=this.textElementHelper.getTextContainerSize("&nbsp",a).width;return r.reduce(((e,a,r)=>{if(0===r)return e;const s=o+a;return e.lineWidth+=s,e.lineWidth+i>t&&(e.lineWidth=a),e.max<e.lineWidth&&(e.max=e.lineWidth),e}),{lineWidth:r[0],max:r[0]}).max+i}_getNewRectForHorizontal(e,t){const a=this._control.getContentSize(),i=this._control.rect(),r=a.width-e;return"Center"===t?{left:i.left+r/2,width:i.width-r}:"Right"===t?{left:i.left+r,width:i.width-r}:{width:i.width-r}}_getTextContainerSize(e){return this.textElementHelper.getTextContainerSize(this._control.getText(),this._control.getCssContent(e))}_getTextHeight(){const e={width:this._control.getContentSize().width/this._control._context.zoom()};return this._getTextContainerSize(e).height}fitWidth(){const e=this._findWidth(this._control.getText(),this._control.getContentSize().width),t=this._control.getAlignments().horizontal;this._control.rect(this._getNewRectForHorizontal(e,t))}fitHeight(){const e=this._getTextHeight(),t=this._control.getAlignments().vertical;this._control.rect(this._getNewRectForVetical(e,t))}fitBounds(){const e={width:this._findWidth(this._control.getText(),this._control.getContentSize().width),height:this._getTextHeight()},t=this._control.getAlignments();this._control.rect((0,B.extend)({},this._getNewRectForHorizontal(e.width,t.horizontal),this._getNewRectForVetical(e.height,t.vertical)))}}class zy{constructor(e,t=new Py){this._control=e,this.textElementHelper=t}_getTextSide(e,t,a,i){let r=!1;const o=a/i(e);let s=Math.ceil(t.size*o);for(;!r;)e.css({"font-size":s+t.unit}),i(e)>a?s-=1:r=!0;return s}_calculateFont(e,t,a){let i=!1,r=t.size;const o=e[0].getBoundingClientRect().height;if(o===a)return r;const s=o>a?-1:1;for(;!i;){r+=s,e.css({"font-size":r+t.unit});const o=e[0].getBoundingClientRect().height;o<a&&-1===s?i=!0:1===s&&o>a&&(r-=s,i=!0)}return r}_getAvailableFont(){const e=this._control.getFontModel(),t=this._control.getContentSize(),a=this._control._context.zoom();let i=e.size();if(this._control.getWordWrap()){const r=this.textElementHelper.$createTextElement(this._control.getText(),this._control.getCssContent({width:t.width/a}));i=this._calculateFont(r,{size:i,unit:e.unit()},t.height-2*a),r.remove()}else{const a=this.textElementHelper.$createTextElement(this._control.getText(),this._control.getCssContent()),r=this._getTextSide(a,{size:i,unit:e.unit()},t.height,(e=>e[0].getBoundingClientRect().height)),o=this._getTextSide(a,{size:r,unit:e.unit()},t.width,(e=>e[0].getBoundingClientRect().width));a.remove(),i=Math.min(r,o)}return i}fit(){this._control.setFontSize(this._getAvailableFont())}}class Ny extends Qv{constructor(e,t,a=Yv._unitProperties){super(e,t,a),this._$element=A.observable(null),this._font=null,this.contenttemplate="dxrd-textcontrol-content",this.multiline=e.multiline||!1,this._disposables.push(this._font=new G.FontModel(e.font));const i=new Py;this.fitTextToBoundsAction=new zy(this,i),this.fitBoundsToTextAction=new Ty(this,i),this._disposables.push(this.characterHeight=A.computed((()=>i.getTextContainerSize("a",{"font-size":this._font.size()+this._font.unit(),"font-family":this._font.family(),height:"auto",width:"auto"}).height))),this._disposables.push(A.computed((()=>{if(this._$element()){this._$element().height("auto");this._control.text();const t=this.characterHeight();if(this._$element().height()>this.rect().height&&(!e.canGrow||!e.canGrow())){const e=Math.floor(this.rect().height/t)*t;e&&this._$element().height(e+"px")}}})))}getAlignments(){const e=this._control.textAlignment();let t="",a="";for(let i=0;i<e.length;i++)e[i]===e[i].toLocaleUpperCase()?""===t?t+=e[i]:""!==t&&(a+=e[i]):""!==a?a+=e[i]:t+=e[i];return{vertical:t,horizontal:a}}getWordWrap(){return this._control.wordWrap&&this._control.wordWrap()}getCssContent(e={}){return(0,B.extend)({},this.contentCss(),{"box-sizing":"border-box",height:"auto",display:"inline-block",width:"auto",transform:"scale("+this._context.zoom()+")"},e)}getContentSize(){return this.contentSizes()}getText(){return this.displayText()}getFontModel(){return this._font}setFontSize(e){this._font.size(e)}cacheElementContent(e){this._$element(null),this._$element(e)}fitTextToBounds(){this.fitTextToBoundsAction.fit()}fitWidthToText(){this.fitBoundsToTextAction.fitWidth()}fitHeightToText(){this.fitBoundsToTextAction.fitHeight()}fitBoundsToText(){this.fitBoundsToTextAction.fitBounds()}}var Ey;!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal"}(Ey||(Ey={}));class wy extends Ny{_getNeededProperties(e){return this.direction===Ey.vertical?{positionProperty:void 0===e.top?this.rect().top:e.top,secondaryPositionProperty:e.bottom,sizeProperty:e.height}:{positionProperty:void 0===e.left?this.rect().left:e.left,secondaryPositionProperty:e.right,sizeProperty:e.width}}_generateRect(e,t){return this.direction===Ey.vertical?(e.top=void 0===t.positionProperty?e.top:t.positionProperty,e.bottom=void 0===t.secondaryPositionProperty?e.bottom:t.secondaryPositionProperty,e.height=void 0===t.sizeProperty?e.height:t.sizeProperty):(e.left=void 0===t.positionProperty?e.left:t.positionProperty,e.right=void 0===t.secondaryPositionProperty?e.right:t.secondaryPositionProperty,e.width=void 0===t.sizeProperty?e.width:t.sizeProperty,delete e.height),e}beforeRectUpdated(e){const t=this._getNeededProperties(e),a=this._getNeededProperties(this.rect()),i=this.getControlModel(),r=this.parent.getControlModel();if(void 0!==t.secondaryPositionProperty&&(t.positionProperty=a.positionProperty,t.sizeProperty=t.secondaryPositionProperty<t.positionProperty?0:t.secondaryPositionProperty-t.positionProperty),t.positionProperty>a.secondaryPositionProperty)return t.positionProperty=a.secondaryPositionProperty,this._generateRect(e,t);void 0===t.sizeProperty&&(t.sizeProperty=a.sizeProperty+a.positionProperty-t.positionProperty);const o=this.parent._getChildrenHolderName(),s=parseInt(a.positionProperty)>t.positionProperty,n=parseInt(a.sizeProperty)<t.sizeProperty&&!s,l=r[o]().indexOf(i);if(0!==l&&s){const e=this._getNeededProperties(r[o]()[l-1].surface.rect());e.positionProperty>t.positionProperty&&(t.sizeProperty-=e.positionProperty-t.positionProperty,t.positionProperty=e.positionProperty)}if(n&&l!==r[o]().length-1){const e=this._getNeededProperties(r[o]()[l+1].surface.rect());e.secondaryPositionProperty<t.positionProperty+t.sizeProperty&&(t.sizeProperty=e.secondaryPositionProperty-t.positionProperty)}return this._generateRect(e,t)}}class Ry extends Kv{constructor(e,t,a){super(e,t,a),this._disposables.push(this.width=A.pureComputed({read:()=>{const e=t.width()*this.weight()/t.cellsTotalWeight();return(0,B.roundingXDecimals)(e,!1,3)},write:e=>{const a=t.cells().indexOf(this);if(t.hasCalculationNode(a))return;const i=e-this.width();a<t.cells().length-1?(t.addCellToCalculation(a,i),t.addCellToCalculation(a+1,-1*i)):(t.addColumnToCalculation(i,!0),t.addTableOffset(i))}}).extend({deferred:!0})),this.textEditOptions=new ph(e.EditOptions||{},this,a),this.height=t.height,this.size=new Q.Size(0,0),this.size.isPropertyDisabled=e=>"height"===e,this._disposables.push(this.size.height=A.pureComputed({read:()=>this.height(),write:e=>{(0,B.checkModelReady)(this.root)&&this.height(e)}})),this._disposables.push(this.size.width=A.pureComputed({read:()=>this.width(),write:e=>{(0,B.checkModelReady)(this.root)&&this.width(e)}})),this._disposables.push(this.controls.subscribe((e=>e.length>0&&this.textEditOptions.enabled(!1)))),this._disposables.push(this.left=A.pureComputed({read:()=>{const e=t.cells().indexOf(this);if(e>0){const a=t.cells()[e-1];return a.left()+a.width()}return 0},write:e=>{if(e===this.left())return;const a=t.cells().indexOf(this),i=e-this.left();a>0?(t.addCellToCalculation(a-1,i),t.addCellToCalculation(a,-1*i)):(t.addColumnToCalculation(-1*i),t.addTableOffset(-1*i,i))}}).extend({deferred:!0}))}}Ry.unitProperties=["paddingObj"];class By extends wy{constructor(e,t){super(e,t,By._unitProperties),this._row=this.parent.getControlModel(),this._table=this._row.parentModel(),this._cellIndex=()=>this._row.cells().indexOf(this.getControlModel()),this._rowIndex=()=>this._table.rows().indexOf(this._row),this.direction=Ey.horizontal,this.multiline=e.multiline,this._disposables.push(this.contentSizes=A.pureComputed((()=>{if(this._isShowBorder("Left"))return this.cssCalculator.contentSizeCss(this.rect().width,this.heightWithRowSpan(),this._context.zoom());const t=-1===e.borders().indexOf("All")?e.borders().split(/\s*,\s*/g):["Left","Top","Right","Bottom"],a=t.indexOf("Left");let i=this.rect().width;return-1!==a&&(t.splice(a,1),i+=1),this.cssCalculator.contentSizeCss(i,this.heightWithRowSpan(),this._context.zoom(),t.join(","))}))),this._disposables.push(this.css=A.pureComputed((()=>{const e=this.cssCalculator.cellBorder("Bottom",this._context.zoom()),t=this.cssCalculator.cellBorder("Right",this._context.zoom()),a=this._isShowBorder("Left")?this.cssCalculator.cellBorder("Left",this._context.zoom()):this.cssCalculator.createControlBorder("",0,"transparent",["Left"],"Left"),i=this._isShowBorder("Top")?this.cssCalculator.cellBorder("Top",this._context.zoom()):{borderTop:""};return k.extend({},this.cssCalculator.fontCss(),this.cssCalculator.backGroundCss(),t,e,i,a,this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss())}))),this._disposables.push(this.rowSpan=A.pureComputed((()=>{if(this.controls().length>0)return 1;for(let e=1;e<=this._rowIndex()&&this._rowIndex()-e>=0;e++){const t=this._getAdjacentCellByRowIndex(this._rowIndex()-e);if(t&&t.surface.rowSpan()>e)return 0}const t=e.rowSpan();let a=1;const i=this._table.rows().length;for(let r=1;r<t&&r+this._rowIndex()<i;r++,a++){const t=this._getAdjacentCellByRowIndex(this._rowIndex()+r);if(!t||t.width()!=e.width()||t.rowSpan()>1||t.controls().length>0)return a}return a}))),this._disposables.push(this.heightWithRowSpan=A.pureComputed((()=>{let e=this.rect().height;if(this.rowSpan()>1)for(let t=1;t<this.rowSpan();t++){const a=this._getAdjacentCellByRowIndex(this._rowIndex()+t);a&&a.surface&&(e+=a.surface.rect().height)}else if(0===this.rowSpan())return 0;return e}))),this.offsetZIndex=()=>{const e=this.rowSpan()>1;return(e&&(this.selected()||this.focused())?2:e&&1)||null},this.getUsefulRect=()=>{const t=A.unwrap(e.borderWidth),a=e.borders(),i={top:0,left:0,width:this.rect().width,height:this.rect().height};if(t){const e="All"===a;(e||a.indexOf("Top")>=0)&&this._isShowBorder("Top")&&(i.top+=t,i.height-=t),(e||a.indexOf("Right")>=0)&&(i.width-=t),(e||a.indexOf("Bottom")>=0)&&(i.height-=t),(e||a.indexOf("Left")>=0)&&this._isShowBorder("Left")&&(i.left+=t,i.width-=t)}return i}}_getAdjacentCellByRowIndex(e){const t=this._table.rows()[e];return t&&t.cells&&t.cells().filter((e=>0===Math.round(e.left()-this._control.left())))[0]}_isShowBorder(e){if("Top"===e){const e=this._getAdjacentCellByRowIndex(this._rowIndex()-1),t=e&&e.borders();return 0===this._rowIndex()||t&&"All"!==t&&-1===t.indexOf("Bottom")}if("Left"===e){const e=this._row.cells()[this._cellIndex()-1],t=e&&e.borders();return 0===this._cellIndex()||t&&"All"!==t&&-1===t.indexOf("Right")}}dispose(){super.dispose(),this.disposeObservableArray(this.controls),this.resetObservableArray(this.controls)}selectColumn(e){this.parent.parent.selectColumn(e,this)}checkParent(e){return this.parent.parent===e}isThereIntersectionWithUsefulArea(){return!1}isThereIntersectionWithCrossBandControls(){return!1}isThereIntersectionWithNeighborsCollection(){return!1}isThereIntersectionWithParentCollection(){return!1}beforeRectUpdated(e){const t=this.rowSpan.peek();for(let a=1;a<t;a++){const t=this._getAdjacentCellByRowIndex(this._rowIndex()+a);t&&t.surface.rect(e)}return super.beforeRectUpdated(e)}canDrop(){return super.canDrop()&&1===this.rowSpan()}getAdornTemplate(){let e=super.getAdornTemplate();return e=Yv._appendValue(e,"dxrd-surface-hidden",!this._control.visible()||this._control.parentModel()&&!this._control.parentModel().visible()),e}}By._unitProperties={_height:e=>e.height,_width:e=>e.width,_x:e=>e.left};class Vy extends Kv{constructor(e,t,a){super(e,t,a),this.top=A.observable(0),this.width=t.size.width,this.cells=A.observableArray(),this._disposables.push(this.cellsTotalWeight=A.pureComputed((()=>{let e=0;return this.cells().forEach((t=>{e+=t.weight()})),e}))),this._disposables.push(this.pixelWidthWeight=A.pureComputed((()=>0!==t.size.width()?this.cellsTotalWeight()/t.size.width():0))),this._disposables.push(this.height=A.pureComputed({read:()=>{const e=t.size.height()*this.weight()/t.rowsTotalWeight();return(0,B.roundingXDecimals)(e)},write:e=>{const a=e-this.height(),i=t.pixelHeightWeight()*e,r=i-this.weight(),o=t.rows().indexOf(this);this.weight(i),o<t.rows().length-1?t.rows()[o+1].weight(t.rows()[o+1].weight()-r):t.size.height(t.size.height()+a)}})),this.size=new Q.Size(0,0),this._disposables.push(this.size.height=A.pureComputed({read:()=>this.height(),write:e=>{(0,B.checkModelReady)(this.root)&&this.height(e)}})),this._disposables.push(this.size.width=A.pureComputed({read:()=>this.width(),write:e=>{(0,B.checkModelReady)(this.root)&&this.width(e)}}));const i=(0,L.deserializeArray)(e.Cells,(e=>this.getControlFactory().createControl(e,this,a)));this.cells(i());const r=A.observable(null);this._disposables.push(this.top=A.pureComputed({read:()=>{const e=t.rows().indexOf(this);if(e>0){const a=t.rows()[e-1];r(a.top()+a.height())}else r(0);return r()},write:e=>{t.updateRowLocation(this,r()-e),r(e)}}))}dispose(){super.dispose(),this.disposeObservableArray(this.cells),this.resetObservableArray(this.cells)}hasCalculationNode(e){return this.parentModel().tableCalculationProvider.hasCalculationNode(this.parentModel().rows().indexOf(this),e)}addCellToCalculation(e,t){const a=this.cells()[e],i=this.pixelWidthWeight()*(a.width()+t);this.parentModel().tableCalculationProvider.addCalculationNode({column:e,row:this.parentModel().rows().indexOf(this),calc:()=>{a.weight(i)}})}addColumnToCalculation(e,t){this.parentModel().addColumnToCalculation(e,t)}addTableOffset(e,t){this.parentModel().tableCalculationProvider.addTableOffset(e,t)}addChild(e,t,a){if(!(e instanceof Ry))throw new Error("Trying to add non a cell to the table row.");-1===this.cells().indexOf(e)&&(e.parentModel(this),null!=t?this.cells.splice(t,0,e):this.cells.push(e),k.isFunction(a)&&a({parent:this,model:e}))}insertCellCopy(e,t,a){const i=e.weight()/2,r=new Ry({"@ControlType":"XRTableCell","@Weight":i,"@Multiline":"true"},this),o=this.cells.indexOf(e);this.addChild(r,o+(t?1:0),a),r.text&&r.text(r.name()),e.weight(i)}removeChild(e){if(this.cells().length>0&&-1!==this.cells().indexOf(e)){const t=this.cells().indexOf(e),a=e.weight();this.cells.splice(t,1),this.cells()[t]?this.cells()[t].weight(this.cells()[t].weight()+a):this.cells()[t-1]&&this.cells()[t-1].weight(this.cells()[t-1].weight()+a),0===this.cells().length&&this.parentModel().removeChild(this)}}}Vy.unitProperties=[];class My extends wy{constructor(e,t){super(e,t,My._unitProperties),this.direction=Ey.vertical,this._disposables.push(this.css=A.pureComputed((()=>k.extend({},this.cssCalculator.backGroundCss())))),this._disposables.push(this.contentCss=A.pureComputed((()=>({}))))}_getChildrenHolderName(){return"cells"}dispose(){super.dispose(),this.disposeObservableArray(this.cells),this.resetObservableArray(this.cells)}getAdornTemplate(){let e=My._appendValue("","dxrd-image-surface-bounded",this.hasBindings);return e=My._appendValue(e,"dxrd-uiselected",this.selected()),e}}My._unitProperties={_height:e=>e.height,_width:e=>e.width,_y:e=>e.top};class ky extends Kv{constructor(e,t,a){super(e,t,a),this.rows=A.observableArray(),this._disposables.push(this.rowsTotalWeight=A.pureComputed((()=>{let e=0;return this.rows().forEach((t=>{e+=t.weight()})),e}))),this._disposables.push(this.pixelHeightWeight=A.pureComputed((()=>0!==this.size.height()?this.rowsTotalWeight()/this.size.height():0)));const i=(0,L.deserializeArray)(e.Rows,(e=>new Vy(e,this,a)));this.rows(i()),this.tableCalculationProvider=new Iy(this)}_getAdjacentCells(e){const t=[];return this.rows().forEach((a=>{a.cells().filter((t=>e(t))).forEach((e=>{t.push(e)}))})),t}dispose(){super.dispose(),this.disposeObservableArray(this.rows),this.resetObservableArray(this.rows)}updateRowLocation(e,t){const a=e.height(),i=this.rows().indexOf(e);if(i>0){const e=this.rows()[i-1].height,a=e()-t;e(a>0?a:0)}else{const i=e.weight()/a*t;e.weight(e.weight()+i),this.location.y(this.location.y()-t),this.size.height(this.size.height()+t)}}addChild(e,t,a){if(!(e instanceof Vy))throw new Error("Trying to add non a row to the table.");-1===this.rows().indexOf(e)&&(e.parentModel(this),null!=t?this.rows.splice(t,0,e):this.rows.push(e),k.isFunction(a)&&a({parent:this,model:e}))}insertRow(e,t,a){const i=e.height(),r=new Vy({"@ControlType":"XRTableRow","@Weight":e.weight(),"@HeightF":i},this),o=this.rows.indexOf(e);e.cells().forEach((e=>{r.createChild({"@ControlType":"XRTableCell","@Weight":e.weight(),"@Multiline":"true"})})),this.addChild(r,o+(t?0:1),a),this.size.height(this.size.height()+i)}removeChild(e){if(this.rows().length>0&&-1!==this.rows().indexOf(e)){const t=this.rows().indexOf(e);this.size.height(this.size.height()-e.height()),this.rows.splice(t,1)}0===this.rows().length&&this.parentModel().removeChild(this)}insertColumn(e,t,a){const i=e.surface.rect().left,r=e.surface.rect().left+e.surface.rect().width;this._getAdjacentCells((e=>t?e.surface.rect().left+e.surface.rect().width===r:e.surface.rect().left===i)).forEach((e=>{e.parentModel().insertCellCopy(e,t,a)}))}addColumnToCalculation(e,t=!1){const a=this.rows();for(let i=0;i<a.length;i++)a[i].addCellToCalculation(t?a[i].cells().length-1:0,e)}}class Ay extends Qv{constructor(e,t){super(e,t,Ay._unitProperties),this._isUpdating=!1,this.template="dxrd-table",this.selectiontemplate="dxrd-table-selection",this._disposables.push(this.css=A.pureComputed((()=>({})))),this._disposables.push(this.contentCss=A.pureComputed((()=>({}))))}_getChildrenHolderName(){return"rows"}dispose(){super.dispose(),this.disposeObservableArray(this.rows),this.resetObservableArray(this.rows)}_isCellInColumn(e,t,a){return Math.abs(e.rect().left-t)<.01&&Math.abs(e.rect().left+e.rect().width-a)<.01}selectColumn(e,t){e.initialize(this);const a=t.rect().left,i=a+t.rect().width;e.selecting({control:t,cancel:!1}),this.rows().forEach((t=>{t.cells().forEach((t=>{if(this._isCellInColumn(t,a,i))return e.selecting({control:t,cancel:!1}),!0}))}))}isThereIntersectionWithChildCollection(){return!1}}Ay._unitProperties={_x:e=>e.location.x,_y:e=>e.location.y,_width:e=>e.size.width,_height:e=>e.size.height};class Ly extends bv{constructor(e,t,a){super(yy(e=e.XtraReportsLayoutSerializer||e),null,t=t||new dy),this.pageWidth()===yf.defaultVal&&this.pageWidth(Ly.defaultPageSize.width),this.pageHeight()===Sf.defaultVal&&this.pageHeight(Ly.defaultPageSize.height),this.knownEnums=a,this._dataBindingMode=A.observable(""),this._update=A.observable(!1),this._disposables.push(this.isModelReady=A.pureComputed((()=>!this._update()))),this._disposables.push(this.key=A.pureComputed((()=>this.name()))),this._disposables.push(this.displayName=A.pureComputed({read:()=>this.displayNameObject(),write:e=>{this.displayNameObject(e)}})),this.dataSourceRefs=[],this.dataSourceHelper=A.observable(),this.stylesHelper=A.observable(),this.dataBindingsProvider=A.observable(),this._disposables.push(this.parameterHelper=new uu(this)),this.parameterHelper.initialize(a),this._disposables.push(this.measureUnit.subscribe((e=>{this._update(!0),this._recalculateUnits(e),this._updatePageSize(this.paperKind.peek()),this._update(!1)}))),this._disposables.push(this.landscape.subscribe((e=>{const t=this.pageWidth();this.pageWidth(this.pageHeight()),this.pageHeight(t)}))),this._disposables.push(this.dataSource.subscribe((e=>{e||this.dataMember(null)}))),this.styles=(0,L.deserializeArray)(e.StyleSheet,(e=>new yg(e,t))),this._objectStorage=(0,L.deserializeArray)(e.ObjectStorage,(e=>Yb(e,this.dsHelperProvider,t))),this._componentStorage=(0,L.deserializeArray)(e.ComponentStorage,(e=>Yb(e,this.dsHelperProvider,t))),this.objectStorage=Ly.createObjectStorage(this._componentStorage,this._objectStorage,(e=>this._disposables.push(e))),this.objectsStorageHelper=new Zb(this.objectStorage,this.dsHelperProvider),this._disposables.push(this.objectsStorageHelper),this.parameters=(0,L.deserializeArray)(e.Parameters,(e=>new ry(e,this,t))),this.parameterPanelLayoutItems=(0,L.deserializeArray)(e.ParameterPanelLayoutItems,(e=>nu.createLayoutItem(e,this,t))),this.parameterHelper.updateParameterLayoutItems(),this.objectStorage().forEach((e=>{e instanceof Qb&&e.tableInfoCollection().forEach((e=>{e.filterString().helper.parameters=this.parameters}))})),this.bands=(0,B.deserializeChildArray)(e.Bands,this,(e=>this.createControl(e,t))),Xv(this.bands()),this.bands().sort(Mv),this.extensions=(0,L.deserializeArray)(e.Extensions,(e=>new gh(e,t))),this.crossBandControls=(0,L.deserializeArray)(e.CrossBandControls,(e=>this.createControl(e,t))),this.calculatedFields=(0,L.deserializeArray)(e.CalculatedFields,(e=>new pb(e,t))),this.watermarks=(0,L.deserializeArray)(e.Watermarks,(e=>new Qx(e,t))),this._initializeBands(),this.formattingRuleSheet=(0,L.deserializeArray)(e.FormattingRuleSheet,(e=>new Th(e,this,t))),this.components=A.observableArray([]),this._disposables.push(this.formattingRuleSheet.subscribe((e=>{e.forEach((e=>{e.value.name()||e.value.name((0,B.getUniqueNameForNamedObjectsArray)(this.formattingRuleSheet(),"formattingRule")),e.value.parent||(e.value.parent=this)}))}),null,"arrayChange")),this._disposables.push(this.margins.left.subscribe((e=>{this.isModelReady()&&e>this.pageWidth()-this.margins.right()&&this.margins.right(this.pageWidth()-this.margins.left())}))),this._disposables.push(this.margins.right.subscribe((e=>{this.isModelReady()&&e>this.pageWidth()-this.margins.left()&&this.margins.left(this.pageWidth()-this.margins.right())}))),this._disposables.push(this.paperKind.subscribe((e=>{"Custom"!==e&&this._updatePageSize(e)})));const i=A.pureComputed((()=>(0,B.getFullPath)(this.getPath("dataMember"),this.dataMember()))),r=this.dataSource,o=A.pureComputed((()=>!r())),s=new K.FilterStringOptions(this._filterString,i,o);this._disposables.push(i),this._disposables.push(o),s.helper.parameters=A.computed((()=>vu(this.parameters()))),this._disposables.push(s.helper.parameters),this.filterString=s,this._scriptReferencesString=A.observable(this.scriptReferencesString()),this._disposables.push(this.scriptReferencesString=A.pureComputed({read:()=>this._scriptReferencesString(),write:e=>{this._scriptReferencesString((0,fg.transformNewLineCharacters)(e))}})),this._localizationItems=(0,L.deserializeArray)(e.LocalizationItems,(e=>new py(e,t))),this._disposables.push(this._localization=new xy(this)),this._localizationItems.removeAll();let n=Bu.defaultCulture;this.language=A.observable(n),this._localization.apply(n),this._disposables.push(this.language.subscribe((e=>{this._localization.save(n),this._localization.apply(e),n=e})))}static createObjectStorage(e,t,a=(e=>{})){const i=A.observableArray([...t(),...e()]);return a(i.subscribe((a=>{a.forEach((a=>{"added"===a.status?a.value.objectType&&Ly.availableDataSourceTypes.some((e=>-1!==a.value.objectType().indexOf(e)))?e.push(a.value):t.push(a.value):"deleted"===a.status&&(a.value.objectType&&Ly.availableDataSourceTypes.some((e=>-1!==a.value.objectType().indexOf(e)))&&-1!==e().indexOf(a.value)?e.remove(a.value):t.remove(a.value))}))}),null,"arrayChange")),i}_getDpi(e){switch(e){case"HundredthsOfAnInch":return 100;case"TenthsOfAMillimeter":return 254;case"Pixels":return 96}}_recalculateUnits(e){const t=this._getDpi(e),a=t/this._innerDpi(),i=cy(this);i&&i.reCalculateObject(a),this.enumerateComponents((e=>{e().forEach((e=>{const t=cy(e);t&&t.reCalculateObject(a)}))})),this._localization.recalculateUnits(a),this._innerDpi(t)}_updatePageSize(e){const t="Custom"===e?this.size:(0,B.getPaperSize)(e);this.pageHeight((0,B.roundingXDecimals)(A.unwrap(this.landscape()?t.width:t.height)*(this._innerDpi.peek()/100),!1,0)),this.pageWidth((0,B.roundingXDecimals)(A.unwrap(this.landscape()?t.height:t.width)*(this._innerDpi.peek()/100),!1,0))}enumerateComponents(e=(()=>{})){const t=[];return(0,B.collectionsVisitor)(this,e,["controls","bands","subBands","crossBandControls","rows","cells","parameters","fields","levels","styles"],t),[].concat.apply([],t)}createLocalizationProvider(){return new xv(this)}createReportViewModel(e,t){return new Ly(e,t)}findStyle(e){for(let t=0;t<this.styles().length;t++)if(this.styles()[t].name()===e)return this.styles()[t];return null}_getBandForToc(e){let t=null;return e.some((e=>(av(e)?e.bands().length>0&&(t=this._getBandForToc(e.bands())):t=e,!!t))),t}getOrCreateBandForToC(e=!0){const t=["ReportHeaderBand","ReportFooterBand"],a=this.bands().filter((e=>{const a=t.indexOf(e.controlType);return-1!==a&&(t.splice(a,1),!0)}));let i=this._getBandForToc(a);const r=t.length>0;return e&&!i&&r&&(i=this.createChild({"@ControlType":t[0]})),{band:i,canAdd:r||!!i}}canAddToC(){return this.getOrCreateBandForToC(!1).canAdd}_initializeBands(){const e=t=>t.reduce(((t,a)=>(t.push(a,...e(A.unwrap(a.bands)||[])),t)),[]),t=e(this.bands()).map((e=>e.name()));0===this.bands().length?this.createChild({"@ControlType":"DetailBand","@Name":"Detail1"}):null===(0,B.getFirstItemByPropertyValue)(this.bands(),"controlType","DetailBand")&&null===(0,B.getFirstItemByPropertyValue)(this.bands(),"controlType","VerticalDetailBand")&&this.createChild({"@ControlType":"DetailBand","@Name":(0,B.getUniqueName)(t,"Detail")}),null===(0,B.getFirstItemByPropertyValue)(this.bands(),"controlType","TopMarginBand")&&this.createChild({"@ControlType":"TopMarginBand","@Name":(0,B.getUniqueName)(t,"TopMargin")}),null===(0,B.getFirstItemByPropertyValue)(this.bands(),"controlType","BottomMarginBand")&&this.createChild({"@ControlType":"BottomMarginBand","@Name":(0,B.getUniqueName)(t,"BottomMargin")})}isPropertyDisabled(e){return"pageWidth"===e||"pageHeight"===e?"Custom"!==this.paperKind():"dataMember"===e?null===this.dataSource():super.isPropertyDisabled(e)}dispose(){super.dispose(),this.disposeObservableArray(this.parameters),this.disposeObservableArray(this.calculatedFields),this.disposeObservableArray(this.watermarks),this.disposeObservableArray(this.crossBandControls),this.disposeObservableArray(this.formattingRuleSheet),this.disposeObservableArray(this.bands),this.disposeObservableArray(this.objectStorage),this.disposeObservableArray(this.styles),this.resetObservableArray(this.extensions),this.resetObservableArray(this.objectStorage),this.resetObservableArray(this.parameters),this.resetObservableArray(this.parameterPanelLayoutItems),this.resetObservableArray(this.calculatedFields),this.resetObservableArray(this.watermarks),this.resetObservableArray(this.crossBandControls),this.resetObservableArray(this.formattingRuleSheet),this.resetObservableArray(this.bands),this.resetObservableArray(this.styles),this.resetObservableArray(this.components)}preInitProperties(){this.controlType="DevExpress.XtraReports.UI.XtraReport"}isLocalized(){return this._localization.isLocalized()}initialize(){super.initialize(),this.size.height=this.pageHeight,this.size.width=this.pageWidth}getNearestParent(e){return this}addChild(e){e instanceof Dy?(e.parentModel(this),e.startBand(this.bands()[0]),e.endBand(this.bands()[0]),this.crossBandControls.push(e)):e instanceof Gv?nb(this,e):(0,B.NotifyAboutWarning)("Attempt to add wrong child control.")}removeChild(e){e instanceof Dy?this.crossBandControls.splice(this.crossBandControls().indexOf(e),1):e instanceof Gv?this.bands().length>1&&this.bands.splice(this.bands().indexOf(e),1):(0,B.NotifyAboutWarning)("Attempt to remove wrong child control.")}clearLocalization(e=this.language()){this._localization.items.clear(e),this._localization.apply(e)}serialize(){return this._localization.save(),this.isLocalized()?this._localizationItems(this._localization.serialize()):(this._localization.apply(Bu.defaultCulture),this._localization.items.clear()),new dy(this).serialize()}save(){this.parameterHelper.clearLayoutItems();const e=this.serialize();return this.onSave&&this.onSave(e),e}getPath(e){const t=A.unwrap(this.dataSourceHelper);if(!t)return;let a=t.getDataSourcePath(this.dataSource());return"expression"===e&&this.dataMember()&&(a+="."+this.dataMember()),a}clone(e){const t=[];let a=[...this.dataSourceRefs];this.objectStorageIsEmpty()&&e&&e.length&&(a=[...a,...e]);const i=(e,i=!1)=>{e.reduce(((e,t,r)=>{const o=a.filter((e=>e.ref===t._model["@Ref"]))[0];return o&&e.push({index:r,isComponentStorage:i,dataSourceRef:(0,B.extend)(!0,{},o)}),e}),t)};i(this._objectStorage()),i(this._componentStorage(),!0);const r=new Ly(this.save());return r.dataSourceRefs=[],t.forEach((e=>{const t=e.isComponentStorage?r._componentStorage():r._objectStorage();e.dataSourceRef.ref=t[e.index]._model["@Ref"],r.dataSourceRefs.push(e.dataSourceRef)})),r}isStyleProperty(e){return!1}get dataBindingMode(){return A.unwrap(this._dataBindingMode)}}Ly.availableDataSourceTypes=["DataSource","ObjectSource"],Ly.bandsTypeOrdering=["TopMarginBand","ReportHeaderBand","PageHeaderBand","GroupHeaderBand","DetailBand","DetailReportBand","GroupFooterBand","ReportFooterBand","PageFooterBand","BottomMarginBand"],Ly.unitProperties=["snapGridSize","margins"],Ly.defaultPageSize={width:850,height:1100};class $y extends Q.SurfaceElementArea{constructor(e,t=A.observable(1)){super(e,{measureUnit:e.measureUnit,zoom:t},$y._unitProperties),this.report=e,this._watermarkSubscriptions=[],this._assignSelectedWatermark=()=>{this._watermarkSubscriptions.push(this.watermark.imageSource.subscribe((e=>{this._updateWatermarkImageNaturalSize(e)}))),this._updateWatermarkImageNaturalSize(this.watermark.imageSource.peek()),this._watermarkSubscriptions.push(this._watermarkTextRenderingResult=A.pureComputed((()=>{const e=document.createElement("canvas"),t=(0,B.unitsToPixel)(this.report.pageWidth(),this.measureUnit()),a=(0,B.unitsToPixel)(this.report.pageHeight(),this.measureUnit());e.width=t,e.height=a;const i=e.getContext("2d");switch(i.translate(t/2,a/2),this.watermark.textDirection()){case"Vertical":i.rotate(-Math.PI/2);break;case"ForwardDiagonal":i.rotate(-50*Math.PI/180);break;case"BackwardDiagonal":i.rotate(50*Math.PI/180)}i.textAlign="center",i.textBaseline="middle";const r=new B.CssCalculator(this.watermark,A.observable(!1)).fontCss();return i.font=[r.fontStyle.toLowerCase(),r.fontWeight.toLowerCase(),r.fontSize,r.fontFamily].filter((e=>e)).join(" "),i.fillStyle=this.watermark.foreColor(),i.fillText(this.watermark.text(),0,0),e.toDataURL("image/png")})))},this.surfaceContextMenuHandler=(e,t,a)=>{if("dxrd-band-marker-content"===a.target.className)return;const i=e.focused&&e.focused();i&&(i instanceof Ay&&e.dropTarget instanceof By&&i.rows&&i.rows().some((t=>t===e.dropTarget.parent))||!e.disabled()&&e.clickHandler(e.dropTarget?null:t,a))},this.allowMultiselect=!1,this.locked=!1,this.focused=A.observable(!1),this.selected=A.observable(!1),this.templateName=A.observable("dxrd-report"),this.underCursor=A.observable(new B.HoverInfo),this.crossBandControls=A.observableArray(),this.minHeight=A.observable(),this.maxMarkerWidth=A.observable(),this.validationMode=A.observable(!1),this.parent=null,this.zoom=t,this.dpi=e.dpi,this._disposables.push(this.rtl=A.pureComputed((()=>e.rtl()&&"Yes"===e.rtlLayout()))),this.measureUnit=e.measureUnit,this._context=this,this._watermarkImageNaturalSize=A.observable({width:0,height:0}),this.drawWatermark=e.drawWatermark,this._disposables.push(e.watermarks.subscribe((t=>{t.forEach((t=>{if("deleted"===t.status){0===t.index&&(this._watermarkSubscriptions.forEach((e=>e.dispose())),e.watermarks().length>0&&this._assignSelectedWatermark())}else"added"===t.status&&1===e.watermarks().length&&this._assignSelectedWatermark()}))}),null,"arrayChange")),this.watermark&&this._assignSelectedWatermark(),this._disposables.push(this._width=A.pureComputed({read:()=>this.pageWidth()})),this._disposables.push(this._height=A.pureComputed({read:()=>this.pageHeight()})),this.margins={bottom:this._bottom,left:this._createMargin("_left","_right"),right:this._createMargin("_right","_left"),top:this._top},this._disposables.push(this.pageWidthWithoutMargins=A.computed((()=>this.pageWidth()-this.margins.left()-this.margins.right()))),this._disposables.push(this.margins.left),this._disposables.push(this.margins.right),this._disposables.push(this.bandsHolder=new Vv(this)),this.bandsHolder.initialize(e.bands),this._disposables.push(A.computed((()=>{const e=Av(this.bandsHolder);kv(this.bandsHolder,e,0),this.maxMarkerWidth(yv*e+22)}))),this._disposables.push(this.effectiveHeight=A.pureComputed((()=>{const e=this.bandsHolder.getHeight();return this.minHeight(e),e}))),this._disposables.push((0,B.createObservableArrayMapCollection)(e.crossBandControls,this.crossBandControls,this._createSurface)),this._disposables.push(this.ghostContainerOffset=A.pureComputed((()=>this.rtl()?0:this.margins.left())));const a=new Fy(this.margins,this.rtl,this.pageWidth);this._disposables.push(a),this.rightMarginOffset=a.rightMarginOffset,this.leftMarginOffset=a.leftMarginOffset,this.rightMarginResizableOffset=a.rightMarginResizableOffset,this.leftMarginResizableOffset=a.leftMarginResizableOffset,this.leftMarginResizeOptions=a.leftMarginOptions,this.rightMarginResizeOptions=a.rightMarginOptions}_createMargin(e,t){return A.pureComputed({read:()=>this.rtl()?this[t]():this[e](),write:a=>{this.rtl()?this[t](a):this[e](a)}})}_updateWatermarkImageNaturalSize(e){if(!e)return;const t=new Image;t.src=e.getDataUrl(),t.onload=e=>{this._watermarkImageNaturalSize({width:t.naturalWidth,height:t.naturalHeight}),t.onload=null}}get _unitAbsoluteRect(){return{top:0,left:0,right:this._control.size.width(),bottom:this._control.size.height(),width:this._control.size.width(),height:this._control.size.height()}}dispose(){super.dispose(),this._watermarkSubscriptions.forEach((e=>e.dispose())),this.disposeObservableArray(this.crossBandControls),this.resetObservableArray(this.crossBandControls)}get watermark(){return this.report.watermarks()[0]}getChildrenCollection(){return this.bandsHolder.bands}isFit(e){return e.underCursor().y>=-.1&&e.underCursor().x>=0&&(this===e?this.effectiveHeight():e.rect().height)>e.underCursor().y&&this.pageWidth()-this.margins.left()>e.underCursor().x}canDrop(){return!0}wrapRtlProperty(e,t,a){const i=A.computed({read:e.value,write:a=>{t.peek().start();const i=this.rtl.peek();if(e.value(a),i!==this.rtl.peek()){const e=this.getControlModel(),t=e.margins.left();e.margins.left(e.margins.right()),e.margins.right(t)}t.peek().end()}});return(0,B.addDisposeCallback)(a,(()=>{i.dispose()})),(0,B.assignObj)(e,(0,B.extend)({},e,{value:i}))}clickHandler(e,t){!e.disabled()&&e.clickHandler(this,t),t.stopPropagation()}reportContextMenuHandler(e,t){t.target.closest(".dxrd-surface")||e.disabled()||e.clickHandler(this,t)}checkParent(e){return!1}}$y._unitProperties={_width:e=>e.size.width,_height:e=>e.size.height,pageWidth:e=>e.size.width,pageHeight:e=>e.size.height,snapGridSize:e=>e.snapGridSize,_bottom:e=>e.margins.bottom,_left:e=>e.margins.left,_right:e=>e.margins.right,_top:e=>e.margins.top};class Fy extends L.Disposable{constructor(e,t,a){super(),this.rtl=t,this.handle="w",this.oppositeHandle="e";const i=[];this._disposables.push(t.subscribe((e=>{k.fn.constructor(i).find(".ui-resizable-e, .ui-resizable-w").removeClass("ui-resizable-"+(e?this.handle:this.oppositeHandle)).addClass("ui-resizable-"+(e?this.oppositeHandle:this.handle))})));let r=null,o=null;this._disposables.push(this.rightMarginOffset=A.pureComputed((()=>t()?0:a()-e.left()-e.right()))),this._disposables.push(this.leftMarginOffset=A.pureComputed((()=>t()?a()-e.left():0))),this._disposables.push(this.rightMarginResizableOffset=A.pureComputed((()=>t()?e.right():this.rightMarginOffset()))),this._disposables.push(this.leftMarginResizableOffset=A.pureComputed((()=>t()?e.right():0))),this.rightMarginOptions=(o,s)=>{if(!r){let i,s=e.right();r=this._createOptions(o,((t,r)=>{s=e.right(),i=a()-e.left()-1}),((a,r)=>{const o=(0,B.convertFromCssPixelUnits)(r.dataset.originalLeftMousePosition),n=a.pageX-o;e.right(Math.max(0,Math.min(s+(t()?n:-n),i))),r.classList.contains("dxrd-ruler-shadow")?k.fn.constructor(r).css({left:this.rightMarginOffset()}):k.fn.constructor(r).css({left:this.rightMarginResizableOffset(),width:0})})),this._disposables.push(r)}const n=new B.Resizable(s,r).initialize();return(0,B.addDisposeCallback)(s,(()=>{n.dispose()})),i.push(s),r},this.leftMarginOptions=(r,s)=>{if(!o){let i=e.left();o=this._createOptions(r,((t,a)=>{i=e.left()}),((r,o)=>{const s=(0,B.convertFromCssPixelUnits)(o.dataset.originalLeftMousePosition),n=r.pageX-s,l=a()-e.right();e.left(Math.min(Math.max(1,i+(t()?-n:n)),l)),k.fn.constructor(o).css({left:this.leftMarginResizableOffset(),width:a()-e.left()-e.right()})})),this._disposables.push(o)}const n=new B.Resizable(s,o).initialize();return(0,B.addDisposeCallback)(s,(()=>{n.dispose()})),i.push(s),o}}_createOptions(e,t,a){return{handles:A.pureComputed((()=>this.rtl()?this.oppositeHandle:this.handle)),start:(a,i)=>{t(a,i),e().start()},resize:(e,t)=>{a(e,t)},stop:(t,a)=>{e().end()},disabled:B.DragDropHandler.started}}}class Oy extends Ly{constructor(e,t){super(e,t),this.isAllSufficient=!1,this.objectStorageIsEmpty=A.observable(!1),0===this.objectStorage().length&&(this.objectStorageIsEmpty(!0),delete this._model.ObjectStorage,delete this._model.ComponentStorage)}static from(e,t){return e?new Oy(e,t):null}static toJson(e,t,a){return e.parameterHelper.clearLayoutItems(),t.serialize(e,kf,a)}_initializeBands(){0===this.bands().length&&this.createChild({"@ControlType":"DetailBand","@Name":"Detail1"})}getInfo(){if(!this.isAllSufficient){let e=(0,B.extend)(!0,[],super.getInfo());return this.objectStorageIsEmpty&&this.objectStorageIsEmpty()&&(e=e.reduce(((e,t,a)=>"_objectStorage"===t.propertyName||"_componentStorage"===t.propertyName?e:[...e,t]),[])),e}return super.getInfo()}serialize(){this.isAllSufficient=!0;const e=super.serialize();return this.isAllSufficient=!1,e}}Oy.defaultReport={"@ControlType":"DevExpress.XtraReports.UI.XtraReport","@PageWidth":"850","@PageHeight":"1100","@Version":"23.2","@Font":"Arial,9pt","@Dpi":"100",Bands:{Item1:{"@ControlType":"TopMarginBand","@HeightF":"100"},Item2:{"@ControlType":"DetailBand","@HeightF":"100"},Item3:{"@ControlType":"BottomMarginBand","@HeightF":"100"}}};const Xy=["Transparent","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenrod","DarkGray","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DodgerBlue","Firebrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","Goldenrod","Gray","Green","GreenYellow","Honeydew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenrodYellow","LightGreen","LightGray","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquamarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenrod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];class Hy extends L.Disposable{constructor(e=nv.Expressions,t){super(),this._bindingMode=e,this._fieldListProvider=t,this._valuesDictionary={ForeColor:Xy,BackColor:Xy,FillColor:Xy,BorderColor:Xy,Borders:["Left","Right","Top","Bottom","All"],BorderDashStyle:ku,TextAlignment:Mu,Name:Object.keys(A.unwrap(G.availableFonts))},this._displayNameDictionary={AccessibleDescription:{localizationId:"DevExpress.XtraReports.UI.XRControl.AccessibleDescription",displayName:"Accessible Description"},Text:{localizationId:"DevExpress.XtraReports.UI.XRControl.Text",displayName:"Text"},Visible:{localizationId:"DevExpress.XtraReports.UI.XRControl.Visible",displayName:"Visible"},RowVisible:{localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.RowVisible",displayName:"Row Visible"},ColumnVisible:{localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.ColumnVisible",displayName:"Column Visible"},NavigateUrl:{localizationId:"DevExpress.XtraReports.UI.XRControl.NavigateUrl",displayName:"Navigate Url"},Bookmark:{localizationId:"DevExpress.XtraReports.UI.XRControl.Bookmark",displayName:"Bookmark"},Tag:{localizationId:"DevExpress.XtraReports.UI.XRControl.Tag",displayName:"Tag"},LeftF:{localizationId:"DevExpress.XtraReports.UI.XRControl.Left",displayName:"Left"},TopF:{localizationId:"DevExpress.XtraReports.UI.XRControl.Top",displayName:"Top"},WidthF:{localizationId:"DevExpress.XtraReports.UI.XRControl.Width",displayName:"Width"},HeightF:{localizationId:"DevExpress.XtraReports.UI.XRControl.Height",displayName:"Height"},StyleName:{localizationId:"DevExpress.XtraReports.UI.XRControl.StyleName",displayName:"Style Name"},ForeColor:{localizationId:"DevExpress.XtraReports.UI.XRControl.ForeColor",displayName:"Foreground Color"},BackColor:{localizationId:"DevExpress.XtraReports.UI.XRControl.BackColor",displayName:"Background Color"},BorderColor:{localizationId:"DevExpress.XtraReports.UI.XRControl.BorderColor",displayName:"Border Color"},Borders:{localizationId:"DevExpress.XtraReports.UI.XRControl.Borders",displayName:"Borders"},BorderWidth:{localizationId:"DevExpress.XtraReports.UI.XRControl.BorderWidth",displayName:"Border Width"},BorderDashStyle:{localizationId:"DevExpress.XtraReports.UI.XRControl.BorderDashStyle",displayName:"Border Dash Style"},TextAlignment:{localizationId:"DevExpress.XtraReports.UI.XRControl.TextAlignment",displayName:"Text Alignment"},Font:{localizationId:"DevExpress.XtraReports.UI.XRControl.Font",displayName:"Font"},Padding:{localizationId:"DevExpress.XtraReports.UI.XRControl.Padding",displayName:"Padding"},Appearance:{localizationId:"ReportStringId.CatAppearance",displayName:"Appearance"},Layout:{localizationId:"ReportStringId.CatLayout",displayName:"Layout"},Name:{localizationId:"AnalyticsCoreStringId.FormatFontName",displayName:"Name"},Size:{localizationId:"AnalyticsCoreStringId.Font.Size",displayName:"Size"},Italic:{localizationId:"System.Drawing.Font.Italic",displayName:"Italic"},Strikeout:{localizationId:"System.Drawing.Font.Strikeout",displayName:"Strikeout"},Bold:{localizationId:"System.Drawing.Font.Bold",displayName:"Bold"},Underline:{localizationId:"System.Drawing.Font.Underline",displayName:"Underline"},Left:{localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left"},Right:{localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",displayName:"Right"},Top:{localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",displayName:"Top"},Bottom:{localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",displayName:"Bottom"},CheckBoxState:{localizationId:"DevExpress.XtraReports.UI.XRCheckBox.CheckBoxState",displayName:"Check Box State"},Image:{localizationId:"DevExpress.XtraReports.UI.XRPictureBox.Image",displayName:"Image"},ImageSource:{localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageSource",displayName:"Image Source"},ImageUrl:{localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageUrl",displayName:"Image Url"},BinaryData:{localizationId:"DevExpress.XtraReports.UI.XRBarCode.BinaryData",displayName:"Binary Data"},TargetValue:{localizationId:"DevExpress.XtraReports.UI.XRGauge.TargetValue",displayName:"Target Value"},ActualValue:{localizationId:"DevExpress.XtraReports.UI.XRGauge.ActualValue",displayName:"Actual Value"},PrintOnPage:{localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnPrintOnPage",displayName:"PrintOnPage"},BeforePrint:{localizationId:"DevExpress.XtraReports.UI.XRControlEvents.OnBeforePrint",displayName:"BeforePrint"},Minimum:{localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum",displayName:"Minimum"},Maximum:{localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum",displayName:"Maximum"},FillColor:{localizationId:"DevExpress.XtraReports.UI.XRShape.FillColor",displayName:"Fill Color"},Diagram:{localizationId:"DevExpress.XtraReports.UI.XRChart.Diagram",displayName:"Diagram"},AxisX:{localizationId:"DevExpress.XtraCharts.XYDiagram.AxisX",displayName:"X-Axis"},AxisY:{localizationId:"DevExpress.XtraCharts.XYDiagram.AxisY",displayName:"Y-Axis"},Title:{localizationId:"DevExpress.XtraCharts.Axis2D.Title",displayName:"Title"},EmptyChartText:{localizationId:"DevExpress.XtraCharts.EmptyChartText",displayName:"Empty Chart Text"},SmallChartText:{localizationId:"DevExpress.XtraCharts.SmallChartText",displayName:"Small Chart Text"},PaletteName:{localizationId:"DevExpress.XtraReports.UI.XRChart.PaletteName",displayName:"Palette Name"},DefaultPane:{localizationId:"ChartStringId.DefaultPaneName",displayName:"Default Pane"},Panes:{localizationId:"ChartDesignerStringIDs.TreeAdditionalPanelCollection",displayName:"Additional Panes"},Legend:{localizationId:"DevExpress.XtraCharts.Legend",displayName:"Legend"},Legends:{localizationId:"DevExpress.XtraReports.UI.XRChart.Legends",displayName:"Legends"},LegendText:{localizationId:"DevExpress.XtraCharts.Strip.LegendText",displayName:"Legend Text"},ConstantLines:{localizationId:"DevExpress.XtraCharts.Axis2D.ConstantLines",displayName:"Constant Lines"},Strips:{localizationId:"DevExpress.XtraCharts.Axis2D.Strips",displayName:"Strips"},AxisLabelText:{localizationId:"DevExpress.XtraCharts.Strip.AxisLabelText",displayName:"Axis Label Text"},SeriesTemplate:{localizationId:"DevExpress.XtraReports.UI.XRChart.SeriesTemplate",displayName:"Series Template"},Series:{localizationId:"DevExpress.XtraReports.UI.XRChart.Series",displayName:"Series"},MinValue:{localizationId:"DevExpress.XtraCharts.AxisRange.MinValue",displayName:"Min Value"},MaxValue:{localizationId:"DevExpress.XtraCharts.AxisRange.MaxValue",displayName:"Max Value"},MinLimit:{localizationId:"DevExpress.XtraCharts.Strip.MinLimit",displayName:"Min Limit"},MaxLimit:{localizationId:"DevExpress.XtraCharts.Strip.MaxLimit",displayName:"Max Limit"},LegendTextPattern:{localizationId:"DevExpress.XtraCharts.SeriesBase.LegendTextPattern",displayName:"Legend Text Pattern"},AxisValue:{localizationId:"DevExpress.XtraCharts.AxisCoordinate.AxisValue",displayName:"Axis Value"},WatermarkId:{localizationId:"DevExpress.XtraReports.UI.XtraReport.WatermarkId",displayName:"Watermark Id"}},this._expressionsInfo={},this._expressionsSerializationInfoCache={}}dispose(){this._expressionsInfo=null,this._expressionsSerializationInfoCache=null,this._fieldListProvider=null}static createExpression(e,t,a){return{getInfo:()=>Lg,eventName:A.observable(t),expression:A.observable(a),propertyName:A.observable(e)}}_createPropertyByName(e,t,a){const i={propertyName:t?[t,e].join("."):e,modelName:e,displayName:a||e,editor:jp.getEditor("reportexpressionComplex")};return this._displayNameDictionary[e]&&(i.localizationId=this._displayNameDictionary[e].localizationId,i.displayName=this._displayNameDictionary[e].displayName),this._valuesDictionary[e]&&(i.valuesArray=this._valuesDictionary[e]),i}_updateCachedControlInfo(e,t){var a;const i=(null===(a=e.displayPath)||void 0===a?void 0:a.split("."))||[];t?e.events.forEach((t=>{i.unshift(void 0),this._addControlInfoToCache(e.controlType,i,t,e.group,e.propertyName,e.objectProperties)})):-1!==e.events.indexOf("BeforePrint")&&this._addControlInfoToCache(e.controlType,i,e.group,e.propertyName,e.objectProperties)}_createInfo(e,t,a,i){let r=e;for(let o=0;o<i.length;o++)if("string"!=typeof i[o]&&Array.isArray(i[o]))r.push.apply(r,i[o].map((e=>this._createPropertyByName(e,i[o-1]))));else{const s=i[o].split("."),n=s.pop();if(s.length>0)return i.splice(o,1,...s.concat([n])),this._createInfo(e,t,s.join("."),i);{let e=r.filter((e=>e.propertyName===i[o]||e.propertyName===[a,i[o]].join(".")))[0];const s=t[o];if(e)s&&s!==n&&r.splice(r.indexOf(e),1,Object.assign(Object.assign({},e),{displayName:s}));else{const t=o!==i.length-1;e=this._createPropertyByName(i[o],t?void 0:a,s),t&&(e.editor=K.editorTemplates.getEditor("objecteditor"),e.info=[]),r.push(e)}r=e.info}}return e}_addControlInfoToCache(e,t,...a){this._expressionsSerializationInfoCache[e]||(this._expressionsSerializationInfoCache[e]=[]);const i=this._expressionsSerializationInfoCache[e],r=this._createInfo(i,t,"",a.filter((e=>!!e)));i.splice(0,i.length,...r)}_initCachedSerializationInfo(e,t=!1){Object.keys(this._expressionsInfo[e]).forEach((a=>{const i=this._expressionsInfo[e][a];this._updateCachedControlInfo(Object.assign(Object.assign({},i),{propertyName:a,controlType:e}),t)}))}_getPropertyDescriptors(e,t){return Object.keys(this._expressionsInfo[e]).some((e=>e===t))?this._expressionsInfo[e][t]:null}_getExpressionFromArray(e,t,a){return a().filter((a=>a.propertyName()===e&&a.eventName()===t))[0]}_createExpressionMap(e,t,a,i,r,o){const s=o&&o(e)?A.computed((()=>o(e)()?this._summaryFunctions():fh)):fh,n=new Xb({path:r||A.observable(""),functions:s},{addExpression:i=>{a.push(Hy.createExpression(e,t,i))},removeExpression:e=>{a.remove(e)}},this._fieldListProvider,t);return n._disposables.push(s),n.expression(this._getExpressionFromArray(e,t,a)),n}_summaryFunctions(){const e=(e,t)=>[{paramCount:t,text:"sum"+e+"()",descriptionStringId:"ReportStringId.ExpressionEditor_Description_Function_Summary"+e}],t={display:"Summary",localizationId:"ReportStringId.ExpressionEditor_ItemInfo_FunctionSummary",category:"Summary",items:{}};return["Avg","Count","Sum","RunningSum","CarryoverSum","Percentage","Max","Min","Median","const","VarP","StdDev","StdDevP","DAvg","DCount","DSum","DVar","DVarP","DStdDev","DStdDevP","RecordNumber",{name:"WAvg",paramCount:2}].forEach((a=>{"string"==typeof a?t.items[a]=e(a,1):t.items[a.name]=e(a.name,a.paramCount)})),fh.filter((e=>"Aggregate"!=e.category)).concat([t])}_mapExpressionsToObjectByEventName(e,t,a,i,r,o){e.getInfo().forEach((s=>{A.isObservable(e[s.propertyName])?(e[s.propertyName]=this._createExpressionMap(s.propertyName,t,a,i,r,o),e[s.propertyName].serializationInfo=s,i.push(e[s.propertyName])):this._mapExpressionsToObjectByEventName(e[s.propertyName],t,a,i,r,o)}))}_allExpressions(e,t){let a=!0;return e.getInfo().forEach((i=>{a&&(a=e[i.propertyName]instanceof Object&&!(e[i.propertyName]instanceof Xb)?this._allExpressions(e[i.propertyName],t):t(e[i.propertyName]))})),a}_isValidExpressions(e){return this._allExpressions(e,(e=>e.isValid()))}_isWarningExpressions(e){return!this._allExpressions(e,(e=>!e.warningMessage()))}_getExpressionByPropertyName(e,t){if(e){if(e[t])return e[t];{const a=e.getInfo().filter((t=>!(e[t.propertyName]instanceof Xb)));for(let i=0;i<a.length;i++){const r=this._getExpressionByPropertyName(e[a[i].propertyName],t);if(r)return r}}}}_mapExpressionsToObject(e,t,a,i){if(this._bindingMode===nv.Bindings)return null;const r=this._bindingMode===nv.ExpressionsAdvanced,o=[];this._expressionsSerializationInfoCache[e]||this._initCachedSerializationInfo(e,r);const s={getInfo:A.observable(this._expressionsSerializationInfoCache[e]),getExpression:(e,t)=>r?this._getExpressionByPropertyName(s[t],e):this._getExpressionByPropertyName(s,e),getExpressionsTreeItems:t=>{const a=this._getPropertyDescriptors(e,t);if(!a)return null;const i=[],o=!!(a.objectProperties||[]).length,n=(e,t)=>{const o={innerItems:null,expressionName:e},n=t?[t,e].join("."):e;if(r)a.events.forEach((t=>{const a=s.getExpression(n,t);if(!a)return;const i=a.serializationInfo;o.displayName=i&&i.displayName,o.localizationId=i&&i.localizationId,o.innerItems=o.innerItems||[];const r=this._displayNameDictionary[t];o.innerItems.push({eventName:t,displayName:r&&r.displayName,localizationId:r&&r.localizationId,expressionName:e,expressionObj:a})}));else{const e=s.getExpression(n);if(!e)return;o.expressionObj=e;const t=e.serializationInfo;o.displayName=t.displayName,o.localizationId=t.localizationId}i.push(o)};return o?(a.objectProperties||[]).forEach((e=>{n(e,t)})):n(t),i},dispose:()=>{o.forEach((e=>e.dispose())),o.splice(0)},validateExpression:()=>this._isValidExpressions(s),hasWarning:()=>this._isWarningExpressions(s),updateExpressionObjectProperties:n=>{if(s.dispose(),n&&(null==n||n.forEach((e=>this._updateCachedControlInfo(e,r)))),(new L.ModelSerializer).deserialize(s,{}),r){s.getInfo().forEach((e=>{this._mapExpressionsToObjectByEventName(s[e.propertyName],e.propertyName,t,o,a,i)}))}else this._mapExpressionsToObjectByEventName(s,"BeforePrint",t,o,a,i);s.getInfo(this._expressionsSerializationInfoCache[e]),o.push(t.subscribe((e=>{e.forEach((e=>{"deleted"===e.status?s.getExpression(e.value.propertyName(),e.value.eventName()).expression(null):"added"===e.status&&s.getExpression(e.value.propertyName(),e.value.eventName()).expression(e.value)}))}),null,"arrayChange"))}};return s.updateExpressionObjectProperties(),{stateObj:s,subscriptions:o}}setPropertyDescription(e,t,a,i,r){this._expressionsInfo[e]||(this._expressionsInfo[e]={}),this._expressionsInfo[e][t]={events:a,group:r,objectProperties:i}}hidePropertyDescriptions(e,...t){t.forEach((t=>{if(-1!==t.indexOf(".")){const a=t.split(".");if(a.length>2)return;const i=this._expressionsInfo[e][a[0]];if(!i||!i.objectProperties)return;const r=i.objectProperties.indexOf(a[1]);if(-1===r)return;return i.objectProperties.splice(r,1),void(0===i.objectProperties.length&&delete this._expressionsInfo[e][a[0]])}delete this._expressionsInfo[e][t]}))}createExpressionsObject(e,t,a,i){const r=this._mapExpressionsToObject(e,t,a,i);if(r)return r.stateObj}setLocalizationId(e,t,a){this._displayNameDictionary[e]={localizationId:t,displayName:a||e}}setValues(e,t){this._valuesDictionary[e]=t}}class Wy extends L.ControlsFactory{constructor(e=A.observable(null)){super(),this.fieldListProvider=e,this._beforePrintPrintOnPage=["BeforePrint","PrintOnPage"],this._beforePrint=["BeforePrint"],this._expressionWrapper=new Hy(Hp(),this.fieldListProvider)}dispose(){this._expressionWrapper.dispose(),this._expressionWrapper=null,Object.keys(this.controlsMap).forEach((e=>{delete this.controlsMap[e]})),this.fieldListProvider=null}_registerCommonExpressions(e){this.setExpressionBinding(e,"Text",this._beforePrintPrintOnPage),this.setExpressionBinding(e,"AccessibleDescription",this._beforePrintPrintOnPage),this.setExpressionBinding(e,"Visible",this._beforePrintPrintOnPage),this.setExpressionBinding(e,"NavigateUrl",this._beforePrint),this.setExpressionBinding(e,"Bookmark",this._beforePrint),this.setExpressionBinding(e,"Tag",this._beforePrint),this.setExpressionBinding(e,"LeftF",this._beforePrint,"Layout"),this.setExpressionBinding(e,"TopF",this._beforePrint,"Layout"),this.setExpressionBinding(e,"WidthF",this._beforePrint,"Layout"),this.setExpressionBinding(e,"HeightF",this._beforePrint,"Layout"),this.setExpressionBinding(e,"StyleName",this._beforePrint),this.setExpressionBinding(e,"ForeColor",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"BackColor",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"BorderColor",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"Borders",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"BorderWidth",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"BorderDashStyle",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"TextAlignment",this._beforePrintPrintOnPage,"Appearance"),this.setExpressionBinding(e,"Font",this._beforePrintPrintOnPage,"Appearance",["Name","Size","Italic","Strikeout","Bold","Underline"]),this.setExpressionBinding(e,"Padding",this._beforePrintPrintOnPage,"Appearance",["All","Left","Right","Top","Bottom"])}_registerExtensions(e,t){const a=t&&t.parentType||e;switch(this._registerCommonExpressions(e),a){case"XRCheckBox":this.setExpressionBinding(e,"CheckBoxState",this._beforePrintPrintOnPage);break;case"XRPictureBox":this.setExpressionBinding(e,"ImageSource",this._beforePrintPrintOnPage),this.setExpressionBinding(e,"ImageUrl",this._beforePrintPrintOnPage),this.hideExpressionBindings(e,"Font","ForeColor","Text","TextAlignment");break;case"XRBarCode":this.setExpressionBinding(e,"BinaryData",this._beforePrint);break;case"XRGauge":this.hideExpressionBindings(e,"Text","TextAlignment","Font","ForeColor"),this.setExpressionBinding(e,"TargetValue",this._beforePrint),this.setExpressionBinding(e,"ActualValue",this._beforePrint),this.setExpressionBinding(e,"Minimum",this._beforePrint),this.setExpressionBinding(e,"Maximum",this._beforePrint);break;case"XRCharacterComb":this.hideExpressionBindings(e,"Padding");break;case"TopMarginBand":case"BottomMarginBand":case"DetailReportBand":case"DetailBand":case"SubBand":case"GroupHeaderBand":case"GroupFooterBand":case"PageHeaderBand":case"ReportHeaderBand":case"ReportFooterBand":this.hideExpressionBindings(e,"AccessibleDescription","Bookmark","NavigateUrl","Text","WidthF","LeftF","TopF"),this.setExpressionBinding(e,"Visible",this._beforePrint);break;case"XRSubreport":this.setExpressionBinding(e,"Visible",this._beforePrint),this.hideExpressionBindings(e,"AccessibleDescription","Bookmark","NavigateUrl","Padding","StyleName"),this.hideExpressionBindings(e,"BackColor","BorderColor","BorderWidth","BorderDashStyle","Borders","Font","ForeColor","TextAlignment","Tag","Text","NavigateUrl");break;case"XRCrossBandBox":this.hideExpressionBindings(e,"AccessibleDescription","Bookmark","NavigateUrl","Text","BackColor","Font","Padding","TextAlignment"),this.hideExpressionBindings(e,"ForeColor","Visible");break;case"XRCrossBandLine":this.hideExpressionBindings(e,"AccessibleDescription","Bookmark","NavigateUrl","Text","BackColor","Font","Padding","TextAlignment"),this.hideExpressionBindings(e,"BorderColor","BorderDashStyle","Borders","BorderWidth","Visible");break;case"XRCrossTab":this.hideExpressionBindings(e,"AccessibleDescription","Bookmark","BackColor","BorderColor","Borders","BorderDashStyle","BorderWidth","Font","ForeColor","Padding","TextAlignment","Text","NavigateUrl","Visible","StyleName"),this.setExpressionBinding(e,"Visible",this._beforePrint);break;case"XRCrossTabCell":this.hideExpressionBindings(e,"Visible","HeightF","WidthF","LeftF","TopF","StyleName"),this.setExpressionBinding(e,"ColumnVisible",this._beforePrint),this.setExpressionBinding(e,"RowVisible",this._beforePrint);break;case"XRChart":this.hideExpressionBindings(e,"Text","Font","ForeColor","TextAlignment"),this.setExpressionBinding(e,"PaletteName",this._beforePrint),this.setExpressionBinding(e,"StyleName",this._beforePrint);break;case"XRLine":this.hideExpressionBindings(e,"Font","Text","TextAlignment","NavigateUrl","Bookmark");break;case"XRPivotGrid":this.setExpressionBinding(e,"Visible",this._beforePrint),this.hideExpressionBindings(e,"BackColor","BorderColor","Borders","BorderDashStyle","BorderWidth","Font","ForeColor","Padding","TextAlignment","Text","NavigateUrl","StyleName");break;case"XRPageBreak":this.setExpressionBinding(e,"Visible",this._beforePrint),this.hideExpressionBindings(e,"AccessibleDescription","BackColor","BorderColor","Borders","BorderDashStyle","BorderWidth","Font","ForeColor","Padding","TextAlignment","Tag","Text","NavigateUrl","LeftF","WidthF","HeightF","Bookmark","StyleName");break;case"XRPageInfo":this.hideExpressionBindings(e,"AccessibleDescription","Text");break;case"XRPanel":this.hideExpressionBindings(e,"AccessibleDescription","Font","ForeColor","Text","TextAlignment");break;case"XRRichText":this.hideExpressionBindings(e,"AccessibleDescription","Text"),this.setExpressionBinding(e,"Rtf",this._beforePrint),this.setExpressionBinding(e,"Html",this._beforePrint);break;case"XRShape":this.hideExpressionBindings(e,"Font","TextAlignment","Text"),this.setExpressionBinding(e,"FillColor",this._beforePrint,"Appearance");break;case"XRSparkline":this.hideExpressionBindings(e,"Text","Font","TextAlignment","ForeColor");break;case"XRTableOfContents":this.hideExpressionBindings(e,"NavigateUrl","Text","TextAlignment","Bookmark","Font","LeftF","WidthF");break;case"XRTableRow":this.hideExpressionBindings(e,"AccessibleDescription","LeftF","TopF","WidthF","Text","NavigateUrl","Bookmark");break;case"XRTableCell":this.hideExpressionBindings(e,"LeftF","TopF","HeightF");break;case"XRTable":this.hideExpressionBindings(e,"AccessibleDescription","Text","NavigateUrl");break;case"XRZipCode":this.hideExpressionBindings(e,"Font","TextAlignment");break;case"XRPdfContent":this.setExpressionBinding(e,"Visible",this._beforePrint),this.setExpressionBinding(e,"Source",this._beforePrint,"Data"),this.setExpressionBinding(e,"SourceUrl",this._beforePrint,"Data"),this.setExpressionBinding(e,"PageRange",this._beforePrint,"Data"),this.hideExpressionBindings(e,"BackColor","BorderColor","Borders","BorderDashStyle","BorderWidth","Font","ForeColor","Padding","TextAlignment","Tag","Text","NavigateUrl","LeftF","WidthF","HeightF");break;case"DevExpress.XtraReports.UI.XtraReport":this.hideExpressionBindings(e,"AccessibleDescription","StyleName","Text","NavigateUrl"),this.setExpressionBinding(e,"Bookmark",this._beforePrint),this.setExpressionBinding(e,"WatermarkId",this._beforePrint,"Appearance"),this.hideExpressionBindings(e,"LeftF","TopF","WidthF","HeightF");break;case"XRPdfSignature":this.hideExpressionBindings(e,"AccessibleDescription")}}registerControl(e,t){super.registerControl(e,t),this._registerExtensions(e,t)}_createExpressionObject(e,t,a,i){return this._expressionWrapper.createExpressionsObject(e,t,a,i)}setExpressionBinding(e,t,a,i,r){this._expressionWrapper.setPropertyDescription(e,t,a,r,i)}setPropertyDescription(e,t,a,i,r){return this.setExpressionBinding(e,t,a,i,r)}setDisplayNameForExpression(e,t,a){this._expressionWrapper.setLocalizationId(e,t,a)}hideExpressionBindings(e,...t){this._expressionWrapper.hidePropertyDescriptions(e,...t)}hidePropertyDescriptions(e,...t){return this.hideExpressionBindings(e,...t)}inheritControl(e,t){const a=this.getControlInfo(e),i=(0,B.extend)(!0,[],a.info),r=(0,B.extend)(!0,{},t);return r.info=[].concat(i,t.info||[]),r.popularProperties=[].concat(a.popularProperties||[],t.popularProperties||[]),(0,B.extend)(!0,{},a,r,{parentType:e})}createPopularBindingInfo(e,t=!0){return Rg(e,t)}}const Uy={propertyName:"name",modelName:"@Name"},Gy={propertyName:"calcCheckSum",modelName:"@CalcCheckSum",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Calculate a Checksum",localizationId:"DevExpress.XtraPrinting.BarCode.BarCodeGeneratorBase.CalcCheckSum"},jy=[Uy,Gy],qy={propertyName:"wideNarrowRatio",modelName:"@WideNarrowRatio",defaultVal:2.5,from:L.floatFromModel,displayName:"Wide Narrow Ratio",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarGenerator.WideNarrowRatio",editor:K.editorTemplates.getEditor("numeric")},Jy=k.extend({},qy,{defaultVal:3}),Ky=[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarStartStopSymbol.None"},{value:"A",displayValue:"A",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarStartStopSymbol.A"},{value:"B",displayValue:"B",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarStartStopSymbol.B"},{value:"C",displayValue:"C",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarStartStopSymbol.C"},{value:"D",displayValue:"D",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarStartStopSymbol.D"}],Qy={propertyName:"startSymbol",modelName:"@StartSymbol",defaultVal:"A",editor:K.editorTemplates.getEditor("combobox"),displayName:"Start Symbol",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarGenerator.StartSymbol",valuesArray:Ky},Yy={propertyName:"stopSymbol",modelName:"@StopSymbol",defaultVal:"A",editor:K.editorTemplates.getEditor("combobox"),displayName:"Stop Symbol",localizationId:"DevExpress.XtraPrinting.BarCode.CodabarGenerator.StopSymbol",valuesArray:Ky},Zy=[Uy,Qy,Yy,qy],eS={propertyName:"characterSet",modelName:"@CharacterSet",defaultVal:"CharsetA",displayName:"Character Set",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.CharacterSet",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"CharsetAuto",displayValue:"CharsetAuto",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Charset.CharsetAuto"},{value:"CharsetA",displayValue:"CharsetA",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Charset.CharsetA"},{value:"CharsetB",displayValue:"CharsetB",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Charset.CharsetB"},{value:"CharsetC",displayValue:"CharsetC",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Charset.CharsetC"}]},tS={propertyName:"addLeadingZero",displayName:"Add Leading Zero",localizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.AddLeadingZero",modelName:"@AddLeadingZero",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},aS={propertyName:"fNC1Substitute",modelName:"@FNC1Substitute",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"FNC1 Functional Character",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.FNC1Substitute",descriptionLocalizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.FNC1Substitute.Description"},iS={propertyName:"fNC2Substitute",modelName:"@FNC2Substitute",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"FNC2 Functional Character",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.FNC2Substitute",descriptionLocalizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.FNC2Substitute.Description"},rS={propertyName:"fNC3Substitute",modelName:"@FNC3Substitute",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"FNC3 Functional Character",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.FNC3Substitute",descriptionLocalizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.FNC3Substitute.Description"},oS={propertyName:"fNC4Substitute",modelName:"@FNC4Substitute",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"FNC4 Functional Character",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.FNC4Substitute",descriptionLocalizationId:"DevExpress.XtraPrinting.BarCode.Code128Generator.FNC4Substitute.Description"},sS=[Uy,tS,eS,aS,iS,rS,oS],nS=[Jy].concat(jy),lS=[Uy,{propertyName:"msiCheckSum",modelName:"@MSICheckSum",defaultVal:"Modulo10",displayName:"MSI Checksum",localizationId:"DevExpress.XtraPrinting.BarCode.CodeMSIGenerator.MSICheckSum",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPrinting.BarCode.MSICheckSum.None"},{value:"Modulo10",displayValue:"Modulo10",localizationId:"DevExpress.XtraPrinting.BarCode.MSICheckSum.Modulo10"},{value:"DoubleModulo10",displayValue:"DoubleModulo10",localizationId:"DevExpress.XtraPrinting.BarCode.MSICheckSum.DoubleModulo10"}]}],dS=Object.assign(Object.assign({},aS),{defaultVal:"#"}),cS=[Uy,dS,{propertyName:"segmentsInRow",modelName:"@SegmentsInRow",defaultVal:20,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Segments In Row",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.SegmentsInRow"},{propertyName:"type",modelName:"@Type",defaultVal:"Omnidirectional",editor:K.editorTemplates.getEditor("combobox"),displayName:"Type",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarGenerator.Type",valuesArray:[{value:"Omnidirectional",displayValue:"Omnidirectional",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.Omnidirectional"},{value:"Truncated",displayValue:"Truncated",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.Truncated"},{value:"Stacked",displayValue:"Stacked",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.Stacked"},{value:"StackedOmnidirectional",displayValue:"StackedOmnidirectional",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.StackedOmnidirectional"},{value:"Limited",displayValue:"Limited",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.Limited"},{value:"Expanded",displayValue:"Expanded",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.Expanded"},{value:"ExpandedStacked",displayValue:"ExpandedStacked",localizationId:"DevExpress.XtraPrinting.BarCode.DataBarType.ExpandedStacked"}]}],pS={propertyName:"matrixSize",modelName:"@MatrixSize",defaultVal:"MatrixAuto",editor:K.editorTemplates.getEditor("combobox"),displayName:"Matrix Size",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixGenerator.MatrixSize",valuesArray:[{value:"MatrixAuto",displayValue:"MatrixAuto",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.MatrixAuto"},{value:"Matrix10x10",displayValue:"Matrix10x10",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix10x10"},{value:"Matrix12x12",displayValue:"Matrix12x12",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix12x12"},{value:"Matrix14x14",displayValue:"Matrix14x14",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix14x14"},{value:"Matrix16x16",displayValue:"Matrix16x16",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix16x16"},{value:"Matrix18x18",displayValue:"Matrix18x18",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix18x18"},{value:"Matrix20x20",displayValue:"Matrix20x20",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix20x20"},{value:"Matrix22x22",displayValue:"Matrix22x22",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix22x22"},{value:"Matrix24x24",displayValue:"Matrix24x24",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix24x24"},{value:"Matrix26x26",displayValue:"Matrix26x26",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix26x26"},{value:"Matrix32x32",displayValue:"Matrix32x32",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix32x32"},{value:"Matrix36x36",displayValue:"Matrix36x36",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix36x36"},{value:"Matrix40x40",displayValue:"Matrix40x40",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix40x40"},{value:"Matrix44x44",displayValue:"Matrix44x44",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix44x44"},{value:"Matrix48x48",displayValue:"Matrix48x48",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix48x48"},{value:"Matrix52x52",displayValue:"Matrix52x52",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix52x52"},{value:"Matrix64x64",displayValue:"Matrix64x64",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix64x64"},{value:"Matrix72x72",displayValue:"Matrix72x72",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix72x72"},{value:"Matrix80x80",displayValue:"Matrix80x80",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix80x80"},{value:"Matrix88x88",displayValue:"Matrix88x88",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix88x88"},{value:"Matrix96x96",displayValue:"Matrix96x96",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix96x96"},{value:"Matrix104x104",displayValue:"Matrix104x104",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix104x104"},{value:"Matrix120x120",displayValue:"Matrix120x120",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix120x120"},{value:"Matrix132x132",displayValue:"Matrix132x132",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix132x132"},{value:"Matrix144x144",displayValue:"Matrix144x144",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix144x144"},{value:"Matrix8x18",displayValue:"Matrix8x18",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix8x18"},{value:"Matrix8x32",displayValue:"Matrix8x32",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix8x32"},{value:"Matrix12x26",displayValue:"Matrix12x26",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix12x26"},{value:"Matrix12x36",displayValue:"Matrix12x36",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix12x36"},{value:"Matrix16x36",displayValue:"Matrix16x36",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix16x36"},{value:"Matrix16x48",displayValue:"Matrix16x48",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixSize.Matrix16x48"}]},uS=[Uy,pS,{propertyName:"compactionMode",modelName:"@CompactionMode",defaultVal:"ASCII",editor:K.editorTemplates.getEditor("combobox"),displayName:"Compaction Mode",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixGenerator.CompactionMode",valuesArray:[{value:"ASCII",displayValue:"ASCII",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.ASCII"},{value:"C40",displayValue:"C40",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.C40"},{value:"Text",displayValue:"Text",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.Text"},{value:"X12",displayValue:"X12",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.X12"},{value:"Edifact",displayValue:"Edifact",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.Edifact"},{value:"Binary",displayValue:"Binary",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixCompactionMode.Binary"}]}],mS={propertyName:"humanReadableText",modelName:"@HumanReadableText",defaultVal:!0,from:L.parseBool,displayName:"Human-Readable Text",localizationId:"DevExpress.XtraPrinting.BarCode.DataMatrixGS1Generator.HumanReadableText",editor:K.editorTemplates.getEditor("bool")},hS=[Uy,pS,dS,mS],gS=[Uy,eS,dS,mS],xS=[Uy,Gy,qy],vS=[Uy,Gy,Jy],fS=[Uy,{propertyName:"columns",modelName:"@Columns",defaultVal:1,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Columns",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.Columns"},{propertyName:"compactionMode",modelName:"@CompactionMode",defaultVal:"Text",editor:K.editorTemplates.getEditor("combobox"),displayName:"Compaction Mode",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.CompactionMode",valuesArray:[{value:"Binary",displayValue:"Binary",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417CompactionMode.Binary"},{value:"Text",displayValue:"Text",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417CompactionMode.Text"}]},{propertyName:"errorCorrectionLevel",modelName:"@ErrorCorrectionLevel",defaultVal:"Level2",editor:K.editorTemplates.getEditor("combobox"),displayName:"Error Correction Level",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.ErrorCorrectionLevel",valuesArray:[{value:"Level0",displayValue:"Level0",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level0"},{value:"Level1",displayValue:"Level1",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level1"},{value:"Level2",displayValue:"Level2",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level2"},{value:"Level3",displayValue:"Level3",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level3"},{value:"Level4",displayValue:"Level4",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level4"},{value:"Level5",displayValue:"Level5",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level5"},{value:"Level6",displayValue:"Level6",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level6"},{value:"Level7",displayValue:"Level7",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level7"},{value:"Level8",displayValue:"Level8",localizationId:"DevExpress.XtraPrinting.BarCode.ErrorCorrectionLevel.Level8"}]},{propertyName:"rows",modelName:"@Rows",defaultVal:0,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Rows",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.Rows"},{propertyName:"yToXRatio",modelName:"@YToXRatio",defaultVal:3,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Y to X Ratio",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.YToXRatio"},{propertyName:"truncateSymbol",modelName:"@TruncateSymbol",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Truncate Symbol",localizationId:"DevExpress.XtraPrinting.BarCode.PDF417Generator.TruncateSymbol"}],bS=[Uy],yS={propertyName:"compactionMode",modelName:"@CompactionMode",defaultVal:"AlphaNumeric",editor:K.editorTemplates.getEditor("combobox"),displayName:"Compaction Mode",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.CompactionMode",valuesArray:[{value:"Numeric",displayValue:"Numeric",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.Numeric"},{value:"AlphaNumeric",displayValue:"AlphaNumeric",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.AlphaNumeric"},{value:"Byte",displayValue:"Byte",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.Byte"}]},SS={propertyName:"errorCorrectionLevel",modelName:"@ErrorCorrectionLevel",defaultVal:"L",editor:K.editorTemplates.getEditor("combobox"),displayName:"Error Correction Level",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.ErrorCorrectionLevel",valuesArray:[{value:"M",displayValue:"M",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeErrorCorrectionLevel.M"},{value:"L",displayValue:"L",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeErrorCorrectionLevel.L"},{value:"H",displayValue:"H",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeErrorCorrectionLevel.H"},{value:"Q",displayValue:"Q",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeErrorCorrectionLevel.Q"}]},CS={propertyName:"logo",modelName:"@Logo",editor:{header:"dxrd-image-loadfile",editorType:K.Editor},displayName:"Logo",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.Logo",from:e=>A.observable(Eh.ImageSource.parse(e)),toJsonObject:Eh.ImageSource.toString,defaultVal:null},DS={propertyName:"IncludeQuietZone",modelName:"@IncludeQuietZone",displayName:"Include Quiet Zone",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.IncludeQuietZone",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},_S={propertyName:"version",modelName:"@Version",defaultVal:"AutoVersion",editor:K.editorTemplates.getEditor("combobox"),displayName:"Version",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.Version",valuesArray:[{value:"AutoVersion",displayValue:"AutoVersion",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.AutoVersion"},{value:"Version1",displayValue:"Version1",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version1"},{value:"Version2",displayValue:"Version2",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version2"},{value:"Version3",displayValue:"Version3",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version3"},{value:"Version4",displayValue:"Version4",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version4"},{value:"Version5",displayValue:"Version5",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version5"},{value:"Version6",displayValue:"Version6",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version6"},{value:"Version7",displayValue:"Version7",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version7"},{value:"Version8",displayValue:"Version8",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version8"},{value:"Version9",displayValue:"Version9",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version9"},{value:"Version10",displayValue:"Version10",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version10"},{value:"Version11",displayValue:"Version11",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version11"},{value:"Version12",displayValue:"Version12",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version12"},{value:"Version13",displayValue:"Version13",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version13"},{value:"Version14",displayValue:"Version14",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version14"},{value:"Version15",displayValue:"Version15",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version15"},{value:"Version16",displayValue:"Version16",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version16"},{value:"Version17",displayValue:"Version17",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version17"},{value:"Version18",displayValue:"Version18",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version18"},{value:"Version19",displayValue:"Version19",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version19"},{value:"Version20",displayValue:"Version20",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version20"},{value:"Version21",displayValue:"Version21",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version21"},{value:"Version22",displayValue:"Version22",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version22"},{value:"Version23",displayValue:"Version23",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version23"},{value:"Version24",displayValue:"Version24",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version24"},{value:"Version25",displayValue:"Version25",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version25"},{value:"Version26",displayValue:"Version26",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version26"},{value:"Version27",displayValue:"Version27",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version27"},{value:"Version28",displayValue:"Version28",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version28"},{value:"Version29",displayValue:"Version29",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version29"},{value:"Version30",displayValue:"Version30",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version30"},{value:"Version31",displayValue:"Version31",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version31"},{value:"Version32",displayValue:"Version32",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version32"},{value:"Version33",displayValue:"Version33",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version33"},{value:"Version34",displayValue:"Version34",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version34"},{value:"Version35",displayValue:"Version35",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version35"},{value:"Version36",displayValue:"Version36",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version36"},{value:"Version37",displayValue:"Version37",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version37"},{value:"Version38",displayValue:"Version38",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version38"},{value:"Version39",displayValue:"Version39",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version39"},{value:"Version40",displayValue:"Version40",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version40"}]},IS={propertyName:"frameOptions",modelName:"FrameOptions"},PS={propertyName:"frameOptionsFake",editor:jp.getEditor("contentByType"),valuesArray:_g,displayName:"Frame Options",localizationId:"DevExpress.XtraPrinting.BarCode.QRCodeGenerator.FrameOptions"},TS=[Uy,yS,SS,IS,PS,CS,DS,_S],zS=[Uy,dS,yS,SS,IS,PS,DS,_S],NS=(0,B.extend)({},PS,{valuesArray:Ig}),ES=[Uy,IS,NS,DS,CS,_S],wS=[Uy,{propertyName:"pharmacodeType",modelName:"@PharmacodeType",defaultVal:"OneTrack",editor:K.editorTemplates.getEditor("combobox"),displayName:"PharmacodeType",localizationId:"DevExpress.XtraPrinting.BarCode.PharmacodeGenerator.PharmacodeType",valuesArray:[{value:"OneTrack",displayValue:"OneTrack",localizationId:"DevExpress.XtraPrinting.BarCode.PharmacodeType.OneTrack"},{value:"TwoTrack",displayValue:"TwoTrack",localizationId:"DevExpress.XtraPrinting.BarCode.PharmacodeType.TwoTrack"}]}],RS={propertyName:"autoModule",modelName:"@AutoModule",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Auto-Module",localizationId:"DevExpress.XtraReports.UI.XRBarCode.AutoModule"},BS={propertyName:"barCodeOrientation",modelName:"@BarCodeOrientation",defaultVal:"Normal",editor:K.editorTemplates.getEditor("combobox"),displayName:"Orientation",localizationId:"DevExpress.XtraReports.UI.XRBarCode.BarCodeOrientation",valuesArray:[{value:"Normal",displayValue:"Normal",localizationId:"DevExpress.XtraPrinting.BarCode.BarCodeOrientation.Normal"},{value:"UpsideDown",displayValue:"UpsideDown",localizationId:"DevExpress.XtraPrinting.BarCode.BarCodeOrientation.UpsideDown"},{value:"RotateLeft",displayValue:"RotateLeft",localizationId:"DevExpress.XtraPrinting.BarCode.BarCodeOrientation.RotateLeft"},{value:"RotateRight",displayValue:"RotateRight",localizationId:"DevExpress.XtraPrinting.BarCode.BarCodeOrientation.RotateRight"}]},VS={propertyName:"module",modelName:"@Module",defaultVal:2,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Module",localizationId:"DevExpress.XtraReports.UI.XRBarCode.Module"},MS={propertyName:"showText",modelName:"@ShowText",defaultVal:!0,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Show Text",localizationId:"DevExpress.XtraReports.UI.XRBarCode.ShowText"},kS={propertyName:"symbology",modelName:"Symbology"},AS={propertyName:"targetDeviceDpi",modelName:"@TargetDeviceDpi",displayName:"Target Device Dpi",localizationId:"DevExpress.XtraReports.UI.XRBarCode.TargetDeviceDpi",editor:K.editorTemplates.getEditor("numeric"),editorOptions:{min:1,format:"#"}},LS={propertyName:"barcodeFake",valuesArray:Vp,editor:jp.getEditor("contentByType"),displayName:"Symbology",localizationId:"DevExpress.XtraReports.UI.XRBarCode.Symbology",descriptionLocalizationId:""},$S={propertyName:"alignment",modelName:"@Alignment",displayName:"Alignment",localizationId:"DevExpress.XtraReports.UI.XRBarCode.Alignment",defaultVal:"TopLeft",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Mu},FS={Codabar:Zy,Code11:[Uy],Code128:sS,Code39:nS,Code39Extended:nS,Code93:jy,Code93Extended:jy,CodeMSI:lS,DataBar:cS,DataMatrix:uS,DataMatrixGS1:hS,EAN128:gS,EAN13:[Uy],EAN8:[Uy],Industrial2of5:xS,IntelligentMail:[Uy],IntelligentMailPackage:[Uy,aS],Interleaved2of5:vS,ITF14:vS,Matrix2of5:xS,PDF417:fS,PostNet:[Uy],SSCC:bS,QRCode:TS,UPCA:[Uy],UPCE0:[Uy],UPCE1:[Uy],UPCSupplemental2:[Uy],UPCSupplemental5:[Uy],Pharmacode:wS,DeutschePostIdentcode:[Uy,Jy],DeutschePostLeitcode:[Uy,Jy],QRCodeGS1:zS,QRCodeEPC:ES},OS=Object.assign(Object.assign({},km),{descriptionLocalizationId:"DevExpress.XtraReports.UI.XRBarCode.TextFormatString.Description"}),XS=[$S,RS,BS,VS,MS,kS,Ou,OS,fm,Vg,Mg,zu,k.extend({},dm,{defaultVal:"BottomLeft"}),px,LS,AS,Ng(["Bookmark","NavigateUrl","Tag","Text"])].concat(Eg("Text"),Og,Ug,Gg,qg,Kg),HS=["barcodeFake","module","targetDeviceDpi","autoModule","barCodeOrientation","text","popularDataBinding","textFormatString","bookmark","bookmarkParent","showText"];class WS extends Kv{constructor(e,t,a){super(e,t,a),this.symbology(this.createBarcode(this.symbology()||{},a)),this.barcodeFake={type:A.pureComputed({read:()=>this.symbology().name(),write:e=>{var t;null===(t=this.symbology())||void 0===t||t.dispose(),this.symbology(this.createBarcode({"@Name":e},a))}}),content:this.symbology},this._disposables.push(this.barcodeFake.type)}createBarcode(e,t=null){const a=e["@Name"]||"Code1";e["@Name"]=a;const i=FS[a]||[Uy];return new zg(e,t,i)}dispose(){var e;super.dispose(),null===(e=this.symbology())||void 0===e||e.dispose()}}WS.unitProperties=[].concat(["module"],bv.unitProperties);class US{static getAlignments(e){let t="",a="";for(let i=0;i<e.length;i++)e[i]===e[i].toLocaleUpperCase()?""===t?t+=e[i]:""!==t&&(a+=e[i]):""!==a?a+=e[i]:t+=e[i];return{vertical:t,horizontal:a}}static getLines(e,t,a,i){const r=a?e.split("\n"):[e],o=[];if(0===t)return o;for(let e=0;e<r.length;e++){let a=1;r[e].length>t&&i&&(a=Math.round(r[e].length/t),a<r[e].length/t&&a++);for(let i=0;i<a;i++)o.push(r[e].slice(i*t,(i+1)*t))}return o}static getTextOffset(e,t,a,i,r,o){let s=0;return"Top"===a?s+=o*t:"Middle"===a?(s+=Math.floor((r-e.length)/2)*o,s+=o*t):"Bottom"===a&&(s+=(r-e.length)*o,s+=o*t),"Center"===i?e[t].length<o&&(s+=Math.floor((o-Math.max(e[t].length,1))/2)):"Right"===i&&e[t].length<o&&(s+=o-Math.max(e[t].length,1)),s}static setText(e,t,a){for(let e=0;e<t.length;e++)t[e].text(""),t[e].isEmpty=!0;for(let i=0;i<e.length;i++){const r=a(e,i);""===e[i]&&r<t.length&&r>=0&&(t[r].isEmpty=!1);for(let a=r;a<r+e[i].length;a++)a-r<e[i].length&&a<t.length&&a>=0&&(t[a].text(e[i][a-r]),t[a].isEmpty=!1)}}static distributionEmptySpace(e,t,a){return t&&-1!==a.indexOf("Top")||!t&&-1!==a.indexOf("Left")?0:t&&-1!==a.indexOf("Middle")||!t&&-1!==a.indexOf("Center")?e/2:e}static getHorizontalVerticalByText(e,t,a,i,r){const o=a.split("\n").map((e=>e.length)),s=Math.max(...o);let n=Math.min(a.length,i),l=r;return e||t?!e&&t?l=Math.ceil(a.length/n):e&&t?(n=Math.min(n,s),l=0,o.forEach((e=>l+=e?Math.ceil(e/n):1))):e&&!t&&(l=o.length,n=s):(l=1,n=a.length),{horizontal:n,vertical:l}}}class GS extends Kv{constructor(e,t,a){super(e,t,a);const i=this.cellWidth,r=this.cellHeight;this._disposables.push(this.cellWidth=this._createCellSideFromOriginalSide(i,!1)),this._disposables.push(this.cellHeight=this._createCellSideFromOriginalSide(r,!0));const o=new G.FontModel(this.font),s=A.computed((()=>this.borders()&&"None"!==this.borders()?this.borderWidth():0));this._disposables.push(s);const n=new Py;this.autoCellSide=A.observable(this.cellHeight()),this._disposables.push(A.computed((()=>{if("Custom"!==this.sizeMode()){let e=1.5*n.getTextContainerSize("a",{"font-size":o.size()+o.unit(),"font-family":o.family(),height:"auto",width:"auto"},0).height+2*s();this.parentModel()&&(e=(0,B.pixelToUnits)(e,this.parentModel().root.measureUnit(),1)),this.autoCellSide(e)}})))}isPropertyDisabled(e){return"cellWidth"===e?"AutoSize"===this.sizeMode()||"AutoWidth"===this.sizeMode():"cellHeight"===e?"AutoSize"===this.sizeMode()||"AutoHeight"===this.sizeMode():super.isPropertyDisabled(e)}_createCellSideFromOriginalSide(e,t){return A.pureComputed({read:()=>{switch(this.sizeMode()){case"AutoSize":return null;case"AutoWidth":return t?e():null;case"AutoHeight":return t?null:e();case"Custom":return e()}},write:t=>{e(t)}})}roundSize(){this.size.width(Math.ceil(this.size.width())),this.size.height(Math.ceil(this.size.height()))}}GS.unitProperties=[].concat(["cellWidth","cellHeight","verticalSpacing","horizontalSpacing"],bv.unitProperties);class jS extends Yv{constructor(e,t){super(e,t),this.cells=A.observableArray([]),this._disposables.push(this.borderWidth=A.computed((()=>void 0===e.borderWidth()?1:e.borderWidth()))),this.rtl=()=>e.rtl(),this.borders=e.borders,this.template="dxrd-charactercomb",this.contenttemplate="dxrd-charactercomb-content",this._disposables.push(e.textAlignment.subscribe((e=>{this._updateCellsText(e)}))),this._disposables.push(this.verticalSpacing=A.computed((()=>(0,B.unitsToPixel)(e.verticalSpacing(),t.measureUnit(),1)))),this._disposables.push(this.horizontalSpacing=A.computed((()=>(0,B.unitsToPixel)(e.horizontalSpacing(),t.measureUnit(),1)))),this.cellSize={width:A.computed((()=>(0,B.unitsToPixel)(e.cellWidth()||e.autoCellSide(),t.measureUnit(),1))),height:A.computed((()=>(0,B.unitsToPixel)(e.cellHeight()||e.autoCellSide(),t.measureUnit(),1))),isPropertyDisabled:e=>!1},this._disposables.push(this.cellSize.width),this._disposables.push(this.cellSize.height),this._disposables.push(this.fullCellHeight=A.computed((()=>{const e=this.verticalSpacing();let t=this.cellSize.height();return this.verticalSpacing()&&(t+=this.verticalSpacing()),t-this._getBorderWidthBySpacing(e)}))),this._disposables.push(this.fullCellWidth=A.computed((()=>{const e=this.horizontalSpacing.peek();let t=this.cellSize.width();return this.horizontalSpacing()&&(t+=this.horizontalSpacing()),t-this._getBorderWidthBySpacing(e)}))),this._disposables.push(this.vertical=A.computed((()=>{const e=this._getBorderWidthBySpacing(this.verticalSpacing())*t.zoom(),a=this.fullCellHeight()*t.zoom();let i=Math.floor((0,B.roundingXDecimals)((this.rect().height-e)/a));return(0,B.roundingXDecimals)(this.rect().height-(i*a+e))>=(0,B.roundingXDecimals)(this.cellSize.height()*t.zoom()-e)&&(i+=1),i}))),this._disposables.push(this.horizontal=A.computed((()=>{const e=this._getBorderWidthBySpacing(this.horizontalSpacing())*t.zoom(),a=this.fullCellWidth()*t.zoom();let i=Math.floor((0,B.roundingXDecimals)((this.rect().width-e)/a));return(0,B.roundingXDecimals)(this.rect().width-(i*a+e))>=(0,B.roundingXDecimals)(this.cellSize.width()*t.zoom()-e)&&(i+=1),i}))),this._disposables.push(this.topEmptySpace=A.computed((()=>{const e=this.verticalSpacing(),a=this._getBorderWidthBySpacing(e),i=this.rect().height/t.zoom()-(this.fullCellHeight()*this.vertical()-e+a);return US.distributionEmptySpace(i,!0,this.getControlModel().textAlignment())}))),this._disposables.push(this.leftEmptySpace=A.computed((()=>{const e=this.horizontalSpacing(),a=this._getBorderWidthBySpacing(e),i=this.rect().width/t.zoom()-(this.fullCellWidth()*this.horizontal()-e+a);return US.distributionEmptySpace(i,!1,this.getControlModel().textAlignment())}))),this._disposables.push(this.css=A.pureComputed((()=>k.extend({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss())))),this._disposables.push(this.borderCss=A.pureComputed((()=>this.cssCalculator.borderCss()))),this._disposables.push(A.computed((()=>{this.updateArray(this.vertical()*this.horizontal()),this._updateCellsText(e.textAlignment.peek())}))),this._disposables.push(e.text.subscribe((t=>{this._updateCellsText(e.textAlignment.peek())})))}_createCell(e,t){return{text:A.observable(e),left:A.computed((()=>{const e=this.horizontalSpacing(),a=this._getBorderWidthBySpacing(e),i=Math.floor(t/this.horizontal());let r=t-this.horizontal()*i;return this.rtl()&&(r=this.horizontal()*(i+1)-(t+1)),r*(this.cellSize.width()+e-a)+this.leftEmptySpace()})),top:A.computed((()=>{const e=this.verticalSpacing(),a=this._getBorderWidthBySpacing(e);return Math.floor(t/this.horizontal())*(this.cellSize.height()+e-a)+this.topEmptySpace()})),size:this.cellSize,isEmpty:!1}}_updateCellsText(e){const t=US.getAlignments(e),a=US.getLines(this.displayText(),this.horizontal.peek(),this._control.multiline(),this._control.wordWrap&&this._control.wordWrap());US.setText(a,this.cells.peek(),((e,a)=>US.getTextOffset(e,a,t.vertical,t.horizontal,this.vertical.peek(),this.horizontal.peek())))}_getBorderWidthBySpacing(e){return!e&&this.borders()&&"None"!==this.borders()?this.borderWidth():0}_applyBounds(e,t,a,i,r){if(a<=this.vertical()){const a=this.cells().filter((e=>!e.isEmpty)),i=a.map((e=>e.left()));e.top+=a[0].top(),t<=this.horizontal()&&(e.left+=Math.min(...i))}else if(t<=this.horizontal()){const o=[];this.updateArray(a*t,o);const s=US.getAlignments(this.getControlModel().textAlignment()),n=US.getLines(this.displayText(),t,i,r);US.setText(n,o,((e,i)=>US.getTextOffset(e,i,s.vertical,s.horizontal,a,t)));const l=o.filter((e=>!e.isEmpty)).map((e=>e.left()));e.left+=Math.min(...l)}e.height=(this.cellSize.height()+this.verticalSpacing())*a-this.verticalSpacing()-(0,B.unitsToPixel)(this._getBorderWidthBySpacing(this.verticalSpacing())*(a-1),this._context.measureUnit(),1),e.width=(this.cellSize.width()+this.horizontalSpacing())*t-this.horizontalSpacing()-(0,B.unitsToPixel)(this._getBorderWidthBySpacing(this.horizontalSpacing())*(t-1),this._context.measureUnit(),1)}updateArray(e,t){const a=t||this.cells.peek();if(a.length>e)a.splice(e,a.length-e);else if(a.length<e)for(let t=a.length;t<e;t++)a.push(this._createCell("",t));t||this.cells.valueHasMutated()}fitBoundsToText(){const e=this._control.multiline&&this._control.multiline(),t=this._control.wordWrap&&this._control.wordWrap(),a=this._context.zoom(),i=this.rect(),r={};Object.keys(i).forEach((e=>{r[e]=i[e]/a}));const o=US.getHorizontalVerticalByText(e,t,this.displayText(),this.horizontal()||1,this.vertical()||1);this._applyBounds(r,o.horizontal,o.vertical,e,t),r.top===i.top&&r.height===i.height&&r.left===i.left&&r.width===i.width||(this.rect({top:Math.round(r.top*a),height:r.height*a,left:Math.round(r.left*a),width:r.width*a}),this.getControlModel().roundSize())}getText(){return this.displayText()}}const qS=[{value:"Count",displayValue:"Count",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Count"},{value:"Sum",displayValue:"Sum",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Sum"},{value:"Min",displayValue:"Min",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Min"},{value:"Max",displayValue:"Max",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Max"},{value:"Average",displayValue:"Average",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Average"},{value:"StdDev",displayValue:"Standard Deviation",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.StdDev"},{value:"StdDevp",displayValue:"Standard Deviation for Entire Population",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.StdDevp"},{value:"Var",displayValue:"Variation",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Var"},{value:"Varp",displayValue:"Variation for Entire Population",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Varp"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryType.Custom"}],JS={propertyName:"summaryType",modelName:"@SummaryType",displayName:"Summary Type",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.SummaryType",defaultVal:"Sum",editor:K.editorTemplates.getEditor("combobox"),valuesArray:qS},KS={propertyName:"fieldComponentName",modelName:"@FieldComponentName",displayName:"Field",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldSortBySummaryInfo.Field",defaultVal:"",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"",displayValue:"(none)",localizationId:"ChartStringId.WizNoBackImage"}]},QS={propertyName:"conditions",modelName:"Conditions",displayName:"Conditions",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldSortBySummaryInfo.Conditions",array:!0,template:"#dxrd-commonCollectionItem",editor:{custom:"dxrd-pivot-sortBySummaryInfo-conditions"}},YS={propertyName:"fieldName",modelName:"@FieldName",displayName:"Field Name",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldSortBySummaryInfo.FieldName",defaultVal:null,editor:K.editorTemplates.getEditor("text")},ZS={propertyName:"customTotalSummaryType",modelName:"@CustomTotalSummaryType",displayName:"Custom Total Summary Type",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldSortBySummaryInfo.CustomTotalSummaryType",defaultVal:"",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"",displayValue:"(none)",localizationId:"ChartStringId.WizNoBackImage"}].concat(qS)},eC=[QS,ZS,KS,YS,JS],tC=[KS,{modelName:"@Value",propertyName:"value",displayName:"Value",editor:K.editorTemplates.getEditor("text"),localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"},{modelName:"@Value_type",propertyName:"valueType",displayName:"Type",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"<Null>",valuesArray:[{value:"System.String",displayValue:"String",localizationId:"UtilsUIStringId.Parameter_Type_String"},{value:"System.Byte",displayValue:"Number (8 bit integer)",localizationId:"DataAccessStringId.Type_SByte"},{value:"System.Int16",displayValue:"Number (16 bit integer)",localizationId:"UtilsUIStringId.Parameter_Type_Int16"},{value:"System.Int32",displayValue:"Number (32 bit integer)",localizationId:"UtilsUIStringId.Parameter_Type_Int32"},{value:"System.Int64",displayValue:"Number (64 bit integer)",localizationId:"UtilsUIStringId.Parameter_Type_Int64"},{value:"System.Single",displayValue:"Number (floating-point)",localizationId:"UtilsUIStringId.Parameter_Type_Float"},{value:"System.Double",displayValue:"Number (double-precision floating-point)",localizationId:"UtilsUIStringId.Parameter_Type_Double"},{value:"System.Decimal",displayValue:"Number (decimal)",localizationId:"UtilsUIStringId.Parameter_Type_Decimal"},{value:"System.Boolean",displayValue:"Boolean",localizationId:"UtilsUIStringId.Parameter_Type_Boolean"},{value:"System.Char",displayValue:"Char",localizationId:"DataAccessStringId.Type_Char"},{value:"System.DateTime",displayValue:"Date",localizationId:"UtilsUIStringId.Parameter_Type_DateTime"},{value:"<Null>",displayValue:"<Null>"}],localizationId:"DevExpress.XtraPrinting.XlEncryptionOptions.Type"}];class aC{constructor(e,t,a){this._fieldsProvider=t,(a=a||new L.ModelSerializer).deserialize(this,e)}getInfo(){const e=this._fieldsProvider.fieldsAvailableForCondition();if(e.length<1)return tC;const t=tC.slice(0),a=(0,B.find)(tC,(e=>"@FieldComponentName"===e.modelName)),i=k.extend(!0,{},a);return e.forEach((e=>{i.valuesArray.push({value:e,displayValue:e})})),t.splice(t.indexOf(a),1,i),t}static createNew(e,t){return new aC({},e,t)}}class iC{constructor(e,t,a){this._field=t,(a=a||new L.ModelSerializer).deserialize(this,e,eC),this.conditions=(0,L.deserializeArray)(e.Conditions||{},(e=>new aC(e,this,a)))}_pivotGridFields(){return this._field.parentModel().fields}getInfo(){const e=this._pivotGridFields();if(!e)return eC;const t=eC.slice(0),a=(0,B.find)(eC,(e=>"@FieldComponentName"===e.modelName)),i=k.extend(!0,{},a);return e().forEach((e=>{e.name()!==this._field.name()&&i.valuesArray.push({value:e.name(),displayValue:e.name()})})),t.splice(eC.indexOf(a),1,i),t}fieldsAvailableForCondition(){const e=this._pivotGridFields();if(!e)return[];const t=[];return e().forEach((e=>{(0,B.find)(this.conditions(),(t=>t.fieldComponentName()===e.name()))||t.push(e.name())})),t}static from(e,t){return e}static toJSON(e,t,a){return(t||new L.ModelSerializer).serialize(e,eC,a)}}class rC extends Q.ElementViewModel{constructor(e,t,a){super((0,B.cutRefs)(e),t,a),this.controlType="PivotGridField",this.areaIndexEditable=A.pureComputed({read:()=>this.areaIndex(),write:e=>{if(e>=0){const a=t.getFieldsFromArea(this.area());if(e>=a.length)return;const i=this.areaIndex(),r=e<i?1:-1,o=Math.min(e,i),s=Math.max(e,i);a.forEach((e=>{const t=e.areaIndex();o<=t&&t<=s&&e.areaIndex(t+r)})),this.areaIndex(e)}}}),this._disposables.push(this.area.subscribe((e=>{this.areaIndex(t.getFieldsFromArea(this.area()).length-1)}))),this.sortBySummaryInfo=new iC(this.sortBySummaryInfo||{},this,a)}static createNew(e){return()=>new rC({},A.unwrap(e),null)}getFieldType(){const e=this.root;if(!(e&&e instanceof Ly))return;const t=e.dataBindingsProvider&&e.dataBindingsProvider();let a;return t&&t.getItems(new L.PathRequest(this.getPath(""))).done((e=>{a=(0,B.findFirstItemMatchesCondition)(e,(e=>e.name===this.fieldName()))})),a&&a.specifics?a.specifics:void 0}getInfo(){return this.getControlFactory().controlsMap.PivotGridField.info}getControlFactory(){return Op()}getPath(e){return(0,B.getFullPath)(this.parentModel().getPath(""),this.parentModel().dataMember())}getDisplayName(){return this.caption()||this.fieldName()||this.name()||this.displayName&&this.displayName()}}rC.fieldHeight=20;class oC extends Qv{constructor(e,t){super(e,t,null),this.isIntersect=A.computed((()=>!1)),this.displayText=()=>e.caption()||e.fieldName()||e.displayName()||"",this._disposables.push(A.computed((()=>{this._width(e.width()*t.zoom()),this._height(rC.fieldHeight*t.zoom())}))),this.template="dxrd-pivotgrid-field",this.selectiontemplate="dxrd-pivotgrid-field-selection",this.area=e.area,this.areaIndex=e.areaIndex,this._disposables.push(this.minWidth=A.pureComputed((()=>"ColumnArea"===this.area()||"FilterArea"===this.area()?100:0))),this._disposables.push(this.positionWidthWithoutZoom=A.pureComputed((()=>this.position.width()/this._context.zoom())))}}function sC(e,t){return e.areaIndex()-t.areaIndex()}class nC extends Kv{constructor(e,t,a){super(e,t,a),this.fields=(0,L.deserializeArray)(e&&e.Fields||[],(e=>new rC(e,this,a))),this._disposables.push(this.fields.subscribe((()=>{["FilterArea","DataArea","ColumnArea","RowArea"].forEach((e=>{const t=this.getFieldsFromArea(e);for(let e=0;e<t.length;e++)t[e].areaIndex(e)}))}))),this.addFieldToArea=e=>{if(this.lockedInUserDesigner())return;const t=new rC({"@ControlType":"PivotGridField","@Area":e},this,a);t.index(this.fields().length),t.areaIndex(this.getFieldsFromArea(e).length),this.fields.push(t)},this._initCriteriaString()}dispose(){super.dispose(),this.disposeObservableArray(this.fields),this.resetObservableArray(this.fields)}_initCriteriaString(){this.prefilter.criteriaString=new K.FilterStringOptions(this.prefilter._criteriaString),this.prefilter.criteriaString.helper.canChoiceParameters=!1,this.prefilter.criteriaString.helper.canChoiceProperty=!1,this.prefilter.criteriaString.helper.getDisplayPropertyName=(e,t)=>{const a=(0,B.find)(this.fields.peek(),(e=>e.name()===t));return k.Deferred().resolve(a?a.getDisplayName():t).promise()},this.prefilter.parent=this}removeChild(e){this.fields.splice(this.fields().indexOf(e),1)}getFieldsFromArea(e){const t=[];return t.push.apply(t,this.fields().filter((t=>t.area()===e))),t.sort(sC)}getPath(e){return this.dsHelperProvider()&&this.dsHelperProvider().getDataSourcePath(this.dataSource())}}class lC extends Yv{constructor(e,t){super(e,t),this.contenttemplate="dxrd-pivotgrid-content",this.selectiontemplate="dxrd-pivotgrid-selection",this._disposables.push(this.filterFields=A.pureComputed((()=>this.getAreaFields("FilterArea")))),this._disposables.push(this.dataFields=A.pureComputed((()=>this.getAreaFields("DataArea")))),this._disposables.push(this.columnFields=A.pureComputed((()=>this.getAreaFields("ColumnArea")))),this._disposables.push(this.rowFields=A.pureComputed((()=>this.getAreaFields("RowArea")))),this._disposables.push(this.totalsHeight=A.pureComputed((()=>this.columnFields().length>0?this.columnFields().length*rC.fieldHeight:rC.fieldHeight))),this._disposables.push(this.rowHeaderHeight=A.pureComputed((()=>this.totalsHeight()+(this.dataFields().length>0?rC.fieldHeight:0)+8))),this._disposables.push(this.totalsDataFieldWidth=A.pureComputed((()=>this.getTotalsAreaFieldWidth("DataArea",t.zoom())))),this._disposables.push(this.totalsRowFieldWidth=A.pureComputed((()=>this.getTotalsAreaFieldWidth("RowArea",t.zoom()))))}_getChildrenHolderName(){return"fields"}getAreaFields(e){return this.fields().filter((t=>t.area()===e)).sort(sC)}getTotalsAreaFieldWidth(e,t){let a=0;const i=this.getAreaFields(e);return i.forEach((e=>{a+=e.rect().width})),i.length>0?a/t:100}getAdornTemplate(){return this.isIntersect()?"dxrd-intersect":""}isThereIntersectionWithChildCollection(){return!1}}class dC extends Kv{constructor(e,t,a){super(e,t,a),["seriesDataMember","dataMember"].forEach((e=>{this[e]=A.computed({read:()=>this.chart.dataContainer[e](),write:t=>{this.chart.dataContainer[e](t)}})})),["appearanceName","paletteName"].forEach((e=>{this[e]=A.computed({read:()=>this.chart[e](),write:t=>{this.chart[e](t)}})})),this.controlParameters=(0,L.deserializeArray)(e.Parameters,(e=>new sh(e,a))),this._disposables.push(this.controlParameters.subscribe((e=>{e.forEach((e=>{e.value.parameterName()||e.value.parameterName((0,B.getUniqueNameForNamedObjectsArray)(this.controlParameters(),"controlParameter"))}))}),null,"arrayChange")),this.pivotGridDataSourceOptions=A.computed((()=>this.chart.dataContainer.pivotGridDataSourceOptions)),this.isPivotGridDataSource=A.observable(this.dataSource()instanceof nC),this.isPivotGridDataSource.subscribe((e=>{dC.setDataMembers(this.chart,e)})),this.realDataSource=A.computed((()=>{this.isPivotGridDataSource(this.dataSource()instanceof nC);const e=this.root&&this.root.dataSource&&this.root.dataSource();return this.dataSource()||e})),this._disposables.push(this.allChartComponents=A.computed((()=>this._getChildComponents()))),this.expressionObj&&(this._disposables.push(this.allChartComponents.subscribe((e=>this._updateExpressionObjectProperties(e)))),this._updateExpressionObjectProperties(this.allChartComponents.peek())),this._disposables.push(A.computed((()=>{const e=this.root&&this.root.dsHelperProvider&&this.root.dsHelperProvider()&&this.root.dsHelperProvider().usedDataSources().map((e=>e.data));e&&!this.isPivotGridDataSource()&&-1===e.indexOf(this.dataSource())&&this.dataSource(null)}))),this.chartModel=this._createChartModel(),this.isPivotGridDataSource.subscribe((e=>{dC.setDataMembers(this.chart,e)}))}static assignValueDataMembers(e,t){const a=e.dataContainer.seriesTemplate.valueDataMembers(),i=e=>{e.forEach((e=>{a[e](t)}))};a instanceof po?i(["value"]):a instanceof xo?i(["value","weight"]):a instanceof go?i(["value1","value2"]):a instanceof ho&&i(["open","close","hight","low"])}static setDataMembers(e,t){t?(dC.assignValueDataMembers(e,"Values"),e.dataContainer.seriesTemplate.argumentDataMember("Arguments"),e.dataContainer.seriesDataMember("Series")):(dC.assignValueDataMembers(e,null),e.dataContainer.seriesTemplate.argumentDataMember(null),e.dataContainer.seriesDataMember(null))}_createChartModel(){const e=new op({chart:this.chart,dataSource:this.dataSource,parameters:this.controlParameters});return e.isSeriesPropertyDisabled=e=>{if(!this.realDataSource()||this.realDataSource()instanceof nC)return"argumentDataMember"===e||"valueDataMembers"===e||"colorDataMember"===e},e.isSeriesTemplatePropertyDisabled=t=>{if(!this.realDataSource()||this.realDataSource()instanceof nC&&e.chart.dataContainer.pivotGridDataSourceOptions.autoBindingSettingsEnabled())return"argumentDataMember"===t||"valueDataMembers"===t||"valueScaleType"===t||"argumentScaleType"===t},e.getPath=t=>this.realDataSource()instanceof nC||"dataMember"===t?this.getPath(t):"seriesDataMember"===t?(0,B.getFullPath)(this.getPath("dataMember"),e.dataMember()):void 0,e.isPropertyDisabled=e=>this.isPropertyDisabled(e),e}_updateExpressionObjectProperties(e){const t=this._getExpressionObjectProperties(e);this.expressionObj.updateExpressionObjectProperties(t)}_getExpressionObjectProperties(e){const t=[];return e.forEach((e=>{if(e.component.getExpressionProperties){const a=e.component.getExpressionProperties();t.push(...a.map((t=>({controlType:this.controlType,propertyName:e.path+"."+t,events:["BeforePrint"],displayPath:e.displayPath}))))}})),t}_getChildComponents(){return(0,fg.getChartChildComponents)(this.chart,"")}createLocalizationProvider(){return new vv(this)}isPropertyDisabled(e){return!this.realDataSource()||this.realDataSource()instanceof nC&&this.pivotGridDataSourceOptions().autoBindingSettingsEnabled()?"seriesDataMember"===e||"dataMember"===e:!this.realDataSource()||this.realDataSource()instanceof nC?"dataMember"===e:super.isPropertyDisabled(e)}getPath(e){if(this.dataSource()instanceof nC)return["PivotGrid",e].join(".");const t=this.dsHelperProvider(),a=t&&t.getDataSourcePath(this.realDataSource());return"seriesDataMember"===e?(0,B.getFullPath)(a,this.dataMember()):"dataMember"===e?a:void 0}}class cC extends Yv{constructor(e,t){super(e,t),this.designTime=A.observable(!1),this.isLoading=A.observable(!1),this.imageSrc=A.observable(""),this.template="dxrd-shape",this.contenttemplate="dxrd-server-rendered-control-content",this.selectiontemplate="dxrd-chart-selection",this._disposables.push(A.computed((()=>{if(!this.designTime()){const e=this;Wp()&&(e.isLoading(!0),Yx.getChartImage(this).done((function(t){e.isLoading(!1),e.imageSrc("data:image/svg+xml;base64,"+t.Image)})).fail((function(t){e.isLoading(!1),(0,B.NotifyAboutWarning)("Impossible to get chart image.")})))}})).extend({deferred:!0}))}runDesignerButtonText(){return(0,L.getLocalization)("Run Designer","ReportStringId.Verb_RunDesigner")}}class pC extends Kv{constructor(e,t,a){super(pC._patchModel(e),t,a);const i=(new fg.Locker).lock;this._disposables.push(this.checkBoxState.subscribe((e=>{i((()=>{this.checked("Checked"===e||"Indeterminate"===e)}))}))),this._disposables.push(this.checked.subscribe((e=>{i((()=>{this.checkBoxState(e?"Checked":"Unchecked")}))}))),"Unchecked"!==this.checkBoxState()?this.checkBoxState.valueHasMutated():!1!==this.checked()&&this.checked.valueHasMutated(),this.glyphOptions&&A.isObservable(this.glyphOptions.alignment)&&(this.glyphAlignment=this.glyphOptions.alignment)}static _patchModel(e){return e["@CheckState"]&&(e["@CheckBoxState"]=e["@CheckState"],delete e["@CheckState"]),e}}pC.unitProperties=[].concat(["glyphOptions"],bv.unitProperties);class uC extends Ny{constructor(e,t){super(e,t),this.checkStateWidthContainer=A.observable(),this.visibleText=A.observable(!0),this.contenttemplate="dxrd-checkbox-content",this._disposables.push(this.checkStateWidth=A.computed((()=>(0,B.unitsToPixel)(e.glyphOptions.size.width(),t.measureUnit(),1)))),this._disposables.push(this.checkStateHeight=A.computed((()=>(0,B.unitsToPixel)(e.glyphOptions.size.height(),t.measureUnit(),1)))),this._disposables.push(this.checkStateClass=A.pureComputed((()=>"dxrd-checkbox-checkstate-"+e.checkBoxState().toLowerCase()))),this._disposables.push(this.customGlyphStyleCss=A.pureComputed((()=>(0,Bp.createCustomGlyphStyleCss)(e.glyphOptions.customGlyphs[e.checkBoxState()]())))),this._disposables.push(this.checkStateStyleIcon=A.pureComputed((()=>(0,Bp.getCheckBoxTemplate)(e.glyphOptions.style(),e.checkBoxState(),this.customGlyphStyleCss())))),this.leftPadding=()=>{const a=A.unwrap(e.paddingObj)||Q.PaddingModel.from(Q.PaddingModel.defaultVal);return(0,B.unitsToPixel)(a._get("left"),t.measureUnit())},this._disposables.push(this.textWidth=A.pureComputed((()=>this.contentWidthWithoutZoom()-this.checkStateWidth()-this.leftPadding()))),this._disposables.push(this.visibleText=A.pureComputed((()=>"Center"!==e.glyphAlignment()))),this._disposables.push(this.checkStateWidthContainer=A.pureComputed((()=>this.visibleText()?this.checkStateWidth()+"px":"100%"))),this.isGlyphAlignmentNear=A.pureComputed((()=>this._control.rtl()?"Far"===e.glyphAlignment():"Near"===e.glyphAlignment())),this._disposables.push(this.css=A.pureComputed((()=>k.extend({},this.cssCalculator.fontCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.paddingsCss()))))}}const mC=DevExpress.Analytics.Wizard.Internal,hC={displayName:"Caption",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.Caption",propertyName:"caption",modelName:"@Caption",defaultVal:"",editor:K.editorTemplates.getEditor("text")},gC={displayName:"Index",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField.Index",propertyName:"index",modelName:"@Index",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},xC={propertyName:"fieldName",modelName:"@FieldName",displayName:"Data Column Name",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.FieldName",editor:K.editorTemplates.getEditor("field")},vC={displayName:"Min Width",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.MinWidth",propertyName:"minWidth",modelName:"@MinWidth",defaultVal:20,editor:K.editorTemplates.getEditor("numeric")},fC={displayName:"Width",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.Width",propertyName:"width",modelName:"@Width",defaultVal:100,editor:K.editorTemplates.getEditor("numeric")},bC={displayName:"Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.Area",propertyName:"area",modelName:"@Area",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"FilterArea",valuesArray:[{value:"RowArea",displayValue:"Row Area",localizationId:"DevExpress.XtraPivotGrid.PivotArea.RowArea"},{value:"ColumnArea",displayValue:"Column Area",localizationId:"DevExpress.XtraPivotGrid.PivotArea.ColumnArea"},{value:"FilterArea",displayValue:"Filter Area",localizationId:"DevExpress.XtraPivotGrid.PivotArea.FilterArea"},{value:"DataArea",displayValue:"Data Area",localizationId:"DevExpress.XtraPivotGrid.PivotArea.DataArea"}]},yC={propertyName:"allowedAreas",modelName:"@AllowedAreas",displayName:"Allowed Areas",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.AllowedAreas",defaultVal:"All",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"All",displayValue:"All",localizationId:"DevExpress.XtraPivotGrid.PivotGridAllowedAreas.All"},{value:"RowArea",displayValue:"Row Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridAllowedAreas.RowArea"},{value:"ColumnArea",displayValue:"Column Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridAllowedAreas.ColumnArea"},{value:"FilterArea",displayValue:"Filter Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridAllowedAreas.FilterArea"},{value:"DataArea",displayValue:"Data Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridAllowedAreas.DataArea"}]},SC={propertyName:"areaIndex",modelName:"@AreaIndex",defaultVal:-1},CC={propertyName:"areaIndexEditable",displayName:"Area Index",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.AreaIndex",editor:K.editorTemplates.getEditor("numeric")},DC={propertyName:"unboundType",modelName:"@UnboundType",displayName:"Unbound Type",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.UnboundType",defaultVal:"Bound",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Bound",displayValue:"Bound",localizationId:"DevExpress.Data.UnboundColumnType.Bound"},{value:"Integer",displayValue:"Integer",localizationId:"DevExpress.Data.UnboundColumnType.Integer"},{value:"Decimal",displayValue:"Decimal",localizationId:"DevExpress.Data.UnboundColumnType.Decimal"},{value:"DateTime",displayValue:"DateTime",localizationId:"DevExpress.XtraTreeList.Data.UnboundColumnType.DateTime"},{value:"String",displayValue:"String",localizationId:"DevExpress.Data.UnboundColumnType.String"},{value:"Boolean",displayValue:"Boolean",localizationId:"DevExpress.Data.UnboundColumnType.Boolean"},{value:"Object",displayValue:"Object",localizationId:"DevExpress.Data.UnboundColumnType.Object"}]},_C={propertyName:"unboundFieldName",modelName:"@UnboundFieldName",displayName:"Unbound Field Name",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.UnboundFieldName",defaultVal:"",editor:K.editorTemplates.getEditor("text")},IC={propertyName:"unboundExpression",modelName:"@UnboundExpression",displayName:"Unbound Expression",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.UnboundExpression",defaultVal:"",editor:K.editorTemplates.getEditor("text")},PC={propertyName:"topValueType",modelName:"@TopValueType",displayName:"Top Value Type",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TopValueType",defaultVal:"Absolute",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Absolute",displayValue:"Absolute",localizationId:"DevExpress.XtraPivotGrid.PivotTopValueType.Absolute"},{value:"Percent",displayValue:"Percent",localizationId:"DevExpress.XtraPivotGrid.PivotTopValueType.Percent"},{value:"Sum",displayValue:"Sum",localizationId:"DevExpress.XtraPivotGrid.PivotTopValueType.Sum"}]},TC={propertyName:"topValueShowOthers",modelName:"@TopValueShowOthers",displayName:"Top Value Show Others",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TopValueShowOthers",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},zC={propertyName:"topValueCount",modelName:"@TopValueCount",displayName:"Top Value Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TopValueCount",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},NC={propertyName:"summaryDisplayType",modelName:"@SummaryDisplayType",displayName:"Summary Display Type",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.SummaryDisplayType",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.Default"},{value:"AbsoluteVariation",displayValue:"Absolute Variation",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.AbsoluteVariation"},{value:"PercentVariation",displayValue:"Percent Variation",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentVariation"},{value:"PercentOfColumn",displayValue:"Percent Of Column",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfColumn"},{value:"PercentOfRow",displayValue:"Percent Of Row",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfRow"},{value:"PercentOfColumnGrandTotal",displayValue:"Percent Of Column Grand Total",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfColumnGrandTotal"},{value:"PercentOfRowGrandTotal",displayValue:"Percent Of Row Grand Total",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfRowGrandTotal"},{value:"PercentOfGrandTotal",displayValue:"Percent Of Grand Total",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfGrandTotal"},{value:"RankInColumnSmallestToLargest",displayValue:"Rank In Column Smallest To Largest",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.RankInColumnSmallestToLargest"},{value:"RankInRowSmallestToLargest",displayValue:"Rank In Row Smallest To Largest",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.RankInRowSmallestToLargest"},{value:"RankInColumnLargestToSmallest",displayValue:"Rank In Column Largest To Smallest",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.RankInColumnLargestToSmallest"},{value:"RankInRowLargestToSmallest",displayValue:"Rank In Row Largest To Smallest",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.RankInRowLargestToSmallest"},{value:"Index",displayValue:"Index",localizationId:"DevExpress.Data.PivotGrid.PivotSummaryDisplayType.Index"}]},EC={propertyName:"sortOrder",modelName:"@SortOrder",displayName:"Sort Order",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.SortOrder",defaultVal:"Ascending",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Ascending",displayValue:"Ascending",localizationId:"DevExpress.XtraPivotGrid.PivotSortOrder.Ascending"},{value:"Descending",displayValue:"Descending",localizationId:"DevExpress.XtraPivotGrid.PivotSortOrder.Descending"}]},wC={propertyName:"sortMode",modelName:"@SortMode",displayName:"Sort Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.SortMode",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.Default"},{value:"Value",displayValue:"Value",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.Value"},{value:"DisplayText",displayValue:"DisplayText",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.DisplayText"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.Custom"},{value:"Key",displayValue:"Key",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.Key"},{value:"ID",displayValue:"ID",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.ID"},{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPivotGrid.PivotSortMode.None"}]},RC={propertyName:"showNewValues",modelName:"@ShowNewValues",displayName:"Show New Values",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.ShowNewValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},BC={propertyName:"runningTotal",modelName:"@RunningTotal",displayName:"Running Total",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.RunningTotal",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},VC={propertyName:"rowValueLineCount",modelName:"@RowValueLineCount",displayName:"Row Value Line Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridField.RowValueLineCount",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},MC={propertyName:"groupIntervalNumericRange",modelName:"@GroupIntervalNumericRange",displayName:"Group Interval Numeric Range",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.GroupIntervalNumericRange",defaultVal:10,editor:K.editorTemplates.getEditor("numeric")},kC={propertyName:"groupInterval",modelName:"@GroupInterval",displayName:"Group Interval",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField.GroupInterval",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Default"},{value:"Date",displayValue:"Date",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Date"},{value:"DateDay",displayValue:"DateDay",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateDay"},{value:"DateDayOfWeek",displayValue:"Day Of Week",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateDayOfWeek"},{value:"DateDayOfYear",displayValue:"Day Of Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateDayOfYear"},{value:"DateWeekOfMonth",displayValue:"Week Of Month",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateWeekOfMonth"},{value:"DateWeekOfYear",displayValue:"Week Of Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateWeekOfYear"},{value:"DateMonth",displayValue:"Month",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateMonth"},{value:"DateQuarter",displayValue:"Quarter",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateQuarter"},{value:"DateYear",displayValue:"Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateYear"},{value:"YearAge",displayValue:"Year Age",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.YearAge"},{value:"MonthAge",displayValue:"Month Age",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.MonthAge"},{value:"WeekAge",displayValue:"Week Age",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.WeekAge"},{value:"DayAge",displayValue:"Day Age",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DayAge"},{value:"Alphabetical",displayValue:"Alphabetical",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Alphabetical"},{value:"Numeric",displayValue:"Numeric",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Numeric"},{value:"Hour",displayValue:"Hour",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Hour"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Custom"},{value:"Minute",displayValue:"Minute",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Minute"},{value:"Second",displayValue:"Second",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.Second"},{value:"DateMonthYear",displayValue:"Month-Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateMonthYear"},{value:"DateQuarterYear",displayValue:"Quarter-Year",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateQuarterYear"},{value:"DateHour",displayValue:"Date-Hour",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateHour"},{value:"DateHourMinute",displayValue:"Date-Hour-Minute",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateHourMinute"},{value:"DateHourMinuteSecond",displayValue:"Date-Hour-Minute-Second",localizationId:"DevExpress.XtraPivotGrid.PivotGroupInterval.DateHourMinuteSecond"}]},AC={propertyName:"grandTotalText",modelName:"@GrandTotalText",displayName:"Grand Total Text",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.GrandTotalText",defaultVal:"",editor:K.editorTemplates.getEditor("text")},LC={propertyName:"expandedInFieldsGroup",modelName:"@ExpandedInFieldsGroup",displayName:"Expanded In Fields Group",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.ExpandedInFieldsGroup",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},$C={propertyName:"emptyValueText",modelName:"@EmptyValueText",displayName:"Empty Value Text",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.EmptyValueText",defaultVal:"",editor:K.editorTemplates.getEditor("text")},FC={propertyName:"emptyCellText",modelName:"@EmptyCellText",displayName:"Empty Cell Text",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.EmptyCellText",defaultVal:"",editor:K.editorTemplates.getEditor("text")},OC={propertyName:"displayFolder",modelName:"@DisplayFolder",displayName:"Display Folder",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.DisplayFolder",defaultVal:"",editor:K.editorTemplates.getEditor("text")},XC={propertyName:"columnValueLineCount",modelName:"@ColumnValueLineCount",displayName:"Column Value Line Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridField.ColumnValueLineCount",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},HC={propertyName:"totalsVisibility",modelName:"@TotalsVisibility",displayName:"Totals Visibility",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TotalsVisibility",defaultVal:"AutomaticTotals",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"AutomaticTotals",displayValue:"Automatic Totals",localizationId:"DevExpress.XtraPivotGrid.PivotTotalsVisibility.AutomaticTotals"},{value:"CustomTotals",displayValue:"Custom Totals",localizationId:"DevExpress.XtraPivotGrid.PivotTotalsVisibility.CustomTotals"},{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPivotGrid.PivotTotalsVisibility.None"}]},WC={propertyName:"useNativeFormat",modelName:"@UseNativeFormat",displayName:"Export As Numbers To Excel",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.UseNativeFormat",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},UC={propertyName:"KPIGraphic",modelName:"@KPIGraphic",displayName:"KPI Graphic",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.KPIGraphic",defaultVal:"ServerDefined",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.None"},{value:"ServerDefined",displayValue:"Server Defined",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.ServerDefined"},{value:"Shapes",displayValue:"Shapes",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Shapes"},{value:"TrafficLights",displayValue:"Traffic Lights",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.TrafficLights"},{value:"RoadSigns",displayValue:"Road Signs",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.RoadSigns"},{value:"Gauge",displayValue:"Gauge",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Gauge"},{value:"ReversedGauge",displayValue:"Reversed Gauge",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.ReversedGauge"},{value:"Thermometer",displayValue:"Thermometer",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Thermometer"},{value:"ReversedThermometer",displayValue:"Reversed Thermometer",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.ReversedThermometer"},{value:"Cylinder",displayValue:"Cylinder",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Cylinder"},{value:"ReversedCylinder",displayValue:"Reversed Cylinder",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.ReversedCylinder"},{value:"Faces",displayValue:"Faces",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.Faces"},{value:"VarianceArrow",displayValue:"Variance Arrow",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.VarianceArrow"},{value:"StandardArrow",displayValue:"Standard Arrow",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.StandardArrow"},{value:"StatusArrow",displayValue:"Status Arrow",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.StatusArrow"},{value:"ReversedStatusArrow",displayValue:"Reversed Status Arrow",localizationId:"DevExpress.XtraPivotGrid.PivotKPIGraphic.ReversedStatusArrow"}]},GC=[{propertyName:"formatType",modelName:"@FormatType",displayName:"Format Type",localizationId:"DevExpress.Utils.FormatInfo.FormatType",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.Utils.FormatType.None"},{value:"Numeric",displayValue:"Numeric",localizationId:"DevExpress.Utils.FormatType.Numeric"},{value:"DateTime",displayValue:"DateTime",localizationId:"DevExpress.Utils.FormatType.DateTime"},{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.Utils.FormatType.Custom"}]},{propertyName:"formatString",modelName:"@FormatString",displayName:"Format String",localizationId:"DevExpress.Utils.FormatInfo.FormatString",defaultVal:"",editor:jp.getEditor("formatEditor")}],jC={propertyName:"cellFormat",modelName:"CellFormat",displayName:"Cell Format",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.CellFormat",info:GC,editor:K.editorTemplates.getEditor("objecteditor")},qC={propertyName:"totalCellFormat",modelName:"TotalCellFormat",displayName:"Total Cell Format",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TotalCellFormat",info:GC,editor:K.editorTemplates.getEditor("objecteditor")},JC={propertyName:"grandTotalCellFormat",modelName:"GrandTotalCellFormat",displayName:"Grand Total Cell Format",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.GrandTotalCellFormat",info:GC,editor:K.editorTemplates.getEditor("objecteditor")},KC={propertyName:"valueFormat",modelName:"ValueFormat",displayName:"Value Format",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.ValueFormat",info:GC,editor:K.editorTemplates.getEditor("objecteditor")},QC={propertyName:"totalValueFormat",modelName:"TotalValueFormat",displayName:"Total Value Format",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.TotalValueFormat",info:GC,editor:K.editorTemplates.getEditor("objecteditor")},YC={propertyName:"textOptions",modelName:"TextOptions",displayName:"Text Options",localizationId:"DevExpress.XtraReports.UI.XRAppearanceObject.TextOptions",info:[{propertyName:"textHorizontalAlignment",modelName:"@HAlignment",displayName:"Text Horizontal Alignment",localizationId:"DevExpress.PivotGrid.Printing.PrintTextOptions.HAlignment",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.Utils.HorzAlignment.Default"},{value:"Near",displayValue:"Near",localizationId:"DevExpress.Utils.HorzAlignment.Near"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.Utils.HorzAlignment.Center"},{value:"Far",displayValue:"Far",localizationId:"DevExpress.Utils.HorzAlignment.Far"}]},{propertyName:"textVerticalAlignment",modelName:"@VAlignment",displayName:"Text Vertical Alignment",localizationId:"DevExpress.PivotGrid.Printing.PrintTextOptions.VAlignment",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.Utils.VertAlignment.Default"},{value:"Top",displayValue:"Top",localizationId:"DevExpress.Utils.VertAlignment.Top"},{value:"Center",displayValue:"Center",localizationId:"DevExpress.Utils.VertAlignment.Center"},{value:"Bottom",displayValue:"Bottom",localizationId:"DevExpress.Utils.VertAlignment.Bottom"}]},{propertyName:"trimming",modelName:"@Trimming",displayName:"Trimming",localizationId:"DevExpress.PivotGrid.Printing.PrintTextOptions.Trimming",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:Hu},{propertyName:"wordWrap",modelName:"@WordWrap",displayName:"Word Wrap",localizationId:"DevExpress.PivotGrid.Printing.PrintTextOptions.WordWrap",defaultVal:"NoWrap",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"NoWrap",displayValue:"No Wrap",localizationId:"DevExpress.Utils.WordWrap.NoWrap"},{value:"Wrap",displayValue:"Wrap",localizationId:"DevExpress.Utils.WordWrap.Wrap"}]}],editor:K.editorTemplates.getEditor("objecteditor")},ZC=[Qu,am,Yu,Zu,YC],eD={propertyName:"cellAppearance",modelName:"Cell",displayName:"Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.Cell",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},tD={propertyName:"totalCellAppearance",modelName:"TotalCell",displayName:"Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.TotalCell",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},aD={propertyName:"customTotalCellAppearance",modelName:"CustomTotalCell",displayName:"Custom Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.CustomTotalCell",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},iD={propertyName:"grandTotalCellAppearance",modelName:"GrandTotalCell",displayName:"Grand Total Cell",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.GrandTotalCell",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},rD={propertyName:"fieldValueAppearance",modelName:"FieldValue",displayName:"Field Value",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldValue",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},oD={propertyName:"fieldValueTotalAppearance",modelName:"FieldValueTotal",displayName:"Field Value Total",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldValueTotal",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},sD={propertyName:"fieldValueGrandTotalAppearance",modelName:"FieldValueGrandTotal",displayName:"Field Value Grand Total",localizationId:"DevExpress.XtraPivotGrid.PivotGridAppearancesBase.FieldValueGrandTotal",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},nD=[eD,tD,aD,iD,{propertyName:"fieldHeaderAppearance",modelName:"FieldHeader",displayName:"Field Header",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.FieldHeader",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},rD,sD,oD],lD={propertyName:"appearances",modelName:"Appearance",displayName:"Appearance",localizationId:"DevExpress.XtraPivotGrid.PivotGridField.Appearance",info:nD,editor:K.editorTemplates.getEditor("objecteditor")},dD={propertyName:"allowRunTimeSummaryChange",modelName:"@AllowRunTimeSummaryChange",displayName:"Allow Run Time Summary Change",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.AllowRunTimeSummaryChange",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},cD={propertyName:"groupFilterMode",modelName:"@GroupFilterMode",displayName:"Group Filter Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.GroupFilterMode",defaultVal:null,editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"List",displayValue:"List",localizationId:"DevExpress.XtraPivotGrid.PivotGroupFilterMode.List"},{value:"Tree",displayValue:"Tree",localizationId:"DevExpress.XtraPivotGrid.PivotGroupFilterMode.Tree"}]},pD={propertyName:"hideEmptyVariationItems",modelName:"@HideEmptyVariationItems",displayName:"Hide Empty Variation Items",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.HideEmptyVariationItems",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},uD={propertyName:"showCustomTotals",modelName:"@ShowCustomTotals",displayName:"Show Custom Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.ShowCustomTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},mD={propertyName:"showGrandTotal",modelName:"@ShowGrandTotal",displayName:"Show Grand Total",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.ShowGrandTotal",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},hD={propertyName:"showSummaryTypeName",modelName:"@ShowSummaryTypeName",displayName:"Show Summary Type Name",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.ShowSummaryTypeName",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},gD={propertyName:"showTotals",modelName:"@ShowTotals",displayName:"Show Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.ShowTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},xD={propertyName:"showValues",modelName:"@ShowValues",displayName:"Show Values",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldOptions.ShowValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},vD={propertyName:"unboundExpressionMode",modelName:"@UnboundExpressionMode",displayName:"Unbound Expression Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.UnboundExpressionMode",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"UseSummaryValues",displayValue:"Use Summary Values",localizationId:"DevExpress.XtraPivotGrid.UnboundExpressionMode.UseSummaryValues"},{value:"DataSource",displayValue:"Data Source",localizationId:"DevExpress.XtraPivotGrid.UnboundExpressionMode.DataSource"},{value:"UseAggregateFunctions",displayValue:"Use Aggregate Functions",localizationId:"DevExpress.XtraPivotGrid.UnboundExpressionMode.UseAggregateFunctions"},{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.UnboundExpressionMode.Default"}]},fD={propertyName:"options",modelName:"Options",displayName:"Options",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.Options",info:[dD,cD,pD,uD,mD,hD,gD,xD],editor:K.editorTemplates.getEditor("objecteditor")},bD={propertyName:"sortBySummaryInfo",modelName:"SortBySummaryInfo",displayName:"Sort By Summary Info",localizationId:"DevExpress.XtraPivotGrid.PivotGridFieldBase.SortBySummaryInfo",from:iC.from,toJsonObject:iC.toJSON,editor:K.editorTemplates.getEditor("objecteditor")},yD=[lD,yC,bC,SC,CC,hC,jC,XC,OC,FC,$C,LC,xC,JS,zC,TC,JC,AC,kC,MC,gC,UC,vC,fC,VC,BC,RC,wC,EC,NC,PC,qC,QC,HC,IC,vD,_C,DC,WC,KC,fD,bD].concat(Hg),SD=["area","areaIndexEditable","fieldName","caption","groupInterval","summaryType","summaryDisplayType","unboundType","unboundExpression"],CD={displayName:"Fields",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.Fields",propertyName:"fields",modelName:"Fields",array:!0,template:"#dxrd-collectionItemWithAccordion"},DD={propertyName:"fieldName",modelName:"@FieldName",displayName:"Field Name",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabFieldBase.FieldName",editor:K.editorTemplates.getEditor("field"),defaultVal:""},_D=Bg(kC,"DevExpress.XtraReports.UI.CrossTab.GroupInterval.").filter((e=>"Custom"!==e.value)),ID={propertyName:"crossTabGroupInterval",modelName:"@GroupInterval",displayName:"Group Interval",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabGroupFieldBase.GroupInterval",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Default",valuesArray:_D},PD={propertyName:"crossTabGroupIntervalNumericRange",modelName:"@GroupIntervalNumericRange",displayName:"Group Interval Numeric Range",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabGroupFieldBase.GroupIntervalNumericRange",editor:K.editorTemplates.getEditor("numeric"),defaultVal:10};let TD=Bg(JS,"DevExpress.XtraReports.UI.CrossTab.SummaryType.");TD.push({value:"CountDistinct",displayValue:"Count Distinct",localizationId:"DevExpress.XtraReports.UI.CrossTab.SummaryType.CountDistinct"},{value:"Median",displayValue:"Median",localizationId:"DevExpress.XtraReports.UI.CrossTab.SummaryType.Median"},{value:"Mode",displayValue:"Mode",localizationId:"DevExpress.XtraReports.UI.CrossTab.SummaryType.Mode"}),TD=TD.filter((e=>"Custom"!==e.value));const zD=(0,B.extend)({},JS,{localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabDataField.SummaryType",valuesArray:TD}),ND={propertyName:"crossTabSortBySummaryInfo",modelName:"SortBySummaryInfo",displayName:"Sort By Summary Info",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabGroupFieldBase.SortBySummaryInfo",editor:K.editorTemplates.getEditor("objecteditor"),info:[(0,B.extend)({},DD,{localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabFieldSortBySummaryInfo.FieldName"}),zD]},ED=Bg(NC,"DevExpress.XtraReports.UI.CrossTab.SummaryDisplayType."),wD={propertyName:"summaryDisplayType",modelName:"@SummaryDisplayType",displayName:"Summary Display Type",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabDataField.SummaryDisplayType",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Default",valuesArray:ED},RD={propertyName:"fieldExpression",modelName:"@FieldExpression",displayName:"Field Expression",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabDataField.FieldExpression",editor:K.editorTemplates.getEditor("text")},BD=[zD,wD,RD],VD=BD.concat([DD]),MD=(0,B.extend)({},th,{defaultVal:"Ascending"}),kD=[MD,ID,PD,ND],AD=kD.concat([DD]),LD={propertyName:"rowFields",modelName:"RowFields",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.RowFields",displayName:"Row Fields",array:!0,editor:{custom:"dx-commonCollection"},template:"#dxrd-collectionItemWithAccordion",alwaysSerialize:!0},$D={propertyName:"columnFields",modelName:"ColumnFields",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.ColumnFields",displayName:"Column Fields",array:!0,editor:{custom:"dx-commonCollection"},template:"#dxrd-collectionItemWithAccordion",alwaysSerialize:!0},FD={propertyName:"dataFields",modelName:"DataFields",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.DataFields",displayName:"Data Fields",array:!0,editor:{custom:"dx-commonCollection"},template:"#dxrd-collectionItemWithAccordion",alwaysSerialize:!0},OD=Bg(cm,"DevExpress.XtraReports.UI.AutoSizeMode."),XD={propertyName:"rowVisible",modelName:"@RowVisible",displayName:"Row Visible",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.RowVisible",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool},HD={propertyName:"columnVisible",modelName:"@ColumnVisible",displayName:"Column Visible",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.ColumnVisible",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool},WD={propertyName:"rowAutoHeightMode",modelName:"@RowAutoHeightMode",displayName:"Row Auto Height Mode",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.RowAutoHeightMode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"None",valuesArray:OD},UD={propertyName:"columnAutoWidthMode",modelName:"@ColumnAutoWidthMode",displayName:"Column Auto Width Mode",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.ColumnAutoWidthMode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"None",valuesArray:OD},GD=[DD,pm,UD,WD,HD,XD,fm].concat(BD,kD),jD={propertyName:"_columnIndex",modelName:"@ColumnIndex",displayName:"Column Index",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.ColumnIndex",defaultVal:0,from:L.floatFromModel,alwaysSerialize:!0,disabled:!0,editor:K.editorTemplates.getEditor("numeric")},qD={propertyName:"_rowIndex",modelName:"@RowIndex",displayName:"Row Index",localizationId:"DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell.RowIndex",defaultVal:0,from:L.floatFromModel,alwaysSerialize:!0,disabled:!0,editor:K.editorTemplates.getEditor("numeric")},JD=[jD,qD,{propertyName:"_columnSpan",modelName:"@ColumnSpan",defaultVal:1,from:L.floatFromModel},{propertyName:"_rowSpan",modelName:"@RowSpan",defaultVal:1,from:L.floatFromModel}],KD=JD.concat(Hg,Og,qg,GD,Ug,xm,zu,Ng(["Text","Tag"]),Bm,Ou,km,dm,Zu,Yu),QD=["fieldName","sortOrder","crossTabGroupInterval","text","textFormatString","columnAutoWidthMode","rowAutoHeightMode","columnVisible","rowVisible"];var YD,ZD,e_,t_,a_;!function(e){e[e.None=0]="None",e[e.RowFieldNames=1]="RowFieldNames",e[e.ColumnFieldNames=2]="ColumnFieldNames"}(YD||(YD={})),function(e){e[e.None=0]="None",e[e.Corner=1]="Corner",e[e.RowHeader=2]="RowHeader",e[e.RowTotalHeader=3]="RowTotalHeader",e[e.RowTotal=4]="RowTotal",e[e.ColumnHeader=5]="ColumnHeader",e[e.ColumnTotalHeader=6]="ColumnTotalHeader",e[e.ColumnTotal=7]="ColumnTotal",e[e.Data=8]="Data",e[e.DataHeader=9]="DataHeader",e[e.GrandTotal=10]="GrandTotal",e[e.EmptyHeader=11]="EmptyHeader",e[e.Empty=12]="Empty"}(ZD||(ZD={})),function(e){e[e.Inner=0]="Inner",e[e.Outer=1]="Outer"}(e_||(e_={})),function(e){e[e.AfterData=0]="AfterData",e[e.BeforeData=1]="BeforeData"}(t_||(t_={})),function(e){e[e.InRow=0]="InRow",e[e.InColumn=1]="InColumn"}(a_||(a_={}));class i_ extends Q.SerializableModel{constructor(e,t=new L.ModelSerializer){super(e,t,JD),this.kind=A.observable(ZD.None)}}class r_ extends L.Disposable{constructor(e){super(),this.crossTab=e}get rowFieldCount(){return this.crossTab.rowFields().length}get columnFieldCount(){return this.crossTab.columnFields().length}get dataFieldCount(){return this.crossTab.dataFields().length}get rowDataCount(){return 1}get columnDataCount(){return 1}nextRowIndex(e){return e._rowIndex()+e._rowSpan()}lastRowIndex(e){return this.nextRowIndex(e)-1}nextColumnIndex(e){return e._columnIndex()+e._columnSpan()}lastColumnIndex(e){return this.nextColumnIndex(e)-1}setCellKind(e,t){e.kind(t)}setLevel(e,t,a,i){t>=0&&this.setDataLevel(e,t),a>=0&&this.setColumnLevel(e,a),i>=0&&this.setRowLevel(e,i)}setDataLevel(e,t){e.dataLevel=t}setColumnLevel(e,t){e.columnLevel=t}setRowLevel(e,t){e.rowLevel=t}indexToLevel(e,t){return t-1-e}setLayout(e,t,a,i,r){e._columnIndex(t),e._rowIndex(a),e._columnSpan(i),e._rowSpan(r)}static createInstance(e){return e.dataFields().length<=1?new r_(e):e.layoutOptions.dataFieldLayout()===a_[a_.InRow]?new o_(e):new s_(e)}create(){const e=[],t=this.createCorners(Math.max(1,this.columnFieldCount),Math.max(1,this.rowFieldCount));e.push(...t),this.lastCorner=t[t.length-1];const a=this.createDataHeaders();e.push(...a);const i=this.createData();e.push(...i);const r=this.createColumnHeaders(this.nextColumnIndex(this.lastCorner),this.columnFieldCount*this.columnDataCount,this.columnDataCount);e.push(...r);const o=this.createRowHeaders(this.nextRowIndex(this.lastCorner),this.rowFieldCount*this.rowDataCount,this.rowDataCount);e.push(...o);const s=this.createRowTotalHeaders(o[o.length-1]._columnIndex(),1,this.nextRowIndex(o[o.length-1]),this.rowDataCount);e.push(...s),e.push(...this.createRowTotals(i[0]._columnIndex(),this.nextRowIndex(i[0]),this.rowDataCount));const n=this.createColumnTotalHeaders(this.nextColumnIndex(r[r.length-1]),r[r.length-1]._rowIndex(),1,this.columnDataCount);return e.push(...n),e.push(...this.createColumnTotals(this.nextColumnIndex(i[0]),i[0]._rowIndex(),this.columnDataCount)),e.push(...this.createGrandTotals(i,this.nextRowIndex(i[i.length-1]),this.nextColumnIndex(i[i.length-1]),i.length,1)),this.crossTab.layoutOptions.hierarchicalRowLayout()&&this.rowFieldCount>1&&(e.push(...this.createEmptyHeaders(this.columnFieldCount+1)),e.push(...this.createEmptyCells(1))),e}creator(e){const t=new i_({});return this.setCellKind(t,e),t}createCorners(e,t){const a=this.crossTab.layoutOptions.cornerHeaderDisplayMode(),i=[];let r;if(YD[a]===YD.RowFieldNames)for(let a=0;a<t;a++)r=this.creator(ZD.Corner),this.setLayout(r,a,0,1,e),this.setRowLevel(r,a),r.field=A.observable(this.crossTab.rowFields()[a]),i.push(r);else if(YD[a]===YD.ColumnFieldNames)for(let a=0;a<e;a++)r=this.creator(ZD.Corner),this.setLayout(r,0,a,t,1),this.setColumnLevel(r,a),r.field=A.observable(this.crossTab.columnFields()[a]),i.push(r);else this.crossTab.layoutOptions&&(r=this.creator(ZD.Corner)),this.setLayout(r,0,0,t,e),i.push(r);return i}createDataHeaders(){return[]}createDataHeader(e,t,a,i=-1,r=-1){const o=this.creator(ZD.DataHeader);return this.setLevel(o,a,i,r),this.setLayout(o,e,t,1,1),o.field=A.observable(this.crossTab.dataFields()[a]),o}createData(){let e=this.nextRowIndex(this.lastCorner);return this.crossTab.layoutOptions.hierarchicalRowLayout()&&(e+=this.rowFieldCount-1),[this.createDataCell(this.nextColumnIndex(this.lastCorner),e,0)]}createDataCell(e,t,a){const i=this.creator(ZD.Data);return i.field=A.observable(this.crossTab.dataFields()[a]),this.setDataLevel(i,a),this.setLayout(i,e,t,1,1),i}createColumnTotals(e,t,a){if(0==this.columnFieldCount)return[];const i=[];let r=e;for(let e=0;e<this.columnFieldCount;e++){const o=this.indexToLevel(e,this.columnFieldCount)-1;for(let e=0;e<Math.max(1,this.dataFieldCount);e++)i.push(this.createColumnTotal(r,t,e,o));r+=a}return i}createColumnTotal(e,t,a,i){const r=this.creator(ZD.ColumnTotal);return this.setLevel(r,a,i,-1),this.setLayout(r,e,t,1,1),r}createRowTotals(e,t,a){if(0===this.rowFieldCount)return[];const i=[];let r=t;for(let t=0;t<this.rowFieldCount;t++){const o=this.indexToLevel(t,this.rowFieldCount)-1;for(let t=0;t<Math.max(1,this.dataFieldCount);t++)i.push(this.createRowTotal(e,r,t,o));r+=a}return i}createRowTotal(e,t,a,i){const r=this.creator(ZD.RowTotal);return this.setLevel(r,a,-1,i),this.setLayout(r,e,t,1,1),r}createGrandTotals(e,t,a,i,r){let o=a;const s=[];for(let a=0;a<this.columnFieldCount;a++){const n=this.indexToLevel(a,this.columnFieldCount)-1;let l=t;for(let t=0;t<this.rowFieldCount;t++){const a=this.indexToLevel(t,this.rowFieldCount)-1;for(let t=0;t<e.length;t++){const e=this.createGrandTotal(t,n,a);this.setGrandTotalLayout(e,t,o,l),s.push(e)}l+=r}o+=i}return s}createGrandTotal(e,t,a){const i=this.creator(ZD.GrandTotal);return this.setLevel(i,e,t,a),i}setGrandTotalLayout(e,t,a,i){this.setLayout(e,a+t,i,1,1)}createColumnHeaders(e,t,a){const i=[];if(0===this.columnFieldCount){const t=this.creator(ZD.ColumnHeader);this.setColumnLevel(t,0),this.setLayout(t,e,0,a,1),i.push(t)}this.crossTab.layoutOptions.columnTotalHeaderPosition()===e_[e_.Outer]&&(t=Math.max(a,t-a));let r=0;const o=this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData];o&&(e+=a*(this.columnFieldCount+1));for(let s=0;s<this.columnFieldCount;s++){const n=this.creator(ZD.ColumnHeader);n.field=A.observable(this.crossTab.columnFields()[s]),this.setColumnLevel(n,s),this.setLayout(n,o?e-t:e,r,t,1),i.push(n),t=Math.max(a,t-a),r=this.nextRowIndex(n)}return i}createColumnTotalHeaders(e,t,a,i){const r=[];if(0===this.columnFieldCount)return[];this.crossTab.layoutOptions.columnTotalHeaderPosition()===e_[e_.Outer]&&t>0&&(t--,a++);let o=t,s=e,n=i;this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]&&(s-=2*i,n=-n);for(let e=0;e<this.columnFieldCount;e++){const t=this.indexToLevel(e,this.columnFieldCount),l=0===t?this.createColumnGrandTotalHeader():this.createColumnTotalHeader(t-1);l.field=A.observable(this.crossTab.columnFields()[t-1]),this.setLayout(l,s,o,i,a),r.push(l),o>0&&(o--,a++),s+=n}return r}createRowHeaders(e,t,a){if(0===this.rowFieldCount){const t=this.creator(ZD.RowHeader);return this.setRowLevel(t,0),this.setLayout(t,0,e,1,a),[t]}const i=[];let r=0;this.crossTab.layoutOptions.hierarchicalRowLayout()&&this.rowFieldCount>1?(r=1,t=1):this.crossTab.layoutOptions.rowTotalHeaderPosition()===e_[e_.Outer]&&(t=Math.max(a,t-a));let o=0,s=e;const n=this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData];n&&(s+=a*(this.rowFieldCount+1));let l=Math.max(1,this.rowFieldCount*r);for(let e=0;e<this.rowFieldCount;e++){const d=this.creator(ZD.RowHeader);d.field=A.observable(this.crossTab.rowFields()[e]),this.setRowLevel(d,e),this.crossTab.layoutOptions.hierarchicalRowLayout()&&this.rowFieldCount-1>e&&this.crossTab.layoutOptions.dataFieldLayout()===a_[a_.InColumn]&&(l+=1),this.setLayout(d,o,n?s-t:s,l,t),i.push(d),this.crossTab.layoutOptions.hierarchicalRowLayout()&&this.rowFieldCount-2!=e||(t=Math.max(a,t-a)),l=Math.max(1,(this.rowFieldCount-e-1)*r),o=d._columnIndex()+1,!n&&(s=d._rowIndex()+r)}return i}createRowTotalHeaders(e,t,a,i){if(0===this.rowFieldCount)return[];this.crossTab.layoutOptions.rowTotalHeaderPosition()===e_[e_.Outer]&&e>0&&(e--,t++);let r=a,o=i;this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]&&(r-=2*i,o=-o);let s=e;const n=[];for(let e=0;e<this.rowFieldCount;e++){const a=this.indexToLevel(e,this.rowFieldCount),l=0===a?this.createRowGrandTotalHeader():this.createRowTotalHeader(a-1);l.field=A.observable(this.crossTab.rowFields()[a-1]),this.setLayout(l,s,r,t,i),n.push(l),s>0&&(s--,t++),r+=o}return n}createEmptyHeaders(e){let t=this.nextRowIndex(this.lastCorner);const a=this.nextColumnIndex(this.lastCorner),i=[];for(let r=0;r<this.rowFieldCount-1;r++){const o=this.createEmptyHeader(r);this.setLayout(o,a,t,e,1),i.push(o),t++}return i}createEmptyCells(e){let t=this.nextRowIndex(this.lastCorner)+1,a=0,i=this.rowFieldCount*(e+1)-2;this.crossTab.layoutOptions.rowTotalHeaderPosition()===e_[e_.Outer]&&(i-=e);const r=[];for(let o=0;o<this.rowFieldCount-1;o++){const s=this.createEmptyCell(o);this.setLayout(s,a,t,1,i),r.push(s),t++,a++,i-=e+1}return r}createEmptyHeader(e){const t=this.creator(ZD.EmptyHeader);return this.setRowLevel(t,e),t}createEmptyCell(e){const t=this.creator(ZD.Empty);return this.setRowLevel(t,e),t}createColumnTotalHeader(e){const t=this.creator(ZD.ColumnTotalHeader);return this.setColumnLevel(t,e),t}createColumnGrandTotalHeader(){return this.creator(ZD.ColumnTotalHeader)}createRowTotalHeader(e){const t=this.creator(ZD.RowTotalHeader);return this.setRowLevel(t,e),t}createRowGrandTotalHeader(){return this.creator(ZD.RowTotalHeader)}}class o_ extends r_{get columnDataCount(){return this.dataFieldCount}createCorners(e,t){const a=super.createCorners(e,t);if(this.crossTab.layoutOptions.cornerHeaderDisplayMode()==YD[YD.ColumnFieldNames]){const e=a[a.length-1];e._rowSpan(e._rowSpan()+1)}else a.forEach((e=>{e._rowSpan(e._rowSpan()+1)}));return a}createDataHeaders(){const e=this.lastRowIndex(this.lastCorner),t=this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData];let a=t?this.nextColumnIndex(this.lastCorner)+this.columnFieldCount*this.dataFieldCount:this.nextColumnIndex(this.lastCorner);const i=[];for(let t=0;t<this.dataFieldCount;t++)i.push(this.createDataHeader(a,e,t)),a++;const r=Math.max(1,this.dataFieldCount);t&&(a-=2*r);for(let o=0;o<this.columnFieldCount;o++){const s=this.indexToLevel(o,this.columnFieldCount);for(let t=0;t<r;t++){const r=this.createDataHeader(a+t,e,t,s);this.setLevel(r,-1,s,-1),i.push(r)}t?a-=r:a+=r}return i}createData(){let e=this.nextRowIndex(this.lastCorner);this.crossTab.layoutOptions.hierarchicalRowLayout()&&(e+=this.rowFieldCount-1);const t=this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.AfterData]?e:e+this.rowFieldCount,a=this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.AfterData]?this.nextColumnIndex(this.lastCorner):this.nextColumnIndex(this.lastCorner)+this.columnFieldCount*this.dataFieldCount,i=[];for(let e=0;e<this.dataFieldCount;e++)i.push(this.createDataCell(a+e,t,e));return i}createRowTotals(e,t,a){return this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]?super.createRowTotals(e,t-2,-a):super.createRowTotals(e,t,a)}createColumnTotals(e,t,a){return this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]?super.createColumnTotals(e-a-1,t,-a):super.createColumnTotals(e+a-1,t,a)}createGrandTotals(e,t,a,i,r){return this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]&&(a-=2*e.length,i=-e.length),this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]&&(t-=2,r=-1),super.createGrandTotals(e,t,a,i,r)}createColumnTotal(e,t,a,i){return super.createColumnTotal(e+a,t,a,i)}createRowTotal(e,t,a,i){return super.createRowTotal(e+a,t,a,i)}createEmptyHeaders(e){return super.createEmptyHeaders(e*this.dataFieldCount)}}class s_ extends r_{get rowDataCount(){return this.dataFieldCount}createCorners(e,t){const a=super.createCorners(e,t);if(this.crossTab.layoutOptions.cornerHeaderDisplayMode()==YD[YD.RowFieldNames]){const e=a[a.length-1];e._columnSpan(e._columnSpan()+1)}else a.forEach((e=>{e._columnSpan(e._columnSpan()+1)}));return a}createDataHeaders(){let e=this.nextRowIndex(this.lastCorner);this.crossTab.layoutOptions.hierarchicalRowLayout()&&(e+=this.rowFieldCount-1);const t=this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData];let a=t?e+this.rowFieldCount*this.dataFieldCount:e;const i=this.lastColumnIndex(this.lastCorner),r=[];for(let e=0;e<this.dataFieldCount;e++)r.push(this.createDataHeader(i,a,e)),a++;const o=Math.max(1,this.dataFieldCount);t&&(a-=2*o);for(let e=0;e<this.rowFieldCount;e++){const s=this.indexToLevel(e,this.rowFieldCount);for(let e=0;e<o;e++){const t=this.createDataHeader(i,a+e,e,void 0,s);this.setLevel(t,-1,-1,s),r.push(t)}t?a-=o:a+=o}return r}createData(){let e=this.nextRowIndex(this.lastCorner);this.crossTab.layoutOptions.hierarchicalRowLayout()&&(e+=this.rowFieldCount-1);const t=this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.AfterData]?e:e+this.rowFieldCount*this.dataFieldCount,a=this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.AfterData]?this.nextColumnIndex(this.lastCorner):this.nextColumnIndex(this.lastCorner)+this.columnFieldCount,i=[];for(let e=0;e<this.dataFieldCount;e++)i.push(this.createDataCell(a,t+e,e));return i}createRowTotals(e,t,a){return this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]?super.createRowTotals(e,t-3,-a):super.createRowTotals(e,t+a-1,a)}createColumnTotals(e,t,a){return this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]?super.createColumnTotals(e-2,t,-a):super.createColumnTotals(e,t,a)}createColumnTotal(e,t,a,i){return super.createColumnTotal(e,t+a,a,i)}createRowTotal(e,t,a,i){return super.createRowTotal(e,t+a,a,i)}createGrandTotals(e,t,a,i,r){return i=1,r=e.length,this.crossTab.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]&&(a-=2,i=-1),this.crossTab.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]&&(t-=this.dataFieldCount+2,r=-e.length),super.createGrandTotals(e,t,a,i,r)}setGrandTotalLayout(e,t,a,i){this.setLayout(e,a,i+t,1,1)}createEmptyCells(e){return super.createEmptyCells(e*this.dataFieldCount)}}const n_={propertyName:"width",modelName:"@Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",defaultVal:100,from:L.floatFromModel},l_={propertyName:"autoWidthMode",modelName:"@AutoWidthMode",defaultVal:"None",valuesArray:OD},d_={propertyName:"visible",modelName:"@Visible",defaultVal:!0,from:L.parseBool},c_=[n_,l_,d_],p_={propertyName:"height",modelName:"@Height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",defaultVal:25,from:L.floatFromModel},u_=[p_,{propertyName:"autoHeightMode",modelName:"@AutoHeightMode",defaultVal:"None",valuesArray:OD},d_],m_={propertyName:"_rowDefinitions",modelName:"RowDefinitions",array:!0,alwaysSerialize:!0},h_={propertyName:"_columnDefinitions",modelName:"ColumnDefinitions",array:!0,alwaysSerialize:!0};function g_(e,t,a){return e.filter((e=>null==t?e._rowIndex()===a:(null==a||e._rowIndex()===a)&&e._columnIndex()===t))}class x_ extends Q.SerializableModel{constructor(e,t,a){super(e,a)}}class v_ extends x_{getInfo(){return u_}}class f_ extends x_{getInfo(){return c_}}class b_{constructor(e){this.columnCount=0,this.rowCount=0,e.forEach((e=>{0===e._rowIndex()&&(this.columnCount+=e._columnSpan()),0===e._columnIndex()&&(this.rowCount+=e._rowSpan())})),this.matrix=[];for(let t=0;t<this.columnCount;t++){this.matrix[t]=[];for(let a=0;a<this.rowCount;a++){const i=g_(e,t,a)[0]||this.findRowCell(t,a-1)||this.findColumnCell(t-1,a);this.matrix[t][a]=i}}}findRowCell(e,t,a=2){if(t<0)return null;const i=this.matrix[e][t];return i&&i._rowSpan()>=a?i:this.findRowCell(e,t-1,a+1)}findColumnCell(e,t,a=1){if(e<0)return null;const i=this.matrix[e][t];return i&&i._rowSpan()>=a?i:this.findColumnCell(e-1,t,a+1)}}class y_ extends L.Disposable{constructor(e){super(),this._columnDefinitions=[],this._rowDefinitions=[],this._serializer=new L.ModelSerializer;const t=new b_(e.cells());for(let a=0;a<t.columnCount;a++)for(let i=0;i<t.rowCount;i++){const r=t.matrix[a][i];r.kind()!=ZD.DataHeader&&r.kind()!=ZD.Corner&&(1!==r._columnSpan()||this.findDefinition(this._columnDefinitions,r)||this._columnDefinitions.push({cell:r,defenition:e._columnDefinitions()[a]}),1!==r._rowSpan()||this.findDefinition(this._rowDefinitions,r)||this._rowDefinitions.push({cell:r,defenition:e._rowDefinitions()[i]}))}}findDefinition(e,t){return(0,B.findFirstItemMatchesCondition)(e,(e=>e.cell===t))}update(e,t,a){const i=new b_(e),r=[],o=[];for(let e=0;e<i.columnCount;e++)for(let t=0;t<i.rowCount;t++){const a=i.matrix[e][t];if(null==r[e]&&1===a._columnSpan()){const t=this.findDefinition(this._columnDefinitions,a);t&&t.defenition&&(r[e]=new f_(this._serializer.serialize(t.defenition)))}if(null==o[t]&&1===a._rowSpan()){const e=this.findDefinition(this._rowDefinitions,a);e&&e.defenition&&(o[t]=new v_(this._serializer.serialize(e.defenition)))}}for(let e=0;e<i.columnCount;e++)null==r[e]&&(r[e]=new f_({"@Width":e>0?r[e-1].width():t}));for(let e=0;e<i.rowCount;e++)null==o[e]&&(o[e]=new v_({"@Height":e>0?o[e-1].height():a}));return{columnDefs:r,rowDefs:o}}}const S_=[{displayValue:"Inner",value:e_[e_.Inner],localizationId:"DevExpress.XtraReports.UI.CrossTab.TotalHeaderPosition.Inner"},{displayValue:"Outer",value:e_[e_.Outer],localizationId:"DevExpress.XtraReports.UI.CrossTab.TotalHeaderPosition.Outer"}],C_=[{displayValue:"AfterData",value:t_[t_.AfterData],localizationId:"DevExpress.XtraReports.UI.CrossTab.TotalsPosition.AfterData"},{displayValue:"BeforeData",value:t_[t_.BeforeData],localizationId:"DevExpress.XtraReports.UI.CrossTab.TotalsPosition.BeforeData"}],D_=[{propertyName:"cornerHeaderDisplayMode",modelName:"@CornerHeaderDisplayMode",displayName:"Corner Header Display Mode",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.CornerHeaderDisplayMode",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"RowFieldNames",valuesArray:[{displayValue:"None",value:YD[YD.None],localizationId:"DevExpress.XtraReports.UI.CrossTab.CornerHeaderDisplayMode.None"},{displayValue:"Row Field Names",value:YD[YD.RowFieldNames],localizationId:"DevExpress.XtraReports.UI.CrossTab.CornerHeaderDisplayMode.RowFieldNames"},{displayValue:"Column Field Names",value:YD[YD.ColumnFieldNames],localizationId:"DevExpress.XtraReports.UI.CrossTab.CornerHeaderDisplayMode.ColumnFieldNames"}]},{propertyName:"dataFieldLayout",modelName:"@DataFieldLayout",displayName:"Data Field Layout",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.DataFieldLayout",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"InRow",valuesArray:[{displayValue:"In Row",value:a_[a_.InRow],localizationId:"DevExpress.XtraReports.UI.CrossTab.DataFieldLayout.InRow"},{displayValue:"In Column",value:a_[a_.InColumn],localizationId:"DevExpress.XtraReports.UI.CrossTab.DataFieldLayout.InColumn"}]},{propertyName:"columnTotalsPosition",modelName:"@ColumnTotalsPosition",displayName:"Column Totals Position",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.ColumnTotalsPosition",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"AfterData",valuesArray:C_},{propertyName:"rowTotalsPosition",modelName:"@RowTotalsPosition",displayName:"Row Totals Position",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.RowTotalsPosition",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"AfterData",valuesArray:C_},{propertyName:"columnTotalHeaderPosition",modelName:"@ColumnTotalHeaderPosition",displayName:"Column Total Header Position",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.ColumnTotalHeaderPosition",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Outer",valuesArray:S_},{propertyName:"rowTotalHeaderPosition",modelName:"@RowTotalHeaderPosition",displayName:"Row Total Header Position",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.RowTotalHeaderPosition",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Outer",valuesArray:S_},{propertyName:"hierarchicalRowLayout",modelName:"@HierarchicalRowLayout",displayName:"Hierarchical Row Layout",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabLayoutOptions.HierarchicalRowLayout",editor:K.editorTemplates.getEditor("bool"),defaultVal:!1,from:L.parseBool}],__={propertyName:"layoutOptions",modelName:"LayoutOptions",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.LayoutOptions",displayName:"Layout Options",editor:K.editorTemplates.getEditor("objecteditor"),info:D_};function I_(e){switch(e){case ZD.None:return"NO";case ZD.Corner:return"CRN";case ZD.RowHeader:return"RH";case ZD.RowTotalHeader:return"RTH";case ZD.RowTotal:return"RT";case ZD.ColumnHeader:return"CH";case ZD.ColumnTotalHeader:return"CTH";case ZD.ColumnTotal:return"CT";case ZD.Data:return"DAT";case ZD.DataHeader:return"DH";case ZD.GrandTotal:return"GDT";case ZD.Empty:return"Emtpy";case ZD.EmptyHeader:return"EmtpyH"}}class P_ extends Kv{constructor(e,t,a=new L.ModelSerializer){super(e,t,a),this.parent=t,this._showCellCode=A.observable(!1),this._oldFieldName=null,this.getPath=e=>this.field&&this.field()?this.field().getPath(e):(0,B.getFullPath)(this.parent.getPath("dataMember"),this.parent.dataMember()),this.kind=A.observable(ZD.None),this.fieldNameAreValid=A.observable(!0),this._disposables.push(A.computed((()=>{(0,B.checkModelReady)(this.parent)&&this.size.width(this._width)}))),this._disposables.push(A.computed((()=>{(0,B.checkModelReady)(this.parent)&&this.size.height(this._height)}))),this._disposables.push(A.computed((()=>{(0,B.checkModelReady)(this.parent)&&this.location.x(this._left)}))),this._disposables.push(A.computed((()=>{(0,B.checkModelReady)(this.parent)&&this.location.y(this._top)}))),this._disposables.push(this.location.x.subscribe((e=>{if((0,B.checkModelReady)(this.parent)){const a=e-this._left;if(0!=this._columnIndex()){const e=t._columnDefinitions()[this._columnIndex()-1];e.width(e.width()+a)}else t.location.x(t.location.x()+a)}}))),this._disposables.push(this.location.y.subscribe((e=>{if((0,B.checkModelReady)(this.parent)){const a=e-this._top;if(0!=this._rowIndex()){const e=t._rowDefinitions()[this._rowIndex()-1];e.height(e.height()+a)}else t.location.y(t.location.y()+a)}}))),this._disposables.push(this.size.height.subscribe((e=>{if((0,B.checkModelReady)(this.parent)){const a=this._height,i=t._rowDefinitions();for(let t=this._rowIndex();t<this._rowIndex()+this._rowSpan();t++)i[t].height(i[t].height()+(e-a)*(i[t].height()/a))}}))),this._disposables.push(this.size.width.subscribe((e=>{if((0,B.checkModelReady)(this.parent)){const a=this._width,i=t._columnDefinitions();for(let t=this._columnIndex();t<this._columnIndex()+this._columnSpan();t++)i[t].width(i[t].width()+(e-a)*(i[t].width()/a))}}))),this._text=A.observable(this.text()),this.field=A.observable(null),this._disposables.push(this.field.subscribe((e=>{e&&kD.concat(BD).forEach((t=>{e[t.propertyName]&&(this[t.propertyName]=e[t.propertyName])}))}))),this._disposables.push(this.fieldName=A.pureComputed({read:()=>this.field()&&this.field().fieldName()||"",write:e=>{this.field()?this.field().fieldName(e):this.createAndAssignNewField(e,!0)}})),this._disposables.push(A.computed((()=>{this._testFieldName(this.fieldName(),new L.PathRequest((0,B.getFullPath)(this.parent.getPath(""),this.parent.dataMember())))}))),this._disposables.push(this.kind.subscribe((e=>{""!==this._textFormatString()||!this.field()||e!=ZD.RowTotalHeader&&e!=ZD.ColumnTotalHeader||this.textFormatString("Total {0}")}))),this._disposables.push(A.computed((()=>{""===this._text()&&this.isIndependant()&&this.kind()!=ZD.Corner&&this.text("Grand Total"),this.kind()!=ZD.Corner&&this.kind()!=ZD.DataHeader||!this.fieldName()||this.fieldName()==this._oldFieldName||((this._oldFieldName==this.text()||""===this.text())&&this.text(this.fieldName()),this._oldFieldName=this.fieldName())}))),this._disposables.push(this.text=A.pureComputed({read:()=>{if(this._showCellCode()){const e=I_(this.kind()),t=1!=this._rowSpan()?"("+this._rowSpan()+")":"",a=1!=this._columnSpan()?"("+this._columnSpan()+")":"";return e+" X"+this._columnIndex()+a+" Y"+this._rowIndex()+t}if(this._text())return this._text();const e=this.fieldName()?"["+this.fieldName()+"]":"";return this.kind()==ZD.RowTotalHeader||this.kind()==ZD.ColumnTotalHeader?this.textFormatString()?(0,B.formatUnicorn)(this.textFormatString(),e):e:this.isBindable()?e||this._getDefaultName(this.kind()):void 0},write:e=>this._text(e)})),this._disposables.push(A.computed((()=>{switch(this.kind()){case ZD.Corner:case ZD.ColumnHeader:case ZD.ColumnTotalHeader:case ZD.DataHeader:case ZD.RowHeader:case ZD.RowTotalHeader:case ZD.EmptyHeader:case ZD.Empty:this.styleName(this.parent.headerAreaStyleName());break;case ZD.ColumnTotal:case ZD.RowTotal:case ZD.GrandTotal:this.styleName(this.parent.totalAreaStyleName());break;case ZD.Data:this.styleName(this.parent.dataAreaStyleName());break;default:this.styleName(this.parent.generalStyleName())}iv.forEach((e=>{this["_"+e]&&this["_"+e]()&&this[e](this["_"+e]())}))}))),this._disposables.push(this.rowVisible=A.pureComputed({read:()=>!t._rowDefinitions().slice(this._rowIndex(),this._rowIndex()+this._rowSpan()).every((e=>!e.visible())),write:e=>{for(let a=0;a<this._rowSpan();a++)t._rowDefinitions()[this._rowIndex()+a].visible(e)}})),this._disposables.push(this.columnVisible=A.pureComputed({read:()=>!t._columnDefinitions().slice(this._columnIndex(),this._columnIndex()+this._columnSpan()).every((e=>!e.visible())),write:e=>{for(let a=0;a<this._columnSpan();a++)t._columnDefinitions()[this._columnIndex()+a].visible(e)}})),this.rowAutoHeightMode=t._rowDefinitions()[this._rowIndex()].autoHeightMode,this.columnAutoWidthMode=t._columnDefinitions()[this._columnIndex()].autoWidthMode,this.crossTabSortBySummaryInfo.getPath=e=>this.getPath(e)}get namePrefix(){let e="";for(const t in P_.cellKinds)-1!=P_.cellKinds[t].indexOf(this.kind())&&(e=t);return"crossTab"+e+"Cell"}get _width(){const e=this.parent._columnDefinitions();let t=0;for(let a=this._columnIndex();a<this._columnIndex()+this._columnSpan();a++)t+=e[a].width();return t}get _height(){const e=this.parent._rowDefinitions();let t=0;for(let a=this._rowIndex();a<this._rowIndex()+this._rowSpan();a++)t+=e[a].height();return t}get _left(){const e=this.parent._columnDefinitions();let t=0;for(let a=0;a<this._columnIndex();a++)t+=e[a].width();return t}get _top(){const e=this.parent._rowDefinitions();let t=0;for(let a=0;a<this._rowIndex();a++)t+=e[a].height();return t}_getDefaultName(e){switch(e){case ZD.ColumnHeader:return(0,B.getLocalization)("Columns","ReportStringId.CrossTab_ColumnAreaName");case ZD.RowHeader:return(0,B.getLocalization)("Rows","ReportStringId.CrossTab_RowAreaName");case ZD.Data:return(0,B.getLocalization)("Data","ReportStringId.CrossTab_DataAreaName")}}_testFieldName(e,t){const a=this.root;if(!(a&&a instanceof Ly))return;const i=a.dataBindingsProvider&&a.dataBindingsProvider();i&&i.getItems(t).done((t=>{this.fieldNameAreValid(t.some((t=>t.name===e)))}))}_createParametersExpressionCategory(){const e=this.parent.controlParameters();return e.forEach((e=>e.initDataMemberInfo())),(0,G.createExpressionEditorCollectionToolOptions)(e.map((e=>({text:e.name,val:"?"+e.name,description:(e.dataType||e.specifics||"object").toLowerCase()+" "+e.name}))),"Parameters","ReportStringId.CatParameters",!0)}reset(){this.dataLevel=void 0,this.columnLevel=void 0,this.rowLevel=void 0}canRemove(){return this.kind()===ZD.Data&&this.parent.dataFields().length>0||this.kind()===ZD.RowHeader&&this.parent.rowFields().length>0||this.kind()===ZD.ColumnHeader&&this.parent.columnFields().length>0}canDropDown(){return this.fieldName()&&(this.kind()===ZD.Data&&(this.parent.dataFields().length<2||this.parent.layoutOptions.dataFieldLayout()===a_[a_.InColumn])||this.kind()===ZD.ColumnHeader)}canDropRight(){return this.fieldName()&&(this.kind()===ZD.Data&&(this.parent.dataFields().length<2||this.parent.layoutOptions.dataFieldLayout()===a_[a_.InRow])||this.kind()===ZD.RowHeader)}canDropUp(){return this.fieldName()&&this.kind()===ZD.ColumnHeader}canDropLeft(){return this.fieldName()&&this.kind()===ZD.RowHeader}getExpressionBinding(e,t){return this.isBindable()?this.text():super.getExpressionBinding(e,t)}isPropertyVisible(e,t=!1){return"textFormatString"==e?!this.isIndependant():"visible"!=e&&"location"!=e&&"canPublish"!=e&&("fieldName"==e?this.isBindable():"summaryType"==e||"summaryDisplayType"==e?this.kind()===ZD.Data:"text"==e&&t?!this.isPropertyDisabled(e):!xg.some((t=>t.propertyName===e))&&("sortOrder"==e||"crossTabGroupInterval"==e||"crossTabGroupIntervalNumericRange"==e||"crossTabSortBySummaryInfo"==e?this.kind()===ZD.RowHeader||this.kind()===ZD.ColumnHeader:super.isPropertyVisible(e)))}isPropertyModified(e){return"columnIndex"!==e&&"rowIndex"!==e&&super.isPropertyModified(e)}isPropertyDisabled(e){return"text"===e?!this.isEditable():"crossTabGroupInterval"===e||"sortOrder"===e||"summaryType"===e||"summaryDisplayType"===e||"crossTabSortBySummaryInfo"===e?!this.fieldName():"crossTabGroupIntervalNumericRange"===e?!this.fieldName()||!this.crossTabGroupInterval()||"Numeric"!=this.crossTabGroupInterval()&&"DayAge"!=this.crossTabGroupInterval()&&"WeekAge"!=this.crossTabGroupInterval()&&"MonthAge"!=this.crossTabGroupInterval()&&"YearAge"!=this.crossTabGroupInterval():super.isPropertyDisabled(e)}isBindable(){return this.kind()===ZD.RowHeader||this.kind()===ZD.ColumnHeader||this.kind()===ZD.Data}isIndependant(){return this.kind()==ZD.Corner||this.kind()==ZD.ColumnTotalHeader&&null==this.columnLevel||this.kind()==ZD.RowTotalHeader&&null==this.rowLevel}isEditable(){return this.kind()==ZD.Corner||this.kind()==ZD.DataHeader||this.kind()==ZD.ColumnTotalHeader||this.kind()==ZD.RowTotalHeader||this.kind()==ZD.EmptyHeader||this.kind()==ZD.Empty}createAndAssignNewField(e,t,a=a_.InRow){const i=t?0:1;switch(this.kind()){case ZD.ColumnHeader:this.parent.insertNewField("columnFields",this.columnLevel+i,e);break;case ZD.RowHeader:this.parent.insertNewField("rowFields",this.rowLevel+i,e);break;case ZD.Data:this.parent.insertNewField("dataFields",this.dataLevel+i,e,a)}}customizeExpressionCategories(e,t){const a=this.parent.controlParameters(),i=this.parent.getFields(),r=t.filter((e=>"dx-expressioneditor-fields"==e.content.name))[0];if(r){delete r.content.data.parameters;const e=r.content.data.fields();e?e.treeListController.customFilter=e=>i.some((t=>(0,B.getFullPath)(t.getPath(""),t.fieldName())===e)):t.splice(t.indexOf(r),1)}a.length>0&&t.push(this._createParametersExpressionCategory())}}P_.cellKinds={Header:[ZD.ColumnHeader,ZD.ColumnTotalHeader,ZD.DataHeader,ZD.RowHeader,ZD.RowTotalHeader,ZD.Corner],Total:[ZD.RowTotal,ZD.GrandTotal,ZD.ColumnTotal],Data:[ZD.Data]};class T_ extends Ny{constructor(e,t){super(e,t),this.controls=null,this.contenttemplate="dxrd-crosstab-control-content",this.dropRect=new Q.Rectangle,this.isDropTarget=A.observable(!1),this.dragCss=A.observable("dxrd-drag-helper-item-allowed"),this.selectiontemplate="dxrd-crosstab-cell",this._disposables.push(this.showDropSurface=A.computed((()=>(this.underCursor().isOver||this.isDropTarget(!1),this.isDropTarget()&&this.underCursor().isOver))))}checkParent(e){return this.parent===e}selectLine(e,t={ctrlKey:!1,metaKey:!1},a=!1){this.parent.selectLine(e,this.getControlModel(),t.ctrlKey||t.metaKey,a)}cellClick(){if(Op&&Op()){const e=Op().controlsMap.XRCrossTabCell,t=this._control.canRemove();t?e.isDeleteDeny=!1:t||(e.isDeleteDeny=!0)}}isEditable(){return this._control.isEditable()}_getDropCallback(e=!1,t=a_.InRow){return a=>{this._control.createAndAssignNewField(a.path,e,t)}}_canSetFieldName(e){const t=this._control.parentModel(),a=(0,B.getFullPath)(t.getPath(""),t.dataMember()),i=a.split(".").length;return 0==e.indexOf(a)&&(i<2||e.split(".").length-i==1)}getAdornTemplate(){let e=super.getAdornTemplate();return this._context.validationMode&&this._context.validationMode()&&(e=Yv._appendValue(e,"dxrd-image-surface-bounded-notvalid",this._control.isBindable()&&this._control.fieldName()&&!this._control.fieldNameAreValid())),e=Yv._appendValue(e,"dxrd-image-surface-bounded",this._control.isBindable()&&this._control.fieldName()&&this._control.fieldNameAreValid),e=Yv._appendValue(e,"dxrd-surface-hidden",!this._control.columnVisible()||!this._control.rowVisible()),e}dragCallback(e){const t=this._control,a=t.parentModel(),i=this.dropRect;if(this.isDropTarget(!0),i.left(-1),i.top(-1),i.width(this._width()-3),i.height(this._height()-3),this.dropCallback=()=>{},t.kind()!=ZD.ColumnHeader&&t.kind()!=ZD.RowHeader&&t.kind()!=ZD.Data||!this._canSetFieldName(e.path))this.dragCss("dxrd-drag-helper-item-forbidden");else{this.dragCss("dxrd-drag-helper-item-allowed");const e={x:this.underCursor().x,y:this.underCursor().y};if(i.height()-e.y<7&&t.canDropDown())i.top(i.height()-3),i.height(7),this.dropCallback=this._getDropCallback(!1,a_.InColumn);else if(i.width()-e.x<7&&t.canDropRight())i.left(i.width()-3),i.width(7),this.dropCallback=this._getDropCallback(!1);else if(e.x<7&&t.canDropLeft()){if(0!=t._columnIndex())i.height(a.cells().filter((e=>e._columnIndex()==t._columnIndex()-1&&e.kind()==t.kind()))[0].surface._height()-3),a.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]&&i.top(i.top()-i.height()+this._height()-4);else{const e=a.cells().filter((e=>e.kind()===ZD.RowTotalHeader&&void 0===e.rowLevel))[0];i.height(e.surface._y()+e.surface._height()-this._y()-3),a.layoutOptions.rowTotalsPosition()===t_[t_.BeforeData]&&(i.top(i.top()-(this._y()-e.surface._y())),i.height(this._y()-e.surface._y()+this._height()-4))}this.dropCallback=this._getDropCallback(!0),i.left(-6),i.width(7)}else if(e.y<7&&t.canDropUp()){if(0!=t._rowIndex())i.width(a.cells().filter((e=>e._rowIndex()==t._rowIndex()-1&&e.kind()==t.kind()))[0].surface._width()-3),a.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]&&i.left(i.left()-i.width()+this._width()-4);else{const e=a.cells().filter((e=>e.kind()===ZD.ColumnTotalHeader&&void 0===e.columnLevel))[0];i.width(e.surface._x()+e.surface._width()-this._x()-3),a.layoutOptions.columnTotalsPosition()===t_[t_.BeforeData]&&(i.left(i.left()-(this._x()-e.surface._x())),i.width(this._x()-e.surface._x()+this._width()-4))}this.dropCallback=this._getDropCallback(!0),i.top(-6),i.height(7)}else this.dropCallback=e=>{t.field()?t.field().setFieldName(e.path):this._getDropCallback(!0)(e)}}}findNextSelection(){return this.parent}}class z_ extends Kv{constructor(e,t,a=new L.ModelSerializer){super(e,t,a),this.getPath=e=>this.dsHelperProvider()&&this.dsHelperProvider().getDataSourcePath(this.dataSource()),this.dependentStyles=[],this._cells=A.observableArray([]),this._disposables.push(this.isModelReady=A.computed((()=>(0,B.checkModelReady)(this.root)&&!this.update()))),this.layoutOptions=new N_(e.LayoutOptions||{},this,a),this.rowFields=this._getArray(E_,e,"RowFields",a),this.columnFields=this._getArray(E_,e,"ColumnFields",a),this.dataFields=this._getArray(w_,e,"DataFields",a),this._rowDefinitions=this._getArray(v_,e,"RowDefinitions",a),this._columnDefinitions=this._getArray(f_,e,"ColumnDefinitions",a),this.cells=this._getArray(P_,e,"Cells",a),this.controlParameters=(0,L.deserializeArray)(e.Parameters,(e=>new sh(e,a,this.root.dataSourceHelper,this.root.dataBindingsProvider))),this.controlParameters().forEach((e=>!e.parameter()&&!e.dataSource()&&e.dataSource(this.root.dataSource&&this.root.dataSource()))),this.cellCreator=r_.createInstance(this);const i=this.cellCreator.create();this._cells(this.applyCells(i,!0)),this._disposables.push(...(0,mC.subscribeProperties)([this.rowFields,this.columnFields,this.dataFields].concat(Object.keys(this.layoutOptions).map((e=>this.layoutOptions[e]))),(()=>{this.updateLayout()}))),this._disposables.push(A.computed((()=>{this.size.width(this._calcSize(this._columnDefinitions()))}))),this._disposables.push(this.size.width.subscribe((e=>{const t=this._columnDefinitions.peek(),a=this._calcSize(t);t.forEach((t=>{t.width(t.width()+(e-a)*(t.width()/a))})),this._columnDefinitions.valueHasMutated()}))),this._disposables.push(A.computed((()=>{this.size.height(this._calcSize(this._rowDefinitions()))}))),this._disposables.push(this.size.height.subscribe((e=>{const t=this._rowDefinitions.peek(),a=this._calcSize(t);t.forEach((t=>{t.height(t.height()+(e-a)*(t.height()/a))})),this._rowDefinitions.valueHasMutated()}))),this._disposables.push(this.dataSource.subscribe((e=>this.dataMember(null)))),this._disposables.push(this.controlParameters.subscribe((e=>{e.forEach((e=>{e.value.parameterName()||e.value.parameterName((0,B.getUniqueNameForNamedObjectsArray)(this.controlParameters(),"controlParameter"))}))}),null,"arrayChange"));const r=A.pureComputed((()=>(0,B.getFullPath)(this.getPath("dataMember"),this.dataMember()))),o=A.computed((()=>this.controlParameters())),s=A.pureComputed((()=>!this.dataSource()));this.filterString=new K.FilterStringOptions(this._filterString,r,s),this.filterString.helper.parameters=o,this._disposables.push(r),this._disposables.push(s),this._disposables.push(o)}_getCreator(e,t,a){return i=>new e(i||{},this,t,a)}_getArray(e,t,a,i){return(0,L.deserializeArray)(t[a],this._getCreator(e,i,this.getNames()[a[0].toLowerCase()+a.slice(1)]))}_initStyles(e){e&&e.styles&&hg.forEach((t=>{let a=this[t.propertyName]();if(!a){const i=new yg(gg[t.propertyName]);a=(0,B.getUniqueNameForNamedObjectsArray)(e.styles(),i.name()),i.name(a),e.styles.push(i),this[t.propertyName](a)}}))}_calcSize(e){let t=0;return e.forEach((e=>{t+=e[e instanceof f_?"width":"height"]()})),t}removeChild(e){e.canRemove()&&this.removeField(e.dataLevel,e.columnLevel,e.rowLevel)}removeField(e,t,a){e>-1?this.dataFields.splice(e,1):t>-1?this.columnFields.splice(t,1):a>-1&&this.rowFields.splice(a,1)}initialize(){this._disposables.push(this.parentModel.subscribe((e=>{e&&this._initStyles(this.root)}))),this.parentModel()&&this._initStyles(this.root)}updateLayout(){if(this.update())return;let e=L.UndoEngine.tryGetUndoEngine(this);e&&e.start(),this.update(!0),this.defenitionUpdater=new y_(this),this.cellCreator=r_.createInstance(this);const t=this.cellCreator.create(),a=this.applyCells(t);this._cells(a);const i=this.defenitionUpdater.update(a,n_.defaultVal,p_.defaultVal),r=i.columnDefs.reduce(((e,t)=>e+=t.width()),0),o=i.rowDefs.reduce(((e,t)=>e+=t.height()),0),s=Math.min(r,Math.max(this.size.width(),this.parentModel().size.width()-this.location.x()));this._columnDefinitions(i.columnDefs),this._rowDefinitions(i.rowDefs),this.size.width(s),A.isObservable(this.size.width)&&this.size.width.valueHasMutated(),this.size.height(o),this.update(!1),e=L.UndoEngine.tryGetUndoEngine(this),e&&e.end()}getFields(){return[].concat(this.rowFields(),this.columnFields(),this.dataFields())}getNames(){return{columnFields:(0,B.getLocalization)("Column Field","DevExpress.XtraReports.UI.CrossTab.CrossTabColumnField"),rowFields:(0,B.getLocalization)("Row Field","DevExpress.XtraReports.UI.CrossTab.CrossTabRowField"),dataFields:(0,B.getLocalization)("Data Field","DevExpress.XtraReports.UI.CrossTab.CrossTabDataField")}}onDelete(){const e=this.root;this.dependentStyles=[],hg.forEach((t=>{if(e.stylesHelper()){const a=e.stylesHelper().removeUnusedStyle(this[t.propertyName]());a&&this.dependentStyles.push(a)}else{const a=e.findStyle(this[t.propertyName]());a&&e.styles.remove(a)&&this.dependentStyles.push(a)}}))}preInitProperties(){const e=this.getInfo();this.getInfo=()=>(e.forEach((e=>{let t;"rowFields"===e.propertyName||"columnFields"===e.propertyName?t=E_:"dataFields"===e.propertyName?t=w_:"controlParameters"===e.propertyName&&(e.addHandler=()=>new sh({},new L.ModelSerializer,this.root.dataSourceHelper,this.root.dataBindingsProvider)),t&&(e.addHandler=this._getCreator(t,new L.ModelSerializer,this.getNames()[e.propertyName]))})),e)}isPropertyDisabled(e){if(null===this.dataSource())return"dataMember"===e||"filterString"===e}applyCells(e,t=!1){const a=[],i=[];e.forEach(((e,r)=>{let o;e.dependentFields=[this.dataFields()[e.dataLevel],this.rowFields()[e.rowLevel],this.columnFields()[e.columnLevel]],o=t?g_(this.cells(),e._columnIndex(),e._rowIndex())[0]:this.cells().filter((t=>{if(t.kind()!=e.kind())return!1;for(let a=0;a<t.dependentFields.length;a++)if(t.dependentFields[a]!=e.dependentFields[a])return!1;return!0}))[0],o?(o.reset(),i.push(o)):(o=Op().createControl(Op().controlsMap.XRCrossTabCell.defaultVal,this),a.push(o)),this.applyCell(e,o)}));for(let e=this.cells().length-1;e>=0;e--)-1==i.indexOf(this.cells()[e])&&(this.cells()[e].dispose(),this.cells.splice(e,1));return a.forEach((e=>this.cells.push(e))),i.concat(a)}applyCell(e,t){e.getInfo().forEach((a=>{t[a.propertyName](e[a.propertyName]())})),["dataLevel","rowLevel","columnLevel"].forEach((a=>{null!=e[a]&&(t[a]=e[a])})),e.field?t.field(e.field()):t.field&&t.field()&&t.field(null),t.kind(e.kind()),t.dependentFields=e.dependentFields}insertNewField(e,t,a,i){const r=this.getInfo().filter((t=>t.propertyName===e))[0].addHandler();i&&this.layoutOptions.dataFieldLayout(a_[i]),this[e].splice(t,0,r),r&&r.setFieldName(a)}customizeExpressionCategories(e,t){const a=t.filter((e=>"dx-expressioneditor-fields"==e.content.name))[0];a&&t.splice(t.indexOf(a),1)}}class N_ extends Q.SerializableModel{constructor(e,t,a){super(e,a),this.parent=t}isPropertyDisabled(e){switch(e){case"cornerHeaderDisplayMode":return 0==this.parent.rowFields().length&&0==this.parent.columnFields().length;case"dataFieldLayout":return this.parent.dataFields().length<2;case"columnTotalsPosition":return this.parent.columnFields().length<1;case"rowTotalsPosition":return 0==this.parent.rowFields().length||this.hierarchicalRowLayout();case"columnTotalHeaderPosition":return this.parent.columnFields().length<2;case"rowTotalHeaderPosition":return this.parent.rowFields().length<2;case"hierarchicalRowLayout":return this.parent.rowFields().length<2||this.rowTotalsPosition()===t_[t_.BeforeData]}}getInfo(){return D_}}class E_ extends Q.SerializableModel{constructor(e,t,a,i){super(e,a),this.getPath=e=>(0,B.getFullPath)(this.parent.getPath("dataMember"),this.parent.dataMember()),this.isPropertyDisabled=e=>"fieldName"==e&&null==this.parent.dataSource(),this.parent=t,this._disposables.push(this.name=A.pureComputed((()=>this.fieldName()?i+" ("+this.fieldName()+")":i))),this.crossTabSortBySummaryInfo&&(this.crossTabSortBySummaryInfo.getPath=e=>this.getPath(e))}setFieldName(e){const t=e.split("."),a=this.parent.dsHelperProvider&&this.parent.dsHelperProvider();if(a&&t.length>=2){let e;this.parent.getPath("")===t[0]?e=this.parent.dataSource():(e=a&&(a.findDataSourceInfoByID(t[0])||a.findDataSourceInfoByRef(t[0])),e&&this.parent.dataSource(e.data)),e&&this.parent.dataMember(t.slice(1,-1).join("."))}this.fieldName(t.pop())}getInfo(){return AD}}class w_ extends E_{getInfo(){return VD}}class R_ extends Yv{constructor(e,t){super(e,t),this.controls=A.observableArray(),this._disposables.push((0,B.createObservableArrayMapCollection)(e.cells,this.controls,(e=>new T_(e,t)))),this.selectiontemplate="dxrd-crosstab"}selectLine(e,t,a,i){a||e.initialize(this);const r=this.getControlModel(),o=t.surface;let s;s=i?g_(r.cells(),null,t._rowIndex()):g_(r.cells(),t._columnIndex()),s.forEach((t=>{a?(e.selectionWithCtrl(t.surface),e.applySelection()):e.selecting({control:t.surface,cancel:!1})})),a||e.swapFocusedItem(o)}}const B_=[{displayValue:"Half",value:"Half",localizationId:"GaugesPresetsStringId.ShapeHalf"},{displayValue:"Full",value:"Full",localizationId:"GaugesPresetsStringId.ShapeFull"},{displayValue:"QuarterLeft",value:"QuarterLeft",localizationId:"GaugesPresetsStringId.ShapeQuarterLeft"},{displayValue:"QuarterRight",value:"QuarterRight",localizationId:"GaugesPresetsStringId.ShapeQuarterRight"},{displayValue:"ThreeFourth",value:"ThreeFourth",localizationId:"GaugesPresetsStringId.ShapeThreeFourth"}],V_=[{displayValue:"Horizontal",value:"Horizontal",localizationId:"GaugesPresetsStringId.ShapeHorizontal"},{displayValue:"Vertical",value:"Vertical",localizationId:"GaugesPresetsStringId.ShapeVertical"}];class M_ extends Kv{constructor(e,t,a){super(e,t,a),this._disposables.push(this.viewType.subscribe((e=>this.viewStyle("Circular"===e?B_[0].value:V_[0].value))))}getInfo(){const e=k.extend(!0,[],super.getInfo());return e.filter((e=>"viewStyle"===e.propertyName))[0].defaultVal=this.viewType&&"Linear"===this.viewType()?"Horizontal":"Half",e}}M_.bindings=["ActualValue","Maximum","Minimum","TargetValue"];class k_ extends Yv{constructor(e,t){super(e,t),this.lineWidth=e.lineWidth,this.lineStyle=e.lineStyle,this.lineDirection=e.lineDirection,this.selectiontemplate="dxrd-control-selection",this.contenttemplate="dxrd-line-content",this._disposables.push(this.linePosition=A.pureComputed((()=>{const e={},t=this.rect();return"Horizontal"===this.lineDirection()&&(e.x1=0,e.x2=t.width,e.y1=t.height/2,e.y2=t.height/2),"Vertical"===this.lineDirection()&&(e.x1=t.width/2,e.x2=t.width/2,e.y1=0,e.y2=t.height),"BackSlant"===this.lineDirection()&&(e.x1=0,e.x2=t.width,e.y1=0,e.y2=t.height),"Slant"===this.lineDirection()&&(e.x1=0,e.x2=t.width,e.y1=t.height,e.y2=0),e}))),this._disposables.push(this.contentCss=A.pureComputed((()=>k.extend({},this.cssCalculator.stroke(),this.cssCalculator.strokeDashArray(),this.cssCalculator.strokeWidth()))))}}class A_ extends Qv{constructor(e,t){super(e,t,A_._unitProperties),this._disposables.push(this._width),this.template="dxrd-pagebreak",this.contenttemplate="dxrd-line-content",this.selectiontemplate="dxrd-pagebreak-selection",this._disposables.push(this.linePosition=A.pureComputed((()=>{const e=this.rect();return{x1:0,x2:e.width,y1:e.height/2,y2:e.height/2}}))),this.contentCss=A.observable({stroke:"black",strokeWidth:1,strokeDasharray:"4px, 4px"}),this._disposables.push(this.lineHeight=A.pureComputed((()=>this.position.lineHeight()/this._context.zoom()))),this.css=A.observable({}),this._disposables.push(this.isIntersect=A.pureComputed((()=>!1)))}preInitProperties(e,t){this._width=A.pureComputed({read:()=>t.pageWidth()-t.margins.right()-t.margins.left(),write:()=>{}})}get isIntersectionDeny(){return!0}}A_._unitProperties={_x:e=>A.observable(0),_y:e=>e.location.y,_height:e=>A.observable(2)};class L_ extends Yv{constructor(e,t){super(e,t),this.displayText=()=>{const t=e.textFormatString&&e.textFormatString();if(t)return t;const a=e.pageInfo(),i=F_.filter((e=>e.value===a))[0];return i?i.displayValue:a}}}class $_ extends Kv{constructor(e,t,a){super(e,t,a);const i=this._model["@Format"];i&&(this.textFormatString()||this.textFormatString(i),delete this._model["@Format"])}}const F_=[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPrinting.PageInfo.None"},{value:"Number",displayValue:"Page Number",localizationId:"DevExpress.XtraPrinting.PageInfo.Number"},{value:"NumberOfTotal",displayValue:"'Current of Total' Page Numbers",localizationId:"DevExpress.XtraPrinting.PageInfo.NumberOfTotal"},{value:"RomLowNumber",displayValue:"Page Number (Roman, Lowercase)",localizationId:"DevExpress.XtraPrinting.PageInfo.RomLowNumber"},{value:"RomHiNumber",displayValue:"Page Number (Roman, Uppercase)",localizationId:"DevExpress.XtraPrinting.PageInfo.RomHiNumber"},{value:"DateTime",displayValue:"Current Date and Time",localizationId:"DevExpress.XtraPrinting.PageInfo.DateTime"},{value:"UserName",displayValue:"User Name",localizationId:"DevExpress.XtraPrinting.PageInfo.UserName"},{value:"Total",displayValue:"Page Count",localizationId:"DevExpress.XtraPrinting.PageInfo.Total"}],O_=DevExpress.Reporting.Export.Metadata,X_={propertyName:"reportSourceUrl",modelName:"@ReportSourceUrl",defaultVal:"",editor:jp.getEditor("reportSourceUrl"),displayName:"Report Source Url",localizationId:"DevExpress.XtraReports.UI.XRSubreport.ReportSourceUrl"},H_={propertyName:"reportSource",modelName:"ReportSource",from:Oy.from,toJsonObject:Oy.toJson},W_={propertyName:"parameterBindings",modelName:"ParameterBindings",displayName:"Parameter Bindings",localizationId:"DevExpress.XtraReports.UI.XRSubreport.ParameterBindings",array:!0,editor:K.editorTemplates.getEditor("commonCollection"),addHandler:Su.createNew,template:"#dxrd-commonCollectionItem"},U_={propertyName:"generateOwnPages",defaultVal:!1,modelName:"@GenerateOwnPages",displayName:"Generate Own Pages",localizationId:"DevExpress.XtraReports.UI.XRSubreport.GenerateOwnPages",descriptionLocalizationId:"DevExpress.XtraReports.UI.SubreportBase.GenerateOwnPages.Description",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},G_=[H_,X_,fx,W_,Em,mm,U_,Fg].concat(Og,Hg.filter((e=>e.modelName!=qu.modelName))),j_={propertyName:"source",modelName:"@SourceSerializable",displayName:"Source",defaultVal:null,editor:jp.getEditor("pdfContentLoad"),localizationId:"DevExpress.XtraReports.UI.XRPdfContent.Source"},q_={propertyName:"sourceUrl",modelName:"@SourceUrl",defaultVal:"",editor:K.editorTemplates.getEditor("text"),displayName:"Source Url",localizationId:"DevExpress.XtraReports.UI.XRPdfContent.SourceUrl"},J_=(0,B.extend)({},U_,{defaultVal:!0,localizationId:"DevExpress.XtraReports.UI.XRPdfContent.GenerateOwnPages"}),K_={propertyName:"pageCount",modelName:"@PageCount",displayName:"PageCount",localizationId:"DevExpress.XtraReports.UI.XRPdfContent.PageCount",editor:K.editorTemplates.getEditor("numeric"),disabled:!0,defaultVal:0},Q_=(0,B.extend)({},O_.pageRange,{localizationId:"DevExpress.XtraReports.UI.XRPdfContent.PageRange"}),Y_=[j_,q_,bx,J_,Q_,K_,Ng(["Bookmark","Source","SourceUrl","PageRange"])].concat(Og,Hg,jg,[qu]),Z_=["name","source","sourceUrl","generateOwnPages"];class eI extends Kv{constructor(e,t,a=new L.ModelSerializer){super(e,t,a),a._collectLinksAndEnumRefs(this._model)}}class tI extends Yv{constructor(e,t){super(e,t),this.controlTypeClass="dxrd-image-todo-"+e.controlType.slice(2).toLowerCase(),this.controlTypeIconTemplate="dxrd-svg-todo-"+e.controlType.slice(2).toLowerCase(),this.template="dxrd-todocontrol"}}class aI extends Kv{constructor(e,t,a){super(e,t,a),this.imageSource=A.observable(""),this.sourceUrl()&&this.source(null);const i=()=>this.parentModel()?this.parentModel().size.width():0;this._disposables.push(this.sourceUrl.subscribe((e=>{e&&this.source(null),this._getPdfContentData(!!e)})),this.source.subscribe((e=>{e&&this.sourceUrl(""),this._getPdfContentData(!!e)})),A.computed((()=>{this.generateOwnPages()&&(this.size.width(i()),this.location.x(0))})),this.location.x.subscribe((e=>{this.generateOwnPages()&&this.location.x(0)})),this.size.width.subscribe((e=>{this.generateOwnPages()&&this.size.width(i())})),this.generateOwnPages.subscribe((e=>{this._getPdfContentData(!0)})),this.pageRange.subscribe((e=>{this._getPdfContentData(!1)}))),this.generateOwnPages.valueHasMutated(),this._disposables.push(this.textContent=A.pureComputed((()=>{const e=this.getExpressionBinding("SourceUrl"),t=this.getExpressionBinding("Source");let a=(0,B.getLocalization)("Source","DevExpress.XtraReports.UI.XRPdfContent.Source"),i=(0,B.getLocalization)("(none)","DxDesignerStringId.None");return this.sourceUrl()?(a=(0,B.getLocalization)("Source Url","DevExpress.XtraReports.UI.XRPdfContent.SourceUrl"),i=this.sourceUrl()):null!=e?(a=(0,B.getLocalization)("Source Url","DevExpress.XtraReports.UI.XRPdfContent.SourceUrl"),i=e):this.source()?i=(0,B.getLocalization)("PDF Content","ReportStringId.XRPdfContent_Content"):null!=t&&(i=t),a+": "+i})))}canFit(){return this.size.width()/this.size.height()!=this.imageWidth/this.imageHeight}fitToContent(){if(!this.imageSource())return;const e=this.size.width(),t=this.size.height(),a=this.imageWidth/this.imageHeight;0!==a&&this.canFit()&&(e/t>this.imageWidth/this.imageHeight?this.size.width(t*a):this.size.height(e/a))}_getPdfContentData(e){const t=this.sourceUrl()||this.source();this.generateOwnPages()||e&&(!t&&!this._sourceItem||this._sourceItem&&this._sourceItem===t)||(this._sourceItem=t,Yx.getPdfContentData(this).done((e=>{this.pageCount(e.PageCount),this.imageSource("data:image/png;base64,"+e.Img),this.imageWidth=e.Width,this.imageHeight=e.Height})).fail((function(e){(0,B.NotifyAboutWarning)("It is impossible to get Pdf Content Preview")})))}_getExpressionNameByPropertyName(e){const t=super._getExpressionNameByPropertyName(e);return t&&-1!==j_.modelName.indexOf(t)?"Source":t}}class iI extends tI{constructor(e,t){super(e,t),this.selectiontemplate="dxrd-pdfcontent-selection",this.contenttemplate="dxrd-pdfcontent-control-content",this.template="dxrd-control",this.displayText=()=>this.getControlModel().name(),this.generateOwnPages=e.generateOwnPages,this._handles=A.observable(this._getHandles(this.generateOwnPages())),this._disposables.push(this.contentCss=A.computed((()=>{const t=e.imageSource();return this.generateOwnPages()||!t?{background:"unset"}:(0,B.extend)({},{background:" url("+t+") 50% 50% / contain no-repeat content-box transparent"})})))}_getHandles(e){return e?"s,n":"all"}getResizableOptions(e){return this._disposables.push(this.generateOwnPages.subscribe((e=>{this._handles(this._getHandles(e))}))),(0,B.extend)(!0,{},e,{handles:this._handles})}}class rI extends Kv{constructor(){super(...arguments),this._displayDocumentSignatureSubscribed=!1}subscribeSignature(e){this._displayDocumentSignatureSubscribed||(this._displayDocumentSignatureSubscribed=!0,this._disposables.push(this.signatureOptions.displayDocumentSignature.subscribe((t=>{if(t){const t=(0,B.findFirstItemMatchesCondition)(e(),(e=>this!==e&&e.signatureOptions.displayDocumentSignature()));t&&t.signatureOptions.displayDocumentSignature(!1)}}))))}}class oI extends Yv{constructor(e,t){super(e,t),this.contenttemplate="dxrd-pdfsignature-content",this.multiline=!0,this.displayText=()=>e.signatureOptions.displayDocumentSignature()?this.getSignatureInformationString(e):(0,L.getLocalization)("Digital Signature","PreviewStringId.SignatureUnsignedCaption"),this._disposables.push(this.showSkeleton=A.computed((()=>!e.signatureOptions.displayDocumentSignature())),this.visibleImage=A.computed((()=>"Show"==e.signatureOptions.imageDisplayMode())),this.hideImage=A.computed((()=>"Hide"==e.signatureOptions.imageDisplayMode())),this.visibleText=A.computed((()=>e.signatureOptions.showCertificateName()||e.signatureOptions.showDistinguishedName()||e.signatureOptions.showLocation()||e.signatureOptions.showSignatureDate()||e.signatureOptions.showSignatureReason())))}getSignatureInformationString(e){const t=this.certificateName,a=(0,L.getLocalization)("your distinguished name here","PreviewStringId.SignatureFillerText_DistinguishedName"),i=(0,L.getLocalization)("your signing reason here","PreviewStringId.SignatureFillerText_Reason"),r=(0,L.getLocalization)("your signing location here","PreviewStringId.SignatureFillerText_Location"),o=new Date((new Date).setHours(0,0,0,0)).toLocaleString(),s=[],n=e.signatureOptions.showCaptions();return e.signatureOptions.showCertificateName()&&s.push((n?(0,L.getLocalization)("Digitally signed by","PreviewStringId.SignatureCaptions_CertificateName")+" ":"")+t),e.signatureOptions.showDistinguishedName()&&s.push((n?(0,L.getLocalization)("DN:","PreviewStringId.SignatureCaptions_DistinguishedName")+" ":"")+a),e.signatureOptions.showSignatureReason()&&s.push((n?(0,L.getLocalization)("Reason:","PreviewStringId.SignatureCaptions_Reason")+" ":"")+i),e.signatureOptions.showLocation()&&s.push((n?(0,L.getLocalization)("Location:","PreviewStringId.SignatureCaptions_Location")+" ":"")+r),e.signatureOptions.showSignatureDate()&&s.push((n?(0,L.getLocalization)("Date:","PreviewStringId.SignatureCaptions_Date")+" ":"")+o),s.join("\r\n")}get certificateName(){return(0,L.getLocalization)("your common name here","PreviewStringId.SignatureFillerText_CertificateName")}}class sI{static getImageRatio(e,t){const a={x:1,y:1},i=this._getDataChunks(e,t);let r,o;if("png"===t){if(!this._pngHasDpiChunks(e)||i.length<8)return a;r=this._countDpiFromBytes(i.slice(0,4)),o=this._countDpiFromBytes(i.slice(4,8))}if("jpg"===t||"jpeg"===t){if(i.length<4)return a;r=this._countDpiFromBytes(i.slice(0,2)),o=this._countDpiFromBytes(i.slice(2,4))}if(r&&o){const e=this.getMonitorPPI();a.x=e/r,a.y=e/o}return a}static _getDataChunks(e,t){const a=[];if(!e)return[];const i=atob(e),r="png"===t?i.indexOf("pHYs")+4:14;if(3==r||r>=i.length)return[];for(let e=r;e<i.length;e++)a.push(i.charCodeAt(e));return a}static _countDpiFromBytes(e){return e&&4==e.length?((e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3])/39.37:e&&2==e.length?(e[0]<<8)+e[1]:void 0}static _pngHasDpiChunks(e){return-1!=e.indexOf("AAlwSFlz")||-1!=e.indexOf("AAAJcEhZ")||-1!=e.indexOf("AAAACXBI")}static getMonitorPPI(){const e=document.createElement("div");e.style.width="1in",document.body.appendChild(e);const t=e.offsetWidth;return document.body.removeChild(e),t}}class nI extends Kv{constructor(e,t,a){super(e,t,a),this.imageRatio={x:1,y:1},this.originalImageWidth=A.observable(),this.originalImageHeight=A.observable();const i=A.observable(this.size.height()),r=A.observable(this.size.width());this._sizing=A.observable(this.sizing()),this.size._width=this.size.width,this.size._height=this.size.height,this.size.isPropertyDisabled=e=>"AutoSize"===this._sizing(),!this.imageSource()&&e["@Image"]&&(this.imageSource(new Eh.ImageSource("img",e["@Image"])),delete this._model["@Image"]);let o=this._sizing();this._disposables.push(this.sizing=A.computed({read:()=>this._sizing(),write:e=>{const t=L.UndoEngine.tryGetUndoEngine(this);t&&t.start(),"AutoSize"===o&&(this.size._width(r()),this.size._height(i())),o=e,this._sizing(e),"CenterImage"===e&&this.imageAlignment("MiddleCenter"),t&&t.end()}})),this._disposables.push(this.size.width=A.pureComputed({read:()=>this.isAutoSize?r():this.size._width(),write:e=>{this.isAutoSize||this.size._width(e)}})),this._disposables.push(this.size.height=A.pureComputed({read:()=>this.isAutoSize?i():this.size._height(),write:e=>{this.isAutoSize||this.size._height(e)}})),this._disposables.push(A.computed((()=>{const e=new Image;e.onload=()=>{const t=this.root;this._disposables.push(A.computed((()=>{this.originalImageWidth((0,B.pixelToUnits)(e.width*this.imageRatio.x,t.measureUnit(),1)),this.originalImageHeight((0,B.pixelToUnits)(e.height*this.imageRatio.y,t.measureUnit(),1))})))};const t=this.imageSource();t?(e.src=t.getDataUrl(),this.imageRatio=sI.getImageRatio(t.data,t.sourceType)):this.imageRatio={x:1,y:1}})));const s=e=>(0,B.unitsToPixel)(e,this.root.measureUnit());this._disposables.push(A.computed((()=>{if(this.isAutoSize&&this.imageSource.peek()){const e=new B.BordersModel({value:this.borders}),t=this.borderWidth()||0,a=this.paddingObj,o=e.top()?t:0,n=e.bottom()?t:0,l=e.left()?t:0,d=e.right()?t:0;r(this.originalImageWidth()+d+l+s(a._get("left"))+s(a._get("right"))),i(this.originalImageHeight()+o+n+s(a._get("top"))+s(a._get("bottom")))}}))),this._disposables.push(this.isSmallerImage=A.pureComputed((()=>this.originalImageWidth()<=this.size.width()&&this.originalImageHeight()<=this.size.height()))),this._disposables.push(this.imageUrl.subscribe((e=>{e&&(this.imageSource(null),this.imageRatio={x:1,y:1})}))),this._disposables.push(this.imageSource.subscribe((e=>{e&&this.imageUrl(Ox.defaultVal)})))}isAlignmentDisabled(){return-1!==["Tile","StretchImage","AutoSize","Cover"].indexOf(this._sizing())}isPropertyDisabled(e){return"imageAlignment"===e?this.isAlignmentDisabled():super.isPropertyDisabled(e)}get isAutoSize(){return"AutoSize"===this._sizing()}}const lI=["-o-background-size","mozBackgroundSize","backgroundSize"],dI=["background-origin","-webkit-background-origin"," -o-background-origin","mozBackgroundOrigin","backgroundOrigin"];class cI extends Yv{constructor(e,t){super(e,t),this.selectiontemplate="dxrd-picturebox-selection";const a=this.getControlModel();this.contentHeightWithoutZoom.dispose(),this.contentWidthWithoutZoom.dispose(),this.contentSizes.dispose(),this._disposables.push(this.contentSizes=A.pureComputed((()=>this.cssCalculator.contentSizeCss(this.rect().width,this.rect().height,this._context.zoom(),this._control.borders(),this._control.paddingObj)))),this._disposables.push(this.contentHeightWithoutZoom=A.pureComputed((()=>this.contentSizes().height/this._context.zoom()))),this._disposables.push(this.contentWidthWithoutZoom=A.pureComputed((()=>this.contentSizes().width/this._context.zoom()))),this._disposables.push(this.css=A.pureComputed((()=>({})))),this._disposables.push(this.contentCss=A.pureComputed((()=>{const e=a.imageSource(),t=e?e.getDataUrl():a.imageUrl();return(0,B.extend)({},this._createBackimage(a.backColor(),t,a.sizing(),a.isSmallerImage()),this._createBackgroundOrigin(),a.isAlignmentDisabled()?{}:this._createBackgroundPosition(a.imageAlignment(),a.sizing()),this.cssCalculator.createVerticalAlignment("Top"))})))}_createBackgroundPosition(e,t){"Default"!==e||"Squeeze"!==t&&"ZoomImage"!==t||(e="MiddleCenter");let a="0%",i="0%";return-1!==e.indexOf("Middle")&&(i="50%"),-1!==e.indexOf("Bottom")&&(i="100%"),-1!==e.indexOf("Center")&&(a="50%"),-1!==e.indexOf("Right")&&(a="100%"),{backgroundPosition:[a,i].join(" ")}}_createBackimage(e,t,a,i){let r={};if(t){if(r={background:e+" url("+t+") no-repeat"},this._control.imageSource()){const e=this._control.imageSource().sourceType;if("png"==e||"jpg"==e||"jpeg"==e){const e=this._control.originalImageWidth()+"px "+this._control.originalImageHeight()+"px";lI.forEach((t=>{r[t]=e}))}}if(a)switch("Squeeze"===a&&(a=i?"CenterImage":"ZoomImage"),a){case"StretchImage":for(let e=0;e<lI.length;e++)r[lI[e]]="100% 100%";break;case"ZoomImage":case"Cover":for(let e=0;e<lI.length;e++)r[lI[e]]="ZoomImage"===a?"contain":"cover";r.backgroundPosition="center center";break;case"AutoSize":for(let e=0;e<lI.length;e++)r[lI[e]]="100% 100%";break;case"Tile":r.backgroundRepeat="repeat"}return r}return r={background:e},r}_createBackgroundOrigin(){const e={};for(let t=0;t<dI.length;t++)e[dI[t]]="content-box";return e.width=this.contentWidthWithoutZoom()+"px",e.height=this.contentHeightWithoutZoom()+"px",e}getResizeOptions(e){if(!this.resizeOptions&&e){const t=A.computed((()=>e.disabled&&e.disabled()||"AutoSize"===this._control.sizing()));this.resizeOptions={disabled:t,snapHelper:e.snapHelper,starting:e.starting,stopped:e.stopped},this._disposables.push(t)}return this.resizeOptions}getAdornTemplate(){const e=super.getAdornTemplate(),t=this.hasBindings||!this.getControlModel().imageSource()?"dxrd-image-surface-picturebox_placeholder":"";return e+(e&&t?" ":"")+t}}var pI;!function(e){e[e.RtfText=0]="RtfText",e[e.PlainText=1]="PlainText",e[e.HtmlText=2]="HtmlText",e[e.XmlText=3]="XmlText"}(pI||(pI={}));class uI extends Kv{constructor(e,t,a){super(e,t,a),this.format=A.observable(pI.RtfText),this._newDocumentData=A.observable(null),this.textRtf=A.observable(""),this._rtf=A.observable("");let i=null;i=A.computed((()=>{const e=this.name();!this.textRtf()&&e&&(this.textRtf(e),i&&i.dispose())})).extend({rateLimit:{method:"notifyWhenChangesStop",timeout:1}}),this._disposables.push(this._newDocumentData.subscribe((e=>{e?this.format(this._toStreamType(e.format)):this.format(pI.RtfText)}))),this._disposables.push(i)}_toStreamType(e){switch(e.toLowerCase()){case"txt":return pI.PlainText;case"htm":case"html":return pI.HtmlText;case"docx":return pI.XmlText}return pI.RtfText}getInfo(){const e=k.extend(!0,[],super.getInfo());return ef()()instanceof Zv||e.filter((e=>uI._hiddenProperties.some((t=>t===e.propertyName)))).forEach((e=>e.visible=!1)),e}get textEditableProperty(){return this.textRtf}}uI._hiddenProperties=["_rtf","textRtf"];const mI={propertyName:"shapeType",modelName:"@ShapeName",defaultVal:"Ellipse"},hI={propertyName:"stretch",modelName:"@Stretch",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),displayName:"Stretch",localizationId:"DevExpress.XtraReports.UI.XRShape.Stretch"},gI={propertyName:"fillColor",modelName:"@FillColor",defaultVal:"transparent",editor:K.editorTemplates.getEditor("customColorEditor"),from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Fill Color",localizationId:"DevExpress.XtraReports.UI.XRShape.FillColor"},xI={propertyName:"Shape",modelName:"Shape"},vI={propertyName:"shapeFake",editor:jp.getEditor("contentByType"),displayName:"Shape",valuesArray:[{value:"Rectangle",displayValue:"Rectangle",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Rectangle"},{value:"Ellipse",displayValue:"Ellipse",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Ellipse"},{value:"Top Arrow",displayValue:"Top Arrow",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.TopArrow"},{value:"Right Arrow",displayValue:"Right Arrow",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.RightArrow"},{value:"Bottom Arrow",displayValue:"Bottom Arrow",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.BottomArrow"},{value:"Left Arrow",displayValue:"Left Arrow",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.LeftArrow"},{value:"Triangle",displayValue:"Triangle",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Triangle"},{value:"Square",displayValue:"Square",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Square"},{value:"Pentagon",displayValue:"Pentagon",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Pentagon"},{value:"Hexagon",displayValue:"Hexagon",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Hexagon"},{value:"Octagon",displayValue:"Octagon",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Octagon"},{value:"3-Point Star",displayValue:"3-Point Star",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.ThreePointStar"},{value:"4-Point Star",displayValue:"4-Point Star",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.FourPointStar"},{value:"5-Point Star",displayValue:"5-Point Star",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.FivePointStar"},{value:"6-Point Star",displayValue:"6-Point Star",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.SixPointStar"},{value:"8-Point Star",displayValue:"8-Point Star",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.EightPointStar"},{value:"Vertical Line",displayValue:"Vertical Line",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.VerticalLine"},{value:"Horizontal Line",displayValue:"Horizontal Line",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.HorizontalLine"},{value:"Slant Line",displayValue:"Slant Line",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.SlantLine"},{value:"Backslant Line",displayValue:"Backslant Line",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.BackslantLine"},{value:"Cross",displayValue:"Cross",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Cross"},{value:"Bracket",displayValue:"Bracket",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Bracket"},{value:"Brace",displayValue:"Brace",localizationId:"DevExpress.XtraPrinting.Shape.Native.ShapeId.Brace"}],localizationId:"DevExpress.XtraReports.UI.XRShape.Shape"},fI=[mI],bI={propertyName:"fillet",modelName:"@Fillet",defaultVal:0,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Fillet",localizationId:"DevExpress.XtraPrinting.Shape.FilletShapeBase.Fillet"},yI=[mI,bI],SI=[mI,{propertyName:"concavity",modelName:"@Concavity",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Concavity",localizationId:"DevExpress.XtraPrinting.Shape.ShapeStar.Concavity"},{propertyName:"starPointCount",modelName:"@StarPointCount",defaultVal:3,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Count of Star Points",localizationId:"DevExpress.XtraPrinting.Shape.ShapeStar.StarPointCount"},bI],CI=[mI,{propertyName:"fillet",modelName:"@Fillet",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Fillet",localizationId:"DevExpress.XtraPrinting.Shape.ShapeBrace.Fillet"},{propertyName:"tailLength",modelName:"@TailLength",defaultVal:20,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Tail's Length",localizationId:"DevExpress.XtraPrinting.Shape.ShapeBrace.TailLength"},{propertyName:"tipLength",modelName:"@TipLength",defaultVal:20,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Tip's Length",localizationId:"DevExpress.XtraPrinting.Shape.ShapeBracket.TipLength"}],DI=[mI,{propertyName:"tipLength",modelName:"@TipLength",defaultVal:20,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Tip's Length",localizationId:"DevExpress.XtraPrinting.Shape.ShapeBracket.TipLength"}],_I=[mI,bI,{propertyName:"numberOfSides",modelName:"@NumberOfSides",defaultVal:3,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Number of Sides",localizationId:"DevExpress.XtraPrinting.Shape.ShapePolygon.NumberOfSides"}],II=[mI,{propertyName:"arrowHeight",modelName:"@ArrowHeight",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Arrow Height",localizationId:"DevExpress.XtraPrinting.Shape.ShapeArrow.ArrowHeight"},{propertyName:"arrowWidth",modelName:"@ArrowWidth",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Arrow Width",localizationId:"DevExpress.XtraPrinting.Shape.ShapeArrow.ArrowWidth"},bI],PI=[mI,bI,{propertyName:"horizontalLineWidth",modelName:"@HorizontalLineWidth",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Horizontal Line Width",localizationId:"DevExpress.XtraPrinting.Shape.ShapeCross.HorizontalLineWidth"},{propertyName:"verticalLineWidth",modelName:"@VerticalLineWidth",defaultVal:50,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Vertical Line Width",localizationId:"DevExpress.XtraPrinting.Shape.ShapeCross.VerticalLineWidth"}],TI={Rectangle:yI,Arrow:II,Ellipse:fI,Polygon:_I,Star:SI,Line:fI,Bracket:DI,Cross:PI,Brace:CI},zI=[Om,Xm,Yu,xI,gI,hI,pm,Vg,Mg,dx,vI,zu,Ng(["Bookmark","NavigateUrl","Tag"])].concat(Og,Ug,qg),NI=["stretch","fillColor","lineWidth","angle","bookmark","bookmarkParent","shapeFake"];class EI extends Kv{constructor(e,t,a){super(e,t,a),this.Shape(EI.createShape(this.Shape()||{},a)),this.shapeFake={type:A.pureComputed({read:()=>this.Shape().shapeType(),write:e=>{const t=EI.shapes.filter((t=>t.displayName===e))[0],i=EI.createShape(k.extend({"@ShapeName":t.type},t.val),a);void 0!==t.angle&&this.angle(t.angle),0===EI.timeout?this.Shape(i):setTimeout((()=>{this.Shape(i)}),EI.timeout)}}),content:this.Shape},this._disposables.push(this.shapeFake.type)}static createShape(e,t=null){const a=e&&e["@ShapeName"]||"Ellipse",i=TI[a],r={shapeType:A.observable(a),getInfo:()=>i};return(t||new L.ModelSerializer).deserialize(r,e),r}}EI.timeout=1,EI.shapes=[{displayName:"Rectangle",type:"Rectangle"},{displayName:"Ellipse"},{displayName:"Top Arrow",angle:0,type:"Arrow"},{displayName:"Right Arrow",angle:270,type:"Arrow"},{displayName:"Bottom Arrow",angle:180,type:"Arrow"},{displayName:"Left Arrow",angle:90,type:"Arrow"},{displayName:"Triangle",type:"Polygon"},{displayName:"Square",val:{"@NumberOfSides":4},type:"Polygon"},{displayName:"Pentagon",val:{"@NumberOfSides":5},type:"Polygon"},{displayName:"Hexagon",val:{"@NumberOfSides":6},type:"Polygon"},{displayName:"Octagon",val:{"@NumberOfSides":8},type:"Polygon"},{displayName:"3-Point Star",type:"Star"},{displayName:"4-Point Star",val:{"@StarPointCount":4},type:"Star"},{displayName:"5-Point Star",val:{"@StarPointCount":5},type:"Star"},{displayName:"6-Point Star",val:{"@StarPointCount":6},type:"Star"},{displayName:"8-Point Star",val:{"@StarPointCount":8},type:"Star"},{displayName:"Vertical Line",angle:0,type:"Line"},{displayName:"Horizontal Line",angle:270,type:"Line"},{displayName:"Slant Line",angle:135,type:"Line"},{displayName:"Backslant Line",angle:225,type:"Line"},{displayName:"Cross",type:"Cross"},{displayName:"Bracket",type:"Bracket"},{displayName:"Brace",type:"Brace"}];class wI{}class RI extends Yv{constructor(e,t){super(e,t),this._lastUpdateImageDeferred=null,this.imageSrc=A.observable(""),this.isLoading=A.observable(!1),this.error=A.observable(""),this._disposables.push(A.computed((()=>{this._updateImage()}))),this.template="dxrd-shape",this.contenttemplate="dxrd-server-rendered-control-content"}_updateImage(){this.isLoading(!0),this._lastUpdateImageDeferred&&this._lastUpdateImageDeferred.reject();const e=k.Deferred();this._lastUpdateImageDeferred=e,Yx.getShapeImage(this).done((t=>{e.resolve(t)})).fail((t=>{e.resolve(null),this.error("An error occurred during an attempt to load data")})),e.done((e=>{this.isLoading(!1);const t=(null==e?void 0:e.imageBase64)?"data:image/png;base64,"+e.imageBase64:null;this.imageSrc(t)}))}}const BI={propertyName:"valueMember",modelName:"@ValueMember",displayName:"Value Member",localizationId:"DevExpress.XtraReports.UI.XRSparkline.ValueMember",editor:K.editorTemplates.getEditor("field")},VI={modelName:"@HighlightMinPoint",defaultVal:!1,from:L.parseBool,propertyName:"highlightMinPoint",displayName:"Highlight Min Point",localizationId:"DevExpress.Sparkline.SparklineViewBase.HighlightMinPoint",editor:K.editorTemplates.getEditor("bool")},MI={modelName:"@HighlightMaxPoint",defaultVal:!1,from:L.parseBool,propertyName:"highlightMaxPoint",displayName:"Highlight Max Point",localizationId:"DevExpress.Sparkline.SparklineViewBase.HighlightMaxPoint",editor:K.editorTemplates.getEditor("bool")},kI={modelName:"@HighlightStartPoint",defaultVal:!1,from:L.parseBool,propertyName:"highlightStartPoint",displayName:"Highlight Start Point",localizationId:"DevExpress.Sparkline.SparklineViewBase.HighlightStartPoint",editor:K.editorTemplates.getEditor("bool")},AI={modelName:"@HighlightEndPoint",defaultVal:!1,from:L.parseBool,propertyName:"highlightEndPoint",displayName:"Highlight End Point",localizationId:"DevExpress.Sparkline.SparklineViewBase.HighlightEndPoint",editor:K.editorTemplates.getEditor("bool")},LI={modelName:"@HighlightNegativePoints",defaultVal:!1,from:L.parseBool,propertyName:"highlightNegativePoints",displayName:"Highlight Negative Points",localizationId:"DevExpress.Sparkline.LineSparklineView.HighlightNegativePoints",editor:K.editorTemplates.getEditor("bool")},$I={modelName:"@Color",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"color",displayName:"Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.Color",editor:K.editorTemplates.getEditor("customColorEditor")},FI={modelName:"@MaxPointColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"maxPointColor",displayName:"Max Point Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.MaxPointColor",editor:K.editorTemplates.getEditor("customColorEditor")},OI={modelName:"@MinPointColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"minPointColor",displayName:"Min Point Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.MinPointColor",editor:K.editorTemplates.getEditor("customColorEditor")},XI={modelName:"@StartPointColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"startPointColor",displayName:"Start Point Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.StartPointColor",editor:K.editorTemplates.getEditor("customColorEditor")},HI={modelName:"@NegativePointColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"negativePointColor",displayName:"Negative Point Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.NegativePointColor",editor:K.editorTemplates.getEditor("customColorEditor")},WI={modelName:"@EndPointColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"endPointColor",displayName:"End Point Color",localizationId:"DevExpress.Sparkline.SparklineViewBase.EndPointColor",editor:K.editorTemplates.getEditor("customColorEditor")},UI={modelName:"@EnableAntialiasing",propertyName:"enableAntialiasing",displayName:"Enable Antialiasing",localizationId:"DevExpress.Sparkline.LineSparklineView.EnableAntialiasing",editor:K.editorTemplates.getEditor("bool"),from:L.parseBool,defaultVal:!0},GI={modelName:"@MaxPointMarkerSize",defaultVal:5,propertyName:"maxPointMarkerSize",displayName:"Max Point Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.MaxPointMarkerSize",editor:K.editorTemplates.getEditor("numeric")},jI={modelName:"@MinPointMarkerSize",defaultVal:5,propertyName:"minPointMarkerSize",displayName:"Min Point Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.MinPointMarkerSize",editor:K.editorTemplates.getEditor("numeric")},qI={modelName:"@StartPointMarkerSize",defaultVal:5,propertyName:"startPointMarkerSize",displayName:"Start Point Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.StartPointMarkerSize",editor:K.editorTemplates.getEditor("numeric")},JI={modelName:"@NegativePointMarkerSize",defaultVal:5,propertyName:"negativePointMarkerSize",displayName:"Negative Point Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.NegativePointMarkerSize",editor:K.editorTemplates.getEditor("numeric")},KI={modelName:"@EndPointMarkerSize",defaultVal:5,propertyName:"endPointMarkerSize",displayName:"End Point Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.EndPointMarkerSize",editor:K.editorTemplates.getEditor("numeric")},QI={modelName:"@MarkerSize",propertyName:"markerSize",defaultVal:5,displayName:"Marker Size",localizationId:"DevExpress.Sparkline.LineSparklineView.MarkerSize",editor:K.editorTemplates.getEditor("numeric")},YI={modelName:"@ShowMarkers",propertyName:"showMarkers",displayName:"Show Markers",localizationId:"DevExpress.Sparkline.LineSparklineView.ShowMarkers",from:L.parseBool,editor:K.editorTemplates.getEditor("bool"),defaultVal:!1},ZI={modelName:"@MarkerColor",from:L.colorFromString,toJsonObject:L.colorToString,propertyName:"markerColor",displayName:"Marker Color",localizationId:"DevExpress.Sparkline.LineSparklineView.MarkerColor",editor:K.editorTemplates.getEditor("customColorEditor")},eP={modelName:"@BarDistance",propertyName:"barDistance",defaultVal:2,displayName:"Bar Distance",localizationId:"DevExpress.Sparkline.BarSparklineViewBase.BarDistance",editor:K.editorTemplates.getEditor("numeric")},tP={modelName:"@AreaOpacity",propertyName:"areaOpacity",defaultVal:135,displayName:"Area Opacity",localizationId:"DevExpress.Sparkline.AreaSparklineView.AreaOpacity",editor:K.editorTemplates.getEditor("numeric")},aP=[kI,AI,MI,VI,$I,FI,OI,XI,WI,HI,{modelName:"@Type",propertyName:"type"}],iP=[].concat(aP,[LI,UI,JI,KI,qI,jI,GI,QI,YI,Om,ZI]),rP=[].concat(aP,[eP]),oP={Line:iP,Bar:[].concat(aP,[eP,LI]),WinLoss:rP,Area:[].concat(aP,[UI,tP,JI,Om,LI,YI,QI,GI,ZI,jI,KI,qI])},sP={propertyName:"valueRange",modelName:"ValueRange",displayName:"Value Range",localizationId:"DevExpress.XtraReports.UI.XRSparkline.ValueRange",info:[{propertyName:"limit1",modelName:"@Limit1",displayName:"Limit 1",localizationId:"DevExpress.Sparkline.SparklineRange.Limit1",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"limit2",modelName:"@Limit2",displayName:"Limit 2",localizationId:"DevExpress.Sparkline.SparklineRange.Limit2",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"isAuto",modelName:"@IsAuto",displayName:"Is Auto",localizationId:"DevExpress.Sparkline.SparklineRange.IsAuto",defaultVal:!0,editor:K.editorTemplates.getEditor("bool")}],editor:K.editorTemplates.getEditor("objecteditor")},nP={propertyName:"sparklineFake",editor:jp.getEditor("contentByType"),valuesArray:af,displayName:"View",localizationId:"DevExpress.XtraReports.UI.XRSparkline.View"},lP=[nP,{propertyName:"view",modelName:"View"},BI,sP,qm,Vg,Mg,Ng(["Bookmark","NavigateUrl","Tag"]),zu,_m,Pm,Im,dx].concat(Ug,Og,qg),dP=["dataSource","dataMember","dataAdapter","valueMemberEditable","sparklineFake"];class cP extends Kv{constructor(e,t,a){super(e,t,a),this.view(this.createView(this.view()||{},a)),this.sparklineFake={type:A.pureComputed({read:()=>this.view().type(),write:e=>{this.view(this.createView({"@Type":e},a))}}),content:this.view},this._disposables.push(this.sparklineFake.type)}createView(e,t=null){const a=e&&e["@Type"]||"Line",i=oP[a],r={type:A.observable(a),getInfo:()=>i};return(t||new L.ModelSerializer).deserialize(r,e),r}getPath(e){return"dataMember"===e?this.dsHelperProvider()&&this.dsHelperProvider().getDataSourcePath(this.dataSource()):"valueMember"===e?(0,B.getFullPath)(this.getPath("dataMember"),this.dataMember()):super.getPath(e)}}class pP extends tI{constructor(e,t){super(e,t)}}function uP(e,t=[]){if(!e)return t;const a=e=>{"XRSubreport"===e.controlType&&(t.push(e),uP(e.reportSource,t))};return a(e),(0,B.collectionsVisitor)(e,(e=>{e().forEach(a)}),["controls","bands"]),t}function mP(e,t){return Math.round(e*t)/100}const hP={False:"False",True:"True",Prompt:"Prompt"};function gP(e){if(Array.isArray(e)){for(let t=0;t<e.length;t++)if(void 0!==e[t]["@Ref"]){e=e[t];break}}else Object.keys(e).forEach((t=>{e[t]instanceof Object&&(e[t]=gP(e[t]))}));return e}function xP(e,t){const a=JSON.parse(e.reportModel),i=new Ly(a,void 0,e.knownEnums);if(t){let a=Math.max(...i.objectStorage().map((e=>parseInt(e._model["@Ref"]))))+1;t.dsHelperProvider().usedDataSources().filter((t=>!!t.data&&!e.dataSourceRefs.some((e=>e.name===t.name)))).forEach((t=>{t.data._model["@Ref"]=a.toString(),e.dataSourceRefs.push({name:t.name,ref:a.toString(),isFederationDataSource:t.isFederationDataSource,isSqlDataSource:t.isSqlDataSource,isJsonDataSource:t.isJsonDataSource,isObjectDataSource:t.isObjectDataSource,isListType:t.isListType,isSupportQueries:t.isSupportQueries,dataSerializer:t.dataSerializer,hasParams:t.hasParams}),i.objectStorage.push(t.data),a++}))}return i.dataSourceRefs=e.dataSourceRefs,i}function vP(e,t){const a=e=>{const a=(t||[]).filter((t=>t.Key===e))[0];return a&&a.Value||[]};e.dataSourceRefs=a(e.key());uP(e).forEach((e=>{e.reportSource&&(e.reportSource.dataSourceRefs=a(e.key()))}))}function fP(e){return!(e instanceof ry)}function bP(e){return fP(e)&&!(e instanceof yg||e instanceof Th||e instanceof ah||e instanceof pb)}function yP(e,t,a){return()=>{const i=k.fn.constructor(t).find(".dxrd-designer").eq(0),r=(k.fn.constructor(t).find(".dxrd-left-localization-panel:visible").outerWidth()||0)+50,o=i.width()-r;i.find(".dxrd-surface-wrapper").eq(0).css({left:a?"50px":r,right:a?"50px":r,width:o,bottom:0}),e(o)}}class SP{static getErrorMessageHandler(e){return function(t,a,i){const r=(0,B.getErrorMessage)(a);(0,B.NotifyAboutWarning)(r||e||t||"Internal Server Error",!0)}}static getReportByUrl(e){const t=k.Deferred();return SP.getData(e).done((e=>{if(e){const a=new Ly(JSON.parse(e.reportLayout),void 0,e.knownEnums);vP(a,e.dataSourceRefInfo),t.resolve(a)}else t.reject()})).fail((()=>t.reject())),t.promise()}static getData(e){return Li()?(0,B.ajax)(Wp(),"getData",encodeURIComponent(JSON.stringify({reportUrl:e})),SP.getErrorMessageHandler()):k.Deferred().promise()}static setData(e,t){return Li()?(0,B.ajax)(Wp(),"setData",encodeURIComponent(JSON.stringify({reportLayout:JSON.stringify({XtraReportsLayoutSerializer:e}),reportUrl:t})),SP.getErrorMessageHandler((0,L.getLocalization)("Cannot save the report.","ASPxReportsStringId.ReportDesigner_SaveReport_Error"))):k.Deferred().promise()}static setNewData(e,t){return Li()?(0,B.ajax)(Wp(),"setNewData",encodeURIComponent(JSON.stringify({reportLayout:JSON.stringify({XtraReportsLayoutSerializer:e}),reportUrl:t})),SP.getErrorMessageHandler((0,L.getLocalization)("Cannot save the report.","ASPxReportsStringId.ReportDesigner_SaveReport_Error"))):k.Deferred().promise()}static getUrls(e){return Li()?(0,B.ajax)(Wp(),"getUrls",encodeURIComponent("true")):k.Deferred().resolve((0,Eh.convertMapToKeyValuePair)(e)).promise()}}class CP extends Kv{constructor(e,t,a){super(Sy(e),t,a),this.needProcessLocation=!1,this.subreportParameters=A.observableArray();const i=A.observable(this.size.width());this.size._width=i,this._disposables.push(this.key=A.pureComputed((()=>{const e=this.parentModel()&&this.parentModel().root&&this.parentModel().root.key;return(e?e()+".":"")+(this.name()?this.name():"")}))),this._generateOwnPages=A.observable(this.generateOwnPages());let r=this._generateOwnPages();this._disposables.push(this.generateOwnPages=A.pureComputed({read:()=>this._generateOwnPages(),write:e=>{if(this.isPropertyDisabled("generateOwnPages"))return;const t=L.UndoEngine.tryGetUndoEngine(this.parentModel());t&&t.start(),this._generateOwnPages(e),t&&t.end(),r=this._getCurrentGenerateOwnPagesIsActive()}}),this.generateOwnPagesIsActive=A.computed((()=>this._getCurrentGenerateOwnPagesIsActive())),this.generateOwnPagesIsActive.subscribe((e=>{this._calculateSubreportPosition(e)})),this.size.width=A.computed({read:()=>this.generateOwnPagesIsActive()?this.parentModel().size.width():i(),write:e=>{i(e)}})),this._disposables.push(this.parentModel.subscribe((e=>{this.needProcessLocation=r!==this._getCurrentGenerateOwnPagesIsActive()||r&&this._getCurrentGenerateOwnPagesIsActive(),r=this._getCurrentGenerateOwnPagesIsActive()}))),this.size.isPropertyDisabled=e=>"width"===e&&this.generateOwnPagesIsActive();let o=null;this.reportSource&&(this.reportSource.key=this.key,t&&this.reportSource.objectStorageIsEmpty()&&(t.root.objectStorage([...t.root.objectStorage(),...this.reportSource.objectStorage()]),this.reportSource.objectStorage([...t.root.objectStorage()]),o=this._subscribeStorages(this.reportSource.objectStorage,t.root.objectStorage),this._disposables.push(o))),this.parameterBindings=(0,L.deserializeArray)(e.ParameterBindings,(e=>{const t=new Su(e,this,a);return this._initParameter(t),t})),this.updateParameters(),this._disposables.push(this.parameterBindings.subscribe((e=>{for(let t=0;t<e.length;t++)"added"===e[t].status&&this._initParameter(e[t].value)}),null,"arrayChange")),"parameters"in this.root&&this._disposables.push(this.root.parameters.subscribe((e=>{this.parameterBindings().forEach((t=>{vu(e).some((e=>e===t.parameter()))||t.parameter(null)}))}))),this._disposables.push(this.reportSourceUrl.subscribe((e=>{o&&o.dispose(),this.reportSource&&this.reportSource.dispose(),e||(this.reportSource=new Oy(Oy.defaultReport,a)),this.updateParameters()})))}dispose(){super.dispose(),this.disposeObservableArray(this.parameterBindings),this.reportSource&&this.reportSource.dispose(),this.resetObservableArray(this.parameterBindings)}getInfo(){const e=k.extend(!0,[],super.getInfo());if(this.reportSourceUrl&&this.reportSourceUrl()){const t=e.filter((e=>"reportSource"===e.propertyName))[0];e.splice(e.indexOf(t),1)}return e}_getCurrentGenerateOwnPagesIsActive(){return this.generateOwnPages()&&!this.isPropertyDisabled("generateOwnPages")}_clearReportModel(e){const t=["Parameters","ObjectStorage","ComponentStorage"];Object.keys(e).forEach((a=>{-1===t.indexOf(a)&&delete e[a]}))}_assignParameters(e){this.subreportParameters(vu(e).map((e=>e.name))),this.refreshParameterBindings()}_calculateSubreportPosition(e){const t=e?0:(0,B.pixelToUnits)(5,this.root.measureUnit(),1);this.size.width(this.parentModel().size.width()-2*t),this.location.x(t)}_subscribeStorages(e,t){const a=new fg.Locker,i=[e.subscribe((e=>a.lock((()=>t(e))))),t.subscribe((t=>a.lock((()=>e(t)))))];return{dispose:()=>i.forEach((e=>e.dispose()))}}_initParameter(e){e.initReportDataSource((()=>this.root.dataSource&&this.root.dataSource()||null)),e.initSubreportParameters((()=>this.subreportParameters()))}refreshParameterBindings(){this.parameterBindings().forEach((e=>e.refresh()))}isPropertyDisabled(e){return"generateOwnPages"===e?this.parentModel()&&-1===["ReportHeaderBand","ReportFooterBand","GroupHeaderBand","GroupFooterBand","DetailBand"].indexOf(this.parentModel().controlType):super.isPropertyDisabled(e)}updateParameters(){this.reportSourceUrl()?SP.getData(this.reportSourceUrl()).done((e=>{const t=JSON.parse(e.reportLayout);this._clearReportModel(t.XtraReportsLayoutSerializer);const a=new Ly(t);this._assignParameters(a.parameters())})):this.reportSource&&this._assignParameters(this.reportSource.parameters())}cloneReportSource(){var e;if(this.reportSource){const t=null===(e=this.root)||void 0===e?void 0:e.dataSourceRefs;return this.reportSource.clone(t)}}get root(){return this._getRoot()}}class DP extends Yv{constructor(e,t){super(e,t),this.template="dxrd-subreport",this.selectiontemplate="dxrd-subreport-selection",this.displayText=()=>e.name()}getAdornTemplate(){let e="";return e=Yv._appendValue(e,"dxrd-surface-hidden",!this._control.visible()),e=Yv._appendValue(e,"dxrd-intersect",this.isIntersect()),e}getResizableOptions(e){return k.extend(!0,{},e,{handles:A.pureComputed((()=>this._control.generateOwnPagesIsActive()?"s,n":"all"))})}processLocation(e){return this._control.needProcessLocation?(this._control.needProcessLocation=!1,{top:e.top}):e}}const _P=23,IP={propertyName:"font",localizable:!0,modelName:"@Font",defaultVal:"Times New Roman, 9.75pt",displayName:"Font",localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Font",editor:K.editorTemplates.getEditor("font")},PP=[{propertyName:"backColor",modelName:"@BackColor",defaultVal:"Transparent",from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Background Color",localizationId:"DevExpress.XtraReports.UI.XRControl.BackColor",editor:K.editorTemplates.getEditor("customColorEditor")},IP,{propertyName:"foreColor",modelName:"@ForeColor",defaultVal:"Black",from:L.colorFromString,toJsonObject:L.colorToString,displayName:"Foreground Color",localizationId:"DevExpress.XtraReports.UI.XRControl.ForeColor",editor:K.editorTemplates.getEditor("customColorEditor")},{propertyName:"height",modelName:"@Height",editor:K.editorTemplates.getEditor("numeric"),defaultVal:_P,displayName:"Height",localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevelBase.Height",from:L.floatFromModel,editorOptions:{min:10}}].concat(Jm),TP=[{propertyName:"leaderSymbol",modelName:"@LeaderSymbol",editor:K.editorTemplates.getEditor("text"),defaultVal:".",displayName:"Leader Symbol",localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevel.LeaderSymbol",editorOptions:{maxLength:1}},{propertyName:"indent",modelName:"@Indent",editor:K.editorTemplates.getEditor("numeric"),defaultVal:null,displayName:"Indent",localizationId:"DevExpress.XtraReports.UI.XRTableOfContentsLevel.Indent",from:L.floatFromModel}].concat(PP),zP={propertyName:"size",modelName:"@SizeF",from:Q.Size.fromString},NP=[Ou,k.extend({},dm,{defaultVal:"TopLeft"})].concat(PP),EP={propertyName:"levelTitle",modelName:"LevelTitle",displayName:"Level Title",localizationId:"DevExpress.XtraReports.UI.XRTableOfContents.LevelTitle",info:NP,editor:K.editorTemplates.getEditor("objecteditor")},wP={propertyName:"levelDefault",modelName:"LevelDefault",displayName:"Level Default",localizationId:"DevExpress.XtraReports.UI.XRTableOfContents.LevelDefault",info:TP,editor:K.editorTemplates.getEditor("objecteditor")},RP={propertyName:"maxNestingLevel",modelName:"@MaxNestingLevel",defaultVal:0,displayName:"Max Nesting Level",localizationId:"DevExpress.XtraReports.UI.XRTableOfContents.MaxNestingLevel",editor:K.editorTemplates.getEditor("numeric"),editorOptions:{min:0}},BP={propertyName:"levels",modelName:"Levels",displayName:"Levels",localizationId:"DevExpress.XtraReports.UI.XRTableOfContents.Levels",array:!0,editor:jp.getEditor("toclevel"),template:"#dxrd-collectionItemWithAccordion"},VP=Ug.filter((e=>e!==Wm&&e!=Zm)),MP=[{propertyName:"formattingRuleLinks",modelName:"FormattingRuleLinks"},zP,Gu,EP,BP,wP,RP,jm].concat(VP);class kP extends Q.ElementViewModel{constructor(e,t,a,i=!1){super(k.extend({"@ControlType":"TableOfContentsLevel",isTitle:i},e),t,a),this.borderWidth=t.borderWidth,this.borderColor=t.borderColor,this.borders=t.borders,this.dpi=t.dpi,this.padding&&this._createPaddingDependencies(),this.borderDashStyle=t.borderDashStyle,this.borderDefault=t.borderDefault,this._disposables.push(this._levelIndex=A.pureComputed((()=>t.allLevels().indexOf(this)))),this._disposables.push(this._indentFactor=A.pureComputed((()=>mP(60,this.parentModel().dpi())))),this.indent=this.indent||A.observable(0),this._disposables.push(this.left=A.pureComputed({read:()=>this.indent?null!==this.indent()&&void 0!==this.indent()?this.indent():0===this._levelIndex()?0:(this._levelIndex()-1)*this._indentFactor():0,write:k.noop})),this._disposables.push(this.width=A.pureComputed({read:()=>t.size.width()-this.left(),write:k.noop})),this._disposables.push(this.name=A.pureComputed((()=>this.isTitle?null:this._levelIndex()==t.allLevels().length-1?"Level (Default)":"Level "+this._levelIndex()))),this._disposables.push(this.top=A.computed({read:()=>{const e=t.allLevels()[this._levelIndex()-1];return e?e.top()+e.height():0},write:k.noop,deferEvaluation:!0})),this.lockedInUserDesigner=t.lockedInUserDesigner}dispose(){super.dispose(),this.parentModel(null)}static createNew(e){return new kP({"@Height":mP(_P,e.dpi())},e)}_createPaddingDependencies(){this.paddingObj=new Q.PaddingModel,this._disposables.push(this.paddingObj),this.paddingObj.applyFromString(this.padding()),this.addDisposable(this.paddingObj.createComputedProperty("dpi",(()=>this.dpi&&this.dpi()),[(0,Oi.subscribableProperty)(this,["dpi"])]));const e=(new fg.Locker).lock;this._disposables.push(this.padding.subscribe((t=>e((()=>this.paddingObj.applyFromString(t)))))),["left","right","top","bottom"].forEach((t=>{this.addDisposable(this.paddingObj.subscribeProperty(t,(t=>{(this.root.isModelReady&&this.root.isModelReady()||!this.root.isModelReady)&&e((()=>this.padding(this.paddingObj.toString())))})))})),this.addDisposable(this.paddingObj.subscribeProperty("dpi",(t=>e((()=>{this.padding()&&this.padding(this.paddingObj.toString())}))))),this.paddingObj.resetValue=()=>{e((()=>{["left","right","top","bottom"].forEach((e=>this.paddingObj[e](null))),this.padding(this.paddingObj.toString()),this.paddingObj.applyFromString(this.padding())}))}}preInitProperties(e){this.isTitle=e.isTitle,delete e.isTitle}getInfo(){return this.isTitle?NP:TP}isPropertyModified(e){return!1}getControlFactory(){return Op()}rtl(){return this.parentModel()&&this.parentModel().rtl()}}kP.unitProperties=["height","indent"];class AP extends Qv{constructor(e,t){super(e,t,AP._unitProperties),this._leaderSymbolWidth=A.pureComputed((()=>(AP._$leaderSymbol||(AP._$leaderSymbol=k.fn.constructor("<span />").hide().appendTo("body")),AP._$leaderSymbol.html(this.getControlModel().leaderSymbol()).css(this.contentCss()),AP._$leaderSymbol.width()))),this.leaderSymbols=A.pureComputed((()=>{const e=this.contentWidthWithoutZoom();if(e<=0||0===this._leaderSymbolWidth())return"";const t=e/this._leaderSymbolWidth(),a=this.getControlModel().leaderSymbol(),i=[];for(;i.length<t;)i.push(a);return i.join("")})),this._disposables.push(this.isIntersect=A.computed((()=>!1))),this._disposables.push(this.leaderSymbols),this.text=e.text,this.template="dxrd-table-of-contents-level"}resizable(e,t){return k.extend({},e,{handles:"s",$selectedNodes:k.fn.constructor(t),minimumHeight:10})}rtlLayout(){return this._control.rtl()}}AP._unitProperties={_height:e=>e.height,_width:e=>e.width,_x:e=>e.left,_y:e=>e.top};class LP extends Kv{constructor(e,t,a){super(e,t,a),this.borderDefault=A.pureComputed((()=>"none")),this._disposables.push(this.levelTitle=new kP(e.LevelTitle,this,a,!0)),this.levelTitleText=this.levelTitle.text,this._disposables.push(this.levelDefault=new kP(e.LevelDefault,this,a)),this.levels=(0,L.deserializeArray)(e.Levels,(e=>new kP(e,this,a))),this._disposables.push(this.allLevels=A.computed((()=>{const e=[this.levelTitle];return Array.prototype.push.apply(e,this.levels()),e.push(this.levelDefault),e}))),this._disposables.push(this.size.height=A.computed({read:()=>this.levelDefault.top()+this.levelDefault.height(),write:k.noop})),this._disposables.push(this.size.width=A.computed({read:()=>this.parentModel()?this.parentModel().size.width():0,write:k.noop})),this._disposables.push(this.location.x=A.computed({read:()=>0,write:()=>{}})),this._disposables.push(this.borderDefault)}dispose(){super.dispose(),this.disposeObservableArray(this.levels),this.resetObservableArray(this.levels)}createLocalizationProvider(){return new gv(this)}get textEditableProperty(){return this.levelTitleText}}LP.unitProperties=[].concat(["levelTitle","levelDefault"],bv.unitProperties);class $P extends Yv{constructor(e,t){super(e,t),this.levels=A.observableArray(),this._disposables.push(this.levelTitle=new AP(e.levelTitle,t)),this._disposables.push(this.levelDefault=new AP(e.levelDefault,t)),this._disposables.push((0,B.createObservableArrayMapCollection)(e.levels,this.levels,(e=>new AP(e,t)))),this.template="dxrd-table-of-contents",this.selectiontemplate="dxrd-table-of-contents-selected"}isThereIntersectionWithChildCollection(){return!1}isThereIntersectionWithUsefulArea(){return!1}isThereIntersectionWithParentCollection(){return!1}}class FP extends Yv{constructor(e,t){super(e,t),this.isLoading=A.observable(!1),this.imageSrc=A.observable(""),this.error=A.observable(""),this.template="dxrd-unknown-control",this.contenttemplate="dxrd-server-rendered-control-content";let a=null,i=null;this._disposables.push(A.computed((()=>{const e=this;if(Wp()){a&&clearTimeout(a);const t=e._context.zoom(),r=e._control.root.measureUnit(),o=e._getParentStyles(),s=(new L.ModelSerializer).serialize(e._control);a=setTimeout((()=>{e.isLoading(!0);const a=new Ly(Object.assign(Object.assign({},Oy.defaultReport),{measureUnit:r})),n=a.bands()[1];e._applyParentStyles(o,n),n.createChild(s);const l=a.serialize();a.dispose();const d=Yx.getUnknownControlImage(l,t);i=d,d.done((function(t){i===d&&(e.isLoading(!1),e.imageSrc("data:image/x;base64,"+t.Img))})).fail((function(t){i===d&&(e.isLoading(!1),(0,B.NotifyAboutWarning)("Impossible to get control image."),e.error("An error occurred during an attempt to load data"))}))}),200)}})))}getValue(e){return e&&((0,B.isFunction)(e)?e():e)}_getParentStyles(){const e=this._control.root,t=this._control.parentModel();return{measureUnit:e.measureUnit(),backColor:this.getValue(null==t?void 0:t.backColor),borderColor:this.getValue(null==t?void 0:t.borderColor),borderDashStyle:this.getValue(null==t?void 0:t.borderDashStyle),borders:this.getValue(null==t?void 0:t.borders),borderWidth:this.getValue(null==t?void 0:t.borderWidth),font:this.getValue(null==t?void 0:t.font),foreColor:this.getValue(null==t?void 0:t.foreColor),padding:this.getValue(null==t?void 0:t.padding),textAlignment:this.getValue(null==t?void 0:t.textAlignment)}}_applyParentStyles(e,t){Object.getOwnPropertyNames(e).forEach((a=>{e[a]&&t[a]&&(0,B.isFunction)(t[a])&&t[a](e[a])}))}}class OP extends Yv{constructor(e,t){super(e,t),this.displayText=()=>{let t=e.text();return t=t&&t.replace(/[^\d]/g,"_")||"0".replace(/[^\d]/g,"_"),t},this.fontSize=A.pureComputed((()=>(0,B.unitsToPixel)(e.size.height(),t.measureUnit()))),this.letterSpacing=A.pureComputed((()=>Math.ceil(this.fontSize()/10))),this.css=A.pureComputed((()=>k.extend({},this.cssCalculator.zipCodeFontCss(this.fontSize()),this.cssCalculator.backGroundCss(),this.cssCalculator.zipCodeAlignment(),this.cssCalculator.foreColorCss()))),this.contentCss=A.pureComputed((()=>k.extend({},this.cssCalculator.zipCodeAlignment(),this.cssCalculator.paddingsCss(),{letterSpacing:this.letterSpacing()+"px"},{lineHeight:"inherit"})))}}const XP=[Ev,Nv,Tv,Bx,Sv,wv].concat(Uf,Jg).filter((e=>"bands"!==e.propertyName)).concat([{propertyName:"bands",modelName:"Bands",array:!0}]),HP=["dataSource","dataMember","dataAdapter","filterString"],WP={propertyName:"groupUnion",modelName:"@GroupUnion",displayName:"Group Union",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBand.GroupUnion",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"None",from:L.fromEnum,valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.GroupUnion.None"},{value:"WholePage",displayValue:"Whole Page",localizationId:"DevExpress.XtraReports.UI.GroupUnion.WholePage"},{value:"WithFirstDetail",displayValue:"With First Detail",localizationId:"DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail"}]},UP={propertyName:"groupFooterUnion",modelName:"@GroupUnion",displayName:"Group Union",localizationId:"DevExpress.XtraReports.UI.GroupFooterBand.GroupUnion",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"None",from:L.fromEnum,valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraReports.UI.GroupFooterUnion.None"},{value:"WithLastDetail",displayValue:"With Last Detail",localizationId:"DevExpress.XtraReports.UI.GroupFooterUnion.WithLastDetail"}]},GP=[bm,Ev,Tv,_v].concat(Gf),jP=[{propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",localizationId:"DevExpress.XtraReports.UI.XRGroupSortingSummary.Enabled",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},{propertyName:"Function",modelName:"@Function",displayName:"Function",localizationId:"DevExpress.XtraReports.UI.XRGroupSortingSummary.Function",defaultVal:"Sum",editor:K.editorTemplates.getEditor("combobox"),get valuesArray(){return Vm()}},{propertyName:"fieldName",modelName:"@FieldName",displayName:"Field Name",localizationId:"DevExpress.XtraReports.UI.XRGroupSortingSummary.FieldName",defaultVal:"",editor:K.editorTemplates.getEditor("field")},{propertyName:"ignoreNullValues",modelName:"@IgnoreNullValues",displayName:"Ignore Null Values",localizationId:"DevExpress.XtraReports.UI.XRGroupSortingSummary.IgnoreNullValues",defaultVal:!1,from:L.parseBool,editor:K.editorTemplates.getEditor("bool")},{propertyName:"sortOrder",modelName:"@SortOrder",displayName:"SortOrder",localizationId:"DevExpress.XtraReports.UI.XRGroupSortingSummary.SortOrder",defaultVal:"Ascending",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Ascending",displayValue:"Ascending",localizationId:"DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending"},{value:"Descending",displayValue:"Descending",localizationId:"DevExpress.XtraReports.UI.XRColumnSortOrder.Descending"}]}],qP={propertyName:"groupFields",modelName:"GroupFields",displayName:"Group Fields",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBand.GroupFields",array:!0,editor:K.editorTemplates.getEditor("commonCollection"),addHandler:$f.createNew,template:"#dxrd-collection-item-group",getChildCaption:e=>0===e?(0,L.getLocalization)("Group By","DataAccessUIStringId.QueryBuilderColumns_GroupBy"):(0,L.getLocalization)("Then By","ASPxReportsStringId.ReportDesigner_SortFields_ThenBy")},JP={propertyName:"sortingSummary",modelName:"SortingSummary",displayName:"Sorting Summary",localizationId:"DevExpress.XtraReports.UI.GroupHeaderBand.SortingSummary",info:jP,editor:K.editorTemplates.getEditor("objecteditor")},KP=[qP,WP,JP,Sv,wv,zx].concat(GP),QP=[UP,Cv,_x].concat(GP),YP=["groupFooterUnion","pageBreak","keepTogether","repeatEveryPage","printAtBottom"],ZP=["groupFields","groupUnion","level","pageBreak","keepTogether",Dv.propertyName,"repeatEveryPage"],eT={propertyName:"printOn",modelName:"@PrintOn",displayName:"Print On",localizationId:"DevExpress.XtraReports.UI.PageBand.PrintOn",defaultVal:"AllPages",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"AllPages",displayValue:"All Pages",localizationId:"DevExpress.XtraReports.UI.PrintOnPages.AllPages"},{value:"NotWithReportHeader",displayValue:"Not with Report Header",localizationId:"DevExpress.XtraReports.UI.PrintOnPages.NotWithReportHeader"},{value:"NotWithReportFooter",displayValue:"Not with Report Footer",localizationId:"DevExpress.XtraReports.UI.PrintOnPages.NotWithReportFooter"},{value:"NotWithReportHeaderAndReportFooter",displayValue:"Not with Report Header and Report Footer",localizationId:"DevExpress.XtraReports.UI.PrintOnPages.NotWithReportHeaderAndReportFooter"}]},tT=[eT,Sx].concat(Gf),aT=[eT,Sx].concat(Gf),iT=["printOn",Dv.propertyName],rT=["printOn"],oT=[{propertyName:"width",modelName:"@WidthF",defaultVal:300,editor:K.editorTemplates.getEditor("numeric"),displayName:"Width",localizationId:"DevExpress.XtraReports.UI.XRControl.Width",from:L.floatFromModel,localizable:!0},bm].concat(Gf),sT={propertyName:"bandLayout",modelName:"@BandLayout",displayName:"Band Layout",localizationId:"DevExpress.XtraReports.UI.VerticalDetailBand.BandLayout",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"AcrossOnly",displayValue:"Across Only",localizationId:"DevExpress.XtraReports.UI.VerticalBandLayout.AcrossOnly"},{value:"AcrossThenDown",displayValue:"Across Then Down",localizationId:"DevExpress.XtraReports.UI.VerticalBandLayout.AcrossThenDown"}],defaultVal:"AcrossOnly"},nT=[_v].concat(oT),lT=["repeatEveryPage"],dT=[].concat(oT),cT=[],pT=[sT,Qf].concat(oT),uT=["sortFields","bandLayout"],mT={propertyName:"verticalSpacing",localizable:!0,modelName:"@CellVerticalSpacing",defaultVal:0,displayName:"Cell Vertical Spacing",localizationId:"DevExpress.XtraReports.UI.XRCharacterComb.CellVerticalSpacing",editor:K.editorTemplates.getEditor("numeric")},hT={propertyName:"horizontalSpacing",localizable:!0,modelName:"@CellHorizontalSpacing",defaultVal:0,displayName:"Cell Horizontal Spacing",localizationId:"DevExpress.XtraReports.UI.XRCharacterComb.CellHorizontalSpacing",editor:K.editorTemplates.getEditor("numeric")},gT={propertyName:"cellWidth",modelName:"@CellWidth",defaultVal:25,displayName:"Cell Width",localizable:!0,localizationId:"DevExpress.XtraReports.UI.XRCharacterComb.CellWidth",editor:K.editorTemplates.getEditor("numeric"),editorOptions:{placeholder:A.observable((0,L.getLocalization)("(Auto)","ASPxReportsStringId.ReportDesigner_PropertyGrid_AutoValueString"))}},xT={propertyName:"cellHeight",modelName:"@CellHeight",defaultVal:25,displayName:"Cell Height",localizable:!0,localizationId:"DevExpress.XtraReports.UI.XRCharacterComb.CellHeight",editor:K.editorTemplates.getEditor("numeric"),editorOptions:{placeholder:A.observable((0,L.getLocalization)("(Auto)","ASPxReportsStringId.ReportDesigner_PropertyGrid_AutoValueString"))}},vT={propertyName:"sizeMode",modelName:"@CellSizeMode",displayName:"Cell Size Mode",localizationId:"DevExpress.XtraReports.UI.XRCharacterComb.CellSizeMode",defaultVal:"AutoSize",editor:jp.getEditor("comboboxUndo"),valuesArray:[{value:"Custom",displayValue:"Custom",localizationId:"DevExpress.XtraPrinting.SizeMode.Custom"},{value:"AutoWidth",displayValue:"Auto Width",localizationId:"DevExpress.XtraPrinting.SizeMode.AutoWidth"},{value:"AutoHeight",displayValue:"Auto Height",localizationId:"DevExpress.XtraPrinting.SizeMode.AutoHeight"},{value:"AutoSize",displayValue:"Auto Size",localizationId:"DevExpress.XtraPrinting.SizeMode.AutoSize"}]},fT={propertyName:"wordWrap",modelName:"@WordWrap",defaultVal:!0,from:L.parseBool,displayName:"Word Wrap",localizationId:"DevExpress.XtraReports.UI.XRControl.WordWrap",editor:K.editorTemplates.getEditor("bool")},bT={propertyName:"font",modelName:"@Font",displayName:"Font",localizationId:"DevExpress.XtraReports.UI.XRControl.Font",editor:jp.getEditor("fontUndo")},yT={propertyName:"borders",modelName:"@Borders",displayName:"Borders",localizationId:"DevExpress.XtraReports.UI.XRControl.Borders",defaultVal:"All",editor:K.editorTemplates.getEditor("borders")},ST=k.extend({},om,{valuesArray:ku}),CT=[Ym,qh,Jh,Kh,Qh,Wm,Qu,vm,zu,Fg,vT,fT,gT,xT,mT,hT,Ng(["Text"]),dm,Ou,km,Xu,Bm,bm,$m,hm,fT,Lu,jm,yT,rm,ST,am,bT,Yu,kg,Xh].concat(Eg("Text"),Hg,qg,Qg,Kg,Og),DT={propertyName:"chart",modelName:"Chart",from:ip.from,toJsonObject:ip.toJsonObject},_T={propertyName:"controlParameters",modelName:"Parameters",displayName:"Parameters",localizationId:"DevExpress.XtraReports.UI.XRChart.Parameters",array:!0,editor:K.editorTemplates.getEditor("commonCollection"),addHandler:sh.createNew,template:"#dxrd-commonCollectionItem"},IT=(0,B.extend)(!0,{},jm);IT.defaultVal=void 0;const PT=[Qr,Yr,DT,Qh,ee,qm,gx,_T,IT,zu,{propertyName:"dataMember",displayName:"Data Member",localizationId:"DevExpress.XtraReports.UI.XRChart.DataMember",defaultVal:"",editor:K.editorTemplates.getEditor("dataMember")}].concat(Hg,Og,Xg,qg),TT={propertyName:"checkBoxState",modelName:"@CheckBoxState",displayName:"Check Box State",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.CheckBoxState",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"Unchecked",valuesArray:[{value:"Unchecked",displayValue:"Unchecked",localizationId:"StringId.CheckUnchecked"},{value:"Checked",displayValue:"Checked",localizationId:"StringId.CheckChecked"},{value:"Indeterminate",displayValue:"Indeterminate",localizationId:"StringId.CheckIndeterminate"}]},zT={propertyName:"checked",modelName:"@Checked",defaultVal:!1,from:L.parseBool,displayName:"Checked",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.Checked",editor:K.editorTemplates.getEditor("bool")},NT={propertyName:"glyphOptions",modelName:"GlyphOptions",displayName:"Glyph Options",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.GlyphOptions",editor:K.editorTemplates.getEditor("objecteditor"),from:(e,t)=>new $h(e,t),toJsonObject:(e,t)=>t.serialize(e)},ET=k.extend({},kg,{propertyName:"checkEditOptions",from:(e,t)=>new uh(e,t)}),wT=Object.assign(Object.assign({},km),{descriptionLocalizationId:"DevExpress.XtraReports.UI.XRCheckBox.TextFormatString.Description"}),RT=Object.assign(Object.assign({},Wu),{descriptionLocalizationId:"DevExpress.XtraReports.UI.XRCheckBox.TextTrimming.Description"}),BT=[TT,zT,Ou,zu,wT,gm,fm,Vg,Mg,NT,k.extend({},dm,{defaultVal:"MiddleLeft"}),px,RT,Lu,Ng(["Text","NavigateUrl","Tag","Bookmark","CheckBoxState"]),jm,ET].concat(wg({propertyName:"CheckBoxState",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.CheckBoxState"}),wg({propertyName:"Text",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.Text"}),Og,Ug,Gg,qg),VT=["checkBoxState","popularDataBindingCheckState","text","popularDataBindingText","glyphOptions","bookmark","bookmarkParent","textFormatString","alignment"],MT=[um,mm,fm,Vg,Mg,dx,zu,Ng(["Bookmark","NavigateUrl","Tag"]),{propertyName:"controls",modelName:"Controls",array:!0},jm].concat(Og,Ug,qg).filter((e=>e!=Zm)),kT=[xm,Vg,Mg,Ng(["Tag"])].concat(Og,Ug),AT={propertyName:"width",modelName:"@WidthF",defaultVal:1,editor:K.editorTemplates.getEditor("numeric"),displayName:"Width",localizationId:"DevExpress.XtraReports.UI.XRControl.Width",from:L.floatFromModel},LT={propertyName:"startPoint",modelName:"@StartPointFloat",from:Q.Point.fromString,displayName:"Start Point",localizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.StartPoint",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.StartPointF.Description",localizable:!0,editor:K.editorTemplates.getEditor("objecteditor")},$T={propertyName:"endPoint",modelName:"@EndPointFloat",from:Q.Point.fromString,displayName:"End Point",localizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.EndPoint",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.EndPointF.Description",localizable:!0,editor:K.editorTemplates.getEditor("objecteditor")},FT={propertyName:"startBand",modelName:"@StartBand",link:!0,displayName:"Start Band",localizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.StartBand",editor:jp.getEditor("bands")},OT={propertyName:"endBand",modelName:"@EndBand",link:!0,displayName:"End Band",localizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.EndBand",editor:jp.getEditor("bands")},XT={propertyName:"borderDashStyleCrossband",modelName:"@BorderDashStyle",editor:K.editorTemplates.getEditor("combobox"),displayName:"Border Dash Style",localizationId:"DevExpress.XtraReports.UI.XRControl.BorderDashStyle",valuesArray:ku},HT={propertyName:"width",modelName:"@WidthF",defaultVal:0,editor:K.editorTemplates.getEditor("numeric"),displayName:"Width",localizationId:"DevExpress.XtraReports.UI.XRControl.Width",descriptionLocalizationId:"DevExpress.XtraReports.UI.XRCrossBandControl.WidthF.Description",from:L.floatFromModel,localizable:!0},WT=[LT,FT,$T,OT,HT,am,XT,Wm,k.extend({},im,{defaultVal:"All"}),k.extend({},rm,{defaultVal:2}),{propertyName:"locationF",modelName:"@LocationFloat",from:Q.Point.fromString}].concat(Hg),UT=[LT,FT,$T,OT,HT,Yu,Xm,AT,Wm,{propertyName:"locationF",modelName:"@LocationFloat",from:Q.Point.fromString}].concat(Hg),GT=["lineStyle"],jT=[{propertyName:"printLayout",modelName:"@PrintLayout",displayName:"PrintLayout",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabPrintOptions.PrintLayout",editor:K.editorTemplates.getEditor("combobox"),defaultVal:"AcrossOnly",valuesArray:[{displayValue:"AcrossOnly",value:"AcrossOnly",localizationId:"DevExpress.XtraReports.UI.PrintLayout.AcrossOnly"},{displayValue:"AcrossThenDown",value:"AcrossThenDown",localizationId:"DevExpress.XtraReports.UI.PrintLayout.AcrossThenDown"}]},{propertyName:"acrossThenDownOffset",modelName:"@AcrossThenDownOffset",displayName:"Across Then Down Offset",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabPrintOptions.AcrossThenDownOffset",editor:K.editorTemplates.getEditor("numeric"),defaultVal:10},{propertyName:"repeatRowHeaders",modelName:"@RepeatRowHeaders",displayName:"Repeat Row Headers",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabPrintOptions.RepeatRowHeaders",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool},{propertyName:"repeatColumnHeaders",modelName:"@RepeatColumnHeaders",displayName:"Repeat Column Headers",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabPrintOptions.RepeatColumnHeaders",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool},{propertyName:"printTotalsForSingleValues",modelName:"@PrintTotalsForSingleValues",displayName:"Print Totals For Single Values",localizationId:"DevExpress.XtraReports.UI.CrossTab.CrossTabPrintOptions.PrintTotalsForSingleValues",editor:K.editorTemplates.getEditor("bool"),defaultVal:!0,from:L.parseBool}],qT={propertyName:"printOptions",modelName:"PrintOptions",localizationId:"DevExpress.XtraReports.UI.XRCrossTab.PrintOptions",displayName:"Print Options",editor:K.editorTemplates.getEditor("objecteditor"),info:jT},JT=[LD,$D,FD,m_,h_,Im,Pm,__,qT,{propertyName:"originalPivotGridLayout",modelName:"@OriginalPivotGridLayout",defaultVal:""},_T,dx,Tm,zm].concat(Hg,Og,jg,{propertyName:"cells",modelName:"Cells",array:!0},hg),KT={propertyName:"actualValue",defaultVal:null,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Actual Value",localizationId:"DevExpress.XtraReports.UI.XRGauge.ActualValue",modelName:"@ActualValue"},QT={propertyName:"maximum",defaultVal:null,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum",modelName:"@Maximum"},YT={propertyName:"minimum",modelName:"@Minimum",defaultVal:null,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},ZT={propertyName:"tickmarkCount",modelName:"@TickmarkCount",defaultVal:11,editor:K.editorTemplates.getEditor("numeric"),displayName:"Tickmark Count",localizationId:"DevExpress.XtraReports.UI.XRGauge.TickmarkCount"},ez={propertyName:"targetValue",modelName:"@TargetValue",defaultVal:null,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Target Value",localizationId:"DevExpress.XtraReports.UI.XRGauge.TargetValue"},tz={propertyName:"viewStyle",modelName:"@ViewStyle",displayName:"View Style",localizationId:"DevExpress.XtraReports.UI.XRGauge.ViewStyle",editor:jp.getEditor("viewStyle")},az={propertyName:"viewTheme",modelName:"@ViewTheme",defaultVal:"FlatLight",displayName:"View Theme",localizationId:"DevExpress.XtraReports.UI.XRGauge.ViewTheme",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"FlatLight",displayValue:"FlatLight",localizationId:"GaugesPresetsStringId.ThemeFlatLight"},{value:"FlatDark",displayValue:"FlatDark",localizationId:"GaugesPresetsStringId.ThemeFlatDark"}]},iz={propertyName:"viewType",modelName:"@ViewType",defaultVal:"Circular",displayName:"View Type",localizationId:"DevExpress.XtraReports.UI.XRGauge.ViewType",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Circular",displayValue:"Circular",localizationId:"ASPxReportsStringId.ReportDesigner_GaugeViewType_Circular"},{value:"Linear",displayValue:"Linear",localizationId:"ASPxReportsStringId.ReportDesigner_GaugeViewType_Linear"}]},rz=[tz,az,iz,KT,ZT,QT,YT,ez,Vg,Mg,dx,qm,zu,Ng(["ActualValue","Bookmark","Maximum","Minimum","NavigateUrl","Tag","TargetValue"])].concat(M_.bindings.map((e=>wg({propertyName:e,localizationId:"DevExpress.XtraReports.UI.XRGauge."+e}))).reduce(((e,t)=>e.concat(t)))).concat(Og,Ug,qg),oz=["viewType","viewStyle","viewTheme","actualValue","popularDataBindingActualValue","targetValue","popularDataBindingTargetValue","minimum","popularDataBindingMinimum","maximum","popularDataBindingMaximum"],sz={propertyName:"lineDirection",modelName:"@LineDirection",defaultVal:"Horizontal",editor:K.editorTemplates.getEditor("combobox"),displayName:"Line Direction",localizationId:"DevExpress.XtraReports.UI.XRLine.LineDirection",valuesArray:[{value:"Horizontal",displayValue:"Horizontal",localizationId:"DevExpress.XtraReports.UI.LineDirection.Horizontal"},{value:"Vertical",displayValue:"Vertical",localizationId:"DevExpress.XtraReports.UI.LineDirection.Vertical"},{value:"Slant",displayValue:"Slant",localizationId:"DevExpress.XtraReports.UI.LineDirection.Slant"},{value:"BackSlant",displayValue:"BackSlant",localizationId:"DevExpress.XtraReports.UI.LineDirection.BackSlant"}]},nz=[Yu,fm,Vg,Mg,Om,sz,Xm,dx,Ng(["Tag"])].concat(Og,Ug),lz=["lineDirection","lineStyle","lineWidth","anchorVertical","anchorHorizontal"],dz=[Gu,Fg,ox].concat(Hg),cz={propertyName:"pageInfo",modelName:"@PageInfo",defaultVal:"NumberOfTotal",displayName:"Page Information",localizationId:"DevExpress.XtraReports.UI.XRPageInfo.PageInfo",editor:K.editorTemplates.getEditor("combobox"),valuesArray:F_},pz={propertyName:"startPageNumber",modelName:"@StartPageNumber",displayName:"Start Page Number",localizationId:"DevExpress.XtraReports.UI.XRPageInfo.StartPageNumber",defaultVal:1,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric")},uz={propertyName:"runningBand",modelName:"@RunningBand",link:!0,displayName:"Running Band",localizationId:"DevExpress.XtraReports.UI.XRPageInfo.RunningBand",editor:jp.getEditor("runningBand")},mz=[Vg,Mg,dm,gm,km,cz,pz,uz,px,jm,zu,Ng(["Bookmark","NavigateUrl","Tag"])].concat(Og,Ug,Gg,qg).filter((e=>e!=Zm)),hz=["pageInfo","startPageNumber","textFormatString","runningBand","anchorVertical"],gz={propertyName:"linesAppearance",modelName:"Lines",displayName:"Lines",localizationId:"DevExpress.XtraReports.UI.PivotGrid.XRPivotGridAppearances.Lines",info:ZC,editor:K.editorTemplates.getEditor("objecteditor")},xz={propertyName:"appearances",modelName:"Appearance",displayName:"Appearance",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.Appearance",info:nD.concat(gz),editor:K.editorTemplates.getEditor("objecteditor")},vz={propertyName:"prefilter",modelName:"Prefilter",displayName:"Prefilter",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.Prefilter",info:[{propertyName:"_criteriaString",modelName:"@CriteriaString"},{propertyName:"criteriaString",displayName:"Criteria",localizationId:"DevExpress.XtraPivotGrid.Prefilter.Criteria",defaultVal:"",editor:jp.getEditor("pivotCriteria")},{propertyName:"enabled",modelName:"@Enabled",displayName:"Enabled",localizationId:"DevExpress.XtraPivotGrid.PrefilterBase.Enabled",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],editor:K.editorTemplates.getEditor("objecteditor")},fz={propertyName:"optionsChartDataSource",modelName:"OptionsChartDataSource",displayName:"Options Chart Data Source",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.OptionsChartDataSource",info:[{propertyName:"autoTransposeChart",modelName:"@AutoTransposeChart",displayName:"Auto Transpose Chart",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.AutoTransposeChart",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"dataProvideMode",modelName:"@DataProvideMode",displayName:"Data Provide Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.DataProvideMode",defaultVal:"ProvideLastLevelData",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"ProvideLastLevelData",displayValue:"Provide Last Level Data",localizationId:"DevExpress.XtraPivotGrid.PivotChartDataProvideMode.ProvideLastLevelData"},{value:"UseCustomSettings",displayValue:"Use Custom Settings",localizationId:"DevExpress.XtraPivotGrid.PivotChartDataProvideMode.UseCustomSettings"}]},{propertyName:"dataProvidePriority",modelName:"@DataProvidePriority",displayName:"Data Provide Priority",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.DataProvidePriority",defaultVal:"Rows",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Columns",displayValue:"Columns",localizationId:"DevExpress.XtraPivotGrid.PivotChartDataProvidePriority.Columns"},{value:"Rows",displayValue:"Rows",localizationId:"DevExpress.XtraPivotGrid.PivotChartDataProvidePriority.Rows"}]},{propertyName:"fieldValuesProvideMode",modelName:"@FieldValuesProvideMode",displayName:"Field Values Provide Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.FieldValuesProvideMode",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.PivotChartFieldValuesProvideMode.Default"},{value:"DisplayText",displayValue:"Display Text",localizationId:"DevExpress.XtraPivotGrid.PivotChartFieldValuesProvideMode.DisplayText"},{value:"Value",displayValue:"Value",localizationId:"DevExpress.XtraPivotGrid.PivotChartFieldValuesProvideMode.Value"}]},{propertyName:"maxAllowedPointCountInSeries",modelName:"@MaxAllowedPointCountInSeries",displayName:"Max Allowed Point Count In Series",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.MaxAllowedPointCountInSeries",defaultVal:100,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"maxAllowedSeriesCount",modelName:"@MaxAllowedSeriesCount",displayName:"Max Allowed Series Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.MaxAllowedSeriesCount",defaultVal:10,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"provideColumnCustomTotals",modelName:"@ProvideColumnCustomTotals",displayName:"Provide Column Custom Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideColumnCustomTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideColumnGrandTotals",modelName:"@ProvideColumnGrandTotals",displayName:"Provide Column Grand Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideColumnGrandTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideColumnTotals",modelName:"@ProvideColumnTotals",displayName:"Provide Column Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideColumnTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideDataByColumns",modelName:"@ProvideDataByColumns",displayName:"Provide Data By Columns",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideDataByColumns",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideDataFieldsOnSeries",modelName:"@ProvideDataFieldsOnSeries",displayName:"Provide Data Fields On Series",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideDataFieldsOnSeries",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideEmptyCells",modelName:"@ProvideEmptyCells",displayName:"Provide Empty Cells",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideEmptyCells",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideRowCustomTotals",modelName:"@ProvideRowCustomTotals",displayName:"Provide Row Custom Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideRowCustomTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideRowGrandTotals",modelName:"@ProvideRowGrandTotals",displayName:"Provide Row Grand Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideRowGrandTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"provideRowTotals",modelName:"@ProvideRowTotals",displayName:"Provide Row Totals",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsChartDataSource.ProvideRowTotals",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],editor:K.editorTemplates.getEditor("objecteditor")},bz={propertyName:"optionsData",modelName:"OptionsData",displayName:"Data Options",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.OptionsData",info:[{propertyName:"allowCrossGroupVariation",modelName:"@AllowCrossGroupVariation",displayName:"Allow Cross Group Variation",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.AllowCrossGroupVariation",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"autoExpandGroups",modelName:"@AutoExpandGroups",displayName:"Aut oExpand Groups",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.AutoExpandGroups",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},{propertyName:"caseSensitive",modelName:"@CaseSensitive",displayName:"Case Sensitive",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.CaseSensitive",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"dataFieldUnboundExpressionMode",modelName:"@DataFieldUnboundExpressionMode",displayName:"Data Field Unbound Expression Mode",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.DataFieldUnboundExpressionMode",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.DataFieldUnboundExpressionMode.Default"},{value:"UseSummaryValues",displayValue:"Use Summary Values",localizationId:"DevExpress.XtraPivotGrid.DataFieldUnboundExpressionMode.UseSummaryValues"}]},{propertyName:"DrillDownMaxRowCount",modelName:"@DrillDownMaxRowCount",displayName:"Drill Down Max Row Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.DrillDownMaxRowCount",defaultVal:-1,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"filterByVisibleFieldsOnly",modelName:"@FilterByVisibleFieldsOnly",displayName:"Filter By Visible Fields Only",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.FilterByVisibleFieldsOnly",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"dataProcessingEngine",modelName:"@DataProcessingEngine",displayName:"Data Processing Engine",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.DataProcessingEngine",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Default",displayValue:"Default",localizationId:"DevExpress.XtraPivotGrid.PivotDataProcessingEngine.Default"},{value:"Legacy",displayValue:"Legacy",localizationId:"DevExpress.XtraPivotGrid.PivotDataProcessingEngine.Legacy"},{value:"LegacyOptimized",displayValue:"Legacy Optimized",localizationId:"DevExpress.XtraPivotGrid.PivotDataProcessingEngine.LegacyOptimized"}]},{propertyName:"useDataBindingAPI",modelName:"@UseDataBindingAPI",displayName:"Use Data Binding API",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsData.UseDataBindingAPI",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],editor:K.editorTemplates.getEditor("objecteditor")},yz={propertyName:"area",modelName:"@Area",displayName:"Area",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataField.Area",defaultVal:"None",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"None",displayValue:"None",localizationId:"DevExpress.XtraPivotGrid.PivotDataArea.None"},{value:"ColumnArea",displayValue:"Column Area",localizationId:"DevExpress.XtraPivotGrid.PivotDataArea.ColumnArea"},{value:"RowArea",displayValue:"Row Area",localizationId:"DevExpress.XtraPivotGrid.PivotDataArea.RowArea"}]},Sz={propertyName:"areaIndex",modelName:"@AreaIndex",displayName:"Area Index",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataField.AreaIndex",defaultVal:-1,editor:K.editorTemplates.getEditor("numeric")},Cz={propertyName:"columnValueLineCount",modelName:"@ColumnValueLineCount",displayName:"Column Value Line Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataFieldEx.ColumnValueLineCount",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},Dz={propertyName:"fieldNaming",modelName:"@FieldNaming",displayName:"Field Naming",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataField.FieldNaming",defaultVal:"FieldName",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"FieldName",displayValue:"Field Name",localizationId:"DevExpress.XtraPivotGrid.DataFieldNaming.FieldName"},{value:"Name",displayValue:"Name",localizationId:"DevExpress.XtraPivotGrid.DataFieldNaming.Name"}]},_z={propertyName:"rowHeaderWidth",modelName:"@RowHeaderWidth",displayName:"Row Header Width",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataField.RowHeaderWidth",defaultVal:100,editor:K.editorTemplates.getEditor("numeric")},Iz={propertyName:"rowValueLineCount",modelName:"@RowValueLineCount",displayName:"Row Value Line Count",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsDataFieldEx.RowValueLineCount",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},Pz={propertyName:"optionsDataField",modelName:"OptionsDataField",displayName:"Data Field Options",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.OptionsDataField",info:[yz,Sz,hC,Cz,Dz,_z,Iz],editor:K.editorTemplates.getEditor("objecteditor")},Tz={propertyName:"columnFieldValueSeparator",modelName:"@ColumnFieldValueSeparator",displayName:"Column Field Value Separator",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.ColumnFieldValueSeparator",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},zz={propertyName:"columnHeaderPaddingBottom",modelName:"@ColumnHeaderPaddingBottom",displayName:"Column Header Padding Bottom",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.ColumnHeaderPaddingBottom",defaultVal:-1,editor:K.editorTemplates.getEditor("numeric")},Nz={propertyName:"filterSeparatorBarPadding",modelName:"@FilterSeparatorBarPadding",displayName:"Filter Separator Bar Padding",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.FilterSeparatorBarPadding",defaultVal:-1,editor:K.editorTemplates.getEditor("numeric")},Ez={propertyName:"mergeColumnFieldValues",modelName:"@MergeColumnFieldValues",displayName:"Merge Column Field Values",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.MergeColumnFieldValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},wz={propertyName:"mergeRowFieldValues",modelName:"@MergeRowFieldValues",displayName:"Merge Row Field Values",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.MergeRowFieldValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Rz={propertyName:"printColumnFieldValues",modelName:"@PrintColumnFieldValues",displayName:"Print Column FieldValues",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintColumnFieldValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Bz={propertyName:"printColumnHeaders",modelName:"@PrintColumnHeaders",displayName:"Print Column Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintColumnHeaders",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},Vz={propertyName:"printDataHeaders",modelName:"@PrintDataHeaders",displayName:"Print Data Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintDataHeaders",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},Mz={propertyName:"printFilterHeaders",modelName:"@PrintFilterHeaders",displayName:"Print Filter Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintFilterHeaders",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},kz={propertyName:"printHeadersOnEveryPage",modelName:"@PrintHeadersOnEveryPage",displayName:"Print Headers on Every Page",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintHeadersOnEveryPage",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Az={propertyName:"printColumnAreaOnEveryPage",modelName:"@PrintColumnAreaOnEveryPage",displayName:"Print Column Area on Every Page",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintColumnAreaOnEveryPage",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},Lz={propertyName:"printRowAreaOnEveryPage",modelName:"@PrintRowAreaOnEveryPage",displayName:"Print Row Area on Every Page",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintRowAreaOnEveryPage",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},$z=[fz,Pz,bz,{propertyName:"optionsPrint",modelName:"OptionsPrint",displayName:"Print Options",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.OptionsPrint",info:[Tz,zz,Nz,Ez,wz,Az,Rz,Bz,Vz,Mz,kz,{propertyName:"printHorzLines",modelName:"@PrintHorzLines",displayName:"Print Horizontal Lines",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintHorzLines",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},{propertyName:"printRowFieldValues",modelName:"@PrintRowFieldValues",displayName:"Print Row FieldValues",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintRowFieldValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"printRowHeaders",modelName:"@PrintRowHeaders",displayName:"Print Row Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintRowHeaders",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},Lz,{propertyName:"printUnusedFilterFields",modelName:"@PrintUnusedFilterFields",displayName:"Print Unused Filter Fields",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintUnusedFilterFields",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"printVertLines",modelName:"@PrintVertLines",displayName:"Print Vertical Lines",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PrintVertLines",defaultVal:"Default",editor:K.editorTemplates.getEditor("combobox"),valuesArray:ju},{propertyName:"rowFieldValueSeparator",modelName:"@RowFieldValueSeparator",displayName:"Row Field Value Separator",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.RowFieldValueSeparator",defaultVal:0,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"usePrintAppearance",modelName:"@UsePrintAppearance",displayName:"Use Print Appearance",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.UsePrintAppearance",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],editor:K.editorTemplates.getEditor("objecteditor")},{propertyName:"optionsView",modelName:"OptionsView",displayName:"View Options",localizationId:"DevExpress.XtraReports.UI.XRPivotGrid.OptionsView",info:[{propertyName:"columnTotalsLocation",modelName:"@ColumnTotalsLocation",displayName:"Column Totals Location",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ColumnTotalsLocation",defaultVal:"Far",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Near",displayValue:"Near",localizationId:"DevExpress.XtraPivotGrid.PivotTotalsLocation.Near"},{value:"Far",displayValue:"Far ",localizationId:"DevExpress.XtraPivotGrid.PivotTotalsLocation.Far"}]},{propertyName:"groupFieldsInCustomizationWindow",modelName:"@GroupFieldsInCustomizationWindow",displayName:"Group Fields in the Customization Window",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsView.GroupFieldsInCustomizationWindow",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"rowTotalsLocation",modelName:"@RowTotalsLocation",displayName:"Row Totals Location",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.RowTotalsLocation",defaultVal:"Far",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{value:"Near",displayValue:"Near",localizationId:"DevExpress.XtraPivotGrid.PivotRowTotalsLocation.Near"},{value:"Far",displayValue:"Far",localizationId:"DevExpress.XtraPivotGrid.PivotRowTotalsLocation.Far"},{value:"Tree",displayValue:"Tree",localizationId:"DevExpress.XtraPivotGrid.PivotRowTotalsLocation.Tree"}]},{propertyName:"rowTreeOffset",modelName:"@RowTreeOffset",displayName:"Row Tree Offset",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsViewBase.RowTreeOffset",defaultVal:21,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"rowTreeWidth",modelName:"@RowTreeWidth",displayName:"Row Tree Width",localizationId:"DevExpress.XtraPivotGrid.PivotGridOptionsViewBase.RowTreeWidth",defaultVal:100,editor:K.editorTemplates.getEditor("numeric")},{propertyName:"showColumnGrandTotalHeader",modelName:"@ShowColumnGrandTotalHeader",displayName:"Show Column Grand Total Header",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowColumnGrandTotalHeader",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showColumnGrandTotals",modelName:"@ShowColumnGrandTotals",displayName:"Show Column Grand Totals",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowColumnGrandTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showColumnHeaders",modelName:"@ShowColumnHeaders",displayName:"Show Column Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowColumnHeaders",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showColumnTotals",modelName:"@ShowColumnTotals",displayName:"Show Column Totals",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowColumnTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showCustomTotalsForSingleValues",modelName:"@ShowCustomTotalsForSingleValues",displayName:"Show Custom Totals For Single Values",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowCustomTotalsForSingleValues",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showDataHeaders",modelName:"@ShowDataHeaders",displayName:"Show Data Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowDataHeaders",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showFilterHeaders",modelName:"@ShowFilterHeaders",displayName:"Show Filter Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowFilterHeaders",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showFilterSeparatorBar",modelName:"@ShowFilterSeparatorBar",displayName:"Show Filter Separator Bar",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowFilterSeparatorBar",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showGrandTotalsForSingleValues",modelName:"@ShowGrandTotalsForSingleValues",displayName:"Show Grand Totals For Single Values",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowGrandTotalsForSingleValues",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showHorzLines",modelName:"@ShowHorzLines",displayName:"Show Horz Lines",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowHorzLines",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showRowGrandTotalHeader",modelName:"@ShowRowGrandTotalHeader",displayName:"Show Row Grand Total Header",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowRowGrandTotalHeader",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showRowGrandTotals",modelName:"@ShowRowGrandTotals",displayName:"Show Row Grand Totals",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowRowGrandTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showRowHeaders",modelName:"@ShowRowHeaders",displayName:"Show Row Headers",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowRowHeaders",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showRowTotals",modelName:"@ShowRowTotals",displayName:"Show Row Totals",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowRowTotals",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showTotalsForSingleValues",modelName:"@ShowTotalsForSingleValues",displayName:"Show Totals For Single Values",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowTotalsForSingleValues",defaultVal:!1,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool},{propertyName:"showVertLines",modelName:"@ShowVertLines",displayName:"Show Vert Lines",localizationId:"DevExpress.XtraPivotGrid.Data.PivotGridOptionsViewBase.ShowVertLines",defaultVal:!0,editor:K.editorTemplates.getEditor("bool"),from:L.parseBool}],editor:K.editorTemplates.getEditor("objecteditor")}],Fz=[xz,Vg,Mg,Im,Pm,vz,fm,CD,vx,jm].concat(Hg,Og,jg,mg,$z),Oz={propertyName:"_rtf",defaultVal:"",displayName:"RTF",editor:K.editorTemplates.getEditor("stringArray"),localizationId:"ASPxReportsStringId.ExportName_rtf"},Xz={propertyName:"textRtf",defaultVal:"",displayName:"Text",localizationId:"DevExpress.XtraReports.UI.XRRichTextBase.RtfText",editor:K.editorTemplates.getEditor("stringArray")},Hz={propertyName:"serializableRtfString",modelName:"@SerializableRtfString"},Wz={propertyName:"_newDocumentData",displayName:"Load File",localizationId:"AnalyticsCoreStringId.UploadFile",editor:jp.getEditor("richTextLoad")},Uz=[Hz,Oz,Xz,zu,Wz,Bm,bm,Vg,Mg,px,Ng(["Bookmark","Html","NavigateUrl","Rtf","Tag"]),Rg({bindingName:"Html",propertyName:"popularDataBindingHtml",displayName:"Html Data Binding",localizationId:"ReportStringId.STag_Name_HtmlDataBinding"},!1),Rg({bindingName:"Html",propertyName:"popularExpressionHtml",displayName:"Html Expression",localizationId:"ReportStringId.STag_Name_HtmlExpressionBinding"}),Rg({bindingName:"Rtf",propertyName:"popularDataBindingRtf",displayName:"Rtf Data Binding",localizationId:"ReportStringId.STag_Name_RtfDataBinding"},!1),Rg({bindingName:"Rtf",propertyName:"popularExpressionRtf",displayName:"Rtf Expression",localizationId:"ReportStringId.STag_Name_RtfExpressionBinding"})].concat(Og,Gg,Ug,qg,Kg,Qg).filter((e=>e!=Zm)),Gz=["rtf","popularDataBindingRtf","popularExpressionRtf","html","popularDataBindingHtml","popularExpressionHtml","_newDocumentData","bookmark","bookmarkParent","canGrow","canShrink"],jz={propertyName:"processHiddenCellMode",modelName:"@ProcessHiddenCellMode",displayName:"Process Hidden Cell Mode",valuesArray:[{value:"LeaveEmptySpace",displayValue:"Leave Empty Space"},{value:"ResizeCellsEqually",displayValue:"Resize Cells Equally"},{value:"ResizeCellsProportionally",displayValue:"Resize Cells Proportionally"},{value:"StretchPreviousCell",displayValue:"Stretch Previous Cell"},{value:"StretchNextCell",displayValue:"Stretch Next Cell"},{value:"DecreaseTableWidth",displayValue:"Decrease Table Width"}],defaultVal:"LeaveEmptySpace",editor:K.editorTemplates.getEditor("combobox"),localizationId:"DevExpress.XtraReports.UI.XRTable.ProcessHiddenCellMode"},qz=[(0,B.extend)({},Ym,{valuesArray:[Km,{value:"Table",displayValue:"Table",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.Table"}]}),em,Yu,bm,Vg,Mg,nx,{propertyName:"rows",modelName:"Rows",array:!0},Ng(["Bookmark","Tag"]),jm,dm,jz].concat(Og,Ug,jg).filter((e=>e!=Zm)),Jz=["bookmark","bookmarkParent"],Kz={propertyName:"weight",localizable:!0,modelName:"@Weight",defaultVal:0,from:L.floatFromModel},Qz={propertyName:"rowSpan",modelName:"@RowSpan",displayName:"Row Span",localizationId:"DevExpress.XtraReports.UI.XRTableCell.RowSpan",defaultVal:1,editor:K.editorTemplates.getEditor("numeric")},Yz=[(0,B.extend)({},Ym,{valuesArray:[Km,{value:"TableHeaderCell",displayValue:"Table Header Cell",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.TableHeaderCell"}]}),Kz,mx,Qz,Wu,{propertyName:"width",displayName:"Width",localizationId:"DevExpress.XtraReports.UI.XRControl.Width"},{propertyName:"controls",modelName:"Controls",array:!0},Ng(["Text","NavigateUrl","Tag","Bookmark"]),Ag,xm,zu].concat(Eg("Text"),Yg),Zz=["text","textArea","popularDataBinding","textFormatString","Summary","canGrow","canShrink","multiline","wordWrap"],eN=[(0,B.extend)({},Ym,{valuesArray:[Km,{value:"TableHeaderRow",displayValue:"Table Header Row",localizationId:"DevExpress.XtraReports.UI.XRAccessibleRole.TableHeaderRow"}]}),Kz,dm,fm,dx,{propertyName:"height",displayName:"Height",localizationId:"DevExpress.XtraReports.UI.XRControl.Height"},eh].concat(Ug,Gg).filter((e=>e!=Zm)),tN=[Ym,Ag,xm,vm,Vg,Mg,mx,Wu,zu,Ng(["Text","NavigateUrl","Tag","Bookmark"])].concat(Eg("Text"),Og,Yg),aN=["text","textArea","popularDataBinding","textFormatString","Summary","angle","bookmark","bookmarkParent","allowMarkupText","autoWidth","canGrow","canShrink","multiline","wordWrap"],iN={propertyName:"segmentWidth",modelName:"@SegmentWidth",defaultVal:4,from:L.floatFromModel,editor:K.editorTemplates.getEditor("numeric"),displayName:"Segment Width",localizationId:"DevExpress.XtraReports.UI.XRZipCode.SegmentWidth"},rN=[Yu,iN,fm,Vg,Mg,px,k.extend({},Ou,{defaultVal:"0"}),km,Ng(["Bookmark","NavigateUrl","Tag","Text"])].concat(Eg("Text"),Og,Ug,qg),oN=["text","popularDataBinding","segmentWidth","bookmark","bookmarkParent"],sN={propertyName:"showSignatureDate",modelName:"@ShowSignatureDate",defaultVal:"true",from:L.parseBool,displayName:"Show Signature Date",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowSignatureDate",editor:K.editorTemplates.getEditor("bool")},nN={propertyName:"showCertificateName",modelName:"@ShowCertificateName",defaultVal:"true",from:L.parseBool,displayName:"Show Certificate Name",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowCertificateName",editor:K.editorTemplates.getEditor("bool")},lN={propertyName:"showLocation",modelName:"@ShowLocation",defaultVal:"true",from:L.parseBool,displayName:"Show Location",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowLocation",editor:K.editorTemplates.getEditor("bool")},dN={propertyName:"showSignatureReason",modelName:"@ShowSignatureReason",defaultVal:"true",from:L.parseBool,displayName:"Show Signature Reason",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowSignatureReason",editor:K.editorTemplates.getEditor("bool")},cN={propertyName:"showDistinguishedName",modelName:"@ShowDistinguishedName",defaultVal:"true",from:L.parseBool,displayName:"Show Distinguished Name",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowDistinguishedName",editor:K.editorTemplates.getEditor("bool")},pN={propertyName:"showCaptions",modelName:"@ShowCaptions",defaultVal:"true",from:L.parseBool,displayName:"Show Captions",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ShowCaptions",editor:K.editorTemplates.getEditor("bool")},uN={propertyName:"displayDocumentSignature",modelName:"@DisplayDocumentSignature",defaultVal:"true",from:L.parseBool,displayName:"Display Document Signature",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.DisplayDocumentSignature",editor:K.editorTemplates.getEditor("bool")},mN=[{propertyName:"imageDisplayMode",modelName:"@ImageDisplayMode",defaultVal:"Show",displayName:"Image Display Mode",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.ImageDisplayMode",editor:K.editorTemplates.getEditor("combobox"),valuesArray:[{displayValue:"Show",localizationId:"DevExpress.XtraPrinting.SignatureImageDisplayMode.Show",value:"Show"},{displayValue:"Hide",localizationId:"DevExpress.XtraPrinting.SignatureImageDisplayMode.Hide",value:"Hide"},{displayValue:"Show Certificate Name As Image",localizationId:"DevExpress.XtraPrinting.SignatureImageDisplayMode.ShowCertificateNameAsImage",value:"ShowCertificateNameAsImage"}]},uN,pN,nN,cN,lN,sN,dN],hN={propertyName:"signatureOptions",modelName:"SignatureOptions",displayName:"Signature Options",localizationId:"DevExpress.XtraReports.UI.XRPdfSignature.SignatureOptions",editor:K.editorTemplates.getEditor("objecteditor"),from:(e={},t=new L.ModelSerializer)=>{const a={getInfo:()=>mN,isPropertyDisabled:function(e){return e!==uN.propertyName&&!!this[uN.propertyName]()}};return t.deserialize(a,e),a},toJsonObject:(e,t,a)=>t.serialize(e,mN,a)},gN=[hN,nx,zu].concat(Og,Ug,Gg,qg).filter((e=>e!=Zm)),xN={Styles:{info:xg,displayName:()=>(0,L.getLocalization)("Styles","DevExpress.XtraReports.UI.XRPivotGrid.Styles")},Appearance:{info:[Qr,xz,$S,Qu,am,om,XT,rm,im,hC,jC,XC,OC,FC,$C,gI,Zu,em,bT,Yu,NT,JC,AC,sz,Xm,Om,nm,lf,Yr,qm,VC,hN,nP,Qh,dm,Wu,qC,QC,KC,tz,az,iz,Fg,jD,qD,xf,gf],displayName:()=>(0,L.getLocalization)("Appearance","DevExpress.XtraReports.UI.XRPivotGrid.Appearance")},Behavior:{info:[yC,Vg,Mg,pm,bC,CC,RS,xm,vm,BS,um,Wm,mm,_h,wv,Sv,Yf,Zf,U_,UD,WD,XD,HD,kC,MC,HC,Fu,Ih,qP,WP,UP,fm,zv,Ev,VS,hm,Hf,Tv,cz,Cv,eT,Dv,Sm,ym,Cm,_v,df,Me,uz,ff,Qz,iN,vI,Bp.sizing,Bp.imageAlignment,Wx,uf,MS,pz,hI,LS,AS,cm,mf,Ku,gm,If,hf,Ef,Pf,Fx,JP,EP,wP,BP,RP,kg,Ag,ET,Hx,Xh,bD,jz,__,qT],displayName:()=>(0,L.getLocalization)("Behavior","ReportStringId.CatBehavior")},Data:{info:[Zm,Ym,KT,Ar,TT,zT,ee,Im,Pm,_m,LC,Tr,xC,zm,Xx,Ox,ZT,QT,YT,Bm,vz,BC,Qf,$m,RC,wC,EC,NC,JS,ez,qu,Ou,Xu,Oz,Xz,Wz,zC,TC,PC,IC,vD,_C,DC,WC,Lu,CD,BI,sP,X_,Tf,W_,zf,_T,Ng([]),km,j_,q_,LD,$D,FD,db,ID,PD,ND,O_.pageRange,K_],displayName:()=>(0,L.getLocalization)("Data","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Data")},Design:{info:[$u,cf,pf,Df],displayName:()=>(0,L.getLocalization)("Design","ReportStringId.CatDesign")},Layout:{info:[xT,hT,vT,mT,gT,FT,LT,OT,$T,Nv,Gu,Uu,vC,HT],displayName:()=>(0,L.getLocalization)("Layout","DevExpress.XtraReports.UI.MultiColumn.Layout")},Navigation:{info:[zu,Nm,Em,Nf,Rm,wm],displayName:()=>(0,L.getLocalization)("Navigation","ASPxReportsStringId.DocumentViewer_RibbonNavigationGroupText")},"Page Settings":{info:[sf,vf,yf,Sf,of,nf,Mf],displayName:()=>(0,L.getLocalization)("Page Settings","DevExpress.XtraPivotGrid.Data.PivotGridOptionsPrint.PageSettings")},Printing:{info:[jm,Rf,wf,Fm],displayName:()=>(0,L.getLocalization)("Printing","ReportStringId.CatPrinting")},Options:{info:$z.concat(fD),displayName:()=>(0,L.getLocalization)("Options","DevExpress.XtraPivotGrid.PivotGridFieldBase.Options")},KPI:{info:[UC],displayName:()=>(0,L.getLocalization)("Appearance","DevExpress.XtraReports.UI.XRPivotGrid.Appearance")},Custom:{info:[],displayName:()=>(0,L.getLocalization)("Custom properties","")}};class vN{constructor(e){this._designerModel=e}get designerModel(){return this._designerModel()}set designerModel(e){this._designerModel(e)}UpdateLocalization(e){(0,L.updateLocalization)(e)}GetDesignerModel(){return this.designerModel}GetPreviewModel(){return this.designerModel.reportPreviewModel}GetPropertyInfo(e,t){return Op().getPropertyInfo(e,t)}GetButtonStorage(){return this.designerModel.actionStorage}RunWizard(e){this.designerModel._wizardRunner.run(e)}GetJsonReportModel(){return this.designerModel.model().serialize()}IsModified(){return this.designerModel&&this.designerModel.isDirty()}ResetIsModified(){this.designerModel&&(this.designerModel.isDirty(!1),this.designerModel.undoEngine&&this.designerModel.undoEngine().clearHistory())}AddToPropertyGrid(e,t){const a=xN[e];a?a.info.push(t):xN[e]={info:[t]}}AddParameterType(e,t){gu.push(e),B.editorTypeMapper[e.value]=t}RemoveParameterType(e){const t=gu.indexOf(this.GetParameterInfo(e));-1!==t&&gu.splice(t,1)}GetParameterInfo(e){return gu.filter((function(t){return t.value===e}))[0]}GetParameterEditor(e){return B.editorTypeMapper[e]}ReportStorageGetData(e){return SP.getData(e)}ReportStorageSetData(e,t){return SP.setData(e,t)}ReportStorageSetNewData(e,t){return SP.setNewData(e,t)}SaveReport(){const e=this.designerModel.navigateByReports;return this.ReportStorageSetData(e.currentTab().context().report.serialize(),e.currentTab().context().url())}GetTabs(){return this.designerModel.getTabs()}GetCurrentTab(){return this.designerModel.navigateByReports.currentTab()}CloseTab(e,t=!1){this.designerModel.closeTab(e,t)}CloseCurrentTab(){this.designerModel.navigateByReports.removeTab(this.designerModel.navigateByReports.currentTab())}AdjustControlCore(){this.designerModel&&this.designerModel.updateSurfaceSize()}SaveNewReport(e){const t=this.designerModel.navigateByReports;return this.ReportStorageSetNewData(t.currentTab().context().report.serialize(),e)}ReportStorageGetUrls(){return SP.getUrls()}OpenReport(e){this.designerModel.openReport(e)}ShowPreview(){this.designerModel.showPreview()}}const fN=DevExpress.QueryBuilder.Utils,bN=DevExpress.Analytics.Tools,yN=DevExpress.Analytics.Wizard,SN=DevExpress.config;var CN=e.n(SN);const DN=DevExpress.ui.dxScrollView;var _N=e.n(DN);const IN={NewReport:"dxrd-newreport",NewReportViaWizard:"dxrd-newreport-via-wizard",OpenReport:"dxrd-open-report",ReportWizard:"dxrd-run-wizard",ReportWizardFullScreen:"dxrd-run-wizard-full-screen",Preview:"dxrd-preview",Scripts:"dxrd-scripts",AddDataSource:"dxrd-add-datasource",AddSqlDataSource:"dxrd-add-sql-datasource",AddMultiQuerySqlDataSource:"dxrd-add-multi-query-sql-datasource",ValidateBindings:"dxrd-validate-bindings",Save:"dxrd-save",SaveAs:"dxrd-save-as",Exit:"dxrd-exit",FullScreen:"dxrd-fullscreen",Localization:"dxrd-localization-editor"};class PN{static getXmlStringFromJson(e,t,a){return(0,B.ajax)(Wp(),"jsonToXmlString",encodeURIComponent(JSON.stringify({XRControlSerializer:{Controls:{Item1:e}}}))).done((e=>t(e))).fail((e=>{const t=(0,B.getErrorMessage)(e);t&&(0,B.ShowMessage)(t),a(e)}))}static getControlModelFromXmlString(e,t,a){return(0,B.ajax)(Wp(),"xmlStringToJson",encodeURIComponent(e)).done((e=>t(JSON.parse(e).XRControlSerializer.Controls.Item1))).fail((e=>{const t=(0,B.getErrorMessage)(e);t&&(0,B.ShowMessage)(t),a(e)}))}}class TN{constructor(){this._model=null,this.popupOptions={height:250,visible:A.observable(!1),title:(0,L.getLocalization)("Convert","ReportStringId.UD_Msg_ConvertBindingsCaption"),confirmMessage:"",infoMessage:"",linkText:"",linkUrl:"",container:e=>(0,B.getParentContainer)(e),buttons:[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Yes","AnalyticsCoreStringId.ParametersPanel_True"),type:"default",stylingMode:"contained",onClick:()=>{this._applyChanges()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("No","ASPxReportsStringId.ParametersPanel_No"),type:"normal",stylingMode:"contained",onClick:()=>{this._cancel()}}}]}}convert(e){e&&(this._model=e,this.popupOptions.visible(!0))}_applyChanges(){this.popupOptions.visible(!1)}_cancel(){this.popupOptions.visible(!1)}}class zN extends TN{constructor(e,t){super(),this._selectionProvider=e,this._context=t,this._detailLink="https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.UI.XRPivotGrid#convert-to-the-cross-tab-control",this.popupOptions.height=316,this.popupOptions.confirmMessage=(0,L.getLocalization)("The Cross Tab control does not support specific Pivot Grid functionality. Do you want to continue?","ASPxReportsStringId.ReportDesigner_ConvertPivotGridToCrossTab_Message_Confirmation"),this.popupOptions.infoMessage=(0,L.getLocalization)("You can use the 'Revert to Original Pivot Grid' action in the Cross Tab properties window to restore the Pivot Grid control.","ASPxReportsStringId.ReportDesigner_ConvertPivotGridToCrossTab_Message_Info"),this.popupOptions.linkText=(0,L.getLocalization)("[More infomation about Cross Tab conversion]","ASPxReportsStringId.ReportDesigner_ConvertPivotGridToCrossTab_Message_LinkText"),this.popupOptions.linkUrl=this._detailLink}_applyChanges(){this._warnings=[];const e=this._model;this._undoEngine=L.UndoEngine.tryGetUndoEngine(e),this._undoEngine&&this._undoEngine.start();const t=Op().createControl(Op().controlsMap.XRCrossTab.defaultVal,e.parentModel());e.getInfo().forEach((a=>{t[a.propertyName]&&A.isObservable(e[a.propertyName])&&t[a.propertyName](e[a.propertyName]())})),t.location.x(e.location.x()),t.location.y(e.location.y()),t.name("CrossTab_"+e.name()),this._convertOptions(e,t);const a=this._convertFields(e,t);this._convertStyles(e,t,a),this._applyVisibility(e,t),this._applyText(e,t),this._validateChartLinked(e),A.isObservable(t.size.width)&&t.size.width.valueHasMutated(),this._saveOriginalLayout(e,t)}_convertStyles(e,t,a){const i=t.root,r=[];t.cells().forEach((t=>{const o=i.findStyle(t.styleName());let s=rv.generateStyle(o);this._applyStyles(e,t,s),e.fields().forEach((e=>t.field()==a[e.name()]&&this._applyStyles(e,t,s))),s=rv.styleEqualityComparer(o,s)?o:s;let n=!1;for(const e of r)if(e.style==s){e.cells.push(t),n=!0;break}!n&&r.push({style:s,cells:[t]})})),t.onDelete(),1!==r.length?3===r.length&&this._prepareStandardStyles(r,t,i)||this._prepareNoStyles(r,t):this._prepareGeneralStyle(r,t,i)}_prepareNoStyles(e,t){e.forEach((e=>e.cells.forEach((t=>iv.forEach((a=>{e.style[a]&&e.style.isPropertyModified(a)&&e.style[a]()&&t[a](e.style[a]())})))))),t.generalStyleName(""),t.headerAreaStyleName(""),t.dataAreaStyleName(""),t.totalAreaStyleName("")}_prepareGeneralStyle(e,t,a){const i=e[0].style;i.name(t.generalStyleName()),a.styles.push(i),t.headerAreaStyleName(""),t.dataAreaStyleName(""),t.totalAreaStyleName("")}_prepareStandardStyles(e,t,a){const i=(0,B.findFirstItemMatchesCondition)(e,(e=>e.cells.every((e=>-1!==P_.cellKinds.Header.indexOf(e.kind()))))).style;if(i.name(t.headerAreaStyleName()),!i)return!1;const r=(0,B.findFirstItemMatchesCondition)(e,(e=>e.cells.every((e=>-1!==P_.cellKinds.Data.indexOf(e.kind()))))).style;if(r.name(t.dataAreaStyleName()),!r)return!1;const o=(0,B.findFirstItemMatchesCondition)(e,(e=>e.cells.every((e=>-1!==P_.cellKinds.Total.indexOf(e.kind()))))).style;return!!o&&(o.name(t.totalAreaStyleName()),t.generalStyleName(""),a.styles.push(i,r,o),!0)}_applyStyles(e,t,a){-1==P_.cellKinds.Header.indexOf(t.kind())&&this._applyStyle(e.appearances.cellAppearance,t),t.kind()!=ZD.Corner&&t.kind()!=ZD.DataHeader||this._applyStyle(e.appearances.fieldHeaderAppearance,a),t.kind()===ZD.Data?this._applyStyle(e.appearances.cellAppearance,a):t.isBindable()&&this._applyStyle(e.appearances.fieldValueAppearance,a),t.kind()!=ZD.RowTotalHeader&&t.kind()!=ZD.ColumnTotalHeader||(this._applyStyle(e.appearances.fieldValueTotalAppearance,a),void 0===t.rowLevel&&null==t.columnLevel&&this._applyStyle(e.appearances.fieldValueGrandTotalAppearance,a)),t.kind()==ZD.GrandTotal&&(void 0===t.rowLevel||null==t.columnLevel)||t.kind()==ZD.RowTotal&&null==t.rowLevel||t.kind()==ZD.ColumnTotal&&null==t.columnLevel?this._applyStyle(e.appearances.grandTotalCellAppearance,a):t.kind()!=ZD.RowTotal&&t.kind()!=ZD.ColumnTotal||this._applyStyle(e.appearances.totalCellAppearance,a)}_applyStyle(e,t){ZC.forEach((a=>{const i=a.propertyName;if("textOptions"==i){let a="";const i=e.textOptions.textVerticalAlignment();"Center"==i?a+="Middle":"Default"!=i&&(a+=i);const r=e.textOptions.textHorizontalAlignment();"Near"==r&&(a+="Left"),"Far"==r&&(a+="Right"),"Center"==r&&(a="Center"),a&&t.textAlignment(a)}else{const a=e[i]&&e[i]()&&e[i]();a&&t[i](a)}}))}_convertOptions(e,t){t.layoutOptions.columnTotalsPosition("Far"===e.optionsView.columnTotalsLocation()?t_[t_.AfterData]:t_[t_.BeforeData]),t.layoutOptions.rowTotalsPosition("Far"===e.optionsView.rowTotalsLocation()?t_[t_.AfterData]:t_[t_.BeforeData]),t.printOptions.printTotalsForSingleValues(e.optionsView.showTotalsForSingleValues()),t.printOptions.repeatColumnHeaders(e.optionsPrint.printColumnAreaOnEveryPage()),t.printOptions.repeatRowHeaders(e.optionsPrint.printRowAreaOnEveryPage()),t.layoutOptions.dataFieldLayout("RowArea"===e.optionsDataField.area()?a_[a_.InColumn]:a_[a_.InRow])}_convertFields(e,t){const a={},i=(e,i)=>{const r=t.getInfo().filter((t=>t.propertyName===e))[0].addHandler();this._copyPropertiesToField(r,i),t[e].push(r);t.cells().filter((e=>e.field()==r))[0].size.width(i.width()),a[i.name()]=r};return e.fields().forEach((e=>{e.unboundExpression()?this._warnings.push((0,B.formatUnicorn)("Cannot convert Field {0} - unbound expression is not supported",e.name())):"ColumnArea"==e.area()?i("columnFields",e):"RowArea"==e.area()?i("rowFields",e):"DataArea"==e.area()?i("dataFields",e):this._warnings.push((0,B.formatUnicorn)("Cannot convert Field {0} - area is not supported",e.name()))})),a}_copyPropertiesToField(e,t){e.fieldName(t.fieldName()),e instanceof w_?"Custom"!=t.summaryType()?(e.summaryType(t.summaryType()),e.summaryDisplayType(t.summaryDisplayType())):this._warnings.push((0,B.formatUnicorn)("Pivot Field {0} with a Custom Summary Type is not supported.",t.fieldName())):("Custom"!=t.groupInterval()?(e.crossTabGroupInterval(t.groupInterval()),e.crossTabGroupIntervalNumericRange(t.groupIntervalNumericRange())):this._warnings.push((0,B.formatUnicorn)("Pivot Field {0} with a Custom Group Interval is not supported.",t.fieldName())),e.sortOrder("Ascending"===t.sortOrder()?"Ascending":"Descending"),"Custom"!=t.sortBySummaryInfo.summaryType()?(e.crossTabSortBySummaryInfo.fieldName(t.sortBySummaryInfo.fieldName()),e.crossTabSortBySummaryInfo.summaryType(t.sortBySummaryInfo.summaryType())):this._warnings.push((0,B.formatUnicorn)("Pivot Field {0} with a Custom Summary Type is not supported.",t.fieldName())))}_saveOriginalLayout(e,t){const a=e.dataSource(),i=e.dataMember();e.dataSource(null),e.dataMember(null);const r=(new L.ModelSerializer).serialize(e);PN.getXmlStringFromJson(r,(r=>{const o=e.parentModel().controls;t.originalPivotGridLayout(r),o.splice(o.indexOf(e),1,t),this._selectionProvider.focused(t.surface),this.popupOptions.visible(!1),this._warnings.forEach((e=>console.warn(e))),e.dataSource(a),e.dataMember(i),this._undoEngine&&this._undoEngine.end()}),(e=>{this._undoEngine&&this._undoEngine.end(),this._undoEngine&&this._undoEngine.undo()}))}_applyVisibility(e,t){t.cells().forEach((t=>{(!e.optionsView.showColumnTotals()&&t.kind()==ZD.ColumnTotalHeader&&void 0!==t.columnLevel||!e.optionsView.showColumnGrandTotals()&&t.kind()==ZD.ColumnTotalHeader&&void 0===t.columnLevel)&&t.columnVisible(!1),(!e.optionsView.showRowTotals()&&void 0!==t.rowLevel&&t.kind()==ZD.RowTotalHeader||!e.optionsView.showRowGrandTotals()&&void 0===t.rowLevel&&t.kind()==ZD.RowTotalHeader)&&t.rowVisible(!1)}))}_applyText(e,t){t.cells().forEach((t=>{const a=t.kind();let i;const r=this._findRelatedPivotGridItem(e,t.dataLevel,t.columnLevel,t.rowLevel);if(a==ZD.ColumnHeader||a==ZD.RowHeader)i=r.valueFormat;else if(a===ZD.ColumnTotalHeader&&void 0!==t.columnLevel||a===ZD.RowTotalHeader&&void 0!==t.rowLevel)i=r.totalValueFormat.formatString()?r.totalValueFormat:{formatType:A.observable("Numeric"),formatString:A.observable("{0} Total")};else if(r){const e=a===ZD.RowTotal||a===ZD.ColumnTotal,t=a===ZD.GrandTotal;let o=r.cellFormat.formatString()?r.cellFormat:null;const s=r.totalCellFormat.formatString()?r.totalCellFormat:o;if(t&&(o=r.grandTotalCellFormat.formatString()?r.grandTotalCellFormat:s),e&&(o=s||o),null==o||!o.formatString())if(0===r.summaryDisplayType().indexOf("Percent"))o={formatType:A.observable("Numeric"),formatString:A.observable("{0:p}")};else if(0===r.summaryDisplayType().indexOf("Index"))o={formatType:A.observable("Numeric"),formatString:A.observable("{0:f2}")};else if("Count"!==r.summaryType()&&"CountDistinct"!==r.summaryType()&&-1===r.summaryDisplayType().indexOf("RankIn")){const e=r.getFieldType();["Float","Double","Decimal"].some((t=>t===e))&&("Default"!==r.groupInterval()||r.unboundExpression()||"Decimal"===r.unboundType())&&(o={formatType:A.observable("Numeric"),formatString:A.observable("{0:c}")})}i=o}i&&"None"!==i.formatType()&&i.formatString()&&t.textFormatString(i.formatString()),a!=ZD.Corner&&a!=ZD.DataHeader||r.caption&&r.caption()&&t.text(r.caption())}))}_findRelatedPivotGridItem(e,t,a,i){return t>-1?e.fields().filter((e=>"DataArea"===e.area()))[t]:a>-1?e.fields().filter((e=>"ColumnArea"===e.area()))[a]:i>-1?e.fields().filter((e=>"RowArea"===e.area()))[i]:void 0}_validateChartLinked(e){const t=this._context()&&this._context().controlsHelper;t&&t.allControls().forEach((t=>{t instanceof dC&&t.dataSource()==e&&this._warnings.push((0,B.formatUnicorn)("Chart {0} uses PivotGrid as a DataSource, but the CrossTab can not be linked with Chart.",t.name()))}))}}class NN extends TN{constructor(e){super(),this._selectionProvider=e,this.popupOptions.confirmMessage=(0,L.getLocalization)("All changes made to the Cross Tab will be lost. Do you want to continue?","ReportStringId.UD_Msg_RevertCrossTabToPivotGrid"),this.popupOptions.height=240}_applyChanges(){const e=this._model;e.originalPivotGridLayout()&&PN.getControlModelFromXmlString(e.originalPivotGridLayout(),(t=>{const a=e.parentModel().controls,i=new nC(t,e.parentModel());i.location.x(e.location.x()),i.location.y(e.location.y()),i.dataSource(e.dataSource()),i.dataMember(e.dataMember()),a.splice(a.indexOf(e),1,i),e.onDelete(),this._selectionProvider.focused(i.surface),this.popupOptions.visible(!1)}),(e=>{}))}}var EN;!function(e){e.XRCrossTab="XRCrossTab",e.XRPivotGrid="XRPivotGrid"}(EN||(EN={}));class wN extends B.BaseActionsProvider{constructor(e,t=(()=>!1)){super(),this._converters=e,super.initActions(Gp()==EN.XRCrossTab?[{text:"Revert to Original Pivot Grid",group:()=>(0,L.getLocalization)("Cross Tab","ReportStringId.RibbonXRDesign_PageGroup_CrossTab"),displayText:()=>(0,L.getLocalization)("Revert to Original Pivot Grid","ReportStringId.Verb_RevertCrossTabToPivotGrid"),imageClassName:"dxrd-image-actions-convertation",imageTemplateName:"dxrd-svg-actions-convertation",disabled:A.pureComputed((()=>t())),clickAction:e=>{const t=this._converter;t&&t.convert(e)}}]:[])}get _converter(){return this._converters.filter((e=>e instanceof NN))[0]}condition(e){return e instanceof z_&&!!e.originalPivotGridLayout()}}class RN{constructor(e,t){this._selectionProvider=e,this._surfaceContext=t}_getFocusedItem(){return this._selectionProvider.focused()}_getFocusedParent(){return this._selectionProvider.focused().parent}_getPositionFromBand(e){const t=k.extend({},e.rect());let a=e.parent;if(e instanceof jv)a=e;else{for(;!(a instanceof jv);)t.left+=a.rect().left,t.top+=a.rect().top,a=a.parent;t.bottom=t.top+t.height,t.right=t.left+t.width}return t.band=a,t}_visitAllSelectedItemsInSameContainerWithFocused(e){const t=this._selectionProvider.focused(),a=this._getPositionFromBand(t);this._selectionProvider.selectedItems.filter((e=>!e.locked)).filter((e=>e!==t)).forEach((t=>{e(t,a)}))}_centerByBand(e,t,a=!1){const i=this._selectionProvider.selectedItems.filter((e=>!e.locked));if(!i.length)return;const r=e?"left":"top",o=e?"width":"height",s=i[0].parent,n=s instanceof jv?t.right():0,l=s.rect()[o]-n;let d=i[0].rect()[r],c=i[0].rect()[r]+i[0].rect()[o];i.forEach((e=>{const t=e.rect()[r],a=e.rect()[r]+e.rect()[o];t<d&&(d=t),a>c&&(c=a)}));const p=(l-(c-d))/2-d+(a?n:0);i.forEach((e=>{const t={};t[r]=e.rect()[r]+p,t[o]=e.rect()[o],e.rect(t)}))}_roundingValue(e,t){return Math.round(e/t)*t}alignLeft(){this._visitAllSelectedItemsInSameContainerWithFocused(((e,t)=>{e instanceof My&&(e=e.parent);const a=this._getPositionFromBand(e.parent),i=t.left-a.left;e.rect({left:i})}))}alignTop(){this._visitAllSelectedItemsInSameContainerWithFocused(((e,t)=>{e instanceof By&&(e=e.parent);const a=this._getPositionFromBand(e.parent);if(a.band===t.band){const i=t.top-a.top;e.rect({top:i})}}))}alignRight(){this._visitAllSelectedItemsInSameContainerWithFocused(((e,t)=>{e instanceof My&&(e=e.parent);const a=this._getPositionFromBand(e.parent),i=t.left-a.left+t.width,r=i-e.rect().width;e.rect({right:i,left:r})}))}alignBottom(){this._visitAllSelectedItemsInSameContainerWithFocused(((e,t)=>{e instanceof By&&(e=e.parent);const a=this._getPositionFromBand(e.parent);if(a.band===t.band){const i=t.top-a.top+t.height,r=i-e.rect().height;e.rect({bottom:i,top:r})}}))}alignVerticalCenters(){const e=this._getFocusedItem(),t=e.rect().left+e.rect().width/2;this._visitAllSelectedItemsInSameContainerWithFocused((e=>{e instanceof By?e=e.parent.parent:e instanceof My&&(e=e.parent),e.rect({left:t-e.rect().width/2})}))}alignHorizontalCenters(){const e=this._getFocusedItem(),t=e.rect().top+e.rect().height/2;this._visitAllSelectedItemsInSameContainerWithFocused((a=>{a instanceof By?a=a.parent.parent:a instanceof My&&(a=a.parent),e.parent===a.parent&&a.rect({top:t-a.rect().height/2})}))}sizeToControlWidth(){const e=this._getFocusedItem().rect().width;this._visitAllSelectedItemsInSameContainerWithFocused((t=>{t instanceof My&&(t=t.parent),t.rect({width:e})}))}sizeToControlHeight(){const e=this._getFocusedItem().rect().height;this._visitAllSelectedItemsInSameContainerWithFocused((t=>{t instanceof By&&(t=t.parent),t.rect({height:e})}))}sizeToControl(){const e=this._getFocusedItem().rect().width,t=this._getFocusedItem().rect().height;this._visitAllSelectedItemsInSameContainerWithFocused((a=>{a instanceof By?(a.rect({width:e}),a.parent.rect({height:t})):a instanceof My?(a.rect({height:t}),a.parent.rect({width:e})):a.rect({width:e,height:t})}))}centerHorizontally(){this._centerByBand(!0,this._surfaceContext().margins,this._surfaceContext().rtl())}centerVertically(){this._centerByBand(!1,new Q.Margins(0,0,0,0))}alignToGrid(){const e=this._surfaceContext().snapGridSize();this._selectionProvider.selectedItems.filter((e=>!e.locked)).forEach((t=>{t instanceof By?(t.rect({left:this._roundingValue(t.rect().left,e)}),t.parent.rect({top:this._roundingValue(t.rect().top,e)})):t instanceof My?(t.rect({top:this._roundingValue(t.rect().top,e)}),t.parent.rect({left:this._roundingValue(t.rect().left,e)})):t.rect({left:this._roundingValue(t.rect().left,e),top:this._roundingValue(t.rect().top,e)})}))}sizeToGrid(){const e=this._surfaceContext().snapGridSize();this._selectionProvider.selectedItems.filter((e=>!e.locked)).forEach((t=>{t instanceof By?(t.rect({left:this._roundingValue(t.rect().left,e),width:this._roundingValue(t.rect().width,e)}),t.parent.rect({top:this._roundingValue(t.rect().top,e),height:this._roundingValue(t.rect().height,e)})):t instanceof My?(t.rect({top:this._roundingValue(t.rect().top,e),height:this._roundingValue(t.rect().height,e)}),t.parent.rect({left:this._roundingValue(t.rect().left,e),width:this._roundingValue(t.rect().width,e)})):t.rect({left:this._roundingValue(t.rect().left,e),top:this._roundingValue(t.rect().top,e),width:this._roundingValue(t.rect().width,e),height:this._roundingValue(t.rect().height,e)})}))}sendToBack(){this._selectionProvider.selectedItems.filter((e=>!e.locked)).forEach((e=>{e.focused()||e.getControlModel().sendToBack()})),this._getFocusedItem().getControlModel().sendToBack()}bringToFront(){const e=this._selectionProvider.selectedItems.filter((e=>!e.locked));e.reverse(),e.forEach((e=>{e.getControlModel().bringToFront()}))}canChangeZOrder(){const e=this._getFocusedItem(),t=e&&e.parent;if(!e||!t)return!1;const a=t.getChildrenCollection();return(a&&a.peek().length)>1}}class BN{constructor(e,t){this._selectionProvider=e,this._surfaceContext=t}_comparer(e){return(t,a)=>t.rect()[e]-a.rect()[e]}_spaceIncrease(e,t){const a=this._selectionProvider.selectedItems.filter((e=>!e.locked)),i=t?"left":"top",r=t?"width":"height",o=t?this._surfaceContext().margins.left():0,s=this._surfaceContext().snapGridSize(),n=this._selectionProvider.focused().getControlModel().parentModel(),l=this._selectionProvider.focused();a.sort(this._comparer(i));const d=a.indexOf(this._selectionProvider.focused());this._selectionProvider.selectedItems.filter((e=>!e.locked)).filter((e=>e!==l&&e.getControlModel().parentModel()===n)).forEach((t=>{const n=a.indexOf(t),l=Math.abs(n-d)*s*e,c=t.rect()[i],p=t.rect()[r],u=t.parent.rect()[r]-o;let m;n<d?(m=c-l,m<0&&(m=0)):(m=c+l,m+p>u&&(m=u-p));const h={};h[i]=m,t.rect(h)}))}_spaceMakeEqual(e){this._concatenateWithSpace(e,((e,t,a)=>{let i=0;for(let r=0;r<e.length-1;r++){i=(i*r+(e[r+1].rect()[t]-(e[r].rect()[t]+e[r].rect()[a])))/(r+1)}return i}))}_concatenateWithSpace(e,t){const a=this._selectionProvider.selectedItems.filter((e=>!e.locked)),i=e?"left":"top",r=e?"width":"height",o=this._selectionProvider.focused().getControlModel().parentModel();a.sort(this._comparer(i));const s=t(a,i,r);this._selectionProvider.selectedItems.filter((e=>!e.locked)).filter((e=>o===e.getControlModel().parentModel())).forEach((e=>{const t=a.indexOf(e);if(t>0){const o=a[t-1],n={};n[i]=o.rect()[i]+o.rect()[r]+s,e.rect(n)}}))}horizSpaceConcatenate(){this._concatenateWithSpace(!0,(()=>0))}vertSpaceConcatenate(){this._concatenateWithSpace(!1,(()=>0))}horizSpaceMakeEqual(){this._spaceMakeEqual(!0)}vertSpaceMakeEqual(){this._spaceMakeEqual(!1)}horizSpaceDecrease(){this._spaceIncrease(-1,!0)}horizSpaceIncrease(){this._spaceIncrease(1,!0)}vertSpaceDecrease(){this._spaceIncrease(-1,!1)}vertSpaceIncrease(){this._spaceIncrease(1,!1)}}class VN extends B.BaseActionsProvider{constructor(e,t){super(),this._selectionProvider=t;const a=new RN(t,e),i=new BN(t,e);super.initActions([{text:"Align Lefts",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Lefts","ReportStringId.UD_TTip_AlignLeft"),imageClassName:"dxrd-image-actions-align_lefts",imageTemplateName:"dxrd-svg-actions-align_lefts",clickAction:()=>{a.alignLeft()}},{text:"Align Centers",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Centers","ReportStringId.RibbonXRDesign_AlignVerticalCenters_STipTitle"),imageClassName:"dxrd-image-actions-align_centers",imageTemplateName:"dxrd-svg-actions-align_centers",clickAction:()=>{a.alignVerticalCenters()}},{text:"Align Rights",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Rights","ReportStringId.RibbonXRDesign_AlignRight_Caption"),imageClassName:"dxrd-image-actions-align_rights",imageTemplateName:"dxrd-svg-actions-align_rights",clickAction:()=>{a.alignRight()}},{text:"Align Tops",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Tops","ReportStringId.RibbonXRDesign_AlignTop_Caption"),imageClassName:"dxrd-image-actions-align_tops",imageTemplateName:"dxrd-svg-actions-align_tops",clickAction:()=>{a.alignTop()}},{text:"Align Middles",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Middles","ReportStringId.RibbonXRDesign_AlignHorizontalCenters_Caption"),imageClassName:"dxrd-image-actions-align_middles",imageTemplateName:"dxrd-svg-actions-align_middles",clickAction:()=>{a.alignHorizontalCenters()}},{text:"Align Bottoms",group:()=>(0,L.getLocalization)("Alignment","ReportStringId.RibbonXRDesign_PageGroup_Alignment"),displayText:()=>(0,L.getLocalization)("Align Bottoms","ReportStringId.RibbonXRDesign_AlignBottom_Caption"),imageClassName:"dxrd-image-actions-align_bottoms",imageTemplateName:"dxrd-svg-actions-align_bottoms",clickAction:()=>{a.alignBottom()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Size to Control Width",displayText:()=>(0,L.getLocalization)("Size to Control Width","ASPxReportsStringId.ReportDesigner_ElementsAction_SizeToControlWidth"),imageClassName:"dxrd-image-actions-make_same_width",imageTemplateName:"dxrd-svg-actions-make_same_width",clickAction:()=>{a.sizeToControlWidth()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Size to Control Height",displayText:()=>(0,L.getLocalization)("Size to Control Height","ASPxReportsStringId.ReportDesigner_ElementsAction_SizeToControlHeight"),imageClassName:"dxrd-image-actions-make_same_height",imageTemplateName:"dxrd-svg-actions-make_same_height",clickAction:()=>{a.sizeToControlHeight()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Size to Control",displayText:()=>(0,L.getLocalization)("Size to Control","ASPxReportsStringId.ReportDesigner_ElementsAction_SizeToControl"),imageClassName:"dxrd-image-actions-make_same_sizes",imageTemplateName:"dxrd-svg-actions-make_same_sizes",clickAction:()=>{a.sizeToControl()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Make Horizontal Spacing Equal",displayText:()=>(0,L.getLocalization)("Make Horizontal Spacing Equal","ReportStringId.UD_TTip_HorizSpaceMakeEqual"),imageClassName:"dxrd-image-actions-make_horizontal_spacing_equal",imageTemplateName:"dxrd-svg-actions-make_horizontal_spacing_equal",clickAction:()=>{i.horizSpaceMakeEqual()},hasSeparator:!0},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Increase Horizontal Spacing",displayText:()=>(0,L.getLocalization)("Increase Horizontal Spacing","ReportStringId.UD_TTip_HorizSpaceIncrease"),imageClassName:"dxrd-image-actions-increase_horizontal_spacing",imageTemplateName:"dxrd-svg-actions-increase_horizontal_spacing",clickAction:()=>{i.horizSpaceIncrease()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Decrease Horizontal Spacing",displayText:()=>(0,L.getLocalization)("Decrease Horizontal Spacing","ReportStringId.RibbonXRDesign_HorizSpaceDecrease_Caption"),imageClassName:"dxrd-image-actions-decrease_horizontal_spacing",imageTemplateName:"dxrd-svg-actions-decrease_horizontal_spacing",clickAction:()=>{i.horizSpaceDecrease()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Remove Horizontal Spacing",displayText:()=>(0,L.getLocalization)("Remove Horizontal Spacing","ReportStringId.RibbonXRDesign_HorizSpaceConcatenate_Caption"),imageClassName:"dxrd-image-actions-remove_horizontal_spacing",imageTemplateName:"dxrd-svg-actions-remove_horizontal_spacing",clickAction:()=>{i.horizSpaceConcatenate()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Make Vertical Spacing Equal",displayText:()=>(0,L.getLocalization)("Make Vertical Spacing Equal","ReportStringId.RibbonXRDesign_VertSpaceMakeEqual_Caption"),imageClassName:"dxrd-image-actions-make_vertical_spacing_equal",imageTemplateName:"dxrd-svg-actions-make_vertical_spacing_equal",clickAction:()=>{i.vertSpaceMakeEqual()},hasSeparator:!0},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Increase Vertical Spacing",displayText:()=>(0,L.getLocalization)("Increase Vertical Spacing","ReportStringId.RibbonXRDesign_VertSpaceIncrease_STipTitle"),imageClassName:"dxrd-image-actions-increase_vertical_spacing",imageTemplateName:"dxrd-svg-actions-increase_vertical_spacing",clickAction:()=>{i.vertSpaceIncrease()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Decrease Vertical Spacing",displayText:()=>(0,L.getLocalization)("Decrease Vertical Spacing","ReportStringId.UD_TTip_VertSpaceDecrease"),imageClassName:"dxrd-image-actions-decrease_vertical_spacing",imageTemplateName:"dxrd-svg-actions-decrease_vertical_spacing",clickAction:()=>{i.vertSpaceDecrease()}},{group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),text:"Remove Vertical Spacing",displayText:()=>(0,L.getLocalization)("Remove Vertical Spacing","ReportStringId.UD_TTip_VertSpaceConcatenate"),imageClassName:"dxrd-image-actions-remove_vertical_spacing",imageTemplateName:"dxrd-svg-actions-remove_vertical_spacing",clickAction:()=>{i.vertSpaceConcatenate()}}]),this.setDisabled=e=>{const t=this._selectionProvider.selectedItems.some((e=>e.locked));this.actions.forEach((e=>{e.disabled(t)}))}}condition(e){return this._selectionProvider.selectedItems.length>1&&!this._selectionProvider.selectedItems.some((e=>e instanceof T_))}}class MN extends B.BaseActionsProvider{constructor(e,t=(()=>!1)){super(),this._selection=e;const a=A.pureComputed((()=>t()||this._focusedPdfContent&&(this._focusedPdfContent.generateOwnPages()||!this._focusedPdfContent.canFit()||!this._focusedPdfContent.imageSource())));super.initActions([{text:"Fit Size to Content",group:()=>(0,L.getLocalization)("Pdf Content","ReportStringId.RibbonXRDesign_PageGroup_PdfContent"),displayText:()=>(0,L.getLocalization)("Fit Size to Content","ReportStringId.Verb_FitControlSize"),imageClassName:"dxrd-image-actions-fit_to_container",imageTemplateName:"dxrd-svg-actions-fit_to_container",disabled:a,clickAction:e=>{e.fitToContent()}}]),this._disposables.push(a)}get _focusedPdfContent(){const e=this._selection.focused().getControlModel();return e instanceof aI?e:null}condition(e){return e instanceof aI}}class kN extends B.BaseActionsProvider{constructor(e,t=(()=>!1)){super(),this._converters=e,super.initActions([{text:"Insert Field in Filter Area",group:()=>(0,L.getLocalization)("Pivot Grid","ReportStringId.RibbonXRDesign_PageGroup_PivotGrid"),displayText:()=>(0,L.getLocalization)("Insert Field in Filter Area","ASPxReportsStringId.ReportDesigner_PivotActions_InsertFieldInTheFilterArea"),imageClassName:"dxrd-image-actions-add_field_to_filter_area",imageTemplateName:"dxrd-svg-actions-add_field_to_filter_area",disabled:A.pureComputed((()=>t())),clickAction:e=>{e.addFieldToArea("FilterArea")}},{text:"Insert Field in Data Area",group:()=>(0,L.getLocalization)("Pivot Grid","ReportStringId.RibbonXRDesign_PageGroup_PivotGrid"),displayText:()=>(0,L.getLocalization)("Insert Field in Data Area","ASPxReportsStringId.ReportDesigner_PivotActions_InsertFieldInTheDataArea"),imageClassName:"dxrd-image-actions-add_field_to_data_area",imageTemplateName:"dxrd-svg-actions-add_field_to_data_area",disabled:A.pureComputed((()=>t())),clickAction:e=>{e.addFieldToArea("DataArea")}},{text:"Insert Field in Column Area",group:()=>(0,L.getLocalization)("Pivot Grid","ReportStringId.RibbonXRDesign_PageGroup_PivotGrid"),displayText:()=>(0,L.getLocalization)("Insert Field in Column Area","ASPxReportsStringId.ReportDesigner_PivotActions_InsertFieldInTheColumnArea"),imageClassName:"dxrd-image-actions-add_field_to_column_area",imageTemplateName:"dxrd-svg-actions-add_field_to_column_area",disabled:A.pureComputed((()=>t())),clickAction:e=>{e.addFieldToArea("ColumnArea")}},{text:"Insert Field in Row Area",group:()=>(0,L.getLocalization)("Pivot Grid","ReportStringId.RibbonXRDesign_PageGroup_PivotGrid"),displayText:()=>(0,L.getLocalization)("Insert Field in Row Area","ASPxReportsStringId.ReportDesigner_PivotActions_InsertFieldInTheRowArea"),imageClassName:"dxrd-image-actions-add_field_to_row_area",imageTemplateName:"dxrd-svg-actions-add_field_to_row_area",disabled:A.pureComputed((()=>t())),clickAction:e=>{e.addFieldToArea("RowArea")}},{text:"Convert to Cross Tab",group:()=>(0,L.getLocalization)("Pivot Grid","ReportStringId.RibbonXRDesign_PageGroup_PivotGrid"),displayText:()=>(0,L.getLocalization)("Convert to Cross Tab","ReportStringId.Verb_ConvertPivotGridToCrossTab"),imageClassName:"dxrd-image-actions-convertation",imageTemplateName:"dxrd-svg-actions-convertation",disabled:A.pureComputed((()=>t())),visible:Gp()==EN.XRCrossTab,clickAction:e=>{const t=this._converter;t&&t.convert(e)}}])}get _converter(){return this._converters.filter((e=>e instanceof zN))[0]}condition(e){return e instanceof nC}}class AN extends L.Disposable{constructor(e,t){super(),this._buildingModel=t,this._contextModel=A.observable(),this._disposables.push(this._targetModel=A.computed((()=>{let e=this._contextModel();return e&&(e.parentModel()&&e.parentModel().parentModel()&&"SubBand"===e.controlType?e=e.parentModel().parentModel():e.parentModel()&&"DevExpress.XtraReports.UI.XtraReport"!==e.controlType&&"DetailReportBand"!==e.controlType&&(e=e.parentModel())),e})));const a=A.observable(!0);this._disposables.push(this._contextModel.subscribe((e=>{a(e instanceof Ly)}))),this.actions=[{text:"Design in Report Wizard...",displayText:()=>(0,L.getLocalization)("Design in Report Wizard...","ReportStringId.Verb_ReportWizard"),clickAction:()=>{null==t||t._wizardRunner.run("DesignInReportWizard")},disabled:A.observable(!1),visible:a,isContextMenuAction:!0},{text:"Top Margin",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Top Margin","ReportStringId.Cmd_TopMargin"),imageClassName:"dxrd-image-actions-top_margin",imageTemplateName:"dxrd-svg-actions-top_margin",disabled:this.createComputed((()=>!this._canAddBand("TopMarginBand"))),visible:!0,clickAction:()=>{this._addBand("TopMarginBand")}},{text:"Report Header",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Report Header","ReportStringId.Cmd_ReportHeader"),imageClassName:"dxrd-image-actions-report_header",imageTemplateName:"dxrd-svg-actions-report_header",disabled:this.createComputed((()=>!this._canAddBand("ReportHeaderBand"))),visible:!0,clickAction:()=>{this._addBand("ReportHeaderBand")}},{text:"Page Header",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Page Header","ReportStringId.Cmd_PageHeader"),imageClassName:"dxrd-image-actions-page_header",imageTemplateName:"dxrd-svg-actions-page_header",disabled:this.createComputed((()=>!this._canAddBand("PageHeaderBand"))),visible:!0,clickAction:()=>{this._addBand("PageHeaderBand")}},{text:"Group Header",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Group Header","ReportStringId.Cmd_GroupHeader"),imageClassName:"dxrd-image-actions-group_header",imageTemplateName:"dxrd-svg-actions-group_header",disabled:this.createComputed((()=>!this._canAddBand("GroupHeaderBand"))),visible:!0,clickAction:()=>{this._addBand("GroupHeaderBand")}},{text:"Detail",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Detail","ReportStringId.Cmd_Detail"),imageClassName:"dxrd-image-actions-detail",imageTemplateName:"dxrd-svg-actions-detail",disabled:this.createComputed((()=>!this._canAddBand("DetailBand"))),visible:!0,clickAction:()=>{this._addBand("DetailBand")}},{text:"Detail Report",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Detail Report","ReportStringId.Cmd_DetailReport"),imageClassName:"dxrd-image-actions-detail_report",imageTemplateName:"dxrd-svg-actions-detail_report",disabled:this.createComputed((()=>!this._canAddBand("DetailReportBand"))),visible:!0,clickAction:()=>{this._addBand("DetailReportBand")}},{text:"Group Footer",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Group Footer","ReportStringId.Cmd_GroupFooter"),imageClassName:"dxrd-image-actions-group_footer",imageTemplateName:"dxrd-svg-actions-group_footer",disabled:this.createComputed((()=>!this._canAddBand("GroupFooterBand"))),visible:!0,clickAction:()=>{this._addBand("GroupFooterBand")}},{text:"Report Footer",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Report Footer","ReportStringId.Cmd_ReportFooter"),imageClassName:"dxrd-image-actions-report_footer",imageTemplateName:"dxrd-svg-actions-report_footer",disabled:this.createComputed((()=>!this._canAddBand("ReportFooterBand"))),visible:!0,clickAction:()=>{this._addBand("ReportFooterBand")}},{text:"Page Footer",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Page Footer","ReportStringId.Cmd_PageFooter"),imageClassName:"dxrd-image-actions-page_footer",imageTemplateName:"dxrd-svg-actions-page_footer",disabled:this.createComputed((()=>!this._canAddBand("PageFooterBand"))),visible:!0,clickAction:()=>{this._addBand("PageFooterBand")}},{text:"Bottom Margin",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Bottom Margin","ReportStringId.Cmd_BottomMargin"),imageClassName:"dxrd-image-actions-bottom_margin",imageTemplateName:"dxrd-svg-actions-bottom_margin",disabled:this.createComputed((()=>!this._canAddBand("BottomMarginBand"))),visible:!0,clickAction:()=>{this._addBand("BottomMarginBand")}},{text:"Insert Sub-Band",group:()=>(0,L.getLocalization)("Insert Band","ReportStringId.Cmd_InsertBand"),displayText:()=>(0,L.getLocalization)("Insert Sub-Band","ReportStringId.Cmd_AddSubBand"),imageClassName:"dxrd-image-actions-subband",imageTemplateName:"dxrd-svg-actions-subband",disabled:this.createComputed((()=>!this._canAddBand("SubBand"))),visible:!0,clickAction:()=>{this._addBand("SubBand")}},{text:"Vertical Header",group:()=>(0,L.getLocalization)("Insert Vertical Band","ReportStringId.Cmd_InsertVerticalBand"),displayText:()=>(0,L.getLocalization)("Vertical Header","ReportStringId.Cmd_VerticalHeader"),imageClassName:"dxrd-image-actions-vertical_header",imageTemplateName:"dxrd-svg-actions-vertical_header",disabled:this.createComputed((()=>!this._canAddBand("VerticalHeaderBand"))),visible:!0,clickAction:()=>{this._addBand("VerticalHeaderBand")}},{text:"Vertical Detail",group:()=>(0,L.getLocalization)("Insert Vertical Band","ReportStringId.Cmd_InsertVerticalBand"),displayText:()=>(0,L.getLocalization)("Vertical Detail","ReportStringId.Cmd_VerticalDetail"),imageClassName:"dxrd-image-actions-vertical_detail",imageTemplateName:"dxrd-svg-actions-vertical_detail",disabled:this.createComputed((()=>!this._canAddBand("VerticalDetailBand"))),visible:!0,clickAction:()=>{this._addBand("VerticalDetailBand")}},{text:"Vertical Total",group:()=>(0,L.getLocalization)("Insert Vertical Band","ReportStringId.Cmd_InsertVerticalBand"),displayText:()=>(0,L.getLocalization)("Vertical Total","ReportStringId.Cmd_VerticalTotal"),imageClassName:"dxrd-image-actions-vertical_total",imageTemplateName:"dxrd-svg-actions-vertical_total",disabled:this.createComputed((()=>!this._canAddBand("VerticalTotalBand"))),visible:!0,clickAction:()=>{this._addBand("VerticalTotalBand")}},{text:"Insert Sub-Band",displayText:()=>(0,L.getLocalization)("Insert Sub-Band","ReportStringId.Cmd_AddSubBand"),imageClassName:"dxrd-image-actions-subband",imageTemplateName:"dxrd-svg-actions-subband",disabled:this.createComputed((()=>!this._canAddBand("SubBand"))),visible:!0,isContextMenuAction:!0,clickAction:()=>{this._addBand("SubBand")}}],this.onComponentAdded=t=>{e&&e(t)}}_canAddBand(e){if(!this._targetModel())return!1;const t=this._targetModel().root;if(t&&t.language&&t.language()!==Bu.defaultCulture)return!1;if("GroupHeaderBand"===e||"GroupFooterBand"===e||"DetailReportBand"===e)return!0;if("SubBand"===e){const e=this._contextModel();return null!==e&&!e.lockedInUserDesigner()&&-1===e.controlType.indexOf("XtraReport")&&-1===["DetailReportBand","TopMarginBand","BottomMarginBand","SubBand"].indexOf(e.controlType)}return("DetailReportBand"!==this._targetModel().controlType||"TopMarginBand"!==e&&"BottomMarginBand"!==e&&"PageHeaderBand"!==e&&"PageFooterBand"!==e)&&0===this._targetModel().bands().filter((t=>t.controlType===e)).length}_addBand(e){if(this._canAddBand(e)){let t=this._targetModel();"SubBand"===e&&(t=this._contextModel());const a=t.root.dpi(),i=t.createChild({"@ControlType":e,"@HeightF":a});this.onComponentAdded({parent:t,model:i})}}createComputed(e){const t=A.computed((()=>e()));return this._disposables.push(t),t}getActions(e){return e instanceof Ly||e instanceof Gv?(this._contextModel(e),this.actions):(this._contextModel(null),[])}}class LN{constructor(e){this._control=e,this._container=A.pureComputed((()=>this._control()&&this._control().parent))}doAction(){this._control().rect(this._container().getUsefulRect())}allowed(){const e=this._container();return!(!e||e.getChildrenCollection()().length>1)&&(e instanceof By||e instanceof Yv||e instanceof jv||e instanceof Jv)}visible(){return!(this._control()instanceof _y||this._control()instanceof A_||this._control()instanceof $P)}}class $N extends B.BaseActionsProvider{constructor(e,t){super(),this._selectionProvider=t,this._isMultiSelect=A.observable(!1);const a=new RN(t,e),i=new LN(t.focused);super.initActions([{text:"Align to Grid",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Align to Grid","ReportStringId.Cmd_AlignToGrid"),imageClassName:"dxrd-image-actions-align_to_grid",imageTemplateName:"dxrd-svg-actions-align_to_grid",clickAction:()=>{a.alignToGrid()},disabled:A.pureComputed((()=>this._generalDisabled))},{text:"Size to Grid",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Size to Grid","ReportStringId.UD_Capt_MakeSameSizeSizeToGrid"),imageClassName:"dxrd-image-actions-size_to_grid",imageTemplateName:"dxrd-svg-actions-size_to_grid",clickAction:()=>{a.sizeToGrid()},disabled:A.pureComputed((()=>this._generalDisabled))},{text:"Center Horizontally",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Center Horizontally","ReportStringId.RibbonXRDesign_CenterHorizontally_STipTitle"),imageClassName:"dxrd-image-actions-center_horizontally",imageTemplateName:"dxrd-svg-actions-center_horizontally",hasSeparator:!0,clickAction:()=>{a.centerHorizontally()},disabled:A.pureComputed((()=>this._generalDisabled||t.focused()instanceof _y||(()=>{let e=!1,a=!1;return t.selectedItems.some((i=>!i.parent||(e||(e=!(i.parent.getControlModel()instanceof Gv)),a||(a=i.parent!==t.selectedItems[0].parent),a&&e)))})()))},{text:"Center Vertically",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Center Vertically","ReportStringId.RibbonXRDesign_CenterVertically_STipTitle"),imageClassName:"dxrd-image-actions-center_vertically",imageTemplateName:"dxrd-svg-actions-center_vertically",clickAction:()=>{a.centerVertically()},disabled:A.pureComputed((()=>this._generalDisabled||t.focused()instanceof _y||t.selectedItems.some((e=>e.parent!==t.selectedItems[0].parent))))},{text:"Bring to Front",group:()=>(0,B.localizeWithUpdateLocalizationMethod)("Arranging")||(0,L.getLocalization)("Arrangement","ReportStringId.RibbonXRDesign_PageGroup_Arranging"),displayText:()=>(0,L.getLocalization)("Bring to Front","ReportStringId.Cmd_BringToFront"),imageClassName:"dxrd-image-actions-bring_to_front",imageTemplateName:"dxrd-svg-actions-bring_to_front",clickAction:()=>{a.bringToFront()},disabled:A.pureComputed((()=>this._generalDisabled||!a.canChangeZOrder()))},{text:"Send to Back",group:()=>(0,B.localizeWithUpdateLocalizationMethod)("Arranging")||(0,L.getLocalization)("Arrangement","ReportStringId.RibbonXRDesign_PageGroup_Arranging"),displayText:()=>(0,L.getLocalization)("Send to Back","ReportStringId.Cmd_SendToBack"),imageClassName:"dxrd-image-actions-send_to_back",imageTemplateName:"dxrd-svg-actions-send_to_back",clickAction:()=>{a.sendToBack()},disabled:A.pureComputed((()=>this._generalDisabled||!a.canChangeZOrder()))},{text:"Fit Bounds To Container",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Fit Bounds To Container","ReportStringId.Cmd_FitBoundsToContainer"),imageClassName:"dxrd-image-actions-fit_to_container",imageTemplateName:"dxrd-svg-actions-fit_to_container",clickAction:()=>{i.doAction()},hasSeparator:!0,disabled:A.pureComputed((()=>this._generalDisabled||!i.allowed())),visible:A.pureComputed((()=>!this._isMultiSelect()&&i.visible()))}]),this.setDisabled=e=>{this._generalDisabled=this._selectionProvider.selectedItems.some((e=>e.locked))}}condition(e){return this._isMultiSelect("multiselect"===e.controlType),this._isMultiSelect()?!this._selectionProvider.selectedItems.some((e=>e instanceof T_)):!(e instanceof Ry||e instanceof Vy||e instanceof P_)}}class FN extends $N{constructor(e,t){super(e,t)}getActions(e){return e&&!(e instanceof Ly||e instanceof Gv)&&(e instanceof bv||"multiselect"===e.controlType)?super.getActions(e):[]}}class ON extends B.BaseActionsProvider{constructor(e,t,a=(()=>!1)){super(),this.selection=e,super.initActions([{text:"Insert Row Above",group:()=>(0,L.getLocalization)("Table Rows","ASPxReportsStringId.ReportDesigner_PageGroup_TableRows"),displayText:()=>(0,L.getLocalization)("Insert Row Above","ASPxReportsStringId.ReportDesigner_TableActions_InsertRowAbove"),imageClassName:"dxrd-image-actions-insert_row_above",imageTemplateName:"dxrd-svg-actions-insert_row_above",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertRowAbove()}},{text:"Insert Row Below",group:()=>(0,L.getLocalization)("Table Rows","ASPxReportsStringId.ReportDesigner_PageGroup_TableRows"),displayText:()=>(0,L.getLocalization)("Insert Row Below","ASPxReportsStringId.ReportDesigner_TableActions_InsertRowBelow"),imageClassName:"dxrd-image-actions-insert_row_below",imageTemplateName:"dxrd-svg-actions-insert_row_below",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertRowBelow()}},{text:"Delete Row",group:()=>(0,L.getLocalization)("Table Rows","ASPxReportsStringId.ReportDesigner_PageGroup_TableRows"),displayText:()=>(0,L.getLocalization)("Delete Row","ASPxReportsStringId.ReportDesigner_TableActions_DeleteRow"),imageClassName:"dxrd-image-actions-delete_row",imageTemplateName:"dxrd-svg-actions-delete_row",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.deleteRow()}}]),this.onComponentAdded=e=>{t&&t(e)}}get _row(){return this.selection.focused().getControlModel()}get _table(){return this._row.parentModel()}isDisabled(){const e=this.selection.focused();if(e){const t=e.getControlModel().root;return t&&t.language()!==Bu.defaultCulture}return!0}insertRowAbove(){this._table.insertRow(this._row,!0,this.onComponentAdded)}insertRowBelow(){this._table.insertRow(this._row,!1,this.onComponentAdded)}deleteRow(){(0,B.deleteSelection)(this.selection)}condition(e){return e instanceof Vy}}class XN extends ON{constructor(e,t,a=(()=>!1)){super(e),super.initActions([{text:"Row Above",group:()=>(0,B.getLocalization)("Insert","ReportStringId.Cmd_TableInsert"),displayText:()=>(0,B.getLocalization)("Row Above","ReportStringId.Cmd_TableInsertRowAbove"),imageClassName:"dxrd-image-actions-insert_row_above",imageTemplateName:"dxrd-svg-actions-insert_row_above",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertRowAbove()}},{text:"Row Below",group:()=>(0,B.getLocalization)("Insert","ReportStringId.Cmd_TableInsert"),displayText:()=>(0,B.getLocalization)("Row Below","ReportStringId.Cmd_TableInsertRowBelow"),imageClassName:"dxrd-image-actions-insert_row_below",imageTemplateName:"dxrd-svg-actions-insert_row_below",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertRowBelow()}},{text:"Column To Left",group:()=>(0,B.getLocalization)("Insert","ReportStringId.Cmd_TableInsert"),displayText:()=>(0,B.getLocalization)("Column To Left","ReportStringId.Cmd_TableInsertColumnToLeft"),imageClassName:"dxrd-image-actions-insert_column_to_left",imageTemplateName:"dxrd-svg-actions-insert_column_to_left",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertColumn(!1)}},{text:"Column To Right",group:()=>(0,B.getLocalization)("Insert","ReportStringId.Cmd_TableInsert"),displayText:()=>(0,B.getLocalization)("Column To Right","ReportStringId.Cmd_TableInsertColumnToRight"),imageClassName:"dxrd-image-actions-insert_column_to_right",imageTemplateName:"dxrd-svg-actions-insert_column_to_right",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertColumn(!0)}},{text:"Cell",group:()=>(0,B.getLocalization)("Insert","ReportStringId.Cmd_TableInsert"),displayText:()=>(0,B.getLocalization)("Cell","ReportStringId.Cmd_TableInsertCell"),imageClassName:"dxrd-image-actions-insert_cell",imageTemplateName:"dxrd-svg-actions-insert_cell",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.insertCell()}},{text:"Row",group:()=>(0,B.getLocalization)("Delete","ReportStringId.Cmd_TableDelete"),displayText:()=>(0,B.getLocalization)("Row","ReportStringId.Cmd_TableDeleteRow"),imageClassName:"dxrd-image-actions-delete_row",imageTemplateName:"dxrd-svg-actions-delete_row",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.deleteRow()}},{text:"Column",group:()=>(0,B.getLocalization)("Delete","ReportStringId.Cmd_TableDelete"),displayText:()=>(0,B.getLocalization)("Column","ReportStringId.Cmd_TableDeleteColumn"),imageClassName:"dxrd-image-actions-delete_column",imageTemplateName:"dxrd-svg-actions-delete_column",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.deleteColumn()}},{text:"Cell",group:()=>(0,B.getLocalization)("Delete","ReportStringId.Cmd_TableDelete"),displayText:()=>(0,B.getLocalization)("Cell","ReportStringId.Cmd_TableDeleteCell"),imageClassName:"dxrd-image-actions-delete_cell",imageTemplateName:"dxrd-svg-actions-delete_cell",disabled:A.pureComputed((()=>a())),clickAction:()=>{this.deleteCell()}}]),this.onComponentAdded=e=>{t&&t(e)}}get _cell(){return this.selection.focused().getControlModel()}get _row(){return this._cell.parentModel()}get _table(){return this._row.parentModel()}get _cellSurface(){const e=this.selection.focused();return e instanceof By&&e||null}insertCell(){this._row.insertCellCopy(this._cell,!1,this.onComponentAdded)}deleteCell(){(0,B.deleteSelection)(this.selection)}deleteRow(){this.selection.initialize(this._cellSurface.parent),(0,B.deleteSelection)(this.selection)}insertColumn(e){this._table.insertColumn(this._cell,e,this.onComponentAdded)}deleteColumn(){this._cellSurface.selectColumn(this.selection),(0,B.deleteSelection)(this.selection)}condition(e){return e instanceof Ry&&!!this._cellSurface}}class HN extends B.BaseActionsProvider{constructor(e){super(),this._selectionProvider=e,this._distributeColumnsAction={group:()=>(0,L.getLocalization)("Table Cells","ASPxReportsStringId.ReportDesigner_PageGroup_TableCells"),text:"Distribute Columns Evenly",displayText:()=>(0,L.getLocalization)("Distribute Columns Evenly","ReportStringId.Cmd_TableDistributeColumnsEvenly"),imageClassName:"dxrd-image-actions-distribute_columns_evenly",imageTemplateName:"dxrd-svg-actions-distribute_columns_evenly",clickAction:()=>{this._distributeColumns()}},this._distributeRowsAction={group:()=>(0,L.getLocalization)("Table Cells","ASPxReportsStringId.ReportDesigner_PageGroup_TableCells"),text:"Distribute Rows Evenly",displayText:()=>(0,L.getLocalization)("Distribute Rows Evenly","ReportStringId.Cmd_TableDistributeRowsEvenly"),imageClassName:"dxrd-image-actions-distribute_rows_evenly",imageTemplateName:"dxrd-svg-actions-distribute_rows_evenly",clickAction:()=>{this._distributeRows()}},super.initActions([this._distributeColumnsAction,this._distributeRowsAction]),this.setDisabled=e=>{const t={rows:!1,cols:!1},a=this._selectedCells();if(a.length){const e=a[0].parentModel(),i=e.cells().indexOf(a[0]);for(let r=1;r<a.length;r++){const o=a[r].parentModel();if(t.rows||o.name()===e.name()||(t.rows=!0),t.cols||o.cells().indexOf(a[r])==i||(t.cols=!0),t.rows&&t.cols)break}}this._distributeColumnsAction.disabled(!t.cols),this._distributeRowsAction.disabled(!t.rows)}}_distributeColumns(){const e=this._selectedCells().reduce(((e,t)=>{const a=t.parentModel().name();return e[a]?e[a].push(t):e[a]=[t],e}),{});Object.keys(e).forEach((t=>{const a=e[t];if(a.length>=2){const e=a.reduce(((e,t)=>e+t.weight()),0)/a.length;a.sort(((e,t)=>e.left()-t.left())).forEach((t=>{t.weight(e)}))}}))}_distributeRows(){const e=this._selectedCells().map((e=>e.parentModel())).reduce(((e,t)=>e.indexOf(t)>=0?e:e.concat(t)),[]);let t=e.reduce(((e,t)=>e+t.weight()),0)/e.length;e.forEach((e=>{e.weight(t)}));const a=Math.max(...[].concat(...e.map((e=>e.cells()))).map((t=>{let a=this._calculateMinimalHeight(t);const i=t.rowSpan();if(i>1){const r=t.parentModel(),o=r.parentModel(),s=o.rows.indexOf(r);let n=1;for(let t=1;t<i;t++){const i=o.rows()[s+t];if(!i)break;e.indexOf(i)>=0?n++:a-=i.size.height()}a/=n}return a}))),i=e[0].height();if(i<a){const r=e[0].parentModel();r.size.height(r.size.height()+(a-i)*e.length),t*=a/i,e.forEach((e=>{e.weight(t)}))}}_calculateMinimalHeight(e){return Math.max(this._calculateTextHeight(e)+this._calculateBordersHeight(e)+this._calculatePaddingsHeight(e),...e.controls().map((e=>e.location.y()+e.size.height())))}_calculateTextHeight(e){if(!e.text||!e.text())return 0;const t=A.unwrap(e.wordWrap),a=t?Math.max(1,e.width()-this._calculatePaddingsWidth(e))+"px":"auto",i=k.fn.constructor("<div>").css(k.extend({height:"auto",width:a,overflow:"hidden"},e.surface.cssCalculator.createFont(A.unwrap(e.font)),e.surface.cssCalculator.createWordWrap(t,e.multiline()))).html(e.text()).appendTo(k.fn.constructor("body"));try{return(0,B.pixelToUnits)(Math.ceil(i[0].getBoundingClientRect().height)+2,e.root.measureUnit(),1)}finally{i.remove()}}_calculateBordersHeight(e){const t=e.borders();let a;"All"==t?a=[!0,!0]:(a=[!1,!1],t.indexOf("Top")>=0&&(a[0]=!0),t.indexOf("Bottom")>=0&&(a[1]=!0));const i=e.parentModel();return 0!=i.parentModel().rows().indexOf(i)&&(a[0]=!1),a.filter((e=>e)).length*A.unwrap(e.borderWidth)}_isCellTextControl(e){return 0===e.surface.getChildrenCollection()().length}_calculatePaddingsHeight(e){return this._isCellTextControl(e)?e.paddingObj._get("top")+e.paddingObj._get("bottom"):0}_calculatePaddingsWidth(e){return this._isCellTextControl(e)?e.paddingObj._get("left")+e.paddingObj._get("right"):0}_selectedCells(){const e=[];return this._selectionProvider.selectedItems.map((e=>e.getControlModel())).forEach((t=>{switch(t.controlType){case"XRTableCell":e.push(t);break;case"XRTableRow":e.push(...t.cells());break;case"XRTable":t.rows().forEach((t=>e.push(...t.cells())))}})),e}condition(e){return this._selectionProvider.selectedItems.length>1&&this._selectionProvider.selectedItems.every((e=>["XRTableCell","XRTableRow"].indexOf(e.getControlModel().controlType)>=0))||1==this._selectionProvider.selectedItems.length&&["XRTable","XRTableRow"].indexOf(this._selectionProvider.selectedItems[0].getControlModel().controlType)>=0}}class WN extends B.BaseActionsProvider{constructor(e){super(),this._selectionProvider=e;const t=A.computed((()=>this._inaccessibleAction()));super.initActions([{text:"Fit Bounds To Text",displayText:()=>(0,L.getLocalization)("Fit Bounds To Text","ReportStringId.Cmd_FitBoundsToText"),imageClassName:"dxrd-image-actions-fit_bounds_to_text",imageTemplateName:"dxrd-svg-actions-fit_bounds_to_text",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),disabled:t,visible:A.pureComputed((()=>this._selectionProvider.selectedItems.every((e=>"XRLabel"===e.getControlModel().controlType||"XRCharacterComb"===e.getControlModel().controlType)))),clickAction:()=>{this._textControls.forEach((e=>e.fitBoundsToText()))}},{text:"Fit Text To Bounds",group:()=>(0,L.getLocalization)("Layout","ReportStringId.RibbonXRDesign_PageGroup_Layout"),displayText:()=>(0,L.getLocalization)("Fit Text To Bounds","ReportStringId.Cmd_FitTextToBounds"),imageClassName:"dxrd-image-actions-fit_text_to_bounds",imageTemplateName:"dxrd-svg-actions-fit_text_to_bounds",disabled:t,visible:A.pureComputed((()=>this._selectionProvider.selectedItems.every((e=>"XRLabel"===e.getControlModel().controlType||"XRTableCell"===e.getControlModel().controlType)))),clickAction:()=>{this._textControls.forEach((e=>e.fitTextToBounds()))}}]),this._disposables.push(t)}get _textControls(){return this._selectionProvider.selectedItems}_inaccessibleAction(){return!(!this._textControls||!this._textControls.some((e=>e.getText&&""===e.getText())))||!(!this._textControls||!this._textControls.every((e=>e.hasDataBindingByName&&e.hasDataBindingByName("Text"))))}condition(e){return e&&("XRLabel"===e.controlType||"XRTableCell"===e.controlType||"XRCharacterComb"===e.controlType||"multiselect"===e.controlType)}}class UN extends L.Disposable{constructor(e,t,a){super(),this.usedDataSources=A.observableArray(),this.allDataSources=A.observableArray(),this.usedDataSources.push({ref:"none",name:"none",specifics:"none",data:null,dataSerializer:null}),this._objects=e;for(let a=0;a<e().length;a++){const i=e()[a],r=i._model["@Ref"],o=t.filter((e=>e.ref===r))[0];if(o){const e={ref:r,data:i,name:o.name,isFederationDataSource:o.isFederationDataSource,isSqlDataSource:o.isSqlDataSource,isJsonDataSource:o.isJsonDataSource,isObjectDataSource:o.isObjectDataSource,isListType:o.isListType,isSupportQueries:o.isSupportQueries,dataSerializer:o.dataSerializer,hasParams:o.hasParams,hasErrors:o.hasErrors};i.dataSourceInfo=e,this._addUsedDataSource(e)}}const i=this;this._disposables.push(e.subscribe((e=>{for(let t=0;t<e.length;t++){if(!e[t].value.dataSourceInfo)return;if("added"===e[t].status)i._addUsedDataSource(e[t].value.dataSourceInfo);else if("deleted"===e[t].status){const a=i.findDataSourceInfo(e[t].value);a&&(this.usedDataSources.remove(a),this.allDataSources.remove(a))}}}),null,"arrayChange"));const r=new L.ModelSerializer;this.availableDataSources=(a||[]).map((e=>k.extend({},e,{data:Yb(e.data,(()=>this),r)}))),this.allDataSources.push.apply(this.allDataSources,this.availableDataSources)}dispose(){super.dispose(),this._objects=null,this.availableDataSources.splice(0),this.usedDataSources([]),this.allDataSources([])}getDataSourcePath(e){const t=e&&this.findDataSourceInfo(e);return t?t.id||t.ref:""}_findDataSourceInfo(e,t){return t().filter((t=>t.name===e))[0]}_getDataSourceInfo(e){let t=this._findDataSourceInfo(e,this.usedDataSources);if(!t){const a=this._findDataSourceInfo(e,this.allDataSources);a&&(t=this._addDataSource(a,a.data))}return t}_getDataSourceName(e){const t=this.findDataSourceInfo(e);return t&&t.name}_addUsedDataSource(e){this.usedDataSources.splice(this.usedDataSources().length-1,0,e),this.allDataSources.push(e)}_addDataSource(e,t,a){if(!e.name)throw new Error("dataSource name is undefined or null (ref="+e.ref+", id="+e.id+")");const i=a||this.getUniqueDataSourceName(e.name);let r=t;return-1===this._objects().indexOf(t)&&(r=this._cloneObjectItem(t),r.dataSourceInfo=k.extend({},e,{name:i,data:r}),r.name=A.observable(i),this._objects.push(r)),this.findDataSourceInfo(r)}_cloneObjectItem(e){const t=new L.ModelSerializer;let a;if(e instanceof Pb){a=e.getSerializableModel().serialize();const i=new Tb(null,a,e.dsHelperProvider,t),r=[];e.serializableSourceMap().forEach((e=>{const t=this.allDataSources().filter((t=>t.data===e.dataSource()))[0];if(t){const e=this.findDataSourceInfoByName(t.name)||this._addDataSource(t,t.data,t.name);r.push(e.data)}}));const o=i.dataSource.getSerializableModel();return o.dataSources(r),r.forEach(((e,t)=>{o.dataSource.serializableSourceMap()[t].dataSource(e)})),i.dispose(),o.dataSource}return a=t.serialize(e),Yb(a,e.dsHelperProvider,t)}getUniqueDataSourceName(e){return(0,B.getUniqueNameForNamedObjectsArray)(this.allDataSources(),(0,B.replaceInvalidSymbols)(e))}addDataSource(e){const t=e.data instanceof Db?e.data:Yb(e.data,(()=>this));return this._addDataSource(e,t).data}removeDataSource(e){this._objects.remove(e.data)}restoreDataSource(e){this._objects.push(e.data)}dataSourceValue(e,t){const a=A.pureComputed({read:()=>this._getDataSourceName(e()),write:a=>{const i=t&&t();i&&i.start();const r=this._getDataSourceInfo(a);UN._assignValueInTimeout?setTimeout((()=>{e(r&&r.data),i&&i.end()}),1):(e(r&&r.data),i&&i.end())}});return this._disposables.push(a),a}dataSourceDisplayExpr(e){return e&&e.data?e.name:(0,B.localizeNoneString)("none")}mergedDataSources(){const e=this.usedDataSources().slice(0,-1);for(let t=this.availableDataSources.length-1;t>=0;t--)(0,B.findFirstItemMatchesCondition)(e,(e=>e.name===this.availableDataSources[t].name))||e.unshift(this.availableDataSources[t]);return e}findDataSourceInfo(e){return this.usedDataSources().filter((t=>t.data===e))[0]}findDataSourceInfoByID(e){return this.usedDataSources().filter((t=>t.id===e))[0]}findDataSourceInfoByRef(e){return this.usedDataSources().filter((t=>t.ref===e))[0]}findDataSourceInfoByName(e){return this.usedDataSources().filter((t=>t.name===e))[0]}}function GN(e,t){e.isMultiSelected||e.isSelected||!e.toggleSelected||e.toggleSelected(e,t)}function jN(e){for(;e&&!e.dataSource&&!e.dataMember;)e=e.parentModel();return e.dataMember&&e.dataMember()}function qN(e,t){const a=t instanceof L.PathRequest?t.fullPath:t;if(0===a.indexOf(ry.ParametersRefString+".")){const e=a.split(".");return"?"+e[e.length-1]}let i=t instanceof L.PathRequest?t.path:t;const r=jN(e),o=r&&r+".";return i=o&&0===i.indexOf(o)?i.slice(o.length):i,"["+i+"]"}function JN(e,t){return t(e)?e:JN(e.parent,t)}function KN(e){const t=e&&e.getControlModel();return e?Q.Size.fromString(((t.pageWidth()-t.margins.left()-t.margins.right())/(e.dpi()/100)).toString()+", 23"):Q.Size.fromString("200, 23")}function QN(e,t,a){const i=e.createChild(k.extend({"@ControlType":"XRPictureBox"},Op().controlsMap.XRPictureBox.defaultVal));if(a===nv.Bindings){i.dataBindings().findBinding("ImageSource").dataMember(t)}else{i.expressionObj.getExpression("ImageSource","BeforePrint").value(qN(e,t))}return i}UN.defaultReportExtensionKey="DataSerializationExtension",UN._assignValueInTimeout=!0;const YN=e=>e instanceof jv||e instanceof Jv;function ZN(e,t){return t.createChild(k.extend({"@ControlType":e},Op().controlsMap[e].defaultVal))}function eE(e,t,a,i,r){if(r===nv.Bindings){const t=e.dataBindings().findBinding(a);-1===i.path.indexOf("Parameters.")?t.dataMember(new L.PathRequest(i.path).path):(t.dataMember(i.data.name),t.parameter(i.data))}else{e.expressionObj.getExpression(a,"BeforePrint").value(qN(t,new L.PathRequest(i.path)))}return e}function tE(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function aE(e){"XRTable"===e.controlType&&e.rows().forEach((e=>e.cells().forEach((e=>aE(e))))),e.canGrow&&e.canGrow()&&e.canGrow(!1)}function iE(e,t){t instanceof qv&&aE(e)}function rE(e,t,a,i,r,o=!1){a.start();const s=(0,B.findFirstItemMatchesCondition)(e.usedDataSources.peek(),(e=>!!e.dataSerializer&&e.dataSerializer!==r.dataSerializer)),n=e.addDataSource(r);if(!s&&r.dataSerializer){t.extensions.peek().forEach(((e,a)=>{e.key.peek()===UN.defaultReportExtensionKey&&t.extensions.splice(a,1)}));const e=new gh({});e.key=A.observable(UN.defaultReportExtensionKey),e.value=A.observable(r.dataSerializer),t.extensions.push(e)}!o&&t.dataSource()||(t.dataSource(n),i.getItems(new L.PathRequest(r.id||r.ref)).done((e=>{const a=e.filter((e=>tE(e)));0===e.length||oE(e)?t.dataMember(""):(0,B.find)(a,(e=>e.name===t.dataMember()))||t.dataMember(a[0].name)}))),a.end()}function oE(e){return e.some((e=>!tE(e)||e.specifics===mC.defaultObjectDataSourceItemSpecifics))}function sE(e,t,a,i){a().start(),e.removeDataSource(i),t()===i.data&&t(e.findDataSourceInfoByRef("none").data),a().end()}class nE{static fieldListCallback(e){const t=JSON.stringify(e),a=encodeURIComponent(t);return(0,B.ajax)(Wp(),"fieldList",a)}static getCustomQueriesPreset(e){return k.Deferred().resolve([]).promise()}static getWizardSqlDataConnections(){return(0,B.ajax)(Wp(),"getWizardSqlDataConnections",encodeURIComponent(""))}static getWizardJsonDataConnections(){return(0,B.ajax)(Wp(),"getWizardJsonDataConnections",encodeURIComponent(""))}static sqlDataSourceFromBase64(e){return(0,B.ajax)(Wp(),"dataSourceFromBase64",encodeURIComponent(e))}static sqlRebuildResultSchema(e){return(0,B.ajax)(Wp(),"sqlRebuildResultSchema",encodeURIComponent(e))}static getSqlDataSourceBase64(e){return(0,B.ajax)(Wp(),"getDataSourceBase64",encodeURIComponent(JSON.stringify({sqlDataSourceJSON:JSON.stringify({SqlDataSource:(new L.ModelSerializer).serialize(e)})})))}static federationDataSourceFromBase64(e,t){return(0,B.ajax)(Wp(),"federationDataSourceFromBase64",encodeURIComponent(JSON.stringify({base64:e,dataSources:t})))}static federationRebuildResultSchema(e,t){return(0,B.ajax)(Wp(),"federationRebuildResultSchema",encodeURIComponent(JSON.stringify({base64:e,dataSources:t})))}static getFederationDataSourceBase64(e,t){return(0,B.ajax)(Wp(),"getFederationDataSourceBase64",encodeURIComponent(JSON.stringify({federationDataSourceJSON:JSON.stringify({FederationDataSource:(new L.ModelSerializer).serialize(e)}),dataSources:t})))}static getJsonDataSourceBase64(e){return(0,B.ajax)(Wp(),"getJsonDataSourceBase64",encodeURIComponent(JSON.stringify({jsonDataSourceJSON:JSON.stringify({JsonDataSource:(new L.ModelSerializer).serialize(e)})})))}static getObjectDataSourceBase64(e){return(0,B.ajax)(Wp(),"getObjectDataSourceBase64",encodeURIComponent(JSON.stringify(e)))}static editObjectDataSourceParameters(e,t){return(0,B.ajax)(Wp(),"editObjectDataSourceParameters",encodeURIComponent(JSON.stringify({objectDataSourceModel:e,base64:t})))}static objectDataSourceFromBase64(e){return(0,B.ajax)(Wp(),"objectDataSourceFromBase64",encodeURIComponent(e))}static jsonDataSourceFromBase64(e){return(0,B.ajax)(Wp(),"jsonDataSourceFromBase64",encodeURIComponent(JSON.stringify({base64:e})))}}const lE=(0,B.createGlobalModuleVariableFunc)(new fN.RequestWrapper),dE=DevExpress.QueryBuilder.Widgets.Internal;class cE{constructor(e,t,a,i,r,o,s){this._dsHelper=e,this._wizard=t,this._reportViewModel=a,this._undoEngine=i,this._itemsProvider=r,this._callbacks=o,this._rtl=s}_findDataSource(e){return this._dsHelper().usedDataSources().filter((t=>t.id===e||t.ref===e))[0]}static _onFail(e,t){(0,B.getErrorMessage)(e)&&(0,B.ShowMessage)((0,B.getErrorMessage)(e)),t.reject(e)}}class pE extends yN.DataSourceWizardPageIterator{getNextPageId(e){return e?super.getNextPageId(e):yN.SqlDataSourceWizardPageId.ConfigureQueryPage}}class uE extends cE{constructor(){super(...arguments),this.relationsEditor=A.observable(),this.addAction={clickAction:e=>{this.addSqlQuery(e.data.name)},imageClassName:"dxrd-image-add-query",imageTemplateName:"dxrd-svg-operations-add_query",text:(0,L.getLocalization)("Add query","AnalyticsCoreStringId.SqlDSWizard_AddQuery")},this.editAction={clickAction:e=>{this.editSqlQuery(new L.PathRequest(e.path).id,e.name)},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,L.getLocalization)("Edit query","AnalyticsCoreStringId.SqlDSWizard_EditQuery")},this.removeAction={clickAction:e=>{this.removeSqlQuery(new L.PathRequest(e.path).id,e.name)},position:50,imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",text:(0,L.getLocalization)("Remove query","AnalyticsCoreStringId.SqlDSWizard_RemoveQuery")},this.editRelationsAction={clickAction:e=>{this.editMasterDetailRelations(e.data.name)},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,L.getLocalization)("Edit Master-Detail Relations","ASPxReportsStringId.ReportDesigner_FieldListActions_EditMasterDetailRelations")}}_applyWizardChanges(e,t,a,i){return this._applyDataSourceChange(t,e,a,i)}_createOrEditSqlDataSource(e,t,a){return(0,B.ajax)(Wp(),a,encodeURIComponent(e)).done((e=>{e.dataSource.data=JSON.parse(e.dataSource.data),e.dataSource.isSqlDataSource=!0,t?t.data.base64(e.dataSource.data["@Base64"]):rE(this._dsHelper(),this._reportViewModel(),this._undoEngine(),this._itemsProvider(),e.dataSource)})).fail((e=>{(0,B.getErrorMessage)(e)&&(0,B.ShowMessage)((0,B.getErrorMessage)(e))}))}_applyDataSourceChange(e,t,a,i){var r,o;return uE.createSqlDataSourceInfo(e,a,i,(null===(r=this._callbacks)||void 0===r?void 0:r.getParameters)&&(null===(o=this._callbacks)||void 0===o?void 0:o.getParameters())).done((e=>{t?t.data.base64(e.base64()):rE(this._dsHelper(),this._reportViewModel(),this._undoEngine(),this._itemsProvider(),e)}))}editSqlQuery(e,t){const a=this._findDataSource(e);nE.sqlDataSourceFromBase64(a.data.base64()).done((e=>{const i=new ub.SqlDataSource(JSON.parse(e.sqlDataSourceJSON),void 0,lE());i.name(a.name),this._wizard.initialize({dataSourceType:yN.DataSourceType.Sql,sqlDataSourceWizard:{name:i.connection.name(),queryName:t,sqlDataSourceJSON:JSON.stringify((new L.ModelSerializer).serialize(i))}},((e,t)=>new pE(e,t,this._wizard._wizardOptions))),this._wizard.start(),this._wizard.isVisible(!0)}))}addSqlQuery(e){this.editSqlQuery(e,null)}removeSqlQuery(e,t){const a=this._findDataSource(e);nE.sqlDataSourceFromBase64(a.data.base64()).done((e=>{const i=new ub.SqlDataSource(JSON.parse(e.sqlDataSourceJSON));i.queries.remove((e=>e.name()===t)),this._applyWizardChanges(a,i,t)}))}editMasterDetailRelations(e){const t=this._findDataSource(e);nE.sqlDataSourceFromBase64(t.data.base64()).done((e=>{const a=new ub.SqlDataSource(JSON.parse(e.sqlDataSourceJSON));a.queries().length<2?(0,B.ShowMessage)((0,L.getLocalization)("At least two queries are required to create a master-detail relation.","DataAccessUIStringId.MessageLessThanTwoQueries"),"warning",1e4):(this.relationsEditor(new dE.MasterDetailEditor(a.relations,a.resultSet,(()=>this._applyWizardChanges(t,a,"",!0)))),this.relationsEditor().popupVisible(!0))}))}applySqlDataSourceWizardChanges(e){const t=(0,yN._restoreSqlDataSourceFromState)(e.sqlDataSourceWizard,lE(),e.dataSourceId),a=this._dsHelper().findDataSourceInfoByName(t.sqlDataSource.name());return this._applyDataSourceChange(t.sqlDataSource,a,t.sqlQuery&&t.sqlQuery.name())}static rebuildResultSchema(e,t,a,i){return lE().rebuildResultSchema(e,t,a,i).done((t=>{const a=JSON.parse(t.resultSchemaJSON);e.resultSet=a?new ub.ResultSet(a):null,t.connectionParameters&&(e.connection.parameteres((e=>{try{return JSON.parse(e).Parameters||e}catch(t){return e}})(t.connectionParameters)),e.connection.fromAppConfig(!1))}))}static createSqlDataSourceInfo(e,t,a,i){const r=k.Deferred();return uE.rebuildResultSchema(e,t,a,i).done((t=>{nE.getSqlDataSourceBase64(e).done((t=>{r.resolve({name:"sqlDataSource",id:e.id,data:{"@ObjectType":"DevExpress.DataAccess.Sql.SqlDataSource","@Base64":t},isListType:!1,isSupportQueries:!0,isSqlDataSource:!0,base64:()=>t})})).fail((e=>{uE._onFail(e,r)}))})).fail((e=>{uE._onFail(e,r)})),r.promise()}getActions(e){const t=[];return e.data?(!0===e.data.canAddSqlQuery&&(t.push(this.addAction),t.push(this.editRelationsAction)),!0===e.data.canEditQuery&&(t.push(this.editAction),t.push(this.removeAction)),t):t}}class mE extends yN.DataSourceWizardPageIterator{getNextPageId(e){return e?super.getNextPageId(e):yN.JsonDataSourceWizardPageId.ChooseJsonSchemaPage}}class hE extends cE{constructor(){super(...arguments),this.editSchemaAction={clickAction:e=>{this.editSchema(new L.PathRequest(e.path).id)},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,L.getLocalization)("Edit Schema...","DataAccessUIStringId.JsonDataSourceDesignerVerbEditSchema")}}_applyDataSourceChange(e,t){return hE.createJsonDataSourceInfo(e).done((e=>{t?t.data.base64(e.base64()):rE(this._dsHelper(),this._reportViewModel(),this._undoEngine(),this._itemsProvider(),e)}))}editSchema(e){const t=this._findDataSource(e);nE.jsonDataSourceFromBase64(t.data.base64()).done((e=>{const a=new ub.JsonDataSource(JSON.parse(e.jsonDataSourceJSON),void 0,lE());a.name(t.name);const i=(new L.ModelSerializer).serialize(a),r=e=>{e.state.dataSourceType=yN.DataSourceType.Json};this._wizard.events.addHandler("beforeInitialize",r),this._wizard.initialize((0,yN._createDefaultDataSourceWizardState)(void 0,{connectionName:a.connectionName(),dataSourceName:i["@Name"],jsonScheme:JSON.stringify(i.Schema),jsonSource:JSON.stringify(i.Source),rootElement:i["@RootElement"]}),((e,t)=>new mE(e,t,this._wizard._wizardOptions))),this._wizard.events.removeHandler("beforeInitialize",r),this._wizard.start(),this._wizard.isVisible(!0)}))}applyDataSourceWizardChanges(e){const t=(0,yN._restoreJsonDataSourceFromState)(e.jsonDataSourceWizard,void 0,e.dataSourceId),a=t&&this._dsHelper().findDataSourceInfoByName(t.name());return this._applyDataSourceChange(t,a)}saveJsonSource(e,t){const a=e.jsonDataSourceWizard,i=(0,yN._restoreJsonDataSourceFromState)(a),r=k.Deferred();return lE().saveJsonSource(e.jsonDataSourceWizard.newConnectionName,i).done((i=>{t.json().every((e=>e.name!==a.newConnectionName))&&t.json.push({name:a.newConnectionName,description:a.newConnectionName}),a.connectionName=i,a.jsonSource=null,this.applyDataSourceWizardChanges(e).done((e=>{r.resolve(e)})).fail((()=>r.reject()))})).fail((e=>{hE._onFail(e,r)})),r.promise()}static createJsonDataSourceInfo(e){const t=k.Deferred();return nE.getJsonDataSourceBase64(e).done((a=>{t.resolve({name:"jsonDataSource",id:e.id,data:{"@ObjectType":"DevExpress.DataAccess.Json.JsonDataSource","@Base64":a.base64},isJsonDataSource:!0,isSupportQueries:a.isSupportQueries,isListType:a.isListType,base64:()=>a.base64})})).fail((e=>{hE._onFail(e,t)})),t.promise()}getActions(e){const t=[];return e.data?(!0===e.data.isJsonDataSource&&t.push(this.editSchemaAction),t):t}}const gE=(e,t,a,i,r,o)=>{const s=A.observable(!1);let n;const l=A.observable(null);let d=[],c=[];d.push(s.subscribe((t=>{if(t)l().designTime(!0),e.undoEngine().start();else{c.forEach((e=>e.dispose())),c=[],e.undoEngine().end();const t=n();if(p.options.data.chart(null),t){const t=e.undoEngine();t.undo(),t.redoEnabled(!1),t._observers.pop()}l().designTime(!1),l(null)}})));const p={dispose:()=>{c.forEach((e=>e.dispose())),d.forEach((e=>e.dispose())),c=[],d=[]},options:null,visible:s,buttons:[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("OK","PivotGridStringId.FilterOk"),type:"default",stylingMode:"contained",onClick:()=>{n(!1),s(!1)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Cancel","AnalyticsCoreStringId.SearchDialog_Cancel"),type:"normal",stylingMode:"contained",onClick:()=>{s(!1)}}}],run:d=>{const u=d._control;l(d),p.options?p.options.data.chart(u.chartModel):p.options={callbacks:{customizeActions:function(e){for(let t=0;t<e.length;t++)e[t].id===bN.ActionId.Undo||e[t].id===bN.ActionId.Redo||(e[t].visible=!1),e[t].hasSeparator=!1},init:function(o){c.push(n=A.computed({read:()=>o.undoEngine().isDirty(),write:e=>{o.undoEngine().isDirty(e)}})),o.displayNameProvider=e.displayNameProvider,o.dataSourceHelper=t,c.push(o.reportParameters=A.computed((()=>i().parameters()))),c.push(o.reportDataSource=A.computed((()=>t().findDataSourceInfo(a()&&a().dataSource())))),o.reportDataBindingsProvider=r,c.push(s.subscribe((e=>{e&&o.updateSurfaceSize()})))}},data:{chart:A.observable(u.chartModel),availableChartDataSources:e.chartDataSources,width:500,height:500},accessibilityProvider:o,visible:s,rtl:e.rtl,fieldListProvider:e.dataBindingsProvider},p.visible(!0)},container:e=>(0,B.getParentContainer)(e,".dx-designer")};return p};class xE extends L.Disposable{constructor(e){super(),this.getControls=t=>e()&&e().getControls(t),this.getControlByName=t=>e()&&e().getControlByName(t),this._disposables.push(this.allControls=A.computed((()=>e()&&e().allControls()||[])))}}class vE{constructor(e,t){this._dataBindingMode=e,this._size=t,this._getItemsFromList=(e,t)=>{const a=k.Deferred();return e.getItems().done((e=>{const i=e.filter((e=>!tE(e.data)));t.push.apply(t,i),a.resolve()})),a.promise()}}_createTable(e,t){if(0===t.length)return null;const a=this._size?[this._size.width(),this._size.height()].join(","):"200, 23",i=e.getControlFactory().createControl({"@ControlType":"XRTable","@SizeF":a},e),r=i.createChild({"@ControlType":"XRTableRow","@Weight":"1"});return t.forEach((e=>{const t=ZN("XRTableCell",r);if("Array"!==e.data.specifics)eE(t,r,"Text",e,this._dataBindingMode);else{const a=e.data instanceof ry?e.path:new L.PathRequest(e.path).path;t.addChild(QN(t,a,this._dataBindingMode))}})),i}_getFirstLevelItems(e){const t=k.Deferred(),a=[],i=[];for(let t=0;t<e.length;t++)tE(e[t].data)?a.push(this._getItemsFromList(e[t],i)):i.push.apply(i,[e[t]]);return k.when.apply(k,a).done((()=>{t.resolve(i)})),t.promise()}createTableFromListSource(e,t){const a=k.Deferred();return e.getModel().getItems().done((e=>{0===e.length&&a.resolve(null);const i=e.filter((e=>!tE(e.data)));if(1===i.length){const e=(bE[i.specifics]||bE.Default).drop(i[0].getViewModel(),t,this._dataBindingMode);a.resolve(e)}else i.length>1?a.resolve(this._createTable(t,i)):this.createTableFromItems(e,t).done((e=>a.resolve(e)))})),a.promise()}createTableFromItems(e,t){const a=k.Deferred();return this._getFirstLevelItems(e).done((e=>a.resolve(this._createTable(t,e)))),a.promise()}}const fE={List:{drop:(e,t,a,i)=>{const r=new vE(a,i);return"ListSource"===e.data.specifics?r.createTableFromListSource(e,t):r.createTableFromItems([e.getModel()],t)},size:KN,adjustDropTarget:e=>{if(e instanceof $y)return e;const t=JN(e,YN);return t.underCursor().x=0,t}},MultiList:{drop:(e,t,a,i)=>new vE(a,i).createTableFromItems(e.getSelectedItems(),t),size:KN,adjustDropTarget:e=>{if(e instanceof $y)return e;const t=JN(e,YN);return t.underCursor().x=0,t}}},bE=Object.assign({Array:{drop:(e,t,a)=>QN(t,new L.PathRequest(e.path).path,a),size:e=>Q.Size.fromString("100, 100")},Bool:{drop:(e,t,a)=>{const i=ZN("XRCheckBox",t);return eE(i,t,"CheckBoxState",e.getModel(),a),i.text(e.data.displayName),i},size:e=>Q.Size.fromString("100, 23")},Default:{drop:(e,t,a)=>{const i=ZN("XRLabel",t);return eE(i,t,"Text",e.getModel(),a),i},size:e=>Q.Size.fromString("100, 23")}},fE);class yE extends B.DragDropHandler{constructor(e,t,a,i,r,o,s,n){super(t,a,i,r,o),this._canAddItems=e,this._undoEngine=i,this._dataSources=s,this._getKey=e=>e.data.isList||e.isMultiSelected?"List":e.data.specifics,this._isIcon=!1,this._disposables.push(this.dataBindingMode=A.computed((()=>t()&&t()._control.dataBindingMode||nv.Expressions))),this.cursor="arrow",this.onComponentAdded=e=>{n&&n(e)},this.containment=".dxrd-designer",this.cursorAt={top:0,left:0},this.helper=(e,t)=>{super.helper(e);const a=e;GN(a,t),this._setDragHelperContent(bE,this._getKey(a))}}_setDragHelperContent(e,t){const a=(e[t]||e.Default).size(this.surface());this.recalculateSize(a),this.dragHelperContent.reset(),this.dragHelperContent.setContent(new Q.Rectangle(0,0,this._size.width(),this._size.height()))}_getDropTarget(e){return e&&e.adjustDropTarget&&e.adjustDropTarget(this.selection.dropTarget)||this.selection.dropTarget}_needToChangeHelperContent(e,t){return e&&e.className===t}_updateInnerControlSize(e){if(!e.rows)return;const t=e.rows()[0].cells();let a=[];if(t.forEach((e=>{a=a.concat(e.controls())})),0===a.length)return;const i=t[0].width(),r=t[0].height();a.forEach((e=>{e.size.width(i),e.size.height(r)}))}_addControl(e,t){if(!e)return;this._undoEngine().start(),this.addControl(e,t,this._size),this._updateInnerControlSize(e),this._undoEngine().end();const a=t.getControlModel();iE(e,a),this.onComponentAdded({parent:a,model:e})}_isDefaultBindingAssigned(e,t){if(e.hasDefaultBindingProperty&&!tE(t.data)){if(this.dataBindingMode()===nv.Bindings){e.getDefaultBinding().updateBinding(t.path,this._dataSources.peek())}else{e.getDefaultBinding().value(qN(e,new L.PathRequest(t.path)))}return!0}return!1}canDrop(e,t,a){return super.canDrop(e,t,a)&&(this._canAddItems()||this._isIcon)}drag(e,t,a){if(this._isIcon=!1,this._snapDisabled=!1,this.selection.dropTarget){const e=this._getKey(a),t=this._getDropTarget(bE[e]),i=t.getControlModel(),r="dxrd-image-ghost-bounded",o=this.dragHelperContent.controls()[0];if(i.hasDefaultBindingProperty&&!tE(a.data)||t.dragCallback){if(!this._needToChangeHelperContent(o,r)){const e=new Q.Rectangle(12,12,12,12);e.className=r,this._size.width(12),this._size.height(12),this.dragHelperContent.reset(),this.dragHelperContent.setContent(e)}t.dragCallback&&t.dragCallback(a),this.snapHelper.deactivateSnapLines(),this._snapDisabled=!0,this._isIcon=!0}else this._needToChangeHelperContent(o,r)&&this._setDragHelperContent(bE,e)}super.drag(e,t,a)}doStopDrag(e,t,a){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){if(this.selection.dropTarget instanceof $y)return;const a=this._getAbsoluteSurfacePosition(e);this.selection.dropTarget.underCursor().x=a.left-this.selection.dropTarget.absolutePosition.x(),this.selection.dropTarget.underCursor().y=a.top-this.selection.dropTarget.absolutePosition.y();const i=t,r=i.data.isList?"List":i.data.specifics;if(this.surface().isFit&&this.surface().isFit(this.selection.dropTarget)||this.selection.dropTarget.underCursor().isOver){let e=this._getDropTarget(bE[r]);const t=e.getControlModel(),a=i.getSelectedItems().length>1;if(!a&&this._isDefaultBindingAssigned(t,i))return;if(e.dropCallback)return void e.dropCallback(i);if(e=t.getMetaData().isContainer?e:e.parent,!e.canDrop())return;if(!a&&!tE(i.data)){const t=(bE[r]||bE.Default).drop(i,e.getControlModel(),this.dataBindingMode());return void this._addControl(t,e)}fE[a?"MultiList":r].drop(i,e.getControlModel(),this.dataBindingMode(),fE[a?"MultiList":r].size(this.surface())).done((t=>{this._addControl(t,e)}))}}}}class SE extends B.DragDropHandler{constructor(e,t,a,i,r){super(t,a,i,null,r),this._canAddItems=e,this.undoEngine=i,this._lastList=null,this._timeout=null,this.cursor="arrow",this.alwaysAlt=!0,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}drag(e,t){let a=this.selection&&this.selection.dropTarget&&this.selection.dropTarget.locked;if(this.reportControlsDragDropHelper.started){const t=e.toElement||A.dataFor(e.relatedTarget)&&e.relatedTarget||e&&e.target||null;t&&this.reportControlsDragDropHelper.setNewDropTarget(A.dataFor(t),t,e.pageY);const i=this.reportControlsDragDropHelper._target;i&&i.hasItems&&i.collapsed?this._lastList!==i&&(this._timeout&&clearTimeout(this._timeout),this._lastList=i,this._timeout=setTimeout((()=>{this._lastList.collapsed&&this._lastList.toggleCollapsed()}),500)):(this._lastList=null,this._timeout&&clearTimeout(this._timeout)),a=a||!this._canAddItems()}this.dragHelperContent.isLocked(a)}}function CE(e,t){const a=e.replace(/[^A-Za-z0-9\+\/]/g,""),i=a.length,r=t?Math.ceil((3*i+1>>>2)/t)*t:3*i+1>>>2,o=new Uint8Array(r);for(let e,t,n=0,l=0,d=0;d<i;d++)if(t=3&d,n|=((s=a.charCodeAt(d))>64&&s<91?s-65:s>96&&s<123?s-71:s>47&&s<58?s+4:43===s?62:47===s?63:0)<<18-6*t,3===t||i-d==1){for(e=0;e<3&&l<r;e++,l++)o[l]=n>>>(16>>>e&24)&255;n=0}var s;return o}function DE(e,t){try{t(btoa(String.fromCharCode.apply(null,new Uint16Array(CE(e,2).buffer))))}catch(a){!function(e,t){const a=new Blob([new Uint16Array(e)]),i=new FileReader;i.onload=function(e){t(btoa(e.target.result))},i.readAsText(a,"UTF-16")}(CE(e,2).buffer,t)}}function _E(e,t){null==e?t(void 0):0===atob(e).indexOf("{\\rtf1")?t(e):DE(e,t)}function IE(e,t){return Gv.isReorderingBand(e.getControlModel())&&Gv.isReorderingBand(t)&&e.getControlModel().controlType===t.controlType&&e.getControlModel().parentModel()===t.parentModel()}function PE(e){return"TopMarginBand"===e.controlType||"BottomMarginBand"===e.controlType}function TE(e){return"PageHeaderBand"===e.controlType||"PageFooterBand"===e.controlType}const zE=G.availableFonts;class NE extends G.ReorderTreeListDragDropHelper{constructor(){super(...arguments),this._orderingAreaHeight=8}_isInTopOrderArea(e,t){return t<e.offset().top+this._orderingAreaHeight}_isInBottomOrderArea(e,t){return t>e.offset().top+e.height()-this._orderingAreaHeight}_getDroppableClassName(e,t){return this.droppableClassName}_shouldCheckAreas(){return!0}setNewDropTarget(e,t,a){this.drag(e,t);const i=k.fn.constructor(this._targetElement);if(i&&i.length){let e,t;a&&this._shouldCheckAreas()&&(e=this._isInTopOrderArea(i,a),t=this._isInBottomOrderArea(i,a)),i.addClass(this._getDroppableClassName(e,t))}}}class EE extends NE{constructor(e,t){super(e),this._dragHelperContent=e,this._undoEngine=t,this._isTargetContainer=!1,this._tableControlTypes=["XRTableCell","XRTableRow"],this._restrictedTargets=["XRCrossTabCell","XRCrossTab"]}_canReorder(e,t){const a=this._getElementViewModel(e);return Gv.isReorderingBand(this._draggableModel)&&Gv.isReorderingBand(a)?IE(this._draggableModel.surface,a):e.data.specifics===t.specifics||this._draggableModel.getMetaData().canDrop(a.surface,this._draggableModel)&&!a.getMetaData().isContainer&&!(a instanceof Ly)}_canInsertToTarget(e){const t=e.getMetaData().isContainer||e instanceof Ly;return(-1!==this._tableControlTypes.indexOf(this._draggableModel.controlType)||"XRTable"!==e.controlType&&"XRTableRow"!==e.controlType)&&(t&&e.surface&&e.surface.canDrop()&&this._draggableModel.getMetaData().canDrop(e.surface,this._draggableModel))}_targetIsClosestOfDraggable(e,t){return e===t||e.parent&&this._targetIsClosestOfDraggable(e.parent,t)}_canDrop(e,t){return!(!(e instanceof G.TreeListItemViewModel&&e.data&&e.data.data instanceof Q.ElementViewModel)||-1!==this._restrictedTargets.indexOf(t.controlType))&&(this._draggableParent!==this._targetModel&&!this._targetIsClosestOfDraggable(this._target,this._draggable)&&(this._canReorder(e,this._draggable.data)||this._canInsertToTarget(t)))}_insertTableChildren(e,t,a,i=null){let r,o=0;return"XRTableRow"===t["@ControlType"]?(r=new Vy(t,e),o=r.height.peek()):"XRTableCell"===t["@ControlType"]&&(r=new Ry(t,e)),e.addChild(r,a),i&&(i.splice(a,0,parseFloat(t["@Weight"])),i.forEach(((t,a)=>{e.cells()[a].weight(t)}))),o&&e.size.height(e.size.height()+o),r.surface}_shouldCheckAreas(){return this._isTargetContainer="DetailReportBand"===this._draggableModel.controlType,this._isTargetContainer}_getDroppableClassName(e,t){let a=this.droppableClassName;const i=this._getElementViewModel(this._target);if(this._canDrop(this._target,i)&&(!this._dragHelperContent||!this._dragHelperContent.isLocked())){const i=this._canReorder(this._target,this._draggable.data),r=i&&this.isDragToBottom();a=a+" "+this.approveClassName,i&&"DetailReportBand"!==this._draggableModel.controlType?(a=a+" "+this.getDroppablePosition(),this._isTargetContainer=!1):i&&r&&t?(a=[a,this.classDropAfter].join(" "),this._isTargetContainer=!1):i&&!r&&e&&(a=a+" "+this.classDropBefore,this._isTargetContainer=!1)}return a}_reorderBands(e){this._isTargetContainer?e.addChild(this._draggableModel):(this._undoEngine&&this._undoEngine.start(),this._draggableModel.level(e.level()),this._undoEngine&&this._undoEngine.end())}_reorderTableControls(e,t,a){const i=t&&t().slice(0),r=this._serializer.serialize(this._draggableModel);let o;return"XRTableCell"===this._draggableModel.controlType&&(o=i.filter((e=>e.name.peek()!==this._draggableModel.name.peek())).map((e=>e.weight.peek()))),this._insertTableChildren(e.parentModel(),r,t.indexOf(e)+a,o)}_changeControlParent(e){const t=e.surface.rect(),a=this._draggableModel.surface.rect(),i={};t.width<a.left+a.width&&(i.left=t.width-a.width,i.left=i.left>0?i.left:0),t.height<a.top+a.height&&(i.top=t.height-a.height,i.top=i.top>0?i.top:0),this._draggableModel.surface.rect(i),e.addChild(this._draggableModel)}start(e){super.start(e),this._serializer=new L.ModelSerializer,this._draggableParent=this._draggableModel.parentModel()}getSiblings(){const e=this._draggable.data.name.split(".")[0];return(this._targetModel.parentModel()||this._targetModel)[e]}stop(){if(super.stop(),!this._target||!this._targetModel||!this._canDrop(this._target,this._targetModel))return this._draggableModel.surface;const e=this._canReorder(this._target,this._draggable.data),t=Gv.isReorderingBand(this._draggableModel),a=this.isDragToBottom();if(t&&!this._isTargetContainer||this._draggableParent.removeChild(this._draggableModel),e)t?this._reorderBands(this._targetModel):-1!==this._tableControlTypes.indexOf(this._draggableModel.controlType)?this._reorderTableControls(this._targetModel,this.getSiblings(),a):this.reorderSiblings(a);else{if(this._targetModel instanceof ky||this._targetModel instanceof Vy){const e=this._serializer.serialize(this._draggableModel);return this._insertTableChildren(this._targetModel,e,0)}this._changeControlParent(this._targetModel)}return this._draggableModel.surface}}class wE extends SE{constructor(e,t,a,i,r){super(e,t,a,i,r),this._isStyle=e=>e.data&&"stylemodel"===e.data.specifics,this._isFormatingRule=e=>e.data&&"formattingrule"===e.data.specifics,this._isReportControl=e=>!this._isStyle(e)&&!this._isFormatingRule(e),this.cursor="arrow",this.alwaysAlt=!0,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0},this.reportControlsDragDropHelper=new EE(this.dragHelperContent,this.undoEngine&&this.undoEngine()),this.helper=(e,t)=>{const a=e;if(GN(a,t),this._isReportControl(a))this.reportControlsDragDropHelper.helper(e,t);else{const e=new Q.Rectangle(12,12,12,12);let t="";this._isStyle(a)?(e.className="dxrd-image-ghost-stylemodel",t="dxrd-svg-reportexplorer-style"):this._isFormatingRule(a)&&(e.className="dxrd-image-ghost-formattingrule",t="dxrd-svg-reportexplorer-formatting_rule"),this.dragHelperContent.reset(),r.setContent(e,t?{template:t}:null),this._size.width(12),this._size.height(12)}}}dispose(){super.dispose(),this.reportControlsDragDropHelper.dispose()}startDrag(e){this._isReportControl(e)&&this.reportControlsDragDropHelper.start(e),super.startDrag(e)}doStopDrag(e,t,a){if(this.reportControlsDragDropHelper.started&&this.reportControlsDragDropHelper.clearDroppableClasses(),this.dragHelperContent.reset(),!this.dragHelperContent.isLocked())if(this.reportControlsDragDropHelper.started)this.selection.initialize(this.reportControlsDragDropHelper.stop());else if(this.selection.dropTarget&&!this.selection.dropTarget.locked){if(this.selection.dropTarget instanceof $y)return;const a=this._getAbsoluteSurfacePosition(e);if(this.selection.dropTarget.underCursor().x=a.left-this.selection.dropTarget.absolutePosition.x(),this.selection.dropTarget.underCursor().y=a.top-this.selection.dropTarget.absolutePosition.y(),!t||!t.data)return;(this.surface().isFit&&this.surface().isFit(this.selection.dropTarget)||this.selection.dropTarget.underCursor().isOver)&&("stylemodel"===t.data.specifics?this.selection.dropTarget.getControlModel().styleName&&this.selection.dropTarget.getControlModel().styleName(t.data.displayName):"formattingrule"===t.data.specifics&&this.selection.dropTarget.getControlModel().formattingRuleLinks&&this.selection.dropTarget.getControlModel().formattingRuleLinks.push(zh.createNew(t.data.data)))}}}class RE extends Gv{constructor(e,t,a){super(e,t,a)}isPropertyDisabled(e){return e===Tv.propertyName?"SubBand"===this.controlType&&this[Dv.propertyName]&&this[Dv.propertyName]():super.isPropertyDisabled(e)}isAllowedParent(e){return e instanceof Gv}}class BE extends jv{constructor(){super(...arguments),this.leftMarginTemplate="dxrd-sub-band-coordinate-grid"}getAbsolutePositionY(){const e=super.getAbsolutePositionY();return 0===this.parent.bandsHolder.bands().indexOf(this)?e+this.parent.heightWithoutSubBands():e}getBackgroundRect(){let e=0,t=this._height();const a=this.parent,i=A.unwrap(a.bandsHolder.bands),r=A.unwrap(a.backgroundRect);e+=r.top+r.height;const o=r.bottom,s=i.indexOf(this);for(let t=0;t<s;t++)e+=i[t]._totalHeight();return e>o?t=0:e+t>o&&(t=o-e),{top:e,bottom:o,height:t}}_initMultiColumn(){this._disposables.push(this.multiColumn=A.computed((()=>{if(this.parent.multiColumn&&this.parent.multiColumn()&&this.parent.multiColumn().haveColumns())return this.parent.multiColumn()})))}get parent(){return this._getParent()}}class VE extends Gv{constructor(e,t,a){super(e,t,a),this._disposables.push(this.dataSource.subscribe((e=>{e||this.dataMember(null)})));const i=A.pureComputed((()=>(0,B.getFullPath)(this.getPath("dataMember"),this.dataMember()))),r=A.pureComputed((()=>!this.dataSource()));this.filterString=new K.FilterStringOptions(this._filterString,i,r),this._disposables.push(i),this._disposables.push(r),this.filterString.helper.parameters=A.computed((()=>vu(this.root.parameters()))),this._disposables.push(this.filterString.helper.parameters)}dispose(){super.dispose(),this.disposeObservableArray(this.bands),this.resetObservableArray(this.bands)}initHeight(){let e=0;this._disposables.push(this.height=A.pureComputed({read:()=>{if((0,B.checkModelReady)(this.root)){const t=this.bands().filter((e=>e instanceof qv))[0];let a=0;t&&(a=t.height()),e=this.bands().filter((e=>!(e instanceof qv))).reduce(((e,t)=>e+t.height()),a)}return e},write:e=>{if((0,B.checkModelReady)(this.root)){const t=e-this.height.peek(),a=this.bands()[this.bands().length-1].height.peek();this.bands()[this.bands().length-1].height(a+t)}}}))}createChildsArray(e,t){const a=this.getControlFactory();this.bands=(0,B.deserializeChildArray)(e.Bands,this,(e=>new(a.controlsMap[e["@ControlType"]].type||Gv)(e,this,t)));const i=this.bands.peek();i&&(Xv(i),i.sort(Mv)),0===this.bands().length&&this.createChild({"@ControlType":"DetailBand","@HeightF":this.height()})}addChild(e){e instanceof Gv&&!(e instanceof RE)&&nb(this,e)}}class ME extends jv{constructor(e,t){super(e,t,{_height:e=>e.height}),this.templateName="dxrd-detailreportband",this.selectionTemplate="dxrd-detailreportband-selection",this.leftMarginTemplate="dxrd-detail-report-band-coordinate-grid",this._disposables.push(A.computed((()=>{const e=this.collapsed()||this.isSomeParentCollapsed();this.bandsHolder.bands().forEach((t=>{t.isSomeParentCollapsed(e)}))})))}dispose(){super.dispose()}getChildrenCollection(){return this.bandsHolder.bands}createUnderCursor(){const e=A.observable(new B.HoverInfo);this._disposables.push(this.underCursor=A.pureComputed({read:()=>(e().isOver=this.bandsHolder.checkUnderCursor(),e()),write:t=>{e(t)}}))}getTotalHeight(){return this.bandsHolder.getTotalHeight()}getHeight(){return this.collapsed()?yv:this.bandsHolder.getHeight()}getHasOwnRuler(){return this.collapsed()}}class kE extends B.SnapLinesCollector{constructor(e){super(),this._rtl=e}_getCollection(e){return e.controls&&e.controls().length>0?e.controls():e.rows?e.rows():e.cells?e.cells():void 0}_enumerateBandCollection(e,t,a){const i=e.bands();for(let e=0;e<i.length;e++){const r=i[e].getUsefulRect(),o=this._processBandRtl({top:i[e].absolutePosition.y(),bottom:i[e].absolutePosition.y()+i[e].height(),left:r.left+t.left,right:r.right+t.left});i[e]instanceof ME?this._enumerateBandCollection(i[e].bandsHolder,o,a):a(i[e],o)}e.verticalBandsContainer&&!e.verticalBandsContainer.scrollOffset()&&e.verticalBandsContainer.verticalBands().forEach((e=>{const t={top:e.absolutePosition.y(),bottom:e.absolutePosition.y()+e._height(),left:e.absolutePosition.x()-e.verticalBandsContainer.scrollOffset(),right:e.absolutePosition.x()+e.rect().width-e.verticalBandsContainer.scrollOffset()};a(e,t)}))}_processBandRtl(e){return this._rtl()&&(e.right=e.left,e.left=0),e}_enumerateCollection(e,t,a){e.bandsHolder&&this._enumerateBandCollection(e.bandsHolder,t,a),super._enumerateCollection(e,t,a)}}class AE extends B.ToolboxDragDropHandler{constructor(e,t,a,i,r,o,s){super(e,t,a,i,r,o),this._wholeWideControls=["XRTableOfContents","XRPdfContent"],this.onComponentAdded=e=>{s&&s(e)}}dispose(){this.surface=null,this.dragHelperContent=null,this.snapHelper=null}helper(e){super.helper(e);const t=e;if(-1!==this._wholeWideControls.indexOf(t.type)){const e=this.surface().pageWidth()-(this.surface().margins.right()+this.surface().margins.left()),a="XRTableOfContents"===t.type?46:23,i=new Q.Size(e,a);this.recalculateSize(i),this.dragHelperContent.reset(),this.dragHelperContent.setContent(new Q.Rectangle(0,0,e,this._size.height()))}}_processProperty(e,t,a){t instanceof Object&&!k.isFunction(t)&&(t[e]&&a(t),Object.keys(t).forEach((i=>{t[i]instanceof Object&&!k.isFunction(t[i])&&this._processProperty(e,t[i],a)})))}doStopDrag(e,t){const a=this.surface(),i=k.extend(!0,{},t);this._processProperty("@Padding",i.info,(e=>{const t=Q.PaddingModel.from(e["@Padding"]);Q.PaddingModel.unitProperties.forEach((e=>{t[e](t[e]()*a.dpi()/100)})),t._set("dpi",a.dpi()),e["@Padding"]=t.toString()})),super.doStopDrag(e,i)}addControl(e,t,a){if("XRTableOfContents"===e.controlType){const a=t.getControlModel();if(!tv(a)||av(a)){const e=this.surface().getControlModel().getOrCreateBandForToC().band;if(!e)return;t=(0,B.findSurface)(e)}if(!t)return;const i=t.getControlModel();e.allLevels().forEach((e=>{e.height(mP(e.height(),i.dpi()))}))}super.addControl(e,t,a);const i=t.getControlModel();iE(e,i),this.onComponentAdded({parent:i,model:e})}}class LE extends B.SelectionDragDropHandler{constructor(e,t,a,i,r,o){super(t,a,i,r,o),this._canAddItems=e}_localizationCanDrop(e,t){return!(!this._canAddItems()&&e.getControlModel()!==t.parentModel())}getLocation(e,t){const a=super.getLocation(e,t);return t instanceof DP?t.processLocation(a):a}canDrop(e,t,a){return super.canDrop(e,t,a)&&this._localizationCanDrop(e,t)}}const $E=DevExpress.data.DataSource;var FE=e.n($E);const OE=DevExpress.ui.dxButtonGroup;var XE=e.n(OE);const HE=DevExpress.ui.dxDataGrid;var WE,UE,GE=e.n(HE);!function(e){e[e.ReportCreation=0]="ReportCreation",e[e.ReportLayout=1]="ReportLayout",e[e.ReportExport=2]="ReportExport",e[e.ReportScripts=3]="ReportScripts"}(WE||(WE={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information"}(UE||(UE={}));class jE extends L.Disposable{constructor(e){super(),this._offset=20,this._height=A.observable(210),this._errorSource=A.observableArray([]),this._choosenTypes=A.observableArray([]),this._filterValue=A.observable(),this._getUndoEngine=null,this._onClick=()=>{},this._latestChangeSet=A.observable(L._LatestChangeSet.Empty()),this._openErrorPanelIconHeight=42,this.collapsed=A.observable(!0),this.position=A.observable(null),this._suppressedErrorCodes=A.observableArray(),this._errorList=A.observableArray([]),this._providers=[],this._subscriptions=[],this.panelTitle=(0,L.getLocalization)("Report Design Analyzer","ASPxReportsStringId.ReportDesigner_ErrorPanel_Title"),this._initOptions=e||{},this._editableObject=e.editableObject,this._resizableOptions={starting:k.noop,handles:"n",start:(e,t)=>{},stop:()=>{},resize:(e,t)=>{const a=(0,B.convertFromCssPixelUnits)(t.dataset.originalHeight),i=e.pageY-(0,B.convertFromCssPixelUnits)(t.dataset.originalTopMousePosition);this._height(a-i)},disabled:this.collapsed,zoom:1,minimumHeight:A.computed((()=>this.collapsed()?this._openErrorPanelIconHeight:210)),maxHeight:420},this._getUndoEngine=()=>e.undoEngine&&e.undoEngine(),this._onClick=e.onClick,this._disposables.push(this._resizableOptions.minimumHeight),this._disposables.push({dispose:()=>{this._getUndoEngine=null,this._latestChangeSet(L._LatestChangeSet.Empty())}}),GE().length,XE().length,e.position&&(this._position={left:A.computed((()=>this.collapsed()?"auto":e.position.left()+this._offset+"px")),right:A.computed((()=>e.position.right()+this._offset+"px")),height:A.computed((()=>(this.collapsed()?42:this._height())+"px"))},this._disposables.push(this._position.height),this._disposables.push(this._position.left),this._disposables.push(this._position.right)),this._disposables.push(this._collectErrorButtonDisabled=A.computed((()=>e.undoEngine&&e.undoEngine()&&e.undoEngine().getCurrentChangeSet().equal(this._latestChangeSet())))),this._selection=e.selection,this._controlsHelper=e.controlsHelper,this._controlScrollingTool=e.controlScrollingTool,this.createDataGridOptions(e.undoEngine),this._initDefaultFilter(),this._assignFilter(),this._disposables.push(this._errorMessage,this._warningMessage,this._informationMessage),this._disposables.push(...[this._errorSource,this._choosenTypes].map((e=>e.subscribe((()=>this._assignFilter()),void 0,void 0)))),this._disposables.push(this._filteredErrorList=A.computed((()=>this._errorList().filter((e=>-1!==this._errorSource().indexOf(e.errorSource)&&-1===(this._suppressedErrorCodes()||[]).indexOf(e.code))))),this._errorMessage=A.computed((()=>this._createMessage(this._filteredErrorList().filter((e=>e.errorType==UE.Error)).length,(0,L.getLocalization)("{0} Error|{0} Errors","ReportStringId.ReportDesignAnalyzer_Error")))),this._warningMessage=A.computed((()=>this._createMessage(this._filteredErrorList().filter((e=>e.errorType==UE.Warning)).length,(0,L.getLocalization)("{0} Warning|{0} Warnings","ReportStringId.ReportDesignAnalyzer_Warning")))),this._informationMessage=A.computed((()=>this._createMessage(this._filteredErrorList().filter((e=>e.errorType==UE.Information)).length,(0,L.getLocalization)("{0} Message|{0} Messages","ReportStringId.ReportDesignAnalyzer_Message")))))}static get allErrorSources(){return Object.keys(WE).filter((e=>isNaN(parseFloat(e))))}static get allErrorTypes(){return Object.keys(UE).filter((e=>isNaN(parseFloat(e))))}_createMessage(e,t){const a=t.split("|");return 1===e?(0,B.formatUnicorn)(a[0],e):(0,B.formatUnicorn)(a[1],e)}_createAvailableSourcesArray(){var e,t,a,i;const r=[];return(null===(e=this._initOptions)||void 0===e?void 0:e.showReportCreationErrorSource)&&r.push({value:WE.ReportCreation,displayValue:(0,L.getLocalization)("Report Creation","DevExpress.XtraReports.Diagnostics.ErrorSource.Creation")}),(null===(t=this._initOptions)||void 0===t?void 0:t.showReportLayoutErrorSource)&&r.push({value:WE.ReportLayout,displayValue:(0,L.getLocalization)("Report Layout","DevExpress.XtraReports.Diagnostics.ErrorSource.Layout")}),(null===(a=this._initOptions)||void 0===a?void 0:a.showReportScriptsErrorSource)&&r.push({value:WE.ReportScripts,displayValue:(0,L.getLocalization)("Report Scripts","DevExpress.XtraReports.Diagnostics.ErrorSource.Scripts")}),(null===(i=this._initOptions)||void 0===i?void 0:i.showReportExportErrorSource)&&r.push({value:WE.ReportExport,displayValue:(0,L.getLocalization)("Report Export","DevExpress.XtraReports.Diagnostics.ErrorSource.Export")}),r}_expandParentBands(e){for(;e;){const t=e.surface;if(t instanceof jv)t.collapsed(!1);else if(t instanceof _y){const e=t._unitAbsoluteRect,a=[];t.parent.getChildrenCollection()().forEach((i=>{t.isThereIntersection(e,i.absoluteRect())&&(i.collapsed(!1),a.push(i))}));const i=e=>{e&&e.forEach((e=>{e.collapsed(!1),i(e.bandsHolder.bands())}))};return void i(a)}e=e.parentModel()}}clear(){this._providers=[],this._subscriptions.forEach((e=>e.dispose())),this._subscriptions=[],this._errorList([])}navigateToItem(e){this._onClick&&this._onClick();const t=this._controlsHelper.getControlByName(e);t&&(t.surface?(this._expandParentBands(t),this._selection.focused(t.surface),this._controlScrollingTool.scrollToControl(t.surface)):this._editableObject(t))}getNotificationTemplate(){return this._errorList().length>0?"dxrd-svg-errorPanel-notification":"dxrd-svg-errorPanel-notification_empty"}getTitleMessage(){return[this._errorMessage(),this._warningMessage(),this._informationMessage()].join("\n")}assignErrors(){const e=this._errorList();e.splice(0);for(let t=0;t<this._providers.length;t++)this._providers[t].errors().forEach((e=>{var t;e.link="https://docs.devexpress.com/XtraReports/403060#"+e.code.toLowerCase(),e.showLink=null===(t=this._initOptions)||void 0===t?void 0:t.enableErrorCodeLinks})),e.push(...this._providers[t].errors());this._errorList.valueHasMutated()}subscribeProvider(e){this._providers.push(e),this._subscriptions.push(e.errors.subscribe((e=>{this.assignErrors()}))),this.assignErrors()}collectErrors(){const e=this._getUndoEngine(),t=e&&e.getCurrentChangeSet();if(!e||!t.equal(this._latestChangeSet())){this._latestChangeSet(t);for(let e=0;e<this._providers.length;e++)this._providers[e].collectErrors()}}toggleCollapsed(){this.collapsed()&&this.collectErrors(),this.collapsed(!this.collapsed())}createDataGridOptions(e){const t=A.observable(new(FE())(this._errorList()));this._disposables.push(this._errorList.subscribe((e=>{t().dispose(),t(new(FE())(this._errorList()))}))),this._suppressedErrorCodes(this._initOptions.suppressedErrorCodes||[]),this._dataGridOptions={dataSource:t,showColumnLines:!1,showRowLines:!0,showBorders:!1,headerFilter:{visible:!0},filterValue:this._filterValue,noDataText:(0,L.getLocalization)("No errors","ASPxReportsStringId.ReportDesigner_ErrorPanel_NoErrors"),columns:[{caption:" ",width:"30px",dataField:"errorType",alignment:"left",allowHeaderFiltering:!1,cellTemplate:"dxrd-errorType-column",dataType:"number"},{dataField:"code",caption:(0,L.getLocalization)("Code","ReportStringId.ReportDesignAnalyzer_GridColumn_Code"),cellTemplate:"dxrd-code-column",filterType:"exclude",filterValues:this._suppressedErrorCodes(),dataType:"string"},{dataField:"errorSource",visible:!1,dataType:"number"},{dataField:"description",visible:!1,dataType:"string"},{dataField:"message",allowFiltering:!1,caption:(0,L.getLocalization)("Description","ReportStringId.ReportDesignAnalyzer_GridColumn_Description"),dataType:"string"},{dataField:"controlName",allowFiltering:!1,caption:(0,L.getLocalization)("Source","ReportStringId.ReportDesignAnalyzer_GridColumn_Source"),cellTemplate:"dxrd-source-column",dataType:"string"}],searchPanel:{visible:!0},masterDetail:{enabled:!0,template:"detail"},onOptionChanged:e=>{/columns\[[0-9]+\].filterValues/i.test(e.fullName)&&this._suppressedErrorCodes(e.value||[])},toolbar:{items:[{template:"dxrd-error-source-filter",data:{value:this._errorSource,dataSource:this._createAvailableSourcesArray(),getContainer:B.getParentContainer},location:"before"},{template:"dxrd-error-type-filter",data:{selectedItemKeys:this._choosenTypes,items:[{template:"dxrd-error-type-filter-item",text:()=>this._errorMessage(),icon:UE.Error},{template:"dxrd-error-type-filter-item",text:()=>this._warningMessage(),icon:UE.Warning},{template:"dxrd-error-type-filter-item",text:()=>this._informationMessage(),icon:UE.Information}],keyExpr:"icon",selectionMode:"multiple",stylingMode:"outlined"},location:"before"},{widget:"dxButtonWithTemplate",cssClass:"dxrd-collect-errors-button",options:{icon:"dxrd-svg-errorPanel-collectErrors",text:(0,L.getLocalization)("Collect Errors","ASPxReportsStringId.ReportDesigner_Analyzer_CollectErrors"),onClick:()=>this.collectErrors(),disabled:this._collectErrorButtonDisabled},location:"before"},"searchPanel"]}}}_initDefaultFilter(){var e,t,a,i,r,o,s,n,l,d,c;(null===(e=this._initOptions)||void 0===e?void 0:e.enableReportCreationErrorSource)&&(null===(t=this._initOptions)||void 0===t?void 0:t.showReportCreationErrorSource)&&this._errorSource.push(WE.ReportCreation),(null===(a=this._initOptions)||void 0===a?void 0:a.enableReportLayoutErrorSource)&&(null===(i=this._initOptions)||void 0===i?void 0:i.showReportLayoutErrorSource)&&this._errorSource.push(WE.ReportLayout),(null===(r=this._initOptions)||void 0===r?void 0:r.enableReportScriptsErrorSource)&&(null===(o=this._initOptions)||void 0===o?void 0:o.showReportScriptsErrorSource)&&this._errorSource.push(WE.ReportScripts),(null===(s=this._initOptions)||void 0===s?void 0:s.enableReportExportErrorSource)&&(null===(n=this._initOptions)||void 0===n?void 0:n.showReportExportErrorSource)&&this._errorSource.push(WE.ReportExport),(null===(l=this._initOptions)||void 0===l?void 0:l.showErrors)&&this._choosenTypes.push(UE.Error),(null===(d=this._initOptions)||void 0===d?void 0:d.showWarnings)&&this._choosenTypes.push(UE.Warning),(null===(c=this._initOptions)||void 0===c?void 0:c.showInformation)&&this._choosenTypes.push(UE.Information)}_assignFilter(){const e=[],t=jE.allErrorTypes.map((e=>UE[e])).filter((e=>-1===this._choosenTypes().indexOf(e))),a=jE.allErrorSources.map((e=>WE[e])).filter((e=>-1===this._errorSource().indexOf(e)));t.length&&e.push(["errorType","noneof",t]),a.length&&e.push(["errorSource","noneof",a]),this._filterValue(e.reduce(((e,t)=>(e.length?e.push("and",t):e.push(t),e)),[]))}getIconTemplateName(e){return"dxrd-svg-errorPanel-"+UE[e].toLowerCase()}}class qE{constructor(e,t){this._start=e,this._end=t}_findCommonParent(e,t){return e===t?e:this._findCommonParent(e.parent||e,t.parent||t)}_selectItemsBetweenShiftSelection(e){const t=e.items;for(let e=0;e<t.length;e++){if(this._isSelectedRangeEnded)return;const a=t[e];this._addToSelectedItems(a),a!==this._start&&a!==this._end||(this._isSelectedRangeEnded=this._isInSelectedRage,this._isInSelectedRage=!this._isInSelectedRage,this._addToSelectedItems(a)),this._isSelectedRangeEnded||a.collapsed||this._selectItemsBetweenShiftSelection(a)}}_addToSelectedItems(e){this._isInSelectedRage&&this._callBack(e)}enumerate(e){this._isInSelectedRage=!1,this._isSelectedRangeEnded=!1,this._callBack=e,this._selectItemsBetweenShiftSelection(this._findCommonParent(this._start.parent,this._end.parent))}}class JE{constructor(e=[],t,a,i=null){this._selectedItems=A.observableArray([]),this.hasItems=JE.isList,this._actionProviders=e,this._fieldListActionWrapper=t,this.dragDropHandler=a,this._customizeFieldListActions=i}dispose(){this._actionProviders.splice(0),this._selectedItems.splice(0)}itemsFilter(e){return!0===e.isCalculated||"none"!==e.specifics}static isList(e){return!!e&&(!e.isCalculated&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList))}select(e){this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0}canSelect(e){return!0}getActions(e){let t=[];(this._actionProviders||[]).forEach((a=>{const i=a.getActions(e);this._fieldListActionWrapper&&this._fieldListActionWrapper(i),t.push.apply(t,i)}));const a=e=>void 0===e.position?1:e.position;return t=k.extend(!0,[],t.sort(((e,t)=>a(e)-a(t)))),this._customizeFieldListActions&&this._customizeFieldListActions(e.data,t),t}canMultiSelect(e){const t=new L.PathRequest(e.path).path,a=!this.selectedItem||this.selectedItem===e||this.canMultiSelect(this.selectedItem);return 0!==t.length&&a}multiSelect(e,t=!1,a=!1){if(this.selectedItem&&(this.selectedItem.isSelected=!1,this.selectedItem.isMultiSelected=!0),t){const t=this.selectedItem;a||(this._selectedItems.peek().forEach((e=>e.isMultiSelected=!1)),this._selectedItems([])),new qE(e,t).enumerate((e=>{e.isMultiSelected||(this._selectedItems.push(e),e.isMultiSelected=!0)})),this._selectedItems.peek()[0]===t&&this._selectedItems.reverse()}else this._selectedItems.peek().indexOf(e)>-1?(this._selectedItems.remove(e),e.isMultiSelected=!1):(this._selectedItems.push(e),e.isMultiSelected=!0)}isDraggable(e){return!0}get selectedItem(){return this._selectedItems()[this._selectedItems().length-1]}set selectedItem(e){this._selectedItems().forEach((e=>e.isMultiSelected=!1)),this._selectedItems.splice(0),this._selectedItems.push(e)}selectedItems(){return this._selectedItems()}subscribeOnSelectedItemChange(e){return this._selectedItems.subscribe((t=>e(t)))}}class KE{constructor(e,t){this.dsHelper=e,this._afterRenameCallBack=t,this._rename=(e,t)=>{e.name=t,e.data.name&&e.data.name(t),this._afterRenameCallBack&&this._afterRenameCallBack()}}validateName(e){return e&&!e.match(/(?!\_)[\W]+/)}validateUnique(e,t){return e&&(e===t||-1===this.dsHelper().usedDataSources().map((e=>e.name)).indexOf(e))}tryRename(e,t){const a=this.dsHelper&&this.dsHelper().findDataSourceInfo(t);return!!a&&(this._rename(a,e),!0)}}const QE=(0,B.createGlobalModuleVariableFunc)(5);function YE(e,t,a){e.state=a;const i=(0,B.findFirstItemMatchesCondition)(t,(t=>e.id&&t.id===e.id||e.ref&&t.ref===e.ref));if(i&&i.data)if(i.data instanceof Pb){const t=new L.ModelSerializer;i.data.getSerializableModel().serializer=t;const a=i.data.getSerializableModel().getSerializableFederationDataSourceInfo();(0,B.extend)(e,a)}else e.dataSource=JSON.stringify((new L.ModelSerializer).serialize(i.data))}class ZE{constructor(){this._fieldListCache={},this._dataSourceSubscriptions=[],this._innerCache={},this._usedDataSourceSubscription=null,this._cacheIsClearNotificicator=A.observable(),this.dataSourceHelper=A.observable(),this.fieldListDataSources=A.observableArray([]),this._renameDataSourceStrategy=new KE(this.dataSourceHelper,(()=>this.fieldListDataSources.valueHasMutated()))}dispose(){this._usedDataSourceSubscription&&this._usedDataSourceSubscription.dispose(),this._usedDataSourceSubscription=null,this._clearDataSourceCache(),this.fieldListDataSources([]),this.dataSourceHelper(null)}_clearDataSourceCache(e){Object.keys(this._fieldListCache).forEach((t=>{void 0!==e&&t.split(".")[0]!==e||(delete this._fieldListCache[t],delete this._innerCache[t])})),void 0!==e&&this._cacheIsClearNotificicator.notifySubscribers()}_subscribeDataSource(e){e.data&&e.data.base64&&this._dataSourceSubscriptions.push(e.data.base64.subscribe((t=>{this._clearDataSourceCache(e.ref||e.id),this.fieldListDataSources.notifySubscribers(this.fieldListDataSources()),this.dataSourceHelper().usedDataSources.notifySubscribers(this.dataSourceHelper().usedDataSources())})))}_updateFieldListDataSources(e,t){if(!e)return void this.fieldListDataSources(null);this._dataSourceSubscriptions.forEach((e=>e.dispose())),this._dataSourceSubscriptions=[],this._fieldListCache={},this._innerCache={};const a=[].concat(e);t&&a.splice(-1,0,{ref:ry.ParametersRefString,name:"Parameters",specifics:"parameters",data:t,dataSerializer:null}),a.forEach((e=>this._subscribeDataSource(e))),this.fieldListDataSources(a)}_wrapRequest(e){const t=e.pathParts.length>0?e.pathParts.map((e=>e)):e.fullPath.split("."),a=Math.floor((t.length-1)/QE()),i=t.splice(0,1+a*QE());return new L.PathRequest(i.join("."),i)}_findItems(e,t){if(0===t.length||!e)return e;const a=t.splice(0,1)[0],i=e.filter((e=>e.name===a))[0];return i?t.length>0&&i.items?this._findItems(i.items,t):0===t.length?i.items:void 0:void 0}_createRelativePath(e,t){return t?e!=t?e.replace(t+".",""):"":e}_updateInnerCache(e,t,a){a.forEach((a=>{const i=[t,a.name].join(".");a.relationPath?Object.defineProperty(a,"items",{get:()=>this._findItems(this._innerCache[e.fullPath],this._createRelativePath(a.relationPath,e.path).split("."))}):a.items&&this._updateInnerCache(e,i,a.items)}))}_getPathPartsFromRequest(e){return e.pathParts.length>0?e.pathParts.map((e=>e)):e.fullPath.split(".")}_getItemsFromCache(e){let t=this._innerCache[e.fullPath];const a=this._getPathPartsFromRequest(e);for(;!t&&a.length>1;)a.pop(),t=this._innerCache[a.join(".")];let i=this._getPathPartsFromRequest(e);return i=i.splice(a.length,i.length),this._findItems(t,i)}wrapFieldsCallback(e,t,a=this.fieldListDataSources,i=!0){const r=this._fieldListCache;return o=>{if(r&&i){const i=this._getItemsFromCache(o);if(i)return k.Deferred().resolve(i).promise();const s=this._wrapRequest(o);if(this._cacheIsClearNotificicator(),r[s.fullPath]){const e=k.Deferred();return r[s.fullPath].done((t=>{Array.isArray(t)?e.resolve(this._getItemsFromCache(o)):e.resolve(t)})),e.promise()}if(YE(s,a.peek(),t()),s.dataSource){const t=k.Deferred();return r[s.fullPath]=e(s).done((e=>{Array.isArray(e)?(this._innerCache[s.fullPath]=e,this._updateInnerCache(s,s.fullPath,e),t.resolve(this._getItemsFromCache(o))):t.resolve(e)})),t.promise()}return r[s.fullPath]=void 0,k.Deferred().reject().promise()}return YE(o,a.peek(),t()),o.dataSource?e(o):k.Deferred().reject().promise()}}_subscribeDataSources(e,t){this._usedDataSourceSubscription=e.subscribe((e=>{const a=e[0],i=a.value;"added"===a.status?(this._subscribeDataSource(i),t.components.push(new ah(i,this._renameDataSourceStrategy)),this.fieldListDataSources.splice(a.index,0,i)):(i.data&&i.data.base64&&(this._dataSourceSubscriptions[a.index].dispose(),this._dataSourceSubscriptions.splice(a.index,1)),t.components.splice(a.index,1),this.fieldListDataSources.splice(a.index,1),this._clearDataSourceCache(i.ref||i.id))}),null,"arrayChange")}updateDataSources(e,t,a){this._subscribeDataSources(e.usedDataSources,t),this._updateFieldListDataSources(e.usedDataSources(),a),this.dataSourceHelper(e),t.components([]),t.components(e.usedDataSources().filter((e=>"none"!==e.specifics)).map((e=>new ah(e,this._renameDataSourceStrategy))))}}const ew="parameterPanelLayoutItems";class tw extends B.ObjectExplorerProvider{constructor(e,t){super([{model:e,name:"Report"}],[ew],t,null),this.getItems=t=>{const a=k.Deferred();if(t.fullPath)a.resolve(this.getObjectPropertiesForPath(e,t.fullPath,ew));else{const t=[];this.createArrayItem(e.parameterPanelLayoutItems(),t,`Report.${ew}`),a.resolve(t)}return a.promise()},this.getPathByMember=e=>e instanceof nu?this.getPathByMember(e.parentModel())+`.${ew}.`+e.parentModel().parameterPanelLayoutItems().indexOf(e):"Report"}createArrayItem(e,t,a){e.forEach(((e,i)=>{e=A.unwrap(e),t.push({name:a?a+"."+i.toString():i.toString(),displayName:A.unwrap(e.name),specifics:e.className(),isList:e[ew]&&A.unwrap(e[ew]).length>0,data:e,dragData:{noDragable:!1}})}))}}class aw extends NE{constructor(e,t){super(t),this._selectedItem=e,this._dropBefore=!1,this._dropInside=!1}_getDroppableClassName(e,t){if(!this.canDrop())return this.droppableClassName;this._dropInside=!1;const a=this.droppableClassName+" "+this.approveClassName;return t?(this._dropBefore=!0,a+" "+this.classDropAfter):e?(this._dropBefore=!1,a+" "+this.classDropBefore):this._targetModel instanceof lu?(this._dropInside=!0,a):""}getSiblings(){return this._draggableModel.parentModel().parameterPanelLayoutItems}getNewParentModel(){return this._dropInside?this._targetModel:this._targetModel.parentModel()}getTargetSiblings(){return this.getNewParentModel().parameterPanelLayoutItems}reorderSiblings(e=this.isDragToBottom()){const t=this.getSiblings(),a=this.getTargetSiblings();if(t&&a){const i=t.peek(),r=a.peek();i.splice(t.indexOf(this._draggableModel),1);let o=r.indexOf(this._targetModel);-1===o&&o++,r.splice(o+(e?1:0),0,this._draggableModel),this._draggableModel.parentModel(this.getNewParentModel()),t.valueHasMutated(),t!==a&&a.valueHasMutated(),this._selectedItem(this._draggableModel)}}canDrop(){let e=this._targetModel;for(;e instanceof nu;){if(this._draggableModel===e)return!1;e=e.parentModel()}return!0}stop(){super.stop(),this._target&&this._targetModel&&this.canDrop()&&this.reorderSiblings(this._dropBefore)}}class iw extends SE{constructor(e){super(A.observable(!1),null,null,A.observable(null),new B.DragHelperContent(null)),this.containment="parent",this.parent=()=>k.fn.constructor(".dx-designer-viewport .dxrd-parameters-edit-dialog .dxrd-parameters-content-list"),this.reportControlsDragDropHelper=new aw(e,this.dragHelperContent),this.helper=(e,t)=>{this.reportControlsDragDropHelper.helper(e,t);const a=(0,K.getTemplate)(this.dragHelperContent.template),i=k.fn.constructor(a).css({display:"block"});return i.prependTo(this.parent()),A.applyBindingsToDescendants(this.dragHelperContent,i[0]),i}}startDrag(e){this.reportControlsDragDropHelper.start(e),super.startDrag(e)}doStopDrag(e,t,a){this.reportControlsDragDropHelper.started&&this.reportControlsDragDropHelper.clearDroppableClasses(),this.dragHelperContent.reset(),this.reportControlsDragDropHelper.stop()}}class rw extends B.ObjectStructureTreeListController{constructor(e,t){super(void 0,void 0),this._report=e,this._selectedItemModel=t,this.getActions=e=>{const t=e&&e.data&&e.data.data;return[{text:"Delete",displayText:()=>(0,B.getLocalization)("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:t instanceof lu?"dxrd-image-ungroup":"dxrd-image-recycle-bin",imageTemplateName:t instanceof lu?"dxrd-svg-actions-ungroup":"dxrd-svg-operations-recycle_bin",clickAction:e=>this.delete(e.data.data)}]},this._disposables.push(this.dragDropHandler=new iw(t))}_innerSwap(e,t,a,i){i.remove(e),a?t.parameterPanelLayoutItems.push(e):t.parameterPanelLayoutItems.unshift(e),e.parentModel(t)}_outerSwap(e,t,a){const i=e.parentModel(),r=i.parentModel();a.remove(e);const o=(a=r.parameterPanelLayoutItems)().indexOf(i)+(t?0:1);a.splice(o,0,e),e.parentModel(r)}_siblingsSwap(e,t,a){const i=A.unwrap(e);[i[t+a],i[t]]=[i[t],i[t+a]],e.valueHasMutated()}_checkIndex(e,t,a){return t?e>0:a.parameterPanelLayoutItems().length-1>e}addItem(e){let t=this._selectedItemModel(),a=this._report;t?a=t instanceof lu?t:t.parentModel()||t:t=a.parameterPanelLayoutItems()[0],a.parameterPanelLayoutItems.splice(a.parameterPanelLayoutItems().indexOf(t)+1,0,e),e.parentModel(a),this._selectedItemModel(e)}move(e=!0){const t=e?-1:1,a=this._selectedItemModel();if(!a)return;const i=a.parentModel(),r=i.parameterPanelLayoutItems,o=r().indexOf(a);if(this._checkIndex(o,e,i)){const i=r()[o+t];i instanceof lu?this._innerSwap(a,i,e,r):this._siblingsSwap(r,o,t)}else i instanceof lu&&this._outerSwap(a,e,r);this._selectedItemModel.valueHasMutated()}delete(e=this._selectedItemModel()){if(!e)return;const t=e===this._selectedItemModel(),a=e.parentModel(),i=a.parameterPanelLayoutItems.peek(),r=i.indexOf(e);if(e instanceof lu){const t=e.parameterPanelLayoutItems();t.forEach((e=>e.parentModel(a))),i.splice(r,0,...t)}if(e.delete(),e instanceof cu&&this._report.parameterHelper.parameters.remove(e.parameter()),t){const e=i[r===i.length?r-1:r];e?this._selectedItemModel(e):a instanceof Ly?this._selectedItemModel(null):this._selectedItemModel(a)}}}class ow extends L.Disposable{constructor(e,t){super(),this._editor=e,this._parameter=t,this.imageTemplateName="dx-objectdatasource-expression",this._disposables.push(A.computed((()=>{if(this._parameter()){const e=this._editor.value.peek(),t=e&&e.value&&e.value.peek();this._parameter().propertyExpressionMapper.getExpressionProperty(this._editor.name).showExpression(!!t)}}))),this._disposables.push(this.isExpression=A.pureComputed({read:()=>{if(this._parameter())return this._parameter().propertyExpressionMapper.getExpressionProperty(this._editor.name).showExpression()},write:e=>this._parameter()&&this._parameter().propertyExpressionMapper.getExpressionProperty(this._editor.name).showExpression(e)}))}switchEditors(){this.isExpression(!this.isExpression())}}class sw{constructor(e){this._parameter=e,this.valueSourceSettingsType=this._parameter.valueSourceSettingsType,this.valueSourceSettings=this._parameter.valueSourceSettings}getInfo(){return this._parameter.getInfo().reduce(((e,t)=>{if("valueSourceSettingsType"===t.propertyName){const a=(0,B.extend)(!0,{},t);a.editor=K.editorTemplates.getEditor("combobox"),e.push(a)}else if(t.propertyName===yb.propertyName){const a=(0,B.extend)(!0,{},t);a.editor=K.editorTemplates.getEditor("inplaceObjectEditor"),e.push(a)}return e}),[])}isPropertyVisible(e){return"valueSourceSettings"!==e||"None"!==this.valueSourceSettingsType()}}class nw extends L.Disposable{constructor(e){super(),this._currentReport=e,this._undoEngine=null,this._isSubmited=!1,this.buttons=[this._createButton((0,L.getLocalization)("OK",B.StringId.DataAccessBtnOK),(()=>this.submit()),"default"),this._createButton((0,L.getLocalization)("Cancel",B.StringId.DataAccessBtnCancel),(()=>this.visible(!1)))],this._editableObject=A.observable(null),this._selectedItem=A.observable(null),this._selectedParameter=A.observable(null),this._selectedParameterSettings=A.observable(null),this.visible=A.observable(!1),this.container=e=>(0,B.getParentContainer)(e),this._disposables.push(this._propertiesGrid=new K.ObjectProperties(this._editableObject),this._settingsGrid=new K.ObjectProperties(this._selectedParameterSettings),this.visible.subscribe((e=>!e&&this.close())),this._selectedItem.subscribe((e=>{const t=e&&this._getParameterFromLayoutItem(e);t?(this._editableObject(t),this._selectedParameterSettings(new sw(t))):(this._editableObject(e),this._selectedParameterSettings(null)),this._selectedParameter(t)}))),this._propertiesGrid.createEditorAddOn=e=>{const t=(0,K.unwrapEditor)(e);if(this._selectedParameter()&&this._selectedParameter().propertyExpressionMapper.getExpressionProperty(t.name)&&-1===t.name.toLowerCase().indexOf("value")){return{data:new ow(t,this._selectedParameter),templateName:"dx-wizard-menu-box-editorswitch"}}}}dispose(){super.dispose(),this.selectItem(null),this.removeProperties()}onSubmit(){}get undoEngine(){return this._undoEngine||(this._undoEngine=L.UndoEngine.tryGetUndoEngine(this._currentReport)),this._undoEngine}_getParameterFromLayoutItem(e){return e instanceof cu?e.parameter():null}_createParameter(e=this._currentReport.parameters()){const t=(0,B.getUniqueNameForNamedObjectsArray)(e,"parameter"),a=new ry({"@Name":t,"@Description":"P"+t.slice(1)},this._currentReport);return a._isEditing(!0),a._showLayoutProperties(!0),new cu({},this._currentReport,null,a)}_createButton(e,t,a="normal"){return{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:e,type:a,stylingMode:"contained",onClick:t}}}selectItem(e){const t=this._selectedParameter(),a=this._getParameterFromLayoutItem(e);a&&t===a||this._selectedItem(e)}show(e){this.undoEngine.start(),this._isSubmited=!1,this._currentReport.parameterHelper.startEditing(),this._onStart(this._currentReport.parameterHelper.getParameterLayoutItem(e)),this.visible(!0)}_onStart(e){this.selectItem(e),this._selectedItem.valueHasMutated()}close(){const e=!this._isSubmited&&this.undoEngine._hasSessionChanges();this._currentReport.parameterHelper.endEditing(),this.undoEngine.end(),e&&this.undoEngine.undo(!0),this.selectItem(null)}submit(){this._isSubmited=!0,this.onSubmit(),this.visible(!1)}}class lw extends nw{constructor(){super(...arguments),this.popupCss="dxrd-parameters-add-dialog",this.title=(0,L.getLocalization)("Add Parameter","ASPxReportsStringId.ReportDesigner_ParametersDialog_AddParameter"),this.width=900,this.height=632,this.contentTemplate="dxrd-parameter-edit"}onSubmit(){this._currentReport.parameterPanelLayoutItems.push(this._selectedItem()),this._currentReport.parameters.push(this._selectedParameter())}_onStart(e=this._createParameter()){super._onStart(e)}}class dw extends nw{constructor(e){super(e),this.buttonMap={addGroup:{text:"Add Group",localizationId:"ReportStringId.ParameterCollectionEditorForm_AddGroup"},addParameter:{text:"Add Parameter",localizationId:"ReportStringId.ParameterCollectionEditorForm_AddParameter"},addSeparator:{text:"Add Separator",localizationId:"ReportStringId.ParameterCollectionEditorForm_AddSeparator"},down:{text:"Move Down",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}},this.width="auto",this.height=726,this.popupCss="dxrd-parameters-edit-dialog",this.title=(0,B.getLocalization)("Edit Parameters","ASPxReportsStringId.ReportDesigner_ParametersDialog_EditParameters"),this.contentEmptyAreaPlaceHolder=(0,B.getLocalization)("Add items to configure report parameters and parameter panel layout","ReportStringId.ParameterCollectionEditorForm_EmptyViewPlaceHolder"),this.contentNoPropertiesPlaceHolder=(0,B.getLocalization)("This item has no configurable properties","ReportStringId.ParameterCollectionEditorForm_SeparatorViewPlaceHolder"),this.contentTemplate="dxrd-parameters-content",this.selectedPath=A.observable(""),this._disposables.push(this.contentVisible=A.computed((()=>this._currentReport.parameterPanelLayoutItems().length>0&&!!this._selectedItem())),this.hasNoEditableProperties=A.pureComputed((()=>this._selectedItem()&&this._selectedItem()instanceof du))),this._disposables.push(this.itemsProvider=new tw(this._currentReport,this._selectedItem)),this._disposables.push(this.treeListController=new rw(this._currentReport,this._selectedItem)),this.fieldListModel={itemsProvider:this.itemsProvider,treeListController:this.treeListController,selectedPath:this.itemsProvider.selectedPath,expandRootItems:!0,onItemsChanged:e=>{e.forEach((e=>{e.parent.collapsed=!1}))}}}dispose(){super.dispose(),this.fieldListModel=null}getDisplayTextButton(e){return(0,B.getLocalization)(this.buttonMap[e].text,this.buttonMap[e].localizationId)}up(){this.treeListController.move(!0)}down(){this.treeListController.move(!1)}addGroup(){this.treeListController.addItem(new lu({},this._currentReport,null))}addSeparator(){this.treeListController.addItem(new du({},this._currentReport,null))}addParameter(){const e=this._createParameter();this.treeListController.addItem(e),this._currentReport.parameters.push(e.parameter())}isDisabledButton(e){return("up"===e||"down"===e)&&!this.contentVisible()}onSubmit(){}}class cw extends L.Disposable{constructor(e){super(),this.addAction={clickAction:()=>this.add(),imageClassName:"dxrd-image-add",imageTemplateName:"dxrd-svg-operations-add",text:"Add parameter",displayText:()=>(0,L.getLocalization)("Add parameter","AnalyticsCoreStringId.FieldListActions_AddParameter")},this.removeAction={clickAction:e=>{this.remove(e.data)},imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",text:"Remove parameter",displayText:()=>(0,L.getLocalization)("Remove parameter","ASPxReportsStringId.ReportDesigner_FieldListActions_RemoveParameter")},this.editAction={clickAction:e=>{e.data instanceof ry?this.edit(e.data):e.hasItems?this.edit(e.items[0].data):this.edit(void 0)},imageClassName:"dxrd-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:"Edit parameter",displayText:()=>(0,L.getLocalization)("Edit parameter","ASPxReportsStringId.ReportDesigner_FieldListActions_EditParameter")},this.parameters=e.parameters,this.remove=t=>{this.parameters.splice(this.parameters.indexOf(t),1),e.parameterHelper.removeParameterModel(t)},this.add=()=>{this._addParametersDialog.show()},this.edit=e=>{this._editParametersDialog.show(e)},this._disposables.push(this._addParametersDialog=new lw(e),this._editParametersDialog=new dw(e))}getActions(e){const t=[];return 0===e.path.indexOf(ry.ParametersRefString)&&(1===e.pathParts.length?(t.push(this.editAction),t.push(this.addAction)):2===e.pathParts.length&&(t.push(this.editAction),t.push(this.removeAction))),t}beforeItemsFilled(e,t){return e.ref===ry.ParametersRefString&&(t.push.apply(t,e.fullPath===ry.ParametersRefString?this.parameters.slice(0):[]),this.parameters().forEach((a=>{a.isList&&a.parameterName()===e.path&&t.push.apply(t,a.getRangeParameters())})),!0)}afterItemsFilled(e,t){if(!e.fullPath){const a=(0,B.findFirstItemMatchesCondition)(t,(e=>"parameters"===e.specifics));a&&(a.displayName=(0,L.getLocalization)("Parameters","DevExpress.XtraReports.UI.XtraReport.Parameters"));const i=!e.fullPath&&(0,B.findFirstItemMatchesCondition)(t,(e=>"none"===e.specifics));i&&(i.displayName=(0,B.localizeNoneString)("none"))}}}var pw=function(e,t,a,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,a,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(s=(o<3?r(s):o>3?r(t,a,s):r(t,a))||s);return o>3&&s&&Object.defineProperty(t,a,s),s};class uw extends G.TreeListItemViewModel{constructor(e,t=[],a=k.noop,i=!1,r=new B.CodeResolver,o){super(e,t,a,i,r),this.resolver=r,this._fieldListItemFactory=o,this._createValidatorOptions=()=>({validationRules:B.nameValidationRules}),this._onRenameDisposeFunc=null,this._createRenameEditorOptions=()=>({onFocusOut:e=>{!0===e.component.option("isValid")?this._rename(e.component.option("value")):setTimeout((()=>{e.component.focus()}))},onInitialized:e=>{setTimeout((()=>{e.component.focus(),k.fn.constructor(e.component.element()).find("input")[0].select()}))},onKeyUp:e=>{"escape"===e.event.key.toLowerCase()&&(this.renameMode=!1)},onEnterKey:e=>{!0===e.component.option("isValid")?this._rename(e.component.option("value")):setTimeout((()=>{e.component.focus()}))},text:this.text}),this.templates.actionsContainer="dx-treelist-action-container-with-rename",this.templates.itemTextContent="dx-treelist-item-text-content-with-rename",this._onRenameDisposeFunc=this._fieldListItemFactory.events.on("renameInProgressChanged",(e=>{this.disabled=this._isDisabled()}))}_isDisabled(){return this._fieldListItemFactory.renameInProgress&&!this.isSelected}_rename(e){this.data.rename(e),this.renameMode=!1}_getCssRules(){return Object.assign({"dx-treelist-item-disabled":this.disabled},super._getCssRules())}onPropertyChanged(e){super.onPropertyChanged(e),"renameMode"===e.propertyName?(this.toggleSelected(null,null),this._fieldListItemFactory.renameInProgress=this.renameMode):"isSelected"===e.propertyName&&(this.disabled=this._isDisabled())}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();t.inRenameMode=this.renameMode,t.disabled=this._isDisabled(),"disabled"===e.propertyName&&(t.cssRules=this._getCssRules())}createViewModel(){return(0,Oi.createViewModelGenerator)(super.createViewModel()).generateProperty("setRenameMode",(e=>this.renameMode=e)).generateProperty("disabled",this.disabled).generateProperty("inRenameMode",this.renameMode).generateProperty("createValidatorOptions",(()=>this._createValidatorOptions())).generateProperty("createRenameEditorOptions",(()=>this._createRenameEditorOptions())).getViewModel()}dispose(){super.dispose(),this._onRenameDisposeFunc()}}pw([(0,Oi.mutable)(!1)],uw.prototype,"renameMode",void 0),pw([(0,Oi.mutable)(!1)],uw.prototype,"disabled",void 0);var mw=function(e,t,a,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,a,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(s=(o<3?r(s):o>3?r(t,a,s):r(t,a))||s);return o>3&&s&&Object.defineProperty(t,a,s),s};class hw extends G.KoTreeListItemFactory{createItem(e,t,a,i,r){return new uw((0,G.wrapTreeListOptionsWithKo)(e),t,a,i,r,this)}}mw([(0,Oi.mutable)(!1)],hw.prototype,"renameInProgress",void 0);class gw extends L.Disposable{constructor(e,t,a,i,r,o){super(),this._dataSourceSettings=o,this._disposables.push(this.itemsProvider=new B.ObjectExplorerProvider([{model:e,name:"Report",displayName:(0,L.getLocalization)("Report","ASPxReportsStringId.DocumentViewer_RibbonReportGroupText"),className:"master_report",data:e,hasContextMenu:!0},{model:A.pureComputed((()=>e()&&e().styles())),name:"Styles",displayName:(0,L.getLocalization)("Styles","DevExpress.XtraReports.UI.XRPivotGrid.Styles"),className:"styles"},{model:A.pureComputed((()=>e()&&e().formattingRuleSheet())),name:"Formatting Rules",displayName:(0,L.getLocalization)("Formatting Rules","DevExpress.XtraReports.UI.XRControl.FormattingRules"),className:"formattingrules"},{model:A.pureComputed((()=>e()&&e().crossBandControls())),name:"Crossband Controls",displayName:(0,L.getLocalization)("Cross-Band Controls","ASPxReportsStringId.ReportDesigner_CrossBandControls"),className:"xrcrossbandbox",hasContextMenu:!0},{model:A.pureComputed((()=>e()&&e().components())),name:"Components",displayName:(0,L.getLocalization)("Data Sources","ASPxReportsStringId.ReportDesigner_DataSources"),className:"components"}],["bands","controls","rows","cells"],t,(a=>{let i=gw.getPathByMember(a);return i||(a===(e()&&e().styles())?i="Styles":a===(e()&&e().formattingRuleSheet())?i="Formatting Rules":a===(e()&&e().components())?i="Components":a instanceof yg?i=this._getPathNonControl(a,"Styles","styles",t,e):a instanceof Th?i=this._getPathNonControl(a,"Formatting Rules","formattingRuleSheet",t,e):a instanceof ah?i=this._getPathNonControl(a,"Components","components",t,e):a===(e()&&e().crossBandControls())&&(i="Crossband Controls")),i})));const s=["bands","controls","rows","cells","Report","Styles","Crossband Controls","Components"],n=[].concat(s,"Formatting Rules");this._disposables.push(this.treeListController=new B.ObjectStructureTreeListController(s)),this.treeListController.itemsFilter=t=>{const a=t.name.split(".")[0],i=e()&&e()._dataBindingMode()!==nv.Bindings?s:n;return!i||(-1!==i.indexOf(a)||k.isNumeric(a))},this.treeListController.getActions=i=>{if(i.data&&"Crossband Controls"!==i.data.name&&"Components"!==i.data.name)return"Styles"!==i.data.name&&"Formatting Rules"!==i.data.name?this._createActionsForOneElement(a,r,t,e,i):this._createActionsForArray(i,e)},this.treeListController.dragDropHandler=i}static getPathByMember(e){if(e.parentModel&&e.parentModel()){if(e instanceof Gv)return gw.getPathByMember(e.parentModel())+".bands."+e.parentModel().bands().indexOf(e);if(e instanceof Dy)return"Crossband Controls.Crossband Controls."+e.parentModel().crossBandControls().indexOf(e);if(e instanceof Ry)return gw.getPathByMember(e.parentModel())+".cells."+e.parentModel().cells().indexOf(e);if(e instanceof Vy)return gw.getPathByMember(e.parentModel())+".rows."+e.parentModel().rows().indexOf(e);if(e instanceof bv)return gw.getPathByMember(e.parentModel())+".controls."+e.parentModel().controls().indexOf(e)}else if(e instanceof Ly)return"Report";return null}_createActionsForOneElement(e,t,a,i,r){var o,s,n,l;const d=r.data&&r.data.data;let c=!1,p=d&&(d.getMetaData&&d.getMetaData().isDeleteDeny||!1);const u=d&&(d.lockedInUserDesigner&&d.lockedInUserDesigner()||!1);d&&d instanceof ah&&(c=!(null===(s=null===(o=this._dataSourceSettings)||void 0===o?void 0:o.allowEditDataSource)||void 0===s||s),p=!(null===(l=null===(n=this._dataSourceSettings)||void 0===n?void 0:n.allowRemoveDataSource)||void 0===l||l)||p||u);const m=[];return c||m.push({text:"Properties",displayText:()=>(0,L.getLocalization)("Properties","AnalyticsCoreStringId.Cmd_Properties"),imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",clickAction:t=>{e(t.data.data)}}),p||u||m.push({text:"Delete",displayText:()=>(0,L.getLocalization)("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",clickAction:e=>{const a=null==e?void 0:e.data.data;if(a instanceof yg)i().styles.remove(a);else if(a instanceof Th)i().formattingRuleSheet.remove(a);else if(a instanceof ah){const e=i().dsHelperProvider(),t=e.findDataSourceInfo(a.data);t&&e.removeDataSource(t)}else(0,B.deleteSelection)(t,a)}}),m}_createActionsForArray(e,t){return"Styles"===e.data.name||"Formatting Rules"===e.data.name?[{text:"Add New "+("Styles"===e.data.name?"Style":"Formatting Rule"),imageClassName:"dx-image-add",imageTemplateName:"dxrd-svg-operations-add",clickAction:()=>{if("Styles"===e.data.name){const e=(0,B.getUniqueNameForNamedObjectsArray)(t().styles(),"xrControlStyle");t().styles.push(new yg({"@Name":e}))}else t().formattingRuleSheet.push(Th.createNew(t()))}}]:[]}_getPathNonControl(e,t,a,i,r){const o=r()&&r()[a](),s=o&&o.indexOf(e)||0;return s<0?(i(o[0]||r()),o.length>0?[t,t,0].join("."):"Report"):[t,t,s].join(".")}}class xw{static validateScripts(e){return(0,B.ajax)(Wp(),"validateScripts",encodeURIComponent(JSON.stringify({report:JSON.stringify({XtraReportsLayoutSerializer:e.serialize()})})))}static getCompletions(e,t,a,i,r,o,s,n){return n?(0,B.ajax)(Wp(),"getCompletions",encodeURIComponent(JSON.stringify({Line:a.row,Column:a.column,Guid:n,Script:s.getValue()}))):k.Deferred().resolve().promise()}static setCodeDom(e,t){return(0,B.ajax)(Wp(),"setReportLayout",encodeURIComponent(JSON.stringify({ReportLayout:t,Key:e})))}}const vw={EvaluateBinding:"DevExpress.XtraReports.UI.BindingEventArgs",AfterPrint:"System.EventArgs",BeforePrint:"System.ComponentModel.CancelEventArgs",PrintOnPage:"DevExpress.XtraReports.UI.PrintOnPageEventArgs",Draw:"DevExpress.XtraReports.UI.DrawEventArgs",HtmlItemCreated:"DevExpress.XtraReports.UI.HtmlEventArgs",LocationChanged:"DevExpress.XtraReports.UI.ChangeEventArgs",ParentChanged:"DevExpress.XtraReports.UI.ChangeEventArgs",PreviewClick:"DevExpress.XtraReports.UI.PreviewMouseEventArgs",PreviewDoubleClick:"DevExpress.XtraReports.UI.PreviewMouseEventArgs",PreviewMouseDown:"DevExpress.XtraReports.UI.PreviewMouseEventArgs",PreviewMouseMove:"DevExpress.XtraReports.UI.PreviewMouseEventArgs",PreviewMouseUp:"DevExpress.XtraReports.UI.PreviewMouseEventArgs",SizeChanged:"DevExpress.XtraReports.UI.ChangeEventArgs",TextChanged:"System.EventArgs",SummaryCalculated:"DevExpress.XtraReports.UI.TextFormatEventArgs",SummaryGetResult:"DevExpress.XtraReports.UI.SummaryGetResultEventArgs",SummaryReset:"System.EventArgs",SummaryRowChanged:"System.EventArgs",BandLevelChanged:"System.EventArgs",SortingSummaryGetResult:"DevExpress.XtraReports.UI.GroupSortingSummaryGetResultEventArgs",SortingSummaryReset:"System.EventArgs",SortingSummaryRowChanged:"DevExpress.XtraReports.UI.GroupSortingSummaryRowChangedEventArgs",DataSourceDemanded:"System.EventArgs",BandHeightChanged:"DevExpress.XtraReports.UI.BandEventArgs",DataSourceRowChanged:"DevExpress.XtraReports.UI.DataSourceRowEventArgs",FillEmptySpace:"DevExpress.XtraReports.UI.BandEventArgs",PrintProgress:"DevExpress.XtraPrinting.PrintProgressEventArgs",ParametersRequestBeforeShow:"DevExpress.XtraReports.Parameters.ParametersRequestEventArgs",ParametersRequestValueChanged:"DevExpress.XtraReports.Parameters.ParametersRequestValueChangedEventArgs",ParametersRequestSubmit:"DevExpress.XtraReports.Parameters.ParametersRequestEventArgs",GetValue:"DevExpress.XtraReports.UI.GetValueEventArgs",FieldValueDisplayText:"DevExpress.XtraReports.UI.PivotGrid.PivotFieldDisplayTextEventArgs",PrintCell:"DevExpress.XtraReports.UI.PivotGrid.CustomExportCellEventArgs",PrintFieldValue:"DevExpress.XtraReports.UI.PivotGrid.CustomExportFieldValueEventArgs",PrintHeader:"DevExpress.XtraReports.UI.PivotGrid.CustomExportHeaderEventArgs",CustomSummary:"DevExpress.XtraReports.UI.PivotGrid.PivotGridCustomSummaryEventArgs",CustomGroupInterval:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomGroupIntervalEventArgs",CustomChartDataSourceData:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomChartDataSourceDataEventArgs",CustomChartDataSourceRows:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomChartDataSourceRowsEventArgs",CustomCellDisplayText:"DevExpress.XtraReports.UI.PivotGrid.PivotCellDisplayTextEventArgs",CustomCellValue:"DevExpress.XtraReports.UI.PivotGrid.PivotCellValueEventArgs",CustomColumnWidth:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomColumnWidthEventArgs",CustomFieldSort:"DevExpress.XtraReports.UI.PivotGrid.PivotGridCustomFieldSortEventArgs",CustomServerModeSort:"DevExpress.XtraReports.UI.PivotGrid.PivotGridCustomServerModeSortEventArgs",CustomFieldValueCells:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomFieldValueCellsEventArgs",CustomRowHeight:"DevExpress.XtraReports.UI.PivotGrid.PivotCustomRowHeightEventArgs",CustomUnboundFieldData:"DevExpress.XtraReports.UI.PivotGrid.CustomFieldDataEventArgs",PrefilterCriteriaChanged:"System.EventArgs",CustomDrawSeries:"DevExpress.XtraCharts.CustomDrawSeriesEventArgs",CustomDrawSeriesPoint:"DevExpress.XtraCharts.CustomDrawSeriesPointEventArgs",CustomDrawCrosshair:"DevExpress.XtraCharts.CustomDrawCrosshairEventArgs",CustomDrawAxisLabel:"DevExpress.XtraCharts.CustomDrawAxisLabelEventArgs",CustomPaint:"DevExpress.XtraCharts.CustomPaintEventArgs",BoundDataChanged:"System.EventArgs",PieSeriesPointExploded:"DevExpress.XtraCharts.PieSeriesPointExplodedEventArgs",AxisScaleChanged:"DevExpress.XtraCharts.AxisScaleChangedEventArgs",AxisWholeRangeChanged:"DevExpress.XtraCharts.AxisRangeChangedEventArgs",AxisVisualRangeChanged:"DevExpress.XtraCharts.AxisRangeChangedEventArgs",SmallChartTextShowing:"System.EventArgs"},fw=window.ace;var bw=e.n(fw);var yw=e.n("/mode-csharp");var Sw=e.n("/mode-vbscript");class Cw{static _createDummy(e){return Object.keys(e).forEach((t=>{(0,B.isPlainObject)(e[t])?(Cw._createDummy(e[t]),((0,B.isEmptyObject)(e[t])||1===Object.keys(e[t]).length&&e[t]["@Ref"])&&delete e[t]):"@Ref"!==t&&0!==t.indexOf("Item")&&"@Name"!==t&&"Name"!==t&&"@ControlType"!==t&&"@ObjectType"!==t&&"@Content"!==t&&"@Type"!==t&&0!==e[t].toString().indexOf("#Ref-")&&delete e[t]})),e}}class Dw{constructor(e,t,a){this.completions=[],this.report=e,this.editorInstance=t,this.guid=a,this.oldPrefix=null}__getCompletions(e,t,a,i,r){const o=this;xw.getCompletions(e,t,a,i,r,this.report(),this.editorInstance,this.guid()).done((function(s){if(s)if(1===s.State)xw.setCodeDom(o.guid(),JSON.stringify({XtraReportsLayoutSerializer:Cw._createDummy(o.report().serialize())})).done((s=>{o.guid(s.Guid),o.__getCompletions(e,t,a,i,r)}));else{const t=[];if(s.Errors.length>0){const a=e.getSession().getLength();s.Errors.forEach((e=>{e.Line<a&&e.Line>=0&&t.push({row:e.Line+1,column:e.Column,text:e.ErrorNumber+" - "+e.ErrorText,type:e.IsWarning?"warning":"error"})})),e.getSession().setAnnotations(t)}o.completions=s.Completions,r(null,s.Completions)}}))}getCompletions(e,t,a,i,r){this.oldPrefix&&i[0]===this.oldPrefix?this.oldPrefix==i[0]&&this.completions.length>0&&r(null,this.completions):(this.oldPrefix=i[0],this.__getCompletions(e,t,a,i,r))}}(0,G.aceAvailable)(!!bw()),!window.ace&&(0,G.aceAvailable)()&&(bw().config.setModuleUrl("ace/mode/csharp",yw()),bw().config.setModuleUrl("ace/mode/vbscript",Sw()));class _w{constructor(e){this._report=e}getLanguageMode(){if(this._report()){switch(this._report().scriptLanguage()){case"CSharp":return"ace/mode/csharp";case"VisualBasic":return"ace/mode/vbscript";default:return"ace/mode/text"}}}createNewHandler(e,t){if(this._report()){switch(this._report().scriptLanguage()){case"CSharp":return"\r\nprivate void "+e+"(object sender, "+t+" e) {\r\n\r\n}\r\n";case"VisualBasic":return"\r\nPrivate Sub "+e+"(ByVal sender As Object, ByVal e As "+t+")\r\n\r\nEnd Sub\r\n";case"JScript":return"\r\nprivate final function "+e+"(sender : System.Object, e : "+t+") {\r\n\r\n}\r\n"}}}getFunctionNamesFromScript(e){if(this._report()){const t={CSharp:"void ",VisualBasic:"Sub ",JScript:"function "},a=this._report().scriptLanguage(),i=[];if(e){const r=e.match(new RegExp(t[a]+"(([A-Z])|[a-z])\\w+\\(","g"));r&&r.forEach((e=>{i.push(e.substring(t[a].length,e.length-1))}))}return i}}createCompleters(e,t,a){return[new Dw(t.$root.model,e,a.guid)]}}class Iw extends B.ActionListsBase{constructor(e,t){super(),this._selectionNotEmpty=A.observable(!1),this._canUndo=A.observable(!1),this._canRedo=A.observable(!1),this._cursorPosition=A.observable().extend({throttle:100}),this.guid=A.observable(null),this.editorContainer=A.observable(),this.editorVisible=A.observable(!1),this.toolbarItems=[],this.controls=A.observableArray([]),this.selectedControl=A.observable(),this.eventsCollection=A.observable([]),this.selectedEvent=A.observable(),this.validateDisabled=A.observable(!1),this.aceOptions={enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0,showPrintMargin:!1};const a=this;let i=!1;this.languageHelper=new _w(e),this._updateEditorState=()=>{this.editorContainer()&&this.editorContainer().getSession()&&(this._canUndo(this.editorContainer().getSession().getUndoManager().hasUndo()),this._canRedo(this.editorContainer().getSession().getUndoManager().hasRedo()))},this.selectionChanged=e=>{this._selectionNotEmpty(!e.getSelection().isEmpty()),this._updateEditorState(),e.focus()},this.report=e,this.scriptsText=A.pureComputed({read:()=>this.report()&&this.report().scriptsSource(),write:e=>{this.report()&&this.report().scriptsSource(e)}}),this._initializeToolbar(),this.editorContainer.subscribe((e=>{e.getSession()&&(e.getSession().getSelection().on("changeSelection",(()=>{this.selectionChanged(e)})),e.getSession().getSelection().on("changeCursor",(()=>{a._cursorPosition(e.getCursorPosition())})))})),this._cursorPosition.subscribe((e=>{const t=this._getFunctionName(e.row);let a,r;if(this.controls().some((e=>(a=e,r=this._getEventByFunction(e,t),!!r))),a&&r)try{i=!0,this.selectedControl(a),this.selectedEvent(r)}finally{i=!1}})),this._disposables.push(A.computed((()=>{this.controls(t().filter((e=>!!e.scripts&&!e.lockedInUserDesigner())))}))),this.selectedControl.subscribe((e=>{let t=[];if(e){const a=e.getInfo().filter((e=>"scripts"===e.propertyName))[0];t=a&&a.info.filter((e=>!1!==A.unwrap(e.visible)&&!A.unwrap(e.disabled))).map((e=>0===e.propertyName.indexOf("on")?e.propertyName.substring(2):e.propertyName))}this.selectedEvent(""),this.eventsCollection(t)})),this._ensureFunction=(e,t)=>{const a=this.editorContainer();if(a){const i=a.getValue();if(-1===i.indexOf(e)){const r=this.languageHelper.createNewHandler(e,t),o=i.concat(r);this.report().scriptsSource(o),a.setValue(o)}}},this.ensureEvent=(e,t,a)=>{let i=a;i||(i=this.selectedControl()),t=Iw.generateFunctionName(i,e,t,this.allFunctionNames);const r=Iw.getEventArgsType(e);this._ensureFunction(t,r),this._changeSelection(t),i.scripts["on"+e](t),this.selectedControl(i),-1===this.controls.indexOf(i)&&this.controls.push(k.extend({displayExpr:i.name},i)),this.selectedEvent(e)},this.selectedEvent.subscribe((e=>{if(!i&&e){const t=this.selectedControl(),a=t&&t.scripts["on"+e],i=a&&a();i&&-1!==this.allFunctionNames.indexOf(i)?this._changeSelection(i):this.ensureEvent(e)}}))}_changeSelection(e){const t=this.editorContainer();t&&(t.find(e,{backwards:!1,wrap:!1,caseSensitive:!1,wholeWord:!0,regExp:!1},!0),t.findNext(),t.findPrevious())}createActionViewModel(e,t){const a=super.createActionViewModel(e,t);if("controls"in e){const t=(0,Oi.createViewModelGenerator)(a).generateProperty("getPopupContainer",B.getParentContainer).generateProperty("widget",(0,Oi.createViewModelGenerator)().generateProperty("dataSource",A.unwrap(e.controls)).generateProperty("value",A.unwrap(e.control)).generateProperty("width","300px").generateProperty("onValueChanged",(t=>{e.control(t.value)})).generateProperty("displayExpr",e.displayExpr).generateProperty("placeholder",(0,L.getLocalization)("Select control...","ASPxReportsStringId.ReportDesigner_ScriptEditor_Toolbar_SelectControl")).getViewModel()).getViewModel();return this.subscribe(e.controls,(()=>t.widget.dataSource=A.unwrap(e.controls))),this.subscribe(e.control,(()=>t.widget.value=A.unwrap(e.control))),t}if("events"in e){const t=(0,Oi.createViewModelGenerator)(a).generateProperty("getPopupContainer",B.getParentContainer).generateProperty("widget",(0,Oi.createViewModelGenerator)().generateProperty("dataSource",A.unwrap(e.events)).generateProperty("width","200px").generateProperty("value",A.unwrap(e.event)).generateProperty("onValueChanged",(t=>{e.event(t.value)})).generateProperty("displayExpr",e.displayExpr).generateProperty("placeholder",(0,L.getLocalization)("Select event...","ASPxReportsStringId.ReportDesigner_ScriptEditor_Toolbar_SelectEvent")).getViewModel()).getViewModel();return this.subscribe(e.events,(()=>t.widget.dataSource=A.unwrap(e.events))),this.subscribe(e.event,(()=>t.widget.value=A.unwrap(e.event))),t}return a}_initializeToolbar(){const e=this,t=A.observable("");this.toolbarItems.push({text:"Cut",displayText:()=>(0,L.getLocalization)("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:A.pureComputed((()=>!e.report()||!e._selectionNotEmpty())),visible:!0,clickAction:()=>{t(e.editorContainer().getCopyText()),e.editorContainer().execCommand("cut")},hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),this.toolbarItems.push({text:"Copy",displayText:()=>(0,L.getLocalization)("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:A.pureComputed((()=>!e.report()||!e._selectionNotEmpty())),visible:!0,clickAction:()=>{t(e.editorContainer().getCopyText())},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),this.toolbarItems.push({text:"Paste",displayText:()=>(0,L.getLocalization)("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:A.pureComputed((()=>!e.report()||!t())),visible:!0,clickAction:()=>{e.editorContainer().onPaste(t())},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),this.toolbarItems.push({text:"Delete",displayText:()=>(0,L.getLocalization)("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:A.pureComputed((()=>!e.report()||!e._selectionNotEmpty())),visible:!0,clickAction:()=>{e.editorContainer().execCommand("del")}}),this.toolbarItems.push({text:"Undo",displayText:()=>(0,L.getLocalization)("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:A.pureComputed((()=>!e.report()||!e._canUndo())),visible:!0,clickAction:()=>{e.editorContainer().undo(!1),e._updateEditorState()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),this.toolbarItems.push({text:"Redo",displayText:()=>(0,L.getLocalization)("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:A.pureComputed((()=>!e.report()||!e._canRedo())),visible:!0,clickAction:()=>{e.editorContainer().redo(!1),e._updateEditorState()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),this.toolbarItems.push({text:"Controls",disabled:A.pureComputed((()=>!this.report())),visible:this.editorVisible,control:e.selectedControl,controls:e.controls,displayExpr:e=>(0,B.getControlFullName)(e),templateName:"dxrd-scripting-selectboxaction",hasSeparator:!0}),this.toolbarItems.push({text:"Events",disabled:A.pureComputed((()=>!this.report())),visible:this.editorVisible,events:e.eventsCollection,event:e.selectedEvent,templateName:"dxrd-scripting-selectboxaction"}),this.toolbarItems.push({text:"Validate",displayText:()=>(0,L.getLocalization)("Validate","ReportStringId.ScriptEditor_Validate"),imageClassName:"dxrd-image-validate",imageTemplateName:"dxrd-svg-toolbar-validate",disabled:A.pureComputed((()=>!e.report()||e.validateDisabled()||!e.editorContainer())),visible:this.editorVisible,hotKey:{ctrlKey:!0,keyCode:"L".charCodeAt(0)},clickAction:()=>{e.validateDisabled(!0),e._setScriptsText(),xw.validateScripts(e.report()).done((function(t){if(!e.editorContainer())return;const a=[];t.forEach((t=>{const i=e.editorContainer().getSession().getLength();a.push({row:e._getValidIndex(t.Line,i),column:e._getValidIndex(t.Column,i),text:t.ErrorNumber+" - "+t.ErrorText,type:t.IsWarning?"warning":"error"})})),e.editorContainer().getSession().setAnnotations(a),e.validateDisabled(!1),a.length>0?(0,B.ShowMessage)((0,L.getLocalization)("The script contains error(s).","ASPxReportsStringId.ReportDesigner_ScriptValidation_Message_ContainsErrors")):(0,B.ShowMessage)((0,L.getLocalization)("The script is valid.","ASPxReportsStringId.ReportDesigner_ScriptValidation_Message_ValidScript"),"success")})).fail((function(t){(0,B.ShowMessage)((0,L.getLocalization)("Impossible to validate the script.","ASPxReportsStringId.ReportDesigner_ScriptValidation_Error")),e.validateDisabled(!1)}))},hasSeparator:!0}),this.toolbarItems.push({text:"Design",displayText:()=>(0,L.getLocalization)("Design","ReportStringId.RepTabCtl_Designer"),imageClassName:"dxrd-image-design",imageTemplateName:"dxrd-svg-preview-report_designer",disabled:A.pureComputed((()=>!this.report())),visible:this.editorVisible,hotKey:{ctrlKey:!0,keyCode:"P".charCodeAt(0)},clickAction:()=>{e._setScriptsText(),e.editorVisible(!1)},hasSeparator:!0})}_getValidIndex(e,t){const a=e<=t?Math.max(1,e):1;return Math.max(0,a-1)}_setScriptsText(){const e=this.editorContainer();e&&this.scriptsText(e.getValue())}_getFunctionName(e){let t="";const a=this.editorContainer().getSession().getDocument().getAllLines();for(let i=e;i>=0&&!t;i--)for(let e=0;e<this.allFunctionNames.length;e++)if(-1!==a[i].indexOf(this.allFunctionNames[e])){t=this.allFunctionNames[e];break}return t}_getEventByFunction(e,t){let a="";return Object.keys(e.scripts).some((i=>{if(a)return!0;const r=i;return A.unwrap(e.scripts[r])===t&&0===r.indexOf("on")&&(a=r.substring(2)),!1})),a}static generateFunctionName(e,t,a,i=[]){return a||A.unwrap(e.name)?(0,B.replaceInvalidSymbols)(a||A.unwrap(e.name)+"_"+t):(0,B.getUniqueName)(i,t)}static getEventArgsType(e){return vw[e]||"System.EventArgs"}initialize(){xw.setCodeDom("",JSON.stringify({XtraReportsLayoutSerializer:Cw._createDummy(this.report().serialize())})).done((e=>{this.guid(e.Guid)}))}get allFunctionNames(){return this.scriptsText()?this.languageHelper.getFunctionNamesFromScript(this.scriptsText()):[]}}class Pw extends L.Disposable{constructor(e){super(),this._rootElement=e}scrollToControl(e){if(null==this._viewport&&(this._viewport=this._rootElement.getElementsByClassName("dxrd-viewport")[0]),e.absolutePosition){const t=e.absolutePosition,a=this._getScrollOffset(t.x(),this._viewport.scrollLeft,this._viewport.clientWidth,this._viewport.scrollWidth),i=this._getScrollOffset(t.y(),this._viewport.scrollTop,this._viewport.clientHeight,this._viewport.scrollHeight);this._viewport.scrollTo?this._viewport.scrollTo({left:a,top:i}):(this._viewport.scrollLeft=a,this._viewport.scrollTop=i)}}_getScrollOffset(e,t,a,i){let r=t;return(e<t||e>(t+a)/2)&&(r=e,r+a/2<i&&(r-=a/2)),r}dispose(){this._viewport=null,this._rootElement=null}}const Tw=e=>({createChild:(t,a)=>{let i=null,r=t;if(!a.restore)return"XRCrossBandBox"===a["@ControlType"]||"XRCrossBandLine"===a["@ControlType"]?(r=t.root,i=r.createChild(a)):(i=B.copyPasteStrategy.createChild(r,a),i instanceof Kv&&!a["@Text"]&&i.text&&i.text("")),e&&e({parent:r,model:i}),i;a.restore()},calculateDelta:(e,t,a)=>{const i=B.copyPasteStrategy.calculateDelta(e,t,a);return"XRCrossBandBox"!==e.getControlModel().controlType&&"XRCrossBandLine"!==e.getControlModel().controlType||(i.y+=t.absolutePosition.y()),i},createSelfRestoringItems:(e,t)=>e instanceof z_?e.dependentStyles.map((a=>{const i=t.serialize(a);return{restore:()=>e.root.styles&&e.root.styles.push(new yg(i))}})):[],canPaste:(e,t)=>{const a=e.surface;return t.objects.map((t=>e.getControlFactory().getControlInfo(e.getControlFactory().getControlType(t)))).every((e=>(!e.canPaste||e.canPaste(a))&&(!e.canDrop||e.canDrop(a))))}});class zw{_customMergeForFormatString(e,t,a){if("formatString"===e){const i=A.observable(t.every((a=>t[0][e].peek()===a[e].peek()))?t[0][e].peek():null);return{result:i,subscriptions:[i.subscribe((i=>{a&&a().start(),t.forEach((t=>{t.disabled()||t[e](i)})),a&&a().end()}))]}}}customMerge(e,t,a){if("dataBindings"===e){const i=A.observableArray();let r=[];const o=[].concat.apply([],t.map((t=>t[e]())));return t[0][e]().map((e=>e.propertyName())).forEach((e=>{const s=o.filter((t=>t.propertyName()===e));if(s.length===t.length){const e=B.CombinedObject._merge(s,a,((e,t,a)=>this._customMergeForFormatString(e,t,a))),t=e.result;t.isEmpty=()=>!(t.dataMember()||t.dataSource()||t.parameter()),t.visible=A.observable(!1),t.disabled=A.computed((()=>s.every((e=>e.disabled())))),e.subscriptions.push(t.disabled),i.push(t),r=[].concat.apply(r,e.subscriptions)}})),{result:i,subscriptions:r}}}}class Nw extends B.EditorAddOn{constructor(e,t,a=""){super(e,t),this._set("imageTemplateName",a)}onPopupShown(e){}showPopup(e,t){super.showPopup(e,t);const a=this._popupService;this.onPopupShown(a),a.target(t)}}class Ew extends Nw{constructor(){super(...arguments),this.activateExpressionEditorFunc=e=>{},this.templateName="dxrd-expression-editor-addon"}dispose(){super.dispose(),this.activateExpressionEditorFunc=null}actionFilter(e){return super.actionFilter(e)&&e.id===lv}onPopupShown(e){e.disabled(!1);const t=e.actions();if(1==t.length){const a=t[0].items;a&&a.length?(e.actions(a),e.title(t[0].title)):(t[0].action(this._editor.name),this.activateExpressionEditorFunc(t[0]))}}cacheFunction(e){this.activateExpressionEditorFunc=e}}class ww extends Nw{onPopupShown(e){e.disabled(this._editor._get("disabled"))}actionFilter(e){return super.actionFilter(e)&&e.id!==lv}}const Rw={Copy:"ReportStringId.RibbonXRDesign_Copy_STipTitle",NewViaWizard:"ReportStringId.UD_Capt_NewWizardReport",Open:"ReportStringId.UD_Capt_OpenFile",Save:"ReportStringId.Verb_Save",SaveAs:"ReportStringId.UD_Capt_SaveFileAs",MdiReportChanged:"ReportStringId.UD_Msg_MdiReportChanged"},Bw=DevExpress.Analytics.Criteria;class Vw extends TN{constructor(e,t,a=nv.Expressions){super(),this._controlsHelper=e,this._undoEngine=t,this._dataBindingMode=a,this.convertChoiceEnum={Convert:"Convert",Cancel:"Cancel"},this._formattingMapper={"@BackColor":"@BackColor","@Sides":"@Borders","@BorderColor":"@BorderColor","@BorderDashStyle":"@BorderDashStyle","@BorderWidthSerializable":"@BorderWidth","@ForeColor":"@ForeColor","@Font":"@Font","@Padding":"@Padding","@TextAlignment":"@TextAlignment","@Visible":"@Visible"},this._expressionsToControlMap={},this._lastChoice=null,this._defaultFormatting={},this._notShowAgain=A.observable(!1),this._detailLink="https://devexpress.github.io/dotnet-eud/interface-elements-for-web/articles/report-designer/bind-to-data/data-binding-modes.html",this._model=null,this._mapFontObj(this._defaultFormatting,new G.FontModel(A.observable(""))),this._mapPaddingObj(this._defaultFormatting,Q.PaddingModel.from("0,0,0,0")),this.popupOptions.linkUrl=this._detailLink,this.popupOptions.confirmMessage=(0,B.formatUnicorn)((0,L.getLocalization)("The {0} contains bindings. Do you want to convert them to expressions?","ReportStringId.UD_Msg_ConvertBindings"),(0,L.getLocalization)("Report","DevExpress.XtraReports.UI.XtraReport")),this.popupOptions.linkText=(0,L.getLocalization)("Learn more about the expressions...","ReportStringId.UD_Msg_ConvertBindings_LinkText"),this.popupOptions.buttons.push({toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:this._notShowAgain,text:(0,L.getLocalization)("Remember my choice and don't ask me again.","ReportStringId.UD_Msg_ConvertBindings_RememberMyChoice")}})}_mapRulesProperties(e){const t={};return Object.keys(e).forEach((a=>{this._formattingMapper[a]&&(t[this._formattingMapper[a]]=e[a])})),t}_hasBindings(){return this._controlsHelper.allControls().map((e=>A.unwrap(e.dataBindings))).filter((e=>!!e)).some((e=>e.some((e=>!!e.dataMember()||!!e.parameter()))))}_hasFormattingRules(){return this._model.formattingRuleSheet().length>0}convert(e,t=hP.Prompt){if(!e.dataBindingMode&&(this._model=e,e._dataBindingMode(this._dataBindingMode),this._dataBindingMode!==nv.Bindings&&this._controlsHelper)){const e=this._hasBindings()||this._hasFormattingRules();if(t===hP.False)return this._cancel(e?nv.Bindings:this._dataBindingMode);if(!(!e||this._canConvertReport()))return this._cancel();t===hP.True||this._notShowAgain()?e&&this._lastChoice!==this.convertChoiceEnum.Cancel&&this._applyChanges():(e||(this._model=null,this._expressionsToControlMap={}),this.popupOptions.visible(e))}}_generateStyleName(e){return e}_createBindingExpression(e,t,a){return"Text"===e.propertyName()&&t&&(a=(0,B.formatUnicorn)(t,a)),"Text"!==e.propertyName()&&e.formatString()&&(a=(0,B.formatUnicorn)("FormatString('{0}', {1})",e.formatString(),a)),Hy.createExpression(e.propertyName(),"BeforePrint",a)}_tryToGenerateBindingExpressions(e,t,a){const i=A.unwrap(e.dataBindings);let r=!0,o=null;if(e.Summary&&"None"!==A.unwrap(e.Summary.Running)){const t=A.unwrap(e.Summary.Func);if("Custom"===t)return!1;o="sum"+t+"({0})"}return i&&(r=i.every((e=>{let i="";if(e.dataSource()&&a.dataSource!==e.dataSource())return!1;if(e.parameter())i="[Parameters."+e.parameter().name+"]";else if(e.dataMember()){if(i=e.dataMember(),a.dataMember){const t=a.dataMember+".";0===e.dataMember().indexOf(t)&&(i=e.dataMember().substring(t.length))}i="["+i+"]"}return i&&t.push(this._createBindingExpression(e,o,i)),!0}))),r}_resetDataBindings(e){const t=A.unwrap(e.dataBindings);t&&t.forEach((t=>{let a=null;"Text"===t.propertyName()&&(a=e.textFormatString&&e.textFormatString()),t.resetValue(),a&&e.textFormatString(a)}))}_mapPaddingObj(e,t){e["@Padding.Left"]=t._get("left"),e["@Padding.Right"]=t._get("right"),e["@Padding.Top"]=t._get("top"),e["@Padding.Bottom"]=t._get("bottom")}_mapFontObj(e,t){e["@Font.Name"]=t.family(),e["@Font.Size"]=t.size(),e["@Font.Italic"]=t.modificators.italic(),e["@Font.Strikeout"]=t.modificators.strikeout(),e["@Font.Bold"]=t.modificators.bold(),e["@Font.Underline"]=t.modificators.underline()}_splitFontPropertyValue(e){if(e["@Font"]){const t=new G.FontModel(A.observable(e["@Font"]));this._mapFontObj(e,t),delete e["@Font"]}}_splitPaddingPropertyValue(e){if(e["@Padding"]){const t=Q.PaddingModel.from(e["@Padding"]);this._mapPaddingObj(e,t),delete e["@Padding"]}}_patchRuleCondition(e,t,a){if(!e)return e;const i=Fb.CriteriaOperatorStateMachine.parse(e),r=[];return(0,Fb.criteriaForEach)(i,((e,i)=>{e instanceof Bw.OperandProperty&&i===t&&r.push((()=>{let i=[t,e.propertyName].join(".");0!==i.indexOf(a)||i.length!==a.length&&"."!==i[a.length]||(i=i.substr(a.length+1,i.length)),e.propertyName=i}))}),t),r.forEach((e=>e())),(new G.FilterEditorSerializer).serialize(i)}_tryToGenerateFormattingRulesExpressions(e,t,a,i){if(!e.formattingRuleLinks)return!0;const r={},o=k.extend(!0,[],e.formattingRuleLinks().map((e=>a[e.value().name()]))),s=[];return!!o.every((e=>i.dataSource===e.dataSource&&(Object.keys(e.formatting).forEach((t=>{-1!==t.indexOf(".")&&this._defaultFormatting[t]!==e.formatting[t]&&s.push(t)})),!0)))&&(o.forEach((e=>(e.dataMember!==i.dataMember&&(e.condition=this._patchRuleCondition(e.condition,e.dataMember,i.dataMember)),Object.keys(e.formatting).forEach((t=>{const a=-1!==t.indexOf(".");(!a||a&&-1!==s.indexOf(t))&&(r[t]||(r[t]=[]),r[t].unshift(e.condition,"'"+e.formatting[t]+"'"))})),!0))),Object.keys(r).forEach((e=>{t.push(this._createRuleExpression(r[e],"?",e.substring(1)))})),!0)}_getControlDataSourceDataMember(e){let t=null,a=null;for(;!t&&e;)t=t||e.dataSource&&e.dataSource(),a=a||e.dataMember&&e.dataMember(),e=e.parentModel();return{dataSource:t,dataMember:a}}_generateFormattingRulesDictionary(){const e={};return this._model.formattingRuleSheet().forEach((t=>{const a={condition:t.condition(),formatting:this._mapRulesProperties((new L.ModelSerializer).serialize(t.formatting)),dataSource:t.dataSource()||this._model.dataSource(),dataMember:t.dataMember()||this._model.dataMember()};this._splitFontPropertyValue(a.formatting),this._splitPaddingPropertyValue(a.formatting),e[t.name()]=a})),e}_createRuleExpression(e,t,a){return e.push(t),Hy.createExpression(a,"BeforePrint","iif("+e.join(",")+")")}_canConvertReport(){const e=this._controlsHelper.allControls().filter(bP),t=this._generateFormattingRulesDictionary();return this._expressionsToControlMap={},e.every((e=>{const a=A.unwrap(e.name);this._expressionsToControlMap[a]=[];const i=this._getControlDataSourceDataMember(e.parentModel&&e.parentModel()||e);return this._tryToGenerateBindingExpressions(e,this._expressionsToControlMap[a],i)&&this._tryToGenerateFormattingRulesExpressions(e,this._expressionsToControlMap[a],t,i)}))}_applyChanges(){this._lastChoice=this.convertChoiceEnum.Convert;const e=this._controlsHelper.allControls().filter(bP);this._model.formattingRuleSheet.removeAll(),e.forEach((e=>{e.formattingRuleLinks&&e.formattingRuleLinks.removeAll();const t=A.unwrap(e.name);this._resetDataBindings(e);const a=this._expressionsToControlMap[t];a.length>0&&e.expressionBindings(a)})),this.popupOptions.visible(!1),this._undoEngine().clearHistory(),this._undoEngine().isDirty(!0),this._expressionsToControlMap=null,this._model=null}_cancel(e=nv.Bindings){this._lastChoice=this.convertChoiceEnum.Cancel,this._model._dataBindingMode(e),this._model=null,this._expressionsToControlMap={},this.popupOptions.visible(!1)}}class Mw extends L.Disposable{constructor(e){super(),this._menuOptions=e,this._currentWizard=null,this._wizards={},this._disposables.push(this._menuOptions.collapsed.subscribe((e=>{e||(this._currentWizard.close(),this._currentWizard=null)})))}dispose(){super.dispose(),this._currentWizard=null,this._wizards={}}registerCommand(e,t,a){this._wizards[e]={start:t,close:a}}run(e){this._currentWizard&&this._currentWizard.close(),this._currentWizard=this._wizards[e],this._currentWizard&&this._currentWizard.start()}closeWizard(){this._currentWizard&&this._currentWizard.close()}}class kw extends L.Disposable{constructor(){super(...arguments),this._maxInterval=1e3,this._restoreDictionary={},this._timeouts={}}_getElement(e){return k.fn.constructor(".dx-designer ."+e)[0]}dispose(){(0,Eh.convertMapToKeyValuePair)(this._timeouts).forEach((e=>clearTimeout(e.Value))),super.dispose()}move(e,t="-",a="translateY",i="0.35s transform ease-in-out"){clearTimeout(this._timeouts[e]);const r=this._getElement(e);if(r){const o=a+"("+t+("translateY"===a?r.clientHeight:r.clientWidth)+"px)",s=r.style.transition||"transform 0s ease 0s",n=r.style.visibility||"visible",l=r.style.transform||"none";this._restoreDictionary[e]=t=>{t.style.visibility=n,t.style.transform=l,t.style["-webkit-transform"]=l,this._timeouts[e]=setTimeout((()=>{t.style.transition=s}),this._maxInterval)},r.style.transition=i,r.style.transform=o,r.style["-webkit-transform"]=o,this._timeouts[e]=setTimeout((()=>{r.style.visibility="hidden"}),this._maxInterval)}}reset(e){clearTimeout(this._timeouts[e]);const t=this._getElement(e);t&&this._restoreDictionary[e]&&(this._restoreDictionary[e](t),delete this._restoreDictionary[e])}}const Aw=DevExpress.data.ArrayStore;var Lw=e.n(Aw);class $w extends K.Editor{static createDataSource(e){const t={store:new(Lw())(e),pageSize:20,paginate:!0};return new(FE())(t)}getValues(){return this.dataSource||this._disposables.push(this.dataSource=A.computed((()=>$w.createDataSource(this._get("values"))))),this.dataSource}}const Fw=new class{constructor(){this._services={}}getFirstRegistered(){return(0,B.findFirstItemMatchesCondition)(Object.keys(this._services),(e=>void 0!==this._services[e].onRequest))}getTranslations(e,t){const a=k.Deferred();return k.when(...Object.keys(this._services).map((a=>this.translate(a,e,t)))).done(((...e)=>{a.resolve([].concat.apply([],e))})),a}translate(e,t,a){if(!this._services[e])return;const i=k.Deferred();return k.ajax(this._services[e].onRequest(t,a)).done((t=>{i.resolve({name:e,texts:this._services[e].onResponse(t)})})).fail((()=>i.reject())),i.promise()}register(e,t){this._services[e]=t}unregister(e){delete this._services[e]}};function Ow(e,t){Fw.register(e,t)}function Xw(e){Fw.unregister(e)}class Hw extends L.Disposable{constructor(e){super(),this._options=e,this._allowedPropertyNames=["text","legendText","axisLabelText","legendTextPattern"],this.defaultLanguageText=()=>(0,Bu.availableCultures)()[Bu.defaultCulture],this.currentLanguageText=()=>(0,Bu.availableCultures)()[this.language()],this.propertiesHeaderText=()=>(0,B.getLocalization)("Property","AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"),this.localizationItems=A.observableArray(),this.textToSearch=A.observable(""),this.searchPlaceholder=()=>(0,B.searchPlaceholder)(),this.searchBox=A.observable(null),this.isSearching=A.observable(!1),this.getResizableOptions=B.getResizableOptions,this.isVisible=A.observable(!1),this.width=A.observable(500),this.showLoadIndicator=A.observable(!1),this.getLoadPanelPosition=e=>k.fn.constructor(e).closest(".dxrd-localization-editor"),this._disposables.push(this.availableCultures=$w.createDataSource(Object.keys((0,Bu.availableCultures)()).map((e=>({value:e,displayValue:(0,Bu.availableCultures)()[e]}))))),this.translateHelper=new kw}_uncollapseParent(e){const t=e.parentModel();t&&(t instanceof Gv&&t.expanded(!0),this._uncollapseParent(t))}_subscribeFocused(){return this._options.selection.focused.subscribe((e=>{this._uncollapseParent(e.getControlModel()),this._options.controlScrollingTool.scrollToControl(e)}))}_getDefaultLanguageItems(){return this._options.report()._localization.items.get(Bu.defaultCulture).properties}dispose(){super.dispose(),this.localizationItems().forEach((e=>e.dispose())),this.localizationItems.removeAll(),this._autoScrollingSubscription&&this._autoScrollingSubscription.dispose(),this._options=null,this.language=null,this.searchBox(null),this._selectionDisabled=null,this.translateHelper.dispose()}_isLocalizableControl(e){return!(e instanceof pC)||"Center"!==e.glyphAlignment()}_shouldLocalizeReportControl(e){return e.getLocalizationProperties&&e.text&&!e.hasDataBindingByName()&&this._isLocalizableControl(e)||e instanceof dC}_createLocalizationItem(e,t,a){const i=e.name()+"."+t.propertyName,r=A.observable(t.value());if(!this.isDefaultLanguage()){const i=a.filter((a=>a.component===e&&a.propertyName===t.propertyName))[0];r(i&&i.value)}return{component:e,displayName:i,defaultText:A.computed({read:()=>r(),write:e=>{r(e),this.isDefaultLanguage()&&t.value(e)}}),isDefaultLanguage:()=>this.isDefaultLanguage(),visible:A.computed((()=>{const e=new RegExp(this.textToSearch(),"gi");return[r(),t.value(),i].some((t=>e.test(t)))})),dispose:function(){this.defaultText.dispose(),this.visible.dispose()},localizedText:t.value,multiline:e.multiline}}_updateLocalizationItems(){const e=this._getDefaultLanguageItems(),t=[];this._options.report().enumerateComponents().filter((e=>this._shouldLocalizeReportControl(e))).forEach((a=>{a.getLocalizationProperties().forEach((i=>{const r=i.info.propertyName;-1!==this._allowedPropertyNames.indexOf(r)&&t.push(this._createLocalizationItem(a,i,e))}))})),this.localizationItems(t)}applyLocalization(e){if(this.language()!==Bu.defaultCulture){this.showLoadIndicator(!0);const t=this.localizationItems().reduce(((e,t)=>(t.visible()&&e.push(t.localizedText),e)),[]);Fw.translate(e,t.map((e=>e())),this.language()).done((e=>{e.texts.forEach(((e,a)=>{t[a](e)})),this.showLoadIndicator(!1)})).fail((()=>{this.showLoadIndicator(!1)}))}}clearLocalization(){this._options.report().clearLocalization(this.language())}getRegisteredService(){return Fw.getFirstRegistered()}isDefaultLanguage(){return this.language()===Bu.defaultCulture}start(){this._options.controlScrollingTool&&(this._autoScrollingSubscription=this._subscribeFocused()),this.language=this._options.report().language,this._updateLocalizationItems(),this._options.selection.updateSelection(this._options.report().surface),this._selectionDisabled=this._options.selection.disabled(),this._options.selection.disabled(!0),this.isVisible(!0)}finish(){this._autoScrollingSubscription&&this._autoScrollingSubscription.dispose(),this.localizationItems().forEach((e=>e.dispose())),this.localizationItems.removeAll(),this._options.selection.disabled(this._selectionDisabled),this.language=null,this._selectionDisabled=null,this.searchBox(null),this.isVisible(!1)}onSelectionChanged(e){e.addedItems[0]?this._options.selection.updateSelection(e.addedItems[0].component.surface):this._options.selection.clear()}onItemGotFocus(e){e.model.component.surface.selected()||this._options.selection.updateSelection(e.model.component.surface)}switchSearchBox(){this.isSearching()&&this.textToSearch(""),this.isSearching(!this.isSearching())}}class Ww extends B.PropertiesAccessibilityProvider{constructor(e){super(),this.isDefaultLanguage=e}isPropertyVisible(e){const t=super.isPropertyVisible(e);if(t&&!this.isDefaultLanguage()){const t=e._get("info"),a=()=>t.info&&0!=t.info.length&&0!=t.info.filter((e=>!!e.localizable)).length;return!!t.localizable||a()||this._hasLocalizedParent(e._get("_parent"))}return t}_hasLocalizedParent(e){return!!e&&(!!e._get("info").localizable||this._hasLocalizedParent(e._get("_parent")))}}class Uw{static initializePreview(e){return(0,B.ajax)(Wp(),"initializePreview",encodeURIComponent(JSON.stringify({layout:JSON.stringify({XtraReportsLayoutSerializer:e.serialize()}),culture:e.isLocalized()&&e.language()!==Df.defaultVal?e.language():""})),Nh.PreviewRequestWrapper.getProcessErrorCallback())}}const Gw={ChooseDataMemberPage:"chooseDataMemberPage",SelectColumnsPage:"selectColumnsPage",AddGroupingLevelPage:"addGroupingLevelPage",ChooseSummaryOptionsPage:"chooseSummaryOptionsPage",ChooseReportLayoutPage:"chooseReportLayoutPage",ChooseReportStylePage:"chooseReportStylePage"},jw={SelectReportTypePage:"selectReportTypePage",ChooseAvailableDataSourcePage:"chooseAvailableDataSourcePage",SelectLabelTypePage:"selectLabelTypePage",CustomizeLabelPage:"customizeLabelPage",SelectDataMembersPage:"selectDataMembersPage",AddGroupingLevelPage:"addGroupingLevelPage",ChooseSummaryOptionsPage:"chooseSummaryOptionsPage",ConfigureReportPageSettingsPage:"configureReportPageSettingsPage",ChooseReportColorSchemePage:"chooseReportColorSchemePage",SetReportTitlePage:"setReportTitlePage"},qw={SelectReportTypePage:jw.SelectReportTypePage,SelectDataSourcePage:yN.FullscreenDataSourceWizardPageId.SelectDataSourcePage,SpecifySqlDataSourceSettingsPage:yN.FullscreenDataSourceWizardPageId.SpecifySqlDataSourceSettingsPage,SpecifyJsonDataSourceSettingsPage:yN.FullscreenDataSourceWizardPageId.SpecifyJsonDataSourceSettingsPage,DefineReportLayoutPage:"defineReportLayoutPage",DefineCrossTabPage:"defineCrossTabPage",SpecifyPageSettingsPage:"specifyPageSettingsPage",SpecifyLabelSettingsPage:"specifyLabelSettingsPage"},Jw={ChooseAvailableDataSourcePage:jw.ChooseAvailableDataSourcePage,SelectLabelTypePage:jw.SelectLabelTypePage,CustomizeLabelPage:jw.CustomizeLabelPage,SelectDataMembersPage_Members:"selectDataMembersPage_Members",SelectDataMembersPage_Fields:"selectDataMembersPage_Fields",SelectSingleDataMemberPage:"selectSingleDataMembersPage",AddGroupFieldsPage:jw.AddGroupingLevelPage,AddSummaryFieldsPage:jw.ChooseSummaryOptionsPage,ConfigurePageSettingsPage:jw.ConfigureReportPageSettingsPage,SpecifyReportTitlePage:jw.SetReportTitlePage,ChooseDataSourceTypePage:yN.FullscreenDataSourceWizardPageId.ChooseDataSourceTypePage,ChooseJsonSchemaPage:yN.FullscreenDataSourceWizardSectionId.ChooseJsonSchemaPage,SpecifyJsonConnectionPage:yN.FullscreenDataSourceWizardSectionId.SpecifyJsonConnectionPage,ConfigureMasterDetailRelationshipsPage:yN.FullscreenDataSourceWizardSectionId.ConfigureMasterDetailRelationshipsPage,ConfigureQueryParametersPage:yN.FullscreenDataSourceWizardSectionId.ConfigureQueryParametersPage,ChooseSqlConnectionPage:yN.FullscreenDataSourceWizardSectionId.ChooseSqlConnectionPage,ConfigureQueryPage:yN.FullscreenDataSourceWizardSectionId.ConfigureQueryPage,ChooseJsonSourcePage:yN.FullscreenDataSourceWizardSectionId.ChooseJsonSourcePage,ConfigureCrossTabColumnsPage:"configureCrossTabColumnsPage",ConfigureCrossTabRowsPage:"configureCrossTabRowsPage",ConfigureCrossTabDataPage:"configureCrossTabDataPage"};function Kw(e){let t;return t=e.data instanceof Pb?e.data.getSerializableModel().serialize():(new L.ModelSerializer).serialize(e.data),JSON.stringify(k.extend(!0,{},e,{data:JSON.stringify(t)}))}function Qw(e){const t=JSON.parse(e);if(t){const e=JSON.parse(t.data);if(e.dataSources){const a=new Tb(null,e);t.data=a.dataSource,a.dispose()}else t.data=Yb(JSON.parse(t.data))}return t}class Yw extends yN.ChooseAvailableItemPage{commit(){return k.Deferred().resolve({sqlDataSourceWizard:{},jsonDataSourceWizard:{},dataSource:this.selectedOperation().createNew?null:Kw(this.selectedItems()[0])}).promise()}_getSelectedItem(e){const t=this.items()||[];if(e.dataSource){const a=Qw(e.dataSource);return t.filter((e=>e.id===a.id||e.ref===a.ref))[0]}return 0===t.length?null:t[0]}get createNewOperationText(){return(0,L.getLocalization)("No, I'd like to create a new data source","AnalyticsCoreStringId.Wizard_CreateNewDataSource")}}function Zw(e,t){e.registerMetadata(jw.ChooseAvailableDataSourcePage,{setState:(e,t)=>{t.dataSource=e.dataSource,t.sqlDataSourceWizard=e.sqlDataSourceWizard,t.jsonDataSourceWizard=e.jsonDataSourceWizard},getState:e=>e,resetState:(e,t)=>{e.sqlDataSourceWizard=t.sqlDataSourceWizard,e.jsonDataSourceWizard=t.jsonDataSourceWizard,e.dataSource=t.dataSource},create:()=>new Yw(t.dataSources,t.canCreateDataSource),template:"dxrd-page-selectitems",description:(0,L.getLocalization)("Do you want to use an existing data source?","AnalyticsCoreStringId.Wizard_UseExisting_DataSource")})}class eR{static createNewWizardRequest(e,t,a,i,r){let o=null,s=[];if(e.dataSource=e.dataSource||e.newDataSource,e.dataSource)if(e.dataSourceType===yN.DataSourceType.Federation){const t=JSON.parse(JSON.parse(e.dataSource).data);o=JSON.stringify(t.dataSource),s=Object.keys(t.dataSources).map((e=>JSON.stringify(t.dataSources[e])))}else o=JSON.parse(e.dataSource).data;const n=new t(e);i&&i(n);const l=JSON.stringify({reportModel:n,dataSource:o,dataSources:s,oldReport:null==r?void 0:r.json,useInitialDataSource:null==r?void 0:r.useInitialDataSource,state:a,colorScheme:e.colorScheme&&("Custom"===e.colorScheme.name?e.colorScheme.baseColor:e.colorScheme.name),customData:{data:e.customData,reportTemplateID:e.reportTemplateID}});return encodeURIComponent(l)}static generateReportFromWizardState(e,t,a,i,r){return(0,B.ajax)(Wp(),"generateReportFromWizardModel",this.createNewWizardRequest(e,t,a,i,r),SP.getErrorMessageHandler())}static getLabelReportWizardData(){return(0,B.ajax)(Wp(),"labelReportWizardData","")}static createNewJsonDataSource(e,t){const a=(0,yN._restoreJsonDataSourceFromState)(e),i=k.Deferred();return lE().saveJsonSource(e.newConnectionName,a).done((a=>{e.jsonSource=null,e.connectionName=a,t((0,yN._restoreJsonDataSourceFromState)(e)).done((e=>{e.data=Yb(e.data),i.resolve(Kw(e))})).fail((()=>i.reject()))})).fail((()=>i.reject())),i.promise()}}const tR=k.extend({},B.DesignerBaseElements,{MenuButton:"dxrd-menubutton-template",NavigationPanel:"dxrd-navigation-panel-template",ReportDialog:"dxrd-report-dialog-template",ChartDialog:"dxrd-chart-designer-popup",ReportConverterDialog:"dxrd-report-dialog-converter-template",Parameters:"dxrd-report-parameters-dialogs",ContextMenu:"dxrd-context-menu"}),aR={Preview:"dxrd-report-preview",ReportWizard:"dx-wizard-newlayout#report",ReportWizardFullscreen:"dx-wizard-fullscreen#report",LocalizationEditor:"dxrd-localization-editor",ErrorPanel:"dxrd-error-panel",DataSourceWizard:"dx-wizard-newlayout#data-source",MultiQueryDataSourceWizard:"dx-wizard-newlayout#multiquery-data-source",MultiQueryDataSourceWizardFullscreen:"dx-wizard-fullscreen#multiquery-data-source",MasterDetailEditor:"dxrd-masterDetail-editor",FederatedManageQueriesEditor:"dxrd-federated-manageQueries-editor",FederatedQueriesPopups:"dx-querybuilder-federation-popup-templates",ScriptEditor:"dxrd-scripts",ExpressionEditor:"dxrd-activated-expressioneditor"};class iR extends Gv{constructor(e,t,a){super(e,t,a),this.groupFields=(0,L.deserializeArray)(e.GroupFields,(e=>new $f(e,a))),this.sortingSummary.getPath=e=>{if("fieldName"===e)return this.getPath("groupFields")}}dispose(){super.dispose(),this.disposeObservableArray(this.groupFields),this.resetObservableArray(this.groupFields)}}class rR extends Gv{initHeight(){this.height=this.parentModel()&&this.root.margins.top||A.observable(0),super.initHeight()}}class oR extends Gv{initHeight(){this.height=this.parentModel()&&this.root.margins.bottom||A.observable(0),super.initHeight()}}class sR extends jv{getBackgroundRect(){return{top:this.parent.pageHeight()-this._height(),bottom:undefined,height:this._height()}}get parent(){return this._getParent()}}class nR extends jv{getBackgroundRect(){const e=this._height();return{top:this.parent.pageHeight()-this._totalHeight()-this.parent.margins.bottom(),bottom:undefined,height:e}}get parent(){return this._getParent()}}class lR extends qv{dispose(){super.dispose(),this.disposeObservableArray(this.sortFields),this.resetObservableArray(this.sortFields)}preInit(e,t,a){this.sortFields=(0,L.deserializeArray)(e.SortFields,(e=>new $f(e,a)))}}const dR=e=>e.getControlModel()instanceof Gv;function cR(e){Op(new Wy(e)),Op().registerControl("Unknown",{info:Zg,type:eI,defaultVal:{"@SizeF":"100,23"},nonToolboxItem:!0,surfaceType:Yv}),Op().registerControl("XRLabel",{info:tN,toolboxIndex:0,defaultVal:{"@Padding":lm,"@Multiline":"true","@SizeF":"100,23"},group:"common",defaultBindingName:"Text",surfaceType:Ny,type:Kv,popularProperties:aN,displayName:(0,L.getLocalization)("Label","DevExpress.XtraReports.UI.XRLabel")}),Op().registerControl("XRCheckBox",{info:BT,toolboxIndex:1,group:"common",type:pC,surfaceType:uC,defaultVal:{"@SizeF":"100,23","@Padding":lm},defaultBindingName:"CheckBoxState",popularProperties:VT,displayName:(0,L.getLocalization)("Check Box","DevExpress.XtraReports.UI.XRCheckBox")}),Op().registerControl("XRRichText",{info:Uz,toolboxIndex:2,group:"common",defaultVal:{"@SizeF":"100,23","@Padding":lm},surfaceType:ef()(),type:uI,defaultBindingName:"Rtf",popularProperties:Gz,displayName:(0,L.getLocalization)("Rich Text","DevExpress.XtraReports.UI.XRRichText")}),Op().registerControl("XRPictureBox",{info:Ux,toolboxIndex:3,group:"common",defaultVal:{"@SizeF":"100,100","@Sizing":"ZoomImage"},type:nI,surfaceType:cI,defaultBindingName:"ImageSource",popularProperties:Gx,displayName:(0,L.getLocalization)("Picture Box","DevExpress.XtraReports.UI.XRPictureBox")}),Op().registerControl("XRPanel",{info:MT,toolboxIndex:4,group:"common",defaultVal:{"@SizeF":"300,75"},surfaceType:Yv,type:Kv,isContainer:!0,displayName:(0,L.getLocalization)("Panel","DevExpress.XtraReports.UI.XRPanel")}),Op().registerControl("XRTable",{info:qz,group:"common",type:ky,toolboxIndex:5,defaultVal:{"@SizeF":"300,25","@Padding":lm,Rows:{Item1:{"@ControlType":"XRTableRow","@Weight":"1",Cells:{Item1:{"@ControlType":"XRTableCell","@Weight":"1","@Multiline":"true"},Item2:{"@ControlType":"XRTableCell","@Weight":"1","@Multiline":"true"},Item3:{"@ControlType":"XRTableCell","@Weight":"1","@Multiline":"true"}}}}},surfaceType:Ay,popularProperties:Jz,isContainer:!0,isPasteDeny:!0,canDrop:e=>"XRTableRow"!==e.getControlModel().controlType,displayName:(0,L.getLocalization)("Table","DevExpress.XtraReports.UI.XRTable")}),Op().registerControl("XRCharacterComb",{info:CT,toolboxIndex:6,group:"common",defaultVal:{"@SizeF":"200,80","@Multiline":"true"},defaultBindingName:"Text",surfaceType:jS,type:GS,popularProperties:aN,displayName:(0,L.getLocalization)("Character Comb","DevExpress.XtraReports.UI.XRCharacterComb")}),Op().registerControl("XRLine",{info:nz,group:"graphics",toolboxIndex:7,type:Kv,surfaceType:k_,defaultVal:{"@SizeF":"100,23"},popularProperties:lz,displayName:(0,L.getLocalization)("Line","DevExpress.XtraReports.UI.XRLine")}),Op().registerControl("XRShape",{info:zI,toolboxIndex:8,group:"graphics",defaultVal:{"@SizeF":"100,100"},defaultBindingName:"Tag",type:EI,surfaceType:RI,popularProperties:NI,displayName:(0,L.getLocalization)("Shape","DevExpress.XtraReports.UI.XRShape")}),Op().registerControl("XRBarCode",{info:XS,toolboxIndex:9,group:"graphics",defaultVal:{"@SizeF":"200,75","@Padding":"10,10,0,0,100",Symbology:{"@Name":"Code128"},"@Text":""},defaultBindingName:"Text",surfaceType:FP,type:WS,popularProperties:HS,displayName:(0,L.getLocalization)("Bar Code","DevExpress.XtraReports.UI.XRBarCode")}),Op().registerControl("XRZipCode",{info:rN,type:Kv,nonToolboxItem:!0,group:"graphics",surfaceType:OP,toolboxIndex:10,defaultVal:{"@SizeF":"100,23"},popularProperties:oN,displayName:(0,L.getLocalization)("Zip Code","DevExpress.XtraReports.UI.XRZipCode")}),Op().registerControl("XRChart",{info:PT,group:"complex",toolboxIndex:11,defaultVal:{"@SizeF":"400,300",Chart:{Diagram:{"@TypeNameSerializable":"XYDiagram",AxisY:{"@VisibleInPanesSerializable":"-1"},AxisX:{"@VisibleInPanesSerializable":"-1"}},DataContainer:{}}},defaultBindingName:"Tag",type:dC,surfaceType:cC,popularProperties:["dataSource","dataMember","controlParameters"],displayName:(0,L.getLocalization)("Chart","DevExpress.XtraReports.UI.XRChart")}),Op().registerControl("XRGauge",{info:rz,surfaceType:FP,type:M_,group:"complex",toolboxIndex:12,defaultVal:{"@SizeF":"220,120"},defaultBindingName:"Tag",popularProperties:oz,displayName:(0,L.getLocalization)("Gauge","DevExpress.XtraReports.UI.XRGauge")}),Op().registerControl("XRSparkline",{info:lP,toolboxIndex:13,group:"complex",defaultVal:{"@SizeF":"150,80",View:{"@Type":"Line"}},surfaceType:pP,defaultBindingName:"Tag",type:cP,popularProperties:dP,displayName:(0,L.getLocalization)("Sparkline","DevExpress.XtraReports.UI.XRSparkline")}),Op().registerControl("XRPivotGrid",{info:Fz,toolboxIndex:14,group:"complex",defaultVal:{"@ControlType":"XRPivotGrid","@SizeF":"250,120",OptionsChartDataSource:{},Prefilter:{},OptionsPrint:{"@FilterSeparatorBarPadding":"3","@UsePrintAppearance":"true","@PrintFilterHeaders":"False"},OptionsView:{}},canPaste:dR,defaultBindingName:"Tag",type:nC,surfaceType:lC,nonToolboxItem:Gp()==EN.XRCrossTab,popularProperties:["dataSource","dataMember"],displayName:(0,L.getLocalization)("Pivot Grid","DevExpress.XtraReports.UI.XRPivotGrid")}),Op().registerControl("XRCrossTab",{info:JT,toolboxIndex:14,type:z_,group:"complex",defaultVal:{"@ControlType":"XRCrossTab","@SizeF":"200,50",ColumnDefinitions:{Item1:{},Item2:{}},RowDefinitions:{Item1:{},Item2:{}},Cells:{Item1:{"@ControlType":"XRCrossTabCell","@ColumnIndex":"0","@RowIndex":"0","@Text":null},Item2:{"@ControlType":"XRCrossTabCell","@ColumnIndex":"1","@RowIndex":"1","@Text":null},Item3:{"@ControlType":"XRCrossTabCell","@ColumnIndex":"1","@RowIndex":"0","@Text":null},Item4:{"@ControlType":"XRCrossTabCell","@ColumnIndex":"0","@RowIndex":"1","@Text":null}}},surfaceType:R_,displayName:(0,L.getLocalization)("Cross Tab","DevExpress.XtraReports.UI.XRCrossTab"),nonToolboxItem:Gp()==EN.XRPivotGrid,popularProperties:["dataSource","dataMember","layoutOptions","printOptions","controlParameters","filterString"]}),Op().registerControl("XRCrossTabCell",{info:KD,type:P_,popularProperties:QD,nonToolboxItem:!0,isDeleteDeny:!0,group:"complex",defaultVal:{"@ControlType":"XRCrossTabCell","@Text":"","@TextFormatString":""},surfaceType:T_,displayName:(0,L.getLocalization)("Cross Tab Cell","DevExpress.XtraReports.UI.CrossTab.XRCrossTabCell")}),Op().registerControl("XRSubreport",{info:G_,toolboxIndex:15,group:"complex",defaultVal:{"@SizeF":"100,23",ReportSource:Oy.defaultReport},surfaceType:DP,type:CP,canPaste:dR,popularProperties:["name","reportSourceUrl"],displayName:(0,L.getLocalization)("Sub-Report","DevExpress.XtraReports.UI.XRSubreport")}),Op().registerControl("XRPdfContent",{info:Y_,toolboxIndex:16,group:"complex",defaultVal:{"@HeightF":"23"},defaultBindingName:"SourceUrl",surfaceType:iI,type:aI,popularProperties:Z_,displayName:(0,L.getLocalization)("PDF Content","DevExpress.XtraReports.UI.XRPdfContent"),canDrop:(e,t)=>{const a=uv(e.getControlModel());return a&&!PE(a)&&!TE(a)},canPaste:dR}),Op().registerControl("XRPdfSignature",{info:gN,type:rI,toolboxIndex:17,group:"complex",defaultVal:{"@SizeF":"200,100",SignatureOptions:{"@DisplayDocumentSignature":"false"}},surfaceType:oI,popularProperties:["signatureOptions"],displayName:(0,L.getLocalization)("PDF Signature","DevExpress.XtraReports.UI.XRPdfSignature")}),Op().registerControl("XRTableOfContents",{toolboxIndex:18,info:MP,group:"misc",surfaceType:$P,type:LP,defaultVal:{"@ControlType":"XRTableOfContents",LevelTitle:{"@Text":"Title","@Height":"23","@Padding":"0,0,0,0,100"},LevelDefault:{"@Height":"23","@Padding":"0,0,0,0,100"}},canDrop:(e,t)=>{const a=uv(e.getControlModel());if(!a)return!1;if(!t){return a.root.canAddToC()}if(tv(a)){const e=av(a);return!e||e===t}return!1},displayName:(0,L.getLocalization)("Table of Contents","DevExpress.XtraReports.UI.XRTableOfContents")}),Op().registerControl("XRPageInfo",{info:mz,type:$_,surfaceType:L_,toolboxIndex:19,group:"misc",defaultVal:{"@SizeF":"100,23","@Padding":lm},popularProperties:hz,displayName:(0,L.getLocalization)("Page Info","DevExpress.XtraReports.UI.XRPageInfo")}),Op().registerControl("XRPageBreak",{info:dz,type:Kv,surfaceType:A_,toolboxIndex:20,group:"misc",defaultVal:{"@SizeF":"30,2"},canPaste:dR,displayName:(0,L.getLocalization)("Page Break","DevExpress.XtraReports.UI.XRPageBreak")}),Op().registerControl("XRCrossBandLine",{info:UT,type:Dy,toolboxIndex:21,group:"misc",defaultVal:{"@WidthF":"9.38","@StartPointFloat":"0,0","@EndPointFloat":"0,50"},size:"9.38, 50",surfaceType:_y,popularProperties:GT,displayName:(0,L.getLocalization)("Cross-band Line","DevExpress.XtraReports.UI.XRCrossBandLine")}),Op().registerControl("XRCrossBandBox",{info:WT,type:Dy,toolboxIndex:22,group:"misc",defaultVal:{"@WidthF":"50","@StartPointFloat":"0,0","@EndPointFloat":"0,50"},size:"50,50",popularProperties:["borderColor","visible","canPublish","borders"],surfaceType:_y,displayName:(0,L.getLocalization)("Cross-band Box","DevExpress.XtraReports.UI.XRCrossBandBox")}),Op().registerControl("DevExpress.XtraReports.UI.XtraReport",{info:kf,nonToolboxItem:!0,surfaceType:$y,popularProperties:Af,isCopyDeny:!0,isDeleteDeny:!0,displayName:(0,L.getLocalization)("Report","DevExpress.XtraReports.UI.XtraReport")}),Op().registerControl("TopMarginBand",{info:Gf.concat(Sx),type:rR,nonToolboxItem:!0,surfaceType:jv,isContainer:!0,isCopyDeny:!0,isDeleteDeny:!0,displayName:(0,L.getLocalization)("Top Margin","DevExpress.XtraReports.UI.TopMarginBand")}),Op().registerControl("BottomMarginBand",{info:Gf.concat(Sx),type:oR,nonToolboxItem:!0,surfaceType:sR,isContainer:!0,isCopyDeny:!0,isDeleteDeny:!0,displayName:(0,L.getLocalization)("Bottom Margin","DevExpress.XtraReports.UI.BottomMarginBand")}),Op().registerControl("DetailReportBand",{info:XP,type:VE,nonToolboxItem:!0,surfaceType:ME,popularProperties:HP,isContainer:!0,isCopyDeny:!0,canDrop:(e,t)=>{const a=e.getControlModel();return"DevExpress.XtraReports.UI.XtraReport"===a.controlType||"DetailReportBand"===a.controlType},displayName:(0,L.getLocalization)("Detail Report","DevExpress.XtraReports.UI.DetailReportBand")}),Op().registerControl("DetailBand",{info:ib,type:ob,nonToolboxItem:!0,surfaceType:sb,popularProperties:rb,isContainer:!0,isCopyDeny:!0,isDeleteDeny:!0,displayName:(0,L.getLocalization)("Detail","DevExpress.XtraReports.UI.DetailBand")}),Op().registerControl("SubBand",{info:tb,type:RE,nonToolboxItem:!0,surfaceType:BE,popularProperties:ab,isContainer:!0,isCopyDeny:!0,canDrop:(e,t)=>{const a=e.getControlModel();return t.parentModel()===a.parentModel()&&"SubBand"===a.controlType},displayName:(0,L.getLocalization)("Sub-Band","DevExpress.XtraReports.UI.SubBand")}),Op().registerControl("GroupHeaderBand",{info:KP,type:iR,nonToolboxItem:!0,surfaceType:jv,popularProperties:ZP,isContainer:!0,isCopyDeny:!0,canDrop:IE,displayName:(0,L.getLocalization)("Group Header","DevExpress.XtraReports.UI.GroupHeaderBand")}),Op().registerControl("GroupFooterBand",{info:QP,type:Gv,nonToolboxItem:!0,surfaceType:jv,popularProperties:YP,isContainer:!0,isCopyDeny:!0,canDrop:IE,displayName:(0,L.getLocalization)("Group Footer","DevExpress.XtraReports.UI.GroupFooterBand")}),Op().registerControl("PageHeaderBand",{info:tT,type:Gv,nonToolboxItem:!0,surfaceType:jv,popularProperties:iT,isContainer:!0,isCopyDeny:!0,displayName:(0,L.getLocalization)("Page Header","DevExpress.XtraReports.UI.PageHeaderBand")}),Op().registerControl("PageFooterBand",{info:aT,type:Gv,nonToolboxItem:!0,surfaceType:nR,popularProperties:rT,isContainer:!0,isCopyDeny:!0,displayName:(0,L.getLocalization)("Page Footer","DevExpress.XtraReports.UI.PageFooterBand")}),Op().registerControl("ReportHeaderBand",{info:jf,type:Gv,nonToolboxItem:!0,surfaceType:jv,popularProperties:Jf,isContainer:!0,isCopyDeny:!0,displayName:(0,L.getLocalization)("Report Header","DevExpress.XtraReports.UI.ReportHeaderBand")}),Op().registerControl("ReportFooterBand",{info:qf,type:Gv,nonToolboxItem:!0,popularProperties:Kf,surfaceType:jv,isContainer:!0,isCopyDeny:!0,displayName:(0,L.getLocalization)("Report Footer","DevExpress.XtraReports.UI.ReportFooterBand")}),Op().registerControl("VerticalHeaderBand",{info:nT,type:qv,nonToolboxItem:!0,popularProperties:lT,surfaceType:Jv,isContainer:!0,isCopyDeny:!0}),Op().registerControl("VerticalDetailBand",{info:pT,type:lR,nonToolboxItem:!0,popularProperties:uT,surfaceType:Jv,isContainer:!0,isCopyDeny:!0,isDeleteDeny:!0}),Op().registerControl("VerticalTotalBand",{info:dT,type:qv,nonToolboxItem:!0,popularProperties:cT,surfaceType:Jv,isContainer:!0,isCopyDeny:!0}),Op().registerControl("PivotGridField",{info:yD,type:rC,surfaceType:oC,nonToolboxItem:!0,popularProperties:SD,displayName:"PivotGridField"}),Op().registerControl("XRTableRow",{info:eN,type:Vy,defaultVal:{"@HeightF":"25","@Weight":"20"},nonToolboxItem:!0,surfaceType:My,isContainer:!0,isCopyDeny:!0,isPasteDeny:!0,canDrop:e=>"XRTable"===e.getControlModel().controlType,displayName:(0,L.getLocalization)("Table Row","DevExpress.XtraReports.UI.XRTableRow")}),Op().registerControl("XRTableCell",{info:Yz,type:Ry,defaultVal:{"@Weight":"1","@WidthF":"100","@Multiline":"true"},nonToolboxItem:!0,surfaceType:By,popularProperties:Zz,isContainer:!0,defaultBindingName:"Text",isCopyDeny:!0,canDrop:e=>"XRTableRow"===e.getControlModel().controlType,displayName:(0,L.getLocalization)("Table Cell","DevExpress.XtraReports.UI.XRTableCell")}),Op().registerControl("XRControl",{isToolboxItem:!1,info:kT,defaultVal:{"@Padding":lm,"@SizeF":"100,23"},surfaceType:FP,type:Kv,popularProperties:[],displayName:"XRControl"})}class pR extends Q.SerializableModel{static from(e,t,a){return new pR(e||{},t,a)}static toJson(e,t,a){return t.serialize(e,void 0,a)}}function uR(e){if(!(null==e?void 0:e.length))return;const t=Op(),a=Object.getOwnPropertyNames(t.controlsMap).map((e=>{var a;return null===(a=t.controlsMap[e])||void 0===a?void 0:a.toolboxIndex})).filter((e=>e));let i=Math.max(...a)+1;e.forEach((e=>{if(!t.getControlInfo(e.className)){const a=mR(e.properties,`${e.className}_`),r=t.inheritControl(e.inheritClassName,function(e,t,a){var i;const r=(null!==(i=e.initValues)&&void 0!==i?i:[]).reduce(((e,t)=>(e[t.Key]=t.Value,e)),{}),o=e.properties.filter((e=>e.isFavorite)).map((e=>e.name));return{info:t,toolboxIndex:a,group:"custom",surfaceType:FP,displayName:e.className,isToolboxItem:e.showInToolbox,popularProperties:o,defaultVal:Object.assign(Object.assign({},r),{"@ControlType":e.fullTypeName})}}(e,a,i++));t.registerControl(e.className,r),a.forEach((e=>{void 0===xN[e.group]?xN[e.group]={info:[e],displayName:()=>e.group}:xN[e.group].info.push(e)}))}}))}function mR(e,t=""){return e.map((e=>{var a,i,r;const o=Object.assign({propertyName:t+e.name,modelName:e.model,displayName:e.displayName,group:e.category,defaultVal:e.defaultValue},function(e){if("unknown"===e)return{};if("boolean"===e)return{editor:K.editorTemplates.getEditor("boolSelect"),from:L.parseBool};if("rationalNumber"===e)return{editor:K.editorTemplates.getEditor("numeric")};if("irrationalNumber"===e)return{editor:K.editorTemplates.getEditor("numeric"),from:parseFloat};if("enum"===e)return{editor:K.editorTemplates.getEditor("combobox")};if("array"===e)return{editor:K.editorTemplates.getEditor("commonCollection"),array:!0};if("object"===e)return{editor:K.editorTemplates.getEditor("objecteditor")};if("color"===e)return{editor:K.editorTemplates.getEditor("customColorEditor"),from:L.colorFromString,toJsonObject:L.colorToString};if("link"===e)return{link:!0};const t=B.editorTypeMapper[e]||K.editorTemplates.getEditor(e);if(t)return{editor:t};return{}}(e.editor));if("enum"===e.editor){const t=null!==(a=null==e?void 0:e.values)&&void 0!==a?a:[];o.valuesArray=t}if("object"===e.editor){const t=null!==(i=null==e?void 0:e.properties)&&void 0!==i?i:[];o.from=(e,a)=>pR.from(e,a,mR(t)),o.toJsonObject=pR.toJson}if("array"===e.editor){const t=mR(null!==(r=null==e?void 0:e.properties)&&void 0!==r?r:[]);o.template="#dxrd-commonCollectionItem",o.info=t,o.addHandler=()=>pR.from({},new L.ModelSerializer,t)}return o}))}function hR(e){(null==e?void 0:e.length)&&e.forEach((e=>{const t=xR(e);(0,G.insertOrUpdateFunctions)((0,G.functionDisplay)(),[(0,B.extend)(!0,{},t)]),(0,G.insertOrUpdateFunctions)(dE.expressionFunctions,[(0,B.extend)(!0,{},t)]),(0,G.insertOrUpdateFunctions)(fh,[(0,B.extend)(!0,{},t)])}))}function gR(e){(null==e?void 0:e.length)&&e.forEach((e=>{const t=xR(e);(0,G.insertOrUpdateFunctions)(fh,[t])}))}const xR=e=>{var t;const a=`${e.name}(${Array.from({length:e.maxOperandCount},(()=>"")).join(", ")})`,i="Aggregate"===e.category?"[].":"";return{display:null!==(t=e.category)&&void 0!==t?t:"Custom",items:{[e.name]:[{paramCount:Math.max(e.maxOperandCount,0),text:`${i}${a}`,displayName:a,description:e.description}]}}};class vR{constructor(e,t,a,i){this.displayExpr="name",this.valueExpr="name",this.displayCustomValue=!0,this.encodeNoDataText=!0,this.placeholder=(0,B.selectPlaceholder)(),this.noDataText=(0,B.noDataText)(),this.value=A.pureComputed({read:()=>e(),write:t=>{t!==(0,L.getLocalization)(vR.newItem,vR.newItemTextId)&&e(t)}}),this.items=A.pureComputed((()=>{const e=[new yg({"@Name":(0,L.getLocalization)(vR.newItem,vR.newItemTextId)})];return t&&t()&&e.push.apply(e,t()),e})),this.onValueChanged=e=>{if(e.value===(0,L.getLocalization)(vR.newItem,vR.newItemTextId)){const e=(0,B.getUniqueNameForNamedObjectsArray)(t(),"xrControlStyle"),a=new yg({"@Name":e});t.push(a),this.value(e)}},this.disabled=a,this.dropDownOptions={container:i}}}var fR,bR,yR,SR;vR.newItem="Create New Style",vR.newItemTextId="ASPxReportsStringId.ReportDesigner_StylesEditor_CreateNew",A.bindingHandlers.dxStylesEditor={init:function(e,t,a,i,r){let o;k.fn.constructor(e).children().remove();const s=(0,K.getTemplate)("dx-propertieseditor");let n=k.fn.constructor(e).append(s);const l=A.pureComputed((()=>{const e=t(),a=e.styles&&e.styles(),i=a&&a.filter((t=>t.name()===e.styleName()));if(i&&i.length>0){const t=i[0];return o=t.name.subscribe((t=>{e.styleName(t),o.dispose()})),t}return null}));return(0,B.addDisposeCallback)(e,(()=>{n=null,o&&o.dispose()})),A.applyBindings(r.createChildContext(new K.ObjectProperties(l,{editors:jh},1,i.disabled,void 0,i.textToSearch)),n.children()[0]),{controlsDescendantBindings:!0}}},function(e){e[e.Custom=0]="Custom",e[e.Letter=1]="Letter",e[e.LetterSmall=2]="LetterSmall",e[e.Tabloid=3]="Tabloid",e[e.Ledger=4]="Ledger",e[e.Legal=5]="Legal",e[e.Statement=6]="Statement",e[e.Executive=7]="Executive",e[e.A3=8]="A3",e[e.A4=9]="A4",e[e.A4Small=10]="A4Small",e[e.A5=11]="A5",e[e.B4=12]="B4",e[e.B5=13]="B5",e[e.Folio=14]="Folio",e[e.Quarto=15]="Quarto",e[e.Standard10x14=16]="Standard10x14",e[e.Standard11x17=17]="Standard11x17",e[e.Note=18]="Note",e[e.Number9Envelope=19]="Number9Envelope",e[e.Number10Envelope=20]="Number10Envelope",e[e.Number11Envelope=21]="Number11Envelope",e[e.Number12Envelope=22]="Number12Envelope",e[e.Number14Envelope=23]="Number14Envelope",e[e.CSheet=24]="CSheet",e[e.DSheet=25]="DSheet",e[e.ESheet=26]="ESheet",e[e.DLEnvelope=27]="DLEnvelope",e[e.C5Envelope=28]="C5Envelope",e[e.C3Envelope=29]="C3Envelope",e[e.C4Envelope=30]="C4Envelope",e[e.C6Envelope=31]="C6Envelope",e[e.C65Envelope=32]="C65Envelope",e[e.B4Envelope=33]="B4Envelope",e[e.B5Envelope=34]="B5Envelope",e[e.B6Envelope=35]="B6Envelope",e[e.ItalyEnvelope=36]="ItalyEnvelope",e[e.MonarchEnvelope=37]="MonarchEnvelope",e[e.PersonalEnvelope=38]="PersonalEnvelope",e[e.USStandardFanfold=39]="USStandardFanfold",e[e.GermanStandardFanfold=40]="GermanStandardFanfold",e[e.GermanLegalFanfold=41]="GermanLegalFanfold",e[e.IsoB4=42]="IsoB4",e[e.JapanesePostcard=43]="JapanesePostcard",e[e.Standard9x11=44]="Standard9x11",e[e.Standard10x11=45]="Standard10x11",e[e.Standard15x11=46]="Standard15x11",e[e.InviteEnvelope=47]="InviteEnvelope",e[e.LetterExtra=50]="LetterExtra",e[e.LegalExtra=51]="LegalExtra",e[e.TabloidExtra=52]="TabloidExtra",e[e.A4Extra=53]="A4Extra",e[e.LetterTransverse=54]="LetterTransverse",e[e.A4Transverse=55]="A4Transverse",e[e.LetterExtraTransverse=56]="LetterExtraTransverse",e[e.APlus=57]="APlus",e[e.BPlus=58]="BPlus",e[e.LetterPlus=59]="LetterPlus",e[e.A4Plus=60]="A4Plus",e[e.A5Transverse=61]="A5Transverse",e[e.B5Transverse=62]="B5Transverse",e[e.A3Extra=63]="A3Extra",e[e.A5Extra=64]="A5Extra",e[e.B5Extra=65]="B5Extra",e[e.A2=66]="A2",e[e.A3Transverse=67]="A3Transverse",e[e.A3ExtraTransverse=68]="A3ExtraTransverse",e[e.JapaneseDoublePostcard=69]="JapaneseDoublePostcard",e[e.A6=70]="A6",e[e.JapaneseEnvelopeKakuNumber2=71]="JapaneseEnvelopeKakuNumber2",e[e.JapaneseEnvelopeKakuNumber3=72]="JapaneseEnvelopeKakuNumber3",e[e.JapaneseEnvelopeChouNumber3=73]="JapaneseEnvelopeChouNumber3",e[e.JapaneseEnvelopeChouNumber4=74]="JapaneseEnvelopeChouNumber4",e[e.LetterRotated=75]="LetterRotated",e[e.A3Rotated=76]="A3Rotated",e[e.A4Rotated=77]="A4Rotated",e[e.A5Rotated=78]="A5Rotated",e[e.B4JisRotated=79]="B4JisRotated",e[e.B5JisRotated=80]="B5JisRotated",e[e.JapanesePostcardRotated=81]="JapanesePostcardRotated",e[e.JapaneseDoublePostcardRotated=82]="JapaneseDoublePostcardRotated",e[e.A6Rotated=83]="A6Rotated",e[e.JapaneseEnvelopeKakuNumber2Rotated=84]="JapaneseEnvelopeKakuNumber2Rotated",e[e.JapaneseEnvelopeKakuNumber3Rotated=85]="JapaneseEnvelopeKakuNumber3Rotated",e[e.JapaneseEnvelopeChouNumber3Rotated=86]="JapaneseEnvelopeChouNumber3Rotated",e[e.JapaneseEnvelopeChouNumber4Rotated=87]="JapaneseEnvelopeChouNumber4Rotated",e[e.B6Jis=88]="B6Jis",e[e.B6JisRotated=89]="B6JisRotated",e[e.Standard12x11=90]="Standard12x11",e[e.JapaneseEnvelopeYouNumber4=91]="JapaneseEnvelopeYouNumber4",e[e.JapaneseEnvelopeYouNumber4Rotated=92]="JapaneseEnvelopeYouNumber4Rotated",e[e.Prc16K=93]="Prc16K",e[e.Prc32K=94]="Prc32K",e[e.Prc32KBig=95]="Prc32KBig",e[e.PrcEnvelopeNumber1=96]="PrcEnvelopeNumber1",e[e.PrcEnvelopeNumber2=97]="PrcEnvelopeNumber2",e[e.PrcEnvelopeNumber3=98]="PrcEnvelopeNumber3",e[e.PrcEnvelopeNumber4=99]="PrcEnvelopeNumber4",e[e.PrcEnvelopeNumber5=100]="PrcEnvelopeNumber5",e[e.PrcEnvelopeNumber6=101]="PrcEnvelopeNumber6",e[e.PrcEnvelopeNumber7=102]="PrcEnvelopeNumber7",e[e.PrcEnvelopeNumber8=103]="PrcEnvelopeNumber8",e[e.PrcEnvelopeNumber9=104]="PrcEnvelopeNumber9",e[e.PrcEnvelopeNumber10=105]="PrcEnvelopeNumber10",e[e.Prc16KRotated=106]="Prc16KRotated",e[e.Prc32KRotated=107]="Prc32KRotated",e[e.Prc32KBigRotated=108]="Prc32KBigRotated",e[e.PrcEnvelopeNumber1Rotated=109]="PrcEnvelopeNumber1Rotated",e[e.PrcEnvelopeNumber2Rotated=110]="PrcEnvelopeNumber2Rotated",e[e.PrcEnvelopeNumber3Rotated=111]="PrcEnvelopeNumber3Rotated",e[e.PrcEnvelopeNumber4Rotated=112]="PrcEnvelopeNumber4Rotated",e[e.PrcEnvelopeNumber5Rotated=113]="PrcEnvelopeNumber5Rotated",e[e.PrcEnvelopeNumber6Rotated=114]="PrcEnvelopeNumber6Rotated",e[e.PrcEnvelopeNumber7Rotated=115]="PrcEnvelopeNumber7Rotated",e[e.PrcEnvelopeNumber8Rotated=116]="PrcEnvelopeNumber8Rotated",e[e.PrcEnvelopeNumber9Rotated=117]="PrcEnvelopeNumber9Rotated",e[e.PrcEnvelopeNumber10Rotated=118]="PrcEnvelopeNumber10Rotated"}(fR||(fR={})),function(e){e[e.Empty=3]="Empty",e[e.Standard=0]="Standard",e[e.Vertical=1]="Vertical",e[e.Label=2]="Label",e[e.Template=5]="Template",e[e.CrossTab=6]="CrossTab"}(bR||(bR={})),function(e){e[e.Count=0]="Count",e[e.Sum=1]="Sum",e[e.Min=2]="Min",e[e.Max=3]="Max",e[e.Average=4]="Average",e[e.StdDev=5]="StdDev",e[e.StdDevp=6]="StdDevp",e[e.Var=7]="Var",e[e.Varp=8]="Varp",e[e.Custom=9]="Custom",e[e.CountDistinct=10]="CountDistinct",e[e.Median=11]="Median",e[e.Mode=12]="Mode"}(yR||(yR={})),function(e){e[e.World=0]="World",e[e.Display=1]="Display",e[e.Pixel=2]="Pixel",e[e.Point=3]="Point",e[e.Inch=4]="Inch",e[e.Document=5]="Document",e[e.Millimeter=6]="Millimeter"}(SR||(SR={}));const CR=(0,B.getPaperSize)(of.defaultVal,0),DR={paperKind:of.defaultVal,landscape:!1,marginTop:1,marginRight:1,marginBottom:1,marginLeft:1,width:CR.width/100,height:CR.height/100,unit:SR.Inch},_R={masterDetailInfoCollection:[],pageSetup:k.extend(!0,{},DR),colorScheme:{},ignoreNullValuesForSummary:!1};class IR{constructor(e){if(this.DataMember=e.dataMember,e.reportType===bR.Label&&(this.CustomLabelInformation={Height:e.labelDetails.height,HorizontalPitch:e.labelDetails.hPitch,LeftMargin:e.labelDetails.leftMargin,RightMargin:e.labelDetails.rightMargin,PaperKindDataId:e.labelDetails.paperKindId,TopMargin:e.labelDetails.topMargin,BottomMargin:e.labelDetails.bottomMargin,Unit:e.labelDetails.unit===SR.Inch?SR.Inch:SR.Millimeter,VerticalPitch:e.labelDetails.vPitch,Width:e.labelDetails.width},this.LabelProductId=e.labelDetails.productId,this.LabelProductDetailId=e.labelDetails.id),this.IgnoreNullValuesForSummary=e.ignoreNullValuesForSummary,this.ReportTitle=e.reportTitle,this.ReportType=e.reportType,null!=e.dataMemberInfo||null!=e.dataMemberPath){if(this.DataMemberName={DisplayName:e.dataMemberInfo.displayName,Name:e.dataMemberInfo.name,DataMemberType:0},e.dataMemberInfo.name){const t=e.dataMemberPath.indexOf(".");this.DataMemberName.Name=t>0?e.dataMemberPath.substr(t+1):e.dataMemberPath}}else this.DataMemberName=null}}class PR{constructor(e){this.__type="",this.FieldName=e.name,this.DisplayText=e.displayName}}class TR extends PR{constructor(e){super(e),this.SortOrder=Nh.ColumnSortOrder[e.sortOrder]||Nh.ColumnSortOrder.Ascending}}class zR extends TR{constructor(){super(...arguments),this.__type="CrossTabColumnFieldInfo:#DevExpress.XtraReports.Wizards.CrossTab"}}class NR extends TR{constructor(){super(...arguments),this.__type="CrossTabRowFieldInfo:#DevExpress.XtraReports.Wizards.CrossTab"}}class ER extends PR{constructor(e){super(e),this.__type="CrossTabDataFieldInfo:#DevExpress.XtraReports.Wizards.CrossTab",this.SummaryType=yR[e.summaryType]||yR.Sum}}class wR extends IR{constructor(e){super(e),this._masterRelationMap=(e,t)=>{const a={Name:e.name,DisplayName:e.displayName,CheckedState:e.checked,Fields:e.fields.map((e=>({Name:e.name,DisplayName:e.displayName,Checked:e.checked}))),Relations:e.relations.map((e=>this._masterRelationMap(e,e.path)))};return this._collectionByPath[t]=a,a},this._collectionByPath={},this.UseMasterDetailBuilder=!0;const t=e.dataSource||e.newDataSource;this.DataSourceName=t&&JSON.parse(t).name,e.reportType===bR.CrossTab?this.CrossTabFieldInfo=[].concat((e.crossTabColumnsFieldInfo||[]).map((e=>new zR({name:e.name,displayName:e.displayName,sortOrder:e.sortOrder}))),(e.crossTabRowsFieldInfo||[]).map((e=>new NR({name:e.name,displayName:e.displayName,sortOrder:e.sortOrder}))),(e.crossTabDataFieldInfo||[]).map((e=>new ER({name:e.name,displayName:e.displayName,summaryType:e.summaryType})))):(this.MasterDetailInfo=e.masterDetailInfoCollection.map((e=>this._masterRelationMap(e,e.path))),this.MasterDetailGroupsInfo=k.map(e.masterDetailGroups,((e,t)=>({Key:this._collectionByPath[t],Value:(e||[]).map((e=>e||[]))}))),this.MasterDetailSummariesInfo=k.map(e.masterDetailSummariesInfo,((e,t)=>({Key:this._collectionByPath[t],Value:(e||[]).map((e=>({Column:{Name:e.column.name,DisplayName:e.column.displayName},SummaryFunctions:e.summaryFunctions})))})))),e.pageSetup&&(this.PaperKind=fR[e.pageSetup.paperKind],this.PaperSize={width:e.pageSetup.width,height:e.pageSetup.height},this.Margins={left:e.pageSetup.marginLeft,right:e.pageSetup.marginRight,top:e.pageSetup.marginTop,bottom:e.pageSetup.marginBottom},this.Portrait=!e.pageSetup.landscape,this.Unit=e.pageSetup.unit)}}var RR;!function(e){e[e.Auto=0]="Auto",e[e.Always=1]="Always",e[e.Never=2]="Never"}(RR||(RR={}));class BR extends yN.DataSourceWizardSettings{createDefault(e){const t=(0,B.extend)({},super.createDefault(e),{useFullscreenWizard:!0,useMasterDetailWizard:!0});return e?(void 0!==e.useFullscreenWizard&&(t.useFullscreenWizard=e.useFullscreenWizard),void 0!==e.useMasterDetailWizard&&(t.useMasterDetailWizard=e.useMasterDetailWizard),t.reportWizardTemplatesSearchBoxVisibility=e.reportWizardTemplatesSearchBoxVisibility,t):t}}class VR extends yN.ChooseDataSourceTypePage{constructor(e){super({}),this._options=e,this._IsSelected=e=>this.selectedItem().type===e.type&&this.selectedItem().id===e.id,this.selectedItem=A.observable(),this._extendCssClass=e=>"dxrd-report-"+e,this._textToSearch=A.observable(""),this.typeItems=[],e.reportTemplates.forEach((e=>{e.text=(0,L.getLocalization)(e.text,e.localizationID),e.type=void 0!==bR[e.id]?bR[e.id]:bR.Template,e.imageTemplateName||e.imageClassName||(e.imageTemplateName=VR.defaultImageID),this.itemsFilter(e)&&this.typeItems.push(e)}))}getListOptions(){const e=this._options.searchBoxVisibilityMode===RR.Always||this._options.searchBoxVisibilityMode===RR.Auto&&this.typeItems.length>15;return{itemTemplate:(0,K.getTemplate)("dxrd-page-choose-type-item"),dataSource:this.typeItems,searchEnabled:e,searchValue:this._textToSearch,searchExpr:"text",focusStateEnabled:!1,hoverStateEnabled:!1,activeStateEnabled:!1,pageLoadMode:"scrollBottom",searchEditorOptions:{placeholder:(0,L.getLocalization)("Find a Report Template...","ASPxReportsStringId.ReportDesigner_Wizard_SearchPlaceholder")}}}itemsFilter(e){return e.type===bR.Standard||e.type===bR.CrossTab?!!this._options.canCreateDatabound:e.type!==bR.Vertical||this._options.canCreateDatabound&&this._options.showVertical}canNext(){return null!==this.selectedItem()&&this.selectedItem().type!==bR.Empty}canFinish(){return null!==this.selectedItem()&&this.selectedItem().canInstantlyFinish}commit(){return k.Deferred().resolve({reportType:this.selectedItem().type,reportTemplateID:this.selectedItem().id}).promise()}initialize(e){const t=e.reportType||bR.Standard,a=(0,B.findFirstItemMatchesCondition)(this.typeItems,(e=>e.type===t));return this.selectedItem(a||this.typeItems[0]),k.Deferred().resolve().promise()}}VR.defaultImageID="dxrd-svg-wizard-UndefinedReport";class MR extends yN.ChooseDataSourceTypePage{constructor(e){super(e),this.typeItems.push(new yN.TypeItem("No Data","DataAccessUIStringId.DSTypeNoData","nodata","dxrd-svg-wizard-NoDataSource",yN.DataSourceType.NoData))}}function kR(e,t){e.registerMetadata(qw.SelectReportTypePage,{setState:(e,t)=>{t.reportType=e.reportType,t.reportTemplateID=e.reportTemplateID},getState:e=>e,resetState:(e,t)=>{e.reportType=t.reportType,e.reportTemplateID=t.reportTemplateID},create:()=>{const e="function"==typeof t.canCreateDatabound?t.canCreateDatabound():t.canCreateDatabound;return new VR({canCreateDatabound:e,showVertical:t.showVertical,reportTemplates:t.reportTemplates,searchBoxVisibilityMode:t.searchBoxVisibilityMode})},description:(0,L.getLocalization)("Select the report type you wish to create.","ASPxReportsStringId.ReportDesigner_Wizard_SelectReportType_Message"),template:"dxrd-page-choose-report-type",navigationPanelText:(0,L.getLocalization)("Select Report Type","ASPxReportsStringId.ReportDesigner_Wizard_SelectReportType")})}function AR(e,t){e.registerMetadata(yN.DataSourceWizardPageId.ChooseDataSourceTypePage,{setState:(e,t)=>{t.dataSourceType=e.dataSourceType},getState:e=>e,resetState:(e,t)=>{e.dataSourceType=t.dataSourceType},create:()=>new MR(t),description:(0,L.getLocalization)("Select the data source type.","DataAccessUIStringId.WizardPageChooseDSType"),template:"dxrd-page-choose-datasource-type"})}(0,G.addToBindingsCache)("text: $root.getLocalization(`Report Template`, `ASPxReportsStringId.ReportDesigner_Wizard_ReportTemplate_Thumbnail`)",(function(e,t){return{text:function(){return(0,L.getLocalization)("Report Template","ASPxReportsStringId.ReportDesigner_Wizard_ReportTemplate_Thumbnail")}}}));class LR extends JE{constructor(){super(...arguments),this.showIconsForChildItems=()=>!0}isDraggable(e){return!(!e.data||(0,B.isList)(e.data))}}class $R extends B.WizardDragDropHandler{doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,A.dataFor(e).data.name)}}const FR="600",OR="840",XR="100%";function HR(e,t,a){const i=e.getMetadata(t);i.canNext=e=>e.canFinish()||e.canNext(),i.canFinish=e=>e.canFinish(),i.create=a;const r=i.setState;i.setState=(e,t)=>{r(e,t),t.newDataSource=e.newDataSource};const o=i.resetState;i.resetState=(e,t)=>{o(e,t),e.newDataSource=t.newDataSource}}class WR extends L.Disposable{constructor(e){super(),this.field=A.observable(null),this.selectedItems=A.observableArray([]),this.functionValue=A.observable(),this.visible=A.observable(!0),this.value={value:this.functionValue,dataSource:e,placeholder:(0,B.selectPlaceholder)(),selectAllText:(0,B.getLocalization)("Select All","AnalyticsCoreStringId.SelectAll"),getPopupContainer:B.getParentContainer,getOptions:e=>this.getOptions(e),showDropDownButton:!0,selectedItems:this.selectedItems,displayExpr:function(e){return e?(0,B.getLocalization)(e.displayValue,e.localizationId):e}}}getOptions(e){return e}}class UR{constructor(e,t,a){this.name=e,this.specifics=t,this.displayName=a,this.displayName||(this.displayName=this.name)}}class GR extends UR{constructor(e){super(e.name,e.specifics,e.displayName),this.checked=!e.unChecked()}}class jR extends UR{constructor(e){super(e.name,e.specifics,e.displayName),this._complexFields=[],this._complexRelations=[],this.fields=[],this.relations=[],this.path=e.path,this.checked=e.checked(),e.children().forEach((e=>{!e.isList||e.isComplex?e.isComplex&&e instanceof mC.DataMemberTreeNode?this._expandComplexFieds(e):this.fields.push(new GR(e)):this.relations.push(new jR(e))})),this.fields=this.fields.concat(this._complexFields),this.relations=this.relations.concat(this._complexRelations)}_expandComplexFieds(e){e.children().forEach((t=>{const a=(0,B.assignObj)(t,(0,B.extend)({},t,{name:e.name+"."+t.name}));t instanceof mC.FieldTreeNode&&this._complexFields.push(new GR(a)),!t.isComplex&&t instanceof mC.DataMemberTreeNode&&this._complexRelations.push(new jR(a)),t.isComplex&&t instanceof mC.DataMemberTreeNode&&this._expandComplexFieds(a)}))}}class qR extends mC.DataMemberTreeNode{constructor(e,t,a,i,r,o){super(e,t,a,i,r,o),this.checked=A.pureComputed({read:()=>{const e=this.children().filter((e=>tE(e)));if(0===e.length)return this._checked();{let t=0,a=0;return e.forEach((e=>{!0===e.checked()?t++:!1!==e.checked()&&a++})),t>0&&this._checked(!0),t===e.length||!!(this._checked()||a>0)&&void 0}}}),this.checked.subscribe((e=>{o&&o(this)})),i&&o&&o(this)}setChecked(e){!e||!this.unChecked()&&e?(this.children().forEach((e=>tE(e)&&e.setChecked(!1))),this._checked(!1)):this._checked(e)}}class JR extends G.DataMemberTreeListController{constructor(e){super(),this.hideDataMemberSubItems=e||A.observable(!1)}canSelect(e){return e.hasItems&&!!e.path||"none"===e.data.specifics}hasItems(e){return!this.hideDataMemberSubItems()&&super.hasItems(e)}}class KR extends JE{constructor(e){super(null),this.rootItems=e}itemsFilter(e){let t=!1;if(e.path&&tE(e))t=this.rootItems().map((e=>e.path)).indexOf(e.path)>-1;else if(e.path){const a=e.path.lastIndexOf(e.name),i=e.path.substring(0,-1!=a?a:void 0).split(".");i.length>0&&!i[i.length-1]&&i.splice(i.length-1,1),t=this.rootItems().map((e=>e.path)).indexOf(i.join("."))>-1}return t||e.unChecked()||e.setChecked(!1),e.visible(t),t}isDraggable(e){return!1}}class QR extends WR{constructor(e){super(e),this.functionValue([])}}class YR extends QR{constructor(){super(Vm()),this.selectedPath=A.observable(""),this._disposables.push(this.displayName=A.computed((()=>this.field()?[this.field().parent.displayName,this.field().displayName].join(" - "):null)).extend({rateLimit:0}))}}class ZR extends yN.WizardPageBase{constructor(e,t=!1){super(),this._fieldListCallBack=e,this._hideDataMemberSubItems=t,this._rootItems=A.observableArray([]),this._dataMemberSelectedPath=A.observable(null),this._fieldSelectedPath=A.observable(null),this._checkedDataMembers=A.observableArray([]),this._checkedFields=A.observableArray([]),this._showDataSource=!1,this._afterCheckToggled=e=>{(0,B.isList)(e)&&(e.unChecked()?this._checkedDataMembers.remove(e):-1===this._checkedDataMembers.indexOf(e)&&(this._multiSelectMode?this._checkedDataMembers.push(e):(this._checkedDataMembers()[0]&&this._checkedDataMembers()[0].setChecked(!1),this._checkedDataMembers([e])),this._fieldSelectedPath(e.path)),this._onChange())},this._afterCheckToggledFields=e=>{this._processNode(e),this._onChange()},this._createMasterDetailTreeNode=(e,t,a)=>{const i=new mC.DataMemberTreeNode(e.name,e.displayName,e.specifics,t,a,this._afterCheckToggledFields);return this._disposables.push(i),i},this._createMasterDetailFirstTabTreeNode=(e,t,a)=>{const i=t||(this._showDataSource?[this.dataSourcePath,this.initialFullDataMember].join("."):this.initialFullDataMember)===a,r=new qR(e.name,e.displayName,e.specifics,i,a,this._afterCheckToggled);return this._disposables.push(r),r},this._createMasterDetailLeafTreeNode=(e,t,a)=>{const i=new mC.FieldTreeNode(e.name,e.displayName,e.specifics,t,a,this._afterCheckToggledFields);return this._disposables.push(i),i},this._showFirstLevelDataMembers=A.observable(!1),this._multiSelectMode=!0,this._selectDataMembersCaption=(0,L.getLocalization)("Select data members","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_ChooseDataMembers_SelectDataMembers"),this._selectDataFieldsCaption=(0,L.getLocalization)("Select data fields","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_ChooseDataMembers_SelectDataFields");const a=new B.FieldListProvider(this._wrapFieldListCallback(this._fieldListCallBack),A.observableArray([]));this._disposables.push(this._dataMemberItemsProvider=new mC.TreeNodeItemsProvider(a,this._rootItems,this._createMasterDetailFirstTabTreeNode,this._createMasterDetailLeafTreeNode)),this._disposables.push(this._fieldMemberItemsProvider=new mC.TreeNodeItemsProvider(a,this._rootItems,this._createMasterDetailTreeNode,this._createMasterDetailLeafTreeNode)),this._availableFieldsController=new KR(this._checkedDataMembers),this._disposables.push(A.computed((()=>{const e=this._availableFieldsController.selectedItem;e&&e.collapsed&&e.toggleCollapsed()}))),this._dataMemberFieldListModel={itemsProvider:this._dataMemberItemsProvider,selectedPath:this._dataMemberSelectedPath,treeListController:new JR(this._showFirstLevelDataMembers),templateName:"dxrd-treelist-with-checkbox"},this._fieldMemberFieldListModel={itemsProvider:this._fieldMemberItemsProvider,selectedPath:this._fieldSelectedPath,treeListController:this._availableFieldsController,templateName:"dxrd-treelist-with-checkbox"}}_wrapFieldListCallback(e){return t=>this._hideDataMemberSubItems?k.Deferred().resolve([]).promise():e(new L.PathRequest(this._showDataSource?t.fullPath:this.dataSourcePath+"."+t.fullPath),this._dataSource)}get dataSourcePath(){return this._dataSource.id||this._dataSource.ref}getDataMemberSelectedPath(e){return e.masterDetailInfoCollection.length>0?null:e.dataMember}_beginInternal(e){e.reportType===bR.Vertical&&(this._multiSelectMode=!1,this._showFirstLevelDataMembers(!0)),this._dataSource=Qw(e.newDataSource||e.dataSource);const t=this.getDataMemberSelectedPath(e);return this.initialFullDataMember=e.dataMember,0===e.masterDetailInfoCollection.length?this._fieldListCallBack(new L.PathRequest(this.dataSourcePath),this._dataSource).done((e=>{this._fieldSelectedPath(null),this._checkedDataMembers([]),this._showDataSource=!1,oE(e)?(this._dataMemberSelectedPath([this.dataSourcePath,t].join(".")),this._showDataSource=!0,this._rootItems([{name:this.dataSourcePath,displayName:this._dataSource.name,specifics:"List"}])):(this._dataMemberSelectedPath(t),this._rootItems(e.map((e=>({name:e.name,displayName:e.displayName||e.name,specifics:"List"})))))})):k.Deferred().resolve().promise()}_processFields(e){e.unChecked()?this._checkedFields.remove(e):-1===this._checkedFields.indexOf(e)&&this._checkedFields.push(e),this._onChange()}_processNode(e){(0,B.isList)(e)?e.children().forEach((e=>{(0,B.isList)(e)?this._processNode(e):this._processFields(e)})):this._processFields(e)}canNext(){return this._fieldMemberItemsProvider.hasCheckedItems()}canFinish(){return!0}selectDataMember(e){this._dataMemberItemsProvider.selectItemByPath(e).always((()=>this._onChange()))}selectAllDataMembers(){this._dataMemberItemsProvider.selectAllItems(!1).always((()=>this._onChange()))}selectDataField(e){const t=e.split(".");t.pop(),this._dataMemberItemsProvider.selectItemByPath(t.join(".")).always((()=>this._fieldMemberItemsProvider.selectItemByPath(e).always((()=>this._onChange()))))}selectDataFields(e){this._dataMemberItemsProvider.selectItemByPath(e).always((()=>{this._fieldMemberItemsProvider.selectItemsByPath(e).always((()=>this._onChange()))}))}selectAllDataFields(){this._dataMemberItemsProvider.selectAllItems(!1).always((()=>this._fieldMemberItemsProvider.selectAllItems().always((()=>this._onChange()))))}initialize(e){return this._beginInternal(e)}_haveCheckedFields(){return 0!==this._checkedFields().length}commit(){return k.Deferred().resolve({masterDetailInfoCollection:this._fieldMemberItemsProvider.getRootItems().filter((e=>e.isList&&!e.isComplex)).map((e=>(this._showDataSource&&(e=k.extend({},e,{name:""})),new jR(e))))}).promise()}}function eB(e,t,a=jw.SelectDataMembersPage){e.registerMetadata(a,{create:()=>new ZR(t.callbacks.fieldListsCallback,t.hideDataMemberSubItems),description:(0,L.getLocalization)("Select data members to assign to the report and its detail reports and fields to display in these reports.","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_ChooseDataMembers_Description"),template:"dxrd-page-masterdetail-select-reportdata",getState:e=>e,setState:(e,t)=>t.masterDetailInfoCollection=e.masterDetailInfoCollection,resetState:(e,t)=>e.masterDetailInfoCollection=t.masterDetailInfoCollection})}class tB extends ZR{constructor(e,t=!1){super(e,t),this._pageRendered=!1,this._createCrossTabLeafTreeNode=(e,t,a)=>{const i=new mC.FieldTreeNode(e.name,e.displayName,e.specifics,t,a);return this._disposables.push(i),clearTimeout(this._timeout),this._timeout=setTimeout((()=>{!this._pageRendered&&this._firstRenderNode.initialized()&&(this._afteCheck(this._firstRenderNode),this._pageRendered=!0)}),1),i.disabled(!i.checked()),this._disposables.push(i.checked.subscribe((e=>{i.disabled(!e)}))),i},this._createCrossTabTreeNode=(e,t,a)=>{const i=new mC.SingleCheckedDataMemberTreeNode(e.name,e.displayName,e.specifics,t,a,this._afteCheck);return this._disposables.push(i),this._firstRenderNode||(this._firstRenderNode=i),i},this._afteCheck=e=>{this._signleFieldMemberFieldListModel.itemsProvider.getRootItems().forEach((e=>{e.setChecked(!1)})),e._checked(!0),e.children().forEach((e=>{e.setChecked(!e.isList)})),this._onChange()},this._title=(0,L.getLocalization)("Available fields","ASPxReportsStringId.ReportDesigner_Wizard_AvailableFields"),this._icon="dxrd-svg-wizard-crosstab-fields";const a=new B.FieldListProvider(this._wrapFieldListCallback(e),A.observableArray([]));this._disposables.push(this._itemsProvider=new mC.TreeNodeItemsProvider(a,this._rootItems,this._createCrossTabTreeNode,this._createCrossTabLeafTreeNode)),this._disposables.push(this._controller=new LR),this._dragHelperContent=new B.DragHelperContent(null),this._disposables.push(this._controller.dragDropHandler=new $R({dragHelperContent:this._dragHelperContent,parent:".dx-designer-viewport .dx-fullscreen-wizard",containment:".dxrd-report-wizard",target:".dxrd-wizard-page",addHandler:(e,t)=>{e&&e instanceof aB&&e.addInfo(t)}})),this._signleFieldMemberFieldListModel={itemsProvider:this._itemsProvider,selectedPath:A.observable(null),treeListController:this._controller,templateName:"dxrd-treelist-with-checkbox"}}_findFirstCheckedField(e){let t=null;for(let a=0;a<e.length;a++){const i=e[a];if(i.checked()){t=i;break}if(i.children&&i.children().length&&(t=this._findFirstCheckedField(i.children().filter((e=>e.isList))),t))break}return t}commit(){const e=this._findFirstCheckedField(this._itemsProvider.getRootItems()),t=e?{crossTabFields:e&&e.children().filter((e=>!e.isList))||[],dataMemberPath:(0,B.getFullPath)(this.dataSourcePath,e.path),dataMemberInfo:e}:{};return k.Deferred().resolve(t).promise()}}class aB extends yN.WizardPageBase{constructor(e,t,a,i){super(),this.stateName=e,this.itemInfo=t,this.changeAlways=!0,this.underCursor=A.observable(new B.HoverInfo),this._crossTabFields=A.observableArray([]),this._template="dxrd-page-crosstab-setlayout",this.fieldInfos=A.observableArray([]),this._title=(0,L.getLocalization)(a,i),this._icon="dxrd-svg-wizard-crosstab-"+a.toLowerCase(),this._fieldName=(0,L.getLocalization)("Field Name","ASPxReportsStringId.ReportDesigner_Wizard_PageCrossTab_FieldName_Caption"),this._valueName=(0,L.getLocalization)(t.displayName,t.localizationId),this._disposables.push(this.isDroppable=A.computed((()=>!!B.DragDropHandler.started()&&this.underCursor().isOver)))}_removeInfo(e){this.fieldInfos.splice(this.fieldInfos.indexOf(e),1),this.addInfo()}addInfo(e){let t=(0,B.findFirstItemMatchesCondition)(this.fieldInfos(),(e=>null===e.field()));if(t||(t=new WR(this.itemInfo.valuesArray),this.fieldInfos.push(t),this._disposables.push(t.field.subscribe((e=>{t.functionValue()||this.setFieldDefaultValue(this.itemInfo.defaultVal,t),this.addInfo(),this._onChange()})))),e){const a=(0,B.findFirstItemMatchesCondition)(this._crossTabFields(),(t=>t.name===e));t.field(a)}}setFieldDefaultValue(e,t){t.functionValue((0,B.findFirstItemMatchesCondition)(t.value.dataSource,(t=>t.value===e)))}initialize(e,t=!1){return t&&(e[this.stateName]=[],this.fieldInfos([])),this._crossTabFields(e.crossTabFields),this.addInfo(),k.Deferred().resolve().promise()}canFinish(){return!0}}function iB(e,t,a,i,r){const o="crossTab"+a+"FieldInfo";e.registerMetadata(t,{setState:(e,t)=>{},getState:e=>e,resetState:(e,t)=>{},create:()=>new aB(o,r,a,i),template:"dxrd-page-crosstab-setlayout"})}function rB(e,t){const a=t===SR.Inch?2:1;return e.toFixed(a)}class oB{constructor(e){this.caption=e,this._items=A.observableArray([]).extend({deferred:!0}),this._refreshActiveItem=(e=-1)=>{this.isEmpty?this.activeItemArray.removeAll():e<0?this.activeItemArray.splice(0,1,this._items()[0]):(e>=this._items().length&&(e=this._items().length-1),this.activeItemArray.splice(0,1,this._items()[e]))},this.activeItemArray=A.observableArray([]).extend({deferred:!0})}get items(){return this._items()}get activeItem(){return 1===this.activeItemArray().length?this.activeItemArray()[0]:null}set activeItem(e){this._items().indexOf(e)>-1&&this.activeItemArray.splice(0,1,e)}add(e){this._items.push(e),this.activeItemArray.splice(0,1,e)}addRange(e){this.setItems(this._items().concat(e))}removeActiveItem(){const e=this._items.indexOf(this.activeItemArray()[0]);this._items.remove(this.activeItemArray()[0]),this._refreshActiveItem(e)}removeAll(){this._items.removeAll(),this.activeItemArray.removeAll()}setItems(e){this._items(e),this.activeItemArray([this._items()[0]]),this._refreshActiveItem()}moveUp(){if(this.isMoveUpEnabled()){const e=this._items.indexOf(this.activeItem);this.activeItemArray.removeAll(),this._items.splice(e-1,2,this._items()[e],this._items()[e-1]),this.activeItemArray.splice(0,1,this._items()[e-1])}}moveDown(){if(this.isMoveDownEnabled()){const e=this._items.indexOf(this.activeItem);this.activeItemArray.removeAll(),this._items.splice(e,2,this._items()[e+1],this._items()[e]),this.activeItemArray.splice(0,1,this._items()[e+1])}}get isEmpty(){return 0===this._items().length}isMoveUpEnabled(){return this._items.indexOf(this.activeItemArray()[0])>0}isMoveDownEnabled(){const e=this._items.indexOf(this.activeItemArray()[0]);return e>-1&&e<this._items().length-1}}function sB(e,t,a,i){const r=a;return t.forEach((t=>{if(!1!==t.checked){const o=t.fields.filter((e=>e.checked)).map((e=>({name:e.name,displayName:e.displayName,specifics:e.specifics}))),s=t.displayName||t.name,n=i?[i,s].join("."):s;if(e.push({name:s,displayName:n,path:t.path,fields:o,isList:!0,level:a}),t.relations.length>0){const a=r+1;sB(e,t.relations,a,n)}}})),e}class nB extends yN.WizardPageBase{constructor(){super(),this._availableColumns={},this._groupingLevels={},this._masterDetailGroups={},this._addNewGroup=()=>{this._isCreateGroupEnabled()&&(this._currentGroups().add({fields:A.observableArray([this._currentFields().activeItem])}),this._currentFields().removeActiveItem(),this._onChange())},this._appendFieldsToGroup=()=>{this._isAppendToGroupEnabled()&&(this._currentGroups().activeItem.fields.push(this._currentFields().activeItem),this._currentFields().removeActiveItem(),this._onChange())},this._removeGroup=()=>{this._isRemoveGroupEnabled()&&(this._currentFields().addRange(this._currentGroups().activeItem.fields()),this._currentGroups().removeActiveItem(),this._onChange())},this._moveUp=()=>{this._currentGroups()&&this._currentGroups().moveUp(),this._onChange()},this._moveDown=()=>{this._currentGroups()&&this._currentGroups().moveDown(),this._onChange()},this._fieldDblClick=e=>{this._currentFields().activeItem=e,this._addNewGroup()},this._fieldClick=e=>{this._currentFields().activeItem=e.itemData},this._groupDblClick=e=>{this._currentGroups().activeItem=e,this._removeGroup()},this._groupClick=e=>{this._currentGroups().activeItem=e.itemData},this._currentPath=A.observable(""),this._currentFields=A.observable(null),this._currentGroups=A.observable(null),this._fieldCaption=(0,L.getLocalization)("Available fields","ASPxReportsStringId.ReportDesigner_Wizard_AvailableFields"),this._groupCaption=(0,L.getLocalization)("Groups","ASPxReportsStringId.ReportDesigner_Groups"),this._reportTree=A.observableArray([]),this._disposables.push(this._currentPath.subscribe((e=>{this._currentGroups(this._groupingLevels[e]),this._currentFields(this._availableColumns[e])})))}_setData(e){e.forEach((e=>{this._groupingLevels[e.path]&&this._availableColumns[e.path]||(this._availableColumns[e.path]=new oB,this._groupingLevels[e.path]=new oB),this._masterDetailGroups[e.path]||(this._masterDetailGroups[e.path]=[]);const t=A.observableArray(e.fields.map((e=>e.displayName)));this._groupingLevels[e.path].setItems(this._masterDetailGroups[e.path].map((e=>(t.removeAll(e),{fields:A.observableArray(e)})))),this._availableColumns[e.path].setItems(t())}))}canFinish(){return!0}_isCreateGroupEnabled(){return!!this._currentFields()&&!!this._currentFields().activeItem}_isAppendToGroupEnabled(){return!!this._currentFields()&&this._currentFields().activeItem&&!!this._currentGroups()&&this._currentGroups().activeItem&&this._currentGroups().activeItem.fields().length>0}_isRemoveGroupEnabled(){return!!this._currentGroups()&&this._currentGroups().activeItem&&this._currentGroups().activeItem.fields().length>0}_isMoveUpEnabled(){return!!this._currentGroups()&&this._currentGroups().isMoveUpEnabled()}_isMoveDownEnabled(){return!!this._currentGroups()&&this._currentGroups().isMoveDownEnabled()}initialize(e){this._reportTree(sB([],e.masterDetailInfoCollection,0).map((e=>k.extend(!0,{},e)))),this._masterDetailGroups=k.extend(!0,{},e.masterDetailGroups);const t=this._reportTree()[0]&&this._reportTree()[0].path;return t&&(this._setData(this._reportTree()),this._currentPath(t),t===this._currentPath.peek()&&this._currentPath.notifySubscribers(t)),k.Deferred().resolve().promise()}commit(){const e={},t={};return this._reportTree().forEach((a=>{if(this._groupingLevels[a.path].items.length>0&&(e[a.path]=this._groupingLevels[a.path].items.map((e=>e.fields().map((e=>(0,B.getFirstItemByPropertyValue)(a.fields,"displayName",e).name))))),this._availableColumns[a.path]){const e=[];t[a.path]=[],this._availableColumns[a.path].items.forEach((t=>{const i=(0,B.getFirstItemByPropertyValue)(a.fields,"displayName",t);i.specifics&&["integer","float","date"].indexOf(i.specifics.toLowerCase())>-1&&e.push(i)})),e.sort(((e,t)=>e.name.localeCompare(t.name))),0===e.length?delete t[a.path]:t[a.path]=e}})),k.Deferred().resolve({masterDetailGroups:e,masterDetailSummaryOptionsColumns:t}).promise()}}function lB(e){e.registerMetadata(jw.AddGroupingLevelPage,{create:()=>new nB,getState:e=>e,setState:(e,t)=>{t.masterDetailGroups=e.masterDetailGroups,t.masterDetailSummaryOptionsColumns=e.masterDetailSummaryOptionsColumns},description:(0,L.getLocalization)("Group data in the selected reports. You can specify one or more fields for each group.","ReportBoxDesignerStringId.Wizard_MasterDetailAddGroupingLevel_Description"),template:"dxrd-page-masterdetail-groups",resetState:(e,t)=>{e.masterDetailGroups=t.masterDetailGroups,e.masterDetailSummaryOptionsColumns=t.masterDetailSummaryOptionsColumns}})}class dB extends L.Disposable{constructor(e,t){super(),this._onChange=t,this.groups=A.observableArray(),this.addGroupText=()=>(0,L.getLocalization)("Add Group","ASPxReportsStringId.ReportDesigner_Wizard_AddGroup_Text"),this.path=e.path,this.displayName=e.displayName,this.dataSource=A.observableArray(e.fields.map((e=>k.extend(!0,{},e,{visible:A.observable(!0)}))))}dispose(){this.disposeObservableArray(this.groups)}getSelectedFieldsFlat(){return[].concat([],...this.getSelectedFields())}getSelectedFields(){return this.groups().filter((e=>e.fields().length>0)).map((e=>e.fields()))}isCreateGroupEnabled(){const e=this.groups().filter((e=>0===e.fields().length)).length;return this.dataSource().length-this.getSelectedFieldsFlat().length-e>0}add(){this.groups.push(new cB(this,this._onChange)),this._onChange()}remove(e){this.groups()[e].dispose(),this.groups.splice(e,1),this._onChange()}moveUpDisabled(e){return 0===e}moveDownDisabled(e){return e===this.groups().length-1}moveup(e){const t=this.groups();t.splice(e-1,2,t[e],t[e-1]),this.groups.valueHasMutated(),this._onChange()}movedown(e){const t=this.groups();t.splice(e,2,t[e+1],t[e]),this.groups.valueHasMutated(),this._onChange()}}class cB extends L.Disposable{constructor(e,t){super(),this._store=e,this._onChange=t,this.fields=A.observableArray(),this._disposables.push(this.fields.subscribe((()=>this._onChange())));let a=!0;this.value={dataSource:this._store.dataSource,showDropDownButton:!0,searchEnabled:!0,value:this.fields,getOptions:e=>this.getOptions(e),multiline:!1,placeholder:(0,B.selectPlaceholder)(),selectAllText:(0,L.getLocalization)("Select All","AnalyticsCoreStringId.SelectAll"),getPopupContainer:B.getParentContainer,showSelectionControls:!0,valueExpr:"name",displayExpr:"displayName",searchExpr:["displayName"],onOpened:e=>{if(this._updateDataSource(),e.component._popup){const t=k.fn.constructor(e.component.content()),a=t.find(".dx-list-select-all"),i=t.height();a.css("display","none"),t.height(i-a.outerHeight()),e.component._popup.refreshPosition()}a&&(e.component._refresh(),a=!1)},onClosed:e=>{this._store.dataSource().forEach((e=>e.visible(!0))),a=!0}}}_updateDataSource(){this._store.dataSource().forEach((e=>{e.visible(!this._store.groups.peek().some((t=>t!==this&&-1!==t.fields().indexOf(e.name))))}))}getOptions(e){return(0,B.extend)(this.value,{dropDownOptions:e.dropDownOptions})}}class pB extends yN.WizardPageBase{constructor(){super(...arguments),this._reportTree=[],this._groupInfos=A.observableArray()}dispose(){this.disposeObservableArray(this._groupInfos)}canFinish(){return!0}_mergeGroups(e){const t=this._groupInfos();e.forEach((e=>{const a=t.filter((t=>t.displayName===e.displayName))[0];a&&0!==a.groups().length&&a.groups().filter((e=>e.fields().length>0)).forEach((t=>{const a=e.dataSource().filter((e=>t.fields().some((t=>t===e.name))));a.length>0&&(e.add(),e.groups()[e.groups().length-1].fields(a.map((e=>e.name))))}))})),this.disposeObservableArray(this._groupInfos)}initialize(e){this._reportTree=sB([],e.masterDetailInfoCollection,0).map((e=>k.extend(!0,{},e)));const t=this._reportTree.filter((e=>e.fields.length>0)).map((e=>new dB(e,this._onChange)));return this._mergeGroups(t),this._groupInfos(t),k.Deferred().resolve().promise()}commit(){const e={},t={};return this._groupInfos().forEach((t=>{const a=t.getSelectedFields();a.length>0&&(e[t.path]=a)})),this._reportTree.forEach((a=>{let i=a.fields.filter((e=>e.specifics&&["integer","float","date","bool"].indexOf(e.specifics.toLowerCase())>-1));e[a.path]&&(i=i.filter((t=>e[a.path].some((e=>-1===e.indexOf(t.name)))))),i.length>0&&(t[a.path]=i)})),k.Deferred().resolve({masterDetailGroups:e,masterDetailSummaryOptionsColumns:t}).promise()}}function uB(e){lB(e);const t=e.getMetadata(jw.AddGroupingLevelPage);t.create=()=>new pB,t.disabledText=(0,L.getLocalization)("To add groups to the report, select data fields.","ASPxReportsStringId.ReportDesigner_Wizard_AddGroupFields_Placeholder"),t.template="dxrd-page-masterdetail-groups-section"}class mB extends yN.WizardPageBase{constructor(){super(),this._allColumns={},this._masterDetailColumns={},this._toggleIgnoreNullValues=()=>{this.ignoreNullValues(!this.ignoreNullValues()),this._onChange()},this._summaryOptions=A.observableArray([]),this.ignoreNullValues=A.observable(!1),this._template="dxrd-page-masterdetail-summary",this._reportTree=A.observableArray([]),this._currentPath=A.observable(""),this._availableFields=A.observableArray([]),this._summaryInfos=A.observableArray([]),this._selectFieldToSummaryCaption=(0,L.getLocalization)("Select fields and assign summary functions to them","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SummaryOptions_SelectFieldsAndSummaries"),this._fieldsCaption=(0,L.getLocalization)("Fields","DevExpress.XtraReports.UI.XRPivotGrid.Fields"),this._summaryFunctionCaption=(0,L.getLocalization)("Summary Functions","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SummaryOptions_SummaryFunctions"),this._ignoreNullValuesCaption=(0,L.getLocalization)("Ignore null values","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_IgnoreNullValues"),this._disposables.push(this._currentPath.subscribe((e=>{this._changeQuery(e)})))}_createSummaryInfo(){const e=new QR(Vm());return this._disposables.push(e.field.subscribe((e=>{this._createNewItemIfNeed()}))),e}_createNewItemIfNeed(){const e=this._summaryInfos.peek();0===e.filter((e=>!e.field())).length&&e.length<this._availableFields.peek().length&&this._summaryInfos.push(this._createSummaryInfo());const t=this._summaryInfos.peek().filter((e=>!!e.field())).map((e=>e.field().name));this._displayedFields[this._currentPath()]&&this._displayedFields[this._currentPath()]().forEach((e=>e.visible(-1===t.indexOf(e.name)))),this._onChange()}_changeQuery(e){this._currentPath(e),this._summaryInfoMapByDataMember[this._currentDataMember]=this._summaryInfos(),this._currentDataMember=e,this._availableFields(this._masterDetailColumns[e]||[]),this._summaryInfos(this._summaryInfoMapByDataMember[e]||[]),this._createNewItemIfNeed()}_removeSummaryInfo(e){const t=this._summaryInfos.indexOf(e);-1!==t&&(this._summaryInfos.splice(t,1),this._createNewItemIfNeed(),this._onChange())}canFinish(){return!0}initialize(e){this._masterDetailColumns=k.extend(!0,{},e.masterDetailSummaryOptionsColumns),this.ignoreNullValues(e.ignoreNullValuesForSummary),this._reportTree(sB([],e.masterDetailInfoCollection,0)),this._currentDataMember=this._reportTree()[0].path;const t={};this._reportTree().forEach((a=>{t[a.path]=e.masterDetailSummaryOptionsColumns[a.path]&&e.masterDetailSummaryOptionsColumns[a.path].map((e=>e.name))}));let a=[];k.each(t,((e,t)=>{a=a.concat(A.utils.compareArrays(this._allColumns[e],t))}));return a.some(((e,t,a)=>"retained"!=e.status))?(this._allColumns=t,this._summaryInfos([]),this._summaryInfoMapByDataMember={},this._displayedFields={},k.each(this._masterDetailColumns,((e,t)=>{this._displayedFields[e]=A.observableArray([]),this._displayedFields[e](t.map((e=>({name:e.name,displayName:e.displayName,visible:A.observable(!0)}))))}))):this._summaryInfos(this._summaryInfoMapByDataMember[this._currentDataMember]),this._changeQuery(this._currentDataMember),k.Deferred().resolve().promise()}commit(){this._summaryInfoMapByDataMember[this._currentDataMember]=this._summaryInfos();const e=this._masterDetailColumns,t={};k.each(this._summaryInfoMapByDataMember,((e,a)=>{t[e]=a.filter((e=>!!e.field())).map((e=>({column:e.field(),summaryFunctions:e.value.value().map((t=>e.value.dataSource.map((e=>e.value)).indexOf(t)))})))}));const a=this.ignoreNullValues();return k.Deferred().resolve({masterDetailSummaryOptionsColumns:e,masterDetailSummariesInfo:t,ignoreNullValuesForSummary:a}).promise()}}function hB(e){e.registerMetadata(jw.ChooseSummaryOptionsPage,{create:()=>new mB,description:(0,L.getLocalization)("Choose summary functions to calculate in reports.","ReportBoxDesignerStringId.Wizard_MasterDetailChooseSummaryOptions_Description"),template:"dxrd-page-masterdetail-summary",getState:e=>e,setState:(e,t)=>{t.masterDetailSummariesInfo=e.masterDetailSummariesInfo,t.ignoreNullValuesForSummary=e.ignoreNullValuesForSummary},resetState:(e,t)=>{e.masterDetailSummariesInfo=t.masterDetailSummariesInfo,e.ignoreNullValuesForSummary=t.ignoreNullValuesForSummary}})}class gB extends yN.WizardPageBase{constructor(){super(...arguments),this._toggleIgnoreNullValues=()=>{this.ignoreNullValues(!this.ignoreNullValues()),this._onChange()},this._fieldListProvider=A.observable(null),this.ignoreNullValues=A.observable(!1),this._template="dxrd-page-masterdetail-summary-section",this._reportTree=A.observableArray([]),this._availableFieldsCount=A.observable(0),this._summaryInfos=A.observableArray([]),this._selectFieldToSummaryCaption=(0,L.getLocalization)("Select fields and assign summary functions to them","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SummaryOptions_SelectFieldsAndSummaries"),this._fieldsCaption=(0,L.getLocalization)("Field","ASPxReportsStringId.ReportDesigner_Wizard_SummaryFields_Text"),this._summaryFunctionCaption=(0,L.getLocalization)("Summary Functions","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SummaryOptions_SummaryFunctions"),this._ignoreNullValuesCaption=(0,L.getLocalization)("Ignore null values","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_IgnoreNullValues")}dispose(){super.dispose(),this.disposeObservableArray(this._summaryInfos)}_fillTreeQueries(e,t,a){return sB([],t,0).forEach((t=>{if(a[t.path]){const i=t.fields.filter((e=>a[t.path].some((t=>t.name===e.name)))),r=k.extend(!0,{},t);r.fields=i,e.push(r)}})),e}_createSummaryInfo(){const e=new YR;return e._disposables.push(e.selectedPath.subscribe((t=>{t?this._fieldListProvider().getItemByPath({fullPath:t,path:t}).done((t=>{e.field(t),this._createNewItemIfNeed()})):e.field(null),this._onChange()}))),e._disposables.push(e.functionValue.subscribe((e=>{this._onChange()}))),e}_createNewItemIfNeed(){const e=this._summaryInfos.peek();0===e.filter((e=>!e.field())).length&&e.length<this._availableFieldsCount()&&this._summaryInfos.push(this._createSummaryInfo())}_getParentName(e){return e.parent?[this._getParentName(e.parent),e.displayName].join("."):e.displayName}_flat(e,t){let a=e.map((e=>(e.path?e.name=e.path:e.path=[t.path,e.name].join("."),t&&(e.parent={path:t.path,displayName:this._getParentName(t)}),e)));return e.forEach((e=>{e.fields&&(a=a.concat(this._flat(e.fields,e)))})),a}_removeSummaryInfo(e){const t=this._summaryInfos.indexOf(e);-1!==t&&(e.dispose(),this._summaryInfos.splice(t,1),0===this._summaryInfos.length&&this._createNewItemIfNeed(),this._onChange())}canFinish(){return!0}_updateSummaries(e){this._summaryInfos().filter((t=>t.field()&&e.every((e=>e.path!==t.field().path)))).forEach((e=>{this._summaryInfos().splice(this._summaryInfos().indexOf(e),1)})),this._summaryInfos.valueHasMutated()}initialize(e){this.ignoreNullValues(e.ignoreNullValuesForSummary),this._reportTree(this._fillTreeQueries([],e.masterDetailInfoCollection,e.masterDetailSummaryOptionsColumns));const t=this._flat(this._reportTree());return this._updateSummaries(t),this._availableFieldsCount(this._reportTree().reduce(((e,t)=>e+=t.fields.length),0)),this._fieldListProvider({getItemByPath:e=>k.Deferred().resolve(t.filter((t=>t.path===e.fullPath))[0]).promise(),getItems:e=>{const t=k.Deferred();if(""===e.fullPath)t.resolve(this._reportTree().filter((e=>e.fields.some((e=>this._summaryInfos().every((t=>t.field()!==e)))))));else{const a=this._reportTree().filter((t=>t.path===e.fullPath))[0];a?t.resolve(a.fields.filter((e=>this._summaryInfos().every((t=>t.field()!==e))))):t.resolve([])}return t.promise()}}),this._createNewItemIfNeed(),k.Deferred().resolve().promise()}commit(){const e={};this._summaryInfos().forEach((t=>{const a=t.field();a&&(e[a.parent.path]||(e[a.parent.path]=[]),e[a.parent.path].push({column:t.field(),summaryFunctions:t.value.value().map((e=>t.value.dataSource.map((e=>e.value)).indexOf(e)))}))}));const t=this.ignoreNullValues();return k.Deferred().resolve({masterDetailSummariesInfo:e,ignoreNullValuesForSummary:t}).promise()}}function xB(e){hB(e);const t=e.getMetadata(jw.ChooseSummaryOptionsPage);t.create=()=>new gB,t.disabledText=(0,L.getLocalization)("To add a summary field to the report, select a data field (numeric, date-time or boolean) and ensure that it is not used in groups.","ASPxReportsStringId.ReportDesigner_Wizard_AddSummaryFields_Placeholder"),t.template="dxrd-page-masterdetail-summary-section"}class vB extends yN.FullscreenWizardPage{constructor(e){super(),this._reportWizardOptions=e}registerSections(){eB(this._factory,this._reportWizardOptions,Jw.SelectDataMembersPage_Members),uB(this._factory),xB(this._factory);let e=this._factory.getMetadata(Jw.SelectDataMembersPage_Members);e.disabledText=(0,L.getLocalization)("Loading...","AnalyticsCoreStringId.Loading"),e.description=(0,L.getLocalization)("Select queries for the report and its detail reports.","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SelectQueries"),e=this._factory.getMetadata(Jw.AddGroupFieldsPage),e.description=(0,L.getLocalization)("Add group fields.","ASPxReportsStringId.ReportDesigner_Wizard_AddGroupFields"),e=this._factory.getMetadata(Jw.AddSummaryFieldsPage),e.description=(0,L.getLocalization)("Add summary fields.","ASPxReportsStringId.ReportDesigner_Wizard_AddSummaryFields"),this._setSectionPosition(Jw.SelectDataMembersPage_Members,mC.WizardSectionPosition.Top),this._setSectionPosition(Jw.AddGroupFieldsPage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.BottomRight:mC.WizardSectionPosition.BottomLeft),this._setSectionPosition(Jw.AddSummaryFieldsPage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.BottomLeft:mC.WizardSectionPosition.BottomRight)}_beforeStart(){this._sections[0].metadata.template="dxrd-page-masterdetail-select-dataMembers";const e=new mC.WizardPageSection(Jw.SelectDataMembersPage_Fields,k.extend(!0,{},this._sections[0].metadata,{template:"dxrd-page-masterdetail-select-fieldMembers",description:(0,L.getLocalization)("Select data fields to display in the report.","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SelectDataFields"),disabledText:(0,L.getLocalization)("Loading...","AnalyticsCoreStringId.Loading")}));e.page=this._sections[0].page,this._sections.splice(1,0,e),this._setSectionPosition(Jw.SelectDataMembersPage_Members,this._reportWizardOptions.rtl?mC.WizardSectionPosition.TopRight:mC.WizardSectionPosition.TopLeft),this._setSectionPosition(Jw.SelectDataMembersPage_Fields,this._reportWizardOptions.rtl?mC.WizardSectionPosition.TopLeft:mC.WizardSectionPosition.TopRight)}getNextSectionId(e){return e?e===Jw.SelectDataMembersPage_Members&&!k.isEmptyObject(this._stateManager.getCurrentState().masterDetailInfoCollection)&&this._stateManager.getCurrentState().masterDetailInfoCollection.some((e=>!1!==e.checked))?Jw.AddGroupFieldsPage:e!==Jw.AddGroupFieldsPage||k.isEmptyObject(this._stateManager.getCurrentState().masterDetailSummaryOptionsColumns)?void 0:Jw.AddSummaryFieldsPage:Jw.SelectDataMembersPage_Members}}function fB(e,t){e.registerMetadata(qw.DefineReportLayoutPage,{create:()=>new vB(t),getState:e=>e,setState:(e,t)=>{t.masterDetailInfoCollection=e.masterDetailInfoCollection,t.masterDetailGroups=e.masterDetailGroups,t.masterDetailSummaryOptionsColumns=e.masterDetailSummaryOptionsColumns,t.masterDetailSummariesInfo=e.masterDetailSummariesInfo,t.ignoreNullValuesForSummary=e.ignoreNullValuesForSummary},resetState:(e,t)=>{e.masterDetailInfoCollection=t.masterDetailInfoCollection,e.masterDetailGroups=t.masterDetailGroups,e.masterDetailSummaryOptionsColumns=t.masterDetailSummaryOptionsColumns,e.masterDetailSummariesInfo=t.masterDetailSummariesInfo,e.ignoreNullValuesForSummary=t.ignoreNullValuesForSummary},navigationPanelText:(0,L.getLocalization)("Define Report Layout","ASPxReportsStringId.ReportDesigner_Wizard_DefineReportLayout"),template:"dx-wizard-fullscreen-page"})}class bB extends yN.FullscreenWizardPage{constructor(e){super(),this._reportWizardOptions=e,this._className="dxrd-wizard-section-crosstab"}_showPageDescription(){return!1}canNext(){return!0}registerSections(){yB(this._factory,this._reportWizardOptions),this._setSectionPosition(Jw.SelectSingleDataMemberPage,mC.WizardSectionPosition.TopLeft),iB(this._factory,Jw.ConfigureCrossTabColumnsPage,"Columns","ReportStringId.CrossTab_ColumnAreaName",MD),this._setSectionPosition(Jw.ConfigureCrossTabColumnsPage,mC.WizardSectionPosition.TopRight),iB(this._factory,Jw.ConfigureCrossTabRowsPage,"Rows","ReportStringId.CrossTab_RowAreaName",MD),this._setSectionPosition(Jw.ConfigureCrossTabRowsPage,mC.WizardSectionPosition.BottomLeft),iB(this._factory,Jw.ConfigureCrossTabDataPage,"Data","ReportStringId.CrossTab_DataAreaName",zD),this._setSectionPosition(Jw.ConfigureCrossTabDataPage,mC.WizardSectionPosition.BottomRight)}getNextSectionId(e){return e?e===Jw.SelectSingleDataMemberPage?Jw.ConfigureCrossTabColumnsPage:e===Jw.ConfigureCrossTabColumnsPage?Jw.ConfigureCrossTabRowsPage:e===Jw.ConfigureCrossTabRowsPage?Jw.ConfigureCrossTabDataPage:void 0:Jw.SelectSingleDataMemberPage}commit(){const e={};this._sections.forEach((t=>{if(t&&t.page().page instanceof aB){const a=t.page().page;e[a.stateName]=a.fieldInfos().filter((e=>e.field())).map((e=>{const t={name:e.field().name,displayName:e.field().displayName};return t[a.itemInfo.propertyName]=e.functionValue().value,t}))}}));const t=k.Deferred();return super.commit().done((a=>{t.resolve((0,B.extend)(a,e))})),t.promise()}}function yB(e,t){e.registerMetadata(Jw.SelectSingleDataMemberPage,{create:()=>new tB(t.callbacks.fieldListsCallback,t.hideDataMemberSubItems),template:"dxrd-page-crosstab-dataMembers",getState:e=>e,setState:(e,t)=>{t.crossTabFields=e.crossTabFields,t.dataMemberPath=e.dataMemberPath,t.dataMemberInfo=e.dataMemberInfo},resetState:(e,t)=>{e.crossTabFields=t.crossTabFields,e.dataMemberPath=t.dataMemberPath,e.dataMemberInfo=t.dataMemberInfo}})}function SB(e,t){fB(e,t);const a=e.getMetadata(qw.DefineReportLayoutPage),i=(0,B.extend)({},a,{create:()=>new bB(t),setState:(e,t)=>{t.crossTabFields=e.crossTabFields,t.dataMemberPath=e.dataMemberPath,t.dataMemberInfo=e.dataMemberInfo,t.crossTabColumnsFieldInfo=e.crossTabColumnsFieldInfo,t.crossTabRowsFieldInfo=e.crossTabRowsFieldInfo,t.crossTabDataFieldInfo=e.crossTabDataFieldInfo},resetState:(e,t)=>{e.crossTabFields=t.crossTabFields,e.dataMemberPath=t.dataMemberPath,e.dataMemberInfo=t.dataMemberInfo,e.crossTabColumnsFieldInfo=t.crossTabColumnsFieldInfo,e.crossTabRowsFieldInfo=t.crossTabRowsFieldInfo,e.crossTabDataFieldInfo=t.crossTabDataFieldInfo}});e.registerMetadata(qw.DefineCrossTabPage,i)}class CB extends yN.FullscreenWizardPage{constructor(e){super(),this.reportWizardOptions=e}registerSections(){if(this.reportWizardOptions.dataSources().length>0&&(Zw(this._factory,this.reportWizardOptions),this._setSectionPosition(Jw.ChooseAvailableDataSourcePage)),this.reportWizardOptions.canCreateDataSource){AR(this._factory,this.reportWizardOptions),this._setSectionPosition(Jw.ChooseDataSourceTypePage);this._factory.getMetadata(Jw.ChooseDataSourceTypePage).disabledText=(0,L.getLocalization)('To specify a data source, select "No, I\'d like to create a new data source".',"AnalyticsCoreStringId.Wizard_SelectDataSourceType_Placeholder")}this.reportWizardOptions.dataSources().length>0&&this.reportWizardOptions.canCreateDataSource&&(this._setSectionPosition(Jw.ChooseAvailableDataSourcePage,mC.WizardSectionPosition.Top),this._setSectionPosition(Jw.ChooseDataSourceTypePage,mC.WizardSectionPosition.Bottom))}getNextSectionId(e){return!e&&this.reportWizardOptions.dataSources().length>0?Jw.ChooseAvailableDataSourcePage:e&&(e!==Jw.ChooseAvailableDataSourcePage||this._stateManager.getCurrentState().dataSource)?void 0:Jw.ChooseDataSourceTypePage}}function DB(e,t){e.registerMetadata(qw.SelectDataSourcePage,{setState:(e,t)=>{t.dataSourceType=e.dataSourceType,t.dataSource=e.dataSource},getState:e=>e,resetState:(e,t)=>{e.dataSource=t.dataSource,e.dataSourceType=t.dataSourceType},create:()=>new CB(t),navigationPanelText:(0,L.getLocalization)("Select Data Source","ASPxReportsStringId.ReportDesigner_Wizard_SelectDataSource"),template:"dx-wizard-fullscreen-page"})}class _B extends cE{constructor(){super(...arguments),this.addAction={clickAction:e=>{this.openManageQueriesEditor(e.data.name)},imageClassName:"dxrd-image-add-query",imageTemplateName:"dxrd-svg-operations-add_query",text:(0,B.getLocalization)("Manage Queries...","DataAccessUIStringId.FederationDataSourceDesignerVerbManageQueries")},this.editAction={clickAction:e=>{const t=this._findDataSource(e.path.split(".")[0]);this.getFederationDataSourceByInfo(t).done((a=>{const i=a.queries().filter((t=>t.alias()===e.name))[0];this.queriesPopupHelper(new dE.FederatedQueriesHelper(a,a.queries,{onSave:()=>this.saveDataSourceInfo(a,t),onClose:()=>this.queriesPopupHelper().dispose()},this._rtl)),this.queriesPopupHelper().editQuery(fN.FederationQueryType[i.queryType()],i.alias())}))},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,B.getLocalization)("Edit query","AnalyticsCoreStringId.SqlDSWizard_EditQuery")},this.editRelationsAction={clickAction:e=>{this.editMasterDetailRelations(e.data.name)},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,B.getLocalization)("Edit Master-Detail Relations","ASPxReportsStringId.ReportDesigner_FieldListActions_EditMasterDetailRelations")},this.removeAction={clickAction:e=>{const t=this._findDataSource(e.path.split(".")[0]);this.getFederationDataSourceByInfo(t).done((a=>{const i=a.queries().filter((t=>t.alias()===e.name))[0];a.queries.remove(i),this.saveDataSourceInfo(a,t)}))},position:50,imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",text:(0,B.getLocalization)("Remove query","AnalyticsCoreStringId.SqlDSWizard_RemoveQuery")},this.relationsEditor=A.observable(),this.manageQueriesEditor=A.observable(),this.queriesPopupHelper=A.observable()}_applyFederationDataSourceWizardChanges(e,t){return _B.createFederationDataSourceInfo(e).done((a=>{t?t.data.base64(a.base64()):(a.data=new Pb(a.data,this._dsHelper(),new L.ModelSerializer),a.data.serializableSourceMap(e.serializableSourceMap()),rE(this._dsHelper(),this._reportViewModel(),this._undoEngine(),this._itemsProvider(),a))}))}applyFederationDataSourceWizardChanges(e){const t=(0,yN._restoreFederationDataSourceFromState)(e.federationDataSourceWizard,this._dsHelper().usedDataSources,e.dataSourceId);return this._applyFederationDataSourceWizardChanges(t)}static createFederationDataSourceInfo(e){const t=k.Deferred();return nE.getFederationDataSourceBase64(e,e.dependentDataSources).done((a=>{t.resolve({name:"federationDataSource",id:e.id,data:{"@ObjectType":"DevExpress.DataAccess.DataFederation.FederationDataSource","@Base64":a},isFederationDataSource:!0,isListType:!1,isSupportQueries:!0,base64:()=>a})})).fail((e=>{cE._onFail(e,t)})),t.promise()}_wrapFieldListCallback(e){return(t,a)=>e(t,a,!1)}getFederationDataSourceByInfo(e){const t=k.Deferred(),a=A.observableArray(this._dsHelper().usedDataSources().filter((t=>t!==e)));return nE.federationDataSourceFromBase64(e.data.base64(),e.data.dependentDataSources).done((i=>{const r=new B.FieldListProvider(this._wrapFieldListCallback(this._callbacks.fieldListsCallback),a,[new mC.FederationDataSourceItemsExtender(a)],!0),o=new ub.FederationDataSource(JSON.parse(i.federationDataSourceJSON),a,r);o.name(e.name),t.resolve(o)})),t}editMasterDetailRelations(e){const t=this._findDataSource(e);this.getFederationDataSourceByInfo(t).done((e=>{e.queries().length<2?(0,B.ShowMessage)((0,B.getLocalization)("At least two queries are required to create a master-detail relation.","DataAccessUIStringId.MessageLessThanTwoQueries"),"warning",1e4):lE().getFederationResultSchema(e).done((a=>{this.relationsEditor(new dE.MasterDetailEditor(e.relations,new ub.ResultSet(JSON.parse(a.resultSchemaJSON)),(()=>(e.relations(e.relations().map((e=>ub.FederationMasterDetailRelation.create(e)))),this._applyFederationDataSourceWizardChanges(e,t))))),this.relationsEditor().popupVisible(!0)}))}))}saveDataSourceInfo(e,t){this._undoEngine().start(),e.updateSerializableModel(),t.data.serializableSourceMap(e.serializableSourceMap()),this._applyFederationDataSourceWizardChanges(e,t).always((()=>{this._undoEngine().end()}))}openManageQueriesEditor(e){const t=this._findDataSource(e);this.getFederationDataSourceByInfo(t).done((e=>{this.manageQueriesEditor()&&this.manageQueriesEditor().dispose(),this.manageQueriesEditor(new dE.ManageFederatedQueriesEditor(e,(()=>this.saveDataSourceInfo(e,t)),this._rtl)),this.manageQueriesEditor().popupVisible(!0)}))}getActions(e){const t=[];return e.data?(e.data.canAddFederatedQuery&&(t.push(this.addAction),t.push(this.editRelationsAction)),e.data.canEditFederatedQuery&&(t.push(this.editAction),t.push(this.removeAction)),t):t}}class IB extends yN.SpecifyFederationDataSourceSettingsPage{canNext(){return super.canFinish()}initialize(e){return super.initialize(e)}commit(){const e=$.Deferred();return super.commit().done((t=>{const a=(0,yN._restoreFederationDataSourceFromState)(t.federationDataSourceWizard,this._dataSourceWizardOptions.dataSources,t.dataSourceId);_B.createFederationDataSourceInfo(a).done((i=>{i.data=new Pb(i.data,this._dataSourceWizardOptions.dataSources,new L.ModelSerializer),i.data.serializableSourceMap(a.serializableSourceMap()),e.resolve({federationDataSourceWizard:t.federationDataSourceWizard,newDataSource:Kw(i)})})).fail(e.reject)})),e.promise()}}function PB(e,t){(0,yN._registerSpecifyFederationDataSourceSettingsPage)(e,t),HR(e,yN.FullscreenDataSourceWizardPageId.SpecifyFederationDataSourceSettingsPage,(()=>new IB(t)))}function TB(e,t,a){const i=e.getMetadata(t);e.registerMetadata(t,{canNext:e=>e.canFinish()||e.canNext(),create:()=>a.create(),resetState:(e,t)=>{e.newDataSource=t.newDataSource,a.resetState&&a.resetState(e,t)},getState:e=>e,setState:(e,t)=>{a.setState&&a.setState(e,t),t.newDataSource=e.newDataSource},description:i.description,template:i.template})}function zB(e,t,a){TB(e,t,k.extend({},a,{setState:(e,t)=>{k.extend(t.jsonDataSourceWizard,e.result)}}))}function NB(e,t,a){TB(e,t,k.extend({},a,{setState:(e,t)=>{t.sqlDataSourceWizard=e.result}}))}class EB{constructor(e,t){this._page=e,this._callback=t}commit(e,t){const a=k.Deferred();return!this._page.canNext()&&this._page.canFinish()?e().done((e=>{this._callback(t(e)).done((t=>{t.data=Yb(t.data),a.resolve({result:e,newDataSource:Kw(t)})})).fail(a.reject)})):e().done((e=>{a.resolve({result:e})})),a.promise()}}class wB extends yN.ChooseJsonSchemaPage{constructor(e){super(),this._dataSourceWizardHelper=new EB(this,e)}initialize(e){return this._dataSourceId=e.dataSourceId,super.initialize(e.jsonDataSourceWizard)}commit(){return this._dataSourceWizardHelper.commit((()=>super.commit()),(e=>(0,yN._restoreJsonDataSourceFromState)(e,void 0,this._dataSourceId)))}}function RB(e,t){zB(e,yN.JsonDataSourceWizardPageId.ChooseJsonSchemaPage,{create:()=>new wB(t.createJsonDataSourceInfo),resetState:e=>{delete e.jsonDataSourceWizard.dataSourceName,delete e.jsonDataSourceWizard.jsonScheme,delete e.jsonDataSourceWizard.rootElement}})}class BB extends yN.SpecifyJsonDataSourceSettingsPage{registerSections(){super.registerSections(),RB(this._factory,this._dataSourceWizardOptions.callbacks);this._factory.getMetadata(Jw.ChooseJsonSchemaPage).disabledText=(0,L.getLocalization)("To select data fields, choose or create a data connection.","AnalyticsCoreStringId.JsonDSWizard_ChooseJsonSchemaPage_Placeholder")}}function VB(e,t){(0,yN._registerSpecifyJsonDataSourceSettingsPage)(e,t),HR(e,qw.SpecifyJsonDataSourceSettingsPage,(()=>new BB(t)))}const MB=.0393701;let kB=null;function AB(){if(!kB){const e=k.Deferred();eR.getLabelReportWizardData().done((t=>e.resolve(JSON.parse(t)))),kB=e.promise()}}class LB extends yN.WizardPageBase{constructor(){super(),this._id=A.observable(0),this._labelWidth=A.observable(0),this._labelHeight=A.observable(0),this._horizontalPitch=A.observable(0),this._verticalPitch=A.observable(0),this._topMargin=A.observable(0),this._leftMargin=A.observable(0),this._rightMargin=A.observable(0),this._bottomMargin=A.observable(0),this._rowsCount=A.pureComputed((()=>this._getLabelsCount(this._pageHeight(),this._verticalPitch(),this._labelHeight(),this._topMargin()+this._bottomMargin()))),this._columnsCount=A.pureComputed((()=>this._getLabelsCount(this._pageWidth(),this._horizontalPitch(),this._labelWidth(),this._leftMargin()+this._rightMargin()))),this._pageHeight=A.pureComputed((()=>this._selectedPaperSize().unit===this.unit()?this._selectedPaperSize().height:this._selectedPaperSize().unit===SR.Millimeter?this._selectedPaperSize().height*LB._CONVERSION_COEEFICIENT:this._selectedPaperSize().height/LB._CONVERSION_COEEFICIENT)),this._pageWidth=A.pureComputed((()=>this._selectedPaperSize().unit===this.unit()?this._selectedPaperSize().width:this._selectedPaperSize().unit===SR.Millimeter?this._selectedPaperSize().width*LB._CONVERSION_COEEFICIENT:this._selectedPaperSize().width/LB._CONVERSION_COEEFICIENT)),this.paperKinds=()=>this._labelData.paperKinds,this._selectedPaperSize=A.observable({id:1,enumId:9,name:"A4",width:210,height:297,unit:6,isRollPaper:!1}),this.unit=A.observable(),this._stepUnit=A.pureComputed((()=>this.unit()===SR.Inch?.01:.1)),this.labelWidth=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._labelWidth())),write:e=>this._labelWidth(e)}),this.labelHeight=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._labelHeight())),write:e=>this._labelHeight(e)}),this.horizontalPitch=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._horizontalPitch())),write:e=>this._horizontalPitch(e)}),this.verticalPitch=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._verticalPitch())),write:e=>this._verticalPitch(e)}),this.topMargin=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._topMargin())),write:e=>this._topMargin(e)}),this.leftMargin=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._leftMargin())),write:e=>this._leftMargin(e)}),this.rightMargin=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._rightMargin())),write:e=>this._rightMargin(e)}),this.bottomMargin=A.computed({read:()=>parseFloat(this._getFormattedValueInUnits(this._bottomMargin())),write:e=>this._bottomMargin(e)}),this._labelsCountText=A.pureComputed((()=>this._rowsCount()*this._columnsCount()+" "+(0,L.getLocalization)("labels on the page","ASPxReportsStringId.ReportDesigner_Wizard_CustomizeLabelPage_LabelCountText")+", "+this._columnsCount()+" x "+this._rowsCount())),this._pageSizeText=A.pureComputed((()=>LB._getPageSizeText(this._pageWidth(),this._pageHeight(),this.unit()))),this._units=[{text:(0,L.getLocalization)("Inch","AnalyticsCoreStringId.Wizard_Inch"),value:SR.Inch},{text:(0,L.getLocalization)("Millimeter","AnalyticsCoreStringId.Wizard_Millimeter"),value:SR.Millimeter}],this._disposables.push(this._rowsCount,this._columnsCount,this._pageHeight,this._pageWidth),this._disposables.push(this.unit.subscribe((e=>{e===SR.Inch?(this._labelWidth(this._labelWidth()*LB._CONVERSION_COEEFICIENT),this._labelHeight(this._labelHeight()*LB._CONVERSION_COEEFICIENT),this._horizontalPitch(this._horizontalPitch()*LB._CONVERSION_COEEFICIENT),this._verticalPitch(this._verticalPitch()*LB._CONVERSION_COEEFICIENT),this._topMargin(this._topMargin()*LB._CONVERSION_COEEFICIENT),this._leftMargin(this._leftMargin()*LB._CONVERSION_COEEFICIENT),this._rightMargin(this._rightMargin()*LB._CONVERSION_COEEFICIENT),this._bottomMargin(this._bottomMargin()*LB._CONVERSION_COEEFICIENT)):e===SR.Millimeter&&(this._labelWidth(this._labelWidth()/LB._CONVERSION_COEEFICIENT),this._labelHeight(this._labelHeight()/LB._CONVERSION_COEEFICIENT),this._horizontalPitch(this._horizontalPitch()/LB._CONVERSION_COEEFICIENT),this._verticalPitch(this._verticalPitch()/LB._CONVERSION_COEEFICIENT),this._topMargin(this._topMargin()/LB._CONVERSION_COEEFICIENT),this._leftMargin(this._leftMargin()/LB._CONVERSION_COEEFICIENT),this._rightMargin(this._rightMargin()/LB._CONVERSION_COEEFICIENT),this._bottomMargin(this._bottomMargin()/LB._CONVERSION_COEEFICIENT))}))),this._disposables.push(...(0,mC.subscribeProperties)([this._labelWidth,this._labelHeight,this._horizontalPitch,this._verticalPitch,this._topMargin,this._leftMargin,this._rightMargin,this._bottomMargin,this.unit,this._selectedPaperSize],(()=>this._onChange()))),this._disposables.push(this._stepUnit,this.labelWidth,this.labelHeight,this.horizontalPitch,this.verticalPitch,this.topMargin,this.leftMargin,this.rightMargin,this.bottomMargin,this._labelsCountText,this._pageSizeText)}_getFormattedValueInUnits(e){return rB(e,this.unit())}_getLabelsCount(e,t,a,i){return Math.floor((e-i+(t-a))/t)}canNext(){return!1}canFinish(){return!0}initialize(e){return AB(),kB.done((t=>{this._labelData=t,this._id(e.id),this.unit(e.unit),this._selectedPaperSize((0,B.findFirstItemMatchesCondition)(this.paperKinds(),(t=>t.id===e.paperKindId))),this._labelWidth(e.width),this._labelHeight(e.height),this._horizontalPitch(e.hPitch),this._verticalPitch(e.vPitch),this._topMargin(e.topMargin),this._leftMargin(e.leftMargin),this._rightMargin(e.rightMargin),this._bottomMargin(e.bottomMargin)}))}commit(){const e={};return e.width=this._labelWidth(),e.height=this._labelHeight(),e.hPitch=this._horizontalPitch(),e.vPitch=this._verticalPitch(),e.topMargin=this._topMargin(),e.leftMargin=this._leftMargin(),e.rightMargin=this._rightMargin(),e.bottomMargin=this._bottomMargin(),e.unit=this.unit(),e.paperKindId=this._selectedPaperSize().id,k.Deferred().resolve(e).promise()}static _getPageSizeText(e,t,a){return rB(e,a)+" x "+rB(t,a)+(a===SR.Inch?" in":" mm")}}function $B(e){e.registerMetadata(jw.CustomizeLabelPage,{setState:(e,t)=>{t.width=e.width,t.height=e.height,t.hPitch=e.hPitch,t.vPitch=e.vPitch,t.topMargin=e.topMargin,t.leftMargin=e.leftMargin,t.rightMargin=e.rightMargin,t.bottomMargin=e.bottomMargin,t.unit=e.unit,t.paperKindId=e.paperKindId},getState:e=>e.labelDetails,resetState:(e,t)=>{e.width=t.width,e.height=t.height,e.hPitch=t.hPitch,e.vPitch=t.vPitch,e.topMargin=t.topMargin,e.leftMargin=t.leftMargin,e.rightMargin=t.rightMargin,e.bottomMargin=t.bottomMargin,e.unit=t.unit,e.paperKindId=t.paperKindId},create:()=>new LB,template:"dxrd-page-customizeLabel",description:(0,L.getLocalization)("Choose the page size and customize the label's parameters.","ASPxReportsStringId.ReportDesigner_Wizard_LabelPageSize")})}LB._CONVERSION_COEEFICIENT=MB;class FB extends yN.WizardPageBase{constructor(){super(),this._selectedPaperSize=A.computed({read:()=>(0,B.findFirstItemMatchesCondition)(this._labelData.paperKinds,(e=>e.id===this._selectedLabelDetails().paperKindId)),deferEvaluation:!0}),this._selectedLabelProduct=A.observable(),this._selectedLabelDetails=A.observable(),this._labelDetails=A.observable(),this._width=A.pureComputed((()=>rB(this._selectedLabelDetails().width,this._selectedPaperSize().unit)+(this._selectedPaperSize().unit===SR.Inch?" in":" mm"))),this._height=A.pureComputed((()=>rB(this._selectedLabelDetails().height,this._selectedPaperSize().unit)+(this._selectedPaperSize().unit===SR.Inch?" in":" mm"))),this._paperType=A.pureComputed((()=>this._selectedPaperSize().name)),this._pageSizeText=A.pureComputed((()=>rB(this._selectedPaperSize().width,this._selectedPaperSize().unit)+" x "+rB(this._selectedPaperSize().height,this._selectedPaperSize().unit)+(this._selectedPaperSize().unit===SR.Inch?" in":" mm"))),this._disposables.push(this._selectedLabelProduct.subscribe((e=>{const t=this._labelData.labelDetails.filter((t=>t.productId===e.id));this._selectedLabelDetails(t[0]),this._labelDetails({store:t,paginate:t.length>200,pageSize:100})}))),this._disposables.push(this._selectedLabelDetails.subscribe((()=>this._onChange()))),this._disposables.push(this._selectedPaperSize,this._width,this._height,this._paperType,this._pageSizeText)}initialize(e){return AB(),kB.done((t=>{this._labelData=t,e.labelDetails?(this._selectedLabelProduct()&&this._selectedLabelProduct().id===e.labelDetails.productId||this._selectedLabelProduct((0,B.findFirstItemMatchesCondition)(this._labelData.labelProducts,(t=>t.id===e.labelDetails.productId))),this._selectedLabelDetails((0,B.findFirstItemMatchesCondition)(this._labelData.labelDetails,(t=>t.id===e.labelDetails.id)))):this._selectedLabelProduct(this._labelData.labelProducts[0])}))}canNext(){return!!this._selectedLabelDetails()}canFinish(){return!!this._selectedLabelDetails()}commit(){const e=this._selectedLabelDetails()?k.extend({},this._selectedLabelDetails()):null;return k.Deferred().resolve({labelDetails:e}).promise()}}function OB(e){e.registerMetadata(jw.SelectLabelTypePage,{setState:(e,t)=>{!e||t.labelDetails&&e.labelDetails.id===t.labelDetails.id||(t.labelDetails=e.labelDetails)},getState:e=>e,resetState:(e,t)=>{e.labelDetails=t.labelDetails},create:()=>new FB,template:"dxrd-page-selectPredefinedLabels",description:(0,L.getLocalization)("Select the label type.","ASPxReportsStringId.ReportDesigner_Wizard_SelectLabelType")})}class XB extends yN.FullscreenWizardPage{constructor(e){super(),this._reportWizardOptions=e}registerSections(){OB(this._factory),$B(this._factory),this._factory.getMetadata(Jw.SelectLabelTypePage).recreate=!1,this._factory.getMetadata(Jw.CustomizeLabelPage).recreate=!1,this._setSectionPosition(Jw.SelectLabelTypePage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.Right:mC.WizardSectionPosition.Left),this._setSectionPosition(Jw.CustomizeLabelPage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.Left:mC.WizardSectionPosition.Right)}canNext(){return!1}getNextSectionId(e){return e?e===Jw.SelectLabelTypePage?Jw.CustomizeLabelPage:void 0:Jw.SelectLabelTypePage}}function HB(e,t){e.registerMetadata(qw.SpecifyLabelSettingsPage,{setState:(e,t)=>{!e||t.labelDetails&&e.labelDetails.id===t.labelDetails.id||(t.labelDetails=e.labelDetails),t.labelDetails.width=e.labelDetails.width,t.labelDetails.height=e.labelDetails.height,t.labelDetails.hPitch=e.labelDetails.hPitch,t.labelDetails.vPitch=e.labelDetails.vPitch,t.labelDetails.topMargin=e.labelDetails.topMargin,t.labelDetails.leftMargin=e.labelDetails.leftMargin,t.labelDetails.rightMargin=e.labelDetails.rightMargin,t.labelDetails.bottomMargin=e.labelDetails.bottomMargin,t.labelDetails.unit=e.labelDetails.unit,t.labelDetails.paperKindId=e.labelDetails.paperKindId},getState:e=>e,resetState:(e,t)=>{e.labelDetails=t.labelDetails},create:()=>new XB(t),navigationPanelText:(0,L.getLocalization)("Specify Page Settings","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyPageSettings"),template:"dx-wizard-fullscreen-page",description:(0,L.getLocalization)("Choose the page size and customize the label's parameters.","ASPxReportsStringId.ReportDesigner_Wizard_LabelPageSize")})}class WB extends yN.DataSourceWizardPageIterator{getNextPageId(e){return e?super.getNextPageId(e):yN.ObjectDataSourceWizardPageId.ConfigureParametersPage}}class UB extends cE{constructor(){super(...arguments),this.editParametersAction={clickAction:e=>{this.editSchema(new L.PathRequest(e.path).id)},position:0,imageClassName:"dx-image-edit",imageTemplateName:"dxrd-svg-operations-edit",text:(0,L.getLocalization)("Edit Parameters...","AnalyticsCoreStringId.ObjectDSWizard_EditParameters")}}static createObjectDataSourceInfo(e,t,a){const i=k.Deferred();return(a?nE.editObjectDataSourceParameters(e,a):nE.getObjectDataSourceBase64(e)).done((a=>{const r=e.ctor,o=e.dataSourceName||"objectDataSource",s=e.dataMember,n={base64:a.base64,data:{"@ObjectType":"DevExpress.DataAccess.ObjectBinding.ObjectDataSource","@Base64":a.base64},name:o,isSupportQueries:a.isSupportQueries,isListType:a.isListType,id:t.id,isObjectDataSource:!0};n.hasParams=r&&r.parameters.length>0||s&&s.parameters.length>0,i.resolve(n)})).fail((e=>{i.reject()})),i.promise()}applyDataSourceWizardChanges(e){const t=(0,yN._restoreObjectDataSourceFromState)(e.objectDataSourceWizard),a=t&&this._dsHelper().findDataSourceInfoByName(t.name()),i=k.Deferred();return UB.createObjectDataSourceInfo(e.objectDataSourceWizard,t,a&&a.data.base64()).done((e=>{a?(a.base64=e.base64,a.data.base64(e.base64),i.resolve(a)):(rE(this._dsHelper(),this._reportViewModel(),this._undoEngine(),this._itemsProvider(),e),i.resolve(e))})).fail((e=>{i.reject()})),i.promise()}getActions(e){const t=[];return e.data&&!0===e.data.isObjectDataSource&&e.data.hasParams&&t.push(this.editParametersAction),t}editSchema(e){const t=this._findDataSource(e);nE.objectDataSourceFromBase64(t.data.base64()).done((e=>{const a=e=>{e.state.dataSourceType=yN.DataSourceType.Object};this._wizard.events.addHandler("beforeInitialize",a),this._wizard.initialize((0,yN._createDefaultDataSourceWizardState)(void 0,void 0,{ctor:e.ctor,dataMember:e.dataMember,selectedType:e.selectedType,dataSourceName:t.name}),((e,t)=>new WB(e,t,this._wizard._wizardOptions))),this._wizard.events.removeHandler("beforeInitialize",a),this._wizard.start(),this._wizard.isVisible(!0)})).fail((e=>{(0,B.getErrorMessage)(e)&&(0,B.ShowMessage)((0,B.getErrorMessage)(e))}))}}class GB extends yN.SpecifyObjectDataSourceSettingsPage{canNext(){return super.canFinish()}initialize(e){return this._dataSourceId=e.dataSourceId,super.initialize(e)}commit(){const e=k.Deferred();return super.commit().done((t=>{UB.createObjectDataSourceInfo(t,(0,yN._restoreObjectDataSourceFromState)(t,void 0,this._dataSourceId)).done((a=>{a.data=Yb(a.data),e.resolve({objectDataSourceWizard:t,newDataSource:Kw(a)})}))})),e.promise()}}function jB(e,t){(0,yN._registerSpecifyObjectDataSourceSettingsPage)(e,t),HR(e,yN.FullscreenDataSourceWizardPageId.SpecifyObjectDataSourceSettingsPage,(()=>new GB(t)))}class qB{constructor(e,t,a){this._isCustom=!1,this.name=e,this.localizationId=t,this.baseColor=a,this.color=Oi.currentMultiPlatformEngine.unwrap((0,L.colorFromString)(a)),this.displayName=(0,L.getLocalization)(this.name,this.localizationId),this.selected=A.observable(!1)}}class JB extends qB{constructor(e,t,a){super(e,t,a),this.color=(0,L.colorFromString)(a),this.editorColor=A.observable(this.color()),this.popoverVisible=A.observable(!1)}applyColor(){this.color(this.editorColor()),this.baseColor=(0,L.colorToString)(this.editorColor()),this.popoverVisible(!1)}resetColor(){this.editorColor(this.color()),this.popoverVisible(!1)}}class KB extends yN.WizardPageBase{constructor(){super(),this._scheme=A.observable(null),this._customColorScheme=new JB("Custom","ReportStringId.Wizard_ReportColorScheme_Custom","255, 183, 227, 228"),this._lookupData={scheme:[new qB("Grey","ReportStringId.Wizard_ReportColorScheme_Grey","255, 75,75,75"),new qB("ColdGrey","ReportStringId.Wizard_ReportColorScheme_ColdGrey","255, 93,98,110"),new qB("Cream","ReportStringId.Wizard_ReportColorScheme_Cream","255, 227,202,166"),new qB("JeansBlue","ReportStringId.Wizard_ReportColorScheme_JeansBlue","255, 69,94,178"),new qB("Blue","ReportStringId.Wizard_ReportColorScheme_Blue","255, 23,104,196"),new qB("Yellow","ReportStringId.Wizard_ReportColorScheme_Yellow","255, 255,209,107"),new qB("LightGreen","ReportStringId.Wizard_ReportColorScheme_LightGreen","255, 181,211,142"),new qB("Mint","ReportStringId.Wizard_ReportColorScheme_Mint","255, 46,148,130"),new qB("LightBlue","ReportStringId.Wizard_ReportColorScheme_LightBlue","255, 153,212,246"),new qB("Azure","ReportStringId.Wizard_ReportColorScheme_Azure","255, 57,159,228"),new qB("Coral","ReportStringId.Wizard_ReportColorScheme_Coral","255, 250,128,114"),new qB("Red","ReportStringId.Wizard_ReportColorScheme_Red","255, 196,66,79"),new qB("Raspberry","ReportStringId.Wizard_ReportColorScheme_Raspberry","255, 152,51,91"),new qB("Violet","ReportStringId.Wizard_ReportColorScheme_Violet","255, 113,69,168"),this._customColorScheme]};let e=null;this._scheme(this._lookupData.scheme[0]),this._disposables.push(this._scheme.subscribe((t=>{t===this._customColorScheme?this._disposables.push(e=this._customColorScheme.color.subscribe((()=>{this._onChange()}))):e&&e.dispose(),this._onChange()})))}addColorScheme(e,t,a=this._lookupData.scheme.length){const i=new qB(e,void 0,t);i._isCustom=!0,this._lookupData.scheme.splice(a,0,i)}removeColorScheme(...e){e.forEach((e=>{const t=this._lookupData.scheme.filter((t=>t.name==e||t.displayName==e))[0];t&&this._lookupData.scheme.splice(this._lookupData.scheme.indexOf(t),1)}))}removeAllColorSchemes(){this._lookupData.scheme=[]}setCustomColor(e){this._customColorScheme.editorColor(0===e.indexOf("rgb")?e:Oi.currentMultiPlatformEngine.unwrap((0,L.colorFromString)(e))),this._customColorScheme.applyColor()}_applyScheme(e){this._scheme()&&this._scheme().selected(!1),e.selected(!0),this._scheme(e)}canFinish(){return!0}initialize(e){"Custom"===e.name&&(this._customColorScheme.editorColor(e.baseColor),this._customColorScheme.applyColor());let t=this._lookupData.scheme.filter((t=>t.name===e.name))[0];return t||(t=this._lookupData.scheme[0]),this._scheme(t),t&&t.selected(!0),k.Deferred().resolve().promise()}commit(){const e=this._scheme(),t=e?{name:e._isCustom?"Custom":e.name,baseColor:e.baseColor,_color:A.unwrap(e.color)}:{};return k.Deferred().resolve(t).promise()}}function QB(e,t){t.baseColor=e.baseColor,t.name=e.name,t._color=e._color}function YB(e){e.registerMetadata(jw.ChooseReportColorSchemePage,{create:()=>new KB,getState:e=>e.colorScheme,setState:(e,t)=>{QB(e,t)},resetState:(e,t)=>{QB(t,e)},template:"dxrd-page-colorScheme",description:(0,L.getLocalization)("Choose a report color scheme.","ASPxReportsStringId.ReportDesigner_Wizard_ColorScheme_Description")})}class ZB{static mm2px(e){return(0,B.unitsToPixel)(10*e,"TenthsOfAMillimeter")}static in2px(e){return(0,B.unitsToPixel)(100*e,"HundredthsOfAnInch")}static px2mm(e){return(0,B.pixelToUnits)(e,"TenthsOfAMillimeter",1)/10}static px2in(e){return(0,B.pixelToUnits)(e,"HundredthsOfAnInch",1)/100}static mm2in(e){return e*MB}static in2mm(e){return e/MB}static getConverter(e,t){if(e===t)return e=>e;const a=e=>{switch(e){case SR.Inch:return"in";case SR.Millimeter:return"mm";case SR.Pixel:return"px"}},i=a(e)+"2"+a(t);return ZB[i]}}class eV extends L.Disposable{constructor(e){super(),this.width=A.observable(0),this.height=A.observable(0),this.marginLeft=A.observable(0),this.marginRight=A.observable(0),this.marginTop=A.observable(0),this.marginBottom=A.observable(0),this.pagePreviewElement=A.observable(null),e&&(this.width=e.width,this.height=e.height,this.marginLeft=e.marginLeft,this.marginRight=e.marginRight,this.marginTop=e.marginTop,this.marginBottom=e.marginBottom);const t=A.computed((()=>this.pagePreviewElement()&&this.pagePreviewElement().width()||200)).extend({throttle:100}),a=A.computed((()=>this.pagePreviewElement()&&this.pagePreviewElement().height()||292)).extend({throttle:100}),i=A.computed((()=>Math.min(t()/this.width(),a()/this.height()))),r=()=>{this.pagePreviewElement.valueHasMutated()};window.addEventListener("resize",r),this._disposables.push({dispose:()=>{this.pagePreviewElement(null),window.removeEventListener("resize",r)}},t,a,i,this.previewPageHeight=A.pureComputed((()=>this.height()*i())),this.previewPageWidth=A.pureComputed((()=>Math.round(this.width()*i()))),this.previewTopMargin=A.pureComputed((()=>Math.round(this.marginTop()*i()))),this.previewRightMargin=A.pureComputed((()=>Math.round(this.marginRight()*i()))),this.previewBottomMargin=A.pureComputed((()=>Math.round(this.marginBottom()*i()))),this.previewLeftMargin=A.pureComputed((()=>Math.round(this.marginLeft()*i()))))}cachePagePreviewElement(e){setTimeout((()=>{this.pagePreviewElement(e)}),100)}updatePageSettings(e){this.width(e.width),this.height(e.height),this.marginTop(e.marginTop),this.marginRight(e.marginRight),this.marginBottom(e.marginBottom),this.marginLeft(e.marginLeft)}}class tV extends yN.WizardPageBase{constructor(){super(),this.lookupData={paperKind:of.valuesArray.map((e=>({value:e.value,displayName:(0,L.getLocalization)(e.displayValue,e.localizationId)}))).sort(((e,t)=>"Custom"===e.value?1:"Custom"===t.value?-1:e.displayName.localeCompare(t.displayName))),unit:[{value:SR.Inch,displayName:(0,L.getLocalization)("Inch","AnalyticsCoreStringId.Wizard_Inch")},{value:SR.Millimeter,displayName:(0,L.getLocalization)("Millimeter","AnalyticsCoreStringId.Wizard_Millimeter")},{value:SR.Pixel,displayName:(0,L.getLocalization)("Pixel","ASPxReportsStringId.ReportDesigner_Wizard_Pixel")}]},this.paperKind=A.observable(DR.paperKind),this.landscape=A.observable(DR.landscape),this.width=A.observable(DR.width),this.height=A.observable(DR.height),this._disposables.push(this.fixedSize=A.computed((()=>"Custom"!==this.paperKind()))),this.marginTop=A.observable(DR.marginTop),this.marginRight=A.observable(DR.marginRight),this.marginBottom=A.observable(DR.marginBottom),this.marginLeft=A.observable(DR.marginLeft),this._disposables.push(this.previewPageHelper=new eV({height:this.height,width:this.width,marginTop:this.marginTop,marginRight:this.marginRight,marginBottom:this.marginBottom,marginLeft:this.marginLeft})),this._unit=A.observable(DR.unit),this._disposables.push(this.unit=A.computed({read:()=>this._unit(),write:e=>{const t=ZB.getConverter(this._unit(),e);[this.width,this.height,this.marginTop,this.marginRight,this.marginBottom,this.marginLeft].forEach((e=>{e(t(e()))})),this._unit(e)}})),this._disposables.push(this.paperKind.subscribe((e=>{if("Custom"!==e){const t=ZB.getConverter(SR.Inch,this._unit()),a=(0,B.getPaperSize)(e,0);let i=t(a.width/100),r=t(a.height/100);this.landscape()&&([i,r]=[r,i]),this.width(i),this.height(r)}}))),this._disposables.push(this.landscape.subscribe((e=>{const t=this.height(),a=this.width();this.width(t),this.height(a);let i=this.marginTop(),r=this.marginRight(),o=this.marginBottom(),s=this.marginLeft();[i,r,o,s]=e?[s,i,r,o]:[r,o,s,i],this.marginTop(i),this.marginRight(r),this.marginBottom(o),this.marginLeft(s)}))),this._disposables.push(this.valueFormat=A.pureComputed((()=>{switch(this._unit()){case SR.Inch:return'#0.00 "';case SR.Millimeter:return"#0.0 mm";case SR.Pixel:return"#0 px"}}))),this._disposables.push(...(0,mC.subscribeProperties)([this.paperKind,this.landscape,this.width,this.height,this.marginTop,this.marginLeft,this.marginRight,this.marginBottom,this.unit],(()=>this._onChange())))}canFinish(){return!0}initialize(e){return this.paperKind(e.paperKind),this.landscape(e.landscape),this.unit(e.unit),"Custom"===e.paperKind&&(this.width(e.width),this.height(e.height)),this.marginLeft(e.marginLeft),this.marginRight(e.marginRight),this.marginTop(e.marginTop),this.marginBottom(e.marginBottom),k.Deferred().resolve().promise()}commit(){return k.Deferred().resolve({paperKind:this.paperKind(),unit:this.unit(),width:this.width(),height:this.height(),marginLeft:this.marginLeft(),marginRight:this.marginRight(),marginTop:this.marginTop(),marginBottom:this.marginBottom(),landscape:this.landscape()}).promise()}}function aV(e,t){t.height=e.height,t.landscape=e.landscape,t.marginBottom=e.marginBottom,t.marginLeft=e.marginLeft,t.marginRight=e.marginRight,t.marginTop=e.marginTop,t.paperKind=e.paperKind,t.unit=e.unit,t.width=e.width}function iV(e){e.registerMetadata(jw.ConfigureReportPageSettingsPage,{create:()=>new tV,getState:e=>e.pageSetup,setState:(e,t)=>{aV(e,t)},resetState:(e,t)=>{aV(t,e)},template:"dxrd-page-pageSetup",description:(0,L.getLocalization)("Specify report page settings.","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Description")})}class rV extends yN.WizardPageBase{constructor(){super(...arguments),this._configureReportPageSettingsPage=new tV,this._colorSchemePage=new KB,this._colorSchemePageVisible=!0}dispose(){this._configureReportPageSettingsPage.dispose(),this._colorSchemePage.dispose()}addColorScheme(e,t,a){this._colorSchemePage.addColorScheme(e,t,a)}removeColorScheme(...e){this._colorSchemePage.removeColorScheme(...e)}removeAllColorSchemes(){this._colorSchemePage.removeAllColorSchemes()}setCustomColor(e){this._colorSchemePage.setCustomColor(e)}onChange(e){this._colorSchemePage.onChange(e),this._configureReportPageSettingsPage.onChange(e)}canNext(){return this._colorSchemePage.canNext()&&this._configureReportPageSettingsPage.canNext()}canFinish(){return this._colorSchemePage.canFinish()&&this._configureReportPageSettingsPage.canFinish()}initialize(e){return this._colorSchemePageVisible=this._colorSchemePage._lookupData.scheme.length>0&&!(!e.dataSource&&!e.newDataSource),k.when(this._configureReportPageSettingsPage.initialize(e.pageSetup),this._colorSchemePage.initialize(e.colorScheme))}commit(){const e=k.Deferred();return this._colorSchemePage.commit().done((t=>{this._configureReportPageSettingsPage.commit().done((a=>{e.resolve({pageSetup:a,colorScheme:t})}))})),e.promise()}}function oV(e){e.registerMetadata(jw.ConfigureReportPageSettingsPage,{create:()=>new rV,getState:e=>e,setState:(e,t)=>{aV(e.pageSetup,t.pageSetup),QB(e.colorScheme,t.colorScheme)},resetState:(e,t)=>{aV(t.pageSetup,e.pageSetup),QB(t.colorScheme,e.colorScheme)},template:"dxrd-page-pageSetupAndColorScheme",description:(0,L.getLocalization)("Specify page settings and a report color scheme.","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyPageSettingsColorScheme")})}class sV extends yN.FullscreenWizardPage{constructor(e){super(),this._reportWizardOptions=e}canNext(){return!1}canFinish(){return!0}registerSections(){oV(this._factory),dV(this._factory);let e=this._factory.getMetadata(Jw.ConfigurePageSettingsPage);e.recreate=!1,e.description=(0,L.getLocalization)("Specify page settings and a report color scheme.","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyPageSettingsColorScheme"),e=this._factory.getMetadata(Jw.SpecifyReportTitlePage),e.recreate=!1,e.description=(0,L.getLocalization)("Specify the report title.","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyReportTitle"),this._setSectionPosition(Jw.ConfigurePageSettingsPage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.Right:mC.WizardSectionPosition.Left),this._setSectionPosition(Jw.SpecifyReportTitlePage,this._reportWizardOptions.rtl?mC.WizardSectionPosition.Left:mC.WizardSectionPosition.Right)}getNextSectionId(e){return e?e===Jw.ConfigurePageSettingsPage?Jw.SpecifyReportTitlePage:void 0:Jw.ConfigurePageSettingsPage}}function nV(e,t){e.registerMetadata(qw.SpecifyPageSettingsPage,{getState:e=>e,setState:(e,t)=>{t.colorScheme.baseColor=e.colorScheme.baseColor,t.colorScheme.name=e.colorScheme.name,t.reportTitle=e.reportTitle,aV(e.pageSetup,t.pageSetup)},resetState:(e,t)=>{e.colorScheme.baseColor=t.colorScheme.baseColor,e.colorScheme.name=t.colorScheme.name,e.reportTitle=t.reportTitle,aV(t.pageSetup,e.pageSetup)},create:()=>new sV(t),template:"dx-wizard-fullscreen-page",description:(0,L.getLocalization)("Manage page and color settings.","TODO"),navigationPanelText:(0,L.getLocalization)("Specify Page Settings","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyPageSettings")})}class lV extends yN.WizardPageBase{constructor(){super(),this._foreColor=A.observable("white"),this._masterDetailInfo=A.observableArray(),this.reportTitle=A.observable(""),this._color=A.observable("rgba( 75, 75, 75, 1)"),this._disposables.push(this.reportTitle.subscribe((()=>this._onChange()))),this._disposables.push(this._previewPageHelper=new eV),this._previewPageHelper.updatePageSettings(DR)}_getBrightness(e,t,a){e/=255,t/=255,a/=255;return(Math.max(e,t,a)+Math.min(e,t,a))/2}_fillTables(e){e.forEach((e=>{const t=e.fields.filter((e=>e.checked));t.length>0&&this._masterDetailInfo.push({fields:t.slice(0,4)}),e.relations.length>0&&this._fillTables(e.relations)}))}initialize(e){const t=k.Deferred();if(this._masterDetailInfo([]),e.colorScheme.baseColor){this._color(e.colorScheme._color);const t=e.colorScheme.baseColor.split(",").map((e=>parseInt(e)));this._foreColor(this._getBrightness(t[1],t[2],t[3])>.6?"black":"white")}return this.reportTitle(e.reportTitle?e.reportTitle:""),this._fillTables(e.masterDetailInfoCollection),this._reportTitleVisible=!(!e.dataSource&&!e.newDataSource),this._previewPageHelper.updatePageSettings(e.pageSetup),super.initialize(e.pageSetup).done((()=>{t.resolve()})),t.promise()}commit(){const e=k.Deferred();return e.resolve({reportTitle:this.reportTitle()}),e.promise()}_reportTitlePlaceholder(){return(0,L.getLocalization)("Type title here...","ASPxReportsStringId.ReportDesigner_Wizard_ReportTitle_Placeholder")}}function dV(e){e.registerMetadata(jw.SetReportTitlePage,{create:()=>new lV,getState:e=>e,setState:(e,t)=>{t.reportTitle=e.reportTitle},resetState:(e,t)=>{e.reportTitle=t.reportTitle},template:"dxrd-page-pageSetup-preview",description:(0,L.getLocalization)("Manage page and color settings.","TODO")})}class cV extends yN.SpecifySqlDataSourceSettingsPage{registerSections(){super.registerSections(),[this._factory.getMetadata(Jw.ConfigureMasterDetailRelationshipsPage),this._factory.getMetadata(Jw.ConfigureQueryParametersPage)].forEach((e=>{e.canFinish=()=>!1,e.canNext=e=>e.canNext()||e.canFinish()}))}commit(){const e=k.Deferred();return super.commit().done((t=>{this._dataSourceWizardOptions.callbacks.createSqlDataSourceInfo((0,yN._restoreSqlDataSourceFromState)(t.sqlDataSourceWizard,void 0,t.dataSourceId).sqlDataSource).done((a=>{a.data=Yb(a.data),e.resolve({sqlDataSourceWizard:t,newDataSource:Kw(a)})})).fail(e.reject)})),e.promise()}}function pV(e,t){(0,yN._registerSpecifySqlDataSourceSettingsPage)(e,t),HR(e,yN.FullscreenDataSourceWizardPageId.SpecifySqlDataSourceSettingsPage,(()=>new cV(t)))}class uV{static applyDataBindings(e,t){const a=t.dataSource(),i=a&&a.dataSourceInfo;e.dataSource=i&&Kw(i),e.dataMember=t.dataMember()||"",e.dataMember&&(e.dataMemberInfo={name:t.dataMember(),displayName:void 0},e.dataMemberPath=t.dataMember())}static applyPageSetup(e,t){let a,i=[t.pageWidth(),t.pageHeight(),t.margins.left(),t.margins.right(),t.margins.top(),t.margins.bottom()];switch(t.measureUnit()){case"HundredthsOfAnInch":i=i.map((e=>e/100)),a=SR.Inch;break;case"TenthsOfAMillimeter":i=i.map((e=>e/10)),a=SR.Millimeter;break;case"Pixels":a=SR.Pixel}e.pageSetup={paperKind:t.paperKind(),unit:a,width:i[0],height:i[1],marginLeft:i[2],marginRight:i[3],marginTop:i[4],marginBottom:i[5],landscape:t.landscape()}}}function mV(e){const t=(0,B.extend)(!0,{},_R,(0,yN._createDefaultDataSourceWizardState)());return e&&(uV.applyDataBindings(t,e),uV.applyPageSetup(t,e)),t}class hV extends yN.FullscreenWizard{constructor(e,t){super(e,t.callbacks.finishCallback),this._reportWizardOptions=t,this._requestModelType=wR,this._availableDataSources=A.observable([]),this._extendCssClass="dxrd-master-detail-report-wizard "+this._extendCssClass}_callBeforeFinishHandler(e,t){}_callAfterFinishHandler(e,t){this.events.call("afterFinish",{state:e,wizardResult:t})}_description(){return(0,L.getLocalization)("Report Wizard","ASPxReportsStringId.ReportDesigner_Wizard_Header")}initialize(e=mV()){1!==this._reportWizardOptions.dataSources().length||this._reportWizardOptions.canCreateDataSource||(e.dataSource=Kw(this._reportWizardOptions.dataSources()[0])),this._reportWizardOptions.sqlDataSourceAvailable||!(0,B.isEmptyObject)(e.sqlDataSourceWizard)?e.dataSourceType=yN.DataSourceType.Sql:this._reportWizardOptions.jsonDataSourceAvailable||e.jsonDataSourceWizard.jsonSource?e.dataSourceType=yN.DataSourceType.Json:this._reportWizardOptions.objectDataSourceAvailable||!(0,B.isEmptyObject)(e.objectDataSourceWizard)?e.dataSourceType=yN.DataSourceType.Object:e.dataSourceType=yN.DataSourceType.NoData,super.initialize(e,((e,t)=>new gV(e,t,(e=>this._onResetPage(e)),this._reportWizardOptions)))}}class gV extends yN.PageIterator{constructor(e,t,a,i){super(e,t,a),this._reportWizardOptions=i}getNextPageId(e){const t=()=>this._getCurrentState().reportType===bR.CrossTab?qw.DefineCrossTabPage:qw.DefineReportLayoutPage;return e?e===qw.SelectReportTypePage&&this._getCurrentState().reportType===bR.Label?qw.SpecifyLabelSettingsPage:e===qw.SelectReportTypePage&&this._getCurrentState().dataSource&&!this._reportWizardOptions.canCreateDataSource?t():e===qw.SelectReportTypePage?qw.SelectDataSourcePage:e===qw.SelectDataSourcePage&&this._getCurrentState().dataSource?t():e===qw.SelectDataSourcePage&&this._getCurrentState().dataSourceType===yN.DataSourceType.Json?yN.FullscreenDataSourceWizardPageId.SpecifyJsonDataSourceSettingsPage:e===qw.SelectDataSourcePage&&this._getCurrentState().dataSourceType===yN.DataSourceType.Sql?yN.FullscreenDataSourceWizardPageId.SpecifySqlDataSourceSettingsPage:e===qw.SelectDataSourcePage&&this._getCurrentState().dataSourceType===yN.DataSourceType.Object?yN.FullscreenDataSourceWizardPageId.SpecifyObjectDataSourceSettingsPage:e===qw.SelectDataSourcePage&&this._getCurrentState().dataSourceType===yN.DataSourceType.Federation?yN.FullscreenDataSourceWizardPageId.SpecifyFederationDataSourceSettingsPage:e===qw.SelectDataSourcePage&&this._getCurrentState().dataSourceType===yN.DataSourceType.NoData?qw.SpecifyPageSettingsPage:e===yN.FullscreenDataSourceWizardPageId.SpecifySqlDataSourceSettingsPage||e===yN.FullscreenDataSourceWizardPageId.SpecifyJsonDataSourceSettingsPage||e===yN.FullscreenDataSourceWizardPageId.SpecifyObjectDataSourceSettingsPage||e===yN.FullscreenDataSourceWizardPageId.SpecifyFederationDataSourceSettingsPage?t():e===qw.DefineReportLayoutPage||e===qw.DefineCrossTabPage?qw.SpecifyPageSettingsPage:void 0:qw.SelectReportTypePage}}function xV(e,t){kR(e,{canCreateDatabound:()=>t.dataSources().length>0||t.connectionStrings.sql().length>0||t.connectionStrings.json().length>0||t.wizardSettings.enableObjectDataSource||t.allowCreateNewJsonConnection&&t.wizardSettings.enableJsonDataSource,showVertical:!0,reportTemplates:t.reportTemplates,searchBoxVisibilityMode:t.searchBoxVisibilityMode}),DB(e,t),pV(e,t),VB(e,t),jB(e,t),PB(e,t),fB(e,t),SB(e,t),HB(e,t),nV(e,t)}function vV(e){const t=new yN.FullscreenWizardPageFactory;return xV(t,e),new hV(t,e)}class fV{beforeItemsFilled(e,t){if("PivotGrid"!==e.ref&&"PivotGrid"!==e.id)return!1;switch(e.path){case"dataMember":return!0;case"seriesDataMember":return t.push({name:"Arguments",displayName:"Arguments",specifics:"String"},{name:"Series",displayName:(0,L.getLocalization)("Series","DevExpress.XtraReports.UI.XRChart.Series"),specifics:"String"},{name:"Values",displayName:(0,L.getLocalization)("Values","DevExpress.XtraCharts.SeriesPoint.Values"),specifics:"Integer"}),!0;case"valueDataMembers":return t.push({name:"Values",displayName:(0,L.getLocalization)("Values","DevExpress.XtraCharts.SeriesPoint.Values"),specifics:"Integer"}),!0}}}class bV extends B.DesignControlsHelper{constructor(e,t){super(e,[{added:e=>{e instanceof rI&&(e.signatureOptions.displayDocumentSignature(!this._xrPdfSignatureCollection.some((e=>e.signatureOptions.displayDocumentSignature()))),this._xrPdfSignatureCollection.push(e),e.subscribeSignature((()=>this._xrPdfSignatureCollection)))},deleted:e=>{if(e instanceof rI){const t=this._xrPdfSignatureCollection.indexOf(e);-1!==t&&this._xrPdfSignatureCollection.splice(t,1)}e.surface===t.focused()&&t.focused(e.surface.findNextSelection())}}],["controls","bands","crossBandControls","rows","cells","fields","styles","parameters","formattingRuleSheet","calculatedFields","components","watermarks"])}dispose(){this._xrPdfSignatureCollection=[],super.dispose()}getNameProperty(e){return e instanceof ry?e.parameterName:e instanceof pb?e.calculatedFieldName:e instanceof Qx?e.watermarkId:super.getNameProperty(e)}_setName(e){e!==this.target&&super._setName(e)}_setDefaultText(e){"XRCrossTabCell"!==(e.controlType||"Unknown")&&super._setDefaultText(e)}_getNamePrefix(e){return"XRCrossTabCell"===(e.controlType||"Unknown")?e.namePrefix:super._getNamePrefix(e)}processCollection(e){const t=e.filter((e=>e instanceof rI));t.forEach((e=>e.subscribeSignature((()=>this._xrPdfSignatureCollection)))),this._xrPdfSignatureCollection||(this._xrPdfSignatureCollection=[]),this._xrPdfSignatureCollection=[].concat(this._xrPdfSignatureCollection,t)}}class yV extends L.Disposable{constructor(e){super(),this._report=e,this.errors=A.observableArray([])}collectErrors(){return(0,B.ajax)(Wp(),"getDesignErrors",encodeURIComponent(JSON.stringify({XtraReportsLayoutSerializer:this._report.serialize()}))).done((e=>{this.errors(e)}))}}class SV{constructor(){this.errors=A.observableArray()}collectErrors(){}}class CV extends L.Disposable{constructor(e,t,a){super(),this._calculatedFieldsInfo={},this._ordinaryFieldsInfo={},this._fieldsDataMembersInfo={},this.addAction={clickAction:e=>this.addCalculatedField(e.path),imageClassName:"dxrd-image-add-calcfield",imageTemplateName:"dxrd-svg-operations-add_calcfield",text:"Add calculated field",displayText:()=>(0,L.getLocalization)("Add calculated field","ASPxReportsStringId.ReportDesigner_FieldListActions_AddCalculatedField")},this.removeAction={clickAction:e=>{this.removeCalculatedField(e.path)},position:50,imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",text:"Remove calculated field",displayText:()=>(0,L.getLocalization)("Remove calculated field","ASPxReportsStringId.ReportDesigner_FieldListActions_RemoveCalculatedField")},this._calculatedFieldsInfo={},this._calculatedFields=e,this._dataSourceHelper=A.observable(a),this._reportDataSource=t;for(let t=0;t<e().length;t++)this._initializeCalculatedField(e()[t]);const i=this;this._disposables.push(this._calculatedFields.subscribe((function(e){for(let t=0;t<e.length;t++)if("added"===e[t].status)i._initializeCalculatedField(e[t].value);else if("deleted"===e[t].status){const a=i._getFieldPathRequest(e[t].value).fullPath;i._getDataMembersInfoByPath(a).remove((function(a){return e[t].value.name===a.name})),e[t].value.dispose()}}),null,"arrayChange")),this._disposables.push(this._reportDataSource.subscribe((t=>{for(let t=0;t<e().length;t++)e()[t].dataSource()||this._updateFieldPathRequest(e()[t])}))),this.addCalculatedField=t=>{const a=new L.PathRequest(t),i=this.createCalculatedField(a.path),r=this._dataSourceHelper().findDataSourceInfoByID(a.id)||this._dataSourceHelper().findDataSourceInfoByRef(a.ref);return i.dataSource(r.data),e.push(i),i},this.removeCalculatedField=t=>{const a=new L.PathRequest(t);e.remove((function(e){const t=e.dataMember()?e.dataMember()+"."+e.name:e.name;return a.path===t}))}}dispose(){super.dispose(),Object.keys(this._calculatedFieldsInfo).forEach((e=>{this.disposeObservableArray(this._calculatedFieldsInfo[e]),this.resetObservableArray(this._calculatedFieldsInfo[e]),delete this._calculatedFieldsInfo[e]})),this.disposeObservableArray(this._calculatedFields),this.resetObservableArray(this._calculatedFields),this._dataSourceHelper(null),this._reportDataSource=null,this._fieldsDataMembersInfo=null,this._fieldsCallback=null}_getDataMembersInfoByPath(e){return this._calculatedFieldsInfo[e]=this._calculatedFieldsInfo[e]||A.observableArray(),this._calculatedFieldsInfo[e]}_subscribeFieldProperties(e){e._disposables.push(e.dataMember.subscribe((t=>{this._getDataMembersInfoByPath(e.pathRequest.fullPath).remove(e),e.pathRequest=new L.PathRequest((0,B.getFullPath)(e.pathRequest.id||e.pathRequest.ref,t)),this._getDataMembersInfoByPath(e.pathRequest.fullPath).push(e)}))),e._disposables.push(e.dataSource.subscribe((t=>{this._updateFieldPathRequest(e)}))),e._disposables.push(e.calculatedFieldName.subscribe((t=>{this._getDataMembersInfoByPath(e.pathRequest.fullPath).notifySubscribers()})))}_getFieldPathRequest(e){const t=this._dataSourceHelper().findDataSourceInfo(e.dataSource()||this._reportDataSource());return t?new L.PathRequest((0,B.getFullPath)(t.id||t.ref,e.dataMember())):new L.PathRequest("none")}_updateFieldPathRequest(e){this._getDataMembersInfoByPath(e.pathRequest.fullPath).remove(e),e.pathRequest=this._getFieldPathRequest(e),"none"!==e.pathRequest.ref&&this._getDataMembersInfoByPath(e.pathRequest.fullPath).push(e)}_initializeCalculatedField(e){const t=this._getFieldPathRequest(e);e.getPath=t=>{const a=this._dataSourceHelper().findDataSourceInfo(e.dataSource()||this._reportDataSource());return a&&(a.id||a.ref)},e._disposables.push(e.calcExpressionObj=new Xb({value:e.expression,path:A.pureComputed((()=>this._getFieldPathRequest(e).fullPath)),fieldName:e.calculatedFieldName,functions:fh.filter((e=>"Summary"!=e.category))})),e._disposables.push(e.calcExpressionObj.path),e.nameEditable=A.pureComputed({read:function(){return e.calculatedFieldName()},write:function(t){const a=this._ordinaryFieldsInfo[e.pathRequest.fullPath];t&&null===(0,B.getFirstItemByPropertyValue)(this._calculatedFields(),"name",t)&&null===(0,B.getFirstItemByPropertyValue)(a||[],"displayName",t)&&e.calculatedFieldName(t)},owner:this}),e._disposables.push(e.nameEditable),e.pathRequest=t,e.propertyGrid=new K.ObjectProperties(A.observable(e)),e._disposables.push(e.propertyGrid),this._subscribeFieldProperties(e),this._getDataMembersInfoByPath(t.fullPath).push(e)}_generateNewFieldName(){let e,t=1;do{e="calculatedField"+t++}while(null!==(0,B.getFirstItemByPropertyValue)(this._calculatedFields(),"name",e));return e}createCalculatedField(e){return new pb({"@Name":this._generateNewFieldName(),"@DataMember":e})}getActions(e){const t=[];return e.hasItems&&e.data&&("List"===e.data.specifics||"ListSource"===e.data.specifics)&&0!==e.path.indexOf(ry.ParametersRefString)&&t.push(this.addAction),e.data&&e.data.specifics&&0===e.data.specifics.indexOf("calc")&&t.push(this.removeAction),t}beforeItemsFilled(e,t){return e.fullPath&&t.push.apply(t,this._getDataMembersInfoByPath(e.fullPath)()),!1}afterItemsFilled(e,t){e.fullPath&&(this._ordinaryFieldsInfo[e.fullPath]=t,t.sort(((e,t)=>{const a=JE.isList(e)?1:0,i=JE.isList(t)?1:0;return a!==i?i-a:e.displayName&&t.displayName?e.displayName.localeCompare(t.displayName):e.name.localeCompare(t.name)})))}}class DV{constructor(e,t){this._renameCallback=t,this._dataSources=e}beforeItemsFilled(e,t){return!1}afterItemsFilled(e,t){if(this._dataSources&&this._dataSources.peek())if(e.fullPath){if(e.fullPath===e.id||e.fullPath===e.ref){const a=this._dataSources.peek().filter((t=>!!t.id&&t.id===e.id||!!t.ref&&t.ref===e.ref))[0];if(!a||!a.isSqlDataSource&&!a.isFederationDataSource)return;t.forEach((e=>{e.canEditQuery=a.isSqlDataSource&&e.isList,e.canEditFederatedQuery=a.isFederationDataSource&&e.isList}))}}else this._dataSources.peek().forEach((e=>{const a=(0,B.getFirstItemByPropertyValue)(t,"displayName",e.name);a&&e.data&&(e.data.tableInfoCollection?(a.contenttemplate="dxrd-datasource-item",a.tableInfoItems=e.data.tableInfoCollection):e.isSqlDataSource?(a.canAddSqlQuery=!0,a.isSqlDataSource=!0):e.isFederationDataSource?(a.canAddFederatedQuery=!0,a.isFederationDataSource=!0):e.isJsonDataSource?a.isJsonDataSource=!0:e.isObjectDataSource&&(a.isObjectDataSource=!0,a.hasParams=e.hasParams),a.canRemove=!0,a.rename=t=>this._renameCallback(t,e))}))}}class _V extends L.Disposable{constructor(e,t){super(),this._rootItems={ReportItems:(e,t)=>this.getReportElementsByPath(t,e.split("."))},this.getItems=(a,i)=>{let r;if(i=k.extend({},this._rootItems,i),Object.keys(i).some((e=>{const t={propertyName:e,getItems:i[e]};return r=this._tryGenerateGetItemsFunc(t,a.path)||this._tryGenerateGetItemsFunc(t,a.fullPath),!!r})),r){const t=k.Deferred(),a=r(e);return a&&t.resolve(a)||t.reject(),t.promise()}if("Root"===a.fullPath){const e=k.Deferred(),t=Object.keys(i).map((e=>Ob(e)));return e.resolve(t),e.promise()}return t.getItems(a)},this.getItemByPath=(e,t)=>{const a=e.fullPath.split("."),i=a.pop();return this._getItemByPath(a,t,i)}}_getControlByName(e,t){return"Report"===t?e.allControls().filter((e=>e instanceof Ly))[0]:e.allControls().filter((a=>e.getNameProperty(a)()===t))[0]}_getProperties(e,t){return e.filter((e=>e.modelName==="@"+t||e.modelName===t))[0]}_tryGenerateGetItemsFunc(e,t){if(0===t.indexOf(e.propertyName))return a=>e.getItems(t,a)}getReportElementsByPath(e,t){if(1===t.length)return e.allControls().map((t=>Ob(t instanceof Ly?"Report":e.getNameProperty(t)())));t=t.slice(1);const a=this._getControlByName(e,t[0]);if(!a)return null;let i=a.getInfo();const r=t.slice(1);for(let e=0;e<r.length;e++)i=this._getProperties(i,r[e]),i=i&&i.info;return i?i.filter((e=>!!e.modelName&&!e.array)).map((e=>Ob(0===e.modelName.indexOf("@")?e.modelName.slice(1):e.modelName,e.info?"list":"string"))):null}_getItemByPath(e,t,a){const i=k.Deferred();let r=a;if(0===e.length)return i.reject().promise();const o=new L.PathRequest(e.join("."));return this.getItems(o,t).done((a=>{const o=1===e.length&&"Parameters"===e[0];if(!o&&0===a.length)return r=[e.pop(),r].join("."),this._getItemByPath(e,t,r).done((e=>i.resolve(e))).fail((()=>i.reject()));const s=a.filter((e=>e.name===r))[0];s?s instanceof pb&&e.length>1?(r=e.pop(),this._getItemByPath(e,t,r).done((()=>i.resolve(s))).fail((()=>i.reject()))):o&&s.isList?i.reject():i.resolve(s):o?(a.forEach((e=>{e.isList&&this._getItemByPath(["Parameters",e.name],t,r).done((e=>i.resolve(e)))})),"resolved"!==i.state()&&i.reject()):i.reject()})).fail((()=>i.reject())),i.promise()}}class IV{constructor(e,t,a){this._fieldsProvider=e,this._dataSourceHelper=t,this._rootDS=a,this._requests={},this._fieldsProvider=e,this._dataSourceHelper=t,this._rootDS=a}_getRequest(e){if(!this._requests[e]){const t=new L.PathRequest(e);this._requests[e]=A.pureComputed((()=>this._fieldsProvider.getItems(t)))}return this._requests[e]}_ignoreDisplayNameRequest(e){return 0===e.indexOf("ReportItems")}_getDisplayNameRequest(e,t){const a=k.Deferred();return this._getRequest(e)().done((e=>{const i=this._getFieldDisplayName(e,t);i?a.resolve(i):a.reject()})).fail((()=>{a.reject()})),a.promise()}_createRequestInfo(e,t,a,i,r){if(!a)return null;let o=null;if(!t){const a=e||this._rootDS(),i=a&&this._dataSourceHelper.findDataSourceInfo(a);if(!i)return null;t=i.ref||i.id,r&&(o=i.name)}const s=(0,B.getFullPath)(t,i);return{fullPath:s+"."+a,offset:s,dataMember:a,dataMemberParts:a.split("."),dataSourceName:o}}_getFieldDisplayName(e,t){if(!e)return null;const a=(0,B.findFirstItemMatchesCondition)(e,(e=>e.name===t));return a?a.displayName:null}_getDisplayName(e){const t=k.Deferred();if(!e)return t.reject(),t.promise();const a=[];for(let t=-1,i=e.offset;t<e.dataMemberParts.length-1;)a.push(this._getDisplayNameRequest(i,e.dataMemberParts[t+1])),i+="."+e.dataMemberParts[++t];return k.when.apply(k,a).done((function(){let a=e.dataSourceName?e.dataSourceName+" - ":"";for(let e=0;e<arguments.length;e++)a+=arguments[e],e<arguments.length-1&&(a+=".");t.resolve(a)})).fail((()=>t.reject())),t.promise()}_getRealName(e){return e?this._getRealNameRequest(e.offset,e.dataMember):k.Deferred().reject().promise()}_getRealNameRequest(e,t){const a=k.Deferred();return this._getRequest(e)().done((i=>{let r=i.filter((e=>t===e.displayName))[0];r||(r=i.filter((e=>0===t.indexOf(e.displayName+".")&&e.isList))[0]),r?t===r.displayName?a.resolve(r.name):this._getRealNameRequest(e+"."+r.name,t.substring(r.displayName.length+1)).done((e=>{a.resolve(r.name+"."+e)})).fail((()=>{a.reject()})):a.reject()})).fail((()=>{a.reject()})),a.promise()}getDisplayName(e,t,a="",i=!0){const r=this._createRequestInfo(e,null,t,a,i);return this._getDisplayName(r)}getDisplayNameByPath(e,t){return this._ignoreDisplayNameRequest(t)?k.Deferred().resolve(t).promise():this._getByPath(e,t,(e=>this._getDisplayName(e)))}getRealName(e,t){return this._getByPath(e,t,(e=>this._getRealName(e)))}_getByPath(e,t,a){e=e||"";let i=this._createRequestInfo(null,e,t,"",!1);const r=e.split(".");if(1===r.length)return a(i);{const e=k.Deferred();return a(i).done((t=>{e.resolve(t)})).fail((o=>{i=this._createRequestInfo(null,r[0],t,"",!1),a(i).done((t=>{e.resolve(t)})).fail((t=>e.reject()))})),e.promise()}}dispose(){Object.keys(this._requests).forEach((e=>{this._requests[e].dispose(),delete this._requests[e]}))}}class PV extends L.Disposable{constructor(e){super(),this._watermarks=e}createWatermark(){return new Qx({"@Id":(0,B.getUniqueNameForNamedObjectsArray)(this._watermarks(),"watermark")})}getActions(e){return[]}}class TV extends L.Disposable{constructor(e){var t;super(),this.report=e.report||new Ly(e.data),this.url=A.isObservable(e.url)?e.url:A.observable(e.url),e.dataSourceRefs&&(this.report.dataSourceRefs=e.dataSourceRefs);const a=(null===(t=e.knownEnums)||void 0===t?void 0:t.length)?e.knownEnums:e.report.knownEnums;this.report.parameterHelper.initialize(a,e.designerCallbacks);const i=e.selection,r=e.initializeOptions,o=e.designerCallbacks;this.surface=new $y(this.report),this.watermarks=new PV(this.report.watermarks),this.parameters=new cw(this.report),this.dataSourceHelper=new UN(this.report.objectStorage,this.report.dataSourceRefs,r.availableDataSources),this.report.dataSourceHelper(this.dataSourceHelper),this.fieldListDataSourceHelper=new ZE,this.fieldListDataSourceHelper.updateDataSources(this.dataSourceHelper,this.report,this.parameters.parameters),this.calcFieldsSource=new CV(this.report.calculatedFields,this.report.dataSource,this.dataSourceHelper);const s=A.observableArray(this._getChartAvailableSources(this.dataSourceHelper,this.report.dataSource(),this.parameters)),n=this.report.dataSource.subscribe((e=>{s(this._getChartAvailableSources(this.dataSourceHelper,e,this.parameters))}));this._disposables.push({dispose:()=>{s([]),n.dispose()}});const l=new DV(this.dataSourceHelper.usedDataSources,((e,t)=>{this.report.components().filter((e=>e.data===t.data))[0].name(e)})),d=new fV;this.state=()=>(this.report&&this.report.extensions.peek()||[]).length>0?{reportExtensions:this.report.extensions().map((e=>({Key:e.key(),Value:e.value()})))}:r.state,this.fieldListItemsExtenders=[this.parameters,l,this.calcFieldsSource,d],this.controlsHelper=new bV(this.report,i),this.stylesHelper=new rv(this.report,this.controlsHelper),this.report.stylesHelper(this.stylesHelper);const c=this.fieldListDataSourceHelper.wrapFieldsCallback(o.fieldLists,this.state);this.fieldListProvider=new B.FieldListProvider(c,this.fieldListDataSourceHelper.fieldListDataSources,this.fieldListItemsExtenders),this.reportItemsProvider=new _V(this.controlsHelper,this.fieldListProvider),this.dataBindingsProvider=new B.FieldListProvider(c,this.fieldListDataSourceHelper.fieldListDataSources,[this.parameters,this.calcFieldsSource,d]),this.report.dataBindingsProvider(this.dataBindingsProvider),this.chartValueBindingProvider=new B.FieldListProvider(c,s,[this.parameters,this.calcFieldsSource]),this.displayNameProvider=new IV(this.fieldListProvider,this.fieldListDataSourceHelper.dataSourceHelper(),this.report.dataSource),this.expressionDisplayNameProvider=new IV(this.reportItemsProvider,this.fieldListDataSourceHelper.dataSourceHelper(),this.report.dataSource),this.reportErrorProvider=new yV(this.report),this.runtimeErrorProvider=new SV,this._disposables.push(this.report),this._disposables.push(this.surface),this._disposables.push(this.displayNameProvider),this._disposables.push(this.expressionDisplayNameProvider),this._disposables.push(this.dataSourceHelper),this._disposables.push(this.fieldListDataSourceHelper),this._disposables.push(this.calcFieldsSource),this._disposables.push(this.watermarks),this._disposables.push(this.parameters),this._disposables.push(this.controlsHelper),this._disposables.push(this.reportItemsProvider),this._disposables.push(this.stylesHelper),this._disposables.push(this.reportErrorProvider)}_getChartAvailableSources(e,t,a){return[t&&e.findDataSourceInfo(t),{ref:"Parameters",name:"Parameters",specifics:"parameters",data:a},{ref:"none",name:"none",specifics:"none",data:null}].filter((e=>e))}getInfo(){return[{propertyName:"report",modelName:"@Report"}]}isModelReady(){return this.report&&this.report.isModelReady()}dispose(){super.dispose(),this.report=null,this.url=null,this.surface=null,this.watermarks=null,this.parameters=null,this.dataSourceHelper=null,this.fieldListDataSourceHelper=null,this.calcFieldsSource=null,this.fieldListItemsExtenders=[],this.controlsHelper=null,this.fieldListProvider=null,this.reportItemsProvider=null,this.dataBindingsProvider=null,this.chartValueBindingProvider=null,this.displayNameProvider=null,this.expressionDisplayNameProvider=null,this.stylesHelper=null,this.dataBindingsProvider=null}}class zV extends L.Disposable{constructor(e){super(),this._isReportLoading=e.isReportLoading,this._callbacks=e.callbacks,this.context=A.observable(this._callbacks.createContext(e.report,e.url)),this._disposables.push(this.displayName=A.computed((()=>this._generateDisplayName(this.context().report)))),this._disposables.push(this.undoEngine=new L.UndoEngine(this.context,["surface","reportSource"],"getInfo",["objectStorage"])),this.isDirty=this.undoEngine.isDirty,this.isModified=this.undoEngine.isDirty,this._disposables.push(this.report=this._createReport()),this._disposables.push(this.url=this._createReportUrl()),this._callbacks.afterInititalize(this)}dispose(){super.dispose(),this.undoEngine._callDisposeFunction(this.context()),this.context().dispose()}_generateDisplayName(e){return e&&(e.displayNameObject()||e.name())}_createReport(){return A.computed({read:()=>this.context().report,write:e=>this.changeContext(e,this.context().url())})}_createReportUrl(){return A.computed({read:()=>this.context().url(),write:e=>this.context().url(e)})}changeContext(e,t){this.context(this._callbacks.createContext(e,t)),this._isReportLoading(!1)}resetIsModified(){this.undoEngine.isDirty(!1),this.undoEngine.clearHistory()}refresh(e){this._isReportLoading(!0),SP.getReportByUrl(this.context().url()).done((t=>{this.report(t),e&&this.resetIsModified()}))}}class NV extends L.Disposable{constructor(e){super(),this._isReportLoading=A.observable(!1),this.save=e=>{},this.height=A.observable(0),this.tabs=A.observableArray([]),this._selectedIndex=A.observable(-1),this.selectedIndex=A.computed({read:()=>this._selectedIndex(),write:e=>{-1!=e&&this._selectedIndex(e)}}),this.allowMDI=null==e.allowMDI||e.allowMDI,this.knownEnums=e.knownEnums,this._callbacks=e.callbacks||{},this._selection=e.selection,this._initializeOptions=e.initOptions;let t=null;this._disposables.push(this.selectedIndex),this._disposables.push(this.currentTab=A.pureComputed((()=>{if(-1!==this.selectedIndex()){const e=t;return t=this.tabs.peek()[this.selectedIndex()],t!==e&&this._isReportLoading(!0),t}return null}))),e.report&&this.addTab(e.report,e.reportUrl||A.observable(null)),this._disposables.push(this.currentTab.subscribe((e=>{setTimeout((()=>{this._isReportLoading(!1),this.height.notifySubscribers(),this.checkHeight(),this._callbacks.tabChanged&&this._callbacks.tabChanged(e)}),1)})))}_removeTab(e){const t=k.Deferred();return this._callbacks.reportTabClosing&&this._callbacks.reportTabClosing(e,t)||t.resolve(),t.done((()=>{const t=this._selectedIndex(),a=this.tabs().indexOf(e),i=t<a||t===a&&t<this.tabs().length-1?t:t-1;this.tabs.remove(e),this._selectedIndex(i),i===t&&this.selectedIndex.notifySubscribers(),this._callbacks.reportTabClosed&&this._callbacks.reportTabClosed(e),e.dispose()})),t.promise()}dispose(){super.dispose(),this._selectedIndex(-1),this.disposeObservableArray(this.tabs),this.resetObservableArray(this.tabs)}_closeTab(e){const t=k.Deferred();return e.close=t,e.isDirty()?this.save(e):t.resolve(),t.promise()}_closeAll(e){if(0===this.tabs().length)return void e.resolve();const t=this.tabs()[this.tabs().length-1];this._closeTab(t).done((()=>{this._removeTab(t).done((()=>this._closeAll(e))).fail((()=>e.reject()))}))}_getTabByControl(e,t){return this.tabs().filter((a=>t?a.context().url()===t:a.context().report===e))[0]}_addTab(e,t,a){const i=new zV({report:e,url:t,isReportLoading:this._isReportLoading,callbacks:{afterInititalize:e=>{e._disposables.push(e.displayName.subscribe((()=>this.checkHeight()))),e.icon=this.allowMDI||0!==this.tabs().length?"dx-icon-close":void 0,a?(a=(0,B.getUniqueName)(this.tabs().map((e=>e.displayName())),a,!1),e.context().report.displayNameObject(a),e.undoEngine.clearHistory()):e.displayName()||(e.context().report.name((0,B.getUniqueName)(this.tabs().map((e=>e.displayName())),"Report")),e.undoEngine.clearHistory()),e._disposables.push(e.context.subscribe((()=>this.height.notifySubscribers())))},createContext:(e,t)=>new TV({report:e,selection:this._selection,designerCallbacks:this._callbacks,knownEnums:e.knownEnums,initializeOptions:this._initializeOptions,url:t})}});this.tabs.push(i),this.switch(i),i.undoEngine.clearHistory()}changeContext(e,t){this.currentTab()?this.currentTab().changeContext(e,A.unwrap(t||this.currentTab().url)):this.addTab(e,t)}init(e){this._isReportLoading=e}removeTab(e,t=!1){if(t)return this._removeTab(e);this._closeTab(e).done((()=>{this._removeTab(e)}))}closeAll(){const e=k.Deferred();return this._closeAll(e),e.promise()}switch(e){this._selectedIndex(this.tabs().indexOf(e))}_createNewTab(e,t=A.observable(""),a){this._addTab(e,t,a);const i=this._callbacks.reportOpened;i&&setTimeout((()=>{i&&i({report:e,url:A.unwrap(t)})}),10)}goToSubreport(e){if(Li()){const t=e.getControlModel();let a=null;t.reportSourceUrl()||(a=t.cloneReportSource()),this.addTab(a,t.reportSourceUrl)}}addTab(e,t=A.observable(""),a=(()=>{}),i){const r=k.Deferred(),o=this._getTabByControl(e,t());if(o)r.resolve(),this.switch(o);else{if((e=>void(this._callbacks.reportOpening&&this._callbacks.reportOpening(e))||e)({url:t(),cancel:!1}).cancel)return a(),r.reject().promise();t()&&!e?SP.getReportByUrl(t()).done((e=>{r.resolve(),this._createNewTab(e,t,i)})).fail((()=>r.reject())):(r.resolve(),this._createNewTab(e,t,i))}return r.promise()}checkHeight(){const e=k.fn.constructor(".dxrd-navigation-panel-wrapper").outerHeight();this.height()!==e&&this.height(e)}}class EV extends L.Disposable{constructor(e,t){super(),this.reportElement=e,this._expressionEditor=t,this.imageTemplateName="dxrd-svg-properties-propertyexpression",this.visible=A.observable(!0)}onClick(){const e=new pv(A.observable(this.reportElement),A.observable(null));this._expressionEditor(e),this._expressionEditor().popupVisible(!0),this.subscription=e.popupVisible.subscribe((t=>{t||setTimeout((()=>{e.dispose(),this._expressionEditor(null),this.subscription.dispose()}),10)}))}dispose(){var e,t;null===(e=this._expressionEditor())||void 0===e||e.dispose(),this._expressionEditor(null),null===(t=this.subscription)||void 0===t||t.dispose()}}class wV extends L.Disposable{constructor(e,t){super(),this.reportElement=e,this.popularProperties=t,this._booleanEditors=A.observableArray([]),this._nonBooleanEditors=A.observableArray([]),this.visible=A.observable(!0),this.popoverVisible=A.observable(!1),this.imageTemplateName="dxrd-svg-properties-tasksmarttag",this.templateName="dxrd-smart-tag",this.editorsAvailableSubscriptions=[],this.getPopupContainer=B.getParentContainer,this.separatorVisible=A.observable(!1);const a=()=>{const e=e=>e._get("visible"),t=this._booleanEditors().some(e),a=this._nonBooleanEditors().some(e);this.visible(t||a),this.separatorVisible(t&&a)},i=()=>{var e,t,i;const r=null===(t=this.getPopularPropertyNames(null===(e=this.reportElement)||void 0===e?void 0:e.controlType))||void 0===t?void 0:t.popularProperties,o=[],s=[],n=null===(i=this.popularProperties)||void 0===i?void 0:i.getEditors();n&&n.forEach((e=>{const t=e=>{e.forEach((e=>{this.editorsAvailableSubscriptions.push(e.subscribeProperty("visible",(()=>{a()}))),e instanceof K.BooleanEditor?o.push(e):s.push(e)}))};if(e.isComplexEditor){const a=this.collectEditorsFromComplex(e,r,[],e._get("displayName"));a.length&&t(a)}else t([e])})),this._booleanEditors(o),this._nonBooleanEditors(s)};i(),a();const r=()=>{this.editorsAvailableSubscriptions.forEach((e=>e())),this.editorsAvailableSubscriptions=[]};this.addDisposable({dispose:r}),this.addDisposable(this.popularProperties.subscribeProperty("_editors",(e=>{r(),i(),a()})))}collectEditorsFromComplex(e,t,a=[],i){var r;const o=e=>{t&&t.length&&t.some((t=>t===e.name))&&!e.templateName.toLowerCase().includes("header")&&(e._get("displayName")!==i&&(e.parentName=" ("+i+")"),a.push(e))};o(e);const s=null===(r=e.viewmodel)||void 0===r?void 0:r.editors;return s&&s.length&&s.forEach((e=>{e.isComplexEditor&&this.collectEditorsFromComplex(e,t,a,i&&i.length?i+" > "+e._get("displayName"):e._get("displayName")),o(e)})),a}getPopularPropertyNames(e){var t,a;return null===(a=null===(t=this.reportElement.root)||void 0===t?void 0:t.getControlFactory())||void 0===a?void 0:a.getControlInfo(e)}onClick(){this.popoverVisible(!this.popoverVisible())}getEditors(e){return e?this._booleanEditors():this._nonBooleanEditors()}}class RV extends L.Disposable{constructor(e,t,a,i){super(),this.margin=A.observable(""),this.smartTags=A.observableArray(),this.visible=A.observable(!0),this.position=new Q.Point(0,0),this._disposables.push(e.focused.subscribe((e=>{let t=!1;const a=e&&e._control;if(a){const e=a;t=!0,this.smartTags().forEach((e=>e.dispose())),this.smartTags(i[e.controlType]?i[e.controlType](e):i.default&&i.default(e))}this.visible(t)}))),this._disposables.push(A.computed((()=>{if(!t())return;const i=e.focused(),r=i&&i._control;if(r){const e=i.absoluteRect&&i.absoluteRect();e?(this.position.x(e.right+t().margins.left()),this.position.y(e.top)):(this.position.x(t()._width()+a()),this.position.y(0)),this.margin(this.getMargin(r))}})).extend({rateLimit:{timeout:1,method:"notifyWhenChangesStop"}}))}getMargin(e){if(e instanceof Ly)return"3px";return(e instanceof Gv?-22:9)+"px"}}const BV=DevExpress.events;class VV extends B.MenuSettings{constructor(){super(),this._appMenuVisible=A.observable(!1),this._$menuElement=null,this.isMenuCollapsed=A.observable(!1),this.toggleAppMenu=e=>{const t=!e||!this._$menuElement.is(e.target)&&!this._$menuElement.find(e.target).length;return t&&this._toggleAppMenu(),t}}dispose(){super.dispose(),BV.off(document,"dxpointerdown",this.toggleAppMenu),this._$menuElement=null}setMenuElement(e){this._$menuElement=e}_toggleAppMenu(){this.appMenuVisible(!this.appMenuVisible()),this.appMenuVisible()?BV.on(document,"dxpointerdown",this.toggleAppMenu):(this.isMenuCollapsed(!1),BV.off(document,"dxpointerdown",this.toggleAppMenu))}generate(){const e=super.generate();return this.isMenuCollapsed&&(e.isMenuCollapsed=this.isMenuCollapsed),e.setMenuElement=e=>this.setMenuElement(e),e}}class MV{constructor(e,t,a,i=!0,r=!0,o){this._allowEditDataSource=i,this._allowRemoveDataSource=r,this._fieldListProvider=o,this.removeDataSourceAction={clickAction:e=>{this.removeDataSource(e.data.name)},position:50,imageClassName:"dxrd-image-recycle-bin",imageTemplateName:"dxrd-svg-operations-recycle_bin",text:(0,L.getLocalization)("Remove Data Source","ASPxReportsStringId.ReportDesigner_FieldListActions_RemoveDataSource")},this.rebuildResultSchemaAction={clickAction:e=>{this.rebuildResultSchema(e.data.name)},position:0,imageClassName:"dxrd-image-operations-rebuild_schema",imageTemplateName:"dxrd-svg-operations-rebuild_schema",text:(0,L.getLocalization)("Rebuild Result Schema","DataAccessUIStringId.SqlDataSourceDesignerVerbRebuildSchema")},this.renameAction={clickAction:e=>{e.setRenameMode(!0)},position:0,imageClassName:"dxrd-image-operations-rename",imageTemplateName:"dxrd-svg-operations-rename",text:(0,L.getLocalization)("Rename","ASPxReportsStringId.ReportDesigner_FieldListActions_Rename")},this._dsHelper=e,this._reportViewModel=t,this._undoEngine=a}_findDataSource(e){return this._dsHelper().usedDataSources().filter((t=>t.id===e||t.ref===e))[0]}removeDataSource(e){const t=this._findDataSource(e);t&&sE(this._dsHelper(),this._reportViewModel().dataSource,this._undoEngine,t)}addPredifinedDataSource(e){const t=A.unwrap(this._dsHelper),a=t.availableDataSources.filter((t=>t.name===e))[0];a.id=(0,B.guid)().replace(/-/g,""),rE(t,this._reportViewModel(),this._undoEngine(),this._fieldListProvider(),a,!0)}rebuildResultSchema(e){const t=this._findDataSource(e);if(!t)return;let a=null;t.isSqlDataSource&&(a=nE.sqlRebuildResultSchema(t.data.base64())),t.isFederationDataSource&&(a=nE.federationRebuildResultSchema(t.data.base64(),t.data.dependentDataSources)),a.done((e=>{t.data.base64(e),(0,B.ShowMessage)((0,L.getLocalization)("Result schema is rebuilt successfully.","DataAccessUIStringId.RebuildResultSchemaComplete"),B.NotifyType.success)}))}getActions(e){const t=[];return e.data?(this._allowRemoveDataSource&&!0===e.data.canRemove&&t.push(this.removeDataSourceAction),this._allowEditDataSource&&(e.data.rename&&t.push(this.renameAction),(e.data.isSqlDataSource||e.data.isFederationDataSource)&&t.push(this.rebuildResultSchemaAction)),t):t}}class kV extends yN._DataSourceWizardOptionsBase{constructor(){super(...arguments),this.wizardSettings=(new BR).createDefault(),this.hideDataMemberSubItems=!1}}class AV extends yN.ConfigureMasterDetailRelationshipsPage{constructor(e,t){super(t),this._dataSourceWizardHelper=new EB(this,e)}initialize(e){return super.initialize(e.sqlDataSourceWizard)}commit(){return this._dataSourceWizardHelper.commit((()=>super.commit()),(e=>(0,yN._restoreSqlDataSourceFromState)(e).sqlDataSource))}}function LV(e,t){NB(e,yN.DataSourceWizardPageId.ConfigureMasterDetailRelationshipsPage,{create:()=>new AV(t.createSqlDataSourceInfo,t.sqlDataSourceResultSchema)})}class $V extends yN.MultiQueryConfigurePage{constructor(e){super(e),this._dataSourceWizardHelper=new EB(this,e.callbacks.createSqlDataSourceInfo)}_getQueriesCount(){return this._dataSource().queries().length}_canEditQueryParameters(){return this._dataSource().queries().some((e=>(0,yN._canEditQueryParameters)(e,this._customQueries())))}initialize(e){return super.initialize(e.sqlDataSourceWizard)}commit(){return this._dataSourceWizardHelper.commit((()=>super.commit()),(e=>(0,yN._restoreSqlDataSourceFromState)(e).sqlDataSource))}}function FV(e,t){NB(e,yN.SqlDataSourceWizardPageId.MultiQueryConfigurePage,{create:()=>new $V(t),resetState:e=>{delete e.sqlDataSourceWizard.customQueries,delete e.sqlDataSourceWizard.sqlDataSourceJSON}})}class OV extends yN.MultiQueryConfigureParametersPage{constructor(e,t,a){super(t,a),this.createSqlDataSourceInfo=e,this._dataSourceWizardHelper=new EB(this,e)}initialize(e){return super.initialize(e.sqlDataSourceWizard)}commit(){return this._dataSourceWizardHelper.commit((()=>super.commit()),(e=>(0,yN._restoreSqlDataSourceFromState)(e).sqlDataSource))}}function XV(e,t){NB(e,yN.SqlDataSourceWizardPageId.MultiQueryConfigureParametersPage,{create:()=>new OV(t.createSqlDataSourceInfo,void 0,lE)})}class HV extends yN.WizardPageBase{constructor(){super(...arguments),this.reportTitle=A.observable("")}initialize(e){return this.reportTitle(e.reportTitle?e.reportTitle:""),k.Deferred().resolve().promise()}canNext(){return!1}canFinish(){return!0}commit(){return k.Deferred().resolve({reportTitle:this.reportTitle()}).promise()}}function WV(e){e.registerMetadata(jw.SetReportTitlePage,{create:()=>new HV,getState:e=>e,setState:(e,t)=>t.reportTitle=e.reportTitle,resetState:(e,t)=>e.reportTitle=t.reportTitle,template:"dxrd-page-reportTitle",description:(0,L.getLocalization)("We have all the information needed to process the report.","ASPxReportsStringId.ReportDesigner_Wizard_ReportComplete_Description")})}class UV extends yN.PopupWizard{constructor(e,t){super(e,t.callbacks.finishCallback),this._reportWizardOptions=t,this._requestModelType=wR,this.title=(0,L.getLocalization)("Report Wizard","ASPxReportsStringId.ReportDesigner_Wizard_Header"),this.height(FR),this.width(OR),this._extendCssClass="dxrd-report-wizard dxrd-master-detail-report-wizard"}_callBeforeFinishHandler(e,t){}_callAfterFinishHandler(e,t){this.events.call("afterFinish",{state:e,wizardResult:t})}initialize(e=mV()){1!==this._reportWizardOptions.dataSources().length||this._reportWizardOptions.canCreateDataSource||(e.dataSource=Kw(this._reportWizardOptions.dataSources()[0])),this._reportWizardOptions.sqlDataSourceAvailable||!(0,B.isEmptyObject)(e.sqlDataSourceWizard)?e.dataSourceType=yN.DataSourceType.Sql:this._reportWizardOptions.jsonDataSourceAvailable||e.jsonDataSourceWizard.jsonSource?e.dataSourceType=yN.DataSourceType.Json:e.dataSourceType=yN.DataSourceType.NoData,super.initialize(e,((e,t)=>new GV(e,t,this._reportWizardOptions)))}start(e){e&&(this._finishCallback=e),super.start()}}class GV extends yN.MultiQueryDataSourceWizardPageIterator{constructor(e,t,a){super(e,t,a),this._reportWizardOptions=a}getNextPageId(e){return e?e===jw.SelectReportTypePage&&this._getCurrentState().reportType===bR.Label?jw.SelectLabelTypePage:e===jw.SelectLabelTypePage?jw.CustomizeLabelPage:e===jw.SelectReportTypePage&&this._getCurrentState().dataSource&&!this._reportWizardOptions.canCreateDataSource?jw.SelectDataMembersPage:e===jw.SelectReportTypePage&&0===this._reportWizardOptions.dataSources().length?super.getNextPageId():e===jw.SelectReportTypePage?jw.ChooseAvailableDataSourcePage:e!==jw.ChooseAvailableDataSourcePage||this._getCurrentState().dataSource?super.getNextPageId(e)?super.getNextPageId(e):e===jw.ChooseAvailableDataSourcePage&&this._getCurrentState().dataSource||e===yN.DataSourceWizardPageId.ConfigureMasterDetailRelationshipsPage||e===yN.SqlDataSourceWizardPageId.MultiQueryConfigurePage||e===yN.SqlDataSourceWizardPageId.MultiQueryConfigureParametersPage||e===yN.JsonDataSourceWizardPageId.ChooseJsonSchemaPage?jw.SelectDataMembersPage:e===jw.SelectDataMembersPage&&!k.isEmptyObject(this.stateManager.getCurrentState().masterDetailInfoCollection)&&this.stateManager.getCurrentState().masterDetailInfoCollection.some((e=>!1!==e.checked))?jw.AddGroupingLevelPage:e!==jw.AddGroupingLevelPage||k.isEmptyObject(this._getCurrentState().masterDetailSummaryOptionsColumns)?e===jw.AddGroupingLevelPage||e===jw.ChooseSummaryOptionsPage?jw.ConfigureReportPageSettingsPage:e===jw.ConfigureReportPageSettingsPage?jw.ChooseReportColorSchemePage:e===jw.ChooseReportColorSchemePage?jw.SetReportTitlePage:void 0:jw.ChooseSummaryOptionsPage:super.getNextPageId():jw.SelectReportTypePage}}function jV(e,t){OB(e),$B(e),Zw(e,t),WV(e),(0,yN._registerMultiQueryDataSourcePages)(e,t),RB(e,t.callbacks),LV(e,t.callbacks),FV(e,t),XV(e,t.callbacks)}function qV(e,t){jV(e,t),kR(e,{showVertical:!1,canCreateDatabound:()=>t.dataSources().length>0||t.connectionStrings.sql().length>0||t.connectionStrings.json().length>0||t.allowCreateNewJsonConnection&&t.wizardSettings.enableJsonDataSource,reportTemplates:t.reportTemplates,searchBoxVisibilityMode:t.searchBoxVisibilityMode}),eB(e,t),lB(e),hB(e),iV(e),YB(e)}function JV(e){const t=new yN.PageFactory;return qV(t,e),new UV(t,e)}class KV extends IR{constructor(e){super(e),e.reportType===bR.Standard&&(this.AdjustFieldWidth=e.fitFieldsToPage,e.fields.length?(this.Columns=e.fields.map((e=>e.name)),this.ColumnInfo=e.fields.map((e=>({Name:e.name,DisplayName:e.displayName,TypeSpecifics:0})))):(this.Columns=null,this.ColumnInfo=null),this.DataSourceName=null,this.GroupingLevels=e.groups,this.Layout=e.layout,this.Portrait=e.portrait,this.ReportStyleId=e.style,this.SummaryOptions=(e.summaryOptions||[]).map((e=>({ColumnName:e.columnName,Flags:e.flags}))),e.pageSetup&&(this.PaperKind=fR[e.pageSetup.paperKind],this.PaperSize={width:e.pageSetup.width,height:e.pageSetup.height},this.Margins={left:e.pageSetup.marginLeft,right:e.pageSetup.marginRight,top:e.pageSetup.marginTop,bottom:e.pageSetup.marginBottom},this.Unit=e.pageSetup.unit))}}class QV extends yN.WizardPageBase{constructor(){super(...arguments),this.fields=new oB((0,L.getLocalization)("Available fields","ASPxReportsStringId.ReportDesigner_Wizard_AvailableFields")),this.groups=new oB((0,L.getLocalization)("Groups","ASPxReportsStringId.ReportDesigner_Groups")),this.addNewGroup=()=>{this.isCreateGroupEnabled()&&(this.groups.add({fields:A.observableArray([this.fields.activeItem])}),this.fields.removeActiveItem())},this.appendFieldsToGroup=()=>{this.isAppendToGroupEnabled()&&(this.groups.activeItem.fields.push(this.fields.activeItem),this.fields.removeActiveItem())},this.removeGroup=()=>{this.isRemoveGroupEnabled()&&(this.fields.addRange(this.groups.activeItem.fields()),this.groups.removeActiveItem())},this.moveUp=()=>{this.groups.moveUp()},this.moveDown=()=>{this.groups.moveDown()},this.fieldDblClick=e=>{this.fields.activeItem=e,this.addNewGroup()},this.fieldClick=e=>{this.fields.activeItem=e.itemData},this.groupDblClick=e=>{this.groups.activeItem=e,this.removeGroup()},this.groupClick=e=>{this.groups.activeItem=e.itemData}}canFinish(){return!0}isCreateGroupEnabled(){return!!this.fields.activeItem}isAppendToGroupEnabled(){return this.fields.activeItem&&this.groups.activeItem&&this.groups.activeItem.fields().length>0}isRemoveGroupEnabled(){return this.groups.activeItem&&this.groups.activeItem.fields().length>0}isMoveUpEnabled(){return this.groups.isMoveUpEnabled()}isMoveDownEnabled(){return this.groups.isMoveDownEnabled()}initialize(e){this.initialFields=e.fields||[];const t=A.observableArray((e.fields||[]).map(((e,t,a)=>e.displayName)));return this.groups.setItems((e.groups||[]).map((e=>(t.removeAll(e),{fields:A.observableArray(e)})))),this.fields.setItems(t()),k.Deferred().resolve().promise()}commit(){const e=this.groups.items.map((e=>e.fields())),t=[];return this.groups.isEmpty||(this.fields.items.forEach((e=>{const a=(0,B.getFirstItemByPropertyValue)(this.initialFields,"displayName",e);a.specifics&&["integer","float","date"].indexOf(a.specifics.toLowerCase())>-1&&t.push(a)})),t.sort(((e,t)=>e.name.localeCompare(t.name)))),k.Deferred().resolve({groups:e,summaryOptionsColumns:t}).promise()}}function YV(e){e.registerMetadata(Gw.AddGroupingLevelPage,{setState:(e,t)=>{t.groups=e.groups,t.summaryOptionsColumns=e.summaryOptionsColumns},getState:e=>e,resetState:(e,t)=>{e.groups=t.groups,e.summaryOptionsColumns=t.summaryOptionsColumns},create:()=>new QV,template:"dxrd-page-groups",description:(0,L.getLocalization)("Create multiple groups, each with a single field value, or define several fields in the same group.","ASPxReportsStringId.ReportDesigner_Wizard_CreateGroups")})}var ZV,eM,tM;!function(e){e[e.stepped=0]="stepped",e[e.block=1]="block",e[e.outline1=2]="outline1",e[e.outline2=3]="outline2",e[e.alignLeft1=4]="alignLeft1",e[e.alignLeft2=5]="alignLeft2",e[e.columnar=6]="columnar",e[e.tabular=7]="tabular",e[e.justified=8]="justified"}(ZV||(ZV={}));class aM{constructor(e,t,a,i){this.layoutType=a,this.margin=i,this.text=(0,L.getLocalization)(e,t)}get imageClassName(){return"dxrd-report-layout-type-image-"+ZV[this.layoutType].toLowerCase()}}!function(e){e[e.Portrait=0]="Portrait",e[e.Landscape=1]="Landscape"}(eM||(eM={}));class iM{constructor(e,t,a){this.orientation=a,this.text=(0,L.getLocalization)(e,t)}}class rM extends yN.WizardPageBase{constructor(){super(...arguments),this._isGroupedReport=A.observable(!1),this._reportLayoutTypes=[new aM("Columnar","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Columnar",ZV.columnar,18),new aM("Tabular","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Tabular",ZV.tabular,18),new aM("Justified","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Justified",ZV.justified,18)],this._groupedReportLayoutsTypes=[new aM("Stepped","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Stepped",ZV.stepped,1),new aM("Outline 1","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Outline1",ZV.outline1,1),new aM("Outline 2","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Outline2",ZV.outline2,1),new aM("Align Left 1","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_AlignLeft1",ZV.alignLeft1,1),new aM("Align Left 2","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_AlignLeft2",ZV.alignLeft2,1)],this.toggleFitFieldsToPage=()=>{this.fitFieldsToPage(!this.fitFieldsToPage())},this.selectedLayoutType=A.observable(null),this.fitFieldsToPage=A.observable(!0),this.pageOrientationItems=[new iM("Portrait","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Portrait",eM.Portrait),new iM("Landscape","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Landscape",eM.Landscape)],this.selectedPageOrientation=A.observable(this.pageOrientationItems[0]),this.layoutTypeItems=A.pureComputed((()=>{const e=this._isGroupedReport()?this._groupedReportLayoutsTypes:this._reportLayoutTypes;return this.selectedLayoutType(e[0]),e})),this.layoutTypeItemClick=e=>{this.selectedLayoutType(e)},this.isSelected=e=>this.selectedLayoutType()===e}canFinish(){return!0}initialize(e){this._isGroupedReport(e.groups.length>0);let t=(0,B.getFirstItemByPropertyValue)(this.layoutTypeItems(),"layoutType",e.layout);return t||(t=(0,B.getFirstItemByPropertyValue)(this.layoutTypeItems(),"layoutType",this._isGroupedReport()?ZV.stepped:ZV.columnar)),this.selectedLayoutType(t),this.fitFieldsToPage(void 0===e.fitFieldsToPage||e.fitFieldsToPage),this.selectedPageOrientation(void 0===e.portrait||e.portrait?this.pageOrientationItems[0]:this.pageOrientationItems[1]),k.Deferred().resolve().promise()}commit(){return k.Deferred().resolve({layout:this.selectedLayoutType().layoutType,fitFieldsToPage:this.fitFieldsToPage(),portrait:this.selectedPageOrientation().orientation===eM.Portrait}).promise()}}function oM(e){e.registerMetadata(Gw.ChooseReportLayoutPage,{setState:(e,t)=>{t.fitFieldsToPage=e.fitFieldsToPage,t.layout=e.layout,t.portrait=e.portrait},getState:e=>e,resetState:(e,t)=>{e.fitFieldsToPage=t.fitFieldsToPage,e.layout=t.layout,e.portrait=t.portrait},create:()=>new rM,template:"dxrd-page-reportLayoutType",description:(0,L.getLocalization)("The report layout specifies the manner in which selected data fields are arranged on individual pages.","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout")})}!function(e){e[e.Bold=0]="Bold",e[e.Casual=1]="Casual",e[e.Compact=2]="Compact",e[e.Corporate=3]="Corporate",e[e.Formal=4]="Formal"}(tM||(tM={}));class sM{constructor(e,t,a){this.reportStyle=a,this.text=(0,L.getLocalization)(e,t)}get className(){return"dxrd-wizard-report-style-image "+tM[this.reportStyle].toLowerCase()}}class nM extends yN.WizardPageBase{constructor(){super(...arguments),this.reportStyleItems=[new sM("Bold","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Bold",tM.Bold),new sM("Casual","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Casual",tM.Casual),new sM("Corporate","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Corporate",tM.Corporate),new sM("Compact","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Compact",tM.Compact),new sM("Formal","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Formal",tM.Formal)],this.selectedReportStyle=A.observable(this.reportStyleItems[0])}canFinish(){return!0}initialize(e){return this.selectedReportStyle((0,B.getFirstItemByPropertyValue)(this.reportStyleItems,"reportStyle",e.style||tM.Bold)),k.Deferred().resolve().promise()}commit(){return k.Deferred().resolve({style:this.selectedReportStyle().reportStyle}).promise()}}function lM(e){e.registerMetadata(Gw.ChooseReportStylePage,{setState:(e,t)=>{t.style=e.style},getState:e=>e,resetState:(e,t)=>{e.style=t.style},create:()=>new nM,template:"dxrd-page-reportStyle",description:(0,L.getLocalization)("The report style specifies the appearance of your report.","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle")})}class dM{constructor(e,t){this.avg=A.observable(!1),this.count=A.observable(!1),this.max=A.observable(!1),this.min=A.observable(!1),this.sum=A.observable(!1),this._name=e,this.columnName=t}static _getNumber(e){return e?1:0}getOptions(){return{columnName:this._name,flags:dM._getNumber(this.sum())<<0|dM._getNumber(this.avg())<<1|dM._getNumber(this.min())<<2|dM._getNumber(this.max())<<3|dM._getNumber(this.count())<<4}}}class cM extends yN.WizardPageBase{constructor(){super(...arguments),this._columns=[],this.summaryOptions=A.observableArray([]),this.ignoreNullValues=A.observable(!1),this.toggleIgnoreNullValues=()=>{this.ignoreNullValues(!this.ignoreNullValues())}}canFinish(){return!0}initialize(e){this.ignoreNullValues(e.ignoreNullValuesForSummary);return A.utils.compareArrays(e.summaryOptionsColumns||[],this._columns).some(((e,t,a)=>"retained"!=e.status))&&(this._columns=e.summaryOptionsColumns||[],this.summaryOptions.removeAll(),this._columns.forEach((e=>{this.summaryOptions.push(new dM(e.name,e.displayName))}))),this.summaryOptions.notifySubscribers(),k.Deferred().resolve().promise()}commit(){return k.Deferred().resolve({ignoreNullValuesForSummary:this.ignoreNullValues(),summaryOptions:this.summaryOptions().map((e=>e.getOptions()))}).promise()}}function pM(e){e.registerMetadata(Gw.ChooseSummaryOptionsPage,{setState:(e,t)=>{t.summaryOptions=e.summaryOptions,t.ignoreNullValuesForSummary=e.ignoreNullValuesForSummary},getState:e=>e,resetState:(e,t)=>{e.summaryOptions=t.summaryOptions,e.ignoreNullValuesForSummary=t.ignoreNullValuesForSummary},create:()=>new cM,template:"dxrd-page-summaryOptions",description:(0,L.getLocalization)("What summary function would you like to calculate?","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions")})}class uM extends yN.WizardPageBase{constructor(e){super(),this._selectedPath=null,this._fields=[],this.select=()=>{this.selectedFields.add(this.availableFields.activeItem),this.availableFields.removeActiveItem()},this.selectAll=()=>{this.selectedFields.setItems(this._fields.slice(0)),this.availableFields.removeAll()},this.unselect=()=>{this.availableFields.add(this.selectedFields.activeItem),this.selectedFields.removeActiveItem()},this.unselectAll=()=>{this.availableFields.setItems(this._fields.slice(0)),this.selectedFields.removeAll()},this.availableFieldDblClick=e=>{this.availableFields.activeItem=e,this.select()},this.availableFieldClick=e=>{this.availableFields.activeItem=e.itemData},this.selectedFieldDblClick=e=>{this.selectedFields.activeItem=e,this.unselect()},this.selectedFieldClick=e=>{this.selectedFields.activeItem=e.itemData},this.availableFields=new oB((0,L.getLocalization)("Available fields","ASPxReportsStringId.ReportDesigner_Wizard_AvailableFields")),this.selectedFields=new oB((0,L.getLocalization)("Selected fields","ASPxReportsStringId.ReportDesigner_Wizard_SelectedFields")),this._fieldListsCallback=e}canFinish(){return!0}canNext(){return!this.selectedFields.isEmpty}selectedPath(){return this._selectedPath}reset(){this._selectedPath=null}initialize(e){return this.selectedFields.setItems(e.fields||[]),this._selectedPath!=e.dataMemberPath?this._fieldListsCallback(new L.PathRequest(e.dataMemberPath),Qw(e.newDataSource||e.dataSource)).done((t=>{this._fields=t.filter((e=>"List"!==e.specifics&&"ListSource"!==e.specifics&&!0!==e.isList)),this._selectedPath=e.dataMemberPath,this.availableFields.setItems(this._fields.filter((e=>-1===this.selectedFields.items.indexOf(e))))})):(this.availableFields.setItems(this._fields.filter((e=>-1===this.selectedFields.items.indexOf(e)))),k.Deferred().resolve().promise())}commit(){return k.Deferred().resolve({fields:this.selectedFields.items}).promise()}isSelectEnable(){return!!this.availableFields.activeItem}isUnselectEnable(){return!!this.selectedFields.activeItem}}function mM(e,t){e.registerMetadata(Gw.SelectColumnsPage,{setState:(e,t)=>{t.fields=e.fields},getState:e=>e,resetState:(e,t)=>{e.fields=t.fields},create:()=>new uM(t),template:"dxrd-page-columns",description:(0,L.getLocalization)("Select the columns you want to display within your report.","ASPxReportsStringId.ReportDesigner_Wizard_ChooseColumns")})}class hM extends G.DataMemberTreeListController{canSelect(e){return this.hasItems(e.data)&&!!e.path||"none"===e.data.specifics}}class gM extends yN.WizardPageBase{constructor(e){super(),this._rootItems=A.observableArray([]),this._selectedPath=A.observable(null),this._fieldListCallBack=e.callbacks.fieldListsCallback,this._createSqlDataSourceInfo=e.callbacks.createSqlDataSourceInfo,this._hideDataMemberSubItems=e.hideDataMemberSubItems,this.scrollViewHeight=XR,this.fieldListModel={itemsProvider:new B.FieldListProvider(this._wrapFieldListCallback(this._fieldListCallBack),this._rootItems),selectedPath:this._selectedPath,treeListController:new hM}}_wrapFieldListCallback(e){return t=>{if(this._hideDataMemberSubItems){const e=k.Deferred();return e.resolve([]),e.promise()}return e(new L.PathRequest(this.dataSourcePath+"."+t.fullPath),this._dataSource)}}get dataSourcePath(){return this._dataSource.id||this._dataSource.ref}_beginInternal(e){return this._dataSource=Qw(e.newDataSource||e.dataSource),e.dataMemberPath?(this._selectedPath(e.dataMemberPath.replace(this.dataSourcePath+".","")),k.Deferred().resolve().promise()):this._fieldListCallBack(new L.PathRequest(this.dataSourcePath),this._dataSource).done((e=>{this._selectedPath(null),this._rootItems(e.map((e=>({name:e.displayName,id:e.name,specifics:"List",dataSerializer:null,data:{}}))))}))}canNext(){return!!this._selectedPath()}canFinish(){return!!this._selectedPath()}initialize(e){return this._beginInternal(e)}commit(){return k.Deferred().resolve({dataMemberPath:(0,B.getFullPath)(this.dataSourcePath,this._selectedPath()),dataMemberInfo:this.fieldListModel.treeListController.selectedItem&&this.fieldListModel.treeListController.selectedItem.data}).promise()}}function xM(e,t){e.registerMetadata(Gw.ChooseDataMemberPage,{setState:(e,t)=>{t.dataMemberInfo=e.dataMemberInfo,t.dataMemberPath=e.dataMemberPath},getState:e=>e,resetState:(e,t)=>{e.dataMemberInfo=t.dataMemberInfo,e.dataMemberPath=t.dataMemberPath},create:()=>new gM(t),template:"dxrd-page-dataMember",description:(0,L.getLocalization)("The table or view you choose determines wich columns will be available in your report.","ASPxReportsStringId.ReportDesigner_Wizard_ChooseDataMember")})}class vM extends yN.PopupWizard{constructor(e,t){super(e,t.callbacks.finishCallback),this._reportWizardOptions=t,this._requestModelType=KV,this.title=(0,L.getLocalization)("Report Wizard","ASPxReportsStringId.ReportDesigner_Wizard_Header")}_callBeforeFinishHandler(e,t){}_callAfterFinishHandler(e,t){this.events.call("afterFinish",{state:e,wizardResult:t})}initialize(e=mV()){super.initialize(e,((e,t)=>new fM(e,t,this._reportWizardOptions)))}start(e){e&&(this._finishCallback=e),super.start()}}class fM extends yN.MultiQueryDataSourceWizardPageIterator{constructor(e,t,a){super(e,t,a)}getNextPageId(e){return e?e===jw.SelectReportTypePage&&this._getCurrentState().reportType===bR.Label?jw.SelectLabelTypePage:e===jw.SelectLabelTypePage?jw.CustomizeLabelPage:e===jw.SelectReportTypePage&&this._getCurrentState().reportType===bR.Standard?jw.ChooseAvailableDataSourcePage:e!==jw.ChooseAvailableDataSourcePage||this._getCurrentState().dataSource?super.getNextPageId(e)?super.getNextPageId(e):e===jw.ChooseAvailableDataSourcePage&&this._getCurrentState().dataSource||e===yN.DataSourceWizardPageId.ConfigureMasterDetailRelationshipsPage||e===yN.SqlDataSourceWizardPageId.MultiQueryConfigurePage||e===yN.SqlDataSourceWizardPageId.MultiQueryConfigureParametersPage?Gw.ChooseDataMemberPage:e===Gw.ChooseDataMemberPage?Gw.SelectColumnsPage:e===Gw.SelectColumnsPage?Gw.AddGroupingLevelPage:e===Gw.AddGroupingLevelPage&&this._getCurrentState().summaryOptionsColumns.length>0?Gw.ChooseSummaryOptionsPage:e===Gw.ChooseSummaryOptionsPage||e===Gw.AddGroupingLevelPage&&0==this._getCurrentState().summaryOptionsColumns.length?Gw.ChooseReportLayoutPage:e===Gw.ChooseReportLayoutPage?Gw.ChooseReportStylePage:e===Gw.ChooseReportStylePage?jw.SetReportTitlePage:void 0:yN.SqlDataSourceWizardPageId.ChooseConnectionPage:jw.SelectReportTypePage}}function bM(e){const t=new yN.PageFactory;return jV(t,e),kR(t,{showVertical:!1,canCreateDatabound:()=>e.dataSources().length>0||e.connectionStrings.sql().length>0,reportTemplates:e.reportTemplates,searchBoxVisibilityMode:e.searchBoxVisibilityMode}),xM(t,e),mM(t,e.callbacks.fieldListsCallback),YV(t),pM(t),oM(t),lM(t),new vM(t,e)}function yM(e){return e.wizardSettings.useFullscreenWizard&&e.wizardSettings.useMasterDetailWizard?vV(e):e.wizardSettings.useMasterDetailWizard?JV(e):bM(e)}class SM extends L.Disposable{constructor(){super(),this._visible=A.observable(!1),this.width=A.observable(690),this.height=A.observable(420),this.template=A.observable(""),this.model=A.observable(null),this.tab=A.observable(null),this.disabled=A.observable(!1),this.visible=A.computed({read:()=>this._visible(),write:e=>{this.disabled()||(this._visible(e),e||this.tab(null))}}),this.container=e=>(0,B.getParentContainer)(e),this._disposables.push(this.visible)}dispose(){super.dispose(),this.tab(null)}show(e){e&&(this.tab(e),this.model().setUrl(e.context().url())),this.model().onShow(e),this.visible(!0)}customize(e,t){this.template(e),this.model(t),this.buttons=t.popupButtons}cancel(){this.visible(!1)}}class CM{constructor(e,t){this.urls=t,this.searchValue=A.observable(""),this.searchPlaceholder=()=>(0,B.searchPlaceholder)(),this.reportUrl=A.observable(""),this.noDataText=(0,B.noDataText)();const a=this;this.onDblClick=t=>e.open(t),this.popupButtons=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Open","ASPxReportsStringId.SidePanel_Open"),type:"default",stylingMode:"contained",disabled:e.disabled,onClick:function(){e.open(a.reportUrl())}},disabled:A.pureComputed((()=>!this.reportUrl()))},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Cancel","AnalyticsCoreStringId.SearchDialog_Cancel"),type:"normal",stylingMode:"contained",disabled:e.disabled,onClick:function(){e.cancel()}}}]}onShow(e){const t=this;this.searchValue(""),SP.getUrls().done((e=>{t.urls(e)}))}getUrl(){return this.reportUrl()}setUrl(e){this.reportUrl(e)}}class DM extends SM{constructor(e,t,a){super(),this.title="Open Report",this.onOpening=e=>{a.reportOpening&&a.reportOpening(e)},this.onOpened=e=>{a.reportOpened&&a.reportOpened(e)},this.navigateByReports=t,this.customize("dxrd-openreport-dialog-content",new CM(this,e)),this.title=(0,L.getLocalization)("Open Report","ReportStringId.RibbonXRDesign_OpenFile_STipTitle")}open(e){this.disabled(!0),this.navigateByReports.addTab(null,A.observable(e)).done((e=>{this.disabled(!1),this.visible(!1)})).fail((()=>this.disabled(!1)))}}class _M{constructor(e,t){this.noDataText=(0,B.noDataText)(),this.reportNamePlaceholder=()=>(0,L.getLocalization)("Enter a report name to save...","ASPxReportsStringId.ReportDesigner_SaveAs_NamePlaceholder"),this.urls=t,this.reportUrl=A.observable(""),this.reportName=A.observable(""),this.onDblClick=t=>e.save(t);const a=this;this.popupButtons=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Save","AnalyticsCoreStringId.MenuButtons_Save"),type:"default",stylingMode:"contained",disabled:A.computed((()=>!a.reportName()||e.disabled())),onClick:function(){e.save(a.reportName())}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{disabled:e.disabled,text:(0,L.getLocalization)("Cancel","AnalyticsCoreStringId.SearchDialog_Cancel"),type:"normal",stylingMode:"contained",onClick:function(){e.cancel()}}}]}onShow(e){const t=this;SP.getUrls().done((e=>{t.urls(e)}));const a=(this.urls()||[]).filter((e=>e.Key===this.reportUrl()))[0];this.reportName(a&&a.Value||e.displayName())}getUrl(){return this.reportUrl()}setUrl(e){this.reportUrl(e)}}class IM extends SM{constructor(e,t){super(),this.closeAfterSave=A.observable(!1),this.title="Save Report",this.onSaving=e=>{t.reportSaving&&t.reportSaving(e)},this.onSaved=e=>{t.reportSaved&&t.reportSaved(e)},this.template("dxrd-savereport-dialog-content"),this.customize("dxrd-savereport-dialog-content",new _M(this,e)),this.title=(0,L.getLocalization)("Save Report","ReportStringId.RibbonXRDesign_SaveFile_STipTitle")}show(e){this.closeAfterSave(!1),super.show(e)}save(e){const t=this;if(Li()){t.tab().context().report.displayNameObject(e);const a=t.tab().context().report.serialize(),i={report:t.tab().context().report,url:e,cancel:!1,dialog:this};if(t.onSaving(i),i.cancel)return;t.disabled(!0),SP.setNewData(a,e).done((function(e){t.onSaved({report:t.tab().context().report,url:e});t.tab().context().url(e),t.tab().isDirty(!1),(0,B.ShowMessage)((0,L.getLocalization)("The report has been successfully saved.","ASPxReportsStringId.ReportDesigner_SaveReport_Message_OK"),B.NotifyType.success),t.closeAfterSave()&&t.tab().close.resolve(),SP.getUrls().done((e=>{t.model().urls&&t.model().urls(e)})),t.disabled(!1),t.visible(!1)})).fail((()=>{t.disabled(!1)}))}else t.tab().context().report.save(),t.closeAfterSave()?t.tab().close.resolve():t.tab().close&&t.tab().close.reject(),this.visible(!1)}}class PM{constructor(e){this.reportUrl=A.observable(""),this.saveText=A.observable("");const t=this;this.popupButtons=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{disabled:e.disabled,text:(0,L.getLocalization)("Yes","AnalyticsCoreStringId.ParametersPanel_True"),type:"default",stylingMode:"contained",onClick:function(){e.save(t.reportUrl())}}},{toolbar:"bottom",location:"after",widget:"dxButton",disabled:e.disabled,options:{disabled:e.disabled,text:(0,L.getLocalization)("No","AnalyticsCoreStringId.ParametersPanel_False"),type:"normal",stylingMode:"contained",onClick:function(){e.notSave()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{disabled:e.disabled,type:"normal",stylingMode:"contained",text:(0,L.getLocalization)("Cancel","AnalyticsCoreStringId.SearchDialog_Cancel"),onClick:function(){e.cancel()}}}]}onShow(e){this.saveText((0,L.getLocalization)('"{0}" has been changed. Do you want to save changes ?',"ReportStringId.UD_Msg_MdiReportChanged").replace("{0}",e.displayName()))}getUrl(){return this.reportUrl()}setUrl(e){this.reportUrl(e)}}class TM extends SM{constructor(e,t){super(),this.title="Save Report",this.saveReportDialog=e,this.onSaving=e=>{t.reportSaving&&t.reportSaving(e)},this.onSaved=e=>{t.reportSaved&&t.reportSaved(e)},this.width("auto"),this.height(260),this.customize("dxrd-savereport-dialog-content-light",new PM(this)),this.title=(0,L.getLocalization)("Save Report","ReportStringId.RibbonXRDesign_SaveFile_STipTitle")}save(e){const t=this;if(Li())if(e){const a={report:t.tab().context().report,url:e,cancel:!1};if(t.onSaving(a),a.cancel)return void(t.tab().close&&t.tab().close.reject());this.disabled(!0),SP.setData(t.tab().context().report.serialize(),e).done((function(a){t.onSaved({report:t.tab().context().report,url:e}),t.tab().undoEngine.clearHistory(),t.tab().close&&t.tab().close.resolve(),t.disabled(!1),t.visible(!1)})).fail((()=>{t.disabled(!1)}))}else t.saveReportDialog.show(t.tab()),t.saveReportDialog.closeAfterSave(!0),t.visible(!1);else t.tab().context().report.save(),t.tab().close&&t.tab().close.resolve()}notSave(){this.tab().close.resolve(),this.visible(!1)}cancel(){this.tab().close&&this.tab().close.reject(),super.cancel()}}class zM{constructor(e,t,a,i,r,o){this.callbacks=a,this.reportWizardOptions=new kV,this.multiQueryWizardOptions=new yN._MultiQueryDataSourceWizardOptions,this.dataSourceWizardOptions=new yN._DataSourceWizardOptions,[this.reportWizardOptions,this.multiQueryWizardOptions,this.dataSourceWizardOptions].forEach((a=>{a.connectionStrings=e,a.wizardSettings=t,a.requestWrapper=lE(),a.rtl=i,a.dataSources=r,a.predefinedDataSources=o}))}_doFinishCallback(e,t){if(e.predefinedDataSourceName)this.dataSourceActionProvider.addPredifinedDataSource(e.predefinedDataSourceName);else{if(e.dataSourceType===yN.DataSourceType.Sql)return this.sqlDataSourceEditor.applySqlDataSourceWizardChanges(e);if(e.dataSourceType===yN.DataSourceType.Federation)return this.federationDataSourceEditor.applyFederationDataSourceWizardChanges(e);if(e.dataSourceType===yN.DataSourceType.Json){const a=k.Deferred();return e.jsonDataSourceWizard.jsonSource&&e.jsonDataSourceWizard.newConnectionName?this.jsonDataSourceEditor.saveJsonSource(e,t).done((e=>{a.resolve(e)})).fail((()=>a.reject())):this.jsonDataSourceEditor.applyDataSourceWizardChanges(e).done((e=>{a.resolve(e)})).fail((()=>a.reject())),a.promise()}if(e.dataSourceType===yN.DataSourceType.Object){const t=k.Deferred();this.objectDataSourceEditor.applyDataSourceWizardChanges(e).done((e=>{t.resolve(e)})).fail((()=>t.reject()))}}return k.Deferred().resolve(null).promise()}_getParameters(e){return e&&e()?vu(e().parameters()).map((e=>{const t=(new L.ModelSerializer).serialize(e);return{name:t["@Name"],value:t["@ValueInfo"],type:e.type()}})):[]}_getItemsProviderCallBack(e){return e||null}createSqlDataSourceWizard(e,t,a){return this.dataSourceWizardOptions.callbacks={selectStatement:(e,t)=>lE().getSelectStatement(e,t),finishCallback:e=>this._doFinishCallback(e,this.dataSourceWizardOptions.connectionStrings),customizeQBInitData:e=>(e.parametersItemsProvider=t,e.requestWrapper=lE(),e),getParameters:()=>this._getParameters(a),getItemsProviderCallback:()=>this._getItemsProviderCallBack(t())},this.dataSourceWizardOptions.disableCustomSql=e,this.dataSourceWizard=(0,yN._createDataSourceWizard)(void 0,this.dataSourceWizardOptions),this.dataSourceWizard}createSqlDataSourceEditor(e){this.federationDataSourceEditor=new _B(e.dataSourceHelper,e.dataSourceWizard,e.model,e.undoEngine,e.fieldListProvider,this.multipleQueriesWizardCallbacks,e.rtl),this.sqlDataSourceEditor=new uE(e.dataSourceHelper,e.dataSourceWizard,e.model,e.undoEngine,e.fieldListProvider,this.multipleQueriesWizardCallbacks),this.jsonDataSourceEditor=new hE(e.dataSourceHelper,e.dataSourceWizard,e.model,e.undoEngine,e.fieldListProvider),this.objectDataSourceEditor=new UB(e.dataSourceHelper,e.dataSourceWizard,e.model,e.undoEngine,e.fieldListProvider),this.dataSourceActionProvider=new MV(e.dataSourceHelper,e.model,e.undoEngine,e.allowEditDataSource,e.allowRemoveDataSource,e.fieldListProvider)}createMultipleQueriesWizardCallbacks(e,t,a){const i=new ZE;this.multipleQueriesWizardCallbacks={selectStatement:(e,t)=>lE().getSelectStatement(e,t),sqlDataSourceResultSchema:e=>lE().rebuildResultSchema(e),federationDataSourceResultSchema:e=>lE().getFederationResultSchema(e),finishCallback:e=>this._doFinishCallback(e,this.multiQueryWizardOptions.connectionStrings),customQueriesPreset:nE.getCustomQueriesPreset,customizeQBInitData:t=>(t.parametersItemsProvider=e,t.requestWrapper=lE(),t),getParameters:()=>this._getParameters(t),getItemsProviderCallback:()=>this._getItemsProviderCallBack(e()),fieldListsCallback:(e,t,r)=>i.wrapFieldsCallback(this.callbacks.fieldLists,a,A.observableArray(t?[t]:this.multiQueryWizardOptions.dataSources()),null==r||r)(e)}}createMultiQueryDataSourceWizard(e,t=this.multipleQueriesWizardCallbacks,a=!1){this.multiQueryWizardOptions.callbacks=t,this.multiQueryWizardOptions.allowCreateNewJsonConnection=a,this.multiQueryWizardOptions.disableCustomSql=e,this.multiQueryWizardOptions.getSqlConnectionStrings=()=>nE.getWizardSqlDataConnections(),this.multiQueryWizardOptions.getJsonConnectionStrings=()=>nE.getWizardJsonDataConnections(),this.registerMultiQueryDataSourceWizardPages=e=>{(0,yN._registerMultiQueryDataSourcePages)(e,this.multiQueryWizardOptions)},this.reportWizardOptions.wizardSettings.useFullscreenWizard?this.multiQueryDataSourceWizard=(0,yN._createDataSourceFullscreenWizard)(this.multiQueryWizardOptions):this.multiQueryDataSourceWizard=(0,yN._createMultiQueryDataSourceWizard)(void 0,this.multiQueryWizardOptions)}createReportWizard(e){this.reportWizardOptions.searchBoxVisibilityMode=e.data.wizardSettings.reportWizardTemplatesSearchBoxVisibility,this.reportWizardOptions.reportTemplates=e.data.reportWizardTemplates,this.reportWizardOptions.allowCreateNewJsonConnection=e.data.allowCreateNewJsonConnection,this.reportWizardOptions.hideDataMemberSubItems=e.data.isReportServer,this.reportWizardOptions.disableCustomSql=e.data.disableCustomSql,this.reportWizardOptions.dataSources=A.pureComputed((()=>{let t;return e.dataSourceHelper()||(t=(e.data.availableDataSources||[]).map((e=>k.extend({},e,{data:new _b(e.data)})))),t||(t=e.data.isReportServer?e.dataSourceHelper().availableDataSources:e.dataSourceHelper().mergedDataSources()),t.filter((e=>!(e.data instanceof Pb||e.hasErrors)))})),this.reportWizardOptions.callbacks=k.extend({},this.multipleQueriesWizardCallbacks,{createSqlDataSourceInfo:uE.createSqlDataSourceInfo,createJsonDataSourceInfo:hE.createJsonDataSourceInfo,getItemsProviderCallback:()=>this._getItemsProviderCallBack(this.reportWizard.itemsProvider()),finishCallback:t=>{e.isLoading(!0);const a=k.Deferred();return eR.generateReportFromWizardState(t,wR,e.state(),(t=>{this.reportWizard.events.call("beforeFinish",{state:e.state(),wizardModel:t})})).done((t=>{e.navigation.currentTab().undoEngine.start(),e.isDirty(!0);const i=xP(t,e.navigation.currentTab().context().report);e.navigation.currentTab().changeContext(i,""),e.navigation.currentTab.notifySubscribers(),e.navigation.currentTab().undoEngine.end(),e.isLoading(!1),a.resolve(i)})).fail((()=>{a.reject()})),a.promise()}}),this.registerReportWizardPages=e=>{qV(e,this.reportWizardOptions)},this.reportWizard=yM(this.reportWizardOptions)}}class NM{constructor(e){this._designerCallbacks=e}createSaveReportDialog(e){this.saveReportDialog=new IM(e,this._designerCallbacks),this._designerCallbacks.customizeSaveAsDialog&&this._designerCallbacks.customizeSaveAsDialog(this.saveReportDialog)}createSaveReportDialogLight(e=this.saveReportDialog){this.saveReportDialogLight=new TM(e,this._designerCallbacks),this._designerCallbacks.customizeSaveDialog&&this._designerCallbacks.customizeSaveDialog(this.saveReportDialogLight)}createOpenReportDialog(e,t){this.openReportDialog=new DM(e,t,this._designerCallbacks),this._designerCallbacks.customizeOpenDialog&&this._designerCallbacks.customizeOpenDialog(this.openReportDialog)}}class EM extends B.BaseActionsProvider{constructor(e){super(),this._buildingModel=e,this.initActions([{text:"Run Designer",displayText:()=>(0,L.getLocalization)("Run Designer","ReportStringId.Verb_RunDesigner"),disabled:A.observable(!1),clickAction:()=>{this._context.surface&&(null==e||e.runChartDesigner(this._context.surface))},isContextMenuAction:!0}])}condition(e){return e instanceof dC&&(this._context=e,!0)}}const wM={QuickActionsVisible:(0,B.createGlobalModuleVariableFunc)(!1),TaskGroupVisible:(0,B.createGlobalModuleVariableFunc)(!0)},RM=(0,B.createGlobalModuleVariableFunc)(!0),BM=(0,B.createGlobalModuleVariableFunc)(!0);class VM extends B.CommonDesignerGenerator{constructor(e){super(),this.options=e,this._onAfterRenderCallbacks=[],this._converters=[],this._customMergeEngine=new zw,this._updateCallback=null,this._selection=e.selection||new B.SurfaceSelection;const t=new L.ModelSerializer;this.configurateRtl(e.rtl).configureReportStorageRegistration(e.reportStorageWebIsRegister,e.allowMDI).addCallbacks(e.callbacks).addElement("state",(()=>e.state)).addElement("availableDataSources",(()=>(e.availableDataSources||[]).map((e=>k.extend({},e,{data:Yb(e.data,void 0,t)})))));const a=new NV({allowMDI:this._allowMDI,callbacks:this._designerCallbacks,knownEnums:e.knownEnums,reportUrl:e.reportUrl,initOptions:{availableDataSources:e.availableDataSources,state:e.state},selection:this._selection}),i=A.computed((()=>a.currentTab()&&a.currentTab().undoEngine));this._addDisposable(i),this._reportcontext=A.computed({read:()=>a.currentTab()&&a.currentTab().context(),write:e=>{a.currentTab()&&a.currentTab().context(e)}});const r=A.computed({read:()=>this._reportcontext()&&this._reportcontext().report,write:e=>{this.isDisposing||a.changeContext(e)}}),o=A.computed((()=>this._reportcontext()&&this._reportcontext().surface)),s=A.computed((()=>r()&&r().language()===Bu.defaultCulture));this._addDisposable(this._reportcontext),this._addDisposable(r),this._addDisposable(o),this._addDisposable(s),this._addDisposable(s.subscribe((e=>{this.buildingModel.toolboxItems&&this.buildingModel.toolboxItems.forEach((t=>t.disabled(!e)))}))),this.initializeContext({model:r,surface:o,undoEngine:i}),this.mapOnContext(),this.addElement("canAddItems",(()=>s)),this.addElement("navigateByReports",(()=>a)),this.addElement("getTabs",(()=>()=>a.tabs())),this.addElement("closeTab",(()=>(e,t=!1)=>a.removeTab(e,t))),this._addDisposable(this._reportcontext.subscribe((e=>{this.buildingModel.propertyGrid&&(this.buildingModel.propertyGrid.cleanEditors(),this.buildingModel.propertyGrid.editorsRendered(!this.buildingModel.propertyGrid.isSortingByGroups())),this.buildingModel.popularProperties&&this.buildingModel.popularProperties.cleanEditors()}))),this._selection.focused(o()),this._addDisposable(o.subscribe((e=>{e?this._selection.focused(e):this._selection.reset()})));const n=A.computed((()=>!(!this.buildingModel.model||!this.buildingModel.model())&&this.buildingModel.model().language()==Bu.defaultCulture));this._addDisposable(n),this._accessibilityProvider=new Ww(n)}get reportContext(){return this._reportcontext}get buildingModel(){return this.getModel()}get _designerCallbacks(){return this._callbacks&&this._callbacks.designer}getModel(){return super.getModel()}subscribeIncomeReport(e,t,a,i){return this._addDisposable(e.subscribe((e=>{const r=new Ly(e,void 0,i);vP(r,a),0===this.buildingModel.navigateByReports.tabs().length?this.buildingModel.navigateByReports.addTab(r,t,(()=>r.dispose())):this.buildingModel.model(r)}))),this}_addDisposable(e){this._disposables.push(e)}_tryAddScriptEditor(e){if(!(e=e||!G.aceAvailable)){const e=new Iw(this.buildingModel.model,this.buildingModel.controlsHelper.allControls);return this._addDisposable(e.editorVisible.subscribe((t=>{if(t){const t=this.buildingModel.selection.focused();if(t&&t.getControlModel){const a=t.getControlModel();e.selectedControl(a.scripts?a:a.parentModel())}const a=()=>setTimeout((()=>{e.editorContainer().resize()}),1);if(e.editorContainer())a();else{const t=e.editorContainer.subscribe((e=>{t.dispose(),a()}))}}this.buildingModel.designMode(!t)}))),this.addElement("scriptsEditor",(()=>e)),this.addElement("events",(()=>A.pureComputed((()=>this.buildingModel.scriptsEditor.allFunctionNames)))),this.addElement("gotoEvent",(()=>(t,a,i)=>{e.editorVisible(!0),e.ensureEvent(a.substring(2),t,i)})),!0}{const e=Object.keys(Op().controlsMap);for(let t=0;t<e.length;t++)["scripts","scriptReferencesString","scriptLanguage"].forEach((a=>{const i=Op().getPropertyInfo(e[t],a);i&&(i.visible=!1)}));lb.visible=!1}return!1}_getControls(e,t,a=!0){return A.pureComputed((()=>{let i=e();t&&(i=i.filter(t));const r=i.map((e=>({displayName:A.unwrap(e.name),value:e})));return a&&r.splice(0,0,{displayName:(0,B.localizeNoneString)("(none)"),value:null}),r})).extend({throttle:1})}_createEmptyReportItemsProvider(){const e=new Ly({}),t=new cw(e),a=new UN(e.objectStorage,e.dataSourceRefs,void 0);e.dataSourceHelper(a);const i=new ZE;i.updateDataSources(a,e,t.parameters);const r=i.wrapFieldsCallback(nE.fieldListCallback,(()=>{}));return new B.FieldListProvider(r,i.fieldListDataSources,[t])}addReportDialogs(e){const t=new NM(this._designerCallbacks);return e(t),t.saveReportDialog&&this.addElement("saveReportDialog",(()=>t.saveReportDialog)),t.saveReportDialogLight&&(this.addElement("saveReportDialogLight",(()=>t.saveReportDialogLight)),this.buildingModel.navigateByReports.save=e=>{this.buildingModel.saveReportDialogLight.show(e)}),t.openReportDialog&&this.addElement("openReportDialog",(()=>t.openReportDialog)),this}addErrorPanelViewModel(e,t){return this.addElement("errorPanelViewModel",(()=>{const a=()=>this.buildingModel.designMode()?this.buildingModel.tabPanel.headerWidth:this.buildingModel.reportPreviewModel&&this.buildingModel.reportPreviewModel.tabPanel.headerWidth,i=A.observable(0);let r=null;const o=()=>{r&&r(),r=this.buildingModel.designMode()?this.buildingModel.tabPanel.events.on("headerWidthChanged",(e=>{i(a())})):this.buildingModel.reportPreviewModel.tabPanel.events.on("headerWidthChanged",(e=>{i(a())})),i(a())};o(),this._addDisposable(this.buildingModel.designMode.subscribe((()=>o())));const s=A.computed((()=>this.buildingModel.designMode()?96:0)),n=new jE(Object.assign(Object.assign({},t),{controlScrollingTool:this.buildingModel.controlScrollingTool,controlsHelper:this.buildingModel.controlsHelper,editableObject:this.buildingModel.editableObject,selection:this.buildingModel.selection,undoEngine:()=>this.buildingModel.undoEngine(),onClick:()=>{this.buildingModel.designMode()||(this.buildingModel.reportPreviewModel.reportPreview.previewVisible=!1,this.buildingModel.reportPreviewModel.reportPreview.deactivate()),this.buildingModel.tabPanel.selectTab({model:this.buildingModel.tabPanel.getTabByName("Properties")})},position:{left:s,right:i}}));n._disposables.push({dispose:r},s),this._addDisposable(this._reportcontext.subscribe((e=>{n.clear(),null!=e&&(n.subscribeProvider(e.reportErrorProvider),n.subscribeProvider(e.runtimeErrorProvider),n._providers.forEach((e=>e.collectErrors())))})));const l=k.fn.constructor(e),d=k.fn.constructor(window),c=l.find(".dxrd-error-panel"),p=(0,Nh.getDockedElementCallback)(c,l,d,".dxrd-error-panel",{bottom:!0});this._addDisposable(n.collapsed.subscribe((()=>{p(e)})));const u=()=>p(e);return this._onAfterRenderCallbacks.push((()=>p(e))),window.addEventListener("scroll",u),this._addDisposable({dispose:()=>{window.removeEventListener("scroll",u)}}),n})),this}addNavigateToControl(e){return this.addElement("controlScrollingTool",(()=>new Pw(e))),this}addFlagsAndInitProperties(e){return this.addElement("validationMode",(()=>A.computed({read:()=>this.buildingModel.surface()&&this.buildingModel.surface().validationMode(),write:e=>{this.buildingModel.surface().validationMode(e)}}))),this.addElement("isDirty",(()=>A.computed({read:()=>this.buildingModel.navigateByReports.currentTab()&&this.buildingModel.navigateByReports.currentTab().isDirty(),write:e=>{this.buildingModel.navigateByReports.currentTab()&&this.buildingModel.navigateByReports.currentTab().isDirty(e)}}))),this.addElement("designMode",(()=>A.observable(!0))),this.addIsLoading((()=>{const e=A.observable(!0);return this.buildingModel.navigateByReports.init(e),e})),this.addElement("rootStyle",(()=>"dxrd-designer dxd-back-primary-invariant")),this.addElement("selectedPath",(()=>A.observable(null))),this.addElement("actionsGroupTitle",(()=>()=>(0,B.formatUnicorn)((0,L.getLocalization)("{0} {1}","ReportStringId.STag_Capt_Format"),(0,B.getControlTypeName)(this.getModel().editableObject()),(0,L.getLocalization)("Tasks","ReportStringId.STag_Capt_Tasks")))),this.addElement("updateFont",(()=>e=>{(0,G.availableFonts)(Object.assign(Object.assign({},(0,G.availableFonts)()),e))})),this.addElement("afterRender",(()=>()=>{this._onAfterRenderCallbacks.forEach((e=>e())),this._onAfterRenderCallbacks.splice(0),delete this.buildingModel.afterRender})),this.addElement("sortFont",(()=>()=>{const e={},t=G.availableFonts.peek();Object.keys(t).sort(((e,t)=>e.localeCompare(t))).forEach((a=>e[a]=t[a])),(0,G.availableFonts)(e)})),this.addElement("zoomStep",(()=>A.observable(.05))),this.addElement("surfaceSize",(()=>A.observable(0))),e?(this.addElement("fullScreen",(()=>(0,fg.createFullscreenComputed)(e,this))),this.addElement("drawCrossbandContent",(()=>A.observable(!0))),this):this}addPreview(e){const t=e=>{e.errors&&this.reportContext()&&this.reportContext().runtimeErrorProvider.errors(e.errors)};return(0,Nh.createPreview)({model:{parametersInfo:e.parametersInfo,handlerUri:e.handlerUri,previewVisible:!1,rtl:e.rtl,accessibilityCompliant:!1,exportSettings:e.exportSettings,progressBarSettings:e.progressBarSettings,searchSettings:e.searchSettings},element:e.element,callbacks:Object.assign(Object.assign({},e.callbacks),{_onGetBuildStatus:t,_onGetDocumentDetails:t})}).done((e=>{this.addElement("reportPreviewModel",(()=>(this._addDisposable({dispose:e.reportPreview.events.on("previewVisibleChanged",(e=>{const t=e.newValue;this.buildingModel.designMode(!t),!t&&this._updateCallback&&this._updateCallback()}))}),e))),this._addDisposable(e)})),this}addReportUrls(e){return this.addElement("reportUrls",(()=>A.observableArray((0,Eh.convertMapToKeyValuePair)(e)))),this}_wrapActionProvider(e){return{getActions:t=>e()&&e().getActions(t)||[]}}initializeFieldListActionProviders(e=(()=>{var e,t,a;const i=[];return this._calculatedFieldsSource&&i.push(this._wrapActionProvider(this._calculatedFieldsSource)),this._watermarks&&i.push(this._wrapActionProvider(this._watermarks)),this._parameters&&i.push(this._wrapActionProvider(this._parameters)),this._dataSourceActionProvider&&i.push(this._dataSourceActionProvider),(null===(a=null===(t=null===(e=this.options.data)||void 0===e?void 0:e.dataSourceSettings)||void 0===t?void 0:t.allowEditDataSource)||void 0===a||a)&&(this._jsonDataSourceEditor&&i.push(this._jsonDataSourceEditor),this._sqlDataSourceEditor&&i.push(this._sqlDataSourceEditor),this._federationDataSourceEditor&&i.push(this._federationDataSourceEditor),this._objectDataSourceEditor&&i.push(this._objectDataSourceEditor)),i})){return this.addElement("fieldListActionProviders",e),this}initializeCalculatedFieldsSource(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().calcFieldsSource));return this.addElement("calculatedFieldsSource",(()=>e)),this._calculatedFieldsSource=e,this}initializeWatermarks(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().watermarks));return this.addElement("watermarks",(()=>e)),this._watermarks=e,this}initializeFieldListItemsExtenders(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().fieldListItemsExtenders));return this.addElement("fieldListItemsExtenders",(()=>e)),this}initializeParameters(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().parameters));return this.addElement("parameters",(()=>e)),this._parameters=e,this}initializeFieldListProvider(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().fieldListProvider));return this.addElement("fieldListProvider",(()=>e)),this}initializeReportItemsProvider(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().reportItemsProvider));return this.addElement("reportItemsProvider",(()=>e)),this}initializeDataBindingsProvider(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().dataBindingsProvider));return this.addElement("dataBindingsProvider",(()=>e)),this}initializeDisplayNameProvider(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().displayNameProvider));return this.addElement("displayNameProvider",(()=>e)),this.addElement("getDisplayNameByPath",(()=>(t,a)=>e().getDisplayNameByPath(t,a))),this}initializeExpressionDisplayNameProvider(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().expressionDisplayNameProvider));return this.addElement("expressionDisplayNameProvider",(()=>e)),this}initializeDataSourceHelper(){const e=A.computed((()=>this._reportcontext()&&this._reportcontext().dataSourceHelper));this.addElement("dataSourceHelper",(()=>e));const t=A.computed((()=>this._reportcontext()&&this._reportcontext().fieldListDataSourceHelper));return this.addElement("fieldListDataSources",(()=>A.computed((()=>t()&&t().fieldListDataSources())))),this._addDisposable(t),this}addSelection(e=(e=>{e.selection=this._selection;const t=A.computed((()=>this.buildingModel.surface()&&this.buildingModel.surface().rtl())),a=new kE(t);this._addDisposable(t),e.snapHelper=new B.SnapLinesHelper(this.buildingModel.surface,B.SnapLinesHelper.snapTolerance,a),e.editableObject=B.CombinedObject.getEditableObject(e.selection,this.buildingModel.undoEngine,((e,t,a)=>this._customMergeEngine.customMerge(e,t,a))).extend({throttle:1}),e.addDragDrop((t=>{t.dragHelperContent=new B.DragHelperContent(e.selection),t.dragDropStarted=B.DragDropHandler.started,t.addDragDropHandler("dragHandler",new LE(this.buildingModel.canAddItems,this.buildingModel.surface,e.selection,this.buildingModel.undoEngine,e.snapHelper,t.dragHelperContent)),t.addDragDropHandler("toolboxDragHandler",new AE(this.buildingModel.surface,this._selection,this.buildingModel.undoEngine,e.snapHelper,t.dragHelperContent,Op(),this._designerCallbacks.componentAdded)),t.addDragDropHandler("fieldDragHandler",new yE(this.buildingModel.canAddItems,this.buildingModel.surface,this._selection,this.buildingModel.undoEngine,e.snapHelper,t.dragHelperContent,this.buildingModel.fieldListDataSources,this._designerCallbacks.componentAdded))})),e.addResize((t=>{t.handler={starting:()=>{this.buildingModel.inlineTextEdit.visible()&&this.buildingModel.inlineTextEdit._showInline(!1),this.buildingModel.richInlineControl&&this.buildingModel.richInlineControl.visible()&&this.buildingModel.richInlineControl._showInline(!1),this._selection.expectClick=!0,this.buildingModel.undoEngine().start()},stopped:()=>{this.buildingModel.undoEngine().end(),setTimeout((()=>{this._selection.expectClick=!1}),100)},disabled:B.DragDropHandler.started,snapHelper:e.snapHelper}}))})){return super.addSelection(e),this}addToolboxItems(e){return super.addToolboxItems(e),this}addGroupedToolboxItems(){return super.addGroupedToolboxItems(),this}addControlProperties(e,t,a){return super.addControlProperties(e,t,this._accessibilityProvider),this}createControlProperties(e,t,a){const i=super.createControlProperties(e,t,a);return i.createEditorAddOn=e=>{const t=(0,K.unwrapEditor)(e),a=new ww(t,i.popupService),r=new Ew(t,i.popupService,"dxrd-svg-properties-propertyexpression");return t._disposables.push(a,r),{templateName:"dx-editor-addons",data:[a,r]}},i}addMenu(e=(e=>{})){const t=new VV;return e(t),this._disposables.push(t),(0,B.extend)(this.getModel(),t.generate()),this}addControlsHelper(e=(e=>{const t=A.computed((()=>this._reportcontext()&&this._reportcontext().controlsHelper));this._addDisposable(t);const a=new xE(t);e.addControlsHelper(a).addControlsStore()})){return super.addControlsHelper(e),this}addSmartTagModel(){let e=Object.assign({},Xp());(0,B.extend)(e,{default:e=>{const t=[];return RM()&&t.push(new wV(e,this.buildingModel.popularProperties)),Hp()!==nv.Bindings&&t.push(new EV(e,this.buildingModel.activatedExpressionEditor)),t}});const t=new RV(this._selection,this.buildingModel.surface,this.buildingModel.verticalScrollOffset,e);return this.addElement("smartTagModel",(()=>t)),this._disposables.push({dispose:()=>e={}}),this}setControlsHelperFilter(e){return this.buildingModel.controlsStore.setFilter(e),this}_createPropertiesTab(){const e=()=>!!this.buildingModel.model(),t=()=>{var e,t,a;return this.buildingModel.propertyGrid.focusedItem()instanceof Array||!(null===(a=null===(t=null===(e=this.options.data)||void 0===e?void 0:e.dataSourceSettings)||void 0===t?void 0:t.allowEditDataSource)||void 0===a||a)&&this.buildingModel.propertyGrid.focusedItem()instanceof ah},a=new L.TabInfo({text:"Properties",template:"dxrd-propertiestab",model:this.buildingModel.propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:e(),disabled:t()});return this._addDisposable(this.buildingModel.model.subscribe((t=>{a.visible=e()}))),this._addDisposable(this.buildingModel.propertyGrid.focusedItem.subscribe((e=>{a.disabled=t()}))),a}_createExpressionsTab(e){const t=A.computed((()=>{const e=this.buildingModel.editableObject();return e&&e.expressionObj}));let a=null;this._addDisposable(e.subscribe((e=>{a.cleanEditors()}))),a=new K.ObjectProperties(t),this._addDisposable(a),this._addDisposable(t);const i=()=>this.buildingModel.model()&&this.buildingModel.model()._dataBindingMode()!==nv.Bindings,r=()=>!t(),o=new L.TabInfo({text:"Expressions",template:"dxrd-expressions-tab",model:a,localizationId:"DevExpress.XtraReports.UI.XRControl.Expressions",imageClassName:"expressions",imageTemplateName:"dxrd-svg-tabs-expressions",visible:i(),disabled:r()});let s;return this._addDisposable(this.buildingModel.model.subscribe((e=>{e&&this._addDisposable(e._dataBindingMode.subscribe((e=>{o.visible=i()}))),o.visible=i()}))),this._addDisposable(t.subscribe((e=>{o.disabled=r()}))),this._addDisposable({dispose:o.events.on("activeChanged",(e=>{o.active&&o.visible?(s=this.buildingModel.controlsStore.getFilter(),this.buildingModel.controlsStore.setFilter(bP)):void 0!==s&&this.buildingModel.controlsStore.setFilter(s)}))}),o}_createReportExplorerTab(){var e;const t=new gw(this.buildingModel.model,this.buildingModel.editableObject,(e=>{const t=this.buildingModel.tabPanel.getTabByName("Properties");t.model.focusedItem(e),this.buildingModel.tabPanel.selectTab({model:t})}),new wE(this.buildingModel.canAddItems,this.buildingModel.surface,this.buildingModel.selection,this.buildingModel.undoEngine,this.buildingModel.dragHelperContent),this.buildingModel.selection,null===(e=this.options.data)||void 0===e?void 0:e.dataSourceSettings);this._addDisposable(t);const a=()=>!!this.buildingModel.model(),i=new L.TabInfo({text:"Report Explorer",template:"dxrd-reportexplorerwrapper",model:t,localizationId:"ReportStringId.UD_Title_ReportExplorer",imageClassName:"reportexplorer",imageTemplateName:"dxrd-svg-tabs-reportexplorer",visible:a()});return this._addDisposable(this.buildingModel.model.subscribe((()=>{i.visible=a()}))),i}_createFieldListTab(e,t){var a,i,r;const o={itemsProvider:this.buildingModel.fieldListProvider,factory:new hw,selectedPath:this.buildingModel.selectedPath,treeListController:new JE(this.buildingModel.fieldListActionProviders,(0,B.createActionWrappingFunction)("WrapForFieldList",((e,t)=>{this.buildingModel.undoEngine().start();const a=t(e);this.buildingModel.undoEngine().end(),a&&a.name&&this.buildingModel.selectedPath(e.path+"."+A.unwrap(a.name))})),this.buildingModel.fieldDragHandler,e.customizeFieldListActions)},s=A.observable(!0),n=A.observable([]);this.addDisposable(o.treeListController.subscribeOnSelectedItemChange((e=>{var t,a;s(null===(a=null===(t=this.getModel().parts)||void 0===t?void 0:t.some((e=>e.id===tR.ContextMenu)))||void 0===a||a),s()&&o.treeListController.selectedItem?n(o.treeListController.getActions(o.treeListController.selectedItem)):n([])}))),this.getModel().ContextMenusEnabled||(this.getModel().ContextMenusEnabled=A.observable(!0));const l=new B.ContextMenuProvider({actions:n,target:"."+this.buildingModel.containerClass+" .dxrd-fieldslist-context-menu-container",getClickAtionParams:()=>o.treeListController.selectedItem,contextMenusEnabled:this.getModel().ContextMenusEnabled});this.addContextMenu(l);const d={treeListOptions:o,startWizard:()=>{t()},visible:()=>{const e=this.getModel();return null!=e&&e.multiQueryDataSourceWizard.canRunWizard()},addDataSourceButtonText:(0,L.getLocalization)("Add Data Source","ASPxReportsStringId.ReportDesigner_FieldList_AddDataSource"),allowAddDataSource:null===(r=null===(i=null===(a=this.options.data)||void 0===a?void 0:a.dataSourceSettings)||void 0===i?void 0:i.allowAddDataSource)||void 0===r||r,fieldListContextMenu:l,useContextMenu:s},c=()=>!!this.buildingModel.model(),p=new L.TabInfo({text:"Fields",template:"dxrd-fieldlistwrapper",model:d,localizationId:"ReportStringId.UD_Title_FieldList",imageClassName:"fieldlist",imageTemplateName:"dxrd-svg-tabs-fieldlist",visible:c()});return this._addDisposable(this.buildingModel.model.subscribe((()=>{p.visible=c()}))),p}addTabPanel(e,t=(()=>[this._createPropertiesTab(),this._createExpressionsTab(this._reportcontext),this._createFieldListTab(this._designerCallbacks,(()=>{this.buildingModel._wizardRunner.run("DataSourceWizard")})),this._createReportExplorerTab()])){super.addTabPanel(e,t);const a=this._reportcontext.subscribe((e=>{e&&(a.dispose(),this.buildingModel.tabPanel.collapsed=!1)}));return this._addDisposable(a),this}_createActionsStorage(e){const t={};for(let a=e.length-1;a>-1;a--)t[e[a].id]=e[a].clickAction;return t}addOpenReportMethod(){return this.addElement("openReport",(()=>e=>{this.buildingModel.navigateByReports.addTab(null,A.observable(e))})),this}addShowPreviewMethod(){return this.addElement("showPreview",(()=>()=>{const e=this.buildingModel.reportPreviewModel.reportPreview;if(e.previewVisible=!0,this.buildingModel.model())e.initialize(Uw.initializePreview(this.buildingModel.model()));else{const t=this.buildingModel.model.subscribe((a=>{t.dispose(),e.initialize(Uw.initializePreview(this.buildingModel.model()))}))}})),this}initializeUIEffects(e,t){this._addDisposable(this.buildingModel.editableObject.subscribe((()=>{const e=k.fn.constructor(".dxrd-designer .dxrd-properties-wrapper").find(".dx-scrollview");if(e.length){const t=_N().getInstance(e.get(0));t&&t.scrollTo&&t.scrollTo(0)}})));const a=(0,B.updateSurfaceContentSize)(this.buildingModel.surfaceSize,t,this.rtl),i=yP(this.buildingModel.surfaceSize,t,this.rtl),r=()=>{if(!this.buildingModel)return;this.buildingModel.localizationMode()?i():a();const e=k.fn.constructor(t).find(".dxrd-designer").eq(0).find(".dxrd-surface-wrapper .dxrd-content-panel-wrapper").eq(0);d(e.height()),c(e.width())};let o=null;const s=()=>{o&&clearTimeout(o),o=setTimeout((()=>{r()}),1)},n=A.computed((()=>{if(this.buildingModel.surface())return s(),this.buildingModel.surface().effectiveHeight()})),l=A.computed((()=>{if(this.buildingModel.surface())return s(),this.buildingModel.surface().pageWidth()})),d=A.observable(n()),c=A.observable(l()),p=A.observable(0),u=A.observable(0);return this._addDisposable(A.computed((()=>{let e=0,t=0;[0,0].forEach((()=>{t=n()-(d()-e)>.5?20:0,e=l()-(c()-t)>.5?20:0})),u(e),p(t)}))),this._updateCallback=()=>{this.buildingModel.reportPreviewModel.reportPreview.previewVisible||r()},window.addEventListener("resize",this._updateCallback),this.buildingModel.onViewPortScroll=e=>{const t=k.fn.constructor(e),a=t.closest(".dxrd-surface");a.find(".dxrd-bands-panel-wrapper").scrollTop(t.scrollTop()),a.find(".dxrd-hruler-wrapper").scrollLeft(t.scrollLeft())},this.addElement("verticalScrollOffset",(()=>p)),this.addElement("horizontalScrollOffset",(()=>u)),this._addDisposable(n),this._addDisposable(l),this._addDisposable({dispose:this.buildingModel.tabPanel.events.on("widthChanged",(e=>{s()}))}),this._addDisposable(this.buildingModel.localizationEditor.width.subscribe((()=>{s()}))),this._addDisposable(this.buildingModel.localizationMode.subscribe((e=>{s()}))),this.buildingModel.updateSurfaceSize=()=>{r()},this._addDisposable(this.buildingModel.navigateByReports.height.subscribe((()=>{s()}))),e&&this.buildingModel.updateSurfaceSize(),this}_createNewReportFromWizardState(e,t,a,i,r){eR.generateReportFromWizardState(a,e._requestModelType,i(),(t=>{e.events.call("beforeFinish",{state:a,wizardModel:t})})).done((e=>{const a=JSON.parse(e.reportModel),i=new Ly(a,void 0,e.knownEnums);i.dataSourceRefs=e.dataSourceRefs,t.navigateByReports.addTab(i,A.observable(""),void 0,i.displayNameObject()||i.name()),t.isDirty(!0),t.isLoading(!1),r.resolve(i)})).fail((()=>{r.reject()}))}_createNewViaWizardAction(e,t,a){const i={id:IN.NewReportViaWizard,container:"menu",text:"New via Wizard...",displayText:()=>(0,L.getLocalization)("New via Wizard...",Rw.NewViaWizard),imageClassName:"dxrd-image-new-via-wizard",imageTemplateName:"dxrd-svg-menu-new_via_wizard",disabled:A.observable(!1),selected:A.observable(!1),visible:!0,hotKey:{ctrlKey:!0,keyCode:"W".charCodeAt(0)},clickAction:()=>t._wizardRunner.run("NewViaReportWizard")};return t._wizardRunner.registerCommand("NewViaReportWizard",(()=>{e instanceof hV&&(i.selected(!0),t.appMenuVisible(!0),t.isMenuCollapsed(!0),e._onClose&&e._onClose((()=>{i.selected(!1),t.isMenuCollapsed(!1)}))),e.itemsProvider(this._createEmptyReportItemsProvider()),e.initialize(),e.start((i=>{t.isLoading(!0);const r=k.Deferred();return i.jsonDataSourceWizard.jsonSource&&i.newDataSource?eR.createNewJsonDataSource(i.jsonDataSourceWizard,hE.createJsonDataSourceInfo).done((o=>{i.dataSource=o,delete i.newDataSource,t.connections.json().every((e=>e.name!==i.jsonDataSourceWizard.newConnectionName))&&t.connections.json.push({description:i.jsonDataSourceWizard.newConnectionName,name:i.jsonDataSourceWizard.newConnectionName}),this._createNewReportFromWizardState(e,t,i,a,r)})).fail((()=>r.reject())):this._createNewReportFromWizardState(e,t,i,a,r),r.promise()}))}),(()=>{t.appMenuVisible(!1),e.isVisible(!1)})),i}_createLocalizationModeAction(e,t,a){const i={id:IN.Localization,container:"menu",text:"Localization...",displayText:()=>(0,L.getLocalization)("Localization...","ASPxReportsStringId.ReportDesigner_MenuItem_Localization"),imageClassName:"dxrd-image-menu-localization",imageTemplateName:"dxrd-svg-menu-localization",disabled:A.pureComputed((()=>!t())),visible:!0,selected:A.observable(!1),clickAction:()=>{a._wizardRunner.run("LocalizationCommand")}};return a._wizardRunner.registerCommand("LocalizationCommand",(()=>{a.appMenuVisible(!0),a.isMenuCollapsed(!0),i.selected(!0),a.localizationMode(!0),e.start(),k.fn.constructor(".dx-designer .dxrd-surface-wrapper").addClass("dxrd-surface-localization-mode"),e.translateHelper.move("dxrd-toolbar-wrapper"),e.translateHelper.move("dxrd-tab-panel-wrapper","+","translateX"),e.translateHelper.move("dxrd-navigation-panel-wrapper","+"),e.translateHelper.move("dxrd-error-panel","+")}),(()=>{i.selected(!1),a.isMenuCollapsed(!1),a.appMenuVisible(!1),a.localizationMode(!1),e.finish(),k.fn.constructor(".dx-designer .dxrd-surface-wrapper").removeClass("dxrd-surface-localization-mode"),e.translateHelper.reset("dxrd-toolbar-wrapper"),e.translateHelper.reset("dxrd-tab-panel-wrapper"),e.translateHelper.reset("dxrd-navigation-panel-wrapper"),e.translateHelper.reset("dxrd-error-panel")})),i}_createDesignInReportWizardAction(e,t,a){const i={id:IN.ReportWizard,container:"menu",text:"Design in Report Wizard...",displayText:()=>(0,L.getLocalization)("Design in Report Wizard...","ReportStringId.Verb_ReportWizard"),imageClassName:"dxrd-image-run-wizard",imageTemplateName:"dxrd-svg-menu-run_wizard",disabled:A.pureComputed((()=>!t.model()||t.model().language()!==Bu.defaultCulture)),visible:!0,selected:A.observable(!1),clickAction:()=>{t._wizardRunner.run("DesignInReportWizard")}},r=()=>{e instanceof hV&&(t.appMenuVisible(!0),t.isMenuCollapsed(!0),i.selected(!0),e._onClose&&e._onClose((()=>{i.selected(!1),t.isMenuCollapsed(!1)}))),e.itemsProvider(t.dataBindingsProvider()),e.initialize(mV(t.model())),e.start((i=>{const r=k.Deferred();if(i.newDataSource){const e=Qw(i.newDataSource);e.name=t.model().dataSourceHelper().getUniqueDataSourceName(e.name),i.newDataSource=Kw(e)}const o=i=>{t.isLoading(!0),t.navigateByReports.currentTab().undoEngine.start(),t.isDirty(!0);const o=this._patchReportBeforeRedesign(t.model(),i);eR.generateReportFromWizardState(i,e._requestModelType,a(),(t=>{e.events.call("beforeFinish",{state:i,wizardModel:t})}),o).done((e=>{const a=xP(e,t.model());t.model(a),r.resolve(a)})).fail((()=>{r.reject()})).always((()=>{t.navigateByReports.currentTab().undoEngine.end(),t.isLoading(!1)}))};return i.jsonDataSourceWizard.jsonSource&&i.newDataSource?eR.createNewJsonDataSource(i.jsonDataSourceWizard,hE.createJsonDataSourceInfo).done((e=>{i.dataSource=e,delete i.newDataSource,o(i)})).fail((()=>r.reject())):o(i),r.promise()}))},o=()=>{t.appMenuVisible(!1),e.isVisible(!1)};return t._wizardRunner.registerCommand("DesignInReportWizard",r,o),t._wizardRunner.registerCommand("ReportWizard",r,o),i}_createMultiQueryDataSourceWizardAction(e,t){const a=A.pureComputed((()=>!t.model())),i=A.pureComputed((()=>e.canRunWizard())),r={id:IN.AddMultiQuerySqlDataSource,container:"menu",text:"Add Data Source...",displayText:()=>(0,L.getLocalization)("Add Data Source...","ASPxReportsStringId.ReportDesigner_Wizard_AddDataSource"),imageClassName:"dxrd-image-add-datasource",imageTemplateName:"dxrd-svg-menu-add_datasource",disabled:a,visible:i,selected:A.observable(!1),clickAction:()=>t._wizardRunner.run("DataSourceWizard")};this._disposables.push(a,i);return t._wizardRunner.registerCommand("DataSourceWizard",(()=>{e instanceof yN.FullscreenDataSourceWizard&&(t.appMenuVisible(!0),t.isMenuCollapsed(!0),r.selected(!0),e._onClose&&e._onClose((()=>{r.selected(!1),t.isMenuCollapsed(!1)}))),e.initialize((0,yN._createDefaultDataSourceWizardState)()),e.start()}),(()=>{t.appMenuVisible(!1),e.isVisible(!1)})),r}_customizeDesignerActions(e,t,a,i,r){const o=e.model,s=e.reportPreviewModel.reportPreview,n=e.wizard,l=e.dataSourceWizard,d=e.localizationEditor,c=e.multiQueryDataSourceWizard,p=e.scriptsEditor;return u=>{var m,h,g,x,v,f;k.extend((0,B.findFirstItemMatchesCondition)(u,(e=>e.id===bN.ActionId.Copy)),{textId:Rw.Copy}),Li()&&(u.push({id:IN.NewReport,container:"menu",text:"New",displayText:()=>(0,L.getLocalization)("New","ReportStringId.UD_Capt_NewReport"),imageClassName:"dxrd-image-newreport",imageTemplateName:"dxrd-svg-menu-newreport",disabled:A.observable(!1),visible:!0,hotKey:{ctrlKey:!0,keyCode:"N".charCodeAt(0)},clickAction:()=>{e.isLoading(!0);const t=mV();t.reportType=bR.Empty,t.reportTemplateID=bR[bR.Empty];const a=k.Deferred();this._createNewReportFromWizardState(n,e,t,i,a),a.done((e=>{n.events.call("afterFinish",{state:t,wizardResult:e})})).fail((t=>{e.isLoading(!1)}))}}),u.push(this._createNewViaWizardAction(n,e,i)),u.push({id:IN.OpenReport,container:"menu",text:"Open",displayText:()=>(0,L.getLocalization)("Open",Rw.Open),imageClassName:"dxrd-image-open",imageTemplateName:"dxrd-svg-menu-open",disabled:A.observable(!1),visible:!0,hotKey:{ctrlKey:!0,keyCode:"O".charCodeAt(0)},clickAction:()=>{e.openReportDialog.show(e.navigateByReports.currentTab())}})),n&&u.push(this._createDesignInReportWizardAction(n,e,i)),u.push({id:IN.ValidateBindings,text:"Validate Bindings",displayText:()=>(0,L.getLocalization)("Validate Bindings","ASPxReportsStringId.ReportDesigner_ToolBarItemText_ValidateBindings"),imageClassName:"dxrd-image-validateBindingMode",imageTemplateName:"dxrd-svg-toolbar-validateBindingMode",disabled:A.pureComputed((()=>!o())),selected:e.validationMode,visible:!0,hasSeparator:!0,isContextMenuAction:!1,clickAction:()=>{e.validationMode(!e.validationMode())}});const b=e=>e?"dxrd-svg-toolbar-fullscreen-exit":"dxrd-svg-toolbar-fullscreen";if(u.push({id:IN.FullScreen,text:"Full Screen",displayText:()=>(0,L.getLocalization)("Full Screen","ASPxReportsStringId.ToolBarItemText_FullScreen"),imageClassName:"dxrd-image-fullscreen",imageTemplateName:b(B.koUtils.unwrap(e.fullScreen)),setImageTemplateNameChangedEvent:t=>{const a=e.fullScreen.subscribe((e=>t(b(e))));return()=>a()},selected:B.koUtils.unwrap(e.fullScreen),setSelectedChangedEvent:t=>{const a=e.fullScreen.subscribe(t);return()=>a()},visible:!0,isContextMenuAction:!1,clickAction:()=>{e.fullScreen(!e.fullScreen())}}),p&&u.push({id:IN.Scripts,text:"Scripts",displayText:()=>(0,L.getLocalization)("Scripts","ReportStringId.RepTabCtl_Scripts"),imageClassName:"dxrd-image-scripts",imageTemplateName:"dxrd-svg-toolbar-scripts",disabled:A.pureComputed((()=>!o())),visible:A.pureComputed((()=>!p.editorVisible())),hotKey:{ctrlKey:!0,keyCode:"R".charCodeAt(0)},clickAction:()=>{p.initialize(),p.editorVisible(!0)},hasSeparator:!0,isContextMenuAction:!1}),s){let e=null;this._addDisposable({dispose:s.events.on("previewVisibleChanged",(t=>{e&&e(t.newValue)}))});const t={id:IN.Preview,text:"Preview",displayText:()=>(0,L.getLocalization)("Preview","ASPxReportsStringId.ToolBarItemText_Preview"),imageClassName:"dxrd-image-preview",imageTemplateName:"dxrd-svg-preview-print_preview",templateName:s.canSwitchToDesigner?"dxrd-toolbar-two-way-switch":void 0,disabled:A.pureComputed((()=>!o())),visible:!s.previewVisible,setVisibleChangedEvent:t=>(e=e=>t(!e),()=>{e=void 0}),hotKey:{ctrlKey:!0,keyCode:"P".charCodeAt(0)},isContextMenuAction:!1,clickAction:()=>{s.previewVisible=!0,s._breadcrumb.reset(),s.initialize(Uw.initializePreview(o()))},hasSeparator:!0};t.contentData={items:[{getDisplayText:()=>(0,L.getLocalization)("Design","ASPxReportsStringId.ToolBarItemText_Design"),active:!0},{itemData:t,active:!1}]},u.push(t)}l&&(null===(g=null===(h=null===(m=this.options.data)||void 0===m?void 0:m.dataSourceSettings)||void 0===h?void 0:h.allowAddDataSource)||void 0===g||g)&&u.push({id:IN.AddSqlDataSource,container:"menu",text:"Add Data Source...",displayText:()=>(0,L.getLocalization)("Add Data Source...","ASPxReportsStringId.ReportDesigner_Wizard_AddDataSource"),imageClassName:"dxrd-image-add-datasource",imageTemplateName:"dxrd-svg-menu-add_datasource",disabled:A.pureComputed((()=>!o())),visible:!1,isContextMenuAction:!1,clickAction:()=>{l.initialize((0,yN._createDefaultDataSourceWizardState)()),l.start(),l.isVisible(!0)}}),c&&(null===(f=null===(v=null===(x=this.options.data)||void 0===x?void 0:x.dataSourceSettings)||void 0===v?void 0:v.allowAddDataSource)||void 0===f||f)&&u.push(this._createMultiQueryDataSourceWizardAction(c,e)),d&&u.push(this._createLocalizationModeAction(d,o,e));const y=e.navigateByReports.currentTab;u.push({id:IN.Save,container:"menu",text:"Save",displayText:()=>(0,L.getLocalization)("Save",Rw.Save),imageClassName:"dxrd-image-save",imageTemplateName:"dxrd-svg-menu-save",disabled:A.pureComputed((()=>!o()||y()&&!y().isDirty())),visible:!0,hotKey:{ctrlKey:!0,keyCode:"S".charCodeAt(0)},clickAction:()=>{if(Li()){const t=e.navigateByReports.currentTab();if(!t.isDirty())return;if(t.context().url()){const e={report:t.context().report,url:t.context().url(),cancel:!1};if(r.reportSaving&&r.reportSaving(e),e.cancel)return;SP.setData(t.context().report.serialize(),t.context().url()).done((e=>{t.isDirty(!1),r.reportSaved&&r.reportSaved({report:t.context().report,url:t.context().url()}),(0,B.ShowMessage)((0,L.getLocalization)("The report has been successfully saved.","ASPxReportsStringId.ReportDesigner_SaveReport_Message_OK"),B.NotifyType.success)})).fail((()=>{r.onServerError&&r.onServerError({state:"save",model:{report:t.context().report,url:t.context().url()}})}))}else e.saveReportDialog.show(t)}else o().save()}}),Li()&&u.push({id:IN.SaveAs,container:"menu",text:"Save As",displayText:()=>(0,L.getLocalization)("Save As",Rw.SaveAs),imageClassName:"dxrd-image-saveas",imageTemplateName:"dxrd-svg-menu-saveas",disabled:A.pureComputed((()=>!o())),visible:!0,clickAction:()=>{e.saveReportDialog.show(e.navigateByReports.currentTab())}}),u.push({id:IN.Exit,container:"menu",text:"Exit",displayText:()=>(0,L.getLocalization)("Exit","ReportStringId.UD_Capt_Exit"),imageClassName:"dxrd-image-exit",imageTemplateName:"dxrd-svg-menu-exit",disabled:A.observable(!1),visible:!0,clickAction:()=>{e.navigateByReports.closeAll().done((()=>{a&&a()}))}}),t&&t(u)}}_patchReportBeforeRedesign(e,t){var a;let i=!1;if(!t.newDataSource&&t.dataSource){const r=Qw(t.dataSource),o=e.dataSourceHelper().findDataSourceInfoByName(r.name);o&&(i=!0,(null===(a=e.dataSource())||void 0===a?void 0:a.name())!==r.name&&e.dataSource(o.data))}const r=e.serialize();return delete r.LocalizationItems,{json:JSON.stringify({XtraReportsLayoutSerializer:r}),useInitialDataSource:i}}addContextActions(e=(e=>{const t=()=>this.buildingModel.model()&&this.buildingModel.model().language()!==Bu.defaultCulture,a=[new FN(this.buildingModel.surface,this.buildingModel.selection),new VN(this.buildingModel.surface,this.buildingModel.selection),new AN(this._designerCallbacks.componentAdded,this.buildingModel),new ON(this.buildingModel.selection,this._designerCallbacks.componentAdded,t),new XN(this.buildingModel.selection,this._designerCallbacks.componentAdded,t),new WN(this.buildingModel.selection),new HN(this.buildingModel.selection),new MN(this.buildingModel.selection,t),new wN(this._converters,t),new kN(this._converters,t),new EM(this.buildingModel)];this._disposables.push(...a),e.actionProviders=a,e.createDefaultGroupAction(this.buildingModel.editableObject,this.buildingModel.undoEngine),e.createDefaultContextMenuActions(this.buildingModel.editableObject,this.buildingModel.undoEngine)})){return super.addContextActions(e),this}addActionList(e=(()=>{const e=A.computed((()=>{const e=this.buildingModel.designMode(),t=this.buildingModel.wizard&&this.buildingModel.wizard.isVisible(),a=this.buildingModel.dataSourceWizard&&this.buildingModel.dataSourceWizard.isVisible(),i=this.buildingModel.multiQueryDataSourceWizard&&this.buildingModel.multiQueryDataSourceWizard.isVisible(),r=this.buildingModel.localizationMode&&this.buildingModel.localizationMode();return e&&!t&&!a&&!i&&!r}));this._addDisposable(e);const t=new B.ActionLists(this.buildingModel.surface,this.buildingModel.selection,this.buildingModel.undoEngine,this._customizeDesignerActions(this.buildingModel,this._designerCallbacks.customizeActions,this._designerCallbacks.exitDesigner,(()=>this._reportcontext()&&this._reportcontext().state()||this.buildingModel.state),this._designerCallbacks),e,Tw(this._designerCallbacks.componentAdded),this.buildingModel.zoomStep,(e=>!this.buildingModel.canAddItems()));return this.addElement("actionStorage",(()=>k.extend({},this._createActionsStorage(t.menuItems),this._createActionsStorage(t.toolbarItems)))),t})){return super.addActionList(e),this}_createChartDesignerPart(e){const t=A.computed((()=>e()&&e().chartValueBindingProvider));this._addDisposable(t);const a=gE(this.buildingModel,this.buildingModel.dataSourceHelper,this.buildingModel.model,this.buildingModel.parameters,t,this._accessibilityProvider);return this.addElement("runChartDesigner",(()=>e=>{a.run(e)})),this.addElement("chartDataSources",(()=>A.computed((()=>{const e=this.buildingModel.controlsHelper.allControls().filter((e=>e instanceof nC)).map((e=>({displayName:e.name,value:e}))),t=this.buildingModel.dataSourceHelper()&&this.buildingModel.dataSourceHelper().usedDataSources()&&this.buildingModel.dataSourceHelper().usedDataSources().map((e=>({displayName:e.name,value:e.data})));return[].concat(e,t)})))),this._addDisposable(this.buildingModel.controlsHelper.allControls.subscribe((e=>{e.filter((e=>e instanceof dC)).forEach((t=>{t.isPivotGridDataSource()&&-1===e.indexOf(t.dataSource())&&t.dataSource(null)}))}))),this._addDisposable(a),{id:null,templateName:tR.ChartDialog,model:a}}_createWizardPart(e,t){return t instanceof yN.FullscreenWizard?{id:aR[e+"Fullscreen"],templateName:aR[e+"Fullscreen"].split("#")[0],model:t}:{id:aR[e],templateName:aR[e].split("#")[0],model:t}}addActivatedExpressionEditor(){const e=A.observable(null);return this.addElement("activatedExpressionEditor",(()=>e)),this.addElement("activateExpressionEditor",(()=>t=>{t.action(""),e(t.innerTemplate.data)})),this._addDisposable({dispose:()=>e(null)}),this}addParts(e=(e=>{const t=new Vw(this.buildingModel.controlsHelper,this.buildingModel.undoEngine,this._dataBiningMode);return"XRCrossTab"===this._defaultCrossTabControl&&this._converters.push(new zN(this.buildingModel.selection,this._reportcontext),new NN(this.buildingModel.selection)),this._converters.push(t),this._addDisposable(this._reportcontext.subscribe((e=>{e&&t.convert(e.report,this._convertBindingsToExpressions)}))),[B.DesignerBaseElements.MenuButton,B.DesignerBaseElements.Toolbox].forEach((t=>{const a=e.filter((e=>e.id===t))[0],i=e.indexOf(a);e.splice(i,1)})),e.push({id:B.DesignerBaseElements.GroupedToolbox,templateName:B.DesignerBaseElements.GroupedToolbox,model:this.buildingModel},{id:tR.NavigationPanel,templateName:tR.NavigationPanel,model:this.buildingModel.navigateByReports},{id:null,templateName:tR.ReportDialog,model:this.buildingModel.saveReportDialog},{id:null,templateName:tR.ReportDialog,model:this.buildingModel.saveReportDialogLight},{id:null,templateName:tR.ReportDialog,model:this.buildingModel.openReportDialog},{id:tR.MenuButton,templateName:tR.MenuButton,model:this.buildingModel},this._createChartDesignerPart(this._reportcontext),{id:null,templateName:tR.Parameters,model:this.buildingModel.parameters},...this._converters.map((e=>({id:null,templateName:tR.ReportConverterDialog,model:e})))),e.push({id:tR.ContextMenu,templateName:tR.ContextMenu,model:this.buildingModel}),BM.subscribe((e=>{this.getModel().ContextMenusEnabled(e)})),e})){return this.getModel().ContextMenusEnabled?this.getModel().ContextMenusEnabled(BM()):this.getModel().ContextMenusEnabled=A.observable(BM()),super.addParts(e),this._designerCallbacks.customizeParts&&this._designerCallbacks.customizeParts(this.buildingModel.parts),this}addDefaultAddons(e=[{id:aR.Preview,templateName:aR.Preview,model:this.buildingModel.reportPreviewModel.getViewModel()},this._createWizardPart("ReportWizard",this.buildingModel.wizard),{id:aR.DataSourceWizard,templateName:aR.DataSourceWizard.split("#")[0],model:this.buildingModel.dataSourceWizard},this._createWizardPart("MultiQueryDataSourceWizard",this.buildingModel.multiQueryDataSourceWizard),{id:aR.LocalizationEditor,templateName:aR.LocalizationEditor.split("#")[0],model:this.buildingModel.localizationEditor},{id:aR.ErrorPanel,templateName:aR.ErrorPanel,model:this.buildingModel.errorPanelViewModel},{id:aR.ExpressionEditor,templateName:aR.ExpressionEditor,model:this.buildingModel.activatedExpressionEditor}]){return this.addElement("addOns",(()=>A.observableArray(e))),this}tryAddSqlDataSourceEditorAddon(e=this._sqlDataSourceEditor.relationsEditor){return e&&this.buildingModel.addOns.push({id:aR.MasterDetailEditor,templateName:aR.MasterDetailEditor,model:e}),this}tryAddFederationDataSourceEditorAddon(e=this._federationDataSourceEditor.relationsEditor,t=this._federationDataSourceEditor.manageQueriesEditor,a=this._federationDataSourceEditor.queriesPopupHelper){return e&&this.buildingModel.addOns.push({id:aR.MasterDetailEditor,templateName:aR.MasterDetailEditor,model:e}),t&&this.buildingModel.addOns.push({id:aR.FederatedManageQueriesEditor,templateName:aR.FederatedManageQueriesEditor,model:t}),a&&this.buildingModel.addOns.push({id:aR.FederatedQueriesPopups,templateName:aR.FederatedQueriesPopups,model:a}),this}tryAddScriptEditorAddon(e){return this._tryAddScriptEditor(e)&&this.buildingModel.addOns.push({id:aR.ScriptEditor,templateName:aR.ScriptEditor,model:this.buildingModel.scriptsEditor}),this}tryAddInlineRichTextEdit(){const e=tf()(this._selection);return e&&this.addElement("richInlineControl",(()=>e)),this}onContextChanged(e,t=(e=>{e?(this.buildingModel.selectedPath(null),this.buildingModel.toolboxItems&&this.buildingModel.toolboxItems.forEach((e=>{e.disabled(!this.buildingModel.canAddItems())}))):(this.buildingModel.selection&&(this.buildingModel.selection.clear(),this.buildingModel.selection.focused(this.buildingModel.surface())),this.buildingModel.editableObject&&this.buildingModel.editableObject(null),this.buildingModel.toolboxItems&&this.buildingModel.toolboxItems.forEach((e=>{e.disabled(!0)})),this.buildingModel.popularProperties&&this.buildingModel.popularProperties.cleanEditors())})){return t(this._reportcontext()),this._addDisposable(this._reportcontext.subscribe((e=>t(e)))),this}configurateRtl(e){return this.rtl=!!e,CN()({rtlEnabled:!!this.rtl}),this}configureReportStorageRegistration(e,t){return Li(void 0===e?Li():e),this._allowMDI=!!Li()&&t,this}applyUri(e){return Wp(e.reportDesignerUri||Wp()),V(e.reportDesignerUri),this._previewUri=e.previewUri,this}initBindingMode(e,t){return this._dataBiningMode=e,this._convertBindingsToExpressions=t,this}initDefaultCrossTabControl(e){return this._defaultCrossTabControl=e,Gp(e||"XRCrossTab"),this}registerControls(e,t){return Hp(e||"Expressions"),cR(t),this}registerCustomControls(e){return uR(e),this}registerCustomExpressions(e,t){return hR(e),gR(t),this}addCallbacks(e){return this._callbacks=e,this._callbacks.designer||(this._callbacks.designer={}),this._callbacks.preview||(this._callbacks.preview={}),this._callbacks.designer.fieldLists=this._callbacks.designer.fieldLists||nE.fieldListCallback,this}addProcessErrorCallback(e=this._designerCallbacks&&this._designerCallbacks.onServerError){return this._disposables.push((0,B.processErrorEvent)(e)),this}runCustomizeToolboxEvent(e=this._designerCallbacks&&this._designerCallbacks.customizeToolbox){return e&&e(Op()),this}initCultureInfo(e){return k.extend(!0,fg.cultureInfo,e),this}updateFont(e){if(e){let t={};e instanceof Array?e.forEach((e=>t[e]=e)):t=e,this.buildingModel.updateFont(t),this.buildingModel.sortFont()}return this}initFormatStringPatterns(e){return e&&(e.standardPatterns&&Object.keys(e.standardPatterns).forEach((t=>{G.formatStringStandardPatterns[t]?G.formatStringStandardPatterns[t].patterns=e.standardPatterns[t].patterns:G.formatStringStandardPatterns[t]=e.standardPatterns[t]})),e.customPatterns&&Object.keys(e.customPatterns).forEach((t=>{Up()[t]=e.customPatterns[t]}))),this}addPopularProperties(e,t){super.addPopularProperties(e,this._accessibilityProvider),this.addElement("popularVisible",(()=>A.pureComputed((()=>!!wM.TaskGroupVisible()&&(this.buildingModel.popularProperties._get("_editors").some((e=>e._get("visible")))||this.buildingModel.contextActions&&this.buildingModel.contextActions().length>0&&this.buildingModel.contextActions().some((e=>!e.isContextMenuAction)))))));const a=A.observable(wM.QuickActionsVisible());return wM.QuickActionsVisible.subscribe((e=>a(null!=e&&e))),this.addElement("groupActionsVisible",(()=>a)),this}addInlineTextEdit(e){return this.addElement("inlineTextEdit",e||(()=>new B.InlineTextEdit(this._selection))),this}addStylesProjection(e=A.pureComputed((()=>this.buildingModel.model()&&this.buildingModel.model().styles))){return this.addElement("styles",(()=>e)),this}addFormattingRulesProjection(e=A.pureComputed((()=>this.buildingModel.model()&&this.buildingModel.model().formattingRuleSheet))){return this.addElement("formattingRuleSheet",(()=>e)),this}addReportExplorerProvider(e=new B.ObjectExplorerProvider([{model:this.buildingModel.model,name:"Report",className:"master_report"}],["bands","controls","rows","cells"],A.observable(null))){return this.addElement("reportExplorerProvider",(()=>e)),this}addControlsProjection(e=this.buildingModel.controlsHelper){return this.addElement("getControls",(()=>t=>A.pureComputed((()=>this._getControls(e.getControls(A.unwrap(t)),(e=>!(e instanceof Gv||e instanceof Ly))))))),this.addElement("controls",(()=>this._getControls(e.allControls,(e=>!(e instanceof Gv||e instanceof Ly))))),this}addBandsProjection(e=this.buildingModel.controlsHelper){return this.addElement("bands",(()=>(t,a)=>this._getControls(e.allControls,(e=>e instanceof Gv&&(!t||t(e))),a))),this}addWizardRunner(){return this.addElement("_wizardRunner",(()=>new Mw({visible:this.getModel().appMenuVisible,collapsed:this.getModel().isMenuCollapsed}))),this}addWizards(e,t,a){const i=A.pureComputed((()=>{const e=this.buildingModel.dataSourceHelper()&&this.buildingModel.dataSourceHelper().usedDataSources();return e&&e.filter((e=>!!e.data))})),r=A.pureComputed((()=>{var e;return(null===(e=this.buildingModel.dataSourceHelper())||void 0===e?void 0:e.availableDataSources)||[]}));this._disposables.push(i,r);const o=new zM(e,t,this._designerCallbacks,this.rtl,i,r);return this.addElement("connections",(()=>e)),a(o),o.reportWizard&&(this.addElement("registerReportWizardPages",(()=>o.registerReportWizardPages)),this.addElement("wizard",(()=>o.reportWizard))),o.dataSourceWizard&&this.addElement("dataSourceWizard",(()=>o.dataSourceWizard)),o.multiQueryDataSourceWizard&&(this.addElement("registerMultiQueryDataSourceWizardPages",(()=>o.registerMultiQueryDataSourceWizardPages)),this.addElement("multiQueryDataSourceWizard",(()=>o.multiQueryDataSourceWizard))),this._federationDataSourceEditor=o.federationDataSourceEditor,this._sqlDataSourceEditor=o.sqlDataSourceEditor,this._jsonDataSourceEditor=o.jsonDataSourceEditor,this._objectDataSourceEditor=o.objectDataSourceEditor,this._dataSourceActionProvider=o.dataSourceActionProvider,this}addLocalizationEditor(){return this.addElement("localizationEditor",(()=>new Hw({controlScrollingTool:this.buildingModel.controlScrollingTool,report:()=>this.buildingModel.model(),selection:this.buildingModel.selection}))),this.addElement("localizationMode",(()=>A.observable(!1))),this.addElement("isLocalized",(()=>e=>this.buildingModel.model()&&this.buildingModel.model()._localization.hasCulture(e))),this}addStaticContext(){return(0,B.appendStaticContextToRootViewModel)(this.buildingModel,{config:CN(),_static:Object.assign(Object.assign({},B.staticContext._static),{PivotGridFieldViewModel:rC,SortBySummaryInfoCondition:aC,LookUpValue:Bb,DragDropHandler:B.DragDropHandler,getControlFullName:B.getControlFullName,editorTemplates:K.editorTemplates,formattingRuleSerializationsInfo:Ph,StylesEditorHeaderModel:vR,TreeListController:G.TreeListController,TableOfContentsLevel:kP,propertiesGridEditorsPaddingLeft:G.propertiesGridEditorsPaddingLeft,CustomizeLabelPage:LB,formatSearchResult:Nh.formatSearchResult})}),this}tryApplyBindings(e,t){if(e){this._designerCallbacks.beforeRender&&this._designerCallbacks.beforeRender(this),k.fn.constructor(t).children().remove(),A.applyBindings(this.buildingModel,t),this.buildingModel.afterRender();const e=()=>{this.buildingModel.dispose()};(0,B.addDisposeCallback)(t,e)}return this}dispose(){window.removeEventListener("resize",this._updateCallback),window.removeEventListener("resize",this.buildingModel.reportPreviewModel.resizeCallback),super.dispose(),Op().dispose(),this.removeProperties()}}function MM(e,t,a,i,r,o,s,n,l=!0){const d=[];return i&&i.localization&&(0,L.addCultureInfo)({messages:i.localization}),a&&a.designer&&a.designer.customizeLocalization&&a.designer.customizeLocalization(d),(0,B.resolveFromPromises)(d,(()=>(0,B.troubleshootingPageWrapper)((()=>function(e,t,a,i,r,o,s,n=!0){var l,d,c;const p=new B.SurfaceSelection,u=new VM({allowMDI:t.allowMDI,reportStorageWebIsRegister:t.reportStorageWebIsRegister,callbacks:a,rtl:s,selection:p,availableDataSources:t.availableDataSources,knownEnums:i,reportUrl:t.reportUrl,state:t.state,reportPreviewSettings:t.reportPreviewSettings,data:t});return t.wizardSettings=BR.prototype.createDefault(t.wizardSettings),u.applyUri({reportDesignerUri:r,previewUri:o}).initBindingMode(t.dataBindingMode,t.convertBindingsToExpressions).initDefaultCrossTabControl(t.defaultCrossTabControl).subscribeIncomeReport(t.report,t.reportUrl,t.dataSourceRefs,i).addFlagsAndInitProperties(e).addReportUrls(t.subreports).addPreview({callbacks:a.preview,element:e,handlerUri:o,parametersInfo:{knownEnums:i},rtl:s,progressBarSettings:null===(l=t.reportPreviewSettings)||void 0===l?void 0:l.progressBarSettings,exportSettings:null===(d=t.reportPreviewSettings)||void 0===d?void 0:d.exportSettings,searchSettings:null===(c=t.reportPreviewSettings)||void 0===c?void 0:c.searchSettings}).initializeCalculatedFieldsSource().initializeFieldListItemsExtenders().initializeParameters().initializeWatermarks().initializeFieldListProvider().initializeReportItemsProvider().initializeDataBindingsProvider().initializeDisplayNameProvider().initializeExpressionDisplayNameProvider().initializeDataSourceHelper().registerCustomExpressions(t.customGlobalExpressions,t.customReportExpressions).registerControls(t.dataBindingMode,u.buildingModel.reportItemsProvider).registerCustomControls(t.customControls).runCustomizeToolboxEvent().addSelection().addToolboxItems((()=>(0,B.getToolboxItems)(Op().controlsMap,"misc"))).addGroupedToolboxItems().addControlProperties(Object.keys(xN).reduce(((e,t)=>("Styles"!==t?e=e.concat(xN[t].info):e.push(vg),e)),[]),xN).addStaticContext().addContextActions().addPopularProperties(Op()).addControlsHelper().setControlsHelperFilter((e=>{var a,i;return!(!fP(e)||null!==(i=null===(a=null==t?void 0:t.dataSourceSettings)||void 0===a?void 0:a.allowEditDataSource)&&void 0!==i&&!i&&e instanceof ah)})).addProcessErrorCallback().initCultureInfo(t.cultureInfoList).updateFont(t.cultureInfoList&&t.cultureInfoList.fontSet).initFormatStringPatterns(t.formatStringData).onContextChanged(t.subreports).addMenu().addInlineTextEdit().addNavigateToControl(e).addLocalizationEditor().tryAddInlineRichTextEdit().addReportDialogs((e=>{const t=u.buildingModel.reportUrls;e.createOpenReportDialog(t,u.buildingModel.navigateByReports),e.createSaveReportDialog(t),e.createSaveReportDialogLight()})).addWizardRunner().addWizards({sql:A.observableArray(t.wizardConnections&&t.wizardConnections.sql),json:A.observableArray(t.wizardConnections&&t.wizardConnections.json)},t.wizardSettings,(e=>{var a,i,r,o;const s=u.buildingModel,n=()=>u.reportContext()&&u.reportContext().state()||u.buildingModel.state;e.createMultipleQueriesWizardCallbacks(u.buildingModel.dataBindingsProvider,s.model,n),e.createSqlDataSourceWizard(t.disableCustomSql,u.buildingModel.dataBindingsProvider,s.model),e.createMultiQueryDataSourceWizard(t.disableCustomSql,void 0,t.allowCreateNewJsonConnection),e.createSqlDataSourceEditor({dataSourceHelper:s.dataSourceHelper,fieldListProvider:s.fieldListProvider,model:s.model,dataSourceWizard:e.dataSourceWizard,undoEngine:s.undoEngine,rtl:s.rtl,allowEditDataSource:null===(i=null===(a=null==t?void 0:t.dataSourceSettings)||void 0===a?void 0:a.allowEditDataSource)||void 0===i||i,allowRemoveDataSource:null===(o=null===(r=null==t?void 0:t.dataSourceSettings)||void 0===r?void 0:r.allowRemoveDataSource)||void 0===o||o}),e.createReportWizard({data:t,dataSourceHelper:s.dataSourceHelper,fieldListProvider:s.fieldListProvider,isDirty:s.isDirty,isLoading:s.isLoading,model:s.model,navigation:s.navigateByReports,state:n,undoEngine:s.undoEngine})})).initializeFieldListActionProviders().addTabPanel().addErrorPanelViewModel(e,t.errorPanelSettings||{}).addActivatedExpressionEditor().addDefaultAddons().tryAddSqlDataSourceEditorAddon().tryAddFederationDataSourceEditorAddon().tryAddScriptEditorAddon(t.isScriptsDisabled).addActionList().addStylesProjection().addFormattingRulesProjection().addReportExplorerProvider().addControlsProjection().addBandsProjection().addParts().tryApplyBindings(n,e).initializeUIEffects(n,e).addSmartTagModel().addShowPreviewMethod().addOpenReportMethod().getModel()}(e,t,a,r,o,s,n,l)),t.developmentMode,e))).done((e=>{a&&a.designer&&a.designer.customizeWizard&&(a.designer.customizeWizard("ReportWizard",e.wizard),a.designer.customizeWizard("SingleQueryDataSourceWizard",e.dataSourceWizard),e.multiQueryDataSourceWizard&&a.designer.customizeWizard("DataSourceWizard",e.multiQueryDataSourceWizard))}))}function kM(e,t,a,i){if(!e)return;if($i(!!e.limitation),vp($i()),e.availableCultures&&(0,Bu.availableCultures)(e.availableCultures.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t.Name]:t.DisplayName})),{})),e.dataSources&&e.dataSourcesData)for(let t=0;t<e.dataSources.length;t++){e.dataSources[t].data=e.dataSourcesData[t]}e.reportModel?e.reportModel=JSON.parse(e.reportModel):e.reportModel=Oy.defaultReport;(0,B.initGlobalize)(e),e.reportModelRootName=(e=>{if(!e["@ControlType"])for(const t in e)if(e.hasOwnProperty(t))return t;return"XtraReportsLayoutSerializer"})(e.reportModel);const r={customPatterns:{},standardPatterns:{}};e.formatStringData&&(e.formatStringData.customPatterns.forEach((function(e){r.customPatterns[e.Key]=e.Value})),e.formatStringData.standardPatterns.forEach((function(e){r.standardPatterns[e.Key]=e.Value}))),e.fieldListMaxNestingLevelUpdate&&(QE(e.fieldListMaxNestingLevelUpdate),(0,G.maxSearchLevel)(e.fieldListMaxNestingLevelUpdate));const o={report:A.observable({}),errorPanelSettings:e.errorPanelSettings,reportUrl:A.observable(e.reportUrl),availableDataSources:e.dataSources,allowMDI:e.allowMDI,dataSourceRefs:e.dataSourceRefs,dataSourceSettings:e.dataSourceSettings,dataBindingMode:e.dataBindingMode||"Expressions",defaultCrossTabControl:e.defaultCrossTabControl||"XRCrossTab",convertBindingsToExpressions:e.convertBindingsToExpressions||hP.Prompt,subreports:e.subreports,cultureInfoList:e.cultureInfoList,formatStringData:r,state:{reportExtensions:e.reportExtensions},isReportServer:e.internalSettings&&e.internalSettings.isReportServer,wizardSettings:e.wizardSettings,wizardConnections:e.wizardConnections,disableCustomSql:e.disableCustomSql,isScriptsDisabled:!e.scriptsEnabled,allowCreateNewJsonConnection:e.allowCreateNewJsonConnection,reportStorageWebIsRegister:e.reportStorageWebIsRegister,reportPreviewSettings:e.reportPreviewSettings,reportWizardTemplates:e.reportWizardTemplates,customControls:e.customControls,customGlobalExpressions:e.customGlobalExpressions,customReportExpressions:e.customReportExpressions,developmentMode:e.developmentMode};return e.queryBuilderHandlerUri&&(0,fN.HandlerUri)(e.queryBuilderHandlerUri),MM(t,o,a||{},e,e.knownEnums,e.handlerUri,e.viewerHandlerUri,e.rtl,i).done((t=>{setTimeout((()=>{o.report(e.reportModel),t.isLoading&&t.isLoading(!1)}),1)}))}(0,B.useKoIntegration)();class AM extends B.JSDesignerBindingCommon{constructor(e,t){super(e,t),this._model=null,this._deferreds=[],$i(e.limitation),vp($i()),e.designerModel=(0,B._wrapModelInObservable)(e.designerModel),this.sender=new vN(e.designerModel),this._initializationData=A.isObservable(e.initializationData)?e.initializationData:A.observable(e.initializationData),e.callbacks&&e.callbacks._eventSenderCreated&&e.callbacks._eventSenderCreated(this.sender),this._callbacks=this._initializeCallbacks(),this._callbacks&&this._callbacks.designer.onInitializing&&this._callbacks.designer.onInitializing()}_applyBindings(e,t){(0,B.troubleshootingPageWrapper)((()=>{this.sender.designerModel=e,this._disposables.push(e);const a=e?this._templateHtml:k.fn.constructor("<div>");t.children().remove();const i=t.append(a).children()[0];if(!i)return;A.cleanNode(i),this._callbacks&&this._callbacks.designer.beforeRender&&this._callbacks.designer.beforeRender(e),A.applyBindings(e,i),e.afterRender(),this._fireEvent("Init");const r=setTimeout((()=>{e&&e.updateSurfaceSize()}),1);this._disposables.push({dispose:()=>clearTimeout(r)})}),this.developmentMode,t)}_initializeCallbacks(){if(this._options.callbacks){const e=Eh.EventGenerator.generatePreviewEvents(((e,t)=>{this._fireEvent(e,t)}),"Preview"),t=Eh.EventGenerator.generateDesignerEvents(((e,t)=>{this._fireEvent(e,t)}));this._checkCallbackName(e),this._checkCallbackName(t);return{preview:this._generateCallbackDictionary(e,"preview"),designer:this._generateCallbackDictionary(t,"designer")}}}_createModel(e,t){return kM(e,t,this._callbacks,!1)}_showErrorInfo(e,t,a,i){const r=[];e&&e.status&&r.push(e.status),a&&r.push(a);const o=(0,B.getLocalization)("The page is blank because the Report Designer failed to load the report. Consult the developer for assistance.\n Use development mode for detailed information.","ASPxReportsStringId.ReportDesigner_GetReportDesignerModel_Error");this.developmentMode?((0,B.assignTroubleshootingPage)(i),console.log("Review the following help topic to diagnose a problem: 'https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx'."),e&&e.responseText&&console.log(e.responseText)):(0,B.ShowMessage)(o)}_getDesignerModelRequest(e,t){const a=this._options.requestOptions,i=this._getServerActionUrl(a.host,a.getDesignerModelAction),r=(e,a,i,r,o)=>{if(this._showErrorInfo(i,r,o,t),this._callbacks&&this._callbacks.designer&&this._callbacks.designer.onServerError&&this._callbacks.designer.onServerError({jqXHR:i,textStatus:a,data:e,getRequestDetails:r}),o)throw o},o={ajaxSetup:L.ajaxSetup,fetchSetup:L.fetchSetup},s=L.requestManager.getInstance(o).sendRequest({url:i,type:"POST",data:{reportUrl:e,designerModelSettings:this._options.designerModelSettings}}),n=k.Deferred();this._deferreds.push(n),s.done(n.resolve).fail(n.reject),n.done(((t,o,s)=>{if(t.error)return r(t,o,s,(()=>({url:i,data:{reportUrl:e}})),t.error);t.handlerUri=this._getServerActionUrl(a.host,t.handlerUri),t.viewerHandlerUri=this._getServerActionUrl(a.host,t.viewerHandlerUri),t.queryBuilderHandlerUri=this._getServerActionUrl(a.host,t.queryBuilderHandlerUri),this._initializationData(t)})).fail(((t,a,o)=>{if(!t&&!o)return;const s=[];this._callbacks&&this._callbacks.designer&&this._callbacks.designer.customizeLocalization&&this._callbacks.designer.customizeLocalization(s),(0,B.resolveFromPromises)(s,(()=>{r({error:o},a,t,(()=>({url:i,data:{reportUrl:e}})),o)}))}))}dispose(){(this._deferreds||[]).forEach((e=>{e.reject()})),super.dispose()}applyBindings(e){const t=k.fn.constructor(e);if(t.addClass("dx-designer"),this._createDisposeFunction(e),this._options.undoEngine)return void this._applyBindings(this._options,t);const a=a=>{this.developmentMode=this.developmentMode||a.developmentMode,a.developmentMode=this.developmentMode,(0,B.troubleshootingPageWrapper)((()=>{this._model&&(this._disposables.splice(this._disposables.indexOf(this._model),1),A.cleanNode(e.firstChild),this._model.dispose()),this._createModel(a,e).done((e=>{this._model=e,this._applyBindings(e,t)}))}),this.developmentMode,t)};this._disposables.push(this._initializationData.subscribe((e=>{a(e)}))),this._options.requestOptions?this._getLocalizationRequest().done((e=>{e&&(0,L.addCultureInfo)(e)})).always((()=>{this._options.requestOptions.getDesignerModelAction?(A.isSubscribable(this._options.reportUrl)&&this._disposables.push(this._options.reportUrl.subscribe((e=>this._getDesignerModelRequest(e,t)))),this._getDesignerModelRequest(A.unwrap(this._options.reportUrl),t)):a(this._initializationData())})):a(this._initializationData())}}const LM="dxReportDesigner";class $M extends B.DxAnalyticsComponentCommon{getBindingName(){return LM}}(0,G.registerBaseBinding)(LM,"$data"),A.bindingHandlers[LM]={init:function(e,t){return new AM(A.unwrap(t())||{}).applyBindings(e),{controlsDescendantBindings:!0}}};const FM=A.bindingHandlers.svgAttrs;A.bindingHandlers.svgAttrs={update:function(e,t,a,i){FM.update(e,t,a,i),i instanceof uC&&e.setAttribute("preserveAspectRatio","none")}};const OM=[{propertyName:"dataMember",modelName:"@DataMember"},{propertyName:"dataSource",modelName:"@DataSource",link:!0}],XM={propertyName:"value",displayName:"Value Data Members",editor:jp.getEditor("chartValueBinding"),localizationId:"DevExpress.XtraCharts.SeriesBase.ValueDataMembers"},HM=[{propertyName:"misc",displayName:"Misc",editor:K.editorTemplates.getEditor("objecteditor"),info:Ep,localizationId:"ChartStringId.PropertyGridCategory_Misc"},{propertyName:"report",displayName:"Report Data",localizationId:"ReportStringId.CatReportData",editor:K.editorTemplates.getEditor("objecteditor"),info:[XM]}];class WM extends wp{constructor(e,t){super(e,t),this.misc=this._mapObject(Ep),this.misc.isPropertyDisabled=e=>"value"===e&&null!=this.dataMember(),this.report=this._createReportDataProperty()}getInfo(){return[].concat([].concat(Ep,OM).map((e=>({propertyName:e.propertyName,modelName:e.modelName,link:e.link}))),HM)}_createReportDataProperty(){return{updateValue:(e,t)=>{if(e.fullPath)if(0===e.fullPath.indexOf("Parameters")){const a=e.fullPath.split(".").pop();this.dataSource(t.filter((e=>e.name===a))[0]),this.dataMember("Value")}else this.dataMember(e.path),this.dataSource(null);else this.dataMember(null),this.dataSource(null)},displayValue:e=>this.dataSource()?["Parameters",this.dataSource().name].join(" - "):this.dataMember()?[e.name,this.dataMember()].join(" - "):"",calculatePath:e=>this.dataSource()?["Parameters",this.dataSource().name].join("."):this.dataMember()?[e.ref||e.id,this.dataMember()].join("."):"",getInfo:()=>[XM],value:this._mapObject(OM)}}_mapObject(e){const t={getInfo:()=>e};for(let a=0;a<e.length;a++){const i=e[a].propertyName;t[i]=this[i]}return t.getPath=e=>this.getPath(e),t}}Rp(WM);const UM=DevExpress.registerComponent;var GM=e.n(UM);class jM extends(Ai()){_getDefaultOptions(){return k.extend(super._getDefaultOptions.apply(this),{openOnFieldClick:!1,secondAction:null})}_init(){super._init.apply(this),this._initSecondAction();const e=k.fn.constructor(this.element());this._koContext=A.contextFor(e[0])}_initSecondAction(){this._secondAction=this._createAction(this.option("secondAction"))}_render(){k.fn.constructor(this.element()).addClass("dx-eventdropdowneditor dx-selectbox"),super._render.apply(this)}_renderDropDownButton(){this._$ellipsisButton&&(this._$ellipsisButton.remove(),this._$ellipsisButton=null),super._renderDropDownButton.apply(this),this._$ellipsisButton=this._createEllipsisButton(),this._$ellipsisButton.prependTo(this._buttonsContainer()),this._attachEllipsisButtonClickHandler()}_createEllipsisButton(){const e=k.fn.constructor("<div>").addClass("dx-dropdowneditor-icon dxrd-ellipsis-image").append(G.SvgTemplatesEngine.templates["dxrd-svg-ellipsis"]);A.applyBindingsToDescendants(this._koContext,e[0]);const t=k.fn.constructor("<div>").dxButton({focusStateEnabled:!1,disabled:this.option("readOnly")}).removeClass("dx-button");return t.addClass("dx-button-normal dx-dropdowneditor-button dxrd-ellipsis-button"),t.append(e),t.find(".dx-button-content").remove(),t}_attachEllipsisButtonClickHandler(){this._$ellipsisButton&&this._$ellipsisButton.dxButton("option","onClick",this._secondAction.bind(this))}_optionChanged(e){if("secondAction"===e.name)this._initSecondAction(),this._attachEllipsisButtonClickHandler();else super._optionChanged.apply(this,[e])}}GM()("dxEventDropDownEditor",jM),A.bindingHandlers.dxAutoScrolling={init:function(e,t,a,i,r){k.fn.constructor(e);let o=null;const s=t(),n=_N().getInstance(e);if(n){let t=null,a=null;const i=()=>{t&&clearTimeout(t),a&&clearInterval(a),t=null,a=null},r=e=>{t=setTimeout((()=>{a=setInterval((()=>{let t=n.scrollTop()+e;t<0&&(t=0),n.scrollTo(t)}),50)}),500)},l=a=>{s.active()&&(o||(o=e.getBoundingClientRect()),a.clientY<=o.top+30?!t&&r(-30):a.clientY>=o.bottom-30?!t&&r(30):i())},d=s.active.subscribe((e=>{o=null,i()}));e.addEventListener("mousemove",l),(0,B.addDisposeCallback)(e,(function(){e.removeEventListener("mousemove",l),d.dispose()}))}}};class qM extends dE.UndoEditor{constructor(e,t,a,i){super(e,t,a,i),this.min=0,this._disposables.push(this.max=A.pureComputed((()=>{const e=this._get("_model");return e&&e.maxLevel?e.maxLevel:e&&e.getModel&&e.getModel()&&e.getModel().maxLevel})))}}class JM extends L.Disposable{constructor(e){super(),this.width=A.observable(0),this.height=A.observable(0),this.verticalGridLines=A.observableArray().extend({deferred:!0}),this.horizontalGridLines=A.observableArray().extend({deferred:!0}),this.majorVerticalGridLines=A.observableArray().extend({deferred:!0}),this.majorHorizontalGridLines=A.observableArray().extend({deferred:!0}),this._disposables.push(A.computed((()=>{const t=!!A.unwrap(e.flip),a=(0,B.unitsToPixel)(e.snapGridSize(),e.measureUnit(),e.zoom()),i=(0,B.unitsToPixel)(e.width(),e.measureUnit(),e.zoom());this.width(i+.5),this._initGrid(i,a,this.verticalGridLines,t),this._initGrid(i,4*a,this.majorVerticalGridLines,t)}))),this._disposables.push(A.computed((()=>{const t=(0,B.unitsToPixel)(e.snapGridSize(),e.measureUnit(),e.zoom()),a=(0,B.unitsToPixel)(e.height(),e.measureUnit(),e.zoom());this.height(a+.5),this._initGrid(a,t,this.horizontalGridLines),this._initGrid(a,4*t,this.majorHorizontalGridLines)})))}_initGrid(e,t,a,i=!1){const r=a.peek(),o=Math.ceil(e/t),s=r.length;if(o-s>0)for(let e=s;e<o;e++)a.push({coordVal:A.observable((e+1)*t+.5),visible:A.observable(!0)});if(i)for(let i=0,r=e;i<a.peek().length;i++,r-=t)a.peek()[i].coordVal(r-.5),a.peek()[i].visible(i<o);else for(let e=0,i=0;e<a.peek().length;i+=t,e++)a.peek()[e].coordVal(i+.5),a.peek()[e].visible(e<o)}dispose(){super.dispose(),this.horizontalGridLines([]),this.verticalGridLines([]),this.majorHorizontalGridLines([]),this.majorVerticalGridLines([])}}A.bindingHandlers.coordinateGrid={init:function(e,t){k.fn.constructor(e).children().remove();const a=t(),i=new JM(a),r=(0,K.getTemplate)("dxrd-coordinategrid"),o=k.fn.constructor(e).append(r);return A.applyBindings(i,o.children()[0]),(0,B.addDisposeCallback)(o.children()[0],(()=>{i.dispose()})),{controlsDescendantBindings:!0}}};class KM{constructor(e,t){this.node=e,this.inheritValues=t,this.value=null,this.element=null,this.hasChildNodes=!1,this.value=this.node.getAttribute&&this.node.getAttribute(rk.ValueAttrName),this.value&&(this.value=this.value.trim())}createElement(){this.element=document.createTextNode(this.node.outerHTML||this.node.textContent||this.node.data)}setProperties(e,t){}appendTo(e){e.appendChild(this.element)}}class QM extends KM{constructor(){super(...arguments),this.hasChildNodes=!0}createElement(){this.element=document.createElement("span"),this.inheritValues.backcolor&&(this.element.style.backgroundColor="inherit")}}class YM extends KM{constructor(){super(...arguments),this.hasChildNodes=!0}createElement(){this.element=document.createElement("a")}setProperties(){this.element.href="javascript:void(0);"}}class ZM extends KM{appendTo(e){}}class ek extends QM{createElement(){this.element=document.createElement(this.node.nodeName)}}class tk extends QM{setProperties(){this.element.style.color=Oi.currentMultiPlatformEngine.unwrap((0,L.colorFromString)(this.value))}}class ak extends QM{setProperties(){this.element.style.backgroundColor=Oi.currentMultiPlatformEngine.unwrap((0,L.colorFromString)(this.value)),this.inheritValues.backcolor=!0}}class ik extends QM{setProperties(e){let t;const a=this.value;if(!a||"+"!==a[0]&&"-"!==a[0])t=parseFloat(a);else{const e=parseFloat(a.substr(1));t=this.inheritValues.fontSize+("+"===a[0]?e:-1*e)}isNaN(t)?t=this.inheritValues.fontSize:this.element.style.fontSize=t+(e.fontUnit||"pt"),this.inheritValues.fontSize=t}}class rk{constructor(e){this._displayNameParameters=e,this._regExp=/<(<*)(\/?)(\s*\w+\s*)(=(\s*.+?\s*)|\b[^>]*)?>/gm}_createTag(e,t){return this._checkValidTag(e.nodeName)&&"#text"!==e.nodeName?"COLOR"===e.nodeName?new tk(e,t):"BACKCOLOR"===e.nodeName?new ak(e,t):"HREF"===e.nodeName?new YM(e,t):"SIZE"===e.nodeName?new ik(e,t):"IMG"===e.nodeName?new ZM(e,t):"#text"!==e.nodeName?new ek(e,t):void 0:new KM(e,t)}_parceToXml(e){let t;for(;null!==(t=this._regExp.exec(e));){t.index===this._regExp.lastIndex&&this._regExp.lastIndex++;const a=t[0],i=t[1],r="/"===t[2]?"/":"",o=t[3],s=t[5];let n="";if(this._checkValidTag(o)&&!i)n=s?"<"+o+" "+rk.ValueAttrName+"='"+s+"'>":"<"+r+o+">";else{let e=a;i&&(e=e.slice(i.length));n=k.fn.constructor("<span>").text(e)[0].innerHTML}e=e.replace(a,n)}return e=(e=e.replace(/<nbsp>/g,"&nbsp;")).replace(/<br>/g,this._displayNameParameters.wordWrap?"<br>":"")}_checkValidTag(e){switch(e.toLocaleLowerCase()){case"href":case"color":case"backcolor":case"size":case"img":case"image":case"br":case"b":case"i":case"u":case"nbsp":case"s":return!0}return!1}_createTree(e,t,a={fontSize:this._displayNameParameters.fontSize||0}){if(e.childNodes.length>0){Array.prototype.slice.call(e.childNodes).forEach((e=>{const i=this._createTag(e,{fontSize:a.fontSize,backcolor:a.backcolor});i.createElement(),i.setProperties(this._displayNameParameters),i.appendTo(t),i.hasChildNodes&&this._createTree(e,i.element,i.inheritValues)}))}}appendTo(e){if(!e)return;const t=document.createDocumentFragment(),a=document.createElement("div");t.appendChild(a),A.utils.setHtml(e,""),A.utils.setHtml(a,this._parceToXml(this._displayNameParameters.text)),this._createTree(a,e),t.removeChild(a)}}rk.ValueAttrName="value",A.bindingHandlers.controlDisplayName={update:function(e,t,a,i,r){const o=t(),s=A.unwrap(o).displayNameParameters(),n=t=>k.fn.constructor(e).text(t?"["+t+"]":"");if(s.isExpression){k.fn.constructor(e).text(s.text);new B.DisplayExpressionConverter(r.$root.displayNameProvider()).toDisplayExpression(s.dataMember,s.text).done((t=>{k.fn.constructor(e).text(t)}))}else s.dataMember?(n(s.dataMember),r.$root.displayNameProvider().getDisplayName(s.dataSource,s.dataMember,s.dataMemberOffset,!1).done((e=>n(e))).fail((()=>n(s.dataMember)))):s.allowMarkupText?new rk(s).appendTo(e):k.fn.constructor(e).text(s.text||"")}},A.bindingHandlers.displayNameExtender={init:function(e,t,a,i,r){const o=A.unwrap(t()),s=A.observable(""),n=A.computed((()=>{const e=()=>A.isSubscribable(o.dataMember)?o.dataMember():o.getDataMember&&o.getDataMember(),t=()=>A.isSubscribable(o.path)?o.path():o.getPath&&o.getPath();if(e()){const a=r.$root.displayNameProvider.peek();(t()?a.getDisplayNameByPath(t(),e()):a.getDisplayName(A.isSubscribable(o.dataSource)?o.dataSource():o.getDataSource&&o.getDataSource()||void 0,e(),o.dataMemberOffset,o.includeDataSourceName)).done((e=>s(e))).fail((()=>s(A.unwrap(o.dataMember))))}else s("")})).extend({rateLimit:0});return(0,B.addDisposeCallback)(e,(function(){n.dispose()})),r.$data.$displayName=s,A.applyBindingsToDescendants(r,e),{controlsDescendantBindings:!0}}},A.virtualElements.allowedBindings.displayNameExtender=!0;class ok extends G.FontModel{constructor(e,t){super(e),this._model=t,this.isPropertyHighlighted=e=>{const t=this._model();return!!t&&(e="family"===e?"name":e,t.isPropertyHighlighted&&t.isPropertyHighlighted.apply(t,[e,"font"]))},k.extend(this.modificators,{boldHasExpression:A.computed((()=>this.isPropertyHighlighted("bold"))),italicHasExpression:A.computed((()=>this.isPropertyHighlighted("italic"))),strikeoutHasExpression:A.computed((()=>this.isPropertyHighlighted("strikeout"))),underlineHasExpression:A.computed((()=>this.isPropertyHighlighted("underline")))}),this._disposables.push(this.modificators.boldHasExpression),this._disposables.push(this.modificators.italicHasExpression),this._disposables.push(this.modificators.strikeoutHasExpression),this._disposables.push(this.modificators.underlineHasExpression)}}class sk extends L.Disposable{constructor(e){super(),this.height=A.observable(0),this.width=A.observable(0),this.gridLines=A.observableArray(),this.majorGridLines=A.observableArray(),this.disable=null,this.defaultGridLinesCoordinate=A.observable(),this._disposables.push(A.computed((()=>{const t=(0,B.unitsToPixel)(25,e.units(),e.zoom());this.defaultGridLinesCoordinate({x:4,x1:"80%",x2:"100%",majorX1:"70%",majorX2:"100%"});let a=!!A.unwrap(e.flip);"vertical"===e.direction?(this.height(e.length()+.5),this.width(20),a&&(a=!1,this.defaultGridLinesCoordinate({x:11,x1:"20%",x2:"0%",majorX1:"30%",majorX2:"0%"}))):(this.width(e.length()+.5),this.height(20)),this._initGrid(e.length(),t,this.gridLines,a),this._initGrid(e.length(),4*t,this.majorGridLines,a)}))),this.disable=e.disable}_initGrid(e,t,a,i=!1){const r=Math.round(e/t)+1,o=r-a.peek().length;if(o>0)for(let e=0;e<o;e++)a.push({coordVal:A.observable(0),text:A.observable(0),visible:A.observable(!1)});if(i)for(let i=0,o=e;i<a.peek().length;i++,o-=t)a.peek()[i].coordVal(o-.5),a.peek()[i].text(i),a.peek()[i].visible(i<r);else for(let e=0,i=0;e<a.peek().length;i+=t,e++)a.peek()[e].coordVal(i+.5),a.peek()[e].text(e),a.peek()[e].visible(e<r)}}A.bindingHandlers.ruler={init:function(e,t){k.fn.constructor(e).children().remove();const a=t(),i=k.extend({},A.unwrap(a),{}),r=i.zoom,o={length:i.length,units:i.units,direction:i.direction||"",zoom:r,flip:i.flip,disable:i.disable},s=new sk(o),n=(0,K.getTemplate)("dxrd-ruler"+o.direction),l=k.fn.constructor(e).append(n);return A.applyBindings(s,l.children()[0]),(0,B.addDisposeCallback)(l.children()[0],(()=>{s.dispose(),s.gridLines(null),s.majorGridLines(null)})),{controlsDescendantBindings:!0}}},A.bindingHandlers.dxWatermark={update:(e,t,a,i,r)=>{const o=t(),s=o.forLeftMargin,n=o.band,l=o.reportSurface,d=n.backgroundRect(),c=e=>0===e?"0":e+"px",p=(e,t)=>c(e)+" "+c(t),u=(e,t)=>{const a=t?"Top":"Left",i=t?"Bottom":"Right",r=t?l.pageHeight():l.pageWidth(),s=o.align;return(r-e)*(s.indexOf(a)>=0?0:s.indexOf(i)>=0?1:.5)};var m;e.style.height=c(d.height),e.style.width=c(s?l.margins.left():n._width()),e.style["background-image"]=(m=o.image)?(0,B.formatUnicorn)('url("{0}")',m):m,e.style.opacity=(255-o.transparency)/255+"",e.style["background-repeat"]=o.tiling?"repeat":"no-repeat";let h=0,g=0,{width:x,height:v}=l._watermarkImageNaturalSize();switch(o.viewMode){case"Clip":x*=l.zoom(),v*=l.zoom(),h=u(x,!1),g=u(v,!0),e.style["background-size"]=p(x,v);break;case"Stretch":h=g=0,e.style["background-size"]=p(l.pageWidth(),l.pageHeight());break;case"Zoom":const t=l.pageWidth()/x,a=l.pageHeight()/v;let i;t<a?(i=t,h=0,g=u(i*v,!0)):(i=a,h=u(i*x,!1),g=0),e.style["background-size"]=p(x*i,v*i)}e.style["background-position-y"]=c(g-d.top),e.style["background-position-x"]=c(h-(d.left||0)-(s?0:l.margins.left()))}};class nk{static saveCustomPattern(e,t){return(0,B.ajax)(Wp(),"formatString",encodeURIComponent(JSON.stringify({action:"save",typeString:e,customFormatString:t})))}static removeCustomPattern(e,t){return(0,B.ajax)(Wp(),"formatString",encodeURIComponent(JSON.stringify({action:"remove",typeString:e,customFormatString:t})))}static updatePreview(e,t,a){return(0,B.ajax)(Wp(),"formatStringPreview",encodeURIComponent(JSON.stringify({value:e,typeString:t,formatString:a})))}}nk.actions={updatePreview:nk.updatePreview,removeCustomPattern:nk.removeCustomPattern,saveCustomPattern:nk.saveCustomPattern},(0,G.addToBindingsCache)("css: tabPanel.cssClasses()",(function(e,t){return{css:function(){return e.$data.tabPanel.cssClasses()}}})),(0,G.addToBindingsCache)("text: rightPanelHeader()",(function(e,t){return{text:function(){return e.$data.rightPanelHeader()}}})),(0,G.addToBindingsCache)("treelist: chartStructure",(function(e,t){return{treelist:function(){return e.$data.chartStructure}}})),(0,G.addToBindingsCache)("dxList: { dataSource: actions, searchExpr: 'display', searchEnabled: true, onItemClick: function(e) { e.itemData.clickAction(); }}",(function(e,t){return{dxList:function(){return{dataSource:e.$data.actions,searchExpr:"display",searchEnabled:!0,onItemClick:function(e){e.itemData.clickAction()}}}}})),(0,G.addToBindingsCache)("text: display, attr: { title: display }",(function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}})),(0,G.addToBindingsCache)("dxLoadIndicator: { visible: isLoading() }",(function(e,t){return{dxLoadIndicator:function(){return{visible:e.$data.isLoading()}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': Math.min(width(), $root.surfaceSize()) }, click: function(_, e) { e.stopPropagation(); }",(function(e,t){return{styleunit:function(){return{width:Math.min(e.$data.width(),e.$root.surfaceSize())}},click:function(){return function(e,t){t.stopPropagation()}}}})),(0,G.addToBindingsCache)("styleunit: { minWidth: Math.min(width() + 60, $root.surfaceSize()), maxWidth: width() + 60, maxHeight: height() + 60 }",(function(e,t){return{styleunit:function(){return{minWidth:Math.min(e.$data.width()+60,e.$root.surfaceSize()),maxWidth:e.$data.width()+60,maxHeight:e.$data.height()+60}}}})),(0,G.addToBindingsCache)("zoom: zoom, styleunit: { 'height': height() / zoom(), 'width': width() / zoom() }",(function(e,t){return{zoom:function(){return e.$data.zoom},styleunit:function(){return{height:e.$data.height()/e.$data.zoom(),width:e.$data.width()/e.$data.zoom()}}}})),(0,G.addToBindingsCache)("attr: {src: imageSrc }, styleunit: { 'height': height() / zoom(), 'width': width() / zoom() }",(function(e,t){return{attr:function(){return{src:e.$data.imageSrc}},styleunit:function(){return{height:e.$data.height()/e.$data.zoom(),width:e.$data.width()/e.$data.zoom()}}}})),(0,G.addToBindingsCache)("if: chartStructure",(function(e,t){return{if:function(){return e.$data.chartStructure}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: array, displayExpr: 'name', value: selectedItem, disabled: disabled, placeholder: $root.dx._static.selectPlaceholder(), noDataText: $root.dx._static.noDataText(), encodeNoDataText: true, dropDownOptions: { container: $root.getPopupContainer($element) , useItemTextAsTitle: true } }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.array,displayExpr:"name",value:e.$data.selectedItem,disabled:e.$data.disabled,placeholder:e.$root.dx._static.selectPlaceholder(),noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0,dropDownOptions:{container:e.$root.getPopupContainer(t),useItemTextAsTitle:!0}}}}})),(0,G.addToBindingsCache)("dxPropertyGrid: { target: selectedItem, editorsInfo: { editors: editors }, level: 1 }",(function(e,t){return{dxPropertyGrid:function(){return{target:e.$data.selectedItem,editorsInfo:{editors:e.$data.editors},level:1}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { path: path, value: value, onValueChanged: onValueChanged, acceptCustomValue: true, itemsProvider: $root.dataBindingsProvider(), treeListController: treeListController, disabled: disabled }",(function(e,t){return{dxFieldListPicker:function(){return{path:e.$data.path,value:e.$data.value,onValueChanged:e.$data.onValueChanged,acceptCustomValue:!0,itemsProvider:e.$root.dataBindingsProvider(),treeListController:e.$data.treeListController,disabled:e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.panes, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.panes,value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.legends, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.legends,value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.axisX, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.axisX,value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.axisY, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.axisY,value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxSelectBox: $data",(function(e,t){return{dxSelectBox:function(){return e.$data}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: generateViewItems(), itemTemplate: 'stateItem', valueExpr: 'value', value: generateHeaderValue($root.undoEngine), displayExpr: 'displayValue', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.generateViewItems(),itemTemplate:"stateItem",valueExpr:"value",value:e.$data.generateHeaderValue(e.$root.undoEngine),displayExpr:"displayValue",disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("css: className, template: {name: templateName, if: !!templateName }",(function(e,t){return{css:function(){return e.$data.className},template:function(){return{name:e.$data.templateName,if:!!e.$data.templateName}}}})),(0,G.addToBindingsCache)("text: displayValue",(function(e,t){return{text:function(){return e.$data.displayValue}}})),(0,G.addToBindingsCache)("dxPropertyGrid: { target: contentValue, level: level + 1, parentDisabled: disabled }",(function(e,t){return{dxPropertyGrid:function(){return{target:e.$data.contentValue,level:e.$data.level+1,parentDisabled:e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: options",(function(e,t){return{dxCollectionEditor:function(){return e.$data.options}}})),(0,G.addToBindingsCache)("styleunit: $parent.memberPadding",(function(e,t){return{styleunit:function(){return e.$parent.memberPadding}}})),(0,G.addToBindingsCache)("text: $parent.getLocalization('Function', 'DevExpress.XtraReports.UI.XRGroupSortingSummary.Function'), attr: { 'title': $parent.getLocalization('Function', 'DevExpress.XtraReports.UI.XRGroupSortingSummary.Function') }",(function(e,t){return{text:function(){return e.$parent.getLocalization("Function","DevExpress.XtraReports.UI.XRGroupSortingSummary.Function")},attr:function(){return{title:e.$parent.getLocalization("Function","DevExpress.XtraReports.UI.XRGroupSortingSummary.Function")}}}})),(0,G.addToBindingsCache)("dxSelectBox: { value: functionName, dataSource: $parent.availableItems ,acceptCustomValue: true, disabled: $parent.disabled, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{value:e.$data.functionName,dataSource:e.$parent.availableItems,acceptCustomValue:!0,disabled:e.$parent.disabled,placeholder:e.$root.dx._static.selectPlaceholder(),dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("css: $parents[1].actionsAreAvailable ? 'dxcd-summaryfunction-arg' : ''",(function(e,t){return{css:function(){return e.$parents[1].actionsAreAvailable?"dxcd-summaryfunction-arg":""}}})),(0,G.addToBindingsCache)("styleunit: $parents[1].memberPadding",(function(e,t){return{styleunit:function(){return e.$parents[1].memberPadding}}})),(0,G.addToBindingsCache)("text: $parents[1].getLocalization('Argument', 'DevExpress.XtraCharts.SeriesSelectionMode.Argument'), attr: { 'title': $parents[1].getLocalization('Argument', 'DevExpress.XtraCharts.SeriesSelectionMode.Argument') }",(function(e,t){return{text:function(){return e.$parents[1].getLocalization("Argument","DevExpress.XtraCharts.SeriesSelectionMode.Argument")},attr:function(){return{title:e.$parents[1].getLocalization("Argument","DevExpress.XtraCharts.SeriesSelectionMode.Argument")}}}})),(0,G.addToBindingsCache)("text: $parents[1].getLocalization('Argument', 'DevExpress.XtraCharts.SeriesSelectionMode.Argument') + ($index() + 1), attr: { 'title': $parents[1].getLocalization('Argument', 'DevExpress.XtraCharts.SeriesSelectionMode.Argument') + ($index() + 1) }",(function(e,t){return{text:function(){return e.$parents[1].getLocalization("Argument","DevExpress.XtraCharts.SeriesSelectionMode.Argument")+(e.$index()+1)},attr:function(){return{title:e.$parents[1].getLocalization("Argument","DevExpress.XtraCharts.SeriesSelectionMode.Argument")+(e.$index()+1)}}}})),(0,G.addToBindingsCache)("click: function(){ $parents[1].remove($index()) }",(function(e,t){return{click:function(){return function(){e.$parents[1].remove(e.$index())}}}})),(0,G.addToBindingsCache)("text: $parent.getLocalization('Add Argument', 'ASPxReportsStringId.ReportDesigner_AddArgument'), attr: { 'title': $parent.getLocalization('Add New Item', 'ASPxReportsStringId.ReportDesigner_AddNewItem') }, click: function() { $parent.add(); }",(function(e,t){return{text:function(){return e.$parent.getLocalization("Add Argument","ASPxReportsStringId.ReportDesigner_AddArgument")},attr:function(){return{title:e.$parent.getLocalization("Add New Item","ASPxReportsStringId.ReportDesigner_AddNewItem")}},click:function(){return function(){e.$parent.add()}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function() { return addPoint(_model()['owner'] || _model()); } }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$data.addPoint(e.$data._model().owner||e.$data._model())}}}}})),(0,G.addToBindingsCache)("dxNumberBox: getDependencyOptions({ value:value, showSpinButtons:true, disabled:disabled }, 'min', 'minSize'), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxNumberBox:function(){return e.$data.getDependencyOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled},"min","minSize")},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("dxNumberBox: getDependencyOptions({ value:value, showSpinButtons:true, disabled:disabled }, 'max', 'maxSize'), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxNumberBox:function(){return e.$data.getDependencyOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled},"max","maxSize")},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.groups, value: value, acceptCustomValue:true, onFocusOut: function() { $root.applyGroup($data.value()); }, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.groups,value:e.$data.value,acceptCustomValue:!0,onFocusOut:function(){e.$root.applyGroup(e.$data.value())},disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxColorBox: { value: generateValue($root.undoEngine), onValueChanged: onValueChanged, editAlphaChannel: true, popupPosition: { collision: 'flipfit flipfit' }, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxColorBox:function(){return{value:e.$data.generateValue(e.$root.undoEngine),onValueChanged:e.$data.onValueChanged,editAlphaChannel:!0,popupPosition:{collision:"flipfit flipfit"},disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.generateValue(e.$root.undoEngine),valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("if: selectedItem",(function(e,t){return{if:function(){return e.$data.selectedItem}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: model }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.model}}}})),(0,G.addToBindingsCache)("with: generateOptions($root.chartDataSources, $root.getPopupContainer($element))",(function(e,t){return{with:function(){return e.$data.generateOptions(e.$root.chartDataSources,e.$root.getPopupContainer(t))}}})),(0,G.addToBindingsCache)("foreach: args",(function(e,t){return{foreach:function(){return e.$data.args}}})),(0,G.addToBindingsCache)("if: $parent.args().length === 1",(function(e,t){return{if:function(){return 1===e.$parent.args().length}}})),(0,G.addToBindingsCache)("if: $parent.args().length > 1",(function(e,t){return{if:function(){return e.$parent.args().length>1}}})),(0,G.addToBindingsCache)("if: $parents[1].actionsAreAvailable()",(function(e,t){return{if:function(){return e.$parents[1].actionsAreAvailable()}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-operations-recycle_bin'",(function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}})),(0,G.addToBindingsCache)("template: { name: $parents[1].argumentTemplateName, data: { value: $data.value, path: $parents[1].path, treeListController: $parents[1].treeListController, disabled: $parents[1].disabled, visible: $parents[1].visible } }",(function(e,t){return{template:function(){return{name:e.$parents[1].argumentTemplateName,data:{value:e.$data.value,path:e.$parents[1].path,treeListController:e.$parents[1].treeListController,disabled:e.$parents[1].disabled,visible:e.$parents[1].visible}}}}})),(0,G.addToBindingsCache)("if: $parent.actionsAreAvailable",(function(e,t){return{if:function(){return e.$parent.actionsAreAvailable}}})),(0,G.addToBindingsCache)("dxTemplate:{ name:'stateItem' }",(function(){return{dxTemplate:{name:"stateItem"}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'width': $parent.width, top: absolutePosition.y }, css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }, trackCursor: underCursor",(function(e,t){return{styleunit:function(){return{height:e.$data.height,width:e.$parent.width,top:e.$data.absolutePosition.y}},css:function(){return{"dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor":e.$data.selected()}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight()}},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("ifnot: collapsed",(function(e,t){return{ifnot:function(){return e.$data.collapsed}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginSelectionTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $parent.width } } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"leftMarginSelectionTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,width:e.$parent.width}}}}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height(), top: absolutePosition.y }",(function(e,t){return{styleunit:function(){return{height:e.$data.height(),top:e.$data.absolutePosition.y}}}})),(0,G.addToBindingsCache)("styleunit: { 'top': heightWithoutSubBands }",(function(e,t){return{styleunit:function(){return{top:e.$data.heightWithoutSubBands}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, top: absolutePosition.y }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,top:e.$data.absolutePosition.y}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }",(function(e,t){return{css:function(){return{"dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor":e.$data.selected()}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height(), top: $data.absolutePosition.y() - $data.parent.heightWithoutSubBands() - $data.parent.absolutePosition.y() }",(function(e,t){return{styleunit:function(){return{height:e.$data.height(),top:e.$data.absolutePosition.y()-e.$data.parent.heightWithoutSubBands()-e.$data.parent.absolutePosition.y()}}}})),(0,G.addToBindingsCache)("if: $data._context.drawWatermark()",(function(e,t){return{if:function(){return e.$data._context.drawWatermark()}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-watermark', data: { forLeftMargin: true, band: $data, reportSurface: $data._context } }",(function(e,t){return{template:function(){return{name:"dxrd-watermark",data:{forLeftMargin:!0,band:e.$data,reportSurface:e.$data._context}}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $parent.width, 'snapGridSize': $parent.snapGridSize }; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"leftMarginTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,width:e.$parent.width,snapGridSize:e.$parent.snapGridSize}}}}}}})),(0,G.addToBindingsCache)("if: collapsed",(function(e,t){return{if:function(){return e.$data.collapsed}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'width': rect().width, top: absolutePosition.y }, css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }, trackCursor: underCursor",(function(e,t){return{styleunit:function(){return{height:e.$data.height,width:e.$data.rect().width,top:e.$data.absolutePosition.y}},css:function(){return{"dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor":e.$data.selected()}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight()}},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("if: contentSelectionTemplate",(function(e,t){return{if:function(){return e.$data.contentSelectionTemplate}}})),(0,G.addToBindingsCache)("template: contentSelectionTemplate",(function(e,t){return{template:function(){return e.$data.contentSelectionTemplate}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'selectionTemplate', holder: $data.bandsHolder, getData: function(item) { return item; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"selectionTemplate",holder:e.$data.bandsHolder,getData:function(e){return e}}}}}})),(0,G.addToBindingsCache)("template: { name: $data.selectiontemplate }",(function(e,t){return{template:function(){return{name:e.$data.selectiontemplate}}}})),(0,G.addToBindingsCache)("attr: { title: name }, styleunit: { 'width': $data.markerWidth() + 20, 'top': absolutePosition.y, 'height': height }",(function(e,t){return{attr:function(){return{title:e.$data.name}},styleunit:function(){return{width:e.$data.markerWidth()+20,top:e.$data.absolutePosition.y,height:e.$data.height}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': rulerHeight, top: 0 }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); $root.selection.initialize($data); $root.selection.expectClick = false; }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resizeTheBand, zoom: $root.surface().zoom, minimumHeight: $data.heightFromControls && $data.heightFromControls() || 1 }",(function(e,t){return{styleunit:function(){return{height:e.$data.rulerHeight,top:0}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting(),e.$root.selection.initialize(e.$data),e.$root.selection.expectClick=!1},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resizeTheBand,zoom:e.$root.surface().zoom,minimumHeight:e.$data.heightFromControls&&e.$data.heightFromControls()||1}}}})),(0,G.addToBindingsCache)("ruler: { 'zoom': zoom, 'length': height, 'units': $parent.measureUnit, 'direction': 'vertical', flip: $root.dx['config']()['rtlEnabled'] }",(function(e,t){return{ruler:function(){return{zoom:e.$data.zoom,length:e.$data.height,units:e.$parent.measureUnit,direction:"vertical",flip:e.$root.dx.config().rtlEnabled}}}})),(0,G.addToBindingsCache)("css: markerClass, styleunit: { 'height': height(), 'width': markerWidth }, click: function(_, e) { markerClick($root.selection); e.stopPropagation(); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { markerClick($root.selection, false); }} : null, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); $root.selection.initialize($data); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: collapsed() || !hasOwnRuler() || locked, forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }",(function(e,t){return{css:function(){return e.$data.markerClass},styleunit:function(){return{height:e.$data.height(),width:e.$data.markerWidth}},click:function(){return function(t,a){e.$data.markerClick(e.$root.selection),a.stopPropagation()}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:function(t,a){e.$data.markerClick(e.$root.selection,!1)}}:null},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting(),e.$root.selection.initialize(e.$data)},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:e.$data.collapsed()||!e.$data.hasOwnRuler()||e.$data.locked,forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight()}}}})),(0,G.addToBindingsCache)("text: collapsed() ? '' : name",(function(e,t){return{text:function(){return e.$data.collapsed()?"":e.$data.name}}})),(0,G.addToBindingsCache)("if: hasOwnRuler",(function(e,t){return{if:function(){return e.$data.hasOwnRuler}}})),(0,G.addToBindingsCache)("if: showMarker",(function(e,t){return{if:function(){return e.$data.showMarker}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'vrulerTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, measureUnit: $parent.measureUnit }; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"vrulerTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,measureUnit:e.$parent.measureUnit}}}}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': heightWithoutSubBands, 'width': _width(), 'top': absolutePosition.y }",(function(e,t){return{styleunit:function(){return{height:e.$data.heightWithoutSubBands,width:e.$data._width(),top:e.$data.absolutePosition.y}}}})),(0,G.addToBindingsCache)("styleunit: { 'left': coordinateGridOptions.left }, coordinateGrid: coordinateGridOptions",(function(e,t){return{styleunit:function(){return{left:e.$data.coordinateGridOptions.left}},coordinateGrid:function(){return e.$data.coordinateGridOptions}}})),(0,G.addToBindingsCache)("styleunit: { 'left': columnSpacingLeft, 'width': columnSpacing }",(function(e,t){return{styleunit:function(){return{left:e.$data.columnSpacingLeft,width:e.$data.columnSpacing}}}})),(0,G.addToBindingsCache)("styleunit: { 'left': grayAreaLeft, 'width': grayAreaWidth }",(function(e,t){return{styleunit:function(){return{left:e.$data.grayAreaLeft,width:e.$data.grayAreaWidth}}}})),(0,G.addToBindingsCache)("visible: $data.isVisible, styleunit: { 'top': $data.absolutePositionY, 'height': $data.height }",(function(e,t){return{visible:function(){return e.$data.isVisible},styleunit:function(){return{top:e.$data.absolutePositionY,height:e.$data.height}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': heightWithoutSubBands, 'width': _width() }",(function(e,t){return{styleunit:function(){return{height:e.$data.heightWithoutSubBands,width:e.$data._width()}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'line-height': height, 'top': absolutePosition.y, width: rect().width }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,"line-height":e.$data.height,top:e.$data.absolutePosition.y,width:e.$data.rect().width}}}})),(0,G.addToBindingsCache)("text: (name() || '').toUpperCase(), styleunit: { 'right': leftMargin }",(function(e,t){return{text:function(){return(e.$data.name()||"").toUpperCase()},styleunit:function(){return{right:e.$data.leftMargin}}}})),(0,G.addToBindingsCache)("text: (name() || '').toUpperCase(), styleunit: { 'left': leftMargin }",(function(e,t){return{text:function(){return(e.$data.name()||"").toUpperCase()},styleunit:function(){return{left:e.$data.leftMargin}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-watermark', data: { forLeftMargin: false, band: $data, reportSurface: $data._context } }",(function(e,t){return{template:function(){return{name:"dxrd-watermark",data:{forLeftMargin:!1,band:e.$data,reportSurface:e.$data._context}}}}})),(0,G.addToBindingsCache)("if: $data.multiColumn() && $data.multiColumn().haveColumns()",(function(e,t){return{if:function(){return e.$data.multiColumn()&&e.$data.multiColumn().haveColumns()}}})),(0,G.addToBindingsCache)("with: $data.multiColumn",(function(e,t){return{with:function(){return e.$data.multiColumn}}})),(0,G.addToBindingsCache)("template: { name: $data.template }",(function(e,t){return{template:function(){return{name:e.$data.template}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'templateName', holder: $data.bandsHolder, getData: function(item) { return item; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"templateName",holder:e.$data.bandsHolder,getData:function(e){return e}}}}}})),(0,G.addToBindingsCache)("template: 'dxrd-band-collapsed'",(function(e,t){return{template:function(){return"dxrd-band-collapsed"}}})),(0,G.addToBindingsCache)("if: $root.drawCrossbandContent() && $data._isHeaderBandTypeOrThemSubBands()",(function(e,t){return{if:function(){return e.$root.drawCrossbandContent()&&e.$data._isHeaderBandTypeOrThemSubBands()}}})),(0,G.addToBindingsCache)("with: $data.printAcrossBandsPlaceHolder",(function(e,t){return{with:function(){return e.$data.printAcrossBandsPlaceHolder}}})),(0,G.addToBindingsCache)("with: $data.band",(function(e,t){return{with:function(){return e.$data.band}}})),(0,G.addToBindingsCache)("if: $root.surface().rtl()",(function(e,t){return{if:function(){return e.$root.surface().rtl()}}})),(0,G.addToBindingsCache)("if: !$root.surface().rtl()",(function(e,t){return{if:function(){return!e.$root.surface().rtl()}}})),(0,G.addToBindingsCache)("foreach: holder.bands",(function(e,t){return{foreach:function(){return e.$data.holder.bands}}})),(0,G.addToBindingsCache)("template: { name: $data[$parent.templateName], data: $parent.getData($data) }",(function(e,t){return{template:function(){return{name:e.$data[e.$parent.templateName],data:e.$parent.getData(e.$data)}}}})),(0,G.addToBindingsCache)("with: holder.verticalBandsContainer",(function(e,t){return{with:function(){return e.$data.holder.verticalBandsContainer}}})),(0,G.addToBindingsCache)("if: visible && !!$data[$parent.templateName]",(function(e,t){return{if:function(){return e.$data.visible&&!!e.$data[e.$parent.templateName]}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'width': _width, left: absolutePosition.x }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: resizeHandles(), disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumWidth: minimumWidth(), minimumHeight: minimumHeight() }, css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }, trackCursor: underCursor",(function(e,t){return{styleunit:function(){return{height:e.$data.height,width:e.$data._width,left:e.$data.absolutePosition.x}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:e.$data.resizeHandles(),disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumWidth:e.$data.minimumWidth(),minimumHeight:e.$data.minimumHeight()}},css:function(){return{"dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor":e.$data.selected()}},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("css: { 'dxrd-vertical-band-marker-focused': focused }",(function(e,t){return{css:function(){return{"dxrd-vertical-band-marker-focused":e.$data.focused}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': _width(), 'left': absolutePosition.x() }",(function(e,t){return{styleunit:function(){return{width:e.$data._width(),left:e.$data.absolutePosition.x()}}}})),(0,G.addToBindingsCache)("coordinateGrid: coordinateGridOptions",(function(e,t){return{coordinateGrid:function(){return e.$data.coordinateGridOptions}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, left: leftOffset, 'width': width, top: topOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight || 1 }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,left:e.$data.leftOffset,width:e.$data.width,top:e.$data.topOffset}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight||1}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': width }",(function(e,t){return{styleunit:function(){return{width:e.$data.width}}}})),(0,G.addToBindingsCache)("style: { transform: 'translateX(-' + $data.scrollOffset() + 'px)' }",(function(e,t){return{style:function(){return{transform:"translateX(-"+e.$data.scrollOffset()+"px)"}}}})),(0,G.addToBindingsCache)("styleunit: { width: grayAreaWidth, height: height, left: !$root.surface().rtl() ? grayAreaLeft : 0 }",(function(e,t){return{styleunit:function(){return{width:e.$data.grayAreaWidth,height:e.$data.height,left:e.$root.surface().rtl()?0:e.$data.grayAreaLeft}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'line-height': height, 'top': topOffset, width: width }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,"line-height":e.$data.height,top:e.$data.topOffset,width:e.$data.width}}}})),(0,G.addToBindingsCache)("text: (name || '').toUpperCase(), styleunit: { 'right': $root.surface().rtl() ? leftMargin : 'auto', 'left': !$root.surface().rtl() ? leftMargin: 'auto' }",(function(e,t){return{text:function(){return(e.$data.name||"").toUpperCase()},styleunit:function(){return{right:e.$root.surface().rtl()?e.$data.leftMargin:"auto",left:e.$root.surface().rtl()?"auto":e.$data.leftMargin}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': width, top: topOffset, left: leftOffset, height: height() }",(function(e,t){return{styleunit:function(){return{width:e.$data.width,top:e.$data.topOffset,left:e.$data.leftOffset,height:e.$data.height()}}}})),(0,G.addToBindingsCache)("dxScrollView: $data.createScrollViewOptions($data, $root.selection)",(function(e,t){return{dxScrollView:function(){return e.$data.createScrollViewOptions(e.$data,e.$root.selection)}}})),(0,G.addToBindingsCache)("styleunit: { 'width': markerWidth() + 20, 'top': topOffset, 'height': height }",(function(e,t){return{styleunit:function(){return{width:e.$data.markerWidth()+20,top:e.$data.topOffset,height:e.$data.height}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, top: $data.bandOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight || 1 }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,top:e.$data.bandOffset}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight||1}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-band-marker-body' : !$data.focused(), 'dxrd-band-marker-body-focused' : $data.focused() }, styleunit: { 'height': height(), 'width': markerWidth }, click: function(_, e) { $data.markerClick($root.selection); e.stopPropagation(); }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: collapsed, forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }",(function(e,t){return{css:function(){return{"dxrd-band-marker-body":!e.$data.focused(),"dxrd-band-marker-body-focused":e.$data.focused()}},styleunit:function(){return{height:e.$data.height(),width:e.$data.markerWidth}},click:function(){return function(t,a){e.$data.markerClick(e.$root.selection),a.stopPropagation()}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:e.$data.collapsed,forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight()}}}})),(0,G.addToBindingsCache)("styleunit: { 'height': height, 'width': $parent.width, top: topOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }",(function(e,t){return{styleunit:function(){return{height:e.$data.height,width:e.$parent.width,top:e.$data.topOffset}},resizable:function(){return{starting:function(){e.$root.resizeHandler.started=!0,e.$root.resizeHandler.starting()},stopped:function(){e.$data.stopResize(),e.$root.resizeHandler.stopped(),e.$root.resizeHandler.started=!1},handles:"s",disabled:!e.$data.canResize(),forceResize:e.$data.resize,zoom:e.$root.surface().zoom,minimumHeight:e.$data.minHeight()}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-band-content': !$data.collapsed(), 'dxrd-band-collapsed': $data.collapsed() }, styleunit: { 'height': height, top: topOffset }",(function(e,t){return{css:function(){return{"dxrd-band-content":!e.$data.collapsed(),"dxrd-band-collapsed":e.$data.collapsed()}},styleunit:function(){return{height:e.$data.height,top:e.$data.topOffset}}}})),(0,G.addToBindingsCache)("foreach: verticalBands",(function(e,t){return{foreach:function(){return e.$data.verticalBands}}})),(0,G.addToBindingsCache)("template: { name: templateName }",(function(e,t){return{template:function(){return{name:e.$data.templateName}}}})),(0,G.addToBindingsCache)("styleunit: { width: size.width, height: size.height, top: top, left: left }",(function(e,t){return{styleunit:function(){return{width:e.$data.size.width,height:e.$data.size.height,top:e.$data.top,left:e.$data.left}}}})),(0,G.addToBindingsCache)("style: $parent.css, text: text, styleunit: { lineHeight: size.height(), width: size.width, height: size.height }",(function(e,t){return{style:function(){return e.$parent.css},text:function(){return e.$data.text},styleunit:function(){return{lineHeight:e.$data.size.height(),width:e.$data.size.width,height:e.$data.size.height}}}})),(0,G.addToBindingsCache)("style: $parent.borderCss, styleunit: { width: size.width, height: size.height }",(function(e,t){return{style:function(){return e.$parent.borderCss},styleunit:function(){return{width:e.$data.size.width,height:e.$data.size.height}}}})),(0,G.addToBindingsCache)("styleunit: position, css: adorntemplate",(function(e,t){return{styleunit:function(){return e.$data.position},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: rect().height, height: rect().height, width: rect().width }",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.rect().height,height:e.$data.rect().height,width:e.$data.rect().width}}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { height: rect().height / _context.zoom(), width: rect().width / _context.zoom() }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{height:e.$data.rect().height/e.$data._context.zoom(),width:e.$data.rect().width/e.$data._context.zoom()}}}})),(0,G.addToBindingsCache)("dxPopup: { showTitle: true, width: '95%', height: '95%', wrapperAttr: { class: 'dxrd-chartdesigner-popup' }, title: $root.getLocalization('Chart Designer', 'ChartDesignerStringIDs.ChartDesignerWindowTitle'), visible: visible, toolbarItems: buttons, showCloseButton: true, container: container($element), position: { of: container($element) }}",(function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"95%",height:"95%",wrapperAttr:{class:"dxrd-chartdesigner-popup"},title:e.$root.getLocalization("Chart Designer","ChartDesignerStringIDs.ChartDesignerWindowTitle"),visible:e.$data.visible,toolbarItems:e.$data.buttons,showCloseButton:!0,container:e.$data.container(t),position:{of:e.$data.container(t)}}}}})),(0,G.addToBindingsCache)("visible: visible, dxChartDesigner: options",(function(e,t){return{visible:function(){return e.$data.visible},dxChartDesigner:function(){return e.$data.options}}})),(0,G.addToBindingsCache)("visible: selected() || focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return e.$data.selected()||e.$data.focused()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("dxclick: function() { $root.runChartDesigner($data); }, text: runDesignerButtonText(), attr: { title: runDesignerButtonText() }",(function(e,t){return{dxclick:function(){return function(){e.$root.runChartDesigner(e.$data)}},text:function(){return e.$data.runDesignerButtonText()},attr:function(){return{title:e.$data.runDesignerButtonText()}}}})),(0,G.addToBindingsCache)("visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? 'visible' : 'hidden'}",(function(e,t){return{visible:function(){return!(e.$data.selected()&&e.$data.focused())},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},style:function(){return{overflow:e.$data.isSelected()?"visible":"hidden"}}}})),(0,G.addToBindingsCache)("style: { cssFloat: isGlyphAlignmentNear() ? 'left': 'right', width: checkStateWidthContainer() }, styleunit: { lineHeight: contentHeightWithoutZoom }",(function(e,t){return{style:function(){return{cssFloat:e.$data.isGlyphAlignmentNear()?"left":"right",width:e.$data.checkStateWidthContainer()}},styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}}}})),(0,G.addToBindingsCache)("styleunit:{ width: checkStateWidth, height: checkStateHeight }, css: checkStateClass, template: {name: $data.checkStateStyleIcon, if: !!ko.unwrap($data.checkStateStyleIcon)}",(function(e,t){return{styleunit:function(){return{width:e.$data.checkStateWidth,height:e.$data.checkStateHeight}},css:function(){return e.$data.checkStateClass},template:function(){return{name:e.$data.checkStateStyleIcon,if:!!e.ko.unwrap(e.$data.checkStateStyleIcon)}}}})),(0,G.addToBindingsCache)("styleunit: { width: textWidth, lineHeight: contentHeightWithoutZoom }, visible: visibleText, style: { cssFloat: isGlyphAlignmentNear() ? 'right': 'left' }",(function(e,t){return{styleunit:function(){return{width:e.$data.textWidth,lineHeight:e.$data.contentHeightWithoutZoom}},visible:function(){return e.$data.visibleText},style:function(){return{cssFloat:e.$data.isGlyphAlignmentNear()?"right":"left"}}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss, cacheElement: { action: function(element) { $data.cacheElementContent(element); } }",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss},cacheElement:function(){return{action:function(t){e.$data.cacheElementContent(t)}}}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: contentHeightWithoutZoom }",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss, css: {'dxrd-control-content-multiline' : multiline }",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss},css:function(){return{"dxrd-control-content-multiline":e.$data.multiline}}}})),(0,G.addToBindingsCache)("event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{event:function(){return{dblclick:function(){e.$root.inlineTextEdit.show(t)}}},style:function(){return{visibility:e.$data.selected()||e.$data.focused()?"inherit":"hidden"}},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}",(function(e,t){return{styleunit:function(){return{top:e.$data.contentSizes().top+(e.$data.isIntersect()?1:0),left:e.$data.contentSizes().left+(e.$data.isIntersect()?1:0),lineHeight:e.$data.contentSizes().height,height:e.$data.contentSizes().height,width:e.$data.contentSizes().width}}}})),(0,G.addToBindingsCache)("if: $data.controls",(function(e,t){return{if:function(){return e.$data.controls}}})),(0,G.addToBindingsCache)("styleunit: { 'top': contentSizes().top, 'left': contentSizes().left, lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width }, style: css",(function(e,t){return{styleunit:function(){return{top:e.$data.contentSizes().top,left:e.$data.contentSizes().left,lineHeight:e.$data.contentSizes().height,height:e.$data.contentSizes().height,width:e.$data.contentSizes().width}},style:function(){return e.$data.css}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { 'height': contentHeightWithoutZoom, 'width': contentWidthWithoutZoom }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("style: borderCss",(function(e,t){return{style:function(){return e.$data.borderCss}}})),(0,G.addToBindingsCache)("css: {'dxrd-uiselected': selected }, styleunit: position",(function(e,t){return{css:function(){return{"dxrd-uiselected":e.$data.selected}},styleunit:function(){return e.$data.position}}})),(0,G.addToBindingsCache)("attr: { x1: '50%', x2: '50%', y1: 0, y2: '100%'} , style: lineCss",(function(e,t){return{attr:function(){return{x1:"50%",x2:"50%",y1:0,y2:"100%"}},style:function(){return e.$data.lineCss}}})),(0,G.addToBindingsCache)("attr: { x1: '50%', x2: '50%', y1: 0, y2: '100%'}, style: lineWidthCss",(function(e,t){return{attr:function(){return{x1:"50%",x2:"50%",y1:0,y2:"100%"}},style:function(){return e.$data.lineWidthCss}}})),(0,G.addToBindingsCache)("if: isIntersect",(function(e,t){return{if:function(){return e.$data.isIntersect}}})),(0,G.addToBindingsCache)("styleunit: position, css: {'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-uiselected': selected }",(function(e,t){return{styleunit:function(){return e.$data.position},css:function(){return{"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked,"dxrd-uiselected":e.$data.selected}}}})),(0,G.addToBindingsCache)("trackCursor: edgeUnderCursor",(function(e,t){return{trackCursor:function(){return e.$data.edgeUnderCursor}}})),(0,G.addToBindingsCache)("attr: { x1: borderWidth()/2, x2: borderWidth()/2, y1: 0, y2: '100%' }, style: rightCss",(function(e,t){return{attr:function(){return{x1:e.$data.borderWidth()/2,x2:e.$data.borderWidth()/2,y1:0,y2:"100%"}},style:function(){return e.$data.rightCss}}})),(0,G.addToBindingsCache)("attr: { x1: 0, x2: '100%', y1: borderWidth()/2, y2: borderWidth()/2 }, style: topCss",(function(e,t){return{attr:function(){return{x1:0,x2:"100%",y1:e.$data.borderWidth()/2,y2:e.$data.borderWidth()/2}},style:function(){return e.$data.topCss}}})),(0,G.addToBindingsCache)("attr: { x1: rect().width-borderWidth()/2, x2: rect().width-borderWidth()/2, y1: 0, y2: '100%' }, style: leftCss",(function(e,t){return{attr:function(){return{x1:e.$data.rect().width-e.$data.borderWidth()/2,x2:e.$data.rect().width-e.$data.borderWidth()/2,y1:0,y2:"100%"}},style:function(){return e.$data.leftCss}}})),(0,G.addToBindingsCache)("attr: { x1: 0, x2: '100%', y1: rect().height-borderWidth()/2, y2: rect().height-borderWidth()/2 }, style: bottomCss",(function(e,t){return{attr:function(){return{x1:0,x2:"100%",y1:e.$data.rect().height-e.$data.borderWidth()/2,y2:e.$data.rect().height-e.$data.borderWidth()/2}},style:function(){return e.$data.bottomCss}}})),(0,G.addToBindingsCache)("event: { dblclick: function() { isEditable() && $root.inlineTextEdit.show($element) } }, style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{event:function(){return{dblclick:function(){e.$data.isEditable()&&e.$root.inlineTextEdit.show(t)}}},style:function(){return{visibility:e.$data.selected()||e.$data.focused()?"inherit":"hidden"}},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("visible: showDropSurface, css: dragCss, styleunit: { left: dropRect.left, top: dropRect.top, width: dropRect.width, height: dropRect.height }",(function(e,t){return{visible:function(){return e.$data.showDropSurface},css:function(){return e.$data.dragCss},styleunit:function(){return{left:e.$data.dropRect.left,top:e.$data.dropRect.top,width:e.$data.dropRect.width,height:e.$data.dropRect.height}}}})),(0,G.addToBindingsCache)("visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: 'visible'}, event: { mousedown: function(e) { cellClick(); } }",(function(e,t){return{visible:function(){return!(e.$data.selected()&&e.$data.focused())},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},style:function(){return{overflow:"visible"}},event:function(){return{mousedown:function(t){e.$data.cellClick()}}}}})),(0,G.addToBindingsCache)("click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'width': position.width }",(function(e,t){return{click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectLine(e.$root.selection,a),a.stopPropagation()}},visible:function(){return!e.$root.dx._static.DragDropHandler.started()},styleunit:function(){return{width:e.$data.position.width}}}})),(0,G.addToBindingsCache)("click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e, true); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started()",(function(e,t){return{click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectLine(e.$root.selection,a,!0),a.stopPropagation()}},visible:function(){return!e.$root.dx._static.DragDropHandler.started()}}})),(0,G.addToBindingsCache)("click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e); e.stopPropagation(); },visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'width': position.width }",(function(e,t){return{click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectLine(e.$root.selection,a),a.stopPropagation()}},visible:function(){return!e.$root.dx._static.DragDropHandler.started()},styleunit:function(){return{width:e.$data.position.width}}}})),(0,G.addToBindingsCache)("template: 'dxrd-crosstab-cell-selection'",(function(e,t){return{template:function(){return"dxrd-crosstab-cell-selection"}}})),(0,G.addToBindingsCache)("if: _control._rowIndex() === 0",(function(e,t){return{if:function(){return 0===e.$data._control._rowIndex()}}})),(0,G.addToBindingsCache)("if: _control._columnIndex() === 0",(function(e,t){return{if:function(){return 0===e.$data._control._columnIndex()}}})),(0,G.addToBindingsCache)("if: _control.parent._rowDefinitions().length - 1 === _control._rowIndex()",(function(e,t){return{if:function(){return e.$data._control.parent._rowDefinitions().length-1===e.$data._control._rowIndex()}}})),(0,G.addToBindingsCache)("if: _control.parent._columnDefinitions().length - 1 === _control._columnIndex()",(function(e,t){return{if:function(){return e.$data._control.parent._columnDefinitions().length-1===e.$data._control._columnIndex()}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss, css: {'dxrd-control-content-multiline' : multiline, 'dxrd-disabled': $data.getControlModel().isBindable() && !$data.getControlModel().fieldName() }, cacheElement: { action: function(element) { $data.cacheElementContent(element); } }",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss},css:function(){return{"dxrd-control-content-multiline":e.$data.multiline,"dxrd-disabled":e.$data.getControlModel().isBindable()&&!e.$data.getControlModel().fieldName()}},cacheElement:function(){return{action:function(t){e.$data.cacheElementContent(t)}}}}})),(0,G.addToBindingsCache)("visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: 'visible'}",(function(e,t){return{visible:function(){return!(e.$data.selected()&&e.$data.focused())},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},style:function(){return{overflow:"visible"}}}})),(0,G.addToBindingsCache)("attr: { x1: linePosition().x1 / _context.zoom(), x2: linePosition().x2 / _context.zoom(), y1: linePosition().y1 / _context.zoom(), y2: linePosition().y2 / _context.zoom() }, style: contentCss",(function(e,t){return{attr:function(){return{x1:e.$data.linePosition().x1/e.$data._context.zoom(),x2:e.$data.linePosition().x2/e.$data._context.zoom(),y1:e.$data.linePosition().y1/e.$data._context.zoom(),y2:e.$data.linePosition().y2/e.$data._context.zoom()}},style:function(){return e.$data.contentCss}}})),(0,G.addToBindingsCache)("visible: isSelected(), trackCursor: underCursor, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-locked': locked }, draggable: $root.dragHandler, styleunit: { 'width': position.width(), 'height': 3, 'top': position.top() - 1, left: position.left() }",(function(e,t){return{visible:function(){return e.$data.isSelected()},trackCursor:function(){return e.$data.underCursor},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-locked":e.$data.locked}},draggable:function(){return e.$root.dragHandler},styleunit:function(){return{width:e.$data.position.width(),height:3,top:e.$data.position.top()-1,left:e.$data.position.left()}}}})),(0,G.addToBindingsCache)("visible: !isSelected(), trackCursor: underCursor, styleunit: { 'width': position.width(), 'height': 3, 'top': position.top() - 1, left: position.left() }",(function(e,t){return{visible:function(){return!e.$data.isSelected()},trackCursor:function(){return e.$data.underCursor},styleunit:function(){return{width:e.$data.position.width(),height:3,top:e.$data.position.top()-1,left:e.$data.position.left()}}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { 'lineHeight': lineHeight, 'height': lineHeight, 'width': position.width() / _context.zoom() }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{lineHeight:e.$data.lineHeight,height:e.$data.lineHeight,width:e.$data.position.width()/e.$data._context.zoom()}}}})),(0,G.addToBindingsCache)("style: contentCss, styleunit: { lineHeight: contentHeightWithoutZoom, height: contentHeightWithoutZoom, width: contentWidthWithoutZoom }",(function(e,t){return{style:function(){return e.$data.contentCss},styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom,height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("css: controlTypeClass, template: controlTypeIconTemplate",(function(e,t){return{css:function(){return e.$data.controlTypeClass},template:function(){return e.$data.controlTypeIconTemplate}}})),(0,G.addToBindingsCache)("text: getControlModel().textContent",(function(e,t){return{text:function(){return e.$data.getControlModel().textContent}}})),(0,G.addToBindingsCache)("if: generateOwnPages()",(function(e,t){return{if:function(){return e.$data.generateOwnPages()}}})),(0,G.addToBindingsCache)("style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $data.getResizableOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{style:function(){return{visibility:e.$data.selected()||e.$data.focused()?"inherit":"hidden"}},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$data.getResizableOptions(e.$root.resizeHandler)},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: contentHeightWithoutZoom }, visible: $data.showSkeleton",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}},visible:function(){return e.$data.showSkeleton}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss}}})),(0,G.addToBindingsCache)("visible: !$data.showSkeleton()",(function(e,t){return{visible:function(){return!e.$data.showSkeleton()}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: contentHeightWithoutZoom }, visible: $data.visibleImage",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}},visible:function(){return e.$data.visibleImage}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-todo-pdfsignature', css: {'dxrd-pdf-signature-image-fill-container' : !$data.visibleText()}",(function(e,t){return{template:function(){return"dxrd-svg-todo-pdfsignature"},css:function(){return{"dxrd-pdf-signature-image-fill-container":!e.$data.visibleText()}}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: contentHeightWithoutZoom }, visible: !$data.visibleImage() && !$data.hideImage(), css: {'dxrd-pdf-signature-info-certificate-name-fill-container': !$data.visibleText() }",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}},visible:function(){return!e.$data.visibleImage()&&!e.$data.hideImage()},css:function(){return{"dxrd-pdf-signature-info-certificate-name-fill-container":!e.$data.visibleText()}}}})),(0,G.addToBindingsCache)("text: $data.certificateName, style: contentCss, css: { 'dxrd-control-content-multiline' : multiline }",(function(e,t){return{text:function(){return e.$data.certificateName},style:function(){return e.$data.contentCss},css:function(){return{"dxrd-control-content-multiline":e.$data.multiline}}}})),(0,G.addToBindingsCache)("styleunit: { lineHeight: contentHeightWithoutZoom }, visible: visibleText, css: {'dxrd-pdf-signature-info-fill-container': $data.hideImage }",(function(e,t){return{styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}},visible:function(){return e.$data.visibleText},css:function(){return{"dxrd-pdf-signature-info-fill-container":e.$data.hideImage}}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss, css: { 'dxrd-control-content-multiline' : multiline }",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss},css:function(){return{"dxrd-control-content-multiline":e.$data.multiline}}}})),(0,G.addToBindingsCache)("visible: selected() || focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $data.getResizeOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return e.$data.selected()||e.$data.focused()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$data.getResizeOptions(e.$root.resizeHandler)},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("styleunit: { 'width': Math.max(positionWidthWithoutZoom(), minWidth()), 'height': position.height() / _context.zoom() }, trackCursor: underCursor",(function(e,t){return{styleunit:function(){return{width:Math.max(e.$data.positionWidthWithoutZoom(),e.$data.minWidth()),height:e.$data.position.height()/e.$data._context.zoom()}},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("css: {'dxrd-pivot-field-selected': selected }, zoom: 1/_context.zoom(), styleunit: { 'width': Math.max(position.width(), minWidth() * _context.zoom()), 'height': position.height }",(function(e,t){return{css:function(){return{"dxrd-pivot-field-selected":e.$data.selected}},zoom:function(){return 1/e.$data._context.zoom()},styleunit:function(){return{width:Math.max(e.$data.position.width(),e.$data.minWidth()*e.$data._context.zoom()),height:e.$data.position.height}}}})),(0,G.addToBindingsCache)("text: displayName, zoom: _context.zoom",(function(e,t){return{text:function(){return e.$data.displayName},zoom:function(){return e.$data._context.zoom}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, addHandler: $root.dx._static.PivotGridFieldViewModel.createNew(_model), displayName: $root.getLocalization(displayName), level: level, info: info }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,addHandler:e.$root.dx._static.PivotGridFieldViewModel.createNew(e.$data._model),displayName:e.$root.getLocalization(e.$data.displayName),level:e.$data.level,info:e.$data.info}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function(){ return $root.dx._static.SortBySummaryInfoCondition.createNew($parents[1].value()) } }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$root.dx._static.SortBySummaryInfoCondition.createNew(e.$parents[1].value())}}}}})),(0,G.addToBindingsCache)("style: contentCss",(function(e,t){return{style:function(){return e.$data.contentCss}}})),(0,G.addToBindingsCache)("css: { 'dxrd-pivot-content-rtl': getControlModel().rtl() }",(function(e,t){return{css:function(){return{"dxrd-pivot-content-rtl":e.$data.getControlModel().rtl()}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': positionWidthWithoutZoom }",(function(e,t){return{styleunit:function(){return{width:e.$data.positionWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Add Filter Fields Here', 'ASPxReportsStringId.ReportDesigner_Pivot_AddFilterFields')",(function(e,t){return{text:function(){return e.$root.getLocalization("Add Filter Fields Here","ASPxReportsStringId.ReportDesigner_Pivot_AddFilterFields")}}})),(0,G.addToBindingsCache)("styleunit: { width: totalsRowFieldWidth, height: rowHeaderHeight }",(function(e,t){return{styleunit:function(){return{width:e.$data.totalsRowFieldWidth,height:e.$data.rowHeaderHeight}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': positionWidthWithoutZoom }",(function(e,t){return{styleunit:function(){return{width:e.$data.positionWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Add Row Fields Here', 'ASPxReportsStringId.ReportDesigner_Pivot_AddRowFields')",(function(e,t){return{text:function(){return e.$root.getLocalization("Add Row Fields Here","ASPxReportsStringId.ReportDesigner_Pivot_AddRowFields")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Grand Total', 'PivotGridStringId.GrandTotal')",(function(e,t){return{text:function(){return e.$root.getLocalization("Grand Total","PivotGridStringId.GrandTotal")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Add Column Fields Here', 'ASPxReportsStringId.ReportDesigner_Pivot_AddColumnFields')",(function(e,t){return{text:function(){return e.$root.getLocalization("Add Column Fields Here","ASPxReportsStringId.ReportDesigner_Pivot_AddColumnFields")}}})),(0,G.addToBindingsCache)("styleunit: { width: totalsDataFieldWidth }",(function(e,t){return{styleunit:function(){return{width:e.$data.totalsDataFieldWidth}}}})),(0,G.addToBindingsCache)("styleunit: { height: totalsHeight }, text: $root.getLocalization('Grand Total', 'PivotGridStringId.GrandTotal')",(function(e,t){return{styleunit:function(){return{height:e.$data.totalsHeight}},text:function(){return e.$root.getLocalization("Grand Total","PivotGridStringId.GrandTotal")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Add Data Items Here', 'ASPxReportsStringId.ReportDesigner_Pivot_AddDataItems')",(function(e,t){return{text:function(){return e.$root.getLocalization("Add Data Items Here","ASPxReportsStringId.ReportDesigner_Pivot_AddDataItems")}}})),(0,G.addToBindingsCache)("if: filterFields().length !== 0",(function(e,t){return{if:function(){return 0!==e.$data.filterFields().length}}})),(0,G.addToBindingsCache)("foreach: filterFields",(function(e,t){return{foreach:function(){return e.$data.filterFields}}})),(0,G.addToBindingsCache)("if: filterFields().length === 0",(function(e,t){return{if:function(){return 0===e.$data.filterFields().length}}})),(0,G.addToBindingsCache)("if: rowFields().length !== 0",(function(e,t){return{if:function(){return 0!==e.$data.rowFields().length}}})),(0,G.addToBindingsCache)("foreach: rowFields",(function(e,t){return{foreach:function(){return e.$data.rowFields}}})),(0,G.addToBindingsCache)("if: rowFields().length === 0",(function(e,t){return{if:function(){return 0===e.$data.rowFields().length}}})),(0,G.addToBindingsCache)("if: columnFields().length !== 0",(function(e,t){return{if:function(){return 0!==e.$data.columnFields().length}}})),(0,G.addToBindingsCache)("foreach: columnFields",(function(e,t){return{foreach:function(){return e.$data.columnFields}}})),(0,G.addToBindingsCache)("if: columnFields().length === 0",(function(e,t){return{if:function(){return 0===e.$data.columnFields().length}}})),(0,G.addToBindingsCache)("if: dataFields().length !== 0",(function(e,t){return{if:function(){return 0!==e.$data.dataFields().length}}})),(0,G.addToBindingsCache)("foreach: dataFields",(function(e,t){return{foreach:function(){return e.$data.dataFields}}})),(0,G.addToBindingsCache)("if: dataFields().length === 0",(function(e,t){return{if:function(){return 0===e.$data.dataFields().length}}})),(0,G.addToBindingsCache)("zoom: _context.zoom(), css: { 'dxrd-pivot-content-rtl': getControlModel().rtl() }",(function(e,t){return{zoom:function(){return e.$data._context.zoom()},css:function(){return{"dxrd-pivot-content-rtl":e.$data.getControlModel().rtl()}}}})),(0,G.addToBindingsCache)("visible: !($data.selected() || $data.focused()), css: { 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-control-rtl': getControlModel().rtl() }, styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return!(e.$data.selected()||e.$data.focused())},css:function(){return{"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked,"dxrd-control-rtl":e.$data.getControlModel().rtl()}},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("visible: $data.selected() || $data.focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-control-rtl': getControlModel().rtl() }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return e.$data.selected()||e.$data.focused()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked,"dxrd-control-rtl":e.$data.getControlModel().rtl()}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("template: 'dxrd-pivotgrid-selection-context'",(function(e,t){return{template:function(){return"dxrd-pivotgrid-selection-context"}}})),(0,G.addToBindingsCache)("styleunit: { 'width': Math.min($data.pageWidth() + $data.maxMarkerWidth() + $root.verticalScrollOffset() , $root.surfaceSize()) }, css: { 'dxrd-surface-rtl': rtl() }, click: function(surface, e) { !$root.selection.disabled() && $root.selection.clickHandler($root.selection.dropTarget ? null : surface, e); e.stopPropagation(); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(surface, e) { $data.surfaceContextMenuHandler && $data.surfaceContextMenuHandler($root.selection, surface, e); }} : null, keyDownActions: $root.actionLists.getViewModel()",(function(e,t){return{styleunit:function(){return{width:Math.min(e.$data.pageWidth()+e.$data.maxMarkerWidth()+e.$root.verticalScrollOffset(),e.$root.surfaceSize())}},css:function(){return{"dxrd-surface-rtl":e.$data.rtl()}},click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$root.selection.clickHandler(e.$root.selection.dropTarget?null:t,a),a.stopPropagation()}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:function(t,a){e.$data.surfaceContextMenuHandler&&e.$data.surfaceContextMenuHandler(e.$root.selection,t,a)}}:null},keyDownActions:function(){return e.$root.actionLists.getViewModel()}}})),(0,G.addToBindingsCache)("styleunit: $root.dx['config']()['rtlEnabled'] ? { right: maxMarkerWidth() } : { left: maxMarkerWidth() }, style: { bottom: (20 - $root.horizontalScrollOffset()) + 'px' }",(function(e,t){return{styleunit:function(){return e.$root.dx.config().rtlEnabled?{right:e.$data.maxMarkerWidth()}:{left:e.$data.maxMarkerWidth()}},style:function(){return{bottom:20-e.$root.horizontalScrollOffset()+"px"}}}})),(0,G.addToBindingsCache)("styleunit: { left: leftMarginOffset,'width': margins.left }",(function(e,t){return{styleunit:function(){return{left:e.$data.leftMarginOffset,width:e.$data.margins.left}}}})),(0,G.addToBindingsCache)("ruler: { 'zoom': zoom, 'length': margins.left, 'units': measureUnit, flip: ko.computed(function(){ return !rtl(); }) }",(function(e,t){return{ruler:function(){return{zoom:e.$data.zoom,length:e.$data.margins.left,units:e.$data.measureUnit,flip:e.ko.computed((function(){return!e.$data.rtl()}))}}}})),(0,G.addToBindingsCache)("styleunit: { left: 0, 'width': margins.left }",(function(e,t){return{styleunit:function(){return{left:0,width:e.$data.margins.left}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': (pageWidth() - margins.left()), left: ghostContainerOffset }",(function(e,t){return{styleunit:function(){return{width:e.$data.pageWidth()-e.$data.margins.left(),left:e.$data.ghostContainerOffset}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': pageWidthWithoutMargins, 'left': leftMarginResizableOffset }, resizable: leftMarginResizeOptions($root.undoEngine, $element)",(function(e,t){return{styleunit:function(){return{width:e.$data.pageWidthWithoutMargins,left:e.$data.leftMarginResizableOffset}},resizable:function(){return e.$data.leftMarginResizeOptions(e.$root.undoEngine,t)}}})),(0,G.addToBindingsCache)("ruler: { 'zoom': zoom, 'length': function() { return pageWidth() - margins.left();}, 'units': measureUnit, flip: rtl }",(function(e,t){return{ruler:function(){return{zoom:e.$data.zoom,length:function(){return e.$data.pageWidth()-e.$data.margins.left()},units:e.$data.measureUnit,flip:e.$data.rtl}}}})),(0,G.addToBindingsCache)("styleunit: { left: rightMarginOffset, width: margins.right }, resizable: rightMarginResizeOptions($root.undoEngine, $element)",(function(e,t){return{styleunit:function(){return{left:e.$data.rightMarginOffset,width:e.$data.margins.right}},resizable:function(){return e.$data.rightMarginResizeOptions(e.$root.undoEngine,t)}}})),(0,G.addToBindingsCache)("styleunit: { 'left': pageWidth() }",(function(e,t){return{styleunit:function(){return{left:e.$data.pageWidth()}}}})),(0,G.addToBindingsCache)("styleunit: { minWidth: Math.min($data.pageWidth() + $root.verticalScrollOffset(), $root.surfaceSize()) - $data.maxMarkerWidth(), maxWidth: $data.pageWidth() + $root.verticalScrollOffset(), maxHeight: $data.effectiveHeight() + $root.horizontalScrollOffset() }, event: { scroll: function() { $root.onViewPortScroll($element) } }, style: { 'overflow-x': $root.horizontalScrollOffset() ? 'auto' : 'hidden', 'overflow-y': $root.verticalScrollOffset() ? 'auto' : 'hidden' }",(function(e,t){return{styleunit:function(){return{minWidth:Math.min(e.$data.pageWidth()+e.$root.verticalScrollOffset(),e.$root.surfaceSize())-e.$data.maxMarkerWidth(),maxWidth:e.$data.pageWidth()+e.$root.verticalScrollOffset(),maxHeight:e.$data.effectiveHeight()+e.$root.horizontalScrollOffset()}},event:function(){return{scroll:function(){e.$root.onViewPortScroll(t)}}},style:function(){return{"overflow-x":e.$root.horizontalScrollOffset()?"auto":"hidden","overflow-y":e.$root.verticalScrollOffset()?"auto":"hidden"}}}})),(0,G.addToBindingsCache)("styleunit: { left: leftMarginOffset, width: margins.left() }",(function(e,t){return{styleunit:function(){return{left:e.$data.leftMarginOffset,width:e.$data.margins.left()}}}})),(0,G.addToBindingsCache)("styleunit: { left: ghostContainerOffset }",(function(e,t){return{styleunit:function(){return{left:e.$data.ghostContainerOffset}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': pageWidthWithoutMargins, 'height': minHeight }",(function(e,t){return{styleunit:function(){return{width:e.$data.pageWidthWithoutMargins,height:e.$data.minHeight}}}})),(0,G.addToBindingsCache)("styleunit: { left: leftMarginOffset() }",(function(e,t){return{styleunit:function(){return{left:e.$data.leftMarginOffset()}}}})),(0,G.addToBindingsCache)("attr: { x1: 0, x2: 0 }",(function(e,t){return{attr:function(){return{x1:0,x2:0}}}})),(0,G.addToBindingsCache)("styleunit: { left: rtl() ? margins.right() : rightMarginOffset() }, visible: margins.right() > 0",(function(e,t){return{styleunit:function(){return{left:e.$data.rtl()?e.$data.margins.right():e.$data.rightMarginOffset()}},visible:function(){return e.$data.margins.right()>0}}})),(0,G.addToBindingsCache)("styleunit: { 'width': pageWidthWithoutMargins }",(function(e,t){return{styleunit:function(){return{width:e.$data.pageWidthWithoutMargins}}}})),(0,G.addToBindingsCache)("styleunit: { 'width': pageWidthWithoutMargins, 'left': leftMarginResizableOffset }, resizableReportMargins: leftMarginResizeOptions($root.undoEngine, $element)",(function(e,t){return{styleunit:function(){return{width:e.$data.pageWidthWithoutMargins,left:e.$data.leftMarginResizableOffset}},resizableReportMargins:function(){return e.$data.leftMarginResizeOptions(e.$root.undoEngine,t)}}})),(0,G.addToBindingsCache)("visible: isSelected() && !$root.dx._static.DragDropHandler.started(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return e.$data.isSelected()&&!e.$root.dx._static.DragDropHandler.started()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("styleunit: { left: rightMarginResizableOffset }, resizableReportMargins: rightMarginResizeOptions($root.undoEngine, $element)",(function(e,t){return{styleunit:function(){return{left:e.$data.rightMarginResizableOffset}},resizableReportMargins:function(){return e.$data.rightMarginResizeOptions(e.$root.undoEngine,t)}}})),(0,G.addToBindingsCache)("styleunit: { width: maxMarkerWidth() }",(function(e,t){return{styleunit:function(){return{width:e.$data.maxMarkerWidth()}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginSelectionTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $data.margins.left }; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"leftMarginSelectionTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,width:e.$data.margins.left}}}}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $data.margins.left, snapGridSize: $data.snapGridSize }; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"leftMarginTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,width:e.$data.margins.left,snapGridSize:e.$data.snapGridSize}}}}}}})),(0,G.addToBindingsCache)("foreach: crossBandControls",(function(e,t){return{foreach:function(){return e.$data.crossBandControls}}})),(0,G.addToBindingsCache)("template: { name: template }",(function(e,t){return{template:function(){return{name:e.$data.template}}}})),(0,G.addToBindingsCache)("template: { name: 'dxd-snap-lines-holder', data: $root.snapHelper }",(function(e,t){return{template:function(){return{name:"dxd-snap-lines-holder",data:e.$root.snapHelper}}}})),(0,G.addToBindingsCache)("ifnot: focused",(function(e,t){return{ifnot:function(){return e.$data.focused}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-smart-tags', data: $root.smartTagModel, if: $root.smartTagModel.visible && $root.smartTagModel.smartTags().length > 0 }",(function(e,t){return{template:function(){return{name:"dxrd-smart-tags",data:e.$root.smartTagModel,if:e.$root.smartTagModel.visible&&e.$root.smartTagModel.smartTags().length>0}}}})),(0,G.addToBindingsCache)("if: focused",(function(e,t){return{if:function(){return e.$data.focused}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-band-holder', data: { templateName: 'vrulerTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, measureUnit: $data.measureUnit }; } } }",(function(e,t){return{template:function(){return{name:"dxrd-band-holder",data:{templateName:"vrulerTemplate",holder:e.$data.bandsHolder,getData:function(t){return{surface:t,measureUnit:e.$data.measureUnit}}}}}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { height: contentHeightWithoutZoom, width: contentWidthWithoutZoom }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("attr: { src: imageSrc }, styleunit: { 'height': contentHeightWithoutZoom, 'width': contentWidthWithoutZoom }",(function(e,t){return{attr:function(){return{src:e.$data.imageSrc}},styleunit:function(){return{height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("text: error",(function(e,t){return{text:function(){return e.$data.error}}})),(0,G.addToBindingsCache)("if: $data.imageSrc",(function(e,t){return{if:function(){return e.$data.imageSrc}}})),(0,G.addToBindingsCache)("if: $data.isLoading",(function(e,t){return{if:function(){return e.$data.isLoading}}})),(0,G.addToBindingsCache)("if: $data.error",(function(e,t){return{if:function(){return e.$data.error}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { 'lineHeight': contentHeightWithoutZoom }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{lineHeight:e.$data.contentHeightWithoutZoom}}}})),(0,G.addToBindingsCache)("event: { dblclick: function (control, e) { $root.navigateByReports.goToSubreport(control); } }, visible: isSelected, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $data.getResizableOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{event:function(){return{dblclick:function(t,a){e.$root.navigateByReports.goToSubreport(t)}}},visible:function(){return e.$data.isSelected},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$data.getResizableOptions(e.$root.resizeHandler)},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("visible: !isSelected(), styleunit: position, trackCursor: underCursor",(function(e,t){return{visible:function(){return!e.$data.isSelected()},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("text: displayText(), style: contentCss",(function(e,t){return{text:function(){return e.$data.displayText()},style:function(){return e.$data.contentCss}}})),(0,G.addToBindingsCache)("style: { visibility: !isSelected() ? 'visible' : 'hidden'}, styleunit: position",(function(e,t){return{style:function(){return{visibility:e.$data.isSelected()?"hidden":"visible"}},styleunit:function(){return e.$data.position}}})),(0,G.addToBindingsCache)("styleunit: { 'top': position.top, 'height': position.height }",(function(e,t){return{styleunit:function(){return{top:e.$data.position.top,height:e.$data.position.height}}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style:{ overflow: isSelected() ? 'visible' : 'hidden', 'z-index': offsetZIndex() }",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},style:function(){return{overflow:e.$data.isSelected()?"visible":"hidden","z-index":e.$data.offsetZIndex()}}}})),(0,G.addToBindingsCache)("style: { visibility: 'inherit' }, css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position",(function(e,t){return{style:function(){return{visibility:"inherit"}},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position}}})),(0,G.addToBindingsCache)("click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'left': position.left, 'width': position.width }",(function(e,t){return{click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectColumn(e.$root.selection),a.stopPropagation()}},visible:function(){return!e.$root.dx._static.DragDropHandler.started()},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width}}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, visible: !$root.dx._static.DragDropHandler.started()",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},visible:function(){return!e.$root.dx._static.DragDropHandler.started()}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style: { 'z-index': offsetZIndex() }",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},style:function(){return{"z-index":e.$data.offsetZIndex()}}}})),(0,G.addToBindingsCache)("click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); },visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'left': position.left, 'width': position.width }",(function(e,t){return{click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectColumn(e.$root.selection),a.stopPropagation()}},visible:function(){return!e.$root.dx._static.DragDropHandler.started()},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width}}}})),(0,G.addToBindingsCache)("visible: isSelected() && !(selected() || focused()), styleunit: position",(function(e,t){return{visible:function(){return e.$data.isSelected()&&!(e.$data.selected()||e.$data.focused())},styleunit:function(){return e.$data.position}}})),(0,G.addToBindingsCache)("visible: isSelected(), css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-locked': locked }, resizable: { starting: $root.resizeHandler.starting, stopped: $root.resizeHandler.stopped, handles: 'n,s', disabled: !(selected() || focused()), zoom: $root.surface().zoom }, styleunit: { 'top': position.top, 'height': position.height }",(function(e,t){return{visible:function(){return e.$data.isSelected()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-locked":e.$data.locked}},resizable:function(){return{starting:e.$root.resizeHandler.starting,stopped:e.$root.resizeHandler.stopped,handles:"n,s",disabled:!(e.$data.selected()||e.$data.focused()),zoom:e.$root.surface().zoom}},styleunit:function(){return{top:e.$data.position.top,height:e.$data.position.height}}}})),(0,G.addToBindingsCache)("visible: !$root.dx._static.DragDropHandler.started(), trackCursor: underCursor",(function(e,t){return{visible:function(){return!e.$root.dx._static.DragDropHandler.started()},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, visible: isSelected, css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-table-cell-over-rowSpan': rowSpan() === 0 }, resizable: { starting: $root.resizeHandler.starting, stopped: $root.resizeHandler.stopped, handles: 'e,w', disabled: !(selected() || focused()), zoom: $root.surface().zoom, snapHelper: $root.resizeHandler.snapHelper }, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},event:function(){return{dblclick:function(){e.$root.inlineTextEdit.show(t)}}},visible:function(){return e.$data.isSelected},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked,"dxrd-table-cell-over-rowSpan":0===e.$data.rowSpan()}},resizable:function(){return{starting:e.$root.resizeHandler.starting,stopped:e.$root.resizeHandler.stopped,handles:"e,w",disabled:!(e.$data.selected()||e.$data.focused()),zoom:e.$root.surface().zoom,snapHelper:e.$root.resizeHandler.snapHelper}},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},style:function(){return{"z-index":e.$data.offsetZIndex()}}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, visible: !isSelected(), styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},visible:function(){return!e.$data.isSelected()},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},style:function(){return{"z-index":e.$data.offsetZIndex()}}}})),(0,G.addToBindingsCache)("visible: !isSelected(), styleunit: { 'top': position.top, 'height': position.height }",(function(e,t){return{visible:function(){return!e.$data.isSelected()},styleunit:function(){return{top:e.$data.position.top,height:e.$data.position.height}}}})),(0,G.addToBindingsCache)("visible: !$root.dx._static.DragDropHandler.started(),trackCursor: underCursor",(function(e,t){return{visible:function(){return!e.$root.dx._static.DragDropHandler.started()},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},style:function(){return{"z-index":e.$data.offsetZIndex()}}}})),(0,G.addToBindingsCache)("visible: !$root.dx._static.DragDropHandler.started(),click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); }, styleunit: { 'left': position.left, 'width': position.width }",(function(e,t){return{visible:function(){return!e.$root.dx._static.DragDropHandler.started()},click:function(){return function(t,a){!e.$root.selection.disabled()&&e.$data.selectColumn(e.$root.selection),a.stopPropagation()}},styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width}}}})),(0,G.addToBindingsCache)("if: rows().length > 0",(function(e,t){return{if:function(){return e.$data.rows().length>0}}})),(0,G.addToBindingsCache)("foreach: rows",(function(e,t){return{foreach:function(){return e.$data.rows}}})),(0,G.addToBindingsCache)("if: (selected() || focused())",(function(e,t){return{if:function(){return e.$data.selected()||e.$data.focused()}}})),(0,G.addToBindingsCache)("foreach: rows()[0].cells",(function(e,t){return{foreach:function(){return e.$data.rows()[0].cells}}})),(0,G.addToBindingsCache)("foreach: rows()[rows().length-1].cells",(function(e,t){return{foreach:function(){return e.$data.rows()[e.$data.rows().length-1].cells}}})),(0,G.addToBindingsCache)("styleunit: position, trackCursor: underCursor, css: adorntemplate",(function(e,t){return{styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("style: css",(function(e,t){return{style:function(){return e.$data.css}}})),(0,G.addToBindingsCache)("styleunit: { 'top': position.top, 'height': position.height}, style: css, css: adorntemplate",(function(e,t){return{styleunit:function(){return{top:e.$data.position.top,height:e.$data.position.height}},style:function(){return e.$data.css},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, trackCursor: underCursor, css: adorntemplate",(function(e,t){return{styleunit:function(){return{left:e.$data.position.left,width:e.$data.position.width,height:e.$data.heightWithRowSpan}},trackCursor:function(){return e.$data.underCursor},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate, styleunit: { 'lineHeight': position.lineHeight() / _context.zoom(), 'width': contentWidthWithoutZoom, 'height': contentHeightWithoutZoom }, style: css",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate},styleunit:function(){return{lineHeight:e.$data.position.lineHeight()/e.$data._context.zoom(),width:e.$data.contentWidthWithoutZoom,height:e.$data.contentHeightWithoutZoom}},style:function(){return e.$data.css}}})),(0,G.addToBindingsCache)("styleunit: { height: position.height, top: position.top, lineHeight: position.lineHeight}, css: adorntemplate",(function(e,t){return{styleunit:function(){return{height:e.$data.position.height,top:e.$data.position.top,lineHeight:e.$data.position.lineHeight}},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("styleunit: { 'height': _context.zoom()}",(function(e,t){return{styleunit:function(){return{height:e.$data._context.zoom()}}}})),(0,G.addToBindingsCache)("style: borderCss, styleunit: { left: position.left, width: contentSizes().width + (contentSizes().left + contentSizes().right)}",(function(e,t){return{style:function(){return e.$data.borderCss},styleunit:function(){return{left:e.$data.position.left,width:e.$data.contentSizes().width+(e.$data.contentSizes().left+e.$data.contentSizes().right)}}}})),(0,G.addToBindingsCache)("style: borderCss, styleunit: { left: position.left}",(function(e,t){return{style:function(){return e.$data.borderCss},styleunit:function(){return{left:e.$data.position.left}}}})),(0,G.addToBindingsCache)("styleunit: { 'top': contentSizes().top, 'left': contentSizes().left + position.left(), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}, style: css",(function(e,t){return{styleunit:function(){return{top:e.$data.contentSizes().top,left:e.$data.contentSizes().left+e.$data.position.left(),lineHeight:e.$data.contentSizes().height,height:e.$data.contentSizes().height,width:e.$data.contentSizes().width}},style:function(){return e.$data.css}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, styleunit: { 'height': contentHeightWithoutZoom, 'width': contentWidthWithoutZoom }",(function(e,t){return{zoom:function(){return e.$data._context.zoom},styleunit:function(){return{height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}}}})),(0,G.addToBindingsCache)("text: $data.getControlModel().name",(function(e,t){return{text:function(){return e.$data.getControlModel().name}}})),(0,G.addToBindingsCache)("text: leaderSymbols",(function(e,t){return{text:function(){return e.$data.leaderSymbols}}})),(0,G.addToBindingsCache)("event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, visible: isSelected, css: {'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{event:function(){return{dblclick:function(){e.$root.inlineTextEdit.show(t)}}},visible:function(){return e.$data.isSelected},css:function(){return{"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("styleunit: position, resizable: resizable($root.resizeHandler, $element)",(function(e,t){return{styleunit:function(){return e.$data.position},resizable:function(){return e.$data.resizable(e.$root.resizeHandler,t)}}})),(0,G.addToBindingsCache)("styleunit: { height: position.height, top: position.top, lineHeight: position.lineHeight }, resizable: resizable($root.resizeHandler, $element)",(function(e,t){return{styleunit:function(){return{height:e.$data.position.height,top:e.$data.position.top,lineHeight:e.$data.position.lineHeight}},resizable:function(){return e.$data.resizable(e.$root.resizeHandler,t)}}})),(0,G.addToBindingsCache)("template: { name: levelTitle.template, data: levelTitle }",(function(e,t){return{template:function(){return{name:e.$data.levelTitle.template,data:e.$data.levelTitle}}}})),(0,G.addToBindingsCache)("foreach: $data.levels()",(function(e,t){return{foreach:function(){return e.$data.levels()}}})),(0,G.addToBindingsCache)("template: { name: levelDefault.template, data: levelDefault, isDefault: true }",(function(e,t){return{template:function(){return{name:e.$data.levelDefault.template,data:e.$data.levelDefault,isDefault:!0}}}})),(0,G.addToBindingsCache)("if: getControlModel().rtl()",(function(e,t){return{if:function(){return e.$data.getControlModel().rtl()}}})),(0,G.addToBindingsCache)("if: !getControlModel().rtl()",(function(e,t){return{if:function(){return!e.$data.getControlModel().rtl()}}})),(0,G.addToBindingsCache)("if: getControlModel().isTitle",(function(e,t){return{if:function(){return e.$data.getControlModel().isTitle}}})),(0,G.addToBindingsCache)("ifnot: getControlModel().isTitle",(function(e,t){return{ifnot:function(){return e.$data.getControlModel().isTitle}}})),(0,G.addToBindingsCache)("with: levelTitle",(function(e,t){return{with:function(){return e.$data.levelTitle}}})),(0,G.addToBindingsCache)("with: levelDefault",(function(e,t){return{with:function(){return e.$data.levelDefault}}})),(0,G.addToBindingsCache)("controlDisplayName: $data, style: contentCss, css: {'dxrd-control-content-multiline' : multiline }, cacheElement: { action: function(element) { $data.cacheElementContent(element); } }",(function(e,t){return{controlDisplayName:function(){return e.$data},style:function(){return e.$data.contentCss},css:function(){return{"dxrd-control-content-multiline":e.$data.multiline}},cacheElement:function(){return{action:function(t){e.$data.cacheElementContent(t)}}}}})),(0,G.addToBindingsCache)("styleunit: position, trackCursor: underCursor, style: css, css: adorntemplate",(function(e,t){return{styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},style:function(){return e.$data.css},css:function(){return e.$data.adorntemplate}}})),(0,G.addToBindingsCache)("text: displayName, style: contentCss",(function(e,t){return{text:function(){return e.$data.displayName},style:function(){return e.$data.contentCss}}})),(0,G.addToBindingsCache)("zoom: _context.zoom, template: contenttemplate",(function(e,t){return{zoom:function(){return e.$data._context.zoom},template:function(){return e.$data.contenttemplate}}})),(0,G.addToBindingsCache)("with: propertyGrid",(function(e,t){return{with:function(){return e.$data.propertyGrid}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: ko.observable(tableInfoItems), displayName: $root.getLocalization('Filter Criteria', 'ASPxReportsStringId.ReportDesigner_DataSource_FilterCriteriaTitle'), hideButtons: true }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.ko.observable(e.$data.tableInfoItems),displayName:e.$root.getLocalization("Filter Criteria","ASPxReportsStringId.ReportDesigner_DataSource_FilterCriteriaTitle"),hideButtons:!0}}}})),(0,G.addToBindingsCache)("text: tableName",(function(e,t){return{text:function(){return e.$data.tableName}}})),(0,G.addToBindingsCache)("dxFilterEditor: { options: filterString, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath }",(function(e,t){return{dxFilterEditor:function(){return{options:e.$data.filterString,fieldListProvider:e.$root.dataBindingsProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath}}}})),(0,G.addToBindingsCache)("if: $data.filterString() !== null",(function(e,t){return{if:function(){return null!==e.$data.filterString()}}})),(0,G.addToBindingsCache)("style: { 'height': height() + 'px', 'width': width() + 'px' }, attr: { viewBox: '0 0 ' + width() + ' ' + height() }",(function(e,t){return{style:function(){return{height:e.$data.height()+"px",width:e.$data.width()+"px"}},attr:function(){return{viewBox:"0 0 "+e.$data.width()+" "+e.$data.height()}}}})),(0,G.addToBindingsCache)("attr: { x1: coordVal, x2: coordVal }, visible: visible",(function(e,t){return{attr:function(){return{x1:e.$data.coordVal,x2:e.$data.coordVal}},visible:function(){return e.$data.visible}}})),(0,G.addToBindingsCache)("attr: { y1: coordVal, y2: coordVal }, visible: visible",(function(e,t){return{attr:function(){return{y1:e.$data.coordVal,y2:e.$data.coordVal}},visible:function(){return e.$data.visible}}})),(0,G.addToBindingsCache)("foreach: verticalGridLines",(function(e,t){return{foreach:function(){return e.$data.verticalGridLines}}})),(0,G.addToBindingsCache)("foreach: horizontalGridLines",(function(e,t){return{foreach:function(){return e.$data.horizontalGridLines}}})),(0,G.addToBindingsCache)("foreach: majorVerticalGridLines",(function(e,t){return{foreach:function(){return e.$data.majorVerticalGridLines}}})),(0,G.addToBindingsCache)("foreach: majorHorizontalGridLines",(function(e,t){return{foreach:function(){return e.$data.majorHorizontalGridLines}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: $root.editableObject, displayExpr: function(value) { var showValue = value || $root.editableObject(); return $root.dx._static.getControlFullName(showValue) }, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.controlsStore.dataSource,value:e.$root.editableObject,displayExpr:function(t){var a=t||e.$root.editableObject();return e.$root.dx._static.getControlFullName(a)},dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("template: 'dx-propertieseditor'",(function(e,t){return{template:function(){return"dx-propertieseditor"}}})),(0,G.addToBindingsCache)("visible: !inRenameMode && (isSelected || isHovered)",(function(e,t){return{visible:function(){return!e.$data.inRenameMode&&(e.$data.isSelected||e.$data.isHovered)}}})),(0,G.addToBindingsCache)("dxTextBox: createRenameEditorOptions(), dxValidator: createValidatorOptions()",(function(e,t){return{dxTextBox:function(){return e.$data.createRenameEditorOptions()},dxValidator:function(){return e.$data.createValidatorOptions()}}})),(0,G.addToBindingsCache)("if: !inRenameMode",(function(e,t){return{if:function(){return!e.$data.inRenameMode}}})),(0,G.addToBindingsCache)("if: inRenameMode",(function(e,t){return{if:function(){return e.$data.inRenameMode}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Field List', 'ReportStringId.UD_Title_FieldList')",(function(e,t){return{text:function(){return e.$root.getLocalization("Field List","ReportStringId.UD_Title_FieldList")}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: startWizard, visible: visible(), text: addDataSourceButtonText, icon: 'dxrd-svg-operations-add', iconClass: 'dx-image-add' }, attr: { title: addDataSourceButtonText }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.startWizard,visible:e.$data.visible(),text:e.$data.addDataSourceButtonText,icon:"dxrd-svg-operations-add",iconClass:"dx-image-add"}},attr:function(){return{title:e.$data.addDataSourceButtonText}}}})),(0,G.addToBindingsCache)("treeListSearchPanel: {controllers:treeListOptions.treeListController}",(function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.treeListOptions.treeListController}}}})),(0,G.addToBindingsCache)("dxContextMenu: fieldListContextMenu",(function(e,t){return{dxContextMenu:function(){return e.$data.fieldListContextMenu}}})),(0,G.addToBindingsCache)("if: $data.allowAddDataSource",(function(e,t){return{if:function(){return e.$data.allowAddDataSource}}})),(0,G.addToBindingsCache)("if: useContextMenu",(function(e,t){return{if:function(){return e.$data.useContextMenu}}})),(0,G.addToBindingsCache)("searchHighlighting: { text: displayName, textToSearch: $parent.textToSearch }, attr: { 'title': displayName }",(function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$parent.textToSearch}},attr:function(){return{title:e.$data.displayName}}}})),(0,G.addToBindingsCache)("dxTextBox: { value: defaultText, readOnly: !$data.isDefaultLanguage() }, css: { 'dxrd-localization-panel-textbox-full': $data.isDefaultLanguage() }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.defaultText,readOnly:!e.$data.isDefaultLanguage()}},css:function(){return{"dxrd-localization-panel-textbox-full":e.$data.isDefaultLanguage()}}}})),(0,G.addToBindingsCache)("dxTextBox: { value: localizedText, onFocusIn: function(e, s) { $parent.onItemGotFocus(e) }, visible: !$data.isDefaultLanguage()}",(function(e,t){return{dxTextBox:function(){return{value:e.$data.localizedText,onFocusIn:function(t,a){e.$parent.onItemGotFocus(t)},visible:!e.$data.isDefaultLanguage()}}}})),(0,G.addToBindingsCache)("dxTextArea: { value: defaultText, readOnly: !$data.isDefaultLanguage(), autoResizeEnabled: true, minHeight: '26px', maxHeight: '58px' }, css: { 'dxrd-localization-panel-textbox-full': $data.isDefaultLanguage() }",(function(e,t){return{dxTextArea:function(){return{value:e.$data.defaultText,readOnly:!e.$data.isDefaultLanguage(),autoResizeEnabled:!0,minHeight:"26px",maxHeight:"58px"}},css:function(){return{"dxrd-localization-panel-textbox-full":e.$data.isDefaultLanguage()}}}})),(0,G.addToBindingsCache)("dxTextArea: { value: localizedText, onFocusIn: function(e, s) { $parent.onItemGotFocus(e) }, autoResizeEnabled: true, minHeight: '26px', maxHeight: '58px' }",(function(e,t){return{dxTextArea:function(){return{value:e.$data.localizedText,onFocusIn:function(t,a){e.$parent.onItemGotFocus(t)},autoResizeEnabled:!0,minHeight:"26px",maxHeight:"58px"}}}})),(0,G.addToBindingsCache)("css: { 'dx-rtl': $root.rtl, 'dx-ltr': !$root.rtl }, styleunit: { width: width }",(function(e,t){return{css:function(){return{"dx-rtl":e.$root.rtl,"dx-ltr":!e.$root.rtl}},styleunit:function(){return{width:e.$data.width}}}})),(0,G.addToBindingsCache)("resizable: getResizableOptions($element, 0, 500, $root.rtl ? 'Left': 'Right', 'Right', width)",(function(e,t){return{resizable:function(){return e.$data.getResizableOptions(t,0,500,e.$root.rtl?"Left":"Right","Right",e.$data.width)}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Localization', 'ASPxReportsStringId.ReportDesigner_LocalizationEditor_Title')",(function(e,t){return{text:function(){return e.$root.getLocalization("Localization","ASPxReportsStringId.ReportDesigner_LocalizationEditor_Title")}}})),(0,G.addToBindingsCache)("css: { 'dx-property-grid-search-uncollapsed ': isSearching() }",(function(e,t){return{css:function(){return{"dx-property-grid-search-uncollapsed ":e.$data.isSearching()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Language', 'DevExpress.XtraReports.UI.XtraReport.XRLanguage')",(function(e,t){return{text:function(){return e.$root.getLocalization("Language","DevExpress.XtraReports.UI.XtraReport.XRLanguage")}}})),(0,G.addToBindingsCache)("css: { 'dx-field-value-shortened': getRegisteredService() }",(function(e,t){return{css:function(){return{"dx-field-value-shortened":e.$data.getRegisteredService()}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: function() { $data.applyLocalization($data.getRegisteredService()) }, disabled: isDefaultLanguage(), icon: 'dxrd-svg-actions-apply_localization_service', iconClass: 'apply-localization-service' }, attr: { title: $root.getLocalization('Translate', 'ASPxReportsStringId.ReportDesigner_LocalizationEditorTranslate') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:function(){e.$data.applyLocalization(e.$data.getRegisteredService())},disabled:e.$data.isDefaultLanguage(),icon:"dxrd-svg-actions-apply_localization_service",iconClass:"apply-localization-service"}},attr:function(){return{title:e.$root.getLocalization("Translate","ASPxReportsStringId.ReportDesigner_LocalizationEditorTranslate")}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: clearLocalization, icon: 'dxrd-svg-actions-reset', iconClass: 'reset-localization', disabled: isDefaultLanguage() }, attr: { title: $root.getLocalization('Reset', 'ASPxReportsStringId.ParametersPanel_Reset') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.clearLocalization,icon:"dxrd-svg-actions-reset",iconClass:"reset-localization",disabled:e.$data.isDefaultLanguage()}},attr:function(){return{title:e.$root.getLocalization("Reset","ASPxReportsStringId.ParametersPanel_Reset")}}}})),(0,G.addToBindingsCache)("text: $data.propertiesHeaderText()",(function(e,t){return{text:function(){return e.$data.propertiesHeaderText()}}})),(0,G.addToBindingsCache)("text: $data.defaultLanguageText()",(function(e,t){return{text:function(){return e.$data.defaultLanguageText()}}})),(0,G.addToBindingsCache)("text: $data.currentLanguageText(), visible: !$data.isDefaultLanguage()",(function(e,t){return{text:function(){return e.$data.currentLanguageText()},visible:function(){return!e.$data.isDefaultLanguage()}}})),(0,G.addToBindingsCache)("dxList: { dataSource: localizationItems, selectionMode: 'single', height: 'calc(100% - 59px)', onSelectionChanged: onSelectionChanged, focusStateEnabled: false, activeStateEnabled: false, pageLoadMode: 'scrollBottom', noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{dataSource:e.$data.localizationItems,selectionMode:"single",height:"calc(100% - 59px)",onSelectionChanged:e.$data.onSelectionChanged,focusStateEnabled:!1,activeStateEnabled:!1,pageLoadMode:"scrollBottom",noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("dxLoadPanel:{ visible: showLoadIndicator, shading: true, position: { of: getLoadPanelPosition($element) }, showIndicator: true, showPane: true, shadingColor: 'rgba(0,0,0,0.4)'}",(function(e,t){return{dxLoadPanel:function(){return{visible:e.$data.showLoadIndicator,shading:!0,position:{of:e.$data.getLoadPanelPosition(t)},showIndicator:!0,showPane:!0,shadingColor:"rgba(0,0,0,0.4)"}}}})),(0,G.addToBindingsCache)("if: !ko.unwrap($data.multiline)",(function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.multiline)}}})),(0,G.addToBindingsCache)("if: ko.unwrap($data.multiline)",(function(e,t){return{if:function(){return e.ko.unwrap(e.$data.multiline)}}})),(0,G.addToBindingsCache)("if: !$data.isDefaultLanguage()",(function(e,t){return{if:function(){return!e.$data.isDefaultLanguage()}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-localization-combobox', data: { getValues: function() { return $data.availableCultures; }, value: language, disabled: false } }",(function(e,t){return{template:function(){return{name:"dxrd-localization-combobox",data:{getValues:function(){return e.$data.availableCultures},value:e.$data.language,disabled:!1}}}}})),(0,G.addToBindingsCache)("if: getRegisteredService()",(function(e,t){return{if:function(){return e.$data.getRegisteredService()}}})),(0,G.addToBindingsCache)("lazy: { template: 'dxrd-localization-editor-item' }",(function(e,t){return{lazy:function(){return{template:"dxrd-localization-editor-item"}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Report Explorer', 'ReportStringId.UD_Title_ReportExplorer')",(function(e,t){return{text:function(){return e.$root.getLocalization("Report Explorer","ReportStringId.UD_Title_ReportExplorer")}}})),(0,G.addToBindingsCache)("treeListSearchPanel: {controllers:treeListController}",(function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.treeListController}}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }, dxAutoScrolling: { active: $root.dx._static.DragDropHandler.started }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0}},dxAutoScrolling:function(){return{active:e.$root.dx._static.DragDropHandler.started}}}})),(0,G.addToBindingsCache)("treelist: { selectedPath: itemsProvider.selectedPath, itemsProvider: itemsProvider, treeListController: treeListController }",(function(e,t){return{treelist:function(){return{selectedPath:e.$data.itemsProvider.selectedPath,itemsProvider:e.$data.itemsProvider,treeListController:e.$data.treeListController}}}})),(0,G.addToBindingsCache)("attr: { 'width': width() + 'px', 'height': height() + 'px' }",(function(e,t){return{attr:function(){return{width:e.$data.width()+"px",height:e.$data.height()+"px"}}}})),(0,G.addToBindingsCache)("attr: { x: disable.start, width: disable.width }",(function(e,t){return{attr:function(){return{x:e.$data.disable.start,width:e.$data.disable.width}}}})),(0,G.addToBindingsCache)("attr: { x1: coordVal, x2: coordVal }",(function(e,t){return{attr:function(){return{x1:e.$data.coordVal,x2:e.$data.coordVal}}}})),(0,G.addToBindingsCache)("text: text, attr: {x: coordVal, y: 12 }",(function(e,t){return{text:function(){return e.$data.text},attr:function(){return{x:e.$data.coordVal,y:12}}}})),(0,G.addToBindingsCache)("if: disable",(function(e,t){return{if:function(){return e.$data.disable}}})),(0,G.addToBindingsCache)("foreach: gridLines",(function(e,t){return{foreach:function(){return e.$data.gridLines}}})),(0,G.addToBindingsCache)("foreach: majorGridLines",(function(e,t){return{foreach:function(){return e.$data.majorGridLines}}})),(0,G.addToBindingsCache)("attr: { x1: $parent.defaultGridLinesCoordinate().x1, x2: $parent.defaultGridLinesCoordinate().x2, y1: coordVal, y2: coordVal }",(function(e,t){return{attr:function(){return{x1:e.$parent.defaultGridLinesCoordinate().x1,x2:e.$parent.defaultGridLinesCoordinate().x2,y1:e.$data.coordVal,y2:e.$data.coordVal}}}})),(0,G.addToBindingsCache)("attr: {x1: $parent.defaultGridLinesCoordinate().majorX1, x2: $parent.defaultGridLinesCoordinate().majorX2, y1: coordVal, y2: coordVal }",(function(e,t){return{attr:function(){return{x1:e.$parent.defaultGridLinesCoordinate().majorX1,x2:e.$parent.defaultGridLinesCoordinate().majorX2,y1:e.$data.coordVal,y2:e.$data.coordVal}}}})),(0,G.addToBindingsCache)("text: text, attr: {x: $parent.defaultGridLinesCoordinate().x, y: coordVal }",(function(e,t){return{text:function(){return e.$data.text},attr:function(){return{x:e.$parent.defaultGridLinesCoordinate().x,y:e.$data.coordVal}}}})),(0,G.addToBindingsCache)("css: {'dxrd-flip': forLeftMargin }, dxWatermark: { band: band, reportSurface: reportSurface, forLeftMargin: forLeftMargin, image: reportSurface.watermark.imageSource().getDataUrl(), transparency: reportSurface.watermark.imageTransparency(), viewMode: reportSurface.watermark.imageViewMode(), align: reportSurface.watermark.imageAlign(), tiling: reportSurface.watermark.imageTiling() }",(function(e,t){return{css:function(){return{"dxrd-flip":e.$data.forLeftMargin}},dxWatermark:function(){return{band:e.$data.band,reportSurface:e.$data.reportSurface,forLeftMargin:e.$data.forLeftMargin,image:e.$data.reportSurface.watermark.imageSource().getDataUrl(),transparency:e.$data.reportSurface.watermark.imageTransparency(),viewMode:e.$data.reportSurface.watermark.imageViewMode(),align:e.$data.reportSurface.watermark.imageAlign(),tiling:e.$data.reportSurface.watermark.imageTiling()}}}})),(0,G.addToBindingsCache)("css: {'dxrd-flip': forLeftMargin }, dxWatermark: { band: band, reportSurface: reportSurface, forLeftMargin: forLeftMargin, image: reportSurface._watermarkTextRenderingResult(), transparency: reportSurface.watermark.textTransparency(), viewMode: 'Stretch', align: 'MiddleCenter', tiling: false }",(function(e,t){return{css:function(){return{"dxrd-flip":e.$data.forLeftMargin}},dxWatermark:function(){return{band:e.$data.band,reportSurface:e.$data.reportSurface,forLeftMargin:e.$data.forLeftMargin,image:e.$data.reportSurface._watermarkTextRenderingResult(),transparency:e.$data.reportSurface.watermark.textTransparency(),viewMode:"Stretch",align:"MiddleCenter",tiling:!1}}}})),(0,G.addToBindingsCache)("if: $data.reportSurface.watermark && $data.reportSurface.watermark.shouldDrawWatermarkImage()",(function(e,t){return{if:function(){return e.$data.reportSurface.watermark&&e.$data.reportSurface.watermark.shouldDrawWatermarkImage()}}})),(0,G.addToBindingsCache)("if: $data.reportSurface.watermark && $data.reportSurface.watermark.text()",(function(e,t){return{if:function(){return e.$data.reportSurface.watermark&&e.$data.reportSurface.watermark.text()}}})),(0,G.addToBindingsCache)("css: { 'dx-rtl' : $root.rtl, 'dx-ltr': !$root.rtl }",(function(e,t){return{css:function(){return{"dx-rtl":e.$root.rtl,"dx-ltr":!e.$root.rtl}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-toolbar-tmplt', data: getViewModel().toolbarItems }",(function(e,t){return{template:function(){return{name:"dxrd-toolbar-tmplt",data:e.$data.getViewModel().toolbarItems}}}})),(0,G.addToBindingsCache)("dxAceEditor: { value: scriptsText, editorContainer: editorContainer, options: aceOptions }",(function(e,t){return{dxAceEditor:function(){return{value:e.$data.scriptsText,editorContainer:e.$data.editorContainer,options:e.$data.aceOptions}}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: widget.dataSource, onValueChanged: widget.onValueChanged, value: widget.value, displayExpr: widget.displayExpr, placeholder: widget.placeholder, width: widget.width, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.widget.dataSource,onValueChanged:e.$data.widget.onValueChanged,value:e.$data.widget.value,displayExpr:e.$data.widget.displayExpr,placeholder:e.$data.widget.placeholder,width:e.$data.widget.width,dropDownOptions:{container:e.$data.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("if: editorVisible",(function(e,t){return{if:function(){return e.$data.editorVisible}}})),(0,G.addToBindingsCache)("visible: editorVisible, template: 'dxrd-scripts-addon'",(function(e,t){return{visible:function(){return e.$data.editorVisible},template:function(){return"dxrd-scripts-addon"}}})),(0,G.addToBindingsCache)("css: {'dx-context-menu-flex': !($data.items) }",(function(e,t){return{css:function(){return{"dx-context-menu-flex":!e.$data.items}}}})),(0,G.addToBindingsCache)("text: $data.displayText ? $data.displayText() : $data.text",(function(e,t){return{text:function(){return e.$data.displayText?e.$data.displayText():e.$data.text}}})),(0,G.addToBindingsCache)("if: $data.imageTemplateName",(function(e,t){return{if:function(){return e.$data.imageTemplateName}}})),(0,G.addToBindingsCache)("template: { name: $data.imageTemplateName }",(function(e,t){return{template:function(){return{name:e.$data.imageTemplateName}}}})),(0,G.addToBindingsCache)("if: $data.items",(function(e,t){return{if:function(){return e.$data.items}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-svg-preview-next_page' }",(function(e,t){return{template:function(){return{name:"dxrd-svg-preview-next_page"}}}})),(0,G.addToBindingsCache)("style: _position, css: { 'collapsed': collapsed }, resizable: _resizableOptions",(function(e,t){return{style:function(){return e.$data._position},css:function(){return{collapsed:e.$data.collapsed}},resizable:function(){return e.$data._resizableOptions}}})),(0,G.addToBindingsCache)("style: { display: $data.collapsed() ? 'none' : 'block' }",(function(e,t){return{style:function(){return{display:e.$data.collapsed()?"none":"block"}}}})),(0,G.addToBindingsCache)("text: $data.panelTitle",(function(e,t){return{text:function(){return e.$data.panelTitle}}})),(0,G.addToBindingsCache)("click: function() { $data.toggleCollapsed() }",(function(e,t){return{click:function(){return function(){e.$data.toggleCollapsed()}}}})),(0,G.addToBindingsCache)("dxDataGrid: _dataGridOptions",(function(e,t){return{dxDataGrid:function(){return e.$data._dataGridOptions}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-active': data.pressed }, dxButton: { text: data.text, onClick: data.onClick }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.data.pressed}},dxButton:function(){return{text:e.$data.data.text,onClick:e.$data.data.onClick}}}})),(0,G.addToBindingsCache)("template: { name: $parent.getIconTemplateName($data.value) }, attr: { title: $data.value }",(function(e,t){return{template:function(){return{name:e.$parent.getIconTemplateName(e.$data.value)}},attr:function(){return{title:e.$data.value}}}})),(0,G.addToBindingsCache)("text: $data.data.code, attr: { href: $data.data.link }",(function(e,t){return{text:function(){return e.$data.data.code},attr:function(){return{href:e.$data.data.link}}}})),(0,G.addToBindingsCache)("text: $data.value",(function(e,t){return{text:function(){return e.$data.value}}})),(0,G.addToBindingsCache)("text: value, click: function() { $parent.navigateToItem($data.value); }",(function(e,t){return{text:function(){return e.$data.value},click:function(){return function(){e.$parent.navigateToItem(e.$data.value)}}}})),(0,G.addToBindingsCache)("text: data.description",(function(e,t){return{text:function(){return e.$data.data.description}}})),(0,G.addToBindingsCache)("dxTagBox: { maxDisplayedTags: 0, showSelectionControls: true, valueExpr: 'value', displayExpr: 'displayValue', value: data.value, dataSource: data.dataSource, useItemTextAsTitle: true, dropDownOptions: { container: data.getContainer($element), minWidth: 200 }, }",(function(e,t){return{dxTagBox:function(){return{maxDisplayedTags:0,showSelectionControls:!0,valueExpr:"value",displayExpr:"displayValue",value:e.$data.data.value,dataSource:e.$data.data.dataSource,useItemTextAsTitle:!0,dropDownOptions:{container:e.$data.data.getContainer(t),minWidth:200}}}}})),(0,G.addToBindingsCache)("dxButtonGroup: $data.data",(function(e,t){return{dxButtonGroup:function(){return e.$data.data}}})),(0,G.addToBindingsCache)("template: { name: $parents[1].getIconTemplateName(icon) }",(function(e,t){return{template:function(){return{name:e.$parents[1].getIconTemplateName(e.$data.icon)}}}})),(0,G.addToBindingsCache)("text: $data.text()",(function(e,t){return{text:function(){return e.$data.text()}}})),(0,G.addToBindingsCache)("style: { display: !$data.collapsed() ? 'none' : 'block' }",(function(e,t){return{style:function(){return{display:e.$data.collapsed()?"block":"none"}}}})),(0,G.addToBindingsCache)("click: function() { $data.toggleCollapsed() }, template: { name: $data.getNotificationTemplate() }, attr: { title: $data.getTitleMessage() }",(function(e,t){return{click:function(){return function(){e.$data.toggleCollapsed()}},template:function(){return{name:e.$data.getNotificationTemplate()}},attr:function(){return{title:e.$data.getTitleMessage()}}}})),(0,G.addToBindingsCache)("if: $data.data.showLink",(function(e,t){return{if:function(){return e.$data.data.showLink}}})),(0,G.addToBindingsCache)("if: !$data.data.showLink",(function(e,t){return{if:function(){return!e.$data.data.showLink}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'dx-type-button'}",(function(){return{dxTemplate:{name:"dx-type-button"}}})),(0,G.addToBindingsCache)("dxTemplate: { name:'dxrd-errorType-column' }",(function(){return{dxTemplate:{name:"dxrd-errorType-column"}}})),(0,G.addToBindingsCache)("dxTemplate: { name:'dxrd-code-column' }",(function(){return{dxTemplate:{name:"dxrd-code-column"}}})),(0,G.addToBindingsCache)("dxTemplate:{ name:'dxrd-source-column' }",(function(){return{dxTemplate:{name:"dxrd-source-column"}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'detail' }",(function(){return{dxTemplate:{name:"detail"}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'dxrd-error-source-filter' }",(function(){return{dxTemplate:{name:"dxrd-error-source-filter"}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'dxrd-error-type-filter' }",(function(){return{dxTemplate:{name:"dxrd-error-type-filter"}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'dxrd-error-type-filter-item' }",(function(){return{dxTemplate:{name:"dxrd-error-type-filter-item"}}})),(0,G.addToBindingsCache)("style: { width: $root.surfaceSize() ? $root.surfaceSize() + 'px' : 'auto' }",(function(e,t){return{style:function(){return{width:e.$root.surfaceSize()?e.$root.surfaceSize()+"px":"auto"}}}})),(0,G.addToBindingsCache)("dxTabs: { dataSource: tabs, selectedIndex: selectedIndex, showNavButtons: false, scrollingEnabled: false }",(function(e,t){return{dxTabs:function(){return{dataSource:e.$data.tabs,selectedIndex:e.$data.selectedIndex,showNavButtons:!1,scrollingEnabled:!1}}}})),(0,G.addToBindingsCache)("css: icon, event: { mousedown: function(e) { $parent.removeTab(e); } }",(function(e,t){return{css:function(){return e.$data.icon},event:function(){return{mousedown:function(t){e.$parent.removeTab(t)}}}}})),(0,G.addToBindingsCache)("text: isDirty() ? displayName() + '*' : displayName(), title: displayName, style: { 'font-weight': isDirty() ? 'bold' : 'normal' }",(function(e,t){return{text:function(){return e.$data.isDirty()?e.$data.displayName()+"*":e.$data.displayName()},title:function(){return e.$data.displayName},style:function(){return{"font-weight":e.$data.isDirty()?"bold":"normal"}}}})),(0,G.addToBindingsCache)("ifnot: $root.isLoading() && tabs().length === 1",(function(e,t){return{ifnot:function(){return e.$root.isLoading()&&1===e.$data.tabs().length}}})),(0,G.addToBindingsCache)("if: allowMDI",(function(e,t){return{if:function(){return e.$data.allowMDI}}})),(0,G.addToBindingsCache)("if: tabs().length > 0",(function(e,t){return{if:function(){return e.$data.tabs().length>0}}})),(0,G.addToBindingsCache)("template: 'dxrd-navigation-panel-template-content'",(function(e,t){return{template:function(){return"dxrd-navigation-panel-template-content"}}})),(0,G.addToBindingsCache)("ifnot: allowMDI",(function(e,t){return{ifnot:function(){return e.$data.allowMDI}}})),(0,G.addToBindingsCache)("if: tabs().length > 1",(function(e,t){return{if:function(){return e.$data.tabs().length>1}}})),(0,G.addToBindingsCache)("if: icon",(function(e,t){return{if:function(){return e.$data.icon}}})),(0,G.addToBindingsCache)("css: 'dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget ' + popupCss, dxPopup: { wrapperAttr: { class: 'dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget ' + popupCss }, showTitle: true, width: width, height: height, title: $root.getLocalization(title), visible: visible, toolbarItems: buttons, showCloseButton: true, container: container($element), position: { of: container($element) }}",(function(e,t){return{css:function(){return"dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget "+e.$data.popupCss},dxPopup:function(){return{wrapperAttr:{class:"dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget "+e.$data.popupCss},showTitle:!0,width:e.$data.width,height:e.$data.height,title:e.$root.getLocalization(e.$data.title),visible:e.$data.visible,toolbarItems:e.$data.buttons,showCloseButton:!0,container:e.$data.container(t),position:{of:e.$data.container(t)}}}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', height: 510 }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",height:510}}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: _propertiesGrid }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data._propertiesGrid}}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: _settingsGrid }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data._settingsGrid}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: addParameter, icon: 'dxrd-svg-actions-add_parameter', iconClass: 'dx-image-add-parameter' }, attr: { title: getDisplayTextButton('addParameter') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.addParameter,icon:"dxrd-svg-actions-add_parameter",iconClass:"dx-image-add-parameter"}},attr:function(){return{title:e.$data.getDisplayTextButton("addParameter")}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: addGroup, icon: 'dxrd-svg-actions-add_group', iconClass: 'dx-image-add-group' }, attr: { title: getDisplayTextButton('addGroup') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.addGroup,icon:"dxrd-svg-actions-add_group",iconClass:"dx-image-add-group"}},attr:function(){return{title:e.$data.getDisplayTextButton("addGroup")}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: addSeparator, icon: 'dxrd-svg-actions-add_separator', iconClass: 'dx-image-add-separator' }, attr: { title: getDisplayTextButton('addSeparator') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.addSeparator,icon:"dxrd-svg-actions-add_separator",iconClass:"dx-image-add-separator"}},attr:function(){return{title:e.$data.getDisplayTextButton("addSeparator")}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: up, disabled: isDisabledButton('up'), icon: 'dxrd-svg-operations-moveup', iconClass: 'dx-image-moveup' }, attr: { title: getDisplayTextButton('up') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.up,disabled:e.$data.isDisabledButton("up"),icon:"dxrd-svg-operations-moveup",iconClass:"dx-image-moveup"}},attr:function(){return{title:e.$data.getDisplayTextButton("up")}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: down, disabled: isDisabledButton('down'), icon: 'dxrd-svg-operations-movedown', iconClass: 'dx-image-movedown' }, attr: { title: getDisplayTextButton('down') }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.down,disabled:e.$data.isDisabledButton("down"),icon:"dxrd-svg-operations-movedown",iconClass:"dx-image-movedown"}},attr:function(){return{title:e.$data.getDisplayTextButton("down")}}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true, direction: 'both' }, dxAutoScrolling: { active: $root.dx._static.DragDropHandler.started }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0,direction:"both"}},dxAutoScrolling:function(){return{active:e.$root.dx._static.DragDropHandler.started}}}})),(0,G.addToBindingsCache)("text: contentEmptyAreaPlaceHolder",(function(e,t){return{text:function(){return e.$data.contentEmptyAreaPlaceHolder}}})),(0,G.addToBindingsCache)("text: contentNoPropertiesPlaceHolder",(function(e,t){return{text:function(){return e.$data.contentNoPropertiesPlaceHolder}}})),(0,G.addToBindingsCache)("text: $data.value().name",(function(e,t){return{text:function(){return e.$data.value().name}}})),(0,G.addToBindingsCache)("dxCheckBox: getOptions({ value: value, text: displayName, disabled: disabled })",(function(e,t){return{dxCheckBox:function(){return e.$data.getOptions({value:e.$data.value,text:e.$data.displayName,disabled:e.$data.disabled})}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, info: info, level: level, displayName: $root.getLocalization(displayName) , showScroll: true, collapsed: false, alwaysShow: true }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,info:e.$data.info,level:e.$data.level,displayName:e.$root.getLocalization(e.$data.displayName),showScroll:!0,collapsed:!1,alwaysShow:!0}}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: getProperties({ level: level }) }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties({level:e.$data.level})}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, addHandler: $root.dx._static.LookUpValue.createNew, level: level, displayName: $root.getLocalization(displayName), info: info, collapsed: false, showScroll: true, alwaysShow: true }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,addHandler:e.$root.dx._static.LookUpValue.createNew,level:e.$data.level,displayName:e.$root.getLocalization(e.$data.displayName),info:e.$data.info,collapsed:!1,showScroll:!0,alwaysShow:!0}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-parameters-dialog', data: _addParametersDialog }",(function(e,t){return{template:function(){return{name:"dxrd-parameters-dialog",data:e.$data._addParametersDialog}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-parameters-dialog', data: _editParametersDialog }",(function(e,t){return{template:function(){return{name:"dxrd-parameters-dialog",data:e.$data._editParametersDialog}}}})),(0,G.addToBindingsCache)("if: _selectedParameterSettings",(function(e,t){return{if:function(){return e.$data._selectedParameterSettings}}})),(0,G.addToBindingsCache)("if: $data.contentVisible() && !$data.hasNoEditableProperties()",(function(e,t){return{if:function(){return e.$data.contentVisible()&&!e.$data.hasNoEditableProperties()}}})),(0,G.addToBindingsCache)("template: 'dxrd-parameter-edit'",(function(e,t){return{template:function(){return"dxrd-parameter-edit"}}})),(0,G.addToBindingsCache)("if: !$data.contentVisible()",(function(e,t){return{if:function(){return!e.$data.contentVisible()}}})),(0,G.addToBindingsCache)("if: $data.hasNoEditableProperties()",(function(e,t){return{if:function(){return e.$data.hasNoEditableProperties()}}})),(0,G.addToBindingsCache)("if: editorCreated && visible",(function(e,t){return{if:function(){return e.$data.editorCreated&&e.$data.visible}}})),(0,G.addToBindingsCache)("if: ko.unwrap($data.value) && ko.unwrap($data.visible)",(function(e,t){return{if:function(){return e.ko.unwrap(e.$data.value)&&e.ko.unwrap(e.$data.visible)}}})),(0,G.addToBindingsCache)("dxPopup: { showTitle: true, width: width, height: height, title: $root.getLocalization(title), visible: visible, disabled: disabled, toolbarItems: buttons, showCloseButton: true, container: container($element), wrapperAttr: { class: 'dxrd-reportdialog dx-editors dx-widget' }, position: { of: container($element) }}",(function(e,t){return{dxPopup:function(){return{showTitle:!0,width:e.$data.width,height:e.$data.height,title:e.$root.getLocalization(e.$data.title),visible:e.$data.visible,disabled:e.$data.disabled,toolbarItems:e.$data.buttons,showCloseButton:!0,container:e.$data.container(t),wrapperAttr:{class:"dxrd-reportdialog dx-editors dx-widget"},position:{of:e.$data.container(t)}}}}})),(0,G.addToBindingsCache)("dxLoadPanel: { visible:true, container: container($element), position: { of: container($element) } }",(function(e,t){return{dxLoadPanel:function(){return{visible:!0,container:e.$data.container(t),position:{of:e.$data.container(t)}}}}})),(0,G.addToBindingsCache)("dxPopup: { showTitle: true, minWidth: 530, height: popupOptions.height, width: 'auto', title: popupOptions.title, visible: popupOptions.visible, toolbarItems: popupOptions.buttons, showCloseButton: true, wrapperAttr: { class: 'dxrd-reportdialog dxrd-reportdialog-converter dx-editors dx-widget' }, container: popupOptions.container($element), position: { of: popupOptions.container($element) }}",(function(e,t){return{dxPopup:function(){return{showTitle:!0,minWidth:530,height:e.$data.popupOptions.height,width:"auto",title:e.$data.popupOptions.title,visible:e.$data.popupOptions.visible,toolbarItems:e.$data.popupOptions.buttons,showCloseButton:!0,wrapperAttr:{class:"dxrd-reportdialog dxrd-reportdialog-converter dx-editors dx-widget"},container:e.$data.popupOptions.container(t),position:{of:e.$data.popupOptions.container(t)}}}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-wizard-warning'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-warning"}}})),(0,G.addToBindingsCache)("text: popupOptions.confirmMessage",(function(e,t){return{text:function(){return e.$data.popupOptions.confirmMessage}}})),(0,G.addToBindingsCache)("text: popupOptions.infoMessage",(function(e,t){return{text:function(){return e.$data.popupOptions.infoMessage}}})),(0,G.addToBindingsCache)("text: popupOptions.linkText, attr: {href: popupOptions.linkUrl, target: '_blank' }",(function(e,t){return{text:function(){return e.$data.popupOptions.linkText},attr:function(){return{href:e.$data.popupOptions.linkUrl,target:"_blank"}}}})),(0,G.addToBindingsCache)("dxTextBox: { value: $data.reportName, height: 36, placeholder: reportNamePlaceholder(), valueChangeEvent: 'keyup' }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.reportName,height:36,placeholder:e.$data.reportNamePlaceholder(),valueChangeEvent:"keyup"}}}})),(0,G.addToBindingsCache)("dxList: { dataSource: urls, selectedItems: [], editEnabled: true, height: 200, editConfig: { selectionEnabled: true }, selectionMode: 'single', onItemClick: function(e) { this.reportName(e.itemData.Value); }, activeStateEnabled: false, noDataText: $data.noDataText, encodeNoDataText: true, nextButtonText: $root.getLocalization('More', 'ASPxReportsStringId.List_More') }",(function(e,t){return{dxList:function(){return{dataSource:e.$data.urls,selectedItems:[],editEnabled:!0,height:200,editConfig:{selectionEnabled:!0},selectionMode:"single",onItemClick:function(e){this.reportName(e.itemData.Value)},activeStateEnabled:!1,noDataText:e.$data.noDataText,encodeNoDataText:!0,nextButtonText:e.$root.getLocalization("More","ASPxReportsStringId.List_More")}}}})),(0,G.addToBindingsCache)("event: { dblclick: function(e){ $parent.onDblClick(e.Key); } }",(function(e,t){return{event:function(){return{dblclick:function(t){e.$parent.onDblClick(t.Key)}}}}})),(0,G.addToBindingsCache)("text: $data.Value",(function(e,t){return{text:function(){return e.$data.Value}}})),(0,G.addToBindingsCache)("text: saveText",(function(e,t){return{text:function(){return e.$data.saveText}}})),(0,G.addToBindingsCache)("dxTextBox: { mode: 'search', height: 36, value: searchValue, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }",(function(e,t){return{dxTextBox:function(){return{mode:"search",height:36,value:e.$data.searchValue,valueChangeEvent:"keyup",placeholder:e.$data.searchPlaceholder(),showClearButton:!0}}}})),(0,G.addToBindingsCache)("dxList: { dataSource: urls, selectedItems: [], searchExpr: ['Value'], searchValue: searchValue, editEnabled: true, height: 200, editConfig: { selectionEnabled: true }, selectionMode: 'single', onItemClick: function(e) { this.reportUrl(e.itemData.Key); }, activeStateEnabled: false, nextButtonText: $root.getLocalization('More', 'ASPxReportsStringId.List_More'), noDataText: $data.noDataText, encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{dataSource:e.$data.urls,selectedItems:[],searchExpr:["Value"],searchValue:e.$data.searchValue,editEnabled:!0,height:200,editConfig:{selectionEnabled:!0},selectionMode:"single",onItemClick:function(e){this.reportUrl(e.itemData.Key)},activeStateEnabled:!1,nextButtonText:e.$root.getLocalization("More","ASPxReportsStringId.List_More"),noDataText:e.$data.noDataText,encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("if: disabled",(function(e,t){return{if:function(){return e.$data.disabled}}})),(0,G.addToBindingsCache)("if: popupOptions.infoMessage",(function(e,t){return{if:function(){return e.$data.popupOptions.infoMessage}}})),(0,G.addToBindingsCache)("if: popupOptions.linkText",(function(e,t){return{if:function(){return e.$data.popupOptions.linkText}}})),(0,G.addToBindingsCache)("cacheElement: { action: function(element){ $data.setMenuElement(element) } }",(function(e,t){return{cacheElement:function(){return{action:function(t){e.$data.setMenuElement(t)}}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-menu-fullscreen-nav-collapsed': isMenuCollapsed()}",(function(e,t){return{css:function(){return{"dxrd-menu-fullscreen-nav-collapsed":e.$data.isMenuCollapsed()}}}})),(0,G.addToBindingsCache)("styleunit: { width: $data.isMenuCollapsed() ? 50 : 300 }, visible: appMenuVisible",(function(e,t){return{styleunit:function(){return{width:e.$data.isMenuCollapsed()?50:300}},visible:function(){return e.$data.appMenuVisible}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-toolbar-delete', dxclick: function(e) { toggleAppMenu() }, dxpointerenter: function(_, e) { e.target.classList && e.target.classList.add('dxd-state-active') }, dxpointerleave: function(_, e) { e.target.classList && e.target.classList.remove('dxd-state-active') }",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"},dxclick:function(){return function(t){e.$data.toggleAppMenu()}},dxpointerenter:function(){return function(e,t){t.target.classList&&t.target.classList.add("dxd-state-active")}},dxpointerleave:function(){return function(e,t){t.target.classList&&t.target.classList.remove("dxd-state-active")}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Menu', 'ASPxReportsStringId.ReportDesigner_Menu_Text')",(function(e,t){return{text:function(){return e.$root.getLocalization("Menu","ASPxReportsStringId.ReportDesigner_Menu_Text")}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-menu-back', dxclick: function(e) { isMenuCollapsed(false); }",(function(e,t){return{template:function(){return"dxrd-svg-menu-back"},dxclick:function(){return function(t){e.$data.isMenuCollapsed(!1)}}}})),(0,G.addToBindingsCache)("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled, 'dxd-state-active': $data.selected }, visible: visible",(function(e,t){return{dxclick:function(){return function(t){(e.$data.disabled&&!e.$data.disabled()||!e.$data.disabled)&&(e.$root.toggleAppMenu(),e.$data.clickAction(e.$root.model(),t))}},css:function(){return{"dxrd-disabled-button":e.$data.disabled,"dxd-state-active":e.$data.selected}},visible:function(){return e.$data.visible}}})),(0,G.addToBindingsCache)("if: !isMenuCollapsed()",(function(e,t){return{if:function(){return!e.$data.isMenuCollapsed()}}})),(0,G.addToBindingsCache)("if: isMenuCollapsed",(function(e,t){return{if:function(){return e.$data.isMenuCollapsed}}})),(0,G.addToBindingsCache)("if: !$root.isMenuCollapsed()",(function(e,t){return{if:function(){return!e.$root.isMenuCollapsed()}}})),(0,G.addToBindingsCache)("css: { 'dx-field-flex': (templateName === 'dx-boolean'), 'dx-field-block': (templateName !== 'dx-boolean') }",(function(e,t){return{css:function(){return{"dx-field-flex":"dx-boolean"===e.$data.templateName,"dx-field-block":"dx-boolean"!==e.$data.templateName}}}})),(0,G.addToBindingsCache)("text: displayName, attr: { 'title': fullDisplayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.fullDisplayName,for:e.$data.editorInputId}},css:function(){return{"dx-property-required":e.$data.isRequired}}}})),(0,G.addToBindingsCache)("if: editorTemplate !== 'dx-commonCollection'",(function(e,t){return{if:function(){return"dx-commonCollection"!==e.$data.editorTemplate}}})),(0,G.addToBindingsCache)("if: templateName !== 'dx-boolean'",(function(e,t){return{if:function(){return"dx-boolean"!==e.$data.templateName}}})),(0,G.addToBindingsCache)("if: templateName === 'dx-boolean'",(function(e,t){return{if:function(){return"dx-boolean"===e.$data.templateName}}})),(0,G.addToBindingsCache)("dxPopover: { width: '216px', height: 'auto', position: { my: 'left center', at: 'right center', boundary: '.dxrd-designer-wrapper', of: '.dxrd-control-smart-tag', collision: 'flip fit', offset: '-10 0' }, container: getPopupContainer($element), hideOnOutsideClick: true, showTitle: false, showCloseButton: false, shading: false, visible: popoverVisible, animation: {} }",(function(e,t){return{dxPopover:function(){return{width:"216px",height:"auto",position:{my:"left center",at:"right center",boundary:".dxrd-designer-wrapper",of:".dxrd-control-smart-tag",collision:"flip fit",offset:"-10 0"},container:e.$data.getPopupContainer(t),hideOnOutsideClick:!0,showTitle:!1,showCloseButton:!1,shading:!1,visible:e.$data.popoverVisible,animation:{}}}}})),(0,G.addToBindingsCache)("visible: separatorVisible",(function(e,t){return{visible:function(){return e.$data.separatorVisible}}})),(0,G.addToBindingsCache)("foreach: getEditors(false)",(function(e,t){return{foreach:function(){return e.$data.getEditors(!1)}}})),(0,G.addToBindingsCache)("template: 'dxrd-smart-tag-editor'",(function(e,t){return{template:function(){return"dxrd-smart-tag-editor"}}})),(0,G.addToBindingsCache)("foreach: getEditors(true)",(function(e,t){return{foreach:function(){return e.$data.getEditors(!0)}}})),(0,G.addToBindingsCache)("styleunit: { 'left': $data.position.x, 'top': $data.position.y }, style: $root.rtl ? { 'margin-right': margin } : { 'margin-left': margin }, visible: visible",(function(e,t){return{styleunit:function(){return{left:e.$data.position.x,top:e.$data.position.y}},style:function(){return e.$root.rtl?{"margin-right":e.$data.margin}:{"margin-left":e.$data.margin}},visible:function(){return e.$data.visible}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { icon: $data.imageTemplateName, iconClass: $data.imageTemplateName }, event: { dblclick: function(_, event){ event.stopPropagation(); } }, click: function(_, event){ $data.onClick(); event.stopPropagation(); }",(function(e,t){return{dxButtonWithTemplate:function(){return{icon:e.$data.imageTemplateName,iconClass:e.$data.imageTemplateName}},event:function(){return{dblclick:function(e,t){t.stopPropagation()}}},click:function(){return function(t,a){e.$data.onClick(),a.stopPropagation()}}}})),(0,G.addToBindingsCache)("with: $data.expressionEditor",(function(e,t){return{with:function(){return e.$data.expressionEditor}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-expressioneditor-popup' }",(function(e,t){return{template:function(){return{name:"dxrd-expressioneditor-popup"}}}})),(0,G.addToBindingsCache)("foreach: $data.smartTags",(function(e,t){return{foreach:function(){return e.$data.smartTags}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Select the report', 'ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SelectReport')",(function(e,t){return{text:function(){return e.$root.getLocalization("Select the report","ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SelectReport")}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $data.items, itemTemplate: 'stateItem', valueExpr: 'path', displayExpr: 'name', value: $data.value, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.items,itemTemplate:"stateItem",valueExpr:"path",displayExpr:"name",value:e.$data.value,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: name, styleunit: {marginLeft: 30 * level}",(function(e,t){return{text:function(){return e.$data.name},styleunit:function(){return{marginLeft:30*e.$data.level}}}})),(0,G.addToBindingsCache)("visible: $parent.visible",(function(e,t){return{visible:function(){return e.$parent.visible}}})),(0,G.addToBindingsCache)("text: $data.getDisplayText()",(function(e,t){return{text:function(){return e.$data.getDisplayText()}}})),(0,G.addToBindingsCache)("visible: $data.visible, attr: { 'aria-label': $data.displayText && $data.displayText() || $data.text, 'aria-disabled': ko.unwrap($data.disabled) ? 'true' : 'false', 'aria-pressed': $data.selected ? ($data.selected() ? 'true' : 'false') : null }",(function(e,t){return{visible:function(){return e.$data.visible},attr:function(){return{"aria-label":e.$data.displayText&&e.$data.displayText()||e.$data.text,"aria-disabled":e.ko.unwrap(e.$data.disabled)?"true":"false","aria-pressed":e.$data.selected?e.$data.selected()?"true":"false":null}}}})),(0,G.addToBindingsCache)("text: $data.displayText && $data.displayText() || $data.text, attr: { title: $data.displayText && $data.displayText() || $data.text, class: 'dxd-text-primary dxd-back-highlighted ' + (ko.unwrap($data.imageClassName) || '') }, dxclick: function() { if((typeof $data.disabled === 'function') && !$data.disabled() || !$data.disabled) { $data.clickAction($root.model && $root.model()); } }, css: {'dxrd-disabled-button': $data.disabled }",(function(e,t){return{text:function(){return e.$data.displayText&&e.$data.displayText()||e.$data.text},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text,class:"dxd-text-primary dxd-back-highlighted "+(e.ko.unwrap(e.$data.imageClassName)||"")}},dxclick:function(){return function(){("function"!=typeof e.$data.disabled||e.$data.disabled())&&e.$data.disabled||e.$data.clickAction(e.$root.model&&e.$root.model())}},css:function(){return{"dxrd-disabled-button":e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxContextMenu: $data.contextMenu",(function(e,t){return{dxContextMenu:function(){return e.$data.contextMenu}}})),(0,G.addToBindingsCache)("if: !!$root.surface()",(function(e,t){return{if:function(){return!!e.$root.surface()}}})),(0,G.addToBindingsCache)('template: { name: $root.dx._static.editorTemplates.getEditor("combobox").header, data: $root.surface().wrapRtlProperty($data, $root.undoEngine, $element) }',(function(e,t){return{template:function(){return{name:e.$root.dx._static.editorTemplates.getEditor("combobox").header,data:e.$root.surface().wrapRtlProperty(e.$data,e.$root.undoEngine,t)}}}})),(0,G.addToBindingsCache)("foreach: $data.items",(function(e,t){return{foreach:function(){return e.$data.items}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-toolbar-two-way-switch-active', if: $data.active }",(function(e,t){return{template:function(){return{name:"dxrd-toolbar-two-way-switch-active",if:e.$data.active}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-toolbar-two-way-switch-clickable', if: !$data.active, data: $data.itemData }",(function(e,t){return{template:function(){return{name:"dxrd-toolbar-two-way-switch-clickable",if:!e.$data.active,data:e.$data.itemData}}}})),(0,G.addToBindingsCache)("dxclick: function() { $root.activateExpressionEditor($data); }",(function(e,t){return{dxclick:function(){return function(){e.$root.activateExpressionEditor(e.$data)}}}})),(0,G.addToBindingsCache)("cacheElement: { action: function() { $data.cacheFunction($root.activateExpressionEditor); } }, dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",(function(e,t){return{cacheElement:function(){return{action:function(){e.$data.cacheFunction(e.$root.activateExpressionEditor)}}},dxclick:function(){return function(t,a){e.$data.showPopup(t,a)}},attr:function(){return{title:e.$data.hint}},css:function(){return e.$data.editorMenuButtonCss}}})),(0,G.addToBindingsCache)("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dxrd-expressioneditor-complex dx-popup-general' }, title: title, visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '645px', maxHeight: '95%', width: '862px', maxWidth: '95%', minHeight: '400px', minWidth: '600px', resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onShowing: function(e) { onShowing(e); }, onHiding: function(e) { onHiding(e); }, onShown: function(e) { editor().onShown(e) } }",(function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-expressioneditor dxrd-expressioneditor-complex dx-popup-general"},title:e.$data.title,visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,fullScreen:!1,height:"645px",maxHeight:"95%",width:"862px",maxWidth:"95%",minHeight:"400px",minWidth:"600px",resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()},container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onShowing:function(t){e.$data.onShowing(t)},onHiding:function(t){e.$data.onHiding(t)},onShown:function(t){e.$data.editor().onShown(t)}}}}})),(0,G.addToBindingsCache)("css: {'dxd-state-selected': isSelected }, dxclick: function() { $data.click($data.content); }",(function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},dxclick:function(){return function(){e.$data.click(e.$data.content)}}}})),(0,G.addToBindingsCache)("text: displayName, attr: { title: displayName }, css: { 'dxrd-expressioneditor-property-binded': isBinded() }",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dxrd-expressioneditor-property-binded":e.$data.isBinded()}}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-properties-propertyexpression', visible: isBinded()",(function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"},visible:function(){return e.$data.isBinded()}}})),(0,G.addToBindingsCache)("dxExpressionEditor: { options: value, fieldListProvider: $root.reportItemsProvider, displayNameProvider: $root.expressionDisplayNameProvider && $root.expressionDisplayNameProvider(), editorTemplateName: 'dx-expressioneditor-main', popupVisible: $data.popupVisible, wrapper: $parent }",(function(e,t){return{dxExpressionEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.reportItemsProvider,displayNameProvider:e.$root.expressionDisplayNameProvider&&e.$root.expressionDisplayNameProvider(),editorTemplateName:"dx-expressioneditor-main",popupVisible:e.$data.popupVisible,wrapper:e.$parent}}}})),(0,G.addToBindingsCache)("css: {'dxd-state-selected': $data.isSelected }",(function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}}}})),(0,G.addToBindingsCache)("text: displayName, style: { fontWeight: isBinded() ? 'Bold' : ''}",(function(e,t){return{text:function(){return e.$data.displayName},style:function(){return{fontWeight:e.$data.isBinded()?"Bold":""}}}})),(0,G.addToBindingsCache)("template: 'dxrd-expressioneditor-popup'",(function(e,t){return{template:function(){return"dxrd-expressioneditor-popup"}}})),(0,G.addToBindingsCache)("foreach: properties",(function(e,t){return{foreach:function(){return e.$data.properties}}})),(0,G.addToBindingsCache)("with: $data.adapter",(function(e,t){return{with:function(){return e.$data.adapter}}})),(0,G.addToBindingsCache)("if: $data.patchOptions($root.reportExplorerProvider, $root.editableObject && $root.editableObject())",(function(e,t){return{if:function(){return e.$data.patchOptions(e.$root.reportExplorerProvider,e.$root.editableObject&&e.$root.editableObject())}}})),(0,G.addToBindingsCache)("template: { name: 'dx-expressioneditor-fields', data: $data }",(function(e,t){return{template:function(){return{name:"dx-expressioneditor-fields",data:e.$data}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { items: viewmodel.items, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data.viewmodel.items,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $data.getValues($root.reportUrls, $root.navigateByReports.currentTab), onOpened: function() { $data.updateUrls(); }, searchEnabled: true, value: value, disabled: disabled, valueExpr: 'Key', displayExpr: 'Value', dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.getValues(e.$root.reportUrls,e.$root.navigateByReports.currentTab),onOpened:function(){e.$data.updateUrls()},searchEnabled:!0,value:e.$data.value,disabled:e.$data.disabled,valueExpr:"Key",displayExpr:"Value",dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { items: $parent.values, value: type, valueExpr: 'value', showClearButton: showClearButton, displayExpr: 'displayValue', displayCustomValue: true, disabled: $parent.disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$parent.values,value:e.$data.type,valueExpr:"value",showClearButton:e.$data.showClearButton,displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$parent.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("foreach: ['Unchecked','Checked','Indeterminate']",(function(e,t){return{foreach:function(){return["Unchecked","Checked","Indeterminate"]}}})),(0,G.addToBindingsCache)("text: $root.getLocalization(displayValue, localizationId), attr: { title: $root.getLocalization(displayValue, localizationId) }",(function(e,t){return{text:function(){return e.$root.getLocalization(e.$data.displayValue,e.$data.localizationId)},attr:function(){return{title:e.$root.getLocalization(e.$data.displayValue,e.$data.localizationId)}}}})),(0,G.addToBindingsCache)("dxSelectBox: getEditorOptions($root.dataSourceHelper, $root.undoEngine, $root.getPopupContainer($element))",(function(e,t){return{dxSelectBox:function(){return e.$data.getEditorOptions(e.$root.dataSourceHelper,e.$root.undoEngine,e.$root.getPopupContainer(t))}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: generateValue($root.bands), value: value, displayExpr: 'displayName', valueExpr: 'value', displayCustomValue: true, disabled: disabled, placeholder: $root.getLocalization('(none)', 'ChartStringId.WizNoBackImage'), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.generateValue(e.$root.bands),value:e.$data.value,displayExpr:"displayName",valueExpr:"value",displayCustomValue:!0,disabled:e.$data.disabled,placeholder:e.$root.getLocalization("(none)","ChartStringId.WizNoBackImage"),dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("visible: visible, styleunit: { 'marginLeft' : padding }",(function(e,t){return{visible:function(){return e.$data.visible},styleunit:function(){return{marginLeft:e.$data.padding}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: value().selected, disabled: editor.disabled }, dxclick: function(_, event) { event.stopPropagation(); }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.value().selected,disabled:e.$data.editor.disabled}},dxclick:function(){return function(e,t){t.stopPropagation()}}}})),(0,G.addToBindingsCache)("text: value().name, attr: { title: value().name }",(function(e,t){return{text:function(){return e.$data.value().name},attr:function(){return{title:e.$data.value().name}}}})),(0,G.addToBindingsCache)("dxPropertyGrid: { target: value, editorsInfo: { editors: $root.dx._static.formattingRuleSerializationsInfo }, level: level + 1, parentDisabled: editor.disabled }",(function(e,t){return{dxPropertyGrid:function(){return{target:e.$data.value,editorsInfo:{editors:e.$root.dx._static.formattingRuleSerializationsInfo},level:e.$data.level+1,parentDisabled:e.$data.editor.disabled}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: wrapValues($root.displayNameProvider), value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }, dxValidator: { validationRules: $data.validationRules || [] }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.wrapValues(e.$root.displayNameProvider),value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("dxSelectBox: new $root.dx._static.StylesEditorHeaderModel(value, $root.styles(), disabled, $root.getPopupContainer($element))",(function(e,t){return{dxSelectBox:function(){return new e.$root.dx._static.StylesEditorHeaderModel(e.$data.value,e.$root.styles(),e.$data.disabled,e.$root.getPopupContainer(t))}}})),(0,G.addToBindingsCache)("dxStylesEditor: { styleName: value, styles: $root.styles() }",(function(e,t){return{dxStylesEditor:function(){return{styleName:e.$data.value,styles:e.$root.styles()}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { acceptCustomValue: true, displayValue: $displayName, onValueChanged: onValueChanged, itemsProvider: $root.dataBindingsProvider(), treeListController: $parent.treeListController, value: $data.generateValue($root.undoEngine(), $root.dataSourceHelper(), $root.fieldListDataSources(), $root.dataBindingsProvider()), disabled: $parent.disabled }",(function(e,t){return{dxFieldListPicker:function(){return{acceptCustomValue:!0,displayValue:e.$data.$displayName,onValueChanged:e.$data.onValueChanged,itemsProvider:e.$root.dataBindingsProvider(),treeListController:e.$parent.treeListController,value:e.$data.generateValue(e.$root.undoEngine(),e.$root.dataSourceHelper(),e.$root.fieldListDataSources(),e.$root.dataBindingsProvider()),disabled:e.$parent.disabled}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { acceptCustomValue: true, onValueChanged: onValueChanged, displayValue: generateDisplayValue($root.reportDataSource), itemsProvider: $root.reportDataBindingsProvider, treeListController: treeListController, value: generateValue($root.undoEngine(), $root.reportParameters, $root.reportDataSource), disabled: disabled }",(function(e,t){return{dxFieldListPicker:function(){return{acceptCustomValue:!0,onValueChanged:e.$data.onValueChanged,displayValue:e.$data.generateDisplayValue(e.$root.reportDataSource),itemsProvider:e.$root.reportDataBindingsProvider,treeListController:e.$data.treeListController,value:e.$data.generateValue(e.$root.undoEngine(),e.$root.reportParameters,e.$root.reportDataSource),disabled:e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { acceptCustomValue: true, onValueChanged: onValueChanged, value: itemsProvider.selectedPath, displayValue: displayExpr, itemsProvider: itemsProvider, path: itemsProvider.path, disabled: disabled, treeListController: treeListController }",(function(e,t){return{dxFieldListPicker:function(){return{acceptCustomValue:!0,onValueChanged:e.$data.onValueChanged,value:e.$data.itemsProvider.selectedPath,displayValue:e.$data.displayExpr,itemsProvider:e.$data.itemsProvider,path:e.$data.itemsProvider.path,disabled:e.$data.disabled,treeListController:e.$data.treeListController}}}})),(0,G.addToBindingsCache)("styleunit: padding",(function(e,t){return{styleunit:function(){return e.$data.padding}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Format String', 'DevExpress.XtraReports.UI.XRBinding.FormatString')",(function(e,t){return{text:function(){return e.$root.getLocalization("Format String","DevExpress.XtraReports.UI.XRBinding.FormatString")}}})),(0,G.addToBindingsCache)("dxEventDropDownEditor: { items: $root.events, value: value, editEnabled: true, disabled: disabled, secondAction: function() { $root.gotoEvent && $root.gotoEvent($data.value(), name, $parents[1]._model && $parents[1]._model()); }, placeholder: $root.dx._static.selectPlaceholder(), noDataText: $root.dx._static.noDataText(), encodeNoDataText: true, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxEventDropDownEditor:function(){return{items:e.$root.events,value:e.$data.value,editEnabled:!0,disabled:e.$data.disabled,secondAction:function(){e.$root.gotoEvent&&e.$root.gotoEvent(e.$data.value(),e.$data.name,e.$parents[1]._model&&e.$parents[1]._model())},placeholder:e.$root.dx._static.selectPlaceholder(),noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("styleunit: { 'marginLeft' : padding }",(function(e,t){return{styleunit:function(){return{marginLeft:e.$data.padding}}}})),(0,G.addToBindingsCache)("text: $parents[1].info().getChildCaption(index) + ':'",(function(e,t){return{text:function(){return e.$parents[1].info().getChildCaption(e.$data.index)+":"}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: value.changeSortOrder, icon: value.sortOrderClass().template, iconClass: value.sortOrderClass().class, disabled: disabled }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.value.changeSortOrder,icon:e.$data.value.sortOrderClass().template,iconClass:e.$data.value.sortOrderClass().class,disabled:e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { displayValue: $displayName, value: value.fieldName, acceptCustomValue: true, path: $parents[1]._model() && $parents[1]._model().getPath('groupFields') || '', itemsProvider: $root.dataBindingsProvider(), treeListController: new $root.dx._static.TreeListController(), disabled: disabled}",(function(e,t){return{dxFieldListPicker:function(){return{displayValue:e.$data.$displayName,value:e.$data.value.fieldName,acceptCustomValue:!0,path:e.$parents[1]._model()&&e.$parents[1]._model().getPath("groupFields")||"",itemsProvider:e.$root.dataBindingsProvider(),treeListController:new e.$root.dx._static.TreeListController,disabled:e.$data.disabled}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, addHandler: $root.dx._static.LookUpValue.createNew, undoEngine: $root.undoEngine, level: level, displayName: $root.getLocalization(displayName), info: info }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,addHandler:e.$root.dx._static.LookUpValue.createNew,undoEngine:e.$root.undoEngine,level:e.$data.level,displayName:e.$root.getLocalization(e.$data.displayName),info:e.$data.info}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.calculatedFieldsSource().createCalculatedField(''); } }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$root.getLocalization(e.$data.displayName),level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$root.calculatedFieldsSource().createCalculatedField("")}}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.watermarks().createWatermark(); } }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$root.getLocalization(e.$data.displayName),level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$root.watermarks().createWatermark()}}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function() { return $root.parameters().add(); }, removeHandler: function(parameter) { return $root.parameters().remove(parameter); }, undoEngine: $root.undoEngine }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$root.parameters().add()},removeHandler:function(t){return e.$root.parameters().remove(t)},undoEngine:e.$root.undoEngine}}}})),(0,G.addToBindingsCache)("dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.dx._static.TableOfContentsLevel.createNew(_model()); } }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$root.getLocalization(e.$data.displayName),level:e.$data.level,info:e.$data.info,addHandler:function(){return e.$root.dx._static.TableOfContentsLevel.createNew(e.$data._model())}}}}})),(0,G.addToBindingsCache)("styleunit: {'paddingLeft': padding + $root.dx._static.propertiesGridEditorsPaddingLeft }",(function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding+e.$root.dx._static.propertiesGridEditorsPaddingLeft}}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: getProperties({ level: level + 2 }) }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties({level:e.$data.level+2})}}}})),(0,G.addToBindingsCache)("dxNumberBox: getOptions({ value:generateValue($root.undoEngine), showSpinButtons:true, disabled:disabled, min:min, max:max }), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxNumberBox:function(){return e.$data.getOptions({value:e.$data.generateValue(e.$root.undoEngine),showSpinButtons:!0,disabled:e.$data.disabled,min:e.$data.min,max:e.$data.max})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.boldHasExpression }, click: function() { if(!$parent.disabled()) { bold(!bold()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.bold(),"dx-disabled-button":e.$parent.disabled,"dxd-border-accented":e.$data.boldHasExpression}},click:function(){return function(){e.$parent.disabled()||e.$data.bold(!e.$data.bold())}}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.italicHasExpression }, click: function() { if(!$parent.disabled()) { italic(!italic()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.italic(),"dx-disabled-button":e.$parent.disabled,"dxd-border-accented":e.$data.italicHasExpression}},click:function(){return function(){e.$parent.disabled()||e.$data.italic(!e.$data.italic())}}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.underlineHasExpression }, click: function() { if(!$parent.disabled()) { underline(!underline()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.underline(),"dx-disabled-button":e.$parent.disabled,"dxd-border-accented":e.$data.underlineHasExpression}},click:function(){return function(){e.$parent.disabled()||e.$data.underline(!e.$data.underline())}}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.strikeoutHasExpression }, click: function() { if(!$parent.disabled()) { strikeout(!strikeout()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.strikeout(),"dx-disabled-button":e.$parent.disabled,"dxd-border-accented":e.$data.strikeoutHasExpression}},click:function(){return function(){e.$parent.disabled()||e.$data.strikeout(!e.$data.strikeout())}}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: generateValue($root.undoEngine) }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.generateValue(e.$root.undoEngine)}}}})),(0,G.addToBindingsCache)("dxFieldListPicker: $data",(function(e,t){return{dxFieldListPicker:function(){return e.$data}}})),(0,G.addToBindingsCache)("styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected': isSelected }",(function(e,t){return{styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected":e.$data.isSelected}}}})),(0,G.addToBindingsCache)("text: text, attr: { title: data.title }",(function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.data.title}}}})),(0,G.addToBindingsCache)("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { id: editorInputId } }), dxValidator: { validationRules: generateRules($root.controlsHelper.allControls) || [] }",(function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.generateRules(e.$root.controlsHelper.allControls)||[]}}}})),(0,G.addToBindingsCache)("dxEllipsisEditor: { value: displayValue, buttonAction: function() { $parent.showPopup($root.editableObject && $root.editableObject()); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }",(function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.displayValue,buttonAction:function(){e.$parent.showPopup(e.$root.editableObject&&e.$root.editableObject())},disabled:e.$data.disabled,isValid:e.$data.modelValueValid,warningMessage:e.$data.modelValueWarning,inputAttr:{id:e.$data.editorInputId}}}}})),(0,G.addToBindingsCache)("dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.reportItemsProvider, displayNameProvider: $root.expressionDisplayNameProvider && $root.expressionDisplayNameProvider(), editorTemplateName: $data.editorTemplateName })",(function(e,t){return{dxExpressionEditor:function(){return e.$data.getOptions({options:e.$data.value,fieldListProvider:e.$root.reportItemsProvider,displayNameProvider:e.$root.expressionDisplayNameProvider&&e.$root.expressionDisplayNameProvider(),editorTemplateName:e.$data.editorTemplateName})}}})),(0,G.addToBindingsCache)("dxFilterEditor: { options: value, fieldListProvider: itemsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: displayNameProvider }",(function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$data.itemsProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$data.displayNameProvider}}}})),(0,G.addToBindingsCache)("dxRichTextFileEditor: { value: value, placeholderId: 'File', disabled: disabled, accept:'.rtf,.docx,.txt,.htm,.html' }",(function(e,t){return{dxRichTextFileEditor:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled,accept:".rtf,.docx,.txt,.htm,.html"}}}})),(0,G.addToBindingsCache)("dxImageSourceEditor: { value: value, onValueChanged: onValueChanged, accept: 'image/*', type: 'img', disabled: disabled, inputAttr: { id: editorInputId}, showClearButton: true }",(function(e,t){return{dxImageSourceEditor:function(){return{value:e.$data.value,onValueChanged:e.$data.onValueChanged,accept:"image/*",type:"img",disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId},showClearButton:!0}}}})),(0,G.addToBindingsCache)("dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled, accept:'.pdf', showClearButton: true }",(function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled,accept:".pdf",showClearButton:!0}}}})),(0,G.addToBindingsCache)("dxPopup: { showTitle: true, width: '550px', height: '400px', wrapperAttr: { class: 'dxrd-summaryeditor-popup' }, title: $root.getLocalization('Summary Editor'), visible: $data.popup.visible, toolbarItems: $data.popup.buttons, showCloseButton: true, container: $data.popup.container($element), position: { of: $data.popup.container($element) }}",(function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"550px",height:"400px",wrapperAttr:{class:"dxrd-summaryeditor-popup"},title:e.$root.getLocalization("Summary Editor"),visible:e.$data.popup.visible,toolbarItems:e.$data.popup.buttons,showCloseButton:!0,container:e.$data.popup.container(t),position:{of:e.$data.popup.container(t)}}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $data.getValues(), searchEnabled: true, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId }, popupPosition: { boundary: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.getValues(),searchEnabled:!0,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},inputAttr:{id:e.$data.editorInputId},popupPosition:{boundary:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: displayValue, style: { 'fontWeight': $root.isLocalized($data.value) ? 'bold' : 'normal' }, attr: { title: displayValue }",(function(e,t){return{text:function(){return e.$data.displayValue},style:function(){return{fontWeight:e.$root.isLocalized(e.$data.value)?"bold":"normal"}},attr:function(){return{title:e.$data.displayValue}}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $data.getValues(), searchEnabled: true, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), width: $root.calculateWithZoomFactor(357) }, inputAttr: { id: editorInputId }, popupPosition: { boundary: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data.getValues(),searchEnabled:!0,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t),width:e.$root.calculateWithZoomFactor(357)},inputAttr:{id:e.$data.editorInputId},popupPosition:{boundary:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: value === 'Default' ? '' : value, style: { 'fontWeight': $root.isLocalized($data.value) ? 'bold' : 'normal' }, attr: { title: value }",(function(e,t){return{text:function(){return"Default"===e.$data.value?"":e.$data.value},style:function(){return{fontWeight:e.$root.isLocalized(e.$data.value)?"bold":"normal"}},attr:function(){return{title:e.$data.value}}}})),(0,G.addToBindingsCache)("template: $parent.templateBinding('dxrd-svg-checkboxglyphs-' + $parent.value + '_' + $data)",(function(e,t){return{template:function(){return e.$parent.templateBinding("dxrd-svg-checkboxglyphs-"+e.$parent.value+"_"+e.$data)}}})),(0,G.addToBindingsCache)("displayNameExtender: { dataSource: dataSource, dataMember: displayExpr }",(function(e,t){return{displayNameExtender:function(){return{dataSource:e.$data.dataSource,dataMember:e.$data.displayExpr}}}})),(0,G.addToBindingsCache)("if: value()",(function(e,t){return{if:function(){return e.$data.value()}}})),(0,G.addToBindingsCache)("with: value()",(function(e,t){return{with:function(){return e.$data.value()}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-formatstring', data: { value: $data.formatString, disabled: $data.disabled, actions: $parent.actions, customPatterns: $parent.customPatterns } }",(function(e,t){return{template:function(){return{name:"dxrd-formatstring",data:{value:e.$data.formatString,disabled:e.$data.disabled,actions:e.$parent.actions,customPatterns:e.$parent.customPatterns}}}}})),(0,G.addToBindingsCache)("displayNameExtender: { path: function() { return $parents[1]._model() && $parents[1]._model().getPath('groupFields') || '' }, dataMember: value.fieldName }",(function(e,t){return{displayNameExtender:function(){return{path:function(){return e.$parents[1]._model()&&e.$parents[1]._model().getPath("groupFields")||""},dataMember:e.$data.value.fieldName}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-reportexpression' }",(function(e,t){return{template:function(){return{name:"dxrd-reportexpression"}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-expressioneditor-popup', data: $data.wrapper }",(function(e,t){return{template:function(){return{name:"dxrd-expressioneditor-popup",data:e.$data.wrapper}}}})),(0,G.addToBindingsCache)("with: $data.wrapModel($root.fieldListProvider)",(function(e,t){return{with:function(){return e.$data.wrapModel(e.$root.fieldListProvider)}}})),(0,G.addToBindingsCache)("template: 'dx-emptyHeader'",(function(e,t){return{template:function(){return"dx-emptyHeader"}}})),(0,G.addToBindingsCache)("template: { name: 'dx-propertieseditor', data: $data.popup.grid }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.popup.grid}}}})),(0,G.addToBindingsCache)("dxList: getListOptions()",(function(e,t){return{dxList:function(){return e.$data.getListOptions()}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', height: '100%' }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",height:"100%"}}}})),(0,G.addToBindingsCache)("template: _icon",(function(e,t){return{template:function(){return e.$data._icon}}})),(0,G.addToBindingsCache)("text: _title",(function(e,t){return{text:function(){return e.$data._title}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', height: 'auto' }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",height:"auto"}}}})),(0,G.addToBindingsCache)("treelist: _signleFieldMemberFieldListModel",(function(e,t){return{treelist:function(){return e.$data._signleFieldMemberFieldListModel}}})),(0,G.addToBindingsCache)("trackCursor: underCursor, css: {'dxrd-wizard-crosstab-droppable-page': isDroppable}",(function(e,t){return{trackCursor:function(){return e.$data.underCursor},css:function(){return{"dxrd-wizard-crosstab-droppable-page":e.$data.isDroppable}}}})),(0,G.addToBindingsCache)("text: _fieldName",(function(e,t){return{text:function(){return e.$data._fieldName}}})),(0,G.addToBindingsCache)("text: _valueName",(function(e,t){return{text:function(){return e.$data._valueName}}})),(0,G.addToBindingsCache)("foreach: fieldInfos",(function(e,t){return{foreach:function(){return e.$data.fieldInfos}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $parent._crossTabFields, displayExpr: 'displayName', value: field, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$parent._crossTabFields,displayExpr:"displayName",value:e.$data.field,placeholder:e.$root.dx._static.selectPlaceholder(),dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("dxSelectBox: value",(function(e,t){return{dxSelectBox:function(){return e.$data.value}}})),(0,G.addToBindingsCache)("dxButton: { icon: 'close', onClick: function () { return $parent._removeInfo($data); }}",(function(e,t){return{dxButton:function(){return{icon:"close",onClick:function(){return e.$parent._removeInfo(e.$data)}}}}})),(0,G.addToBindingsCache)("click: function () { $parent._applyScheme($data); }, style: { backgroundColor: color }",(function(e,t){return{click:function(){return function(){e.$parent._applyScheme(e.$data)}},style:function(){return{backgroundColor:e.$data.color}}}})),(0,G.addToBindingsCache)("visible: $data.selected()",(function(e,t){return{visible:function(){return e.$data.selected()}}})),(0,G.addToBindingsCache)("css: { 'dxrd-page-color-scheme-tile-content-edit-active': $data.popoverVisible() }, click: function() { $data.popoverVisible(!$data.popoverVisible()) }",(function(e,t){return{css:function(){return{"dxrd-page-color-scheme-tile-content-edit-active":e.$data.popoverVisible()}},click:function(){return function(){e.$data.popoverVisible(!e.$data.popoverVisible())}}}})),(0,G.addToBindingsCache)("template:'dxrd-svg-color_gear'",(function(e,t){return{template:function(){return"dxrd-svg-color_gear"}}})),(0,G.addToBindingsCache)("dxPopover: { visible: $data.popoverVisible, width: 'auto', height: 'auto', wrapperAttr: { class: 'dxrd-page-color-scheme-colorpicker' }, container: $root.getPopupContainer($element), target: '.dxrd-page-color-scheme-tile-content-edit-icon', position: { my: 'left center', at: 'right center', collision: 'fit', of: '.dxrd-page-color-scheme-tile-content-edit', boundary: $root.getPopupContainer($element) } }",(function(e,t){return{dxPopover:function(){return{visible:e.$data.popoverVisible,width:"auto",height:"auto",wrapperAttr:{class:"dxrd-page-color-scheme-colorpicker"},container:e.$root.getPopupContainer(t),target:".dxrd-page-color-scheme-tile-content-edit-icon",position:{my:"left center",at:"right center",collision:"fit",of:".dxrd-page-color-scheme-tile-content-edit",boundary:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("dxColorView: { value: editorColor, editAlphaChannel: true }",(function(e,t){return{dxColorView:function(){return{value:e.$data.editorColor,editAlphaChannel:!0}}}})),(0,G.addToBindingsCache)("dxButton: { text: 'Cancel', onClick: function() { $data.resetColor() }}",(function(e,t){return{dxButton:function(){return{text:"Cancel",onClick:function(){e.$data.resetColor()}}}}})),(0,G.addToBindingsCache)("dxButton: { text: 'Ok', onClick: function() { $data.applyColor() }}",(function(e,t){return{dxButton:function(){return{text:"Ok",onClick:function(){e.$data.applyColor()}}}}})),(0,G.addToBindingsCache)("foreach: _lookupData.scheme",(function(e,t){return{foreach:function(){return e.$data._lookupData.scheme}}})),(0,G.addToBindingsCache)("ifnot: $data.name === 'Custom'",(function(e,t){return{ifnot:function(){return"Custom"===e.$data.name}}})),(0,G.addToBindingsCache)("if: $data.name === 'Custom'",(function(e,t){return{if:function(){return"Custom"===e.$data.name}}})),(0,G.addToBindingsCache)("template: 'dxrd-page-colorScheme-content'",(function(e,t){return{template:function(){return"dxrd-page-colorScheme-content"}}})),(0,G.addToBindingsCache)("text: availableFields.caption",(function(e,t){return{text:function(){return e.$data.availableFields.caption}}})),(0,G.addToBindingsCache)("dxList: { items: availableFields.items, selectedItems: availableFields.activeItemArray, height: 257, selectionMode: 'single', activeStateEnabled: false, onItemClick: availableFieldClick }",(function(e,t){return{dxList:function(){return{items:e.$data.availableFields.items,selectedItems:e.$data.availableFields.activeItemArray,height:257,selectionMode:"single",activeStateEnabled:!1,onItemClick:e.$data.availableFieldClick}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent.availableFieldDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent.availableFieldDblClick}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: select, disabled: !isSelectEnable(), icon: 'dxrd-svg-operations-moveright', iconClass: 'dxrd-image-moveright' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.select,disabled:!e.$data.isSelectEnable(),icon:"dxrd-svg-operations-moveright",iconClass:"dxrd-image-moveright"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: selectAll, disabled: !isSelectEnable(), icon: 'dxrd-svg-operations-moveright_all', iconClass: 'dxrd-image-moveright-all' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.selectAll,disabled:!e.$data.isSelectEnable(),icon:"dxrd-svg-operations-moveright_all",iconClass:"dxrd-image-moveright-all"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: unselect, disabled: !isUnselectEnable(), icon: 'dxrd-svg-operations-moveleft', iconClass: 'dxrd-image-moveleft' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.unselect,disabled:!e.$data.isUnselectEnable(),icon:"dxrd-svg-operations-moveleft",iconClass:"dxrd-image-moveleft"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: unselectAll, disabled: !isUnselectEnable(), icon: 'dxrd-svg-operations-moveleft_all', iconClass: 'dxrd-image-moveleft-all' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.unselectAll,disabled:!e.$data.isUnselectEnable(),icon:"dxrd-svg-operations-moveleft_all",iconClass:"dxrd-image-moveleft-all"}}}})),(0,G.addToBindingsCache)("text: selectedFields.caption",(function(e,t){return{text:function(){return e.$data.selectedFields.caption}}})),(0,G.addToBindingsCache)("dxList: { items: selectedFields.items, selectedItems: selectedFields.activeItemArray, height: 257, selectionMode: 'single', activeStateEnabled: false, onItemClick: selectedFieldClick }",(function(e,t){return{dxList:function(){return{items:e.$data.selectedFields.items,selectedItems:e.$data.selectedFields.activeItemArray,height:257,selectionMode:"single",activeStateEnabled:!1,onItemClick:e.$data.selectedFieldClick}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent.selectedFieldDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent.selectedFieldDblClick}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Page Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSize'), attr: { title: $root.getLocalization('Page Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSize') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Page Size:","ASPxReportsStringId.ReportDesigner_Wizard_PageSize")},attr:function(){return{title:e.$root.getLocalization("Page Size:","ASPxReportsStringId.ReportDesigner_Wizard_PageSize")}}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: _labelData.paperKinds, displayExpr: 'name', value: _selectedPaperSize, itemTemplate: 'PaperSizeText', dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true , onOpened: function (e) { e.component._popup.option('width', 300); }}, attr: { title: _selectedPaperSize().name + ' - ' + $root.dx._static.CustomizeLabelPage._getPageSizeText(_selectedPaperSize().width, _selectedPaperSize().height, _selectedPaperSize().unit)}",(function(e,t){return{dxSelectBox:function(){return{items:e.$data._labelData.paperKinds,displayExpr:"name",value:e.$data._selectedPaperSize,itemTemplate:"PaperSizeText",dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0,onOpened:function(e){e.component._popup.option("width",300)}}},attr:function(){return{title:e.$data._selectedPaperSize().name+" - "+e.$root.dx._static.CustomizeLabelPage._getPageSizeText(e.$data._selectedPaperSize().width,e.$data._selectedPaperSize().height,e.$data._selectedPaperSize().unit)}}}})),(0,G.addToBindingsCache)("text: $root.dx._static.CustomizeLabelPage._getPageSizeText(width, height, unit)",(function(e,t){return{text:function(){return e.$root.dx._static.CustomizeLabelPage._getPageSizeText(e.$data.width,e.$data.height,e.$data.unit)}}})),(0,G.addToBindingsCache)("dxRadioGroup:{items: _units, valueExpr: 'value', value: unit, layout: 'horizontal' }",(function(e,t){return{dxRadioGroup:function(){return{items:e.$data._units,valueExpr:"value",value:e.$data.unit,layout:"horizontal"}}}})),(0,G.addToBindingsCache)("text: _pageSizeText",(function(e,t){return{text:function(){return e.$data._pageSizeText}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Measure Units', 'DevExpress.XtraReports.UI.XtraReport.ReportUnit') + ':', attr: { title: $root.getLocalization('Measure Units', 'DevExpress.XtraReports.UI.XtraReport.ReportUnit') + ':' }",(function(e,t){return{text:function(){return e.$root.getLocalization("Measure Units","DevExpress.XtraReports.UI.XtraReport.ReportUnit")+":"},attr:function(){return{title:e.$root.getLocalization("Measure Units","DevExpress.XtraReports.UI.XtraReport.ReportUnit")+":"}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { items: _units, valueExpr: 'value', displayExpr: 'text', value: unit, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data._units,valueExpr:"value",displayExpr:"text",value:e.$data.unit,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Label Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth'), attr: { title: $root.getLocalization('Label Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Label Width:","ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth")},attr:function(){return{title:e.$root.getLocalization("Label Width:","ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: labelWidth }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.labelWidth}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Label Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight'), attr: { title: $root.getLocalization('Label Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Label Height:","ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight")},attr:function(){return{title:e.$root.getLocalization("Label Height:","ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: labelHeight }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.labelHeight}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Horizontal Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch'), attr: { title: $root.getLocalization('Horizontal Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Horizontal Pitch:","ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch")},attr:function(){return{title:e.$root.getLocalization("Horizontal Pitch:","ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: horizontalPitch }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.horizontalPitch}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Vertical Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch'), attr: { title: $root.getLocalization('Vertical Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Vertical Pitch:","ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch")},attr:function(){return{title:e.$root.getLocalization("Vertical Pitch:","ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: verticalPitch }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.verticalPitch}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Top Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_TopMargin'), attr: { title: $root.getLocalization('Top Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_TopMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Top Margin:","ASPxReportsStringId.ReportDesigner_Wizard_TopMargin")},attr:function(){return{title:e.$root.getLocalization("Top Margin:","ASPxReportsStringId.ReportDesigner_Wizard_TopMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: topMargin }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.topMargin}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Left Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin'), attr: { title: $root.getLocalization('Left Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Left Margin:","ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin")},attr:function(){return{title:e.$root.getLocalization("Left Margin:","ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: leftMargin }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.leftMargin}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Right Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_RightMargin'), attr: { title: $root.getLocalization('Right Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_RightMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Right Margin:","ASPxReportsStringId.ReportDesigner_Wizard_RightMargin")},attr:function(){return{title:e.$root.getLocalization("Right Margin:","ASPxReportsStringId.ReportDesigner_Wizard_RightMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: rightMargin }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.rightMargin}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Bottom Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin'), attr: { title: $root.getLocalization('Bottom Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Bottom Margin:","ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin")},attr:function(){return{title:e.$root.getLocalization("Bottom Margin:","ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: bottomMargin }",(function(e,t){return{dxNumberBox:function(){return{min:0,max:999.9,showSpinButtons:!0,step:e.$data._stepUnit,value:e.$data.bottomMargin}}}})),(0,G.addToBindingsCache)("text: _labelsCountText",(function(e,t){return{text:function(){return e.$data._labelsCountText}}})),(0,G.addToBindingsCache)("dxTemplate: { name: 'PaperSizeText' }",(function(){return{dxTemplate:{name:"PaperSizeText"}}})),(0,G.addToBindingsCache)("dxScrollView: { showScrollbar: 'onHover', height: scrollViewHeight }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",height:e.$data.scrollViewHeight}}}})),(0,G.addToBindingsCache)("text: fields.caption",(function(e,t){return{text:function(){return e.$data.fields.caption}}})),(0,G.addToBindingsCache)("dxList: { dataSource: fields.items, selectedItems: fields.activeItemArray, height: 257, selectionMode: 'single', activeStateEnabled: false, onItemClick: fieldClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{dataSource:e.$data.fields.items,selectedItems:e.$data.fields.activeItemArray,height:257,selectionMode:"single",activeStateEnabled:!1,onItemClick:e.$data.fieldClick,noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent.fieldDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent.fieldDblClick}}}})),(0,G.addToBindingsCache)("text: $data",(function(e,t){return{text:function(){return e.$data}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: addNewGroup, disabled: !isCreateGroupEnabled(), icon: 'dxrd-svg-operations-moveright', iconClass: 'dxrd-image-moveright' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.addNewGroup,disabled:!e.$data.isCreateGroupEnabled(),icon:"dxrd-svg-operations-moveright",iconClass:"dxrd-image-moveright"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: appendFieldsToGroup, disabled: !isAppendToGroupEnabled(), icon: 'dxrd-svg-operations-add', iconClass: 'dxrd-image-add' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.appendFieldsToGroup,disabled:!e.$data.isAppendToGroupEnabled(),icon:"dxrd-svg-operations-add",iconClass:"dxrd-image-add"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: removeGroup, disabled: !isRemoveGroupEnabled(), icon: 'dxrd-svg-operations-moveleft', iconClass: 'dxrd-image-moveleft' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.removeGroup,disabled:!e.$data.isRemoveGroupEnabled(),icon:"dxrd-svg-operations-moveleft",iconClass:"dxrd-image-moveleft"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: moveUp, disabled: !isMoveUpEnabled(), icon: 'dxrd-svg-operations-moveup', iconClass: 'dxrd-image-moveup' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.moveUp,disabled:!e.$data.isMoveUpEnabled(),icon:"dxrd-svg-operations-moveup",iconClass:"dxrd-image-moveup"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: moveDown, disabled: !isMoveDownEnabled(), icon: 'dxrd-svg-operations-movedown', iconClass: 'dxrd-image-movedown' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.moveDown,disabled:!e.$data.isMoveDownEnabled(),icon:"dxrd-svg-operations-movedown",iconClass:"dxrd-image-movedown"}}}})),(0,G.addToBindingsCache)("text: groups.caption",(function(e,t){return{text:function(){return e.$data.groups.caption}}})),(0,G.addToBindingsCache)("dxList: { items: groups.items, height: 257, selectionMode: 'single', selectedItems: groups.activeItemArray, activeStateEnabled: false, onItemClick: groupClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{items:e.$data.groups.items,height:257,selectionMode:"single",selectedItems:e.$data.groups.activeItemArray,activeStateEnabled:!1,onItemClick:e.$data.groupClick,noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent.groupDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent.groupDblClick}}}})),(0,G.addToBindingsCache)("text: fields().join(', ')",(function(e,t){return{text:function(){return e.$data.fields().join(", ")}}})),(0,G.addToBindingsCache)("foreach: _groupInfos",(function(e,t){return{foreach:function(){return e.$data._groupInfos}}})),(0,G.addToBindingsCache)("text: displayName, attr: { 'title': displayName}",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-disabled-button': $parent.moveUpDisabled($index()) }, click: function(){ $parent.moveup($index()) }",(function(e,t){return{css:function(){return{"dxrd-disabled-button":e.$parent.moveUpDisabled(e.$index())}},click:function(){return function(){e.$parent.moveup(e.$index())}}}})),(0,G.addToBindingsCache)("css: { 'dxrd-disabled-button': $parent.moveDownDisabled($index()) }, click: function(){ $parent.movedown($index()) }",(function(e,t){return{css:function(){return{"dxrd-disabled-button":e.$parent.moveDownDisabled(e.$index())}},click:function(){return function(){e.$parent.movedown(e.$index())}}}})),(0,G.addToBindingsCache)("click: function(){ $parent.remove($index()) }",(function(e,t){return{click:function(){return function(){e.$parent.remove(e.$index())}}}})),(0,G.addToBindingsCache)("text: $data.addGroupText(), attr: { 'title': $data.addGroupText() }, click: function() { $data.add() }",(function(e,t){return{text:function(){return e.$data.addGroupText()},attr:function(){return{title:e.$data.addGroupText()}},click:function(){return function(){e.$data.add()}}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-operations-moveup'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}})),(0,G.addToBindingsCache)("template: 'dxrd-svg-operations-movedown'",(function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}})),(0,G.addToBindingsCache)('template: { name: "dxrd-multivalue", data: $data }',(function(e,t){return{template:function(){return{name:"dxrd-multivalue",data:e.$data}}}})),(0,G.addToBindingsCache)("if: isCreateGroupEnabled()",(function(e,t){return{if:function(){return e.$data.isCreateGroupEnabled()}}})),(0,G.addToBindingsCache)("text: _fieldCaption",(function(e,t){return{text:function(){return e.$data._fieldCaption}}})),(0,G.addToBindingsCache)("dxList: { items: _currentFields().items, selectedItems: _currentFields().activeItemArray, height: '100%', selectionMode: 'single', activeStateEnabled: false, onItemClick: _fieldClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{items:e.$data._currentFields().items,selectedItems:e.$data._currentFields().activeItemArray,height:"100%",selectionMode:"single",activeStateEnabled:!1,onItemClick:e.$data._fieldClick,noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent._fieldDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent._fieldDblClick}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: _addNewGroup, disabled: !_isCreateGroupEnabled(), icon: 'dxrd-svg-operations-moveright', iconClass: 'dxrd-image-moveright' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data._addNewGroup,disabled:!e.$data._isCreateGroupEnabled(),icon:"dxrd-svg-operations-moveright",iconClass:"dxrd-image-moveright"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: _appendFieldsToGroup, disabled: !_isAppendToGroupEnabled(), icon: 'dxrd-svg-operations-add', iconClass: 'dxrd-image-add' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data._appendFieldsToGroup,disabled:!e.$data._isAppendToGroupEnabled(),icon:"dxrd-svg-operations-add",iconClass:"dxrd-image-add"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: _removeGroup, disabled: !_isRemoveGroupEnabled(), icon: 'dxrd-svg-operations-moveleft', iconClass: 'dxrd-image-moveleft' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data._removeGroup,disabled:!e.$data._isRemoveGroupEnabled(),icon:"dxrd-svg-operations-moveleft",iconClass:"dxrd-image-moveleft"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: _moveUp, disabled: !_isMoveUpEnabled(), icon: 'dxrd-svg-operations-moveup', iconClass: 'dxrd-image-moveup' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data._moveUp,disabled:!e.$data._isMoveUpEnabled(),icon:"dxrd-svg-operations-moveup",iconClass:"dxrd-image-moveup"}}}})),(0,G.addToBindingsCache)("dxButtonWithTemplate: { onClick: _moveDown, disabled: !_isMoveDownEnabled(), icon: 'dxrd-svg-operations-movedown', iconClass: 'dxrd-image-movedown' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data._moveDown,disabled:!e.$data._isMoveDownEnabled(),icon:"dxrd-svg-operations-movedown",iconClass:"dxrd-image-movedown"}}}})),(0,G.addToBindingsCache)("text: _groupCaption",(function(e,t){return{text:function(){return e.$data._groupCaption}}})),(0,G.addToBindingsCache)("dxList: { items: _currentGroups().items, height: '100%', selectionMode: 'single', selectedItems: _currentGroups().activeItemArray, activeStateEnabled: false, onItemClick: _groupClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }",(function(e,t){return{dxList:function(){return{items:e.$data._currentGroups().items,height:"100%",selectionMode:"single",selectedItems:e.$data._currentGroups().activeItemArray,activeStateEnabled:!1,onItemClick:e.$data._groupClick,noDataText:e.$root.dx._static.noDataText(),encodeNoDataText:!0}}}})),(0,G.addToBindingsCache)("event: { dblclick: $parent._groupDblClick }",(function(e,t){return{event:function(){return{dblclick:e.$parent._groupDblClick}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-wizard-report-tree', data: { items: $data._reportTree, value: $data._currentPath } }",(function(e,t){return{template:function(){return{name:"dxrd-wizard-report-tree",data:{items:e.$data._reportTree,value:e.$data._currentPath}}}}})),(0,G.addToBindingsCache)("if: $data._currentFields()",(function(e,t){return{if:function(){return e.$data._currentFields()}}})),(0,G.addToBindingsCache)("if: $data._currentGroups()",(function(e,t){return{if:function(){return e.$data._currentGroups()}}})),(0,G.addToBindingsCache)("text: _selectDataMembersCaption",(function(e,t){return{text:function(){return e.$data._selectDataMembersCaption}}})),(0,G.addToBindingsCache)("treelist: _dataMemberFieldListModel",(function(e,t){return{treelist:function(){return e.$data._dataMemberFieldListModel}}})),(0,G.addToBindingsCache)("text: _selectDataFieldsCaption",(function(e,t){return{text:function(){return e.$data._selectDataFieldsCaption}}})),(0,G.addToBindingsCache)("treelist: _fieldMemberFieldListModel",(function(e,t){return{treelist:function(){return e.$data._fieldMemberFieldListModel}}})),(0,G.addToBindingsCache)("template: {name: 'dxrd-page-masterdetail-select-reportdata-dataMembers', data: $data }",(function(e,t){return{template:function(){return{name:"dxrd-page-masterdetail-select-reportdata-dataMembers",data:e.$data}}}})),(0,G.addToBindingsCache)("template: {name: 'dxrd-page-masterdetail-select-reportdata-fieldMembers', data: $data }",(function(e,t){return{template:function(){return{name:"dxrd-page-masterdetail-select-reportdata-fieldMembers",data:e.$data}}}})),(0,G.addToBindingsCache)('template: { name: "dxrd-page-masterdetail-select-reportdata-dataMembers", data: $data }',(function(e,t){return{template:function(){return{name:"dxrd-page-masterdetail-select-reportdata-dataMembers",data:e.$data}}}})),(0,G.addToBindingsCache)('template: { name: "dxrd-page-masterdetail-select-reportdata-fieldMembers", data: $data }',(function(e,t){return{template:function(){return{name:"dxrd-page-masterdetail-select-reportdata-fieldMembers",data:e.$data}}}})),(0,G.addToBindingsCache)("text: _fieldsCaption, attr:{'title': _fieldsCaption }",(function(e,t){return{text:function(){return e.$data._fieldsCaption},attr:function(){return{title:e.$data._fieldsCaption}}}})),(0,G.addToBindingsCache)("text: _summaryFunctionCaption, attr:{'title': _summaryFunctionCaption }",(function(e,t){return{text:function(){return e.$data._summaryFunctionCaption},attr:function(){return{title:e.$data._summaryFunctionCaption}}}})),(0,G.addToBindingsCache)("foreach: _summaryInfos",(function(e,t){return{foreach:function(){return e.$data._summaryInfos}}})),(0,G.addToBindingsCache)("dxFieldListPicker: { itemsProvider: $parent._fieldListProvider, acceptCustomValue: false, onValueChanged: onValueChanged, value: selectedPath, displayValue: displayName, placeholder: $root.dx._static.selectPlaceholder() }",(function(e,t){return{dxFieldListPicker:function(){return{itemsProvider:e.$parent._fieldListProvider,acceptCustomValue:!1,onValueChanged:e.$data.onValueChanged,value:e.$data.selectedPath,displayValue:e.$data.displayName,placeholder:e.$root.dx._static.selectPlaceholder()}}}})),(0,G.addToBindingsCache)("dxButton: { icon: 'close', onClick: function () { return $parent._removeSummaryInfo($data); }}",(function(e,t){return{dxButton:function(){return{icon:"close",onClick:function(){return e.$parent._removeSummaryInfo(e.$data)}}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: ignoreNullValues, text: _ignoreNullValuesCaption }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.ignoreNullValues,text:e.$data._ignoreNullValuesCaption}}}})),(0,G.addToBindingsCache)("text: _selectFieldToSummaryCaption",(function(e,t){return{text:function(){return e.$data._selectFieldToSummaryCaption}}})),(0,G.addToBindingsCache)("text: _fieldsCaption",(function(e,t){return{text:function(){return e.$data._fieldsCaption}}})),(0,G.addToBindingsCache)("text: _summaryFunctionCaption",(function(e,t){return{text:function(){return e.$data._summaryFunctionCaption}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: $parent._displayedFields[$parent._currentPath()], itemTemplate: 'visibleItems', displayExpr: 'displayName', value: field, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$parent._displayedFields[e.$parent._currentPath()],itemTemplate:"visibleItems",displayExpr:"displayName",value:e.$data.field,placeholder:e.$root.dx._static.selectPlaceholder(),dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-wizard-report-tree', data: { items: $data._reportTree, value: $data._currentPath } }",(function(e,t){return{template:function(){return{name:"dxrd-wizard-report-tree",data:{items:e.$data._reportTree,value:e.$data._currentPath}}}}})),(0,G.addToBindingsCache)("dxTemplate:{ name:'visibleItems' }",(function(){return{dxTemplate:{name:"visibleItems"}}})),(0,G.addToBindingsCache)("cacheElement: { action: function(element) { $data.cachePagePreviewElement(element); } }",(function(e,t){return{cacheElement:function(){return{action:function(t){e.$data.cachePagePreviewElement(t)}}}}})),(0,G.addToBindingsCache)("styleunit: { width: $data.previewPageWidth(), height: $data.previewPageHeight() }",(function(e,t){return{styleunit:function(){return{width:e.$data.previewPageWidth(),height:e.$data.previewPageHeight()}}}})),(0,G.addToBindingsCache)("styleunit: { top: $data.previewTopMargin() }",(function(e,t){return{styleunit:function(){return{top:e.$data.previewTopMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { right: $data.previewRightMargin() }",(function(e,t){return{styleunit:function(){return{right:e.$data.previewRightMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { bottom: $data.previewBottomMargin() }",(function(e,t){return{styleunit:function(){return{bottom:e.$data.previewBottomMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { left: $data.previewLeftMargin() }",(function(e,t){return{styleunit:function(){return{left:e.$data.previewLeftMargin()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Paper', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Paper')",(function(e,t){return{text:function(){return e.$root.getLocalization("Paper","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Paper")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size'), attr: { 'title': $root.getLocalization('Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Size:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size")},attr:function(){return{title:e.$root.getLocalization("Size:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size")}}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: lookupData.paperKind, valueExpr: 'value', displayExpr: 'displayName', value: paperKind, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.lookupData.paperKind,valueExpr:"value",displayExpr:"displayName",value:e.$data.paperKind,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Unit:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit'), attr: { 'title': $root.getLocalization('Unit:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Unit:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit")},attr:function(){return{title:e.$root.getLocalization("Unit:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit")}}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: lookupData.unit, valueExpr: 'value', displayExpr: 'displayName', value: unit, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.lookupData.unit,valueExpr:"value",displayExpr:"displayName",value:e.$data.unit,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Orientation:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation'), attr: { 'title': $root.getLocalization('Orientation:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Orientation:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation")},attr:function(){return{title:e.$root.getLocalization("Orientation:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation")}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { items: [ { value: true, displayName: 'Landscape', localizationId: 'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Landscape'}, { value: false, displayName: 'Portrait', localizationId:'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Portrait' }], valueExpr: 'value', displayExpr: 'displayName', value: $data.landscape, dropDownOptions: { container: $root.getPopupContainer($element) } }",(function(e,t){return{dxLocalizedSelectBox:function(){return{items:[{value:!0,displayName:"Landscape",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Landscape"},{value:!1,displayName:"Portrait",localizationId:"ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Portrait"}],valueExpr:"value",displayExpr:"displayName",value:e.$data.landscape,dropDownOptions:{container:e.$root.getPopupContainer(t)}}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_Width'), attr: { 'title': $root.getLocalization('Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_Width') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Width:","ASPxReportsStringId.ReportDesigner_Wizard_Width")},attr:function(){return{title:e.$root.getLocalization("Width:","ASPxReportsStringId.ReportDesigner_Wizard_Width")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: width, disabled: fixedSize, format: valueFormat, min: 0 }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.width,disabled:e.$data.fixedSize,format:e.$data.valueFormat,min:0}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_Height'), attr: { 'title': $root.getLocalization('Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_Height') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Height:","ASPxReportsStringId.ReportDesigner_Wizard_Height")},attr:function(){return{title:e.$root.getLocalization("Height:","ASPxReportsStringId.ReportDesigner_Wizard_Height")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: height, disabled: fixedSize, format: valueFormat, min: 0 }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.height,disabled:e.$data.fixedSize,format:e.$data.valueFormat,min:0}}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-no-hover dxd-state-active': !$data.landscape() }, click: function() { $data.landscape(false); }",(function(e,t){return{css:function(){return{"dxd-state-no-hover dxd-state-active":!e.$data.landscape()}},click:function(){return function(){e.$data.landscape(!1)}}}})),(0,G.addToBindingsCache)("template:'dxrd-svg-portrait'",(function(e,t){return{template:function(){return"dxrd-svg-portrait"}}})),(0,G.addToBindingsCache)("css: { 'dxd-state-no-hover dxd-state-active': $data.landscape() }, click: function() { $data.landscape(true); }",(function(e,t){return{css:function(){return{"dxd-state-no-hover dxd-state-active":e.$data.landscape()}},click:function(){return function(){e.$data.landscape(!0)}}}})),(0,G.addToBindingsCache)("template:'dxrd-svg-landscape'",(function(e,t){return{template:function(){return"dxrd-svg-landscape"}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Page Margins', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_PageMargins')",(function(e,t){return{text:function(){return e.$root.getLocalization("Page Margins","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_PageMargins")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Left:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin'), attr: { 'title': $root.getLocalization('Left:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Left:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin")},attr:function(){return{title:e.$root.getLocalization("Left:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: marginLeft, format: valueFormat, min: 0, max: width() - marginRight() }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.marginLeft,format:e.$data.valueFormat,min:0,max:e.$data.width()-e.$data.marginRight()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Top:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin'), attr: { 'title': $root.getLocalization('Top:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Top:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin")},attr:function(){return{title:e.$root.getLocalization("Top:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: marginTop, format: valueFormat, min: 0, max: height() - marginBottom() }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.marginTop,format:e.$data.valueFormat,min:0,max:e.$data.height()-e.$data.marginBottom()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Right:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin'), attr: { 'title': $root.getLocalization('Right:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Right:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin")},attr:function(){return{title:e.$root.getLocalization("Right:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: marginRight, format: valueFormat, min: 0, max: width() - marginLeft() }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.marginRight,format:e.$data.valueFormat,min:0,max:e.$data.width()-e.$data.marginLeft()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Bottom:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin'), attr: { 'title': $root.getLocalization('Bottom:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin') }",(function(e,t){return{text:function(){return e.$root.getLocalization("Bottom:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin")},attr:function(){return{title:e.$root.getLocalization("Bottom:","ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin")}}}})),(0,G.addToBindingsCache)("dxNumberBox: { value: marginBottom, format: valueFormat, min: 0, max: height() - marginTop() }",(function(e,t){return{dxNumberBox:function(){return{value:e.$data.marginBottom,format:e.$data.valueFormat,min:0,max:e.$data.height()-e.$data.marginTop()}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Color Scheme', 'ASPxReportsStringId.ReportDesigner_Wizard_ColorScheme')",(function(e,t){return{text:function(){return e.$root.getLocalization("Color Scheme","ASPxReportsStringId.ReportDesigner_Wizard_ColorScheme")}}})),(0,G.addToBindingsCache)("dxTextBox: { value: reportTitle, placeholder: _reportTitlePlaceholder() }, styleunit: { width: $data._previewPageHelper.previewPageWidth() }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.reportTitle,placeholder:e.$data._reportTitlePlaceholder()}},styleunit:function(){return{width:e.$data._previewPageHelper.previewPageWidth()}}}})),(0,G.addToBindingsCache)("cacheElement: { action: function(element) { $data._previewPageHelper.cachePagePreviewElement(element); } }",(function(e,t){return{cacheElement:function(){return{action:function(t){e.$data._previewPageHelper.cachePagePreviewElement(t)}}}}})),(0,G.addToBindingsCache)("styleunit: { width: $data._previewPageHelper.previewPageWidth(), height: $data._previewPageHelper.previewPageHeight() }",(function(e,t){return{styleunit:function(){return{width:e.$data._previewPageHelper.previewPageWidth(),height:e.$data._previewPageHelper.previewPageHeight()}}}})),(0,G.addToBindingsCache)("styleunit: { top: $data._previewPageHelper.previewTopMargin() }",(function(e,t){return{styleunit:function(){return{top:e.$data._previewPageHelper.previewTopMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { right: $data._previewPageHelper.previewRightMargin() }",(function(e,t){return{styleunit:function(){return{right:e.$data._previewPageHelper.previewRightMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { bottom: $data._previewPageHelper.previewBottomMargin() }",(function(e,t){return{styleunit:function(){return{bottom:e.$data._previewPageHelper.previewBottomMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { left: $data._previewPageHelper.previewLeftMargin() }",(function(e,t){return{styleunit:function(){return{left:e.$data._previewPageHelper.previewLeftMargin()}}}})),(0,G.addToBindingsCache)("styleunit: { top: $data._previewPageHelper.previewTopMargin(), right: $data._previewPageHelper.previewRightMargin(), bottom: $data._previewPageHelper.previewBottomMargin(), left: $data._previewPageHelper.previewLeftMargin() }",(function(e,t){return{styleunit:function(){return{top:e.$data._previewPageHelper.previewTopMargin(),right:e.$data._previewPageHelper.previewRightMargin(),bottom:e.$data._previewPageHelper.previewBottomMargin(),left:e.$data._previewPageHelper.previewLeftMargin()}}}})),(0,G.addToBindingsCache)("style: { backgroundColor: $parents[1]._color, width: 100/$parent.fields.length + '%', color: $parents[1]._foreColor }, text: displayName",(function(e,t){return{style:function(){return{backgroundColor:e.$parents[1]._color,width:100/e.$parent.fields.length+"%",color:e.$parents[1]._foreColor}},text:function(){return e.$data.displayName}}})),(0,G.addToBindingsCache)("style: { width: 100/$parent.fields.length + '%' }, text: '[' + name + ']'",(function(e,t){return{style:function(){return{width:100/e.$parent.fields.length+"%"}},text:function(){return"["+e.$data.name+"]"}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-page-setup-page-preview', data: $data }",(function(e,t){return{template:function(){return{name:"dxrd-page-setup-page-preview",data:e.$data}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-page-setup-page-settings', data: $data }",(function(e,t){return{template:function(){return{name:"dxrd-page-setup-page-settings",data:e.$data}}}})),(0,G.addToBindingsCache)("with: $data.previewPageHelper",(function(e,t){return{with:function(){return e.$data.previewPageHelper}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-page-setup-groups', data: $data }",(function(e,t){return{template:function(){return{name:"dxrd-page-setup-groups",data:e.$data}}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-page-setup-groups', data: $data._configureReportPageSettingsPage }",(function(e,t){return{template:function(){return{name:"dxrd-page-setup-groups",data:e.$data._configureReportPageSettingsPage}}}})),(0,G.addToBindingsCache)("if: $data._colorSchemePageVisible",(function(e,t){return{if:function(){return e.$data._colorSchemePageVisible}}})),(0,G.addToBindingsCache)("template: { name: 'dxrd-page-colorScheme-content', data: $data._colorSchemePage }",(function(e,t){return{template:function(){return{name:"dxrd-page-colorScheme-content",data:e.$data._colorSchemePage}}}})),(0,G.addToBindingsCache)('template: { name: "dxrd-page-setup-page-settings", data: $data }',(function(e,t){return{template:function(){return{name:"dxrd-page-setup-page-settings",data:e.$data}}}})),(0,G.addToBindingsCache)('template: { name: "dxrd-page-setup-page-colored-preview", data: $data }',(function(e,t){return{template:function(){return{name:"dxrd-page-setup-page-colored-preview",data:e.$data}}}})),(0,G.addToBindingsCache)("if: $data._reportTitleVisible",(function(e,t){return{if:function(){return e.$data._reportTitleVisible}}})),(0,G.addToBindingsCache)("foreach: _masterDetailInfo",(function(e,t){return{foreach:function(){return e.$data._masterDetailInfo}}})),(0,G.addToBindingsCache)("css: { 'dxrd-report-layout-type-five-items': layoutTypeItems()[0].margin == 1 }",(function(e,t){return{css:function(){return{"dxrd-report-layout-type-five-items":1==e.$data.layoutTypeItems()[0].margin}}}})),(0,G.addToBindingsCache)("dxRadioGroup: { value: selectedPageOrientation, items: pageOrientationItems, layout: 'horizontal' }",(function(e,t){return{dxRadioGroup:function(){return{value:e.$data.selectedPageOrientation,items:e.$data.pageOrientationItems,layout:"horizontal"}}}})),(0,G.addToBindingsCache)("event: { click: $parent.layoutTypeItemClick }, css: { 'dxd-state-selected dxd-border-secondary dxd-back-secondary': $parent.isSelected($data) }, style: { margin: '0 ' + margin + 'px' }",(function(e,t){return{event:function(){return{click:e.$parent.layoutTypeItemClick}},css:function(){return{"dxd-state-selected dxd-border-secondary dxd-back-secondary":e.$parent.isSelected(e.$data)}},style:function(){return{margin:"0 "+e.$data.margin+"px"}}}})),(0,G.addToBindingsCache)("attr: { class: imageClassName }",(function(e,t){return{attr:function(){return{class:e.$data.imageClassName}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: fitFieldsToPage, text: $root.getLocalization('Adjust the field width so all fields fit onto a page', 'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_AdjustFieldWidth') }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.fitFieldsToPage,text:e.$root.getLocalization("Adjust the field width so all fields fit onto a page","ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_AdjustFieldWidth")}}}})),(0,G.addToBindingsCache)("foreach: layoutTypeItems",(function(e,t){return{foreach:function(){return e.$data.layoutTypeItems}}})),(0,G.addToBindingsCache)("dxTemplate : { name: 'text' }",(function(){return{dxTemplate:{name:"text"}}})),(0,G.addToBindingsCache)("attr: { class: selectedReportStyle().className }",(function(e,t){return{attr:function(){return{class:e.$data.selectedReportStyle().className}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Title', 'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Title')",(function(e,t){return{text:function(){return e.$root.getLocalization("Title","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Title")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Caption', 'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Caption')",(function(e,t){return{text:function(){return e.$root.getLocalization("Caption","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Caption")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Data', 'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Data')",(function(e,t){return{text:function(){return e.$root.getLocalization("Data","ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Data")}}})),(0,G.addToBindingsCache)("dxRadioGroup: { value: selectedReportStyle, items: reportStyleItems }",(function(e,t){return{dxRadioGroup:function(){return{value:e.$data.selectedReportStyle,items:e.$data.reportStyleItems}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Specify the report\\'s title', 'ASPxReportsStringId.ReportDesigner_Wizard_SpecifyReportTitle')",(function(e,t){return{text:function(){return e.$root.getLocalization("Specify the report's title","ASPxReportsStringId.ReportDesigner_Wizard_SpecifyReportTitle")}}})),(0,G.addToBindingsCache)("dxTextBox: { value: reportTitle, width: 270 }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.reportTitle,width:270}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Label Product:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelProduct')",(function(e,t){return{text:function(){return e.$root.getLocalization("Label Product:","ASPxReportsStringId.ReportDesigner_Wizard_LabelProduct")}}})),(0,G.addToBindingsCache)("dxSelectBox: { items: _labelData.labelProducts, displayExpr: 'name', value: _selectedLabelProduct, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data._labelData.labelProducts,displayExpr:"name",value:e.$data._selectedLabelProduct,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Product Number:', 'ASPxReportsStringId.ReportDesigner_Wizard_ProductNumber')",(function(e,t){return{text:function(){return e.$root.getLocalization("Product Number:","ASPxReportsStringId.ReportDesigner_Wizard_ProductNumber")}}})),(0,G.addToBindingsCache)("dxSelectBox: { dataSource: _labelDetails, displayExpr: 'name', value: _selectedLabelDetails, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$data._labelDetails,displayExpr:"name",value:e.$data._selectedLabelDetails,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_Width')",(function(e,t){return{text:function(){return e.$root.getLocalization("Width:","ASPxReportsStringId.ReportDesigner_Wizard_Width")}}})),(0,G.addToBindingsCache)("text: _width",(function(e,t){return{text:function(){return e.$data._width}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_Height')",(function(e,t){return{text:function(){return e.$root.getLocalization("Height:","ASPxReportsStringId.ReportDesigner_Wizard_Height")}}})),(0,G.addToBindingsCache)("text: _height",(function(e,t){return{text:function(){return e.$data._height}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Paper Type:', 'ASPxReportsStringId.ReportDesigner_Wizard_PaperType')",(function(e,t){return{text:function(){return e.$root.getLocalization("Paper Type:","ASPxReportsStringId.ReportDesigner_Wizard_PaperType")}}})),(0,G.addToBindingsCache)("text: _paperType",(function(e,t){return{text:function(){return e.$data._paperType}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Paper Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PaperSize')",(function(e,t){return{text:function(){return e.$root.getLocalization("Paper Size:","ASPxReportsStringId.ReportDesigner_Wizard_PaperSize")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Average', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average')",(function(e,t){return{text:function(){return e.$root.getLocalization("Average","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Count', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count')",(function(e,t){return{text:function(){return e.$root.getLocalization("Count","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Max', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Max')",(function(e,t){return{text:function(){return e.$root.getLocalization("Max","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Max")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Min', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Min')",(function(e,t){return{text:function(){return e.$root.getLocalization("Min","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Min")}}})),(0,G.addToBindingsCache)("text: $root.getLocalization('Sum', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum')",(function(e,t){return{text:function(){return e.$root.getLocalization("Sum","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum")}}})),(0,G.addToBindingsCache)("dxScrollView: { }",(function(e,t){return{dxScrollView:function(){return{}}}})),(0,G.addToBindingsCache)("text: columnName, attr: { title: columnName }",(function(e,t){return{text:function(){return e.$data.columnName},attr:function(){return{title:e.$data.columnName}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: avg }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.avg}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: count }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.count}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: max }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.max}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: min }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.min}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: sum }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.sum}}}})),(0,G.addToBindingsCache)("dxCheckBox: { value: ignoreNullValues, text: $root.getLocalization('Ignore null values', 'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_IgnoreNullValues') }",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.ignoreNullValues,text:e.$root.getLocalization("Ignore null values","ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_IgnoreNullValues")}}}})),(0,G.addToBindingsCache)("foreach: summaryOptions",(function(e,t){return{foreach:function(){return e.$data.summaryOptions}}})),G.SvgTemplatesEngine.addTemplates({"dx-chart-leftPanel":'<div class="dx-chart-left-panel dxd-border-primary dxd-properties-panel-group-header-back-color dxd-back-primary"> <div class="dxrd-right-panel dxd-border-primary dxd-properties-panel-group-header-back-color" data-bind="css: tabPanel.cssClasses()"> <div class="dxrd-right-panel-header dxd-text-primary"> <span data-bind="text: rightPanelHeader()"></span> </div> \x3c!-- ko if: chartStructure --\x3e <div class="dxrd-right-panel-body" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> <div class="dxcd-chart-structure dxd-back-primary" data-bind="treelist: chartStructure"></div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxcd-indicators-list":'<div class="dxcd-indicators-list" data-bind="dxList: { dataSource: actions, searchExpr: \'display\', searchEnabled: true, onItemClick: function(e) { e.itemData.clickAction(); }}"> <div data-options="dxTemplate : { name: \'item\' }"> <div class="dx-text-content" data-bind="text: display, attr: { title: display }"></div> </div> </div>',"dxcd-toolbar":'<div class="dxrd-toolbar-wrapper"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.getViewModel().toolbarItems }"></div> </div>',"dx-chart-middlePart":'\x3c!-- ko ifnot: isLoading --\x3e \x3c!-- ko with: surface --\x3e <div class="dxrd-surface-wrapper dxrd-top-0" data-bind="template: templateName"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"> <div class="dxrd-text-align-center dxrd-padding-top-49"> <div data-bind="dxLoadIndicator: { visible: isLoading() }"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-chart-surface":'<div class="dxrd-surface" data-bind="styleunit: { \'width\': Math.min(width(), $root.surfaceSize()) }, click: function(_, e) { e.stopPropagation(); }"> <div class="dxrd-viewport" data-bind="styleunit: { minWidth: Math.min(width() + 60, $root.surfaceSize()), maxWidth: width() + 60, maxHeight: height() + 60 }"> <div class="dxrd-control dxrd-border-none dxrd-background-none" > <div data-bind="zoom: zoom, styleunit: { \'height\': height() / zoom(), \'width\': width() / zoom() }"> <img data-bind="attr: {src: imageSrc }, styleunit: { \'height\': height() / zoom(), \'width\': width() / zoom() }" /> </div> </div> </div> </div>',"dxcd-collection-lookup-header":"<div data-bind=\"dxSelectBox: { items: array, displayExpr: 'name', value: selectedItem, disabled: disabled, placeholder: $root.dx._static.selectPlaceholder(), noDataText: $root.dx._static.noDataText(), encodeNoDataText: true, dropDownOptions: { container: $root.getPopupContainer($element) , useItemTextAsTitle: true } }\"></div>","dxcd-collection-item":'\x3c!-- ko if: selectedItem --\x3e <div data-bind="dxPropertyGrid: { target: selectedItem, editorsInfo: { editors: editors }, level: 1 }"></div> \x3c!--/ko --\x3e',"dxcd-field":'\x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, value: value, onValueChanged: onValueChanged, acceptCustomValue: true, itemsProvider: $root.dataBindingsProvider(), treeListController: treeListController, disabled: disabled }"></div> \x3c!--/ko --\x3e',"dxrd-propertygridtab":'<div class="dxrd-right-panel-header dxd-text-primary"> <span data-bind="text: text"></span> </div> <div class="dxrd-right-panel-body" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko template: { name: \'dx-propertieseditor\', data: model }--\x3e \x3c!-- /ko --\x3e </div>',"dxcd-panes-editor":'<div data-bind="dxSelectBox: { dataSource: $root.panes, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div>',"dxcd-legends-editor":'<div data-bind="dxSelectBox: { dataSource: $root.legends, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div>',"dxcd-axisX-editor":'<div data-bind="dxSelectBox: { dataSource: $root.axisX, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div>',"dxcd-axisY-editor":'<div data-bind="dxSelectBox: { dataSource: $root.axisY, value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div>',"dxcd-datasource":'\x3c!-- ko with: generateOptions($root.chartDataSources, $root.getPopupContainer($element)) --\x3e <div data-bind="dxSelectBox: $data"></div> \x3c!-- /ko --\x3e',"dxcd-viewHeader":'<div data-bind="dxSelectBox: { dataSource: generateViewItems(), itemTemplate: \'stateItem\', valueExpr: \'value\', value: generateHeaderValue($root.undoEngine), displayExpr: \'displayValue\', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"> <div class="lookupItem" data-options="dxTemplate:{ name:\'stateItem\' }"> <div class="dxrd-display-inline-block dxrd-width-24px dxrd-height-24px" data-bind="css: className, template: {name: templateName, if: !!templateName }"> </div> <div class="dxrd-display-inline-block dxrd-vertical-align-super dxrd-width-calc-100-30px dxrd-overflow-hidden dxrd-text-overflow-ellipsis" data-bind="text: displayValue"></div> </div> </div>',"dxcd-viewContent":'<div data-bind="dxPropertyGrid: { target: contentValue, level: level + 1, parentDisabled: disabled }"></div>',"dxcd-summaryfunction":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: options"> </div> </div>',"dxcd-summaryFunction-content":'<div class="dxcd-summary-function-content"> \x3c!-- ko with: value --\x3e <div class="dx-field dxd-back-primary"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: $parent.memberPadding"> <div class="propertygrid-editor-displayName" data-bind="text: $parent.getLocalization(\'Function\', \'DevExpress.XtraReports.UI.XRGroupSortingSummary.Function\'), attr: { \'title\': $parent.getLocalization(\'Function\', \'DevExpress.XtraReports.UI.XRGroupSortingSummary.Function\') }"></div> </div> <div class="dx-field-value"> <div data-bind="dxSelectBox: { value: functionName, dataSource: $parent.availableItems ,acceptCustomValue: true, disabled: $parent.disabled, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div> </div> \x3c!-- ko foreach: args --\x3e <div class="dx-field dxd-back-primary" data-bind="css: $parents[1].actionsAreAvailable ? \'dxcd-summaryfunction-arg\' : \'\'"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: $parents[1].memberPadding"> \x3c!-- ko if: $parent.args().length === 1--\x3e <div class="propertygrid-editor-displayName" data-bind="text: $parents[1].getLocalization(\'Argument\', \'DevExpress.XtraCharts.SeriesSelectionMode.Argument\'), attr: { \'title\': $parents[1].getLocalization(\'Argument\', \'DevExpress.XtraCharts.SeriesSelectionMode.Argument\') }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.args().length > 1--\x3e <div class="propertygrid-editor-displayName" data-bind="text: $parents[1].getLocalization(\'Argument\', \'DevExpress.XtraCharts.SeriesSelectionMode.Argument\') + ($index() + 1), attr: { \'title\': $parents[1].getLocalization(\'Argument\', \'DevExpress.XtraCharts.SeriesSelectionMode.Argument\') + ($index() + 1) }"></div> \x3c!-- /ko --\x3e </div> <div class="dx-field-value"> \x3c!-- ko if: $parents[1].actionsAreAvailable() --\x3e <div class="dxcd-summaryFunction-remove" data-bind="click: function(){ $parents[1].remove($index()) }"> <div class="dxcd-summaryFunction-remove-icon dx-icon-dxrd-image-recycle-bin">\x3c!-- ko template: \'dxrd-svg-operations-recycle_bin\'--\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- /ko --\x3e \x3c!-- ko template: { name: $parents[1].argumentTemplateName, data: { value: $data.value, path: $parents[1].path, treeListController: $parents[1].treeListController, disabled: $parents[1].disabled, visible: $parents[1].visible } } --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.actionsAreAvailable --\x3e <div class="dx-field dxd-back-primary"> <div class="dx-field-label dxd-text-primary dxrd-width-auto" data-bind="styleunit: $parent.memberPadding"> <div class="propertygrid-editor-displayName dxrcd-summaryfunction-addnew dxd-hyperlink-color dxd-border-accented dxd-text-accented" data-bind="text: $parent.getLocalization(\'Add Argument\', \'ASPxReportsStringId.ReportDesigner_AddArgument\'), attr: { \'title\': $parent.getLocalization(\'Add New Item\', \'ASPxReportsStringId.ReportDesigner_AddNewItem\') }, click: function() { $parent.add(); }"></div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxcd-pointscollection":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function() { return addPoint(_model()[\'owner\'] || _model()); } }"> <div data-bind="template: { name: \'dx-propertieseditor\', data: getProperties() }"></div> </div> </div>',"dxcd-maxSize":"<div data-bind=\"dxNumberBox: getDependencyOptions({ value:value, showSpinButtons:true, disabled:disabled }, 'min', 'minSize'), dxValidator: { validationRules: validationRules || [] }\"></div>","dxcd-minSize":"<div data-bind=\"dxNumberBox: getDependencyOptions({ value:value, showSpinButtons:true, disabled:disabled }, 'max', 'maxSize'), dxValidator: { validationRules: validationRules || [] }\"></div>","dxcd-group":'<div data-bind="dxSelectBox: { dataSource: $root.groups, value: value, acceptCustomValue:true, onFocusOut: function() { $root.applyGroup($data.value()); }, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div>',"dxcd-color-undo":"<div data-bind=\"dxColorBox: { value: generateValue($root.undoEngine), onValueChanged: onValueChanged, editAlphaChannel: true, popupPosition: { collision: 'flipfit flipfit' }, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }\"></div>","dx-selectbox-undo":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }\"></div>","dxrd-band-coordinate-grid-selection":"\x3c!-- ko with: surface --\x3e<div data-bind=\"styleunit: { 'height': height, 'width': $parent.width, top: absolutePosition.y }, css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }, trackCursor: underCursor\" class=\"dxrd-position-absolute\"></div>\x3c!-- ko ifnot: collapsed --\x3e\x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginSelectionTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $parent.width } } } }--\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e","dxrd-band-coordinate-grid":"\x3c!-- ko with: surface --\x3e \x3c!-- ko ifnot: collapsed --\x3e <div class=\"dxrd-band-content dxd-selectable\" data-bind=\"styleunit: { 'height': height(), top: absolutePosition.y }\"> \x3c!-- ko if: $data._context.drawWatermark() --\x3e \x3c!-- ko template: { name: 'dxrd-watermark', data: { forLeftMargin: true, band: $data, reportSurface: $data._context } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class=\"dxrd-band-subbands-wrapper\" data-bind=\"styleunit: { 'top': heightWithoutSubBands } \"> \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $parent.width, 'snapGridSize': $parent.snapGridSize }; } } }--\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e <div data-bind=\"styleunit: { 'height': height, top: absolutePosition.y }\" class=\"dxrd-band-collapsed\"> <div data-bind=\"css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }\" class=\"dxrd-position-absolute dxrd-height-100 dxrd-width-100\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-detail-report-band-coordinate-grid":"\x3c!-- ko with: surface --\x3e \x3c!-- ko ifnot: collapsed --\x3e \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'leftMarginTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $parent.width, 'snapGridSize': $parent.snapGridSize }; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e <div data-bind=\"styleunit: { 'height': height, top: absolutePosition.y }\" class=\"dxrd-band-collapsed\"> <div data-bind=\"css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }\" class=\"dxrd-position-absolute dxrd-height-100 dxrd-width-100\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-sub-band-coordinate-grid":'\x3c!-- ko with: surface --\x3e \x3c!-- ko ifnot: collapsed --\x3e <div class="dxrd-band-content dxd-selectable" data-bind="styleunit: { \'height\': height(), top: $data.absolutePosition.y() - $data.parent.heightWithoutSubBands() - $data.parent.absolutePosition.y() }"> \x3c!-- ko if: $data._context.drawWatermark() --\x3e \x3c!-- ko template: { name: \'dxrd-watermark\', data: { forLeftMargin: true, band: $data, reportSurface: $data._context } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e <div data-bind="styleunit: { \'height\': height, top: absolutePosition.y }" class="dxrd-band-collapsed"> <div data-bind="css: { \'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor\': selected() }" class="dxrd-position-absolute dxrd-height-100 dxrd-width-100"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-band-selection":"<div data-bind=\"styleunit: { 'height': height, 'width': rect().width, top: absolutePosition.y }, css: { 'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor': selected() }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }, trackCursor: underCursor\" class=\"dxrd-position-absolute\"> \x3c!-- ko if: contentSelectionTemplate --\x3e \x3c!-- ko template: contentSelectionTemplate--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: collapsed --\x3e \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'selectionTemplate', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-detailreportband-selection":"\x3c!-- ko ifnot: collapsed --\x3e \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'selectionTemplate', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-bandselection-content":"\x3c!-- ko ifnot: collapsed --\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-band-vruler":"\x3c!-- ko with: surface --\x3e<div class=\"dxrd-band-marker-wrapper dxrd-position-absolute\" data-bind=\"attr: { title: name }, styleunit: { 'width': $data.markerWidth() + 20, 'top': absolutePosition.y, 'height': height }\" > \x3c!-- ko if: hasOwnRuler --\x3e <div class=\"dxrd-band-vruler\" data-bind=\"styleunit: { 'height': rulerHeight, top: 0 }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); $root.selection.initialize($data); $root.selection.expectClick = false; }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resizeTheBand, zoom: $root.surface().zoom, minimumHeight: $data.heightFromControls && $data.heightFromControls() || 1 }\"> <div data-bind=\"ruler: { 'zoom': zoom, 'length': height, 'units': $parent.measureUnit, 'direction': 'vertical', flip: $root.dx['config']()['rtlEnabled'] }\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: showMarker --\x3e <div class=\"dxrd-band-marker dxrd-context-menu-container\" data-bind=\"css: markerClass, styleunit: { 'height': height(), 'width': markerWidth }, click: function(_, e) { markerClick($root.selection); e.stopPropagation(); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { markerClick($root.selection, false); }} : null, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); $root.selection.initialize($data); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: collapsed() || !hasOwnRuler() || locked, forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }\"> <div class=\"dxrd-band-marker-content\"> <div class=\"dxrd-width-1px dxrd-height-1px dxrd-margin-left-9px\"></div> <div class=\"dxrd-band-marker-rotation\"> <div class=\"dxrd-band-marker-rotation-text\" data-bind=\"text: collapsed() ? '' : name\"></div> </div> </div> </div> \x3c!-- /ko --\x3e</div>\x3c!-- ko ifnot: collapsed --\x3e\x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'vrulerTemplate', holder: $data.bandsHolder, getData: function(item) { return { surface: item, measureUnit: $parent.measureUnit }; } } }--\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e","dxrd-band":"\x3c!-- ko ifnot: collapsed --\x3e <div class=\"dxrd-band-content dxd-selectable dxrd-position-absolute\" data-bind=\"styleunit: { 'height': heightWithoutSubBands, 'width': _width(), 'top': absolutePosition.y }\" > \x3c!-- ko if: $data._context.drawWatermark() --\x3e \x3c!-- ko template: { name: 'dxrd-watermark', data: { forLeftMargin: false, band: $data, reportSurface: $data._context } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind=\"styleunit: { 'left': coordinateGridOptions.left }, coordinateGrid: coordinateGridOptions\" class=\"dxrd-band-content-grid\"></div> \x3c!-- ko if: $data.multiColumn() && $data.multiColumn().haveColumns() --\x3e \x3c!-- ko with: $data.multiColumn --\x3e <div data-bind=\"styleunit: { 'left': columnSpacingLeft, 'width': columnSpacing }\" class=\"dxrd-band-content-spasing\"></div> <div data-bind=\"styleunit: { 'left': grayAreaLeft, 'width': grayAreaWidth }\" class=\"dxrd-band-content-greyarea\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'templateName', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e \x3c!-- ko template: 'dxrd-band-collapsed' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $root.drawCrossbandContent() && $data._isHeaderBandTypeOrThemSubBands() --\x3e \x3c!-- ko with: $data.printAcrossBandsPlaceHolder --\x3e <div class=\"dxrd-print-across-bands-placeholder\" data-bind=\"visible: $data.isVisible, styleunit: { 'top': $data.absolutePositionY, 'height': $data.height }\"> \x3c!-- ko with: $data.band --\x3e <div class=\"dxrd-band-content dxd-selectable dxrd-position-absolute\" data-bind=\"styleunit: { 'height': heightWithoutSubBands, 'width': _width() }\" > \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-detailreportband":"\x3c!-- ko ifnot: collapsed --\x3e \x3c!-- ko template: { name: 'dxrd-band-holder', data: { templateName: 'templateName', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e \x3c!-- ko template: 'dxrd-band-collapsed' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-band-collapsed":"\x3c!-- ko if: collapsed --\x3e <div class=\"dxrd-band-collapsed dxd-selectable dxrd-position-absolute\" data-bind=\"styleunit: { 'height': height, 'line-height': height, 'top': absolutePosition.y, width: rect().width }\" > \x3c!-- ko if: $root.surface().rtl() --\x3e <div class=\"dxrd-position-absolute\" data-bind=\"text: (name() || '').toUpperCase(), styleunit: { 'right': leftMargin }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !$root.surface().rtl() --\x3e <div class=\"dxrd-position-absolute\" data-bind=\"text: (name() || '').toUpperCase(), styleunit: { 'left': leftMargin }\"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e","dxrd-band-holder":"\x3c!-- ko foreach: holder.bands --\x3e \x3c!-- ko template: { name: $data[$parent.templateName], data: $parent.getData($data) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko with: holder.verticalBandsContainer --\x3e \x3c!-- ko if: visible && !!$data[$parent.templateName] --\x3e \x3c!-- ko template: { name: $data[$parent.templateName], data: $parent.getData($data) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-vertical-band-selection":'<div data-bind="styleunit: { \'height\': height, \'width\': _width, left: absolutePosition.x }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: resizeHandles(), disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumWidth: minimumWidth(), minimumHeight: minimumHeight() }, css: { \'dxrd-band-content-selected dxrd-context-menu-container dxd-border-accented dx-border-inheritor\': selected() }, trackCursor: underCursor" class="dxrd-position-absolute"> <div class="dxrd-vertical-band-marker" data-bind="css: { \'dxrd-vertical-band-marker-focused\': focused }"> <div class="dxrd-banding-marker-text" data-bind="text: name"></div> </div> <div class="dxrd-height-calc-100-29px dxrd-width-100 dxrd-position-absolute"> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dxrd-vertical-band":'<div class="dxrd-band-content dxrd-vertical-band" data-bind="styleunit: { \'width\': _width(), \'left\': absolutePosition.x() }"> \x3c!-- ko if: $data._context.drawWatermark() --\x3e \x3c!-- ko template: { name: \'dxrd-watermark\', data: { forLeftMargin: false, band: $data, reportSurface: $data._context } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="coordinateGrid: coordinateGridOptions" class="dxrd-band-content-grid"></div> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-vertical-bands-container":"\x3c!-- ko ifnot: collapsed --\x3e <div class=\"dxrd-band-content dxrd-vertical-bands-container\" data-bind=\"styleunit: { 'height': height, left: leftOffset, 'width': width, top: topOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight || 1 }\"> <div data-bind=\"styleunit: { 'width': width }\" class=\"dxrd-height-100 dxrd-overflow-hidden dxrd-position-absolute\"> <div data-bind=\"style: { transform: 'translateX(-' + $data.scrollOffset() + 'px)' }\"> \x3c!-- ko foreach: verticalBands --\x3e \x3c!-- ko template: { name: templateName } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind=\"styleunit: { width: grayAreaWidth, height: height, left: !$root.surface().rtl() ? grayAreaLeft : 0 }\" class=\"dxrd-band-content-greyarea\"></div> </div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: collapsed --\x3e <div class=\"dxrd-band-collapsed dxrd-position-absolute\" data-bind=\"styleunit: { 'height': height, 'line-height': height, 'top': topOffset, width: width }\" > <div class=\"dxrd-position-absolute\" data-bind=\"text: (name || '').toUpperCase(), styleunit: { 'right': $root.surface().rtl() ? leftMargin : 'auto', 'left': !$root.surface().rtl() ? leftMargin: 'auto' }\"></div> </div> \x3c!-- /ko --\x3e","dxrd-vertical-bands-container-selection":'\x3c!-- ko ifnot: collapsed --\x3e <div data-bind="styleunit: { \'width\': width, top: topOffset, left: leftOffset, height: height() }" class="dxrd-overflow-hidden dxrd-position-absolute"> <div data-bind="dxScrollView: $data.createScrollViewOptions($data, $root.selection)"> \x3c!-- ko foreach: verticalBands --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e',"dxrd-vertical-bands-container-vruler":"\x3c!-- ko with: surface --\x3e <div class=\"dxrd-band-marker-wrapper dxrd-position-absolute\" data-bind=\"styleunit: { 'width': markerWidth() + 20, 'top': topOffset, 'height': height }\" > <div class=\"dxrd-band-vruler\" data-bind=\"styleunit: { 'height': height, top: $data.bandOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight || 1 }\"> <div data-bind=\"ruler: { 'zoom': zoom, 'length': height, 'units': $parent.measureUnit, 'direction': 'vertical', flip: $root.dx['config']()['rtlEnabled'] }\"></div> </div> <div class=\"dxrd-band-marker dxrd-band-marker-body\" data-bind=\" css: { 'dxrd-band-marker-body' : !$data.focused(), 'dxrd-band-marker-body-focused' : $data.focused() }, styleunit: { 'height': height(), 'width': markerWidth }, click: function(_, e) { $data.markerClick($root.selection); e.stopPropagation(); }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting(); }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false; }, handles: 's', disabled: collapsed, forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }\"> <div class=\"dxrd-band-marker-content\"> <div class=\"dxrd-width-1px dxrd-height-1px dxrd-margin-left-9px\"></div> <div class=\"dxrd-band-marker-rotation\"> <div class=\"dxrd-band-marker-rotation-text\" data-bind=\"text: collapsed() ? '' : name\"></div> </div> </div> </div> </div> \x3c!-- /ko --\x3e","dxrd-vertical-bands-leftMargin-selection":"\x3c!-- ko with: surface --\x3e <div data-bind=\"styleunit: { 'height': height, 'width': $parent.width, top: topOffset }, resizable: { starting: function() { $root.resizeHandler.started = true; $root.resizeHandler.starting() }, stopped: function() { $data.stopResize(); $root.resizeHandler.stopped(); $root.resizeHandler.started = false;}, handles: 's', disabled: !canResize(), forceResize: resize, zoom: $root.surface().zoom, minimumHeight: minHeight() }\" class=\"dxrd-position-absolute\"> </div> \x3c!-- /ko --\x3e","dxrd-vertical-bands-leftMargin":"\x3c!-- ko with: surface --\x3e <div data-bind=\"css: { 'dxrd-band-content': !$data.collapsed(), 'dxrd-band-collapsed': $data.collapsed() }, styleunit: { 'height': height, top: topOffset }\"> </div> \x3c!-- /ko --\x3e","dxrd-charactercomb-content":'\x3c!-- ko foreach: cells --\x3e<div class="dxrd-charactercomb-cell dxrd-position-absolute" data-bind="styleunit: { width: size.width, height: size.height, top: top, left: left }"> <div class="dxrd-position-absolute"> <div data-bind="style: $parent.css, text: text, styleunit: { lineHeight: size.height(), width: size.width, height: size.height }" class="dxrd-position-absolute dxrd-letter-spacing-1px"></div> <div data-bind="style: $parent.borderCss, styleunit: { width: size.width, height: size.height }" class="dxrd-position-absolute dxrd-box-sizing-border-box"></div> </div></div>\x3c!-- /ko --\x3e',"dxrd-charactercomb":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div class="dxrd-control-content-main dxrd-border-1px-solid-silver dxrd-left-0 dxrd-top-0" data-bind="styleunit: { lineHeight: rect().height, height: rect().height, width: rect().width }"> <div class="dxrd-position-relative dxrd-overflow-hidden dxrd-margin-top--1px dxrd-margin-left--1px" data-bind="zoom: _context.zoom, template: contenttemplate, styleunit: { height: rect().height / _context.zoom(), width: rect().width / _context.zoom() }"> </div> </div></div>',"dxrd-chart-designer-popup":"<div data-bind=\"dxPopup: { showTitle: true, width: '95%', height: '95%', wrapperAttr: { class: 'dxrd-chartdesigner-popup' }, title: $root.getLocalization('Chart Designer', 'ChartDesignerStringIDs.ChartDesignerWindowTitle'), visible: visible, toolbarItems: buttons, showCloseButton: true, container: container($element), position: { of: container($element) }}\"> <div class=\"dxrd-chartdesigner-popup-content\"> <div class=\"dxrd-width-100 dxrd-height-100\" data-bind=\"visible: visible, dxChartDesigner: options\"></div> </div></div>","dxrd-chart-selection":'<div class="dxrd-control" data-bind="visible: selected() || focused(), css: {\'dxrd-selected dxrd-context-menu-container\': selected, \'dxrd-focused\': focused, \'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor"> <div class="dxd-border-accented dxrd-control-border-box"></div> <div class="dxrd-chart-panel"> <div class="dxrd-chart-panel-text" data-bind="dxclick: function() { $root.runChartDesigner($data); }, text: runDesignerButtonText(), attr: { title: runDesignerButtonText() }"></div> </div></div><div class="dxrd-control dxrd-context-menu-container" data-bind="visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? \'visible\' : \'hidden\'}"></div>',"dxrd-checkbox-content":'<div data-bind="style: { cssFloat: isGlyphAlignmentNear() ? \'left\': \'right\', width: checkStateWidthContainer() }, styleunit: { lineHeight: contentHeightWithoutZoom }" class="dxrd-text-align-center"> <div class="dxrd-checkbox-checkstate" data-bind="styleunit:{ width: checkStateWidth, height: checkStateHeight }, css: checkStateClass, template: {name: $data.checkStateStyleIcon, if: !!ko.unwrap($data.checkStateStyleIcon)}"> </div></div><div class="dxrd-display-inline-block dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-padding-left-3px" data-bind="styleunit: { width: textWidth, lineHeight: contentHeightWithoutZoom }, visible: visibleText, style: { cssFloat: isGlyphAlignmentNear() ? \'right\': \'left\' }"> <span class="dxrd-control-content dxrd-control-content-multiline" data-bind="controlDisplayName: $data, style: contentCss, cacheElement: { action: function(element) { $data.cacheElementContent(element); } }"></span></div>',"dxrd-control-content":'<div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> <div class="dxrd-control-content" data-bind="controlDisplayName: $data, style: contentCss, css: {\'dxrd-control-content-multiline\' : multiline }"></div></div>',"dxrd-control-selection":"<div class=\"dxrd-control\" data-bind=\"event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> \x3c!-- ko if: $root.inlineTextEdit.visible() && selected() --\x3e \x3c!-- ko with: $root.inlineTextEdit--\x3e <div class=\"inline-text-edit\" data-bind=\"dxTextArea: { value: text, onKeyUp: keypressAction, valueChangeEvent: 'keyup' }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.controls--\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div><div class=\"dxrd-control dxrd-context-menu-container\" data-bind=\"visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? 'visible' : 'hidden'}\"> <div class=\"dxrd-control-content-select-main\" data-bind=\"styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}\"> \x3c!-- ko if: $data.controls--\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div></div>","dxrd-control":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div class="dxrd-control-content-main" data-bind="styleunit: { \'top\': contentSizes().top, \'left\': contentSizes().left, lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width }, style: css"> <div data-bind="zoom: _context.zoom, template: contenttemplate, styleunit: { \'height\': contentHeightWithoutZoom, \'width\': contentWidthWithoutZoom }"> </div> \x3c!-- ko if: $data.controls --\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div data-bind="style: borderCss" class="dxrd-width-100 dxrd-height-100 dxrd-position-absolute dxrd-box-sizing-border-box"></div></div>',"dxrd-crossband-line":"<div class=\"dxrd-cross-band dxrd-control dxd-selectable\" data-bind=\"css: {'dxrd-uiselected': selected }, styleunit: position\"> <svg width=\"100%\" height=\"100%\"> <line data-bind=\"attr: { x1: '50%', x2: '50%', y1: 0, y2: '100%'} , style: lineCss\" /> \x3c!-- ko if: isIntersect --\x3e <line class=\"dxrd-cross-band-intersect\" data-bind=\"attr: { x1: '50%', x2: '50%', y1: 0, y2: '100%'}, style: lineWidthCss \" /> \x3c!-- /ko --\x3e </svg></div>","dxrd-crossband":'<div class="dxrd-cross-band dxrd-control" data-bind="styleunit: position, css: {\'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked, \'dxrd-uiselected\': selected }"> <div class="dxrd-control dxd-selectable dxrd-width-100 dxrd-height-5px dxrd-position-absolute dxrd-top-0" data-bind="trackCursor: edgeUnderCursor"></div> <div class="dxrd-control dxd-selectable dxrd-width-5px dxrd-height-100 dxrd-position-absolute dxrd-left-0" data-bind="trackCursor: edgeUnderCursor"></div> <div class="dxrd-control dxd-selectable dxrd-width-5px dxrd-height-100 dxrd-position-absolute dxrd-right-0" data-bind="trackCursor: edgeUnderCursor"></div> <div class="dxrd-control dxd-selectable dxrd-width-100 dxrd-height-5px dxrd-position-absolute dxrd-bottom-0" data-bind="trackCursor: edgeUnderCursor"></div> <svg width="100%" height="100%"> <line data-bind="attr: { x1: borderWidth()/2, x2: borderWidth()/2, y1: 0, y2: \'100%\' }, style: rightCss" /> <line data-bind="attr: { x1: 0, x2: \'100%\', y1: borderWidth()/2, y2: borderWidth()/2 }, style: topCss" /> <line data-bind="attr: { x1: rect().width-borderWidth()/2, x2: rect().width-borderWidth()/2, y1: 0, y2: \'100%\' }, style: leftCss" /> <line data-bind="attr: { x1: 0, x2: \'100%\', y1: rect().height-borderWidth()/2, y2: rect().height-borderWidth()/2 }, style: bottomCss" /> </svg></div>',"dxrd-crosstab-cell":'<div class="dxrd-crosstab-cell dxrd-control" data-bind="event: { dblclick: function() { isEditable() && $root.inlineTextEdit.show($element) } }, style: { visibility: (selected() || focused()) ? \'inherit\' : \'hidden\'}, css: {\'dxrd-selected dxrd-context-menu-container\': selected, \'dxrd-focused\': focused, \'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked }, resizable: $root.resizeHandler, styleunit: position, trackCursor: underCursor"> \x3c!-- ko template: \'dxrd-crosstab-cell-selection\' --\x3e \x3c!-- /ko --\x3e <div class="dxd-border-accented dxrd-control-border-box"></div> \x3c!-- ko if: $root.inlineTextEdit.visible() && selected() --\x3e \x3c!-- ko with: $root.inlineTextEdit--\x3e <div class="inline-text-edit" data-bind="dxTextArea: { value: text, onKeyUp: keypressAction, valueChangeEvent: \'keyup\' }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div id="dxrd-crosstab-cell-drop" data-bind="visible: showDropSurface, css: dragCss, styleunit: { left: dropRect.left, top: dropRect.top, width: dropRect.width, height: dropRect.height }"></div> </div> <div class="dxrd-crosstab-cell dxrd-control dxrd-context-menu-container" data-bind="visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: \'visible\'}, event: { mousedown: function(e) { cellClick(); } }"> \x3c!-- ko template: \'dxrd-crosstab-cell-selection\' --\x3e \x3c!-- /ko --\x3e <div class="dxrd-control-content-select-main" data-bind="styleunit: { \'top\': contentSizes().top + (isIntersect() ? 1 : 0), \'left\': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}"> <div id="dxrd-crosstab-cell-drop" data-bind="visible: showDropSurface, css: dragCss, styleunit: { left: dropRect.left, top: dropRect.top, width: dropRect.width, height: dropRect.height }"></div> </div> </div>',"dxrd-crosstab-cell-selection":'\x3c!-- ko if: _control._rowIndex() === 0 --\x3e <div class="dxrd-table-column-selection dxrd-table-column-selection-top" data-bind="click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started(), styleunit: { \'width\': position.width }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: _control._columnIndex() === 0 --\x3e <div class="dxrd-table-row-selection dxrd-table-row-selection-left" data-bind="click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e, true); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started()"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: _control.parent._rowDefinitions().length - 1 === _control._rowIndex() --\x3e <div class="dxrd-table-column-selection dxrd-table-column-selection-bottom" data-bind="click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e); e.stopPropagation(); },visible: !$root.dx._static.DragDropHandler.started(), styleunit: { \'width\': position.width }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: _control.parent._columnDefinitions().length - 1 === _control._columnIndex() --\x3e <div class="dxrd-table-row-selection dxrd-table-row-selection-right" data-bind="click: function(_, e) { !$root.selection.disabled() && selectLine($root.selection, e, true); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started()"></div> \x3c!-- /ko --\x3e',"dxrd-crosstab-control-content":'<div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> <div class="dxrd-control-content" data-bind="controlDisplayName: $data, style: contentCss, css: {\'dxrd-control-content-multiline\' : multiline, \'dxrd-disabled\': $data.getControlModel().isBindable() && !$data.getControlModel().fieldName() }, cacheElement: { action: function(element) { $data.cacheElementContent(element); } }"></div></div>',"dxrd-crosstab":"<div class=\"dxrd-crosstab dxrd-control\" data-bind=\"event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> \x3c!-- ko if: $root.inlineTextEdit.visible() && selected() --\x3e \x3c!-- ko with: $root.inlineTextEdit--\x3e <div class=\"inline-text-edit\" data-bind=\"dxTextArea: { value: text, onKeyUp: keypressAction, valueChangeEvent: 'keyup' }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.controls--\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div><div class=\"dxrd-crosstab dxrd-control dxrd-context-menu-container\" data-bind=\"visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: 'visible'}\"> <div class=\"dxrd-control-content-select-main\" data-bind=\"styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}\"> \x3c!-- ko if: $data.controls--\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div></div>","dxrd-line-content":'<svg class="dxrd-position-absolute dxrd-left-0 dxrd-width-100 dxrd-height-100"> <line data-bind="attr: { x1: linePosition().x1 / _context.zoom(), x2: linePosition().x2 / _context.zoom(), y1: linePosition().y1 / _context.zoom(), y2: linePosition().y2 / _context.zoom() }, style: contentCss" /></svg>',"dxrd-pagebreak-selection":"<div class=\"dxrd-control dxrd-pagebreak\" data-bind=\"visible: isSelected(), trackCursor: underCursor, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-locked': locked }, draggable: $root.dragHandler, styleunit: { 'width': position.width(), 'height': 3, 'top': position.top() - 1, left: position.left() }\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div></div><div class=\"dxrd-control dxrd-pagebreak dxrd-context-menu-container\" data-bind=\"visible: !isSelected(), trackCursor: underCursor, styleunit: { 'width': position.width(), 'height': 3, 'top': position.top() - 1, left: position.left() }\"></div>","dxrd-pagebreak":"<div class=\"dxrd-control dxd-selectable dxrd-border-none dxrd-background-none\" data-bind=\"styleunit: position\"> <div data-bind=\"zoom: _context.zoom, template: contenttemplate, styleunit: { 'lineHeight': lineHeight, 'height': lineHeight, 'width': position.width() / _context.zoom() }\"> </div></div>","dxrd-pdfcontent-control-content":'<div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> <div class="dxrd-control-content" data-bind="style: contentCss, styleunit: { lineHeight: contentHeightWithoutZoom, height: contentHeightWithoutZoom, width: contentWidthWithoutZoom }"> <div data-bind="css: controlTypeClass, template: controlTypeIconTemplate" class="dxrd-position-absolute dxrd-width-24px dxrd-height-24px dxrd-right-5px dxrd-top-5px"> </div> \x3c!-- ko if: generateOwnPages() --\x3e <div class="dxrd-text-nowrap-ellipsis" data-bind="text: getControlModel().textContent"></div> \x3c!-- /ko --\x3e </div></div>',"dxrd-pdfcontent-selection":"<div class=\"dxrd-control\" data-bind=\"style: { visibility: (selected() || focused()) ? 'inherit' : 'hidden'}, css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $data.getResizableOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div></div><div class=\"dxrd-control dxrd-context-menu-container\" data-bind=\"visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? 'visible' : 'hidden'}\"> <div class=\"dxrd-control-content-select-main\" data-bind=\"styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}\"> </div></div>","dxrd-pdfsignature-content":'<div class="dxrd-pdf-signature-skeleton" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }, visible: $data.showSkeleton"> <div class="dxrd-control-content" data-bind="controlDisplayName: $data, style: contentCss"> </div></div><div data-bind="visible: !$data.showSkeleton()"> <div data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }, visible: $data.visibleImage" class="dxrd-text-align-center"> <div class="dxrd-pdf-signature-image" data-bind="template: \'dxrd-svg-todo-pdfsignature\', css: {\'dxrd-pdf-signature-image-fill-container\' : !$data.visibleText()}"> </div> </div> <div class="dxrd-pdf-signature-info-certificate-name" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }, visible: !$data.visibleImage() && !$data.hideImage(), css: {\'dxrd-pdf-signature-info-certificate-name-fill-container\': !$data.visibleText() }"> <div class="dxrd-control-content" data-bind="text: $data.certificateName, style: contentCss, css: { \'dxrd-control-content-multiline\' : multiline }"></div> </div> <div class="dxrd-pdf-signature-info" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }, visible: visibleText, css: {\'dxrd-pdf-signature-info-fill-container\': $data.hideImage }"> <div class="dxrd-control-content" data-bind="controlDisplayName: $data, style: contentCss, css: { \'dxrd-control-content-multiline\' : multiline }"></div> </div></div>',"dxrd-picturebox-selection":"<div class=\"dxrd-control\" data-bind=\"visible: selected() || focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $data.getResizeOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div></div><div class=\"dxrd-control dxrd-context-menu-container\" data-bind=\"visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? 'visible' : 'hidden'}\"> <div class=\"dxrd-control-content-select-main\" data-bind=\"styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}\"> </div></div>","dxrd-pivotgrid-field-selection":"<div class=\"dxrd-pivot-field\" data-bind=\"styleunit: { 'width': Math.max(positionWidthWithoutZoom(), minWidth()), 'height': position.height() / _context.zoom() }, trackCursor: underCursor\"></div>","dxrd-pivotgrid-field":'<div class="dxrd-pivot-field" data-bind="css: {\'dxrd-pivot-field-selected\': selected }, zoom: 1/_context.zoom(), styleunit: { \'width\': Math.max(position.width(), minWidth() * _context.zoom()), \'height\': position.height }"> <div class="dxrd-pivot-field-content" data-bind="text: displayName, zoom: _context.zoom"></div></div>',"dxrd-pivotGridFields":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, addHandler: $root.dx._static.PivotGridFieldViewModel.createNew(_model), displayName: $root.getLocalization(displayName), level: level, info: info }"> </div> </div>',"dxrd-pivot-sortBySummaryInfo-conditions":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function(){ return $root.dx._static.SortBySummaryInfoCondition.createNew($parents[1].value()) } }"> </div> </div>',"dxrd-pivotgrid-content":'<div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100 dxrd-height-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> <div class="dxrd-control-content dxrd-width-100 dxrd-height-100" data-bind="style: contentCss" > <div class="dxrd-pivot-content" data-bind="css: { \'dxrd-pivot-content-rtl\': getControlModel().rtl() }"> <div class="dxrd-pivot-filter-area"> \x3c!-- ko if: filterFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: filterFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: filterFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Filter Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddFilterFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-grid-area"> <div class="dxrd-pivot-grid-area-left"> <div class="dxrd-pivot-rows-area"> <div class="dxrd-pivot-rows-header" data-bind="styleunit: { width: totalsRowFieldWidth, height: rowHeaderHeight }"> \x3c!-- ko if: rowFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: rowFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: rowFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Row Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddRowFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-total" data-bind="text: $root.getLocalization(\'Grand Total\', \'PivotGridStringId.GrandTotal\')"></div> </div> </div> <div class="dxrd-pivot-grid-area-right"> <div class="dxrd-pivot-columns-header"> \x3c!-- ko if: columnFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: columnFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: columnFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Column Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddColumnFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-data-header" data-bind="styleunit: { width: totalsDataFieldWidth }"> <div class="dxrd-pivot-total-wrapper"> <div class="dxrd-pivot-total" data-bind="styleunit: { height: totalsHeight }, text: $root.getLocalization(\'Grand Total\', \'PivotGridStringId.GrandTotal\')"></div> </div> <div class="dxrd-pivot-data-area"> \x3c!-- ko if: dataFields().length !== 0 --\x3e \x3c!-- ko foreach: dataFields --\x3e <div class="dxrd-pivot-data-field" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> <div class="dxrd-pivot-field-wrapper"> \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-field-empty"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: dataFields().length === 0 --\x3e <div class="dxrd-pivot-field-empty"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Data Items Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddDataItems\')"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div> </div> </div></div>',"dxrd-pivotgrid-selection-context":'<div class="dxrd-control-content dxrd-width-100 dxrd-height-100 dxrd-line-height-normal dxrd-overflow-hidden" > <div class="dxrd-pivot-content dxrd-width-100 dxrd-height-100 dxrd-overflow-hidden" data-bind="zoom: _context.zoom(), css: { \'dxrd-pivot-content-rtl\': getControlModel().rtl() }"> <div class="dxrd-pivot-filter-area"> \x3c!-- ko if: filterFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: filterFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: filterFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Filter Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddFilterFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-grid-area"> <div class="dxrd-pivot-grid-area-left"> <div class="dxrd-pivot-rows-area"> <div class="dxrd-pivot-rows-header" data-bind="styleunit: { width: totalsRowFieldWidth, height: rowHeaderHeight }"> \x3c!-- ko if: rowFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: rowFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: rowFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Row Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddRowFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-total" data-bind="text: $root.getLocalization(\'Grand Total\', \'PivotGridStringId.GrandTotal\')"></div> </div> </div> <div class="dxrd-pivot-grid-area-right"> <div class="dxrd-pivot-columns-header"> \x3c!-- ko if: columnFields().length !== 0 --\x3e <div class="dxrd-pivot-fields-wrapper"> \x3c!-- ko foreach: columnFields --\x3e <div class="dxrd-pivot-field-wrapper" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: columnFields().length === 0 --\x3e <div class="dxrd-pivot-text-wrapper"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Column Fields Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddColumnFields\')"></div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-data-header" data-bind="styleunit: { width: totalsDataFieldWidth }"> <div class="dxrd-pivot-total-wrapper"> <div class="dxrd-pivot-total" data-bind="styleunit: { height: totalsHeight }, text: $root.getLocalization(\'Grand Total\', \'PivotGridStringId.GrandTotal\')"></div> </div> <div class="dxrd-pivot-data-area"> \x3c!-- ko if: dataFields().length !== 0 --\x3e \x3c!-- ko foreach: dataFields --\x3e <div class="dxrd-pivot-data-field" data-bind="styleunit: { \'width\': positionWidthWithoutZoom }"> <div class="dxrd-pivot-field-wrapper"> \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-pivot-field-empty"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: dataFields().length === 0 --\x3e <div class="dxrd-pivot-field-empty"> <div class="dxrd-pivot-text" data-bind="text: $root.getLocalization(\'Add Data Items Here\', \'ASPxReportsStringId.ReportDesigner_Pivot_AddDataItems\')"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div> </div> </div>',"dxrd-pivotgrid-selection":"<div class=\"dxrd-control dxrd-context-menu-container\" data-bind=\" visible: !($data.selected() || $data.focused()), css: { 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-control-rtl': getControlModel().rtl() }, styleunit: position, trackCursor: underCursor\"> \x3c!-- ko template: 'dxrd-pivotgrid-selection-context' --\x3e \x3c!-- /ko --\x3e </div> <div class=\"dxrd-control\" data-bind=\"visible: $data.selected() || $data.focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-control-rtl': getControlModel().rtl() }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> \x3c!-- ko template: 'dxrd-pivotgrid-selection-context' --\x3e \x3c!-- /ko --\x3e </div>","dxrd-report":'<div class="dxrd-surface" data-bind="styleunit: { \'width\': Math.min($data.pageWidth() + $data.maxMarkerWidth() + $root.verticalScrollOffset() , $root.surfaceSize()) }, css: { \'dxrd-surface-rtl\': rtl() }, click: function(surface, e) { !$root.selection.disabled() && $root.selection.clickHandler($root.selection.dropTarget ? null : surface, e); e.stopPropagation(); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(surface, e) { $data.surfaceContextMenuHandler && $data.surfaceContextMenuHandler($root.selection, surface, e); }} : null, keyDownActions: $root.actionLists.getViewModel()"> <div class="dxrd-content-panel-wrapper" data-bind="styleunit: $root.dx[\'config\']()[\'rtlEnabled\'] ? { right: maxMarkerWidth() } : { left: maxMarkerWidth() }, style: { bottom: (20 - $root.horizontalScrollOffset()) + \'px\' }"> <div class="dxrd-content-panel"> <div class="dxrd-hruler-wrapper"> <div class="dxrd-hruler" data-bind="styleunit: { left: leftMarginOffset,\'width\': margins.left }"> <div data-bind="ruler: { \'zoom\': zoom, \'length\': margins.left, \'units\': measureUnit, flip: ko.computed(function(){ return !rtl(); }) }"></div> <div class="dxrd-ruler-shadow" data-bind="styleunit: { left: 0, \'width\': margins.left }"></div> </div> <div class="dxrd-hruler" data-bind="styleunit: { \'width\': (pageWidth() - margins.left()), left: ghostContainerOffset }"> <div class="dxrd-margin-resizable" data-bind="styleunit: { \'width\': pageWidthWithoutMargins, \'left\': leftMarginResizableOffset }, resizable: leftMarginResizeOptions($root.undoEngine, $element)"></div> <div data-bind="ruler: { \'zoom\': zoom, \'length\': function() { return pageWidth() - margins.left();}, \'units\': measureUnit, flip: rtl }"></div> <div class="dxrd-ruler-shadow" data-bind="styleunit: { left: rightMarginOffset, width: margins.right }, resizable: rightMarginResizeOptions($root.undoEngine, $element)"></div> </div> <div class="dxrd-vscroller-space" data-bind="styleunit: { \'left\': pageWidth() }"></div> </div> <div class="dxrd-viewport" data-bind="styleunit: { minWidth: Math.min($data.pageWidth() + $root.verticalScrollOffset(), $root.surfaceSize()) - $data.maxMarkerWidth(), maxWidth: $data.pageWidth() + $root.verticalScrollOffset(), maxHeight: $data.effectiveHeight() + $root.horizontalScrollOffset() }, event: { scroll: function() { $root.onViewPortScroll($element) } }, style: { \'overflow-x\': $root.horizontalScrollOffset() ? \'auto\' : \'hidden\', \'overflow-y\': $root.verticalScrollOffset() ? \'auto\' : \'hidden\' }"> <div data-bind="selectable: { selection: $root.selection, zoom: zoom }"> <div class="dxrd-leftMargin" data-bind="styleunit: { left: leftMarginOffset, width: margins.left() }"> <div class="dxrd-selection dxrd-position-absolute" > \x3c!-- ko template: { name: \'dxrd-band-holder\', data: { templateName: \'leftMarginSelectionTemplate\', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $data.margins.left }; } } }--\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-flip"> \x3c!-- ko template: { name: \'dxrd-band-holder\', data: { templateName: \'leftMarginTemplate\', holder: $data.bandsHolder, getData: function(item) { return { surface: item, width: $data.margins.left, snapGridSize: $data.snapGridSize }; } } }--\x3e \x3c!-- /ko --\x3e </div> </div> <div class="dxrd-ghost-containment" data-bind="styleunit: { left: ghostContainerOffset }"> <div class="dxrd-ghost-container" data-bind="styleunit: { \'width\': pageWidthWithoutMargins, \'height\': minHeight }"> <div class="dxrd-bands-content dxrd-main"> \x3c!-- ko template: { name: \'dxrd-band-holder\', data: { templateName: \'templateName\', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- ko foreach: crossBandControls --\x3e \x3c!-- ko if: visible --\x3e \x3c!-- ko template: { name: template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <svg class="dxrd-height-100 dxrd-position-absolute dxrd-top-0 dxrd-width-1px dxrd-z-index--1" data-bind="styleunit: { left: leftMarginOffset() }"> <line data-bind="attr: { x1: 0, x2: 0 }" y1="0" y2="100%" class="dxrd-stroke-rgb-128 dxrd-stroke-width-05px dxrd-stroke-dasharray-5px" /> </svg> <svg class="dxrd-rightMargin-border" data-bind="styleunit: { left: rtl() ? margins.right() : rightMarginOffset() }, visible: margins.right() > 0"> <line data-bind="attr: { x1: 0, x2: 0 }" y1="0" y2="100%" class="dxrd-stroke-rgb-220 dxrd-stroke-width-3px dxrd-stroke-dasharray-5px" /> </svg> \x3c!-- ko template: { name: \'dxd-snap-lines-holder\', data: $root.snapHelper } --\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-bands-content dxrd-selection" data-bind="styleunit: { \'width\': pageWidthWithoutMargins }"> <div class="dxrd-bands-content-offset"> <div class="dxrd-leftMargin-resizable" data-bind="styleunit: { \'width\': pageWidthWithoutMargins, \'left\': leftMarginResizableOffset }, resizableReportMargins: leftMarginResizeOptions($root.undoEngine, $element)"></div> \x3c!-- ko template: { name: \'dxrd-band-holder\', data: { templateName: \'selectionTemplate\', holder: $data.bandsHolder, getData: function(item) { return item; } } }--\x3e \x3c!-- /ko --\x3e \x3c!-- ko foreach: crossBandControls --\x3e \x3c!-- ko if: visible --\x3e <div class="dxrd-cross-band" data-bind="visible: isSelected() && !$root.dx._static.DragDropHandler.started(), css: {\'dxrd-selected dxrd-context-menu-container\': selected, \'dxrd-focused\': focused, \'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dxrd-rightMargin-resizable" data-bind="styleunit: { left: rightMarginResizableOffset }, resizableReportMargins: rightMarginResizeOptions($root.undoEngine, $element)"></div> </div> </div> </div> </div> </div> \x3c!-- ko ifnot: focused --\x3e \x3c!-- ko template: { name: \'dxrd-smart-tags\', data: $root.smartTagModel, if: $root.smartTagModel.visible && $root.smartTagModel.smartTags().length > 0 } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: focused --\x3e \x3c!-- ko template: { name: \'dxrd-smart-tags\', data: $root.smartTagModel, if: $root.smartTagModel.visible && $root.smartTagModel.smartTags().length > 0 } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> <div class="dxrd-bands-panel-wrapper" data-bind="styleunit: { width: maxMarkerWidth() }"> <div class="dxrd-bands-panel"> <div class="dxrd-band-headers"> \x3c!-- ko template: { name: \'dxrd-band-holder\', data: { templateName: \'vrulerTemplate\', holder: $data.bandsHolder, getData: function(item) { return { surface: item, measureUnit: $data.measureUnit }; } } }--\x3e \x3c!-- /ko --\x3e </div> </div> <div class="dxrd-hscroller-space"></div> </div></div>',"dxrd-richedit":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div class="dxrd-control-content-main" data-bind="styleunit: { \'top\': contentSizes().top, \'left\': contentSizes().left, lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width }, style: css"> <div data-bind="zoom: _context.zoom, template: contenttemplate, styleunit: { height: contentHeightWithoutZoom, width: contentWidthWithoutZoom }" class="dxrd-position-absolute"> </div> </div> <div data-bind="style: borderCss" class="dxrd-width-100 dxrd-height-100 dxrd-position-absolute dxrd-box-sizing-border-box"></div></div>',"dxrd-server-rendered-control-content":'\x3c!-- ko if: $data.imageSrc --\x3e<img data-bind="attr: { src: imageSrc }, styleunit: { \'height\': contentHeightWithoutZoom, \'width\': contentWidthWithoutZoom }" />\x3c!-- /ko --\x3e\x3c!-- ko if: $data.isLoading --\x3e<div class="dx-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: isLoading() }"></div></div>\x3c!-- /ko --\x3e\x3c!-- ko if: $data.error --\x3e<p class="dxrd-internal-error" data-bind="text: error"></p>\x3c!-- /ko --\x3e',"dxrd-shape":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div class="dxrd-control-content-main" data-bind="styleunit: { \'top\': contentSizes().top, \'left\': contentSizes().left, lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width }, style: css"> <div data-bind="zoom: _context.zoom, template: contenttemplate, styleunit: { \'lineHeight\': contentHeightWithoutZoom }" class="dxrd-position-absolute"> </div> </div> <div data-bind="style: borderCss" class="dxrd-width-100 dxrd-height-100 dxrd-position-absolute dxrd-box-sizing-border-box"></div></div>',"dxrd-subreport-selection":'<div class="dxrd-control" data-bind="event: { dblclick: function (control, e) { $root.navigateByReports.goToSubreport(control); } }, visible: isSelected, css: {\'dxrd-selected dxrd-context-menu-container\': selected, \'dxrd-focused\': focused, \'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked }, resizable: $data.getResizableOptions($root.resizeHandler), draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor"> <div class="dxd-border-accented dxrd-control-border-box"></div></div><div class="dxrd-control dxrd-context-menu-container" data-bind="visible: !isSelected(), styleunit: position, trackCursor: underCursor"></div>',"dxrd-subreport":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div data-bind="style: borderCss" class="dxrd-width-100 dxrd-height-100 dxrd-position-absolute dxrd-box-sizing-border-box"></div> <div class="dxrd-control-content" data-bind="text: displayText(), style: contentCss"></div></div>',"dxrd-table-selection":"<div class=\"dxrd-table-control dxrd-context-menu-container\" data-bind=\"style: { visibility: !isSelected() ? 'visible' : 'hidden'}, styleunit: position\"> \x3c!-- ko if: rows().length > 0 --\x3e \x3c!-- ko foreach: rows --\x3e <div class=\"dxrd-table-row-control\" data-bind=\"styleunit: { 'top': position.top, 'height': position.height }\"> \x3c!-- ko foreach: cells --\x3e <div class=\"dxrd-table-cell-control\" data-bind=\"trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style:{ overflow: isSelected() ? 'visible' : 'hidden', 'z-index': offsetZIndex() }\"> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div>\x3c!-- ko if: (selected() || focused()) --\x3e<div class=\"dxrd-table-control\" data-bind=\"style: { visibility: 'inherit' }, css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> \x3c!-- ko if: rows().length > 0 --\x3e \x3c!-- ko foreach: rows()[0].cells --\x3e <div class=\"dxrd-table-column-selection dxrd-table-column-selection-top\" data-bind=\"click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'left': position.left, 'width': position.width }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko foreach: rows --\x3e <div class=\"dxrd-table-row-control\" data-bind=\"styleunit: { 'top': position.top, 'height': position.height }\"> <div class=\"dxrd-table-row-selection dxrd-table-row-selection-left\" data-bind=\"trackCursor: underCursor, visible: !$root.dx._static.DragDropHandler.started()\"></div> \x3c!-- ko foreach: cells --\x3e <div class=\"dxrd-table-cell-control\" data-bind=\"trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style: { 'z-index': offsetZIndex() }\"> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class=\"dxrd-table-row-selection dxrd-table-row-selection-right dxrd-visibility-visible\" data-bind=\"trackCursor: underCursor, visible: !$root.dx._static.DragDropHandler.started()\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko foreach: rows()[rows().length-1].cells --\x3e <div class=\"dxrd-table-column-selection dxrd-table-column-selection-bottom\" data-bind=\"click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); },visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'left': position.left, 'width': position.width }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div>\x3c!-- /ko --\x3e<div class=\"dxrd-table-control dxrd-context-menu-container\" data-bind=\"visible: isSelected() && !(selected() || focused()), styleunit: position\"> \x3c!-- ko if: rows().length > 0 --\x3e \x3c!-- ko foreach: rows()[0].cells --\x3e <div class=\"dxrd-table-column-selection dxrd-table-column-selection-top\" data-bind=\"click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); }, visible: !$root.dx._static.DragDropHandler.started(), styleunit: { 'left': position.left, 'width': position.width }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko foreach: rows --\x3e <div class=\"dxrd-table-row-control\" data-bind=\"visible: isSelected(), css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-locked': locked }, resizable: { starting: $root.resizeHandler.starting, stopped: $root.resizeHandler.stopped, handles: 'n,s', disabled: !(selected() || focused()), zoom: $root.surface().zoom }, styleunit: { 'top': position.top, 'height': position.height }\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> <div class=\"dxrd-table-row-selection dxrd-table-row-selection-left\" data-bind=\"visible: !$root.dx._static.DragDropHandler.started(), trackCursor: underCursor\"></div> \x3c!-- ko foreach: cells --\x3e <div class=\"dxrd-table-cell-control\" data-bind=\"trackCursor: underCursor, event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, visible: isSelected, css: { 'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked, 'dxrd-table-cell-over-rowSpan': rowSpan() === 0 }, resizable: { starting: $root.resizeHandler.starting, stopped: $root.resizeHandler.stopped, handles: 'e,w', disabled: !(selected() || focused()), zoom: $root.surface().zoom, snapHelper: $root.resizeHandler.snapHelper }, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }\"> <div class=\"dxd-border-accented dxrd-control-border-box\"></div> \x3c!-- ko if: $root.inlineTextEdit.visible() && selected() --\x3e \x3c!-- ko with: $root.inlineTextEdit--\x3e <div class=\"inline-text-edit\" data-bind=\"dxTextArea: { value: text, onKeyUp: keypressAction, valueChangeEvent: 'keyup' }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class=\"dxrd-table-cell-control\" data-bind=\"trackCursor: underCursor, visible: !isSelected(), styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }\"> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class=\"dxrd-table-row-selection dxrd-table-row-selection-right\" data-bind=\"visible: !$root.dx._static.DragDropHandler.started(), trackCursor: underCursor\"></div> </div> <div class=\"dxrd-table-row-control dxrd-context-menu-container\" data-bind=\"visible: !isSelected(), styleunit: { 'top': position.top, 'height': position.height }\"> <div class=\"dxrd-table-row-selection dxrd-table-row-selection-left\" data-bind=\"visible: !$root.dx._static.DragDropHandler.started(),trackCursor: underCursor\"></div> \x3c!-- ko foreach: cells --\x3e <div class=\"dxrd-table-cell-control\" data-bind=\"trackCursor: underCursor, styleunit: { 'left': position.left, 'width': position.width, 'height': heightWithRowSpan }, style : { 'z-index': offsetZIndex() }\"> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.selectiontemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class=\"dxrd-table-row-selection dxrd-table-row-selection-right\" data-bind=\"visible: !$root.dx._static.DragDropHandler.started(),trackCursor: underCursor\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko foreach: rows()[rows().length-1].cells --\x3e <div class=\"dxrd-table-column-selection dxrd-table-column-selection-bottom\" data-bind=\"visible: !$root.dx._static.DragDropHandler.started(),click: function(_, e) { !$root.selection.disabled() && selectColumn($root.selection); e.stopPropagation(); }, styleunit: { 'left': position.left, 'width': position.width }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div>","dxrd-table":'<div class="dxrd-table-control dxrd-control dxd-selectable" data-bind="styleunit: position, trackCursor: underCursor, css: adorntemplate"> <div data-bind="style: css" class="dxrd-width-100 dxrd-height-100"> \x3c!-- ko foreach: rows --\x3e <div class="dxrd-table-row-control" data-bind="styleunit: { \'top\': position.top, \'height\': position.height}, style: css, css: adorntemplate"> \x3c!-- ko foreach: cells --\x3e <div class="dxrd-table-cell-control dxrd-control" data-bind="styleunit: { \'left\': position.left, \'width\': position.width, \'height\': heightWithRowSpan }, trackCursor: underCursor, css: adorntemplate"> <div data-bind="zoom: _context.zoom, template: contenttemplate, styleunit: { \'lineHeight\': position.lineHeight() / _context.zoom(), \'width\': contentWidthWithoutZoom, \'height\': contentHeightWithoutZoom }, style: css"> </div> \x3c!-- ko foreach: controls --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div></div>',"dxrd-table-of-contents":'<div class="dxrd-control dxd-selectable dxrd-control-table-of-content" data-bind="styleunit: position, trackCursor: underCursor, css: adorntemplate"> <div data-bind="style: css" class="dxrd-width-100 dxrd-height-100"> \x3c!-- ko template: { name: levelTitle.template, data: levelTitle } --\x3e \x3c!-- /ko --\x3e <div class="dxrd-control-table-of-content-levelsElements"> \x3c!-- ko foreach: $data.levels() --\x3e \x3c!-- ko template: { name: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: levelDefault.template, data: levelDefault, isDefault: true } --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-table-of-contents-level":'<div class="dxrd-control dxrd-left-0 dxrd-width-100" data-bind="styleunit: { height: position.height, top: position.top, lineHeight: position.lineHeight}, css: adorntemplate" > <div class="dxrd-tocLevel-border" data-bind="styleunit: { \'height\': _context.zoom()}"></div> \x3c!-- ko if: getControlModel().rtl() --\x3e <div data-bind="style: borderCss, styleunit: { left: position.left, width: contentSizes().width + (contentSizes().left + contentSizes().right)} " class="dxrd-height-100 dxrd-position-absolute dxrd-box-sizing-border-box"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !getControlModel().rtl() --\x3e <div data-bind="style: borderCss, styleunit: { left: position.left} " class="dxrd-height-100 dxrd-right-0 dxrd-position-absolute dxrd-box-sizing-border-box"></div> \x3c!-- /ko --\x3e <div class="dxrd-control-content-main dxrd-overflow-hidden" data-bind="styleunit: { \'top\': contentSizes().top, \'left\': contentSizes().left + position.left(), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}, style: css"> <div class="dxrd-tocLevel-zoomer" data-bind="zoom: _context.zoom, styleunit: { \'height\': contentHeightWithoutZoom, \'width\': contentWidthWithoutZoom }"> <div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100 dxrd-height-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> \x3c!-- ko if: getControlModel().isTitle --\x3e <div class="dxrd-control-content dxrd-control-content-multiline" data-bind="controlDisplayName: $data, style: contentCss"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: getControlModel().isTitle --\x3e <div class="dxrd-control-content dxrd-width-100 dxrd-height-100 dxrd-line-height-inherit" data-bind="style: contentCss" > <div class="dxrd-control-content-level-text"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td> <div class="dxrd-control-content-line-text"><span data-bind="text: $data.getControlModel().name"></span></div> </td> <td class="middle"> <table border="0" cellspacing="0" cellpadding="0" class="dxrd-table-layout-fixed dxrd-width-100"> <tr> <td data-bind="text: leaderSymbols" class="dxrd-word-wrap-break-word"></td> </tr> </table> </td> <td> <div class="dxrd-control-content-number">&nbsp;&nbsp;#&nbsp;&nbsp;</div> </td> </tr> </table> </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div>',"dxrd-table-of-contents-selected":'<div class="dxrd-control dxrd-table-of-contents-selected dxrd-context-menu-container" data-bind="event: { dblclick: function() { $root.inlineTextEdit.show($element) } }, visible: isSelected, css: {\'dxrd-intersect\': isIntersect, \'dxrd-locked\': locked }, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor"> <div class="dxd-border-accented dxrd-control-border-box"></div> \x3c!-- ko with: levelTitle --\x3e <div class="dxrd-control dxrd-control-line-ui-resizeble" data-bind="styleunit: position, resizable: resizable($root.resizeHandler, $element)"> \x3c!-- ko with: $root.inlineTextEdit--\x3e \x3c!-- ko if: visible --\x3e <div class="inline-text-edit" data-bind="dxTextArea: { value: text, onKeyUp: keypressAction, valueChangeEvent: \'keyup\' }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko foreach: $data.levels() --\x3e <div class="dxrd-control dxrd-control-line-ui-resizeble" data-bind="styleunit: { height: position.height, top: position.top, lineHeight: position.lineHeight }, resizable: resizable($root.resizeHandler, $element)" class="dxrd-left-0 dxrd-width-100"></div> \x3c!-- /ko --\x3e \x3c!-- ko with: levelDefault --\x3e <div class="dxrd-control" data-bind="styleunit: { height: position.height, top: position.top, lineHeight: position.lineHeight }, resizable: resizable($root.resizeHandler, $element)" class="dxrd-left-0 dxrd-width-100"></div> \x3c!-- /ko --\x3e </div> <div class="dxrd-control dxrd-context-menu-container" data-bind="visible: !isSelected(), styleunit: position, trackCursor: underCursor"> </div>',"dxrd-textcontrol-content":'<div class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100" data-bind="styleunit: { lineHeight: contentHeightWithoutZoom }"> <div class="dxrd-control-content" data-bind="controlDisplayName: $data, style: contentCss, css: {\'dxrd-control-content-multiline\' : multiline }, cacheElement: { action: function(element) { $data.cacheElementContent(element); } } "></div></div>',"dxrd-todocontrol":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, trackCursor: underCursor, style: css, css: adorntemplate"> <div data-bind="style: borderCss" class="dxrd-control-border-box"></div> <div data-bind="css: controlTypeClass, template: controlTypeIconTemplate" class="dxrd-position-absolute dxrd-width-24px dxrd-height-24px dxrd-right-5px dxrd-top-5px"> </div> <span class="dxrd-control-content" data-bind="text: displayName, style: contentCss"></span></div>',"dxrd-unknown-control":'<div class="dxrd-control dxd-selectable" data-bind="styleunit: position, css: adorntemplate"> <div class="dxrd-control-content-main"> <div data-bind="zoom: _context.zoom, template: contenttemplate" class="dxrd-position-absolute"> </div> </div></div>',"dxrd-calculatedfield-content":'<div data-bind="with: propertyGrid"> \x3c!-- ko foreach: getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div>',"dxrd-datasource-item":'<div class="dx-fieldset"> <div data-bind="dxCollectionEditor: { values: ko.observable(tableInfoItems), displayName: $root.getLocalization(\'Filter Criteria\', \'ASPxReportsStringId.ReportDesigner_DataSource_FilterCriteriaTitle\'), hideButtons: true }"> <div class="dx-field dxd-back-primary"> \x3c!-- ko with: value --\x3e <div class="dx-field-label dxd-text-primary" data-bind="text: tableName"></div> \x3c!-- ko if: $data.filterString() !== null --\x3e <div class="dx-field-value dxrd-margin-right-5px" data-bind="dxFilterEditor: { options: filterString, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div></div>',"dxrd-coordinategrid":'<svg data-bind="style: { \'height\': height() + \'px\', \'width\': width() + \'px\' }, attr: { viewBox: \'0 0 \' + width() + \' \' + height() }"> <g transform="translate(0, 0)"> \x3c!-- ko foreach: verticalGridLines --\x3e <line y1="0" y2="100%" class="minor-graduation" data-bind="attr: { x1: coordVal, x2: coordVal }, visible: visible"></line> \x3c!-- /ko --\x3e </g> <g transform="translate(0, 0)"> \x3c!-- ko foreach: horizontalGridLines --\x3e <line x1="0" x2="100%" class="minor-graduation" data-bind="attr: { y1: coordVal, y2: coordVal }, visible: visible"></line> \x3c!-- /ko --\x3e </g> <g transform="translate(0, 0)"> \x3c!-- ko foreach: majorVerticalGridLines --\x3e <line y1="0" y2="100%" class="major-graduation" data-bind="attr: { x1: coordVal, x2: coordVal }, visible: visible"></line> \x3c!-- /ko --\x3e </g> <g transform="translate(0, 0)"> \x3c!-- ko foreach: majorHorizontalGridLines --\x3e <line x1="0" x2="100%" class="major-graduation" data-bind="attr: { y1: coordVal, y2: coordVal }, visible: visible"></line> \x3c!-- /ko --\x3e </g></svg>',"dxrd-expressions-tab":'<div class="dxrd-properties-wrapper dxrd-expressions-tab" data-bind="visible: active && visible"> <div class="dxrd-properties-sub-wrapper"> <div class="dxrd-right-panel-header dxd-text-primary"> <span data-bind="text: text"></span> </div> \x3c!-- ko with: model --\x3e \x3c!-- ko if: $root.controlsStore.visible() --\x3e <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-selected-component"> <div class="dxrd-properties-focused-item dxrd-margin-0" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: $root.editableObject, displayExpr: function(value) { var showValue = value || $root.editableObject(); return $root.dx._static.getControlFullName(showValue) }, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"> </div> </div> </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-properties-grid dxd-border-primary dxrd-top-80px" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }" > \x3c!-- ko template: \'dx-propertieseditor\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-action-container-with-rename":'<div class="dx-treelist-action-container" data-bind="visible: !inRenameMode && (isSelected || isHovered)"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-item-text-content-with-rename":'<div class="dx-treelist-text-wrapper"> \x3c!-- ko if: !inRenameMode --\x3e \x3c!-- ko if: searchModel.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: searchModel.searchEnabled --\x3e <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: inRenameMode --\x3e <div class="dx-treelist-rename-node" data-bind="dxTextBox: createRenameEditorOptions(), dxValidator: createValidatorOptions()"></div> \x3c!-- /ko --\x3e </div>',"dxrd-fieldlistwrapper":'<div class="dxrd-fieldslist-wrapper dxrd-height-100 dxrd-overflow-hidden" data-bind="visible: active && visible" > \x3c!-- ko with: model --\x3e <div class="dxrd-right-panel-header dxd-text-primary"> <div class="dxrd-fieldslist-wrapper-header" data-bind="text: $root.getLocalization(\'Field List\', \'ReportStringId.UD_Title_FieldList\')"></div> \x3c!-- ko if: $data.allowAddDataSource --\x3e <div id="btn-add-dataSource" data-bind="dxButtonWithTemplate: { onClick: startWizard, visible: visible(), text: addDataSourceButtonText, icon: \'dxrd-svg-operations-add\', iconClass: \'dx-image-add\' }, attr: { title: addDataSourceButtonText }"> </div> \x3c!-- /ko --\x3e </div> <div data-bind="treeListSearchPanel: {controllers:treeListOptions.treeListController}"></div> <div class="dxrd-right-panel-body" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> <div class="dx-editors"> <div id="tree" data-bind="treelist: treeListOptions" class="dxrd-width-100 dxrd-height-100"></div> </div> </div> \x3c!-- ko if: useContextMenu --\x3e <div data-bind="dxContextMenu: fieldListContextMenu"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e</div>',"dxrd-localization-editor-item":'<div class="dx-fieldset"> <div class="dx-field"> <div class="dx-field-label dx-accordion-header dxd-text-primary"> <label class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: $parent.textToSearch }, attr: { \'title\': displayName }"></label> </div> <div class="dx-field-value"> \x3c!-- ko if: !ko.unwrap($data.multiline) --\x3e <div class="dxrd-localization-panel-default" data-bind="dxTextBox: { value: defaultText, readOnly: !$data.isDefaultLanguage() }, css: { \'dxrd-localization-panel-textbox-full\': $data.isDefaultLanguage() }"></div> <div class="dxrd-localization-panel-current" data-bind="dxTextBox: { value: localizedText, onFocusIn: function(e, s) { $parent.onItemGotFocus(e) }, visible: !$data.isDefaultLanguage()}"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: ko.unwrap($data.multiline)--\x3e <div class="dxrd-multi-area-container"> <div class="dxrd-localization-panel-default" data-bind="dxTextArea: { value: defaultText, readOnly: !$data.isDefaultLanguage(), autoResizeEnabled: true, minHeight: \'26px\', maxHeight: \'58px\' }, css: { \'dxrd-localization-panel-textbox-full\': $data.isDefaultLanguage() }"> </div> \x3c!-- ko if: !$data.isDefaultLanguage() --\x3e <div class="dxrd-localization-panel-current" data-bind="dxTextArea: { value: localizedText, onFocusIn: function(e, s) { $parent.onItemGotFocus(e) }, autoResizeEnabled: true, minHeight: \'26px\', maxHeight: \'58px\' }"> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-localization-editor":'\x3c!-- ko if: $data && $data.isVisible() --\x3e <div class="dxrd-localization-editor dx-editors" data-bind="css: { \'dx-rtl\': $root.rtl, \'dx-ltr\': !$root.rtl }, styleunit: { width: width }"> <div class="dxrd-left-localization-panel dx-editors dxd-text-primary dxd-back-primary" data-bind="resizable: getResizableOptions($element, 0, 500, $root.rtl ? \'Left\': \'Right\', \'Right\', width)"> <div class="dxrd-localization-panel-header dxd-back-primary2 dxd-border-secondary"> <div class="dxrd-localization-panel-title" data-bind="text: $root.getLocalization(\'Localization\', \'ASPxReportsStringId.ReportDesigner_LocalizationEditor_Title\')"></div> <div class="dx-fieldset"> <div class="dx-field"> <div class="dxrd-localization-language" data-bind="css: { \'dx-property-grid-search-uncollapsed \': isSearching() }"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Language\', \'DevExpress.XtraReports.UI.XtraReport.XRLanguage\')"></div> <div class="dx-field-value" data-bind="css: { \'dx-field-value-shortened\': getRegisteredService() }"> \x3c!-- ko template: { name: \'dxrd-localization-combobox\', data: { getValues: function() { return $data.availableCultures; }, value: language, disabled: false } } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: getRegisteredService() --\x3e <div class="dxrd-localization-panel-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="dxButtonWithTemplate: { onClick: function() { $data.applyLocalization($data.getRegisteredService()) }, disabled: isDefaultLanguage(), icon: \'dxrd-svg-actions-apply_localization_service\', iconClass: \'apply-localization-service\' }, attr: { title: $root.getLocalization(\'Translate\', \'ASPxReportsStringId.ReportDesigner_LocalizationEditorTranslate\') }"></div> \x3c!-- /ko --\x3e <div class="dxrd-localization-panel-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="dxButtonWithTemplate: { onClick: clearLocalization, icon: \'dxrd-svg-actions-reset\', iconClass: \'reset-localization\', disabled: isDefaultLanguage() }, attr: { title: $root.getLocalization(\'Reset\', \'ASPxReportsStringId.ParametersPanel_Reset\') }"></div> </div> \x3c!-- ko template: \'dx-propertygrid-searchbox\'--\x3e \x3c!-- /ko --\x3e </div> </div> </div> <div class="dxrd-localization-panel-content"> <div class="dxrd-localization-panel-content-header"> <div class="dx-fieldset"> <div class="dx-field"> <div class="dx-field-label"> <div class="dxrd-localization-language dxrd-localization-panel-default dxd-text-secondary" data-bind="text: $data.propertiesHeaderText()"></div> </div> <div class="dx-field-value"> <div class="dxrd-localization-language dxrd-localization-panel-default dxd-text-secondary" data-bind="text: $data.defaultLanguageText()"></div> <div class="dxrd-localization-language dxrd-localization-panel-current dxd-text-secondary" data-bind="text: $data.currentLanguageText(), visible: !$data.isDefaultLanguage()"></div> </div> </div> </div> </div> <div data-bind="dxList: { dataSource: localizationItems, selectionMode: \'single\', height: \'calc(100% - 59px)\', onSelectionChanged: onSelectionChanged, focusStateEnabled: false, activeStateEnabled: false, pageLoadMode: \'scrollBottom\', noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }"> \x3c!-- ko lazy: { template: \'dxrd-localization-editor-item\' } --\x3e \x3c!-- /ko --\x3e </div> </div> <div data-bind="dxLoadPanel:{ visible: showLoadIndicator, shading: true, position: { of: getLoadPanelPosition($element) }, showIndicator: true, showPane: true, shadingColor: \'rgba(0,0,0,0.4)\'}"></div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-reportexplorerwrapper":'<div class="dxrd-fieldslist-wrapper dxrd-height-100 dxrd-overflow-hidden" data-bind="visible: active && visible" > <div class="dxrd-right-panel-header dxd-text-primary"> <div class="dxrd-fieldslist-wrapper-header" data-bind="text: $root.getLocalization(\'Report Explorer\', \'ReportStringId.UD_Title_ReportExplorer\')"></div> </div> \x3c!-- ko with: model--\x3e <div data-bind="treeListSearchPanel: {controllers:treeListController}"></div> <div class="dxrd-right-panel-body" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }, dxAutoScrolling: { active: $root.dx._static.DragDropHandler.started }"> <div id="tree" data-bind="treelist: { selectedPath: itemsProvider.selectedPath, itemsProvider: itemsProvider, treeListController: treeListController }" class="dxrd-width-100 dxrd-height-100"></div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-ruler":'<svg data-bind="attr: { \'width\': width() + \'px\', \'height\': height() + \'px\' }"> <rect width="100%" height="100%" stroke-width="1px" stroke="gray" class="ruler"></rect> \x3c!-- ko if: disable --\x3e <rect data-bind="attr: { x: disable.start, width: disable.width }" height="100%" fill="grey" fill-opacity="0.5"></rect> \x3c!-- /ko --\x3e \x3c!-- ko foreach: gridLines --\x3e <line y1="80%" y2="100%" class="ruler-graduation" data-bind="attr: { x1: coordVal, x2: coordVal }"></line> \x3c!-- /ko --\x3e \x3c!-- ko foreach: majorGridLines --\x3e <line y1="70%" y2="100%" class="ruler-graduation" data-bind="attr: { x1: coordVal, x2: coordVal }"></line> \x3c!-- /ko --\x3e <g transform="translate(-3, 0)"> \x3c!-- ko foreach: majorGridLines --\x3e <text class="ruler-mark" data-bind="text: text, attr: {x: coordVal, y: 12 }"></text> \x3c!-- /ko --\x3e </g> \x3c!--<text class="ruler-mark" transform="translate(4, 14)">0</text>--\x3e</svg>',"dxrd-rulervertical":'<svg data-bind="attr: { \'width\': width() + \'px\', \'height\': height() + \'px\' }"> <rect width="100%" height="100%" stroke-width="1px" stroke="gray" class="ruler"></rect> \x3c!-- ko foreach: gridLines --\x3e <line class="ruler-graduation" data-bind="attr: { x1: $parent.defaultGridLinesCoordinate().x1, x2: $parent.defaultGridLinesCoordinate().x2, y1: coordVal, y2: coordVal }"></line> \x3c!-- /ko --\x3e \x3c!-- ko foreach: majorGridLines --\x3e <line class="ruler-graduation" data-bind="attr: {x1: $parent.defaultGridLinesCoordinate().majorX1, x2: $parent.defaultGridLinesCoordinate().majorX2, y1: coordVal, y2: coordVal }"></line> \x3c!-- /ko --\x3e <g transform="translate(0, 3)"> \x3c!-- ko foreach: majorGridLines --\x3e <text class="ruler-mark" data-bind="text: text, attr: {x: $parent.defaultGridLinesCoordinate().x, y: coordVal }"></text> \x3c!-- /ko --\x3e </g> \x3c!--<text class="ruler-mark" transform="translate(4, 14)">0</text>--\x3e</svg>',"dxrd-watermark":"\x3c!-- ko if: $data.reportSurface.watermark && $data.reportSurface.watermark.shouldDrawWatermarkImage() --\x3e<div class=\"dxrd-band-content-watermark\" data-bind=\"css: {'dxrd-flip': forLeftMargin }, dxWatermark: { band: band, reportSurface: reportSurface, forLeftMargin: forLeftMargin, image: reportSurface.watermark.imageSource().getDataUrl(), transparency: reportSurface.watermark.imageTransparency(), viewMode: reportSurface.watermark.imageViewMode(), align: reportSurface.watermark.imageAlign(), tiling: reportSurface.watermark.imageTiling() }\"></div>\x3c!-- /ko --\x3e\x3c!-- ko if: $data.reportSurface.watermark && $data.reportSurface.watermark.text() --\x3e<div class=\"dxrd-band-content-watermark\" data-bind=\"css: {'dxrd-flip': forLeftMargin }, dxWatermark: { band: band, reportSurface: reportSurface, forLeftMargin: forLeftMargin, image: reportSurface._watermarkTextRenderingResult(), transparency: reportSurface.watermark.textTransparency(), viewMode: 'Stretch', align: 'MiddleCenter', tiling: false }\"></div>\x3c!-- /ko --\x3e","dxrd-scripts-addon":'\x3c!-- ko if: editorVisible --\x3e <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-back-primary" data-bind="css: { \'dx-rtl\' : $root.rtl, \'dx-ltr\': !$root.rtl }"> <div class="dxrd-toolbar-wrapper"> <div class="dxrd-toolbar" data-bind="template: { name: \'dxrd-toolbar-tmplt\', data: getViewModel().toolbarItems }"></div> </div> <div class="dxrd-scripts-wrapper"> <div class="dxrd-scripts-editor dxd-back-primary2" data-bind="dxAceEditor: { value: scriptsText, editorContainer: editorContainer, options: aceOptions }"> </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-scripting-selectboxaction":'<div class="dxrd-toolbar-item dxrd-toolbar-selectbox"> <div data-bind="dxSelectBox: { items: widget.dataSource, onValueChanged: widget.onValueChanged, value: widget.value, displayExpr: widget.displayExpr, placeholder: widget.placeholder, width: widget.width, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }"></div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: $data.hasSeparator"></div> </div>',"dxrd-scripts":'<div class="dxrd-scripts" data-bind="visible: editorVisible, template: \'dxrd-scripts-addon\'"></div>',"dxrd-context-menu-item":'<div class="dx-context-menu" data-bind="css: {\'dx-context-menu-flex\': !($data.items) }"> \x3c!-- ko if: $data.imageTemplateName --\x3e <div class="dx-context-menu-icon"> \x3c!-- ko template: { name: $data.imageTemplateName } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-context-menu-text" data-bind="text: $data.displayText ? $data.displayText() : $data.text"> </div> \x3c!-- ko if: $data.items --\x3e <div class="dx-context-menu-group-icon"> \x3c!-- ko template: { name: \'dxrd-svg-preview-next_page\' } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-error-panel":'<div class="dxrd-error-panel dxd-text-primary dxd-back-primary2" data-bind="style: _position, css: { \'collapsed\': collapsed }, resizable: _resizableOptions"> <div class="dxrd-width-100 dxrd-height-100" data-bind="style: { display: $data.collapsed() ? \'none\' : \'block\' }"> <div class="dxrd-error-panel-header dxd-border-primary dxd-back-primary2"> <div class="dxrd-error-panel-header-title" data-bind="text: $data.panelTitle"></div> <div class="dxrd-error-panel-header-collapse dx-accordion-item-title" data-bind="click: function() { $data.toggleCollapsed() }"></div> </div> <div class="dxrd-error-panel-content"> <div class="dxrd-error-grid" data-bind="dxDataGrid: _dataGridOptions"> <div data-options="dxTemplate: { name: \'dx-type-button\'}"> <div class="dxd-back-highlighted" data-bind="css: { \'dxd-state-active\': data.pressed }, dxButton: { text: data.text, onClick: data.onClick }"> </div> </div> <div data-options="dxTemplate: { name:\'dxrd-errorType-column\' }"> <div class="dxrd-errorType-column" data-bind="template: { name: $parent.getIconTemplateName($data.value) }, attr: { title: $data.value }"> </div> </div> <div data-options="dxTemplate: { name:\'dxrd-code-column\' }"> \x3c!-- ko if: $data.data.showLink--\x3e <a class="dx-link" target="_blank" rel="noreferer noopener" data-bind="text: $data.data.code, attr: { href: $data.data.link }"></a> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.data.showLink--\x3e <div data-bind="text: $data.value"></div> \x3c!-- /ko --\x3e </div> <div data-options="dxTemplate:{ name:\'dxrd-source-column\' }"> <a class="dx-link" href="javascript:void(0)" data-bind="text: value, click: function() { $parent.navigateToItem($data.value); }"></a> </div> <div data-options="dxTemplate: { name: \'detail\' }"> <div class="dxrd-error-panel-description" data-bind="text: data.description"></div> </div> <div data-options="dxTemplate: { name: \'dxrd-error-source-filter\' }"> <div data-bind="dxTagBox: { maxDisplayedTags: 0, showSelectionControls: true, valueExpr: \'value\', displayExpr: \'displayValue\', value: data.value, dataSource: data.dataSource, useItemTextAsTitle: true, dropDownOptions: { container: data.getContainer($element), minWidth: 200 }, }"></div> </div> <div data-options="dxTemplate: { name: \'dxrd-error-type-filter\' }"> <div data-bind="dxButtonGroup: $data.data"> <div data-options="dxTemplate: { name: \'dxrd-error-type-filter-item\' }"> <div class="dxrd-errorType-column" data-bind="template: { name: $parents[1].getIconTemplateName(icon) } "> </div> <div class="dxrd-errorType-text" data-bind="text: $data.text()"></div> </div> </div> </div> </div> </div></div><div data-bind="style: { display: !$data.collapsed() ? \'none\' : \'block\' }"> <div class="dxrd-error-panel-notification" data-bind="click: function() { $data.toggleCollapsed() }, template: { name: $data.getNotificationTemplate() }, attr: { title: $data.getTitleMessage() }"></div></div></div>',"dxrd-navigation-panel-template":"\x3c!-- ko ifnot: $root.isLoading() && tabs().length === 1--\x3e \x3c!-- ko if: allowMDI --\x3e \x3c!-- ko if: tabs().length > 0 --\x3e \x3c!-- ko template: 'dxrd-navigation-panel-template-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: allowMDI --\x3e \x3c!-- ko if: tabs().length > 1 --\x3e \x3c!-- ko template: 'dxrd-navigation-panel-template-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-navigation-panel-template-content":'<div class="dxrd-navigation-panel-wrapper" data-bind="style: { width: $root.surfaceSize() ? $root.surfaceSize() + \'px\' : \'auto\' }"> <div data-bind="dxTabs: { dataSource: tabs, selectedIndex: selectedIndex, showNavButtons: false, scrollingEnabled: false }"> <div data-options="dxTemplate: { name: \'item\' }"> \x3c!-- ko if: icon --\x3e <div class="dx-icon" data-bind="css: icon, event: { mousedown: function(e) { $parent.removeTab(e); } }"></div> \x3c!-- /ko --\x3e <div class="dx-tab-title-wrapper"> <div class="dx-tab-title" data-bind="text: isDirty() ? displayName() + \'*\' : displayName(), title: displayName, style: { \'font-weight\': isDirty() ? \'bold\' : \'normal\' }"></div> </div> </div> </div> </div>',"dxrd-parameters-dialog":"<div data-bind=\"css: 'dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget ' + popupCss, dxPopup: { wrapperAttr: { class: 'dxrd-reportdialog dxrd-parameters-dialog dx-editors dx-widget ' + popupCss }, showTitle: true, width: width, height: height, title: $root.getLocalization(title), visible: visible, toolbarItems: buttons, showCloseButton: true, container: container($element), position: { of: container($element) }}\"> <div class=\"dxrd-parameters-popup-content\"> \x3c!-- ko template: contentTemplate --\x3e \x3c!-- /ko --\x3e </div> </div>","dxrd-report-parameters-dialogs":"\x3c!-- ko if: $data --\x3e \x3c!-- ko template: { name: 'dxrd-parameters-dialog', data: _addParametersDialog } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: 'dxrd-parameters-dialog', data: _editParametersDialog } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-parameter-edit":'<div class="dxrd-parameter-edit-content"> <div data-bind="dxScrollView: { showScrollbar: \'onHover\', height: 510 }"> <div class="dxrd-parameter-edit-content-grid dxrd-parameters-properties" data-bind="template: { name: \'dx-propertieseditor\', data: _propertiesGrid }"></div> \x3c!-- ko if: _selectedParameterSettings --\x3e <div class="dxrd-parameter-edit-content-grid dxrd-parameters-settings" data-bind="template: { name: \'dx-propertieseditor\', data: _settingsGrid }"></div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-parameters-content":'<div class="dxrd-parameters-content"> <div class="dxrd-parameters-content-list-wrapper"> <div class="dx-collectioneditor-actions-wrapper"> <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButtonWithTemplate: { onClick: addParameter, icon: \'dxrd-svg-actions-add_parameter\', iconClass: \'dx-image-add-parameter\' }, attr: { title: getDisplayTextButton(\'addParameter\') }"></div> <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButtonWithTemplate: { onClick: addGroup, icon: \'dxrd-svg-actions-add_group\', iconClass: \'dx-image-add-group\' }, attr: { title: getDisplayTextButton(\'addGroup\') }"></div> <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButtonWithTemplate: { onClick: addSeparator, icon: \'dxrd-svg-actions-add_separator\', iconClass: \'dx-image-add-separator\' }, attr: { title: getDisplayTextButton(\'addSeparator\') }"></div> <div class="dx-collectioneditor-action-separator"></div> <div class="dx-collectioneditor-action dx-collectioneditor-action-right dx-accessibility-focus-border-accented" data-bind="dxButtonWithTemplate: { onClick: up, disabled: isDisabledButton(\'up\'), icon: \'dxrd-svg-operations-moveup\', iconClass: \'dx-image-moveup\' }, attr: { title: getDisplayTextButton(\'up\') }"></div> <div class="dx-collectioneditor-action dx-collectioneditor-action-right dx-accessibility-focus-border-accented" data-bind="dxButtonWithTemplate: { onClick: down, disabled: isDisabledButton(\'down\'), icon: \'dxrd-svg-operations-movedown\', iconClass: \'dx-image-movedown\' }, attr: { title: getDisplayTextButton(\'down\') }"></div> </div> <div class="dxrd-parameters-content-list dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true, direction: \'both\' }, dxAutoScrolling: { active: $root.dx._static.DragDropHandler.started }"> \x3c!-- ko if: $data.visible --\x3e <div data-bind="treelist: fieldListModel" class="dxrd-width-100 dxrd-height-100"></div> \x3c!-- /ko --\x3e </div> </div> \x3c!-- ko if: $data.contentVisible() && !$data.hasNoEditableProperties() --\x3e \x3c!-- ko template: \'dxrd-parameter-edit\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.contentVisible() --\x3e <div class="dxrd-parameter-edit-content dx-empty"> <div class="dxrd-parameters-content-empty" data-bind="text: contentEmptyAreaPlaceHolder"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.hasNoEditableProperties() --\x3e <div class="dxrd-parameter-edit-content dx-empty"> <div class="dxrd-parameters-content-empty" data-bind="text: contentNoPropertiesPlaceHolder"></div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-parameter-editing-collection-item":'<div class="dxrd-parameter-editing-collection-item" data-bind="text: $data.value().name"></div>',"dxrd-parameters-checkbox":'\x3c!-- ko if: $data.visible --\x3e <div class="dx-field dxrd-parameters-checkbox"> <div class="dx-field-value"> <div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, text: displayName, disabled: disabled })"></div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-parameters-range-grid":'<div class="dx-editor dxrd-parameter-group-editor dxrd-parameters-group-offset" data-bind="visible: visible"> <div class="dx-group"> <div class="dx-editor-header"> <div class="dx-field"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> <div class="dx-group-header-font" data-bind="text: displayName, attr: { \'title\': displayName }"></div> </div> <div class="dx-field-value" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div data-bind="service: { name: \'createEditorAddOn\' }"></div> </div> </div> </div> <div class="dx-editor-content dx-accordion-content"> \x3c!-- ko if: editorCreated && visible --\x3e <div data-bind="template: { name: \'dx-propertieseditor\', data: viewmodel }"></div> \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-multivalue-editing":'\x3c!-- ko if: ko.unwrap($data.value) && ko.unwrap($data.visible) --\x3e <div class="dxrd-editor dxrd-parameter-group-editor"> <div class="dxrd-parameter-values-collectioneditor" data-bind="dxCollectionEditor: { values: value, info: info, level: level, displayName: $root.getLocalization(displayName) , showScroll: true, collapsed: false, alwaysShow: true }"> <div data-bind="template: { name: \'dx-propertieseditor\', data: getProperties({ level: level }) }"></div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-lookUpValues-editing":'<div class="dxrd-editor dxrd-parameter-group-editor dxrd-parameters-group-offset" data-bind="visible: visible"> <div class="dxrd-lookup-values-collectioneditor" data-bind="dxCollectionEditor: { values: value, addHandler: $root.dx._static.LookUpValue.createNew, level: level, displayName: $root.getLocalization(displayName), info: info, collapsed: false, showScroll: true, alwaysShow: true }"> <div data-bind="template: { name: \'dx-propertieseditor\', data: getProperties({ level: level }) }"></div> </div> </div>',"dxrd-report-dialog-template":'<div data-bind="dxPopup: { showTitle: true, width: width, height: height, title: $root.getLocalization(title), visible: visible, disabled: disabled, toolbarItems: buttons, showCloseButton: true, container: container($element), wrapperAttr: { class: \'dxrd-reportdialog dx-editors dx-widget\' }, position: { of: container($element) }}"> \x3c!-- ko template: { name: template, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: disabled --\x3e <div data-bind="dxLoadPanel: { visible:true, container: container($element), position: { of: container($element) } }"></div> \x3c!-- /ko --\x3e </div>',"dxrd-report-dialog-converter-template":'<div data-bind="dxPopup: { showTitle: true, minWidth: 530, height: popupOptions.height, width: \'auto\', title: popupOptions.title, visible: popupOptions.visible, toolbarItems: popupOptions.buttons, showCloseButton: true, wrapperAttr: { class: \'dxrd-reportdialog dxrd-reportdialog-converter dx-editors dx-widget\' }, container: popupOptions.container($element), position: { of: popupOptions.container($element) }}"> <div class="dxrd-reportdialog-converter-content"> <div class="dxrd-image-exlamation-icons" data-bind="template: \'dxrd-svg-wizard-warning\'"></div> <div class="dxrd-reportdialog-content-text"> <div class="dxrd-reportdialog-content-confirm-message" data-bind="text: popupOptions.confirmMessage"></div> \x3c!-- ko if: popupOptions.infoMessage --\x3e <div class="dxrd-reportdialog-content-info-message" data-bind="text: popupOptions.infoMessage"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: popupOptions.linkText --\x3e <a class="dxrd-reportdialog-toggle-link dxd-hyperlink-color dxd-text-accented" data-bind="text: popupOptions.linkText, attr: {href: popupOptions.linkUrl, target: \'_blank\' }"></a> \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-savereport-dialog-content":'<div class="dxrd-reportdialog-content"> <div class="dx-fieldset"> <div class="dx-field dxd-back-primary"> <div data-bind="dxTextBox: { value: $data.reportName, height: 36, placeholder: reportNamePlaceholder(), valueChangeEvent: \'keyup\' }"></div> </div> </div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-reportdialog-urls" data-bind="dxList: { dataSource: urls, selectedItems: [], editEnabled: true, height: 200, editConfig: { selectionEnabled: true }, selectionMode: \'single\', onItemClick: function(e) { this.reportName(e.itemData.Value); }, activeStateEnabled: false, noDataText: $data.noDataText, encodeNoDataText: true, nextButtonText: $root.getLocalization(\'More\', \'ASPxReportsStringId.List_More\') }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: function(e){ $parent.onDblClick(e.Key); } }"> <div data-bind="text: $data.Value"></div> </div> </div> </div> </div>',"dxrd-savereport-dialog-content-light":'<div class="dxrd-reportdialog-easy-content" data-bind="text: saveText"></div>',"dxrd-openreport-dialog-content":'<div class="dxrd-reportdialog-content"> <div class="dx-fieldset"> <div class="dx-field dxd-back-primary"> <div class="dx-property-grid-search-box" data-bind="dxTextBox: { mode: \'search\', height: 36, value: searchValue, valueChangeEvent: \'keyup\', placeholder: searchPlaceholder(), showClearButton: true }"></div> </div> </div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-reportdialog-urls" data-bind="dxList: { dataSource: urls, selectedItems: [], searchExpr: [\'Value\'], searchValue: searchValue, editEnabled: true, height: 200, editConfig: { selectionEnabled: true }, selectionMode: \'single\', onItemClick: function(e) { this.reportUrl(e.itemData.Key); }, activeStateEnabled: false, nextButtonText: $root.getLocalization(\'More\', \'ASPxReportsStringId.List_More\'), noDataText: $data.noDataText, encodeNoDataText: true }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: function(e){ $parent.onDblClick(e.Key); } }"> <div data-bind="text: $data.Value"></div> </div> </div> </div> </div>',"dxrd-menubutton-template":'<div class="dxrd-menubutton-part dxrd-outline-inherit" tabindex="1" data-bind="cacheElement: { action: function(element){ $data.setMenuElement(element) } }"> <div class="dxrd-menu-container dxrd-menu-fullscreen-nav" data-bind="css: { \'dxrd-menu-fullscreen-nav-collapsed\': isMenuCollapsed()}"> <div class="dx-overlay-wrapper dxd-menu-back-color dxd-back-contrast dxrd-z-index-1002" data-bind="styleunit: { width: $data.isMenuCollapsed() ? 50 : 300 }, visible: appMenuVisible"> <div class="dx-overlay-content"> <div class="dxrd-report-menu-title dxd-border-primary"> \x3c!-- ko if: !isMenuCollapsed()--\x3e <div class="dxrd-report-menu-button dxrd-report-menu-close-button" data-bind="template: \'dxrd-svg-toolbar-delete\', dxclick: function(e) { toggleAppMenu() }, dxpointerenter: function(_, e) { e.target.classList && e.target.classList.add(\'dxd-state-active\') }, dxpointerleave: function(_, e) { e.target.classList && e.target.classList.remove(\'dxd-state-active\') }"></div> <div class="dxrd-report-menu-title-text dxd-text-primary" data-bind="text: $root.getLocalization(\'Menu\', \'ASPxReportsStringId.ReportDesigner_Menu_Text\')"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: isMenuCollapsed--\x3e <div class="dxrd-report-menu-button dxd-back-highlighted dxrd-report-menu-back-button" data-bind="template: \'dxrd-svg-menu-back\', dxclick: function(e) { isMenuCollapsed(false); }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- ko foreach: actionLists.menuItems --\x3e <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-icon-highlighted" data-bind="dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { \'dxrd-disabled-button\': disabled, \'dxd-state-active\': $data.selected }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> \x3c!-- ko if: !$root.isMenuCollapsed() --\x3e <div class="dxrd-menu-item-text" data-bind="text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div> </div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-secondary-invariant"> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div class="dxrd-menu-place dxrd-width-54px" ></div> </div> </div>',"dxrd-smart-tag-editor":"\x3c!-- ko if: editorTemplate !== 'dx-commonCollection' --\x3e<div class=\"dx-editor\" data-bind=\"visible: visible\"> <div class=\"dx-field\" data-bind=\"css: { 'dx-field-flex': (templateName === 'dx-boolean'), 'dx-field-block': (templateName !== 'dx-boolean') }\"> \x3c!-- ko if: templateName !== 'dx-boolean'--\x3e <label class=\"dxa-smarttag-editor-displayName\" data-bind=\"text: displayName, attr: { 'title': fullDisplayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }\"></label> \x3c!-- /ko --\x3e <div class=\"dx-field-value\" data-bind=\"css: { 'dxd-border-accented': $data.isPropertyHighlighted }\"> \x3c!-- ko if: templateName !== 'dx-emptyHeader' --\x3e \x3c!-- ko lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: templateName === 'dx-boolean'--\x3e <label class=\"dxa-smarttag-editor-displayName\" data-bind=\"text: displayName, attr: { 'title': fullDisplayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }\"></label> \x3c!-- /ko --\x3e </div> </div>\x3c!-- /ko --\x3e","dxrd-smart-tag":"<div class=\"dxrd-z-index-0 dxrd-position-absolute\" data-bind=\"dxPopover: { width: '216px', height: 'auto', position: { my: 'left center', at: 'right center', boundary: '.dxrd-designer-wrapper', of: '.dxrd-control-smart-tag', collision: 'flip fit', offset: '-10 0' }, container: getPopupContainer($element), hideOnOutsideClick: true, showTitle: false, showCloseButton: false, shading: false, visible: popoverVisible, animation: {} }\"> <div class=\"dxa-tasks-smart-tag-content\" data-bind=\"dxScrollView: { showScrollbar: 'onHover' }\"> <div data-bind=\"css: { 'dx-rtl' : rtl }\"> <div class=\"dx-editors\"> <div class=\"dx-fieldset\"> \x3c!-- ko foreach: getEditors(false) --\x3e \x3c!-- ko if: visible --\x3e \x3c!-- ko template: 'dxrd-smart-tag-editor' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class=\"dxa-smart-tag-separator\" data-bind=\"visible: separatorVisible\"></div> \x3c!-- ko foreach: getEditors(true) --\x3e \x3c!-- ko if: visible --\x3e \x3c!-- ko template: 'dxrd-smart-tag-editor' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> </div></div>","dxrd-smart-tags":"<div class=\"dxrd-control-smart-tags\" data-bind=\"styleunit: { 'left': $data.position.x, 'top': $data.position.y }, style: $root.rtl ? { 'margin-right': margin } : { 'margin-left': margin }, visible: visible\"> \x3c!-- ko foreach: $data.smartTags --\x3e \x3c!-- ko if: visible --\x3e <div class=\"dxrd-control-smart-tag dxd-icon-accented\" data-bind=\"dxButtonWithTemplate: { icon: $data.imageTemplateName, iconClass: $data.imageTemplateName }, event: { dblclick: function(_, event){ event.stopPropagation(); } }, click: function(_, event){ $data.onClick(); event.stopPropagation(); }\"> </div> \x3c!--ko if: $data.templateName --\x3e \x3c!--ko template: $data.templateName --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dxrd-smart-tag-exressions":"\x3c!--ko with: $data.expressionEditor --\x3e \x3c!--ko template: { name: 'dxrd-expressioneditor-popup' } --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e","dxrd-reportRtlProperty":'\x3c!-- ko if: !!$root.surface() --\x3e \x3c!-- ko template: { name: $root.dx._static.editorTemplates.getEditor("combobox").header, data: $root.surface().wrapRtlProperty($data, $root.undoEngine, $element) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-wizard-report-tree":'<div class="dxrd-wizard-report-tree"> <div class="dxrd-wizard-report-tree-title" data-bind="text: $root.getLocalization(\'Select the report\', \'ASPxReportsStringId.ReportDesigner_MasterDetailWizard_SelectReport\')"></div> <div class="dxrd-wizard-report-tree-selectbox" data-bind="dxSelectBox: { dataSource: $data.items, itemTemplate: \'stateItem\', valueExpr: \'path\', displayExpr: \'name\', value: $data.value, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"> <div data-options="dxTemplate:{ name:\'stateItem\' }" class="dxrd-text-align-left"> <div data-bind="text: name, styleunit: {marginLeft: 30 * level}"></div> </div> </div> </div>',"dxrd-toolbar-two-way-switch":"<div class=\"dxrd-toolbar-item dxrd-toolbar-two-way-switch dxd-back-contrast\" data-bind=\"visible: $parent.visible\"> \x3c!-- ko foreach: $data.items --\x3e \x3c!-- ko template: { name: 'dxrd-toolbar-two-way-switch-active', if: $data.active } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: 'dxrd-toolbar-two-way-switch-clickable', if: !$data.active, data: $data.itemData } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dxrd-toolbar-two-way-switch-active":'<div class="dxd-text-primary dxd-back-highlighted dxd-state-active dxd-state-no-hover" data-bind="text: $data.getDisplayText()"></div>',"dxrd-toolbar-two-way-switch-clickable":"<div role=\"button\" class=\"dx-accessibility-toolbar-item dx-accessibility-focus-border-accented\" data-bind=\"visible: $data.visible, attr: { 'aria-label': $data.displayText && $data.displayText() || $data.text, 'aria-disabled': ko.unwrap($data.disabled) ? 'true' : 'false', 'aria-pressed': $data.selected ? ($data.selected() ? 'true' : 'false') : null }\" > <div data-bind=\"text: $data.displayText && $data.displayText() || $data.text, attr: { title: $data.displayText && $data.displayText() || $data.text, class: 'dxd-text-primary dxd-back-highlighted ' + (ko.unwrap($data.imageClassName) || '') }, dxclick: function() { if((typeof $data.disabled === 'function') && !$data.disabled() || !$data.disabled) { $data.clickAction($root.model && $root.model()); } }, css: {'dxrd-disabled-button': $data.disabled }\"></div> </div>","dxrd-context-menu":'<div data-bind="dxContextMenu: $data.contextMenu"></div>',"dxrd-expression-action":'<div data-bind="dxclick: function() { $root.activateExpressionEditor($data); }"> <span class="dxd-text-primary dx-menu-item-text" data-bind="attr: { title: title }, text: title"></span> <div class="dx-menu-item-popout-container" data-bind="visible: $data.items && $data.items.length"> <div class="dx-menu-item-popout"></div> </div> </div>',"dxrd-expression-editor-addon":'<div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxrd-editor-box-image" data-bind="cacheElement: { action: function() { $data.cacheFunction($root.activateExpressionEditor); } }, dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss"> <div class="dxrd-editor-box-image-content" data-bind="template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"></div> </div>',"dxrd-activated-expressioneditor":"\x3c!-- ko if: !!$data --\x3e \x3c!-- ko template: 'dxrd-expressioneditor-popup' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-expressioneditor-popup":"<div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dxrd-expressioneditor-complex dx-popup-general' }, title: title, visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '645px', maxHeight: '95%', width: '862px', maxWidth: '95%', minHeight: '400px', minWidth: '600px', resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onShowing: function(e) { onShowing(e); }, onHiding: function(e) { onHiding(e); }, onShown: function(e) { editor().onShown(e) } }\"> <div class=\"dxrd-expressioneditor-popup-content\"> <div class=\"dxrd-expressioneditor-properties dx-expressioneditor-properties dxd-back-primary2\" data-bind=\"resizable: resizeHelper.resizable($root.resizeHandler, 'e')\"> <div class=\"dxrd-expressioneditor-properties-content-wrapper dxd-border-secondary \" data-bind=\"dxScrollView: { showScrollbar: 'onHover' }\"> \x3c!-- ko foreach: properties --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class=\"dxrd-expressioneditor-property dxd-text-primary dxd-list-item-back-color dxd-back-highlighted dxrd-padding-left-17px\" data-bind=\"css: {'dxd-state-selected': isSelected }, dxclick: function() { $data.click($data.content); }\" > <div class=\"dxrd-expressioneditor-property-text\" data-bind=\"text: displayName, attr: { title: displayName }, css: { 'dxrd-expressioneditor-property-binded': isBinded() }\"></div> <div class=\"dxrd-expression-image dxd-icon-accented\" data-bind=\"template: 'dxrd-svg-properties-propertyexpression', visible: isBinded()\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- ko with: $data.adapter --\x3e \x3c!-- ko if: $data.patchOptions($root.reportExplorerProvider, $root.editableObject && $root.editableObject()) --\x3e <div data-bind=\"dxExpressionEditor: { options: value, fieldListProvider: $root.reportItemsProvider, displayNameProvider: $root.expressionDisplayNameProvider && $root.expressionDisplayNameProvider(), editorTemplateName: 'dx-expressioneditor-main', popupVisible: $data.popupVisible, wrapper: $parent }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>","dx-expressioneditor-report-items":"\x3c!-- ko template: { name: 'dx-expressioneditor-fields', data: $data } --\x3e \x3c!-- /ko --\x3e","dxrd-expressioneditor-property-accordion":'<div class="dx-fieldset dxrd-margin-0" > <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-accordion-header dx-expressioneditor-property-accordion-header dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': $data.isSelected }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-expressioneditor-property-header" data-bind="text: displayName, style: { fontWeight: isBinded() ? \'Bold\' : \'\'}"></span> </div> <div class="dx-accordion-content"> \x3c!-- ko foreach: items--\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class="dxrd-expressioneditor-property dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': isSelected }, dxclick: function() { $data.click($data.content); }"> <div class="dxrd-expressioneditor-property-text" data-bind="text: displayName, attr: { title: displayName }, css: { \'dxrd-expressioneditor-property-binded\': isBinded() }"></div> <div class="dxrd-expression-image dxd-icon-accented" data-bind="template: \'dxrd-svg-properties-propertyexpression\', visible: isBinded()"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-viewStyle":"<div data-bind=\"dxLocalizedSelectBox: { items: viewmodel.items, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }\"></div>","dxrd-reportSourceUrl":"<div data-bind=\"dxSelectBox: { dataSource: $data.getValues($root.reportUrls, $root.navigateByReports.currentTab), onOpened: function() { $data.updateUrls(); }, searchEnabled: true, value: value, disabled: disabled, valueExpr: 'Key', displayExpr: 'Value', dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }\"></div>","dxrd-content-type":"\x3c!-- ko if: value --\x3e \x3c!-- ko with: value --\x3e <div data-bind=\"dxLocalizedSelectBox: { items: $parent.values, value: type, valueExpr: 'value', showClearButton: showClearButton, displayExpr: 'displayValue', displayCustomValue: true, disabled: $parent.disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }\"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-checkbox-style-combobox":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }\"> <div class=\"dxrd-checkbox-style-combobox-item\" data-options=\"dxTemplate: { name: 'item' }\"> <div class=\"dxrd-checkbox-style-combobox-item-icons\" data-bind=\"foreach: ['Unchecked','Checked','Indeterminate']\"> \x3c!-- ko template: $parent.templateBinding('dxrd-svg-checkboxglyphs-' + $parent.value + '_' + $data) --\x3e \x3c!-- /ko --\x3e </div> <span data-bind=\"text: $root.getLocalization(displayValue, localizationId), attr: { title: $root.getLocalization(displayValue, localizationId) }\"></span> </div> </div>","dxrd-datasource":'<div data-bind="dxSelectBox: getEditorOptions($root.dataSourceHelper, $root.undoEngine, $root.getPopupContainer($element))"></div>',"dxrd-bands":"<div data-bind=\"dxSelectBox: { items: generateValue($root.bands), value: value, displayExpr: 'displayName', valueExpr: 'value', displayCustomValue: true, disabled: disabled, placeholder: $root.getLocalization('(none)', 'ChartStringId.WizNoBackImage'), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }\"></div>","dxrd-formattingRuleCollection":'<div class="dxrd-editor dxrd-formatting-rule-collection-editor" data-bind="visible: visible, styleunit: { \'marginLeft\' : padding }"> <div data-bind="dxCollectionEditor: options"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-text-primary"> <div class="dxrd-formatting-rule-checkbox" data-bind="dxCheckBox: { value: value().selected, disabled: editor.disabled }, dxclick: function(_, event) { event.stopPropagation(); }"></div> <div class="dxrd-formatting-rule-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> <div class="dxrd-formatting-rule-displayName"> <div class="propertygrid-editor-displayName" data-bind="text: value().name, attr: { title: value().name }"></div> </div> </div> <div class="dx-accordion-content dxd-back-primary"> <div data-bind="dxPropertyGrid: { target: value, editorsInfo: { editors: $root.dx._static.formattingRuleSerializationsInfo }, level: level + 1, parentDisabled: editor.disabled }"></div> </div> </div> </div> </div>',"dxrd-fields-combobox":"<div data-bind=\"dxSelectBox: { dataSource: wrapValues($root.displayNameProvider), value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }, dxValidator: { validationRules: $data.validationRules || [] }\"></div>","dxrd-style":'<div data-bind="dxSelectBox: new $root.dx._static.StylesEditorHeaderModel(value, $root.styles(), disabled, $root.getPopupContainer($element))"></div>',"dxrd-styleContent":'\x3c!-- ko if: value--\x3e <div data-bind="dxStylesEditor: { styleName: value, styles: $root.styles() }"></div> \x3c!--/ko --\x3e',"dxrd-dataBindings":"","dxrd-dataBinding":'\x3c!-- ko with: value --\x3e \x3c!-- ko if: visible --\x3e \x3c!-- ko displayNameExtender: { dataSource: dataSource, dataMember: displayExpr } --\x3e <div data-bind="dxFieldListPicker: { acceptCustomValue: true, displayValue: $displayName, onValueChanged: onValueChanged, itemsProvider: $root.dataBindingsProvider(), treeListController: $parent.treeListController, value: $data.generateValue($root.undoEngine(), $root.dataSourceHelper(), $root.fieldListDataSources(), $root.dataBindingsProvider()), disabled: $parent.disabled }"></div> \x3c!--/ko --\x3e \x3c!--/ko --\x3e \x3c!--/ko --\x3e',"dxrd-chartValueBinding":'<div data-bind="dxFieldListPicker: { acceptCustomValue: true, onValueChanged: onValueChanged, displayValue: generateDisplayValue($root.reportDataSource), itemsProvider: $root.reportDataBindingsProvider, treeListController: treeListController, value: generateValue($root.undoEngine(), $root.reportParameters, $root.reportDataSource), disabled: disabled }"></div>',"dxrd-reportexplorer-editor":'<div data-bind="dxFieldListPicker: { acceptCustomValue: true, onValueChanged: onValueChanged, value: itemsProvider.selectedPath, displayValue: displayExpr, itemsProvider: itemsProvider, path: itemsProvider.path, disabled: disabled, treeListController: treeListController }"></div>',"dxrd-dataBindingsContent":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div>","dxrd-dataBindingContent":'<div class="dx-field dxd-back-primary"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding"> <div class="propertygrid-editor-displayName" data-bind="text: $root.getLocalization(\'Format String\', \'DevExpress.XtraReports.UI.XRBinding.FormatString\')"></div> </div> <div class="dx-field-value"> \x3c!-- ko if: value() --\x3e \x3c!-- ko with: value() --\x3e \x3c!-- ko template: { name: \'dxrd-formatstring\', data: { value: $data.formatString, disabled: $data.disabled, actions: $parent.actions, customPatterns: $parent.customPatterns } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dxrd-scriptsbox":'<div data-bind="dxEventDropDownEditor: { items: $root.events, value: value, editEnabled: true, disabled: disabled, secondAction: function() { $root.gotoEvent && $root.gotoEvent($data.value(), name, $parents[1]._model && $parents[1]._model()); }, placeholder: $root.dx._static.selectPlaceholder(), noDataText: $root.dx._static.noDataText(), encodeNoDataText: true, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div>',"dxrd-collection-item-group":'<div class="dx-field dxd-back-primary" data-bind="styleunit: { \'marginLeft\' : padding }"> <div class="dx-field-label dxd-text-primary"> <div class="propertygrid-editor-displayName" data-bind="text: $parents[1].info().getChildCaption(index) + \':\'"></div> </div> <div class="dx-field-value"> <div class="dxrd-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: value.changeSortOrder, icon: value.sortOrderClass().template, iconClass: value.sortOrderClass().class, disabled: disabled }"></div> \x3c!-- ko displayNameExtender: { path: function() { return $parents[1]._model() && $parents[1]._model().getPath(\'groupFields\') || \'\' }, dataMember: value.fieldName } --\x3e <div class="dxrd-collectioneditor-picker" data-bind="dxFieldListPicker: { displayValue: $displayName, value: value.fieldName, acceptCustomValue: true, path: $parents[1]._model() && $parents[1]._model().getPath(\'groupFields\') || \'\', itemsProvider: $root.dataBindingsProvider(), treeListController: new $root.dx._static.TreeListController(), disabled: disabled}"></div> \x3c!--/ko --\x3e </div> </div>',"dxrd-lookUpValues":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, addHandler: $root.dx._static.LookUpValue.createNew, undoEngine: $root.undoEngine, level: level, displayName: $root.getLocalization(displayName), info: info }"> <div data-bind="template: { name: \'dx-propertieseditor\', data: getProperties() }"></div> </div> </div>',"dxrd-parameterContent":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div>","dxrd-calculatedFields":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.calculatedFieldsSource().createCalculatedField(\'\'); } }"> </div> </div>',"dxrd-watermarks":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.watermarks().createWatermark(); } }"> </div> </div>',"dxrd-parameters":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info, addHandler: function() { return $root.parameters().add(); }, removeHandler: function(parameter) { return $root.parameters().remove(parameter); }, undoEngine: $root.undoEngine }"> </div> </div>',"dxrd-levelCollection":'<div class="dxrd-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: $root.getLocalization(displayName), level: level, info: info, addHandler: function() { return $root.dx._static.TableOfContentsLevel.createNew(_model()); } }"> </div> </div>',"dxrd-collectionItemWithAccordion":'<div class="dxrd-accordion-collection-item" data-bind="dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }"> <div class="dxrd-group-header dx-accordion-header dxd-text-primary"> <div data-bind="styleunit: {\'paddingLeft\': padding + $root.dx._static.propertiesGridEditorsPaddingLeft }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary dxrd-display-inline-block" data-bind="text: $root.getLocalization(value.name), attr: { title: $root.getLocalization(value.name) }"></div> </div> </div> <div class="dx-accordion-content dxd-back-primary"> <div data-bind="template: { name: \'dx-propertieseditor\', data: getProperties({ level: level + 2 }) }"></div> </div> </div>',"dx-numeric-undo":'<div data-bind="dxNumberBox: getOptions({ value:generateValue($root.undoEngine), showSpinButtons:true, disabled:disabled, min:min, max:max }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-modificators-highlightable":"<div class=\"dx-font-content\"> <div class=\"dx-field\"> <div class=\"dx-field-label dxd-text-primary\" data-bind=\"styleunit: { 'paddingLeft': padding }\"></div> \x3c!-- ko with: value --\x3e <div class=\"dx-field-value\"> <div class=\"dx-font-styles-content\"> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold\" data-bind=\"css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.boldHasExpression }, click: function() { if(!$parent.disabled()) { bold(!bold()); } }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-bold'--\x3e\x3c!-- /ko --\x3e</div> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic\" data-bind=\"css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.italicHasExpression }, click: function() { if(!$parent.disabled()) { italic(!italic()); } }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-italic'--\x3e\x3c!-- /ko --\x3e</div> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline\" data-bind=\"css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.underlineHasExpression }, click: function() { if(!$parent.disabled()) { underline(!underline()); } }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-underline'--\x3e\x3c!-- /ko --\x3e</div> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout\" data-bind=\"css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled, 'dxd-border-accented': $data.strikeoutHasExpression }, click: function() { if(!$parent.disabled()) { strikeout(!strikeout()); } }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-strikeout'--\x3e\x3c!-- /ko --\x3e</div> </div> </div> \x3c!-- /ko --\x3e </div> </div>","dx-objectEditorContentUndo":"\x3c!-- ko if: visible --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: generateValue($root.undoEngine) }\"></div> \x3c!-- /ko --\x3e","dxrd-editOptionsEditorName":'<div data-bind="dxFieldListPicker: $data"></div>',"dxrd-editingField-editor-treelist-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected }"> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected"> <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-text" data-bind="text: text, attr: { title: data.title }"></div> </div> </div> </div> </div>',"dxrd-name":'<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { id: editorInputId } }), dxValidator: { validationRules: generateRules($root.controlsHelper.allControls) || [] }"></div>',"dxrd-reportexpression-ellipsis":'<div class="no-margin-right" data-bind="dxEllipsisEditor: { value: displayValue, buttonAction: function() { $parent.showPopup($root.editableObject && $root.editableObject()); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }"></div>',"dxrd-reportexpression-complex":"\x3c!-- ko if: visible --\x3e <div> \x3c!-- ko template: { name: 'dxrd-reportexpression' }--\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: 'dxrd-expressioneditor-popup', data: $data.wrapper }--\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e","dxrd-reportexpression":'\x3c!-- ko if: visible --\x3e \x3c!-- ko if: $data.patchOptions($root.reportExplorerProvider, $root.editableObject && $root.editableObject()) --\x3e <div data-bind="dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.reportItemsProvider, displayNameProvider: $root.expressionDisplayNameProvider && $root.expressionDisplayNameProvider(), editorTemplateName: $data.editorTemplateName })"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-pivotcriteria":'\x3c!-- ko with: $data.wrapModel($root.fieldListProvider) --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: itemsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: displayNameProvider }"></div> \x3c!-- /ko --\x3e',"dxrd-richtext-loadfile":"<div data-bind=\"dxRichTextFileEditor: { value: value, placeholderId: 'File', disabled: disabled, accept:'.rtf,.docx,.txt,.htm,.html' }\"></div>","dxrd-image-loadfile":"<div data-bind=\"dxImageSourceEditor: { value: value, onValueChanged: onValueChanged, accept: 'image/*', type: 'img', disabled: disabled, inputAttr: { id: editorInputId}, showClearButton: true }\"></div>","dxrd-pdfcontent-loadfile":"<div data-bind=\"dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled, accept:'.pdf', showClearButton: true }\"></div>","dxrd-summaryeditor-header":"\x3c!-- ko template: 'dx-emptyHeader' --\x3e \x3c!-- /ko --\x3e <div data-bind=\"dxPopup: { showTitle: true, width: '550px', height: '400px', wrapperAttr: { class: 'dxrd-summaryeditor-popup' }, title: $root.getLocalization('Summary Editor'), visible: $data.popup.visible, toolbarItems: $data.popup.buttons, showCloseButton: true, container: $data.popup.container($element), position: { of: $data.popup.container($element) }}\"> \x3c!-- ko template: { name: 'dx-propertieseditor', data: $data.popup.grid } --\x3e \x3c!-- /ko --\x3e </div>","dxrd-datasource-combobox":"<div data-bind=\"dxSelectBox: { dataSource: $data.getValues(), searchEnabled: true, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId }, popupPosition: { boundary: $root.getPopupContainer($element) }, useItemTextAsTitle: true }\"> <div data-options=\"dxTemplate: { name: 'item' }\" data-bind=\"text: displayValue, style: { 'fontWeight': $root.isLocalized($data.value) ? 'bold' : 'normal' }, attr: { title: displayValue }\"> </div> </div>","dxrd-localization-combobox":"<div data-bind=\"dxSelectBox: { dataSource: $data.getValues(), searchEnabled: true, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), width: $root.calculateWithZoomFactor(357) }, inputAttr: { id: editorInputId }, popupPosition: { boundary: $root.getPopupContainer($element) }, useItemTextAsTitle: true }\"> <div class=\"dx-localization-combobox-content\" data-options=\"dxTemplate: { name: 'item' }\"> <div class=\"dx-culture dx-culture-code dxd-text-info\" data-bind=\"text: value === 'Default' ? '' : value, style: { 'fontWeight': $root.isLocalized($data.value) ? 'bold' : 'normal' }, attr: { title: value }\"></div> <div class=\"dx-culture\" data-bind=\"text: displayValue, style: { 'fontWeight': $root.isLocalized($data.value) ? 'bold' : 'normal' }, attr: { title: displayValue }\"></div> </div> </div>","dxrd-page-choose-report-type":'<div class="dxrd-wizard-type-page" data-bind="css: $data._extendCssClass(\'type-page\')"> <div class="dxrd-wizard-report-gallery" data-bind="dxList: getListOptions()"></div> </div>',"dxrd-page-crosstab-dataMembers":'<div class="dxrd-wizard-page dxrd-wizard-crosstab-select-dataMembers-page dxrd-wizard-page-treelist-accordion-style"> <div class="dxrd-wizard-list-container"> <div class="dxrd-wizard-list dx-default-border-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'100%\' }"> <div class="dxrd-wizard-field-infos dxrd-wizard-field-infos-title dxd-border-secondary dxd-back-contrast"> <div class="dxrd-wizard-field-infos-title-image" data-bind="template: _icon"></div> <div class="dxrd-wizard-field-infos-title-content dxd-text-primary" data-bind="text: _title"></div> </div> <div data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'auto\' }"> <div data-bind="treelist: _signleFieldMemberFieldListModel" class="dxrd-width-100 dxrd-height-100"></div> </div> </div> </div> </div>',"dxrd-page-crosstab-setlayout":'<div class="dxrd-wizard-page dxrd-wizard-crosstab-setlayout-page" data-bind="trackCursor: underCursor, css: {\'dxrd-wizard-crosstab-droppable-page\': isDroppable}"> <div class="dxrd-wizard-list-container"> <div class="dxrd-wizard-list dx-default-border-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'100%\' }"> <div class="dxrd-wizard-field-infos dxrd-wizard-field-infos-title dxd-border-secondary dxd-back-contrast"> <div class="dxrd-wizard-field-infos-title-image" data-bind="template: _icon"></div> <div class="dxrd-wizard-field-infos-title-content dxd-text-primary" data-bind="text: _title"></div> </div> <div class="dxrd-wizard-field-infos dxrd-wizard-field-infos-paragraf dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _fieldName"></div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _valueName"></div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"></div> </div> <div data-bind="foreach: fieldInfos"> <div class="dxrd-wizard-field-infos dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> <div data-bind="dxSelectBox: { dataSource: $parent._crossTabFields, displayExpr: \'displayName\', value: field, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> <div data-bind="dxSelectBox: value"></div> </div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"> <div data-bind="dxButton: { icon: \'close\', onClick: function () { return $parent._removeInfo($data); }}"></div> </div> </div> </div> </div> </div> </div>',"dxrd-page-colorScheme-content":'<div class="dxrd-page-color-scheme"> \x3c!-- ko foreach: _lookupData.scheme --\x3e <div class="dxrd-page-color-scheme-tile" data-bind="click: function () { $parent._applyScheme($data); }, style: { backgroundColor: color }"> <div class="dxrd-page-color-scheme-tile-content"> <div class="dxrd-page-color-scheme-tile-selected dxd-border-accented" data-bind="visible: $data.selected()"></div> \x3c!-- ko ifnot: $data.name === \'Custom\' --\x3e <div class="dxrd-page-color-scheme-tile-content-title" data-bind="text: displayName"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.name === \'Custom\' --\x3e <div class="dxrd-page-color-scheme-tile-content-custom"> <div class="dxrd-page-color-scheme-tile-content-title" data-bind="text: displayName"></div> <div class="dxrd-page-color-scheme-tile-content-edit" data-bind="css: { \'dxrd-page-color-scheme-tile-content-edit-active\': $data.popoverVisible() }, click: function() { $data.popoverVisible(!$data.popoverVisible()) }"> <div class="dxrd-page-color-scheme-tile-content-edit-icon" data-bind="template:\'dxrd-svg-color_gear\'"></div> </div> </div> <div class="dxrd-page-color-scheme-colorpicker" data-bind="dxPopover: { visible: $data.popoverVisible, width: \'auto\', height: \'auto\', wrapperAttr: { class: \'dxrd-page-color-scheme-colorpicker\' }, container: $root.getPopupContainer($element), target: \'.dxrd-page-color-scheme-tile-content-edit-icon\', position: { my: \'left center\', at: \'right center\', collision: \'fit\', of: \'.dxrd-page-color-scheme-tile-content-edit\', boundary: $root.getPopupContainer($element) } }"> <div class="dxrd-page-color-scheme-colorpicker-editor-container dxd-border-secondary"> <div data-bind="dxColorView: { value: editorColor, editAlphaChannel: true }"></div> </div> <div class="dxrd-page-color-scheme-colorpicker-buttons"> <div class="dxrd-page-color-scheme-colorpicker-button" data-bind="dxButton: { text: \'Cancel\', onClick: function() { $data.resetColor() }}"></div> <div class="dxrd-page-color-scheme-colorpicker-button" data-bind="dxButton: { text: \'Ok\', onClick: function() { $data.applyColor() }}"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-page-colorScheme":"<div class=\"dxrd-wizard-page\"> \x3c!-- ko template: 'dxrd-page-colorScheme-content' --\x3e \x3c!-- /ko --\x3e </div>","dxrd-page-columns":'<div class="dxrd-wizard-page dxrd-wizard-columns-page"> <div class="dxrd-wizard-left-panel"> <div class="dxrd-wizard-list-title" data-bind="text: availableFields.caption"></div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-wizard-list" data-bind="dxList: { items: availableFields.items, selectedItems: availableFields.activeItemArray, height: 257, selectionMode: \'single\', activeStateEnabled: false, onItemClick: availableFieldClick }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent.availableFieldDblClick }"> <div data-bind="text: displayName"></div> </div> </div> </div> </div> <div class="dxrd-wizard-splitter"> <div class="dxrd-wizard-splitter-action dxrd-margin-top-40px" data-bind="dxButtonWithTemplate: { onClick: select, disabled: !isSelectEnable(), icon: \'dxrd-svg-operations-moveright\', iconClass: \'dxrd-image-moveright\' }" ></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: selectAll, disabled: !isSelectEnable(), icon: \'dxrd-svg-operations-moveright_all\', iconClass: \'dxrd-image-moveright-all\' }"></div> <div class="dxrd-wizard-splitter-action dxrd-margin-top-44px" data-bind="dxButtonWithTemplate: { onClick: unselect, disabled: !isUnselectEnable(), icon: \'dxrd-svg-operations-moveleft\', iconClass: \'dxrd-image-moveleft\' }" ></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: unselectAll, disabled: !isUnselectEnable(), icon: \'dxrd-svg-operations-moveleft_all\', iconClass: \'dxrd-image-moveleft-all\' }"></div> </div> <div class="dxrd-wizard-right-panel"> <div class="dxrd-wizard-list-title" data-bind="text: selectedFields.caption"></div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-wizard-list" data-bind="dxList: { items: selectedFields.items, selectedItems: selectedFields.activeItemArray, height: 257, selectionMode: \'single\', activeStateEnabled: false, onItemClick: selectedFieldClick }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent.selectedFieldDblClick }"> <div data-bind="text: displayName"></div> </div> </div> </div> </div></div>',"dxrd-page-customizeLabel":"<div class=\"dxrd-wizard-page\"> <div class=\"dxrd-wizard-customizelabel-page dxd-border-secondary\"> <div class=\"dxrd-wizard-customizelabel-list\"> <div class=\"dxrd-wizard-customizelabel-head-props\"> <div class=\"dxrd-wizard-customizelabel-select-papersize\"> <span data-bind=\"text: $root.getLocalization('Page Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSize'), attr: { title: $root.getLocalization('Page Size:', 'ASPxReportsStringId.ReportDesigner_Wizard_PageSize') }\"></span> <div data-bind=\"dxSelectBox: { items: _labelData.paperKinds, displayExpr: 'name', value: _selectedPaperSize, itemTemplate: 'PaperSizeText', dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true , onOpened: function (e) { e.component._popup.option('width', 300); }}, attr: { title: _selectedPaperSize().name + ' - ' + $root.dx._static.CustomizeLabelPage._getPageSizeText(_selectedPaperSize().width, _selectedPaperSize().height, _selectedPaperSize().unit)}\"> <div data-options=\"dxTemplate: { name: 'PaperSizeText' }\" class=\"dxrd-wizard-customizelabel-select-customtemplate\"> <p class=\"dxrd-wizard-customizelabel-select-template\"> <span data-bind=\"text: name\"></span> <span data-bind=\"text: $root.dx._static.CustomizeLabelPage._getPageSizeText(width, height, unit)\"></span> </p> </div> </div> </div> <div class=\"dxrd-wizard-customizelabel-radiounit\"> <div data-bind=\"dxRadioGroup:{items: _units, valueExpr: 'value', value: unit, layout: 'horizontal' }\"></div> </div> <div class=\"dxrd-wizard-customizelabel-pagesizetext\"><span data-bind=\"text: _pageSizeText\"></span></div> </div> <div class=\"dxrd-wizard-customizelabel-props-container\"> <div class=\"dxrd-wizard-customizelabel-props\"> <div class=\"dxrd-wizard-customizelabel-pagesizetext-inline\"> <span data-bind=\"text: $root.getLocalization('Measure Units', 'DevExpress.XtraReports.UI.XtraReport.ReportUnit') + ':', attr: { title: $root.getLocalization('Measure Units', 'DevExpress.XtraReports.UI.XtraReport.ReportUnit') + ':' }\"></span> <div data-bind=\"dxLocalizedSelectBox: { items: _units, valueExpr: 'value', displayExpr: 'text', value: unit, dropDownOptions: { container: $root.getPopupContainer($element) } }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Label Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth'), attr: { title: $root.getLocalization('Label Width:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelWidth') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: labelWidth }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Label Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight'), attr: { title: $root.getLocalization('Label Height:', 'ASPxReportsStringId.ReportDesigner_Wizard_LabelHeight') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: labelHeight }\"></div> </div> <div class=\"dxrd-wizard-customizelabel-prop-whis-top-margin\"> <span data-bind=\"text: $root.getLocalization('Horizontal Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch'), attr: { title: $root.getLocalization('Horizontal Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_HorizontalPitch') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: horizontalPitch }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Vertical Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch'), attr: { title: $root.getLocalization('Vertical Pitch:', 'ASPxReportsStringId.ReportDesigner_Wizard_VerticalPitch') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: verticalPitch }\"></div> </div> <div class=\"dxrd-wizard-customizelabel-prop-whis-top-margin\"> <span data-bind=\"text: $root.getLocalization('Top Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_TopMargin'), attr: { title: $root.getLocalization('Top Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_TopMargin') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: topMargin }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Left Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin'), attr: { title: $root.getLocalization('Left Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_LeftMargin') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: leftMargin }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Right Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_RightMargin'), attr: { title: $root.getLocalization('Right Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_RightMargin') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: rightMargin }\"></div> </div> <div> <span data-bind=\"text: $root.getLocalization('Bottom Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin'), attr: { title: $root.getLocalization('Bottom Margin:', 'ASPxReportsStringId.ReportDesigner_Wizard_BottomMargin') }\"></span> <div data-bind=\"dxNumberBox: { min: 0.0, max: 999.9, showSpinButtons: true, step: _stepUnit, value: bottomMargin }\"></div> </div> </div> <div class=\"dxrd-wizard-customizelabel-pic dxd-border-secondary\"> <div class=\"dxrd-wizard-customizelabel-pic-element\"></div> </div> <div class=\"dxrd-wizard-customizelabel-labelscounttext\"><span data-bind=\"text: _labelsCountText\"></span></div> </div> </div> </div></div>","dxrd-page-dataMember":'<div class="dxrd-wizard-page"> <div class="dxrd-wizard-dataMember dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: scrollViewHeight }"> <div data-bind="treelist: fieldListModel" class="dxrd-width-100 dxrd-height-100"></div> </div></div>',"dxrd-page-groups":'<div class="dxrd-wizard-page dxrd-wizard-groups-page"> <div class="dxrd-wizard-left-panel"> <div class="dxrd-wizard-list-title" data-bind="text: fields.caption"></div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-wizard-list" data-bind="dxList: { dataSource: fields.items, selectedItems: fields.activeItemArray, height: 257, selectionMode: \'single\', activeStateEnabled: false, onItemClick: fieldClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent.fieldDblClick }"> <div data-bind="text: $data"></div> </div> </div> </div> </div> <div class="dxrd-wizard-splitter"> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: addNewGroup, disabled: !isCreateGroupEnabled(), icon: \'dxrd-svg-operations-moveright\', iconClass: \'dxrd-image-moveright\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: appendFieldsToGroup, disabled: !isAppendToGroupEnabled(), icon: \'dxrd-svg-operations-add\', iconClass: \'dxrd-image-add\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: removeGroup, disabled: !isRemoveGroupEnabled(), icon: \'dxrd-svg-operations-moveleft\', iconClass: \'dxrd-image-moveleft\' }"></div> <div class="dxrd-wizard-splitter-action dxrd-margin-top-95px" data-bind="dxButtonWithTemplate: { onClick: moveUp, disabled: !isMoveUpEnabled(), icon: \'dxrd-svg-operations-moveup\', iconClass: \'dxrd-image-moveup\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: moveDown, disabled: !isMoveDownEnabled(), icon: \'dxrd-svg-operations-movedown\', iconClass: \'dxrd-image-movedown\' }"></div> </div> <div class="dxrd-wizard-right-panel"> <div class="dxrd-wizard-list-title" data-bind="text: groups.caption"></div> <div class="dx-default-border-style dxd-border-secondary"> <div class="dxrd-wizard-list" data-bind="dxList: { items: groups.items, height: 257, selectionMode: \'single\', selectedItems: groups.activeItemArray, activeStateEnabled: false, onItemClick: groupClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent.groupDblClick }"> <div data-bind="text: fields().join(\', \')"></div> </div> </div> </div> </div></div>',"dxrd-page-masterdetail-groups-section":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-groups-page dxd-border-secondary"> <div class="dxrd-wizard-masterdetail-groups-page-section-content" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'100%\' }"> <div class="dx-fieldset" data-bind="foreach: _groupInfos"> <div class="dx-field dxd-back-primary"> <div class="dx-field-label" data-bind="text: displayName, attr: { \'title\': displayName}"></div> </div> \x3c!-- ko foreach: groups --\x3e <div class="dxrd-wizard-groups-item dx-field"> <div class="dxrd-wizard-groups-actions"> <div class="dxd-back-highlighted" data-bind="css: { \'dxrd-disabled-button\': $parent.moveUpDisabled($index()) }, click: function(){ $parent.moveup($index()) }"> \x3c!-- ko template: \'dxrd-svg-operations-moveup\'--\x3e\x3c!-- /ko --\x3e </div> <div class="dxd-back-highlighted" data-bind="css: { \'dxrd-disabled-button\': $parent.moveDownDisabled($index()) }, click: function(){ $parent.movedown($index()) }"> \x3c!-- ko template: \'dxrd-svg-operations-movedown\'--\x3e\x3c!-- /ko --\x3e </div> <div class="dxd-back-highlighted" data-bind="click: function(){ $parent.remove($index()) }"> \x3c!-- ko template: \'dxrd-svg-operations-recycle_bin\'--\x3e\x3c!-- /ko --\x3e </div> </div> <div class="dxrd-wizard-groups-choozer"> \x3c!-- ko template: { name: "dxrd-multivalue", data: $data } --\x3e \x3c!--/ko--\x3e </div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: isCreateGroupEnabled() --\x3e <div class="dxrd-wizard-groups-item dx-field"> <div class="dx-field-label dxd-text-primary dxrd-width-auto" > <div class="dxrd-wizard-groups-addgroup dxd-hyperlink-color dxd-border-accented dxd-text-accented" data-bind="text: $data.addGroupText(), attr: { \'title\': $data.addGroupText() }, click: function() { $data.add() }"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> </div>',"dxrd-page-masterdetail-groups":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-groups-page"> <div class="dxrd-wizard-masterdetail-groups-page-title"> \x3c!-- ko template: { name: \'dxrd-wizard-report-tree\', data: { items: $data._reportTree, value: $data._currentPath } }--\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-wizard-masterdetail-groups-page-content"> <div class="dxrd-wizard-left-panel"> <div class="dxrd-wizard-list-title" data-bind="text: _fieldCaption"></div> <div class="dx-default-border-style dxd-border-secondary dxrd-wizard-panel-content"> \x3c!-- ko if: $data._currentFields() --\x3e <div class="dxrd-wizard-list" data-bind="dxList: { items: _currentFields().items, selectedItems: _currentFields().activeItemArray, height: \'100%\', selectionMode: \'single\', activeStateEnabled: false, onItemClick: _fieldClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent._fieldDblClick }"> <div data-bind="text: $data"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> <div class="dxrd-wizard-splitter"> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: _addNewGroup, disabled: !_isCreateGroupEnabled(), icon: \'dxrd-svg-operations-moveright\', iconClass: \'dxrd-image-moveright\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: _appendFieldsToGroup, disabled: !_isAppendToGroupEnabled(), icon: \'dxrd-svg-operations-add\', iconClass: \'dxrd-image-add\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: _removeGroup, disabled: !_isRemoveGroupEnabled(), icon: \'dxrd-svg-operations-moveleft\', iconClass: \'dxrd-image-moveleft\' }"></div> <div class="dxrd-wizard-splitter-action dxrd-margin-top-83px" data-bind="dxButtonWithTemplate: { onClick: _moveUp, disabled: !_isMoveUpEnabled(), icon: \'dxrd-svg-operations-moveup\', iconClass: \'dxrd-image-moveup\' }"></div> <div class="dxrd-wizard-splitter-action" data-bind="dxButtonWithTemplate: { onClick: _moveDown, disabled: !_isMoveDownEnabled(), icon: \'dxrd-svg-operations-movedown\', iconClass: \'dxrd-image-movedown\' }"></div> </div> <div class="dxrd-wizard-right-panel"> <div class="dxrd-wizard-list-title" data-bind="text: _groupCaption"></div> <div class="dx-default-border-style dxd-border-secondary dxrd-wizard-panel-content"> \x3c!-- ko if: $data._currentGroups() --\x3e <div class="dxrd-wizard-list" data-bind="dxList: { items: _currentGroups().items, height: \'100%\', selectionMode: \'single\', selectedItems: _currentGroups().activeItemArray, activeStateEnabled: false, onItemClick: _groupClick, noDataText: $root.dx._static.noDataText(), encodeNoDataText: true }"> <div data-options="dxTemplate : { name: \'item\' }" data-bind="event: { dblclick: $parent._groupDblClick }"> <div data-bind="text: fields().join(\', \')"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> </div></div>',"dxrd-page-masterdetail-select-reportdata":"<div class=\"dxrd-wizard-page dxrd-wizard-masterdetail-select-reportdata-page\"> \x3c!-- ko template: {name: 'dxrd-page-masterdetail-select-reportdata-dataMembers', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: {name: 'dxrd-page-masterdetail-select-reportdata-fieldMembers', data: $data } --\x3e \x3c!-- /ko --\x3e </div>","dxrd-page-masterdetail-select-reportdata-dataMembers":'<div class="dxrd-wizard-reportdata-column dx-first-column"> <div class="dxrd-wizard-reportdata-title" data-bind="text: _selectDataMembersCaption"></div> <div class="dxrd-wizard-add-queries-page dxrd-wizard-masterdetail-dataMember dxrd-wizard-page-treelist-accordion-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'auto\' }"> <div data-bind="treelist: _dataMemberFieldListModel" class="dxrd-width-100 dxrd-height-100"></div> </div> </div>',"dxrd-page-masterdetail-select-reportdata-fieldMembers":'<div class="dxrd-wizard-reportdata-column"> <div class="dxrd-wizard-reportdata-title" data-bind="text: _selectDataFieldsCaption"></div> <div class="dxrd-wizard-add-queries-page dxrd-wizard-masterdetail-fields dxrd-wizard-page-treelist-accordion-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'auto\' }"> <div data-bind="treelist: _fieldMemberFieldListModel" class="dxrd-width-100 dxrd-height-100"></div> </div> </div>',"dxrd-page-masterdetail-select-dataMembers":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-select-reportdata-page"> \x3c!-- ko template: { name: "dxrd-page-masterdetail-select-reportdata-dataMembers", data: $data }--\x3e \x3c!-- /ko --\x3e </div>',"dxrd-page-masterdetail-select-fieldMembers":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-select-reportdata-page"> \x3c!-- ko template: { name: "dxrd-page-masterdetail-select-reportdata-fieldMembers", data: $data }--\x3e \x3c!-- /ko --\x3e </div>',"dxrd-page-masterdetail-summary-section":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-summary-options-page"> <div class="dxrd-wizard-masterdetail-summary-options-content"> <div class="dxrd-wizard-list-container"> <div class="dxrd-wizard-list dx-default-border-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'100%\' }"> <div class="dxrd-wizard-field-infos dxrd-wizard-field-infos-paragraf dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _fieldsCaption, attr:{\'title\': _fieldsCaption }"></div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _summaryFunctionCaption, attr:{\'title\': _summaryFunctionCaption }"></div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"></div> </div> <div data-bind="foreach: _summaryInfos"> <div class="dxrd-wizard-field-infos dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> <div data-bind="dxFieldListPicker: { itemsProvider: $parent._fieldListProvider, acceptCustomValue: false, onValueChanged: onValueChanged, value: selectedPath, displayValue: displayName, placeholder: $root.dx._static.selectPlaceholder() }"> </div> </div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> \x3c!-- ko template: { name: "dxrd-multivalue", data: $data } --\x3e \x3c!--/ko--\x3e </div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"> <div data-bind="dxButton: { icon: \'close\', onClick: function () { return $parent._removeSummaryInfo($data); }}"></div> </div> </div> </div> </div> </div> </div> <div class="dxrd-wizard-ignore-null-values" data-bind="dxCheckBox: { value: ignoreNullValues, text: _ignoreNullValuesCaption }"></div> </div>',"dxrd-page-masterdetail-summary":'<div class="dxrd-wizard-page dxrd-wizard-masterdetail-summary-options-page"> <div class="dxrd-wizard-masterdetail-summary-options-title"> \x3c!-- ko template: { name: \'dxrd-wizard-report-tree\', data: { items: $data._reportTree, value: $data._currentPath } }--\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-wizard-masterdetail-summary-options-content"> <div class="dxrd-wizard-list-title" data-bind="text: _selectFieldToSummaryCaption"></div> <div class="dxrd-wizard-list-container"> <div class="dxrd-wizard-list dx-default-border-style dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', height: \'100%\' }"> <div class="dxrd-wizard-field-infos dxrd-wizard-field-infos-paragraf dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _fieldsCaption"></div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary" data-bind="text: _summaryFunctionCaption"></div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"></div> </div> <div data-bind="foreach: _summaryInfos"> <div class="dxrd-wizard-field-infos dxd-border-secondary"> <div class="dxrd-wizard-field-infos-fields dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> <div data-bind="dxSelectBox: { dataSource: $parent._displayedFields[$parent._currentPath()], itemTemplate: \'visibleItems\', displayExpr: \'displayName\', value: field, placeholder: $root.dx._static.selectPlaceholder(), dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"> <div data-options="dxTemplate:{ name:\'visibleItems\' }" class="dxrd-text-align-left"> \x3c!-- ko if: visible--\x3e <div data-bind="text: name"></div> \x3c!--/ko--\x3e </div> </div> </div> <div class="dxrd-wizard-field-infos-values dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> \x3c!-- ko template: { name: "dxrd-multivalue", data: $data } --\x3e \x3c!--/ko--\x3e </div> <div class="dxrd-wizard-field-infos-removebtn dxd-wizard-title-back-color dxd-back-secondary"> <div data-bind="dxButton: { icon: \'close\', onClick: function () { return $parent._removeSummaryInfo($data); }}"></div> </div> </div> </div> </div> </div> </div> <div class="dxrd-wizard-ignore-null-values" data-bind="dxCheckBox: { value: ignoreNullValues, text: _ignoreNullValuesCaption }"></div></div>',"dxrd-page-pageSetup":"<div class=\"dxrd-wizard-page dxrd-page-setup-page\"> \x3c!-- ko template: { name: 'dxrd-page-setup-page-preview', data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: 'dxrd-page-setup-page-settings', data: $data }--\x3e \x3c!-- /ko --\x3e </div>","dxrd-page-setup-page-preview":'<div class="dxrd-wizard-preview dxd-back-secondary"> \x3c!-- ko with: $data.previewPageHelper --\x3e <div class="dxrd-width-100 dxrd-height-100 dxrd-position-relative" data-bind="cacheElement: { action: function(element) { $data.cachePagePreviewElement(element); } }"> <div class="dxrd-wizard-preview-page" data-bind="styleunit: { width: $data.previewPageWidth(), height: $data.previewPageHeight() }"> <div class="dxrd-wizard-preview-margin-top" data-bind="styleunit: { top: $data.previewTopMargin() }"></div> <div class="dxrd-wizard-preview-margin-right" data-bind="styleunit: { right: $data.previewRightMargin() }"></div> <div class="dxrd-wizard-preview-margin-bottom" data-bind="styleunit: { bottom: $data.previewBottomMargin() }"></div> <div class="dxrd-wizard-preview-margin-left" data-bind="styleunit: { left: $data.previewLeftMargin() }"></div> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-page-setup-groups":'<div class="dxrd-page-setup-group"> <div class="dxrd-page-setup-group-caption dxd-back-primary" data-bind="text: $root.getLocalization(\'Paper\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Paper\')"></div> <div class="dx-fieldset dxrd-page-setup-long-group"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Size:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size\'), attr: { \'title\': $root.getLocalization(\'Size:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Size\') }"></div> <div class="dx-field-value" data-bind="dxSelectBox: { items: lookupData.paperKind, valueExpr: \'value\', displayExpr: \'displayName\', value: paperKind, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div> </div> <div class="dxrd-page-setup-setting"> <div class="dx-fieldset dxrd-group-fieldset dxrd-page-setup-short-group"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Unit:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit\'), attr: { \'title\': $root.getLocalization(\'Unit:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Unit\') }"></div> <div class="dx-field-value" data-bind="dxSelectBox: { items: lookupData.unit, valueExpr: \'value\', displayExpr: \'displayName\', value: unit, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div> <div class="dx-field dxrd-page-setup-pagemode-compact"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Orientation:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation\'), attr: { \'title\': $root.getLocalization(\'Orientation:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_Orientation\') }"></div> <div class="dx-field-value" data-bind="dxLocalizedSelectBox: { items: [ { value: true, displayName: \'Landscape\', localizationId: \'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Landscape\'}, { value: false, displayName: \'Portrait\', localizationId:\'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_Portrait\' }], valueExpr: \'value\', displayExpr: \'displayName\', value: $data.landscape, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> </div> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Width:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Width\'), attr: { \'title\': $root.getLocalization(\'Width:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Width\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: width, disabled: fixedSize, format: valueFormat, min: 0 }"></div> </div> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Height:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Height\'), attr: { \'title\': $root.getLocalization(\'Height:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Height\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: height, disabled: fixedSize, format: valueFormat, min: 0 }"></div> </div> </div> <div class="dxrd-group-fieldset dxrd-page-setup-pagemode"> <div class="dxrd-page-setup-landscape-item dxd-back-primary dxd-state-normal dxd-back-highlighted dxrd-margin-left-0px" data-bind="css: { \'dxd-state-no-hover dxd-state-active\': !$data.landscape() }, click: function() { $data.landscape(false); }"> <div class="dxrd-page-setup-landscape-item-icon" data-bind="template:\'dxrd-svg-portrait\'"></div> </div> <div class="dxrd-page-setup-landscape-item dxd-back-primary dxd-state-normal dxd-back-highlighted" data-bind="css: { \'dxd-state-no-hover dxd-state-active\': $data.landscape() }, click: function() { $data.landscape(true); }"> <div class="dxrd-page-setup-landscape-item-icon" data-bind="template:\'dxrd-svg-landscape\'"></div> </div> </div> </div> </div> <div class="dxrd-page-setup-group dxrd-margin-top-16px" > <div class="dxrd-page-setup-group-caption dxd-back-primary" data-bind="text: $root.getLocalization(\'Page Margins\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_PageMargins\')"></div> <div class="dxrd-page-setup-setting dxrd-page-setup-setting-page-margins"> <div class="dx-fieldset dxrd-group-fieldset dxrd-group-fieldset-left"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Left:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin\'), attr: { \'title\': $root.getLocalization(\'Left:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_LeftMargin\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: marginLeft, format: valueFormat, min: 0, max: width() - marginRight() }"></div> </div> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Top:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin\'), attr: { \'title\': $root.getLocalization(\'Top:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_TopMargin\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: marginTop, format: valueFormat, min: 0, max: height() - marginBottom() }"></div> </div> </div> <div class="dx-fieldset dxrd-group-fieldset dxrd-group-fieldset-right"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Right:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin\'), attr: { \'title\': $root.getLocalization(\'Right:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_RightMargin\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: marginRight, format: valueFormat, min: 0, max: width() - marginLeft() }"></div> </div> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="text: $root.getLocalization(\'Bottom:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin\'), attr: { \'title\': $root.getLocalization(\'Bottom:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PageSetup_BottomMargin\') }"></div> <div class="dx-field-value" data-bind="dxNumberBox: { value: marginBottom, format: valueFormat, min: 0, max: height() - marginTop() }"></div> </div> </div> </div> </div>',"dxrd-page-setup-page-settings":"<div class=\"dxrd-page-setup-content\"> \x3c!-- ko template: { name: 'dxrd-page-setup-groups', data: $data }--\x3e \x3c!-- /ko --\x3e </div>","dxrd-page-pageSetupAndColorScheme":'<div class="dxrd-wizard-page dxrd-page-setup-page"> <div class="dxrd-page-setup-content"> \x3c!-- ko template: { name: \'dxrd-page-setup-groups\', data: $data._configureReportPageSettingsPage }--\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data._colorSchemePageVisible --\x3e <div class="dxrd-page-setup-group dxrd-page-color-setup-group"> <div class="dxrd-page-setup-group-caption dxd-back-primary" data-bind="text: $root.getLocalization(\'Color Scheme\', \'ASPxReportsStringId.ReportDesigner_Wizard_ColorScheme\')"></div> <div class="dxrd-page-setup-setting"> \x3c!-- ko template: { name: \'dxrd-page-colorScheme-content\', data: $data._colorSchemePage } --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-page-pageSetup-settings":'<div class="dxrd-wizard-page dxrd-page-setup-page"> \x3c!-- ko template: { name: "dxrd-page-setup-page-settings", data: $data }--\x3e \x3c!-- /ko --\x3e </div>',"dxrd-page-pageSetup-preview":'<div class="dxrd-wizard-page dxrd-page-setup-page"> \x3c!-- ko template: { name: "dxrd-page-setup-page-colored-preview", data: $data }--\x3e \x3c!-- /ko --\x3e </div>',"dxrd-page-setup-page-colored-preview":'<div class="dxrd-wizard-preview dxd-back-secondary"> \x3c!-- ko if: $data._reportTitleVisible --\x3e <div class="dxrd-wizard-preview-reporttitle" data-bind="dxTextBox: { value: reportTitle, placeholder: _reportTitlePlaceholder() }, styleunit: { width: $data._previewPageHelper.previewPageWidth() }"></div> \x3c!-- /ko --\x3e <div class="dxrd-wizard-preview-pagecontainer" data-bind="cacheElement: { action: function(element) { $data._previewPageHelper.cachePagePreviewElement(element); } }"> <div class="dxrd-wizard-preview-page" data-bind="styleunit: { width: $data._previewPageHelper.previewPageWidth(), height: $data._previewPageHelper.previewPageHeight() }"> <div class="dxrd-wizard-preview-margin-top" data-bind="styleunit: { top: $data._previewPageHelper.previewTopMargin() }"></div> <div class="dxrd-wizard-preview-margin-right" data-bind="styleunit: { right: $data._previewPageHelper.previewRightMargin() }"></div> <div class="dxrd-wizard-preview-margin-bottom" data-bind="styleunit: { bottom: $data._previewPageHelper.previewBottomMargin() }"></div> <div class="dxrd-wizard-preview-margin-left" data-bind="styleunit: { left: $data._previewPageHelper.previewLeftMargin() }"></div> <div data-bind="styleunit: { top: $data._previewPageHelper.previewTopMargin(), right: $data._previewPageHelper.previewRightMargin(), bottom: $data._previewPageHelper.previewBottomMargin(), left: $data._previewPageHelper.previewLeftMargin() }"> <div class="dxrd-wizard-rows-container"> \x3c!-- ko foreach: _masterDetailInfo --\x3e <div class="dxrd-wizard-preview-row"> \x3c!-- ko foreach: fields --\x3e <div class="dxrd-wizard-preview-column" data-bind="style: { backgroundColor: $parents[1]._color, width: 100/$parent.fields.length + \'%\', color: $parents[1]._foreColor }, text: displayName"></div> \x3c!-- /ko --\x3e </div> <div class="dxrd-wizard-preview-row"> \x3c!-- ko foreach: fields --\x3e <div class="dxrd-wizard-preview-column" data-bind="style: { width: 100/$parent.fields.length + \'%\' }, text: \'[\' + name + \']\'"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div> </div> </div> </div>',"dxrd-page-reportLayoutType":'<div class="dxrd-wizard-page dxrd-report-layout-type-page"> <div class="dxrd-text-align-center"> <div class="dxrd-report-layout-type-items" data-bind="css: { \'dxrd-report-layout-type-five-items\': layoutTypeItems()[0].margin == 1 }"> <div> <div data-bind="dxRadioGroup: { value: selectedPageOrientation, items: pageOrientationItems, layout: \'horizontal\' }"> <div data-options="dxTemplate : { name: \'text\' }"> <div data-bind="text: $data"></div> </div> </div> </div> \x3c!-- ko foreach: layoutTypeItems --\x3e <div class="dx-background-inheritor dxd-back-highlighted dxd-state-selected"> <div class="dxrd-report-layout-type-item dx-fontsize-reestablished dxd-list-item-back-color" data-bind="event: { click: $parent.layoutTypeItemClick }, css: { \'dxd-state-selected dxd-border-secondary dxd-back-secondary\': $parent.isSelected($data) }, style: { margin: \'0 \' + margin + \'px\' }"> <div data-bind="attr: { class: imageClassName }"></div> <div data-bind="text: text" class="dxrd-report-layout-type-text"></div> </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-clear-both"></div> <div data-bind="dxCheckBox: { value: fitFieldsToPage, text: $root.getLocalization(\'Adjust the field width so all fields fit onto a page\', \'ASPxReportsStringId.ReportDesigner_Wizard_ReportLayout_AdjustFieldWidth\') }"></div> </div> </div></div>',"dxrd-page-reportStyle":'<div class="dxrd-wizard-page dxrd-wizard-report-style-page"> <div class="dxrd-wizard-report-style-image-container"> <div data-bind="attr: { class: selectedReportStyle().className }"> <div class="title dxrd-margin-bottom-18px" data-bind="text: $root.getLocalization(\'Title\', \'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Title\')"></div> <div class="caption dxrd-margin-bottom-4px" data-bind="text: $root.getLocalization(\'Caption\', \'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Caption\')"></div> <div class="data" data-bind="text: $root.getLocalization(\'Data\', \'ASPxReportsStringId.ReportDesigner_Wizard_ReportStyle_Data\')"></div> </div> </div> <div class="dxrd-wizard-report-style-items" data-bind="dxRadioGroup: { value: selectedReportStyle, items: reportStyleItems }"> <div data-options="dxTemplate : { name: \'item\' }"> <div data-bind="text: text"></div> </div> </div></div>',"dxrd-page-reportTitle":'<div class="dxrd-width-272px dxrd-position-relative dxrd-top-38 dxrd-margin-0-auto"> <div class="dxrd-margin-bottom-5px" data-bind="text: $root.getLocalization(\'Specify the report\\\'s title\', \'ASPxReportsStringId.ReportDesigner_Wizard_SpecifyReportTitle\')"></div> <div data-bind="dxTextBox: { value: reportTitle, width: 270 }"></div></div>',"dxrd-page-selectPredefinedLabels":'<div class="dxrd-wizard-page"> <div class="dxrd-wizard-selectlabelproduct-page dxd-border-secondary"> <div class="dxrd-wizard-selectlabelproduct-list"> <div class="dxrd-wizard-selectlabelproduct-list-label" data-bind="text: $root.getLocalization(\'Label Product:\', \'ASPxReportsStringId.ReportDesigner_Wizard_LabelProduct\')"></div> <div data-bind="dxSelectBox: { items: _labelData.labelProducts, displayExpr: \'name\', value: _selectedLabelProduct, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> <div class="dxrd-wizard-selectlabelproduct-list-label" data-bind="text: $root.getLocalization(\'Product Number:\', \'ASPxReportsStringId.ReportDesigner_Wizard_ProductNumber\')"></div> <div data-bind="dxSelectBox: { dataSource: _labelDetails, displayExpr: \'name\', value: _selectedLabelDetails, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div> <div class="dxrd-wizard-selectproduct-props"> <div> <span data-bind="text: $root.getLocalization(\'Width:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Width\')"></span> <span data-bind="text: _width"></span> </div> <div> <span data-bind="text: $root.getLocalization(\'Height:\', \'ASPxReportsStringId.ReportDesigner_Wizard_Height\')"></span> <span data-bind="text: _height"></span> </div> <div> <span data-bind="text: $root.getLocalization(\'Paper Type:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PaperType\')"></span> <span data-bind="text: _paperType"></span> </div> <div> <span data-bind="text: $root.getLocalization(\'Paper Size:\', \'ASPxReportsStringId.ReportDesigner_Wizard_PaperSize\')"></span> <span data-bind="text: _pageSizeText"></span> </div> </div> </div></div>',"dxrd-page-summaryOptions":'<div class="dxrd-wizard-summary-options-page"> <div class="dxrd-wizard-summary-options-titles dxrd-wizard-dataMember dxd-wizard-title-back-color dxd-back-secondary dxd-border-secondary"> <div data-bind="text: $root.getLocalization(\'Average\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Average\')"></div> <div data-bind="text: $root.getLocalization(\'Count\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Count\')"></div> <div data-bind="text: $root.getLocalization(\'Max\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Max\')"></div> <div data-bind="text: $root.getLocalization(\'Min\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Min\')"></div> <div data-bind="text: $root.getLocalization(\'Sum\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_Sum\')"></div> </div> <div class="dxrd-wizard-summary-content dxrd-wizard-dataMember dxd-border-secondary" data-bind="dxScrollView: { }"> <div class="dxrd-wizard-summary-columns dxd-border-secondary"> \x3c!-- ko foreach: summaryOptions --\x3e <div class="dxrd-wizard-summary-column-name" data-bind="text: columnName, attr: { title: columnName }"></div> \x3c!-- /ko --\x3e </div> <div class="dxrd-wizard-summary-options"> \x3c!-- ko foreach: summaryOptions --\x3e <div class="dxrd-wizard-summary-options-values"> <div data-bind="dxCheckBox: { value: avg }"></div> <div data-bind="dxCheckBox: { value: count }"></div> <div data-bind="dxCheckBox: { value: max }"></div> <div data-bind="dxCheckBox: { value: min }"></div> <div data-bind="dxCheckBox: { value: sum }"></div> </div> \x3c!-- /ko --\x3e </div> </div> <div class="dxrd-wizard-ignore-null-values" data-bind="dxCheckBox: { value: ignoreNullValues, text: $root.getLocalization(\'Ignore null values\', \'ASPxReportsStringId.ReportDesigner_Wizard_SummaryOptions_IgnoreNullValues\') }"></div></div>'});const lk=[{propertyName:"ActualValue",editor:jp.getEditor("dataBinding"),displayName:"Actual Value",localizationId:"DevExpress.XtraReports.UI.XRGauge.ActualValue"},{propertyName:"Bookmark",editor:jp.getEditor("dataBinding"),displayName:"Bookmark",localizationId:"DevExpress.XtraReports.UI.XRControl.Bookmark"},{propertyName:"CheckBoxState",editor:jp.getEditor("dataBinding"),displayName:"Check Box State",localizationId:"DevExpress.XtraReports.UI.XRCheckBox.CheckBoxState"},{propertyName:"Html",editor:jp.getEditor("dataBinding"),displayName:"HTML",localizationId:"ASPxReportsStringId.ExportName_html"},{propertyName:"Image",editor:jp.getEditor("dataBinding"),displayName:"Image",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.Image"},{propertyName:"ImageSource",editor:jp.getEditor("dataBinding"),displayName:"Image Source",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageSource"},{propertyName:"ImageUrl",editor:jp.getEditor("dataBinding"),displayName:"Image URL",localizationId:"DevExpress.XtraReports.UI.XRPictureBox.ImageUrl"},{propertyName:"Maximum",editor:jp.getEditor("dataBinding"),displayName:"Maximum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Maximum"},{propertyName:"Minimum",editor:jp.getEditor("dataBinding"),displayName:"Minimum",localizationId:"DevExpress.XtraReports.UI.XRGauge.Minimum"},{propertyName:"NavigateUrl",editor:jp.getEditor("dataBinding"),displayName:"Navigation URL",localizationId:"DevExpress.XtraReports.UI.XRControl.NavigateUrl"},{propertyName:"Rtf",editor:jp.getEditor("dataBinding"),displayName:"RTF",localizationId:"ASPxReportsStringId.ExportName_rtf"},{propertyName:"Tag",editor:jp.getEditor("dataBinding"),displayName:"Tag",localizationId:"DevExpress.XtraReports.UI.XRControl.Tag"},{propertyName:"TargetValue",editor:jp.getEditor("dataBinding"),displayName:"Target Value",localizationId:"DevExpress.XtraReports.UI.XRGauge.TargetValue"},{propertyName:"Text",editor:jp.getEditor("dataBinding"),displayName:"Text",localizationId:"DevExpress.XtraReports.UI.XRControl.Text"}];class dk extends K.Editor{constructor(){super(...arguments),this.generateValue=e=>(this.bands||(this.bands=e(this.filter,this.noneNeaded)),this.bands),this.bands=null}}class ck extends dk{constructor(){super(...arguments),this.filter=e=>"GroupHeaderBand"===e.controlType||"DetailReportBand"===e.controlType,this.noneNeaded=!0}}class pk extends dk{constructor(){super(...arguments),this.filter=e=>!(e instanceof VE),this.noneNeaded=!1}}class uk extends dk{constructor(e,t,a,i){super(e,t,a,i),this.filter=e=>"GroupHeaderBand"===e.controlType||"DetailBand"===e.controlType,this.noneNeaded=!0;const r=A.computed((()=>this.value()||{}));this._disposables.push(r),this.viewmodel=new K.ObjectProperties(r,{editors:[Qf,qP]},t+1,this._get("disabled","wrapped"),!1,i),this._disposables.push(this.viewmodel)}}class mk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this._disposables.push(this.values=A.pureComputed((()=>{const e=this._get("_model");return e&&e[Dv.propertyName]&&e[Dv.propertyName]()?Iv:Pv})))}}class hk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.treeListController=new G.TreeListController}generateDisplayValue(e){return this.displayBinding||this._disposables.push(this.displayBinding=A.computed((()=>{const t=this._get("_model");return t&&t.displayValue(e())}))),this.displayBinding()}generateValue(e,t,a){return this.binding||this._disposables.push(this.binding=A.computed({read:()=>{const e=this._get("_model");return e&&e.calculatePath(a())||""},write:a=>{const i=new L.PathRequest(a);e.start(),this._get("_model").updateValue(i,t()),e.end()}})),this.binding}}class gk extends K.Editor{createViewModel(){return(0,Oi.createViewModelGenerator)(super.createViewModel()).generateProperty("getEditorOptions",((e,t,a)=>this.getEditorOptions(e,t,a))).getViewModel()}dispose(){super.dispose(),this._getEditorOptions=null}getEditorOptions(e,t,a){if(!this._getEditorOptions){const i=A.unwrap(e),r=A.computed((()=>i&&i.usedDataSources()));this._disposables.push(r),this._getEditorOptions={items:r,value:i&&i.dataSourceValue(this.value,t),valueExpr:"name",displayExpr:i&&i.dataSourceDisplayExpr,displayCustomValue:!0,disabled:this.disabled,dropDownOptions:{container:a},popupPosition:{boundary:a},useItemTextAsTitle:!0,inputAttr:{id:this.editorInputId}}}return this._getEditorOptions}}class xk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this._collectionNames=["controls","bands"],this._disposables.push(this.displayExpr=A.computed((()=>{const e=A.unwrap(this.value);return e&&A.unwrap(e.displayName||e.name)||""})));const r=A.computed((()=>{const e=this._get("_model");return e&&e.root}));this._disposables.push(r),this._disposables.push(this.itemsProvider=new B.ObjectExplorerProvider([{model:r,name:"Report",displayName:"Report",className:"master_report"}],["bands","controls","rows","cells"],this.value,gw.getPathByMember)),this.itemsProvider.path("Report"),this.treeListController=new B.ObjectStructureTreeListController(["bands","controls","rows","cells","Report"]),this.treeListController.canSelect=e=>!(e.hasItems||e.data&&e.data.data instanceof Gv),this.treeListController.itemsFilter=e=>e&&e.data&&this._isVisible(e.data)}_isEqualModel(e){const t=this._get("_model");return e===t||t&&t.isSame&&t.isSame(e)}_isVisible(e){if(e instanceof Gv){for(let t=0;t<this._collectionNames.length;t++){const a=e[this._collectionNames[t]]&&e[this._collectionNames[t]]();if(a)for(let e=0;e<a.length;e++)if(this._isVisible(a[e]))return!0}return!1}return!this._isEqualModel(e)&&"XRTableOfContents"!==e.controlType&&"XRPivotGrid"!==e.controlType&&"XRPageBreak"!==e.controlType&&"XRSubreport"!==e.controlType&&"PivotGridField"!==e.controlType}}class vk extends xk{constructor(e,t,a,i){super(e,t,a,i),this.path=A.observable(null),this._disposables.push(A.computed((()=>{const e=this._get("_model");if(e&&e instanceof Gv){let t=null;if(e instanceof ob&&e.hasHierarchyPrintOptions())t=e;else{const a=e.parentModel().bands(),i=a.indexOf(e);t=this._findFistAvailableBand(a,i-1)}t?(this._setDisabled(!1),this.itemsProvider.path(gw.getPathByMember(t))):(this.itemsProvider.path(""),this._setDisabled(!0))}})))}_setDisabled(e){const t=this._get("info");t.disabled?A.isObservable(t.disabled)?t.disabled(e):t.disabled=e:t.disabled=A.observable(e)}_findFistAvailableBand(e,t){if(-1===t)return null;const a=e[t];return!a||"GroupHeaderBand"!==a.controlType&&"DetailBand"!==a.controlType?a?this._findFistAvailableBand(e,t-1):null:a}}class fk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.popupVisible=A.observable(!1)}patchOptions(e,t){return this._adapter||(this._adapter=new cv(this._get("values","wrapped"),this.value),this._disposables.push(this._adapter)),this._adapter.patchOptions(e,t)}}class bk extends fk{constructor(e,t,a,i){super(e,t,a,i),this.editorTemplateName="dxrd-reportexpression-ellipsis",this.wrapper=new pv(A.observable(),this.value),this.popupVisible=this.wrapper.popupVisible,this._disposables.push(this.wrapper)}showPopup(e){this.wrapper.control(e),this.popupVisible(!0)}}class yk extends K.FontEditor{constructor(e,t,a,i){super(e,t,a,i)}createObjectProperties(){const e=new ok(this.value,this._get("_model","wrapped"));return this._disposables.push(e),new K.ObjectProperties(A.observable(e),{editors:tm},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}class Sk extends K.FieldListEditor{constructor(){super(...arguments),this.wrappedValues=null}_createItem(e,t){const a=k.Deferred();return e.getDisplayNameByPath(this.path(),t).done((e=>{a.resolve({value:t,displayValue:e})})).fail((()=>{a.resolve({value:t,displayValue:t})})),a}_updateValues(e,t){this.wrappedValues(e),k.when.apply(k,e.map((e=>this._createItem(t,e.value)))).done(((...e)=>{this.wrappedValues(e)}))}wrapValues(e){return this.wrappedValues||(this.wrappedValues=A.observableArray(),this.addDisposable(this.subscribeProperty("values",(t=>{this._updateValues(t,e())}))),this._updateValues(this._get("values"),e())),this.wrappedValues}}class Ck extends K.Editor{get actions(){return nk.actions}get customPatterns(){return Up()}}class Dk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i);const r=A.pureComputed((()=>{const e=this._get("_model"),t=e&&e.root&&e.root.formattingRuleSheet||A.observableArray();return t().forEach((e=>{this._disposables.push(e.selected=A.pureComputed({read:()=>this.value()().filter((t=>t.value()===e)).length>0,write:t=>{if(t)this.value().push(zh.createNew(e));else{const t=this.value()().filter((t=>t.value()===e))[0];this.value().remove(t)}}}))})),t}));this._disposables.push(r),this.options={addHandler:()=>Th.createNew(this._get("_model").root),values:r,displayName:this._get("displayName"),level:this.level,info:this._get("info","wrapped")}}}class _k extends K.Editor{constructor(e,t,a,i){super(e,0,a,i),this._viewModel=A.observable(),this.viewmodel={items:A.pureComputed((()=>this._viewModel()&&this._viewModel().viewType?"Circular"===this._viewModel().viewType()?B_:V_:[]))},this._disposables.push(this.viewmodel.items)}update(e){super.update(e),this._viewModel(e)}}class Ik extends G.dxFileImagePicker{constructor(e,t){t.placeholderId=t.placeholderId||"Image",super(e,t)}_toggleReadOnlyState(){super._toggleReadOnlyState.apply(this),this._input().prop("readOnly",!0)}_handleResult(e){let t=e.format.toLowerCase();"svg"!==t&&"png"!==t&&"jpg"!==t&&"jpeg"!==t&&(t="img"),this.option("value",new Eh.ImageSource(t,e.content))}}GM()("dxImageSourceEditor",Ik);class Pk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i),this.currentValidationRules=A.observable(super._getEditorValidationRules())}createViewModel(){return(0,Oi.createViewModelGenerator)(super.createViewModel()).generateProperty("generateRules",(e=>this.generateRules(e))).getViewModel()}_getEditorValidationRules(){return this.currentValidationRules()}_filterControls(e){return e.filter((e=>!(e instanceof Qx)))}generateRules(e){const t=this;if(t._get("disabled"))return[];const a=(0,L.getLocalization)("{0} is not unique","ASPxReportsStringId.ReportDesigner_NameUniqueError"),i=(0,B.formatUnicorn)(a,A.unwrap(t.displayName));return this.currentValidationRules([{type:"custom",message:i,validationCallback:a=>{if(null==a.value)return!1;const i=t._get("_model");return 0===this._filterControls(e()).filter((e=>{if(A.unwrap(e.name).toLowerCase()!==a.value.toLowerCase())return!1;if(!i||e===i)return!1;const t=i.isSame;return!(t&&k.isFunction(t)&&t(e))})).length}},...super._getEditorValidationRules(),...G.requiredValidationRules]),this.currentValidationRules()}}class Tk extends Pk{constructor(e,t,a,i){super(e,t,a,i)}_filterControls(e){return e.filter((e=>e instanceof Qx))}}class zk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i)}_createItemsProvider(e){return{getItems:t=>{const a=this._get("_model","peek");if(!a||0===t.fullPath.indexOf(ry.ParametersRefString))return k.Deferred().resolve().promise();const i=a.parent,r=k.Deferred(),o=new L.PathRequest((0,B.getFullPath)(i.getPath(""),i.dataMember()));return A.unwrap(e).getItems(o).done((e=>{const t=[],a=i.fields();for(let i=0;i<a.length;i++){const r=a[i];if("DataArea"===r.area())continue;const o=e.filter((e=>e.name===r.fieldName()))[0];t.push({displayName:r.getDisplayName(),isList:!1,name:r.name(),specifics:o&&o.specifics.toLowerCase()||"integer"})}r.resolve(t)})),r.promise()}}}_getFieldName(e,t=!1){const a=this._get("_model","peek");if(!a)return k.Deferred().resolve().promise();const i=a.parent,r=(0,B.find)(i.fields.peek(),(a=>(t?a.getDisplayName()||e:a.name())===e)),o=k.Deferred();return r?o.resolve(t?r.name():r.getDisplayName()):o.reject(),o.promise()}_createDisplayNameProvider(){return{getDisplayNameByPath:(e,t)=>this._getFieldName(t),getRealName:(e,t)=>this._getFieldName(t,!0)}}wrapModel(e){return this.itemsProvider||(this.itemsProvider=this._createItemsProvider(e),this.displayNameProvider=this._createDisplayNameProvider()),this}}class Nk extends K.PropertyGridEditor{createObjectProperties(){return new K.ObjectProperties(this._getViewModel(),void 0,this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}_getViewModel(){this.hideCollapsingButton=A.observable();const e=A.computed((()=>{const e=this.value()&&this.value().content(),t=(null==e?void 0:e.getInfo)&&(null==e?void 0:e.getInfo().filter((e=>!!e.editor)));return this.hideCollapsingButton(!(null==t?void 0:t.length)),this.value()&&this.value().content()}));return this._disposables.push(e),e}}class Ek extends K.PropertyGridEditor{constructor(e,t,a,i){super(e,t,a,i)}createObjectProperties(){const e=A.pureComputed((()=>{const e={isPropertyModified:t=>!e[t].isEmpty()};e.actions=[{action:t=>{e[t].resetValue()},title:(0,L.getLocalization)("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:()=>!0}];return(this.value()()||[]).map((t=>{e[t.propertyName()]=t})),e}));return this._disposables.push(e),new K.ObjectProperties(e,{editors:lk},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}class wk extends K.FieldListEditor{get actions(){return nk.actions}get customPatterns(){return Up()}}class Rk extends K.PropertyGridEditor{constructor(e,t,a,i){super(e,t,a,i)}generateValue(e){return this.undoEngine=e,this.viewmodel}createObjectProperties(){const e=A.computed({read:()=>this.value(),write:e=>{this.undoEngine&&this.undoEngine().start(),this.value(e),this.undoEngine&&this.undoEngine().end()}});this._disposables.push(e);const t=new G.FontModel(e);return this._disposables.push(t),new K.ObjectProperties(A.observable(t),{editors:Ru.fontInfo},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}class Bk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i)}_initUrls(e,t){this.urls||(Li()?(this.urls=e,this.updateUrls()):(this.urls=A.computed((()=>t()?(e()||[]).filter((e=>e.Key!==t().url())):e())),this._disposables.push(this.urls)))}getValues(e,t){return this.dataSource||(this._initUrls(e,t),this._disposables.push(this.dataSource=A.computed((()=>new(FE())({store:this.urls(),paginate:!0,filter:e=>e.Key!==t().url(),pageSize:100}))))),this.dataSource}updateUrls(){Li()&&SP.getUrls().done((e=>{this.urls(e)}))}}class Vk extends G.dxFileImagePicker{constructor(e,t){super(e,t)}_handleResult(e){this.option("value",e)}}GM()("dxRichTextFileEditor",Vk);class Mk{constructor(){this.model=A.observable(null),this.grid=new K.ObjectProperties(this.model),this.visible=A.observable(!1),this.isValid=A.computed((()=>this.model()&&(!this.model().calculate.isValid()||!this.model().weight.isValid()))),this.container=e=>(0,B.getParentContainer)(e),this.buttons=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Apply",""),type:"default",stylingMode:"contained",onClick:()=>{this.model().applyChanges(),this.visible(!1)},disabled:this.isValid}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:(0,L.getLocalization)("Cancel","AnalyticsCoreStringId.SearchDialog_Cancel"),type:"normal",stylingMode:"contained",onClick:()=>{this.visible(!1)}}}]}dispose(){this.buttons=[],this.grid.dispose(),this.model(null),this.isValid.dispose()}}class kk extends L.Disposable{constructor(e){super(),this._control=e,this._order=["Running","Func","calculate","weight","ignoreNullValues","treatStringsAsNumerics"],this._summaryFunctionValues=Vm().map((e=>({value:"sum"+e.value,displayValue:e.displayValue,localizationId:e.localizationId}))).concat([{value:"sumWAvg",displayValue:"Weighted average",localizationId:"ReportStringId.WAvgDisplayName"}]),this._info=Am(this._summaryFunctionValues).concat([{propertyName:"calculate",editor:jp.getEditor("reportexpression"),displayName:"Argument Expression",localizationId:"ASPxReportsStringId.ReportDesigner_SummaryEditor_ArgumentExpression"},{propertyName:"weight",editor:jp.getEditor("reportexpression"),displayName:"Weight",localizationId:"ASPxReportsStringId.ReportDesigner_SummaryEditor_Weight"}]).sort(((e,t)=>this._order.indexOf(e.propertyName)-this._order.indexOf(t.propertyName))),this.Func=A.observable("sumSum"),this._disposables.push(this.calculate=new Xb({value:A.observable("")})),this._disposables.push(this.weight=new Xb({value:A.observable("")})),this._summary=this._control.Summary;const t=this._info.filter((e=>"ignoreNullValues"===e.propertyName))[0];this.patchSerializationInfo(t),t.editorOptions.elementAttr={class:"dxrd-first-checkbox"},this.patchSerializationInfo(this._info.filter((e=>"treatStringsAsNumerics"===e.propertyName))[0]),this._initExpressionValues(),this.ignoreNullValues=A.observable(this._summary.ignoreNullValues()),this.treatStringsAsNumerics=A.observable(this._summary.treatStringsAsNumerics()),this.Running=A.observable(this._summary.Running()),this._disposables.push(this.calculate.path=A.computed((()=>this._control.getPath("expression")))),this._disposables.push(this.weight.path=A.computed((()=>this._control.getPath("expression"))))}dispose(){super.dispose(),this._control=null,this._summary=null}_initExpressionValues(){const e=this._control.getExpressionBinding("Text");if(!e)return;let t=e;try{const a=Fb.CriteriaOperatorStateMachine.parse(e);if(a instanceof Bw.FunctionOperator&&this._summaryFunctionValues.some((e=>e.value===a.displayType))){const e=new G.FilterEditorSerializer;this.Func(a.displayType),t=a.leftPart&&e.serialize(a.leftPart),this.weight.value("sumWAvg"===this.Func()?a.rightPart[0]&&e.serialize(a.rightPart[0]):"")}}catch(e){(0,B.NotifyAboutWarning)(e.message)}this.calculate.value(t)}getInfo(){return this._info}patchSerializationInfo(e){const t=e.displayName,a=e.localizationId;e.editorOptions={text:(0,L.getLocalization)(t,a)},e.displayName=void 0,e.localizationId=void 0}applyChanges(){const e=L.UndoEngine.tryGetUndoEngine(this._control);e&&e.start();let t="";this._summary.Running(this.Running()),this.isDisabled()?t=this.calculate.value():(this._summary.ignoreNullValues(this.ignoreNullValues()),this._summary.treatStringsAsNumerics(this.treatStringsAsNumerics()),t=this.Func()+"("+this.calculate.value()+(this.weight.value()?", "+this.weight.value():"")+")"),this._control.getDefaultBinding().value(t),e&&e.end()}isPropertyDisabled(e){return this.isDisabled()?"Running"!==e:"weight"===e&&"sumWAvg"!==this.Func()}isDisabled(){return"None"===this.Running()}}class Ak extends K.PropertyGridEditor{constructor(){super(...arguments),this.popup=new Mk}dispose(){super.dispose(),this.popup.dispose(),this.summaryModel&&this.summaryModel.dispose()}getPopupServiceActions(){let e=super.getPopupServiceActions();return e=e&&e.length>0?[].concat([{action:()=>{this.summaryModel&&this.summaryModel.dispose();const e=this._get("_model");this.summaryModel=new kk(e.getModel&&e.getModel()||e),this.popup.model(this.summaryModel),this.popup.visible(!0)},title:"Run Editor",visible:e=>{const t=this._get("_model"),a=t&&t.getModel&&t.getModel()||t;return this._get("visible")&&a&&a.dataBindingMode!==nv.Bindings}}],e):[],e}}class Lk extends K.Editor{constructor(e,t,a,i){super(e,t,a,i)}generateValue(e){return this.undoValue||this._disposables.push(this.undoValue=A.computed({read:()=>this.value(),write:t=>{e().start(),this.value(t),e().end()}})),this.undoValue}}jp.registerEditors({formatEditor:{header:"dxrd-formatstring",editorType:Ck},dataSource:{header:"dxrd-datasource",editorType:gk},dataBindings:{header:"dxrd-dataBindings",content:"dxrd-dataBindingsContent",editorType:Ek},dataBinding:{header:"dxrd-dataBinding",content:"dxrd-dataBindingContent",editorType:wk},reportExplorer:{header:"dxrd-reportexplorer-editor",editorType:xk},reportSourceUrl:{header:"dxrd-reportSourceUrl",editorType:Bk},bands:{header:"dxrd-bands",editorType:pk},runningBand:{header:"dxrd-bands",editorType:ck},sortingBand:{header:"dxrd-bands",content:"dx-objectEditorContent",editorType:uk},style:{header:"dxrd-style",content:"dxrd-styleContent"},stylePriority:{header:"dxrd-stylePriority"},contentByType:{header:"dxrd-content-type",content:"dx-objectEditorContent",editorType:Nk},lookUpValues:{custom:"dxrd-lookUpValues"},reportexpression:{header:"dxrd-reportexpression",editorType:fk},reportexpressionComplex:{header:"dxrd-reportexpression-complex",editorType:bk},drillDownControls:{header:"dxrd-reportexplorer-editor",editorType:vk},pivotGridFields:{custom:"dxrd-pivotGridFields"},scriptsBox:{header:"dxrd-scriptsbox"},formattingRule:{custom:"dxrd-formattingRuleCollection",editorType:Dk},toclevel:{custom:"dxrd-levelCollection"},calculatedFields:{custom:"dxrd-calculatedFields"},watermarks:{custom:"dxrd-watermarks"},parameters:{custom:"dxrd-parameters"},reportRtlProperty:{header:"dxrd-reportRtlProperty"},comboboxUndo:{header:"dx-combobox-undo",editorType:Lk},comboboxPageBreak:{header:"dx-combobox",editorType:mk},fontUndo:{header:"dx-emptyHeader",content:"dx-objectEditorContentUndo",editorType:Rk},chartValueBinding:{header:"dxrd-chartValueBinding",editorType:hk},name:{header:"dxrd-name",editorType:Pk},watermarkId:{header:"dxrd-name",editorType:Tk},bandLevel:{header:"dx-numeric-undo",editorType:qM},pivotCriteria:{header:"dxrd-pivotcriteria",editorType:zk},fieldsCombobox:{header:"dxrd-fields-combobox",editorType:Sk},richTextLoad:{header:"dxrd-richtext-loadfile",editorType:K.Editor},summaryEditor:{header:"dxrd-summaryeditor-header",content:"dxrd-objectEditorContent",editorType:Ak},expressionableFont:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:yk},fontModificatorsHighlightable:{custom:"dx-modificators-highlightable"},parametersCheckbox:{custom:"dxrd-parameters-checkbox"},dataSourceSelectBox:{header:"dxrd-datasource-combobox",editorType:$w},localizationSelectBox:{header:"dxrd-localization-combobox",editorType:$w},pdfContentLoad:{header:"dxrd-pdfcontent-loadfile",editorType:K.Editor},viewStyle:{header:"dxrd-viewStyle",editorType:_k}}),Z.getEditor("dataMemberChart").header=K.editorTemplates.getEditor("dataMember").header,Z.getEditor("fieldChart").header=K.editorTemplates.getEditor("field").header,Z.getEditor("valueDataMember").header=K.editorTemplates.getEditor("field").header,(0,G.addToBindingsCache)("css: className",(function(e,t){return{css:function(){return e.$data.className}}})),(0,G.addToBindingsCache)("dxPopover: { width: 'auto', height: 'auto', position: { my: 'right center', at: 'left center', boundary: '.dxrd-designer-wrapper', of: getPositionTarget($element), collision: 'flip fit', offset: '-10 0' }, container: getPopupContainer($element), onContentReady: onContentReady, hideOnOutsideClick: hideOnOutsideClick, closeOnTargetScroll: false, showTitle: false, target: getPositionTarget($element), showCloseButton: false, shading: false, visible: visible, animation: {} }",(function(e,t){return{dxPopover:function(){return{width:"auto",height:"auto",position:{my:"right center",at:"left center",boundary:".dxrd-designer-wrapper",of:e.$data.getPositionTarget(t),collision:"flip fit",offset:"-10 0"},container:e.$data.getPopupContainer(t),onContentReady:e.$data.onContentReady,hideOnOutsideClick:e.$data.hideOnOutsideClick,closeOnTargetScroll:!1,showTitle:!1,target:e.$data.getPositionTarget(t),showCloseButton:!1,shading:!1,visible:e.$data.visible,animation:{}}}}})),(0,G.addToBindingsCache)("text: $data.showTitle();",(function(e,t){return{text:function(){return e.$data.showTitle()}}})),(0,G.addToBindingsCache)("dxButtonGroup:{ items: items, keyExpr: itemKey, selectedItems: selectedItems, selectionMode: selectionMode, stylingMode: 'text', focusStateEnabled: false}",(function(e,t){return{dxButtonGroup:function(){return{items:e.$data.items,keyExpr:e.$data.itemKey,selectedItems:e.$data.selectedItems,selectionMode:e.$data.selectionMode,stylingMode:"text",focusStateEnabled:!1}}}})),(0,G.addToBindingsCache)("dxButton: { onClick: $data.clickAction, icon: $data.icon, hint: $data.hint, stylingMode: 'text', focusStateEnabled: false }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.clickAction,icon:e.$data.icon,hint:e.$data.hint,stylingMode:"text",focusStateEnabled:!1}}}})),(0,G.addToBindingsCache)("dxColorBox: { value: value, popupPosition: { collision: 'flipfit flipfit' }, focusStateEnabled: false }",(function(e,t){return{dxColorBox:function(){return{value:e.$data.value,popupPosition:{collision:"flipfit flipfit"},focusStateEnabled:!1}}}})),(0,G.addToBindingsCache)("dxLocalizedSelectBox: { dataSource: items, value: value, focusStateEnabled: false, searchEnabled: !supportCustomValue, displayCustomValue: true, acceptCustomValue: supportCustomValue, openOnFieldClick: !supportCustomValue }, dxValidator: { validationRules: validationRules }",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.items,value:e.$data.value,focusStateEnabled:!1,searchEnabled:!e.$data.supportCustomValue,displayCustomValue:!0,acceptCustomValue:e.$data.supportCustomValue,openOnFieldClick:!e.$data.supportCustomValue}},dxValidator:function(){return{validationRules:e.$data.validationRules}}}})),(0,G.addToBindingsCache)("with: getToolbar()",(function(e,t){return{with:function(){return e.$data.getToolbar()}}})),(0,G.addToBindingsCache)("template: { name: template, data: $data }",(function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data}}}})),(0,G.addToBindingsCache)("foreach: componentCollection",(function(e,t){return{foreach:function(){return e.$data.componentCollection}}})),(0,G.addToBindingsCache)("template: { name: $data.template, data: $data }",(function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data}}}})),(0,G.addToBindingsCache)("if: $index() !== 0",(function(e,t){return{if:function(){return 0!==e.$index()}}})),(0,G.addToBindingsCache)("if: $data.showTitle()",(function(e,t){return{if:function(){return e.$data.showTitle()}}})),(0,G.addToBindingsCache)("foreach: { data: $data.items }",(function(e,t){return{foreach:function(){return{data:e.$data.items}}}})),(0,G.addToBindingsCache)("css:{ 'dxrd-intersect': !isValid() }",(function(e,t){return{css:function(){return{"dxrd-intersect":!e.$data.isValid()}}}})),(0,G.addToBindingsCache)("style: { display: isValid()? 'inline' : 'none' }",(function(e,t){return{style:function(){return{display:e.$data.isValid()?"inline":"none"}}}})),(0,G.addToBindingsCache)("text: 'Document is not valid'",(function(e,t){return{text:function(){return"Document is not valid"}}})),(0,G.addToBindingsCache)("if: !isValid()",(function(e,t){return{if:function(){return!e.$data.isValid()}}})),(0,G.addToBindingsCache)("event: { dblclick: function() { $root.richInlineControl.show($element) } }, visible: selected() || focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor",(function(e,t){return{event:function(){return{dblclick:function(){e.$root.richInlineControl.show(t)}}},visible:function(){return e.$data.selected()||e.$data.focused()},css:function(){return{"dxrd-selected dxrd-context-menu-container":e.$data.selected,"dxrd-focused":e.$data.focused,"dxrd-intersect":e.$data.isIntersect,"dxrd-locked":e.$data.locked}},resizable:function(){return e.$root.resizeHandler},draggable:function(){return e.$root.dragHandler},styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor}}})),(0,G.addToBindingsCache)("style: { 'backgroundColor': $root.richInlineControl.visible() && selected() ? '#FFF' : 'transparent' }",(function(e,t){return{style:function(){return{backgroundColor:e.$root.richInlineControl.visible()&&e.$data.selected()?"#FFF":"transparent"}}}})),(0,G.addToBindingsCache)("styleunit: position, trackCursor: underCursor, style:{ pointerEvents: $root.richInlineControl.visible() && selected() ? 'auto' : 'none' }",(function(e,t){return{styleunit:function(){return e.$data.position},trackCursor:function(){return e.$data.underCursor},style:function(){return{pointerEvents:e.$root.richInlineControl.visible()&&e.$data.selected()?"auto":"none"}}}})),(0,G.addToBindingsCache)("styleunit: defaultStyleunit",(function(e,t){return{styleunit:function(){return e.$data.defaultStyleunit}}})),(0,G.addToBindingsCache)("zoom: _context.zoom(), styleunit: { 'height': contentHeightWithoutZoom, 'width': contentWidthWithoutZoom }, dxRichSurface: { inlineEdit: $root.richInlineControl }",(function(e,t){return{zoom:function(){return e.$data._context.zoom()},styleunit:function(){return{height:e.$data.contentHeightWithoutZoom,width:e.$data.contentWidthWithoutZoom}},dxRichSurface:function(){return{inlineEdit:e.$root.richInlineControl}}}})),(0,G.addToBindingsCache)("if: selected()",(function(e,t){return{if:function(){return e.$data.selected()}}})),G.SvgTemplatesEngine.addTemplates({"dxrd-rich-edit":'<div class="dxrd-width-100 dxrd-height-100" data-bind="css: className"> <div data-bind="visible: visible"> \x3c!-- ko with: getToolbar() --\x3e \x3c!-- ko template: { name: template, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dxrd-richedit-toolbar":"<div class=\"dxrd-z-index-0 dxrd-position-absolute\" data-bind=\"dxPopover: { width: 'auto', height: 'auto', position: { my: 'right center', at: 'left center', boundary: '.dxrd-designer-wrapper', of: getPositionTarget($element), collision: 'flip fit', offset: '-10 0' }, container: getPopupContainer($element), onContentReady: onContentReady, hideOnOutsideClick: hideOnOutsideClick, closeOnTargetScroll: false, showTitle: false, target: getPositionTarget($element), showCloseButton: false, shading: false, visible: visible, animation: {} }\"> <div class=\"dxrd-rich-toolbar-popover-content\"> \x3c!-- ko foreach: componentCollection --\x3e \x3c!-- ko if: $data.visible --\x3e \x3c!-- ko template: { name: $data.template, data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>","dxrd-rich-edit-toolbar-component-collection":'<div class="dxrd-toolbar-elements-line"> \x3c!-- ko if: $index() !== 0 --\x3e <div class="dxrd-toolbar-elements-line-bottom dxd-border-secondary"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.showTitle() --\x3e <div class="dxrd-rich-toolbar-header" data-bind="text: $data.showTitle();"></div> \x3c!-- /ko --\x3e <div class="dxrd-rich-toolbar-value"> \x3c!-- ko foreach: { data: $data.items } --\x3e \x3c!-- ko if: $data.visible --\x3e \x3c!-- ko template: { name: $data.template, data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dxrd-rich-edit-toolbar-button-group":"<div data-bind=\"dxButtonGroup:{ items: items, keyExpr: itemKey, selectedItems: selectedItems, selectionMode: selectionMode, stylingMode: 'text', focusStateEnabled: false}\"></div>","dxrd-button-with-template":"<div data-bind=\"dxButton: { onClick: $data.clickAction, icon: $data.icon, hint: $data.hint, stylingMode: 'text', focusStateEnabled: false }\"></div>","dxrd-richEdit-toolbar-colorpicker":"<div data-bind=\"dxColorBox: { value: value, popupPosition: { collision: 'flipfit flipfit' }, focusStateEnabled: false }\"></div>","dxrd-rich-toolbar-combobox":'<div data-bind="dxLocalizedSelectBox: { dataSource: items, value: value, focusStateEnabled: false, searchEnabled: !supportCustomValue, displayCustomValue: true, acceptCustomValue: supportCustomValue, openOnFieldClick: !supportCustomValue }, dxValidator: { validationRules: validationRules }"></div>',"dxrd-richedit-content":'<div data-bind="css:{ \'dxrd-intersect\': !isValid() }" class="dxrd-box-sizing-border-box dxrd-letter-spacing-normal dxrd-width-100 dxrd-height-100"> <div data-bind="style: { display: isValid()? \'inline\' : \'none\' }"> <div class="dxrd-control-content dxrd-richedit-readonly dxrd-width-100 dxrd-height-100 dxrd-vertical-align-top" data-bind="style: contentCss"></div> </div> \x3c!-- ko if: !isValid() --\x3e <div data-bind="text: \'Document is not valid\'"></div> \x3c!-- /ko --\x3e</div>',"dxrd-richedit-selection":"<div class=\"dxrd-control\" data-bind=\"event: { dblclick: function() { $root.richInlineControl.show($element) } }, visible: selected() || focused(), css: {'dxrd-selected dxrd-context-menu-container': selected, 'dxrd-focused': focused, 'dxrd-intersect': isIntersect, 'dxrd-locked': locked }, resizable: $root.resizeHandler, draggable: $root.dragHandler, styleunit: position, trackCursor: underCursor\"> \x3c!-- ko if: selected() --\x3e <div class=\"dxd-border-accented dxrd-control-border-box\" data-bind=\"style: { 'backgroundColor': $root.richInlineControl.visible() && selected() ? '#FFF' : 'transparent' }\"></div> \x3c!-- /ko --\x3e</div><div class=\"dxrd-control dxrd-context-menu-container\" data-bind=\"visible: !(selected() && focused()), styleunit: position, trackCursor: underCursor, style:{ overflow: isSelected() ? 'visible' : 'hidden'}\"> <div class=\"dxrd-control-content-select-main\" data-bind=\"styleunit: { 'top': contentSizes().top + (isIntersect() ? 1 : 0), 'left': contentSizes().left + (isIntersect()? 1 : 0), lineHeight: contentSizes().height, height: contentSizes().height, width: contentSizes().width}\"> </div></div><div class=\"dxrd-control dxrd-richedit-selected\" data-bind=\"styleunit: position, trackCursor: underCursor, style:{ pointerEvents: $root.richInlineControl.visible() && selected() ? 'auto' : 'none' }\"> <div class=\"dxrd-control-content-main\" data-bind=\"styleunit: defaultStyleunit\"> <div class=\"dxrd-richedit-selected-content\" data-bind=\"zoom: _context.zoom(), styleunit: { 'height': contentHeightWithoutZoom, 'width': contentWidthWithoutZoom }, dxRichSurface: { inlineEdit: $root.richInlineControl }\"> </div> </div></div>"});const $k={ParagraphAlignmentButtonGroup:"dxxrta-buttongroup-paragraph-alignment",HyperlinkButton:"dxxrta-button-hyperlink",ClearFormattingButton:"dxxrta-button-clear-formatting",FontStyleButtonGroup:"dxxrta-buttongroup-toggle-font",ToggleCaseButton:"dxxrta-button-text-case",FontSizeComboBox:"dxxrta-combobox-text-size",FontComboBox:"dxxrta-combobox-font",FontColorBox:"dxxrta-colorbox-font",BackgroundColorBox:"dxxrta-colorbox-background"},Fk={AlignmentAndFormatting:"dxxrtg-buttons-first",FontStyleAndCase:"dxxrtg-buttons-second",FontSize:"dxxrtg-font-size",Font:"dxxrtg-font-family",FontColor:"dxxrtg-text-color",BackgroundColor:"dxxrtg-back-color"},Ok=(0,B.createGlobalModuleVariableFunc)(new L.EventManager),Xk=DevExpress.RichEdit,Hk=()=>Xk,Wk=(0,B.createGlobalModuleVariableFunc)(((e,t)=>Hk().create(e,t))),Uk=(0,B.createGlobalModuleVariableFunc)((()=>Hk().createOptions()));var Gk;!function(e){e[e.OpenDocument=0]="OpenDocument",e[e.SaveDocument=1]="SaveDocument",e[e.NewDocument=2]="NewDocument"}(Gk||(Gk={}));class jk extends L.Disposable{constructor(e){super(),this.richEdit=e}process(e){e.queueAction===Gk.OpenDocument&&this.richEdit.openDocumentNative(e.base64,e.documentFormat,(()=>{e.ready()}),(()=>{e.errorCallBack&&e.errorCallBack()})),e.queueAction==Gk.NewDocument&&this.richEdit.newDocumentNative((()=>{e.ready()})),e.queueAction==Gk.SaveDocument&&this.richEdit.saveDocumentNative(e.documentFormat,(t=>{e.documentConverted&&e.documentConverted(t)}))}}class qk extends L.Disposable{constructor(e,t){super(),this.itemKey="value",this.locker=new fg.Locker,this.options=e,this.value=A.observable(),t.template&&(this.template=t.template),this.init(t)}_updateStateInternal(e){e&&!this.needUpdateState(e)||this.locker.lock((()=>this.updateState()))}_executeCommand(e,t){this.locker.isUpdate||(this.action?this.action(this.options.richEditPublic,e):this.options.executeCommand(t,this.hasCustomValue()?this.getConverter().toModel(e):void 0,!0),this._updateStateInternal())}executeCommand(e,t){this._executeCommand(e,t)}unwrapItem(e){return k.extend({},e,{command:e.command})}getConverter(){return{toModel:e=>e,fromModel:e=>e}}init(e){e&&(this.id=e.id,this.text=e.text,this.visible=!1!==e.visible,e.action&&(this.action=e.action))}hasCustomValue(){return!1}}class Jk extends qk{updateState(){}needUpdateState(e){return!0}}class Kk extends qk{needUpdateState(e){return!!e[this._command]}init(e){if(super.init(e),this.item=this.unwrapItem(e),this._command=this.item.command,this._command&&!this.options.richEditPublic.isDisposed){const e=this.options.richEditPublic.getCommandState(this._command);e.enabled&&(this.value(this.getConverter().fromModel(e.value)),this.locker.lock((()=>this._updateStateInternal())))}this._disposables.push(this.value.subscribe((e=>this._executeCommand(e,this.item.command))))}updateState(){if(this._command&&this.hasCustomValue()){const e=this.options.richEditPublic.getCommandState(this._command);e.enabled&&this.value(this.getConverter().fromModel(e.value))}}}class Qk extends qk{constructor(e,t){super(e,t),this.itemKey="command",this.template=this.template||"dxrd-rich-edit-toolbar-button-group"}needUpdateState(e){return this.items.some((t=>!!e[this.getCommand(t)]))}init(e){super.init(e),this.selectionMode=e.selectionMode||"single",this.selectedItems=A.observableArray([]),this.items=e.items.map((e=>this.unwrapItem(e))),this._disposables.push(this.selectedItems.subscribe((e=>{this.onSelectItems(e)}),null,"arrayChange"))}onSelectItems(e){e.forEach((e=>{("multiple"===this.selectionMode&&"deleted"===e.status||"added"===e.status)&&this._executeCommand(e.value.value,e.value.command)}))}getCommand(e){return e.command}updateState(){const e=[];this.items.forEach((t=>{const a=this.getCommand(t);if(t.command===a){const i=this.options.richEditPublic.getCommandState(a);if(i.enabled){i.value&&e.push(t)}}})),this.selectedItems(e)}}class Yk extends Kk{constructor(e,t){super(e,t),this.icon=t.icon,this.hint=t.hint,this.template=this.template||"dxrd-button-with-template"}clickAction(){this._executeCommand(void 0,this.item.command)}}class Zk extends Kk{constructor(e,t){super(e,t),this.validationRules=[],this.supportCustomValue=!1,this.items=t.items,this.template=this.template||"dxrd-rich-toolbar-combobox"}hasCustomValue(){return!0}}class eA extends Zk{constructor(){super(...arguments),this.validationRules=[{type:"numeric"}],this.supportCustomValue=!0}}class tA extends Kk{constructor(e,t){super(e,t),this.template=this.template||"dxrd-richEdit-toolbar-colorpicker"}getConverter(){return{fromModel:e=>{switch(e){case"Auto":case"NoColor":case void 0:return this.item.defaultValue;default:{const t=e;return`rgb(${[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)].join(", ")})`}}},toModel:e=>e}}hasCustomValue(){return!0}}class aA{constructor(e,t="",a=!0,i="dxrd-rich-edit-toolbar-component-collection"){this.id=e,this.title=t,this.visible=a,this.template=i,this.showTitle=()=>this.title}}class iA extends L.Disposable{constructor(e){super(),this._popover=new G.PopupComponentBase,this._getDefaultItems=e=>[{id:Fk.AlignmentAndFormatting,items:[{id:$k.ParagraphAlignmentButtonGroup,actionType:"ButtonGroup",selectionMode:"single",_customComponent:"alignmentButtonGroup",items:[{actionType:"Button",command:Hk().HomeTabCommandId.ToggleParagraphAlignmentLeft,icon:" dxre-icon-AlignLeft",hint:(0,L.getLocalization)("Align Text Left","XtraRichEditStringId.MenuCmd_ParagraphAlignmentLeft")},{actionType:"Button",command:Hk().HomeTabCommandId.ToggleParagraphAlignmentCenter,icon:" dxre-icon-AlignCenter",hint:(0,L.getLocalization)("Center","XtraRichEditStringId.MenuCmd_ParagraphAlignmentCenter")},{actionType:"Button",command:Hk().HomeTabCommandId.ToggleParagraphAlignmentRight,icon:" dxre-icon-AlignRight",hint:(0,L.getLocalization)("Align Text Right","XtraRichEditStringId.MenuCmd_ParagraphAlignmentRight")}]},{id:$k.HyperlinkButton,actionType:"Button",command:Hk().InsertTabCommandId.ShowHyperlinkDialog,icon:" dxre-icon-Hyperlink",hint:(0,L.getLocalization)("Hyperlink...","XtraRichEditStringId.MenuCmd_Hyperlink")},{id:$k.ClearFormattingButton,actionType:"Button",command:Hk().HomeTabCommandId.ClearFormatting,icon:" dxre-icon-ClearFormatting",hint:(0,L.getLocalization)("Clear Formatting","XtraRichEditStringId.MenuCmd_ClearFormatting")}]},{id:Fk.FontStyleAndCase,items:[{id:$k.FontStyleButtonGroup,actionType:"ButtonGroup",selectionMode:"multiple",items:[{actionType:"Button",command:Hk().HomeTabCommandId.ToggleFontBold,icon:" dxre-icon-Bold",hint:(0,L.getLocalization)("Bold","System.Drawing.Font.Bold")},{actionType:"Button",command:Hk().HomeTabCommandId.ToggleFontItalic,icon:" dxre-icon-Italic",hint:(0,L.getLocalization)("Italic","System.Drawing.Font.Italic")},{actionType:"Button",command:Hk().HomeTabCommandId.ToggleFontUnderline,icon:" dxre-icon-Underline",hint:(0,L.getLocalization)("Underline","System.Drawing.Font.Underline")},{actionType:"Button",command:Hk().HomeTabCommandId.ToggleFontStrikeout,icon:" dxre-icon-Strikeout",hint:(0,L.getLocalization)("Strikeout","System.Drawing.Font.Strikeout")}]},{id:$k.ToggleCaseButton,actionType:"Button",command:Hk().HomeTabCommandId.CapitalizationToggleCase,icon:" dxre-icon-ChangeTextCase",hint:(0,L.getLocalization)("tOGGLE cASE","XtraRichEditStringId.MenuCmd_ToggleTextCase")}]},{id:Fk.FontSize,title:(0,L.getLocalization)("Font Size","XtraRichEditStringId.MenuCmd_ChangeFontSize"),items:[{id:$k.FontSizeComboBox,actionType:"ComboBox",command:Hk().HomeTabCommandId.ChangeFontSize,items:[8,9,10,11,12,14,16,18,20,24,26,28,36,48,72]}]},{id:Fk.Font,title:(0,L.getLocalization)("Font","XtraRichEditStringId.MenuCmd_ChangeFontName"),items:[{id:$k.FontComboBox,actionType:"ComboBox",command:Hk().HomeTabCommandId.ChangeFontName,items:e}]},{id:Fk.FontColor,title:(0,L.getLocalization)("Font Color","XtraRichEditStringId.MenuCmd_ChangeFontColor"),items:[{id:$k.FontColorBox,actionType:"ColorBox",command:Hk().HomeTabCommandId.ChangeFontForeColor,defaultValue:"rgb(0, 0, 0)"}]},{id:Fk.BackgroundColor,title:(0,L.getLocalization)("Background Color","DevExpress.XtraReports.UI.XRRichTextBoxBase.BackColor"),items:[{id:$k.BackgroundColorBox,actionType:"ColorBox",command:Hk().HomeTabCommandId.ChangeFontHighlightColor,defaultValue:"rgb(255, 255, 255)"}]}],this.onContentReady=this._popover.onContentReady,this.getPositionTarget=e=>k.fn.constructor(e).closest("."+this.parentClass).closest(".dxrd-control")[0],this.hideOnOutsideClick=e=>!this._popover.hideOnOutsideClick(e)||(this.visible(!1),!1),this.template="dxrd-richedit-toolbar",this.parentClass="dxrd-rich-surface",this.getPopupContainer=B.getParentContainer,this.componentCollection=[],this.visible=e.visible;const t=(0,B.extend)(!0,[],this._getDefaultItems(e.fonts));Ok().call("customizeToolbarActions",{actions:t,getById:e=>{let a;const i=t.filter((t=>!a&&(t.id===e||void(a=t.items.filter((t=>t.id===e))[0]))))[0];return a||i}}),this.componentCollection=this._initComponentCollection(t,e),(this.componentCollection||[]).every((e=>!e.visible))&&(this.visible=A.observable(!1))}_initComponentCollection(e,t){return e.map((e=>{const a=new aA(e.id,e.title,e.visible,e.template);return a.items=this._initComponents(e.items,t),this._extendTemplateOptions(e,a)}))}_initComponents(e,t){return e.map((e=>{let a;switch(e.actionType){case"ButtonGroup":a=new Qk(t,e);break;case"Button":a=new Yk(t,e);break;case"ComboBox":a=e.id===$k.FontSizeComboBox?new eA(t,e):new Zk(t,e);break;case"ColorBox":a=new tA(t,e);break;default:a=new Jk(t,e)}return this._extendTemplateOptions(e,a)}))}_extendTemplateOptions(e,t){return e.template?(0,B.extend)(!0,{},t,e):t}onCommandStateChanged(e,t){if(t.commands){const e={};t.commands.forEach((t=>e[t]=!0));for(const t of this.componentCollection)if(t.items)for(const a of t.items)a._updateStateInternal&&a._updateStateInternal(e)}else this.componentCollection.forEach((e=>(e.items||[]).forEach((e=>e._updateStateInternal&&e._updateStateInternal()))))}}class rA extends L.Disposable{constructor(e,t,a){super(),this.disableCommands=[Hk().HomeTabCommandId.Find,Hk().HomeTabCommandId.Replace],this._verticalScrollOffset=0,this._richHeight=null,this._disposables.push(this.visible=A.pureComputed({read:()=>t.visible()&&a(),write:e=>{t.visible(e)}})),this._disposables.push(this.className=A.computed((()=>["dxrd-rich-surface",this.visible()?"":"dxrd-richedit-readonly"].join(" ")))),this._element=e,this._element.id="rich"+(0,B.guid)().replace(/-/g,""),this._richEdit=Wk()(e,this.createOptions());for(const e of this.disableCommands)this._richEdit.setCommandEnabled(e,!1);this._dispatcher=new jk(this),this.createToolbar()}setRichHeight(e){this._richHeight=e}_elementExists(){return!!document.getElementById(this._element.id)}getToolbar(){return this._toolbar}getRealControl(){return this._richEdit}getRealControlNative(){return this._richEdit._native}updateCanvasScroll(){this.getRealControlNative().core.viewManager.canvasListener.onCanvasScroll()}dispose(){super.dispose(),this._toolbar.dispose(),this._dispatcher.dispose(),this._richEdit.dispose()}executeCommand(e,t,a=!1){this._richEdit.isDisposed||(this._richEdit.executeCommand(e,t),a&&this._richEdit.focus())}insertHtml(e){this._richEdit.isDisposed||this.getRealControlNative().core.commandManager.getCommand(376).execute(!1,e)}createOptions(){const e=Uk()();e.ribbon.visible=!1,e.view.viewType=Hk().ViewType.Simple,e.autoCorrect.correctTwoInitialCapitals=!0,e.confirmOnLosingChanges.enabled=!1,e.width="100%",e.height="100%",e.contextMenu.enabled=!1,e.view.simpleViewSettings.paddings={left:1.92,right:1.92,top:.01,bottom:.01},e.events.commandStateChanged=(e,t)=>this._toolbar&&this._toolbar.onCommandStateChanged(e,t),e.fonts=this.getRichEditFonts();const t=this;return e.internalApi={getVerticalScrollOffset:()=>this._verticalScrollOffset,get getVisibleAreaHeight(){return null===t._richHeight?0:()=>t._richHeight}},e}getFonts(){return Object.keys(A.unwrap(G.availableFonts)).sort(((e,t)=>e<t?-1:1))}getRichEditFonts(){const e=this.getFonts(),t=[];for(const a of e)t.push({name:a,fontFamily:a});return{fonts:t,mappings:{defaultFontName:e[0]}}}createToolbar(){this._toolbar=new iA({executeCommand:this.executeCommand.bind(this),commandManager:this.getRealControlNative().core.commandManager,richEditPublic:this._richEdit,visible:this.visible,fonts:this.getFonts()})}saveDocumentNative(e,t){if(this._richEdit.hasUnsavedChanges){if(t){const e=function(a,i){t(i.base64),a.events.saving.removeHandler(e,a)};this._richEdit.events.saving.addHandler(e,this._richEdit)}this._richEdit.saveDocument(e)}else this._richEdit.exportToBase64((e=>{t&&t(e)}),e)}newDocumentNative(e){if(e){const t=function(a,i){e(),a.events.documentLoaded.removeHandler(t,a)};this._richEdit.events.documentLoaded.addHandler(t,this._richEdit)}this.executeCommand(Hk().FileTabCommandId.CreateDocument)}openDocumentNative(e,t,a,i){const r=function(e,t){a(),e.events.documentLoaded.removeHandler(r,e)};a&&this._richEdit.events.documentLoaded.addHandler(r,this._richEdit),this._richEdit.openDocument(e,"",t,(e=>{!e&&i&&(this._richEdit.events.documentLoaded.removeHandler(r,this._richEdit),i())}))}saveDocument(e,t){this._dispatcher.process({documentConverted:t,queueAction:Gk.SaveDocument,documentFormat:e,base64:void 0,ready:void 0,errorCallBack:void 0})}newDocument(e){this._dispatcher.process({documentConverted:void 0,queueAction:Gk.NewDocument,documentFormat:void 0,base64:void 0,ready:e,errorCallBack:void 0})}openDocument(e,t,a,i){this._dispatcher.process({documentConverted:void 0,queueAction:Gk.OpenDocument,documentFormat:t,base64:e,ready:a,errorCallBack:i})}changeSize(){this._richEdit.adjust()}focusChanged(e){e||this._richEdit.selection.setSelection(0),this.changeSize()}getText(e){return this._richEdit.document.getText(e)}documentIsEmpty(){return 1==this._richEdit.document.length}}class oA extends L.Disposable{constructor(e){super(),this.richEdit=e}set textConverted(e){this._textConverted=e}load(e){if(!e.data||e.dataFormat===pI.HtmlText)return void this.richEdit.newDocument((()=>{this.richEdit.insertHtml(e.data||""),this.richEdit.saveDocument(2,(e=>{this._textConverted(e)}))}));let t;e.dataFormat===pI.PlainText?t=Hk().DocumentFormat.PlainText:e.dataFormat===pI.RtfText?t=2:e.dataFormat===pI.XmlText&&(t=Hk().DocumentFormat.OpenXml),this.richEdit.openDocument(e.data,t,(()=>{this.richEdit.saveDocument(2,(e=>{this._textConverted(e)}))}),(()=>{this.richEdit.openDocument(e.oldText,2,(()=>{this.richEdit.saveDocument(2,(e=>{this._textConverted(e),(0,B.NotifyAboutWarning)("The document is corrupted and cannot be opened",!0)}))}))}))}}class sA extends L.Disposable{constructor(e,t){super(),this._richEdit=t,this._paddingModel=new Q.PaddingModel,this._disposables.push(e.subscribe((e=>{this._paddingModel.applyFromString(e),this._setPaddings()}))),this._disposables.push(this._paddingModel)}_setPaddings(){const e=this._richEdit.getRealControl(),t=e.simpleViewSettings.paddings;["left","right","top","bottom"].forEach((e=>t[e]=mP(this._paddingModel[e]()||.01,this._paddingModel._get("dpi")))),e.simpleViewSettings.paddings=t}}class nA extends G.FontModel{constructor(e,t,a,i){super(e),this.richEdit=t,this.controller=i;for(const e of[[this.family,e=>this.applyCommand(Hk().HomeTabCommandId.ChangeFontName,e)],[this.size,e=>this.applyCommand(Hk().HomeTabCommandId.ChangeFontSize,e)],[a,e=>this.applyCommand(Hk().HomeTabCommandId.ChangeFontForeColor,e)],[this.modificators.bold,e=>this.applyCommand(Hk().HomeTabCommandId.ToggleFontBold,e)],[this.modificators.italic,e=>this.applyCommand(Hk().HomeTabCommandId.ToggleFontItalic,e)],[this.modificators.strikeout,e=>this.applyCommand(Hk().HomeTabCommandId.ToggleFontStrikeout,e)],[this.modificators.underline,e=>this.applyCommand(Hk().HomeTabCommandId.ToggleFontUnderline,e)]])this._disposables.push(e[0].subscribe(e[1]))}applyCommand(e,t){this.richEdit.getRealControl().executeCommand(e,t),this.richEdit.visible()||this.richEdit.saveDocument(2,(e=>this.controller.setRtfString(e)))}}class lA extends L.Disposable{constructor(e,t){super(),this.richEdit=e,this.surface=t,this.init()}get controlModel(){return this.surface._control}createSubscribtions(){this._disposables.push(this.controlModel._newDocumentData.subscribe((e=>{this.onDocumentDataChanged(e&&e.content)}))),this._disposables.push(this.controlModel.serializableRtfString.subscribe((e=>this.rtfStringChanged(e)))),this._disposables.push(this.richEdit.visible.subscribe((e=>this.onVisibilityChanged(e)))),this._disposables.push(this.surface._height.subscribe((e=>{this.richEdit.visible()||null==this.richEdit._richHeight||(this.richEdit.setRichHeight(e),this.richEdit.updateCanvasScroll(),setTimeout((()=>{this.richEdit.changeSize()}),1))})))}dispose(){super.dispose(),this.richEdit.dispose(),this.fontModel.dispose(),this.paddingModel.dispose(),this.richLoader.dispose()}init(){this.locker=new fg.Locker,this.fontModel=new nA(this.controlModel.font,this.richEdit,this.controlModel.foreColor,this),this.paddingModel=new sA(this.controlModel.padding,this.richEdit),this.richLoader=new oA(this.richEdit),this.createSubscribtions(),this.surface.serializedRtf()?this.richEdit.openDocument(this.surface.serializedRtf(),2,k.noop,(()=>{this.surface.isValid(!1)})):this.rtfStringChanged(this.surface.serializedRtf())}setRtfString(e){this.locker.lock((()=>{this.surface.serializedRtf(e)}))}rtfStringChanged(e){if(void 0===e){const e=()=>{this.richEdit.openDocument(btoa(this.surface._control.name()),Hk().DocumentFormat.PlainText,(()=>{const e=this.fontModel.family.peek(),t=this.fontModel.size.peek(),a=this.richEdit.getRealControl();a.document.setDefaultCharacterProperties({fontName:e,size:t}),a.executeCommand(Hk().HomeTabCommandId.ChangeFontName,e),a.executeCommand(Hk().HomeTabCommandId.ChangeFontSize,t),a.history.clear(),this.richEdit.saveDocument(2,(e=>this.setRtfString(e)))}))};if(this.surface._control.name())e();else{const t=this.surface._control.name.subscribe((a=>{e(),t.dispose()}))}}else{if(this.locker.isUpdate)return;this.richEdit.openDocument(e,2,k.noop,(()=>{this.surface.isValid(!1)}))}}checkValidationState(){return!this.richEdit.documentIsEmpty()||0!=this._oldValidState||(this.surface.isValid(!1),!1)}onVisibilityChanged(e){e?(this._oldValidState=this.surface.isValid(),this.surface.isValid(!0),this.richEdit.getRealControl().focus()):this.checkValidationState()&&this.richEdit.saveDocument(2,(e=>{this.setRtfString(e)})),this.richEdit&&this.richEdit.focusChanged(e)}onDocumentDataChanged(e){this.richLoader.textConverted=e=>{this.checkValidationState()&&(this.surface.isValid(!0),this.setRtfString(e))},this.richLoader.load({data:e,dataFormat:this.controlModel.format(),oldText:this.surface.serializedRtf()})}}class dA extends Yv{constructor(e,t){super(e,t),this.isValid=A.observable(!0),this.serializedRtf=A.observable(""),this.template="dxrd-richedit",this.contenttemplate="dxrd-richedit-content",this.selectiontemplate="dxrd-richedit-selection",this._convertReady=k.Deferred(),_E(e.serializableRtfString(),(e=>{this.serializedRtf(e),this._convertReady.resolve(!0)})),this._disposables.push(this.serializedRtf.subscribe((t=>{e.serializableRtfString(t)}))),this.defaultStyleunit=A.computed((()=>({top:this.contentSizes().top+(this.isIntersect()?1:0),left:this.contentSizes().left+(this.isIntersect()?1:0),lineHeight:this.contentSizes().height,height:this.contentSizes().height,width:this.contentSizes().width}))).extend({deferred:!0}),this._disposables.push(this.defaultStyleunit)}createController(e){this._convertReady.done((()=>{this.controller=new lA(e,this),this._disposables.push(this.controller)}))}}class cA extends B.InlineTextEdit{}ef((()=>Hk()?dA:Zv)),tf((e=>!!Hk()&&new cA(e)));class pA extends L.Disposable{constructor(){super(...arguments),this.items=[]}dispose(){super.dispose(),this._viewPort=null,this.items=[]}registerViewPort(e){this._viewPort=e;const t=()=>this.updateRichPosition();this._viewPort.addEventListener("scroll",t,!0),this._disposables.push({dispose:()=>this._viewPort.removeEventListener("scroll",t,!0)})}registerRichEditControl(e,t){this.isDisposing=!1,this._viewPort||this.registerViewPort(k.fn.constructor(e).closest(".dxrd-viewport")[0]);const a={element:e,model:t};this.updateRich(a,this._viewPort.getBoundingClientRect()),this.items.push(a),this._disposables.push(t.visible.subscribe((e=>this.updateRich(a,this._viewPort.getBoundingClientRect()))))}unregisterRichEditControl(e){let t=-1;this.items.some(((a,i)=>a.element===e&&(t=i,!0))),-1!==t&&this.items.splice(t,1),0===this.items.length&&this.dispose()}updateRich(e,t){let a=Math.min(e.element.clientHeight,this._viewPort.clientHeight);if(e.model.visible())e.model.setRichHeight(null),e.model._verticalScrollOffset=0,e.model.updateCanvasScroll();else{const i=e.element.getBoundingClientRect();let r=t.top-i.top;(i.bottom-t.top<0||i.top>t.bottom)&&(a=0,r=0),e.model._richHeight==a&&e.model._verticalScrollOffset==r||(e.model.setRichHeight(a),e.model._verticalScrollOffset=r,e.model.updateCanvasScroll())}}updateRichPosition(){const e=this._viewPort.getBoundingClientRect();this.items.forEach((t=>this.updateRich(t,e)))}}const uA=new pA;A.bindingHandlers.dxRichSurface={init:function(e,t,a,i,r){k.fn.constructor(e).children().remove();const o=i;if(o.controller&&o.controller.richEdit){const t=o.controller.richEdit._element;A.dataFor(t)&&document.getElementById(t.id)?k.fn.constructor(e).closest(".dxrd-control").css("display","none"):(k.fn.constructor(e).append(t),A.applyBindings(o.controller.richEdit,t),uA.registerRichEditControl(t,o.controller.richEdit),(0,B.addDisposeCallback)(e,(()=>{uA.unregisterRichEditControl(t)})))}else{const a=t(),i=(0,K.getTemplate)("dxrd-rich-edit"),r=a.inlineEdit,s=k.fn.constructor(e).append(i).children()[0],n=new rA(s,r,o.selected);o.createController(n),A.applyBindings(n,s),uA.registerRichEditControl(s,n),(0,B.addDisposeCallback)(e,(()=>{uA.unregisterRichEditControl(s)}))}return{controlsDescendantBindings:!0}}};const mA=window.DevExpress||{};var hA;(hA=mA).Reporting=hA.Reporting||{},hA.Reporting.Designer=h,hA.Reporting.Chart={},hA.Reporting.Chart.Internal=t,hA.Reporting.Chart.Internal.Axis=a,hA.Reporting.Chart.Internal.DataMembers=i,hA.Reporting.Chart.Internal.Models=o,hA.Reporting.Chart.Internal.Series=s,hA.Reporting.Chart.Internal.Series.Metadata=r,hA.Reporting.Chart.Internal.Widgets=n,hA.Reporting.Designer.Actions=g,hA.Reporting.Designer.Bands=v,hA.Reporting.Designer.Bands.Internal=x,hA.Reporting.Designer.Bands.Metadata=d,hA.Reporting.Designer.Controls=l,hA.Reporting.Designer.Controls.Metadata=c,hA.Reporting.Designer.Controls.PivotGrid=f,hA.Reporting.Designer.Controls.PivotGrid.Metadata=u,hA.Reporting.Designer.Controls.CrossTab=b,hA.Reporting.Designer.Controls.CrossTabMetaData=m,hA.Reporting.Designer.Data=y,hA.Reporting.Designer.Data.Metadata=p,hA.Reporting.Designer.Internal=S,hA.Reporting.Designer.Internal.HtmlMarkUp=C,hA.Reporting.Designer.Localization=D,hA.Reporting.Designer.Tools=_,hA.Reporting.Designer.Utils=I,hA.Reporting.Designer.Widgets=T,hA.Reporting.Designer.Widgets.Internal=z,hA.Reporting.Designer.Wizard=N,hA.Reporting.Designer.Settings=P,function(e){e.Reporting.Designer.Controls.RichEdit=E,e.Reporting.Designer.Controls.RichEdit.Internal=w,e.Reporting.Designer.Controls.RichEdit.Internal.Toolbar=R}(mA);mA.Reporting})();