@atscript/vue-table 0.1.112 → 0.1.114

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 (99) hide show
  1. package/dist/as-action-form-dialog.cjs +1 -1
  2. package/dist/as-action-form-dialog.mjs +1 -1
  3. package/dist/{as-action-menu-content-C_-ndF6S.cjs → as-action-menu-content-C7n_dJx0.cjs} +63 -7
  4. package/dist/{as-action-menu-content-CVZJpVPG.mjs → as-action-menu-content-CWmWeQam.mjs} +63 -7
  5. package/dist/as-column-menu.d.cts +1 -1
  6. package/dist/as-column-menu.d.mts +1 -1
  7. package/dist/{as-column-menu.vue-BbdaVsNi.d.cts → as-column-menu.vue-DL5N9mKR.d.mts} +2 -2
  8. package/dist/{as-column-menu.vue-CwhbMgzZ.d.mts → as-column-menu.vue-u_DNy3f-.d.cts} +2 -2
  9. package/dist/{as-config-dialog-Dvnlubkp.mjs → as-config-dialog-0e-az0nn.mjs} +2 -2
  10. package/dist/{as-config-dialog-ulI6e9vX.cjs → as-config-dialog-B6MFmBRW.cjs} +2 -2
  11. package/dist/as-config-dialog.cjs +1 -1
  12. package/dist/as-config-dialog.mjs +1 -1
  13. package/dist/{as-confirm-dialog-B7SM0zxy.cjs → as-confirm-dialog-CYiLQUP-.cjs} +1 -1
  14. package/dist/{as-confirm-dialog-DLR2ejrF.mjs → as-confirm-dialog-DlZzfASO.mjs} +1 -1
  15. package/dist/as-confirm-dialog.cjs +1 -1
  16. package/dist/as-confirm-dialog.mjs +1 -1
  17. package/dist/{as-filter-dialog-CiIPgmt8.mjs → as-filter-dialog-Bole60UC.mjs} +7 -7
  18. package/dist/{as-filter-dialog-DfX7ahsa.cjs → as-filter-dialog-OiRuTYfh.cjs} +7 -7
  19. package/dist/as-filter-dialog.cjs +1 -1
  20. package/dist/as-filter-dialog.mjs +1 -1
  21. package/dist/{as-filter-field-D8kv8lOm.cjs → as-filter-field-iJbKFVSw.cjs} +3 -3
  22. package/dist/{as-filter-field-C3wmTg22.mjs → as-filter-field-xzcm2aGE.mjs} +3 -3
  23. package/dist/as-filter-field.cjs +1 -1
  24. package/dist/as-filter-field.mjs +1 -1
  25. package/dist/{as-filters-Dmn0ykIo.mjs → as-filters-CGRd9vX0.mjs} +3 -3
  26. package/dist/{as-filters-BhPQXswG.cjs → as-filters-DfkxKGNU.cjs} +3 -3
  27. package/dist/as-filters.cjs +1 -1
  28. package/dist/as-filters.mjs +1 -1
  29. package/dist/{as-preset-dialog-B3fC0Eqc.mjs → as-preset-dialog-BbnwfYzC.mjs} +1 -1
  30. package/dist/{as-preset-dialog-DYxEVZ7V.cjs → as-preset-dialog-D77Dg9ll.cjs} +1 -1
  31. package/dist/as-preset-dialog.cjs +1 -1
  32. package/dist/as-preset-dialog.mjs +1 -1
  33. package/dist/{as-preset-picker-B9hw2qc8.mjs → as-preset-picker-Bwr3kM4o.mjs} +1 -1
  34. package/dist/{as-preset-picker-PbSNiBDr.cjs → as-preset-picker-Divz_1ZG.cjs} +1 -1
  35. package/dist/as-preset-picker.cjs +1 -1
  36. package/dist/as-preset-picker.mjs +1 -1
  37. package/dist/{as-row-actions-C4mSAqeh.mjs → as-row-actions-CBVF6B2-.mjs} +55 -28
  38. package/dist/{as-row-actions-N30up8uG.cjs → as-row-actions-DC6-kpsJ.cjs} +54 -27
  39. package/dist/as-row-actions.cjs +1 -1
  40. package/dist/as-row-actions.mjs +1 -1
  41. package/dist/{as-table-DnUc3TB1.mjs → as-table-DQwYi63u.mjs} +2 -2
  42. package/dist/{as-table-3TbYx5tz.cjs → as-table-DaT2K-7n.cjs} +2 -2
  43. package/dist/{as-table-actions-CoN68w6P.cjs → as-table-actions-CEhZXH97.cjs} +48 -19
  44. package/dist/{as-table-actions-Ct3tEarY.mjs → as-table-actions-ChR9MGQt.mjs} +49 -20
  45. package/dist/as-table-actions.cjs +1 -1
  46. package/dist/as-table-actions.d.cts +1 -1
  47. package/dist/as-table-actions.d.mts +1 -1
  48. package/dist/as-table-actions.mjs +1 -1
  49. package/dist/{as-table-actions.vue-62ZjZoIa.d.cts → as-table-actions.vue-DTGYOsZh.d.mts} +6 -6
  50. package/dist/{as-table-actions.vue-B2C_nC86.d.mts → as-table-actions.vue-WXkllHVw.d.cts} +6 -6
  51. package/dist/{as-table-base-CbxfXR2t.cjs → as-table-base-1uBBmFuL.cjs} +2 -2
  52. package/dist/{as-table-base-O9cMoTBL.mjs → as-table-base-DOvVedJg.mjs} +2 -2
  53. package/dist/{as-table-header-cell-D025cLjb.cjs → as-table-header-cell-DD6Tw87_.cjs} +1 -1
  54. package/dist/{as-table-header-cell-BlDhjZNp.mjs → as-table-header-cell-DfjfNeq4.mjs} +1 -1
  55. package/dist/as-table-header-cell.cjs +1 -1
  56. package/dist/as-table-header-cell.d.cts +1 -1
  57. package/dist/as-table-header-cell.d.mts +1 -1
  58. package/dist/as-table-header-cell.mjs +1 -1
  59. package/dist/{as-table-header-cell.vue-BjQUPdmH.d.cts → as-table-header-cell.vue-BCszzxtU.d.mts} +2 -2
  60. package/dist/{as-table-header-cell.vue-PEFiv40i.d.mts → as-table-header-cell.vue-BzTzfGRo.d.cts} +2 -2
  61. package/dist/{as-table-root-IzffHCVo.mjs → as-table-root-BSbO16CM.mjs} +9 -4
  62. package/dist/{as-table-root-CeypME9M.cjs → as-table-root-BnW1SL4W.cjs} +9 -4
  63. package/dist/as-table-root.cjs +1 -1
  64. package/dist/as-table-root.d.cts +1 -1
  65. package/dist/as-table-root.d.mts +1 -1
  66. package/dist/as-table-root.mjs +1 -1
  67. package/dist/{as-table-root.vue-D5Tp8U_d.d.cts → as-table-root.vue-DRv85M1N.d.cts} +26 -5
  68. package/dist/{as-table-root.vue-DtJBjtoC.d.mts → as-table-root.vue-TUauKr31.d.mts} +26 -5
  69. package/dist/{as-table-status-f4QmdAZ0.cjs → as-table-status-2eUIHBmk.cjs} +4 -4
  70. package/dist/{as-table-status-d3iUSOoH.mjs → as-table-status-Dy3rA0T-.mjs} +4 -4
  71. package/dist/as-table.cjs +1 -1
  72. package/dist/as-table.d.cts +1 -1
  73. package/dist/as-table.d.mts +1 -1
  74. package/dist/as-table.mjs +1 -1
  75. package/dist/{as-table.vue-53yyA7zP.d.cts → as-table.vue-D9cCjbtr.d.cts} +7 -7
  76. package/dist/{as-table.vue-CdSb4IUc.d.mts → as-table.vue-DxtfL26P.d.mts} +7 -7
  77. package/dist/{as-window-table-C3o72zaM.mjs → as-window-table-B9k_nv4c.mjs} +2 -2
  78. package/dist/{as-window-table-BzyV1iDL.cjs → as-window-table-iwpsLq0K.cjs} +2 -2
  79. package/dist/as-window-table.cjs +1 -1
  80. package/dist/as-window-table.d.cts +1 -1
  81. package/dist/as-window-table.d.mts +1 -1
  82. package/dist/as-window-table.mjs +1 -1
  83. package/dist/{as-window-table.vue-DU6UdjA3.d.cts → as-window-table.vue-BavmqDeH.d.cts} +6 -6
  84. package/dist/{as-window-table.vue-DQPjWA3T.d.mts → as-window-table.vue-BpvgmsC1.d.mts} +6 -6
  85. package/dist/index.cjs +17 -17
  86. package/dist/index.d.cts +7 -7
  87. package/dist/index.d.mts +7 -7
  88. package/dist/index.mjs +17 -17
  89. package/dist/{types-DAgdkjji.d.cts → types-ByU4O0Yf.d.mts} +10 -2
  90. package/dist/{types-iSundY5p.d.mts → types-CTMxE_zA.d.cts} +10 -2
  91. package/dist/{use-table-Dwl4JoZR.cjs → use-table-BWgcmQS7.cjs} +2 -1
  92. package/dist/{use-table-ClKUAYU4.mjs → use-table-DHN_frAf.mjs} +2 -1
  93. package/dist/{use-table-component-QIECHhdZ.mjs → use-table-component-Bu7CIG5I.mjs} +1 -1
  94. package/dist/{use-table-component-xSoXI7Jm.cjs → use-table-component-QDcfYIBU.cjs} +1 -1
  95. package/dist/{use-table-nav-bridge-Cs4R_6F2.cjs → use-table-nav-bridge-BlqeY53w.cjs} +1 -1
  96. package/dist/{use-table-nav-bridge-0WVZrMv9.mjs → use-table-nav-bridge-CVO5_ttZ.mjs} +1 -1
  97. package/dist/{use-table-state-CI8i5m7s.cjs → use-table-state-CElgF_iy.cjs} +95 -1
  98. package/dist/{use-table-state-kxv6_Biy.mjs → use-table-state-Dju5bxt8.mjs} +72 -2
  99. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { h as TVueTableActionInfo } from "./types-iSundY5p.mjs";
