@atscript/vue-table 0.1.140 → 0.1.141

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 (109) 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-KNJr1EkO.mjs → as-action-menu-content-6dR5q8bs.mjs} +1 -1
  4. package/dist/{as-action-menu-content-B5RFt7Hc.cjs → as-action-menu-content-AKbIp4Ni.cjs} +1 -1
  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-DKQNY5gh.d.cts → as-column-menu.vue-DapdB_qF.d.cts} +1 -1
  8. package/dist/{as-column-menu.vue-hOmuVcKf.d.mts → as-column-menu.vue-Ys_sx0VE.d.mts} +1 -1
  9. package/dist/{as-config-dialog-B1KJJSHE.cjs → as-config-dialog-Chpw_2tu.cjs} +2 -2
  10. package/dist/{as-config-dialog-JXNkCCrh.mjs → as-config-dialog-UeMU7jTP.mjs} +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-CC6U8nLZ.mjs → as-confirm-dialog-SIqCOw2p.mjs} +1 -1
  14. package/dist/{as-confirm-dialog-a736BLOm.cjs → as-confirm-dialog-hHYVEX9E.cjs} +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-C3wltqrN.mjs → as-filter-dialog-DVRhCx6O.mjs} +7 -7
  18. package/dist/{as-filter-dialog-IflKkOd8.cjs → as-filter-dialog-Xvj5q09A.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-pygBjA-K.cjs → as-filter-field-B7b2sEG0.cjs} +3 -3
  22. package/dist/{as-filter-field-D_6DlFcp.mjs → as-filter-field-D4vQCOEU.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-BIoEsPD0.cjs → as-filters-CWQgQBCH.cjs} +4 -4
  26. package/dist/{as-filters-BDzQ2SM_.mjs → as-filters-CudeInPr.mjs} +4 -4
  27. package/dist/as-filters.cjs +1 -1
  28. package/dist/as-filters.mjs +1 -1
  29. package/dist/{as-preset-dialog-D_w4cxKS.mjs → as-preset-dialog-BsWSuY9N.mjs} +1 -1
  30. package/dist/{as-preset-dialog-BgZB8xyk.cjs → as-preset-dialog-l81WXBmf.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-B8d6l3U1.mjs → as-preset-picker-BTkMqSxH.mjs} +27 -21
  34. package/dist/{as-preset-picker-XnGrqHyF.cjs → as-preset-picker-Bp4xMTua.cjs} +27 -21
  35. package/dist/as-preset-picker.cjs +1 -1
  36. package/dist/as-preset-picker.mjs +1 -1
  37. package/dist/{as-residual-filter-ihvXCtpH.cjs → as-residual-filter-BJ4cwFP4.cjs} +1 -1
  38. package/dist/{as-residual-filter-C65QsWxr.mjs → as-residual-filter-D1SGFQ1p.mjs} +1 -1
  39. package/dist/as-residual-filter.cjs +1 -1
  40. package/dist/as-residual-filter.mjs +1 -1
  41. package/dist/{as-row-actions-C6N0lcZb.cjs → as-row-actions-9p_BJPga.cjs} +2 -2
  42. package/dist/{as-row-actions-xQ9M1PrO.mjs → as-row-actions-CH8WZ5kN.mjs} +2 -2
  43. package/dist/as-row-actions.cjs +1 -1
  44. package/dist/as-row-actions.d.cts +1 -1
  45. package/dist/as-row-actions.d.mts +1 -1
  46. package/dist/as-row-actions.mjs +1 -1
  47. package/dist/{as-row-actions.vue-C8vslg0n.d.mts → as-row-actions.vue-BOURuyjv.d.mts} +1 -1
  48. package/dist/{as-row-actions.vue-B3XAxDAL.d.cts → as-row-actions.vue-BezMFOr6.d.cts} +1 -1
  49. package/dist/{as-table-B49x0hDM.mjs → as-table-DmmXWq94.mjs} +3 -3
  50. package/dist/{as-table-actions-B2Hy3h7v.mjs → as-table-actions-CFBAxKIS.mjs} +2 -2
  51. package/dist/{as-table-actions-B-jY3s6f.cjs → as-table-actions-oxVqSH-G.cjs} +2 -2
  52. package/dist/as-table-actions.cjs +1 -1
  53. package/dist/as-table-actions.d.cts +1 -1
  54. package/dist/as-table-actions.d.mts +1 -1
  55. package/dist/as-table-actions.mjs +1 -1
  56. package/dist/{as-table-actions.vue-BgTJuXEH.d.cts → as-table-actions.vue-CrZtcxAY.d.mts} +2 -2
  57. package/dist/{as-table-actions.vue-BnLH2NqO.d.mts → as-table-actions.vue-Dls_1Vze.d.cts} +2 -2
  58. package/dist/{as-table-base-ceywcVRq.cjs → as-table-base--MfU8LVN.cjs} +2 -2
  59. package/dist/{as-table-base-DErJfFYz.mjs → as-table-base-Cl1XJu4H.mjs} +2 -2
  60. package/dist/{as-table-ouPxssqv.cjs → as-table-fOBpTDrI.cjs} +3 -3
  61. package/dist/{as-table-header-cell-ZCk3XD_d.cjs → as-table-header-cell-10DQEs00.cjs} +1 -1
  62. package/dist/{as-table-header-cell-Ccf06b2_.mjs → as-table-header-cell-M8g9X9dR.mjs} +1 -1
  63. package/dist/as-table-header-cell.cjs +1 -1
  64. package/dist/as-table-header-cell.d.cts +1 -1
  65. package/dist/as-table-header-cell.d.mts +1 -1
  66. package/dist/as-table-header-cell.mjs +1 -1
  67. package/dist/{as-table-header-cell.vue-C7jNmdDh.d.mts → as-table-header-cell.vue-D-iI_EJY.d.cts} +2 -2
  68. package/dist/{as-table-header-cell.vue-DkClJBAT.d.cts → as-table-header-cell.vue-SMBpzqU2.d.mts} +2 -2
  69. package/dist/{as-table-root-CG7bLzcQ.mjs → as-table-root-Bl423S7X.mjs} +8 -5
  70. package/dist/{as-table-root-_58hdHAi.cjs → as-table-root-CGXKfCIk.cjs} +8 -5
  71. package/dist/as-table-root.cjs +1 -1
  72. package/dist/as-table-root.d.cts +1 -1
  73. package/dist/as-table-root.d.mts +1 -1
  74. package/dist/as-table-root.mjs +1 -1
  75. package/dist/{as-table-root.vue-DpPRMy3v.d.mts → as-table-root.vue-BROdsTqv.d.mts} +34 -8
  76. package/dist/{as-table-root.vue-D8hH1xGK.d.cts → as-table-root.vue-D5H8uXFK.d.cts} +34 -8
  77. package/dist/{as-table-status-2rA91OFT.mjs → as-table-status-Bl9XmWqc.mjs} +4 -4
  78. package/dist/{as-table-status-UWTPJJUL.cjs → as-table-status-bbuFDaaK.cjs} +4 -4
  79. package/dist/as-table.cjs +1 -1
  80. package/dist/as-table.d.cts +1 -1
  81. package/dist/as-table.d.mts +1 -1
  82. package/dist/as-table.mjs +1 -1
  83. package/dist/{as-table.vue-CudFoZTF.d.mts → as-table.vue-B533pYs6.d.cts} +7 -7
  84. package/dist/{as-table.vue-Bv6sKnL5.d.cts → as-table.vue-B_7Y82yW.d.mts} +7 -7
  85. package/dist/{as-window-table-KyS6YUpa.mjs → as-window-table-CkTJOvu9.mjs} +3 -3
  86. package/dist/{as-window-table-C9YtzepV.cjs → as-window-table-Dpbezh9D.cjs} +3 -3
  87. package/dist/as-window-table.cjs +1 -1
  88. package/dist/as-window-table.d.cts +1 -1
  89. package/dist/as-window-table.d.mts +1 -1
  90. package/dist/as-window-table.mjs +1 -1
  91. package/dist/{as-window-table.vue-COVl3die.d.mts → as-window-table.vue-Bar8mWRL.d.cts} +6 -6
  92. package/dist/{as-window-table.vue-CRWdhOgC.d.cts → as-window-table.vue-OL4KC7Y-.d.mts} +6 -6
  93. package/dist/index.cjs +18 -18
  94. package/dist/index.d.cts +9 -9
  95. package/dist/index.d.mts +9 -9
  96. package/dist/index.mjs +18 -18
  97. package/dist/{types-D7qVxU_y.d.mts → types-Cdk5OH1-.d.cts} +42 -5
  98. package/dist/{types-BCixOa8x.d.cts → types-Ev-A5h_D.d.mts} +42 -5
  99. package/dist/{use-table-2xPxoNRX.mjs → use-table-BG3IZyCO.mjs} +3 -2
  100. package/dist/{use-table-column-handlers-rqFo9HLz.cjs → use-table-column-handlers-CWHRcQbE.cjs} +1 -1
  101. package/dist/{use-table-column-handlers-p_xK-l0e.mjs → use-table-column-handlers-CaT7dYnI.mjs} +1 -1
  102. package/dist/{use-table-component-BYO0zMQj.mjs → use-table-component-OTdgA202.mjs} +1 -1
  103. package/dist/{use-table-component-XQ-Qt_sp.cjs → use-table-component-Tc_ZvZua.cjs} +1 -1
  104. package/dist/{use-table-nav-bridge-BDBnRc4C.mjs → use-table-nav-bridge-BNjwR3qy.mjs} +1 -1
  105. package/dist/{use-table-nav-bridge-DvrsPanF.cjs → use-table-nav-bridge-ByQo00IH.cjs} +1 -1
  106. package/dist/{use-table-B45WZLwg.cjs → use-table-rc6_sYU6.cjs} +3 -2
  107. package/dist/{use-table-state-BzjbnpBA.mjs → use-table-state-BgLIOO31.mjs} +161 -20
  108. package/dist/{use-table-state-pF_9gnTG.cjs → use-table-state-CgXY-ruN.cjs} +165 -18
  109. package/package.json +4 -4
