@nanoporetech-digital/components 8.0.0-alpha.8 → 8.0.0-alpha.9
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/{algolia-data-Ck3OvAaS.js → algolia-data-CSm7qrG0.js} +1 -1
- package/dist/cjs/{component-store-Cpxjkhrv.js → component-store-Bjf_XOwd.js} +1 -1
- package/dist/cjs/{dom-B0-coRX2.js → dom-DM4lO0bS.js} +1 -1
- package/dist/cjs/{fade-463IMjUb.js → fade-DYt6Phy3.js} +3 -3
- package/dist/cjs/{form-control-OWJOOoxA.js → form-control-BGk1kbyE.js} +1 -1
- package/dist/cjs/{fullscreen-0yMY8mhF.js → fullscreen-B0RzdP3s.js} +3 -3
- package/dist/cjs/{index-ZOnWVzxx.js → index-DMCNW34o.js} +1 -1
- package/dist/cjs/{index-BlC8UV0T.js → index-trCnMfo7.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-CnQrwJrf.js → lazyload-DzKvneFi.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-DTqHsNdW.js → modal-Ca7dG1up.js} +1 -1
- package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
- package/dist/cjs/nano-alert.cjs.entry.js +7 -7
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
- package/dist/cjs/nano-algolia.cjs.entry.js +6 -6
- package/dist/cjs/nano-animation.cjs.entry.js +2 -2
- package/dist/cjs/nano-avatar_5.cjs.entry.js +17 -17
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +42 -9
- package/dist/cjs/nano-card-carousel.cjs.entry.js +2 -2
- package/dist/cjs/nano-card.cjs.entry.js +1 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +3 -3
- package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +1 -1
- package/dist/cjs/{nano-data-table-fppjZGKo.js → nano-data-table-zUnFb2XO.js} +5 -5
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +15 -15
- package/dist/cjs/nano-date-input.cjs.entry.js +6 -6
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-details.cjs.entry.js +3 -3
- package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +5 -5
- package/dist/cjs/nano-feature-box.cjs.entry.js +1 -1
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/nano-footer.cjs.entry.js +2 -2
- package/dist/cjs/nano-global-nav.cjs.entry.js +20 -12
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/nano-hero.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +4 -4
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +14 -8
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +4 -4
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +63 -99
- package/dist/cjs/nano-more-less.cjs.entry.js +4 -4
- package/dist/cjs/nano-nav-item.cjs.entry.js +12 -16
- package/dist/cjs/nano-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +6 -6
- package/dist/cjs/nano-resize-observe.cjs.entry.js +43 -34
- package/dist/cjs/nano-slide.cjs.entry.js +3 -3
- package/dist/cjs/{nano-slides-BxtmLUSX.js → nano-slides-C3CzGlwK.js} +9 -9
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +3 -3
- package/dist/cjs/nano-spinner.cjs.entry.js +1 -1
- package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +6 -6
- package/dist/cjs/nano-tab-content.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab.cjs.entry.js +4 -4
- package/dist/cjs/nano-table.cjs.entry.js +4 -4
- package/dist/cjs/{page-dots-B2slCN6O.js → page-dots-Cpgo_xGE.js} +3 -3
- package/dist/cjs/{renderer-BjTjwe8d.js → renderer-W7BRtd3i.js} +1 -1
- package/dist/cjs/{scroll-CtgMHKrt.js → scroll-33Y1FRj4.js} +9 -14
- package/dist/cjs/{slot-CoMwYflw.js → slot-CppKo1Tn.js} +1 -1
- package/dist/cjs/{tabbable-D33Xh_1b.js → tabbable-CQ4-mXv0.js} +1 -1
- package/dist/cjs/{table.worker-CBBDTe_S.js → table.worker-Dto6wn52.js} +6 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/algolia/algolia.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +24 -28
- package/dist/collection/components/breadcrumb/breadcrumb.js +41 -8
- package/dist/collection/components/datalist/datalist.js +6 -6
- package/dist/collection/components/date-input/date-input.js +5 -6
- package/dist/collection/components/drawer/drawer.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/field-validator/field-validator.js +1 -1
- package/dist/collection/components/footer/footer.css +15 -1
- package/dist/collection/components/global-nav/global-nav.css +1 -1
- package/dist/collection/components/global-nav/global-nav.js +34 -9
- package/dist/collection/components/global-search-results/global-search-results.css +0 -1
- package/dist/collection/components/grid/grid.css +8 -5
- package/dist/collection/components/in-page-nav/in-page-nav.js +15 -5
- package/dist/collection/components/menu-drawer/menu-drawer.css +61 -83
- package/dist/collection/components/menu-drawer/menu-drawer.js +66 -151
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/nav-item/nav-item.css +1 -93
- package/dist/collection/components/nav-item/nav-item.js +15 -32
- package/dist/collection/components/option/option.css +1 -3
- package/dist/collection/components/option/option.js +4 -4
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +44 -32
- 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 +6 -6
- 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/tag/tag.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/utils/scroll.js +8 -13
- package/dist/components/algolia.js +1 -1
- package/dist/components/datalist.js +6 -6
- package/dist/components/drawer.js +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/nano-breadcrumb.js +42 -9
- package/dist/components/nano-date-input.js +4 -4
- package/dist/components/nano-footer.js +1 -1
- package/dist/components/nano-global-nav.js +19 -10
- package/dist/components/nano-in-page-nav.js +15 -5
- package/dist/components/nano-menu-drawer.js +64 -105
- package/dist/components/nano-more-less.js +2 -2
- 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/nav-item.js +7 -12
- package/dist/components/option.js +4 -4
- package/dist/components/resize-observe.js +41 -32
- package/dist/components/scroll.js +8 -13
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/sticker.js +2 -2
- package/dist/components/tag.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/esm/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/esm/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/esm/{fade-BR_L2aBv.js → fade-BUaM9GO7.js} +3 -3
- package/dist/esm/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/esm/{fullscreen-ChzUqF71.js → fullscreen-D9bU32l7.js} +3 -3
- package/dist/esm/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +1 -1
- package/dist/esm/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-IYX4l8Tu.js → lazyload-C6olXHXA.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-CH7Vma1I.js → modal-DmA7xt58.js} +1 -1
- package/dist/esm/nano-accordion.entry.js +3 -3
- package/dist/esm/nano-alert.entry.js +7 -7
- package/dist/esm/nano-algolia-filter.entry.js +4 -4
- package/dist/esm/nano-algolia-pagination.entry.js +2 -2
- package/dist/esm/nano-algolia-results.entry.js +3 -3
- package/dist/esm/nano-algolia.entry.js +6 -6
- package/dist/esm/nano-animation.entry.js +2 -2
- package/dist/esm/nano-avatar_5.entry.js +17 -17
- package/dist/esm/nano-breadcrumb.entry.js +42 -9
- package/dist/esm/nano-card-carousel.entry.js +2 -2
- package/dist/esm/nano-card.entry.js +1 -1
- package/dist/esm/nano-checkbox-group.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js +2 -2
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +4 -4
- package/dist/esm/nano-content-links.entry.js +1 -1
- package/dist/esm/nano-cta.entry.js +1 -1
- package/dist/esm/{nano-data-table-EkTqZy8O.js → nano-data-table-CC6zn15I.js} +5 -5
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +15 -15
- package/dist/esm/nano-date-input.entry.js +6 -6
- package/dist/esm/nano-date-picker_2.entry.js +4 -4
- package/dist/esm/nano-details.entry.js +3 -3
- package/dist/esm/nano-dialog.entry.js +8 -8
- package/dist/esm/nano-dropdown_2.entry.js +5 -5
- package/dist/esm/nano-feature-box.entry.js +1 -1
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +2 -2
- package/dist/esm/nano-footer.entry.js +2 -2
- package/dist/esm/nano-global-nav.entry.js +20 -12
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +3 -3
- package/dist/esm/nano-hero.entry.js +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +4 -4
- package/dist/esm/nano-in-page-nav.entry.js +14 -8
- package/dist/esm/nano-intersection-observe.entry.js +4 -4
- package/dist/esm/nano-masked-overflow.entry.js +4 -4
- package/dist/esm/nano-menu-drawer.entry.js +63 -99
- package/dist/esm/nano-more-less.entry.js +4 -4
- package/dist/esm/nano-nav-item.entry.js +12 -16
- package/dist/esm/nano-progress-bar.entry.js +1 -1
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +6 -6
- package/dist/esm/nano-resize-observe.entry.js +43 -34
- package/dist/esm/nano-slide.entry.js +3 -3
- package/dist/esm/{nano-slides-DL3S1wHE.js → nano-slides-B0sdF3jS.js} +9 -9
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +3 -3
- package/dist/esm/nano-spinner.entry.js +1 -1
- package/dist/esm/nano-split-pane.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +6 -6
- package/dist/esm/nano-tab-content.entry.js +4 -4
- package/dist/esm/nano-tab-group.entry.js +4 -4
- package/dist/esm/nano-tab.entry.js +4 -4
- package/dist/esm/nano-table.entry.js +4 -4
- package/dist/esm/{page-dots-gxG3_NaA.js → page-dots-B8o2-Gb8.js} +3 -3
- package/dist/esm/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/esm/{scroll-D4n69pGx.js → scroll-N_WMYKm7.js} +9 -14
- package/dist/esm/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/esm/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/esm/{table.worker-Dcaz5STw.js → table.worker-DxcGLZVJ.js} +6 -6
- package/dist/nano-components/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/nano-components/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/nano-components/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/nano-components/{fade-BR_L2aBv.js → fade-BUaM9GO7.js} +1 -1
- package/dist/nano-components/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/nano-components/{fullscreen-ChzUqF71.js → fullscreen-D9bU32l7.js} +1 -1
- package/dist/nano-components/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-IYX4l8Tu.js → lazyload-C6olXHXA.js} +1 -1
- package/dist/nano-components/{modal-CH7Vma1I.js → modal-DmA7xt58.js} +1 -1
- package/dist/nano-components/nano-accordion.entry.js +1 -1
- package/dist/nano-components/nano-alert.entry.js +1 -1
- package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
- package/dist/nano-components/nano-algolia-results.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-animation.entry.js +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-card-carousel.entry.js +1 -1
- package/dist/nano-components/nano-card.entry.js +1 -1
- package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
- package/dist/nano-components/nano-checkbox.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.css +319 -176
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-content-links.entry.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/{nano-data-table-EkTqZy8O.js → nano-data-table-CC6zn15I.js} +1 -1
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-date-input.entry.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-details.entry.js +1 -1
- package/dist/nano-components/nano-dialog.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- package/dist/nano-components/nano-feature-box.entry.js +1 -1
- package/dist/nano-components/nano-field-validator.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid-item.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-icon-item.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-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-nav-item.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-range.entry.js +1 -1
- 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-DL3S1wHE.js → nano-slides-B0sdF3jS.js} +4 -4
- 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-spinner.entry.js +1 -1
- package/dist/nano-components/nano-split-pane.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-group.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-gxG3_NaA.js → page-dots-B8o2-Gb8.js} +1 -1
- package/dist/nano-components/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/nano-components/scroll-N_WMYKm7.js +4 -0
- package/dist/nano-components/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/nano-components/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/nano-components/table.worker-DxcGLZVJ.js +4 -0
- 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/breadcrumb/breadcrumb.d.ts +7 -1
- package/dist/types/components/date-input/date-input.d.ts +1 -2
- package/dist/types/components/global-nav/global-nav.d.ts +5 -0
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -0
- package/dist/types/components/menu-drawer/menu-drawer.d.ts +12 -27
- package/dist/types/components/nav-item/nav-item.d.ts +9 -4
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/resize-observe/resize-observe.d.ts +3 -0
- package/dist/types/components.d.ts +32 -58
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/dist/types/utils/testing/index.d.ts +50 -0
- package/docs-json.json +128 -124
- package/docs-vscode.json +4 -16
- package/hydrate/index.js +221 -299
- package/hydrate/index.mjs +221 -299
- package/package.json +3 -3
- package/dist/nano-components/scroll-D4n69pGx.js +0 -4
- package/dist/nano-components/table.worker-Dcaz5STw.js +0 -4
- /package/dist/nano-components/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +0 -0
@@ -5,8 +5,7 @@ import type { Dropdown } from '../dropdown/dropdown';
|
|
5
5
|
import type { DateInputChangeEventDetail, DuetLocalizedText, LocalDateOpts } from './date-input-interface';
|
6
6
|
import type { DateDisabledPredicate } from '../date-picker/date-picker-interface';
|
7
7
|
/**
|
8
|
-
*
|
9
|
-
* It has specific options for localisation, date formatting and validation.
|
8
|
+
* Enables date selection and input in a form.
|
10
9
|
*
|
11
10
|
* @version 1.0.0
|
12
11
|
* @status deprecated
|
@@ -76,6 +76,11 @@ export declare class GlobalNav implements ComponentInterface {
|
|
76
76
|
private _mainMenuBar;
|
77
77
|
get mainMenuBar(): HTMLElement;
|
78
78
|
set mainMenuBar(el: HTMLElement);
|
79
|
+
/**
|
80
|
+
* Manually triggers the main menu bar resize behaviour.
|
81
|
+
* This can be useful if you append new children to the global-nav
|
82
|
+
*/
|
83
|
+
triggerResize(): Promise<void>;
|
79
84
|
shouldResize: boolean;
|
80
85
|
breakpoint: 0 | 1 | 2 | 3 | 4;
|
81
86
|
breakpointChanged(): void;
|
@@ -31,6 +31,7 @@ export declare class NanoInPageNav implements ComponentInterface {
|
|
31
31
|
*/
|
32
32
|
private updateNavForBreakpoint;
|
33
33
|
private initStickiness;
|
34
|
+
connectedCallback(): void;
|
34
35
|
disconnectedCallback(): void;
|
35
36
|
/**
|
36
37
|
* Transforms the desktop navigation into a mobile one by wrapping the <ul> elements in collapsible nano-details elements.
|
@@ -1,23 +1,22 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
2
|
+
*
|
3
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
4
|
+
*
|
5
|
+
* @status stable
|
6
|
+
* @version 1.0.0
|
7
|
+
*
|
6
8
|
* @slot foot - nav items to be placed at the bottom of the drawer
|
7
9
|
* @slot - default slot for nav items
|
8
10
|
*/
|
9
11
|
export declare class MenuDrawer {
|
10
12
|
private containerDiv;
|
11
13
|
private contentDiv;
|
12
|
-
private measureEle;
|
13
14
|
private globalNav;
|
14
15
|
private children;
|
15
|
-
private
|
16
|
-
private
|
16
|
+
private ro;
|
17
|
+
private slotCtrl;
|
17
18
|
private el;
|
18
19
|
reset: boolean;
|
19
|
-
widthOk: boolean;
|
20
|
-
heightOk: boolean;
|
21
20
|
isLoading: boolean;
|
22
21
|
hide: boolean;
|
23
22
|
/**
|
@@ -25,32 +24,18 @@ export declare class MenuDrawer {
|
|
25
24
|
*/
|
26
25
|
open: boolean;
|
27
26
|
/**
|
28
|
-
*
|
29
|
-
*/
|
30
|
-
saveState: boolean;
|
31
|
-
/**
|
32
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
27
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
33
28
|
*/
|
34
29
|
hideWidth: number;
|
35
|
-
/**
|
36
|
-
* Should element hide and move items into the nano-global-nav when items are cut off
|
37
|
-
* (this will only work when nano-menu-drawer is displayed at full screen)
|
38
|
-
*/
|
39
|
-
hideHeight: boolean;
|
40
30
|
cancelNavItemEvents(ev: CustomEvent): void;
|
41
31
|
openChange(): void;
|
42
|
-
widthChange(): void;
|
43
|
-
hideHeightChange(): void;
|
44
32
|
private moveItemsToGlobalNav;
|
45
33
|
private moveItemsToDrawer;
|
46
|
-
private
|
34
|
+
private onResize;
|
47
35
|
private toggle;
|
48
|
-
private
|
49
|
-
private attachIO;
|
50
|
-
handleGlobalNavReady(e: CustomEvent & {
|
51
|
-
target: HTMLNanoGlobalNavElement;
|
52
|
-
}): void;
|
36
|
+
private attachRO;
|
53
37
|
componentWillLoad(): void;
|
38
|
+
connectedCallback(): void;
|
54
39
|
componentDidLoad(): void;
|
55
40
|
disconnectedCallback(): void;
|
56
41
|
render(): any;
|
@@ -13,8 +13,15 @@ import type { NavItemEventDetail } from './nav-item-interface';
|
|
13
13
|
* @part trigger--button - the controlling `<button>` element
|
14
14
|
* @part trigger--anchor - the controlling <a> element
|
15
15
|
* @part trigger-wrapper - the wrapping div around the control (shadow `<button>` / `<a>` or slotted `<a>`)
|
16
|
-
* @part
|
17
|
-
* @part
|
16
|
+
* @part label - the label text of the nav item
|
17
|
+
* @part modal - the div that contains the secondary content panel
|
18
|
+
* @part modal--open - the div that contains the secondary content panel when open
|
19
|
+
* @part modal--close - the div that contains the secondary content panel when closed
|
20
|
+
* @part modal-content - the div that contains the secondary content panel content
|
21
|
+
* @part modal-content--open - the div that contains the secondary content panel content when open
|
22
|
+
* @part modal-mask - the div that covers the screen when the secondary content panel is open
|
23
|
+
* @part close-button - the div that contains the close button for the secondary content panel
|
24
|
+
* @part close-button-icon - the icon inside the close button for the secondary content panel
|
18
25
|
*
|
19
26
|
* @version 1.0.0
|
20
27
|
* @status stable
|
@@ -40,8 +47,6 @@ export declare class NavItem implements ComponentInterface {
|
|
40
47
|
checkbox: boolean;
|
41
48
|
/** Whether secondary menus should close on blur */
|
42
49
|
closeOnBlur: boolean;
|
43
|
-
/** Will show an indicator badge - only when placed in a nano-menu-draw */
|
44
|
-
notification: boolean;
|
45
50
|
/** Emitted when the nav item closes it's secondary navigation. */
|
46
51
|
nanoClose: EventEmitter<NavItemEventDetail>;
|
47
52
|
/** Emitted when the nav item opens it's secondary navigation. */
|
@@ -34,7 +34,7 @@ export declare class Option implements OptionInterface {
|
|
34
34
|
*/
|
35
35
|
disabled: boolean;
|
36
36
|
/** You can add extra meta for this option. When displayed in a list, users
|
37
|
-
* search / filter via extra related terms.
|
37
|
+
* search / filter via extra related terms.
|
38
38
|
*/
|
39
39
|
filterMeta: string;
|
40
40
|
/** Setting an href will render an `<a>` element */
|
@@ -3,6 +3,9 @@ import { ResizeStateChangeEventDetail } from './resize-observe-interface';
|
|
3
3
|
/**
|
4
4
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
5
5
|
*
|
6
|
+
* @status stable
|
7
|
+
* @version 1.0.0
|
8
|
+
*
|
6
9
|
* @slot - Main slot for any content.
|
7
10
|
* @slot content-fit-x - optional slot (when `notifyContentFit` is set). Shows when content fits / doesn't get cut off
|
8
11
|
* @slot content-nofit-x - optional slot (when `notifyContentFit` is set). Shows when content doesn't get cut off
|
@@ -869,8 +869,7 @@ export namespace Components {
|
|
869
869
|
"type": 'select' | 'selectMulti' | 'input';
|
870
870
|
}
|
871
871
|
/**
|
872
|
-
*
|
873
|
-
* It has specific options for localisation, date formatting and validation.
|
872
|
+
* Enables date selection and input in a form.
|
874
873
|
* @version 1.0.0
|
875
874
|
* @status deprecated
|
876
875
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -1608,6 +1607,10 @@ export namespace Components {
|
|
1608
1607
|
* Send the current search term and selected index to a nested `nano-global-search-results`
|
1609
1608
|
*/
|
1610
1609
|
"submitSearch": () => Promise<void>;
|
1610
|
+
/**
|
1611
|
+
* Manually triggers the main menu bar resize behaviour. This can be useful if you append new children to the global-nav
|
1612
|
+
*/
|
1613
|
+
"triggerResize": () => Promise<void>;
|
1611
1614
|
}
|
1612
1615
|
/**
|
1613
1616
|
* Nanopore Global Search results component
|
@@ -2268,19 +2271,13 @@ export namespace Components {
|
|
2268
2271
|
"type": 'menu' | 'listbox' | 'nav';
|
2269
2272
|
}
|
2270
2273
|
/**
|
2271
|
-
*
|
2272
|
-
*
|
2273
|
-
*
|
2274
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
2274
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
2275
|
+
* @status stable
|
2276
|
+
* @version 1.0.0
|
2275
2277
|
*/
|
2276
2278
|
interface NanoMenuDrawer {
|
2277
2279
|
/**
|
2278
|
-
*
|
2279
|
-
* @default true
|
2280
|
-
*/
|
2281
|
-
"hideHeight": boolean;
|
2282
|
-
/**
|
2283
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
2280
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
2284
2281
|
* @default 576
|
2285
2282
|
*/
|
2286
2283
|
"hideWidth": number;
|
@@ -2289,11 +2286,6 @@ export namespace Components {
|
|
2289
2286
|
* @default true
|
2290
2287
|
*/
|
2291
2288
|
"open": boolean;
|
2292
|
-
/**
|
2293
|
-
* Save open state to localStorage
|
2294
|
-
* @default true
|
2295
|
-
*/
|
2296
|
-
"saveState": boolean;
|
2297
2289
|
}
|
2298
2290
|
/**
|
2299
2291
|
* Show more or less from a collection of items.
|
@@ -2347,11 +2339,6 @@ export namespace Components {
|
|
2347
2339
|
* @default null
|
2348
2340
|
*/
|
2349
2341
|
"href": string;
|
2350
|
-
/**
|
2351
|
-
* Will show an indicator badge - only when placed in a nano-menu-draw
|
2352
|
-
* @default false
|
2353
|
-
*/
|
2354
|
-
"notification": boolean;
|
2355
2342
|
/**
|
2356
2343
|
* Whether a secondary menu should be or is currently open
|
2357
2344
|
* @default false
|
@@ -2384,7 +2371,7 @@ export namespace Components {
|
|
2384
2371
|
*/
|
2385
2372
|
"disabled": boolean;
|
2386
2373
|
/**
|
2387
|
-
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
2374
|
+
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
2388
2375
|
* @default ''
|
2389
2376
|
*/
|
2390
2377
|
"filterMeta": string;
|
@@ -2549,6 +2536,8 @@ export namespace Components {
|
|
2549
2536
|
}
|
2550
2537
|
/**
|
2551
2538
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
2539
|
+
* @status stable
|
2540
|
+
* @version 1.0.0
|
2552
2541
|
*/
|
2553
2542
|
interface NanoResizeObserve {
|
2554
2543
|
/**
|
@@ -3857,8 +3846,7 @@ declare global {
|
|
3857
3846
|
"nanoValidate": ControlValidityEventDetail;
|
3858
3847
|
}
|
3859
3848
|
/**
|
3860
|
-
*
|
3861
|
-
* It has specific options for localisation, date formatting and validation.
|
3849
|
+
* Enables date selection and input in a form.
|
3862
3850
|
* @version 1.0.0
|
3863
3851
|
* @status deprecated
|
3864
3852
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -4326,10 +4314,9 @@ declare global {
|
|
4326
4314
|
new (): HTMLNanoMenuElement;
|
4327
4315
|
};
|
4328
4316
|
/**
|
4329
|
-
*
|
4330
|
-
*
|
4331
|
-
*
|
4332
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
4317
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
4318
|
+
* @status stable
|
4319
|
+
* @version 1.0.0
|
4333
4320
|
*/
|
4334
4321
|
interface HTMLNanoMenuDrawerElement extends Components.NanoMenuDrawer, HTMLStencilElement {
|
4335
4322
|
}
|
@@ -4465,6 +4452,8 @@ declare global {
|
|
4465
4452
|
}
|
4466
4453
|
/**
|
4467
4454
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
4455
|
+
* @status stable
|
4456
|
+
* @version 1.0.0
|
4468
4457
|
*/
|
4469
4458
|
interface HTMLNanoResizeObserveElement extends Components.NanoResizeObserve, HTMLStencilElement {
|
4470
4459
|
addEventListener<K extends keyof HTMLNanoResizeObserveElementEventMap>(type: K, listener: (this: HTMLNanoResizeObserveElement, ev: NanoResizeObserveCustomEvent<HTMLNanoResizeObserveElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -5684,8 +5673,7 @@ declare namespace LocalJSX {
|
|
5684
5673
|
"type"?: 'select' | 'selectMulti' | 'input';
|
5685
5674
|
}
|
5686
5675
|
/**
|
5687
|
-
*
|
5688
|
-
* It has specific options for localisation, date formatting and validation.
|
5676
|
+
* Enables date selection and input in a form.
|
5689
5677
|
* @version 1.0.0
|
5690
5678
|
* @status deprecated
|
5691
5679
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -7136,19 +7124,13 @@ declare namespace LocalJSX {
|
|
7136
7124
|
"type"?: 'menu' | 'listbox' | 'nav';
|
7137
7125
|
}
|
7138
7126
|
/**
|
7139
|
-
*
|
7140
|
-
*
|
7141
|
-
*
|
7142
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
7127
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
7128
|
+
* @status stable
|
7129
|
+
* @version 1.0.0
|
7143
7130
|
*/
|
7144
7131
|
interface NanoMenuDrawer {
|
7145
7132
|
/**
|
7146
|
-
*
|
7147
|
-
* @default true
|
7148
|
-
*/
|
7149
|
-
"hideHeight"?: boolean;
|
7150
|
-
/**
|
7151
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
7133
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
7152
7134
|
* @default 576
|
7153
7135
|
*/
|
7154
7136
|
"hideWidth"?: number;
|
@@ -7157,11 +7139,6 @@ declare namespace LocalJSX {
|
|
7157
7139
|
* @default true
|
7158
7140
|
*/
|
7159
7141
|
"open"?: boolean;
|
7160
|
-
/**
|
7161
|
-
* Save open state to localStorage
|
7162
|
-
* @default true
|
7163
|
-
*/
|
7164
|
-
"saveState"?: boolean;
|
7165
7142
|
}
|
7166
7143
|
/**
|
7167
7144
|
* Show more or less from a collection of items.
|
@@ -7215,11 +7192,6 @@ declare namespace LocalJSX {
|
|
7215
7192
|
* @default null
|
7216
7193
|
*/
|
7217
7194
|
"href"?: string;
|
7218
|
-
/**
|
7219
|
-
* Will show an indicator badge - only when placed in a nano-menu-draw
|
7220
|
-
* @default false
|
7221
|
-
*/
|
7222
|
-
"notification"?: boolean;
|
7223
7195
|
/**
|
7224
7196
|
* Emitted when the nav item closes it's secondary navigation.
|
7225
7197
|
*/
|
@@ -7264,7 +7236,7 @@ declare namespace LocalJSX {
|
|
7264
7236
|
*/
|
7265
7237
|
"disabled"?: boolean;
|
7266
7238
|
/**
|
7267
|
-
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
7239
|
+
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
7268
7240
|
* @default ''
|
7269
7241
|
*/
|
7270
7242
|
"filterMeta"?: string;
|
@@ -7449,6 +7421,8 @@ declare namespace LocalJSX {
|
|
7449
7421
|
}
|
7450
7422
|
/**
|
7451
7423
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
7424
|
+
* @status stable
|
7425
|
+
* @version 1.0.0
|
7452
7426
|
*/
|
7453
7427
|
interface NanoResizeObserve {
|
7454
7428
|
/**
|
@@ -8413,8 +8387,7 @@ declare module "@stencil/core" {
|
|
8413
8387
|
*/
|
8414
8388
|
"nano-datalist": LocalJSX.NanoDatalist & JSXBase.HTMLAttributes<HTMLNanoDatalistElement>;
|
8415
8389
|
/**
|
8416
|
-
*
|
8417
|
-
* It has specific options for localisation, date formatting and validation.
|
8390
|
+
* Enables date selection and input in a form.
|
8418
8391
|
* @version 1.0.0
|
8419
8392
|
* @status deprecated
|
8420
8393
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -8561,10 +8534,9 @@ declare module "@stencil/core" {
|
|
8561
8534
|
*/
|
8562
8535
|
"nano-menu": LocalJSX.NanoMenu & JSXBase.HTMLAttributes<HTMLNanoMenuElement>;
|
8563
8536
|
/**
|
8564
|
-
*
|
8565
|
-
*
|
8566
|
-
*
|
8567
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
8537
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
8538
|
+
* @status stable
|
8539
|
+
* @version 1.0.0
|
8568
8540
|
*/
|
8569
8541
|
"nano-menu-drawer": LocalJSX.NanoMenuDrawer & JSXBase.HTMLAttributes<HTMLNanoMenuDrawerElement>;
|
8570
8542
|
/**
|
@@ -8604,6 +8576,8 @@ declare module "@stencil/core" {
|
|
8604
8576
|
"nano-rating": LocalJSX.NanoRating & JSXBase.HTMLAttributes<HTMLNanoRatingElement>;
|
8605
8577
|
/**
|
8606
8578
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
8579
|
+
* @status stable
|
8580
|
+
* @version 1.0.0
|
8607
8581
|
*/
|
8608
8582
|
"nano-resize-observe": LocalJSX.NanoResizeObserve & JSXBase.HTMLAttributes<HTMLNanoResizeObserveElement>;
|
8609
8583
|
/**
|
@@ -846,7 +846,7 @@ export declare namespace JSXBase {
|
|
846
846
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
847
847
|
open?: boolean;
|
848
848
|
name?: string;
|
849
|
-
onToggle?: (event:
|
849
|
+
onToggle?: (event: ToggleEvent) => void;
|
850
850
|
}
|
851
851
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
852
852
|
cite?: string;
|
@@ -1552,6 +1552,13 @@ export declare namespace JSXBase {
|
|
1552
1552
|
z?: number | string;
|
1553
1553
|
zoomAndPan?: string;
|
1554
1554
|
}
|
1555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
1556
|
+
interface ToggleEvent extends Event {
|
1557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
1558
|
+
readonly newState: string;
|
1559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
1560
|
+
readonly oldState: string;
|
1561
|
+
}
|
1555
1562
|
interface DOMAttributes<T> extends JSXAttributes<T> {
|
1556
1563
|
slot?: string;
|
1557
1564
|
part?: string;
|
@@ -1568,6 +1575,10 @@ export declare namespace JSXBase {
|
|
1568
1575
|
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
1569
1576
|
onCompositionupdate?: (event: CompositionEvent) => void;
|
1570
1577
|
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
1578
|
+
onBeforeToggle?: (event: ToggleEvent) => void;
|
1579
|
+
onBeforeToggleCapture?: (event: ToggleEvent) => void;
|
1580
|
+
onToggle?: (event: ToggleEvent) => void;
|
1581
|
+
onToggleCapture?: (event: ToggleEvent) => void;
|
1571
1582
|
onFocus?: (event: FocusEvent) => void;
|
1572
1583
|
onFocusCapture?: (event: FocusEvent) => void;
|
1573
1584
|
onFocusin?: (event: FocusEvent) => void;
|
@@ -1586,10 +1597,6 @@ export declare namespace JSXBase {
|
|
1586
1597
|
onSubmitCapture?: (event: Event) => void;
|
1587
1598
|
onInvalid?: (event: Event) => void;
|
1588
1599
|
onInvalidCapture?: (event: Event) => void;
|
1589
|
-
onBeforeToggle?: (event: Event) => void;
|
1590
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
1591
|
-
onToggle?: (event: Event) => void;
|
1592
|
-
onToggleCapture?: (event: Event) => void;
|
1593
1600
|
onLoad?: (event: Event) => void;
|
1594
1601
|
onLoadCapture?: (event: Event) => void;
|
1595
1602
|
onError?: (event: Event) => void;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { E2EPage } from '@stencil/core/testing';
|
2
|
+
import * as axe from 'axe-core';
|
3
|
+
declare global {
|
4
|
+
interface Window {
|
5
|
+
axe: typeof axe;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
export interface NanoE2EPage extends E2EPage, Pick<PuppeteerPage, 'screenshot' | 'viewport'> {
|
9
|
+
reportA11y: (contextQuery?: string) => Promise<string>;
|
10
|
+
}
|
11
|
+
type NanoE2EPageOptions = {
|
12
|
+
html: string;
|
13
|
+
viewportWidth: number;
|
14
|
+
viewportHeight?: number;
|
15
|
+
dir: 'ltr' | 'rtl';
|
16
|
+
padding?: string;
|
17
|
+
};
|
18
|
+
export declare class E2EPlayGround<T> {
|
19
|
+
props: Partial<T>;
|
20
|
+
viewportHeight: number;
|
21
|
+
/** element template string. Add `{{ attrs }}` to place the attributes */
|
22
|
+
template: string;
|
23
|
+
cssVars: {
|
24
|
+
[key: string]: string;
|
25
|
+
};
|
26
|
+
viewportWidth: number;
|
27
|
+
page: NanoE2EPage;
|
28
|
+
tag: string;
|
29
|
+
constructor(setup: {
|
30
|
+
template: string;
|
31
|
+
tag: string;
|
32
|
+
} | string);
|
33
|
+
private get attrs();
|
34
|
+
private get css();
|
35
|
+
newPage(props?: Partial<T>, docOpts?: {
|
36
|
+
dir?: 'rtl' | 'ltr';
|
37
|
+
padding?: string;
|
38
|
+
}): Promise<NanoE2EPage>;
|
39
|
+
reportA11y(): Promise<string>;
|
40
|
+
component(): Promise<import("@stencil/core/testing").E2EElement>;
|
41
|
+
componentQuery(selectorStr: string, shadow?: boolean): Promise<any>;
|
42
|
+
}
|
43
|
+
export declare function getFocusedElement(page: E2EPage, shadowEleSelector?: string): Promise<any>;
|
44
|
+
export declare function clickOnElement(page: E2EPage, elem: ElementHandle<Element>, x?: number, y?: number): Promise<void>;
|
45
|
+
export declare function createPage(optionsOrHtml?: string | NanoE2EPageOptions): Promise<NanoE2EPage>;
|
46
|
+
export declare const kebabize: (str: any) => any;
|
47
|
+
export declare const screenshotSettings: (dirname: string) => MatchImageSnapshotOptions;
|
48
|
+
export declare const waitForVisibleSnippet: (selector: any) => string;
|
49
|
+
export declare const stringifyFormSnippet = "\n<div id=\"form-result\"></div>\n<script>\n var form = document.querySelector('form');\n var result = document.querySelector('#form-result');\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n var data = new FormData(event.target);\n var object = {};\n data.forEach((value, key) => {\n // Reflect.has in favor of: object.hasOwnProperty(key)\n if(!Reflect.has(object, key)){\n object[key] = value;\n return;\n }\n if(!Array.isArray(object[key])){\n object[key] = [object[key]];\n }\n object[key].push(value);\n });\n result.innerHTML = JSON.stringify(object);\n })\n</script>";
|
50
|
+
export {};
|