@toolbox-web/grid-angular 0.5.0 → 0.7.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.
Files changed (89) hide show
  1. package/feature-registry-C-cKloXB.js +45 -0
  2. package/features/clipboard.d.ts +18 -0
  3. package/features/clipboard.d.ts.map +1 -0
  4. package/features/clipboard.js +3 -0
  5. package/features/column-virtualization.d.ts +16 -0
  6. package/features/column-virtualization.d.ts.map +1 -0
  7. package/features/column-virtualization.js +3 -0
  8. package/features/context-menu.d.ts +16 -0
  9. package/features/context-menu.d.ts.map +1 -0
  10. package/features/context-menu.js +3 -0
  11. package/features/editing.d.ts +16 -0
  12. package/features/editing.d.ts.map +1 -0
  13. package/features/editing.js +3 -0
  14. package/features/export.d.ts +17 -0
  15. package/features/export.d.ts.map +1 -0
  16. package/features/export.js +3 -0
  17. package/features/filtering.d.ts +17 -0
  18. package/features/filtering.d.ts.map +1 -0
  19. package/features/filtering.js +3 -0
  20. package/features/grouping-columns.d.ts +16 -0
  21. package/features/grouping-columns.d.ts.map +1 -0
  22. package/features/grouping-columns.js +3 -0
  23. package/features/grouping-rows.d.ts +16 -0
  24. package/features/grouping-rows.d.ts.map +1 -0
  25. package/features/grouping-rows.js +3 -0
  26. package/features/index.d.ts +1 -0
  27. package/features/index.d.ts.map +1 -0
  28. package/features/index.js +22 -0
  29. package/features/master-detail.d.ts +16 -0
  30. package/features/master-detail.d.ts.map +1 -0
  31. package/features/master-detail.js +3 -0
  32. package/features/multi-sort.d.ts +22 -0
  33. package/features/multi-sort.d.ts.map +1 -0
  34. package/features/pinned-columns.d.ts +19 -0
  35. package/features/pinned-columns.d.ts.map +1 -0
  36. package/features/pinned-columns.js +3 -0
  37. package/features/pinned-rows.d.ts +16 -0
  38. package/features/pinned-rows.d.ts.map +1 -0
  39. package/features/pinned-rows.js +3 -0
  40. package/features/pivot.d.ts +16 -0
  41. package/features/pivot.d.ts.map +1 -0
  42. package/features/pivot.js +3 -0
  43. package/features/print.d.ts +16 -0
  44. package/features/print.d.ts.map +1 -0
  45. package/features/print.js +3 -0
  46. package/features/reorder.d.ts +16 -0
  47. package/features/reorder.d.ts.map +1 -0
  48. package/features/reorder.js +3 -0
  49. package/features/responsive.d.ts +16 -0
  50. package/features/responsive.d.ts.map +1 -0
  51. package/features/responsive.js +3 -0
  52. package/features/row-reorder.d.ts +16 -0
  53. package/features/row-reorder.d.ts.map +1 -0
  54. package/features/row-reorder.js +3 -0
  55. package/features/selection.d.ts +16 -0
  56. package/features/selection.d.ts.map +1 -0
  57. package/features/selection.js +3 -0
  58. package/features/server-side.d.ts +16 -0
  59. package/features/server-side.d.ts.map +1 -0
  60. package/features/server-side.js +3 -0
  61. package/features/sorting.d.ts +1 -0
  62. package/features/sorting.d.ts.map +1 -0
  63. package/features/sorting.js +1 -0
  64. package/features/tree.d.ts +16 -0
  65. package/features/tree.d.ts.map +1 -0
  66. package/features/tree.js +3 -0
  67. package/features/undo-redo.d.ts +18 -0
  68. package/features/undo-redo.d.ts.map +1 -0
  69. package/features/undo-redo.js +3 -0
  70. package/features/visibility.d.ts +16 -0
  71. package/features/visibility.d.ts.map +1 -0
  72. package/features/visibility.js +3 -0
  73. package/index.d.ts +5 -1
  74. package/index.d.ts.map +1 -1
  75. package/index.js +1094 -306
  76. package/lib/angular-column-config.d.ts +1 -1
  77. package/lib/angular-grid-adapter.d.ts +1 -1
  78. package/lib/angular-grid-adapter.d.ts.map +1 -1
  79. package/lib/base-grid-editor.d.ts +1 -1
  80. package/lib/directives/grid-detail-view.directive.d.ts +1 -1
  81. package/lib/directives/grid.directive.d.ts +629 -3
  82. package/lib/directives/grid.directive.d.ts.map +1 -1
  83. package/lib/feature-registry.d.ts +72 -0
  84. package/lib/feature-registry.d.ts.map +1 -0
  85. package/lib/grid-type-registry.d.ts +1 -1
  86. package/lib/inject-grid.d.ts +109 -0
  87. package/lib/inject-grid.d.ts.map +1 -0
  88. package/multi-sort-DPbW58yz.js +3 -0
  89. package/package.json +11 -1
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Undo/Redo feature for @toolbox-web/grid-angular
3
+ *
4
+ * Import this module to enable the `undoRedo` input on Grid directive.
5
+ * Requires editing feature to be enabled.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import '@toolbox-web/grid-angular/features/editing';
10
+ * import '@toolbox-web/grid-angular/features/undo-redo';
11
+ *
12
+ * <tbw-grid [editing]="'dblclick'" [undoRedo]="true" />
13
+ * ```
14
+ *
15
+ * @packageDocumentation
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=undo-redo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undo-redo.d.ts","sourceRoot":"","sources":["../../../../libs/grid-angular/src/features/undo-redo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,3 @@
1
+ import { UndoRedoPlugin as e } from "@toolbox-web/grid/plugins/undo-redo";
2
+ import { r as o } from "../feature-registry-C-cKloXB.js";
3
+ o("undoRedo", (r) => r === !0 ? new e() : new e(r ?? void 0));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Column visibility feature for @toolbox-web/grid-angular
3
+ *
4
+ * Import this module to enable the `visibility` input on Grid directive.
5
+ *
6
+ * @example
7
+ * ```typescript
8
+ * import '@toolbox-web/grid-angular/features/visibility';
9
+ *
10
+ * <tbw-grid [visibility]="true" />
11
+ * ```
12
+ *
13
+ * @packageDocumentation
14
+ */
15
+ export {};
16
+ //# sourceMappingURL=visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../../libs/grid-angular/src/features/visibility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG"}
@@ -0,0 +1,3 @@
1
+ import { VisibilityPlugin as r } from "@toolbox-web/grid/plugins/visibility";
2
+ import { r as e } from "../feature-registry-C-cKloXB.js";
3
+ e("visibility", (i) => i === !0 ? new r() : new r(i ?? void 0));
package/index.d.ts CHANGED
@@ -9,6 +9,10 @@ export { isComponentClass } from './lib/angular-column-config';
9
9
  export type { AngularCellEditor, AngularCellRenderer, AngularColumnConfig, AngularGridConfig, } from './lib/angular-column-config';
10
10
  export { GRID_TYPE_DEFAULTS, GridTypeRegistry, provideGridTypeDefaults } from './lib/grid-type-registry';
11
11
  export type { AngularTypeDefault } from './lib/grid-type-registry';
12
+ export { injectGrid } from './lib/inject-grid';
13
+ export type { ExportMethods, InjectGridReturn, SelectionMethods } from './lib/inject-grid';
14
+ export { clearFeatureRegistry, createPluginFromFeature, getFeatureFactory, getRegisteredFeatures, isFeatureRegistered, registerFeature, } from './lib/feature-registry';
15
+ export type { FeatureName, PluginFactory } from './lib/feature-registry';
12
16
  export { BaseGridEditor } from './lib/base-grid-editor';
13
17
  export { GridColumnEditor } from './lib/directives/grid-column-editor.directive';
14
18
  export type { GridEditorContext } from './lib/directives/grid-column-editor.directive';
@@ -16,7 +20,7 @@ export { GridColumnView } from './lib/directives/grid-column-view.directive';
16
20
  export type { GridCellContext } from './lib/directives/grid-column-view.directive';
17
21
  export { GridDetailView } from './lib/directives/grid-detail-view.directive';
18
22
  export type { GridDetailContext } from './lib/directives/grid-detail-view.directive';
19
- export { getFormArrayContext, GridFormArray } from './lib/directives/grid-form-array.directive';
23
+ export { GridFormArray, getFormArrayContext } from './lib/directives/grid-form-array.directive';
20
24
  export type { FormArrayContext } from './lib/directives/grid-form-array.directive';
21
25
  export { GridResponsiveCard } from './lib/directives/grid-responsive-card.directive';
22
26
  export type { GridResponsiveCardContext } from './lib/directives/grid-responsive-card.directive';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/grid-angular/src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,Y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