@nanoporetech-digital/components 5.12.1 → 6.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.
- package/CHANGELOG.md +25 -0
- package/dist/cjs/{local-my-account-d79ed0a2.js → local-my-account-1dfd69a0.js} +123 -15
- package/dist/{esm/local-my-account-6662da72.js.map → cjs/local-my-account-1dfd69a0.js.map} +1 -1
- package/dist/cjs/nano-algolia.cjs.entry.js +3 -0
- package/dist/cjs/nano-algolia.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +10 -8
- package/dist/cjs/nano-global-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-global-search-results.cjs.entry.js +17 -43
- package/dist/cjs/nano-global-search-results.cjs.entry.js.map +1 -1
- package/dist/collection/components/algolia/algolia-interface.js.map +1 -1
- package/dist/collection/components/algolia/algolia.js +1 -0
- package/dist/collection/components/algolia/algolia.js.map +1 -1
- package/dist/collection/components/algolia/lib/template.js +2 -0
- package/dist/collection/components/algolia/lib/template.js.map +1 -1
- package/dist/collection/components/global-nav/assets/local-my-account.json +120 -14
- package/dist/collection/components/global-nav/global-nav-interface.js.map +1 -1
- package/dist/collection/components/global-nav/global-nav.js +10 -8
- package/dist/collection/components/global-nav/global-nav.js.map +1 -1
- package/dist/collection/components/global-search-results/global-search-results.js +17 -43
- package/dist/collection/components/global-search-results/global-search-results.js.map +1 -1
- package/dist/components/algolia.js +3 -0
- package/dist/components/algolia.js.map +1 -1
- package/dist/components/local-my-account.js +122 -15
- package/dist/components/local-my-account.js.map +1 -1
- package/dist/components/nano-global-nav.js +9 -7
- package/dist/components/nano-global-nav.js.map +1 -1
- package/dist/components/nano-global-search-results.js +17 -43
- package/dist/components/nano-global-search-results.js.map +1 -1
- package/dist/esm/{local-my-account-6662da72.js → local-my-account-ddb62cc1.js} +123 -16
- package/dist/{cjs/local-my-account-d79ed0a2.js.map → esm/local-my-account-ddb62cc1.js.map} +1 -1
- package/dist/esm/nano-algolia.entry.js +3 -0
- package/dist/esm/nano-algolia.entry.js.map +1 -1
- package/dist/esm/nano-global-nav.entry.js +10 -8
- package/dist/esm/nano-global-nav.entry.js.map +1 -1
- package/dist/esm/nano-global-search-results.entry.js +17 -43
- package/dist/esm/nano-global-search-results.entry.js.map +1 -1
- package/dist/nano-assets/hash.txt +1 -1
- package/dist/nano-assets/local-my-account.json +120 -14
- package/dist/nano-components/assets/local-my-account.json +120 -14
- package/dist/nano-components/local-my-account-ddb62cc1.js +5 -0
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js.map +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js.map +1 -1
- package/dist/nano-components/nano-global-search-results.entry.js +1 -1
- package/dist/nano-components/nano-global-search-results.entry.js.map +1 -1
- package/dist/types/components/algolia/algolia-interface.d.ts +9 -0
- package/dist/types/components/global-nav/global-nav-interface.d.ts +4 -0
- package/dist/types/interface.d.ts +5 -0
- package/docs-json.json +2 -2
- package/hydrate/index.js +151 -64
- package/package.json +2 -2
- package/dist/nano-components/local-my-account-6662da72.js +0 -5
- /package/dist/nano-components/{local-my-account-6662da72.js.map → local-my-account-ddb62cc1.js.map} +0 -0
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Hit } from '@algolia/client-search';
|
2
|
+
import { MyAccountData } from './components/global-nav/global-nav-interface';
|
2
3
|
|
3
4
|
export * from './index';
|
4
5
|
export * from './components.d';
|
@@ -86,6 +87,10 @@ export interface AlgoliaMultiResult extends AlgoliaResults {
|
|
86
87
|
indexName?: string;
|
87
88
|
allGroup?: boolean;
|
88
89
|
index?: string;
|
90
|
+
replicas?: {
|
91
|
+
name: string;
|
92
|
+
index: string;
|
93
|
+
}[];
|
89
94
|
}
|
90
95
|
|
91
96
|
export interface AlgoliaMultiResults {
|
package/docs-json.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2024-
|
2
|
+
"timestamp": "2024-04-05T17:04:58",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "2.23.2",
|
@@ -6793,7 +6793,7 @@
|
|
6793
6793
|
"reflectToAttr": false,
|
6794
6794
|
"docs": "Algolia search index to programmatically set or to set an initial index",
|
6795
6795
|
"docsTags": [],
|
6796
|
-
"default": "'
|
6796
|
+
"default": "'All'",
|
6797
6797
|
"values": [
|
6798
6798
|
{
|
6799
6799
|
"type": "string"
|
package/hydrate/index.js
CHANGED
@@ -9169,6 +9169,8 @@ filters.define('abs_url', (str, index = null, result) => {
|
|
9169
9169
|
domain = index.domain;
|
9170
9170
|
if (!domain)
|
9171
9171
|
return str;
|
9172
|
+
if (!str.startsWith('/'))
|
9173
|
+
str = '/' + str;
|
9172
9174
|
return str.match(/^http/) ? str : location.protocol + '//' + domain + str;
|
9173
9175
|
});
|
9174
9176
|
filters.define('replace', (str, search, replace) => str.replace(search, replace));
|
@@ -9405,6 +9407,7 @@ class Algolia {
|
|
9405
9407
|
appliedFilters: this.makeAppliedFilters(),
|
9406
9408
|
indexName: this.searchIndex.name || null,
|
9407
9409
|
index: this.searchIndex.index,
|
9410
|
+
searchIndex: this.searchIndex,
|
9408
9411
|
};
|
9409
9412
|
}
|
9410
9413
|
this.indexResults.dynFilters = result.facets;
|
@@ -17439,7 +17442,7 @@ class GlobalNav {
|
|
17439
17442
|
if (!this.algoliaSearchResults)
|
17440
17443
|
await this.doAlgoliaSearch();
|
17441
17444
|
const activeIndex = this.algoliaSearchResults.results.find((res) => res.selected);
|
17442
|
-
const { index, domain, filters, query } = activeIndex;
|
17445
|
+
const { index, domain, filters, query, replicas } = activeIndex;
|
17443
17446
|
this.nanoSearchResult.emit({
|
17444
17447
|
meta: {
|
17445
17448
|
indexTitle: activeIndex.indexName,
|
@@ -17447,6 +17450,7 @@ class GlobalNav {
|
|
17447
17450
|
domain,
|
17448
17451
|
filters,
|
17449
17452
|
query,
|
17453
|
+
replicas,
|
17450
17454
|
},
|
17451
17455
|
client: { apiKey: this.searchApiKey, appId: this.searchAppId },
|
17452
17456
|
});
|
@@ -17467,7 +17471,7 @@ class GlobalNav {
|
|
17467
17471
|
const selectedIndex = this.internalSearchIndeces.find((index) => index.index === indexStr);
|
17468
17472
|
if (!selectedIndex || !selectedIndex.alogliaIndex)
|
17469
17473
|
return;
|
17470
|
-
this.searchIndex = selectedIndex.
|
17474
|
+
this.searchIndex = selectedIndex.name;
|
17471
17475
|
if (this.isSearchValSet())
|
17472
17476
|
await this.onSearchChange();
|
17473
17477
|
};
|
@@ -17604,7 +17608,7 @@ class GlobalNav {
|
|
17604
17608
|
this.searchAppId = undefined;
|
17605
17609
|
this.searchApiKey = undefined;
|
17606
17610
|
this.searchValue = '';
|
17607
|
-
this.searchIndex = '
|
17611
|
+
this.searchIndex = 'All';
|
17608
17612
|
this.cartCount = 0;
|
17609
17613
|
this.msgCount = 0;
|
17610
17614
|
this.cartUrl = null;
|
@@ -17703,7 +17707,7 @@ class GlobalNav {
|
|
17703
17707
|
}
|
17704
17708
|
if (!this.searchIndex)
|
17705
17709
|
return this.internalSearchIndeces[0];
|
17706
|
-
const foundIndex = this.internalSearchIndeces.find((index) => index.
|
17710
|
+
const foundIndex = this.internalSearchIndeces.find((index) => index.name === this.searchIndex);
|
17707
17711
|
if (!foundIndex) {
|
17708
17712
|
this.currentIndex = this.internalSearchIndeces[0];
|
17709
17713
|
console.error('index not found');
|
@@ -17737,7 +17741,7 @@ class GlobalNav {
|
|
17737
17741
|
searchIndex.alogliaIndex = this.algoliaClient.initIndex(searchIndex.index);
|
17738
17742
|
});
|
17739
17743
|
if (!this.searchIndex) {
|
17740
|
-
this.searchIndex = this.internalSearchIndeces[0].
|
17744
|
+
this.searchIndex = this.internalSearchIndeces[0].name;
|
17741
17745
|
}
|
17742
17746
|
}
|
17743
17747
|
/** Current content breakpoint. If it goes up, things can look wonky for a second so we temporarily hide stuff */
|
@@ -17919,6 +17923,7 @@ class GlobalNav {
|
|
17919
17923
|
result.domains = this.myAccData.domains || null;
|
17920
17924
|
result.allGroup = !!this.internalSearchIndeces[i].allGroup;
|
17921
17925
|
result.filters = this.internalSearchIndeces[i].filters;
|
17926
|
+
result.replicas = this.currentIndex.replicas;
|
17922
17927
|
});
|
17923
17928
|
return this.algoliaSearchResults;
|
17924
17929
|
}
|
@@ -18064,8 +18069,8 @@ class GlobalNav {
|
|
18064
18069
|
}
|
18065
18070
|
searchWidget() {
|
18066
18071
|
return [
|
18067
|
-
hAsync("form", { class: "search-inputs", onSubmit: this.onSearchSubmit, id: "global-nav-search" }, hAsync("nano-select", { class: "search-input", label: "Which area of content would you like to search?", hideLabel: true, showInlineError: false, value: this.
|
18068
|
-
return (hAsync("nano-option", { selected: index.
|
18072
|
+
hAsync("form", { class: "search-inputs", onSubmit: this.onSearchSubmit, id: "global-nav-search" }, hAsync("nano-select", { class: "search-input", label: "Which area of content would you like to search?", hideLabel: true, showInlineError: false, value: this.currentSelectedIndex()?.index, onNanoChange: this.onSearchIndexChange, mask: true }, this.internalSearchIndeces.map((index) => {
|
18073
|
+
return (hAsync("nano-option", { selected: index.name === this.searchIndex, value: index.index }, index.name || index.index));
|
18069
18074
|
}), hAsync("nano-icon", { name: "light/chevron-down", class: "select-input__arrow", slot: "down-arrow" })), hAsync("nano-input", { class: "search-input", label: "What would you like to search for?", "aria-label": "What would you like to search for", hideLabel: true, showInlineError: false, "clear-input": true, placeholder: "Search Nanopore", type: "text", ref: (input) => (this.searchInput = input), onNanoChange: this.onSearchChange, onNanoInput: this.onSearchInput, onKeyDown: this.onAutocompleteInteract, debounce: 500, "aria-autocomplete": "list", "aria-activedescendant": this.autocompleteEles[this.currAIndex]
|
18070
18075
|
? this.autocompleteEles[this.currAIndex].id
|
18071
18076
|
: false, "aria-controls": "autocomplete-results", onNanoFocus: this.showAutocompleteResults, value: this.searchValue, role: "textbox" }, hAsync("button", { class: {
|
@@ -18452,6 +18457,7 @@ class GlobalSearchResults {
|
|
18452
18457
|
index: meta.index,
|
18453
18458
|
domain: meta.domain,
|
18454
18459
|
filters: meta.filters,
|
18460
|
+
replicas: meta.replicas,
|
18455
18461
|
};
|
18456
18462
|
this.algoliaEle.query = meta.query;
|
18457
18463
|
}
|
@@ -18588,47 +18594,12 @@ class GlobalSearchResults {
|
|
18588
18594
|
|
18589
18595
|
<div class="sc-nano-global-search-results topbar__filtering">
|
18590
18596
|
{{ @if (it.results.length) }}
|
18591
|
-
|
18592
|
-
|
18593
|
-
|
18594
|
-
|
18595
|
-
|
18596
|
-
|
18597
|
-
<nano-option value="all_prod_en_activity_date_desc">Sort by: Recent activity</nano-option>
|
18598
|
-
</nano-select>
|
18599
|
-
{{ /if }}
|
18600
|
-
|
18601
|
-
{{ @if (it.indexName === 'www') }}
|
18602
|
-
<nano-select class="sc-nano-global-search-results topbar__order topbar__order--www indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18603
|
-
<nano-option value="cws_english_en">Sort by: Most relevant</nano-option>
|
18604
|
-
<nano-option value="cws_english_en_date_desc">Sort by: Newest</nano-option>
|
18605
|
-
<nano-option value="cws_english_en_date_asc">Sort by: Oldest</nano-option>
|
18606
|
-
</nano-select>
|
18607
|
-
{{ /if }}
|
18608
|
-
|
18609
|
-
{{ @if (it.indexName === 'Resources') }}
|
18610
|
-
<nano-select class="sc-nano-global-search-results topbar__order topbar__order--www indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18611
|
-
<nano-option value="cws_english_resources_en">Sort by: Most relevant</nano-option>
|
18612
|
-
<nano-option value="cws_english_resources_en_featured_desc">Sort by: Newest</nano-option>
|
18613
|
-
<nano-option value="cws_english_resources_en_featured_asc">Sort by: Oldest</nano-option>
|
18614
|
-
</nano-select>
|
18615
|
-
{{ /if }}
|
18616
|
-
|
18617
|
-
{{ @if (it.indexName === 'Store') }}
|
18618
|
-
<nano-select class="sc-nano-global-search-results topbar__order topbar__order--www indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18619
|
-
<nano-option value="store_prod">Sort by: Most relevant</nano-option>
|
18620
|
-
<nano-option value="store_prod_date_desc">Sort by: Newest</nano-option>
|
18621
|
-
<nano-option value="store_prod_date_asc">Sort by: Oldest</nano-option>
|
18622
|
-
</nano-select>
|
18623
|
-
{{ /if }}
|
18624
|
-
|
18625
|
-
{{ @if (it.indexName === 'Community') }}
|
18626
|
-
<nano-select class="sc-nano-global-search-results topbar__order topbar__order--community indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18627
|
-
<nano-option value="community_prod">Sort by: Most relevant</nano-option>
|
18628
|
-
<nano-option value="community_prod_date_desc">Sort by: Newest</nano-option>
|
18629
|
-
<nano-option value="community_prod_date_asc">Sort by: Oldest</nano-option>
|
18630
|
-
<nano-option value="community_prod_activity_date_desc">Sort by: Recent activity</nano-option>
|
18631
|
-
</nano-select>
|
18597
|
+
{{ @if (it.searchIndex && it.searchIndex.replicas) }}
|
18598
|
+
<nano-select class="sc-nano-global-search-results topbar__order indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18599
|
+
{{ @each(it.searchIndex.replicas) => replica }}
|
18600
|
+
<nano-option value="{{ replica.index }}">{{ replica.name }}</nano-option>
|
18601
|
+
{{ /each }}
|
18602
|
+
</nano-select>
|
18632
18603
|
{{ /if }}
|
18633
18604
|
{{ /if }}
|
18634
18605
|
|
@@ -18680,7 +18651,11 @@ class GlobalSearchResults {
|
|
18680
18651
|
<div class="sc-nano-global-search-results result">
|
18681
18652
|
<h4 class="sc-nano-global-search-results result__title" data-icon-set="{{(iconSet = false)}}">
|
18682
18653
|
<a href="{{ result.url | abs_url(it, result) }}">
|
18683
|
-
{{ result._snippetResult
|
18654
|
+
{{ @if (result._snippetResult) }}
|
18655
|
+
{{ result._snippetResult.title.value | safe }}
|
18656
|
+
{{ #else }}
|
18657
|
+
{{ result.title | safe }}
|
18658
|
+
{{ /if }}
|
18684
18659
|
{{ @if (contentType === 'technical_document' || contentType === 'literature' || contentType === 'white_paper' || contentType === 'protocol') }}
|
18685
18660
|
<span class="sc-nano-global-search-results result__pdf">PDF</span>
|
18686
18661
|
{{ /if }}
|
@@ -18748,7 +18723,11 @@ class GlobalSearchResults {
|
|
18748
18723
|
</a>
|
18749
18724
|
{{ /if }}
|
18750
18725
|
{{ @if (result.body) }}
|
18751
|
-
<a class="sc-nano-global-search-results result__body" href="{{ result.url | abs_url(it, result) }}">
|
18726
|
+
<a class="sc-nano-global-search-results result__body" href="{{ result.url | abs_url(it, result) }}">
|
18727
|
+
{{ @if (result._snippetResult) }}
|
18728
|
+
{{ result._snippetResult.body.value | safe }}
|
18729
|
+
{{ /if }}
|
18730
|
+
</a>
|
18752
18731
|
{{ /if }}
|
18753
18732
|
{{ @if (contentType === 'product' }}
|
18754
18733
|
<div class="sc-nano-global-search-results result__buttons">
|
@@ -31407,21 +31386,23 @@ registerComponents([
|
|
31407
31386
|
]);
|
31408
31387
|
|
31409
31388
|
const user = {
|
31410
|
-
id: "
|
31389
|
+
id: "john.jenkins",
|
31411
31390
|
uuid: "2589690E-A907-50BB-9551-55E18ABB1273",
|
31412
|
-
name: "
|
31413
|
-
first_name: "
|
31414
|
-
last_name: "
|
31415
|
-
email: "
|
31416
|
-
|
31417
|
-
|
31418
|
-
small_avatar_url: "https://picsum.photos/75",
|
31419
|
-
is_nanopore_user: false,
|
31420
|
-
lifecycle_stage: "Lead",
|
31391
|
+
name: "John Jenkins",
|
31392
|
+
first_name: "John",
|
31393
|
+
last_name: "Jenkins",
|
31394
|
+
email: "john.jenkins@nanoporetech.com",
|
31395
|
+
company: "Oxford Nanopore Technologies",
|
31396
|
+
lifecycle_stage: "Other",
|
31421
31397
|
indirect_customer: false,
|
31422
31398
|
registration: {
|
31423
31399
|
next_url: null
|
31424
|
-
}
|
31400
|
+
},
|
31401
|
+
covid19_store_access: false,
|
31402
|
+
ncm20_user_group: false,
|
31403
|
+
job_title: "Tester",
|
31404
|
+
small_avatar_url: "https://myaccount-dev.nanoporetech.com/assets/generic-user-f6fcf06f5177e63bec5a3e34f7aa4adec5de3777bdaefdf4706220cdd99ca340.png",
|
31405
|
+
country_code: "GB"
|
31425
31406
|
};
|
31426
31407
|
const domains = [
|
31427
31408
|
{
|
@@ -31691,20 +31672,38 @@ const urls = {
|
|
31691
31672
|
logout: "https://myaccount-dev.nanoporetech.com/sso/logout?RelayState=",
|
31692
31673
|
login: null,
|
31693
31674
|
messages: "https://myaccount-dev.nanoporetech.com/message_centre",
|
31694
|
-
cart: "https://
|
31675
|
+
cart: "https://test.store.nanoporetech.com/cart"
|
31695
31676
|
};
|
31696
31677
|
const search = {
|
31697
31678
|
app_id: "N8NZI5A47F",
|
31698
31679
|
api_key: "b38860b015b02c9cb6993cf0367ed203",
|
31699
31680
|
indeces: [
|
31700
31681
|
{
|
31701
|
-
index: "
|
31682
|
+
index: "ont_dev_en_v3",
|
31702
31683
|
name: "All",
|
31703
31684
|
domain: "nanoporetech.com",
|
31704
31685
|
all_group: true,
|
31705
31686
|
filters: [
|
31706
31687
|
"tags",
|
31707
31688
|
"type"
|
31689
|
+
],
|
31690
|
+
replicas: [
|
31691
|
+
{
|
31692
|
+
name: "Sort by: Most relevant",
|
31693
|
+
index: "ont_dev_en_v3"
|
31694
|
+
},
|
31695
|
+
{
|
31696
|
+
name: "Sort by: Newest",
|
31697
|
+
index: "ont_dev_en_v3_date_desc"
|
31698
|
+
},
|
31699
|
+
{
|
31700
|
+
name: "Sort by: Oldest",
|
31701
|
+
index: "ont_dev_en_v3_date_asc"
|
31702
|
+
},
|
31703
|
+
{
|
31704
|
+
name: "Sort by: Recent activity",
|
31705
|
+
index: "ont_dev_en_v3_activity_date_desc"
|
31706
|
+
}
|
31708
31707
|
]
|
31709
31708
|
},
|
31710
31709
|
{
|
@@ -31714,6 +31713,24 @@ const search = {
|
|
31714
31713
|
filters: [
|
31715
31714
|
"tags",
|
31716
31715
|
"type"
|
31716
|
+
],
|
31717
|
+
replicas: [
|
31718
|
+
{
|
31719
|
+
name: "Sort by: Most relevant",
|
31720
|
+
index: "cws_english_en"
|
31721
|
+
},
|
31722
|
+
{
|
31723
|
+
name: "Sort by: Newest",
|
31724
|
+
index: "cws_english_en_date_desc"
|
31725
|
+
},
|
31726
|
+
{
|
31727
|
+
name: "Sort by: Oldest",
|
31728
|
+
index: "cws_english_en_date_asc"
|
31729
|
+
},
|
31730
|
+
{
|
31731
|
+
name: "Sort by: Recent activity",
|
31732
|
+
index: "cws_english_en_activity_date_desc"
|
31733
|
+
}
|
31717
31734
|
]
|
31718
31735
|
},
|
31719
31736
|
{
|
@@ -31722,6 +31739,20 @@ const search = {
|
|
31722
31739
|
domain: "store.nanoporetech.com",
|
31723
31740
|
filters: [
|
31724
31741
|
"type"
|
31742
|
+
],
|
31743
|
+
replicas: [
|
31744
|
+
{
|
31745
|
+
name: "Sort by: Most relevant",
|
31746
|
+
index: "store_prod"
|
31747
|
+
},
|
31748
|
+
{
|
31749
|
+
name: "Sort by: Newest",
|
31750
|
+
index: "store_date_desc"
|
31751
|
+
},
|
31752
|
+
{
|
31753
|
+
name: "Sort by: Oldest",
|
31754
|
+
index: "store_date_asc"
|
31755
|
+
}
|
31725
31756
|
]
|
31726
31757
|
},
|
31727
31758
|
{
|
@@ -31730,6 +31761,20 @@ const search = {
|
|
31730
31761
|
domain: "nanoporetech.com",
|
31731
31762
|
filters: [
|
31732
31763
|
"tags"
|
31764
|
+
],
|
31765
|
+
replicas: [
|
31766
|
+
{
|
31767
|
+
name: "Sort by: Most relevant",
|
31768
|
+
index: "cws_english_resources_en"
|
31769
|
+
},
|
31770
|
+
{
|
31771
|
+
name: "Sort by: Newest",
|
31772
|
+
index: "cws_english_resources_en_date_desc"
|
31773
|
+
},
|
31774
|
+
{
|
31775
|
+
name: "Sort by: Oldest",
|
31776
|
+
index: "cws_english_resources_en_date_asc"
|
31777
|
+
}
|
31733
31778
|
]
|
31734
31779
|
},
|
31735
31780
|
{
|
@@ -31741,10 +31786,50 @@ const search = {
|
|
31741
31786
|
"channel",
|
31742
31787
|
"authors",
|
31743
31788
|
"tags"
|
31789
|
+
],
|
31790
|
+
replicas: [
|
31791
|
+
{
|
31792
|
+
name: "Sort by: Most relevant",
|
31793
|
+
index: "community_prod"
|
31794
|
+
},
|
31795
|
+
{
|
31796
|
+
name: "Sort by: Newest",
|
31797
|
+
index: "community_prod_date_desc"
|
31798
|
+
},
|
31799
|
+
{
|
31800
|
+
name: "Sort by: Oldest",
|
31801
|
+
index: "community_prod_date_asc"
|
31802
|
+
},
|
31803
|
+
{
|
31804
|
+
name: "Sort by: Recent activity",
|
31805
|
+
index: "community_prod_activity_date_desc"
|
31806
|
+
}
|
31744
31807
|
]
|
31745
31808
|
}
|
31746
31809
|
]
|
31747
31810
|
};
|
31811
|
+
const promotion = {
|
31812
|
+
header: {
|
31813
|
+
img: "https://nanoporetech.com/sites/default/files/s3/gn-promotion-lc20.png",
|
31814
|
+
label: "London Calling 2020 Online",
|
31815
|
+
url: "https://londoncallingconf.co.uk/lc20"
|
31816
|
+
},
|
31817
|
+
description: "A conference hosted by Oxford Nanopore Technologies",
|
31818
|
+
meta: [
|
31819
|
+
{
|
31820
|
+
icon: "calendar",
|
31821
|
+
label: "18th - 19th June 2020"
|
31822
|
+
},
|
31823
|
+
{
|
31824
|
+
icon: "map-marker",
|
31825
|
+
label: "Online"
|
31826
|
+
}
|
31827
|
+
],
|
31828
|
+
cta: {
|
31829
|
+
label: "Register Now",
|
31830
|
+
url: "https://nanoporetech.com/lc-online/register"
|
31831
|
+
}
|
31832
|
+
};
|
31748
31833
|
var localMyAccount = {
|
31749
31834
|
user: user,
|
31750
31835
|
domains: domains,
|
@@ -31752,7 +31837,8 @@ var localMyAccount = {
|
|
31752
31837
|
notifications: notifications,
|
31753
31838
|
links: links,
|
31754
31839
|
urls: urls,
|
31755
|
-
search: search
|
31840
|
+
search: search,
|
31841
|
+
promotion: promotion
|
31756
31842
|
};
|
31757
31843
|
|
31758
31844
|
var localMyAccount$1 = /*#__PURE__*/Object.freeze({
|
@@ -31764,6 +31850,7 @@ var localMyAccount$1 = /*#__PURE__*/Object.freeze({
|
|
31764
31850
|
links: links,
|
31765
31851
|
urls: urls,
|
31766
31852
|
search: search,
|
31853
|
+
promotion: promotion,
|
31767
31854
|
'default': localMyAccount
|
31768
31855
|
});
|
31769
31856
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nanoporetech-digital/components",
|
3
|
-
"version": "
|
3
|
+
"version": "6.0.0",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://git.oxfordnanolabs.local/Digital/nano-components"
|
@@ -129,7 +129,7 @@
|
|
129
129
|
"nanopore",
|
130
130
|
"digital"
|
131
131
|
],
|
132
|
-
"gitHead": "
|
132
|
+
"gitHead": "ddfc6a8c3400ba23ea08c23bb62d70711b8ddc3b",
|
133
133
|
"volta": {
|
134
134
|
"node": "18.14.0"
|
135
135
|
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Web Components for Nanopore digital Web Apps
|
3
|
-
*/
|
4
|
-
const e={id:"mr.test",uuid:"2589690E-A907-50BB-9551-55E18ABB1273",name:"Logged in user",first_name:"mr",last_name:"test",email:"mr.test@nanoporetech.com",job_title:"CEO",company:"ONT",small_avatar_url:"https://picsum.photos/75",is_nanopore_user:false,lifecycle_stage:"Lead",indirect_customer:false,registration:{next_url:null}};const t=[{origin:"cws",domain:"nanoporetech.com"},{origin:"store",domain:"store.nanoporetech.com"},{origin:"community",domain:"community.nanoporetech.com"}];const o={count:0,url:"https://shop-test.nanoporetech.com/checkout/cart"};const r={count:0};const a=[{id:1,area:"main",address:"#",title:"Trousers",order:1,target:null},{id:2,area:"logged-out",address:"#",title:"Mouse",order:1,target:null},{id:20,area:"profile-panel-block",address:"https://nanoporetech.com/about-us/news",title:"News",order:3,target:""},{id:21,area:"profile-panel-block",address:"https://nanoporetech.com/about-us",title:"About",order:3,target:""},{id:22,area:"profile-panel-block",address:"https://nanoporetech.com/contact",title:"Contact",order:3,target:""},{id:28,area:"right-side-logged-out",address:"https://nanoporetech.com/contact",title:"Contact",order:3,target:""},{id:29,area:"right-side-logged-out",address:"https://nanoporetech.com/about-us/news",title:"News",order:3,target:""},{id:30,area:"right-side-logged-out",address:"https://nanoporetech.com/about-us",title:"About",order:3,target:""},{id:9,area:"right-side-logged-in",address:"https://nanoporetech.com/contact",title:"Contact",order:4,target:""},{id:10,area:"right-side-logged-in",address:"https://nanoporetech.com/about-us/news",title:"News",order:4,target:""},{id:11,area:"right-side-logged-in",address:"https://nanoporetech.com/about-us",title:"About",order:4,target:""},{id:12,area:"right-side-logged-in",address:"https://nanoporetech.com/events",title:"Events",order:4,target:""},{id:23,area:"left-side-logged-out",address:"https://nanoporetech.com/",title:"Nanoporetech",order:5,target:""},{id:24,area:"left-side-logged-out",address:"https://metrichor.com/",title:"Metrichor",order:5,target:""},{id:25,area:"left-side-logged-out",address:"https://community.nanoporetech.com/",title:"Community",order:5,target:""},{id:26,area:"left-side-logged-out",address:"https://nanoporetech.com/events",title:"Events",order:5,target:""},{id:27,area:"left-side-logged-out",address:"https://store.nanoporetech.com",title:"Store",order:5,target:""},{id:3,area:"left-side-logged-in",address:"https://nanoporetech.com/",title:"Nanoporetech",order:6,target:""},{id:4,area:"left-side-logged-in",address:"https://metrichor.com/",title:"Metrichor",order:6,target:""},{id:5,area:"left-side-logged-in",address:"https://community.nanoporetech.com/",title:"Community",order:6,target:""},{id:6,area:"left-side-logged-in",address:"https://nanoporetech.com/events",title:"Events",order:6,target:""},{id:7,area:"left-side-logged-in",address:"https://store.nanoporetech.com",title:"Store",order:6,target:""},{id:8,area:"left-side-logged-in",address:"https://epi2me.nanoporetech.com",title:"EPI2ME",order:6,target:"_blank"},{id:13,area:"profile-panel-list",address:"https://community.nanoporetech.com/",title:"Community Dashboard",order:7,target:""},{id:14,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/message_centre",title:"Messages",order:7,target:""},{id:15,area:"profile-panel-list",address:"https://community.nanoporetech.com/my-activity",title:"My Activity",order:7,target:""},{id:16,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/home",title:"My Account",order:7,target:""},{id:17,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/account/teams",title:"Team Management ",order:7,target:""},{id:18,area:"profile-panel-list",address:"https://nanoporetech.com/resource-centre/publications",title:"Publications",order:7,target:""},{id:19,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/profile/status",title:"Preferences",order:7,target:""}];const s={forgot_password:"https://myaccount-dev.nanoporetech.com/profile/details#password-form?RelayState=",logout:"https://myaccount-dev.nanoporetech.com/sso/logout?RelayState=",login:null,messages:"https://myaccount-dev.nanoporetech.com/message_centre",cart:"https://shop-test.nanoporetech.com/checkout/cart"};const n={app_id:"N8NZI5A47F",api_key:"b38860b015b02c9cb6993cf0367ed203",indeces:[{index:"all_prod_en",name:"All",domain:"nanoporetech.com",all_group:true,filters:["tags","type"]},{index:"cws_english_en",name:"www",domain:"nanoporetech.com",filters:["tags","type"]},{index:"store_prod",name:"Store",domain:"store.nanoporetech.com",filters:["type"]},{index:"cws_english_resources_en",name:"Resources",domain:"nanoporetech.com",filters:["tags"]},{index:"community_prod",name:"Community",domain:"community.nanoporetech.com",filters:["type","channel","authors","tags"]}]};const d={user:e,domains:t,cart:o,notifications:r,links:a,urls:s,search:n};export default d;export{o as cart,t as domains,a as links,r as notifications,n as search,s as urls,e as user};
|
5
|
-
//# sourceMappingURL=local-my-account-6662da72.js.map
|
/package/dist/nano-components/{local-my-account-6662da72.js.map → local-my-account-ddb62cc1.js.map}
RENAMED
File without changes
|