@nanoporetech-digital/components 5.12.2 → 6.0.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/CHANGELOG.md +29 -0
- package/dist/cjs/{local-my-account-d79ed0a2.js → local-my-account-1dfd69a0.js} +123 -15
- package/dist/cjs/{local-my-account-d79ed0a2.js.map → local-my-account-1dfd69a0.js.map} +1 -1
- package/dist/cjs/nano-algolia.cjs.entry.js +5 -2
- 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 +26 -44
- package/dist/cjs/nano-global-search-results.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-6f48a747.js → nano-table-400049cc.js} +2 -2
- package/dist/cjs/{nano-table-6f48a747.js.map → nano-table-400049cc.js.map} +1 -1
- package/dist/cjs/nano-table.cjs.entry.js +1 -1
- package/dist/cjs/{table.worker-f3e54773.js → table.worker-a37f8365.js} +2 -2
- package/dist/cjs/table.worker-a37f8365.js.map +1 -0
- 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 +4 -2
- 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 +28 -43
- package/dist/collection/components/global-search-results/global-search-results.js.map +1 -1
- package/dist/components/algolia.js +5 -2
- 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 +26 -44
- 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/esm/{local-my-account-6662da72.js.map → local-my-account-ddb62cc1.js.map} +1 -1
- package/dist/esm/nano-algolia.entry.js +5 -2
- 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 +26 -44
- package/dist/esm/nano-global-search-results.entry.js.map +1 -1
- package/dist/esm/{nano-table-fc01a927.js → nano-table-a6641aef.js} +2 -2
- package/dist/esm/{nano-table-fc01a927.js.map → nano-table-a6641aef.js.map} +1 -1
- package/dist/esm/nano-table.entry.js +1 -1
- package/dist/esm/{table.worker-c70f6379.js → table.worker-6b597e20.js} +2 -2
- package/dist/esm/table.worker-6b597e20.js.map +1 -0
- 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/nano-components/{nano-table-fc01a927.js → nano-table-a6641aef.js} +2 -2
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/table.worker-6b597e20.js +5 -0
- 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/components/global-search-results/global-search-results.d.ts +2 -0
- package/dist/types/interface.d.ts +5 -0
- package/docs-json.json +2 -2
- package/hydrate/index.js +162 -67
- package/package.json +2 -2
- package/dist/cjs/table.worker-f3e54773.js.map +0 -1
- package/dist/esm/table.worker-c70f6379.js.map +0 -1
- package/dist/nano-components/local-my-account-6662da72.js +0 -5
- package/dist/nano-components/table.worker-c70f6379.js +0 -5
- /package/dist/nano-components/{local-my-account-6662da72.js.map → local-my-account-ddb62cc1.js.map} +0 -0
- /package/dist/nano-components/{nano-table-fc01a927.js.map → nano-table-a6641aef.js.map} +0 -0
- /package/dist/nano-components/{table.worker-c70f6379.js.map → table.worker-6b597e20.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -9167,9 +9167,11 @@ filters.define('abs_url', (str, index = null, result) => {
|
|
9167
9167
|
}
|
9168
9168
|
else if (index.domain)
|
9169
9169
|
domain = index.domain;
|
9170
|
-
if (!domain)
|
9170
|
+
if (str.match(/^http/) || !domain)
|
9171
9171
|
return str;
|
9172
|
-
|
9172
|
+
if (!str.startsWith('/'))
|
9173
|
+
str = '/' + str;
|
9174
|
+
return location.protocol + '//' + domain + str;
|
9173
9175
|
});
|
9174
9176
|
filters.define('replace', (str, search, replace) => str.replace(search, replace));
|
9175
9177
|
filters.define('remove_spaces', (str) => str.replace(/ /g, '_'));
|
@@ -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: {
|
@@ -18433,6 +18438,10 @@ class GlobalSearchResults {
|
|
18433
18438
|
if (!this.index || !this.algoliaEle)
|
18434
18439
|
return;
|
18435
18440
|
this.algoliaEle.searchIndex = this.index;
|
18441
|
+
}
|
18442
|
+
handleAlgoliaEleChange() {
|
18443
|
+
if (!this.algoliaEle)
|
18444
|
+
return;
|
18436
18445
|
this.algoliaEle.filters = [filterOldPosts]; // only get last 2 years
|
18437
18446
|
}
|
18438
18447
|
handleGlobalNavReset(e) {
|
@@ -18452,6 +18461,7 @@ class GlobalSearchResults {
|
|
18452
18461
|
index: meta.index,
|
18453
18462
|
domain: meta.domain,
|
18454
18463
|
filters: meta.filters,
|
18464
|
+
replicas: meta.replicas,
|
18455
18465
|
};
|
18456
18466
|
this.algoliaEle.query = meta.query;
|
18457
18467
|
}
|
@@ -18561,6 +18571,9 @@ class GlobalSearchResults {
|
|
18561
18571
|
else
|
18562
18572
|
this.algoliaEle.filters = [...this.algoliaEle.filters, filterOldPosts];
|
18563
18573
|
}
|
18574
|
+
connectedCallback() {
|
18575
|
+
this.handleAlgoliaEleChange();
|
18576
|
+
}
|
18564
18577
|
componentDidLoad() {
|
18565
18578
|
if (!window['ResizeObserver'])
|
18566
18579
|
return;
|
@@ -18588,47 +18601,12 @@ class GlobalSearchResults {
|
|
18588
18601
|
|
18589
18602
|
<div class="sc-nano-global-search-results topbar__filtering">
|
18590
18603
|
{{ @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>
|
18604
|
+
{{ @if (it.searchIndex && it.searchIndex.replicas) }}
|
18605
|
+
<nano-select class="sc-nano-global-search-results topbar__order indexchange" value="{{ it.index }}" hide-label="true" label="Sort order" show-inline-error="false">
|
18606
|
+
{{ @each(it.searchIndex.replicas) => replica }}
|
18607
|
+
<nano-option value="{{ replica.index }}">{{ replica.name }}</nano-option>
|
18608
|
+
{{ /each }}
|
18609
|
+
</nano-select>
|
18632
18610
|
{{ /if }}
|
18633
18611
|
{{ /if }}
|
18634
18612
|
|
@@ -18673,6 +18651,7 @@ class GlobalSearchResults {
|
|
18673
18651
|
</div>
|
18674
18652
|
{{ /if }}
|
18675
18653
|
<!-- END NO CONTENT -->
|
18654
|
+
|
18676
18655
|
{{ @if (it.totalHitsWithFilters > 0) }}
|
18677
18656
|
{{ @each(it.results) => result }}
|
18678
18657
|
{{ contentType = result.content_type ? result.content_type : result.type }}
|
@@ -18680,7 +18659,11 @@ class GlobalSearchResults {
|
|
18680
18659
|
<div class="sc-nano-global-search-results result">
|
18681
18660
|
<h4 class="sc-nano-global-search-results result__title" data-icon-set="{{(iconSet = false)}}">
|
18682
18661
|
<a href="{{ result.url | abs_url(it, result) }}">
|
18683
|
-
{{ result._snippetResult
|
18662
|
+
{{ @if (result._snippetResult) }}
|
18663
|
+
{{ result._snippetResult.title.value | safe }}
|
18664
|
+
{{ #else }}
|
18665
|
+
{{ result.title | safe }}
|
18666
|
+
{{ /if }}
|
18684
18667
|
{{ @if (contentType === 'technical_document' || contentType === 'literature' || contentType === 'white_paper' || contentType === 'protocol') }}
|
18685
18668
|
<span class="sc-nano-global-search-results result__pdf">PDF</span>
|
18686
18669
|
{{ /if }}
|
@@ -18748,7 +18731,11 @@ class GlobalSearchResults {
|
|
18748
18731
|
</a>
|
18749
18732
|
{{ /if }}
|
18750
18733
|
{{ @if (result.body) }}
|
18751
|
-
<a class="sc-nano-global-search-results result__body" href="{{ result.url | abs_url(it, result) }}">
|
18734
|
+
<a class="sc-nano-global-search-results result__body" href="{{ result.url | abs_url(it, result) }}">
|
18735
|
+
{{ @if (result._snippetResult) }}
|
18736
|
+
{{ result._snippetResult.body.value | safe }}
|
18737
|
+
{{ /if }}
|
18738
|
+
</a>
|
18752
18739
|
{{ /if }}
|
18753
18740
|
{{ @if (contentType === 'product' }}
|
18754
18741
|
<div class="sc-nano-global-search-results result__buttons">
|
@@ -18989,7 +18976,7 @@ class GlobalSearchResults {
|
|
18989
18976
|
}
|
18990
18977
|
get el() { return getElement(this); }
|
18991
18978
|
static get watchers() { return {
|
18992
|
-
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange"],
|
18979
|
+
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange", "handleAlgoliaEleChange"],
|
18993
18980
|
"apiKey": ["handleAlgoliaCredsChange"],
|
18994
18981
|
"appId": ["handleAlgoliaCredsChange"],
|
18995
18982
|
"index": ["handleAlgoliaIndexChange"]
|
@@ -31407,21 +31394,23 @@ registerComponents([
|
|
31407
31394
|
]);
|
31408
31395
|
|
31409
31396
|
const user = {
|
31410
|
-
id: "
|
31397
|
+
id: "john.jenkins",
|
31411
31398
|
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",
|
31399
|
+
name: "John Jenkins",
|
31400
|
+
first_name: "John",
|
31401
|
+
last_name: "Jenkins",
|
31402
|
+
email: "john.jenkins@nanoporetech.com",
|
31403
|
+
company: "Oxford Nanopore Technologies",
|
31404
|
+
lifecycle_stage: "Other",
|
31421
31405
|
indirect_customer: false,
|
31422
31406
|
registration: {
|
31423
31407
|
next_url: null
|
31424
|
-
}
|
31408
|
+
},
|
31409
|
+
covid19_store_access: false,
|
31410
|
+
ncm20_user_group: false,
|
31411
|
+
job_title: "Tester",
|
31412
|
+
small_avatar_url: "https://myaccount-dev.nanoporetech.com/assets/generic-user-f6fcf06f5177e63bec5a3e34f7aa4adec5de3777bdaefdf4706220cdd99ca340.png",
|
31413
|
+
country_code: "GB"
|
31425
31414
|
};
|
31426
31415
|
const domains = [
|
31427
31416
|
{
|
@@ -31691,20 +31680,38 @@ const urls = {
|
|
31691
31680
|
logout: "https://myaccount-dev.nanoporetech.com/sso/logout?RelayState=",
|
31692
31681
|
login: null,
|
31693
31682
|
messages: "https://myaccount-dev.nanoporetech.com/message_centre",
|
31694
|
-
cart: "https://
|
31683
|
+
cart: "https://test.store.nanoporetech.com/cart"
|
31695
31684
|
};
|
31696
31685
|
const search = {
|
31697
31686
|
app_id: "N8NZI5A47F",
|
31698
31687
|
api_key: "b38860b015b02c9cb6993cf0367ed203",
|
31699
31688
|
indeces: [
|
31700
31689
|
{
|
31701
|
-
index: "
|
31690
|
+
index: "ont_dev_en_v3",
|
31702
31691
|
name: "All",
|
31703
31692
|
domain: "nanoporetech.com",
|
31704
31693
|
all_group: true,
|
31705
31694
|
filters: [
|
31706
31695
|
"tags",
|
31707
31696
|
"type"
|
31697
|
+
],
|
31698
|
+
replicas: [
|
31699
|
+
{
|
31700
|
+
name: "Sort by: Most relevant",
|
31701
|
+
index: "ont_dev_en_v3"
|
31702
|
+
},
|
31703
|
+
{
|
31704
|
+
name: "Sort by: Newest",
|
31705
|
+
index: "ont_dev_en_v3_date_desc"
|
31706
|
+
},
|
31707
|
+
{
|
31708
|
+
name: "Sort by: Oldest",
|
31709
|
+
index: "ont_dev_en_v3_date_asc"
|
31710
|
+
},
|
31711
|
+
{
|
31712
|
+
name: "Sort by: Recent activity",
|
31713
|
+
index: "ont_dev_en_v3_activity_date_desc"
|
31714
|
+
}
|
31708
31715
|
]
|
31709
31716
|
},
|
31710
31717
|
{
|
@@ -31714,6 +31721,24 @@ const search = {
|
|
31714
31721
|
filters: [
|
31715
31722
|
"tags",
|
31716
31723
|
"type"
|
31724
|
+
],
|
31725
|
+
replicas: [
|
31726
|
+
{
|
31727
|
+
name: "Sort by: Most relevant",
|
31728
|
+
index: "cws_english_en"
|
31729
|
+
},
|
31730
|
+
{
|
31731
|
+
name: "Sort by: Newest",
|
31732
|
+
index: "cws_english_en_date_desc"
|
31733
|
+
},
|
31734
|
+
{
|
31735
|
+
name: "Sort by: Oldest",
|
31736
|
+
index: "cws_english_en_date_asc"
|
31737
|
+
},
|
31738
|
+
{
|
31739
|
+
name: "Sort by: Recent activity",
|
31740
|
+
index: "cws_english_en_activity_date_desc"
|
31741
|
+
}
|
31717
31742
|
]
|
31718
31743
|
},
|
31719
31744
|
{
|
@@ -31722,6 +31747,20 @@ const search = {
|
|
31722
31747
|
domain: "store.nanoporetech.com",
|
31723
31748
|
filters: [
|
31724
31749
|
"type"
|
31750
|
+
],
|
31751
|
+
replicas: [
|
31752
|
+
{
|
31753
|
+
name: "Sort by: Most relevant",
|
31754
|
+
index: "store_prod"
|
31755
|
+
},
|
31756
|
+
{
|
31757
|
+
name: "Sort by: Newest",
|
31758
|
+
index: "store_date_desc"
|
31759
|
+
},
|
31760
|
+
{
|
31761
|
+
name: "Sort by: Oldest",
|
31762
|
+
index: "store_date_asc"
|
31763
|
+
}
|
31725
31764
|
]
|
31726
31765
|
},
|
31727
31766
|
{
|
@@ -31730,6 +31769,20 @@ const search = {
|
|
31730
31769
|
domain: "nanoporetech.com",
|
31731
31770
|
filters: [
|
31732
31771
|
"tags"
|
31772
|
+
],
|
31773
|
+
replicas: [
|
31774
|
+
{
|
31775
|
+
name: "Sort by: Most relevant",
|
31776
|
+
index: "cws_english_resources_en"
|
31777
|
+
},
|
31778
|
+
{
|
31779
|
+
name: "Sort by: Newest",
|
31780
|
+
index: "cws_english_resources_en_date_desc"
|
31781
|
+
},
|
31782
|
+
{
|
31783
|
+
name: "Sort by: Oldest",
|
31784
|
+
index: "cws_english_resources_en_date_asc"
|
31785
|
+
}
|
31733
31786
|
]
|
31734
31787
|
},
|
31735
31788
|
{
|
@@ -31741,10 +31794,50 @@ const search = {
|
|
31741
31794
|
"channel",
|
31742
31795
|
"authors",
|
31743
31796
|
"tags"
|
31797
|
+
],
|
31798
|
+
replicas: [
|
31799
|
+
{
|
31800
|
+
name: "Sort by: Most relevant",
|
31801
|
+
index: "community_prod"
|
31802
|
+
},
|
31803
|
+
{
|
31804
|
+
name: "Sort by: Newest",
|
31805
|
+
index: "community_prod_date_desc"
|
31806
|
+
},
|
31807
|
+
{
|
31808
|
+
name: "Sort by: Oldest",
|
31809
|
+
index: "community_prod_date_asc"
|
31810
|
+
},
|
31811
|
+
{
|
31812
|
+
name: "Sort by: Recent activity",
|
31813
|
+
index: "community_prod_activity_date_desc"
|
31814
|
+
}
|
31744
31815
|
]
|
31745
31816
|
}
|
31746
31817
|
]
|
31747
31818
|
};
|
31819
|
+
const promotion = {
|
31820
|
+
header: {
|
31821
|
+
img: "https://nanoporetech.com/sites/default/files/s3/gn-promotion-lc20.png",
|
31822
|
+
label: "London Calling 2020 Online",
|
31823
|
+
url: "https://londoncallingconf.co.uk/lc20"
|
31824
|
+
},
|
31825
|
+
description: "A conference hosted by Oxford Nanopore Technologies",
|
31826
|
+
meta: [
|
31827
|
+
{
|
31828
|
+
icon: "calendar",
|
31829
|
+
label: "18th - 19th June 2020"
|
31830
|
+
},
|
31831
|
+
{
|
31832
|
+
icon: "map-marker",
|
31833
|
+
label: "Online"
|
31834
|
+
}
|
31835
|
+
],
|
31836
|
+
cta: {
|
31837
|
+
label: "Register Now",
|
31838
|
+
url: "https://nanoporetech.com/lc-online/register"
|
31839
|
+
}
|
31840
|
+
};
|
31748
31841
|
var localMyAccount = {
|
31749
31842
|
user: user,
|
31750
31843
|
domains: domains,
|
@@ -31752,7 +31845,8 @@ var localMyAccount = {
|
|
31752
31845
|
notifications: notifications,
|
31753
31846
|
links: links,
|
31754
31847
|
urls: urls,
|
31755
|
-
search: search
|
31848
|
+
search: search,
|
31849
|
+
promotion: promotion
|
31756
31850
|
};
|
31757
31851
|
|
31758
31852
|
var localMyAccount$1 = /*#__PURE__*/Object.freeze({
|
@@ -31764,6 +31858,7 @@ var localMyAccount$1 = /*#__PURE__*/Object.freeze({
|
|
31764
31858
|
links: links,
|
31765
31859
|
urls: urls,
|
31766
31860
|
search: search,
|
31861
|
+
promotion: promotion,
|
31767
31862
|
'default': localMyAccount
|
31768
31863
|
});
|
31769
31864
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nanoporetech-digital/components",
|
3
|
-
"version": "
|
3
|
+
"version": "6.0.1",
|
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": "60136a1acc18966ac283a027371777eabac1ea8a",
|
133
133
|
"volta": {
|
134
134
|
"node": "18.14.0"
|
135
135
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"table.worker-f3e54773.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"table.worker-c70f6379.js","mappings":";;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -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
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Web Components for Nanopore digital Web Apps
|
3
|
-
*/
|
4
|
-
import{c as t}from"./nano-table-fc01a927.js";import"./index-9695db0a.js";import"./math-c02ddfda.js";import"./throttle-ac4fcefa.js";import"./index-3003356f.js";const o="table.worker";const r="stencil.table.worker";const e=new URL("table.worker-4aad752d.js",import.meta.url).href;const a=new Blob(['importScripts("'+e+'")'],{type:"text/javascript"});const s=URL.createObjectURL(a);const c=t(s,o,r);URL.revokeObjectURL(s);export{c as worker,r as workerMsgId,o as workerName,e as workerPath};
|
5
|
-
//# sourceMappingURL=table.worker-c70f6379.js.map
|
/package/dist/nano-components/{local-my-account-6662da72.js.map → local-my-account-ddb62cc1.js.map}
RENAMED
File without changes
|
File without changes
|
File without changes
|