dhx-chart 8.2.4 → 8.2.5

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 (366) hide show
  1. package/codebase/chart.d.ts +1 -1
  2. package/codebase/chart.min.css +1 -1
  3. package/codebase/chart.min.js +3 -3
  4. package/codebase/types/ts-all/sources/entry.d.ts +27 -0
  5. package/codebase/types/ts-all/sources/entry_pro.d.ts +17 -0
  6. package/codebase/types/ts-calendar/sources/entry.d.ts +7 -0
  7. package/codebase/types/ts-calendar/sources/types.d.ts +2 -2
  8. package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +1 -0
  9. package/codebase/types/ts-calendar/tests/suite.d.ts +1 -0
  10. package/codebase/types/ts-chart/index.d.ts +3 -0
  11. package/codebase/types/ts-chart/sources/ProChart.d.ts +7 -0
  12. package/codebase/types/ts-chart/sources/entry_pro.d.ts +2 -0
  13. package/codebase/types/ts-chart/sources/helpers/circle.d.ts +2 -2
  14. package/codebase/types/ts-chart/sources/helpers/common.d.ts +1 -1
  15. package/codebase/types/ts-chart/sources/scales/SvgScales.d.ts +1 -1
  16. package/codebase/types/ts-chart/sources/shapes/line.d.ts +1 -1
  17. package/codebase/types/ts-chart/sources/types.d.ts +20 -20
  18. package/codebase/types/ts-chart/tests/Chart.d.ts +1 -0
  19. package/codebase/types/ts-chart/tests/suite.d.ts +1 -0
  20. package/codebase/types/ts-colorpicker/index.d.ts +5 -0
  21. package/codebase/types/ts-colorpicker/sources/Colorpicker.d.ts +40 -0
  22. package/codebase/types/ts-colorpicker/sources/colors.d.ts +2 -0
  23. package/codebase/types/ts-colorpicker/sources/entry.d.ts +4 -0
  24. package/codebase/types/ts-colorpicker/sources/helpers/calculations.d.ts +8 -0
  25. package/codebase/types/ts-colorpicker/sources/helpers/color.d.ts +16 -0
  26. package/codebase/types/ts-colorpicker/sources/locales/en.d.ts +8 -0
  27. package/codebase/types/ts-colorpicker/sources/picker.d.ts +4 -0
  28. package/codebase/types/ts-colorpicker/sources/types.d.ts +66 -0
  29. package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
  30. package/codebase/types/ts-combobox/sources/entry.d.ts +4 -0
  31. package/codebase/types/ts-combobox/sources/entry_pro.d.ts +2 -0
  32. package/codebase/types/ts-combobox/sources/types.d.ts +2 -2
  33. package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
  34. package/codebase/types/ts-common/CssManager.d.ts +26 -0
  35. package/codebase/types/ts-common/core.d.ts +2 -2
  36. package/codebase/types/ts-common/dom.d.ts +2 -2
  37. package/codebase/types/ts-common/events.d.ts +2 -2
  38. package/codebase/types/ts-common/html.d.ts +4 -4
  39. package/codebase/types/ts-common/tests/core.d.ts +1 -0
  40. package/codebase/types/ts-common/tests/events.d.ts +1 -0
  41. package/codebase/types/ts-common/tests/html.d.ts +1 -0
  42. package/codebase/types/ts-common/tests/suite.d.ts +3 -0
  43. package/codebase/types/ts-common/types.d.ts +8 -8
  44. package/codebase/types/ts-data/sources/dataproxy.d.ts +1 -1
  45. package/codebase/types/ts-data/sources/entry.d.ts +5 -0
  46. package/codebase/types/ts-data/sources/types.d.ts +14 -14
  47. package/codebase/types/ts-data/tests/ajax.d.ts +1 -0
  48. package/codebase/types/ts-data/tests/drivers.d.ts +1 -0
  49. package/codebase/types/ts-data/tests/filter.d.ts +1 -0
  50. package/codebase/types/ts-data/tests/main.d.ts +1 -0
  51. package/codebase/types/ts-data/tests/move.d.ts +1 -0
  52. package/codebase/types/ts-data/tests/sort.d.ts +1 -0
  53. package/codebase/types/ts-data/tests/suite.d.ts +7 -0
  54. package/codebase/types/ts-data/tests/treecollection.d.ts +1 -0
  55. package/codebase/types/ts-dataview/index.d.ts +3 -0
  56. package/codebase/types/ts-dataview/sources/DataView.d.ts +41 -0
  57. package/codebase/types/ts-dataview/sources/ProDataView.d.ts +11 -0
  58. package/codebase/types/ts-dataview/sources/editors/InputEditor.d.ts +16 -0
  59. package/codebase/types/ts-dataview/sources/editors/editors.d.ts +4 -0
  60. package/codebase/types/ts-dataview/sources/entry.d.ts +3 -0
  61. package/codebase/types/ts-dataview/sources/entry_pro.d.ts +2 -0
  62. package/codebase/types/ts-dataview/sources/types.d.ts +62 -0
  63. package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +1 -0
  64. package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +3 -0
  65. package/codebase/types/ts-dataview/tests/suite.d.ts +1 -0
  66. package/codebase/types/ts-diagram/index.d.ts +5 -0
  67. package/codebase/types/ts-diagram/sources/Diagram.d.ts +32 -0
  68. package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +16 -0
  69. package/codebase/types/ts-diagram/sources/Toolbar.d.ts +16 -0
  70. package/codebase/types/ts-diagram/sources/entry.d.ts +4 -0
  71. package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +10 -0
  72. package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +14 -0
  73. package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +8 -0
  74. package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +6 -0
  75. package/codebase/types/ts-diagram/sources/locales/en.d.ts +9 -0
  76. package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +31 -0
  77. package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +21 -0
  78. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +13 -0
  79. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +12 -0
  80. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +12 -0
  81. package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +4 -0
  82. package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +90 -0
  83. package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +19 -0
  84. package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +7 -0
  85. package/codebase/types/ts-diagram/sources/types.d.ts +161 -0
  86. package/codebase/types/ts-diagram/tests/stubs.d.ts +25 -0
  87. package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
  88. package/codebase/types/ts-form/index.d.ts +3 -0
  89. package/codebase/types/ts-form/sources/Form.d.ts +55 -0
  90. package/codebase/types/ts-form/sources/ProForm.d.ts +7 -0
  91. package/codebase/types/ts-form/sources/elements/ToggleButton.d.ts +77 -0
  92. package/codebase/types/ts-form/sources/elements/ToggleGroup.d.ts +95 -0
  93. package/codebase/types/ts-form/sources/elements/avatar.d.ts +119 -0
  94. package/codebase/types/ts-form/sources/elements/button.d.ts +70 -0
  95. package/codebase/types/ts-form/sources/elements/checkbox.d.ts +84 -0
  96. package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +103 -0
  97. package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +101 -0
  98. package/codebase/types/ts-form/sources/elements/combo.d.ts +101 -0
  99. package/codebase/types/ts-form/sources/elements/container.d.ts +52 -0
  100. package/codebase/types/ts-form/sources/elements/dateinput.d.ts +107 -0
  101. package/codebase/types/ts-form/sources/elements/fieldset.d.ts +64 -0
  102. package/codebase/types/ts-form/sources/elements/helper/label.d.ts +18 -0
  103. package/codebase/types/ts-form/sources/elements/input.d.ts +106 -0
  104. package/codebase/types/ts-form/sources/elements/proCombo.d.ts +5 -0
  105. package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +99 -0
  106. package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +41 -0
  107. package/codebase/types/ts-form/sources/elements/select.d.ts +94 -0
  108. package/codebase/types/ts-form/sources/elements/simplevault.d.ts +124 -0
  109. package/codebase/types/ts-form/sources/elements/sliderform.d.ts +84 -0
  110. package/codebase/types/ts-form/sources/elements/spacer.d.ts +40 -0
  111. package/codebase/types/ts-form/sources/elements/textarea.d.ts +69 -0
  112. package/codebase/types/ts-form/sources/elements/textinput.d.ts +39 -0
  113. package/codebase/types/ts-form/sources/elements/timeinput.d.ts +102 -0
  114. package/codebase/types/ts-form/sources/entry.d.ts +5 -0
  115. package/codebase/types/ts-form/sources/entry_pro.d.ts +2 -0
  116. package/codebase/types/ts-form/sources/helper.d.ts +12 -0
  117. package/codebase/types/ts-form/sources/locales/en.d.ts +5 -0
  118. package/codebase/types/ts-form/sources/types.d.ts +180 -0
  119. package/codebase/types/ts-form/tests/elements/button.d.ts +1 -0
  120. package/codebase/types/ts-form/tests/elements/checkbox.d.ts +1 -0
  121. package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +1 -0
  122. package/codebase/types/ts-form/tests/elements/combo.d.ts +1 -0
  123. package/codebase/types/ts-form/tests/elements/container.d.ts +1 -0
  124. package/codebase/types/ts-form/tests/elements/datepicker.d.ts +1 -0
  125. package/codebase/types/ts-form/tests/elements/input.d.ts +1 -0
  126. package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +1 -0
  127. package/codebase/types/ts-form/tests/elements/select.d.ts +1 -0
  128. package/codebase/types/ts-form/tests/elements/simplevault.d.ts +1 -0
  129. package/codebase/types/ts-form/tests/elements/slider.d.ts +1 -0
  130. package/codebase/types/ts-form/tests/elements/textarea.d.ts +1 -0
  131. package/codebase/types/ts-form/tests/elements/timepicker.d.ts +1 -0
  132. package/codebase/types/ts-form/tests/form.d.ts +1 -0
  133. package/codebase/types/ts-form/tests/stubs/stubs.d.ts +4 -0
  134. package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +3 -0
  135. package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +3 -0
  136. package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +4 -0
  137. package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +3 -0
  138. package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +3 -0
  139. package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +3 -0
  140. package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +3 -0
  141. package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +4 -0
  142. package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +4 -0
  143. package/codebase/types/ts-form/tests/suite.d.ts +14 -0
  144. package/codebase/types/ts-grid/sources/Grid.d.ts +1 -1
  145. package/codebase/types/ts-grid/sources/entry.d.ts +7 -0
  146. package/codebase/types/ts-grid/sources/entry_pro.d.ts +3 -0
  147. package/codebase/types/ts-grid/sources/helpers/data.d.ts +2 -2
  148. package/codebase/types/ts-grid/sources/types.d.ts +14 -14
  149. package/codebase/types/ts-grid/sources/ui/Cells.d.ts +3 -3
  150. package/codebase/types/ts-grid/sources/ui/editors/DateEditor.d.ts +1 -1
  151. package/codebase/types/ts-grid/tests/Grid.d.ts +1 -0
  152. package/codebase/types/ts-grid/tests/TreeGrid.d.ts +1 -0
  153. package/codebase/types/ts-grid/tests/stubs.d.ts +84 -0
  154. package/codebase/types/ts-grid/tests/suite.d.ts +2 -0
  155. package/codebase/types/ts-helpers/entry.d.ts +0 -0
  156. package/codebase/types/ts-layout/sources/entry.d.ts +2 -0
  157. package/codebase/types/ts-layout/sources/entry_pro.d.ts +2 -0
  158. package/codebase/types/ts-layout/sources/types.d.ts +3 -3
  159. package/codebase/types/ts-layout/tests/Layout.d.ts +1 -0
  160. package/codebase/types/ts-layout/tests/suite.d.ts +1 -0
  161. package/codebase/types/ts-list/sources/entry.d.ts +3 -0
  162. package/codebase/types/ts-list/sources/entry_pro.d.ts +2 -0
  163. package/codebase/types/ts-list/sources/helpers.d.ts +2 -0
  164. package/codebase/types/ts-list/sources/types.d.ts +1 -1
  165. package/codebase/types/ts-list/tests/selections/Selections.d.ts +1 -0
  166. package/codebase/types/ts-list/tests/selections/stubs.d.ts +3 -0
  167. package/codebase/types/ts-list/tests/suite.d.ts +1 -0
  168. package/codebase/types/ts-menu/index.d.ts +2 -0
  169. package/codebase/types/ts-menu/sources/ContextMenu.d.ts +11 -0
  170. package/codebase/types/ts-menu/sources/Menu.d.ts +6 -0
  171. package/codebase/types/ts-menu/sources/entry.d.ts +4 -0
  172. package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
  173. package/codebase/types/ts-message/sources/entry.d.ts +6 -0
  174. package/codebase/types/ts-message/sources/tooltip.d.ts +1 -1
  175. package/codebase/types/ts-message/tests/suite.d.ts +0 -0
  176. package/codebase/types/ts-navbar/index.d.ts +3 -0
  177. package/codebase/types/ts-navbar/sources/Navbar.d.ts +62 -0
  178. package/codebase/types/ts-navbar/sources/elements/button.d.ts +1 -0
  179. package/codebase/types/ts-navbar/sources/elements/customHTMLButton.d.ts +1 -0
  180. package/codebase/types/ts-navbar/sources/elements/datePicker.d.ts +1 -0
  181. package/codebase/types/ts-navbar/sources/elements/helpers.d.ts +17 -0
  182. package/codebase/types/ts-navbar/sources/elements/imageButton.d.ts +1 -0
  183. package/codebase/types/ts-navbar/sources/elements/input.d.ts +1 -0
  184. package/codebase/types/ts-navbar/sources/elements/menuItem.d.ts +1 -0
  185. package/codebase/types/ts-navbar/sources/elements/navItem.d.ts +1 -0
  186. package/codebase/types/ts-navbar/sources/elements/separator.d.ts +1 -0
  187. package/codebase/types/ts-navbar/sources/elements/spacer.d.ts +1 -0
  188. package/codebase/types/ts-navbar/sources/elements/title.d.ts +1 -0
  189. package/codebase/types/ts-navbar/sources/itemfactory.d.ts +10 -0
  190. package/codebase/types/ts-navbar/sources/types.d.ts +206 -0
  191. package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
  192. package/codebase/types/ts-optimus/index.d.ts +2 -0
  193. package/codebase/types/ts-optimus/sources/DHXApp.d.ts +12 -0
  194. package/codebase/types/ts-optimus/sources/DHXView.d.ts +11 -0
  195. package/codebase/types/ts-optimus/sources/EventSystem.d.ts +9 -0
  196. package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +8 -0
  197. package/codebase/types/ts-optimus/sources/LocalSession.d.ts +5 -0
  198. package/codebase/types/ts-optimus/sources/types.d.ts +36 -0
  199. package/codebase/types/ts-pagination/index.d.ts +2 -0
  200. package/codebase/types/ts-pagination/sources/Pagination.d.ts +26 -0
  201. package/codebase/types/ts-pagination/sources/entry.d.ts +3 -0
  202. package/codebase/types/ts-pagination/sources/types.d.ts +27 -0
  203. package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
  204. package/codebase/types/ts-pivot/index.d.ts +1 -0
  205. package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +29 -0
  206. package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +29 -0
  207. package/codebase/types/ts-pivot/sources/Pivot.d.ts +52 -0
  208. package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +40 -0
  209. package/codebase/types/ts-pivot/sources/entry.d.ts +9 -0
  210. package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +17 -0
  211. package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +72 -0
  212. package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +13 -0
  213. package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +2 -0
  214. package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +13 -0
  215. package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +10 -0
  216. package/codebase/types/ts-pivot/sources/group-module/types.d.ts +19 -0
  217. package/codebase/types/ts-pivot/sources/helpers.d.ts +28 -0
  218. package/codebase/types/ts-pivot/sources/locales/en.d.ts +38 -0
  219. package/codebase/types/ts-pivot/sources/templates.d.ts +4 -0
  220. package/codebase/types/ts-pivot/sources/types.d.ts +180 -0
  221. package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +1 -0
  222. package/codebase/types/ts-pivot/tests/Pivot.d.ts +1 -0
  223. package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +1 -0
  224. package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +80 -0
  225. package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +1 -0
  226. package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +1 -0
  227. package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +1 -0
  228. package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +54 -0
  229. package/codebase/types/ts-pivot/tests/stubs.d.ts +107 -0
  230. package/codebase/types/ts-pivot/tests/suite.d.ts +6 -0
  231. package/codebase/types/ts-popup/sources/entry.d.ts +2 -0
  232. package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
  233. package/codebase/types/ts-property/index.d.ts +2 -0
  234. package/codebase/types/ts-property/sources/Property.d.ts +16 -0
  235. package/codebase/types/ts-property/sources/entry.d.ts +2 -0
  236. package/codebase/types/ts-property/sources/items/BaseItem.d.ts +16 -0
  237. package/codebase/types/ts-property/sources/items/Checkbox.d.ts +7 -0
  238. package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +10 -0
  239. package/codebase/types/ts-property/sources/items/Combo.d.ts +9 -0
  240. package/codebase/types/ts-property/sources/items/Label.d.ts +4 -0
  241. package/codebase/types/ts-property/sources/items/Select.d.ts +5 -0
  242. package/codebase/types/ts-property/sources/items/Text.d.ts +4 -0
  243. package/codebase/types/ts-property/sources/items/Textarea.d.ts +4 -0
  244. package/codebase/types/ts-property/sources/items/helpers.d.ts +2 -0
  245. package/codebase/types/ts-property/sources/items/index.d.ts +19 -0
  246. package/codebase/types/ts-property/sources/types.d.ts +47 -0
  247. package/codebase/types/ts-property/tests/suite.d.ts +0 -0
  248. package/codebase/types/ts-ribbon/index.d.ts +2 -0
  249. package/codebase/types/ts-ribbon/sources/ProRibbon.d.ts +10 -0
  250. package/codebase/types/ts-ribbon/sources/Ribbon.d.ts +43 -0
  251. package/codebase/types/ts-ribbon/sources/entry.d.ts +3 -0
  252. package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +2 -0
  253. package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
  254. package/codebase/types/ts-richtext/index.d.ts +1 -0
  255. package/codebase/types/ts-richtext/sources/Manager.d.ts +16 -0
  256. package/codebase/types/ts-richtext/sources/Richtext.d.ts +36 -0
  257. package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +30 -0
  258. package/codebase/types/ts-richtext/sources/constants.d.ts +44 -0
  259. package/codebase/types/ts-richtext/sources/entry.d.ts +3 -0
  260. package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +10 -0
  261. package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +2 -0
  262. package/codebase/types/ts-richtext/sources/helpers/link.d.ts +40 -0
  263. package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +2 -0
  264. package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +19 -0
  265. package/codebase/types/ts-richtext/sources/helpers/other.d.ts +13 -0
  266. package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +1 -0
  267. package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +10 -0
  268. package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +10 -0
  269. package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +2 -0
  270. package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +7 -0
  271. package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +10 -0
  272. package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +21 -0
  273. package/codebase/types/ts-richtext/sources/keyhandler.d.ts +26 -0
  274. package/codebase/types/ts-richtext/sources/locales/en.d.ts +35 -0
  275. package/codebase/types/ts-richtext/sources/models/Block.d.ts +27 -0
  276. package/codebase/types/ts-richtext/sources/models/Editor.d.ts +61 -0
  277. package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +16 -0
  278. package/codebase/types/ts-richtext/sources/types.d.ts +143 -0
  279. package/codebase/types/ts-richtext/tests/block.d.ts +1 -0
  280. package/codebase/types/ts-richtext/tests/editor.d.ts +1 -0
  281. package/codebase/types/ts-richtext/tests/suite.d.ts +3 -0
  282. package/codebase/types/ts-richtext/tests/textnode.d.ts +1 -0
  283. package/codebase/types/ts-samplegen/index.d.ts +1 -0
  284. package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +20 -0
  285. package/codebase/types/ts-samplegen/sources/entry.d.ts +2 -0
  286. package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
  287. package/codebase/types/ts-scheduler/index.d.ts +1 -0
  288. package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +18 -0
  289. package/codebase/types/ts-scheduler/sources/entry.d.ts +2 -0
  290. package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +1 -0
  291. package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +1 -0
  292. package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +6 -0
  293. package/codebase/types/ts-scheduler/sources/views/Base.d.ts +3 -0
  294. package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +8 -0
  295. package/codebase/types/ts-scheduler/sources/views/Day.d.ts +4 -0
  296. package/codebase/types/ts-scheduler/sources/views/Month.d.ts +8 -0
  297. package/codebase/types/ts-scheduler/sources/views/Week.d.ts +4 -0
  298. package/codebase/types/ts-scheduler/sources/views/index.d.ts +11 -0
  299. package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
  300. package/codebase/types/ts-sidebar/index.d.ts +3 -0
  301. package/codebase/types/ts-sidebar/sources/ProSidebar.d.ts +8 -0
  302. package/codebase/types/ts-sidebar/sources/Sidebar.d.ts +24 -0
  303. package/codebase/types/ts-sidebar/sources/entry.d.ts +3 -0
  304. package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +2 -0
  305. package/codebase/types/ts-sidebar/sources/types.d.ts +40 -0
  306. package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
  307. package/codebase/types/ts-slider/sources/entry.d.ts +2 -0
  308. package/codebase/types/ts-slider/sources/types.d.ts +3 -3
  309. package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
  310. package/codebase/types/ts-tabbar/index.d.ts +2 -0
  311. package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +38 -0
  312. package/codebase/types/ts-tabbar/sources/entry.d.ts +2 -0
  313. package/codebase/types/ts-tabbar/sources/types.d.ts +64 -0
  314. package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
  315. package/codebase/types/ts-theme/entry.d.ts +0 -0
  316. package/codebase/types/ts-timepicker/sources/entry.d.ts +3 -0
  317. package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
  318. package/codebase/types/ts-toolbar/index.d.ts +2 -0
  319. package/codebase/types/ts-toolbar/sources/ProToolbar.d.ts +10 -0
  320. package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +32 -0
  321. package/codebase/types/ts-toolbar/sources/entry.d.ts +4 -0
  322. package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +2 -0
  323. package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
  324. package/codebase/types/ts-tree/index.d.ts +3 -0
  325. package/codebase/types/ts-tree/sources/Editor.d.ts +42 -0
  326. package/codebase/types/ts-tree/sources/Tree.d.ts +58 -0
  327. package/codebase/types/ts-tree/sources/entry.d.ts +6 -0
  328. package/codebase/types/ts-tree/sources/entry_pro.d.ts +2 -0
  329. package/codebase/types/ts-tree/sources/types.d.ts +119 -0
  330. package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
  331. package/codebase/types/ts-treegrid/index.d.ts +3 -0
  332. package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +30 -0
  333. package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +20 -0
  334. package/codebase/types/ts-treegrid/sources/entry.d.ts +7 -0
  335. package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +2 -0
  336. package/codebase/types/ts-treegrid/sources/types.d.ts +32 -0
  337. package/codebase/types/ts-treegrid/tests/Grid.d.ts +1 -0
  338. package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +1 -0
  339. package/codebase/types/ts-treegrid/tests/stubs.d.ts +84 -0
  340. package/codebase/types/ts-treegrid/tests/suite.d.ts +2 -0
  341. package/codebase/types/ts-ui-kit/index.d.ts +0 -0
  342. package/codebase/types/ts-ui-kit/sources/entry.d.ts +1 -0
  343. package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
  344. package/codebase/types/ts-vault/index.d.ts +3 -0
  345. package/codebase/types/ts-vault/sources/ProgressBar.d.ts +12 -0
  346. package/codebase/types/ts-vault/sources/ReadStackPreview.d.ts +11 -0
  347. package/codebase/types/ts-vault/sources/Uploader.d.ts +26 -0
  348. package/codebase/types/ts-vault/sources/Vault.d.ts +33 -0
  349. package/codebase/types/ts-vault/sources/configs.d.ts +14 -0
  350. package/codebase/types/ts-vault/sources/entry.d.ts +6 -0
  351. package/codebase/types/ts-vault/sources/helper.d.ts +30 -0
  352. package/codebase/types/ts-vault/sources/locales/en.d.ts +18 -0
  353. package/codebase/types/ts-vault/sources/types.d.ts +107 -0
  354. package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
  355. package/codebase/types/ts-window/index.d.ts +2 -0
  356. package/codebase/types/ts-window/sources/ProWindow.d.ts +11 -0
  357. package/codebase/types/ts-window/sources/Window.d.ts +55 -0
  358. package/codebase/types/ts-window/sources/WindowController.d.ts +10 -0
  359. package/codebase/types/ts-window/sources/entry.d.ts +2 -0
  360. package/codebase/types/ts-window/sources/entry_pro.d.ts +2 -0
  361. package/codebase/types/ts-window/sources/helpers.d.ts +1 -0
  362. package/codebase/types/ts-window/sources/types.d.ts +82 -0
  363. package/codebase/types/ts-window/tests/suite.d.ts +0 -0
  364. package/package.json +1 -1
  365. package/readme.txt +1 -1
  366. package/whatsnew.txt +3 -0