1
+ import { h as TVueTableActionInfo } from "./types-CTMxE_zA.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/as-table-actions.vue.d.ts
@@ -18,20 +18,20 @@ declare var __VLS_1: {
18
18
  defaultAction: TVueTableActionInfo | undefined;
19
19
  otherActions: TVueTableActionInfo[];
20
20
  trailingRowActions: TVueTableActionInfo[];
21
- level: "table" | "rows" | "row";
21
+ level: "row" | "rows" | "table";
22
22
  ids: Record<string, unknown>[];
23
23
  invoke: typeof invokeWith;
24
- }, __VLS_3: {
24
+ }, __VLS_12: {
25
25
  action: TVueTableActionInfo;
26
- }, __VLS_32: {
26
+ }, __VLS_42: {
27
27
  action: TVueTableActionInfo;
28
28
  };
29
29
  type __VLS_Slots = {} & {
30
30
  default?: (props: typeof __VLS_1) => any;
31
31
  } & {
32
- button?: (props: typeof __VLS_3) => any;
32
+ button?: (props: typeof __VLS_12) => any;
33
33
  } & {
34
- 'menu-item'?: (props: typeof __VLS_32) => any;
34
+ 'menu-item'?: (props: typeof __VLS_42) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
37
37
  level: "auto" | "table" | "rows" | "row";
@@ -1,6 +1,6 @@
1
- const require_use_table_state = require("./use-table-state-CI8i5m7s.cjs");
1
+ const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
2
2
  const require_get_cell_value = require("./get-cell-value-4rHKP-TG.cjs");
3
- const require_as_table_status = require("./as-table-status-f4QmdAZ0.cjs");
3
+ const require_as_table_status = require("./as-table-status-2eUIHBmk.cjs");
4
4
  let vue = require("vue");
5
5
  let _atscript_ui_table = require("@atscript/ui-table");
6
6
  let _vueuse_core = require("@vueuse/core");
@@ -1,6 +1,6 @@
1
- import { o as useTableContextOptional } from "./use-table-state-kxv6_Biy.mjs";
1
+ import { o as useTableContextOptional } from "./use-table-state-Dju5bxt8.mjs";
2
2
  import { t as getCellValue } from "./get-cell-value-C8LLc_Rr.mjs";
3
- import { a as useCellComponents, n as as_table_header_default, o as useCellResolver, r as as_table_colgroup_default, t as as_table_status_default } from "./as-table-status-d3iUSOoH.mjs";
3
+ import { a as useCellComponents, n as as_table_header_default, o as useCellResolver, r as as_table_colgroup_default, t as as_table_status_default } from "./as-table-status-Dy3rA0T-.mjs";
4
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, unref, useSlots, watch, withCtx } from "vue";
5
5
  import { DEFAULT_ROW_HEIGHT_PX, filledFilterCount } from "@atscript/ui-table";
