@object-ui/plugin-list 17.6.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,102 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ /**
9
+ * A fetch window over local calendar days, spelled `YYYY-MM-DD`: `from` is the
10
+ * first day asked for and `to` the day after the last, so the window is
11
+ * half-open. Held as two strings so it is compared, stored and keyed by VALUE.
12
+ */
13
+ export interface CalendarWindow {
14
+ from: string;
15
+ to: string;
16
+ }
17
+ /** The range a calendar reports: local midnights, `end` exclusive. */
18
+ export interface CalendarVisibleRange {
19
+ start: Date;
20
+ end: Date;
21
+ }
22
+ /**
23
+ * The window to fetch for a reported range: the drawn days, widened by ONE day
24
+ * on each side.
25
+ *
26
+ * The widening is what makes a day-bounded comparison safe on every stored
27
+ * shape. A date-time is stored as a UTC instant, and the calendar places it on
28
+ * the LOCAL day it falls on; the two differ by up to fourteen hours, so an event
29
+ * at 01:00 on the first visible day in UTC+8 is stored on the previous UTC day
30
+ * and would fall outside an unwidened `from`. One day covers every offset, and a
31
+ * date-only value (`YYYY-MM-DD`, compared as written) is covered either way. The
32
+ * extra day on each side is fetched and not drawn: the grids place an event by
33
+ * its day, so a row outside the drawn days costs a row of the batch and nothing
34
+ * on screen.
35
+ */
36
+ export declare function calendarWindowFor(range: CalendarVisibleRange): CalendarWindow;
37
+ /**
38
+ * The window to fetch before the calendar has reported any range: one that
39
+ * covers whatever month grid it can open on today.
40
+ *
41
+ * The hosted calendar opens on today, in the month view (`ListView` hands it no
42
+ * date and no `defaultView`). Its month grid is six weeks that open on the
43
+ * locale's first day of the week, so it starts at most six days before the 1st
44
+ * and ends at most fourteen days after the last day of the month (a 28-day
45
+ * month that opens on the week's first day). Covering that bound means this
46
+ * window holds every day of the grid whatever the locale, so the calendar's
47
+ * first report, which is the exact grid, falls inside it and asks for nothing
48
+ * more. It also means a list view always has a window to fetch: one whose
49
+ * calendar never reports a range (a host's own `object-calendar` renderer)
50
+ * still draws today's month instead of nothing.
51
+ */
52
+ export declare function initialCalendarWindow(now?: Date): CalendarWindow;
53
+ /** Does `outer` hold every day of `inner`? (`YYYY-MM-DD` compares as written.) */
54
+ export declare function calendarWindowCovers(outer: CalendarWindow, inner: CalendarWindow): boolean;
55
+ /**
56
+ * The filter node that selects a window's records on the calendar's date
57
+ * field(s), plus the records that have no start date at all.
58
+ *
59
+ * - Without an end field, an event is a day: its start falls in the window.
60
+ * - With one, an event is a span, and it is drawn on every day it touches, so
61
+ * it is selected when it starts before the window ends AND either starts or
62
+ * ends inside the window or after it opens. A span with no end is a day
63
+ * again, which the `start >= from` arm covers.
64
+ * - ⛔ The records with NO start date are selected too. They are not on the
65
+ * grid: `ObjectCalendar` counts them under the grid in its "Unscheduled"
66
+ * area, which exists so that their absence from the grid is said rather
67
+ * than silent (`bc5870c9f`). A window on the start field alone would drop
68
+ * every one of them, and the area with them.
69
+ *
70
+ * Built in the filter AST the rest of this package sends (`mergeFilterNodes`
71
+ * joins it to the view's own filter under one `and`): `and` / `or` heads and
72
+ * `[field, operator, value]` triples, `is_null` as a 2-tuple. The bounds are
73
+ * `YYYY-MM-DD` strings, the spelling the date macros resolve to.
74
+ */
75
+ export declare function calendarWindowFilter(window: CalendarWindow, startField: string, endField?: string): unknown[];
76
+ /** What {@link fetchCalendarWindow} brings back. */
77
+ export interface CalendarWindowRows {
78
+ /**
79
+ * The window's records, at most {@link NON_GRID_ROW_CEILING} + 1: the walk
80
+ * stops one row past the ceiling, the probe row `applyNonGridRowCeiling`
81
+ * reads truncation from.
82
+ */
83
+ data: any[];
84
+ /** The window's size when the adapter reported one (`QueryResult.total`). */
85
+ total?: number;
86
+ }
87
+ /**
88
+ * Walk a window in fetch-batch steps: `$top` is the batch (or the rows still
89
+ * wanted, at the end), `$skip` moves by what came back, and the walk stops at
90
+ * the first short batch or one row past the ceiling.
91
+ *
92
+ * ⛔ The step is the batch, never a bigger `$top`: the batch is the unit the
93
+ * protocol is asked in (objectui#9853), and the ceiling is a stop condition,
94
+ * not a request size.
95
+ *
96
+ * `extract` reads the rows out of one answer: the caller's own reader, so the
97
+ * walk accepts exactly the envelopes the caller's single fetch accepts.
98
+ * `isCurrent` is asked after every answer: when it says no, a newer request
99
+ * owns the screen and the walk returns `null` without asking for more.
100
+ */
101
+ export declare function fetchCalendarWindow(find: (params: Record<string, unknown>) => Promise<unknown>, params: Record<string, unknown>, batch: number, extract: (result: unknown) => any[], isCurrent: () => boolean): Promise<CalendarWindowRows | null>;
102
+ //# sourceMappingURL=calendarWindow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendarWindow.d.ts","sourceRoot":"","sources":["../src/calendarWindow.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,sEAAsE;AACtE,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX;AAiBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,oBAAoB,GAAG,cAAc,CAE7E;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,GAAE,IAAiB,GAAG,cAAc,CAI5E;AAED,kFAAkF;AAClF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAE1F;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,MAAM,EAClB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,EA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CAAC,WAAW,CAsE9C,CAAC"}
1
+ {"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../src/components/TabBar.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqDD;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6DxC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyE9C,CAAC"}
@@ -1,23 +1,25 @@
1
1
  /**
2
- * ViewSettingsPopover
2
+ * ViewSettingsPopover — the list toolbar's "Display" control.
3
3
  *
4
- * UX Sprint 2 (P1-4): consolidates four small toolbar controls that the
5
- * UX audit flagged as "too many top-level chips":
6
- * - Group by
7
- * - Row color
4
+ * Since objectui#12423 this is the DEFAULT desktop shape of the list toolbar:
5
+ * the bar keeps Filter, Sort, Display and Search, and everything else sits
6
+ * here, in this order —
7
+ * - Layout (the visualization switcher; only when the list offers a choice)
8
+ * - Group, Row color, Hide fields
8
9
  * - Density
9
- * - Hide fields
10
+ * - Row numbers (a session-only switch, grid only)
11
+ * - Edit inline (a switch, grid only, when the principal may edit)
12
+ * - footer: Reset to view default · Refresh · Export
10
13
  *
11
- * into a single "View settings" popover keyed by a gear icon. Filter and
12
- * Sort remain top-level because they're primary data operations, but the
13
- * appearance/grouping cluster collapses behind one trigger that opens an
14
- * accordion-style sheet.
14
+ * It began as UX Sprint 2 (P1-4)'s "View settings" gear behind
15
+ * `compactToolbar: true`; the wide form — one toolbar button per control — is
16
+ * what a host gets with `compactToolbar: false`, and ListView.tsx keeps it.
17
+ * Content is duplicated between the two forms: change one, change both.
15
18
  *
16
- * Implementation notes:
17
- * - Each section is collapsible (default open) so users can focus on one.
18
- * - Content is duplicated from the original inline popovers; if you change
19
- * behavior, update both this and the legacy code path in ListView.tsx
20
- * (kept behind `appearance.compactToolbar: false` for back-compat).
19
+ * Every control persists exactly what its wide-form twin persists; this
20
+ * component writes nothing itself. The trigger's count is the number of
21
+ * settings that differ from the view's own (the host computes it), and Reset
22
+ * hands every one of them back.
21
23
  *
22
24
  * @module
23
25
  */
