@zengrid/angular 1.2.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/ng-package.json +11 -0
- package/package.json +18 -0
- package/src/lib/components/zen-column.component.ts +105 -0
- package/src/lib/components/zen-grid.component.ts +921 -0
- package/src/lib/directives/zen-cell-template.directive.ts +10 -0
- package/src/lib/directives/zen-editor-template.directive.ts +10 -0
- package/src/lib/directives/zen-grid-value-accessor.directive.ts +41 -0
- package/src/lib/directives/zen-header-template.directive.ts +10 -0
- package/src/lib/plugins/angular-plugin-wrapper.ts +34 -0
- package/src/lib/services/template-bridge.service.ts +341 -0
- package/src/lib/services/zen-grid-config.token.ts +11 -0
- package/src/lib/types.ts +79 -0
- package/src/lib/utils/event-map.ts +98 -0
- package/src/lib/utils/signal-bridge.ts +17 -0
- package/src/lib/utils/ssr-guard.ts +7 -0
- package/src/public-api.ts +56 -0
- package/tsconfig.lib.json +31 -0
- package/tsconfig.lib.prod.json +9 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Components
|
|
2
|
+
export { ZenGridComponent } from './lib/components/zen-grid.component';
|
|
3
|
+
export { ZenColumnComponent } from './lib/components/zen-column.component';
|
|
4
|
+
|
|
5
|
+
// Directives
|
|
6
|
+
export { ZenCellTemplateDirective } from './lib/directives/zen-cell-template.directive';
|
|
7
|
+
export { ZenEditorTemplateDirective } from './lib/directives/zen-editor-template.directive';
|
|
8
|
+
export { ZenHeaderTemplateDirective } from './lib/directives/zen-header-template.directive';
|
|
9
|
+
export { ZenGridValueAccessorDirective } from './lib/directives/zen-grid-value-accessor.directive';
|
|
10
|
+
|
|
11
|
+
// Services
|
|
12
|
+
export { TemplateBridgeService } from './lib/services/template-bridge.service';
|
|
13
|
+
export { ZEN_GRID_CONFIG, provideZenGrid } from './lib/services/zen-grid-config.token';
|
|
14
|
+
|
|
15
|
+
// Plugins
|
|
16
|
+
export { AngularPluginWrapper, createAngularPlugin } from './lib/plugins/angular-plugin-wrapper';
|
|
17
|
+
|
|
18
|
+
// Utils
|
|
19
|
+
export { EVENT_MAP } from './lib/utils/event-map';
|
|
20
|
+
export { bridgeStoreSignal } from './lib/utils/signal-bridge';
|
|
21
|
+
|
|
22
|
+
// Types
|
|
23
|
+
export type {
|
|
24
|
+
ZenCellTemplateContext,
|
|
25
|
+
ZenEditorTemplateContext,
|
|
26
|
+
ZenHeaderTemplateContext,
|
|
27
|
+
ZenGridConfig,
|
|
28
|
+
RendererInput,
|
|
29
|
+
EditorInput,
|
|
30
|
+
HeaderRendererInput,
|
|
31
|
+
} from './lib/types';
|
|
32
|
+
|
|
33
|
+
// Re-export commonly used core types
|
|
34
|
+
export type {
|
|
35
|
+
CellRef,
|
|
36
|
+
CellRange,
|
|
37
|
+
CellPosition,
|
|
38
|
+
ColumnDef,
|
|
39
|
+
GridOptions,
|
|
40
|
+
GridState,
|
|
41
|
+
GridStateSnapshot,
|
|
42
|
+
ColumnStateSnapshot,
|
|
43
|
+
GridExportOptions,
|
|
44
|
+
GridEvents,
|
|
45
|
+
SortState,
|
|
46
|
+
FilterModel,
|
|
47
|
+
RenderParams,
|
|
48
|
+
EditorParams,
|
|
49
|
+
HeaderRenderParams,
|
|
50
|
+
GridPlugin,
|
|
51
|
+
GridStore,
|
|
52
|
+
GridApiInterface,
|
|
53
|
+
CellRenderer,
|
|
54
|
+
CellEditor,
|
|
55
|
+
HeaderRenderer,
|
|
56
|
+
} from './lib/types';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "../../dist/angular",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"declarationMap": true,
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"target": "ES2022",
|
|
10
|
+
"module": "ES2022",
|
|
11
|
+
"moduleResolution": "node",
|
|
12
|
+
"lib": ["ES2022", "DOM"],
|
|
13
|
+
"strict": true,
|
|
14
|
+
"useDefineForClassFields": false,
|
|
15
|
+
"experimentalDecorators": true,
|
|
16
|
+
"emitDecoratorMetadata": true,
|
|
17
|
+
"importHelpers": true,
|
|
18
|
+
"baseUrl": ".",
|
|
19
|
+
"paths": {
|
|
20
|
+
"@zengrid/core": ["../core/src/index.ts"],
|
|
21
|
+
"@zengrid/shared": ["../shared/src/index.ts"]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"angularCompilerOptions": {
|
|
25
|
+
"skipTemplateCodegen": true,
|
|
26
|
+
"strictMetadataEmit": true,
|
|
27
|
+
"enableResourceInlining": true
|
|
28
|
+
},
|
|
29
|
+
"include": ["src/**/*.ts"],
|
|
30
|
+
"exclude": ["src/**/*.spec.ts"]
|
|
31
|
+
}
|