@bayonai/mui-design 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +57 -0
  3. package/dist/cjs/links/useLinkAddressPreview.js +17 -7
  4. package/dist/cjs/location/GeographicLocationField.js +49 -0
  5. package/dist/cjs/location/GoogleMapsAttribution.js +12 -0
  6. package/dist/cjs/location/MetadataValueField.js +23 -0
  7. package/dist/cjs/location/SearchInputAction.js +15 -0
  8. package/dist/cjs/location/VenueSearchDialog.js +99 -0
  9. package/dist/cjs/location/index.js +12 -0
  10. package/dist/cjs/pending/PendingChangesDialogView.js +43 -29
  11. package/dist/cjs/pricing/PricingTable.js +58 -0
  12. package/dist/cjs/pricing/index.js +6 -0
  13. package/dist/esm/links/useLinkAddressPreview.js +17 -7
  14. package/dist/esm/location/GeographicLocationField.js +43 -0
  15. package/dist/esm/location/GoogleMapsAttribution.js +9 -0
  16. package/dist/esm/location/MetadataValueField.js +20 -0
  17. package/dist/esm/location/SearchInputAction.js +9 -0
  18. package/dist/esm/location/VenueSearchDialog.js +96 -0
  19. package/dist/esm/location/index.js +5 -0
  20. package/dist/esm/pending/PendingChangesDialogView.js +43 -29
  21. package/dist/esm/pricing/PricingTable.js +52 -0
  22. package/dist/esm/pricing/index.js +2 -0
  23. package/dist/types/links/useLinkAddressPreview.d.ts +3 -1
  24. package/dist/types/location/GeographicLocationField.d.ts +26 -0
  25. package/dist/types/location/GoogleMapsAttribution.d.ts +1 -0
  26. package/dist/types/location/MetadataValueField.d.ts +7 -0
  27. package/dist/types/location/SearchInputAction.d.ts +8 -0
  28. package/dist/types/location/VenueSearchDialog.d.ts +32 -0
  29. package/dist/types/location/index.d.ts +4 -0
  30. package/dist/types/pending/PendingChangesDialogView.d.ts +1 -1
  31. package/dist/types/pending/types.d.ts +7 -0
  32. package/dist/types/pricing/PricingTable.d.ts +25 -0
  33. package/dist/types/pricing/index.d.ts +2 -0
  34. package/docs/pending-contract.md +11 -0
  35. package/package.json +11 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to `@bayonai/mui-design` will be documented in this file.
4
4
 
5
+ ## 1.3.0 (unreleased)
6
+
7
+ - Add reusable metadata value-row and explicit venue-search presentation.
8
+
9
+ ## 1.2.1 - 2026-11-12
10
+
11
+ - Pending group titles wrap without redundant tooltips, and each row accepts a host-owned `endAction`; open actions remain separate.
12
+
13
+ - A source link enters editing when its preview is already visible; a click on a closed preview opens it first, including when that click triggers focus.
14
+
15
+ ## 1.2.0 - 2026-11-08
16
+
17
+ - Pending change rows accept host-formatted `elapsedText` and display it in a compact secondary style. Navigation aligns with the first change and the title spacing is tighter.
18
+ - The optional `onDiscardRequest` and `discardLabel` add a summary action. The host owns item selection, confirmation, cancellation safety, and error handling.
19
+
5
20
  ## 1.1.0 candidate - 2026-11-05
6
21
 
7
22
  - Audit: thumbnail loaders handle synchronous failures with the existing fallback and show successful retries after an earlier failure.
package/README.md CHANGED
@@ -186,3 +186,60 @@ private presentation shim reuses the canonical MUI action and feedback component
186
186
  See the [camera/crop contract](docs/camera-crop-contract.md) for ownership,
187
187
  migration and the preserved behavioral suites. The version remains unpublished
188
188
  1.1.0; adoption requires owner-controlled paired publication and verification.
