@nanoporetech-digital/components 8.1.1 → 8.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.
- package/dist/cjs/{fade-DiBAr_-0.js → fade-Cvsqaxtn.js} +1 -1
- package/dist/cjs/{fullscreen-DiSrws4D.js → fullscreen-BtSF9KqT.js} +1 -1
- package/dist/cjs/index-Bp8uD6Gl.js +8 -0
- package/dist/cjs/{lazyload-CilBX2zO.js → lazyload-DxM1Zo3E.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{local-logged-in-CX0THX6r.js → local-logged-in-CLtc2TZa.js} +1 -1
- package/dist/cjs/{local-logged-out-C-cPz-8v.js → local-logged-out-Ao69_vQl.js} +1 -1
- package/dist/cjs/nano-avatar_5.cjs.entry.js +7 -7
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +29 -26
- package/dist/cjs/nano-global-nav.cjs.entry.js +3 -3
- package/dist/cjs/nano-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +1 -1
- package/dist/cjs/nano-increment.cjs.entry.js +81 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +1 -1
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +3 -3
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +6 -3
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-option-box.cjs.entry.js +17 -0
- package/dist/cjs/nano-rating.cjs.entry.js +4 -4
- package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/{nano-slides-CFlLOF1V.js → nano-slides-DLbZhf2H.js} +7 -7
- package/dist/cjs/nano-slides.cjs.entry.js +1 -1
- package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +2 -2
- package/dist/cjs/{page-dots-B69b5Pqb.js → page-dots-DpnNe0bi.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/global-nav/assets/local-logged-in.json +1 -1
- package/dist/collection/components/global-nav/assets/local-logged-out.json +1 -1
- package/dist/collection/components/global-nav/global-nav.css +1 -0
- package/dist/collection/components/icon-button/icon-button.css +1 -1
- package/dist/collection/components/in-page-nav/in-page-nav.js +2 -2
- package/dist/collection/components/increment/increment.css +102 -0
- package/dist/collection/components/increment/increment.js +97 -0
- package/dist/collection/components/input/input.js +30 -27
- package/dist/collection/components/intersection-observe/intersection-observe.js +1 -1
- package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
- package/dist/collection/components/menu-drawer/menu-drawer.css +11 -7
- package/dist/collection/components/menu-drawer/menu-drawer.js +7 -3
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/option-box/option-box.css +41 -0
- package/dist/collection/components/option-box/option-box.js +25 -0
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +2 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.js +3 -3
- package/dist/collection/components/sortable/sortable.js +1 -1
- package/dist/collection/components/sticker/sticker.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/tabs/tab-content.js +2 -2
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/icon-button.js +1 -1
- package/dist/components/input.js +39 -36
- package/dist/components/local-logged-in.js +1 -1
- package/dist/components/local-logged-out.js +1 -1
- package/dist/components/masked-overflow.js +3 -3
- package/dist/components/nano-global-nav.js +1 -1
- package/dist/components/nano-in-page-nav.js +1 -1
- package/dist/components/nano-increment.d.ts +11 -0
- package/dist/components/nano-increment.js +119 -0
- package/dist/components/nano-intersection-observe.js +1 -1
- package/dist/components/nano-menu-drawer.js +8 -4
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-option-box.d.ts +11 -0
- package/dist/components/nano-option-box.js +32 -0
- package/dist/components/nano-rating.js +4 -4
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-sortable.js +1 -1
- package/dist/components/nano-tab-content.js +2 -2
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/resize-observe.js +2 -2
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/sticker.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
- package/dist/esm/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
- package/dist/esm/index-DgO0qeQ9.js +8 -0
- package/dist/esm/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{local-logged-in-Bycp-mPl.js → local-logged-in-Bh5fOkeO.js} +1 -1
- package/dist/esm/{local-logged-out-BhOAka-2.js → local-logged-out-BQyUtSml.js} +1 -1
- package/dist/esm/nano-avatar_5.entry.js +7 -7
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-date-picker_2.entry.js +29 -26
- package/dist/esm/nano-global-nav.entry.js +3 -3
- package/dist/esm/nano-icon_3.entry.js +3 -3
- package/dist/esm/nano-in-page-nav.entry.js +1 -1
- package/dist/esm/nano-increment.entry.js +79 -0
- package/dist/esm/nano-intersection-observe.entry.js +1 -1
- package/dist/esm/nano-masked-overflow.entry.js +3 -3
- package/dist/esm/nano-menu-drawer.entry.js +6 -3
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-option-box.entry.js +15 -0
- package/dist/esm/nano-rating.entry.js +4 -4
- package/dist/esm/nano-resize-observe.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +7 -7
- package/dist/esm/nano-slides.entry.js +1 -1
- package/dist/esm/nano-sortable.entry.js +1 -1
- package/dist/esm/nano-sticker.entry.js +2 -2
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/esm/{page-dots-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
- package/dist/nano-assets/hash.txt +1 -1
- package/dist/nano-assets/local-logged-in.json +1 -1
- package/dist/nano-assets/local-logged-out.json +1 -1
- package/dist/nano-components/assets/local-logged-in.json +1 -1
- package/dist/nano-components/assets/local-logged-out.json +1 -1
- package/dist/nano-components/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
- package/dist/nano-components/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
- package/dist/nano-components/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
- package/dist/nano-components/{local-logged-in-Bycp-mPl.js → local-logged-in-Bh5fOkeO.js} +1 -1
- package/dist/nano-components/{local-logged-out-BhOAka-2.js → local-logged-out-BQyUtSml.js} +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-components.css +203 -10
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
- package/dist/nano-components/nano-increment.entry.js +4 -0
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-option-box.entry.js +4 -0
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +2 -2
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/{page-dots-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -1
- package/dist/types/components/increment/increment.d.ts +19 -0
- package/dist/types/components/input/input.d.ts +6 -2
- package/dist/types/components/menu-drawer/menu-drawer.d.ts +1 -0
- package/dist/types/components/option-box/option-box.d.ts +14 -0
- package/dist/types/components.d.ts +70 -4
- package/dist/wdio.conf.js +2 -2
- package/docs-json.json +117 -4
- package/docs-vscode.json +18 -2
- package/hydrate/index.js +196 -70
- package/hydrate/index.mjs +196 -70
- package/package.json +2 -2
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{W1hp42tj → uSGJX_GU}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
@@ -22,10 +22,10 @@ const NanoTabContent = class {
|
|
22
22
|
requestAnimationFrame(() => (this.ready = true));
|
23
23
|
}
|
24
24
|
render() {
|
25
|
-
return (h(Host, { key: '
|
25
|
+
return (h(Host, { key: 'f182a99dab031220a40b2c5125d3229b8bacca1c', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
26
26
|
ready: this.ready,
|
27
27
|
'nano-tab-content': true,
|
28
|
-
} }, h("div", { key: '
|
28
|
+
} }, h("div", { key: '47b383859162b6a64518273a9057464de1d37479', part: "base", class: "nano-tab-content" }, h("slot", { key: '3f908fec081c956f9ffd8d7de5e0f45b5e193a8c' }))));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
NanoTabContent.style = tabContentCss;
|
@@ -44,12 +44,12 @@ const NanoTab = class {
|
|
44
44
|
}
|
45
45
|
};
|
46
46
|
render() {
|
47
|
-
return (h(Host, { key: '
|
47
|
+
return (h(Host, { key: '7eca94a330509cbd3c6d232444fbcde422b755a6', id: this.host.id || this.tabId, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, h("div", { key: 'fca6ace8b5fc9c0142fcd04d70cb475323d8ef9d', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
48
48
|
tab: true,
|
49
49
|
'tab--active': this.active,
|
50
50
|
'tab--disabled': this.disabled,
|
51
51
|
'tab--closable': this.closable,
|
52
|
-
} }, h("slot", { key: '
|
52
|
+
} }, h("slot", { key: '3693ff8719b24c34db9018941daab7c840434502', name: "start" }), h("div", { key: 'c792fce22a28175e32f7e0b23a1a62f799016c76', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active ? '-1' : '0', class: "tab__label" }, h("slot", { key: '76b725cd050993d377bf5c7208ce5b7fdf224136' })), h("slot", { key: 'f7bd50a43bb64b67b2ce181bf9215ada4c0ccd12', name: "end" }), this.closable && !this.disabled && (h("nano-icon-button", { key: '96f6bddd3dee12d2e8adeb7a59f98d0cfe8b9c82', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
|
53
53
|
}
|
54
54
|
};
|
55
55
|
NanoTab.style = tabCss;
|
@@ -222,10 +222,10 @@ const NanoTable = class {
|
|
222
222
|
this.cleanUpObservers();
|
223
223
|
}
|
224
224
|
render() {
|
225
|
-
return (h(Host, { key: '
|
225
|
+
return (h(Host, { key: '61967ae8d9228be1374d9a4ee4e08b286cd4dd57', class: {
|
226
226
|
'nano-table': true,
|
227
227
|
'nano-table--props-ready': this.propsReady,
|
228
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
228
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: 'eca1991383ebca49f6032066078f02b62c839d6c', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: 'f3bcb6830439858393c1eda96d68c2c5ccadd15a', class: "nano-table__overflow" }))), h("slot", { key: '7662741dcb672f75bae03c16b5745ff4946f12f7' })));
|
229
229
|
}
|
230
230
|
static get watchers() { return {
|
231
231
|
"compact": ["handleCompactChange"],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-
|
4
|
+
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-CI0F1FDY.js';
|
5
5
|
import './index-DgO0qeQ9.js';
|
6
6
|
import './renderer-T8etwwhk.js';
|
7
7
|
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
QwQsHaCe2mXWwb7y7EHUxXR5meo=
|
@@ -96,7 +96,7 @@
|
|
96
96
|
},
|
97
97
|
"search": {
|
98
98
|
"app_id": "N8NZI5A47F",
|
99
|
-
"api_key": "
|
99
|
+
"api_key": "MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",
|
100
100
|
"indeces": [
|
101
101
|
{
|
102
102
|
"index": "ont_prod_en_v3",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
},
|
93
93
|
"search": {
|
94
94
|
"app_id": "N8NZI5A47F",
|
95
|
-
"api_key": "
|
95
|
+
"api_key": "MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",
|
96
96
|
"indeces": [
|
97
97
|
{
|
98
98
|
"index": "ont_prod_en_v3",
|
@@ -96,7 +96,7 @@
|
|
96
96
|
},
|
97
97
|
"search": {
|
98
98
|
"app_id": "N8NZI5A47F",
|
99
|
-
"api_key": "
|
99
|
+
"api_key": "MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",
|
100
100
|
"indeces": [
|
101
101
|
{
|
102
102
|
"index": "ont_prod_en_v3",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
},
|
93
93
|
"search": {
|
94
94
|
"app_id": "N8NZI5A47F",
|
95
|
-
"api_key": "
|
95
|
+
"api_key": "MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",
|
96
96
|
"indeces": [
|
97
97
|
{
|
98
98
|
"index": "ont_prod_en_v3",
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t,u as i}from"./nano-slides-
|
4
|
+
import{F as t,u as i}from"./nano-slides-CI0F1FDY.js";import"./index-DgO0qeQ9.js";import"./renderer-T8etwwhk.js";const s=t.Slide,h=s.prototype.updateTarget;s.prototype.updateTarget=function(...t){if(h.apply(this,t),!this.parent.options.fade)return;const i=this.target-this.x,s=this.cells[0].x;this.cells.forEach((function(t){t.renderPosition(t.x-s-i)}))},s.prototype.setOpacity=function(t){this.cells.forEach((function(i){i.element.style.opacity=t}))};const n=t.prototype;t.createMethods.push("_createFade"),n._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};const o=n.updateSlides;n.updateSlides=function(...t){o.apply(this,t),this.options.fade&&this.slides.forEach((function(t,i){t.setOpacity(i==this.selectedIndex?1:0)}),this)},n.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},n.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex]&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0))},n.onDragEndFade=function(){this.didDragEnd=!0},n.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},n.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach((function(t){t.setOpacity("")})))};const c=n.positionSlider;n.positionSlider=function(...t){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):c.apply(this,t)};const e=n.positionSliderAtSelected;n.positionSliderAtSelected=function(...t){this.options.fade&&this.setTranslateX(0),e.apply(this,t)},n.fadeSlides=function(){if(this.slides.length<2)return;const t=this.getFadeIndexes(),i=this.slides[t.a],s=this.slides[t.b],h=this.wrapDifference(i.target,s.target);let n=this.wrapDifference(i.target,-this.x);n/=h,i.setOpacity(1-n),s.setOpacity(n);let o=t.a;this.isDragging&&(o=n>.5?t.a:t.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=o&&this.fadeHideIndex!=t.a&&this.fadeHideIndex!=t.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=o},n.getFadeIndexes=function(){return this.isDragging||this.didDragEnd||void 0===this.fadeIndex?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},n.getFadeDragWrapIndexes=function(){const t=this.slides.map((function(t,i){return this.getSlideDistance(-this.x,i)}),this),s=t.map((function(t){return Math.abs(t)})),h=Math.min(...s),n=s.indexOf(h);return{a:n,b:i.modulo(n+(t[n]>=0?1:-1),this.slides.length)}},n.getFadeDragLimitIndexes=function(){let t=0;for(let i=0;i<this.slides.length-1&&!(-this.x<this.slides[i].target);i++)t=i;return{a:t,b:t+1}},n.wrapDifference=function(t,i){let s=i-t;if(!this.options.wrapAround)return s;const h=s+this.slideableWidth,n=s-this.slideableWidth;return Math.abs(h)<Math.abs(s)&&(s=h),Math.abs(n)<Math.abs(s)&&(s=n),s};const u=n._getWrapShiftCells;n._getWrapShiftCells=function(...t){this.options.fade||u.apply(this,t)};const f=n.shiftWrapCells;n.shiftWrapCells=function(...t){this.options.fade||f.apply(this,t)}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t}from"./nano-slides-
|
4
|
+
import{F as t}from"./nano-slides-CI0F1FDY.js";import"./index-DgO0qeQ9.js";import"./renderer-T8etwwhk.js";t.createMethods.push("_createFullscreen");const i=t.prototype;i._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new n("view",this),this.exitFullscreenButton=new n("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},i._changeFullscreenActive=function(){const t=this.isActive?"appendChild":"removeChild";this.element[t](this.viewFullscreenButton.element),this.element[t](this.exitFullscreenButton.element);const i=this.isActive?"activate":"deactivate";this.viewFullscreenButton[i](),this.exitFullscreenButton[i]()},i.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},i.exitFullscreen=function(){this._changeFullscreen(!1)},i._changeFullscreen=function(t){if(this.isFullscreen==t)return;this.isFullscreen=t;const i=t?"add":"remove";document.documentElement.classList[i]("is-flickity-fullscreen"),this.element.classList[i]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[t])},i.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};const s=i.setGallerySize;function n(t,i){this.name=t,this.createButton(),this.createIcon(),this.onClick=function(){i[t+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}i.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":s.call(this))},t.keyboardHandlers[27]=function(){this.exitFullscreen()},n.prototype.createButton=function(){const t=this.element=document.createElement("button");t.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name,t.setAttribute("type","button");const i=(s=this.name+" full-screen")[0].toUpperCase()+s.slice(1);var s;t.setAttribute("aria-label",i),t.title=i};const h="http://www.w3.org/2000/svg",c={view:"M15,20,7,28h5v4H0V20H4v5l8-8Zm5-5,8-8v5h4V0H20V4h5l-8,8Z",exit:"M32,3l-7,7h5v4H18V2h4V7l7-7ZM3,32l7-7v5h4V18H2v4H7L0,29Z"};n.prototype.createIcon=function(){const t=document.createElementNS(h,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 32 32");const i=document.createElementNS(h,"path");i.setAttribute("d",c[this.name]),t.appendChild(i),this.element.appendChild(t)},n.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},n.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},t.FullscreenButton=n;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t,u as i}from"./nano-slides-
|
4
|
+
import{F as t,u as i}from"./nano-slides-CI0F1FDY.js";import"./index-DgO0qeQ9.js";import"./renderer-T8etwwhk.js";t.createMethods.push("_createLazyload");const s=t.prototype;function a(t,i){this.img=t,this.flickity=i,this.load()}s._createLazyload=function(){this.on("select",this.lazyLoad)},s.lazyLoad=function(){const t=this.options.lazyLoad;if(!t)return;const s=this.getAdjacentCellElements("number"==typeof t?t:0);let l=[];s.forEach((function(t){const s=function(t){if("IMG"==t.nodeName){const i=t.getAttribute("data-flickity-lazyload"),s=t.getAttribute("data-flickity-lazyload-src"),a=t.getAttribute("data-flickity-lazyload-srcset");if(i||s||a)return[t]}const s=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(s)}(t);l=l.concat(s)})),l.forEach((function(t){new a(t,this)}),this)},a.prototype.handleEvent=i.handleEvent,a.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);const t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),i=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,i&&this.img.setAttribute("srcset",i),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},a.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},a.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},a.prototype.complete=function(t,i){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);const s=this.flickity.getParentCell(this.img),a=s&&s.element;this.flickity.cellSizeChange(a),this.img.classList.add(i),this.flickity.dispatchEvent("lazyLoad",t,a)},t.LazyLoader=a;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
const e={uuid:123,name:"Jean-Luc Picard",first_name:"Jean-Luc",last_name:"Picard",company:"Starfleet",job_title:"Captain",small_avatar_url:"https://randomuser.me/api/portraits/men/75.jpg"},t=[{origin:"cws",domain:"nanoporetech.com"},{origin:"store",domain:"store.nanoporetech.com"},{origin:"community",domain:"community.nanoporetech.com"}],n={count:1,url:"https://store.nanoporetech.com/cart"},a={count:1,url:"https://myaccount.nanoporetech.com/message_centre"},o=[{id:55,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/message_centre",title:"Messages",order:0,target:""},{id:54,area:"profile-panel-list",address:"https://community.nanoporetech.com",title:"Community Dashboard",order:1,target:""},{id:56,area:"profile-panel-list",address:"https://community.nanoporetech.com/my-activity",title:"My Activity",order:2,target:""},{id:57,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/home",title:"My Account",order:3,target:""},{id:58,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/account/teams",title:"Team Management",order:4,target:""},{id:59,area:"profile-panel-list",address:"https://nanoporetech.com/resource-centre/publications",title:"Publications",order:5,target:""},{id:60,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/profile/status",title:"Preferences",order:6,target:""}],r={logout:"https://myaccount.nanoporetech.com/sso/logout",login:null,messages:"https://myaccount.nanoporetech.com/message_centre",cart:"https://store.nanoporetech.com/cart"},s={app_id:"N8NZI5A47F",api_key:"
|
4
|
+
const e={uuid:123,name:"Jean-Luc Picard",first_name:"Jean-Luc",last_name:"Picard",company:"Starfleet",job_title:"Captain",small_avatar_url:"https://randomuser.me/api/portraits/men/75.jpg"},t=[{origin:"cws",domain:"nanoporetech.com"},{origin:"store",domain:"store.nanoporetech.com"},{origin:"community",domain:"community.nanoporetech.com"}],n={count:1,url:"https://store.nanoporetech.com/cart"},a={count:1,url:"https://myaccount.nanoporetech.com/message_centre"},o=[{id:55,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/message_centre",title:"Messages",order:0,target:""},{id:54,area:"profile-panel-list",address:"https://community.nanoporetech.com",title:"Community Dashboard",order:1,target:""},{id:56,area:"profile-panel-list",address:"https://community.nanoporetech.com/my-activity",title:"My Activity",order:2,target:""},{id:57,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/home",title:"My Account",order:3,target:""},{id:58,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/account/teams",title:"Team Management",order:4,target:""},{id:59,area:"profile-panel-list",address:"https://nanoporetech.com/resource-centre/publications",title:"Publications",order:5,target:""},{id:60,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/profile/status",title:"Preferences",order:6,target:""}],r={logout:"https://myaccount.nanoporetech.com/sso/logout",login:null,messages:"https://myaccount.nanoporetech.com/message_centre",cart:"https://store.nanoporetech.com/cart"},s={app_id:"N8NZI5A47F",api_key:"MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",indeces:[{index:"ont_prod_en_v3",name:"All",domain:"nanoporetech.com",all_group:!0,filters:["tags","type"],replicas:[{name:"Sort by: Most relevant",index:"ont_prod_en_v3"},{name:"Sort by: Newest",index:"ont_prod_en_v3_date_desc_published_time"},{name:"Sort by: Oldest",index:"ont_prod_en_v3_date_asc_published_time"},{name:"Sort by: Recent activity",index:"ont_prod_en_v3_activity_date_desc"}]},{index:"cws_english_en",name:"www",domain:"nanoporetech.com",filters:["tags","type"],replicas:[{name:"Sort by: Most relevant",index:"cws_english_en"},{name:"Sort by: Newest",index:"cws_english_en_date_desc_published_time"},{name:"Sort by: Oldest",index:"cws_english_en_date_asc_published_time"},{name:"Sort by: Recent activity",index:"cws_english_en_activity_date_desc"}]},{index:"store_prod",name:"Store",domain:"store.nanoporetech.com",filters:["type"],replicas:[{name:"Sort by: Most relevant",index:"store_prod"},{name:"Sort by: Newest",index:"store_prod_date_desc_published_time"},{name:"Sort by: Oldest",index:"store_prod_date_asc_published_time"}]},{index:"cws_english_resources_en",name:"Resources",domain:"nanoporetech.com",filters:["tags"],replicas:[{name:"Sort by: Most relevant",index:"cws_english_resources_en"},{name:"Sort by: Newest",index:"cws_english_resources_en_date_desc_published_time"},{name:"Sort by: Oldest",index:"cws_english_resources_en_date_asc_published_time"}]}]};var i={user:e,domains:t,cart:n,notifications:a,links:o,urls:r,search:s};export{n as cart,i as default,t as domains,o as links,a as notifications,s as search,r as urls,e as user}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
const e={id:null,uuid:null,name:null},t=[{origin:"cws",domain:"nanoporetech.com"},{origin:"store",domain:"store.nanoporetech.com"},{origin:"community",domain:"community.nanoporetech.com"}],n={count:0,url:"https://store.nanoporetech.com/cart"},o={count:0},a=[{id:55,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/message_centre",title:"Messages",order:0,target:""},{id:54,area:"profile-panel-list",address:"https://community.nanoporetech.com",title:"Community Dashboard",order:1,target:""},{id:56,area:"profile-panel-list",address:"https://community.nanoporetech.com/my-activity",title:"My Activity",order:2,target:""},{id:57,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/home",title:"My Account",order:3,target:""},{id:58,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/account/teams",title:"Team Management",order:4,target:""},{id:59,area:"profile-panel-list",address:"https://nanoporetech.com/resource-centre/publications",title:"Publications",order:5,target:""},{id:60,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/profile/status",title:"Preferences",order:6,target:""}],s={forgot_password:null,logout:null,login:"https://id.customers.nanoporetech.com/app/nanoporetech-customers_myaccount_1/exk2kkmfwpBAaT3WI697/sso/saml?RelayState=",messages:null,cart:"https://store.nanoporetech.com/cart"},r={app_id:"N8NZI5A47F",api_key:"
|
4
|
+
const e={id:null,uuid:null,name:null},t=[{origin:"cws",domain:"nanoporetech.com"},{origin:"store",domain:"store.nanoporetech.com"},{origin:"community",domain:"community.nanoporetech.com"}],n={count:0,url:"https://store.nanoporetech.com/cart"},o={count:0},a=[{id:55,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/message_centre",title:"Messages",order:0,target:""},{id:54,area:"profile-panel-list",address:"https://community.nanoporetech.com",title:"Community Dashboard",order:1,target:""},{id:56,area:"profile-panel-list",address:"https://community.nanoporetech.com/my-activity",title:"My Activity",order:2,target:""},{id:57,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/home",title:"My Account",order:3,target:""},{id:58,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/account/teams",title:"Team Management",order:4,target:""},{id:59,area:"profile-panel-list",address:"https://nanoporetech.com/resource-centre/publications",title:"Publications",order:5,target:""},{id:60,area:"profile-panel-list",address:"https://myaccount.nanoporetech.com/profile/status",title:"Preferences",order:6,target:""}],s={forgot_password:null,logout:null,login:"https://id.customers.nanoporetech.com/app/nanoporetech-customers_myaccount_1/exk2kkmfwpBAaT3WI697/sso/saml?RelayState=",messages:null,cart:"https://store.nanoporetech.com/cart"},r={app_id:"N8NZI5A47F",api_key:"MDQ0OWZiMzhmZjI4YmZmMmIzY2NhNzI3NGU4Yjc5YWVhNmExMzcxNDRlZTNlN2U2NGEwNzRlZmJjZTZkZmExZWZpbHRlcnM9JTI4JTI3cmVnaW9uJTI3JTNBJTI3dXMlMjcrT1IrJTI3cmVnaW9uJTI3JTNBJTI3YW55JTI3JTI5K0FORCslMjhOT1QrJTI3dHlwZSUyNyUzQSUyN3doaXRlX3BhcGVyJTI3JTI5K0FORCslMjhOT1QrJTI3b3JpZ2luJTI3JTNBJTI3Y29tbXVuaXR5JTI3JTI5JnZhbGlkVW50aWw9MTc1NTk0Mzc5MA==",indeces:[{index:"ont_prod_en_v3",name:"All",domain:"nanoporetech.com",all_group:!0,filters:["tags","type"],replicas:[{name:"Sort by: Most relevant",index:"ont_prod_en_v3"},{name:"Sort by: Newest",index:"ont_prod_en_v3_date_desc_published_time"},{name:"Sort by: Oldest",index:"ont_prod_en_v3_date_asc_published_time"},{name:"Sort by: Recent activity",index:"ont_prod_en_v3_activity_date_desc"}]},{index:"cws_english_en",name:"www",domain:"nanoporetech.com",filters:["tags","type"],replicas:[{name:"Sort by: Most relevant",index:"cws_english_en"},{name:"Sort by: Newest",index:"cws_english_en_date_desc_published_time"},{name:"Sort by: Oldest",index:"cws_english_en_date_asc_published_time"},{name:"Sort by: Recent activity",index:"cws_english_en_activity_date_desc"}]},{index:"store_prod",name:"Store",domain:"store.nanoporetech.com",filters:["type"],replicas:[{name:"Sort by: Most relevant",index:"store_prod"},{name:"Sort by: Newest",index:"store_prod_date_desc_published_time"},{name:"Sort by: Oldest",index:"store_prod_date_asc_published_time"}]},{index:"cws_english_resources_en",name:"Resources",domain:"nanoporetech.com",filters:["tags"],replicas:[{name:"Sort by: Most relevant",index:"cws_english_resources_en"},{name:"Sort by: Newest",index:"cws_english_resources_en_date_desc_published_time"},{name:"Sort by: Oldest",index:"cws_english_resources_en_date_asc_published_time"}]}]};var i={user:e,domains:t,cart:n,notifications:o,links:a,urls:s,search:r};export{n as cart,i as default,t as domains,a as links,o as notifications,r as search,s as urls,e as user}
|