@toolbox-web/grid-angular 0.7.0 → 0.7.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 (210) hide show
  1. package/fesm2022/toolbox-web-grid-angular-features-clipboard.mjs +30 -0
  2. package/fesm2022/toolbox-web-grid-angular-features-clipboard.mjs.map +1 -0
  3. package/fesm2022/toolbox-web-grid-angular-features-column-virtualization.mjs +28 -0
  4. package/fesm2022/toolbox-web-grid-angular-features-column-virtualization.mjs.map +1 -0
  5. package/fesm2022/toolbox-web-grid-angular-features-context-menu.mjs +28 -0
  6. package/fesm2022/toolbox-web-grid-angular-features-context-menu.mjs.map +1 -0
  7. package/fesm2022/toolbox-web-grid-angular-features-editing.mjs +33 -0
  8. package/fesm2022/toolbox-web-grid-angular-features-editing.mjs.map +1 -0
  9. package/fesm2022/toolbox-web-grid-angular-features-export.mjs +29 -0
  10. package/fesm2022/toolbox-web-grid-angular-features-export.mjs.map +1 -0
  11. package/fesm2022/toolbox-web-grid-angular-features-filtering.mjs +29 -0
  12. package/fesm2022/toolbox-web-grid-angular-features-filtering.mjs.map +1 -0
  13. package/fesm2022/toolbox-web-grid-angular-features-grouping-columns.mjs +28 -0
  14. package/fesm2022/toolbox-web-grid-angular-features-grouping-columns.mjs.map +1 -0
  15. package/fesm2022/toolbox-web-grid-angular-features-grouping-rows.mjs +25 -0
  16. package/fesm2022/toolbox-web-grid-angular-features-grouping-rows.mjs.map +1 -0
  17. package/fesm2022/toolbox-web-grid-angular-features-master-detail.mjs +25 -0
  18. package/fesm2022/toolbox-web-grid-angular-features-master-detail.mjs.map +1 -0
  19. package/fesm2022/toolbox-web-grid-angular-features-multi-sort.mjs +40 -0
  20. package/fesm2022/toolbox-web-grid-angular-features-multi-sort.mjs.map +1 -0
  21. package/{features/pinned-columns.d.ts → fesm2022/toolbox-web-grid-angular-features-pinned-columns.mjs} +11 -2
  22. package/fesm2022/toolbox-web-grid-angular-features-pinned-columns.mjs.map +1 -0
  23. package/fesm2022/toolbox-web-grid-angular-features-pinned-rows.mjs +28 -0
  24. package/fesm2022/toolbox-web-grid-angular-features-pinned-rows.mjs.map +1 -0
  25. package/fesm2022/toolbox-web-grid-angular-features-pivot.mjs +25 -0
  26. package/fesm2022/toolbox-web-grid-angular-features-pivot.mjs.map +1 -0
  27. package/fesm2022/toolbox-web-grid-angular-features-print.mjs +28 -0
  28. package/fesm2022/toolbox-web-grid-angular-features-print.mjs.map +1 -0
  29. package/fesm2022/toolbox-web-grid-angular-features-reorder.mjs +28 -0
  30. package/fesm2022/toolbox-web-grid-angular-features-reorder.mjs.map +1 -0
  31. package/fesm2022/toolbox-web-grid-angular-features-responsive.mjs +28 -0
  32. package/fesm2022/toolbox-web-grid-angular-features-responsive.mjs.map +1 -0
  33. package/fesm2022/toolbox-web-grid-angular-features-row-reorder.mjs +28 -0
  34. package/fesm2022/toolbox-web-grid-angular-features-row-reorder.mjs.map +1 -0
  35. package/fesm2022/toolbox-web-grid-angular-features-selection.mjs +30 -0
  36. package/fesm2022/toolbox-web-grid-angular-features-selection.mjs.map +1 -0
  37. package/fesm2022/toolbox-web-grid-angular-features-server-side.mjs +25 -0
  38. package/fesm2022/toolbox-web-grid-angular-features-server-side.mjs.map +1 -0
  39. package/fesm2022/toolbox-web-grid-angular-features-sorting.mjs +25 -0
  40. package/fesm2022/toolbox-web-grid-angular-features-sorting.mjs.map +1 -0
  41. package/fesm2022/toolbox-web-grid-angular-features-tree.mjs +28 -0
  42. package/fesm2022/toolbox-web-grid-angular-features-tree.mjs.map +1 -0
  43. package/fesm2022/toolbox-web-grid-angular-features-undo-redo.mjs +30 -0
  44. package/fesm2022/toolbox-web-grid-angular-features-undo-redo.mjs.map +1 -0
  45. package/fesm2022/toolbox-web-grid-angular-features-visibility.mjs +28 -0
  46. package/fesm2022/toolbox-web-grid-angular-features-visibility.mjs.map +1 -0
  47. package/fesm2022/toolbox-web-grid-angular.mjs +3189 -0
  48. package/fesm2022/toolbox-web-grid-angular.mjs.map +1 -0
  49. package/package.json +109 -35
  50. package/types/toolbox-web-grid-angular-features-clipboard.d.ts +3 -0
  51. package/types/toolbox-web-grid-angular-features-clipboard.d.ts.map +1 -0
  52. package/types/toolbox-web-grid-angular-features-column-virtualization.d.ts +3 -0
  53. package/types/toolbox-web-grid-angular-features-column-virtualization.d.ts.map +1 -0
  54. package/types/toolbox-web-grid-angular-features-context-menu.d.ts +3 -0
  55. package/types/toolbox-web-grid-angular-features-context-menu.d.ts.map +1 -0
  56. package/types/toolbox-web-grid-angular-features-editing.d.ts +3 -0
  57. package/types/toolbox-web-grid-angular-features-editing.d.ts.map +1 -0
  58. package/types/toolbox-web-grid-angular-features-export.d.ts +3 -0
  59. package/types/toolbox-web-grid-angular-features-export.d.ts.map +1 -0
  60. package/types/toolbox-web-grid-angular-features-filtering.d.ts +3 -0
  61. package/types/toolbox-web-grid-angular-features-filtering.d.ts.map +1 -0
  62. package/types/toolbox-web-grid-angular-features-grouping-columns.d.ts +3 -0
  63. package/types/toolbox-web-grid-angular-features-grouping-columns.d.ts.map +1 -0
  64. package/types/toolbox-web-grid-angular-features-grouping-rows.d.ts +3 -0
  65. package/types/toolbox-web-grid-angular-features-grouping-rows.d.ts.map +1 -0
  66. package/types/toolbox-web-grid-angular-features-master-detail.d.ts +3 -0
  67. package/types/toolbox-web-grid-angular-features-master-detail.d.ts.map +1 -0
  68. package/types/toolbox-web-grid-angular-features-multi-sort.d.ts +3 -0
  69. package/types/toolbox-web-grid-angular-features-multi-sort.d.ts.map +1 -0
  70. package/types/toolbox-web-grid-angular-features-pinned-columns.d.ts +3 -0
  71. package/types/toolbox-web-grid-angular-features-pinned-columns.d.ts.map +1 -0
  72. package/types/toolbox-web-grid-angular-features-pinned-rows.d.ts +3 -0
  73. package/types/toolbox-web-grid-angular-features-pinned-rows.d.ts.map +1 -0
  74. package/types/toolbox-web-grid-angular-features-pivot.d.ts +3 -0
  75. package/types/toolbox-web-grid-angular-features-pivot.d.ts.map +1 -0
  76. package/types/toolbox-web-grid-angular-features-print.d.ts +3 -0
  77. package/types/toolbox-web-grid-angular-features-print.d.ts.map +1 -0
  78. package/types/toolbox-web-grid-angular-features-reorder.d.ts +3 -0
  79. package/types/toolbox-web-grid-angular-features-reorder.d.ts.map +1 -0
  80. package/types/toolbox-web-grid-angular-features-responsive.d.ts +3 -0
  81. package/types/toolbox-web-grid-angular-features-responsive.d.ts.map +1 -0
  82. package/types/toolbox-web-grid-angular-features-row-reorder.d.ts +3 -0
  83. package/types/toolbox-web-grid-angular-features-row-reorder.d.ts.map +1 -0
  84. package/types/toolbox-web-grid-angular-features-selection.d.ts +3 -0
  85. package/types/toolbox-web-grid-angular-features-selection.d.ts.map +1 -0
  86. package/types/toolbox-web-grid-angular-features-server-side.d.ts +3 -0
  87. package/types/toolbox-web-grid-angular-features-server-side.d.ts.map +1 -0
  88. package/types/toolbox-web-grid-angular-features-sorting.d.ts +3 -0
  89. package/types/toolbox-web-grid-angular-features-sorting.d.ts.map +1 -0
  90. package/types/toolbox-web-grid-angular-features-tree.d.ts +3 -0
  91. package/types/toolbox-web-grid-angular-features-tree.d.ts.map +1 -0
  92. package/types/toolbox-web-grid-angular-features-undo-redo.d.ts +3 -0
  93. package/types/toolbox-web-grid-angular-features-undo-redo.d.ts.map +1 -0
  94. package/types/toolbox-web-grid-angular-features-visibility.d.ts +3 -0
  95. package/types/toolbox-web-grid-angular-features-visibility.d.ts.map +1 -0
  96. package/types/toolbox-web-grid-angular.d.ts +2325 -0
  97. package/types/toolbox-web-grid-angular.d.ts.map +1 -0
  98. package/feature-registry-C-cKloXB.js +0 -45
  99. package/features/clipboard.d.ts +0 -18
  100. package/features/clipboard.d.ts.map +0 -1
  101. package/features/clipboard.js +0 -3
  102. package/features/column-virtualization.d.ts +0 -16
  103. package/features/column-virtualization.d.ts.map +0 -1
  104. package/features/column-virtualization.js +0 -3
  105. package/features/context-menu.d.ts +0 -16
  106. package/features/context-menu.d.ts.map +0 -1
  107. package/features/context-menu.js +0 -3
  108. package/features/editing.d.ts +0 -16
  109. package/features/editing.d.ts.map +0 -1
  110. package/features/editing.js +0 -3
  111. package/features/export.d.ts +0 -17
  112. package/features/export.d.ts.map +0 -1
  113. package/features/export.js +0 -3
  114. package/features/filtering.d.ts +0 -17
  115. package/features/filtering.d.ts.map +0 -1
  116. package/features/filtering.js +0 -3
  117. package/features/grouping-columns.d.ts +0 -16
  118. package/features/grouping-columns.d.ts.map +0 -1
  119. package/features/grouping-columns.js +0 -3
  120. package/features/grouping-rows.d.ts +0 -16
  121. package/features/grouping-rows.d.ts.map +0 -1
  122. package/features/grouping-rows.js +0 -3
  123. package/features/index.d.ts +0 -1
  124. package/features/index.d.ts.map +0 -1
  125. package/features/index.js +0 -22
  126. package/features/master-detail.d.ts +0 -16
  127. package/features/master-detail.d.ts.map +0 -1
  128. package/features/master-detail.js +0 -3
  129. package/features/multi-sort.d.ts +0 -22
  130. package/features/multi-sort.d.ts.map +0 -1
  131. package/features/pinned-columns.d.ts.map +0 -1
  132. package/features/pinned-columns.js +0 -3
  133. package/features/pinned-rows.d.ts +0 -16
  134. package/features/pinned-rows.d.ts.map +0 -1
  135. package/features/pinned-rows.js +0 -3
  136. package/features/pivot.d.ts +0 -16
  137. package/features/pivot.d.ts.map +0 -1
  138. package/features/pivot.js +0 -3
  139. package/features/print.d.ts +0 -16
  140. package/features/print.d.ts.map +0 -1
  141. package/features/print.js +0 -3
  142. package/features/reorder.d.ts +0 -16
  143. package/features/reorder.d.ts.map +0 -1
  144. package/features/reorder.js +0 -3
  145. package/features/responsive.d.ts +0 -16
  146. package/features/responsive.d.ts.map +0 -1
  147. package/features/responsive.js +0 -3
  148. package/features/row-reorder.d.ts +0 -16
  149. package/features/row-reorder.d.ts.map +0 -1
  150. package/features/row-reorder.js +0 -3
  151. package/features/selection.d.ts +0 -16
  152. package/features/selection.d.ts.map +0 -1
  153. package/features/selection.js +0 -3
  154. package/features/server-side.d.ts +0 -16
  155. package/features/server-side.d.ts.map +0 -1
  156. package/features/server-side.js +0 -3
  157. package/features/sorting.d.ts +0 -1
  158. package/features/sorting.d.ts.map +0 -1
  159. package/features/sorting.js +0 -1
  160. package/features/tree.d.ts +0 -16
  161. package/features/tree.d.ts.map +0 -1
  162. package/features/tree.js +0 -3
  163. package/features/undo-redo.d.ts +0 -18
  164. package/features/undo-redo.d.ts.map +0 -1
  165. package/features/undo-redo.js +0 -3
  166. package/features/visibility.d.ts +0 -16
  167. package/features/visibility.d.ts.map +0 -1
  168. package/features/visibility.js +0 -3
  169. package/index.d.ts +0 -34
  170. package/index.d.ts.map +0 -1
  171. package/index.js +0 -1916
  172. package/lib/angular-column-config.d.ts +0 -140
  173. package/lib/angular-column-config.d.ts.map +0 -1
  174. package/lib/angular-grid-adapter.d.ts +0 -220
  175. package/lib/angular-grid-adapter.d.ts.map +0 -1
  176. package/lib/base-grid-editor.d.ts +0 -145
  177. package/lib/base-grid-editor.d.ts.map +0 -1
  178. package/lib/component-registry.d.ts +0 -63
  179. package/lib/component-registry.d.ts.map +0 -1
  180. package/lib/directives/grid-column-editor.directive.d.ts +0 -113
  181. package/lib/directives/grid-column-editor.directive.d.ts.map +0 -1
  182. package/lib/directives/grid-column-view.directive.d.ts +0 -69
  183. package/lib/directives/grid-column-view.directive.d.ts.map +0 -1
  184. package/lib/directives/grid-detail-view.directive.d.ts +0 -75
  185. package/lib/directives/grid-detail-view.directive.d.ts.map +0 -1
  186. package/lib/directives/grid-form-array.directive.d.ts +0 -141
  187. package/lib/directives/grid-form-array.directive.d.ts.map +0 -1
  188. package/lib/directives/grid-responsive-card.directive.d.ts +0 -92
  189. package/lib/directives/grid-responsive-card.directive.d.ts.map +0 -1
  190. package/lib/directives/grid-tool-panel.directive.d.ts +0 -91
  191. package/lib/directives/grid-tool-panel.directive.d.ts.map +0 -1
  192. package/lib/directives/grid.directive.d.ts +0 -808
  193. package/lib/directives/grid.directive.d.ts.map +0 -1
  194. package/lib/directives/index.d.ts +0 -9
  195. package/lib/directives/index.d.ts.map +0 -1
  196. package/lib/directives/structural-directives.d.ts +0 -174
  197. package/lib/directives/structural-directives.d.ts.map +0 -1
  198. package/lib/feature-registry.d.ts +0 -72
  199. package/lib/feature-registry.d.ts.map +0 -1
  200. package/lib/grid-type-registry.d.ts +0 -110
  201. package/lib/grid-type-registry.d.ts.map +0 -1
  202. package/lib/inject-grid.d.ts +0 -109
  203. package/lib/inject-grid.d.ts.map +0 -1
  204. package/lib/interfaces/grid-cell-editor.d.ts +0 -85
  205. package/lib/interfaces/grid-cell-editor.d.ts.map +0 -1
  206. package/lib/interfaces/grid-cell-renderer.d.ts +0 -63
  207. package/lib/interfaces/grid-cell-renderer.d.ts.map +0 -1
  208. package/lib/interfaces/index.d.ts +0 -5
  209. package/lib/interfaces/index.d.ts.map +0 -1
  210. package/multi-sort-DPbW58yz.js +0 -3
