apex-grid 1.0.0-rc.0 → 1.0.0-rc.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 (211) hide show
  1. package/LICENSE +9 -0
  2. package/dist/bundle.js +793 -695
  3. package/dist/docs/assets/main.js +56 -52
  4. package/dist/docs/assets/search.js +1 -1
  5. package/dist/docs/assets/style.css +23 -0
  6. package/dist/docs/classes/ApexGrid.html +88 -33
  7. package/dist/docs/index.html +16 -9
  8. package/dist/docs/interfaces/ApexFilteringEvent.html +2 -9
  9. package/dist/docs/interfaces/ApexGridEventMap.html +2 -2
  10. package/dist/docs/interfaces/ApexHeaderContext.html +1 -1
  11. package/dist/docs/interfaces/{ApexCellContext.html → BaseApexCellContext.html} +18 -16
  12. package/dist/docs/interfaces/{ColumnConfiguration.html → BaseColumnConfiguration.html} +40 -38
  13. package/dist/docs/interfaces/{ColumnSortConfiguration.html → BaseColumnSortConfiguration.html} +14 -27
  14. package/dist/docs/interfaces/{FilterExpression.html → BaseFilterExpression.html} +30 -21
  15. package/dist/docs/interfaces/{SortExpression.html → BaseSortExpression.html} +19 -32
  16. package/dist/docs/interfaces/ColumnFilterConfiguration.html +4 -14
  17. package/dist/docs/modules.html +29 -15
  18. package/dist/docs/types/ApexCellContext.html +77 -0
  19. package/dist/docs/types/BaseSortComparer.html +92 -0
  20. package/dist/docs/types/ColumnConfiguration.html +77 -0
  21. package/dist/docs/types/ColumnSortConfiguration.html +77 -0
  22. package/dist/docs/types/DataType.html +16 -9
  23. package/dist/docs/types/FilterCriteria.html +21 -10
  24. package/dist/docs/types/FilterExpression.html +77 -0
  25. package/dist/docs/types/Keys.html +16 -9
  26. package/dist/docs/types/{Values.html → PropertyType.html} +23 -14
  27. package/dist/docs/types/RemoteFilterHook.html +16 -9
  28. package/dist/docs/types/RemoteSortHook.html +16 -9
  29. package/dist/docs/types/SortComparer.html +77 -0
  30. package/dist/docs/types/SortExpression.html +77 -0
  31. package/dist/docs/types/SortState.html +17 -10
  32. package/dist/docs/types/SortingDirection.html +17 -10
  33. package/dist/src/components/cell.d.ts +4 -3
  34. package/dist/src/components/cell.d.ts.map +1 -1
  35. package/dist/src/components/cell.js +11 -9
  36. package/dist/src/components/cell.js.map +1 -1
  37. package/dist/src/components/filter-row.d.ts +2 -1
  38. package/dist/src/components/filter-row.d.ts.map +1 -1
  39. package/dist/src/components/filter-row.js +23 -18
  40. package/dist/src/components/filter-row.js.map +1 -1
  41. package/dist/src/components/grid.d.ts +32 -23
  42. package/dist/src/components/grid.d.ts.map +1 -1
  43. package/dist/src/components/grid.js +104 -113
  44. package/dist/src/components/grid.js.map +1 -1
  45. package/dist/src/components/header-row.d.ts +1 -0
  46. package/dist/src/components/header-row.d.ts.map +1 -1
  47. package/dist/src/components/header-row.js +10 -10
  48. package/dist/src/components/header-row.js.map +1 -1
  49. package/dist/src/components/header.d.ts +1 -0
  50. package/dist/src/components/header.d.ts.map +1 -1
  51. package/dist/src/components/header.js +10 -10
  52. package/dist/src/components/header.js.map +1 -1
  53. package/dist/src/components/row.d.ts +1 -0
  54. package/dist/src/components/row.d.ts.map +1 -1
  55. package/dist/src/components/row.js +8 -8
  56. package/dist/src/components/row.js.map +1 -1
  57. package/dist/src/components/virtualizer.d.ts +13 -0
  58. package/dist/src/components/virtualizer.d.ts.map +1 -0
  59. package/dist/src/components/virtualizer.js +21 -0
  60. package/dist/src/components/virtualizer.js.map +1 -0
  61. package/dist/src/controllers/dom.d.ts +5 -2
  62. package/dist/src/controllers/dom.d.ts.map +1 -1
  63. package/dist/src/controllers/dom.js +34 -5
  64. package/dist/src/controllers/dom.js.map +1 -1
  65. package/dist/src/controllers/filter.d.ts +3 -2
  66. package/dist/src/controllers/filter.d.ts.map +1 -1
  67. package/dist/src/controllers/filter.js +14 -2
  68. package/dist/src/controllers/filter.js.map +1 -1
  69. package/dist/src/controllers/navigation.d.ts +12 -16
  70. package/dist/src/controllers/navigation.d.ts.map +1 -1
  71. package/dist/src/controllers/navigation.js +14 -13
  72. package/dist/src/controllers/navigation.js.map +1 -1
  73. package/dist/src/controllers/sort.d.ts.map +1 -1
  74. package/dist/src/controllers/sort.js +10 -4
  75. package/dist/src/controllers/sort.js.map +1 -1
  76. package/dist/src/controllers/state.d.ts +3 -0
  77. package/dist/src/controllers/state.d.ts.map +1 -1
  78. package/dist/src/controllers/state.js +17 -1
  79. package/dist/src/controllers/state.js.map +1 -1
  80. package/dist/src/define.d.ts +3 -0
  81. package/dist/src/define.d.ts.map +1 -0
  82. package/dist/src/define.js +4 -0
  83. package/dist/src/define.js.map +1 -0
  84. package/dist/src/index.d.ts +3 -4
  85. package/dist/src/index.d.ts.map +1 -1
  86. package/dist/src/index.js +0 -1
  87. package/dist/src/index.js.map +1 -1
  88. package/dist/src/internal/constants.d.ts +2 -2
  89. package/dist/src/internal/constants.d.ts.map +1 -1
  90. package/dist/src/internal/constants.js.map +1 -1
  91. package/dist/src/internal/register.d.ts +7 -0
  92. package/dist/src/internal/register.d.ts.map +1 -0
  93. package/dist/src/internal/register.js +9 -0
  94. package/dist/src/internal/register.js.map +1 -0
  95. package/dist/src/internal/tags.d.ts +1 -1
  96. package/dist/src/internal/tags.d.ts.map +1 -1
  97. package/dist/src/internal/tags.js +1 -1
  98. package/dist/src/internal/tags.js.map +1 -1
  99. package/dist/src/internal/types.d.ts +28 -21
  100. package/dist/src/internal/types.d.ts.map +1 -1
  101. package/dist/src/internal/types.js.map +1 -1
  102. package/dist/src/internal/utils.d.ts +1 -4
  103. package/dist/src/internal/utils.d.ts.map +1 -1
  104. package/dist/src/internal/utils.js +3 -3
  105. package/dist/src/internal/utils.js.map +1 -1
  106. package/dist/src/operations/base.d.ts +4 -4
  107. package/dist/src/operations/base.d.ts.map +1 -1
  108. package/dist/src/operations/base.js +1 -3
  109. package/dist/src/operations/base.js.map +1 -1
  110. package/dist/src/operations/filter/operands/boolean.d.ts +3 -10
  111. package/dist/src/operations/filter/operands/boolean.d.ts.map +1 -1
  112. package/dist/src/operations/filter/operands/boolean.js +32 -34
  113. package/dist/src/operations/filter/operands/boolean.js.map +1 -1
  114. package/dist/src/operations/filter/operands/number.d.ts +3 -13
  115. package/dist/src/operations/filter/operands/number.d.ts.map +1 -1
  116. package/dist/src/operations/filter/operands/number.js +50 -49
  117. package/dist/src/operations/filter/operands/number.js.map +1 -1
  118. package/dist/src/operations/filter/operands/string.d.ts +3 -13
  119. package/dist/src/operations/filter/operands/string.d.ts.map +1 -1
  120. package/dist/src/operations/filter/operands/string.js +50 -49
  121. package/dist/src/operations/filter/operands/string.js.map +1 -1
  122. package/dist/src/operations/filter/state.d.ts +2 -2
  123. package/dist/src/operations/filter/state.d.ts.map +1 -1
  124. package/dist/src/operations/filter/state.js.map +1 -1
  125. package/dist/src/operations/filter/tree.d.ts +5 -5
  126. package/dist/src/operations/filter/tree.d.ts.map +1 -1
  127. package/dist/src/operations/filter/types.d.ts +25 -11
  128. package/dist/src/operations/filter/types.d.ts.map +1 -1
  129. package/dist/src/operations/filter/types.js.map +1 -1
  130. package/dist/src/operations/filter.d.ts.map +1 -1
  131. package/dist/src/operations/filter.js +4 -1
  132. package/dist/src/operations/filter.js.map +1 -1
  133. package/dist/src/operations/sort/types.d.ts +17 -5
  134. package/dist/src/operations/sort/types.d.ts.map +1 -1
  135. package/dist/src/operations/sort/types.js.map +1 -1
  136. package/dist/src/operations/sort.d.ts +1 -2
  137. package/dist/src/operations/sort.d.ts.map +1 -1
  138. package/dist/src/operations/sort.js +5 -5
  139. package/dist/src/operations/sort.js.map +1 -1
  140. package/dist/src/styles/body-cell/body-cell-styles.css.d.ts +2 -0
  141. package/dist/src/styles/body-cell/body-cell-styles.css.d.ts.map +1 -0
  142. package/dist/src/styles/body-cell/{body-cell-styles.js → body-cell-styles.css.js} +3 -2
  143. package/dist/src/styles/body-cell/body-cell-styles.css.js.map +1 -0
  144. package/dist/src/styles/body-row/body-row-styles.css.d.ts +2 -0
  145. package/dist/src/styles/body-row/body-row-styles.css.d.ts.map +1 -0
  146. package/dist/src/styles/body-row/{body-row-styles.js → body-row-styles.css.js} +2 -2
  147. package/dist/src/styles/body-row/body-row-styles.css.js.map +1 -0
  148. package/dist/src/styles/filter-row/filter-row-styles.css.d.ts +2 -0
  149. package/dist/src/styles/filter-row/filter-row-styles.css.d.ts.map +1 -0
  150. package/dist/src/styles/filter-row/{filter-row-styles.js → filter-row-styles.css.js} +2 -2
  151. package/dist/src/styles/filter-row/filter-row-styles.css.js.map +1 -0
  152. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.css.d.ts +2 -0
  153. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.css.d.ts.map +1 -0
  154. package/dist/src/styles/grid/themes/light/{grid.bootstrap-styles.js → grid.bootstrap-styles.css.js} +5 -4
  155. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.css.js.map +1 -0
  156. package/dist/src/styles/grid/themes/light/grid.fluent-styles.css.d.ts +2 -0
  157. package/dist/src/styles/grid/themes/light/grid.fluent-styles.css.d.ts.map +1 -0
  158. package/dist/src/styles/grid/themes/light/{grid.fluent-styles.js → grid.fluent-styles.css.js} +5 -4
  159. package/dist/src/styles/grid/themes/light/grid.fluent-styles.css.js.map +1 -0
  160. package/dist/src/styles/grid/themes/light/grid.indigo-styles.css.d.ts +2 -0
  161. package/dist/src/styles/grid/themes/light/grid.indigo-styles.css.d.ts.map +1 -0
  162. package/dist/src/styles/grid/themes/light/{grid.indigo-styles.js → grid.indigo-styles.css.js} +5 -4
  163. package/dist/src/styles/grid/themes/light/grid.indigo-styles.css.js.map +1 -0
  164. package/dist/src/styles/grid/themes/light/grid.material-styles.css.d.ts +2 -0
  165. package/dist/src/styles/grid/themes/light/grid.material-styles.css.d.ts.map +1 -0
  166. package/dist/src/styles/grid/themes/light/{grid.material-styles.js → grid.material-styles.css.js} +5 -4
  167. package/dist/src/styles/grid/themes/light/grid.material-styles.css.js.map +1 -0
  168. package/dist/src/styles/header-cell/header-cell-styles.css.d.ts +2 -0
  169. package/dist/src/styles/header-cell/header-cell-styles.css.d.ts.map +1 -0
  170. package/dist/src/styles/header-cell/{header-cell-styles.js → header-cell-styles.css.js} +2 -2
  171. package/dist/src/styles/header-cell/header-cell-styles.css.js.map +1 -0
  172. package/dist/src/styles/header-row/header-row.base-styles.css.d.ts +2 -0
  173. package/dist/src/styles/header-row/header-row.base-styles.css.d.ts.map +1 -0
  174. package/dist/src/styles/header-row/{header-row.base-styles.js → header-row.base-styles.css.js} +2 -2
  175. package/dist/src/styles/header-row/header-row.base-styles.css.js.map +1 -0
  176. package/package.json +24 -23
  177. package/dist/src/components/grid-body.d.ts +0 -12
  178. package/dist/src/components/grid-body.d.ts.map +0 -1
  179. package/dist/src/components/grid-body.js +0 -27
  180. package/dist/src/components/grid-body.js.map +0 -1
  181. package/dist/src/operations/filter/operands/base.d.ts +0 -8
  182. package/dist/src/operations/filter/operands/base.d.ts.map +0 -1
  183. package/dist/src/operations/filter/operands/base.js +0 -15
  184. package/dist/src/operations/filter/operands/base.js.map +0 -1
  185. package/dist/src/styles/body-cell/body-cell-styles.d.ts +0 -3
  186. package/dist/src/styles/body-cell/body-cell-styles.d.ts.map +0 -1
  187. package/dist/src/styles/body-cell/body-cell-styles.js.map +0 -1
  188. package/dist/src/styles/body-row/body-row-styles.d.ts +0 -3
  189. package/dist/src/styles/body-row/body-row-styles.d.ts.map +0 -1
  190. package/dist/src/styles/body-row/body-row-styles.js.map +0 -1
  191. package/dist/src/styles/filter-row/filter-row-styles.d.ts +0 -3
  192. package/dist/src/styles/filter-row/filter-row-styles.d.ts.map +0 -1
  193. package/dist/src/styles/filter-row/filter-row-styles.js.map +0 -1
  194. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.d.ts +0 -3
  195. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.d.ts.map +0 -1
  196. package/dist/src/styles/grid/themes/light/grid.bootstrap-styles.js.map +0 -1
  197. package/dist/src/styles/grid/themes/light/grid.fluent-styles.d.ts +0 -3
  198. package/dist/src/styles/grid/themes/light/grid.fluent-styles.d.ts.map +0 -1
  199. package/dist/src/styles/grid/themes/light/grid.fluent-styles.js.map +0 -1
  200. package/dist/src/styles/grid/themes/light/grid.indigo-styles.d.ts +0 -3
  201. package/dist/src/styles/grid/themes/light/grid.indigo-styles.d.ts.map +0 -1
  202. package/dist/src/styles/grid/themes/light/grid.indigo-styles.js.map +0 -1
  203. package/dist/src/styles/grid/themes/light/grid.material-styles.d.ts +0 -3
  204. package/dist/src/styles/grid/themes/light/grid.material-styles.d.ts.map +0 -1
  205. package/dist/src/styles/grid/themes/light/grid.material-styles.js.map +0 -1
  206. package/dist/src/styles/header-cell/header-cell-styles.d.ts +0 -3
  207. package/dist/src/styles/header-cell/header-cell-styles.d.ts.map +0 -1
  208. package/dist/src/styles/header-cell/header-cell-styles.js.map +0 -1
  209. package/dist/src/styles/header-row/header-row.base-styles.d.ts +0 -3
  210. package/dist/src/styles/header-row/header-row.base-styles.d.ts.map +0 -1
  211. package/dist/src/styles/header-row/header-row.base-styles.js.map +0 -1
package/LICENSE CHANGED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 ApexCharts
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.