@@ -0,0 +1,39 @@
1
+ import { Input, IInputEventHandlersMap } from "./input";
2
+ import { ItemEvent, IBaseLayoutItem, ILabel, IMessage, IBaseItem, IBaseState } from "../types";
3
+ import { IFieldset } from "./fieldset";
4
+ import { IEventSystem } from "../../../ts-common/events";
5
+ export interface ITextProps extends IBaseLayoutItem, ILabel, IMessage {
6
+ inputType?: "text" | "password" | "number";
7
+ }
8
+ export interface ITextConfig extends IBaseItem, IBaseState, ITextProps {
9
+ type: "text";
10
+ value?: number | string;
11
+ }
12
+ export interface IText {
13
+ parent?: IFieldset;
14
+ config: ITextConfig;
15
+ events: IEventSystem<ItemEvent, IInputEventHandlersMap>;
16
+ destructor(): void;
17
+ show(): void;
18
+ hide(init?: boolean): void;
19
+ isVisible(): boolean;
20
+ disable(): void;
21
+ enable(): void;
22
+ isDisabled(): boolean;
23
+ setValue(value: string | number): void;
24
+ getValue(): string | number;
25
+ clear(): void;
26
+ setProperties(propertyConfig: ITextProps): void;
27
+ getProperties(): ITextProps;
28
+ }
29
+ export declare class Text extends Input implements IText {
30
+ config: ITextConfig & {
31
+ type: any;
32
+ };
33
+ protected _propsItem: string[];
34
+ protected _props: string[];
35
+ setProperties(propertyConfig: ITextProps): void;
36
+ getProperties(): ITextProps;
37
+ protected _initView(config: ITextConfig): void;
38
+ protected _draw(): any;
39
+ }
@@ -0,0 +1,102 @@
1
+ import { ITimeObject, Timepicker } from "../../../ts-timepicker";
2
+ import { Label } from "./helper/label";
3
+ import { IEventSystem } from "../../../ts-common/events";
4
+ import { ValidationStatus, ItemEvent, IBaseLayoutItem, ILabel, IMessage, IBaseItem, IBaseState, IBaseHandlersMap } from "../types";
5
+ import { IFieldset } from "./fieldset";
6
+ export type ValidationTimepickerFn = (input: string | ITimeObject) => boolean;
7
+ export interface ITimePickerProps extends IBaseLayoutItem, ILabel, IMessage {
8
+ editable?: boolean;
9
+ validation?: ValidationTimepickerFn;
10
+ icon?: string;
11
+ placeholder?: string;
12
+ timeFormat?: 12 | 24;
13
+ controls?: boolean;
14
+ valueFormat?: "string" | "timeObject";
15
+ }
16
+ export interface ITimePickerConfig extends IBaseItem, IBaseState, ITimePickerProps {
17
+ type: "timepicker";
18
+ value?: Date | number | string | any[] | ITimeObject;
19
+ $validationStatus?: ValidationStatus;
20
+ }
21
+ export interface ITimePicker {
22
+ parent?: IFieldset;
23
+ config: ITimePickerConfig;
24
+ timepicker: Timepicker;
25
+ events: IEventSystem<ItemEvent, ITimePickerEventHandlersMap>;
26
+ destructor(): void;
27
+ show(): void;
28
+ hide(init?: boolean): void;
29
+ isVisible(): boolean;
30
+ disable(): void;
31
+ enable(): void;
32
+ isDisabled(): boolean;
33
+ validate(silent?: boolean, validateValue?: string): boolean;
34
+ clearValidate(): void;
35
+ setValue(value: Date | number | string | any[] | ITimeObject): void;
36
+ getValue<T extends boolean = false>(asOBject?: T): T extends true ? ITimeObject : string;
37
+ focus(): void;
38
+ blur(): void;
39
+ clear(): void;
40
+ getWidget(): Timepicker;
41
+ setProperties(propertyConfig: ITimePickerProps): void;
42
+ getProperties(): ITimePickerProps;
43
+ }
44
+ export interface ITimePickerEventHandlersMap extends IBaseHandlersMap {
45
+ [ItemEvent.beforeChange]: (value: string | ITimeObject) => boolean | void;
46
+ [ItemEvent.change]: (value: string | ITimeObject) => void;
47
+ [ItemEvent.focus]: (value: string | ITimeObject) => void;
48
+ [ItemEvent.blur]: (value: string | ITimeObject) => void;
49
+ [ItemEvent.keydown]: (event: KeyboardEvent) => void;
50
+ [ItemEvent.input]: (inputValue: string) => void;
51
+ [ItemEvent.beforeHide]: (value: string | ITimeObject, init: boolean) => boolean | void;
52
+ [ItemEvent.beforeShow]: (value: string | ITimeObject) => boolean | void;
53
+ [ItemEvent.afterHide]: (value: string | ITimeObject, init: boolean) => void;
54
+ [ItemEvent.afterShow]: (value: string | ITimeObject) => void;
55
+ [ItemEvent.beforeValidate]: (value: string | ITimeObject) => boolean | void;
56
+ [ItemEvent.afterValidate]: (value: string | ITimeObject, isValidate: boolean) => void;
57
+ [ItemEvent.beforeChangeProperties]: (properties: ITimePickerProps) => boolean | void;
58
+ [ItemEvent.afterChangeProperties]: (properties: ITimePickerProps) => void;
59
+ }
60
+ export declare class TimePicker extends Label implements ITimePicker {
61
+ parent: IFieldset;
62
+ config: ITimePickerConfig;
63
+ timepicker: Timepicker;
64
+ events: IEventSystem<ItemEvent, ITimePickerEventHandlersMap>;
65
+ private _keyManager;
66
+ private _popup;
67
+ private _popupIsFocus;
68
+ private _propsItem;
69
+ private _propsTimepicker;
70
+ private _props;
71
+ constructor(container: any, config: ITimePickerConfig);
72
+ destructor(): void;
73
+ setProperties(propertyConfig: ITimePickerProps): void;
74
+ getProperties(): ITimePickerProps;
75
+ show(): void;
76
+ hide(init?: boolean): void;
77
+ isVisible(): boolean;
78
+ disable(): void;
79
+ enable(): void;
80
+ isDisabled(): boolean;
81
+ validate(silent?: boolean, value?: any): boolean;
82
+ clearValidate(): void;
83
+ setValue(value: Date | number | string | any[] | ITimeObject): void;
84
+ getValue(asOBject?: boolean): ITimeObject | string | any;
85
+ focus(): void;
86
+ blur(): void;
87
+ clear(): void;
88
+ getWidget(): Timepicker;
89
+ protected _initView(config: ITimePickerConfig): void;
90
+ protected _initHandlers(): void;
91
+ protected _getHandlers(): {
92
+ onfocus: () => void;
93
+ onblur: () => void;
94
+ oninput: (e: Event) => void;
95
+ };
96
+ protected _initHotkeys(): void;
97
+ protected _draw(): any;
98
+ private _clear;
99
+ private _afterApply;
100
+ private _applyTab;
101
+ private _isTimeObject;
102
+ }
@@ -0,0 +1,5 @@
1
+ import "./../../styles/form.scss";
2
+ import "../../styles/grid.scss";
3
+ export { Form } from "./Form";
4
+ export { Grid } from "./../../ts-grid";
5
+ export declare const i18n: any;
@@ -0,0 +1,2 @@
1
+ export * from "./entry";
2
+ export { ProForm as Form } from "./ProForm";
@@ -0,0 +1,12 @@
1
+ import { Validation, ValidationInputFn, IInputConfig } from "./elements/input";
2
+ export declare function getFormItemCss(item: any, validate?: boolean, focus?: boolean): string;
3
+ export declare function getValidationMessage(item: any): any;
4
+ export declare function validateTemplate(template: Validation, str: any): boolean;
5
+ export declare function isBlock(config: any): boolean;
6
+ export declare function validateInput(value: string | number, validation: Validation | ValidationInputFn): boolean;
7
+ export declare function baseInputValidate(value: string | number, config: IInputConfig): boolean;
8
+ export declare function isTimeFormat(value: string, timeFormat?: number): boolean;
9
+ export declare function isVerify(config: any): boolean;
10
+ export declare const baseProps: string[];
11
+ export declare const widgetConfig: ({ width, type, id, name, hidden, editable, css, required, helpMessage, preMessage, successMessage, errorMessage, label, labelWidth, labelPosition, hiddenLabel, validation, icon, ...res }: any) => any;
12
+ export declare function setAttacments(attachments: any, layout: any): void;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ simpleVaultText: string;
3
+ simpleVaultLabel: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,180 @@
1
+ import { IEventSystem } from "../../ts-common/events";
2
+ import { Layout } from "../../ts-layout";
3
+ import { IAnyObj } from "../../ts-common/types";
4
+ import { FlexDirection } from "../../ts-common/html";
5
+ import { IAvatarConfig, IAvatar, IAvatarProps } from "./elements/avatar";
6
+ import { IButtonConfig, IButton, IButtonProps } from "./elements/button";
7
+ import { ICheckboxConfig, ICheckbox, ICheckboxProps } from "./elements/checkbox";
8
+ import { ICheckboxGroupConfig, ICheckboxGroup, ICheckboxGroupProps } from "./elements/checkboxGroup";
9
+ import { IColorPickerConfig, IColorPicker, IColorpickerProps } from "./elements/colorpicker";
10
+ import { IComboConfig, ICombo, IComboProps } from "./elements/combo";
11
+ import { IContainerConfig, IContainer, IContainerProps } from "./elements/container";
12
+ import { IDatePickerConfig, IDatePicker, IDatePickerProps } from "./elements/dateinput";
13
+ import { IFieldsetConfig, IFieldset, IFieldsetProps } from "./elements/fieldset";
14
+ import { IInputConfig, IInput, IInputProps } from "./elements/input";
15
+ import { IRadioGroupConfig, IRadioGroup, IRadioButtonProps, IRadioGroupProps } from "./elements/radioGroup";
16
+ import { ISelectConfig, ISelect, ISelectProps } from "./elements/select";
17
+ import { ISimpleVaultConfig, ISimpleVault, ISimpleVaultProps } from "./elements/simplevault";
18
+ import { ISliderFormConfig, ISliderForm, ISliderProps } from "./elements/sliderform";
19
+ import { ISpacerConfig, ISpacer, ISpacerProps } from "./elements/spacer";
20
+ import { ITextAreaConfig, ITextArea, ITextAreaProps } from "./elements/textarea";
21
+ import { ITextConfig, IText, ITextProps } from "./elements/textinput";
22
+ import { ITimePickerConfig, ITimePicker, ITimePickerProps } from "./elements/timeinput";
23
+ import { IToggleButtonConfig, IToggleButton, IToggleButtonProps } from "./elements/ToggleButton";
24
+ import { IToggleGroupProps, IToggleGroupConfig, IToggleGroup } from "./elements/ToggleGroup";
25
+ export type TFormDataCallback = (item: IItem, index: number, array: IItem[]) => void;
26
+ export declare enum ClearMethod {
27
+ value = "value",
28
+ validation = "validation"
29
+ }
30
+ export interface IFormConfig extends IBlockConfig, IBaseState {
31
+ }
32
+ export interface IForm {
33
+ config: IFormConfig;
34
+ events: IEventSystem<FormEvents, IFormEventHandlersMap>;
35
+ layout: Layout;
36
+ paint(): void;
37
+ destructor(): void;
38
+ disable(): void;
39
+ enable(): void;
40
+ isDisabled(name?: string): boolean;
41
+ show(): void;
42
+ hide(): void;
43
+ isVisible(name?: string): boolean;
44
+ validate(silent?: boolean): boolean;
45
+ send(url: string, method?: string, asFormData?: boolean): Promise<any> | void;
46
+ clear(method?: ClearMethod): void;
47
+ setValue(obj: FormData | IAnyObj): void;
48
+ setFocus(name: string): void;
49
+ blur(name: string): void;
50
+ getValue(asFormData?: boolean): FormData | IAnyObj;
51
+ getItem(name: string): any;
52
+ forEach(callback: TFormDataCallback): void;
53
+ getProperties(name?: string): {
54
+ [name: string]: TProps;
55
+ } | TProps;
56
+ setProperties(arg: string | {
57
+ [name: string]: TProps;
58
+ }, props?: TProps): void;
59
+ }
60
+ export declare enum FormEvents {
61
+ beforeChange = "beforeChange",
62
+ change = "change",
63
+ click = "click",
64
+ focus = "focus",
65
+ blur = "blur",
66
+ keydown = "keydown",
67
+ beforeShow = "beforeShow",
68
+ afterShow = "afterShow",
69
+ beforeHide = "beforeHide",
70
+ afterHide = "afterHide",
71
+ afterValidate = "afterValidate",
72
+ beforeValidate = "beforeValidate",
73
+ beforeChangeProperties = "beforeChangeProperties",
74
+ afterChangeProperties = "afterChangeProperties",
75
+ beforeSend = "beforesend",
76
+ afterSend = "aftersend",
77
+ /** @deprecated See a documentation: https://docs.dhtmlx.com/ */
78
+ buttonClick = "buttonClick",
79
+ /** @deprecated See a documentation: https://docs.dhtmlx.com/ */
80
+ validationFail = "validationfail"
81
+ }
82
+ export interface IFormEventHandlersMap {
83
+ [key: string]: (...args: any[]) => any;
84
+ [FormEvents.beforeChange]: (name: string, value: any) => boolean | void;
85
+ [FormEvents.change]: (name: string, value: any) => void;
86
+ [FormEvents.click]: (name: string, event: Event) => void;
87
+ [FormEvents.focus]: (name: string, value: any, id?: string) => void;
88
+ [FormEvents.blur]: (name: string, value: any, id?: string) => void;
89
+ [FormEvents.keydown]: (event: KeyboardEvent, name: string, id?: string) => void;
90
+ [FormEvents.beforeHide]: (name: string, value?: any, id?: string) => boolean | void;
91
+ [FormEvents.afterHide]: (name: string, value?: any, id?: string) => void;
92
+ [FormEvents.beforeShow]: (name: string, value?: any, id?: string) => boolean | void;
93
+ [FormEvents.afterShow]: (name: string, value?: any, id?: string) => void;
94
+ [FormEvents.beforeValidate]: (name: string, value: any) => boolean | void;
95
+ [FormEvents.afterValidate]: (name: string, value: any, isValid: boolean) => void;
96
+ [FormEvents.beforeChangeProperties]: (name: string, props: any) => boolean | void;
97
+ [FormEvents.afterChangeProperties]: (name: string, props: any) => void;
98
+ [FormEvents.beforeSend]: () => boolean;
99
+ [FormEvents.afterSend]: () => void;
100
+ [FormEvents.buttonClick]: (name: string, event: Event) => any;
101
+ [FormEvents.validationFail]: (id: string, component: any) => any;
102
+ }
103
+ export type ValidationFn = (input: string) => boolean;
104
+ export declare enum ValidationStatus {
105
+ pre = 0,
106
+ error = 1,
107
+ success = 2
108
+ }
109
+ export type TItemType = "input" | "button" | "avatar" | "combo" | "slider" | "radiobutton" | "radiogroup" | "checkbox" | "checkboxgroup" | "select" | "simplevault" | "textarea" | "timepicker" | "datepicker" | "colorpicker" | "text" | "spacer" | "container" | "fieldset" | "toggle" | "togglegroup";
110
+ export interface IBlockConfig extends IBaseLayoutItem {
111
+ rows?: IBlock & any;
112
+ cols?: IBlock & any;
113
+ align?: FlexDirection;
114
+ title?: string;
115
+ }
116
+ export interface IBaseItem {
117
+ type: TItemType;
118
+ name?: string;
119
+ id?: string;
120
+ }
121
+ export interface IBaseLayoutItem {
122
+ css?: string;
123
+ width?: string | number | "content";
124
+ height?: string | number | "content";
125
+ padding?: string | number;
126
+ }
127
+ export type ILabelPosition = "left" | "top";
128
+ export interface ILabel {
129
+ label?: string;
130
+ labelWidth?: string | number;
131
+ labelPosition?: ILabelPosition;
132
+ hiddenLabel?: boolean;
133
+ helpMessage?: string;
134
+ required?: boolean;
135
+ $validationStatus?: ValidationStatus;
136
+ }
137
+ export interface IMessage {
138
+ preMessage?: string;
139
+ successMessage?: string;
140
+ errorMessage?: string;
141
+ }
142
+ export interface IBaseState {
143
+ hidden?: boolean;
144
+ disabled?: boolean;
145
+ }
146
+ export interface IBaseHandlersMap {
147
+ [key: string]: (...args: any[]) => any;
148
+ }
149
+ export interface IGroup extends IBaseLayoutItem {
150
+ align?: FlexDirection;
151
+ }
152
+ export type TProps = IButtonProps | IAvatarProps | ICheckboxProps | ICheckboxGroupProps | IColorpickerProps | IComboProps | IContainerProps | IDatePickerProps | IInputProps | IRadioButtonProps | IRadioGroupProps | ISelectProps | ISimpleVaultProps | ISliderProps | ITextProps | ITextAreaProps | ITimePickerProps | ISpacerProps | IFieldsetProps | IToggleButtonProps | IToggleGroupProps;
153
+ export type IItemConfig = IAvatarConfig | IInputConfig | IButtonConfig | IComboConfig | ISliderFormConfig | ICheckboxConfig | IDatePickerConfig | ISelectConfig | ISimpleVaultConfig | ITextAreaConfig | ITimePickerConfig | ITextConfig | IColorPickerConfig | IRadioGroupConfig | ICheckboxGroupConfig | ISpacerConfig | IContainerConfig | IFieldsetConfig | IToggleButtonConfig | IToggleGroupConfig;
154
+ export type IItem = IAvatar | IInput | IButton | ICombo | ISliderForm | ICheckbox | IDatePicker | ISelect | ISimpleVault | ITextArea | ITimePicker | IText | IColorPicker | IRadioGroup | ICheckboxGroup | ISpacer | IContainer | IFieldset | IToggleButton | IToggleGroup;
155
+ export type IBlock = IBlockConfig | IItemConfig[];
156
+ export declare enum ItemEvent {
157
+ click = "click",
158
+ beforeChange = "beforeChange",
159
+ change = "change",
160
+ input = "input",
161
+ focus = "focus",
162
+ blur = "blur",
163
+ keydown = "keydown",
164
+ beforeChangeOptions = "beforeChangeOptions",
165
+ changeOptions = "changeOptions",
166
+ beforeShow = "beforeShow",
167
+ afterShow = "afterShow",
168
+ beforeHide = "beforeHide",
169
+ afterHide = "afterHide",
170
+ beforeValidate = "beforeValidate",
171
+ afterValidate = "afterValidate",
172
+ beforeUploadFile = "beforeUploadFile",
173
+ uploadFile = "uploadfile",
174
+ uploadBegin = "uploadBegin",
175
+ uploadComplete = "uploadComplete",
176
+ uploadFail = "uploadFail",
177
+ uploadProgress = "uploadProgress",
178
+ beforeChangeProperties = "beforeChangeProperties",
179
+ afterChangeProperties = "afterChangeProperties"
180
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const formValidation: IFormConfig;
3
+ export declare const formRequired: IFormConfig;
4
+ export declare const formBaseConfig: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const checkboxBaseConfig: IFormConfig;
3
+ export declare const checkboxBaseConfigChecked: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const colorpickerBaseConfig: IFormConfig;
3
+ export declare const colorpickerBaseConfigValue: IFormConfig;
@@ -0,0 +1,4 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const comboBaseConfig: IFormConfig;
3
+ export declare const comboBaseConfigValue: IFormConfig;
4
+ export declare const comboBaseConfigMultiselection: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const datepickerBaseConfig: IFormConfig;
3
+ export declare const datepickerBaseConfigValue: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const inputBaseConfig: IFormConfig;
3
+ export declare const inputBaseConfigValue: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const radioBaseConfig: IFormConfig;
3
+ export declare const radioBaseConfigValue: IFormConfig;
@@ -0,0 +1,3 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const selectBaseConfig: IFormConfig;
3
+ export declare const selectBaseConfigValue: IFormConfig;
@@ -0,0 +1,4 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const sliderBaseConfig: IFormConfig;
3
+ export declare const sliderBaseConfigValue: IFormConfig;
4
+ export declare const sliderBaseConfigRange: IFormConfig;
@@ -0,0 +1,4 @@
1
+ import { IFormConfig } from "../../sources/types";
2
+ export declare const timeBaseConfig: IFormConfig;
3
+ export declare const timeBaseConfigValue: IFormConfig;
4
+ export declare const timeBaseConfigFormat: IFormConfig;
@@ -0,0 +1,14 @@
1
+ import "./elements/button";
2
+ import "./elements/checkbox";
3
+ import "./elements/colorpicker";
4
+ import "./elements/combo";
5
+ import "./elements/datepicker";
6
+ import "./elements/input";
7
+ import "./elements/textarea";
8
+ import "./elements/radiogroup";
9
+ import "./elements/select";
10
+ import "./elements/simplevault";
11
+ import "./elements/slider";
12
+ import "./elements/timepicker";
13
+ import "./elements/container";
14
+ import "./form";
@@ -21,7 +21,7 @@ export declare class Grid extends View implements IGrid {
21
21
  private _sortDir;
22
22
  private _sortBy;
23
23
  private _filterData;
24
- protected _activeFilters: {};
24
+ protected _activeFilters: object;
25
25
  private _hiddenFilters;
26
26
  protected _destructed: boolean;
27
27
  constructor(container: HTMLElement | string, config?: IGridConfig);
@@ -0,0 +1,7 @@
1
+ import "../../styles/grid.scss";
2
+ import "../../styles/themes.scss";
3
+ export { cssManager } from "../../ts-common/CssManager";
4
+ export { awaitRedraw, setTheme } from "../../ts-common/dom";
5
+ export { DataCollection, DataProxy } from "../../ts-data";
6
+ export { Grid } from "./Grid";
7
+ export declare const i18n: any;
@@ -0,0 +1,3 @@
1
+ export * from "./entry";
2
+ export { dataDriversPro as dataDrivers, LazyDataProxy } from "../../ts-data";
3
+ export { ProGrid as Grid } from "./ProGrid";
@@ -1,5 +1,5 @@
1
1
  import { IContainerConfig } from "../../../ts-common/core";
2
- import { ICol, IColumnsWidth, IGridConfig, IRow, colType, TOption } from "./../types";
2
+ import { ICol, IColumnsWidth, IGridConfig, IRow, colType, AdjustTargetType, TOption } from "./../types";
3
3
  export declare function normalizeColumns({ columns, htmlEnable }: IGridConfig, configChanged?: boolean): void;
4
4
  export declare function countColumns(config: IGridConfig, columns: ICol[]): number;
5
5
  export declare function calculatePositions(width: number, height: number, scroll: any, conf: IGridConfig, data: IRow[]): {
@@ -15,6 +15,6 @@ export declare const getCalculatedRowHeight: (height: number, config?: {
15
15
  padding: number;
16
16
  }) => number;
17
17
  export declare const getTreeCellWidthOffset: (row: IRow) => number;
18
- export declare const getMaxColsWidth: (rows: IRow[], cols: ICol[], config?: IContainerConfig, target?: import("../../../ts-grid").AdjustTargetType) => IColumnsWidth;
18
+ export declare const getMaxColsWidth: (rows: IRow[], cols: ICol[], config?: IContainerConfig, target?: AdjustTargetType) => IColumnsWidth;
19
19
  export declare function toFormat(value: any, type?: colType, format?: string): any;
20
20
  export declare function getEditorOptions(col: ICol, row?: IRow): TOption[];
@@ -171,7 +171,7 @@ export interface IGrid {
171
171
  export interface IProGrid extends IGrid {
172
172
  scrollView: ScrollView;
173
173
  }
174
- export declare type EditorType = "input" | "select" | "datePicker" | "checkbox" | "combobox" | "multiselect" | "textarea";
174
+ export type EditorType = "input" | "select" | "datePicker" | "checkbox" | "combobox" | "multiselect" | "textarea";
175
175
  export interface IComboEditorConfig {
176
176
  newOptions?: boolean;
177
177
  readOnly?: boolean;
@@ -207,12 +207,12 @@ export interface IHeaderFilter {
207
207
  }
208
208
  export interface ICellRect extends ICoords, ISizes {
209
209
  }
210
- export declare type colType = "string" | "number" | "boolean" | "date" | "percent" | any;
210
+ export type colType = "string" | "number" | "boolean" | "date" | "percent" | any;
211
211
  export interface IOption {
212
212
  id: Id;
213
213
  value: string;
214
214
  }
215
- export declare type TOption = IOption | string;
215
+ export type TOption = IOption | string;
216
216
  export interface ICol {
217
217
  id: Id;
218
218
  width?: number;
@@ -259,8 +259,8 @@ export interface ICol {
259
259
  /** @deprecated See a documentation: https://docs.dhtmlx.com/ */
260
260
  fitToContainer?: boolean;
261
261
  }
262
- export declare type fixedRowContent = "inputFilter" | "selectFilter" | "comboFilter";
263
- export declare type footerMethods = "avg" | "sum" | "max" | "min" | "count";
262
+ export type fixedRowContent = "inputFilter" | "selectFilter" | "comboFilter";
263
+ export type footerMethods = "avg" | "sum" | "max" | "min" | "count";
264
264
  export interface IContent {
265
265
  id?: string;
266
266
  text?: string;
@@ -312,8 +312,8 @@ export interface IComboFilterConfig {
312
312
  virtual?: boolean;
313
313
  multiselection?: boolean;
314
314
  }
315
- export declare type SortFunction = (cellValue: any) => string | number;
316
- declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
315
+ export type SortFunction = (cellValue: any) => string | number;
316
+ type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
317
317
  export interface IMark {
318
318
  min?: string;
319
319
  max?: string;
@@ -517,7 +517,7 @@ export interface ICsvExportConfig extends ICsvDriverConfig {
517
517
  rowDelimiter?: string;
518
518
  columnDelimiter?: string;
519
519
  }
520
- export declare type Dirs = "asc" | "desc";
520
+ export type Dirs = "asc" | "desc";
521
521
  export interface ICoords {
522
522
  x: number;
523
523
  y: number;
@@ -541,11 +541,11 @@ export interface IEditor {
541
541
  toHTML(text?: string): any;
542
542
  endEdit(withoutSave?: boolean): void;
543
543
  }
544
- export declare type ISelectionType = "cell" | "row" | "complex";
545
- export declare type IDirection = "horizontal" | "vertical";
546
- export declare type IDragType = "row" | "column" | "both";
547
- export declare type AdjustTargetType = "data" | "header" | "footer";
548
- export declare type IAdjustBy = AdjustTargetType | boolean;
544
+ export type ISelectionType = "cell" | "row" | "complex";
545
+ export type IDirection = "horizontal" | "vertical";
546
+ export type IDragType = "row" | "column" | "both";
547
+ export type AdjustTargetType = "data" | "header" | "footer";
548
+ export type IAdjustBy = AdjustTargetType | boolean;
549
549
  export interface IAdjustColumns {
550
550
  rows: IRow[];
551
551
  cols: ICol[];
@@ -578,7 +578,7 @@ export interface IGridSelectionEventsHandlersMap {
578
578
  [GridSelectionEvents.beforeSelect]: (row: IRow, col: ICol) => boolean | void;
579
579
  [GridSelectionEvents.beforeUnSelect]: (row: IRow, col: ICol) => boolean | void;
580
580
  }
581
- export declare type TRowStatus = "firstFilledRow" | "firstEmptyRow";
581
+ export type TRowStatus = "firstFilledRow" | "firstEmptyRow";
582
582
  export declare enum Split {
583
583
  left = "leftSplit",
584
584
  right = "rightSplit",
@@ -1,6 +1,6 @@
1
1
  import { GridEvents, GridSystemEvents, ICol, ICoords, IGridConfig, IRendererConfig, ISpan, Split } from "../types";
2
- declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
3
- declare type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
2
+ type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
3
+ type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
4
4
  declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
5
5
  export declare function getHandlers(row: number, column: number, conf: IRendererConfig): {
6
6
  onclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
@@ -23,7 +23,7 @@ export declare function normalizeSpan(span: ISpan, config: IGridConfig): {
23
23
  column: import("../../../ts-common/types").Id;
24
24
  rowspan?: number;
25
25
  colspan?: number;
26
- text?: import("../../../ts-common/types").Id;
26
+ text?: string | number;
27
27
  css?: string;
28
28
  tooltip?: boolean;
29
29
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
@@ -26,7 +26,7 @@ export declare class DateEditor implements IEditor {
26
26
  timePicker?: boolean;
27
27
  timeFormat?: 12 | 24;
28
28
  thisMonthOnly?: boolean;
29
- width?: import("../../../../ts-common/types").Id;
29
+ width?: string | number;
30
30
  $rangeMark?: (a: Date) => string;
31
31
  block?: (a: Date) => boolean;
32
32
  view?: import("../../../../ts-calendar").ViewMode;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};