@toolbox-web/grid-vue 0.1.0 → 0.3.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 +18 -10
- package/chunks/use-grid-DwjXrO19.js +21 -0
- package/chunks/use-grid-DwjXrO19.js.map +1 -0
- package/features/export.d.ts +51 -10
- package/features/export.d.ts.map +1 -1
- package/features/export.js +54 -3
- package/features/export.js.map +1 -1
- package/features/filtering.d.ts +57 -7
- package/features/filtering.d.ts.map +1 -1
- package/features/filtering.js +70 -3
- package/features/filtering.js.map +1 -1
- package/features/print.d.ts +30 -7
- package/features/print.d.ts.map +1 -1
- package/features/print.js +27 -3
- package/features/print.js.map +1 -1
- package/features/selection.d.ts +43 -10
- package/features/selection.d.ts.map +1 -1
- package/features/selection.js +42 -3
- package/features/selection.js.map +1 -1
- package/features/undo-redo.d.ts +47 -7
- package/features/undo-redo.d.ts.map +1 -1
- package/features/undo-redo.js +48 -3
- package/features/undo-redo.js.map +1 -1
- package/index.d.ts +14 -2
- package/index.d.ts.map +1 -1
- package/index.js +337 -260
- package/index.js.map +1 -1
- package/lib/TbwGrid.vue.d.ts +46 -44
- package/lib/TbwGrid.vue.d.ts.map +1 -1
- package/lib/feature-props.d.ts +5 -1
- package/lib/feature-props.d.ts.map +1 -1
- package/lib/grid-provider.d.ts +1 -1
- package/lib/grid-type-registry.d.ts +27 -5
- package/lib/grid-type-registry.d.ts.map +1 -1
- package/lib/vue-column-config.d.ts +77 -15
- package/lib/vue-column-config.d.ts.map +1 -1
- package/lib/vue-grid-adapter.d.ts +57 -4
- package/lib/vue-grid-adapter.d.ts.map +1 -1
- package/package.json +1 -1
- package/typedoc-entry.d.ts +12 -2
- package/typedoc-entry.d.ts.map +1 -1
|
@@ -1,27 +1,74 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColumnConfig as BaseColumnConfig, GridConfig as BaseGridConfig, CellRenderContext, ColumnEditorContext } from '@toolbox-web/grid';
|
|
2
2
|
import { Component, VNode } from 'vue';
|
|
3
3
|
/**
|
|
4
|
-
* Vue
|
|
4
|
+
* Vue render function or component for cell rendering.
|
|
5
|
+
*
|
|
6
|
+
* Can be either:
|
|
7
|
+
* - A render function receiving `CellRenderContext` and returning a `VNode`
|
|
8
|
+
* - A Vue component (SFC or defineComponent)
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* import type { CellRenderer, ColumnConfig } from '@toolbox-web/grid-vue';
|
|
13
|
+
* import StatusBadge from './StatusBadge.vue';
|
|
14
|
+
*
|
|
15
|
+
* // As render function
|
|
16
|
+
* const statusRenderer: CellRenderer<Employee, string> = (ctx) =>
|
|
17
|
+
* h('span', { class: ctx.value }, ctx.value);
|
|
18
|
+
*
|
|
19
|
+
* // As Vue component
|
|
20
|
+
* const columns: ColumnConfig<Employee>[] = [
|
|
21
|
+
* { field: 'status', renderer: StatusBadge },
|
|
22
|
+
* ];
|
|
23
|
+
* ```
|
|
5
24
|
*/
|
|
6
|
-
export type
|
|
25
|
+
export type CellRenderer<TRow = unknown, TValue = unknown> = ((ctx: CellRenderContext<TRow, TValue>) => VNode) | Component;
|
|
7
26
|
/**
|
|
8
|
-
*
|
|
27
|
+
* @deprecated Use `CellRenderer` instead.
|
|
28
|
+
* @see {@link CellRenderer}
|
|
9
29
|
*/
|
|
10
|
-
export type
|
|
30
|
+
export type VueCellRenderer<TRow = unknown, TValue = unknown> = CellRenderer<TRow, TValue>;
|
|
11
31
|
/**
|
|
12
|
-
*
|
|
32
|
+
* Vue render function or component for cell editing.
|
|
33
|
+
*
|
|
34
|
+
* Can be either:
|
|
35
|
+
* - A render function receiving `ColumnEditorContext` and returning a `VNode`
|
|
36
|
+
* - A Vue component (SFC or defineComponent)
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* import type { CellEditor, ColumnConfig } from '@toolbox-web/grid-vue';
|
|
41
|
+
*
|
|
42
|
+
* const statusEditor: CellEditor<Employee, string> = (ctx) =>
|
|
43
|
+
* h(StatusSelect, {
|
|
44
|
+
* modelValue: ctx.value,
|
|
45
|
+
* 'onUpdate:modelValue': ctx.commit,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export type CellEditor<TRow = unknown, TValue = unknown> = ((ctx: ColumnEditorContext<TRow, TValue>) => VNode) | Component;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Use `CellEditor` instead.
|
|
52
|
+
* @see {@link CellEditor}
|
|
53
|
+
*/
|
|
54
|
+
export type VueCellEditor<TRow = unknown, TValue = unknown> = CellEditor<TRow, TValue>;
|
|
55
|
+
/**
|
|
56
|
+
* Column configuration for Vue applications.
|
|
13
57
|
*
|
|
14
58
|
* Extends the base ColumnConfig with `renderer` and `editor` properties
|
|
15
59
|
* that accept Vue components or render functions.
|
|
16
60
|
*
|
|
17
61
|
* @example
|
|
18
62
|
* ```ts
|
|
19
|
-
*
|
|
63
|
+
* import type { ColumnConfig } from '@toolbox-web/grid-vue';
|
|
64
|
+
* import StatusBadge from './StatusBadge.vue';
|
|
65
|
+
*
|
|
66
|
+
* const columns: ColumnConfig<Employee>[] = [
|
|
20
67
|
* { field: 'name', header: 'Name' },
|
|
21
68
|
* {
|
|
22
69
|
* field: 'status',
|
|
23
70
|
* header: 'Status',
|
|
24
|
-
* renderer:
|
|
71
|
+
* renderer: StatusBadge,
|
|
25
72
|
* editor: (ctx) => h(StatusSelect, {
|
|
26
73
|
* modelValue: ctx.value,
|
|
27
74
|
* 'onUpdate:modelValue': ctx.commit,
|
|
@@ -30,24 +77,34 @@ export type VueCellEditor<TRow = unknown, TValue = unknown> = ((ctx: ColumnEdito
|
|
|
30
77
|
* ];
|
|
31
78
|
* ```
|
|
32
79
|
*/
|
|
33
|
-
export interface
|
|
80
|
+
export interface ColumnConfig<TRow = unknown, TValue = unknown> extends Omit<BaseColumnConfig<TRow>, 'renderer' | 'editor'> {
|
|
34
81
|
/**
|
|
35
82
|
* Vue component or render function for custom cell rendering.
|
|
36
83
|
* Receives CellRenderContext with value, row, column, and indexes.
|
|
37
84
|
*/
|
|
38
|
-
renderer?:
|
|
85
|
+
renderer?: CellRenderer<TRow, TValue>;
|
|
39
86
|
/**
|
|
40
87
|
* Vue component or render function for custom cell editing.
|
|
41
88
|
* Receives ColumnEditorContext with value, row, commit, and cancel functions.
|
|
42
89
|
*/
|
|
43
|
-
editor?:
|
|
90
|
+
editor?: CellEditor<TRow, TValue>;
|
|
44
91
|
}
|
|
45
92
|
/**
|
|
46
|
-
*
|
|
93
|
+
* @deprecated Use `ColumnConfig` instead.
|
|
94
|
+
* @see {@link ColumnConfig}
|
|
95
|
+
*/
|
|
96
|
+
export type VueColumnConfig<TRow = unknown, TValue = unknown> = ColumnConfig<TRow, TValue>;
|
|
97
|
+
/**
|
|
98
|
+
* Grid configuration for Vue applications.
|
|
99
|
+
*
|
|
100
|
+
* Extends the base GridConfig with Vue-augmented ColumnConfig support.
|
|
47
101
|
*
|
|
48
102
|
* @example
|
|
49
103
|
* ```ts
|
|
50
|
-
*
|
|
104
|
+
* import type { GridConfig } from '@toolbox-web/grid-vue';
|
|
105
|
+
* import { SelectionPlugin } from '@toolbox-web/grid/all';
|
|
106
|
+
*
|
|
107
|
+
* const config: GridConfig<Employee> = {
|
|
51
108
|
* columns: [
|
|
52
109
|
* { field: 'name', header: 'Name' },
|
|
53
110
|
* {
|
|
@@ -60,10 +117,15 @@ export interface VueColumnConfig<TRow = unknown, TValue = unknown> extends Omit<
|
|
|
60
117
|
* };
|
|
61
118
|
* ```
|
|
62
119
|
*/
|
|
63
|
-
export interface
|
|
120
|
+
export interface GridConfig<TRow = unknown> extends Omit<BaseGridConfig<TRow>, 'columns'> {
|
|
64
121
|
/**
|
|
65
122
|
* Column definitions with Vue renderer/editor support.
|
|
66
123
|
*/
|
|
67
|
-
columns?:
|
|
124
|
+
columns?: ColumnConfig<TRow>[];
|
|
68
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* @deprecated Use `GridConfig` instead.
|
|
128
|
+
* @see {@link GridConfig}
|
|
129
|
+
*/
|
|
130
|
+
export type VueGridConfig<TRow = unknown> = GridConfig<TRow>;
|
|
69
131
|
//# sourceMappingURL=vue-column-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-column-config.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/lib/vue-column-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"vue-column-config.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/lib/vue-column-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,UAAU,IAAI,cAAc,EAC5B,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAG5C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,YAAY,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IACrD,CAAC,CAAC,GAAG,EAAE,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,KAAK,CAAC,GACjD,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,MAAM,eAAe,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAI3F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,UAAU,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IACnD,CAAC,CAAC,GAAG,EAAE,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,KAAK,CAAC,GACnD,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAIvF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,YAAY,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,CAAE,SAAQ,IAAI,CAC1E,gBAAgB,CAAC,IAAI,CAAC,EACtB,UAAU,GAAG,QAAQ,CACtB;IACC;;;OAGG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAEtC;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,CAAC,IAAI,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAI3F;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,UAAU,CAAC,IAAI,GAAG,OAAO,CAAE,SAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;IACvF;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,IAAI,GAAG,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CellRenderContext, ColumnEditorContext, ColumnEditorSpec, ColumnViewRenderer, FrameworkAdapter } from '@toolbox-web/grid';
|
|
1
|
+
import { TypeDefault as BaseTypeDefault, CellRenderContext, ColumnEditorContext, ColumnEditorSpec, ColumnViewRenderer, FrameworkAdapter } from '@toolbox-web/grid';
|
|
2
2
|
import { VNode } from 'vue';
|
|
3
|
+
import { TypeDefaultsMap } from './grid-type-registry';
|
|
3
4
|
/**
|
|
4
5
|
* Register a Vue cell renderer for a column element.
|
|
5
6
|
* Called by TbwGridColumn when it has a #cell slot.
|
|
@@ -41,10 +42,10 @@ export declare function clearFieldRegistries(): void;
|
|
|
41
42
|
*
|
|
42
43
|
* ```ts
|
|
43
44
|
* import { GridElement } from '@toolbox-web/grid';
|
|
44
|
-
* import {
|
|
45
|
+
* import { GridAdapter } from '@toolbox-web/grid-vue';
|
|
45
46
|
*
|
|
46
47
|
* // One-time registration
|
|
47
|
-
* GridElement.registerAdapter(new
|
|
48
|
+
* GridElement.registerAdapter(new GridAdapter());
|
|
48
49
|
* ```
|
|
49
50
|
*
|
|
50
51
|
* ## Declarative usage with TbwGrid:
|
|
@@ -59,8 +60,16 @@ export declare function clearFieldRegistries(): void;
|
|
|
59
60
|
* </TbwGrid>
|
|
60
61
|
* ```
|
|
61
62
|
*/
|
|
62
|
-
export declare class
|
|
63
|
+
export declare class GridAdapter implements FrameworkAdapter {
|
|
63
64
|
private mountedViews;
|
|
65
|
+
private typeDefaults;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the type defaults map for this adapter.
|
|
68
|
+
* Called by TbwGrid when it receives type defaults from context.
|
|
69
|
+
*
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
setTypeDefaults(defaults: TypeDefaultsMap | null): void;
|
|
64
73
|
/**
|
|
65
74
|
* Determines if this adapter can handle the given element.
|
|
66
75
|
* Checks if a renderer or editor is registered for this element.
|
|
@@ -86,9 +95,53 @@ export declare class VueGridAdapter implements FrameworkAdapter {
|
|
|
86
95
|
* Parses the <tbw-grid-responsive-card> element and returns a Vue-based renderer.
|
|
87
96
|
*/
|
|
88
97
|
parseResponsiveCardElement<TRow = unknown>(cardElement: Element): ((row: TRow, rowIndex: number) => HTMLElement) | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Gets type-level defaults from the type defaults map.
|
|
100
|
+
*
|
|
101
|
+
* This enables application-wide type defaults configured via GridTypeProvider.
|
|
102
|
+
* The returned TypeDefault contains renderer/editor functions that render
|
|
103
|
+
* Vue components into the grid's cells.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```vue
|
|
107
|
+
* <script setup>
|
|
108
|
+
* import { GridTypeProvider } from '@toolbox-web/grid-vue';
|
|
109
|
+
* import { h } from 'vue';
|
|
110
|
+
* import CountryBadge from './CountryBadge.vue';
|
|
111
|
+
*
|
|
112
|
+
* const typeDefaults = {
|
|
113
|
+
* country: {
|
|
114
|
+
* renderer: (ctx) => h(CountryBadge, { code: ctx.value }),
|
|
115
|
+
* },
|
|
116
|
+
* };
|
|
117
|
+
* </script>
|
|
118
|
+
*
|
|
119
|
+
* <template>
|
|
120
|
+
* <GridTypeProvider :defaults="typeDefaults">
|
|
121
|
+
* <App />
|
|
122
|
+
* </GridTypeProvider>
|
|
123
|
+
* </template>
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
getTypeDefault<TRow = unknown>(type: string): BaseTypeDefault<TRow> | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Creates a renderer function from a Vue render function for type defaults.
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
private createTypeRenderer;
|
|
132
|
+
/**
|
|
133
|
+
* Creates an editor function from a Vue render function for type defaults.
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
private createTypeEditor;
|
|
89
137
|
/**
|
|
90
138
|
* Cleanup all mounted Vue apps.
|
|
91
139
|
*/
|
|
92
140
|
cleanup(): void;
|
|
93
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @deprecated Use `GridAdapter` instead. This alias will be removed in a future version.
|
|
144
|
+
* @see {@link GridAdapter}
|
|
145
|
+
*/
|
|
146
|
+
export declare const VueGridAdapter: typeof GridAdapter;
|
|
94
147
|
//# sourceMappingURL=vue-grid-adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-grid-adapter.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/lib/vue-grid-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAuB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"vue-grid-adapter.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/lib/vue-grid-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,IAAI,eAAe,EAC9B,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAuB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAiBzE;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,CAAC,GAAG,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,KAAK,GAC5D,IAAI,CAaN;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,KAAK,GAC5D,IAAI,CAYN;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,WAAW,GACnB,CAAC,CAAC,GAAG,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,KAAK,CAAC,GAAG,SAAS,CAYnE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,WAAW,GACnB,CAAC,CAAC,GAAG,EAAE,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,KAAK,CAAC,GAAG,SAAS,CAYrE;AAED;;;GAG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CAAC,gBAAgB;IAsBxB;;OAEG;IACH,OAAO,IAAI,IAAI;CAWhB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,oBAAc,CAAC"}
|
package/package.json
CHANGED
package/typedoc-entry.d.ts
CHANGED
|
@@ -13,17 +13,27 @@ export type { DetailPanelContext } from './lib/detail-panel-registry';
|
|
|
13
13
|
export type { ResponsiveCardContext } from './lib/responsive-card-registry';
|
|
14
14
|
export type { CellSlotProps, EditorSlotProps } from './lib/slot-types';
|
|
15
15
|
export type { ToolPanelContext } from './lib/tool-panel-registry';
|
|
16
|
+
export { GridAdapter } from './lib/vue-grid-adapter';
|
|
17
|
+
/** @deprecated Use `GridAdapter` instead */
|
|
16
18
|
export { VueGridAdapter } from './lib/vue-grid-adapter';
|
|
17
19
|
export { GRID_ELEMENT_KEY, useGrid } from './lib/use-grid';
|
|
18
20
|
export type { UseGridReturn } from './lib/use-grid';
|
|
19
21
|
export { useGridEvent } from './lib/use-grid-event';
|
|
20
22
|
export type { GridEventMap } from './lib/use-grid-event';
|
|
21
|
-
export type {
|
|
23
|
+
export type { CellEditor, CellRenderer, ColumnConfig, GridConfig,
|
|
24
|
+
/** @deprecated Use `CellEditor` instead */
|
|
25
|
+
VueCellEditor,
|
|
26
|
+
/** @deprecated Use `CellRenderer` instead */
|
|
27
|
+
VueCellRenderer,
|
|
28
|
+
/** @deprecated Use `ColumnConfig` instead */
|
|
29
|
+
VueColumnConfig,
|
|
30
|
+
/** @deprecated Use `GridConfig` instead */
|
|
31
|
+
VueGridConfig, } from './lib/vue-column-config';
|
|
22
32
|
export type { AllFeatureProps, FeatureProps } from './lib/feature-props';
|
|
23
33
|
export { clearFeatureRegistry, createPluginFromFeature, getFeatureFactory, getRegisteredFeatures, isFeatureRegistered, registerFeature, } from './lib/feature-registry';
|
|
24
34
|
export type { FeatureName, PluginFactory } from './lib/feature-registry';
|
|
25
35
|
export { GRID_TYPE_DEFAULTS, GridTypeProvider, useGridTypeDefaults, useTypeDefault } from './lib/grid-type-registry';
|
|
26
|
-
export type { GridTypeProviderProps, TypeDefaultsMap, VueTypeDefault } from './lib/grid-type-registry';
|
|
36
|
+
export type { GridTypeProviderProps, TypeDefault, TypeDefaultsMap, VueTypeDefault } from './lib/grid-type-registry';
|
|
27
37
|
export { GRID_ICONS, GridIconProvider, useGridIcons } from './lib/grid-icon-registry';
|
|
28
38
|
export type { GridIconProviderProps } from './lib/grid-icon-registry';
|
|
29
39
|
export { GridProvider } from './lib/grid-provider';
|
package/typedoc-entry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typedoc-entry.d.ts","sourceRoot":"","sources":["../../../libs/grid-vue/src/typedoc-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGzD,YAAY,
|
|
1
|
+
{"version":3,"file":"typedoc-entry.d.ts","sourceRoot":"","sources":["../../../libs/grid-vue/src/typedoc-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE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