@atscript/vue-table 0.1.140 → 0.1.142

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 (113) 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-B5RFt7Hc.cjs → as-action-menu-content-BaNFBYn3.cjs} +1 -1
  4. package/dist/{as-action-menu-content-KNJr1EkO.mjs → as-action-menu-content-miQYVP7x.mjs} +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-Ca3wSDxw.d.mts} +2 -2
  8. package/dist/{as-column-menu.vue-hOmuVcKf.d.mts → as-column-menu.vue-Co7FtiEM.d.cts} +2 -2
  9. package/dist/{as-config-dialog-B1KJJSHE.cjs → as-config-dialog-CVSOrS9O.cjs} +2 -2
  10. package/dist/{as-config-dialog-JXNkCCrh.mjs → as-config-dialog-Di02V3bs.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-C9Qat2rG.mjs} +1 -1
  14. package/dist/{as-confirm-dialog-a736BLOm.cjs → as-confirm-dialog-fCwo1ty9.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-IflKkOd8.cjs → as-filter-dialog-DYpbsNDx.cjs} +7 -7
  18. package/dist/{as-filter-dialog-C3wltqrN.mjs → as-filter-dialog-DdtrTT5w.mjs} +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-4-qFRsJx.cjs} +8 -10
  22. package/dist/{as-filter-field-D_6DlFcp.mjs → as-filter-field-DEQVodKG.mjs} +8 -10
  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-C6ZkLrf4.cjs} +68 -25
  26. package/dist/{as-filters-BDzQ2SM_.mjs → as-filters-Dd_j6_6G.mjs} +69 -26
  27. package/dist/as-filters.cjs +1 -1
  28. package/dist/as-filters.d.cts +1 -1
  29. package/dist/as-filters.d.mts +1 -1
  30. package/dist/as-filters.mjs +1 -1
  31. package/dist/{as-filters.vue-BSgUEh4D.d.mts → as-filters.vue-dHbGmcbr.d.mts} +56 -4
  32. package/dist/{as-filters.vue-DMXZhQW3.d.cts → as-filters.vue-vH1FHn9L.d.cts} +56 -4
  33. package/dist/{as-preset-dialog-D_w4cxKS.mjs → as-preset-dialog-Bap48oUv.mjs} +1 -1
  34. package/dist/{as-preset-dialog-BgZB8xyk.cjs → as-preset-dialog-SYA-6lGR.cjs} +1 -1
  35. package/dist/as-preset-dialog.cjs +1 -1
  36. package/dist/as-preset-dialog.mjs +1 -1
  37. package/dist/{as-preset-picker-XnGrqHyF.cjs → as-preset-picker-BdKTZa95.cjs} +27 -21
  38. package/dist/{as-preset-picker-B8d6l3U1.mjs → as-preset-picker-NBrvsE6s.mjs} +27 -21
  39. package/dist/as-preset-picker.cjs +1 -1
  40. package/dist/as-preset-picker.mjs +1 -1
  41. package/dist/{as-residual-filter-C65QsWxr.mjs → as-residual-filter-BFnbI3h3.mjs} +1 -1
  42. package/dist/{as-residual-filter-ihvXCtpH.cjs → as-residual-filter-CZ-Bytdj.cjs} +1 -1
  43. package/dist/as-residual-filter.cjs +1 -1
  44. package/dist/as-residual-filter.mjs +1 -1
  45. package/dist/{as-row-actions-C6N0lcZb.cjs → as-row-actions-C3xHkX53.cjs} +2 -2
  46. package/dist/{as-row-actions-xQ9M1PrO.mjs → as-row-actions-KeoHo9Ex.mjs} +2 -2
  47. package/dist/as-row-actions.cjs +1 -1
  48. package/dist/as-row-actions.d.cts +1 -1
  49. package/dist/as-row-actions.d.mts +1 -1
  50. package/dist/as-row-actions.mjs +1 -1
  51. package/dist/{as-row-actions.vue-C8vslg0n.d.mts → as-row-actions.vue-D3_z3ytk.d.cts} +1 -1
  52. package/dist/{as-row-actions.vue-B3XAxDAL.d.cts → as-row-actions.vue-nmaDuxBT.d.mts} +1 -1
  53. package/dist/{as-table-status-2rA91OFT.mjs → as-select-cell-KD_ns8DS.mjs} +149 -36
  54. package/dist/{as-table-status-UWTPJJUL.cjs → as-select-cell-XnzNuW2v.cjs} +154 -35
  55. package/dist/{as-table-B49x0hDM.mjs → as-table-NHqyekNd.mjs} +10 -11
  56. package/dist/{as-table-actions-B2Hy3h7v.mjs → as-table-actions-BpEFcsgh.mjs} +2 -2
  57. package/dist/{as-table-actions-B-jY3s6f.cjs → as-table-actions-UQmFtRdJ.cjs} +2 -2
  58. package/dist/as-table-actions.cjs +1 -1
  59. package/dist/as-table-actions.d.cts +1 -1
  60. package/dist/as-table-actions.d.mts +1 -1
  61. package/dist/as-table-actions.mjs +1 -1
  62. package/dist/{as-table-actions.vue-BgTJuXEH.d.cts → as-table-actions.vue-BG3JVaBQ.d.mts} +1 -1
  63. package/dist/{as-table-actions.vue-BnLH2NqO.d.mts → as-table-actions.vue-DcuzNZoC.d.cts} +1 -1
  64. package/dist/{as-table-ouPxssqv.cjs → as-table-ay1yel3u.cjs} +10 -11
  65. package/dist/{as-table-base-DErJfFYz.mjs → as-table-base-89DkDZ-1.mjs} +46 -60
  66. package/dist/{as-table-base-ceywcVRq.cjs → as-table-base-umzg4PBR.cjs} +51 -65
  67. package/dist/{as-table-header-cell-Ccf06b2_.mjs → as-table-header-cell-DU3ws2x9.mjs} +1 -1
  68. package/dist/{as-table-header-cell-ZCk3XD_d.cjs → as-table-header-cell-f3YpgJX1.cjs} +1 -1
  69. package/dist/as-table-header-cell.cjs +1 -1
  70. package/dist/as-table-header-cell.d.cts +1 -1
  71. package/dist/as-table-header-cell.d.mts +1 -1
  72. package/dist/as-table-header-cell.mjs +1 -1
  73. package/dist/{as-table-header-cell.vue-C7jNmdDh.d.mts → as-table-header-cell.vue-5VGRc23o.d.mts} +1 -1
  74. package/dist/{as-table-header-cell.vue-DkClJBAT.d.cts → as-table-header-cell.vue-XR90UlHO.d.cts} +1 -1
  75. package/dist/{as-table-root-CG7bLzcQ.mjs → as-table-root-47hiBEnq.mjs} +8 -5
  76. package/dist/{as-table-root-_58hdHAi.cjs → as-table-root-DDeGktcl.cjs} +8 -5
  77. package/dist/as-table-root.cjs +1 -1
  78. package/dist/as-table-root.d.cts +1 -1
  79. package/dist/as-table-root.d.mts +1 -1
  80. package/dist/as-table-root.mjs +1 -1
  81. package/dist/{as-table-root.vue-DpPRMy3v.d.mts → as-table-root.vue-BGx453_Q.d.mts} +30 -4
  82. package/dist/{as-table-root.vue-D8hH1xGK.d.cts → as-table-root.vue-yZ7ZcwdT.d.cts} +32 -6
  83. package/dist/as-table.cjs +1 -1
  84. package/dist/as-table.d.cts +1 -1
  85. package/dist/as-table.d.mts +1 -1
  86. package/dist/as-table.mjs +1 -1
  87. package/dist/{as-table.vue-CudFoZTF.d.mts → as-table.vue-CwI5Z0y5.d.cts} +13 -11
  88. package/dist/{as-table.vue-Bv6sKnL5.d.cts → as-table.vue-wdFf4hMW.d.mts} +13 -11
  89. package/dist/{as-window-table-KyS6YUpa.mjs → as-window-table-C312T_bc.mjs} +83 -62
  90. package/dist/{as-window-table-C9YtzepV.cjs → as-window-table-hOYLNhX3.cjs} +89 -68
  91. package/dist/as-window-table.cjs +1 -1
  92. package/dist/as-window-table.d.cts +1 -1
  93. package/dist/as-window-table.d.mts +1 -1
  94. package/dist/as-window-table.mjs +1 -1
  95. package/dist/{as-window-table.vue-COVl3die.d.mts → as-window-table.vue-D6UDA6td.d.cts} +9 -7
  96. package/dist/{as-window-table.vue-CRWdhOgC.d.cts → as-window-table.vue-Deg1mj3t.d.mts} +9 -7
  97. package/dist/index.cjs +18 -18
  98. package/dist/index.d.cts +10 -10
  99. package/dist/index.d.mts +10 -10
  100. package/dist/index.mjs +18 -18
  101. package/dist/{types-BCixOa8x.d.cts → types-BU7J-a1r.d.mts} +79 -10
  102. package/dist/{types-D7qVxU_y.d.mts → types-D4dK49sA.d.cts} +79 -10
  103. package/dist/{use-table-2xPxoNRX.mjs → use-table-DlqGHjPh.mjs} +3 -2
  104. package/dist/{use-table-column-handlers-p_xK-l0e.mjs → use-table-column-handlers-0myVzrZR.mjs} +1 -1
  105. package/dist/{use-table-column-handlers-rqFo9HLz.cjs → use-table-column-handlers-BHMCo_HR.cjs} +1 -1
  106. package/dist/{use-table-component-XQ-Qt_sp.cjs → use-table-component-IziAm0vk.cjs} +1 -1
  107. package/dist/{use-table-component-BYO0zMQj.mjs → use-table-component-TLwFq4rx.mjs} +1 -1
  108. package/dist/{use-table-nav-bridge-BDBnRc4C.mjs → use-table-nav-bridge-CkQqimdS.mjs} +1 -1
  109. package/dist/{use-table-nav-bridge-DvrsPanF.cjs → use-table-nav-bridge-QU4jKhqx.cjs} +1 -1
  110. package/dist/{use-table-state-pF_9gnTG.cjs → use-table-state-BiklfjP0.cjs} +243 -45
  111. package/dist/{use-table-state-BzjbnpBA.mjs → use-table-state-Cq-3tbVr.mjs} +227 -47
  112. package/dist/{use-table-B45WZLwg.cjs → use-table-yZNJTfRq.cjs} +3 -2
  113. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- import { _ as RowClassHook, b as RowSelectableHook, f as QueryErrorKind, g as RowAttrsHook, m as RowActionsColumnPlacement, o as EnterAction, r as ColumnMenuConfig, v as RowDeleteOpt } from "./types-D7qVxU_y.mjs";
