@nu-grid/nuxt 0.1.4 → 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.
Files changed (76) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/cell-types/action-menu/ActionMenuRenderer.d.vue.ts +1 -1
  3. package/dist/runtime/cell-types/action-menu/ActionMenuRenderer.vue +1 -0
  4. package/dist/runtime/cell-types/action-menu/ActionMenuRenderer.vue.d.ts +1 -1
  5. package/dist/runtime/cell-types/date/index.d.ts +1 -1
  6. package/dist/runtime/cell-types/date/index.js +15 -1
  7. package/dist/runtime/cell-types/index.d.ts +2 -1
  8. package/dist/runtime/cell-types/index.js +3 -0
  9. package/dist/runtime/cell-types/lookup/LookupRenderer.vue +1 -1
  10. package/dist/runtime/cell-types/number/NumberFilter.vue +1 -1
  11. package/dist/runtime/cell-types/percentage/PercentageEditor.d.vue.ts +15 -0
  12. package/dist/runtime/cell-types/percentage/PercentageEditor.vue +56 -0
  13. package/dist/runtime/cell-types/percentage/PercentageEditor.vue.d.ts +15 -0
  14. package/dist/runtime/cell-types/percentage/PercentageFilter.d.vue.ts +7 -0
  15. package/dist/runtime/cell-types/percentage/PercentageFilter.vue +79 -0
  16. package/dist/runtime/cell-types/percentage/PercentageFilter.vue.d.ts +7 -0
  17. package/dist/runtime/cell-types/percentage/index.d.ts +10 -0
  18. package/dist/runtime/cell-types/percentage/index.js +38 -0
  19. package/dist/runtime/cell-types/selection/SelectionEditor.vue +1 -1
  20. package/dist/runtime/cell-types/selection/SelectionRenderer.vue +1 -0
  21. package/dist/runtime/components/NuGrid.d.vue.ts +8 -5
  22. package/dist/runtime/components/NuGrid.vue +41 -9
  23. package/dist/runtime/components/NuGrid.vue.d.ts +8 -5
  24. package/dist/runtime/components/_internal/NuGridBase.vue +128 -82
  25. package/dist/runtime/components/_internal/NuGridCellContent.vue +21 -1
  26. package/dist/runtime/components/_internal/NuGridColumnMenu.vue +2 -2
  27. package/dist/runtime/components/_internal/NuGridGroup.vue +22 -15
  28. package/dist/runtime/components/_internal/NuGridHeaderSortButton.vue +1 -0
  29. package/dist/runtime/components/_internal/NuGridRow.vue +13 -5
  30. package/dist/runtime/components/_internal/NuGridSplitGroup.vue +22 -16
  31. package/dist/runtime/components/_internal/NuGridTooltip.vue +1 -0
  32. package/dist/runtime/composables/_internal/column-flex-style.d.ts +22 -0
  33. package/dist/runtime/composables/_internal/column-flex-style.js +84 -0
  34. package/dist/runtime/composables/_internal/index.d.ts +1 -0
  35. package/dist/runtime/composables/_internal/index.js +1 -0
  36. package/dist/runtime/composables/_internal/useNuGridAddRow.js +5 -1
  37. package/dist/runtime/composables/_internal/useNuGridAutosize.d.ts +6 -3
  38. package/dist/runtime/composables/_internal/useNuGridAutosize.js +91 -9
  39. package/dist/runtime/composables/_internal/useNuGridCellEditing.js +3 -2
  40. package/dist/runtime/composables/_internal/useNuGridColumnResize.d.ts +17 -7
  41. package/dist/runtime/composables/_internal/useNuGridColumnResize.js +219 -8
  42. package/dist/runtime/composables/_internal/useNuGridCore.d.ts +1 -1
  43. package/dist/runtime/composables/_internal/useNuGridCore.js +16 -5
  44. package/dist/runtime/composables/_internal/useNuGridFocus.js +1 -1
  45. package/dist/runtime/composables/_internal/useNuGridRowSelection.js +1 -1
  46. package/dist/runtime/composables/_internal/useNuGridStatePersistence.d.ts +14 -1
  47. package/dist/runtime/composables/_internal/useNuGridStatePersistence.js +66 -3
  48. package/dist/runtime/composables/_internal/useNuGridUI.d.ts +116 -0
  49. package/dist/runtime/config/_internal/options-defaults.d.ts +3 -4
  50. package/dist/runtime/config/_internal/options-defaults.js +3 -4
  51. package/dist/runtime/config/_internal/prop-utils.d.ts +7 -1
  52. package/dist/runtime/config/_internal/prop-utils.js +20 -6
  53. package/dist/runtime/config/presets.js +2 -2
  54. package/dist/runtime/themes/nuGridTheme.d.ts +2 -0
  55. package/dist/runtime/themes/nuGridTheme.js +7 -4
  56. package/dist/runtime/themes/nuGridThemeCompact.d.ts +2 -0
  57. package/dist/runtime/themes/nuGridThemeCompact.js +7 -4
  58. package/dist/runtime/types/_internal/contexts/resize.d.ts +1 -0
  59. package/dist/runtime/types/_internal/contexts/ui-config.d.ts +4 -2
  60. package/dist/runtime/types/autosize.d.ts +4 -1
  61. package/dist/runtime/types/column.d.ts +41 -3
  62. package/dist/runtime/types/index.d.ts +2 -1
  63. package/dist/runtime/types/option-groups.d.ts +26 -8
  64. package/dist/runtime/types/props.d.ts +34 -9
  65. package/dist/runtime/types/resize.d.ts +2 -0
  66. package/dist/runtime/types/slots.d.ts +32 -0
  67. package/dist/runtime/types/slots.js +0 -0
  68. package/dist/runtime/types/tanstack-table.d.ts +3 -2
  69. package/dist/runtime/utils/index.d.ts +1 -0
  70. package/dist/runtime/utils/index.js +1 -0
  71. package/dist/runtime/utils/inferCellDataType.d.ts +27 -0
  72. package/dist/runtime/utils/inferCellDataType.js +91 -0
  73. package/package.json +3 -2
  74. package/dist/runtime/components/NuGridGroup.d.vue.ts +0 -20
  75. package/dist/runtime/components/NuGridGroup.vue +0 -650
  76. package/dist/runtime/components/NuGridGroup.vue.d.ts +0 -20
@@ -1,20 +0,0 @@
1
- import type { TableData, TableSlots } from '@nuxt/ui';
2
- import type { NuGridProps } from '../types/index.js';
3
- declare const __VLS_export: <T extends TableData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<NuGridProps<T>> & (typeof globalThis extends {
5
- __VLS_PROPS_FALLBACK: infer P;
6
- } ? P : {});
7
- expose: (exposed: {}) => void;
8
- attrs: any;
9
- slots: TableSlots<T>;
10
- emit: {};
11
- }>) => import("vue").VNode & {
12
- __ctx?: Awaited<typeof __VLS_setup>;
13
- };
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_PrettifyLocal<T> = (T extends any ? {
17
- [K in keyof T]: T[K];
18
- } : {
19
- [K in keyof T as K]: T[K];
20
- }) & {};