@@ -1,8 +1,8 @@
1
- import { a as useTableContext, i as useRegisterMainActionListener } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { a as useTableContext, i as useRegisterMainActionListener } from "./use-table-state-BgLIOO31.mjs";
2
2
  import { t as useSelectModeReset } from "./use-table-selection-ULbKT2xW.mjs";
3
3
  import { t as useHasEmitListener } from "./use-has-emit-listener-DrBbsLHQ.mjs";
4
- import { n as useRowActionsColumn, t as useTableColumnHandlers } from "./use-table-column-handlers-p_xK-l0e.mjs";
5
- import { t as as_table_base_default } from "./as-table-base-DErJfFYz.mjs";
4
+ import { n as useRowActionsColumn, t as useTableColumnHandlers } from "./use-table-column-handlers-CaT7dYnI.mjs";
5
+ import { t as as_table_base_default } from "./as-table-base-Cl1XJu4H.mjs";
6
6
  import { computed, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderList, renderSlot, unref, watch, withCtx } from "vue";
7
7
  //#region src/components/as-table.vue?vue&type=script&setup=true&lang.ts
8
8
  const _hoisted_1 = { class: "as-table-outer-wrap" };
@@ -1,5 +1,5 @@
1
- import { E as triggerAction, S as intentClass, _ as applyRowsGate, a as useTableContext, b as createNavigateGestures, g as applyRowGate, h as rowActionHref, v as ariaLabelFor, y as collectIdentifiers } from "./use-table-state-BzjbnpBA.mjs";
2
- import { t as as_action_menu_content_default } from "./as-action-menu-content-KNJr1EkO.mjs";
1
+ import { C as intentClass, D as triggerAction, _ as applyRowGate, a as useTableContext, b as collectIdentifiers, g as rowActionHref, v as applyRowsGate, x as createNavigateGestures, y as ariaLabelFor } from "./use-table-state-BgLIOO31.mjs";
2
+ import { t as as_action_menu_content_default } from "./as-action-menu-content-6dR5q8bs.mjs";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, normalizeClass, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
4
4
  import { DropdownMenuPortal, DropdownMenuRoot, DropdownMenuTrigger } from "reka-ui";
