dhx-suite 8.3.0 → 8.3.2

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 (251) hide show
  1. package/codebase/suite.d.ts +1 -1
  2. package/codebase/suite.min.js +3 -3
  3. package/codebase/suite.min.js.map +1 -1
  4. package/codebase/types/ts-dataview/sources/types.d.ts +2 -2
  5. package/codebase/types/ts-grid/sources/ui/editors/editors.d.ts +2 -0
  6. package/codebase/types/ts-list/sources/types.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/readme.txt +1 -1
  9. package/whatsnew.txt +22 -0
  10. package/codebase/types/ts-all/sources/entry_pro.d.ts +0 -17
  11. package/codebase/types/ts-calendar/sources/entry.d.ts +0 -7
  12. package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +0 -1
  13. package/codebase/types/ts-calendar/tests/suite.d.ts +0 -1
  14. package/codebase/types/ts-chart/sources/entry.d.ts +0 -7
  15. package/codebase/types/ts-chart/sources/entry_pro.d.ts +0 -2
  16. package/codebase/types/ts-chart/tests/Chart.d.ts +0 -1
  17. package/codebase/types/ts-chart/tests/suite.d.ts +0 -1
  18. package/codebase/types/ts-colorpicker/sources/entry.d.ts +0 -4
  19. package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
  20. package/codebase/types/ts-combobox/sources/entry.d.ts +0 -4
  21. package/codebase/types/ts-combobox/sources/entry_pro.d.ts +0 -2
  22. package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
  23. package/codebase/types/ts-common/tests/core.d.ts +0 -1
  24. package/codebase/types/ts-common/tests/events.d.ts +0 -1
  25. package/codebase/types/ts-common/tests/html.d.ts +0 -1
  26. package/codebase/types/ts-common/tests/suite.d.ts +0 -3
  27. package/codebase/types/ts-data/sources/entry.d.ts +0 -5
  28. package/codebase/types/ts-data/tests/ajax.d.ts +0 -1
  29. package/codebase/types/ts-data/tests/drivers.d.ts +0 -1
  30. package/codebase/types/ts-data/tests/filter.d.ts +0 -1
  31. package/codebase/types/ts-data/tests/main.d.ts +0 -1
  32. package/codebase/types/ts-data/tests/move.d.ts +0 -1
  33. package/codebase/types/ts-data/tests/sort.d.ts +0 -1
  34. package/codebase/types/ts-data/tests/suite.d.ts +0 -7
  35. package/codebase/types/ts-data/tests/treecollection.d.ts +0 -1
  36. package/codebase/types/ts-dataview/sources/entry.d.ts +0 -3
  37. package/codebase/types/ts-dataview/sources/entry_pro.d.ts +0 -2
  38. package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +0 -1
  39. package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +0 -3
  40. package/codebase/types/ts-dataview/tests/suite.d.ts +0 -1
  41. package/codebase/types/ts-diagram/index.d.ts +0 -5
  42. package/codebase/types/ts-diagram/sources/Diagram.d.ts +0 -32
  43. package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +0 -16
  44. package/codebase/types/ts-diagram/sources/Toolbar.d.ts +0 -16
  45. package/codebase/types/ts-diagram/sources/entry.d.ts +0 -4
  46. package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +0 -10
  47. package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +0 -14
  48. package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +0 -8
  49. package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +0 -6
  50. package/codebase/types/ts-diagram/sources/locales/en.d.ts +0 -9
  51. package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +0 -31
  52. package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +0 -21
  53. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +0 -13
  54. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +0 -12
  55. package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +0 -12
  56. package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +0 -4
  57. package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +0 -90
  58. package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +0 -19
  59. package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +0 -7
  60. package/codebase/types/ts-diagram/sources/types.d.ts +0 -161
  61. package/codebase/types/ts-diagram/tests/stubs.d.ts +0 -25
  62. package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
  63. package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -5
  64. package/codebase/types/ts-form/sources/entry.d.ts +0 -5
  65. package/codebase/types/ts-form/sources/entry_pro.d.ts +0 -2
  66. package/codebase/types/ts-form/tests/elements/button.d.ts +0 -1
  67. package/codebase/types/ts-form/tests/elements/checkbox.d.ts +0 -1
  68. package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +0 -1
  69. package/codebase/types/ts-form/tests/elements/combo.d.ts +0 -1
  70. package/codebase/types/ts-form/tests/elements/container.d.ts +0 -1
  71. package/codebase/types/ts-form/tests/elements/datepicker.d.ts +0 -1
  72. package/codebase/types/ts-form/tests/elements/input.d.ts +0 -1
  73. package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +0 -1
  74. package/codebase/types/ts-form/tests/elements/select.d.ts +0 -1
  75. package/codebase/types/ts-form/tests/elements/simplevault.d.ts +0 -1
  76. package/codebase/types/ts-form/tests/elements/slider.d.ts +0 -1
  77. package/codebase/types/ts-form/tests/elements/textarea.d.ts +0 -1
  78. package/codebase/types/ts-form/tests/elements/timepicker.d.ts +0 -1
  79. package/codebase/types/ts-form/tests/form.d.ts +0 -1
  80. package/codebase/types/ts-form/tests/stubs/stubs.d.ts +0 -4
  81. package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +0 -3
  82. package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +0 -3
  83. package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +0 -4
  84. package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +0 -3
  85. package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +0 -3
  86. package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +0 -3
  87. package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +0 -3
  88. package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +0 -4
  89. package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +0 -4
  90. package/codebase/types/ts-form/tests/suite.d.ts +0 -14
  91. package/codebase/types/ts-grid/sources/entry.d.ts +0 -7
  92. package/codebase/types/ts-grid/sources/entry_pro.d.ts +0 -3
  93. package/codebase/types/ts-grid/tests/Grid.d.ts +0 -1
  94. package/codebase/types/ts-grid/tests/TreeGrid.d.ts +0 -1
  95. package/codebase/types/ts-grid/tests/stubs.d.ts +0 -83
  96. package/codebase/types/ts-grid/tests/suite.d.ts +0 -2
  97. package/codebase/types/ts-helpers/entry.d.ts +0 -0
  98. package/codebase/types/ts-layout/sources/entry.d.ts +0 -2
  99. package/codebase/types/ts-layout/sources/entry_pro.d.ts +0 -2
  100. package/codebase/types/ts-layout/tests/Layout.d.ts +0 -1
  101. package/codebase/types/ts-layout/tests/suite.d.ts +0 -1
  102. package/codebase/types/ts-list/sources/entry.d.ts +0 -3
  103. package/codebase/types/ts-list/sources/entry_pro.d.ts +0 -2
  104. package/codebase/types/ts-list/sources/helpers.d.ts +0 -2
  105. package/codebase/types/ts-list/tests/selections/Selections.d.ts +0 -1
  106. package/codebase/types/ts-list/tests/selections/stubs.d.ts +0 -3
  107. package/codebase/types/ts-list/tests/suite.d.ts +0 -1
  108. package/codebase/types/ts-menu/sources/entry.d.ts +0 -4
  109. package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
  110. package/codebase/types/ts-message/sources/entry.d.ts +0 -6
  111. package/codebase/types/ts-message/tests/suite.d.ts +0 -0
  112. package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
  113. package/codebase/types/ts-optimus/index.d.ts +0 -2
  114. package/codebase/types/ts-optimus/sources/DHXApp.d.ts +0 -12
  115. package/codebase/types/ts-optimus/sources/DHXView.d.ts +0 -11
  116. package/codebase/types/ts-optimus/sources/EventSystem.d.ts +0 -9
  117. package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +0 -8
  118. package/codebase/types/ts-optimus/sources/LocalSession.d.ts +0 -5
  119. package/codebase/types/ts-optimus/sources/types.d.ts +0 -36
  120. package/codebase/types/ts-pagination/index.d.ts +0 -2
  121. package/codebase/types/ts-pagination/sources/Pagination.d.ts +0 -26
  122. package/codebase/types/ts-pagination/sources/entry.d.ts +0 -3
  123. package/codebase/types/ts-pagination/sources/types.d.ts +0 -27
  124. package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
  125. package/codebase/types/ts-pivot/index.d.ts +0 -1
  126. package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +0 -29
  127. package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +0 -29
  128. package/codebase/types/ts-pivot/sources/Pivot.d.ts +0 -52
  129. package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +0 -40
  130. package/codebase/types/ts-pivot/sources/entry.d.ts +0 -9
  131. package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +0 -17
  132. package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +0 -72
  133. package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +0 -13
  134. package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +0 -2
  135. package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +0 -13
  136. package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +0 -10
  137. package/codebase/types/ts-pivot/sources/group-module/types.d.ts +0 -19
  138. package/codebase/types/ts-pivot/sources/helpers.d.ts +0 -28
  139. package/codebase/types/ts-pivot/sources/locales/en.d.ts +0 -38
  140. package/codebase/types/ts-pivot/sources/templates.d.ts +0 -4
  141. package/codebase/types/ts-pivot/sources/types.d.ts +0 -180
  142. package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +0 -1
  143. package/codebase/types/ts-pivot/tests/Pivot.d.ts +0 -1
  144. package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +0 -1
  145. package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +0 -80
  146. package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +0 -1
  147. package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +0 -1
  148. package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +0 -1
  149. package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +0 -54
  150. package/codebase/types/ts-pivot/tests/stubs.d.ts +0 -107
  151. package/codebase/types/ts-pivot/tests/suite.d.ts +0 -6
  152. package/codebase/types/ts-popup/sources/entry.d.ts +0 -2
  153. package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
  154. package/codebase/types/ts-property/index.d.ts +0 -2
  155. package/codebase/types/ts-property/sources/Property.d.ts +0 -16
  156. package/codebase/types/ts-property/sources/entry.d.ts +0 -2
  157. package/codebase/types/ts-property/sources/items/BaseItem.d.ts +0 -16
  158. package/codebase/types/ts-property/sources/items/Checkbox.d.ts +0 -7
  159. package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +0 -10
  160. package/codebase/types/ts-property/sources/items/Combo.d.ts +0 -9
  161. package/codebase/types/ts-property/sources/items/Label.d.ts +0 -4
  162. package/codebase/types/ts-property/sources/items/Select.d.ts +0 -5
  163. package/codebase/types/ts-property/sources/items/Text.d.ts +0 -4
  164. package/codebase/types/ts-property/sources/items/Textarea.d.ts +0 -4
  165. package/codebase/types/ts-property/sources/items/helpers.d.ts +0 -2
  166. package/codebase/types/ts-property/sources/items/index.d.ts +0 -19
  167. package/codebase/types/ts-property/sources/types.d.ts +0 -47
  168. package/codebase/types/ts-property/tests/suite.d.ts +0 -0
  169. package/codebase/types/ts-ribbon/sources/entry.d.ts +0 -4
  170. package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +0 -2
  171. package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
  172. package/codebase/types/ts-richtext/index.d.ts +0 -1
  173. package/codebase/types/ts-richtext/sources/Manager.d.ts +0 -16
  174. package/codebase/types/ts-richtext/sources/Richtext.d.ts +0 -36
  175. package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +0 -30
  176. package/codebase/types/ts-richtext/sources/constants.d.ts +0 -44
  177. package/codebase/types/ts-richtext/sources/entry.d.ts +0 -3
  178. package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +0 -10
  179. package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +0 -2
  180. package/codebase/types/ts-richtext/sources/helpers/link.d.ts +0 -40
  181. package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +0 -2
  182. package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +0 -19
  183. package/codebase/types/ts-richtext/sources/helpers/other.d.ts +0 -13
  184. package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +0 -1
  185. package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +0 -10
  186. package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +0 -10
  187. package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +0 -2
  188. package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +0 -7
  189. package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +0 -10
  190. package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +0 -21
  191. package/codebase/types/ts-richtext/sources/keyhandler.d.ts +0 -26
  192. package/codebase/types/ts-richtext/sources/locales/en.d.ts +0 -35
  193. package/codebase/types/ts-richtext/sources/models/Block.d.ts +0 -27
  194. package/codebase/types/ts-richtext/sources/models/Editor.d.ts +0 -61
  195. package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +0 -16
  196. package/codebase/types/ts-richtext/sources/types.d.ts +0 -143
  197. package/codebase/types/ts-richtext/tests/block.d.ts +0 -1
  198. package/codebase/types/ts-richtext/tests/editor.d.ts +0 -1
  199. package/codebase/types/ts-richtext/tests/suite.d.ts +0 -3
  200. package/codebase/types/ts-richtext/tests/textnode.d.ts +0 -1
  201. package/codebase/types/ts-samplegen/index.d.ts +0 -1
  202. package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +0 -20
  203. package/codebase/types/ts-samplegen/sources/entry.d.ts +0 -2
  204. package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
  205. package/codebase/types/ts-scheduler/index.d.ts +0 -1
  206. package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +0 -18
  207. package/codebase/types/ts-scheduler/sources/entry.d.ts +0 -2
  208. package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +0 -1
  209. package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +0 -1
  210. package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +0 -6
  211. package/codebase/types/ts-scheduler/sources/views/Base.d.ts +0 -3
  212. package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +0 -8
  213. package/codebase/types/ts-scheduler/sources/views/Day.d.ts +0 -4
  214. package/codebase/types/ts-scheduler/sources/views/Month.d.ts +0 -8
  215. package/codebase/types/ts-scheduler/sources/views/Week.d.ts +0 -4
  216. package/codebase/types/ts-scheduler/sources/views/index.d.ts +0 -11
  217. package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
  218. package/codebase/types/ts-sidebar/sources/entry.d.ts +0 -3
  219. package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +0 -2
  220. package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
  221. package/codebase/types/ts-slider/sources/entry.d.ts +0 -2
  222. package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
  223. package/codebase/types/ts-tabbar/sources/entry.d.ts +0 -2
  224. package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
  225. package/codebase/types/ts-theme/entry.d.ts +0 -0
  226. package/codebase/types/ts-timepicker/sources/entry.d.ts +0 -3
  227. package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
  228. package/codebase/types/ts-toolbar/sources/entry.d.ts +0 -4
  229. package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +0 -2
  230. package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
  231. package/codebase/types/ts-tree/sources/entry.d.ts +0 -6
  232. package/codebase/types/ts-tree/sources/entry_pro.d.ts +0 -2
  233. package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
  234. package/codebase/types/ts-treegrid/index.d.ts +0 -3
  235. package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +0 -30
  236. package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +0 -20
  237. package/codebase/types/ts-treegrid/sources/entry.d.ts +0 -7
  238. package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +0 -2
  239. package/codebase/types/ts-treegrid/sources/types.d.ts +0 -32
  240. package/codebase/types/ts-treegrid/tests/Grid.d.ts +0 -1
  241. package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +0 -1
  242. package/codebase/types/ts-treegrid/tests/stubs.d.ts +0 -83
  243. package/codebase/types/ts-treegrid/tests/suite.d.ts +0 -2
  244. package/codebase/types/ts-ui-kit/index.d.ts +0 -0
  245. package/codebase/types/ts-ui-kit/sources/entry.d.ts +0 -1
  246. package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
  247. package/codebase/types/ts-vault/sources/entry.d.ts +0 -6
  248. package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
  249. package/codebase/types/ts-window/sources/entry.d.ts +0 -2
  250. package/codebase/types/ts-window/sources/entry_pro.d.ts +0 -2
  251. package/codebase/types/ts-window/tests/suite.d.ts +0 -0