6
6
  import { useParentElement, useResizeObserver } from "@vueuse/core";
@@ -1,4 +1,4 @@
1
- const require_use_table_component = require("./use-table-component-xSoXI7Jm.cjs");
1
+ const require_use_table_component = require("./use-table-component-QDcfYIBU.cjs");
2
2
  const require_as_column_menu = require("./as-column-menu-fZVbJ9lU.cjs");
3
3
  let vue = require("vue");
4
4
  let _atscript_ui_table = require("@atscript/ui-table");
@@ -1,4 +1,4 @@
1
- import { t as useTableComponent } from "./use-table-component-QIECHhdZ.mjs";
1
+ import { t as useTableComponent } from "./use-table-component-Bu7CIG5I.mjs";
2
2
  import { t as as_column_menu_default } from "./as-column-menu-kTIQfLTi.mjs";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, resolveDynamicComponent, toDisplayString, unref, withCtx, withModifiers } from "vue";
4
4
  import { isFilled } from "@atscript/ui-table";
@@ -1,2 +1,2 @@
1
- const require_as_table_header_cell = require("./as-table-header-cell-D025cLjb.cjs");
1
+ const require_as_table_header_cell = require("./as-table-header-cell-DD6Tw87_.cjs");
2
2
  module.exports = require_as_table_header_cell.as_table_header_cell_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-header-cell.vue-BjQUPdmH.cjs";
