@devexpress/analytics-core 26.1.7-build-26318-0102 → 26.2.2-beta

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 (834) hide show
  1. package/README.md +7 -7
  2. package/accessibility/_accordionKeyboardHelper.d.ts +1 -0
  3. package/accessibility/_accordionKeyboardHelper.js +6 -3
  4. package/accessibility/_dxMutationObserver.js +11 -4
  5. package/accessibility/_keyboardHelperBase.d.ts +1 -0
  6. package/accessibility/_keyboardHelperBase.js +14 -4
  7. package/accessibility/_toolbarKeyboardHelper.d.ts +5 -5
  8. package/accessibility/_toolbarKeyboardHelper.js +12 -20
  9. package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
  10. package/analytics-diagram.d.ts +6 -4
  11. package/analytics-diagram.js +6 -4
  12. package/analytics-elements.d.ts +4 -2
  13. package/analytics-elements.js +4 -2
  14. package/analytics-internal-native.d.ts +2 -4
  15. package/analytics-internal-native.js +2 -4
  16. package/analytics-internal.d.ts +8 -8
  17. package/analytics-internal.js +8 -8
  18. package/analytics-serializer-native.d.ts +8 -2
  19. package/analytics-serializer-native.js +8 -2
  20. package/analytics-utils-native.d.ts +2 -0
  21. package/analytics-utils-native.js +2 -0
  22. package/analytics-utils.d.ts +2 -2
  23. package/analytics-utils.js +2 -2
  24. package/analytics-version.js +1 -1
  25. package/analytics-widgets-filtering.d.ts +2 -0
  26. package/analytics-widgets-filtering.js +2 -0
  27. package/analytics-widgets-internal.d.ts +6 -10
  28. package/analytics-widgets-internal.js +6 -10
  29. package/analytics-widgets.d.ts +10 -0
  30. package/analytics-widgets.js +10 -0
  31. package/analytics-wizard-internal.d.ts +4 -2
  32. package/analytics-wizard-internal.js +4 -2
  33. package/bundle/_validator.js +3 -3
  34. package/core/_actionProvider.d.ts +3 -3
  35. package/core/_actionProvider.js +4 -11
  36. package/core/_actionsProvider.interface.d.ts +2 -2
  37. package/core/_bindings.d.ts +9 -1
  38. package/core/_bindings.js +103 -117
  39. package/core/binding/_jsDesignerBindingCommon.js +4 -4
  40. package/core/dragDrop/_dragDropHandler.d.ts +7 -8
  41. package/core/dragDrop/_dragDropHandler.js +20 -20
  42. package/core/dragDrop/_dragHelperContent.d.ts +18 -10
  43. package/core/dragDrop/_dragHelperContent.js +52 -23
  44. package/core/dragDrop/_selectionDragDropHandler.d.ts +1 -2
  45. package/core/dragDrop/_selectionDragDropHandler.js +17 -17
  46. package/core/dragDrop/_toolboxDragDropHandler.d.ts +1 -2
  47. package/core/dragDrop/_toolboxDragDropHandler.js +6 -5
  48. package/core/dragDrop/_wizardDragDropHandler.js +5 -6
  49. package/core/elements/baseSerializableModel.d.ts +9 -0
  50. package/core/elements/baseSerializableModel.js +14 -0
  51. package/core/elements/baseSurface.d.ts +106 -31
  52. package/core/elements/baseSurface.js +298 -137
  53. package/core/elements/elementModel.d.ts +102 -0
  54. package/core/elements/elementModel.js +256 -0
  55. package/core/elements/margins.d.ts +10 -10
  56. package/core/elements/margins.js +8 -7
  57. package/core/elements/paddingModel.d.ts +22 -17
  58. package/core/elements/paddingModel.js +34 -45
  59. package/core/elements/point.d.ts +7 -7
  60. package/core/elements/point.js +7 -5
  61. package/core/elements/rectangle.d.ts +18 -6
  62. package/core/elements/rectangle.js +34 -11
  63. package/core/elements/serializableModel.d.ts +4 -2
  64. package/core/elements/serializableModel.js +4 -5
  65. package/core/elements/size.d.ts +16 -6
  66. package/core/elements/size.js +7 -5
  67. package/core/internal/_arrayStores.d.ts +2 -2
  68. package/core/internal/_arrayStores.js +1 -2
  69. package/core/internal/_controlsHelper.d.ts +16 -12
  70. package/core/internal/_controlsHelper.js +62 -46
  71. package/core/internal/_cssCalculator.d.ts +39 -10
  72. package/core/internal/_cssCalculator.js +62 -64
  73. package/core/internal/_dimensionNotationsModel.d.ts +28 -8
  74. package/core/internal/_dimensionNotationsModel.js +65 -30
  75. package/core/internal/_draggable.d.ts +1 -0
  76. package/core/internal/_draggable.js +4 -1
  77. package/core/internal/_getNameHelpers.d.ts +1 -1
  78. package/core/internal/_getNameHelpers.js +4 -3
  79. package/core/internal/_hoverInfo.d.ts +10 -7
  80. package/core/internal/_hoverInfo.js +19 -16
  81. package/core/internal/_inlineTextEdit.d.ts +21 -6
  82. package/core/internal/_inlineTextEdit.js +67 -34
  83. package/core/internal/_ko_integration.d.ts +18 -14
  84. package/core/internal/_ko_integration.js +48 -79
  85. package/core/internal/_objectStructureControllers.d.ts +9 -7
  86. package/core/internal/_objectStructureProviders.d.ts +25 -9
  87. package/core/internal/_objectStructureProviders.js +113 -48
  88. package/core/internal/_processError.js +1 -1
  89. package/core/internal/_resizable.d.ts +27 -22
  90. package/core/internal/_resizable.js +37 -36
  91. package/core/internal/_resizableBinding.js +39 -34
  92. package/core/internal/_stores.d.ts +23 -9
  93. package/core/internal/_stores.js +50 -17
  94. package/core/internal/_surfaceHelpers.d.ts +3 -4
  95. package/core/internal/_surfaceHelpers.js +4 -4
  96. package/core/internal/_utils.d.ts +2 -1
  97. package/core/internal/_utils.js +1 -0
  98. package/core/internal/_validation.d.ts +1 -6
  99. package/core/internal/dxtTemplate.js +1 -1
  100. package/core/selection/_combinedObj.d.ts +23 -8
  101. package/core/selection/_combinedObj.js +114 -55
  102. package/core/selection/_selection.d.ts +33 -25
  103. package/core/selection/_selection.js +61 -57
  104. package/core/selection/_selectionHelpers.js +5 -5
  105. package/core/snapLines/_snapLineSurface.js +3 -4
  106. package/core/snapLines/_snapLinesCollector.d.ts +1 -2
  107. package/core/snapLines/_snapLinesCollector.js +2 -2
  108. package/core/snapLines/_snapLinesHelper.d.ts +14 -3
  109. package/core/snapLines/_snapLinesHelper.js +27 -4
  110. package/core/tools/_actionList.d.ts +5 -5
  111. package/core/tools/_actionList.js +129 -98
  112. package/core/tools/_actionListBase.d.ts +20 -12
  113. package/core/tools/_actionListBase.js +69 -54
  114. package/core/tools/_actionListBase.viewModel.d.ts +1 -0
  115. package/core/tools/_actionListBase.viewModel.js +48 -25
  116. package/core/tools/_copyPaste.d.ts +6 -7
  117. package/core/tools/_copyPaste.js +34 -32
  118. package/core/tools/_keyboardHelper.d.ts +8 -6
  119. package/core/tools/_keyboardHelper.js +58 -37
  120. package/core/tools/_tabInfoWithPropertyGrid.d.ts +5 -2
  121. package/core/tools/_tabInfoWithPropertyGrid.js +18 -12
  122. package/core/tools/contextMenuProvider.d.ts +25 -12
  123. package/core/tools/contextMenuProvider.js +39 -13
  124. package/core/tools/toolbox.d.ts +15 -3
  125. package/core/tools/toolbox.js +32 -4
  126. package/core/utils/_arrayutils.compareArrays.d.ts +1 -0
  127. package/core/utils/_arrayutils.compareArrays.js +7 -8
  128. package/core/utils/_arrayutils.d.ts +7 -5
  129. package/core/utils/_arrayutils.js +69 -73
  130. package/core/utils/_designerCreator.d.ts +56 -110
  131. package/core/utils/_designerCreator.js +173 -167
  132. package/core/utils/_designerInitializer.d.ts +5 -4
  133. package/core/utils/_designerInitializer.js +47 -37
  134. package/core/utils/_designerRootViewModel.d.ts +148 -0
  135. package/core/utils/_designerRootViewModel.js +243 -0
  136. package/core/utils/_fieldListProvider.d.ts +5 -2
  137. package/core/utils/_fieldListProvider.js +10 -7
  138. package/core/utils/_subscribeProperty.d.ts +21 -0
  139. package/core/utils/_subscribeProperty.js +56 -0
  140. package/core/utils/_testHelpers.d.ts +2 -0
  141. package/core/utils/_testHelpers.js +16 -0
  142. package/core/utils/_units.d.ts +2 -5
  143. package/core/utils/_units.js +1 -30
  144. package/core/utils/_utils.d.ts +3 -2
  145. package/core/utils/_utils.designerPart.d.ts +1 -0
  146. package/core/utils/_utils.designerPart.js +4 -1
  147. package/core/utils/_utils.getResizableOptions.d.ts +2 -2
  148. package/core/utils/_utils.getResizableOptions.js +12 -20
  149. package/core/utils/_utils.js +31 -15
  150. package/core/utils/_utils.staticContext.d.ts +22 -6
  151. package/core/utils/_utils.staticContext.js +2 -0
  152. package/core/utils/_visitors.d.ts +1 -1
  153. package/core/utils/_visitors.js +7 -8
  154. package/core/utils/controlsFactory.d.ts +2 -2
  155. package/core/utils/controlsFactory.js +2 -2
  156. package/core/utils/parsers.d.ts +4 -5
  157. package/core/utils/parsers.js +10 -15
  158. package/core/widgets/_criteriaPopupEditorBase.d.ts +13 -6
  159. package/core/widgets/_criteriaPopupEditorBase.js +39 -9
  160. package/core/widgets/_dataMemberEditor.d.ts +8 -8
  161. package/core/widgets/_dataMemberEditor.js +5 -3
  162. package/core/widgets/_displayNameBindings.d.ts +2 -0
  163. package/core/widgets/_displayNameBindings.js +14 -0
  164. package/core/widgets/_fieldlistpicker.d.ts +11 -5
  165. package/core/widgets/_fieldlistpicker.js +58 -43
  166. package/core/widgets/_popupEditorBase.d.ts +30 -11
  167. package/core/widgets/_popupEditorBase.js +65 -17
  168. package/core/widgets/_requiredNullableEditor.d.ts +3 -4
  169. package/core/widgets/_requiredNullableEditor.js +2 -6
  170. package/core/widgets/booleanEditor.d.ts +1 -7
  171. package/core/widgets/booleanEditor.js +3 -8
  172. package/core/widgets/bordereditor/_bordereditor.d.ts +30 -20
  173. package/core/widgets/bordereditor/_bordereditor.js +97 -48
  174. package/core/widgets/colorPickerEditor.d.ts +7 -9
  175. package/core/widgets/colorPickerEditor.js +30 -25
  176. package/core/widgets/criteriaStringEditor.d.ts +17 -0
  177. package/core/widgets/criteriaStringEditor.js +33 -0
  178. package/core/widgets/dataMemberEditor.d.ts +4 -3
  179. package/core/widgets/dataMemberEditor.js +5 -3
  180. package/core/widgets/expressionStringEditor.d.ts +4 -0
  181. package/core/widgets/expressionStringEditor.js +3 -0
  182. package/core/widgets/fieldListEditor.d.ts +21 -7
  183. package/core/widgets/fieldListEditor.js +68 -17
  184. package/core/widgets/filterStringEditor.d.ts +17 -0
  185. package/core/widgets/filterStringEditor.js +16 -0
  186. package/core/widgets/popover.d.ts +16 -3
  187. package/core/widgets/popover.js +66 -2
  188. package/core/widgets/propertygrid/_controlProperties.d.ts +37 -16
  189. package/core/widgets/propertygrid/_controlProperties.js +127 -55
  190. package/core/widgets/propertygrid/_controlProperties.viewModel.d.ts +39 -0
  191. package/core/widgets/propertygrid/_controlProperties.viewModel.js +64 -0
  192. package/core/widgets/propertygrid/_group.d.ts +25 -15
  193. package/core/widgets/propertygrid/_group.js +65 -35
  194. package/core/widgets/propertygrid/_group.viewModel.d.ts +20 -0
  195. package/core/widgets/propertygrid/_group.viewModel.js +30 -0
  196. package/core/widgets/registerDesignerEditors.d.ts +1 -1
  197. package/core/widgets/registerDesignerEditors.js +11 -7
  198. package/core/widgets/registerDesignerEditors.native.d.ts +1 -1
  199. package/core/widgets/registerDesignerEditors.native.js +22 -26
  200. package/core/widgets/tabInfo.d.ts +5 -0
  201. package/core/widgets/tabInfo.js +16 -2
  202. package/core/widgets/tabPanel.d.ts +2 -1
  203. package/core/widgets/tabPanel.js +16 -14
  204. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +8 -8
  205. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +54 -31
  206. package/diagram/_diagramRootModel.d.ts +11 -0
  207. package/diagram/_diagramRootModel.js +23 -0
  208. package/diagram/bindings.js +4 -4
  209. package/diagram/controlRegistrator.js +17 -17
  210. package/diagram/dragDrop/connectingPointDragHandler.d.ts +3 -4
  211. package/diagram/dragDrop/connectingPointDragHandler.js +10 -10
  212. package/diagram/dragDrop/connectionPointDragHandler.d.ts +1 -2
  213. package/diagram/dragDrop/connectionPointDragHandler.js +12 -12
  214. package/diagram/elements/connectingPointModel.d.ts +9 -9
  215. package/diagram/elements/connectingPointModel.js +32 -30
  216. package/diagram/elements/connectingPointSurface.d.ts +9 -5
  217. package/diagram/elements/connectingPointSurface.js +21 -7
  218. package/diagram/elements/connectors/connectionPointModel.d.ts +9 -7
  219. package/diagram/elements/connectors/connectionPointModel.js +16 -20
  220. package/diagram/elements/connectors/connectionPointSurface.d.ts +24 -9
  221. package/diagram/elements/connectors/connectionPointSurface.js +28 -14
  222. package/diagram/elements/connectors/connectorModel.d.ts +11 -9
  223. package/diagram/elements/connectors/connectorModel.js +51 -56
  224. package/diagram/elements/connectors/connectorSurface.d.ts +16 -8
  225. package/diagram/elements/connectors/connectorSurface.js +30 -8
  226. package/diagram/elements/connectors/routedConnectorModel.d.ts +14 -9
  227. package/diagram/elements/connectors/routedConnectorModel.js +87 -54
  228. package/diagram/elements/connectors/routedConnectorSurface.d.ts +43 -16
  229. package/diagram/elements/connectors/routedConnectorSurface.js +84 -53
  230. package/diagram/elements/{diagramElementBaseViewModel.d.ts → diagramElementBaseModel.d.ts} +5 -4
  231. package/diagram/elements/{diagramElementBaseViewModel.js → diagramElementBaseModel.js} +2 -2
  232. package/diagram/elements/diagramElementBaseSurface.d.ts +15 -8
  233. package/diagram/elements/diagramElementBaseSurface.js +22 -20
  234. package/diagram/elements/diagramElementModel.d.ts +10 -0
  235. package/diagram/elements/diagramElementModel.js +13 -0
  236. package/diagram/elements/diagramElementSurface.d.ts +12 -4
  237. package/diagram/elements/diagramElementSurface.js +16 -0
  238. package/diagram/elements/diagramModel.d.ts +6 -7
  239. package/diagram/elements/diagramModel.js +15 -7
  240. package/diagram/elements/diagramSurface.d.ts +24 -16
  241. package/diagram/elements/diagramSurface.js +56 -27
  242. package/diagram/initializer.d.ts +3 -2
  243. package/diagram/initializer.js +20 -15
  244. package/diagram/utils.js +4 -4
  245. package/dist/css/dx-analytics.carmine.compact.css +13 -10
  246. package/dist/css/dx-analytics.carmine.css +13 -10
  247. package/dist/css/dx-analytics.common.css +37 -15
  248. package/dist/css/dx-analytics.contrast.compact.css +37 -10
  249. package/dist/css/dx-analytics.contrast.css +37 -10
  250. package/dist/css/dx-analytics.dark.compact.css +13 -10
  251. package/dist/css/dx-analytics.dark.css +13 -10
  252. package/dist/css/dx-analytics.darkmoon.compact.css +13 -10
  253. package/dist/css/dx-analytics.darkmoon.css +13 -10
  254. package/dist/css/dx-analytics.darkviolet.compact.css +13 -10
  255. package/dist/css/dx-analytics.darkviolet.css +13 -10
  256. package/dist/css/dx-analytics.greenmist.compact.css +13 -10
  257. package/dist/css/dx-analytics.greenmist.css +13 -10
  258. package/dist/css/dx-analytics.light.compact.css +12 -9
  259. package/dist/css/dx-analytics.light.css +12 -9
  260. package/dist/css/dx-analytics.material.blue.dark.compact.css +17 -14
  261. package/dist/css/dx-analytics.material.blue.dark.css +17 -14
  262. package/dist/css/dx-analytics.material.blue.light.compact.css +26 -23
  263. package/dist/css/dx-analytics.material.blue.light.css +26 -23
  264. package/dist/css/dx-analytics.material.lime.dark.compact.css +17 -14
  265. package/dist/css/dx-analytics.material.lime.dark.css +17 -14
  266. package/dist/css/dx-analytics.material.lime.light.compact.css +16 -13
  267. package/dist/css/dx-analytics.material.lime.light.css +16 -13
  268. package/dist/css/dx-analytics.material.orange.dark.compact.css +17 -14
  269. package/dist/css/dx-analytics.material.orange.dark.css +17 -14
  270. package/dist/css/dx-analytics.material.orange.light.compact.css +16 -13
  271. package/dist/css/dx-analytics.material.orange.light.css +16 -13
  272. package/dist/css/dx-analytics.material.purple.dark.compact.css +17 -14
  273. package/dist/css/dx-analytics.material.purple.dark.css +17 -14
  274. package/dist/css/dx-analytics.material.purple.light.compact.css +16 -13
  275. package/dist/css/dx-analytics.material.purple.light.css +16 -13
  276. package/dist/css/dx-analytics.material.teal.dark.compact.css +17 -14
  277. package/dist/css/dx-analytics.material.teal.dark.css +17 -14
  278. package/dist/css/dx-analytics.material.teal.light.compact.css +16 -13
  279. package/dist/css/dx-analytics.material.teal.light.css +16 -13
  280. package/dist/css/dx-analytics.softblue.compact.css +13 -10
  281. package/dist/css/dx-analytics.softblue.css +13 -10
  282. package/dist/css/dx-querybuilder.css +7 -7
  283. package/dist/html/templates.html +3423 -3461
  284. package/dist/js/dx-analytics-core.d.ts +8951 -7005
  285. package/dist/js/dx-analytics-core.js +16753 -12987
  286. package/dist/js/dx-analytics-core.min.js +8 -8
  287. package/dist/js/dx-querybuilder.js +6246 -3858
  288. package/dist/js/dx-querybuilder.min.js +8 -8
  289. package/dx-analytics-core-bindings.generated.js +158 -178
  290. package/dx-analytics-core-imports.d.ts +0 -1
  291. package/dx-analytics-core-imports.js +0 -1
  292. package/dx-analytics-core-templates.generated.js +73 -73
  293. package/dx-dev-analytics-core-svg-bindings.generated.js +2 -1
  294. package/dx-dev-analytics-core-svg-templates.generated.js +2 -1
  295. package/dx-query-builder-bindings.generated.js +181 -194
  296. package/dx-query-builder-templates.generated.js +75 -79
  297. package/less/colors/carmine-colors.less +36 -35
  298. package/less/colors/contrast-colors.less +36 -35
  299. package/less/colors/dark-colors.less +35 -34
  300. package/less/colors/darkmoon-colors.less +35 -34
  301. package/less/colors/darkviolet-colors.less +35 -34
  302. package/less/colors/greenmist-colors.less +35 -34
  303. package/less/colors/light-colors.less +35 -34
  304. package/less/colors/material.dark-colors.less +10 -9
  305. package/less/colors/material.light-colors.less +5 -4
  306. package/less/colors/softblue-colors.less +35 -34
  307. package/less/common.less +128 -128
  308. package/less/dx-carmine-style.less +2 -2
  309. package/less/dx-contrast-style.less +133 -95
  310. package/less/dx-dark-style.less +1 -1
  311. package/less/dx-darkmoon-style.less +2 -2
  312. package/less/dx-darkviolet-style.less +2 -2
  313. package/less/dx-greenmist-style.less +2 -2
  314. package/less/dx-light-style.less +1 -1
  315. package/less/dx-material.blue.dark-style.less +4 -4
  316. package/less/dx-material.blue.light-style.less +4 -4
  317. package/less/dx-material.dark.fix-varialbles.less +24 -24
  318. package/less/dx-material.fix-style.less +1344 -1344
  319. package/less/dx-material.light.fix-varialbles.less +6 -6
  320. package/less/dx-material.lime.dark-style.less +5 -5
  321. package/less/dx-material.lime.light-style.less +5 -5
  322. package/less/dx-material.orange.dark-style.less +5 -5
  323. package/less/dx-material.orange.light-style.less +5 -5
  324. package/less/dx-material.purple.dark-style.less +5 -5
  325. package/less/dx-material.purple.light-style.less +5 -5
  326. package/less/dx-material.teal.dark-style.less +5 -5
  327. package/less/dx-material.teal.light-style.less +5 -5
  328. package/less/dx-softblue-style.less +2 -2
  329. package/less/dx-variable-style.less +461 -456
  330. package/less/important.less +426 -426
  331. package/less/svg.less +42 -42
  332. package/license/_license.tools.d.ts +4 -0
  333. package/license/_license.tools.js +13 -5
  334. package/package.json +5 -5
  335. package/property-grid/_propertiesAccessibilityProvider.d.ts +10 -3
  336. package/property-grid/_propertiesAccessibilityProvider.js +24 -18
  337. package/property-grid/bindings.accordion.js +11 -30
  338. package/property-grid/bindings.d.ts +3 -6
  339. package/property-grid/bindings.js +65 -69
  340. package/property-grid/internal/_addon.d.ts +32 -14
  341. package/property-grid/internal/_addon.js +100 -40
  342. package/property-grid/internal/_popupService.d.ts +26 -8
  343. package/property-grid/internal/_popupService.js +60 -9
  344. package/property-grid/localization/_localization.d.ts +5 -5
  345. package/property-grid/localization/_localization.js +1 -1
  346. package/property-grid/localization/localization_utils.d.ts +1 -1
  347. package/property-grid/propertygrid.d.ts +67 -33
  348. package/property-grid/propertygrid.js +232 -140
  349. package/property-grid/widgets/_undoEditor.d.ts +15 -0
  350. package/property-grid/widgets/_undoEditor.js +45 -0
  351. package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -5
  352. package/property-grid/widgets/collectioneditor/_bindings.js +72 -15
  353. package/property-grid/widgets/collectioneditor/_editor.d.ts +11 -9
  354. package/property-grid/widgets/collectioneditor/_editor.js +68 -76
  355. package/property-grid/widgets/editor.d.ts +101 -56
  356. package/property-grid/widgets/editor.js +242 -185
  357. package/property-grid/widgets/editor.viewmodel.d.ts +2 -0
  358. package/property-grid/widgets/editor.viewmodel.js +82 -42
  359. package/property-grid/widgets/editorValidator.d.ts +9 -10
  360. package/property-grid/widgets/editorValidator.js +9 -2
  361. package/property-grid/widgets/editorsInfo.d.ts +1 -0
  362. package/property-grid/widgets/editorsInfo.js +9 -0
  363. package/property-grid/widgets/ellipsiseditor/_editor.d.ts +2 -2
  364. package/property-grid/widgets/ellipsiseditor/_editor.js +1 -0
  365. package/property-grid/widgets/fonteditor/_fonts.d.ts +1 -2
  366. package/property-grid/widgets/fonteditor/_fonts.js +2 -2
  367. package/property-grid/widgets/fonteditor/_model.d.ts +23 -14
  368. package/property-grid/widgets/fonteditor/_model.js +79 -40
  369. package/property-grid/widgets/fonteditor/_modificatorsEditor.d.ts +28 -0
  370. package/property-grid/widgets/fonteditor/_modificatorsEditor.js +31 -0
  371. package/property-grid/widgets/fonteditor/editor.d.ts +7 -6
  372. package/property-grid/widgets/fonteditor/editor.js +12 -9
  373. package/property-grid/widgets/guideditor.d.ts +17 -4
  374. package/property-grid/widgets/guideditor.js +52 -5
  375. package/property-grid/widgets/internal/_bindingsCache.ko.js +11 -14
  376. package/property-grid/widgets/internal/_internal.d.ts +4 -3
  377. package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +1 -2
  378. package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +4 -7
  379. package/property-grid/widgets/internal/_utils.d.ts +21 -14
  380. package/property-grid/widgets/internal/_utils.js +8 -0
  381. package/property-grid/widgets/registerBaseEdtior.d.ts +1 -1
  382. package/property-grid/widgets/registerBaseEdtior.js +3 -3
  383. package/property-grid/widgets/registerBaseEdtior.native.d.ts +1 -1
  384. package/property-grid/widgets/registerBaseEdtior.native.js +14 -17
  385. package/query-builder/_accordionTabInfo.d.ts +12 -20
  386. package/query-builder/_accordionTabInfo.js +49 -30
  387. package/query-builder/_bindings.js +6 -5
  388. package/query-builder/_initializer.d.ts +11 -8
  389. package/query-builder/_initializer.js +205 -164
  390. package/query-builder/_previewDialog.d.ts +38 -0
  391. package/query-builder/_previewDialog.js +60 -0
  392. package/query-builder/_queryBuilderRootModel.d.ts +42 -0
  393. package/query-builder/_queryBuilderRootModel.js +70 -0
  394. package/query-builder/binding/jsQueryBuilder.d.ts +5 -7
  395. package/query-builder/binding/jsQueryBuilder.js +6 -12
  396. package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
  397. package/query-builder/binding/jsQueryBuilderBinding.js +15 -16
  398. package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +4 -4
  399. package/query-builder/dataSource/_utils.js +2 -2
  400. package/query-builder/dataSource/dataSourceParameter.d.ts +18 -12
  401. package/query-builder/dataSource/dataSourceParameter.js +73 -54
  402. package/query-builder/dataSource/dbSchemaProvider.js +9 -7
  403. package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +8 -9
  404. package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +14 -14
  405. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +4 -5
  406. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +8 -9
  407. package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +9 -10
  408. package/query-builder/dataSource/federation/federatedQueries/subNode.js +18 -19
  409. package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +13 -14
  410. package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +14 -14
  411. package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +5 -6
  412. package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +5 -7
  413. package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +7 -8
  414. package/query-builder/dataSource/federation/federatedQueriesContainer.js +32 -25
  415. package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +6 -5
  416. package/query-builder/dataSource/federation/federatedQueryExpression.js +4 -4
  417. package/query-builder/dataSource/federation/federationDataSource.d.ts +8 -9
  418. package/query-builder/dataSource/federation/federationDataSource.js +14 -14
  419. package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -1
  420. package/query-builder/dataSource/federation/federationMasterDetailRelation.js +4 -4
  421. package/query-builder/dataSource/federation/federationSerializableModel.d.ts +1 -2
  422. package/query-builder/dataSource/federation/federationSerializableModel.js +10 -11
  423. package/query-builder/dataSource/federation/federationSource.d.ts +6 -6
  424. package/query-builder/dataSource/federation/federationSource.js +7 -9
  425. package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +4 -4
  426. package/query-builder/dataSource/json/jsonAuthenticationInfo.js +4 -4
  427. package/query-builder/dataSource/json/jsonDataSource.d.ts +5 -6
  428. package/query-builder/dataSource/json/jsonDataSource.js +7 -7
  429. package/query-builder/dataSource/json/jsonParameter.d.ts +42 -17
  430. package/query-builder/dataSource/json/jsonParameter.js +60 -23
  431. package/query-builder/dataSource/json/jsonSchemaNode.d.ts +7 -7
  432. package/query-builder/dataSource/json/jsonSchemaNode.js +19 -11
  433. package/query-builder/dataSource/json/jsonSchemaProvider.js +6 -5
  434. package/query-builder/dataSource/json/jsonSource.d.ts +8 -10
  435. package/query-builder/dataSource/json/jsonSource.js +18 -21
  436. package/query-builder/dataSource/mongoDB/mongoDBDataConnection.js +2 -2
  437. package/query-builder/dataSource/mongoDB/mongoDBDataSource.d.ts +4 -4
  438. package/query-builder/dataSource/mongoDB/mongoDBDataSource.js +11 -9
  439. package/query-builder/dataSource/mongoDB/mongoDBQuery.d.ts +7 -6
  440. package/query-builder/dataSource/mongoDB/mongoDBQuery.js +15 -15
  441. package/query-builder/dataSource/object/objectDataSource.d.ts +3 -4
  442. package/query-builder/dataSource/object/objectDataSource.js +13 -8
  443. package/query-builder/dataSource/object/objectSchema.d.ts +2 -3
  444. package/query-builder/dataSource/object/objectSchema.js +4 -5
  445. package/query-builder/dataSource/resultSet.d.ts +3 -3
  446. package/query-builder/dataSource/resultSet.js +7 -6
  447. package/query-builder/dataSource/resultTable.d.ts +7 -7
  448. package/query-builder/dataSource/resultTable.js +4 -4
  449. package/query-builder/dataSource/sql/connectionOptions.d.ts +4 -4
  450. package/query-builder/dataSource/sql/connectionOptions.js +5 -9
  451. package/query-builder/dataSource/sql/customSqlQuery.d.ts +6 -6
  452. package/query-builder/dataSource/sql/customSqlQuery.js +9 -8
  453. package/query-builder/dataSource/sql/dataConnectionBase.d.ts +5 -5
  454. package/query-builder/dataSource/sql/dataConnectionBase.js +5 -8
  455. package/query-builder/dataSource/sql/masterDetailRelation.d.ts +13 -12
  456. package/query-builder/dataSource/sql/masterDetailRelation.js +9 -25
  457. package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +1 -0
  458. package/query-builder/dataSource/sql/masterDetailRelationMeta.js +6 -7
  459. package/query-builder/dataSource/sql/sqlDataSource.d.ts +6 -7
  460. package/query-builder/dataSource/sql/sqlDataSource.js +13 -13
  461. package/query-builder/dataSource/sql/storedProcQuery.d.ts +6 -6
  462. package/query-builder/dataSource/sql/storedProcQuery.js +10 -9
  463. package/query-builder/dataSource/sql/tableQuery.d.ts +8 -8
  464. package/query-builder/dataSource/sql/tableQuery.js +10 -9
  465. package/query-builder/dataSource/utils.d.ts +7 -8
  466. package/query-builder/dragDrop/_columnDragHandler.d.ts +5 -6
  467. package/query-builder/dragDrop/_columnDragHandler.js +41 -29
  468. package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -8
  469. package/query-builder/dragDrop/_dbObjectDragDropHandler.js +14 -12
  470. package/query-builder/elements/_federationColumnModel.d.ts +7 -7
  471. package/query-builder/elements/_federationColumnModel.js +4 -4
  472. package/query-builder/elements/_federationQueryModel.d.ts +22 -23
  473. package/query-builder/elements/_federationQueryModel.js +50 -43
  474. package/query-builder/elements/allColumnsModel.d.ts +7 -8
  475. package/query-builder/elements/allColumnsModel.js +22 -24
  476. package/query-builder/elements/allColumnsSurface.d.ts +14 -11
  477. package/query-builder/elements/allColumnsSurface.js +25 -14
  478. package/query-builder/elements/columnExpression.d.ts +21 -16
  479. package/query-builder/elements/columnExpression.js +50 -22
  480. package/query-builder/elements/columnModel.d.ts +19 -18
  481. package/query-builder/elements/columnModel.js +115 -100
  482. package/query-builder/elements/columnSurface.d.ts +25 -22
  483. package/query-builder/elements/columnSurface.js +56 -31
  484. package/query-builder/elements/joinConditionModel.d.ts +14 -16
  485. package/query-builder/elements/joinConditionModel.js +32 -18
  486. package/query-builder/elements/joinConditionSurface.d.ts +3 -3
  487. package/query-builder/elements/joinConditionSurface.js +4 -8
  488. package/query-builder/elements/parameterModel.d.ts +3 -6
  489. package/query-builder/elements/parameterModel.js +3 -2
  490. package/query-builder/elements/queryElementModel.d.ts +4 -3
  491. package/query-builder/elements/queryElementModel.js +2 -2
  492. package/query-builder/elements/queryElementSurface.d.ts +3 -5
  493. package/query-builder/elements/queryElementSurface.js +5 -14
  494. package/query-builder/elements/queryModel.d.ts +43 -41
  495. package/query-builder/elements/queryModel.js +193 -159
  496. package/query-builder/elements/queryModelMeta.js +1 -1
  497. package/query-builder/elements/querySurface.d.ts +42 -22
  498. package/query-builder/elements/querySurface.js +88 -42
  499. package/query-builder/elements/relationModel.d.ts +17 -17
  500. package/query-builder/elements/relationModel.js +26 -20
  501. package/query-builder/elements/relationSurface.d.ts +10 -7
  502. package/query-builder/elements/relationSurface.js +11 -5
  503. package/query-builder/elements/tableModel.d.ts +24 -27
  504. package/query-builder/elements/tableModel.js +80 -67
  505. package/query-builder/elements/tableSurface.d.ts +28 -11
  506. package/query-builder/elements/tableSurface.js +49 -14
  507. package/query-builder/utils/_callbacks.d.ts +2 -2
  508. package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +9 -10
  509. package/query-builder/utils/_columnExpressionCollectionHelper.js +38 -22
  510. package/query-builder/utils/_controlsFactory.js +15 -15
  511. package/query-builder/utils/_dataConnection.js +2 -2
  512. package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +6 -6
  513. package/query-builder/utils/_jsonSchemaFieldListProviderFactory.d.ts +2 -1
  514. package/query-builder/utils/_jsonSchemaFieldListProviderFactory.js +7 -7
  515. package/query-builder/utils/_queryBuilderTreeListController.d.ts +4 -5
  516. package/query-builder/utils/requestwrapper.js +8 -8
  517. package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
  518. package/query-builder/widgets/_federatedQueriesHelper.js +13 -12
  519. package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +25 -10
  520. package/query-builder/widgets/_manageFederatedQueriesEditor.js +48 -22
  521. package/query-builder/widgets/_parameterExpressionEditor.d.ts +8 -0
  522. package/query-builder/widgets/_parameterExpressionEditor.js +7 -0
  523. package/query-builder/widgets/_rightPanelSwitcher.d.ts +17 -14
  524. package/query-builder/widgets/_rightPanelSwitcher.js +45 -19
  525. package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +1 -1
  526. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +29 -9
  527. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +60 -23
  528. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +10 -10
  529. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +8 -9
  530. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +1 -2
  531. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +4 -6
  532. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +4 -4
  533. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +6 -7
  534. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +13 -11
  535. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +15 -14
  536. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +27 -11
  537. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +56 -11
  538. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +22 -15
  539. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +52 -46
  540. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +29 -10
  541. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +41 -25
  542. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +44 -16
  543. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +80 -21
  544. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +25 -9
  545. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +58 -22
  546. package/query-builder/widgets/registerEditorTemplates.d.ts +1 -1
  547. package/query-builder/widgets/registerEditorTemplates.js +7 -5
  548. package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +1 -1
  549. package/query-builder/wizard/chooseAvailableDataSourcePage.js +4 -4
  550. package/query-builder/wizard/chooseAvailablePage.d.ts +31 -11
  551. package/query-builder/wizard/chooseAvailablePage.js +64 -17
  552. package/query-builder/wizard/dataSourceWizard.d.ts +8 -6
  553. package/query-builder/wizard/dataSourceWizard.js +12 -13
  554. package/query-builder/wizard/dataSourceWizardState.d.ts +1 -1
  555. package/query-builder/wizard/dataSourceWizardState.js +11 -8
  556. package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +16 -7
  557. package/query-builder/wizard/fullscreen/fullscreenWizard.js +50 -16
  558. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +29 -8
  559. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +80 -31
  560. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +32 -9
  561. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +85 -12
  562. package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +1 -1
  563. package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +1 -1
  564. package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
  565. package/query-builder/wizard/fullscreen/pages/specifyMongoDBDataSourceSettingsPage.js +1 -1
  566. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +17 -3
  567. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +28 -20
  568. package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
  569. package/query-builder/wizard/internal/_configureParametersUtils.d.ts +16 -17
  570. package/query-builder/wizard/internal/_configureParametersUtils.js +19 -11
  571. package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.d.ts +9 -0
  572. package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.js +31 -0
  573. package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +15 -14
  574. package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +63 -60
  575. package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +3 -3
  576. package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +28 -12
  577. package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +45 -20
  578. package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +34 -34
  579. package/query-builder/wizard/internal/_jsonSourceSettings.js +170 -137
  580. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
  581. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +4 -3
  582. package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +39 -22
  583. package/query-builder/wizard/internal/_queryBuilderPopup.js +83 -30
  584. package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
  585. package/query-builder/wizard/internal/_selectStatementPopup.d.ts +31 -0
  586. package/query-builder/wizard/internal/_selectStatementPopup.js +63 -0
  587. package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +42 -16
  588. package/query-builder/wizard/internal/_selectStatementQueryControl.js +84 -42
  589. package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +33 -11
  590. package/query-builder/wizard/internal/_storedProceduresQueryControl.js +71 -26
  591. package/query-builder/wizard/internal/_treeListNode.d.ts +60 -23
  592. package/query-builder/wizard/internal/_treeListNode.js +206 -108
  593. package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +7 -4
  594. package/query-builder/wizard/internal/_treeNodeItemsProvider.js +30 -31
  595. package/query-builder/wizard/internal/_utils.d.ts +13 -17
  596. package/query-builder/wizard/internal/_utils.js +4 -35
  597. package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +1 -2
  598. package/query-builder/wizard/internal/_wizardPageProcessor.js +12 -13
  599. package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +3 -3
  600. package/query-builder/wizard/internal/_wizardPageSectionIterator.js +16 -7
  601. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +3 -3
  602. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +3 -3
  603. package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +1 -1
  604. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +27 -8
  605. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +52 -10
  606. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +32 -14
  607. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +184 -102
  608. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
  609. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
  610. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +46 -12
  611. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +131 -65
  612. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +4 -2
  613. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +6 -4
  614. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
  615. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +16 -15
  616. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +35 -8
  617. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +130 -62
  618. package/query-builder/wizard/internal/initializer.d.ts +8 -4
  619. package/query-builder/wizard/internal/jsonSourceSettings.d.ts +25 -8
  620. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +20 -6
  621. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +49 -16
  622. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +29 -16
  623. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +93 -57
  624. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +20 -11
  625. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +60 -29
  626. package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +1 -1
  627. package/query-builder/wizard/multiQueryDataSourceWizard.js +5 -5
  628. package/query-builder/wizard/pages/IWizardPage.d.ts +4 -1
  629. package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +1 -0
  630. package/query-builder/wizard/pages/__wrappedWizardPage.js +18 -1
  631. package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +21 -3
  632. package/query-builder/wizard/pages/chooseDataSourceTypePage.js +54 -9
  633. package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +19 -6
  634. package/query-builder/wizard/pages/chooseSqlConnectionPage.js +51 -24
  635. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +0 -4
  636. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +6 -9
  637. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +20 -18
  638. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +78 -48
  639. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +6 -6
  640. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +3 -3
  641. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +26 -9
  642. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +106 -60
  643. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +51 -21
  644. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +90 -42
  645. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +8 -4
  646. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +8 -2
  647. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.d.ts +33 -10
  648. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.js +90 -55
  649. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.d.ts +2 -2
  650. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.js +5 -5
  651. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.d.ts +19 -7
  652. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.js +73 -37
  653. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +0 -4
  654. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +5 -11
  655. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +13 -6
  656. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +52 -37
  657. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +59 -71
  658. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +162 -113
  659. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +16 -10
  660. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +75 -70
  661. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +7 -1
  662. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +19 -10
  663. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -2
  664. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +15 -8
  665. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +10 -4
  666. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +10 -5
  667. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +1 -1
  668. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +9 -9
  669. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +13 -4
  670. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +37 -14
  671. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +33 -10
  672. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +102 -49
  673. package/query-builder/wizard/pages/wizardPageBase.d.ts +10 -2
  674. package/query-builder/wizard/pages/wizardPageBase.js +20 -5
  675. package/query-builder/wizard/popupWizard.d.ts +37 -100
  676. package/query-builder/wizard/popupWizard.js +72 -37
  677. package/query-builder/wizard/wizard.d.ts +20 -8
  678. package/query-builder/wizard/wizard.js +55 -23
  679. package/queryBuilder-internal.d.ts +4 -2
  680. package/queryBuilder-internal.js +4 -2
  681. package/queryBuilder-widgets-internal.d.ts +2 -2
  682. package/queryBuilder-widgets-internal.js +2 -2
  683. package/serializer/_internal.d.ts +2 -0
  684. package/serializer/_internal.js +20 -10
  685. package/serializer/disposable.d.ts +7 -6
  686. package/serializer/disposable.js +18 -11
  687. package/serializer/eventManager.d.ts +3 -2
  688. package/serializer/eventManager.js +26 -17
  689. package/serializer/native/deserializationEngine.d.ts +42 -3
  690. package/serializer/native/deserializationEngine.js +221 -83
  691. package/serializer/native/deserializationEngine.updateViewModel.js +28 -12
  692. package/serializer/native/diagnostics/derivedCacheDiagnostics.d.ts +10 -0
  693. package/serializer/native/diagnostics/derivedCacheDiagnostics.js +65 -0
  694. package/serializer/native/modelGraph.d.ts +10 -0
  695. package/serializer/native/modelGraph.js +92 -0
  696. package/serializer/native/models/base.model.d.ts +29 -41
  697. package/serializer/native/models/base.model.js +75 -96
  698. package/serializer/native/models/derivedAccessor.d.ts +33 -0
  699. package/serializer/native/models/derivedAccessor.js +231 -0
  700. package/serializer/native/models/interfaces.model.d.ts +21 -5
  701. package/serializer/native/models/interfaces.model.js +24 -1
  702. package/serializer/native/models/valueAccessor.d.ts +21 -0
  703. package/serializer/native/models/valueAccessor.js +77 -0
  704. package/serializer/native/multiplatformEngine.d.ts +11 -35
  705. package/serializer/native/multiplatformEngine.js +16 -142
  706. package/serializer/native/serializer.d.ts +16 -1
  707. package/serializer/native/serializer.js +87 -23
  708. package/serializer/native/viewModels/viewModelGenerator.d.ts +1 -0
  709. package/serializer/native/viewModels/viewModelGenerator.js +35 -40
  710. package/serializer/propertyChangedEvents.d.ts +16 -1
  711. package/serializer/propertyChangedEvents.js +57 -1
  712. package/serializer/serializationInfo.d.ts +10 -15
  713. package/serializer/serializer.d.ts +2 -14
  714. package/serializer/serializer.js +1 -40
  715. package/undo-engine/_utils.d.ts +2 -1
  716. package/undo-engine/_utils.js +1 -1
  717. package/undo-engine/undoengine.d.ts +59 -27
  718. package/undo-engine/undoengine.js +209 -201
  719. package/widgets/_hotKeys.d.ts +15 -0
  720. package/widgets/_hotKeys.js +150 -0
  721. package/widgets/_searchHighlighting.binding.d.ts +2 -5
  722. package/widgets/_searchHighlighting.binding.js +17 -20
  723. package/widgets/_searchHighlighting.d.ts +6 -3
  724. package/widgets/_searchHighlighting.js +8 -6
  725. package/widgets/ace/_binding.js +18 -17
  726. package/widgets/bindings.js +23 -21
  727. package/widgets/common/_codeCompletor.d.ts +8 -7
  728. package/widgets/common/_codeCompletor.js +13 -11
  729. package/widgets/common/displayNameProvider.d.ts +1 -0
  730. package/widgets/criteria/operators/options/function.d.ts +26 -1
  731. package/widgets/criteria/operators/options/function.js +25 -0
  732. package/widgets/criteria/parser/criteriaparser.d.ts +5 -5
  733. package/widgets/criteria/parser/criteriaparser.js +910 -910
  734. package/widgets/expressioneditor/_expressionOptionsBase.d.ts +39 -0
  735. package/widgets/expressioneditor/_expressionOptionsBase.js +72 -0
  736. package/widgets/expressioneditor/aiExpressionGenerator.d.ts +34 -41
  737. package/widgets/expressioneditor/aiExpressionGenerator.js +86 -56
  738. package/widgets/expressioneditor/bindings.d.ts +18 -1
  739. package/widgets/expressioneditor/bindings.js +34 -14
  740. package/widgets/expressioneditor/expressioneditor.d.ts +70 -26
  741. package/widgets/expressioneditor/expressioneditor.js +194 -116
  742. package/widgets/expressioneditor/tools/_functions.js +31 -0
  743. package/widgets/expressioneditor/tools/_tools.d.ts +168 -35
  744. package/widgets/expressioneditor/tools/_tools.js +365 -145
  745. package/widgets/expressioneditor/tools/_treeListControllers.d.ts +14 -13
  746. package/widgets/filtereditor/filtereditor.d.ts +102 -42
  747. package/widgets/filtereditor/filtereditor.js +395 -263
  748. package/widgets/filtereditor/filtereditoroptions.d.ts +15 -11
  749. package/widgets/filtereditor/filtereditoroptions.js +19 -17
  750. package/widgets/filtereditor/helpers/_addon.d.ts +31 -8
  751. package/widgets/filtereditor/helpers/_addon.js +71 -34
  752. package/widgets/filtereditor/helpers/_treelistController.d.ts +7 -8
  753. package/widgets/filtereditor/helpers/_treelistController.js +13 -5
  754. package/widgets/filtereditor/helpers/helper.d.ts +11 -3
  755. package/widgets/filtereditor/helpers/helper.js +20 -17
  756. package/widgets/filtereditor/operators/_criteriaTypeState.d.ts +7 -0
  757. package/widgets/filtereditor/operators/_criteriaTypeState.js +17 -0
  758. package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +16 -8
  759. package/widgets/filtereditor/operators/aggregateOperandSurface.js +47 -23
  760. package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +16 -8
  761. package/widgets/filtereditor/operators/betweenOperandSurface.js +30 -15
  762. package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +14 -7
  763. package/widgets/filtereditor/operators/binaryOperandSurface.js +25 -12
  764. package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +52 -18
  765. package/widgets/filtereditor/operators/criteriaOperatorSurface.js +133 -38
  766. package/widgets/filtereditor/operators/functionOperandSurface.d.ts +13 -7
  767. package/widgets/filtereditor/operators/functionOperandSurface.js +41 -22
  768. package/widgets/filtereditor/operators/groupOperandSurface.d.ts +12 -5
  769. package/widgets/filtereditor/operators/groupOperandSurface.js +33 -16
  770. package/widgets/filtereditor/operators/inOperandSurface.d.ts +16 -7
  771. package/widgets/filtereditor/operators/inOperandSurface.js +27 -13
  772. package/widgets/filtereditor/operators/operandParameterSurface.d.ts +12 -5
  773. package/widgets/filtereditor/operators/operandParameterSurface.js +21 -15
  774. package/widgets/filtereditor/operators/operandPropertySurface.d.ts +20 -11
  775. package/widgets/filtereditor/operators/operandPropertySurface.js +67 -46
  776. package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +4 -4
  777. package/widgets/filtereditor/operators/operandSurfaceBase.js +6 -33
  778. package/widgets/filtereditor/operators/operandValueSurface.d.ts +47 -76
  779. package/widgets/filtereditor/operators/operandValueSurface.js +149 -110
  780. package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +12 -6
  781. package/widgets/filtereditor/operators/unaryOperandSurface.js +24 -17
  782. package/widgets/formatstring/binding.d.ts +15 -1
  783. package/widgets/formatstring/binding.js +19 -6
  784. package/widgets/formatstring/formatstringeditor.d.ts +64 -21
  785. package/widgets/formatstring/formatstringeditor.js +184 -116
  786. package/widgets/internal/_popupComponentBase.d.ts +4 -4
  787. package/widgets/internal/_resizeHelper.d.ts +5 -4
  788. package/widgets/internal/_resizeHelper.js +5 -6
  789. package/widgets/treelist/_binding.d.ts +1 -2
  790. package/widgets/treelist/_binding.js +9 -20
  791. package/widgets/treelist/_ko_binging.js +15 -13
  792. package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +7 -7
  793. package/widgets/treelist/_reorderTreeListDragDropHelper.js +8 -7
  794. package/widgets/treelist/_treeListSearchModel.d.ts +32 -0
  795. package/widgets/treelist/_treeListSearchModel.js +133 -0
  796. package/widgets/treelist/_treelistController.d.ts +26 -22
  797. package/widgets/treelist/_treelistController.js +3 -1
  798. package/widgets/treelist/_treelistItem.d.ts +36 -36
  799. package/widgets/treelist/_treelistItem.js +113 -104
  800. package/widgets/treelist/_treelistItem.viewModel.d.ts +26 -11
  801. package/widgets/treelist/_treelistItem.viewModel.js +55 -7
  802. package/widgets/utils.d.ts +22 -17
  803. package/core/elements/elementViewModel.d.ts +0 -94
  804. package/core/elements/elementViewModel.js +0 -180
  805. package/core/utils/_koUtils.d.ts +0 -7
  806. package/core/utils/_koUtils.js +0 -11
  807. package/core/utils/_utils.wrapModelInObservable.d.ts +0 -2
  808. package/core/utils/_utils.wrapModelInObservable.js +0 -5
  809. package/core/widgets/bordereditor/_binding.d.ts +0 -1
  810. package/core/widgets/bordereditor/_binding.js +0 -16
  811. package/core/widgets/textAlignmentEditor/_binding.d.ts +0 -1
  812. package/core/widgets/textAlignmentEditor/_binding.js +0 -16
  813. package/diagram/elements/diagramElementViewModel.d.ts +0 -10
  814. package/diagram/elements/diagramElementViewModel.js +0 -13
  815. package/property-grid/widgets/collectioneditor/_ko_model.d.ts +0 -4
  816. package/property-grid/widgets/collectioneditor/_ko_model.js +0 -66
  817. package/query-builder/_queryBuilderModel.d.ts +0 -36
  818. package/query-builder/_queryBuilderModel.js +0 -1
  819. package/query-builder/widgets/_undoEditor.d.ts +0 -9
  820. package/query-builder/widgets/_undoEditor.js +0 -22
  821. package/query-builder/wizard/internal/_wizardAction.d.ts +0 -8
  822. package/query-builder/wizard/internal/_wizardAction.js +0 -9
  823. package/serializer/native/models/modelAccessor.d.ts +0 -2
  824. package/serializer/native/models/modelAccessor.js +0 -6
  825. package/serializer/utils.d.ts +0 -2
  826. package/serializer/utils.js +0 -5
  827. package/undo-engine/_propertiesVisitor.d.ts +0 -1
  828. package/undo-engine/_propertiesVisitor.js +0 -25
  829. package/widgets/expressioneditor/_expressioneditor.d.ts +0 -8
  830. package/widgets/expressioneditor/_expressioneditor.js +0 -54
  831. package/widgets/treelist/_ko_treelistUtils.d.ts +0 -8
  832. package/widgets/treelist/_ko_treelistUtils.js +0 -55
  833. package/widgets/treelist/_treeListSearchViewModel.d.ts +0 -19
  834. package/widgets/treelist/_treeListSearchViewModel.js +0 -108