@@ -1,80 +0,0 @@
1
- export declare const dataSample: {
2
- name: string;
3
- year: number;
4
- continent: string;
5
- form: string;
6
- gdp: number;
7
- oil: number;
8
- balance: number;
9
- }[];
10
- export declare const returnedConfig: {
11
- rows: {
12
- id: string;
13
- label: string;
14
- }[];
15
- columns: {
16
- id: string;
17
- label: string;
18
- }[];
19
- values: {
20
- id: string;
21
- method: string;
22
- label: string;
23
- }[];
24
- };
25
- export declare const configSample: {
26
- data: {
27
- name: string;
28
- year: number;
29
- continent: string;
30
- form: string;
31
- gdp: number;
32
- oil: number;
33
- balance: number;
34
- }[];
35
- fields: {
36
- rows: string[];
37
- columns: string[];
38
- values: {
39
- id: string;
40
- method: string;
41
- }[];
42
- };
43
- fieldList: {
44
- id: string;
45
- label: string;
46
- }[];
47
- types: {
48
- operations: {
49
- id: string;
50
- label: string;
51
- }[];
52
- dates: {
53
- id: string;
54
- label: string;
55
- }[];
56
- };
57
- };
58
- export declare const newFieldsSample: {
59
- rows: string[];
60
- columns: string[];
61
- values: {
62
- id: string;
63
- method: string;
64
- }[];
65
- };
66
- export declare const newReturnedFields: {
67
- rows: {
68
- id: string;
69
- label: string;
70
- }[];
71
- columns: {
72
- id: string;
73
- label: string;
74
- }[];
75
- values: {
76
- id: string;
77
- method: string;
78
- label: string;
79
- }[];
80
- };
@@ -1,54 +0,0 @@
1
- import { IParsedPivotConfig } from "../../sources/types";
2
- export declare const dataSample: {
3
- name: string;
4
- continent: string;
5
- form: string;
6
- oil: number;
7
- }[];
8
- export declare const undefinedDataSample: {
9
- name: string;
10
- continent: string;
11
- form: string;
12
- oil: number;
13
- }[];
14
- export declare const columns: {
15
- name: string;
16
- $keyArr: string[];
17
- }[][];
18
- export declare const baseConfig: {
19
- data: {
20
- name: string;
21
- continent: string;
22
- form: string;
23
- oil: number;
24
- }[];
25
- fields: {
26
- rows: {
27
- id: string;
28
- label: string;
29
- }[];
30
- columns: {
31
- id: string;
32
- label: string;
33
- }[];
34
- values: {
35
- id: string;
36
- method: string;
37
- label: string;
38
- }[];
39
- };
40
- fieldList: any[];
41
- };
42
- export declare const sortConfig: IParsedPivotConfig;
43
- export declare const headers: {
44
- header: ({
45
- text: string;
46
- colspan: number;
47
- } | {
48
- text: string;
49
- colspan?: undefined;
50
- })[];
51
- width: number;
52
- id: number;
53
- }[];
54
- export declare const dataAfterGroup: string[][];
@@ -1,107 +0,0 @@
1
- export declare const dataSample: {
2
- name: string;
3
- year: number;
4
- continent: string;
5
- form: string;
6
- gdp: number;
7
- oil: number;
8
- balance: number;
9
- }[];
10
- export declare const returnedConfig: {
11
- rows: string[];
12
- columns: string[];
13
- values: {
14
- id: string;
15
- method: string;
16
- }[];
17
- };
18
- export declare const header: ({
19
- text: number;
20
- colspan: number;
21
- } | {
22
- text: string;
23
- colspan?: undefined;
24
- })[][];
25
- export declare const dataAfterGroup: string[][];
26
- export declare const filteredData: {
27
- name: string;
28
- year: number;
29
- continent: string;
30
- form: string;
31
- gdp: number;
32
- oil: number;
33
- balance: number;
34
- }[];
35
- export declare const filteredByArray: {
36
- name: string;
37
- year: number;
38
- continent: string;
39
- form: string;
40
- gdp: number;
41
- oil: number;
42
- balance: number;
43
- }[];
44
- export declare const configSample: {
45
- data: {
46
- name: string;
47
- year: number;
48
- continent: string;
49
- form: string;
50
- gdp: number;
51
- oil: number;
52
- balance: number;
53
- }[];
54
- fields: {
55
- rows: string[];
56
- columns: string[];
57
- values: {
58
- id: string;
59
- method: string;
60
- label: string;
61
- }[];
62
- };
63
- fieldList: {
64
- id: string;
65
- label: string;
66
- }[];
67
- };
68
- export declare const configWithDate: {
69
- data: {
70
- name: string;
71
- oil: number;
72
- when: string;
73
- }[];
74
- fields: {
75
- rows: string[];
76
- columns: (string | {
77
- id: string;
78
- group: string;
79
- })[];
80
- values: {
81
- id: string;
82
- method: string;
83
- label: string;
84
- }[];
85
- };
86
- fieldList: ({
87
- id: string;
88
- label: string;
89
- type?: undefined;
90
- } | {
91
- id: string;
92
- type: string;
93
- label?: undefined;
94
- })[];
95
- };
96
- export declare const normalizedFields: {
97
- rows: {
98
- id: string;
99
- }[];
100
- columns: {
101
- id: string;
102
- }[];
103
- values: {
104
- id: string;
105
- method: string;
106
- }[];
107
- };
@@ -1,6 +0,0 @@
1
- import "./Pivot.ts";
2
- import "./DataPreprocessor.ts";
3
- import "./group-module/DataGroup.ts";
4
- import "./group-module/groupfuncs.ts";
5
- import "./config-module/Config.ts";
6
- import "./filter-module/Filter.ts";
@@ -1,2 +0,0 @@
1
- import "../../styles/popup.scss";
2
- export { Popup } from "./Popup";
File without changes
@@ -1,2 +0,0 @@
1
- export * from "./sources/Property";
2
- export * from "./sources/types";
@@ -1,16 +0,0 @@
1
- import { IItemConfig, IProperty, IPropertyConfig, IValues, PropertyEvents } from "./types";
2
- import { IEventSystem } from "../../ts-common/events";
3
- import { View } from "../../ts-common/view";
4
- import { IDataCollection } from "../../ts-data";
5
- export declare class Property extends View implements IProperty {
6
- events: IEventSystem<PropertyEvents>;
7
- data: IDataCollection<IItemConfig>;
8
- constructor(cont: string | HTMLElement, config?: IPropertyConfig);
9
- destructor(): void;
10
- clear(): void;
11
- getValues(): {};
12
- setValues(data: IValues): void;
13
- setFocus(id: string): void;
14
- private _parseStruct;
15
- private _toVDOM;
16
- }
@@ -1,2 +0,0 @@
1
- import "../../styles/property.scss";
2
- export { Property } from "./Property";
@@ -1,16 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- import { IItem, IItemConfig, IPropertyConfig, PropertyEvents } from "../types";
3
- export declare class BaseItem implements IItem {
4
- config: IItemConfig;
5
- propertyConfig: IPropertyConfig;
6
- events: IEventSystem<PropertyEvents>;
7
- protected _uid: string;
8
- protected _handlers: any;
9
- protected _isValid: boolean;
10
- protected _visibleValue: any;
11
- constructor(itemConfig: IItemConfig, propertyConfig: IPropertyConfig, events: IEventSystem<PropertyEvents>);
12
- setValue(value: any, silent?: boolean): any;
13
- getValue(): any;
14
- clear(): void;
15
- toVDOM(): any;
16
- }
@@ -1,7 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- import { IItemConfig, IPropertyConfig, PropertyEvents } from "../types";
3
- import { BaseItem } from "./BaseItem";
4
- export declare class Checkbox extends BaseItem {
5
- constructor(itemConfig: IItemConfig, propertyConfig: IPropertyConfig, events: IEventSystem<PropertyEvents>);
6
- toVDOM(): any;
7
- }
@@ -1,10 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- import { IItemConfig, IPropertyConfig, PropertyEvents } from "../types";
3
- import { BaseItem } from "./BaseItem";
4
- export declare class ColorPicker extends BaseItem {
5
- private _colorPicker;
6
- private _popup;
7
- constructor(itemConfig: IItemConfig, propertyConfig: IPropertyConfig, ev: IEventSystem<PropertyEvents>);
8
- toVDOM(): any;
9
- private _showPopup;
10
- }
@@ -1,9 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- import { IItemConfig, IPropertyConfig, PropertyEvents } from "../types";
3
- import { BaseItem } from "./BaseItem";
4
- export declare class Combo extends BaseItem {
5
- private _combo;
6
- constructor(itemConfig: IItemConfig, propertyConfig: IPropertyConfig, ev: IEventSystem<PropertyEvents>);
7
- getValue(): string;
8
- toVDOM(): any;
9
- }
@@ -1,4 +0,0 @@
1
- import { BaseItem } from "./BaseItem";
2
- export declare class Label extends BaseItem {
3
- toVDOM(): any;
4
- }
@@ -1,5 +0,0 @@
1
- import { BaseItem } from "./BaseItem";
2
- export declare class Select extends BaseItem {
3
- toVDOM(): any;
4
- private _getOptions;
5
- }
@@ -1,4 +0,0 @@
1
- import { BaseItem } from "./BaseItem";
2
- export declare class Text extends BaseItem {
3
- toVDOM(): any;
4
- }
@@ -1,4 +0,0 @@
1
- import { BaseItem } from "./BaseItem";
2
- export declare class Textarea extends BaseItem {
3
- toVDOM(): any;
4
- }
@@ -1,2 +0,0 @@
1
- import { DefaultValidationRules, ValidationFunction } from "./../types";
2
- export declare function validate(val: any, rule: DefaultValidationRules | ValidationFunction): boolean;
@@ -1,19 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- import { IItem, IItemConfig, IPropertyConfig, PropertyEvents } from "../types";
3
- import { Checkbox } from "./Checkbox";
4
- import { ColorPicker } from "./Colorpicker";
5
- import { Combo } from "./Combo";
6
- import { Label } from "./Label";
7
- import { Select } from "./Select";
8
- import { Text } from "./Text";
9
- import { Textarea } from "./Textarea";
10
- export declare const items: {
11
- text: typeof Text;
12
- colorpicker: typeof ColorPicker;
13
- textarea: typeof Textarea;
14
- label: typeof Label;
15
- select: typeof Select;
16
- checkbox: typeof Checkbox;
17
- combo: typeof Combo;
18
- };
19
- export declare function itemsFactory(itemConfig: IItemConfig, propertyConfig: IPropertyConfig, events: IEventSystem<PropertyEvents>): IItem;
@@ -1,47 +0,0 @@
1
- import { IEventSystem } from "../../ts-common/events";
2
- import { IDataCollection } from "../../ts-data";
3
- import { items } from "./items";
4
- export interface IValues {
5
- [key: string]: any;
6
- }
7
- export interface IPropertyConfig {
8
- title?: string;
9
- labelsWidth?: number;
10
- }
11
- export interface IProperty {
12
- events: IEventSystem<PropertyEvents>;
13
- data: IDataCollection;
14
- destructor(): void;
15
- clear(): void;
16
- getValues(): IValues;
17
- setValues(data: IValues): void;
18
- setFocus(id: string): void;
19
- }
20
- export declare enum PropertyEvents {
21
- beforeValueSet = "beforeValueSet",
22
- afterValueSet = "afterValueSet",
23
- validationError = "validationError"
24
- }
25
- export interface IItem {
26
- config: IItemConfig;
27
- events: IEventSystem<PropertyEvents>;
28
- setValue(value: any, silent?: boolean): void;
29
- getValue(): any;
30
- clear(): void;
31
- toVDOM(): any;
32
- }
33
- export type ItemTypes = keyof typeof items;
34
- export type DefaultValidationRules = "number" | "email" | "color" | "date";
35
- export type ValidationFunction = (val: any) => boolean;
36
- export interface IItemConfig {
37
- id: string;
38
- type: ItemTypes;
39
- validation?: DefaultValidationRules | ValidationFunction;
40
- icon?: any;
41
- label?: string;
42
- value?: any;
43
- options?: any[];
44
- placeholder?: string;
45
- readonly?: boolean;
46
- $item?: IItem;
47
- }
File without changes
@@ -1,4 +0,0 @@
1
- import "../../styles/ribbon.scss";
2
- import "../../styles/calendar.scss";
3
- export { TreeCollection } from "../../ts-data";
4
- export { Ribbon } from "./Ribbon";
@@ -1,2 +0,0 @@
1
- export * from "./entry";
2
- export { ProRibbon as Ribbon } from "./ProRibbon";
File without changes
@@ -1 +0,0 @@
1
- export * from "./sources/Richtext";
@@ -1,16 +0,0 @@
1
- import { Editor } from "./models/Editor";
2
- import { IOperation } from "./types";
3
- export declare class Manager {
4
- private _editor;
5
- private _changes;
6
- private _buffer;
7
- private _inactionTimer;
8
- constructor(editor: Editor);
9
- execute(operation: IOperation): boolean;
10
- canUndo(): boolean;
11
- canRedo(): boolean;
12
- undo(): boolean;
13
- redo(): boolean;
14
- clearChanges(): void;
15
- private _change;
16
- }
@@ -1,36 +0,0 @@
1
- import { View } from "../../ts-common/view";
2
- import { Toolbar } from "../../ts-toolbar";
3
- import { IEditorAPI, IRichText, IRichTextConfig, IRichTextEventSystem } from "./types";
4
- export declare class Richtext extends View implements IRichText {
5
- events: IRichTextEventSystem;
6
- config: IRichTextConfig;
7
- toolbar: Toolbar;
8
- private _editor;
9
- private _layout;
10
- private _handlers;
11
- private _initContainer;
12
- private _toolbarHelper;
13
- private _scrollHelper;
14
- private _linkEditor;
15
- private _restoreFocusTimeout;
16
- private _compositionEventsDestructor;
17
- private _editorView;
18
- private _composition;
19
- constructor(container: HTMLElement | string, config: any);
20
- getRootView(): any;
21
- setValue(value: string, mode?: "html" | "markdown"): void;
22
- getValue(mode?: "html" | "text" | "markdown"): string;
23
- getStats(selection?: boolean): {
24
- [key: string]: number;
25
- };
26
- destructor(): void;
27
- fullScreen(): void;
28
- exitFullScreen(): void;
29
- getEditorAPI(): IEditorAPI;
30
- private _initUI;
31
- private _initHandlers;
32
- private _initEvents;
33
- private _restoreFocus;
34
- private _draw;
35
- private _renderTextNode;
36
- }
@@ -1,30 +0,0 @@
1
- import { ISelectionState } from "./types";
2
- type CompactRange = [number, number, number];
3
- export declare class SelectionHelper {
4
- private _uid;
5
- private _events;
6
- private _state;
7
- private _waitUpdate;
8
- private _editor;
9
- private _ignoreSelection;
10
- private _ignoreSelectionTimeout;
11
- private _selectedText;
12
- constructor(editor: any, uid: any, events: any);
13
- clear(): void;
14
- set(state: ISelectionState): void;
15
- get(): ISelectionState;
16
- getCompact(): CompactRange[];
17
- setCompact(compact: CompactRange[]): void;
18
- getPosition(selection: ISelectionState): Promise<any>;
19
- destructor(): void;
20
- isActive(): boolean;
21
- isFull(): boolean;
22
- update(): boolean;
23
- getSelectedText(): string;
24
- selectAll(): void;
25
- refresh(): boolean;
26
- private _initEvents;
27
- private _createRange;
28
- private _selectionChange;
29
- }
30
- export {};
@@ -1,44 +0,0 @@
1
- import { IStyle, RTEToolbarBlock } from "./types";
2
- export declare const fontSizes: {
3
- "12px": boolean;
4
- "14px": boolean;
5
- "16px": boolean;
6
- "18px": boolean;
7
- "20px": boolean;
8
- "24px": boolean;
9
- "28px": boolean;
10
- "32px": boolean;
11
- "36px": boolean;
12
- };
13
- export declare const fonts: {
14
- Roboto: boolean;
15
- Arial: boolean;
16
- Georgia: boolean;
17
- Tahoma: boolean;
18
- "Times New Roman": boolean;
19
- Verdana: boolean;
20
- };
21
- export declare function getToolbarData(toolbarBlocks: RTEToolbarBlock[], defaultStyle: IStyle): any[];
22
- export declare const emptyStyle: {};
23
- export declare const defaultBlocks: RTEToolbarBlock[];
24
- export declare const defaultFontSizeByBlock: {
25
- p: string;
26
- h1: string;
27
- h2: string;
28
- h3: string;
29
- h4: string;
30
- h5: string;
31
- h6: string;
32
- };
33
- export declare const defaultDiffrentStyle: {
34
- "font-size": string;
35
- "font-family": string;
36
- style: string;
37
- bold: boolean;
38
- underline: boolean;
39
- italic: boolean;
40
- strike: boolean;
41
- color: string;
42
- background: string;
43
- align: boolean;
44
- };
@@ -1,3 +0,0 @@
1
- import "../../styles/richtext.scss";
2
- export { Richtext } from "./Richtext";
3
- export declare const i18n: any;
@@ -1,10 +0,0 @@
1
- export declare class TextBuffer {
2
- private _editor;
3
- private _rawText;
4
- private _editorContent;
5
- constructor(editor: any);
6
- copy(event: ClipboardEvent): boolean;
7
- cut(event: ClipboardEvent): boolean;
8
- paste(event: ClipboardEvent): boolean;
9
- private _setBuffer;
10
- }
@@ -1,2 +0,0 @@
1
- import { IEventSystem } from "../../../ts-common/events";
2
- export declare function listenCompositionEvents(events: IEventSystem<any>, isActive: () => boolean): () => void;
@@ -1,40 +0,0 @@
1
- import { View } from "../../../ts-common/view";
2
- import { Editor } from "../models/Editor";
3
- import { IRichTextEventSystem } from "../types";
4
- interface ILinkEditorConfig {
5
- events: IRichTextEventSystem;
6
- editor: Editor;
7
- getRootView: () => void;
8
- }
9
- export declare class LinkEditor extends View {
10
- private _events;
11
- private _editor;
12
- private _getParentView;
13
- private _popup;
14
- private _handlers;
15
- private _editMode;
16
- private _initText;
17
- private _link;
18
- private _text;
19
- private _currentLinkRef;
20
- constructor(container: any, config: ILinkEditorConfig);
21
- isVisible(): boolean;
22
- show(node: HTMLElement, mode: any): void;
23
- hide(): void;
24
- get(): {
25
- link: string;
26
- text: string;
27
- };
28
- getCurrentLinkRef(): string;
29
- set(link: string, text: string): void;
30
- focus(): void;
31
- private _destroyCurrentLinkRef;
32
- private _initEvents;
33
- private _draw;
34
- private _drawEditMode;
35
- private _drawViewMode;
36
- private _modifyLink;
37
- private _apply;
38
- private _show;
39
- }
40
- export {};
@@ -1,2 +0,0 @@
1
- import { Block } from "../models/Block";
2
- export declare function markdownSerializer(blocks: Block[]): string;
@@ -1,19 +0,0 @@
1
- import { IStyle } from "../types";
2
- interface IMinimalNodeStyle {
3
- f?: number;
4
- s?: number;
5
- t?: string;
6
- c?: string;
7
- b?: string;
8
- a?: string;
9
- }
10
- interface IMinimalBlockStyle {
11
- a?: number;
12
- b?: number;
13
- s?: number;
14
- }
15
- export declare function minimizeTextNodeStyle(style: IStyle): IMinimalNodeStyle;
16
- export declare function textNodeStyleFromMinimize(minimal: IMinimalNodeStyle): IStyle;
17
- export declare function minimizeBlockStyle(style: IStyle): IMinimalBlockStyle;
18
- export declare function blockStyleFromMinimize(minimal: IMinimalBlockStyle): IStyle;
19
- export {};