1
+ import { t as _default } from "./as-table-header-cell.vue-BzTzfGRo.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-header-cell.vue-PEFiv40i.mjs";
1
+ import { t as _default } from "./as-table-header-cell.vue-BCszzxtU.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_table_header_cell_default } from "./as-table-header-cell-BlDhjZNp.mjs";
1
+ import { t as as_table_header_cell_default } from "./as-table-header-cell-DfjfNeq4.mjs";
2
2
  export { as_table_header_cell_default as default };
@@ -1,6 +1,6 @@
1
- import { n as ColumnMenuConfig } from "./types-DAgdkjji.cjs";
2
- import * as vue from "vue";
1
+ import { n as ColumnMenuConfig } from "./types-ByU4O0Yf.mjs";
3
2
  import { ColumnDef } from "@atscript/ui";
3
+ import * as vue from "vue";
4
4
  import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
5
5
 
6
6
  //#region src/components/defaults/as-table-header-cell.vue.d.ts
@@ -1,6 +1,6 @@
1
- import { n as ColumnMenuConfig } from "./types-iSundY5p.mjs";
2
- import { ColumnDef } from "@atscript/ui";
1
+ import { n as ColumnMenuConfig } from "./types-CTMxE_zA.cjs";
3
2
  import * as vue from "vue";
3
+ import { ColumnDef } from "@atscript/ui";
4
4
  import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
5
5
 
6
6
  //#region src/components/defaults/as-table-header-cell.vue.d.ts
@@ -1,8 +1,8 @@
1
- import { i as useRegisterMainActionListener } from "./use-table-state-kxv6_Biy.mjs";
2
- import { n as useTable } from "./use-table-ClKUAYU4.mjs";
3
- import { t as useTableNavBridge } from "./use-table-nav-bridge-0WVZrMv9.mjs";
1
+ import { i as useRegisterMainActionListener } from "./use-table-state-Dju5bxt8.mjs";
2
+ import { n as useTable } from "./use-table-DHN_frAf.mjs";
3
+ import { t as useTableNavBridge } from "./use-table-nav-bridge-CVO5_ttZ.mjs";
4
4
  import { t as useHasEmitListener } from "./use-has-emit-listener-BTMDIv2e.mjs";
5
- import { t as as_confirm_dialog_default } from "./as-confirm-dialog-DLR2ejrF.mjs";
5
+ import { t as as_confirm_dialog_default } from "./as-confirm-dialog-DlZzfASO.mjs";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineAsyncComponent, defineComponent, mergeModels, openBlock, ref, renderSlot, resolveDynamicComponent, unref, useModel, watch } from "vue";
7
7
  //#endregion
8
8
  //#region src/components/as-table-root.vue
