@voyant-travel/catalog-react 0.123.0 → 0.123.1
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.
- package/dist/admin/pages/catalog-accommodations-index-page.d.ts +6 -4
- package/dist/admin/pages/catalog-accommodations-index-page.d.ts.map +1 -1
- package/dist/admin/pages/catalog-accommodations-index-page.js +8 -5
- package/dist/admin/pages/catalog-cruises-index-page.d.ts +6 -4
- package/dist/admin/pages/catalog-cruises-index-page.d.ts.map +1 -1
- package/dist/admin/pages/catalog-cruises-index-page.js +8 -5
- package/package.json +7 -7
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type AdminRoutePageProps } from "@voyant-travel/admin";
|
|
2
2
|
/**
|
|
3
|
-
* Packaged route page for the accommodations browse surface.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Packaged route page for the accommodations browse surface. The header title
|
|
4
|
+
* is read from the localized operator nav messages (the `title` prop carries
|
|
5
|
+
* the static contribution label, which is not locale-resolved — the route tree
|
|
6
|
+
* is built once from the English defaults); `search` was validated by the
|
|
7
|
+
* contribution's `validateSearch` (catalogSearchSchema).
|
|
6
8
|
*/
|
|
7
|
-
export default function CatalogAccommodationsIndexPage({ search, updateSearch,
|
|
9
|
+
export default function CatalogAccommodationsIndexPage({ search, updateSearch, }: AdminRoutePageProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
//# sourceMappingURL=catalog-accommodations-index-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-accommodations-index-page.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/catalog-accommodations-index-page.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"catalog-accommodations-index-page.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/catalog-accommodations-index-page.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,sBAAsB,CAAA;AAM7B;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,8BAA8B,CAAC,EACrD,MAAM,EACN,YAAY,GACb,EAAE,mBAAmB,2CAuBrB"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useAdminHref } from "@voyant-travel/admin";
|
|
3
|
+
import { useAdminHref, useOperatorAdminMessages, } from "@voyant-travel/admin";
|
|
4
4
|
import { CatalogVerticalHost } from "../catalog-vertical-host.js";
|
|
5
5
|
import { openHrefInNewTab } from "../open-in-new-tab.js";
|
|
6
6
|
/**
|
|
7
|
-
* Packaged route page for the accommodations browse surface.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* Packaged route page for the accommodations browse surface. The header title
|
|
8
|
+
* is read from the localized operator nav messages (the `title` prop carries
|
|
9
|
+
* the static contribution label, which is not locale-resolved — the route tree
|
|
10
|
+
* is built once from the English defaults); `search` was validated by the
|
|
11
|
+
* contribution's `validateSearch` (catalogSearchSchema).
|
|
10
12
|
*/
|
|
11
|
-
export default function CatalogAccommodationsIndexPage({ search, updateSearch,
|
|
13
|
+
export default function CatalogAccommodationsIndexPage({ search, updateSearch, }) {
|
|
12
14
|
const resolveHref = useAdminHref();
|
|
15
|
+
const title = useOperatorAdminMessages().nav.catalogAccommodations;
|
|
13
16
|
// Browse-first surface — a consistent header over the embedded grid, with
|
|
14
17
|
// results opening the dedicated accommodation detail page (the
|
|
15
18
|
// `catalog.detail` destination) in a new tab.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type AdminRoutePageProps } from "@voyant-travel/admin";
|
|
2
2
|
/**
|
|
3
|
-
* Packaged route page for the cruises browse surface.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Packaged route page for the cruises browse surface. The header title is read
|
|
4
|
+
* from the localized operator nav messages (the `title` prop carries the
|
|
5
|
+
* static contribution label, which is not locale-resolved — the route tree is
|
|
6
|
+
* built once from the English defaults); `search` was validated by the
|
|
7
|
+
* contribution's `validateSearch` (catalogSearchSchema).
|
|
6
8
|
*/
|
|
7
|
-
export default function CatalogCruisesIndexPage({ search, updateSearch
|
|
9
|
+
export default function CatalogCruisesIndexPage({ search, updateSearch }: AdminRoutePageProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
//# sourceMappingURL=catalog-cruises-index-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-cruises-index-page.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/catalog-cruises-index-page.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"catalog-cruises-index-page.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/catalog-cruises-index-page.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,sBAAsB,CAAA;AAM7B;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,mBAAmB,2CAyB5F"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useAdminHref } from "@voyant-travel/admin";
|
|
3
|
+
import { useAdminHref, useOperatorAdminMessages, } from "@voyant-travel/admin";
|
|
4
4
|
import { CatalogVerticalHost } from "../catalog-vertical-host.js";
|
|
5
5
|
import { openHrefInNewTab } from "../open-in-new-tab.js";
|
|
6
6
|
/**
|
|
7
|
-
* Packaged route page for the cruises browse surface.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* Packaged route page for the cruises browse surface. The header title is read
|
|
8
|
+
* from the localized operator nav messages (the `title` prop carries the
|
|
9
|
+
* static contribution label, which is not locale-resolved — the route tree is
|
|
10
|
+
* built once from the English defaults); `search` was validated by the
|
|
11
|
+
* contribution's `validateSearch` (catalogSearchSchema).
|
|
10
12
|
*/
|
|
11
|
-
export default function CatalogCruisesIndexPage({ search, updateSearch
|
|
13
|
+
export default function CatalogCruisesIndexPage({ search, updateSearch }) {
|
|
12
14
|
const resolveHref = useAdminHref();
|
|
15
|
+
const title = useOperatorAdminMessages().nav.catalogCruises;
|
|
13
16
|
// Browse-first surface — a consistent header over the embedded grid, with
|
|
14
17
|
// results opening the dedicated, source-driven cruise detail (the
|
|
15
18
|
// `catalog.detail` destination) in a new tab. (Connect's cruise sailings
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/catalog-react",
|
|
3
|
-
"version": "0.123.
|
|
3
|
+
"version": "0.123.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@voyant-travel/admin": "^0.114.0",
|
|
80
80
|
"@voyant-travel/commerce-react": "^0.7.0",
|
|
81
81
|
"@voyant-travel/inventory-react": "^0.7.0",
|
|
82
|
-
"@voyant-travel/
|
|
83
|
-
"@voyant-travel/
|
|
82
|
+
"@voyant-travel/ui": "^0.108.0",
|
|
83
|
+
"@voyant-travel/distribution-react": "^0.115.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependenciesMeta": {
|
|
86
86
|
"@tanstack/react-table": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
109
|
"@voyant-travel/catalog-contracts": "^0.107.1",
|
|
110
|
-
"@voyant-travel/i18n": "^0.107.
|
|
110
|
+
"@voyant-travel/i18n": "^0.107.1",
|
|
111
111
|
"@voyant-travel/react": "^0.104.1"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
"typescript": "^6.0.2",
|
|
123
123
|
"vitest": "^4.1.2",
|
|
124
124
|
"zod": "^4.3.6",
|
|
125
|
+
"@voyant-travel/i18n": "^0.107.1",
|
|
125
126
|
"@voyant-travel/admin": "^0.114.0",
|
|
126
|
-
"@voyant-travel/i18n": "^0.107.0",
|
|
127
|
-
"@voyant-travel/commerce-react": "^0.7.0",
|
|
128
127
|
"@voyant-travel/inventory-react": "^0.7.0",
|
|
128
|
+
"@voyant-travel/commerce-react": "^0.7.0",
|
|
129
129
|
"@voyant-travel/react": "^0.104.1",
|
|
130
|
-
"@voyant-travel/distribution-react": "^0.115.0",
|
|
131
130
|
"@voyant-travel/ui": "^0.108.0",
|
|
131
|
+
"@voyant-travel/distribution-react": "^0.115.0",
|
|
132
132
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
133
133
|
},
|
|
134
134
|
"files": [
|