@toolbox-web/grid-vue 0.8.0 → 0.10.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/features/grouping-columns.d.ts +32 -0
- package/features/grouping-columns.d.ts.map +1 -1
- package/features/grouping-columns.js +22 -1
- package/features/grouping-columns.js.map +1 -1
- package/features/grouping-rows.d.ts +31 -0
- package/features/grouping-rows.d.ts.map +1 -1
- package/features/grouping-rows.js +22 -1
- package/features/grouping-rows.js.map +1 -1
- package/features/index.js +3 -3
- package/features/pinned-rows.d.ts.map +1 -1
- package/features/pinned-rows.js +25 -0
- package/features/pinned-rows.js.map +1 -1
- package/index.d.ts +8 -6
- package/index.d.ts.map +1 -1
- package/index.js +613 -469
- package/index.js.map +1 -1
- package/lib/TbwGrid.vue.d.ts +27 -18
- package/lib/TbwGrid.vue.d.ts.map +1 -1
- package/lib/feature-props.d.ts +2 -2
- package/lib/feature-registry.d.ts +1 -1
- package/lib/feature-registry.d.ts.map +1 -1
- package/lib/grid-provider.d.ts.map +1 -1
- package/lib/grid-type-registry.d.ts +1 -1
- package/lib/use-grid-event.d.ts +50 -50
- package/lib/use-grid-event.d.ts.map +1 -1
- package/lib/vue-column-config.d.ts +24 -7
- package/lib/vue-column-config.d.ts.map +1 -1
- package/lib/vue-grid-adapter.d.ts +42 -3
- package/lib/vue-grid-adapter.d.ts.map +1 -1
- package/package.json +1 -1
- package/typedoc-entry.d.ts +5 -5
- package/typedoc-entry.d.ts.map +1 -1
|
@@ -1 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Column grouping feature for @toolbox-web/grid-vue
|
|
3
|
+
*
|
|
4
|
+
* Import this module to enable the `groupingColumns` prop on TbwGrid.
|
|
5
|
+
* Automatically bridges Vue render-function `groupHeaderRenderer` to vanilla DOM.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```vue
|
|
9
|
+
* <script setup>
|
|
10
|
+
* import '@toolbox-web/grid-vue/features/grouping-columns';
|
|
11
|
+
* </script>
|
|
12
|
+
*
|
|
13
|
+
* <template>
|
|
14
|
+
* <TbwGrid :groupingColumns="{
|
|
15
|
+
* columnGroups: [
|
|
16
|
+
* { header: 'Personal Info', children: ['firstName', 'lastName'] },
|
|
17
|
+
* ],
|
|
18
|
+
* }" />
|
|
19
|
+
* </template>
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @example Custom group header renderer
|
|
23
|
+
* ```vue
|
|
24
|
+
* <TbwGrid :groupingColumns="{
|
|
25
|
+
* columnGroups: [...],
|
|
26
|
+
* groupHeaderRenderer: (params) => h('strong', `${params.label} (${params.columns.length})`),
|
|
27
|
+
* }" />
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @packageDocumentation
|
|
31
|
+
*/
|
|
32
|
+
export {};
|
|
1
33
|
//# sourceMappingURL=grouping-columns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping-columns.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-columns.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"grouping-columns.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-columns.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG"}
|
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
import "@toolbox-web/grid/
|
|
1
|
+
import { GroupingColumnsPlugin as t } from "@toolbox-web/grid/plugins/grouping-columns";
|
|
2
|
+
import { createApp as i } from "vue";
|
|
3
|
+
import { registerFeature as s } from "@toolbox-web/grid/features/registry";
|
|
4
|
+
s("groupingColumns", (e) => {
|
|
5
|
+
if (e === !0)
|
|
6
|
+
return new t();
|
|
7
|
+
if (!e)
|
|
8
|
+
return new t();
|
|
9
|
+
const r = e, o = { ...r };
|
|
10
|
+
if (typeof r.groupHeaderRenderer == "function") {
|
|
11
|
+
const p = r.groupHeaderRenderer;
|
|
12
|
+
o.groupHeaderRenderer = (u) => {
|
|
13
|
+
const n = document.createElement("div");
|
|
14
|
+
return n.style.display = "contents", i({
|
|
15
|
+
render() {
|
|
16
|
+
return p(u);
|
|
17
|
+
}
|
|
18
|
+
}).mount(n), n;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return new t(o);
|
|
22
|
+
});
|
|
2
23
|
//# sourceMappingURL=grouping-columns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping-columns.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"grouping-columns.js","sources":["../../../../libs/grid-vue/src/features/grouping-columns.ts"],"sourcesContent":["/**\n * Column grouping feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `groupingColumns` prop on TbwGrid.\n * Automatically bridges Vue render-function `groupHeaderRenderer` to vanilla DOM.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/grouping-columns';\n * </script>\n *\n * <template>\n * <TbwGrid :groupingColumns=\"{\n * columnGroups: [\n * { header: 'Personal Info', children: ['firstName', 'lastName'] },\n * ],\n * }\" />\n * </template>\n * ```\n *\n * @example Custom group header renderer\n * ```vue\n * <TbwGrid :groupingColumns=\"{\n * columnGroups: [...],\n * groupHeaderRenderer: (params) => h('strong', `${params.label} (${params.columns.length})`),\n * }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport {\n GroupingColumnsPlugin,\n type GroupHeaderRenderParams,\n type GroupingColumnsConfig,\n} from '@toolbox-web/grid/plugins/grouping-columns';\nimport { createApp, type VNode } from 'vue';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('groupingColumns', (rawConfig) => {\n if (rawConfig === true) {\n return new GroupingColumnsPlugin();\n }\n if (!rawConfig) {\n return new GroupingColumnsPlugin();\n }\n\n const config = rawConfig as GroupingColumnsConfig & { groupHeaderRenderer?: unknown };\n const options = { ...config } as GroupingColumnsConfig;\n\n // Bridge Vue groupHeaderRenderer (returns VNode) to vanilla (returns HTMLElement | string | void)\n if (typeof config.groupHeaderRenderer === 'function') {\n const vueFn = config.groupHeaderRenderer as unknown as (params: GroupHeaderRenderParams) => VNode;\n options.groupHeaderRenderer = (params: GroupHeaderRenderParams) => {\n const wrapper = document.createElement('div');\n wrapper.style.display = 'contents';\n\n const app = createApp({\n render() {\n return vueFn(params);\n },\n });\n\n app.mount(wrapper);\n return wrapper;\n };\n }\n\n return new GroupingColumnsPlugin(options);\n});\n"],"names":["registerFeature","rawConfig","GroupingColumnsPlugin","config","options","vueFn","params","wrapper","createApp"],"mappings":";;;AAwCAA,EAAgB,mBAAmB,CAACC,MAAc;AAChD,MAAIA,MAAc;AAChB,WAAO,IAAIC,EAAA;AAEb,MAAI,CAACD;AACH,WAAO,IAAIC,EAAA;AAGb,QAAMC,IAASF,GACTG,IAAU,EAAE,GAAGD,EAAA;AAGrB,MAAI,OAAOA,EAAO,uBAAwB,YAAY;AACpD,UAAME,IAAQF,EAAO;AACrB,IAAAC,EAAQ,sBAAsB,CAACE,MAAoC;AACjE,YAAMC,IAAU,SAAS,cAAc,KAAK;AAC5C,aAAAA,EAAQ,MAAM,UAAU,YAEZC,EAAU;AAAA,QACpB,SAAS;AACP,iBAAOH,EAAMC,CAAM;AAAA,QACrB;AAAA,MAAA,CACD,EAEG,MAAMC,CAAO,GACVA;AAAA,IACT;AAAA,EACF;AAEA,SAAO,IAAIL,EAAsBE,CAAO;AAC1C,CAAC;"}
|
|
@@ -1 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Row grouping feature for @toolbox-web/grid-vue
|
|
3
|
+
*
|
|
4
|
+
* Import this module to enable the `groupingRows` prop on TbwGrid.
|
|
5
|
+
* Automatically bridges Vue render-function `groupRowRenderer` to vanilla DOM.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```vue
|
|
9
|
+
* <script setup>
|
|
10
|
+
* import '@toolbox-web/grid-vue/features/grouping-rows';
|
|
11
|
+
* </script>
|
|
12
|
+
*
|
|
13
|
+
* <template>
|
|
14
|
+
* <TbwGrid :groupingRows="{
|
|
15
|
+
* groupBy: ['department', 'team'],
|
|
16
|
+
* defaultExpanded: true,
|
|
17
|
+
* }" />
|
|
18
|
+
* </template>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @example Custom group row renderer
|
|
22
|
+
* ```vue
|
|
23
|
+
* <TbwGrid :groupingRows="{
|
|
24
|
+
* groupBy: ['department'],
|
|
25
|
+
* groupRowRenderer: (params) => h('strong', `${params.key}: ${params.value} (${params.rows.length})`),
|
|
26
|
+
* }" />
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @packageDocumentation
|
|
30
|
+
*/
|
|
31
|
+
export {};
|
|
1
32
|
//# sourceMappingURL=grouping-rows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-rows.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"grouping-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG"}
|
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
import "@toolbox-web/grid/
|
|
1
|
+
import { GroupingRowsPlugin as o } from "@toolbox-web/grid/plugins/grouping-rows";
|
|
2
|
+
import { createApp as i } from "vue";
|
|
3
|
+
import { registerFeature as s } from "@toolbox-web/grid/features/registry";
|
|
4
|
+
s("groupingRows", (e) => {
|
|
5
|
+
if (e === !0)
|
|
6
|
+
return new o();
|
|
7
|
+
if (!e)
|
|
8
|
+
return new o();
|
|
9
|
+
const r = e, t = { ...r };
|
|
10
|
+
if (typeof r.groupRowRenderer == "function") {
|
|
11
|
+
const p = r.groupRowRenderer;
|
|
12
|
+
t.groupRowRenderer = (u) => {
|
|
13
|
+
const n = document.createElement("div");
|
|
14
|
+
return n.style.display = "contents", i({
|
|
15
|
+
render() {
|
|
16
|
+
return p(u);
|
|
17
|
+
}
|
|
18
|
+
}).mount(n), n;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return new o(t);
|
|
22
|
+
});
|
|
2
23
|
//# sourceMappingURL=grouping-rows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping-rows.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"grouping-rows.js","sources":["../../../../libs/grid-vue/src/features/grouping-rows.ts"],"sourcesContent":["/**\n * Row grouping feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `groupingRows` prop on TbwGrid.\n * Automatically bridges Vue render-function `groupRowRenderer` to vanilla DOM.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/grouping-rows';\n * </script>\n *\n * <template>\n * <TbwGrid :groupingRows=\"{\n * groupBy: ['department', 'team'],\n * defaultExpanded: true,\n * }\" />\n * </template>\n * ```\n *\n * @example Custom group row renderer\n * ```vue\n * <TbwGrid :groupingRows=\"{\n * groupBy: ['department'],\n * groupRowRenderer: (params) => h('strong', `${params.key}: ${params.value} (${params.rows.length})`),\n * }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport {\n GroupingRowsPlugin,\n type GroupingRowsConfig,\n type GroupRowRenderParams,\n} from '@toolbox-web/grid/plugins/grouping-rows';\nimport { createApp, type VNode } from 'vue';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('groupingRows', (rawConfig) => {\n if (rawConfig === true) {\n return new GroupingRowsPlugin();\n }\n if (!rawConfig) {\n return new GroupingRowsPlugin();\n }\n\n const config = rawConfig as GroupingRowsConfig & { groupRowRenderer?: unknown };\n const options = { ...config } as GroupingRowsConfig;\n\n // Bridge Vue groupRowRenderer (returns VNode) to vanilla (returns HTMLElement | string | void)\n if (typeof config.groupRowRenderer === 'function') {\n const vueFn = config.groupRowRenderer as unknown as (params: GroupRowRenderParams) => VNode;\n options.groupRowRenderer = (params: GroupRowRenderParams) => {\n const wrapper = document.createElement('div');\n wrapper.style.display = 'contents';\n\n const app = createApp({\n render() {\n return vueFn(params);\n },\n });\n\n app.mount(wrapper);\n return wrapper;\n };\n }\n\n return new GroupingRowsPlugin(options);\n});\n"],"names":["registerFeature","rawConfig","GroupingRowsPlugin","config","options","vueFn","params","wrapper","createApp"],"mappings":";;;AAuCAA,EAAgB,gBAAgB,CAACC,MAAc;AAC7C,MAAIA,MAAc;AAChB,WAAO,IAAIC,EAAA;AAEb,MAAI,CAACD;AACH,WAAO,IAAIC,EAAA;AAGb,QAAMC,IAASF,GACTG,IAAU,EAAE,GAAGD,EAAA;AAGrB,MAAI,OAAOA,EAAO,oBAAqB,YAAY;AACjD,UAAME,IAAQF,EAAO;AACrB,IAAAC,EAAQ,mBAAmB,CAACE,MAAiC;AAC3D,YAAMC,IAAU,SAAS,cAAc,KAAK;AAC5C,aAAAA,EAAQ,MAAM,UAAU,YAEZC,EAAU;AAAA,QACpB,SAAS;AACP,iBAAOH,EAAMC,CAAM;AAAA,QACrB;AAAA,MAAA,CACD,EAEG,MAAMC,CAAO,GACVA;AAAA,IACT;AAAA,EACF;AAEA,SAAO,IAAIL,EAAmBE,CAAO;AACvC,CAAC;"}
|
package/features/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import "@toolbox-web/grid/features/editing";
|
|
|
5
5
|
import "vue";
|
|
6
6
|
import "@toolbox-web/grid/features/export";
|
|
7
7
|
import "./filtering.js";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
8
|
+
import "./grouping-columns.js";
|
|
9
|
+
import "./grouping-rows.js";
|
|
10
10
|
import "@toolbox-web/grid/features/master-detail";
|
|
11
11
|
import "@toolbox-web/grid/features/multi-sort";
|
|
12
12
|
import "@toolbox-web/grid/features/pinned-columns";
|
|
13
|
-
import "
|
|
13
|
+
import "./pinned-rows.js";
|
|
14
14
|
import "@toolbox-web/grid/features/pivot";
|
|
15
15
|
import "@toolbox-web/grid/features/print";
|
|
16
16
|
import "@toolbox-web/grid/features/responsive";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinned-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/pinned-rows.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"pinned-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/pinned-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,wCAAwC,CAAC"}
|
package/features/pinned-rows.js
CHANGED
|
@@ -1,2 +1,27 @@
|
|
|
1
1
|
import "@toolbox-web/grid/features/pinned-rows";
|
|
2
|
+
import { PinnedRowsPlugin as o } from "@toolbox-web/grid/plugins/pinned-rows";
|
|
3
|
+
import { createApp as c } from "vue";
|
|
4
|
+
import { registerFeature as m } from "@toolbox-web/grid/features/registry";
|
|
5
|
+
m("pinnedRows", (e) => {
|
|
6
|
+
if (e === !0)
|
|
7
|
+
return new o();
|
|
8
|
+
if (!e)
|
|
9
|
+
return new o();
|
|
10
|
+
const t = e, s = { ...t };
|
|
11
|
+
return Array.isArray(t.customPanels) && (s.customPanels = t.customPanels.map((r) => {
|
|
12
|
+
if (typeof r.render != "function") return r;
|
|
13
|
+
const u = r.render;
|
|
14
|
+
return {
|
|
15
|
+
...r,
|
|
16
|
+
render: (i) => {
|
|
17
|
+
const n = document.createElement("div");
|
|
18
|
+
return n.style.display = "contents", c({
|
|
19
|
+
render() {
|
|
20
|
+
return u(i);
|
|
21
|
+
}
|
|
22
|
+
}).mount(n), n;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
})), new o(s);
|
|
26
|
+
});
|
|
2
27
|
//# sourceMappingURL=pinned-rows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinned-rows.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"pinned-rows.js","sources":["../../../../libs/grid-vue/src/features/pinned-rows.ts"],"sourcesContent":["/**\n * Pinned rows feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `pinnedRows` prop on TbwGrid.\n * Automatically bridges Vue render-function `customPanels[].render` to vanilla DOM.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/pinned-rows';\n * </script>\n *\n * <template>\n * <TbwGrid :pinnedRows=\"{\n * bottom: [{ type: 'aggregation', aggregator: 'sum' }],\n * }\" />\n * </template>\n * ```\n *\n * @example Custom panel with Vue render function\n * ```vue\n * <TbwGrid :pinnedRows=\"{\n * customPanels: [{\n * id: 'stats',\n * position: 'center',\n * render: (ctx) => h('span', `Total: ${ctx.totalRows}`),\n * }],\n * }\" />\n * ```\n *\n * @packageDocumentation\n */\n\nimport '@toolbox-web/grid/features/pinned-rows';\n\nimport { PinnedRowsPlugin, type PinnedRowsConfig, type PinnedRowsContext } from '@toolbox-web/grid/plugins/pinned-rows';\nimport { createApp, type VNode } from 'vue';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('pinnedRows', (rawConfig) => {\n if (rawConfig === true) {\n return new PinnedRowsPlugin();\n }\n if (!rawConfig) {\n return new PinnedRowsPlugin();\n }\n\n const config = rawConfig as PinnedRowsConfig & { customPanels?: unknown[] };\n const options = { ...config } as PinnedRowsConfig;\n\n // Bridge Vue customPanels[].render (returns VNode) to vanilla (returns HTMLElement | string)\n if (Array.isArray(config.customPanels)) {\n options.customPanels = config.customPanels.map((panel: any) => {\n if (typeof panel.render !== 'function') return panel;\n const vueFn = panel.render as unknown as (ctx: PinnedRowsContext) => VNode;\n return {\n ...panel,\n render: (ctx: PinnedRowsContext) => {\n const wrapper = document.createElement('div');\n wrapper.style.display = 'contents';\n\n const app = createApp({\n render() {\n return vueFn(ctx);\n },\n });\n\n app.mount(wrapper);\n return wrapper;\n },\n };\n });\n }\n\n return new PinnedRowsPlugin(options);\n});\n"],"names":["registerFeature","rawConfig","PinnedRowsPlugin","config","options","panel","vueFn","ctx","wrapper","createApp"],"mappings":";;;;AAuCAA,EAAgB,cAAc,CAACC,MAAc;AAC3C,MAAIA,MAAc;AAChB,WAAO,IAAIC,EAAA;AAEb,MAAI,CAACD;AACH,WAAO,IAAIC,EAAA;AAGb,QAAMC,IAASF,GACTG,IAAU,EAAE,GAAGD,EAAA;AAGrB,SAAI,MAAM,QAAQA,EAAO,YAAY,MACnCC,EAAQ,eAAeD,EAAO,aAAa,IAAI,CAACE,MAAe;AAC7D,QAAI,OAAOA,EAAM,UAAW,WAAY,QAAOA;AAC/C,UAAMC,IAAQD,EAAM;AACpB,WAAO;AAAA,MACL,GAAGA;AAAA,MACH,QAAQ,CAACE,MAA2B;AAClC,cAAMC,IAAU,SAAS,cAAc,KAAK;AAC5C,eAAAA,EAAQ,MAAM,UAAU,YAEZC,EAAU;AAAA,UACpB,SAAS;AACP,mBAAOH,EAAMC,CAAG;AAAA,UAClB;AAAA,QAAA,CACD,EAEG,MAAMC,CAAO,GACVA;AAAA,MACT;AAAA,IAAA;AAAA,EAEJ,CAAC,IAGI,IAAIN,EAAiBE,CAAO;AACrC,CAAC;"}
|
package/index.d.ts
CHANGED
|
@@ -50,27 +50,29 @@ export type { ResponsiveCardContext } from './lib/responsive-card-registry';
|
|
|
50
50
|
export type { CellSlotProps, EditorSlotProps } from './lib/slot-types';
|
|
51
51
|
export type { ToolPanelContext } from './lib/tool-panel-registry';
|
|
52
52
|
export { GridAdapter, isVueComponent } from './lib/vue-grid-adapter';
|
|
53
|
-
/** @deprecated Use `GridAdapter` instead */
|
|
53
|
+
/** @deprecated Use `GridAdapter` instead. Will be removed in v2. */
|
|
54
54
|
export { VueGridAdapter } from './lib/vue-grid-adapter';
|
|
55
55
|
export { GRID_ELEMENT_KEY, useGrid } from './lib/use-grid';
|
|
56
56
|
export type { UseGridReturn } from './lib/use-grid';
|
|
57
|
+
/** @deprecated Use `@event` handlers directly on `<TbwGrid>` instead. Will be removed in v2. */
|
|
57
58
|
export { useGridEvent } from './lib/use-grid-event';
|
|
59
|
+
/** @deprecated Use `@event` handlers directly on `<TbwGrid>` instead. Will be removed in v2. */
|
|
58
60
|
export type { GridEventMap } from './lib/use-grid-event';
|
|
59
61
|
export type { CellEditor, CellRenderer, ColumnConfig, GridConfig,
|
|
60
|
-
/** @deprecated Use `CellEditor` instead */
|
|
62
|
+
/** @deprecated Use `CellEditor` instead. Will be removed in v2. */
|
|
61
63
|
VueCellEditor,
|
|
62
|
-
/** @deprecated Use `CellRenderer` instead */
|
|
64
|
+
/** @deprecated Use `CellRenderer` instead. Will be removed in v2. */
|
|
63
65
|
VueCellRenderer,
|
|
64
|
-
/** @deprecated Use `ColumnConfig` instead */
|
|
66
|
+
/** @deprecated Use `ColumnConfig` instead. Will be removed in v2. */
|
|
65
67
|
VueColumnConfig,
|
|
66
|
-
/** @deprecated Use `GridConfig` instead */
|
|
68
|
+
/** @deprecated Use `GridConfig` instead. Will be removed in v2. */
|
|
67
69
|
VueGridConfig, } from './lib/vue-column-config';
|
|
68
70
|
export type { AllFeatureProps, FeatureProps } from './lib/feature-props';
|
|
69
71
|
export { clearFeatureRegistry, createPluginFromFeature, getFeatureFactory, getRegisteredFeatures, isFeatureRegistered, registerFeature, } from './lib/feature-registry';
|
|
70
72
|
export type { FeatureName, PluginFactory } from './lib/feature-registry';
|
|
71
73
|
export { GRID_TYPE_DEFAULTS, GridTypeProvider, useGridTypeDefaults, useTypeDefault } from './lib/grid-type-registry';
|
|
72
74
|
export type { GridTypeProviderProps, TypeDefault, TypeDefaultsMap,
|
|
73
|
-
/** @deprecated Use `TypeDefault` instead */
|
|
75
|
+
/** @deprecated Use `TypeDefault` instead. Will be removed in v2. */
|
|
74
76
|
VueTypeDefault, } from './lib/grid-type-registry';
|
|
75
77
|
export { GRID_ICONS, GridIconProvider, useGridIcons } from './lib/grid-icon-registry';
|
|
76
78
|
export type { GridIconProviderProps } from './lib/grid-icon-registry';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/grid-vue/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAGH,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,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,WAAW,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACrE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/grid-vue/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAGH,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,E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