@@ -88,6 +88,10 @@ var as_table_root_default = /* @__PURE__ */ defineComponent({
88
88
  required: false,
89
89
  default: true
90
90
  },
91
+ resolveHref: {
92
+ type: Function,
93
+ required: false
94
+ },
91
95
  urlQuerySync: {
92
96
  type: Object,
93
97
  required: false
@@ -189,6 +193,7 @@ var as_table_root_default = /* @__PURE__ */ defineComponent({
189
193
  formTypes: props.formTypes,
190
194
  formComponents: props.formComponents,
191
195
  refreshOnAction: () => props.refreshOnAction,
196
+ resolveHref: props.resolveHref,
192
197
  onActionResolved: (action, ids, result, event) => {
193
198
  emit("action", action, ids, result, event);
194
199
  },
@@ -1,8 +1,8 @@
1
- const require_use_table_state = require("./use-table-state-CI8i5m7s.cjs");
2
- const require_use_table = require("./use-table-Dwl4JoZR.cjs");
3
- const require_use_table_nav_bridge = require("./use-table-nav-bridge-Cs4R_6F2.cjs");
1
+ const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
2
+ const require_use_table = require("./use-table-BWgcmQS7.cjs");
3
+ const require_use_table_nav_bridge = require("./use-table-nav-bridge-BlqeY53w.cjs");
4
4
  const require_use_has_emit_listener = require("./use-has-emit-listener-hhOH8CBI.cjs");
5
- const require_as_confirm_dialog = require("./as-confirm-dialog-B7SM0zxy.cjs");
5
+ const require_as_confirm_dialog = require("./as-confirm-dialog-CYiLQUP-.cjs");
6
6
  let vue = require("vue");
7
7
  //#endregion
8
8
  //#region src/components/as-table-root.vue
@@ -88,6 +88,10 @@ var as_table_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
88
88
  required: false,
89
89
  default: true
90
90
  },
91
+ resolveHref: {
92
+ type: Function,
93
+ required: false
94
+ },
91
95
  urlQuerySync: {
92
96
  type: Object,
93
97
  required: false
@@ -189,6 +193,7 @@ var as_table_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
189
193
  formTypes: props.formTypes,
190
194
  formComponents: props.formComponents,
191
195
  refreshOnAction: () => props.refreshOnAction,
196
+ resolveHref: props.resolveHref,
192
197
  onActionResolved: (action, ids, result, event) => {
193
198
  emit("action", action, ids, result, event);
194
199
  },
@@ -1,2 +1,2 @@
1
- const require_as_table_root = require("./as-table-root-CeypME9M.cjs");
1
+ const require_as_table_root = require("./as-table-root-BnW1SL4W.cjs");
2
2
  module.exports = require_as_table_root.as_table_root_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-D5Tp8U_d.cjs";
1
+ import { t as _default } from "./as-table-root.vue-DRv85M1N.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-DtJBjtoC.mjs";
1
+ import { t as _default } from "./as-table-root.vue-TUauKr31.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_table_root_default } from "./as-table-root-IzffHCVo.mjs";
1
+ import { t as as_table_root_default } from "./as-table-root-BSbO16CM.mjs";
2
2
  export { as_table_root_default as default };
@@ -1,4 +1,4 @@
1
- import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, g as TableActionsState, h as TVueTableActionInfo, i as ConfirmOptions, l as PresetConfig, m as TAsTableControls, p as TAsCellTypeComponents, t as ActionResult } from "./types-DAgdkjji.cjs";
1
+ import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, g as TableActionsState, h as TVueTableActionInfo, i as ConfirmOptions, l as PresetConfig, m as TAsTableControls, p as TAsCellTypeComponents, t as ActionResult } from "./types-CTMxE_zA.cjs";
2
2
  import * as vue from "vue";
3
3
  import { AllowedComponentProps, AnchorHTMLAttributes, App, Component as Component$1, ComponentCustomProps, ComponentPublicInstance, ComputedRef, DefineComponent, InjectionKey, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, UnwrapRef, VNode, VNodeProps, WritableComputedRef } from "vue";
4
4
  import { Client, PageResult, TDbActionInfo } from "@atscript/db-client";
@@ -254,6 +254,12 @@ interface TableWindowOptions {
254
254
  interface TableActionsOptions {
255
255
  /** Refetch policy: when `true` (default), successful backend / __remove invocations call `state.query()`. */
256
256
  refreshOnAction?: () => boolean;
257
+ /**
258
+ * Maps a navigate action's href before it lands in an anchor's `href` /
259
+ * a mod-click `window.open` target (e.g. router base-path resolution).
260
+ * Plain function passthrough — see `ReactiveTableState.resolveHref`.
261
+ */
262
+ resolveHref?: (url: string) => string;
257
263
  /**
258
264
  * Bridge for `<AsTableRoot>`'s `@action` emit. Called once per settled
259
265
  * `invoke` (success, error, custom). `ids` is the level-derived list:
@@ -442,6 +448,13 @@ interface UseTableOptions {
442
448
  * successful `'backend'` / `'__remove'` invocations call `state.query()`.
443
449
  */
444
450
  refreshOnAction?: () => boolean;
451
+ /**
452
+ * Maps a navigate action's href before it is used as an anchor `href` /
453
+ * mod-click `window.open` target (e.g. `router.resolve(url).href` under a
454
+ * base path). Never applied on the plain-left-click invoke path. Default:
455
+ * identity.
456
+ */
457
+ resolveHref?: (url: string) => string;
445
458
  /** Bridge for `<AsTableRoot>`'s `@action` emit; see `TableActionsOptions.onResolved`. */
446
459
  onActionResolved?: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent) => void;
447
460
  /**
@@ -2200,6 +2213,14 @@ type __VLS_Props = {
2200
2213
  * `state.actions.invoke(action, pk, { suppressRefresh: true })` overrides.
2201
2214
  */
2202
2215
  refreshOnAction?: boolean;
2216
+ /**
2217
+ * Maps a navigate action's interpolated href before it is used as an
2218
+ * anchor's `href` attribute or a mod/middle-click `window.open` target —
2219
+ * e.g. `(url) => router.resolve(url).href` for apps served under a
2220
+ * router base path. NOT applied on the plain-left-click invoke path (the
2221
+ * Client's `navigate` hook owns that URL). Default: identity.
2222
+ */
2223
+ resolveHref?: (url: string) => string;
2203
2224
  /**
2204
2225
  * Per-aspect opt-in/out for `v-model:url-query`. Default (omitted): full
2205
2226
  * sync — filters, sorters, `searchTerm`, and pagination all round-trip.
@@ -2289,11 +2310,11 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2289
2310
  "update:selectedRows": (value: unknown[]) => any;
2290
2311
  "update:urlQuery": (value: string | undefined) => any;
2291
2312
  } & {
2292
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any;
2293
- "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2313
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
2314
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
2294
2315
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2295
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2296
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2316
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
2317
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
2297
2318
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2298
2319
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2299
2320
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, g as TableActionsState, h as TVueTableActionInfo, i as ConfirmOptions, l as PresetConfig, m as TAsTableControls, p as TAsCellTypeComponents, t as ActionResult } from "./types-iSundY5p.mjs";
1
+ import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, g as TableActionsState, h as TVueTableActionInfo, i as ConfirmOptions, l as PresetConfig, m as TAsTableControls, p as TAsCellTypeComponents, t as ActionResult } from "./types-ByU4O0Yf.mjs";
2
2
  import * as _atscript_ui0 from "@atscript/ui";
3
3
  import { ClientFactory, ClientFactory as ClientFactory$1, ColumnDef, SortControl, TableDef, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
4
4
  import * as vue from "vue";
@@ -254,6 +254,12 @@ interface TableWindowOptions {
254
254
  interface TableActionsOptions {
255
255
  /** Refetch policy: when `true` (default), successful backend / __remove invocations call `state.query()`. */
256
256
  refreshOnAction?: () => boolean;
257
+ /**
258
+ * Maps a navigate action's href before it lands in an anchor's `href` /
259
+ * a mod-click `window.open` target (e.g. router base-path resolution).
260
+ * Plain function passthrough — see `ReactiveTableState.resolveHref`.
261
+ */
262
+ resolveHref?: (url: string) => string;
257
263
  /**
258
264
  * Bridge for `<AsTableRoot>`'s `@action` emit. Called once per settled
259
265
  * `invoke` (success, error, custom). `ids` is the level-derived list:
@@ -442,6 +448,13 @@ interface UseTableOptions {
442
448
  * successful `'backend'` / `'__remove'` invocations call `state.query()`.
443
449
  */
444
450
  refreshOnAction?: () => boolean;
451
+ /**
452
+ * Maps a navigate action's href before it is used as an anchor `href` /
453
+ * mod-click `window.open` target (e.g. `router.resolve(url).href` under a
454
+ * base path). Never applied on the plain-left-click invoke path. Default:
455
+ * identity.
456
+ */
457
+ resolveHref?: (url: string) => string;
445
458
  /** Bridge for `<AsTableRoot>`'s `@action` emit; see `TableActionsOptions.onResolved`. */
446
459
  onActionResolved?: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent) => void;
447
460
  /**
@@ -2200,6 +2213,14 @@ type __VLS_Props = {
2200
2213
  * `state.actions.invoke(action, pk, { suppressRefresh: true })` overrides.
2201
2214
  */
2202
2215
  refreshOnAction?: boolean;
2216
+ /**
2217
+ * Maps a navigate action's interpolated href before it is used as an
2218
+ * anchor's `href` attribute or a mod/middle-click `window.open` target —
2219
+ * e.g. `(url) => router.resolve(url).href` for apps served under a
2220
+ * router base path. NOT applied on the plain-left-click invoke path (the
2221
+ * Client's `navigate` hook owns that URL). Default: identity.
2222
+ */
2223
+ resolveHref?: (url: string) => string;
2203
2224
  /**
2204
2225
  * Per-aspect opt-in/out for `v-model:url-query`. Default (omitted): full
2205
2226
  * sync — filters, sorters, `searchTerm`, and pagination all round-trip.
@@ -2289,11 +2310,11 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2289
2310
  "update:selectedRows": (value: unknown[]) => any;
2290
2311
  "update:urlQuery": (value: string | undefined) => any;
2291
2312
  } & {
2292
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any;
2293
- "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2313
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
2314
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
2294
2315
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2295
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2296
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2316
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
2317
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
2297
2318
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2298
2319
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2299
2320
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
@@ -1,7 +1,7 @@
1
- const require_use_table_state = require("./use-table-state-CI8i5m7s.cjs");
2
- const require_use_table_component = require("./use-table-component-xSoXI7Jm.cjs");
3
- const require_as_table_header_cell = require("./as-table-header-cell-D025cLjb.cjs");
4
- const require_as_row_actions = require("./as-row-actions-N30up8uG.cjs");
1
+ const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
2
+ const require_use_table_component = require("./use-table-component-QDcfYIBU.cjs");
3
+ const require_as_table_header_cell = require("./as-table-header-cell-DD6Tw87_.cjs");
4
+ const require_as_row_actions = require("./as-row-actions-DC6-kpsJ.cjs");
5
5
  const require_as_table_cell_value = require("./as-table-cell-value-D1JkTQt0.cjs");
6
6
  let _atscript_ui = require("@atscript/ui");
7
7
  let vue = require("vue");
@@ -1,7 +1,7 @@
1
- import { o as useTableContextOptional } from "./use-table-state-kxv6_Biy.mjs";
2
- import { t as useTableComponent } from "./use-table-component-QIECHhdZ.mjs";
3
- import { t as as_table_header_cell_default } from "./as-table-header-cell-BlDhjZNp.mjs";
4
- import { t as as_row_actions_default } from "./as-row-actions-C4mSAqeh.mjs";
1
+ import { o as useTableContextOptional } from "./use-table-state-Dju5bxt8.mjs";
2
+ import { t as useTableComponent } from "./use-table-component-Bu7CIG5I.mjs";
3
+ import { t as as_table_header_cell_default } from "./as-table-header-cell-DfjfNeq4.mjs";
4
+ import { t as as_row_actions_default } from "./as-row-actions-CBVF6B2-.mjs";
5
5
  import { t as as_table_cell_value_default } from "./as-table-cell-value-CPcFxSOj.mjs";
6
6
  import { UI_TABLE_ATTR, UI_TABLE_CLASSES, UI_TABLE_FN_ATTR, UI_TABLE_FN_CLASSES, UI_TABLE_FN_STYLES, UI_TABLE_STYLES, getFieldMeta, parseStaticAttrs, resolveAttrs, resolveFieldProp } from "@atscript/ui";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, withModifiers } from "vue";
package/dist/as-table.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_table = require("./as-table-3TbYx5tz.cjs");
1
+ const require_as_table = require("./as-table-DaT2K-7n.cjs");
2
2
  module.exports = require_as_table.as_table_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-53yyA7zP.cjs";
1
+ import { t as _default } from "./as-table.vue-D9cCjbtr.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-CdSb4IUc.mjs";
1
+ import { t as _default } from "./as-table.vue-DxtfL26P.mjs";
2
2
  export { _default as default };
package/dist/as-table.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as as_table_default } from "./as-table-DnUc3TB1.mjs";
1
+ import { t as as_table_default } from "./as-table-DQwYi63u.mjs";
2
2
  export { as_table_default as default };
@@ -1,4 +1,4 @@
1
- import { f as RowDeleteOpt, n as ColumnMenuConfig } from "./types-DAgdkjji.cjs";
1
+ import { f as RowDeleteOpt, n as ColumnMenuConfig } from "./types-CTMxE_zA.cjs";
2
2
  import * as vue from "vue";
3
3
  import { ColumnDef } from "@atscript/ui";
4
4
  import { SelectionMode } from "@atscript/ui-table";
@@ -60,23 +60,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
60
60
  'query-loading'?: (props: typeof __VLS_24) => any;
61
61
  };
62
62
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
63
- "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
64
63
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
65
64
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
65
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
68
67
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
68
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
70
70
  }>, {
71
- select: SelectionMode;
71
+ stickyHeader: boolean;
72
+ virtualOverscan: number;
72
73
  reorderable: boolean;
73
74
  resizable: boolean;
74
75
  columnMinWidth: number;
76
+ select: SelectionMode;
75
77
  rowDelete: boolean | RowDeleteOpt;
76
- headless: boolean;
77
- stickyHeader: boolean;
78
- virtualOverscan: number;
79
78
  rowActionsColumn: "first" | "last" | "merge-select" | false;
79
+ headless: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
82
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { f as RowDeleteOpt, n as ColumnMenuConfig } from "./types-iSundY5p.mjs";
1
+ import { f as RowDeleteOpt, n as ColumnMenuConfig } from "./types-ByU4O0Yf.mjs";
2
2
  import { ColumnDef } from "@atscript/ui";
3
3
  import * as vue from "vue";
4
4
  import { SelectionMode } from "@atscript/ui-table";
@@ -60,23 +60,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
60
60
  'query-loading'?: (props: typeof __VLS_24) => any;
61
61
  };
62
62
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
63
- "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
64
63
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
65
64
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
65
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
68
67
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
68
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
70
70
  }>, {
71
- select: SelectionMode;
71
+ stickyHeader: boolean;
72
+ virtualOverscan: number;
72
73
  reorderable: boolean;
73
74
  resizable: boolean;
74
75
  columnMinWidth: number;
76
+ select: SelectionMode;
75
77
  rowDelete: boolean | RowDeleteOpt;
76
- headless: boolean;
77
- stickyHeader: boolean;
78
- virtualOverscan: number;
79
78
  rowActionsColumn: "first" | "last" | "merge-select" | false;
79
+ headless: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
82
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,8 @@
1
- import { a as useTableContext, i as useRegisterMainActionListener } from "./use-table-state-kxv6_Biy.mjs";
1
+ import { a as useTableContext, i as useRegisterMainActionListener } from "./use-table-state-Dju5bxt8.mjs";
2
2
  import { t as useSelectModeReset } from "./use-table-selection-C84z4OZy.mjs";
3
3
  import { t as useHasEmitListener } from "./use-has-emit-listener-BTMDIv2e.mjs";
4
4
  import { t as getCellValue } from "./get-cell-value-C8LLc_Rr.mjs";
5
- import { a as useCellComponents, i as useRafBatch, n as as_table_header_default, o as useCellResolver, r as as_table_colgroup_default, t as as_table_status_default } from "./as-table-status-d3iUSOoH.mjs";
5
+ import { a as useCellComponents, i as useRafBatch, n as as_table_header_default, o as useCellResolver, r as as_table_colgroup_default, t as as_table_status_default } from "./as-table-status-Dy3rA0T-.mjs";
6
6
  import { t as useTableColumnHandlers } from "./use-table-column-handlers-CpiiIniD.mjs";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, unref, useSlots, watch, withCtx, withModifiers } from "vue";
8
8
  import { DEFAULT_ROW_HEIGHT_PX, clampTopIndex, filledFilterCount } from "@atscript/ui-table";
@@ -1,8 +1,8 @@
1
- const require_use_table_state = require("./use-table-state-CI8i5m7s.cjs");
1
+ const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
2
2
  const require_use_table_selection = require("./use-table-selection-Cmiu1h4S.cjs");
3
3
  const require_use_has_emit_listener = require("./use-has-emit-listener-hhOH8CBI.cjs");
4
4
  const require_get_cell_value = require("./get-cell-value-4rHKP-TG.cjs");
5
- const require_as_table_status = require("./as-table-status-f4QmdAZ0.cjs");
5
+ const require_as_table_status = require("./as-table-status-2eUIHBmk.cjs");
6
6
  const require_use_table_column_handlers = require("./use-table-column-handlers-ehreEzcx.cjs");
7
7
  let vue = require("vue");
8
8
  let _atscript_ui_table = require("@atscript/ui-table");
@@ -1,2 +1,2 @@
1
- const require_as_window_table = require("./as-window-table-BzyV1iDL.cjs");
1
+ const require_as_window_table = require("./as-window-table-iwpsLq0K.cjs");
2
2
  module.exports = require_as_window_table.as_window_table_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-DU6UdjA3.cjs";
1
+ import { t as _default } from "./as-window-table.vue-BavmqDeH.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-DQPjWA3T.mjs";
1
+ import { t as _default } from "./as-window-table.vue-BpvgmsC1.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_window_table_default } from "./as-window-table-C3o72zaM.mjs";
1
+ import { t as as_window_table_default } from "./as-window-table-B9k_nv4c.mjs";
2
2
  export { as_window_table_default as default };
@@ -1,4 +1,4 @@
1
- import { a as EnterAction, f as RowDeleteOpt, n as ColumnMenuConfig, u as QueryErrorKind } from "./types-DAgdkjji.cjs";
1
+ import { a as EnterAction, f as RowDeleteOpt, n as ColumnMenuConfig, u as QueryErrorKind } from "./types-CTMxE_zA.cjs";
2
2
  import * as vue from "vue";
3
3
  import { SelectionMode } from "@atscript/ui-table";
4
4
 
@@ -64,24 +64,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
64
64
  'query-loading'?: (props: typeof __VLS_16) => any;
65
65
  };
66
66
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
67
- "main-action": (row: Row, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
68
67
  "row-click": (row: Row, event: MouseEvent) => any;
69
68
  "row-dblclick": (row: Row, event: MouseEvent) => any;
69
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
70
70
  error: (error: Error, kind: QueryErrorKind) => any;
71
71
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
72
- "onMain-action"?: ((row: Row, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
73
72
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
73
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
75
75
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
76
76
  }>, {
77
- select: SelectionMode;
78
- rowHeight: number;
79
- wheelRowsPerTick: number;
80
77
  reorderable: boolean;
81
78
  resizable: boolean;
82
79
  columnMinWidth: number;
80
+ select: SelectionMode;
83
81
  rowDelete: boolean | RowDeleteOpt;
84
82
  headless: boolean;
83
+ rowHeight: number;
84
+ wheelRowsPerTick: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
87
87
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { a as EnterAction, f as RowDeleteOpt, n as ColumnMenuConfig, u as QueryErrorKind } from "./types-iSundY5p.mjs";
1
+ import { a as EnterAction, f as RowDeleteOpt, n as ColumnMenuConfig, u as QueryErrorKind } from "./types-ByU4O0Yf.mjs";
2
2
  import * as vue from "vue";
3
3
  import { SelectionMode } from "@atscript/ui-table";
4
4
 
@@ -64,24 +64,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
64
64
  'query-loading'?: (props: typeof __VLS_16) => any;
65
65
  };
66
66
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
67
- "main-action": (row: Row, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
68
67
  "row-click": (row: Row, event: MouseEvent) => any;
69
68
  "row-dblclick": (row: Row, event: MouseEvent) => any;
69
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
70
70
  error: (error: Error, kind: QueryErrorKind) => any;
71
71
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
72
- "onMain-action"?: ((row: Row, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
73
72
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
73
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
75
75
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
76
76
  }>, {
77
- select: SelectionMode;
78
- rowHeight: number;
79
- wheelRowsPerTick: number;
80
77
  reorderable: boolean;
81
78
  resizable: boolean;
82
79
  columnMinWidth: number;
80
+ select: SelectionMode;
83
81
  rowDelete: boolean | RowDeleteOpt;
84
82
  headless: boolean;
83
+ rowHeight: number;
84
+ wheelRowsPerTick: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
87
87
  declare const _default: typeof __VLS_export;