5
5
  //#region src/components/as-table-actions.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
2
- const require_as_action_menu_content = require("./as-action-menu-content-B5RFt7Hc.cjs");
1
+ const require_use_table_state = require("./use-table-state-CgXY-ruN.cjs");
2
+ const require_as_action_menu_content = require("./as-action-menu-content-AKbIp4Ni.cjs");
3
3
  let vue = require("vue");
4
4
  let reka_ui = require("reka-ui");
5
5
  //#region src/components/as-table-actions.vue?vue&type=script&setup=true&lang.ts
@@ -1,2 +1,2 @@
1
- const require_as_table_actions = require("./as-table-actions-B-jY3s6f.cjs");
1
+ const require_as_table_actions = require("./as-table-actions-oxVqSH-G.cjs");
2
2
  module.exports = require_as_table_actions.as_table_actions_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-actions.vue-BgTJuXEH.cjs";
1
+ import { t as _default } from "./as-table-actions.vue-Dls_1Vze.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-actions.vue-BnLH2NqO.mjs";
1
+ import { t as _default } from "./as-table-actions.vue-CrZtcxAY.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_table_actions_default } from "./as-table-actions-B2Hy3h7v.mjs";
1
+ import { t as as_table_actions_default } from "./as-table-actions-CFBAxKIS.mjs";
2
2
  export { as_table_actions_default as default };