@@ -0,0 +1,150 @@
1
+ import devices from 'devextreme/core/devices';
2
+ import { getLocalization } from '../property-grid/localization/_localization';
3
+ const KeyCode = {
4
+ ArrowLeft: 37,
5
+ ArrowUp: 38,
6
+ ArrowRight: 39,
7
+ ArrowDown: 40,
8
+ Digit0: 48,
9
+ Digit9: 57,
10
+ A: 65,
11
+ Z: 90,
12
+ Numpad0: 96,
13
+ Numpad9: 105,
14
+ NumpadAdd: 107,
15
+ NumpadSubtract: 109,
16
+ Equal: 187,
17
+ Minus: 189,
18
+ Slash: 191
19
+ };
20
+ function sameLabels(key, spoken = key) {
21
+ return { display: key, aria: key, spoken: spoken };
22
+ }
23
+ const KEY_TEXT = {
24
+ leftArrow: () => getLocalization('Left Arrow', 'AnalyticsCoreStringId.KeyName_LeftArrow'),
25
+ upArrow: () => getLocalization('Up Arrow', 'AnalyticsCoreStringId.KeyName_UpArrow'),
26
+ rightArrow: () => getLocalization('Right Arrow', 'AnalyticsCoreStringId.KeyName_RightArrow'),
27
+ downArrow: () => getLocalization('Down Arrow', 'AnalyticsCoreStringId.KeyName_DownArrow'),
28
+ plus: () => getLocalization('Plus', 'AnalyticsCoreStringId.KeyName_Plus'),
29
+ minus: () => getLocalization('Minus', 'AnalyticsCoreStringId.KeyName_Minus'),
30
+ questionMark: () => getLocalization('Question Mark', 'AnalyticsCoreStringId.KeyName_QuestionMark')
31
+ };
32
+ function wordKey(text, aria, display = text) {
33
+ return { display: display, aria: aria, spoken: text };
34
+ }
35
+ function getNamedKeyLabels(keyCode) {
36
+ switch (keyCode) {
37
+ case KeyCode.ArrowLeft: return wordKey(KEY_TEXT.leftArrow(), 'ArrowLeft');
38
+ case KeyCode.ArrowUp: return wordKey(KEY_TEXT.upArrow(), 'ArrowUp');
39
+ case KeyCode.ArrowRight: return wordKey(KEY_TEXT.rightArrow(), 'ArrowRight');
40
+ case KeyCode.ArrowDown: return wordKey(KEY_TEXT.downArrow(), 'ArrowDown');
41
+ case KeyCode.NumpadAdd:
42
+ case KeyCode.Equal: return wordKey(KEY_TEXT.plus(), '+');
43
+ case KeyCode.NumpadSubtract:
44
+ case KeyCode.Minus: return wordKey(KEY_TEXT.minus(), '-');
45
+ default: return null;
46
+ }
47
+ }
48
+ const NAMED_KEY_CODES = {
49
+ ArrowLeft: KeyCode.ArrowLeft,
50
+ ArrowUp: KeyCode.ArrowUp,
51
+ ArrowRight: KeyCode.ArrowRight,
52
+ ArrowDown: KeyCode.ArrowDown,
53
+ '+': KeyCode.Equal,
54
+ '-': KeyCode.Minus
55
+ };
56
+ function getShiftedSymbolLabels(hotKey) {
57
+ const isQuestionMark = hotKey.key !== undefined ? hotKey.key === '?' : hotKey.shiftKey && hotKey.keyCode === KeyCode.Slash;
58
+ if (!isQuestionMark)
59
+ return null;
60
+ const questionMark = KEY_TEXT.questionMark();
61
+ return wordKey(questionMark, '?', `${questionMark} (?)`);
62
+ }
63
+ const MODIFIER_ORDER = ['ctrlKey', 'altKey', 'shiftKey'];
64
+ const MODIFIER_LABELS = {
65
+ ctrlKey: { display: 'Ctrl', aria: 'Control', spoken: 'Control' },
66
+ altKey: sameLabels('Alt'),
67
+ shiftKey: sameLabels('Shift')
68
+ };
69
+ const MAC_MODIFIER_LABELS = {
70
+ ctrlKey: { display: 'Cmd', aria: 'Meta', spoken: 'Command' },
71
+ altKey: sameLabels('Option'),
72
+ shiftKey: sameLabels('Shift')
73
+ };
74
+ export function isMacOs() {
75
+ return !!devices.real()['mac'];
76
+ }
77
+ function getKeyLabels(keyCode) {
78
+ const namedKey = getNamedKeyLabels(keyCode);
79
+ if (namedKey)
80
+ return namedKey;
81
+ if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z || keyCode >= KeyCode.Digit0 && keyCode <= KeyCode.Digit9)
82
+ return sameLabels(String.fromCharCode(keyCode));
83
+ if (keyCode >= KeyCode.Numpad0 && keyCode <= KeyCode.Numpad9)
84
+ return sameLabels(String(keyCode - KeyCode.Numpad0));
85
+ return null;
86
+ }
87
+ function getKeyLabelsFromKey(key) {
88
+ if (!key)
89
+ return null;
90
+ return getNamedKeyLabels(NAMED_KEY_CODES[key]) || sameLabels(key.length === 1 ? key.toUpperCase() : key);
91
+ }
92
+ function getHotKeyParts(hotKey, kind) {
93
+ const shiftedSymbol = getShiftedSymbolLabels(hotKey);
94
+ const keyLabels = shiftedSymbol || (hotKey.key !== undefined ? getKeyLabelsFromKey(hotKey.key) : getKeyLabels(hotKey.keyCode));
95
+ if (!keyLabels)
96
+ return null;
97
+ const modifierLabels = isMacOs() ? MAC_MODIFIER_LABELS : MODIFIER_LABELS;
98
+ const parts = MODIFIER_ORDER
99
+ .filter(modifier => hotKey[modifier] && !(shiftedSymbol && modifier === 'shiftKey'))
100
+ .map(modifier => modifierLabels[modifier][kind]);
101
+ parts.push(keyLabels[kind]);
102
+ return parts;
103
+ }
104
+ function mapHotKeyParts(hotKey, kind) {
105
+ if (!hotKey)
106
+ return [];
107
+ const result = [];
108
+ const spelled = new Set();
109
+ (Array.isArray(hotKey) ? hotKey : [hotKey]).forEach(item => {
110
+ const parts = item && getHotKeyParts(item, kind);
111
+ if (!parts || spelled.has(parts.join('+')))
112
+ return;
113
+ spelled.add(parts.join('+'));
114
+ result.push(parts);
115
+ });
116
+ return result;
117
+ }
118
+ export function getHotKeyDisplayParts(hotKey) {
119
+ return mapHotKeyParts(hotKey, 'display');
120
+ }
121
+ export function getHotKeyDisplayText(hotKey) {
122
+ return mapHotKeyParts(hotKey, 'display').map(parts => parts.join('+')).join(', ');
123
+ }
124
+ export function getHotKeySpokenText(hotKey) {
125
+ return mapHotKeyParts(hotKey, 'spoken').map(parts => parts.join(' ')).join(', ');
126
+ }
127
+ export function getAriaKeyShortcuts(hotKey) {
128
+ return mapHotKeyParts(hotKey, 'aria').map(parts => parts.join('+')).join(' ');
129
+ }
130
+ export function getHotKeyTitle(text, hotKey) {
131
+ const displayText = getHotKeyDisplayText(hotKey);
132
+ return displayText ? `${text} (${displayText})` : text;
133
+ }
134
+ function matchesSingleHotKey(hotKey, e, isMac) {
135
+ const ctrlPressed = isMac ? e.metaKey : e.ctrlKey;
136
+ if ((hotKey.ctrlKey ?? false) !== ctrlPressed)
137
+ return false;
138
+ const altMatches = (hotKey.altKey ?? false) === e.altKey;
139
+ const shiftMatches = hotKey.shiftKey === undefined || hotKey.shiftKey === e.shiftKey;
140
+ const keyMatches = hotKey.key !== undefined ? e.key === hotKey.key : hotKey.keyCode === e.keyCode;
141
+ return keyMatches && altMatches && shiftMatches;
142
+ }
143
+ export function matchesHotKey(hotKey, e) {
144
+ if (!hotKey)
145
+ return false;
146
+ const isMac = isMacOs();
147
+ return Array.isArray(hotKey)
148
+ ? hotKey.some(item => !!item && matchesSingleHotKey(item, e, isMac))
149
+ : matchesSingleHotKey(hotKey, e, isMac);
150
+ }
@@ -1,5 +1,2 @@
1
- import { Disposable } from '../serializer/disposable';
2
- export declare function cloneHtmlBinding(data: {
3
- content: any;
4
- update: (options: any) => void;
5
- } & Disposable, element: any, valueAccessor: any, allBindings: any, viewModel: any, bindingContext: any): void;
1
+ import { HighlightEngine, ISearchHighlightOptions } from './_searchHighlighting';
2
+ export declare function cloneHtmlBinding(data: HighlightEngine, element: any, valueAccessor: () => ISearchHighlightOptions, allBindings: any, viewModel: any, bindingContext: any): void;
@@ -1,31 +1,28 @@
1
- import * as ko from 'knockout';
2
1
  import { addDisposeCallback } from '../serializer/_internal';