@@ -33,6 +35,14 @@ export interface ViewSettingsDensity {
33
35
  export interface ViewSettingsPopoverProps {
34
36
  t: (key: string, opts?: any) => string;
35
37
  allFields: ViewSettingsField[];
38
+ /**
39
+ * The Layout row: the visualization switcher. The host passes it only when
40
+ * the list offers more than one visualization, as a function of `closeMenu`:
41
+ * choosing a layout completes the choice, so the host's switcher calls
42
+ * `closeMenu` when a layout is picked (objectui#12621). The panel's toggles
43
+ * (row numbers, inline edit, density, hidden fields) never close it.
44
+ */
45
+ layout?: (closeMenu: () => void) => React.ReactNode;
36
46
  showGroup?: boolean;
37
47
  groupingConfig?: any;
38
48
  setGroupingConfig?: (next: any) => void;
@@ -50,10 +60,37 @@ export interface ViewSettingsPopoverProps {
50
60
  showHideFields?: boolean;
51
61
  hiddenFields?: Set<string>;
52
62
  updateHiddenFields?: (next: Set<string>) => void;
53
- /** Record editing — toggle inline cell editing (persists `inlineEdit` on the view). */
63
+ /**
64
+ * Row numbers on the grid's leading cell — a session-only setting the host
65
+ * holds in memory (objectui#12423). Offered only when `setRowNumbers` is.
66
+ */
67
+ rowNumbers?: boolean;
68
+ setRowNumbers?: (next: boolean) => void;
69
+ /**
70
+ * Record editing — toggle the grid's inline-edit mode. `setInlineEdit` hands
71
+ * the change to the host, which decides what it does with it; the console
72
+ * keeps it session-only and writes nothing to the view (objectui#5144,
73
+ * ruling E).
74
+ */
54
75
  showInlineEdit?: boolean;
55
76
  inlineEdit?: boolean;
56
77
  setInlineEdit?: (next: boolean) => void;
78
+ /**
79
+ * How many of the settings above differ from the view's own. Drawn as the
80
+ * trigger's count; zero draws none. The host computes it — only it knows
81
+ * what the view declared.
82
+ */
83
+ changedCount?: number;
84
+ /** Hand every changed setting back to the view's own. Drawn when wired. */
85
+ onReset?: () => void;
86
+ /** Footer: re-fetch the list. Drawn when wired. */
87
+ onRefresh?: () => void;
88
+ refreshing?: boolean;
89
+ /** Footer: one export entry per format. Drawn when there is a format. */
90
+ exportFormats?: string[];
91
+ onExport?: (format: string) => void;
92
+ exportBusy?: boolean;
93
+ exportError?: string | null;
57
94
  }
58
95
  export declare function ViewSettingsPopover(props: ViewSettingsPopoverProps): React.JSX.Element;
59
96
  //# sourceMappingURL=ViewSettingsPopover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewSettingsPopover.d.ts","sourceRoot":"","sources":["../../src/components/ViewSettingsPopover.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;IAC7C,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IACvC,SAAS,EAAE,iBAAi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,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AA4HD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,qBA2QlE"}
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { ListView } from './ListView';
2
- import { ListViewBlock } from './ListViewBlock';
3
- import { ViewSwitcher } from './ViewSwitcher';
4
- import { ObjectGallery } from './ObjectGallery';
1
+ import { ListView } from './ListView.js';
2
+ import { ListViewBlock } from './ListViewBlock.js';
3
+ import { ViewSwitcher } from './ViewSwitcher.js';
4
+ import { ObjectGallery } from './ObjectGallery.js';
5
5
  export { ListView, ListViewBlock, ViewSwitcher, ObjectGallery };
6
- export { ViewSwitcherDropdown } from './ViewSwitcher';
7
- export { TabBar, TabBarSelect } from './components/TabBar';
8
- export type { TabBarProps, ViewTab } from './components/TabBar';
9
- export { UserFilters } from './UserFilters';
10
- export type { UserFiltersProps } from './UserFilters';
11
- export { evaluateConditionalFormatting, normalizeFilterCondition, normalizeFilters } from './ListView';
12
- export { LIST_DEFAULT_TRANSLATIONS } from './ListView';
13
- export type { ListViewProps, ListViewHandle } from './ListView';
14
- export type { ObjectGalleryProps } from './ObjectGallery';
15
- export type { ViewSwitcherProps, ViewType } from './ViewSwitcher';
6
+ export { ViewSwitcherDropdown } from './ViewSwitcher.js';
7
+ export { TabBar, TabBarSelect } from './components/TabBar.js';
8
+ export type { TabBarProps, ViewTab } from './components/TabBar.js';
9
+ export { UserFilters } from './UserFilters.js';
10
+ export type { UserFiltersProps } from './UserFilters.js';
11
+ export { evaluateConditionalFormatting, normalizeFilterCondition, normalizeFilters } from './ListView.js';
12
+ export { LIST_DEFAULT_TRANSLATIONS } from './ListView.js';
13
+ export type { ListViewProps, ListViewHandle } from './ListView.js';
14
+ export type { ObjectGalleryProps } from './ObjectGallery.js';
15
+ export type { ListViewSwitcherProps } from './ViewSwitcher.js';
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,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