@@ -1,4 +1,4 @@
1
- import { w as TVueTableActionInfo } from "./types-BCixOa8x.cjs";
1
+ import { T as TVueTableActionInfo } from "./types-Ev-A5h_D.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/as-table-actions.vue.d.ts
@@ -18,7 +18,7 @@ declare var __VLS_1: {
18
18
  defaultAction: TVueTableActionInfo | undefined;
19
19
  otherActions: TVueTableActionInfo[];
20
20
  trailingRowActions: TVueTableActionInfo[];
21
- level: "row" | "rows" | "table";
21
+ level: "rows" | "table" | "row";
22
22
  ids: Record<string, unknown>[];
23
23
  invoke: typeof invokeWith;
24
24
  }, __VLS_12: {
@@ -1,4 +1,4 @@
1
- import { w as TVueTableActionInfo } from "./types-D7qVxU_y.mjs";
1
+ import { T as TVueTableActionInfo } from "./types-Cdk5OH1-.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/as-table-actions.vue.d.ts
@@ -18,7 +18,7 @@ declare var __VLS_1: {
18
18
  defaultAction: TVueTableActionInfo | undefined;
19
19
  otherActions: TVueTableActionInfo[];
20
20
  trailingRowActions: TVueTableActionInfo[];
21
- level: "row" | "rows" | "table";
21
+ level: "rows" | "table" | "row";
22
22
  ids: Record<string, unknown>[];
23
23
  invoke: typeof invokeWith;
24
24
  }, __VLS_12: {
@@ -1,6 +1,6 @@
1
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
1
+ const require_use_table_state = require("./use-table-state-CgXY-ruN.cjs");
2
2
  const require_get_cell_value = require("./get-cell-value-CJT4fk4y.cjs");
3
- const require_as_table_status = require("./as-table-status-UWTPJJUL.cjs");
3
+ const require_as_table_status = require("./as-table-status-bbuFDaaK.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 { m as onSelectControlKeydown, o as useTableContextOptional } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { h as onSelectControlKeydown, o as useTableContextOptional } from "./use-table-state-BgLIOO31.mjs";
2
2
  import { t as getCellValue } from "./get-cell-value-Cb3X8nUn.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-2rA91OFT.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-Bl9XmWqc.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,8 +1,8 @@
1
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
1
+ const require_use_table_state = require("./use-table-state-CgXY-ruN.cjs");
2
2
  const require_use_table_selection = require("./use-table-selection-DtCV3rhu.cjs");
3
3
  const require_use_has_emit_listener = require("./use-has-emit-listener-BaGFZDyM.cjs");
4
- const require_use_table_column_handlers = require("./use-table-column-handlers-rqFo9HLz.cjs");
5
- const require_as_table_base = require("./as-table-base-ceywcVRq.cjs");
4
+ const require_use_table_column_handlers = require("./use-table-column-handlers-CWHRcQbE.cjs");
5
+ const require_as_table_base = require("./as-table-base--MfU8LVN.cjs");
6
6
  let vue = require("vue");
7
7
  //#region src/components/as-table.vue?vue&type=script&setup=true&lang.ts
8
8
  const _hoisted_1 = { class: "as-table-outer-wrap" };
@@ -1,4 +1,4 @@
1
- const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
1
+ const require_use_table_component = require("./use-table-component-Tc_ZvZua.cjs");
2
2
  const require_as_column_menu = require("./as-column-menu-ChB7hzmr.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-BYO0zMQj.mjs";
1
+ import { t as useTableComponent } from "./use-table-component-OTdgA202.mjs";
2
2
  import { t as as_column_menu_default } from "./as-column-menu-CBtUfYEE.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-ZCk3XD_d.cjs");
1
+ const require_as_table_header_cell = require("./as-table-header-cell-10DQEs00.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-DkClJBAT.cjs";
1
+ import { t as _default } from "./as-table-header-cell.vue-D-iI_EJY.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-header-cell.vue-C7jNmdDh.mjs";
1
+ import { t as _default } from "./as-table-header-cell.vue-SMBpzqU2.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-Ccf06b2_.mjs";
1
+ import { t as as_table_header_cell_default } from "./as-table-header-cell-M8g9X9dR.mjs";
2
2
  export { as_table_header_cell_default as default };
@@ -1,6 +1,6 @@
1
- import { r as ColumnMenuConfig } from "./types-D7qVxU_y.mjs";
2
- import { ColumnDef } from "@atscript/ui";
1
+ import { r as ColumnMenuConfig } from "./types-Cdk5OH1-.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,6 +1,6 @@
1
- import { r as ColumnMenuConfig } from "./types-BCixOa8x.cjs";
2
- import * as vue from "vue";
1
+ import { r as ColumnMenuConfig } from "./types-Ev-A5h_D.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,8 +1,8 @@
1
- import { i as useRegisterMainActionListener, s as warnUnsupportedFilter, t as createStaticTableState } from "./use-table-state-BzjbnpBA.mjs";
2
- import { n as finalizeTableState, r as useTable } from "./use-table-2xPxoNRX.mjs";
3
- import { t as useTableNavBridge } from "./use-table-nav-bridge-BDBnRc4C.mjs";
1
+ import { c as warnUnsupportedFilter, i as useRegisterMainActionListener, s as warnFieldsDropped, t as createStaticTableState } from "./use-table-state-BgLIOO31.mjs";
2
+ import { n as finalizeTableState, r as useTable } from "./use-table-BG3IZyCO.mjs";
3
+ import { t as useTableNavBridge } from "./use-table-nav-bridge-BNjwR3qy.mjs";
4
4
  import { t as useHasEmitListener } from "./use-has-emit-listener-DrBbsLHQ.mjs";
5
- import { t as as_confirm_dialog_default } from "./as-confirm-dialog-CC6U8nLZ.mjs";
5
+ import { t as as_confirm_dialog_default } from "./as-confirm-dialog-SIqCOw2p.mjs";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineAsyncComponent, defineComponent, mergeModels, openBlock, ref, renderSlot, resolveDynamicComponent, unref, useModel, watch } from "vue";
7
7
  import { DEV } from "@atscript/ui-table";
8
8
  //#endregion
@@ -166,7 +166,8 @@ var as_table_root_default = /* @__PURE__ */ defineComponent({
166
166
  emits: /* @__PURE__ */ mergeModels([
167
167
  "main-action",
168
168
  "action",
169
- "unsupported-filter"
169
+ "unsupported-filter",
170
+ "fields-dropped"
170
171
  ], [
171
172
  "update:filterFields",
172
173
  "update:columnNames",
@@ -259,6 +260,7 @@ var as_table_root_default = /* @__PURE__ */ defineComponent({
259
260
  return localState;
260
261
  }
261
262
  const hasUnsupportedFilterListener = useHasEmitListener("onUnsupportedFilter");
263
+ const hasFieldsDroppedListener = useHasEmitListener("onFieldsDropped");
262
264
  const state = localMode ? createLocalState() : useTable(props.url, {
263
265
  limit: props.limit,
264
266
  rowValueFn: props.rowValueFn,
@@ -292,6 +294,7 @@ var as_table_root_default = /* @__PURE__ */ defineComponent({
292
294
  onUrlQueryChange: urlQueryActive ? (s) => urlQuery.value = s : void 0,
293
295
  urlQuerySync: props.urlQuerySync,
294
296
  onUnsupportedFilter: (issue) => hasUnsupportedFilterListener.value ? emit("unsupported-filter", issue) : warnUnsupportedFilter(issue),
297
+ onFieldsDropped: (report) => hasFieldsDroppedListener.value ? emit("fields-dropped", report) : warnFieldsDropped(report),
295
298
  preset: props.preset,
296
299
  displayColumns: props.displayColumns
297
300
  });
@@ -1,8 +1,8 @@
1
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
2
- const require_use_table = require("./use-table-B45WZLwg.cjs");
3
- const require_use_table_nav_bridge = require("./use-table-nav-bridge-DvrsPanF.cjs");
1
+ const require_use_table_state = require("./use-table-state-CgXY-ruN.cjs");
2
+ const require_use_table = require("./use-table-rc6_sYU6.cjs");
3
+ const require_use_table_nav_bridge = require("./use-table-nav-bridge-ByQo00IH.cjs");
4
4
  const require_use_has_emit_listener = require("./use-has-emit-listener-BaGFZDyM.cjs");
5
- const require_as_confirm_dialog = require("./as-confirm-dialog-a736BLOm.cjs");
5
+ const require_as_confirm_dialog = require("./as-confirm-dialog-hHYVEX9E.cjs");
6
6
  let vue = require("vue");
7
7
  let _atscript_ui_table = require("@atscript/ui-table");
8
8
  //#endregion
@@ -166,7 +166,8 @@ var as_table_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
166
166
  emits: /* @__PURE__ */ (0, vue.mergeModels)([
167
167
  "main-action",
168
168
  "action",
169
- "unsupported-filter"
169
+ "unsupported-filter",
170
+ "fields-dropped"
170
171
  ], [
171
172
  "update:filterFields",
172
173
  "update:columnNames",
@@ -259,6 +260,7 @@ var as_table_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
259
260
  return localState;
260
261
  }
261
262
  const hasUnsupportedFilterListener = require_use_has_emit_listener.useHasEmitListener("onUnsupportedFilter");
263
+ const hasFieldsDroppedListener = require_use_has_emit_listener.useHasEmitListener("onFieldsDropped");
262
264
  const state = localMode ? createLocalState() : require_use_table.useTable(props.url, {
263
265
  limit: props.limit,
264
266
  rowValueFn: props.rowValueFn,
@@ -292,6 +294,7 @@ var as_table_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
292
294
  onUrlQueryChange: urlQueryActive ? (s) => urlQuery.value = s : void 0,
293
295
  urlQuerySync: props.urlQuerySync,
294
296
  onUnsupportedFilter: (issue) => hasUnsupportedFilterListener.value ? emit("unsupported-filter", issue) : require_use_table_state.warnUnsupportedFilter(issue),
297
+ onFieldsDropped: (report) => hasFieldsDroppedListener.value ? emit("fields-dropped", report) : require_use_table_state.warnFieldsDropped(report),
295
298
  preset: props.preset,
296
299
  displayColumns: props.displayColumns
297
300
  });
@@ -1,2 +1,2 @@
1
- const require_as_table_root = require("./as-table-root-_58hdHAi.cjs");
1
+ const require_as_table_root = require("./as-table-root-CGXKfCIk.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-D8hH1xGK.cjs";
1
+ import { t as _default } from "./as-table-root.vue-D5H8uXFK.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-DpPRMy3v.mjs";
1
+ import { t as _default } from "./as-table-root.vue-BROdsTqv.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_table_root_default } from "./as-table-root-CG7bLzcQ.mjs";
1
+ import { t as as_table_root_default } from "./as-table-root-Bl423S7X.mjs";
2
2
  export { as_table_root_default as default };
@@ -1,4 +1,4 @@
1
- import { C as TAsTableControls, E as TableNavBridge, S as TAsCellTypeComponents, T as TableActionsState, a as ConfirmOptions, d as PresetConfig, h as RowActionsConfig, p as ReactiveTableState, t as ActionResult, u as NavKeyOptions, w as TVueTableActionInfo } from "./types-D7qVxU_y.mjs";
1
+ import { C as TAsCellTypeComponents, D as TableNavBridge, E as TableActionsState, T as TVueTableActionInfo, a as ConfirmOptions, d as NavKeyOptions, f as PresetConfig, g as RowActionsConfig, m as ReactiveTableState, o as DroppedFieldsReport, t as ActionResult, w as TAsTableControls } from "./types-Ev-A5h_D.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";
@@ -227,9 +227,13 @@ type TableSelectionOptions = SelectionApiOptions;
227
227
  interface TableQueryOptions {
228
228
  /** Override the default query function. */
229
229
  fn?: QueryFn;
230
- /** Always-applied Uniquery filter expression (AND'd with user filters). */
230
+ /**
231
+ * Always-applied Uniquery filter expression (AND'd with user filters).
232
+ * App-authored, so never pruned of fields the caller cannot see — keep it
233
+ * to fields every role reads, or the query is rejected.
234
+ */
231
235
  forceFilters?: FilterExpr;
232
- /** Always-applied sorters (prepended before user sorters). */
236
+ /** Always-applied sorters (prepended before user sorters). Never pruned, like `forceFilters`. */
233
237
  forceSorters?: SortControl[];
234
238
  /**
235
239
  * Leaf field paths always added to `$select` (deduped, gated by available
@@ -290,6 +294,16 @@ interface TableQueryOptions {
290
294
  * `urlQuerySync.residual` is not `false`); only the rest are reported.
291
295
  */
292
296
  onUnsupportedFilter?: (issue: UnsupportedFilter) => void;
297
+ /**
298
+ * Receives what the table left out because it names a field outside the
299
+ * columns this caller can use — a column hidden from their role, or gone
300
+ * from the schema. Presets (with the local draft) and restored URLs are
301
+ * pruned instead of failing the query; one report per apply, only when
302
+ * something was dropped. Anything else the query leaves out without a
303
+ * report. When omitted, each report is a dev-mode `console.warn`.
304
+ * Since 0.1.141.
305
+ */
306
+ onFieldsDropped?: (report: DroppedFieldsReport) => void;
293
307
  }
294
308
  interface TableWindowOptions {
295
309
  /** Page-alignment unit for `loadRange` and the `queryNext` extension. */
@@ -561,6 +575,11 @@ interface UseTableOptions {
561
575
  * Since 0.1.139.
562
576
  */
563
577
  onUnsupportedFilter?: (issue: UnsupportedFilter) => void;
578
+ /**
579
+ * Receives what the table left out because it names a field this caller
580
+ * cannot use — see `TableQueryOptions.onFieldsDropped`. Since 0.1.141.
581
+ */
582
+ onFieldsDropped?: (report: DroppedFieldsReport) => void;
564
583
  /**
565
584
  * Preset feature config — opt-in. Omit to disable presets entirely
566
585
  * (`<AsPresetPicker>` / `<AsPresetDialog>` render nothing). When set,
@@ -2421,7 +2440,12 @@ type __VLS_Props = {
2421
2440
  formTypes?: TAsTypeComponents; /** Named form-component overrides for the action-form dialog. */
2422
2441
  formComponents?: Record<string, Component$1>;
2423
2442
  limit?: number;
2424
- forceFilters?: FilterExpr;
2443
+ /**
2444
+ * Always-applied filter. App-authored: unlike presets and URLs it is
2445
+ * never pruned of fields the caller cannot see — keep it to fields every
2446
+ * role reads.
2447
+ */
2448
+ forceFilters?: FilterExpr; /** Always-applied sorters. Never pruned, like `forceFilters`. */
2425
2449
  forceSorters?: SortControl[];
2426
2450
  /**
2427
2451
  * Leaf field paths always added to `$select` (deduped, gated by available
@@ -2547,12 +2571,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2547
2571
  "update:selectedRows": (value: unknown[]) => any;
2548
2572
  "update:urlQuery": (value: string | undefined) => any;
2549
2573
  } & {
2550
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
2551
2574
  "unsupported-filter": (issue: UnsupportedFilter) => any;
2552
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
2575
+ "fields-dropped": (report: DroppedFieldsReport) => any;
2576
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any;
2577
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2553
2578
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2554
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
2555
2579
  "onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
2580
+ "onFields-dropped"?: ((report: DroppedFieldsReport) => any) | undefined;
2556
2581
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2557
2582
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2558
2583
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
@@ -2560,7 +2585,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2560
2585
  "onUpdate:ignoreSortersWhenSearched"?: ((value: boolean) => any) | undefined;
2561
2586
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
2562
2587
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
2563
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
2588
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2589
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2564
2590
  }>, {
2565
2591
  localSort: boolean;
2566
2592
  queryOnMount: boolean;
@@ -1,4 +1,4 @@
1
- import { C as TAsTableControls, E as TableNavBridge, S as TAsCellTypeComponents, T as TableActionsState, a as ConfirmOptions, d as PresetConfig, h as RowActionsConfig, p as ReactiveTableState, t as ActionResult, u as NavKeyOptions, w as TVueTableActionInfo } from "./types-BCixOa8x.cjs";
1
+ import { C as TAsCellTypeComponents, D as TableNavBridge, E as TableActionsState, T as TVueTableActionInfo, a as ConfirmOptions, d as NavKeyOptions, f as PresetConfig, g as RowActionsConfig, m as ReactiveTableState, o as DroppedFieldsReport, t as ActionResult, w as TAsTableControls } from "./types-Cdk5OH1-.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 } from "@atscript/db-client";
@@ -227,9 +227,13 @@ type TableSelectionOptions = SelectionApiOptions;
227
227
  interface TableQueryOptions {
228
228
  /** Override the default query function. */
229
229
  fn?: QueryFn;
230
- /** Always-applied Uniquery filter expression (AND'd with user filters). */
230
+ /**
231
+ * Always-applied Uniquery filter expression (AND'd with user filters).
232
+ * App-authored, so never pruned of fields the caller cannot see — keep it
233
+ * to fields every role reads, or the query is rejected.
234
+ */
231
235
  forceFilters?: FilterExpr;
232
- /** Always-applied sorters (prepended before user sorters). */
236
+ /** Always-applied sorters (prepended before user sorters). Never pruned, like `forceFilters`. */
233
237
  forceSorters?: SortControl[];
234
238
  /**
235
239
  * Leaf field paths always added to `$select` (deduped, gated by available
@@ -290,6 +294,16 @@ interface TableQueryOptions {
290
294
  * `urlQuerySync.residual` is not `false`); only the rest are reported.
291
295
  */
292
296
  onUnsupportedFilter?: (issue: UnsupportedFilter) => void;
297
+ /**
298
+ * Receives what the table left out because it names a field outside the
299
+ * columns this caller can use — a column hidden from their role, or gone
300
+ * from the schema. Presets (with the local draft) and restored URLs are
301
+ * pruned instead of failing the query; one report per apply, only when
302
+ * something was dropped. Anything else the query leaves out without a
303
+ * report. When omitted, each report is a dev-mode `console.warn`.
304
+ * Since 0.1.141.
305
+ */
306
+ onFieldsDropped?: (report: DroppedFieldsReport) => void;
293
307
  }
294
308
  interface TableWindowOptions {
295
309
  /** Page-alignment unit for `loadRange` and the `queryNext` extension. */
@@ -561,6 +575,11 @@ interface UseTableOptions {
561
575
  * Since 0.1.139.
562
576
  */
563
577
  onUnsupportedFilter?: (issue: UnsupportedFilter) => void;
578
+ /**
579
+ * Receives what the table left out because it names a field this caller
580
+ * cannot use — see `TableQueryOptions.onFieldsDropped`. Since 0.1.141.
581
+ */
582
+ onFieldsDropped?: (report: DroppedFieldsReport) => void;
564
583
  /**
565
584
  * Preset feature config — opt-in. Omit to disable presets entirely
566
585
  * (`<AsPresetPicker>` / `<AsPresetDialog>` render nothing). When set,
@@ -2421,7 +2440,12 @@ type __VLS_Props = {
2421
2440
  formTypes?: TAsTypeComponents; /** Named form-component overrides for the action-form dialog. */
2422
2441
  formComponents?: Record<string, Component$1>;
2423
2442
  limit?: number;
2424
- forceFilters?: FilterExpr;
2443
+ /**
2444
+ * Always-applied filter. App-authored: unlike presets and URLs it is
2445
+ * never pruned of fields the caller cannot see — keep it to fields every
2446
+ * role reads.
2447
+ */
2448
+ forceFilters?: FilterExpr; /** Always-applied sorters. Never pruned, like `forceFilters`. */
2425
2449
  forceSorters?: SortControl[];
2426
2450
  /**
2427
2451
  * Leaf field paths always added to `$select` (deduped, gated by available
@@ -2547,12 +2571,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2547
2571
  "update:selectedRows": (value: unknown[]) => any;
2548
2572
  "update:urlQuery": (value: string | undefined) => any;
2549
2573
  } & {
2550
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
2551
2574
  "unsupported-filter": (issue: UnsupportedFilter) => any;
2552
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
2575
+ "fields-dropped": (report: DroppedFieldsReport) => any;
2576
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any;
2577
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2553
2578
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2554
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
2555
2579
  "onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
2580
+ "onFields-dropped"?: ((report: DroppedFieldsReport) => any) | undefined;
2556
2581
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2557
2582
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2558
2583
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
@@ -2560,7 +2585,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2560
2585
  "onUpdate:ignoreSortersWhenSearched"?: ((value: boolean) => any) | undefined;
2561
2586
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
2562
2587
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
2563
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
2588
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2589
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2564
2590
  }>, {
2565
2591
  localSort: boolean;
2566
2592
  queryOnMount: boolean;
@@ -1,7 +1,7 @@
1
- import { o as useTableContextOptional } from "./use-table-state-BzjbnpBA.mjs";
2
- import { t as useTableComponent } from "./use-table-component-BYO0zMQj.mjs";
3
- import { t as as_table_header_cell_default } from "./as-table-header-cell-Ccf06b2_.mjs";
4
- import { t as as_row_actions_default } from "./as-row-actions-xQ9M1PrO.mjs";
1
+ import { o as useTableContextOptional } from "./use-table-state-BgLIOO31.mjs";
2
+ import { t as useTableComponent } from "./use-table-component-OTdgA202.mjs";
3
+ import { t as as_table_header_cell_default } from "./as-table-header-cell-M8g9X9dR.mjs";
4
+ import { t as as_row_actions_default } from "./as-row-actions-CH8WZ5kN.mjs";
5
5
  import { t as as_table_cell_value_default } from "./as-table-cell-value-DoH8Mieo.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";
@@ -1,7 +1,7 @@
1
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
2
- const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
3
- const require_as_table_header_cell = require("./as-table-header-cell-ZCk3XD_d.cjs");
4
- const require_as_row_actions = require("./as-row-actions-C6N0lcZb.cjs");
1
+ const require_use_table_state = require("./use-table-state-CgXY-ruN.cjs");
2
+ const require_use_table_component = require("./use-table-component-Tc_ZvZua.cjs");
3
+ const require_as_table_header_cell = require("./as-table-header-cell-10DQEs00.cjs");
4
+ const require_as_row_actions = require("./as-row-actions-9p_BJPga.cjs");
5
5
  const require_as_table_cell_value = require("./as-table-cell-value-COyZnwUj.cjs");
6
6
  let _atscript_ui = require("@atscript/ui");
7
7
  let vue = require("vue");
package/dist/as-table.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_table = require("./as-table-ouPxssqv.cjs");
1
+ const require_as_table = require("./as-table-fOBpTDrI.cjs");
2
2
  module.exports = require_as_table.as_table_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-Bv6sKnL5.cjs";
1
+ import { t as _default } from "./as-table.vue-B533pYs6.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-CudFoZTF.mjs";
1
+ import { t as _default } from "./as-table.vue-B_7Y82yW.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-B49x0hDM.mjs";
1
+ import { t as as_table_default } from "./as-table-DmmXWq94.mjs";
2
2
  export { as_table_default as default };
@@ -1,6 +1,6 @@
1
- import { _ as RowClassHook, b as RowSelectableHook, g as RowAttrsHook, m as RowActionsColumnPlacement, r as ColumnMenuConfig, v as RowDeleteOpt } from "./types-D7qVxU_y.mjs";
2
- import { ColumnDef } from "@atscript/ui";
1
+ import { _ as RowAttrsHook, h as RowActionsColumnPlacement, r as ColumnMenuConfig, v as RowClassHook, x as RowSelectableHook, y as RowDeleteOpt } from "./types-Cdk5OH1-.cjs";
3
2
  import * as vue from "vue";
3
+ import { ColumnDef } from "@atscript/ui";
4
4
  import { SelectionMode } from "@atscript/ui-table";
5
5
 
6
6
  //#region src/components/as-table.vue.d.ts
@@ -84,23 +84,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
84
84
  'query-loading'?: (props: typeof __VLS_24) => any;
85
85
  };
86
86
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
87
88
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
88
89
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
89
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
90
90
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
91
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
91
92
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
92
93
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
93
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
94
94
  }>, {
95
- stickyHeader: boolean;
96
- virtualOverscan: number;
95
+ select: SelectionMode;
97
96
  reorderable: boolean;
98
97
  resizable: boolean;
99
98
  columnMinWidth: number;
100
- select: SelectionMode;
101
99
  rowDelete: boolean | RowDeleteOpt;
102
100
  rowActionsColumn: RowActionsColumnPlacement | false;
103
101
  headless: boolean;
102
+ stickyHeader: boolean;
103
+ virtualOverscan: number;
104
104
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
105
105
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
106
106
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
- import { _ as RowClassHook, b as RowSelectableHook, g as RowAttrsHook, m as RowActionsColumnPlacement, r as ColumnMenuConfig, v as RowDeleteOpt } from "./types-BCixOa8x.cjs";
2
- import * as vue from "vue";
1
+ import { _ as RowAttrsHook, h as RowActionsColumnPlacement, r as ColumnMenuConfig, v as RowClassHook, x as RowSelectableHook, y as RowDeleteOpt } from "./types-Ev-A5h_D.mjs";
3
2
  import { ColumnDef } from "@atscript/ui";
3
+ import * as vue from "vue";
4
4
  import { SelectionMode } from "@atscript/ui-table";
5
5
 
6
6
  //#region src/components/as-table.vue.d.ts
@@ -84,23 +84,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
84
84
  'query-loading'?: (props: typeof __VLS_24) => any;
85
85
  };
86
86
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
87
88
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
88
89
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
89
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
90
90
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
91
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
91
92
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
92
93
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
93
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
94
94
  }>, {
95
- stickyHeader: boolean;
96
- virtualOverscan: number;
95
+ select: SelectionMode;
97
96
  reorderable: boolean;
98
97
  resizable: boolean;
99
98
  columnMinWidth: number;
100
- select: SelectionMode;
101
99
  rowDelete: boolean | RowDeleteOpt;
102
100
  rowActionsColumn: RowActionsColumnPlacement | false;
103
101
  headless: boolean;
102
+ stickyHeader: boolean;
103
+ virtualOverscan: number;
104
104
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
105
105
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
106
106
  declare const _default: typeof __VLS_export;
@@ -1,9 +1,9 @@
1
- import { a as useTableContext, i as useRegisterMainActionListener, m as onSelectControlKeydown } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { a as useTableContext, h as onSelectControlKeydown, i as useRegisterMainActionListener } from "./use-table-state-BgLIOO31.mjs";
2
2
  import { t as getCellValue } from "./get-cell-value-Cb3X8nUn.mjs";
3
3
  import { t as useSelectModeReset } from "./use-table-selection-ULbKT2xW.mjs";
4
4
  import { t as useHasEmitListener } from "./use-has-emit-listener-DrBbsLHQ.mjs";
5
- import { n as useRowActionsColumn, t as useTableColumnHandlers } from "./use-table-column-handlers-p_xK-l0e.mjs";
6
- 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-2rA91OFT.mjs";
5
+ import { n as useRowActionsColumn, t as useTableColumnHandlers } from "./use-table-column-handlers-CaT7dYnI.mjs";
6
+ 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-Bl9XmWqc.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";
9
9
  import { useElementSize, useResizeObserver } from "@vueuse/core";