3
2
  import { HighlightEngine } from './_searchHighlighting';
3
+ import { getKoBinding, registerKoBinding } from '../core/internal/_ko_integration';
4
4
  export function cloneHtmlBinding(data, element, valueAccessor, allBindings, viewModel, bindingContext) {
5
5
  addDisposeCallback(element, function () {
6
6
  data.dispose();
7
7
  });
8
8
  setTimeout(() => {
9
- let isInitialized = false;
10
- ko.computed({
11
- read: () => {
12
- if (!isInitialized && ko.bindingHandlers['html'].init) {
13
- ko.bindingHandlers['html'].init(element, () => { return data.content; }, allBindings, viewModel, bindingContext);
14
- isInitialized = true;
15
- }
16
- if (ko.bindingHandlers['html'].update) {
17
- ko.bindingHandlers['html'].update(element, () => {
18
- data.update(valueAccessor());
19
- return data.content;
20
- }, allBindings, viewModel, bindingContext);
21
- }
22
- },
23
- disposeWhenNodeIsRemoved: element
24
- });
9
+ const render = () => {
10
+ getKoBinding('html')?.update?.(element, () => data.content, allBindings, viewModel, bindingContext);
11
+ };
12
+ data.update(valueAccessor());
13
+ getKoBinding('html')?.init?.(element, () => { return data.content; }, allBindings, viewModel, bindingContext);
14
+ render();
15
+ addDisposeCallback(element, data.changeSignal(render));
25
16
  }, 1);
26
17
  }
