@triptease/tt-navbar 0.0.74 → 0.0.75

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.74
2
+ * @triptease/tt-navbar v0.0.75
3
3
  */
4
4
 
5
5
  // src/Config.ts
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.74
2
+ * @triptease/tt-navbar v0.0.75
3
3
  */
4
4
 
5
5
  // src/Routes.ts
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.74
2
+ * @triptease/tt-navbar v0.0.75
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2062,8 +2062,16 @@ var urlMappings = {
2062
2062
  "/:clientKey/messages/*": "/channels",
2063
2063
  "/:clientKey/pricematch/*": "/channels",
2064
2064
  "/:clientKey/chat/insights": "/channels",
2065
- "/settings/:clientKey/*": "/settings/$CLIENT_KEY/guides",
2066
- "/:clientKey/settings/*": "/$CLIENT_KEY/settings/guides"
2065
+ "/:clientKey/parity": "/parity/$CLIENT_KEY",
2066
+ "/:clientKey/parity/*": "/parity/$CLIENT_KEY",
2067
+ // Settings routes - legacy paths map to new navbar link
2068
+ "/settings/:clientKey/*": "/$CLIENT_KEY/settings/guides",
2069
+ "/:clientKey/account/team": "/account/team/$CLIENT_KEY",
2070
+ "/:clientKey/account/team/*": "/account/team/$CLIENT_KEY",
2071
+ "/:clientKey/account/billing-management": "/account/billing-management/$CLIENT_KEY",
2072
+ "/:clientKey/account/billing-management/*": "/account/billing-management/$CLIENT_KEY",
2073
+ "/:clientKey/subscriptions": "/subscriptions/$CLIENT_KEY",
2074
+ "/:clientKey/subscriptions/*": "/subscriptions/$CLIENT_KEY"
2067
2075
  };
2068
2076
 
2069
2077
  // src/Routes.ts
@@ -2282,7 +2290,7 @@ var TtNavbar = class extends i4 {
2282
2290
  >
2283
2291
  <a
2284
2292
  class="sub-nav-item"
2285
- href=${this.buildUrl("/guest-insights/$CLIENT_KEY")}
2293
+ href=${this.buildUrl("/$CLIENT_KEY/guest-insights")}
2286
2294
  @click=${this.onAnchorClick}
2287
2295
  data-intercom-target="guest-insights"
2288
2296
  >Guest insights</a
@@ -2312,14 +2320,14 @@ var TtNavbar = class extends i4 {
2312
2320
  >
2313
2321
  <a
2314
2322
  class="sub-nav-item"
2315
- href=${this.buildUrl("/settings/$CLIENT_KEY/guides")}
2323
+ href=${this.buildUrl("/$CLIENT_KEY/settings/guides")}
2316
2324
  @click=${this.onAnchorClick}
2317
2325
  data-intercom-target="group-settings"
2318
2326
  >Group settings</a
2319
2327
  >
2320
2328
  <a
2321
2329
  class="sub-nav-item"
2322
- href=${this.buildUrl("/settings/$CLIENT_KEY/hotels")}
2330
+ href=${this.buildUrl("/$CLIENT_KEY/settings/hotels")}
2323
2331
  @click=${this.onAnchorClick}
2324
2332
  data-intercom-target="property-settings"
2325
2333
  >Property settings</a
@@ -2341,6 +2349,7 @@ var TtNavbar = class extends i4 {
2341
2349
  data-intercom-target="user-settings"
2342
2350
  >User settings</a
2343
2351
  >
2352
+ <!-- TODO: Change to /$CLIENT_KEY/account/team when the change in Tetris is ready -->
2344
2353
  <a
2345
2354
  class="sub-nav-item"
2346
2355
  href=${this.buildUrl("/account/team/$CLIENT_KEY")}
@@ -2357,6 +2366,7 @@ var TtNavbar = class extends i4 {
2357
2366
  <span class="icon chevron"> ${o8(chevronDown)}</span>
2358
2367
  </summary>
2359
2368
  <div>
2369
+ <!-- TODO: Change to /$CLIENT_KEY/account/billing-management when the change in Tetris is ready -->
2360
2370
  <a
2361
2371
  class="sub-nav-item"
2362
2372
  href=${this.buildUrl("/account/billing-management/$CLIENT_KEY")}
@@ -2364,6 +2374,7 @@ var TtNavbar = class extends i4 {
2364
2374
  data-intercom-target="booking-reconciliation"
2365
2375
  >Booking reconciliation</a
2366
2376
  >
2377
+ <!-- TODO: Change to /$CLIENT_KEY/subscriptions when the change in Tetris is ready -->
2367
2378
  <a
2368
2379
  class="sub-nav-item"
2369
2380
  href=${this.buildUrl("/subscriptions/$CLIENT_KEY")}