1
+ import { _ as RowAttrsHook, h as RowActionsColumnPlacement, p as QueryErrorKind, r as ColumnMenuConfig, s as EnterAction, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-D4dK49sA.cjs";
2
2
  import * as vue from "vue";
3
3
  import { SelectionMode } from "@atscript/ui-table";
4
4
 
@@ -15,7 +15,8 @@ type __VLS_Props = {
15
15
  * flipping `select` to `"none"` hides the checkbox UI but leaves the
16
16
  * user's selected pks in place, surviving a future re-enable.
17
17
  */
18
- select?: SelectionMode;
18
+ select?: SelectionMode; /** See {@link SelectOn}. Since 0.1.142. */
19
+ selectOn?: SelectOn;
19
20
  /**
20
21
  * Force exactly N rows tall. Equivalent to setting both `min-rows` and
21
22
  * `max-rows` to N — overrides both when set. The table reserves N rows
@@ -99,25 +100,26 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
99
100
  'query-loading'?: (props: typeof __VLS_16) => any;
100
101
  };
101
102
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
103
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
102
104
  "row-click": (row: Row, event: MouseEvent) => any;
103
105
  "row-dblclick": (row: Row, event: MouseEvent) => any;
104
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
105
106
  error: (error: Error, kind: QueryErrorKind) => any;
106
107
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
108
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
107
109
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
108
110
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
109
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
110
111
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
111
112
  }>, {
113
+ rowHeight: number;
114
+ wheelRowsPerTick: number;
115
+ select: SelectionMode;
116
+ selectOn: SelectOn;
112
117
  reorderable: boolean;
113
118
  resizable: boolean;
114
119
  columnMinWidth: number;
115
- select: SelectionMode;
116
120
  rowDelete: boolean | RowDeleteOpt;
117
121
  rowActionsColumn: RowActionsColumnPlacement | false;
118
122
  headless: boolean;
119
- rowHeight: number;
120
- wheelRowsPerTick: number;
121
123
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
122
124
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
123
125
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { _ as RowClassHook, b as RowSelectableHook, f as QueryErrorKind, g as RowAttrsHook, m as RowActionsColumnPlacement, o as EnterAction, r as ColumnMenuConfig, v as RowDeleteOpt } from "./types-BCixOa8x.cjs";
1
+ import { _ as RowAttrsHook, h as RowActionsColumnPlacement, p as QueryErrorKind, r as ColumnMenuConfig, s as EnterAction, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-BU7J-a1r.mjs";
2
2
  import * as vue from "vue";
3
3
  import { SelectionMode } from "@atscript/ui-table";
4
4
 
@@ -15,7 +15,8 @@ type __VLS_Props = {
15
15
  * flipping `select` to `"none"` hides the checkbox UI but leaves the
16
16
  * user's selected pks in place, surviving a future re-enable.
17
17
  */
18
- select?: SelectionMode;
18
+ select?: SelectionMode; /** See {@link SelectOn}. Since 0.1.142. */
19
+ selectOn?: SelectOn;
19
20
  /**
20
21
  * Force exactly N rows tall. Equivalent to setting both `min-rows` and
21
22
  * `max-rows` to N — overrides both when set. The table reserves N rows
@@ -99,25 +100,26 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
99
100
  'query-loading'?: (props: typeof __VLS_16) => any;
100
101
  };
101
102
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
103
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
102
104
  "row-click": (row: Row, event: MouseEvent) => any;
103
105
  "row-dblclick": (row: Row, event: MouseEvent) => any;
104
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
105
106
  error: (error: Error, kind: QueryErrorKind) => any;
106
107
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
108
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
107
109
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
108
110
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
109
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
110
111
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
111
112
  }>, {
113
+ rowHeight: number;
114
+ wheelRowsPerTick: number;
115
+ select: SelectionMode;
116
+ selectOn: SelectOn;
112
117
  reorderable: boolean;
113
118
  resizable: boolean;
114
119
  columnMinWidth: number;
115
- select: SelectionMode;
116
120
  rowDelete: boolean | RowDeleteOpt;
117
121
  rowActionsColumn: RowActionsColumnPlacement | false;
118
122
  headless: boolean;
119
- rowHeight: number;
120
- wheelRowsPerTick: number;
121
123
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
122
124
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
123
125
  declare const _default: typeof __VLS_export;
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
2
+ const require_use_table_state = require("./use-table-state-BiklfjP0.cjs");
3
3
  const require_get_cell_value = require("./get-cell-value-CJT4fk4y.cjs");
4
4
  const require_use_table_selection = require("./use-table-selection-DtCV3rhu.cjs");
5
- const require_use_table = require("./use-table-B45WZLwg.cjs");
6
- const require_use_table_nav_bridge = require("./use-table-nav-bridge-DvrsPanF.cjs");
7
- const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
5
+ const require_use_table = require("./use-table-yZNJTfRq.cjs");
6
+ const require_use_table_nav_bridge = require("./use-table-nav-bridge-QU4jKhqx.cjs");
7
+ const require_use_table_component = require("./use-table-component-IziAm0vk.cjs");
8
8
  const require_as_cell_array = require("./as-cell-array-CCZ0Ajj9.cjs");
9
9
  const require_as_cell_date = require("./as-cell-date-RU5JPJhI.cjs");
10
10
  const require_use_cell_locale = require("./use-cell-locale-BGBRQB7s.cjs");
@@ -13,22 +13,22 @@ const require_as_cell_number = require("./as-cell-number-DGJCTXDf.cjs");
13
13
  const require_format_cell = require("./format-cell-vCNTh4WZ.cjs");
14
14
  const require_as_cell_union = require("./as-cell-union-LOGvhPeK.cjs");
15
15
  const require_as_column_menu = require("./as-column-menu-ChB7hzmr.cjs");
16
- const require_as_config_dialog = require("./as-config-dialog-B1KJJSHE.cjs");
17
- const require_as_confirm_dialog = require("./as-confirm-dialog-a736BLOm.cjs");
16
+ const require_as_config_dialog = require("./as-config-dialog-CVSOrS9O.cjs");
17
+ const require_as_confirm_dialog = require("./as-confirm-dialog-fCwo1ty9.cjs");
18
18
  const require_as_filter_input = require("./as-filter-input-DJu2k9gO.cjs");
19
- const require_as_filter_dialog = require("./as-filter-dialog-IflKkOd8.cjs");
20
- const require_as_table_header_cell = require("./as-table-header-cell-ZCk3XD_d.cjs");
21
- const require_as_window_table = require("./as-window-table-C9YtzepV.cjs");
22
- const require_as_filter_field = require("./as-filter-field-pygBjA-K.cjs");
23
- const require_as_residual_filter = require("./as-residual-filter-ihvXCtpH.cjs");
24
- const require_as_filters = require("./as-filters-BIoEsPD0.cjs");
25
- const require_as_preset_dialog = require("./as-preset-dialog-BgZB8xyk.cjs");
26
- const require_as_row_actions = require("./as-row-actions-C6N0lcZb.cjs");
19
+ const require_as_filter_dialog = require("./as-filter-dialog-DYpbsNDx.cjs");
20
+ const require_as_table_header_cell = require("./as-table-header-cell-f3YpgJX1.cjs");
21
+ const require_as_window_table = require("./as-window-table-hOYLNhX3.cjs");
22
+ const require_as_filter_field = require("./as-filter-field-4-qFRsJx.cjs");
23
+ const require_as_residual_filter = require("./as-residual-filter-CZ-Bytdj.cjs");
24
+ const require_as_filters = require("./as-filters-C6ZkLrf4.cjs");
25
+ const require_as_preset_dialog = require("./as-preset-dialog-SYA-6lGR.cjs");
26
+ const require_as_row_actions = require("./as-row-actions-C3xHkX53.cjs");
27
27
  const require_as_table_cell_value = require("./as-table-cell-value-COyZnwUj.cjs");
28
- const require_as_table_root = require("./as-table-root-_58hdHAi.cjs");
29
- const require_as_table = require("./as-table-ouPxssqv.cjs");
30
- const require_as_table_actions = require("./as-table-actions-B-jY3s6f.cjs");
31
- const require_as_preset_picker = require("./as-preset-picker-XnGrqHyF.cjs");
28
+ const require_as_table_root = require("./as-table-root-DDeGktcl.cjs");
29
+ const require_as_table = require("./as-table-ay1yel3u.cjs");
30
+ const require_as_table_actions = require("./as-table-actions-UQmFtRdJ.cjs");
31
+ const require_as_preset_picker = require("./as-preset-picker-BdKTZa95.cjs");
32
32
  let _atscript_ui = require("@atscript/ui");
33
33
  let vue = require("vue");
34
34
  let _atscript_ui_table = require("@atscript/ui-table");
package/dist/index.d.cts CHANGED
@@ -1,23 +1,23 @@
1
- import { t as _default$11 } from "./as-filters.vue-DMXZhQW3.cjs";
1
+ import { t as _default$11 } from "./as-filters.vue-vH1FHn9L.cjs";
2
2
  import { t as _default$13 } from "./as-preset-picker.vue-DfXS3pGl.cjs";
3
- import { C as TAsTableControls, D as extractIdentifier, E as TableNavBridge, S as TAsCellTypeComponents, T as TableActionsState, _ as RowClassHook, b as RowSelectableHook, c as LocalRowAction, f as QueryErrorKind, g as RowAttrsHook, h as RowActionsConfig, i as ConfigTab, l as MainActionRequest, n as ApplyUrlQueryOptions, p as ReactiveTableState, r as ColumnMenuConfig, s as InvokeOpts, t as ActionResult, u as NavKeyOptions, v as RowDeleteOpt, w as TVueTableActionInfo, x as RowSelectableVerdict, y as RowHookContext } from "./types-BCixOa8x.cjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-BgTJuXEH.cjs";
5
- import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-D8hH1xGK.cjs";
6
- import { t as _default$15 } from "./as-table.vue-Bv6sKnL5.cjs";
7
- import { t as _default$20 } from "./as-window-table.vue-CRWdhOgC.cjs";
3
+ import { A as extractIdentifier, C as SelectAllState, D as TVueTableActionInfo, E as TAsTableControls, O as TableActionsState, S as RowSelectableVerdict, T as TAsCellTypeComponents, _ as RowAttrsHook, b as RowHookContext, c as InvokeOpts, d as NavKeyOptions, g as RowActionsConfig, i as ConfigTab, k as TableNavBridge, l as LocalRowAction, m as ReactiveTableState, n as ApplyUrlQueryOptions, o as DroppedFieldsReport, p as QueryErrorKind, r as ColumnMenuConfig, t as ActionResult, u as MainActionRequest, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-D4dK49sA.cjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-DcuzNZoC.cjs";
5
+ import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-yZ7ZcwdT.cjs";
6
+ import { t as _default$15 } from "./as-table.vue-CwI5Z0y5.cjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-D6UDA6td.cjs";
8
8
  import { t as _default } from "./as-cell-array.vue-pFs5GcCR.cjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-BBSps2B2.cjs";
10
10
  import { t as _default$2 } from "./as-cell-json.vue-C6wg4ARZ.cjs";
11
11
  import { t as _default$3 } from "./as-cell-number.vue-CJ2K5zeM.cjs";
12
12
  import { t as _default$4 } from "./as-cell-union.vue-CslPM_c2.cjs";
13
- import { t as _default$5 } from "./as-column-menu.vue-DKQNY5gh.cjs";
13
+ import { t as _default$5 } from "./as-column-menu.vue-Co7FtiEM.cjs";
14
14
  import { t as _default$6 } from "./as-config-dialog.vue-DvvJi3xx.cjs";
15
15
  import { t as _default$7 } from "./as-confirm-dialog.vue-CXxLpzbu.cjs";
16
16
  import { t as _default$8 } from "./as-filter-dialog.vue-BV2J8PgZ.cjs";
17
17
  import { t as _default$9 } from "./as-filter-field.vue-ByQ8xIGq.cjs";
18
18
  import { t as _default$10 } from "./as-filter-input.vue-CS4nOk_Q.cjs";
19
19
  import { t as _default$12 } from "./as-preset-dialog.vue-DP9fy00Y.cjs";
20
- import { t as _default$14 } from "./as-row-actions.vue-B3XAxDAL.cjs";
20
+ import { t as _default$14 } from "./as-row-actions.vue-D3_z3ytk.cjs";
21
21
  import { t as _default$17 } from "./as-table-cell-value.vue-C0VR9GRK.cjs";
22
- import { t as _default$18 } from "./as-table-header-cell.vue-DkClJBAT.cjs";
23
- export { AS_PRESETS_APP, ActionResult, ActivePresetView, AppConfData, ApplyUrlQueryOptions, _default as AsCellArray, _default$1 as AsCellDate, _default$2 as AsCellJson, _default$3 as AsCellNumber, _default$4 as AsCellUnion, _default$5 as AsColumnMenu, _default$6 as AsConfigDialog, _default$7 as AsConfirmDialog, _default$8 as AsFilterDialog, _default$9 as AsFilterField, _default$10 as AsFilterInput, _default$11 as AsFilters, _default$12 as AsPresetDialog, AsPresetEntryRow, _default$13 as AsPresetPicker, _default$14 as AsRowActions, _default$15 as AsTable, _default$16 as AsTableActions, _default$17 as AsTableCellValue, _default$18 as AsTableHeaderCell, _default$19 as AsTableRoot, _default$20 as AsWindowTable, BuildQueryOptions, CellLocale, ClientFactory, ColumnMenuConfig, ConfigTab, CreateStaticTableStateOptions, CreateTableStateOptions, CsvOptions, DisplayColumnDef, ExportAbortError, ExportCellFormatter, ExportProgress, ExportResult, ExportRowsOptions, ExportScalar, InvokeOpts, LocalRowAction, MainActionRequest, NavKeyOptions, PRESET_ASPECTS, PresetAspect, PresetCapabilities, PresetData, PresetSnapshot, PresetSnapshotWire, QueryErrorKind, QueryFn, QueryOptions, ReactiveTableState, RowActionsConfig, RowAttrsHook, RowClassHook, RowDeleteOpt, RowHookContext, RowSelectableHook, RowSelectableVerdict, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectionPersistence, StorageLike, SystemPreset, SystemPresetInput, TAsCellTypeComponents, TAsTableControls, TVueTableActionInfo, TableActionsState, TableContext, TableModelRefs, TableNavBridge, TableStateInternals, UrlQuerySync, UseAppPrefsOptions, UseAppPrefsReturn, UseLocalDraftOptions, UseLocalDraftReturn, UsePresetsOptions, UsePresetsReturn, UseTableExportReturn, UseTableOptions, UseTableUrlQueryOptions, UserConfData, clearTableCache, createDefaultCellTypes, createDefaultControls, createStaticTableState, createTableState, downloadExport, extractIdentifier, formatCellValue, getCellValue, getColumnWidth, getDefaultClientFactory, injectPresetsApp, isSystemPresetId, provideCellLocale, provideTableContext, resetDefaultClientFactory, resolveSystemPresets, setDefaultClientFactory, useAppPrefs, useCellLocale, useLocalDraft, usePresets, useTable, useTableActions, useTableComponent, useTableContext, useTableContextOptional, useTableExport, useTableFilter, useTableNavBridge, useTableSearch, useTableSelection, useTableUrlQuery };
22
+ import { t as _default$18 } from "./as-table-header-cell.vue-XR90UlHO.cjs";
23
+ export { AS_PRESETS_APP, ActionResult, ActivePresetView, AppConfData, ApplyUrlQueryOptions, _default as AsCellArray, _default$1 as AsCellDate, _default$2 as AsCellJson, _default$3 as AsCellNumber, _default$4 as AsCellUnion, _default$5 as AsColumnMenu, _default$6 as AsConfigDialog, _default$7 as AsConfirmDialog, _default$8 as AsFilterDialog, _default$9 as AsFilterField, _default$10 as AsFilterInput, _default$11 as AsFilters, _default$12 as AsPresetDialog, AsPresetEntryRow, _default$13 as AsPresetPicker, _default$14 as AsRowActions, _default$15 as AsTable, _default$16 as AsTableActions, _default$17 as AsTableCellValue, _default$18 as AsTableHeaderCell, _default$19 as AsTableRoot, _default$20 as AsWindowTable, BuildQueryOptions, CellLocale, ClientFactory, ColumnMenuConfig, ConfigTab, CreateStaticTableStateOptions, CreateTableStateOptions, CsvOptions, DisplayColumnDef, DroppedFieldsReport, ExportAbortError, ExportCellFormatter, ExportProgress, ExportResult, ExportRowsOptions, ExportScalar, InvokeOpts, LocalRowAction, MainActionRequest, NavKeyOptions, PRESET_ASPECTS, PresetAspect, PresetCapabilities, PresetData, PresetSnapshot, PresetSnapshotWire, QueryErrorKind, QueryFn, QueryOptions, ReactiveTableState, RowActionsConfig, RowAttrsHook, RowClassHook, RowDeleteOpt, RowHookContext, RowSelectableHook, RowSelectableVerdict, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectAllState, SelectOn, SelectionPersistence, StorageLike, SystemPreset, SystemPresetInput, TAsCellTypeComponents, TAsTableControls, TVueTableActionInfo, TableActionsState, TableContext, TableModelRefs, TableNavBridge, TableStateInternals, UrlQuerySync, UseAppPrefsOptions, UseAppPrefsReturn, UseLocalDraftOptions, UseLocalDraftReturn, UsePresetsOptions, UsePresetsReturn, UseTableExportReturn, UseTableOptions, UseTableUrlQueryOptions, UserConfData, clearTableCache, createDefaultCellTypes, createDefaultControls, createStaticTableState, createTableState, downloadExport, extractIdentifier, formatCellValue, getCellValue, getColumnWidth, getDefaultClientFactory, injectPresetsApp, isSystemPresetId, provideCellLocale, provideTableContext, resetDefaultClientFactory, resolveSystemPresets, setDefaultClientFactory, useAppPrefs, useCellLocale, useLocalDraft, usePresets, useTable, useTableActions, useTableComponent, useTableContext, useTableContextOptional, useTableExport, useTableFilter, useTableNavBridge, useTableSearch, useTableSelection, useTableUrlQuery };
package/dist/index.d.mts CHANGED
@@ -1,23 +1,23 @@
1
- import { t as _default$11 } from "./as-filters.vue-BSgUEh4D.mjs";
1
+ import { t as _default$11 } from "./as-filters.vue-dHbGmcbr.mjs";
2
2
  import { t as _default$13 } from "./as-preset-picker.vue-OaAV2v9z.mjs";
3
- import { C as TAsTableControls, D as extractIdentifier, E as TableNavBridge, S as TAsCellTypeComponents, T as TableActionsState, _ as RowClassHook, b as RowSelectableHook, c as LocalRowAction, f as QueryErrorKind, g as RowAttrsHook, h as RowActionsConfig, i as ConfigTab, l as MainActionRequest, n as ApplyUrlQueryOptions, p as ReactiveTableState, r as ColumnMenuConfig, s as InvokeOpts, t as ActionResult, u as NavKeyOptions, v as RowDeleteOpt, w as TVueTableActionInfo, x as RowSelectableVerdict, y as RowHookContext } from "./types-D7qVxU_y.mjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-BnLH2NqO.mjs";
5
- import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-DpPRMy3v.mjs";
6
- import { t as _default$15 } from "./as-table.vue-CudFoZTF.mjs";
7
- import { t as _default$20 } from "./as-window-table.vue-COVl3die.mjs";
3
+ import { A as extractIdentifier, C as SelectAllState, D as TVueTableActionInfo, E as TAsTableControls, O as TableActionsState, S as RowSelectableVerdict, T as TAsCellTypeComponents, _ as RowAttrsHook, b as RowHookContext, c as InvokeOpts, d as NavKeyOptions, g as RowActionsConfig, i as ConfigTab, k as TableNavBridge, l as LocalRowAction, m as ReactiveTableState, n as ApplyUrlQueryOptions, o as DroppedFieldsReport, p as QueryErrorKind, r as ColumnMenuConfig, t as ActionResult, u as MainActionRequest, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-BU7J-a1r.mjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-BG3JVaBQ.mjs";
5
+ import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-BGx453_Q.mjs";
6
+ import { t as _default$15 } from "./as-table.vue-wdFf4hMW.mjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-Deg1mj3t.mjs";
8
8
  import { t as _default } from "./as-cell-array.vue-ow34clSF.mjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-B4JCr1qP.mjs";
10
10
  import { t as _default$2 } from "./as-cell-json.vue-B-T3TuFj.mjs";
11
11
  import { t as _default$3 } from "./as-cell-number.vue-CNH2fbCB.mjs";
12
12
  import { t as _default$4 } from "./as-cell-union.vue-CZwN81H4.mjs";
13
- import { t as _default$5 } from "./as-column-menu.vue-hOmuVcKf.mjs";
13
+ import { t as _default$5 } from "./as-column-menu.vue-Ca3wSDxw.mjs";
14
14
  import { t as _default$6 } from "./as-config-dialog.vue-BKo2GpzN.mjs";
15
15
  import { t as _default$7 } from "./as-confirm-dialog.vue-BN_yzu3h.mjs";
16
16
  import { t as _default$8 } from "./as-filter-dialog.vue-Bl8OIKOf.mjs";
17
17
  import { t as _default$9 } from "./as-filter-field.vue-DD0IZXS1.mjs";
18
18
  import { t as _default$10 } from "./as-filter-input.vue-CFZ33B--.mjs";
19
19
  import { t as _default$12 } from "./as-preset-dialog.vue-ChM7H7B4.mjs";
20
- import { t as _default$14 } from "./as-row-actions.vue-C8vslg0n.mjs";
20
+ import { t as _default$14 } from "./as-row-actions.vue-nmaDuxBT.mjs";
21
21
  import { t as _default$17 } from "./as-table-cell-value.vue-DphckGq-.mjs";
22
- import { t as _default$18 } from "./as-table-header-cell.vue-C7jNmdDh.mjs";
23
- export { AS_PRESETS_APP, ActionResult, ActivePresetView, AppConfData, ApplyUrlQueryOptions, _default as AsCellArray, _default$1 as AsCellDate, _default$2 as AsCellJson, _default$3 as AsCellNumber, _default$4 as AsCellUnion, _default$5 as AsColumnMenu, _default$6 as AsConfigDialog, _default$7 as AsConfirmDialog, _default$8 as AsFilterDialog, _default$9 as AsFilterField, _default$10 as AsFilterInput, _default$11 as AsFilters, _default$12 as AsPresetDialog, AsPresetEntryRow, _default$13 as AsPresetPicker, _default$14 as AsRowActions, _default$15 as AsTable, _default$16 as AsTableActions, _default$17 as AsTableCellValue, _default$18 as AsTableHeaderCell, _default$19 as AsTableRoot, _default$20 as AsWindowTable, BuildQueryOptions, CellLocale, ClientFactory, ColumnMenuConfig, ConfigTab, CreateStaticTableStateOptions, CreateTableStateOptions, CsvOptions, DisplayColumnDef, ExportAbortError, ExportCellFormatter, ExportProgress, ExportResult, ExportRowsOptions, ExportScalar, InvokeOpts, LocalRowAction, MainActionRequest, NavKeyOptions, PRESET_ASPECTS, PresetAspect, PresetCapabilities, PresetData, PresetSnapshot, PresetSnapshotWire, QueryErrorKind, QueryFn, QueryOptions, ReactiveTableState, RowActionsConfig, RowAttrsHook, RowClassHook, RowDeleteOpt, RowHookContext, RowSelectableHook, RowSelectableVerdict, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectionPersistence, StorageLike, SystemPreset, SystemPresetInput, TAsCellTypeComponents, TAsTableControls, TVueTableActionInfo, TableActionsState, TableContext, TableModelRefs, TableNavBridge, TableStateInternals, UrlQuerySync, UseAppPrefsOptions, UseAppPrefsReturn, UseLocalDraftOptions, UseLocalDraftReturn, UsePresetsOptions, UsePresetsReturn, UseTableExportReturn, UseTableOptions, UseTableUrlQueryOptions, UserConfData, clearTableCache, createDefaultCellTypes, createDefaultControls, createStaticTableState, createTableState, downloadExport, extractIdentifier, formatCellValue, getCellValue, getColumnWidth, getDefaultClientFactory, injectPresetsApp, isSystemPresetId, provideCellLocale, provideTableContext, resetDefaultClientFactory, resolveSystemPresets, setDefaultClientFactory, useAppPrefs, useCellLocale, useLocalDraft, usePresets, useTable, useTableActions, useTableComponent, useTableContext, useTableContextOptional, useTableExport, useTableFilter, useTableNavBridge, useTableSearch, useTableSelection, useTableUrlQuery };
22
+ import { t as _default$18 } from "./as-table-header-cell.vue-5VGRc23o.mjs";
23
+ export { AS_PRESETS_APP, ActionResult, ActivePresetView, AppConfData, ApplyUrlQueryOptions, _default as AsCellArray, _default$1 as AsCellDate, _default$2 as AsCellJson, _default$3 as AsCellNumber, _default$4 as AsCellUnion, _default$5 as AsColumnMenu, _default$6 as AsConfigDialog, _default$7 as AsConfirmDialog, _default$8 as AsFilterDialog, _default$9 as AsFilterField, _default$10 as AsFilterInput, _default$11 as AsFilters, _default$12 as AsPresetDialog, AsPresetEntryRow, _default$13 as AsPresetPicker, _default$14 as AsRowActions, _default$15 as AsTable, _default$16 as AsTableActions, _default$17 as AsTableCellValue, _default$18 as AsTableHeaderCell, _default$19 as AsTableRoot, _default$20 as AsWindowTable, BuildQueryOptions, CellLocale, ClientFactory, ColumnMenuConfig, ConfigTab, CreateStaticTableStateOptions, CreateTableStateOptions, CsvOptions, DisplayColumnDef, DroppedFieldsReport, ExportAbortError, ExportCellFormatter, ExportProgress, ExportResult, ExportRowsOptions, ExportScalar, InvokeOpts, LocalRowAction, MainActionRequest, NavKeyOptions, PRESET_ASPECTS, PresetAspect, PresetCapabilities, PresetData, PresetSnapshot, PresetSnapshotWire, QueryErrorKind, QueryFn, QueryOptions, ReactiveTableState, RowActionsConfig, RowAttrsHook, RowClassHook, RowDeleteOpt, RowHookContext, RowSelectableHook, RowSelectableVerdict, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectAllState, SelectOn, SelectionPersistence, StorageLike, SystemPreset, SystemPresetInput, TAsCellTypeComponents, TAsTableControls, TVueTableActionInfo, TableActionsState, TableContext, TableModelRefs, TableNavBridge, TableStateInternals, UrlQuerySync, UseAppPrefsOptions, UseAppPrefsReturn, UseLocalDraftOptions, UseLocalDraftReturn, UsePresetsOptions, UsePresetsReturn, UseTableExportReturn, UseTableOptions, UseTableUrlQueryOptions, UserConfData, clearTableCache, createDefaultCellTypes, createDefaultControls, createStaticTableState, createTableState, downloadExport, extractIdentifier, formatCellValue, getCellValue, getColumnWidth, getDefaultClientFactory, injectPresetsApp, isSystemPresetId, provideCellLocale, provideTableContext, resetDefaultClientFactory, resolveSystemPresets, setDefaultClientFactory, useAppPrefs, useCellLocale, useLocalDraft, usePresets, useTable, useTableActions, useTableComponent, useTableContext, useTableContextOptional, useTableExport, useTableFilter, useTableNavBridge, useTableSearch, useTableSelection, useTableUrlQuery };
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { O as ROW_ACTIONS_TYPE, a as useTableContext, n as createTableState, o as useTableContextOptional, r as provideTableContext, t as createStaticTableState, x as extractIdentifier } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { a as useTableContext, j as ROW_ACTIONS_TYPE, n as createTableState, o as useTableContextOptional, r as provideTableContext, t as createStaticTableState, w as extractIdentifier } from "./use-table-state-Cq-3tbVr.mjs";
2
2
  import { t as getCellValue } from "./get-cell-value-Cb3X8nUn.mjs";
3
3
  import { n as useTableSelection } from "./use-table-selection-ULbKT2xW.mjs";
4
- import { a as useLocalDraft, i as usePresets, o as AS_PRESETS_APP, r as useTable, s as injectPresetsApp, t as clearTableCache } from "./use-table-2xPxoNRX.mjs";
5
- import { t as useTableNavBridge } from "./use-table-nav-bridge-BDBnRc4C.mjs";
6
- import { t as useTableComponent } from "./use-table-component-BYO0zMQj.mjs";
4
+ import { a as useLocalDraft, i as usePresets, o as AS_PRESETS_APP, r as useTable, s as injectPresetsApp, t as clearTableCache } from "./use-table-DlqGHjPh.mjs";
5
+ import { t as useTableNavBridge } from "./use-table-nav-bridge-CkQqimdS.mjs";
6
+ import { t as useTableComponent } from "./use-table-component-TLwFq4rx.mjs";
7
7
  import { t as as_cell_array_default } from "./as-cell-array-Bgc4GYZf.mjs";
8
8
  import { t as as_cell_date_default } from "./as-cell-date-B9mu0OOD.mjs";
9
9
  import { n as useCellLocale, t as provideCellLocale } from "./use-cell-locale-MQXoONh5.mjs";
@@ -12,22 +12,22 @@ import { t as as_cell_number_default } from "./as-cell-number-CNDT6gfw.mjs";
12
12
  import { t as formatCellValue } from "./format-cell-D1Ziv96Q.mjs";
13
13
  import { t as as_cell_union_default } from "./as-cell-union-DMnoa7RM.mjs";
14
14
  import { t as as_column_menu_default } from "./as-column-menu-CBtUfYEE.mjs";
15
- import { t as as_config_dialog_default } from "./as-config-dialog-JXNkCCrh.mjs";
16
- import { t as as_confirm_dialog_default } from "./as-confirm-dialog-CC6U8nLZ.mjs";
15
+ import { t as as_config_dialog_default } from "./as-config-dialog-Di02V3bs.mjs";
16
+ import { t as as_confirm_dialog_default } from "./as-confirm-dialog-C9Qat2rG.mjs";
17
17
  import { t as as_filter_input_default } from "./as-filter-input-BM23TNeh.mjs";
18
- import { t as as_filter_dialog_default } from "./as-filter-dialog-C3wltqrN.mjs";
19
- import { t as as_table_header_cell_default } from "./as-table-header-cell-Ccf06b2_.mjs";
20
- import { t as as_window_table_default } from "./as-window-table-KyS6YUpa.mjs";
21
- import { t as as_filter_field_default } from "./as-filter-field-D_6DlFcp.mjs";
22
- import { t as as_residual_filter_default } from "./as-residual-filter-C65QsWxr.mjs";
23
- import { t as as_filters_default } from "./as-filters-BDzQ2SM_.mjs";
24
- import { t as as_preset_dialog_default } from "./as-preset-dialog-D_w4cxKS.mjs";
25
- import { t as as_row_actions_default } from "./as-row-actions-xQ9M1PrO.mjs";
18
+ import { t as as_filter_dialog_default } from "./as-filter-dialog-DdtrTT5w.mjs";
19
+ import { t as as_table_header_cell_default } from "./as-table-header-cell-DU3ws2x9.mjs";
20
+ import { t as as_window_table_default } from "./as-window-table-C312T_bc.mjs";
21
+ import { t as as_filter_field_default } from "./as-filter-field-DEQVodKG.mjs";
22
+ import { t as as_residual_filter_default } from "./as-residual-filter-BFnbI3h3.mjs";
23
+ import { t as as_filters_default } from "./as-filters-Dd_j6_6G.mjs";
24
+ import { t as as_preset_dialog_default } from "./as-preset-dialog-Bap48oUv.mjs";
25
+ import { t as as_row_actions_default } from "./as-row-actions-KeoHo9Ex.mjs";
26
26
  import { t as as_table_cell_value_default } from "./as-table-cell-value-DoH8Mieo.mjs";
27
- import { t as as_table_root_default } from "./as-table-root-CG7bLzcQ.mjs";
28
- import { t as as_table_default } from "./as-table-B49x0hDM.mjs";
29
- import { t as as_table_actions_default } from "./as-table-actions-B2Hy3h7v.mjs";
30
- import { t as as_preset_picker_default } from "./as-preset-picker-B8d6l3U1.mjs";
27
+ import { t as as_table_root_default } from "./as-table-root-47hiBEnq.mjs";
28
+ import { t as as_table_default } from "./as-table-NHqyekNd.mjs";
29
+ import { t as as_table_actions_default } from "./as-table-actions-BpEFcsgh.mjs";
30
+ import { t as as_preset_picker_default } from "./as-preset-picker-NBrvsE6s.mjs";
31
31
  import { getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
32
32
  import { computed, effectScope, ref, shallowRef } from "vue";
33
33
  import { AppPrefsClient, ExportAbortError, PRESET_ASPECTS, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, collectExportRows, columnDefaultCondition, columnFilterConditions, columnFilterType, isFilled, isSystemPresetId, isUnavailableError, resolveExportValue, resolveSystemPresets, toCsv, urlQueryConsumesKey, withStableOrder } from "@atscript/ui-table";
@@ -1,8 +1,8 @@
1
+ import { ColumnDef, PaginationControl, SortControl, TableDef } from "@atscript/ui";
1
2
  import { Component, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
3
+ import { AsPresetEntryRow, AspectMask, ColumnWidthsMap, ConfigTab, DroppedFields, FieldFilters, PresetAspect, PresetCapabilities, PresetSnapshot, SelectionMode, SystemPreset, SystemPresetInput, TableStateMethods } from "@atscript/ui-table";
2
4
  import { ClientError, PageResult, TDbActionInfo, TDbActionProcessor, TDbDeleteResult } from "@atscript/db-client";
3
5
  import { FilterExpr, Uniquery } from "@uniqu/core";
4
- import { ColumnDef, PaginationControl, SortControl, TableDef } from "@atscript/ui";
5
- import { AsPresetEntryRow, AspectMask, ColumnWidthsMap, ConfigTab, FieldFilters, PresetAspect, PresetCapabilities, PresetSnapshot, SelectionMode, SystemPreset, SystemPresetInput, TableStateMethods } from "@atscript/ui-table";
6
6
 
7
7
  //#region src/composables/state/intent-scope.d.ts
8
8
  interface ActionBuckets {
@@ -309,6 +309,19 @@ interface PresetConfig {
309
309
  draftScope?: MaybeRefOrGetter<string | undefined>;
310
310
  }
311
311
  type QueryErrorKind = "initial" | "query" | "queryNext" | "loadRange";
312
+ /**
313
+ * Tri-state for the multi-select header checkbox, measured against the rows
314
+ * the header acts on: the loaded rows in `<AsTable>`, every row in
315
+ * `<AsWindowTable>` (which shows the control only once all rows are loaded).
316
+ */
317
+ type SelectAllState = "none" | "some" | "all";
318
+ /**
319
+ * What toggles a row's selection by pointer (`:select-on` on `<AsTable>` /
320
+ * `<AsWindowTable>`): `"row"` — a click anywhere on the row (the default);
321
+ * `"control"` — only the row's checkbox, a row click just moves the active
322
+ * row. Space / Enter behave the same in both. Since 0.1.142.
323
+ */
324
+ type SelectOn = "row" | "control";
312
325
  /**
313
326
  * Context handed to the per-row hooks of `<AsTable>` (`rowSelectable`,
314
327
  * `rowClass`, `rowAttrs`). Since 0.1.133.
@@ -413,6 +426,28 @@ type TAsCellTypeComponents = {
413
426
  ref: Component; /** Synthesised row-actions pseudo-column (`:rowActionsColumn` opt-in). */
414
427
  __actions?: Component;
415
428
  } & Record<string, Component>;
429
+ /**
430
+ * What the table left out because it names a field outside the columns this
431
+ * caller can use — a field hidden from their role, or gone from the schema.
432
+ * Sent to `onFieldsDropped` / `@fields-dropped` once per apply, only when
433
+ * something was dropped. `fields` lists the unavailable paths; the other
434
+ * lists hold the dropped entries themselves.
435
+ *
436
+ * - `"preset"` — a preset applied (picker switch, reset, raw snapshot, and
437
+ * the bootstrap default with the local draft laid over it).
438
+ * - `"url"` — a restored URL (deep link, shared link, Back/Forward). Its
439
+ * dropped filter pieces are listed in `residual`, as whole expressions.
440
+ *
441
+ * State written straight to the model is not reported: the query leaves such
442
+ * fields out (a dev-mode warning names them once).
443
+ *
444
+ * @since 0.1.141
445
+ */
446
+ interface DroppedFieldsReport extends DroppedFields {
447
+ source: "preset" | "url";
448
+ /** The preset whose apply dropped the entries (`"preset"`). */
449
+ presetId?: string;
450
+ }
416
451
  /**
417
452
  * How `applyUrlQuery` treats filters and sorters the URL does not mention.
418
453
  * @since 0.1.137
@@ -568,13 +603,30 @@ interface ReactiveTableState extends TableStateMethods {
568
603
  /** How many of `rows` the `rowSelectable` predicate lets through. Since 0.1.133. */
569
604
  selectableCount: (rows: readonly Record<string, unknown>[]) => number;
570
605
  /**
571
- * Select every eligible row in `rows`. An ineligible row that is already
572
- * selected stays selected. `indexOf` maps a position in `rows` to the
573
- * index the `rowSelectable` predicate sees — windowed callers pass it
574
- * because their rows come from a cache keyed by absolute index.
575
- * Since 0.1.133.
606
+ * Add every eligible row in `rows` to the selection. Nothing already
607
+ * selected is dropped — rows outside `rows`, and an ineligible row that is
608
+ * already picked, stay. `indexOf` maps a position in `rows` to the index
609
+ * the `rowSelectable` predicate sees — windowed callers pass it because
610
+ * their rows come from a cache keyed by absolute index. Since 0.1.133.
576
611
  */
577
612
  selectAll: (rows: readonly Record<string, unknown>[], indexOf?: (position: number) => number) => void;
613
+ /**
614
+ * Remove every eligible row in `rows` from the selection. Selections
615
+ * outside `rows` stay, and so does a picked row the `rowSelectable`
616
+ * predicate rejects. Since 0.1.142.
617
+ */
618
+ deselectAll: (rows: readonly Record<string, unknown>[]) => void;
619
+ /**
620
+ * The header checkbox's action over `rows`: deselect them when every
621
+ * eligible one is selected, otherwise select them. Since 0.1.142.
622
+ */
623
+ toggleAll: (rows: readonly Record<string, unknown>[]) => void;
624
+ /**
625
+ * Empty the selection — every pk, whether or not its row is loaded or
626
+ * eligible. The header checkbox only ever acts on loaded rows; this is the
627
+ * real clear. Since 0.1.142.
628
+ */
629
+ clearSelection: () => void;
578
630
  /** Column currently open in the filter dialog (null when closed). */
579
631
  filterDialogColumn: Ref<ColumnDef | null>;
580
632
  /** Absolute index of the keyboard-active row. -1 = nothing active. */
@@ -803,8 +855,21 @@ interface PresetSurface {
803
855
  available: ComputedRef<boolean>;
804
856
  /** Currently active preset id (system `'sys:*'` or stored). null = no active. */
805
857
  activeId: Ref<string | null>;
806
- /** Active preset's snapshot (system presets are aspect-expanded). */
858
+ /**
859
+ * Active preset's snapshot (system presets are aspect-expanded), pruned of
860
+ * fields this caller cannot use — what applying it wrote. The stored row
861
+ * is never rewritten. Since 0.1.142 it is canonical, spelled the way
862
+ * `captureSnapshot()` spells table state: no width equal to its column's
863
+ * default, no filter field with nothing filled.
864
+ */
807
865
  activeSnapshot: ComputedRef<PresetSnapshot>;
866
+ /**
867
+ * What the active preset names that this caller cannot use — left out
868
+ * when it was applied — or `null`. Derived from the stored preset, so it
869
+ * follows the active id. `<AsPresetPicker>` shows a quiet note while set.
870
+ * Since 0.1.141.
871
+ */
872
+ droppedFields: ComputedRef<DroppedFieldsReport | null>;
808
873
  /** True when the current snapshot ≠ active preset's claimed aspects. */
809
874
  isDirty: ComputedRef<boolean>;
810
875
  /** True iff the active preset is owned by the current user (gates Save). */
@@ -830,7 +895,11 @@ interface PresetSurface {
830
895
  * if it still references a known preset, else `STANDARD_PRESET_ID`.
831
896
  */
832
897
  resolveDefaultId: () => string;
833
- /** Re-capture the active preset's existing aspect mask. Never widens. */
898
+ /**
899
+ * Re-capture the active preset's existing aspect mask. Never widens.
900
+ * Entries on fields this caller cannot use (`droppedFields`) are appended
901
+ * back after the visible ones, so they survive the overwrite.
902
+ */
834
903
  saveActive: () => Promise<void>;
835
904
  /** Create a new preset and switch the active id to it. */
836
905
  saveAs: (label: string, opts?: {
@@ -868,4 +937,4 @@ interface PresetSurface {
868
937
  lastError: Ref<Error | null>;
869
938
  }
870
939
  //#endregion
871
- export { TAsTableControls as C, extractIdentifier as D, TableNavBridge as E, TAsCellTypeComponents as S, TableActionsState as T, RowClassHook as _, ConfirmOptions as a, RowSelectableHook as b, LocalRowAction as c, PresetConfig as d, QueryErrorKind as f, RowAttrsHook as g, RowActionsConfig as h, ConfigTab as i, MainActionRequest as l, RowActionsColumnPlacement as m, ApplyUrlQueryOptions as n, EnterAction as o, ReactiveTableState as p, ColumnMenuConfig as r, InvokeOpts as s, ActionResult as t, NavKeyOptions as u, RowDeleteOpt as v, TVueTableActionInfo as w, RowSelectableVerdict as x, RowHookContext as y };
940
+ export { extractIdentifier as A, SelectAllState as C, TVueTableActionInfo as D, TAsTableControls as E, TableActionsState as O, RowSelectableVerdict as S, TAsCellTypeComponents as T, RowAttrsHook as _, ConfirmOptions as a, RowHookContext as b, InvokeOpts as c, NavKeyOptions as d, PresetConfig as f, RowActionsConfig as g, RowActionsColumnPlacement as h, ConfigTab as i, TableNavBridge as k, LocalRowAction as l, ReactiveTableState as m, ApplyUrlQueryOptions as n, DroppedFieldsReport as o, QueryErrorKind as p, ColumnMenuConfig as r, EnterAction as s, ActionResult as t, MainActionRequest as u, RowClassHook as v, SelectOn as w, RowSelectableHook as x, RowDeleteOpt as y };
@@ -1,8 +1,8 @@
1
- import { ColumnDef, PaginationControl, SortControl, TableDef } from "@atscript/ui";
2
1
  import { Component, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
3
- import { AsPresetEntryRow, AspectMask, ColumnWidthsMap, ConfigTab, FieldFilters, PresetAspect, PresetCapabilities, PresetSnapshot, SelectionMode, SystemPreset, SystemPresetInput, TableStateMethods } from "@atscript/ui-table";
2
+ import { ColumnDef, PaginationControl, SortControl, TableDef } from "@atscript/ui";
4
3
  import { ClientError, PageResult, TDbActionInfo, TDbActionProcessor, TDbDeleteResult } from "@atscript/db-client";
5
4
  import { FilterExpr, Uniquery } from "@uniqu/core";
5
+ import { AsPresetEntryRow, AspectMask, ColumnWidthsMap, ConfigTab, DroppedFields, FieldFilters, PresetAspect, PresetCapabilities, PresetSnapshot, SelectionMode, SystemPreset, SystemPresetInput, TableStateMethods } from "@atscript/ui-table";
6
6
 
7
7
  //#region src/composables/state/intent-scope.d.ts
8
8
  interface ActionBuckets {
@@ -309,6 +309,19 @@ interface PresetConfig {
309
309
  draftScope?: MaybeRefOrGetter<string | undefined>;
310
310
  }
311
311
  type QueryErrorKind = "initial" | "query" | "queryNext" | "loadRange";
312
+ /**
313
+ * Tri-state for the multi-select header checkbox, measured against the rows
314
+ * the header acts on: the loaded rows in `<AsTable>`, every row in
315
+ * `<AsWindowTable>` (which shows the control only once all rows are loaded).
316
+ */
317
+ type SelectAllState = "none" | "some" | "all";
318
+ /**
319
+ * What toggles a row's selection by pointer (`:select-on` on `<AsTable>` /
320
+ * `<AsWindowTable>`): `"row"` — a click anywhere on the row (the default);
321
+ * `"control"` — only the row's checkbox, a row click just moves the active
322
+ * row. Space / Enter behave the same in both. Since 0.1.142.
323
+ */
324
+ type SelectOn = "row" | "control";
312
325
  /**
313
326
  * Context handed to the per-row hooks of `<AsTable>` (`rowSelectable`,
314
327
  * `rowClass`, `rowAttrs`). Since 0.1.133.
@@ -413,6 +426,28 @@ type TAsCellTypeComponents = {
413
426
  ref: Component; /** Synthesised row-actions pseudo-column (`:rowActionsColumn` opt-in). */
414
427
  __actions?: Component;
415
428
  } & Record<string, Component>;
429
+ /**
430
+ * What the table left out because it names a field outside the columns this
431
+ * caller can use — a field hidden from their role, or gone from the schema.
432
+ * Sent to `onFieldsDropped` / `@fields-dropped` once per apply, only when
433
+ * something was dropped. `fields` lists the unavailable paths; the other
434
+ * lists hold the dropped entries themselves.
435
+ *
436
+ * - `"preset"` — a preset applied (picker switch, reset, raw snapshot, and
437
+ * the bootstrap default with the local draft laid over it).
438
+ * - `"url"` — a restored URL (deep link, shared link, Back/Forward). Its
439
+ * dropped filter pieces are listed in `residual`, as whole expressions.
440
+ *
441
+ * State written straight to the model is not reported: the query leaves such
442
+ * fields out (a dev-mode warning names them once).
443
+ *
444
+ * @since 0.1.141
445
+ */
446
+ interface DroppedFieldsReport extends DroppedFields {
447
+ source: "preset" | "url";
448
+ /** The preset whose apply dropped the entries (`"preset"`). */
449
+ presetId?: string;
450
+ }
416
451
  /**
417
452
  * How `applyUrlQuery` treats filters and sorters the URL does not mention.
418
453
  * @since 0.1.137
@@ -568,13 +603,30 @@ interface ReactiveTableState extends TableStateMethods {
568
603
  /** How many of `rows` the `rowSelectable` predicate lets through. Since 0.1.133. */
569
604
  selectableCount: (rows: readonly Record<string, unknown>[]) => number;
570
605
  /**
571
- * Select every eligible row in `rows`. An ineligible row that is already
572
- * selected stays selected. `indexOf` maps a position in `rows` to the
573
- * index the `rowSelectable` predicate sees — windowed callers pass it
574
- * because their rows come from a cache keyed by absolute index.
575
- * Since 0.1.133.
606
+ * Add every eligible row in `rows` to the selection. Nothing already
607
+ * selected is dropped — rows outside `rows`, and an ineligible row that is
608
+ * already picked, stay. `indexOf` maps a position in `rows` to the index
609
+ * the `rowSelectable` predicate sees — windowed callers pass it because
610
+ * their rows come from a cache keyed by absolute index. Since 0.1.133.
576
611
  */
577
612
  selectAll: (rows: readonly Record<string, unknown>[], indexOf?: (position: number) => number) => void;
613
+ /**
614
+ * Remove every eligible row in `rows` from the selection. Selections
615
+ * outside `rows` stay, and so does a picked row the `rowSelectable`
616
+ * predicate rejects. Since 0.1.142.
617
+ */
618
+ deselectAll: (rows: readonly Record<string, unknown>[]) => void;
619
+ /**
620
+ * The header checkbox's action over `rows`: deselect them when every
621
+ * eligible one is selected, otherwise select them. Since 0.1.142.
622
+ */
623
+ toggleAll: (rows: readonly Record<string, unknown>[]) => void;
624
+ /**
625
+ * Empty the selection — every pk, whether or not its row is loaded or
626
+ * eligible. The header checkbox only ever acts on loaded rows; this is the
627
+ * real clear. Since 0.1.142.
628
+ */
629
+ clearSelection: () => void;
578
630
  /** Column currently open in the filter dialog (null when closed). */
579
631
  filterDialogColumn: Ref<ColumnDef | null>;
580
632
  /** Absolute index of the keyboard-active row. -1 = nothing active. */
@@ -803,8 +855,21 @@ interface PresetSurface {
803
855
  available: ComputedRef<boolean>;
804
856
  /** Currently active preset id (system `'sys:*'` or stored). null = no active. */
805
857
  activeId: Ref<string | null>;
806
- /** Active preset's snapshot (system presets are aspect-expanded). */
858
+ /**
859
+ * Active preset's snapshot (system presets are aspect-expanded), pruned of
860
+ * fields this caller cannot use — what applying it wrote. The stored row
861
+ * is never rewritten. Since 0.1.142 it is canonical, spelled the way
862
+ * `captureSnapshot()` spells table state: no width equal to its column's
863
+ * default, no filter field with nothing filled.
864
+ */
807
865
  activeSnapshot: ComputedRef<PresetSnapshot>;
866
+ /**
867
+ * What the active preset names that this caller cannot use — left out
868
+ * when it was applied — or `null`. Derived from the stored preset, so it
869
+ * follows the active id. `<AsPresetPicker>` shows a quiet note while set.
870
+ * Since 0.1.141.
871
+ */
872
+ droppedFields: ComputedRef<DroppedFieldsReport | null>;
808
873
  /** True when the current snapshot ≠ active preset's claimed aspects. */
809
874
  isDirty: ComputedRef<boolean>;
810
875
  /** True iff the active preset is owned by the current user (gates Save). */
@@ -830,7 +895,11 @@ interface PresetSurface {
830
895
  * if it still references a known preset, else `STANDARD_PRESET_ID`.
831
896
  */
832
897
  resolveDefaultId: () => string;
833
- /** Re-capture the active preset's existing aspect mask. Never widens. */
898
+ /**
899
+ * Re-capture the active preset's existing aspect mask. Never widens.
900
+ * Entries on fields this caller cannot use (`droppedFields`) are appended
901
+ * back after the visible ones, so they survive the overwrite.
902
+ */
834
903
  saveActive: () => Promise<void>;
835
904
  /** Create a new preset and switch the active id to it. */
836
905
  saveAs: (label: string, opts?: {
@@ -868,4 +937,4 @@ interface PresetSurface {
868
937
  lastError: Ref<Error | null>;
869
938
  }
870
939
  //#endregion
871
- export { TAsTableControls as C, extractIdentifier as D, TableNavBridge as E, TAsCellTypeComponents as S, TableActionsState as T, RowClassHook as _, ConfirmOptions as a, RowSelectableHook as b, LocalRowAction as c, PresetConfig as d, QueryErrorKind as f, RowAttrsHook as g, RowActionsConfig as h, ConfigTab as i, MainActionRequest as l, RowActionsColumnPlacement as m, ApplyUrlQueryOptions as n, EnterAction as o, ReactiveTableState as p, ColumnMenuConfig as r, InvokeOpts as s, ActionResult as t, NavKeyOptions as u, RowDeleteOpt as v, TVueTableActionInfo as w, RowSelectableVerdict as x, RowHookContext as y };
940
+ export { extractIdentifier as A, SelectAllState as C, TVueTableActionInfo as D, TAsTableControls as E, TableActionsState as O, RowSelectableVerdict as S, TAsCellTypeComponents as T, RowAttrsHook as _, ConfirmOptions as a, RowHookContext as b, InvokeOpts as c, NavKeyOptions as d, PresetConfig as f, RowActionsConfig as g, RowActionsColumnPlacement as h, ConfigTab as i, TableNavBridge as k, LocalRowAction as l, ReactiveTableState as m, ApplyUrlQueryOptions as n, DroppedFieldsReport as o, QueryErrorKind as p, ColumnMenuConfig as r, EnterAction as s, ActionResult as t, MainActionRequest as u, RowClassHook as v, SelectOn as w, RowSelectableHook as x, RowDeleteOpt as y };
@@ -1,4 +1,4 @@
1
- import { c as DEFAULT_AVAILABLE_ASPECTS, n as createTableState, r as provideTableContext } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { l as DEFAULT_AVAILABLE_ASPECTS, n as createTableState, r as provideTableContext } from "./use-table-state-Cq-3tbVr.mjs";
2
2
  import { n as useTableSelection } from "./use-table-selection-ULbKT2xW.mjs";
3
3
  import { createTableDef, getMetaEntry, resetMetaCache } from "@atscript/ui";
4
4
  import { computed, inject, isRef, ref, shallowRef, toValue, watch } from "vue";
@@ -435,7 +435,8 @@ function useTable(url, opts) {
435
435
  urlQueryReady: opts?.urlQueryReady,
436
436
  onUrlQueryChange: opts?.onUrlQueryChange,
437
437
  urlQuerySync: opts?.urlQuerySync,
438
- onUnsupportedFilter: opts?.onUnsupportedFilter
438
+ onUnsupportedFilter: opts?.onUnsupportedFilter,
439
+ onFieldsDropped: opts?.onFieldsDropped
439
440
  },
440
441
  window: {
441
442
  blockSize: opts?.blockSize,
@@ -1,4 +1,4 @@
1
- import { D as ROW_ACTIONS_PATH, O as ROW_ACTIONS_TYPE } from "./use-table-state-BzjbnpBA.mjs";
1
+ import { A as ROW_ACTIONS_PATH, j as ROW_ACTIONS_TYPE } from "./use-table-state-Cq-3tbVr.mjs";
2
2
  import { computed, watch } from "vue";
3
3
  import { reorderColumnNames } from "@atscript/ui-table";
4
4
  //#region src/composables/use-row-actions-column.ts