27
- ko.bindingHandlers['searchHighlighting'] = {
18
+ const engines = new WeakMap();
19
+ registerKoBinding('searchHighlighting', {
28
20
  init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
29
- cloneHtmlBinding(new HighlightEngine(valueAccessor()), element, valueAccessor, allBindings, viewModel, bindingContext);
21
+ const engine = new HighlightEngine(valueAccessor());
22
+ engines.set(element, engine);
23
+ cloneHtmlBinding(engine, element, valueAccessor, allBindings, viewModel, bindingContext);
24
+ },
25
+ update: function (element, valueAccessor) {
26
+ engines.get(element)?.update(valueAccessor());
30
27
  }
31
- };
28
+ });
@@ -1,9 +1,9 @@
1
- import { Observable, Computed } from 'knockout';
2
1
  import { ISearchOptions } from '../property-grid/widgets/internal/_utils';
2
+ import { MaybeAccessor } from '../serializer/native/models/valueAccessor';
3
3
  import { Disposable } from '../serializer/disposable';
4
4
  export interface ISearchHighlightOptions {
5
- text: string | Observable<string>;
6
- textToSearch: string | Observable<string> | Computed<string>;
5
+ text: MaybeAccessor<string>;
6
+ textToSearch: MaybeAccessor<string>;
7
7
  searchOptions?: ISearchOptions;
8
8
  }
