@toolbox-web/grid-angular 0.7.1 → 0.8.0
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.
- package/README.md +71 -0
- package/fesm2022/toolbox-web-grid-angular-features-clipboard.mjs +30 -0
- package/fesm2022/toolbox-web-grid-angular-features-clipboard.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-column-virtualization.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-column-virtualization.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-context-menu.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-context-menu.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-editing.mjs +33 -0
- package/fesm2022/toolbox-web-grid-angular-features-editing.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-export.mjs +29 -0
- package/fesm2022/toolbox-web-grid-angular-features-export.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-filtering.mjs +29 -0
- package/fesm2022/toolbox-web-grid-angular-features-filtering.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-grouping-columns.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-grouping-columns.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-grouping-rows.mjs +25 -0
- package/fesm2022/toolbox-web-grid-angular-features-grouping-rows.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-master-detail.mjs +25 -0
- package/fesm2022/toolbox-web-grid-angular-features-master-detail.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-multi-sort.mjs +40 -0
- package/fesm2022/toolbox-web-grid-angular-features-multi-sort.mjs.map +1 -0
- package/{features/pinned-columns.d.ts → fesm2022/toolbox-web-grid-angular-features-pinned-columns.mjs} +11 -2
- package/fesm2022/toolbox-web-grid-angular-features-pinned-columns.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-pinned-rows.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-pinned-rows.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-pivot.mjs +25 -0
- package/fesm2022/toolbox-web-grid-angular-features-pivot.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-print.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-print.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-reorder.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-reorder.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-responsive.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-responsive.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-row-reorder.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-row-reorder.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-selection.mjs +30 -0
- package/fesm2022/toolbox-web-grid-angular-features-selection.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-server-side.mjs +25 -0
- package/fesm2022/toolbox-web-grid-angular-features-server-side.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-sorting.mjs +25 -0
- package/fesm2022/toolbox-web-grid-angular-features-sorting.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-tree.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-tree.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-undo-redo.mjs +30 -0
- package/fesm2022/toolbox-web-grid-angular-features-undo-redo.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular-features-visibility.mjs +28 -0
- package/fesm2022/toolbox-web-grid-angular-features-visibility.mjs.map +1 -0
- package/fesm2022/toolbox-web-grid-angular.mjs +3376 -0
- package/fesm2022/toolbox-web-grid-angular.mjs.map +1 -0
- package/package.json +109 -35
- package/types/toolbox-web-grid-angular-features-clipboard.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-clipboard.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-column-virtualization.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-column-virtualization.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-context-menu.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-context-menu.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-editing.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-editing.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-export.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-export.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-filtering.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-filtering.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-grouping-columns.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-grouping-columns.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-grouping-rows.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-grouping-rows.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-master-detail.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-master-detail.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-multi-sort.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-multi-sort.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-pinned-columns.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-pinned-columns.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-pinned-rows.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-pinned-rows.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-pivot.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-pivot.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-print.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-print.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-reorder.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-reorder.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-responsive.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-responsive.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-row-reorder.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-row-reorder.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-selection.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-selection.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-server-side.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-server-side.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-sorting.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-sorting.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-tree.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-tree.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-undo-redo.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-undo-redo.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular-features-visibility.d.ts +3 -0
- package/types/toolbox-web-grid-angular-features-visibility.d.ts.map +1 -0
- package/types/toolbox-web-grid-angular.d.ts +2468 -0
- package/types/toolbox-web-grid-angular.d.ts.map +1 -0
- package/feature-registry-C-cKloXB.js +0 -45
- package/features/clipboard.d.ts +0 -18
- package/features/clipboard.d.ts.map +0 -1
- package/features/clipboard.js +0 -3
- package/features/column-virtualization.d.ts +0 -16
- package/features/column-virtualization.d.ts.map +0 -1
- package/features/column-virtualization.js +0 -3
- package/features/context-menu.d.ts +0 -16
- package/features/context-menu.d.ts.map +0 -1
- package/features/context-menu.js +0 -3
- package/features/editing.d.ts +0 -16
- package/features/editing.d.ts.map +0 -1
- package/features/editing.js +0 -3
- package/features/export.d.ts +0 -17
- package/features/export.d.ts.map +0 -1
- package/features/export.js +0 -3
- package/features/filtering.d.ts +0 -17
- package/features/filtering.d.ts.map +0 -1
- package/features/filtering.js +0 -3
- package/features/grouping-columns.d.ts +0 -16
- package/features/grouping-columns.d.ts.map +0 -1
- package/features/grouping-columns.js +0 -3
- package/features/grouping-rows.d.ts +0 -16
- package/features/grouping-rows.d.ts.map +0 -1
- package/features/grouping-rows.js +0 -3
- package/features/index.d.ts +0 -1
- package/features/index.d.ts.map +0 -1
- package/features/index.js +0 -22
- package/features/master-detail.d.ts +0 -16
- package/features/master-detail.d.ts.map +0 -1
- package/features/master-detail.js +0 -3
- package/features/multi-sort.d.ts +0 -22
- package/features/multi-sort.d.ts.map +0 -1
- package/features/multi-sort.js +0 -3
- package/features/pinned-columns.d.ts.map +0 -1
- package/features/pinned-columns.js +0 -3
- package/features/pinned-rows.d.ts +0 -16
- package/features/pinned-rows.d.ts.map +0 -1
- package/features/pinned-rows.js +0 -3
- package/features/pivot.d.ts +0 -16
- package/features/pivot.d.ts.map +0 -1
- package/features/pivot.js +0 -3
- package/features/print.d.ts +0 -16
- package/features/print.d.ts.map +0 -1
- package/features/print.js +0 -3
- package/features/reorder.d.ts +0 -16
- package/features/reorder.d.ts.map +0 -1
- package/features/reorder.js +0 -3
- package/features/responsive.d.ts +0 -16
- package/features/responsive.d.ts.map +0 -1
- package/features/responsive.js +0 -3
- package/features/row-reorder.d.ts +0 -16
- package/features/row-reorder.d.ts.map +0 -1
- package/features/row-reorder.js +0 -3
- package/features/selection.d.ts +0 -16
- package/features/selection.d.ts.map +0 -1
- package/features/selection.js +0 -3
- package/features/server-side.d.ts +0 -16
- package/features/server-side.d.ts.map +0 -1
- package/features/server-side.js +0 -3
- package/features/sorting.d.ts +0 -1
- package/features/sorting.d.ts.map +0 -1
- package/features/sorting.js +0 -1
- package/features/tree.d.ts +0 -16
- package/features/tree.d.ts.map +0 -1
- package/features/tree.js +0 -3
- package/features/undo-redo.d.ts +0 -18
- package/features/undo-redo.d.ts.map +0 -1
- package/features/undo-redo.js +0 -3
- package/features/visibility.d.ts +0 -16
- package/features/visibility.d.ts.map +0 -1
- package/features/visibility.js +0 -3
- package/index.d.ts +0 -34
- package/index.d.ts.map +0 -1
- package/index.js +0 -1916
- package/lib/angular-column-config.d.ts +0 -140
- package/lib/angular-column-config.d.ts.map +0 -1
- package/lib/angular-grid-adapter.d.ts +0 -220
- package/lib/angular-grid-adapter.d.ts.map +0 -1
- package/lib/base-grid-editor.d.ts +0 -145
- package/lib/base-grid-editor.d.ts.map +0 -1
- package/lib/component-registry.d.ts +0 -63
- package/lib/component-registry.d.ts.map +0 -1
- package/lib/directives/grid-column-editor.directive.d.ts +0 -113
- package/lib/directives/grid-column-editor.directive.d.ts.map +0 -1
- package/lib/directives/grid-column-view.directive.d.ts +0 -69
- package/lib/directives/grid-column-view.directive.d.ts.map +0 -1
- package/lib/directives/grid-detail-view.directive.d.ts +0 -75
- package/lib/directives/grid-detail-view.directive.d.ts.map +0 -1
- package/lib/directives/grid-form-array.directive.d.ts +0 -141
- package/lib/directives/grid-form-array.directive.d.ts.map +0 -1
- package/lib/directives/grid-responsive-card.directive.d.ts +0 -92
- package/lib/directives/grid-responsive-card.directive.d.ts.map +0 -1
- package/lib/directives/grid-tool-panel.directive.d.ts +0 -91
- package/lib/directives/grid-tool-panel.directive.d.ts.map +0 -1
- package/lib/directives/grid.directive.d.ts +0 -808
- package/lib/directives/grid.directive.d.ts.map +0 -1
- package/lib/directives/index.d.ts +0 -9
- package/lib/directives/index.d.ts.map +0 -1
- package/lib/directives/structural-directives.d.ts +0 -174
- package/lib/directives/structural-directives.d.ts.map +0 -1
- package/lib/feature-registry.d.ts +0 -72
- package/lib/feature-registry.d.ts.map +0 -1
- package/lib/grid-type-registry.d.ts +0 -110
- package/lib/grid-type-registry.d.ts.map +0 -1
- package/lib/inject-grid.d.ts +0 -109
- package/lib/inject-grid.d.ts.map +0 -1
- package/lib/interfaces/grid-cell-editor.d.ts +0 -85
- package/lib/interfaces/grid-cell-editor.d.ts.map +0 -1
- package/lib/interfaces/grid-cell-renderer.d.ts +0 -63
- package/lib/interfaces/grid-cell-renderer.d.ts.map +0 -1
- package/lib/interfaces/index.d.ts +0 -5
- package/lib/interfaces/index.d.ts.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ResponsivePlugin } from '@toolbox-web/grid/plugins/responsive';
|
|
2
|
+
import { registerFeature } from '@toolbox-web/grid-angular';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Responsive feature for @toolbox-web/grid-angular
|
|
6
|
+
*
|
|
7
|
+
* Import this module to enable the `responsive` input on Grid directive.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import '@toolbox-web/grid-angular/features/responsive';
|
|
12
|
+
*
|
|
13
|
+
* <tbw-grid [responsive]="{ breakpoint: 768 }" />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
registerFeature('responsive', (config) => {
|
|
19
|
+
if (config === true) {
|
|
20
|
+
return new ResponsivePlugin({ breakpoint: 768 });
|
|
21
|
+
}
|
|
22
|
+
return new ResponsivePlugin(config ?? undefined);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Generated bundle index. Do not edit.
|
|
27
|
+
*/
|
|
28
|
+
//# sourceMappingURL=toolbox-web-grid-angular-features-responsive.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbox-web-grid-angular-features-responsive.mjs","sources":["../../../../libs/grid-angular/features/responsive/src/index.ts","../../../../libs/grid-angular/features/responsive/src/toolbox-web-grid-angular-features-responsive.ts"],"sourcesContent":["/**\n * Responsive feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `responsive` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/responsive';\n *\n * <tbw-grid [responsive]=\"{ breakpoint: 768 }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ResponsivePlugin } from '@toolbox-web/grid/plugins/responsive';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('responsive', (config) => {\n if (config === true) {\n return new ResponsivePlugin({ breakpoint: 768 });\n }\n return new ResponsivePlugin(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,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;IAClD;AACA,IAAA,OAAO,IAAI,gBAAgB,CAAC,MAAM,IAAI,SAAS,CAAC;AAClD,CAAC,CAAC;;ACvBF;;AAEG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RowReorderPlugin } from '@toolbox-web/grid/plugins/row-reorder';
|
|
2
|
+
import { registerFeature } from '@toolbox-web/grid-angular';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Row reorder feature for @toolbox-web/grid-angular
|
|
6
|
+
*
|
|
7
|
+
* Import this module to enable the `rowReorder` input on Grid directive.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import '@toolbox-web/grid-angular/features/row-reorder';
|
|
12
|
+
*
|
|
13
|
+
* <tbw-grid [rowReorder]="true" />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
registerFeature('rowReorder', (config) => {
|
|
19
|
+
if (config === true) {
|
|
20
|
+
return new RowReorderPlugin();
|
|
21
|
+
}
|
|
22
|
+
return new RowReorderPlugin(config ?? undefined);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Generated bundle index. Do not edit.
|
|
27
|
+
*/
|
|
28
|
+
//# sourceMappingURL=toolbox-web-grid-angular-features-row-reorder.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbox-web-grid-angular-features-row-reorder.mjs","sources":["../../../../libs/grid-angular/features/row-reorder/src/index.ts","../../../../libs/grid-angular/features/row-reorder/src/toolbox-web-grid-angular-features-row-reorder.ts"],"sourcesContent":["/**\n * Row reorder feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `rowReorder` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/row-reorder';\n *\n * <tbw-grid [rowReorder]=\"true\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { RowReorderPlugin } from '@toolbox-web/grid/plugins/row-reorder';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('rowReorder', (config) => {\n if (config === true) {\n return new RowReorderPlugin();\n }\n return new RowReorderPlugin(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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SelectionPlugin } from '@toolbox-web/grid/plugins/selection';
|
|
2
|
+
import { registerFeature } from '@toolbox-web/grid-angular';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Selection feature for @toolbox-web/grid-angular
|
|
6
|
+
*
|
|
7
|
+
* Import this module to enable the `selection` input on Grid directive.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import '@toolbox-web/grid-angular/features/selection';
|
|
12
|
+
*
|
|
13
|
+
* <tbw-grid [selection]="'range'" />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
registerFeature('selection', (config) => {
|
|
19
|
+
// Handle shorthand: 'cell', 'row', 'range'
|
|
20
|
+
if (config === 'cell' || config === 'row' || config === 'range') {
|
|
21
|
+
return new SelectionPlugin({ mode: config });
|
|
22
|
+
}
|
|
23
|
+
// Full config object
|
|
24
|
+
return new SelectionPlugin(config ?? undefined);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generated bundle index. Do not edit.
|
|
29
|
+
*/
|
|
30
|
+
//# sourceMappingURL=toolbox-web-grid-angular-features-selection.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbox-web-grid-angular-features-selection.mjs","sources":["../../../../libs/grid-angular/features/selection/src/index.ts","../../../../libs/grid-angular/features/selection/src/toolbox-web-grid-angular-features-selection.ts"],"sourcesContent":["/**\n * Selection feature for @toolbox-web/grid-angular\n *\n * Import this module to enable the `selection` input on Grid directive.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid-angular/features/selection';\n *\n * <tbw-grid [selection]=\"'range'\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport { SelectionPlugin } from '@toolbox-web/grid/plugins/selection';\nimport { registerFeature } from '@toolbox-web/grid-angular';\n\nregisterFeature('selection', (config) => {\n // Handle shorthand: 'cell', 'row', 'range'\n if (config === 'cell' || config === 'row' || config === 'range') {\n return new SelectionPlugin({ mode: config });\n }\n // Full config object\n return new SelectionPlugin(config ?? undefined);\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;AAaG;AAKH,eAAe,CAAC,WAAW,EAAE,CAAC,MAAM,KAAI;;AAEtC,IAAA,IAAI,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,KAAK,IAAI,MAAM,KAAK,OAAO,EAAE;QAC/D,OAAO,IAAI,eAAe,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC9C;;AAEA,IAAA,OAAO,IAAI,eAAe,CAAC,MAAM,IAAI,SAAS,CAAC;AACjD,CAAC,CAAC;;ACzBF;;AAEG"}
|
|
@@ -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"}
|