@toolbox-web/grid-vue 0.0.0 → 0.1.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 (140) hide show
  1. package/README.md +489 -1
  2. package/chunks/feature-registry-BgEOysSJ.js +38 -0
  3. package/chunks/feature-registry-BgEOysSJ.js.map +1 -0
  4. package/features/clipboard.d.ts +20 -0
  5. package/features/clipboard.d.ts.map +1 -0
  6. package/features/clipboard.js +4 -0
  7. package/features/clipboard.js.map +1 -0
  8. package/features/column-virtualization.d.ts +20 -0
  9. package/features/column-virtualization.d.ts.map +1 -0
  10. package/features/column-virtualization.js +4 -0
  11. package/features/column-virtualization.js.map +1 -0
  12. package/features/context-menu.d.ts +20 -0
  13. package/features/context-menu.d.ts.map +1 -0
  14. package/features/context-menu.js +4 -0
  15. package/features/context-menu.js.map +1 -0
  16. package/features/editing.d.ts +20 -0
  17. package/features/editing.d.ts.map +1 -0
  18. package/features/editing.js +4 -0
  19. package/features/editing.js.map +1 -0
  20. package/features/export.d.ts +20 -0
  21. package/features/export.d.ts.map +1 -0
  22. package/features/export.js +4 -0
  23. package/features/export.js.map +1 -0
  24. package/features/filtering.d.ts +20 -0
  25. package/features/filtering.d.ts.map +1 -0
  26. package/features/filtering.js +4 -0
  27. package/features/filtering.js.map +1 -0
  28. package/features/grouping-columns.d.ts +24 -0
  29. package/features/grouping-columns.d.ts.map +1 -0
  30. package/features/grouping-columns.js +4 -0
  31. package/features/grouping-columns.js.map +1 -0
  32. package/features/grouping-rows.d.ts +23 -0
  33. package/features/grouping-rows.d.ts.map +1 -0
  34. package/features/grouping-rows.js +4 -0
  35. package/features/grouping-rows.js.map +1 -0
  36. package/features/index.d.ts +1 -0
  37. package/features/index.d.ts.map +1 -0
  38. package/features/index.js +23 -0
  39. package/features/index.js.map +1 -0
  40. package/features/master-detail.d.ts +23 -0
  41. package/features/master-detail.d.ts.map +1 -0
  42. package/features/master-detail.js +4 -0
  43. package/features/master-detail.js.map +1 -0
  44. package/features/multi-sort.d.ts +20 -0
  45. package/features/multi-sort.d.ts.map +1 -0
  46. package/features/multi-sort.js +5 -0
  47. package/features/multi-sort.js.map +1 -0
  48. package/features/pinned-columns.d.ts +23 -0
  49. package/features/pinned-columns.d.ts.map +1 -0
  50. package/features/pinned-columns.js +4 -0
  51. package/features/pinned-columns.js.map +1 -0
  52. package/features/pinned-rows.d.ts +22 -0
  53. package/features/pinned-rows.d.ts.map +1 -0
  54. package/features/pinned-rows.js +4 -0
  55. package/features/pinned-rows.js.map +1 -0
  56. package/features/pivot.d.ts +24 -0
  57. package/features/pivot.d.ts.map +1 -0
  58. package/features/pivot.js +4 -0
  59. package/features/pivot.js.map +1 -0
  60. package/features/print.d.ts +20 -0
  61. package/features/print.d.ts.map +1 -0
  62. package/features/print.js +4 -0
  63. package/features/print.js.map +1 -0
  64. package/features/reorder.d.ts +20 -0
  65. package/features/reorder.d.ts.map +1 -0
  66. package/features/reorder.js +4 -0
  67. package/features/reorder.js.map +1 -0
  68. package/features/responsive.d.ts +24 -0
  69. package/features/responsive.d.ts.map +1 -0
  70. package/features/responsive.js +4 -0
  71. package/features/responsive.js.map +1 -0
  72. package/features/row-reorder.d.ts +20 -0
  73. package/features/row-reorder.d.ts.map +1 -0
  74. package/features/row-reorder.js +4 -0
  75. package/features/row-reorder.js.map +1 -0
  76. package/features/selection.d.ts +20 -0
  77. package/features/selection.d.ts.map +1 -0
  78. package/features/selection.js +4 -0
  79. package/features/selection.js.map +1 -0
  80. package/features/server-side.d.ts +22 -0
  81. package/features/server-side.d.ts.map +1 -0
  82. package/features/server-side.js +4 -0
  83. package/features/server-side.js.map +1 -0
  84. package/features/tree.d.ts +23 -0
  85. package/features/tree.d.ts.map +1 -0
  86. package/features/tree.js +4 -0
  87. package/features/tree.js.map +1 -0
  88. package/features/undo-redo.d.ts +20 -0
  89. package/features/undo-redo.d.ts.map +1 -0
  90. package/features/undo-redo.js +4 -0
  91. package/features/undo-redo.js.map +1 -0
  92. package/features/visibility.d.ts +20 -0
  93. package/features/visibility.d.ts.map +1 -0
  94. package/features/visibility.js +4 -0
  95. package/features/visibility.js.map +1 -0
  96. package/index.d.ts +67 -0
  97. package/index.d.ts.map +1 -0
  98. package/index.js +673 -0
  99. package/index.js.map +1 -0
  100. package/lib/TbwGrid.vue.d.ts +98 -0
  101. package/lib/TbwGrid.vue.d.ts.map +1 -0
  102. package/lib/TbwGridColumn.vue.d.ts +183 -0
  103. package/lib/TbwGridColumn.vue.d.ts.map +1 -0
  104. package/lib/TbwGridDetailPanel.vue.d.ts +36 -0
  105. package/lib/TbwGridDetailPanel.vue.d.ts.map +1 -0
  106. package/lib/TbwGridResponsiveCard.vue.d.ts +22 -0
  107. package/lib/TbwGridResponsiveCard.vue.d.ts.map +1 -0
  108. package/lib/TbwGridToolButtons.vue.d.ts +27 -0
  109. package/lib/TbwGridToolButtons.vue.d.ts.map +1 -0
  110. package/lib/TbwGridToolPanel.vue.d.ts +178 -0
  111. package/lib/TbwGridToolPanel.vue.d.ts.map +1 -0
  112. package/lib/detail-panel-registry.d.ts +20 -0
  113. package/lib/detail-panel-registry.d.ts.map +1 -0
  114. package/lib/feature-props.d.ts +317 -0
  115. package/lib/feature-props.d.ts.map +1 -0
  116. package/lib/feature-registry.d.ts +69 -0
  117. package/lib/feature-registry.d.ts.map +1 -0
  118. package/lib/grid-icon-registry.d.ts +66 -0
  119. package/lib/grid-icon-registry.d.ts.map +1 -0
  120. package/lib/grid-provider.d.ts +66 -0
  121. package/lib/grid-provider.d.ts.map +1 -0
  122. package/lib/grid-type-registry.d.ts +98 -0
  123. package/lib/grid-type-registry.d.ts.map +1 -0
  124. package/lib/responsive-card-registry.d.ts +20 -0
  125. package/lib/responsive-card-registry.d.ts.map +1 -0
  126. package/lib/slot-types.d.ts +50 -0
  127. package/lib/slot-types.d.ts.map +1 -0
  128. package/lib/tool-panel-registry.d.ts +18 -0
  129. package/lib/tool-panel-registry.d.ts.map +1 -0
  130. package/lib/use-grid-event.d.ts +68 -0
  131. package/lib/use-grid-event.d.ts.map +1 -0
  132. package/lib/use-grid.d.ts +39 -0
  133. package/lib/use-grid.d.ts.map +1 -0
  134. package/lib/vue-column-config.d.ts +69 -0
  135. package/lib/vue-column-config.d.ts.map +1 -0
  136. package/lib/vue-grid-adapter.d.ts +94 -0
  137. package/lib/vue-grid-adapter.d.ts.map +1 -0
  138. package/package.json +52 -3
  139. package/typedoc-entry.d.ts +31 -0
  140. package/typedoc-entry.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editing.js","sources":["../../../../libs/grid-vue/src/features/editing.ts"],"sourcesContent":["/**\n * Editing feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `editing` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/editing';\n * </script>\n *\n * <template>\n * <TbwGrid editing=\"dblclick\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { EditingPlugin } from '@toolbox-web/grid/plugins/editing';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('editing', (config) => {\n // Handle shorthand: true, 'click', 'dblclick', 'manual'\n if (config === true) {\n return new EditingPlugin(); // default trigger\n }\n if (config === 'click' || config === 'dblclick' || config === 'manual') {\n return new EditingPlugin({ editOn: config });\n }\n // Full config object\n return new EditingPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","EditingPlugin"],"mappings":";;AAsBAA,EAAgB,WAAW,CAACC,MAEtBA,MAAW,KACN,IAAIC,EAAA,IAETD,MAAW,WAAWA,MAAW,cAAcA,MAAW,WACrD,IAAIC,EAAc,EAAE,QAAQD,GAAQ,IAGtC,IAAIC,EAAcD,KAAU,MAAS,CAC7C;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Export feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `export` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/export';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid export />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { ExportPlugin as e } from "@toolbox-web/grid/plugins/export";
2
+ import { r as t } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ t("export", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=export.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.js","sources":["../../../../libs/grid-vue/src/features/export.ts"],"sourcesContent":["/**\n * Export feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `export` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/export';\n * </script>\n *\n * <template>\n * <TbwGrid export />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ExportPlugin } from '@toolbox-web/grid/plugins/export';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('export', (config) => {\n if (config === true) {\n return new ExportPlugin();\n }\n return new ExportPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","ExportPlugin"],"mappings":";;AAsBAA,EAAgB,UAAU,CAACC,MACrBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAaD,KAAU,MAAS,CAC5C;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Filtering feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `filtering` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/filtering';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid filtering />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=filtering.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/filtering.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { FilteringPlugin as e } from "@toolbox-web/grid/plugins/filtering";
2
+ import { r as i } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ i("filtering", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=filtering.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filtering.js","sources":["../../../../libs/grid-vue/src/features/filtering.ts"],"sourcesContent":["/**\n * Filtering feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `filtering` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/filtering';\n * </script>\n *\n * <template>\n * <TbwGrid filtering />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { FilteringPlugin } from '@toolbox-web/grid/plugins/filtering';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('filtering', (config) => {\n if (config === true) {\n return new FilteringPlugin();\n }\n return new FilteringPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","FilteringPlugin"],"mappings":";;AAsBAA,EAAgB,aAAa,CAACC,MACxBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAgBD,KAAU,MAAS,CAC/C;"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Column grouping feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `groupingColumns` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/grouping-columns';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid :groupingColumns="{
14
+ * columnGroups: [
15
+ * { header: 'Personal Info', children: ['firstName', 'lastName'] },
16
+ * ],
17
+ * }" />
18
+ * </template>
19
+ * ```
20
+ *
21
+ * @packageDocumentation
22
+ */
23
+ export {};
24
+ //# sourceMappingURL=grouping-columns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grouping-columns.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-columns.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
@@ -0,0 +1,4 @@
1
+ import { GroupingColumnsPlugin as e } from "@toolbox-web/grid/plugins/grouping-columns";
2
+ import { r as u } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ u("groupingColumns", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=grouping-columns.js.map
@@ -0,0 +1 @@
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 *\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 * @packageDocumentation\n */\n\nimport { GroupingColumnsPlugin } from '@toolbox-web/grid/plugins/grouping-columns';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('groupingColumns', (config) => {\n if (config === true) {\n return new GroupingColumnsPlugin();\n }\n return new GroupingColumnsPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","GroupingColumnsPlugin"],"mappings":";;AA0BAA,EAAgB,mBAAmB,CAACC,MAC9BA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAsBD,KAAU,MAAS,CACrD;"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Row grouping feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `groupingRows` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/grouping-rows';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid :groupingRows="{
14
+ * groupBy: ['department', 'team'],
15
+ * defaultExpanded: true,
16
+ * }" />
17
+ * </template>
18
+ * ```
19
+ *
20
+ * @packageDocumentation
21
+ */
22
+ export {};
23
+ //# sourceMappingURL=grouping-rows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grouping-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/grouping-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG"}
@@ -0,0 +1,4 @@
1
+ import { GroupingRowsPlugin as o } from "@toolbox-web/grid/plugins/grouping-rows";
2
+ import { r as i } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ i("groupingRows", (r) => new o(r ?? void 0));
4
+ //# sourceMappingURL=grouping-rows.js.map
@@ -0,0 +1 @@
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 *\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 * @packageDocumentation\n */\n\nimport { GroupingRowsPlugin } from '@toolbox-web/grid/plugins/grouping-rows';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('groupingRows', (config) => {\n return new GroupingRowsPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","GroupingRowsPlugin"],"mappings":";;AAyBAA,EAAgB,gBAAgB,CAACC,MACxB,IAAIC,EAAmBD,KAAU,MAAS,CAClD;"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,aAAa,CAAC;AACrB,OAAO,yBAAyB,CAAC;AACjC,OAAO,gBAAgB,CAAC;AACxB,OAAO,WAAW,CAAC;AACnB,OAAO,UAAU,CAAC;AAClB,OAAO,aAAa,CAAC;AACrB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,cAAc,CAAC;AACtB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AACvB,OAAO,SAAS,CAAC;AACjB,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,QAAQ,CAAC;AAChB,OAAO,aAAa,CAAC;AACrB,OAAO,cAAc,CAAC"}
@@ -0,0 +1,23 @@
1
+ import "./clipboard.js";
2
+ import "./column-virtualization.js";
3
+ import "./context-menu.js";
4
+ import "./editing.js";
5
+ import "./export.js";
6
+ import "./filtering.js";
7
+ import "./grouping-columns.js";
8
+ import "./grouping-rows.js";
9
+ import "./master-detail.js";
10
+ import "./multi-sort.js";
11
+ import "./pinned-columns.js";
12
+ import "./pinned-rows.js";
13
+ import "./pivot.js";
14
+ import "./print.js";
15
+ import "./reorder.js";
16
+ import "./responsive.js";
17
+ import "./row-reorder.js";
18
+ import "./selection.js";
19
+ import "./server-side.js";
20
+ import "./tree.js";
21
+ import "./undo-redo.js";
22
+ import "./visibility.js";
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Master-detail feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `masterDetail` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/master-detail';
10
+ * import { h } from 'vue';
11
+ * </script>
12
+ *
13
+ * <template>
14
+ * <TbwGrid :masterDetail="{
15
+ * renderer: (row) => h(OrderDetails, { order: row }),
16
+ * }" />
17
+ * </template>
18
+ * ```
19
+ *
20
+ * @packageDocumentation
21
+ */
22
+ export {};
23
+ //# sourceMappingURL=master-detail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"master-detail.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/master-detail.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG"}
@@ -0,0 +1,4 @@
1
+ import { MasterDetailPlugin as e } from "@toolbox-web/grid/plugins/master-detail";
2
+ import { r as t } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ t("masterDetail", (r) => new e(r ?? void 0));
4
+ //# sourceMappingURL=master-detail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"master-detail.js","sources":["../../../../libs/grid-vue/src/features/master-detail.ts"],"sourcesContent":["/**\n * Master-detail feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `masterDetail` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/master-detail';\n * import { h } from 'vue';\n * </script>\n *\n * <template>\n * <TbwGrid :masterDetail=\"{\n * renderer: (row) => h(OrderDetails, { order: row }),\n * }\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { MasterDetailPlugin } from '@toolbox-web/grid/plugins/master-detail';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('masterDetail', (config) => {\n return new MasterDetailPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","MasterDetailPlugin"],"mappings":";;AAyBAA,EAAgB,gBAAgB,CAACC,MACxB,IAAIC,EAAmBD,KAAU,MAAS,CAClD;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Multi-sort feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `multiSort` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/multi-sort';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid multiSort />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=multi-sort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-sort.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/multi-sort.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,5 @@
1
+ import { MultiSortPlugin as t } from "@toolbox-web/grid/plugins/multi-sort";
2
+ import { r as e } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ e("multiSort", (r) => r === !0 || r === "multi" ? new t() : r === "single" ? new t({ maxSortColumns: 1 }) : new t(r ?? void 0));
4
+ e("sorting", (r) => r === !0 || r === "multi" ? new t() : r === "single" ? new t({ maxSortColumns: 1 }) : new t(r ?? void 0));
5
+ //# sourceMappingURL=multi-sort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-sort.js","sources":["../../../../libs/grid-vue/src/features/multi-sort.ts"],"sourcesContent":["/**\n * Multi-sort feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `multiSort` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/multi-sort';\n * </script>\n *\n * <template>\n * <TbwGrid multiSort />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { MultiSortPlugin } from '@toolbox-web/grid/plugins/multi-sort';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('multiSort', (config) => {\n if (config === true || config === 'multi') {\n return new MultiSortPlugin();\n }\n if (config === 'single') {\n return new MultiSortPlugin({ maxSortColumns: 1 });\n }\n return new MultiSortPlugin(config ?? undefined);\n});\n\n// Alias for backwards compatibility\nregisterFeature('sorting', (config) => {\n if (config === true || config === 'multi') {\n return new MultiSortPlugin();\n }\n if (config === 'single') {\n return new MultiSortPlugin({ maxSortColumns: 1 });\n }\n return new MultiSortPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","MultiSortPlugin"],"mappings":";;AAsBAA,EAAgB,aAAa,CAACC,MACxBA,MAAW,MAAQA,MAAW,UACzB,IAAIC,EAAA,IAETD,MAAW,WACN,IAAIC,EAAgB,EAAE,gBAAgB,GAAG,IAE3C,IAAIA,EAAgBD,KAAU,MAAS,CAC/C;AAGDD,EAAgB,WAAW,CAACC,MACtBA,MAAW,MAAQA,MAAW,UACzB,IAAIC,EAAA,IAETD,MAAW,WACN,IAAIC,EAAgB,EAAE,gBAAgB,GAAG,IAE3C,IAAIA,EAAgBD,KAAU,MAAS,CAC/C;"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Pinned columns feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `pinnedColumns` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/pinned-columns';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid pinnedColumns :columns="[
14
+ * { field: 'id', sticky: 'left' },
15
+ * { field: 'name' },
16
+ * ]" />
17
+ * </template>
18
+ * ```
19
+ *
20
+ * @packageDocumentation
21
+ */
22
+ export {};
23
+ //# sourceMappingURL=pinned-columns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinned-columns.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/pinned-columns.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG"}
@@ -0,0 +1,4 @@
1
+ import { PinnedColumnsPlugin as r } from "@toolbox-web/grid/plugins/pinned-columns";
2
+ import { r as n } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ n("pinnedColumns", () => new r());
4
+ //# sourceMappingURL=pinned-columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinned-columns.js","sources":["../../../../libs/grid-vue/src/features/pinned-columns.ts"],"sourcesContent":["/**\n * Pinned columns feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `pinnedColumns` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/pinned-columns';\n * </script>\n *\n * <template>\n * <TbwGrid pinnedColumns :columns=\"[\n * { field: 'id', sticky: 'left' },\n * { field: 'name' },\n * ]\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { PinnedColumnsPlugin } from '@toolbox-web/grid/plugins/pinned-columns';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('pinnedColumns', () => {\n return new PinnedColumnsPlugin();\n});\n"],"names":["registerFeature","PinnedColumnsPlugin"],"mappings":";;AAyBAA,EAAgB,iBAAiB,MACxB,IAAIC,EAAA,CACZ;"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Pinned rows feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `pinnedRows` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/pinned-rows';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid :pinnedRows="{
14
+ * bottom: [{ type: 'aggregation', aggregator: 'sum' }],
15
+ * }" />
16
+ * </template>
17
+ * ```
18
+ *
19
+ * @packageDocumentation
20
+ */
21
+ export {};
22
+ //# sourceMappingURL=pinned-rows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinned-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/pinned-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
@@ -0,0 +1,4 @@
1
+ import { PinnedRowsPlugin as e } from "@toolbox-web/grid/plugins/pinned-rows";
2
+ import { r as n } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ n("pinnedRows", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=pinned-rows.js.map
@@ -0,0 +1 @@
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 *\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 * @packageDocumentation\n */\n\nimport { PinnedRowsPlugin } from '@toolbox-web/grid/plugins/pinned-rows';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('pinnedRows', (config) => {\n if (config === true) {\n return new PinnedRowsPlugin();\n }\n return new PinnedRowsPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","PinnedRowsPlugin"],"mappings":";;AAwBAA,EAAgB,cAAc,CAACC,MACzBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAiBD,KAAU,MAAS,CAChD;"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Pivot feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `pivot` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/pivot';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid :pivot="{
14
+ * rowFields: ['category'],
15
+ * columnFields: ['year'],
16
+ * valueField: 'sales',
17
+ * }" />
18
+ * </template>
19
+ * ```
20
+ *
21
+ * @packageDocumentation
22
+ */
23
+ export {};
24
+ //# sourceMappingURL=pivot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pivot.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/pivot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
@@ -0,0 +1,4 @@
1
+ import { PivotPlugin as i } from "@toolbox-web/grid/plugins/pivot";
2
+ import { r as o } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ o("pivot", (r) => new i(r ?? void 0));
4
+ //# sourceMappingURL=pivot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pivot.js","sources":["../../../../libs/grid-vue/src/features/pivot.ts"],"sourcesContent":["/**\n * Pivot feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `pivot` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/pivot';\n * </script>\n *\n * <template>\n * <TbwGrid :pivot=\"{\n * rowFields: ['category'],\n * columnFields: ['year'],\n * valueField: 'sales',\n * }\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { PivotPlugin } from '@toolbox-web/grid/plugins/pivot';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('pivot', (config) => {\n return new PivotPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","PivotPlugin"],"mappings":";;AA0BAA,EAAgB,SAAS,CAACC,MACjB,IAAIC,EAAYD,KAAU,MAAS,CAC3C;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Print feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `print` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/print';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid print />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=print.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/print.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { PrintPlugin as e } from "@toolbox-web/grid/plugins/print";
2
+ import { r as t } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ t("print", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=print.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.js","sources":["../../../../libs/grid-vue/src/features/print.ts"],"sourcesContent":["/**\n * Print feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `print` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/print';\n * </script>\n *\n * <template>\n * <TbwGrid print />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { PrintPlugin } from '@toolbox-web/grid/plugins/print';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('print', (config) => {\n if (config === true) {\n return new PrintPlugin();\n }\n return new PrintPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","PrintPlugin"],"mappings":";;AAsBAA,EAAgB,SAAS,CAACC,MACpBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAYD,KAAU,MAAS,CAC3C;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Column reorder feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `reorder` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/reorder';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid reorder />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=reorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/reorder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { ReorderPlugin as e } from "@toolbox-web/grid/plugins/reorder";
2
+ import { r as t } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ t("reorder", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=reorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder.js","sources":["../../../../libs/grid-vue/src/features/reorder.ts"],"sourcesContent":["/**\n * Column reorder feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `reorder` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/reorder';\n * </script>\n *\n * <template>\n * <TbwGrid reorder />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ReorderPlugin } from '@toolbox-web/grid/plugins/reorder';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('reorder', (config) => {\n if (config === true) {\n return new ReorderPlugin();\n }\n return new ReorderPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","ReorderPlugin"],"mappings":";;AAsBAA,EAAgB,WAAW,CAACC,MACtBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAcD,KAAU,MAAS,CAC7C;"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Responsive feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `responsive` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/responsive';
10
+ * import { h } from 'vue';
11
+ * </script>
12
+ *
13
+ * <template>
14
+ * <TbwGrid :responsive="{
15
+ * breakpoint: 768,
16
+ * cardRenderer: (row) => h(EmployeeCard, { employee: row }),
17
+ * }" />
18
+ * </template>
19
+ * ```
20
+ *
21
+ * @packageDocumentation
22
+ */
23
+ export {};
24
+ //# sourceMappingURL=responsive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/responsive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
@@ -0,0 +1,4 @@
1
+ import { ResponsivePlugin as e } from "@toolbox-web/grid/plugins/responsive";
2
+ import { r as i } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ i("responsive", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=responsive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsive.js","sources":["../../../../libs/grid-vue/src/features/responsive.ts"],"sourcesContent":["/**\n * Responsive feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `responsive` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/responsive';\n * import { h } from 'vue';\n * </script>\n *\n * <template>\n * <TbwGrid :responsive=\"{\n * breakpoint: 768,\n * cardRenderer: (row) => h(EmployeeCard, { employee: row }),\n * }\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ResponsivePlugin } from '@toolbox-web/grid/plugins/responsive';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('responsive', (config) => {\n if (config === true) {\n return new ResponsivePlugin();\n }\n return new ResponsivePlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","ResponsivePlugin"],"mappings":";;AA0BAA,EAAgB,cAAc,CAACC,MACzBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAiBD,KAAU,MAAS,CAChD;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Row reorder feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `rowReorder` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/row-reorder';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid rowReorder />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=row-reorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-reorder.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/row-reorder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { RowReorderPlugin as e } from "@toolbox-web/grid/plugins/row-reorder";
2
+ import { r as o } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ o("rowReorder", (r) => r === !0 ? new e() : new e(r ?? void 0));
4
+ //# sourceMappingURL=row-reorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-reorder.js","sources":["../../../../libs/grid-vue/src/features/row-reorder.ts"],"sourcesContent":["/**\n * Row reorder feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `rowReorder` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/row-reorder';\n * </script>\n *\n * <template>\n * <TbwGrid rowReorder />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { RowReorderPlugin } from '@toolbox-web/grid/plugins/row-reorder';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('rowReorder', (config) => {\n if (config === true) {\n return new RowReorderPlugin();\n }\n return new RowReorderPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","RowReorderPlugin"],"mappings":";;AAsBAA,EAAgB,cAAc,CAACC,MACzBA,MAAW,KACN,IAAIC,EAAA,IAEN,IAAIA,EAAiBD,KAAU,MAAS,CAChD;"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Selection feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `selection` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/selection';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid selection="range" />
14
+ * </template>
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+ export {};
20
+ //# sourceMappingURL=selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/selection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -0,0 +1,4 @@
1
+ import { SelectionPlugin as r } from "@toolbox-web/grid/plugins/selection";
2
+ import { r as t } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ t("selection", (e) => e === "cell" || e === "row" || e === "range" ? new r({ mode: e }) : new r(e ?? void 0));
4
+ //# sourceMappingURL=selection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.js","sources":["../../../../libs/grid-vue/src/features/selection.ts"],"sourcesContent":["/**\n * Selection feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `selection` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/selection';\n * </script>\n *\n * <template>\n * <TbwGrid selection=\"range\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { SelectionPlugin } from '@toolbox-web/grid/plugins/selection';\nimport { registerFeature } from '../lib/feature-registry';\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"],"names":["registerFeature","config","SelectionPlugin"],"mappings":";;AAsBAA,EAAgB,aAAa,CAACC,MAExBA,MAAW,UAAUA,MAAW,SAASA,MAAW,UAC/C,IAAIC,EAAgB,EAAE,MAAMD,GAAQ,IAGtC,IAAIC,EAAgBD,KAAU,MAAS,CAC/C;"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Server-side feature for @toolbox-web/grid-vue
3
+ *
4
+ * Import this module to enable the `serverSide` prop on TbwGrid.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <script setup>
9
+ * import '@toolbox-web/grid-vue/features/server-side';
10
+ * </script>
11
+ *
12
+ * <template>
13
+ * <TbwGrid :serverSide="{
14
+ * dataSource: async (params) => fetchData(params),
15
+ * }" />
16
+ * </template>
17
+ * ```
18
+ *
19
+ * @packageDocumentation
20
+ */
21
+ export {};
22
+ //# sourceMappingURL=server-side.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-side.d.ts","sourceRoot":"","sources":["../../../../libs/grid-vue/src/features/server-side.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
@@ -0,0 +1,4 @@
1
+ import { ServerSidePlugin as e } from "@toolbox-web/grid/plugins/server-side";
2
+ import { r as i } from "../chunks/feature-registry-BgEOysSJ.js";
3
+ i("serverSide", (r) => new e(r ?? void 0));
4
+ //# sourceMappingURL=server-side.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-side.js","sources":["../../../../libs/grid-vue/src/features/server-side.ts"],"sourcesContent":["/**\n * Server-side feature for @toolbox-web/grid-vue\n *\n * Import this module to enable the `serverSide` prop on TbwGrid.\n *\n * @example\n * ```vue\n * <script setup>\n * import '@toolbox-web/grid-vue/features/server-side';\n * </script>\n *\n * <template>\n * <TbwGrid :serverSide=\"{\n * dataSource: async (params) => fetchData(params),\n * }\" />\n * </template>\n * ```\n *\n * @packageDocumentation\n */\n\nimport { ServerSidePlugin } from '@toolbox-web/grid/plugins/server-side';\nimport { registerFeature } from '../lib/feature-registry';\n\nregisterFeature('serverSide', (config) => {\n return new ServerSidePlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","ServerSidePlugin"],"mappings":";;AAwBAA,EAAgB,cAAc,CAACC,MACtB,IAAIC,EAAiBD,KAAU,MAAS,CAChD;"}