@@ -0,0 +1,25 @@
1
+ import { ServerSidePlugin } from '@toolbox-web/grid/plugins/server-side';
2
+ import { registerFeature } from '@toolbox-web/grid-angular';
3
+
4
+ /**
5
+ * Server-side feature for @toolbox-web/grid-angular
6
+ *
7
+ * Import this module to enable the `serverSide` input on Grid directive.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import '@toolbox-web/grid-angular/features/server-side';
12
+ *
13
+ * <tbw-grid [serverSide]="{ dataSource: fetchDataFn }" />
14
+ * ```
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ registerFeature('serverSide', (config) => {
19
+ return new ServerSidePlugin(config ?? undefined);
20
+ });
21
+
22
+ /**
23
+ * Generated bundle index. Do not edit.
24
+ */
25
+ //# sourceMappingURL=toolbox-web-grid-angular-features-server-side.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbox-web-grid-angular-features-server-side.mjs","sources":["../../../../libs/grid-angular/features/server-side/src/index.ts","../../../../libs/grid-angular/features/server-side/src/toolbox-web-grid-angular-features-server-side.ts"],"sourcesContent":["/**\n * Server-side feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `serverSide` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/server-side';\n *\n * <tbw-grid [serverSide]=\"{ dataSource: fetchDataFn }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ServerSidePlugin } from '@toolbox-web/grid/plugins/server-side';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('serverSide', (config) => {\n return new ServerSidePlugin(config ?? undefined);\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;AAaG;AAKH,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,KAAI;AACvC,IAAA,OAAO,IAAI,gBAAgB,CAAC,MAAM,IAAI,SAAS,CAAC;AAClD,CAAC,CAAC;;ACpBF;;AAEG"}
@@ -0,0 +1,25 @@
1
+ import '@toolbox-web/grid-angular/features/multi-sort';
2
+
3
+ /**
4
+ * @deprecated Use `import '@toolbox-web/grid-angular/features/multi-sort'` instead.
5
+ *
6
+ * This module is kept for backward compatibility and will be removed in a future version.
7
+ * It re-exports the multi-sort feature.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * // Old (deprecated):
12
+ * import '@toolbox-web/grid-angular/features/sorting';
13
+ *
14
+ * // New (recommended):
15
+ * import '@toolbox-web/grid-angular/features/multi-sort';
16
+ * ```
17
+ *
18
+ * @packageDocumentation
19
+ */
20
+ // Re-export multi-sort feature for backward compatibility
21
+
22
+ /**
23
+ * Generated bundle index. Do not edit.
24
+ */
25
+ //# sourceMappingURL=toolbox-web-grid-angular-features-sorting.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbox-web-grid-angular-features-sorting.mjs","sources":["../../../../libs/grid-angular/features/sorting/src/index.ts","../../../../libs/grid-angular/features/sorting/src/toolbox-web-grid-angular-features-sorting.ts"],"sourcesContent":["/**\n * @deprecated Use `import '@toolbox-web/grid-angular/features/multi-sort'` instead.\n *\n * This module is kept for backward compatibility and will be removed in a future version.\n * It re-exports the multi-sort feature.\n *\n * @example\n * ```typescript\n * // Old (deprecated):\n * import '@toolbox-web/grid-angular/features/sorting';\n *\n * // New (recommended):\n * import '@toolbox-web/grid-angular/features/multi-sort';\n * ```\n *\n * @packageDocumentation\n */\n\n// Re-export multi-sort feature for backward compatibility\nimport '@toolbox-web/grid-angular/features/multi-sort';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;;AAgBG;AAEH;;AClBA;;AAEG"}
@@ -0,0 +1,28 @@
1
+ import { TreePlugin } from '@toolbox-web/grid/plugins/tree';
2
+ import { registerFeature } from '@toolbox-web/grid-angular';
3
+
4
+ /**
5
+ * Tree feature for @toolbox-web/grid-angular
6
+ *
7
+ * Import this module to enable the `tree` input on Grid directive.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import '@toolbox-web/grid-angular/features/tree';
12
+ *
13
+ * <tbw-grid [tree]="{ childrenField: 'children' }" />
14
+ * ```
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ registerFeature('tree', (config) => {
19
+ if (config === true) {
20
+ return new TreePlugin();
21
+ }
22
+ return new TreePlugin(config ?? undefined);
23
+ });
24
+
25
+ /**
26
+ * Generated bundle index. Do not edit.
27
+ */
28
+ //# sourceMappingURL=toolbox-web-grid-angular-features-tree.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbox-web-grid-angular-features-tree.mjs","sources":["../../../../libs/grid-angular/features/tree/src/index.ts","../../../../libs/grid-angular/features/tree/src/toolbox-web-grid-angular-features-tree.ts"],"sourcesContent":["/**\n * Tree feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `tree` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/tree';\n *\n * <tbw-grid [tree]=\"{ childrenField: 'children' }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { TreePlugin } from '@toolbox-web/grid/plugins/tree';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('tree', (config) => {\n if (config === true) {\n return new TreePlugin();\n }\n return new TreePlugin(config ?? undefined);\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;AAaG;AAKH,eAAe,CAAC,MAAM,EAAE,CAAC,MAAM,KAAI;AACjC,IAAA,IAAI,MAAM,KAAK,IAAI,EAAE;QACnB,OAAO,IAAI,UAAU,EAAE;IACzB;AACA,IAAA,OAAO,IAAI,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC;AAC5C,CAAC,CAAC;;ACvBF;;AAEG"}
@@ -0,0 +1,30 @@
1
+ import { UndoRedoPlugin } from '@toolbox-web/grid/plugins/undo-redo';
2
+ import { registerFeature } from '@toolbox-web/grid-angular';
3
+
4
+ /**
5
+ * Undo/Redo feature for @toolbox-web/grid-angular
6
+ *
7
+ * Import this module to enable the `undoRedo` input on Grid directive.
8
+ * Requires editing feature to be enabled.
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * import '@toolbox-web/grid-angular/features/editing';
13
+ * import '@toolbox-web/grid-angular/features/undo-redo';
14
+ *
15
+ * <tbw-grid [editing]="'dblclick'" [undoRedo]="true" />
16
+ * ```
17
+ *
18
+ * @packageDocumentation
19
+ */
20
+ registerFeature('undoRedo', (config) => {
21
+ if (config === true) {
22
+ return new UndoRedoPlugin();
23
+ }
24
+ return new UndoRedoPlugin(config ?? undefined);
25
+ });
26
+
27
+ /**
28
+ * Generated bundle index. Do not edit.
29
+ */
30
+ //# sourceMappingURL=toolbox-web-grid-angular-features-undo-redo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbox-web-grid-angular-features-undo-redo.mjs","sources":["../../../../libs/grid-angular/features/undo-redo/src/index.ts","../../../../libs/grid-angular/features/undo-redo/src/toolbox-web-grid-angular-features-undo-redo.ts"],"sourcesContent":["/**\n * Undo/Redo feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `undoRedo` input on Grid directive.\n * Requires editing feature to be enabled.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/editing';\n * import '@toolbox-web/grid-angular/features/undo-redo';\n *\n * <tbw-grid [editing]=\"'dblclick'\" [undoRedo]=\"true\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { UndoRedoPlugin } from '@toolbox-web/grid/plugins/undo-redo';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('undoRedo', (config) => {\n if (config === true) {\n return new UndoRedoPlugin();\n }\n return new UndoRedoPlugin(config ?? undefined);\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;AAeG;AAKH,eAAe,CAAC,UAAU,EAAE,CAAC,MAAM,KAAI;AACrC,IAAA,IAAI,MAAM,KAAK,IAAI,EAAE;QACnB,OAAO,IAAI,cAAc,EAAE;IAC7B;AACA,IAAA,OAAO,IAAI,cAAc,CAAC,MAAM,IAAI,SAAS,CAAC;AAChD,CAAC,CAAC;;ACzBF;;AAEG"}
@@ -0,0 +1,28 @@
1
+ import { VisibilityPlugin } from '@toolbox-web/grid/plugins/visibility';
2
+ import { registerFeature } from '@toolbox-web/grid-angular';
3
+
4
+ /**
5
+ * Column visibility feature for @toolbox-web/grid-angular
6
+ *
7
+ * Import this module to enable the `visibility` input on Grid directive.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import '@toolbox-web/grid-angular/features/visibility';
12
+ *
13
+ * <tbw-grid [visibility]="true" />
14
+ * ```
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ registerFeature('visibility', (config) => {
19
+ if (config === true) {
20
+ return new VisibilityPlugin();
21
+ }
22
+ return new VisibilityPlugin(config ?? undefined);
23
+ });
24
+
25
+ /**
26
+ * Generated bundle index. Do not edit.
27
+ */
28
+ //# sourceMappingURL=toolbox-web-grid-angular-features-visibility.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbox-web-grid-angular-features-visibility.mjs","sources":["../../../../libs/grid-angular/features/visibility/src/index.ts","../../../../libs/grid-angular/features/visibility/src/toolbox-web-grid-angular-features-visibility.ts"],"sourcesContent":["/**\n * Column visibility feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `visibility` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/visibility';\n *\n * <tbw-grid [visibility]=\"true\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { VisibilityPlugin } from '@toolbox-web/grid/plugins/visibility';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('visibility', (config) => {\n if (config === true) {\n return new VisibilityPlugin();\n }\n return new VisibilityPlugin(config ?? undefined);\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;AAaG;AAKH,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,KAAI;AACvC,IAAA,IAAI,MAAM,KAAK,IAAI,EAAE;QACnB,OAAO,IAAI,gBAAgB,EAAE;IAC/B;AACA,IAAA,OAAO,IAAI,gBAAgB,CAAC,MAAM,IAAI,SAAS,CAAC;AAClD,CAAC,CAAC;;ACvBF;;AAEG"}