189
+
190
+ ## Pricing cards
191
+
192
+ `@bayonai/mui-design/pricing` exports `PricingTable`, a responsive card grid.
193
+ Supply plan IDs, labels, descriptions, prices, price notes, feature content,
194
+ optional badges and actions, a highlight flag, and presentation colors. The
195
+ caller owns pricing, availability, navigation, analytics and localization.
196
+
197
+ ### Pending change age and discard requests
198
+
199
+ `PendingChangesDialogView` accepts `elapsedText` on each row. The host formats
200
+ and refreshes that text from its own timestamp; the package does not read or
201
+ persist changes. An optional `onDiscardRequest` displays a summary icon (customize
202
+ its accessible label with `discardLabel`). The host owns selecting an item,
203
+ confirmation, safe cancellation, and error reporting. A supplied `contentHeader`
204
+ replaces the default summary and is responsible for its own actions.
205
+
206
+ Pending-change rows may provide `endAction` for a host-owned control, such as
207
+ a discard button. The host owns the action label, confirmation, authorization,
208
+ and persistence. Full group titles wrap without a redundant title tooltip; the
209
+ open action retains its accessible label and tooltip.
210
+
211
+ ### Location presentation
212
+
213
+ `@bayonai/mui-design/location` exposes `MetadataValueField`,
214
+ `VenueSearchDialog`, `GeographicLocationField`, and `SearchInputAction`. Supply an authorized `searchVenues`
215
+ callback to the dialog; its result labels and addresses are transient. The user
216
+ must explicitly search and select a result. Hosts provide credential handling,
217
+ rate limits, persistence, billing configuration, safe error policy, clipboard
218
+ behavior, and Maps attribution compliance. The dialog retains visible Google Maps
219
+ attribution for its Google predictions. Use `@bayonai/location` for portable
220
+ reference validation and server-side Google lookup.
221
+
222
+ ```tsx
223
+ import { GeographicLocationField } from "@bayonai/mui-design/location";
224
+ import { placeLocationMapsUrl } from "@bayonai/location";
225
+
226
+ <GeographicLocationField
227
+ value={location ? { label: venueName, mapsUrl: placeLocationMapsUrl(location, venueName) } : undefined}
228
+ placeName={venueName}
229
+ searchVenues={authorizedVenueSearch}
230
+ copyAction={copyControl}
231
+ onChange={saveLocationToDraft}
232
+ />
233
+ ```
234
+
235
+ The field calls the host-provided search function only after explicit action;
236
+ `onChange` supplies a selected Google Place ID or `undefined` for Clear. Hosts
237
+ may override field and picker copy while the Google Maps logo remains unchanged.
238
+ Only HTTPS Google Maps URLs are linked; invalid links display the label and a
239
+ safe console diagnostic instead. Hosts should retain prior values until their
240
+ own form's accepted save and implement any error/clipboard feedback policies.
241
+
242
+ The picker embeds the unmodified official Google Maps attribution logos from the
243
+ [Google attribution assets](https://developers.google.com/static/maps/documentation/images/Google_Maps_Attribution_Assets.zip).
244
+ Keep attribution visible and follow the [Places API policies](https://developers.google.com/maps/documentation/places/web-service/policies)
245
+ when presenting Google content.
@@ -10,7 +10,7 @@ const react_dom_1 = require("react-dom");
10
10
  * a validated destination. The source previews/edits; the card navigates. */
11
11
  function useLinkAddressPreview(enabled = true, onEdit) {
12
12
  const id = (0, react_1.useId)();
13
- const activated = (0, react_1.useRef)(null);
13
+ const pointerPreview = (0, react_1.useRef)(null);
14
14
  const [preview, setPreview] = (0, react_1.useState)(null);
15
15
  const closeTimer = (0, react_1.useRef)(null);
16
16
  const focusFrame = (0, react_1.useRef)(null);
@@ -22,7 +22,7 @@ function useLinkAddressPreview(enabled = true, onEdit) {
22
22
  function close() {
23
23
  cancelClose();
24
24
  setPreview(null);
25
- activated.current = null;
25
+ pointerPreview.current = null;
26
26
  }
27
27
  function contains(target) {
28
28
  var _a;
@@ -97,6 +97,12 @@ function useLinkAddressPreview(enabled = true, onEdit) {
97
97
  ? {
98
98
  "aria-controls": (preview === null || preview === void 0 ? void 0 : preview.href) === href ? id : undefined,
99
99
  "aria-keyshortcuts": "ArrowDown",
100
+ onPointerDown: (event) => {
101
+ pointerPreview.current = {
102
+ anchor: event.currentTarget,
103
+ visible: (preview === null || preview === void 0 ? void 0 : preview.anchor) === event.currentTarget,
104
+ };
105
+ },
100
106
  onMouseEnter: (event) => show(event.currentTarget, href, label),
101
107
  onMouseLeave: scheduleClose,
102
108
  onFocus: (event) => show(event.currentTarget, href, label),
@@ -121,6 +127,7 @@ function useLinkAddressPreview(enabled = true, onEdit) {
121
127
  : {};
122
128
  },
123
129
  onClick(event, href, label) {
130
+ var _a;
124
131
  event.stopPropagation();
125
132
  if (!enabled ||
126
133
  event.metaKey ||
@@ -129,16 +136,19 @@ function useLinkAddressPreview(enabled = true, onEdit) {
129
136
  event.altKey ||
130
137
  event.button !== 0)
131
138
  return;
132
- // The source is an editing affordance after preview; the card owns navigation.
139
+ // Product decision: an already visible preview makes its source editable.
140
+ // Capture pointer state before click-induced focus can reveal the preview.
141
+ const wasVisible = event.detail > 0 &&
142
+ ((_a = pointerPreview.current) === null || _a === void 0 ? void 0 : _a.anchor) === event.currentTarget
143
+ ? pointerPreview.current.visible
144
+ : (preview === null || preview === void 0 ? void 0 : preview.anchor) === event.currentTarget;
145
+ pointerPreview.current = null;
133
146
  event.preventDefault();
134
- if ((preview === null || preview === void 0 ? void 0 : preview.anchor) === event.currentTarget &&
135
- activated.current === event.currentTarget &&
136
- onEdit) {
147
+ if (wasVisible && onEdit) {
137
148
  close();
138
149
  onEdit();
139
150
  }
140
151
  else {
141
- activated.current = event.currentTarget;
142
152
  show(event.currentTarget, href, label);
143
153
  }
144
154
  },
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ "use client";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.GeographicLocationField = GeographicLocationField;
8
+ const jsx_runtime_1 = require("react/jsx-runtime");
9
+ const AddLocationAltOutlined_1 = __importDefault(require("@mui/icons-material/AddLocationAltOutlined"));
10
+ const EditLocationAltOutlined_1 = __importDefault(require("@mui/icons-material/EditLocationAltOutlined"));
11
+ const Clear_1 = __importDefault(require("@mui/icons-material/Clear"));
12
+ const material_1 = require("@mui/material");
13
+ const react_1 = require("react");
14
+ const MetadataValueField_js_1 = require("./MetadataValueField.js");
15
+ const VenueSearchDialog_js_1 = require("./VenueSearchDialog.js");
16
+ const defaultCopy = {
17
+ fieldLabel: "Geographic location",
18
+ empty: "No location selected",
19
+ choose: "Choose venue",
20
+ change: "Change venue",
21
+ clear: "Clear location",
22
+ openMaps: (label) => `Open in Google Maps: ${label}`,
23
+ };
24
+ function isGoogleMapsUrl(value) {
25
+ try {
26
+ const url = new URL(value);
27
+ return (url.protocol === "https:" &&
28
+ (url.hostname === "maps.google.com" ||
29
+ (["google.com", "www.google.com"].includes(url.hostname) &&
30
+ url.pathname.startsWith("/maps"))));
31
+ }
32
+ catch {
33
+ return false;
34
+ }
35
+ }
36
+ /** Host adapters supply persisted values, copy behavior and an authorized lookup. */
37
+ function GeographicLocationField({ value, placeName = "", disabled = false, canSearch = true, copyAction, copy, pickerCopy, searchVenues, onChange, }) {
38
+ const [editing, setEditing] = (0, react_1.useState)(false);
39
+ const labels = { ...defaultCopy, ...copy };
40
+ const safeMapUrl = value && isGoogleMapsUrl(value.mapsUrl);
41
+ (0, react_1.useEffect)(() => {
42
+ if (value && !safeMapUrl)
43
+ console.error("[Geographic location] Invalid Maps URL; displaying the label without a link.");
44
+ }, [value, safeMapUrl]);
45
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(MetadataValueField_js_1.MetadataValueField, { label: labels.fieldLabel, actions: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [value && safeMapUrl ? copyAction : null, onChange ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: value ? labels.change : labels.choose, children: (0, jsx_runtime_1.jsx)("span", { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", disabled: disabled, "aria-label": value ? labels.change : labels.choose, onClick: () => setEditing(true), children: value ? ((0, jsx_runtime_1.jsx)(EditLocationAltOutlined_1.default, { fontSize: "small" })) : ((0, jsx_runtime_1.jsx)(AddLocationAltOutlined_1.default, { fontSize: "small" })) }) }) }), value ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: labels.clear, children: (0, jsx_runtime_1.jsx)("span", { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", disabled: disabled, "aria-label": labels.clear, onClick: () => onChange(undefined), children: (0, jsx_runtime_1.jsx)(Clear_1.default, { fontSize: "small" }) }) }) })) : null] })) : null] }), children: value && safeMapUrl ? ((0, jsx_runtime_1.jsx)(material_1.Link, { href: value.mapsUrl, target: "_blank", rel: "noopener noreferrer", "aria-label": labels.openMaps(value.label), sx: { flex: 1, overflowWrap: "anywhere", minWidth: 0 }, children: value.label })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { flex: 1, minWidth: 0 }, color: value ? undefined : "text.secondary", children: value ? value.label : labels.empty })) }), editing && !disabled ? ((0, jsx_runtime_1.jsx)(VenueSearchDialog_js_1.VenueSearchDialog, { placeName: placeName, copy: pickerCopy, canSearch: canSearch, searchVenues: searchVenues, onClose: () => setEditing(false), onChange: (selected) => {
46
+ onChange === null || onChange === void 0 ? void 0 : onChange(selected);
47
+ setEditing(false);
48
+ } })) : null] }));
49
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ "use client";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GoogleMapsAttribution = GoogleMapsAttribution;
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ const material_1 = require("@mui/material");
7
+ // Official Google Maps attribution assets; bytes are kept unmodified.
8
+ const whiteLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjUuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSI5OHB4IiBoZWlnaHQ9IjE4cHgiIHZpZXdCb3g9IjAgMCA5OCAxOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgOTggMTgiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik03LjA4LDEzLjk2Yy0xLjkzLDAtMy41OS0wLjY4LTQuOTktMi4wNUMwLjcsMTAuNTQsMCw4LjksMCw2Ljk4YzAtMS45MiwwLjctMy41NiwyLjA5LTQuOTMKCQlDMy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LTAuODVjMC0wLjU0LTAuMzgtMC45MS0xLjE0LTEuMTFsLTEuNjktMC40MWMtMC41My0wLjE0LTEuMDQtMC4zOS0xLjUyLTAuNzcKCQljLTAuNDgtMC4zOC0wLjcyLTAuODktMC43Mi0xLjU0YzAtMC43NCwwLjMzLTEuMzQsMC45OC0xLjhjMC42NS0wLjQ2LDEuNDMtMC42OSwyLjMyLTAuNjljMC43NCwwLDEuNCwwLjE3LDEuOTgsMC41CgkJYzAuNTgsMC4zNCwwLjk5LDAuODEsMS4yNCwxLjQ0TDk2LjUsNy41OGMtMC4zMS0wLjc0LTAuOTQtMS4xMS0xLjkxLTEuMTFjLTAuNDcsMC0wLjg2LDAuMS0xLjE4LDAuMjkKCQljLTAuMzIsMC4xOS0wLjQ4LDAuNDUtMC40OCwwLjc4YzAsMC40OCwwLjM3LDAuOCwxLjExLDAuOTdsMS42NSwwLjM5YzAuNzgsMC4xOCwxLjM2LDAuNDksMS43NCwwLjk0YzAuMzcsMC40NCwwLjU2LDAuOTQsMC41NiwxLjUKCQljMCwwLjc1LTAuMzEsMS4zNy0wLjkyLDEuODdDOTYuNDcsMTMuNzEsOTUuNjgsMTMuOTYsOTQuNzEsMTMuOTZ6Ii8+CjwvZz4KPC9zdmc+Cg==";
10
+ function GoogleMapsAttribution() {
11
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, { component: "span", "data-google-maps-attribution": "true", sx: { display: "block", pt: "10px", px: "10px", pb: "5px" }, children: [(0, jsx_runtime_1.jsx)(material_1.Box, { component: "img", alt: "Google Maps", src: darkLogo, sx: { display: (theme) => theme.palette.mode === "light" ? "block" : "none", width: "auto", height: 16 } }), (0, jsx_runtime_1.jsx)(material_1.Box, { component: "img", alt: "Google Maps", src: whiteLogo, sx: { display: (theme) => theme.palette.mode === "dark" ? "block" : "none", width: "auto", height: 16 } })] }));
12
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ "use client";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MetadataValueField = MetadataValueField;
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ const material_1 = require("@mui/material");
7
+ /** Compact label/value row; consumers own actions, wording and persistence. */
8
+ function MetadataValueField({ label, children, actions, }) {
9
+ return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 0.25, sx: { minWidth: 0 }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { component: "span", variant: "caption", sx: {
10
+ color: "text.secondary",
11
+ fontSize: "0.75rem",
12
+ fontWeight: 700,
13
+ letterSpacing: "0.04em",
14
+ lineHeight: 1.2,
15
+ textTransform: "uppercase",
16
+ }, children: label }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 0.5, sx: {
17
+ alignItems: "center",
18
+ borderBottom: 1,
19
+ borderColor: "divider",
20
+ minHeight: 40,
21
+ minWidth: 0,
22
+ }, children: [(0, jsx_runtime_1.jsx)(material_1.Box, { sx: { flex: 1, minWidth: 0, overflowWrap: "anywhere" }, children: children }), actions] })] }));
23
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ "use client";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SearchInputAction = SearchInputAction;
8
+ const jsx_runtime_1 = require("react/jsx-runtime");
9
+ const Search_1 = __importDefault(require("@mui/icons-material/Search"));
10
+ const material_1 = require("@mui/material");
11
+ const LoadingIconButton_js_1 = require("../actions/LoadingIconButton.js");
12
+ /** Shared trailing action for search text fields; typing never starts a lookup. */
13
+ function SearchInputAction({ label, loadingLabel, loading = false, disabled = false, onSearch, }) {
14
+ return ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "end", children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: loading ? loadingLabel : label, children: (0, jsx_runtime_1.jsx)("span", { children: (0, jsx_runtime_1.jsx)(LoadingIconButton_js_1.LoadingIconButton, { "aria-label": label, loadingLabel: loadingLabel, loading: loading, disabled: disabled, onClick: onSearch, type: "button", edge: "end", children: (0, jsx_runtime_1.jsx)(Search_1.default, {}) }) }) }) }));
15
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ "use client";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.VenueSearchDialog = VenueSearchDialog;
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ const material_1 = require("@mui/material");
7
+ const react_1 = require("react");
8
+ const DialogActionButtons_js_1 = require("../actions/DialogActionButtons.js");
9
+ const StatusNotice_js_1 = require("../feedback/StatusNotice.js");
10
+ const SearchInputAction_js_1 = require("./SearchInputAction.js");
11
+ const GoogleMapsAttribution_js_1 = require("./GoogleMapsAttribution.js");
12
+ const defaultCopy = {
13
+ title: "Choose a venue",
14
+ close: "Close venue search",
15
+ queryLabel: "Venue name",
16
+ queryHelp: "Add a city or country to narrow the matches.",
17
+ queryTooLong: "Use a shorter venue name (up to 200 characters).",
18
+ search: "Search venues",
19
+ searching: "Searching venues",
20
+ loading: "Finding venues…",
21
+ resultsLabel: "Matching venues",
22
+ chooseResult: "Select the right venue, or adjust the name and search again.",
23
+ noResults: "No venues found. Add a city or country to the name and search again.",
24
+ failure: "Couldn't load venues. Your current location is unchanged.",
25
+ };
26
+ function VenueSearchDialog({ placeName = "", canSearch = true, searchVenues, copy, onClose, onChange, }) {
27
+ const titleId = (0, react_1.useId)();
28
+ const labels = { ...defaultCopy, ...copy };
29
+ const [query, setQuery] = (0, react_1.useState)(placeName);
30
+ const [venues, setVenues] = (0, react_1.useState)(null);
31
+ const [pending, setPending] = (0, react_1.useState)(false);
32
+ const [message, setMessage] = (0, react_1.useState)(null);
33
+ const generation = (0, react_1.useRef)(0);
34
+ const busy = (0, react_1.useRef)(false);
35
+ (0, react_1.useEffect)(() => () => {
36
+ generation.current++;
37
+ }, []);
38
+ async function search() {
39
+ const name = query.trim();
40
+ if (busy.current || !canSearch || name.length < 2 || name.length > 200)
41
+ return;
42
+ const current = ++generation.current;
43
+ busy.current = true;
44
+ setPending(true);
45
+ setMessage(null);
46
+ setVenues(null);
47
+ try {
48
+ // A deliberate Search is one billable lookup. Never search per keystroke,
49
+ // auto-select the first prediction, or persist Google's returned address.
50
+ const result = await searchVenues(name);
51
+ if (current === generation.current)
52
+ setVenues(result);
53
+ }
54
+ catch (error) {
55
+ if (current === generation.current) {
56
+ console.error("[Place venue search] Could not load venue choices; the selected location is unchanged.", { error });
57
+ setMessage(labels.failure);
58
+ }
59
+ }
60
+ finally {
61
+ if (current === generation.current) {
62
+ busy.current = false;
63
+ setPending(false);
64
+ }
65
+ }
66
+ }
67
+ return ((0, jsx_runtime_1.jsxs)(material_1.Dialog, { open: true, fullWidth: true, maxWidth: "sm", "aria-labelledby": titleId, onClose: onClose, children: [(0, jsx_runtime_1.jsxs)(material_1.DialogTitle, { sx: { pr: 7 }, children: [(0, jsx_runtime_1.jsx)("span", { id: titleId, children: labels.title }), (0, jsx_runtime_1.jsx)(GoogleMapsAttribution_js_1.GoogleMapsAttribution, {})] }), (0, jsx_runtime_1.jsx)(DialogActionButtons_js_1.DialogCloseButton, { label: labels.close, onClose: onClose }), (0, jsx_runtime_1.jsx)(material_1.DialogContent, { children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 2, sx: { pt: 1 }, children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { autoFocus: true, fullWidth: true, label: labels.queryLabel, value: query, error: query.trim().length > 200, helperText: query.trim().length > 200 ? labels.queryTooLong : labels.queryHelp, slotProps: {
68
+ htmlInput: { maxLength: 200 },
69
+ input: {
70
+ // Product decision: explicit search lives inside the field;
71
+ // Enter and this icon share one guarded request path.
72
+ endAdornment: ((0, jsx_runtime_1.jsx)(SearchInputAction_js_1.SearchInputAction, { label: labels.search, loadingLabel: labels.searching, loading: pending, disabled: !canSearch ||
73
+ query.trim().length < 2 ||
74
+ query.trim().length > 200, onSearch: () => void search() })),
75
+ },
76
+ }, onChange: (event) => {
77
+ generation.current++;
78
+ busy.current = false;
79
+ setPending(false);
80
+ setQuery(event.target.value);
81
+ setVenues(null);
82
+ setMessage(null);
83
+ }, onKeyDown: (event) => {
84
+ if (event.key === "Enter" && !event.nativeEvent.isComposing) {
85
+ event.preventDefault();
86
+ void search();
87
+ }
88
+ } }), message ? (0, jsx_runtime_1.jsx)(StatusNotice_js_1.StatusNotice, { message: message, tone: "error" }) : null, (0, jsx_runtime_1.jsxs)("div", { "aria-live": "polite", "aria-busy": pending, children: [pending ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", color: "text.secondary", children: labels.loading })) : null, venues !== null ? ((0, jsx_runtime_1.jsx)(material_1.Stack, { spacing: 1, children: venues.length ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", children: labels.chooseResult }), (0, jsx_runtime_1.jsx)(material_1.List, { disablePadding: true, "aria-label": labels.resultsLabel, children: venues.map((venue) => ((0, jsx_runtime_1.jsx)(material_1.ListItemButton, { component: "button", type: "button", sx: {
89
+ width: "100%",
90
+ textAlign: "left",
91
+ borderRadius: 1,
92
+ }, onClick: () => onChange({
93
+ provider: "google",
94
+ placeId: venue.placeId,
95
+ }), children: (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: venue.name, secondary: venue.address, slotProps: {
96
+ primary: { sx: { overflowWrap: "anywhere" } },
97
+ secondary: { sx: { overflowWrap: "anywhere" } },
98
+ } }) }, venue.placeId))) })] })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", children: labels.noResults })) })) : null] })] }) })] }));
99
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ "use client";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GeographicLocationField = exports.MetadataValueField = exports.SearchInputAction = exports.VenueSearchDialog = void 0;
5
+ var VenueSearchDialog_js_1 = require("./VenueSearchDialog.js");
6
+ Object.defineProperty(exports, "VenueSearchDialog", { enumerable: true, get: function () { return VenueSearchDialog_js_1.VenueSearchDialog; } });
7
+ var SearchInputAction_js_1 = require("./SearchInputAction.js");
8
+ Object.defineProperty(exports, "SearchInputAction", { enumerable: true, get: function () { return SearchInputAction_js_1.SearchInputAction; } });
9
+ var MetadataValueField_js_1 = require("./MetadataValueField.js");
10
+ Object.defineProperty(exports, "MetadataValueField", { enumerable: true, get: function () { return MetadataValueField_js_1.MetadataValueField; } });
11
+ var GeographicLocationField_js_1 = require("./GeographicLocationField.js");
12
+ Object.defineProperty(exports, "GeographicLocationField", { enumerable: true, get: function () { return GeographicLocationField_js_1.GeographicLocationField; } });
@@ -8,11 +8,12 @@ exports.PendingChangesDialogView = PendingChangesDialogView;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const material_1 = require("@mui/material");
10
10
  const ArrowForwardRounded_1 = __importDefault(require("@mui/icons-material/ArrowForwardRounded"));
11
+ const DeleteOutlineRounded_1 = __importDefault(require("@mui/icons-material/DeleteOutlineRounded"));
11
12
  const CloudUploadOutlined_1 = __importDefault(require("@mui/icons-material/CloudUploadOutlined"));
12
13
  const react_1 = require("react");
13
14
  const PendingChangesDialogShell_js_1 = require("./PendingChangesDialogShell.js");
14
15
  const pageSize = 10;
15
- function PendingChangesDialogView({ groups, open, onClose, title, summary, emptyMessage = "All changes are saved.", accountKey, onOpenItem, focusGroupKey, navigationError, contentHeader, contentTouchHandlers, shell: Shell = PendingChangesDialogShell_js_1.PendingChangesDialogShell, }) {
16
+ function PendingChangesDialogView({ groups, open, onClose, title, summary, emptyMessage = "All changes are saved.", accountKey, onOpenItem, onDiscardRequest, discardLabel = "Discard a change", focusGroupKey, navigationError, contentHeader, contentTouchHandlers, shell: Shell = PendingChangesDialogShell_js_1.PendingChangesDialogShell, }) {
16
17
  const returnItemButton = (0, react_1.useRef)(null);
17
18
  const [page, setPage] = (0, react_1.useState)(1);
18
19
  const [actionPages, setActionPages] = (0, react_1.useState)({});
@@ -46,7 +47,12 @@ function PendingChangesDialogView({ groups, open, onClose, title, summary, empty
46
47
  return ((0, jsx_runtime_1.jsxs)(Shell, { autoFocusInput: false, closeLabel: "Close pending changes", closeTooltip: "Close pending changes", contentHeader: contentHeader !== null && contentHeader !== void 0 ? contentHeader : (groups.length ? (
47
48
  // Product decision: the sync summary remains distinct and visible
48
49
  // while the user scrolls through pending groups.
49
- (0, jsx_runtime_1.jsx)(material_1.Stack, { component: "section", "aria-label": "Pending changes summary", spacing: 0.5, sx: { p: 2, borderRadius: 1, bgcolor: "action.selected" }, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { fontWeight: 600 }, children: summary }) })) : undefined), contentTouchHandlers: contentTouchHandlers, contentSx: { pt: 0.5, pb: 3, overscrollBehaviorY: "contain" }, exclusive: false, onClose: onClose, onEntered: () => {
50
+ (0, jsx_runtime_1.jsxs)(material_1.Stack, { component: "section", "aria-label": "Pending changes summary", direction: "row", spacing: 1, sx: {
51
+ p: 2,
52
+ borderRadius: 1,
53
+ bgcolor: "action.selected",
54
+ alignItems: "center",
55
+ }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { fontWeight: 600, flex: 1 }, children: summary }), onDiscardRequest ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: discardLabel, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-label": discardLabel, onClick: onDiscardRequest, sx: { width: 44, height: 44 }, children: (0, jsx_runtime_1.jsx)(DeleteOutlineRounded_1.default, {}) }) })) : null] })) : undefined), contentTouchHandlers: contentTouchHandlers, contentSx: { pt: 0.5, pb: 3, overscrollBehaviorY: "contain" }, exclusive: false, onClose: onClose, onEntered: () => {
50
56
  // Entry focus runs after MUI settles its focus trap, including a reopen
51
57
  // of the same inspector. A removed group retains the shell's fallback.
52
58
  const target = returnItemButton.current;
@@ -62,23 +68,23 @@ function PendingChangesDialogView({ groups, open, onClose, title, summary, empty
62
68
  const actionPage = Math.min((_a = actionPages[group.key]) !== null && _a !== void 0 ? _a : 1, actionPageCount);
63
69
  return ((0, jsx_runtime_1.jsx)(material_1.ListItem, { disableGutters: true, sx: {
64
70
  p: 2,
71
+ position: "relative",
65
72
  alignItems: "flex-start",
66
73
  border: 1,
67
74
  borderColor: "divider",
68
75
  borderRadius: 1,
69
- }, children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 1, sx: { minWidth: 0, width: "100%" }, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, sx: {
76
+ }, children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 0, sx: { minWidth: 0, width: "100%" }, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, sx: {
70
77
  alignItems: "center",
71
78
  justifyContent: "space-between",
72
- }, children: [(0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: title, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "h3", "aria-label": title, tabIndex: 0, sx: {
73
- flex: 1,
74
- minWidth: 0,
75
- fontWeight: 600,
76
- // The item name owns one row; CSS handles the
77
- // available width, while the tooltip retains it all.
78
- overflow: "hidden",
79
- textOverflow: "ellipsis",
80
- whiteSpace: "nowrap",
81
- }, variant: "body2", children: title }) }), (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexShrink: 0 }, children: group.openLabel && onOpenItem ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: unavailableReason || group.openLabel, children: (0, jsx_runtime_1.jsx)("span", { tabIndex: unavailableReason ? 0 : undefined, "aria-label": unavailableReason
79
+ }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { component: "h3", sx: {
80
+ flex: 1,
81
+ minWidth: 0,
82
+ fontWeight: 600,
83
+ overflowWrap: "anywhere",
84
+ }, variant: "body2", children: title }), (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "row", spacing: 0.5, sx: {
85
+ alignItems: "center",
86
+ flexShrink: 0,
87
+ }, children: group.openLabel && onOpenItem ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: unavailableReason || group.openLabel, children: (0, jsx_runtime_1.jsx)("span", { tabIndex: unavailableReason ? 0 : undefined, "aria-label": unavailableReason
82
88
  ? `${group.openLabel} unavailable. ${unavailableReason}`
83
89
  : undefined, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-label": `${group.openLabel}: ${title}`, disabled: Boolean(unavailableReason), ref: focusGroupKey === group.key
84
90
  ? returnItemButton
@@ -90,26 +96,34 @@ function PendingChangesDialogView({ groups, open, onClose, title, summary, empty
90
96
  if (!presentation.action &&
91
97
  !exception &&
92
98
  !presentation.targetLabel &&
93
- presentation.attemptedText === undefined)
99
+ !presentation.elapsedText &&
100
+ presentation.attemptedText === undefined &&
101
+ !presentation.endAction)
94
102
  return null;
95
- return ((0, jsx_runtime_1.jsx)(material_1.ListItem, { disableGutters: true, sx: {
96
- display: "block",
103
+ return ((0, jsx_runtime_1.jsxs)(material_1.ListItem, { disableGutters: true, sx: {
104
+ display: "flex",
105
+ alignItems: "center",
106
+ gap: 1,
97
107
  py: 1,
98
108
  borderTop: index > 0 ? 1 : 0,
99
109
  borderColor: "divider",
100
- }, children: (0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 0.75, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, sx: {
101
- alignItems: "baseline",
102
- justifyContent: "space-between",
103
- flexWrap: "wrap",
104
- }, children: [presentation.action ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { component: "h4", color: "text.secondary", variant: "caption", children: presentation.action })) : null, exception ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { color: item.needsAttention
105
- ? "error"
106
- : "text.secondary", variant: "caption", children: exception })) : null] }), presentation.targetLabel ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { color: "text.secondary", variant: "caption", sx: {
107
- overflowWrap: "anywhere",
108
- whiteSpace: "pre-wrap",
109
- }, children: presentation.targetLabel })) : null, presentation.attemptedText !== undefined ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body1", sx: {
110
- whiteSpace: "pre-wrap",
111
- overflowWrap: "anywhere",
112
- }, children: presentation.attemptedText })) : null] }) }, item.id));
110
+ }, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 0.75, sx: { flex: 1, minWidth: 0 }, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, sx: {
111
+ alignItems: "baseline",
112
+ justifyContent: "space-between",
113
+ flexWrap: "wrap",
114
+ }, children: [presentation.action ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { component: "h4", color: "text.secondary", variant: "caption", children: presentation.action })) : null, exception ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { color: item.needsAttention
115
+ ? "error"
116
+ : "text.secondary", variant: "caption", children: exception })) : null] }), presentation.elapsedText ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "caption", sx: {
117
+ fontSize: "0.6875rem",
118
+ color: "text.primary",
119
+ opacity: 0.78,
120
+ }, children: presentation.elapsedText })) : null, presentation.targetLabel ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { color: "text.secondary", variant: "caption", sx: {
121
+ overflowWrap: "anywhere",
122
+ whiteSpace: "pre-wrap",
123
+ }, children: presentation.targetLabel })) : null, presentation.attemptedText !== undefined ? ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body1", sx: {
124
+ whiteSpace: "pre-wrap",
125
+ overflowWrap: "anywhere",
126
+ }, children: presentation.attemptedText })) : null] }), presentation.endAction] }, item.id));
113
127
  }) }), actionPageCount > 1 ? ((0, jsx_runtime_1.jsx)(material_1.Pagination, { "aria-label": `Change pages for ${group.title}`, count: actionPageCount, page: actionPage, onChange: (_event, nextPage) => setActionPages((previous) => ({
114
128
  ...previous,
115
129
  [group.key]: nextPage,
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ "use client";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.PricingTable = PricingTable;
8
+ const jsx_runtime_1 = require("react/jsx-runtime");
9
+ const CheckRounded_1 = __importDefault(require("@mui/icons-material/CheckRounded"));
10
+ const material_1 = require("@mui/material");
11
+ // Product decision: callers own plan content and actions; this component only
12
+ // presents the supplied plans and never determines prices or availability.
13
+ function PricingTable({ label, plans, className, interactiveClassName, colors, }) {
14
+ return ((0, jsx_runtime_1.jsx)(material_1.Box, { "aria-label": label, className: className, sx: {
15
+ display: "grid",
16
+ gap: 1.5,
17
+ gridTemplateColumns: {
18
+ xs: "1fr",
19
+ md: `repeat(${plans.length}, minmax(0, 1fr))`,
20
+ },
21
+ }, children: plans.map((plan) => {
22
+ const highlighted = Boolean(plan.highlighted);
23
+ const secondary = highlighted ? "rgba(255,255,255,0.86)" : colors.muted;
24
+ return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { className: interactiveClassName, spacing: 2.25, sx: {
25
+ bgcolor: highlighted ? colors.accent : "#FFFFFF",
26
+ boxShadow: highlighted
27
+ ? "0 8px 18px rgba(23, 106, 168, 0.22)"
28
+ : "none",
29
+ color: highlighted ? "#FFFFFF" : colors.text,
30
+ minHeight: { md: 430 },
31
+ p: { xs: 2.5, sm: 3 },
32
+ position: "relative",
33
+ borderRadius: 2,
34
+ ...(highlighted
35
+ ? {}
36
+ : { border: "1px solid rgba(23, 38, 56, 0.12)" }),
37
+ "&:hover": {
38
+ ...(highlighted
39
+ ? { boxShadow: "0 10px 22px rgba(23, 106, 168, 0.28)" }
40
+ : { bgcolor: "#FCFEFF" }),
41
+ transform: "translateY(-2px)",
42
+ },
43
+ }, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, sx: { justifyContent: "space-between" }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { fontSize: 21, fontWeight: 780 }, children: plan.label }), plan.badge] }), (0, jsx_runtime_1.jsx)(material_1.Typography, { sx: {
44
+ color: secondary,
45
+ fontSize: 14,
46
+ lineHeight: 1.5,
47
+ minHeight: { md: 42 },
48
+ }, children: plan.description }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { spacing: 0.25, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { sx: {
49
+ fontSize: { xs: 25, sm: 28 },
50
+ fontWeight: 780,
51
+ letterSpacing: "-0.03em",
52
+ }, children: plan.price }), (0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { color: secondary, fontSize: 13 }, children: plan.priceNote })] }), (0, jsx_runtime_1.jsx)(material_1.Stack, { component: "ul", spacing: 1.1, sx: { listStyle: "none", m: 0, p: 0 }, children: plan.features.map((feature, index) => ((0, jsx_runtime_1.jsxs)(material_1.Stack, { component: "li", direction: "row", spacing: 1, children: [(0, jsx_runtime_1.jsx)(CheckRounded_1.default, { sx: {
53
+ color: highlighted ? "#FFFFFF" : colors.accentDark,
54
+ fontSize: 18,
55
+ mt: "2px",
56
+ } }), (0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { fontSize: 14, lineHeight: 1.45 }, children: feature })] }, index))) }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { flex: 1 } }), plan.action] }, plan.id));
57
+ }) }));
58
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ "use client";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PricingTable = void 0;
5
+ var PricingTable_js_1 = require("./PricingTable.js");
6
+ Object.defineProperty(exports, "PricingTable", { enumerable: true, get: function () { return PricingTable_js_1.PricingTable; } });