9
9
  export declare class HighlightEngine extends Disposable {
@@ -11,6 +11,9 @@ export declare class HighlightEngine extends Disposable {
11
11
  private _$spanSearch;
12
12
  private _options;
13
13
  private _update;
14
+ changeSignal: ((callback: () => void) => () => void) & {
15
+ notify: () => void;
16
+ };
14
17
  content: string;
15
18
  update(options: ISearchHighlightOptions): void;
16
19
  private _getHighlightContent;
@@ -1,10 +1,12 @@
1
1
  import { findMatchesInString } from '../property-grid/widgets/internal/_utils';
2
+ import { accessorSource, readAccessor } from '../serializer/native/models/valueAccessor';
2
3
  import { Disposable } from '../serializer/disposable';
3
- import { koUtils } from '../core/utils/_koUtils';
4
4
  import { $dx } from '../core/utils/_jqueryUtils';
5
+ import { createManualChangeSignal } from '../serializer/native/models/derivedAccessor';
5
6
  export class HighlightEngine extends Disposable {
6
7
  _update() {
7
- this.content = this._getHighlightContent(koUtils.unwrap(this._options.text), koUtils.unwrap(this._options.textToSearch), koUtils.unwrap(this._options.searchOptions));
8
+ this.content = this._getHighlightContent(readAccessor(this._options.text), readAccessor(this._options.textToSearch), this._options.searchOptions);
9
+ this.changeSignal.notify();
8
10
  }
9
11
  update(options) {
10
12
  this._options = options;
@@ -46,12 +48,12 @@ export class HighlightEngine extends Disposable {
46
48
  super();
47
49
  this._$spanProtect = $dx(document.createElement('span'));
48
50
  this._$spanSearch = $dx(document.createElement('span')).addClass('dx-datagrid-search-text');
51
+ this.changeSignal = createManualChangeSignal();
49
52
  this._options = options;
50
53
  ['text', 'textToSearch'].forEach(property => {
51
- if (koUtils.isSubscribable(this._options[property])) {
52
- this._disposables.push((this._options[property]).subscribe(() => {
53
- this._update();
54
- }));
54
+ const source = accessorSource(this._options[property]);
55
+ if (source) {
56
+ this.addDisposable(source.setValueChangedEvent?.(() => this._update()));
55
57
  }
56
58
  });
57
59
  this._update();
@@ -3,11 +3,13 @@ import 'ace-builds/src-noconflict/ext-language_tools';
3
3
  import 'ace-builds/src-noconflict/mode-json';
4
4
  import 'ace-builds/src-noconflict/mode-sql';
5
5
  import 'ace-builds/src-noconflict/mode-text';
6
- import * as ko from 'knockout';
7
6
  import { addDisposeCallback } from '../../serializer/_internal';
8
7
  import { defineAceCriteria } from './_ace-mode-criteria';
9
8
  import { defineAceDocComments } from './_ace-mode-doc-comment';
10
9
  import { defineAceThemes, getAceThemeName } from './_ace_theme';
10
+ import { isFunction } from '../../serializer/_utils';
11
+ import { registerKoBinding } from '../../core/internal/_ko_integration';
12
+ import { isValueAccessor, readAccessor } from '../../serializer/native/models/valueAccessor';
11
13
  let aceDefined = false;
12
14
  export function defineAce(ace) {
13
15
  if (!aceDefined) {
@@ -30,7 +32,7 @@ export function defineAce(ace) {
30
32
  }
31
33
  aceDefined = true;
32
34
  }
33
- ko.bindingHandlers['dxAceEditor'] = {
35
+ registerKoBinding('dxAceEditor', {
34
36
  init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
35
37
  const _ace = ace || window['ace'];
36
38
  defineAce(_ace);
@@ -70,7 +72,7 @@ ko.bindingHandlers['dxAceEditor'] = {
70
72
  clearTimeout(timer);
71
73
  if (shouldProcessOnChangeEvent) {
72
74
  timer = setTimeout(() => {
73
- if (text() !== session.getValue() || (session.getAnnotations() || []).some(x => x.type === 'error')) {
75
+ if (readAccessor(text) !== session.getValue() || (session.getAnnotations() || []).some(x => x.type === 'error')) {
74
76
  additionalOptions.onChange(session);
75
77
  }
76
78
  }, additionalOptions && additionalOptions.changeTimeout || 1000);
@@ -126,17 +128,16 @@ ko.bindingHandlers['dxAceEditor'] = {
126
128
  oldMouseMove(e);
127
129
  };
128
130
  }
129
- let subscription;
130
- if (ko.isSubscribable(text)) {
131
- subscription = text.subscribe((newText) => {
132
- if (newText !== session.getValue()) {
133
- _setEditorText(editor, newText);
134
- }
135
- if (additionalOptions && additionalOptions.onValueChange)
136
- additionalOptions.onValueChange(editor);
137
- });
138
- }
139
- _setEditorText(editor, ko.unwrap(text));
131
+ const onTextChanged = (newText) => {
132
+ if (newText !== session.getValue()) {
133
+ _setEditorText(editor, newText);
134
+ }
135
+ if (additionalOptions && additionalOptions.onValueChange)
136
+ additionalOptions.onValueChange(editor);
137
+ };
138
+ const textSource = isValueAccessor(text) ? text : viewModel?.valueAccessor;
139
+ const releaseTextSubscription = textSource?.setValueChangedEvent?.(onTextChanged);
140
+ _setEditorText(editor, readAccessor(text));
140
141
  if (values.callbacks)
141
142
  values.callbacks.focus = () => {
142
143
  setTimeout(() => {
@@ -146,7 +147,7 @@ ko.bindingHandlers['dxAceEditor'] = {
146
147
  addDisposeCallback(element, function () {
147
148
  editor.completers && editor.completers.splice(0);
148
149
  editor._defaultHandlers.guttermousemove = oldMouseMove;
149
- subscription.dispose();
150
+ releaseTextSubscription?.();
150
151
  if (values.callbacks)
151
152
  values.callbacks.focus = () => void (0);
152
153
  completers.forEach(x => x.dispose && x.dispose());
@@ -157,8 +158,8 @@ ko.bindingHandlers['dxAceEditor'] = {
157
158
  editor.destroy();
158
159
  });
159
160
  }
160
- if (ko.isObservable(editorContainer)) {
161
+ if (isFunction(editorContainer)) {
161
162
  editorContainer(editor);
162
163
  }
163
164
  }
164
- };
165
+ });
@@ -1,42 +1,44 @@
1
- import * as ko from 'knockout';
2
1
  import { addDisposeCallback } from '../serializer/_internal';
3
2
  import { getTemplate } from '../property-grid/widgets/templateUtils';
4
3
  import { getParentContainer } from './_utils';
5
4
  import { $dx } from '../core/utils/_jqueryUtils';
6
- ko.bindingHandlers['focus'] = {
7
- init: function (element, valueAccessor) {
8
- const visible = valueAccessor().on || valueAccessor();
9
- const subscription = visible.subscribe((newVal) => {
10
- if (newVal) {
11
- setTimeout(() => {
12
- $dx(element).find(':input').focus();
13
- }, 1);
14
- }
15
- });
16
- addDisposeCallback(element, function () {
17
- subscription.dispose();
18
- });
5
+ import { currentRenderingEngine } from '../serializer/native/multiplatformEngine';
6
+ import { registerKoBinding } from '../core/internal/_ko_integration';
7
+ import { readAccessor } from '../serializer/native/models/valueAccessor';
8
+ const focusFlags = new WeakMap();
9
+ registerKoBinding('focus', {
10
+ update: function (element, valueAccessor) {
11
+ const value = valueAccessor();
12
+ const flag = value && typeof value === 'object' && 'on' in value ? value.on : value;
13
+ const focused = !!readAccessor(flag);
14
+ const wasFocused = focusFlags.get(element);
15
+ focusFlags.set(element, focused);
16
+ if (focused && wasFocused === false) {
17
+ setTimeout(() => {
18
+ $dx(element).find(':input').focus();
19
+ }, 1);
20
+ }
19
21
  }
20
- };
21
- ko.bindingHandlers['svgAttrs'] = {
22
+ });
23
+ registerKoBinding('svgAttrs', {
22
24
  update: function (element, valueAccessor, allBindingsAccessor, viewModel) {
23
25
  element.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
24
26
  element.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');
25
27
  }
26
- };
27
- ko.bindingHandlers['dxEditorPopupTemplate'] = {
28
+ });
29
+ registerKoBinding('dxEditorPopupTemplate', {
28
30
  init: function (element, valueAccessor) {
29
31
  const values = valueAccessor();
30
32
  const popupTemplateName = getTemplate(values.templateName);
31
33
  if (popupTemplateName) {
32
34
  const wrapper = document.createElement('div');
33
35
  wrapper.innerHTML = popupTemplateName;
34
- const container = getParentContainer(element);
36
+ const container = getParentContainer(element) || element.ownerDocument.body;
35
37
  container.append(wrapper);
36
- ko.applyBindings(values.data, wrapper);
38
+ currentRenderingEngine.applyBindings(values.data, wrapper);
37
39
  addDisposeCallback(element, function () {
38
40
  setTimeout(() => wrapper.remove(), 1);
39
41
  });
40
42
  }
41
43
  }
42
- };
44
+ });
@@ -1,8 +1,8 @@
1
- import * as ko from 'knockout';
2
1
  import { IItemsProvider } from '../utils';
3
2
  import { IExpressionEditorFunction, IExpressionEditorFunctionItem } from '../expressioneditor/tools/_functions';
4
3
  import { Disposable } from '../../serializer/disposable';
5
4
  import { DxPromise } from '../../core/utils/_jqueryUtils';
5
+ import { MaybeAccessor } from '../../serializer/native/models/valueAccessor';
6
6
  export interface ICompletionRootItem {
7
7
  name: string;
8
8
  needPrefix?: boolean;
@@ -11,9 +11,9 @@ export interface ICompletionRootItem {
11
11
  export interface ICodeCompletorOptions {
12
12
  editor: any;
13
13
  bindingContext: any;
14
- fieldListProvider: IItemsProvider;
15
- path: ko.Observable<string> | ko.Computed<string>;
16
- functions?: Array<IExpressionEditorFunction> | ko.ObservableArray<IExpressionEditorFunction>;
14
+ fieldListProvider: MaybeAccessor<IItemsProvider>;
15
+ path: MaybeAccessor<string>;
16
+ functions?: MaybeAccessor<Array<IExpressionEditorFunction>>;
17
17
  rootItems?: Array<ICompletionRootItem>;
18
18
  getRealExpression?: (path: string, member: string) => DxPromise<string>;
19
19
  }
@@ -38,12 +38,13 @@ export declare class CodeCompletor extends Disposable {
38
38
  private _getFields;
39
39
  private static _cleanupFields;
40
40
  private _processFields;
41
+ private _readFunctions;
41
42
  getFunctionsCompletions(): any[];
42
43
  getAggregateCompletions(): any[];
43
44
  getOperatorCompletions(prefix: any): {
44
45
  caption: string;
45
46
  snippet: string;
46
- meta: any;
47
+ meta: string;
47
48
  }[];
48
49
  private _addFunctions;
49
50
  private _addAggregates;
@@ -65,8 +66,8 @@ export declare class CodeCompletor extends Disposable {
65
66
  export declare function createFunctionCompletion(fnInfo: IExpressionEditorFunctionItem, name: string, insertValue?: string): {
66
67
  caption: string;
67
68
  snippet: string;
68
- meta: any;
69
- tooltip: any;
69
+ meta: string;
70
+ tooltip: string;
70
71
  score: number;
71
72
  completer: {
72
73
  insertMatch: (editor: any, data: any) => void;
@@ -1,13 +1,13 @@
1
- import * as ko from 'knockout';
2
1
  import { functionDisplay } from '../expressioneditor/tools/_functions';
3
2
  import { Disposable } from '../../serializer/disposable';
4
3
  import { isList, setCursorInFunctionParameter } from '../_utils';
5
4
  import { getLocalization } from '../../property-grid/localization/localization_utils';
6
5
  import { PathRequest } from './pathRequest';
7
- import { RangeSpecific } from '../expressioneditor/_expressioneditor';
6
+ import { RangeSpecific } from '../expressioneditor/tools/_tools';
8
7
  import { operatorNames } from '../expressioneditor/tools/_operatorNames';
9
8
  import { CriteriaOperatorStateMachine } from '../criteria/utils/criteriaOperatorStateMachine';
10
9
  import { DxDeferred } from '../../core/utils/_jqueryUtils';
10
+ import { readAccessor } from '../../serializer/native/models/valueAccessor';
11
11
  export class CodeCompletor extends Disposable {
12
12
  _previousSymbol() {
13
13
  const cursorPosition = this._editor.getCursorPosition();
@@ -133,7 +133,7 @@ export class CodeCompletor extends Disposable {
133
133
  parentPrefix = this._getParentPrefix(token);
134
134
  }
135
135
  this._getRealPath(this._combinePath(parentPrefix)).done((path) => {
136
- const $fields = ko.unwrap(this._fieldListProvider).getItems(new PathRequest(path))
136
+ const $fields = readAccessor(this._fieldListProvider).getItems(new PathRequest(path))
137
137
  .done((fields) => {
138
138
  completions.push.apply(completions, this._convertDataMemberInfoToCompletions(CodeCompletor._cleanupFields(fields), getToken, ignorePrefix ? null : parentPrefix && parentPrefix + '.'));
139
139
  });
@@ -144,7 +144,7 @@ export class CodeCompletor extends Disposable {
144
144
  const path = item.rootPath || item.name;
145
145
  if (rootPathRequests.indexOf(path) === -1) {
146
146
  rootPathRequests.push(path);
147
- $deferreds.push(ko.unwrap(this._fieldListProvider).getItems(new PathRequest(path))
147
+ $deferreds.push(readAccessor(this._fieldListProvider).getItems(new PathRequest(path))
148
148
  .done((fields) => {
149
149
  this._processFields($deferreds, fields, completions, path, getToken, item.needPrefix ? item.name + '.' : '', true);
150
150
  }));
@@ -164,7 +164,7 @@ export class CodeCompletor extends Disposable {
164
164
  };
165
165
  fields.forEach(item => {
166
166
  if (item.specifics === RangeSpecific && isList(item)) {
167
- $deferreds.push(ko.unwrap(this._fieldListProvider).getItems(new PathRequest(path + '.' + item.name))
167
+ $deferreds.push(readAccessor(this._fieldListProvider).getItems(new PathRequest(path + '.' + item.name))
168
168
  .done((subFields) => {
169
169
  pushToCompletions(subFields);
170
170
  })
@@ -177,9 +177,12 @@ export class CodeCompletor extends Disposable {
177
177
  }
178
178
  });
179
179
  }
180
+ _readFunctions() {
181
+ return readAccessor(this._functions) || functionDisplay();
182
+ }
180
183
  getFunctionsCompletions() {
181
184
  const functions = [];
182
- const functionsWithoutAggregates = ko.unwrap(this._functions).filter(fnDisplay => fnDisplay.category !== 'Aggregate');
185
+ const functionsWithoutAggregates = this._readFunctions().filter(fnDisplay => fnDisplay.category !== 'Aggregate');
183
186
  functionsWithoutAggregates.forEach(fnDisplay => {
184
187
  Object.keys(fnDisplay.items).forEach(fnKey => {
185
188
  if (fnDisplay.items[fnKey]) {
@@ -191,7 +194,7 @@ export class CodeCompletor extends Disposable {
191
194
  }
192
195
  getAggregateCompletions() {
193
196
  const functions = [];
194
- const aggregates = ko.unwrap(this._functions).filter(fnDisplay => fnDisplay.category === 'Aggregate')[0];
197
+ const aggregates = this._readFunctions().filter(fnDisplay => fnDisplay.category === 'Aggregate')[0];
195
198
  if (aggregates)
196
199
  Object.keys(aggregates.items).forEach(fnKey => {
197
200
  if (aggregates.items[fnKey]) {
@@ -219,7 +222,7 @@ export class CodeCompletor extends Disposable {
219
222
  const $deferred = new DxDeferred();
220
223
  const $parametersPromises = [];
221
224
  const paramPath = 'Parameters';
222
- $parametersPromises.push(ko.unwrap(this['_fieldListProvider']).getItems(new PathRequest(paramPath))
225
+ $parametersPromises.push(readAccessor(this._fieldListProvider).getItems(new PathRequest(paramPath))
223
226
  .done((fields) => {
224
227
  this._processFields($parametersPromises, fields, completions, paramPath, getToken, paramPath + '.');
225
228
  }));
@@ -395,14 +398,13 @@ export class CodeCompletor extends Disposable {
395
398
  this._options = _options;
396
399
  this._contextPath = null;
397
400
  this._isInContext = () => this._contextPath !== null;
398
- this._getPath = () => this._contextPath ? this._path() + '.' + this._contextPath : this._path();
401
+ this._getPath = () => this._contextPath ? readAccessor(this._path) + '.' + this._contextPath : readAccessor(this._path);
399
402
  this.identifierRegexps = [/\./, /\[/];
400
403
  this._fieldListProvider = _options.fieldListProvider;
401
404
  this._path = _options.path;
402
405
  this._editor = _options.editor;
403
- this._functions = ko.computed(() => { return ko.unwrap(_options.functions) || functionDisplay(); });
406
+ this._functions = _options.functions;
404
407
  this._rootItems = _options.rootItems || [{ name: 'Parameters', needPrefix: true }];
405
- this._disposables.push(this._functions);
406
408
  }
407
409
  getCompletions(aceEditor, session, pos, prefix, callback) {
408
410
  this._getCompletions(aceEditor, session, pos, prefix).done(completions => {
@@ -6,4 +6,5 @@ export interface IDisplayExpressionConverter {
6
6
  export interface IDisplayNameProvider {
7
7
  getDisplayNameByPath: (path: string, dataMember: string) => DxPromise<string>;
8
8
  getRealName: (path: string, displayDataMember: string) => DxPromise<string>;
9
+ getDisplayName?: (dataSource: object, dataMember: string, dataMemberOffset?: string, includeDataSourceName?: boolean) => DxPromise<string>;
9
10
  }
@@ -155,7 +155,32 @@ export declare enum FunctionOperatorType {
155
155
  AddYears = 153,
156
156
  DateTimeFromParts = 154,
157
157
  DateOnlyFromParts = 155,
158
- TimeOnlyFromParts = 156
158
+ TimeOnlyFromParts = 156,
159
+ LocalDateTimeOffsetThisYear = 157,
160
+ LocalDateTimeOffsetThisMonth = 158,
161
+ LocalDateTimeOffsetLastWeek = 159,
162
+ LocalDateTimeOffsetThisWeek = 160,
163
+ LocalDateTimeOffsetYesterday = 161,
164
+ LocalDateTimeOffsetToday = 162,
165
+ LocalDateTimeOffsetNow = 163,
166
+ LocalDateTimeOffsetTomorrow = 164,
167
+ LocalDateTimeOffsetDayAfterTomorrow = 165,
168
+ LocalDateTimeOffsetNextWeek = 166,
169
+ LocalDateTimeOffsetTwoWeeksAway = 167,
170
+ LocalDateTimeOffsetNextMonth = 168,
171
+ LocalDateTimeOffsetNextYear = 169,
172
+ LocalDateTimeOffsetTwoMonthsAway = 170,
173
+ LocalDateTimeOffsetTwoYearsAway = 171,
174
+ LocalDateTimeOffsetLastMonth = 172,
175
+ LocalDateTimeOffsetLastYear = 173,
176
+ LocalDateTimeOffsetYearBeforeToday = 174,
177
+ GetOffset = 175,
178
+ GetOffsetTimeSpan = 176,
179
+ SwitchOffset = 177,
180
+ ToDateTime = 178,
181
+ ToDateTimeOffset = 179,
182
+ ConvertToTimeZone = 180,
183
+ DateTimeOffsetFromParts = 181
159
184
  }
160
185
  export interface IFunctionOperatorProperties {
161
186
  operatorType: FunctionOperatorType;
@@ -157,4 +157,29 @@ export var FunctionOperatorType;
157
157
  FunctionOperatorType[FunctionOperatorType["DateTimeFromParts"] = 154] = "DateTimeFromParts";
158
158
  FunctionOperatorType[FunctionOperatorType["DateOnlyFromParts"] = 155] = "DateOnlyFromParts";
159
159
  FunctionOperatorType[FunctionOperatorType["TimeOnlyFromParts"] = 156] = "TimeOnlyFromParts";
160
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetThisYear"] = 157] = "LocalDateTimeOffsetThisYear";
161
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetThisMonth"] = 158] = "LocalDateTimeOffsetThisMonth";
162
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetLastWeek"] = 159] = "LocalDateTimeOffsetLastWeek";
163
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetThisWeek"] = 160] = "LocalDateTimeOffsetThisWeek";
164
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetYesterday"] = 161] = "LocalDateTimeOffsetYesterday";
165
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetToday"] = 162] = "LocalDateTimeOffsetToday";
166
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetNow"] = 163] = "LocalDateTimeOffsetNow";
167
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetTomorrow"] = 164] = "LocalDateTimeOffsetTomorrow";
168
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetDayAfterTomorrow"] = 165] = "LocalDateTimeOffsetDayAfterTomorrow";
169
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetNextWeek"] = 166] = "LocalDateTimeOffsetNextWeek";
170
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetTwoWeeksAway"] = 167] = "LocalDateTimeOffsetTwoWeeksAway";
171
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetNextMonth"] = 168] = "LocalDateTimeOffsetNextMonth";
172
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetNextYear"] = 169] = "LocalDateTimeOffsetNextYear";
173
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetTwoMonthsAway"] = 170] = "LocalDateTimeOffsetTwoMonthsAway";
174
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetTwoYearsAway"] = 171] = "LocalDateTimeOffsetTwoYearsAway";
175
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetLastMonth"] = 172] = "LocalDateTimeOffsetLastMonth";
176
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetLastYear"] = 173] = "LocalDateTimeOffsetLastYear";
177
+ FunctionOperatorType[FunctionOperatorType["LocalDateTimeOffsetYearBeforeToday"] = 174] = "LocalDateTimeOffsetYearBeforeToday";
178
+ FunctionOperatorType[FunctionOperatorType["GetOffset"] = 175] = "GetOffset";
179
+ FunctionOperatorType[FunctionOperatorType["GetOffsetTimeSpan"] = 176] = "GetOffsetTimeSpan";
180
+ FunctionOperatorType[FunctionOperatorType["SwitchOffset"] = 177] = "SwitchOffset";
181
+ FunctionOperatorType[FunctionOperatorType["ToDateTime"] = 178] = "ToDateTime";
182
+ FunctionOperatorType[FunctionOperatorType["ToDateTimeOffset"] = 179] = "ToDateTimeOffset";
183
+ FunctionOperatorType[FunctionOperatorType["ConvertToTimeZone"] = 180] = "ConvertToTimeZone";
184
+ FunctionOperatorType[FunctionOperatorType["DateTimeOffsetFromParts"] = 181] = "DateTimeOffsetFromParts";
160
185
  })(FunctionOperatorType || (FunctionOperatorType = {}));
@@ -1,5 +1,5 @@
1
-
2
- export declare function parse(criteria: string): any;
3
- export declare const criteriaparser: {
4
- parse: (criteria: string) => any
5
- };
1
+
2
+ export declare function parse(criteria: string): any;
3
+ export declare const criteriaparser: {
4
+ parse: (criteria: string) => any
5
+ };