@dso-toolkit/core 45.1.0 → 46.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clsx.m-b81c6b86.js +5 -0
- package/dist/cjs/{create-identifier-fa070b11.js → create-identifier-6ee2a08b.js} +1 -3
- package/dist/cjs/dso-accordion-section.cjs.entry.js +37 -33
- package/dist/cjs/dso-accordion.cjs.entry.js +17 -19
- package/dist/cjs/dso-alert.cjs.entry.js +11 -9
- package/dist/cjs/dso-attachments-counter.cjs.entry.js +4 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +36 -61
- package/dist/cjs/dso-badge.cjs.entry.js +5 -4
- package/dist/cjs/dso-banner.cjs.entry.js +5 -4
- package/dist/cjs/dso-date-picker.cjs.entry.js +89 -129
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +9 -21
- package/dist/cjs/dso-header.cjs.entry.js +24 -30
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +23 -22
- package/dist/cjs/dso-highlight-box.cjs.entry.js +17 -12
- package/dist/cjs/dso-icon.cjs.entry.js +389 -385
- package/dist/cjs/dso-image-overlay.cjs.entry.js +13 -13
- package/dist/cjs/dso-info-button.cjs.entry.js +7 -5
- package/dist/cjs/dso-info_2.cjs.entry.js +22 -9
- package/dist/cjs/dso-label.cjs.entry.js +30 -18
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +7 -8
- package/dist/cjs/dso-map-controls.cjs.entry.js +10 -8
- package/dist/cjs/dso-map-overlays.cjs.entry.js +7 -8
- package/dist/cjs/dso-modal.cjs.entry.js +62 -0
- package/dist/cjs/dso-ozon-content.cjs.entry.js +135 -145
- package/dist/cjs/dso-pagination.cjs.entry.js +23 -29
- package/dist/cjs/dso-progress-bar.cjs.entry.js +4 -3
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +11 -8
- package/dist/cjs/dso-responsive-element.cjs.entry.js +13 -10
- package/dist/cjs/dso-table.cjs.entry.js +89 -0
- package/dist/cjs/dso-toggletip.cjs.entry.js +9 -7
- package/dist/cjs/dso-toolkit.cjs.js +3 -3
- package/dist/cjs/dso-tooltip.cjs.entry.js +103 -104
- package/dist/cjs/dso-tree-view.cjs.entry.js +39 -44
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +31 -32
- package/dist/cjs/{focus-trap.esm-e2addb10.js → focus-trap.esm-d83fd673.js} +1 -1
- package/dist/cjs/{index-4066351a.js → index-ecec64a0.js} +486 -500
- package/dist/cjs/{index.esm-50325ea2.js → index.esm-03a9e0b4.js} +50 -112
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/v4-abb5dc0c.js +68 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/accordion/accordion.js +183 -174
- package/dist/collection/components/accordion/components/accordion-section.css +19 -11
- package/dist/collection/components/accordion/components/accordion-section.js +211 -211
- package/dist/collection/components/alert/alert.css +10 -10
- package/dist/collection/components/alert/alert.js +58 -53
- package/dist/collection/components/attachments-counter/attachments-counter.js +36 -33
- package/dist/collection/components/autosuggest/autosuggest.js +223 -240
- package/dist/collection/components/badge/badge.js +37 -29
- package/dist/collection/components/banner/banner.js +37 -29
- package/dist/collection/components/date-picker/date-localization.js +24 -45
- package/dist/collection/components/date-picker/date-picker-day.js +3 -5
- package/dist/collection/components/date-picker/date-picker-month.js +2 -10
- package/dist/collection/components/date-picker/date-picker.css +2 -2
- package/dist/collection/components/date-picker/date-picker.js +386 -436
- package/dist/collection/components/date-picker/date-utils.js +15 -15
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +73 -82
- package/dist/collection/components/header/header.css +24 -17
- package/dist/collection/components/header/header.js +210 -246
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +18 -2
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +94 -90
- package/dist/collection/components/highlight-box/highlight-box.css +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +112 -101
- package/dist/collection/components/icon/icon.js +220 -209
- package/dist/collection/components/image-overlay/image-overlay.js +38 -44
- package/dist/collection/components/info/info.js +73 -65
- package/dist/collection/components/info-button/info-button.js +113 -102
- package/dist/collection/components/label/label.js +151 -140
- package/dist/collection/components/map-base-layers/map-base-layers.js +75 -74
- package/dist/collection/components/map-controls/map-controls.js +115 -116
- package/dist/collection/components/map-overlays/map-overlays.js +75 -74
- package/dist/collection/components/modal/modal.css +155 -0
- package/dist/collection/components/modal/modal.js +133 -0
- package/dist/collection/components/ozon-content/get-node-name.function.js +2 -2
- package/dist/collection/components/ozon-content/nodes/al.node.js +6 -8
- package/dist/collection/components/ozon-content/nodes/document.node.js +2 -2
- package/dist/collection/components/ozon-content/nodes/ext-ref.node.js +4 -9
- package/dist/collection/components/ozon-content/nodes/fallback.node.js +4 -4
- package/dist/collection/components/ozon-content/nodes/figuur.node.js +20 -32
- package/dist/collection/components/ozon-content/nodes/inhoud.node.js +2 -6
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js +3 -6
- package/dist/collection/components/ozon-content/nodes/inline.nodes.js +3 -11
- package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +4 -4
- package/dist/collection/components/ozon-content/nodes/int-ref.node.js +4 -4
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +20 -0
- package/dist/collection/components/ozon-content/nodes/noot.node.js +9 -13
- package/dist/collection/components/ozon-content/nodes/opschrift.node.js +2 -2
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +11 -11
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +0 -1
- package/dist/collection/components/ozon-content/nodes/table.node/index.js +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +8 -8
- package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js +2 -4
- package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +3 -3
- package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +13 -19
- package/dist/collection/components/ozon-content/nodes/text.node.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +28 -24
- package/dist/collection/components/ozon-content/ozon-content.css +18 -9
- package/dist/collection/components/ozon-content/ozon-content.interfaces.js +0 -1
- package/dist/collection/components/ozon-content/ozon-content.js +138 -151
- package/dist/collection/components/pagination/pagination.js +119 -126
- package/dist/collection/components/progress-bar/progress-bar.css +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +68 -65
- package/dist/collection/components/progress-indicator/progress-indicator.js +76 -70
- package/dist/collection/components/responsive-element/responsive-element.js +70 -58
- package/dist/collection/components/selectable/selectable.js +260 -243
- package/dist/collection/components/table/table.css +283 -0
- package/dist/collection/components/table/table.interfaces.js +1 -0
- package/dist/collection/components/table/table.js +135 -0
- package/dist/collection/components/toggletip/toggletip.js +94 -87
- package/dist/collection/components/tooltip/tooltip.js +252 -254
- package/dist/collection/components/tree-view/tree-item.js +5 -19
- package/dist/collection/components/tree-view/tree-view.js +151 -139
- package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +2 -7
- package/dist/collection/components/viewer-grid/viewer-grid.css +4 -84
- package/dist/collection/components/viewer-grid/viewer-grid.js +181 -198
- package/dist/collection/index.js +2 -2
- package/dist/collection/utils/create-identifier.js +1 -3
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +1301 -1328
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-0917f18a.entry.js +1 -0
- package/dist/dso-toolkit/p-0c8cd0d8.entry.js +1 -0
- package/dist/dso-toolkit/p-19323600.entry.js +1 -0
- package/dist/dso-toolkit/p-2b83a825.entry.js +1 -0
- package/dist/dso-toolkit/p-2fa96ac0.entry.js +1 -0
- package/dist/dso-toolkit/p-3635427a.js +5 -0
- package/dist/dso-toolkit/p-39a33b89.entry.js +1 -0
- package/dist/dso-toolkit/p-3ab4441a.entry.js +1 -0
- package/dist/dso-toolkit/p-3bd6cf49.entry.js +1 -0
- package/dist/dso-toolkit/p-3ebba0dc.entry.js +1 -0
- package/dist/dso-toolkit/p-427f6d90.entry.js +1 -0
- package/dist/dso-toolkit/p-44c0bb3e.entry.js +1 -0
- package/dist/dso-toolkit/p-4b994946.entry.js +1 -0
- package/dist/dso-toolkit/p-5d7f4ff2.js +1 -0
- package/dist/dso-toolkit/{p-4070c1e5.js → p-6a1980b4.js} +0 -0
- package/dist/dso-toolkit/{p-7b37bd52.js → p-6c543986.js} +0 -0
- package/dist/dso-toolkit/p-746dc38a.entry.js +1 -0
- package/dist/dso-toolkit/p-76a1428a.entry.js +1 -0
- package/dist/dso-toolkit/p-800e1267.entry.js +1 -0
- package/dist/dso-toolkit/p-85d516c5.entry.js +1 -0
- package/dist/dso-toolkit/{p-22c35db5.js → p-89d262b7.js} +2 -2
- package/dist/dso-toolkit/p-8c8286e6.entry.js +1 -0
- package/dist/dso-toolkit/p-8f35c8f8.js +2 -0
- package/dist/dso-toolkit/p-a4086aa3.entry.js +1 -0
- package/dist/dso-toolkit/p-a9baa631.entry.js +1 -0
- package/dist/dso-toolkit/p-c4cf2359.entry.js +1 -0
- package/dist/dso-toolkit/p-c7ec6e6e.entry.js +1 -0
- package/dist/dso-toolkit/p-c9ad94a6.entry.js +1 -0
- package/dist/dso-toolkit/p-daba2d98.entry.js +1 -0
- package/dist/dso-toolkit/p-dad32839.entry.js +1 -0
- package/dist/dso-toolkit/p-dcc74039.entry.js +1 -0
- package/dist/dso-toolkit/p-e0a37d82.entry.js +1 -0
- package/dist/dso-toolkit/p-e43e39cf.entry.js +1 -0
- package/dist/dso-toolkit/p-e8b22546.entry.js +1 -0
- package/dist/dso-toolkit/p-ec25868b.entry.js +1 -0
- package/dist/dso-toolkit/p-f93b7c7a.entry.js +1 -0
- package/dist/dso-toolkit/p-ff72ee4c.entry.js +1 -0
- package/dist/esm/clsx.m-25174a58.js +3 -0
- package/dist/esm/{create-identifier-22acd3a3.js → create-identifier-51ee50c4.js} +1 -3
- package/dist/esm/dso-accordion-section.entry.js +37 -33
- package/dist/esm/dso-accordion.entry.js +17 -19
- package/dist/esm/dso-alert.entry.js +11 -9
- package/dist/esm/dso-attachments-counter.entry.js +4 -3
- package/dist/esm/dso-autosuggest.entry.js +36 -61
- package/dist/esm/dso-badge.entry.js +5 -4
- package/dist/esm/dso-banner.entry.js +5 -4
- package/dist/esm/dso-date-picker.entry.js +89 -129
- package/dist/esm/dso-dropdown-menu.entry.js +9 -21
- package/dist/esm/dso-header.entry.js +24 -30
- package/dist/esm/dso-helpcenter-panel.entry.js +23 -22
- package/dist/esm/dso-highlight-box.entry.js +17 -12
- package/dist/esm/dso-icon.entry.js +389 -385
- package/dist/esm/dso-image-overlay.entry.js +13 -13
- package/dist/esm/dso-info-button.entry.js +7 -5
- package/dist/esm/dso-info_2.entry.js +22 -9
- package/dist/esm/dso-label.entry.js +30 -18
- package/dist/esm/dso-map-base-layers.entry.js +7 -8
- package/dist/esm/dso-map-controls.entry.js +10 -8
- package/dist/esm/dso-map-overlays.entry.js +7 -8
- package/dist/esm/dso-modal.entry.js +58 -0
- package/dist/esm/dso-ozon-content.entry.js +135 -145
- package/dist/esm/dso-pagination.entry.js +23 -29
- package/dist/esm/dso-progress-bar.entry.js +4 -3
- package/dist/esm/dso-progress-indicator.entry.js +11 -8
- package/dist/esm/dso-responsive-element.entry.js +13 -10
- package/dist/esm/dso-table.entry.js +85 -0
- package/dist/esm/dso-toggletip.entry.js +9 -7
- package/dist/esm/dso-toolkit.js +3 -3
- package/dist/esm/dso-tooltip.entry.js +103 -104
- package/dist/esm/dso-tree-view.entry.js +39 -44
- package/dist/esm/dso-viewer-grid.entry.js +31 -32
- package/dist/esm/{focus-trap.esm-e3b5bde3.js → focus-trap.esm-33203b60.js} +1 -1
- package/dist/esm/{index-771c1291.js → index-1a4dda48.js} +486 -500
- package/dist/esm/{index.esm-4510c39e.js → index.esm-8fc07ad8.js} +50 -112
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/v4-d398bde5.js +66 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -2
- package/dist/types/components/accordion/accordion.interfaces.d.ts +3 -3
- package/dist/types/components/accordion/components/accordion-section.d.ts +2 -2
- package/dist/types/components/alert/alert.d.ts +1 -1
- package/dist/types/components/autosuggest/autosuggest.d.ts +3 -3
- package/dist/types/components/badge/badge.d.ts +1 -1
- package/dist/types/components/banner/banner.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +2 -2
- package/dist/types/components/header/header.interfaces.d.ts +1 -1
- package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +1 -1
- package/dist/types/components/image-overlay/image-overlay.d.ts +1 -1
- package/dist/types/components/info/info.d.ts +1 -1
- package/dist/types/components/info-button/info-button.d.ts +1 -1
- package/dist/types/components/label/label.d.ts +2 -2
- package/dist/types/components/map-base-layers/map-base-layers.d.ts +2 -2
- package/dist/types/components/map-controls/map-controls.d.ts +2 -2
- package/dist/types/components/map-overlays/map-overlays.d.ts +3 -3
- package/dist/types/components/modal/modal.d.ts +22 -0
- package/dist/types/components/ozon-content/nodes/al.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/document.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/ext-ref.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/fallback.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/inhoud.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/inline.nodes.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/int-io-ref.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/int-ref.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/lijst.node.d.ts +6 -0
- package/dist/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/opschrift.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/table.node/index.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +3 -3
- package/dist/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/table.node/table-rows.d.ts +3 -3
- package/dist/types/components/ozon-content/nodes/table.node/table.node.d.ts +2 -2
- package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +4 -4
- package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +2 -1
- package/dist/types/components/ozon-content/ozon-content-node-context.interface.d.ts +2 -1
- package/dist/types/components/ozon-content/ozon-content-node.interface.d.ts +2 -1
- package/dist/types/components/ozon-content/ozon-content.d.ts +5 -4
- package/dist/types/components/pagination/pagination.d.ts +3 -3
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
- package/dist/types/components/responsive-element/responsive-element.d.ts +2 -2
- package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +2 -2
- package/dist/types/components/table/table.d.ts +26 -0
- package/dist/types/components/table/table.interfaces.d.ts +3 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tree-view/tree-item.d.ts +3 -3
- package/dist/types/components/tree-view/tree-view.d.ts +5 -5
- package/dist/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +2 -1
- package/dist/types/components.d.ts +181 -58
- package/dist/types/globals.d.ts +16 -16
- package/dist/types/index.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +26 -8
- package/loader/package.json +1 -0
- package/package.json +15 -16
- package/readme.md +3 -3
- package/dist/cjs/clsx.m-b00fa5e1.js +0 -44
- package/dist/cjs/v4-8e8d6fbc.js +0 -77
- package/dist/collection/components/accordion/accordion.template.js +0 -26
- package/dist/collection/components/alert/alert.template.js +0 -20
- package/dist/collection/components/attachments-counter/attachments-counter.template.js +0 -6
- package/dist/collection/components/autosuggest/autosuggest.template.js +0 -19
- package/dist/collection/components/badge/badge.template.js +0 -7
- package/dist/collection/components/banner/banner.template.js +0 -19
- package/dist/collection/components/date-picker/date-picker.template.js +0 -16
- package/dist/collection/components/dropdown-menu/dropdown-menu.template.js +0 -36
- package/dist/collection/components/header/header.template.js +0 -18
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.template.js +0 -13
- package/dist/collection/components/highlight-box/highlight-box.template.js +0 -20
- package/dist/collection/components/icon/icon.template.js +0 -10
- package/dist/collection/components/image-overlay/image-overlay.template.js +0 -15
- package/dist/collection/components/info/info.template.js +0 -12
- package/dist/collection/components/info-button/info-button.template.js +0 -11
- package/dist/collection/components/label/label.template.js +0 -23
- package/dist/collection/components/map-controls/map-controls.template.js +0 -23
- package/dist/collection/components/ozon-content/ozon-content.template.js +0 -14
- package/dist/collection/components/pagination/pagination.template.js +0 -11
- package/dist/collection/components/progress-bar/progress-bar.template.js +0 -11
- package/dist/collection/components/progress-indicator/progress-indicator.template.js +0 -11
- package/dist/collection/components/responsive-element/responsive-element.template.js +0 -10
- package/dist/collection/components/selectable/selectable.template.js +0 -24
- package/dist/collection/components/toggletip/toggletip.template.js +0 -12
- package/dist/collection/components/tooltip/tooltip.template.js +0 -7
- package/dist/collection/components/tree-view/tree-view.template.js +0 -11
- package/dist/collection/components/viewer-grid/viewer-grid.template.js +0 -20
- package/dist/dso-toolkit/p-02b2e01c.entry.js +0 -1
- package/dist/dso-toolkit/p-05a9e206.entry.js +0 -1
- package/dist/dso-toolkit/p-19b890a3.js +0 -1
- package/dist/dso-toolkit/p-2e74485e.entry.js +0 -1
- package/dist/dso-toolkit/p-2f6b1092.entry.js +0 -1
- package/dist/dso-toolkit/p-3381c859.entry.js +0 -1
- package/dist/dso-toolkit/p-37a34037.entry.js +0 -1
- package/dist/dso-toolkit/p-42450cfe.js +0 -1
- package/dist/dso-toolkit/p-4c44d27c.entry.js +0 -1
- package/dist/dso-toolkit/p-4fd140e9.entry.js +0 -1
- package/dist/dso-toolkit/p-53c7bf4f.entry.js +0 -1
- package/dist/dso-toolkit/p-67b11174.entry.js +0 -1
- package/dist/dso-toolkit/p-6cac0292.entry.js +0 -1
- package/dist/dso-toolkit/p-7213783b.entry.js +0 -1
- package/dist/dso-toolkit/p-73bbb9a6.entry.js +0 -1
- package/dist/dso-toolkit/p-8515d157.entry.js +0 -1
- package/dist/dso-toolkit/p-93b53eb7.entry.js +0 -1
- package/dist/dso-toolkit/p-ac0c0eee.entry.js +0 -1
- package/dist/dso-toolkit/p-b1a75b67.entry.js +0 -1
- package/dist/dso-toolkit/p-b6afe104.entry.js +0 -1
- package/dist/dso-toolkit/p-b9531adb.entry.js +0 -1
- package/dist/dso-toolkit/p-c339891f.entry.js +0 -1
- package/dist/dso-toolkit/p-d2255268.entry.js +0 -1
- package/dist/dso-toolkit/p-d6192ab8.entry.js +0 -1
- package/dist/dso-toolkit/p-de50f5f1.entry.js +0 -1
- package/dist/dso-toolkit/p-e16b5d71.entry.js +0 -1
- package/dist/dso-toolkit/p-e2e2106e.entry.js +0 -1
- package/dist/dso-toolkit/p-ea1d4c81.entry.js +0 -1
- package/dist/dso-toolkit/p-ec3b8800.entry.js +0 -1
- package/dist/dso-toolkit/p-efd815dc.entry.js +0 -1
- package/dist/dso-toolkit/p-f42d8240.entry.js +0 -1
- package/dist/dso-toolkit/p-f8b023c4.js +0 -5
- package/dist/esm/clsx.m-071989db.js +0 -42
- package/dist/esm/v4-fa4bb814.js +0 -75
- package/dist/types/components/accordion/accordion.template.d.ts +0 -2
- package/dist/types/components/alert/alert.template.d.ts +0 -3
- package/dist/types/components/attachments-counter/attachments-counter.template.d.ts +0 -2
- package/dist/types/components/autosuggest/autosuggest.template.d.ts +0 -3
- package/dist/types/components/badge/badge.template.d.ts +0 -2
- package/dist/types/components/banner/banner.template.d.ts +0 -3
- package/dist/types/components/date-picker/date-picker.template.d.ts +0 -2
- package/dist/types/components/dropdown-menu/dropdown-menu.template.d.ts +0 -2
- package/dist/types/components/header/header.template.d.ts +0 -2
- package/dist/types/components/helpcenter-panel/helpcenter-panel.template.d.ts +0 -2
- package/dist/types/components/highlight-box/highlight-box.template.d.ts +0 -3
- package/dist/types/components/icon/icon.template.d.ts +0 -2
- package/dist/types/components/image-overlay/image-overlay.template.d.ts +0 -2
- package/dist/types/components/info/info.template.d.ts +0 -3
- package/dist/types/components/info-button/info-button.template.d.ts +0 -2
- package/dist/types/components/label/label.template.d.ts +0 -2
- package/dist/types/components/map-controls/map-controls.template.d.ts +0 -2
- package/dist/types/components/ozon-content/ozon-content.template.d.ts +0 -2
- package/dist/types/components/pagination/pagination.template.d.ts +0 -2
- package/dist/types/components/progress-bar/progress-bar.template.d.ts +0 -2
- package/dist/types/components/progress-indicator/progress-indicator.template.d.ts +0 -2
- package/dist/types/components/responsive-element/responsive-element.template.d.ts +0 -3
- package/dist/types/components/selectable/selectable.template.d.ts +0 -3
- package/dist/types/components/toggletip/toggletip.template.d.ts +0 -2
- package/dist/types/components/tooltip/tooltip.template.d.ts +0 -2
- package/dist/types/components/tree-view/tree-view.template.d.ts +0 -2
- package/dist/types/components/viewer-grid/viewer-grid.template.d.ts +0 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { createIdentifier } from
|
|
2
|
-
import {
|
|
3
|
-
import { addDays, startOfWeek, endOfWeek, setMonth, setYear, clamp, inRange, endOfMonth, startOfMonth, printDutchDate, parseDutchDate, DaysOfWeek } from
|
|
4
|
-
import { DatePickerMonth } from
|
|
5
|
-
import defaultLocalization from
|
|
1
|
+
import { createIdentifier } from "../../utils/create-identifier";
|
|
2
|
+
import { Host, h, } from "@stencil/core";
|
|
3
|
+
import { addDays, startOfWeek, endOfWeek, setMonth, setYear, clamp, inRange, endOfMonth, startOfMonth, printDutchDate, parseDutchDate, DaysOfWeek, } from "./date-utils";
|
|
4
|
+
import { DatePickerMonth } from "./date-picker-month";
|
|
5
|
+
import defaultLocalization from "./date-localization";
|
|
6
6
|
function range(from, to) {
|
|
7
|
-
|
|
8
|
-
for (
|
|
7
|
+
const result = [];
|
|
8
|
+
for (let i = from; i <= to; i++) {
|
|
9
9
|
result.push(i);
|
|
10
10
|
}
|
|
11
11
|
return result;
|
|
@@ -23,7 +23,7 @@ const keyCode = {
|
|
|
23
23
|
RIGHT: 39,
|
|
24
24
|
DOWN: 40,
|
|
25
25
|
};
|
|
26
|
-
const DISALLOWED_CHARACTERS = /[^0-9
|
|
26
|
+
const DISALLOWED_CHARACTERS = /[^0-9-]+/g;
|
|
27
27
|
const TRANSITION_MS = 300;
|
|
28
28
|
function cleanValue(input, regex) {
|
|
29
29
|
const value = input.value;
|
|
@@ -51,43 +51,6 @@ export class DsoDatePicker {
|
|
|
51
51
|
this.dialogLabelId = createIdentifier("DsoDateLabel");
|
|
52
52
|
this.localization = defaultLocalization;
|
|
53
53
|
this.firstDayOfWeek = DaysOfWeek.Monday;
|
|
54
|
-
/**
|
|
55
|
-
* State() variables
|
|
56
|
-
*/
|
|
57
|
-
this.activeFocus = false;
|
|
58
|
-
this.focusedDay = new Date();
|
|
59
|
-
this.open = false;
|
|
60
|
-
this.visible = false;
|
|
61
|
-
/**
|
|
62
|
-
* Public Property API
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* Name of the date picker input.
|
|
66
|
-
*/
|
|
67
|
-
this.name = "date";
|
|
68
|
-
/**
|
|
69
|
-
* Makes the date picker input component disabled. This prevents users from being able to
|
|
70
|
-
* interact with the input, and conveys its inactive state to assistive technologies.
|
|
71
|
-
*/
|
|
72
|
-
this.disabled = false;
|
|
73
|
-
/**
|
|
74
|
-
* Forces the opening direction of the calendar modal to be always left or right.
|
|
75
|
-
* This setting can be useful when the input is smaller than the opening date picker
|
|
76
|
-
* would be as by default the picker always opens towards right.
|
|
77
|
-
*/
|
|
78
|
-
this.direction = "right";
|
|
79
|
-
/**
|
|
80
|
-
* Should the input be marked as required?
|
|
81
|
-
*/
|
|
82
|
-
this.required = false;
|
|
83
|
-
/**
|
|
84
|
-
* Should the input be focused on load?
|
|
85
|
-
*/
|
|
86
|
-
this.dsoAutofocus = false;
|
|
87
|
-
/**
|
|
88
|
-
* Date value. Must be in Dutch date format: DD-MM-YYYY.
|
|
89
|
-
*/
|
|
90
|
-
this.value = "";
|
|
91
54
|
/**
|
|
92
55
|
* Local methods.
|
|
93
56
|
*/
|
|
@@ -116,14 +79,14 @@ export class DsoDatePicker {
|
|
|
116
79
|
event.stopPropagation();
|
|
117
80
|
this.dsoKeyUp.emit({
|
|
118
81
|
component: "dso-date-picker",
|
|
119
|
-
originalEvent: event
|
|
82
|
+
originalEvent: event,
|
|
120
83
|
});
|
|
121
84
|
};
|
|
122
85
|
this.handleKeyDown = (event) => {
|
|
123
86
|
event.stopPropagation();
|
|
124
87
|
this.dsoKeyDown.emit({
|
|
125
88
|
component: "dso-date-picker",
|
|
126
|
-
originalEvent: event
|
|
89
|
+
originalEvent: event,
|
|
127
90
|
});
|
|
128
91
|
};
|
|
129
92
|
this.handleFocus = (event) => {
|
|
@@ -141,9 +104,10 @@ export class DsoDatePicker {
|
|
|
141
104
|
event.preventDefault();
|
|
142
105
|
};
|
|
143
106
|
this.handleTouchEnd = (event) => {
|
|
107
|
+
var _a, _b;
|
|
144
108
|
const touch = event.changedTouches[0];
|
|
145
|
-
const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled
|
|
146
|
-
const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled
|
|
109
|
+
const distX = touch.pageX - ((_a = this.initialTouchX) !== null && _a !== void 0 ? _a : 0); // get horizontal dist traveled
|
|
110
|
+
const distY = touch.pageY - ((_b = this.initialTouchY) !== null && _b !== void 0 ? _b : 0); // get vertical dist traveled
|
|
147
111
|
const threshold = 70;
|
|
148
112
|
const isHorizontalSwipe = Math.abs(distX) >= threshold && Math.abs(distY) <= threshold;
|
|
149
113
|
const isDownwardsSwipe = Math.abs(distY) >= threshold && Math.abs(distX) <= threshold && distY > 0;
|
|
@@ -182,7 +146,7 @@ export class DsoDatePicker {
|
|
|
182
146
|
(_a = this.firstFocusableElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
183
147
|
return;
|
|
184
148
|
}
|
|
185
|
-
|
|
149
|
+
let handled = true;
|
|
186
150
|
switch (event.keyCode) {
|
|
187
151
|
case keyCode.RIGHT:
|
|
188
152
|
this.addDays(1);
|
|
@@ -239,10 +203,15 @@ export class DsoDatePicker {
|
|
|
239
203
|
}
|
|
240
204
|
};
|
|
241
205
|
this.handleMonthSelect = (e) => {
|
|
242
|
-
|
|
206
|
+
// Todo
|
|
207
|
+
if (e.target instanceof HTMLSelectElement) {
|
|
208
|
+
this.setMonth(parseInt(e.target.value, 10));
|
|
209
|
+
}
|
|
243
210
|
};
|
|
244
211
|
this.handleYearSelect = (e) => {
|
|
245
|
-
|
|
212
|
+
if (e.target instanceof HTMLSelectElement) {
|
|
213
|
+
this.setYear(parseInt(e.target.value, 10));
|
|
214
|
+
}
|
|
246
215
|
};
|
|
247
216
|
this.handleInputChange = (e) => {
|
|
248
217
|
const target = e.target;
|
|
@@ -250,10 +219,10 @@ export class DsoDatePicker {
|
|
|
250
219
|
this.setValue(cleanedValue);
|
|
251
220
|
};
|
|
252
221
|
this.prepareEvent = (value) => {
|
|
253
|
-
|
|
222
|
+
const event = {
|
|
254
223
|
component: "dso-date-picker",
|
|
255
224
|
value: "",
|
|
256
|
-
valueAsDate: undefined
|
|
225
|
+
valueAsDate: undefined,
|
|
257
226
|
};
|
|
258
227
|
if (value instanceof Date) {
|
|
259
228
|
event.valueAsDate = value;
|
|
@@ -292,6 +261,20 @@ export class DsoDatePicker {
|
|
|
292
261
|
setTimeout(() => element.focus(), 0);
|
|
293
262
|
}
|
|
294
263
|
};
|
|
264
|
+
this.activeFocus = false;
|
|
265
|
+
this.focusedDay = new Date();
|
|
266
|
+
this.open = false;
|
|
267
|
+
this.visible = false;
|
|
268
|
+
this.name = "date";
|
|
269
|
+
this.identifier = undefined;
|
|
270
|
+
this.disabled = false;
|
|
271
|
+
this.role = undefined;
|
|
272
|
+
this.direction = "right";
|
|
273
|
+
this.required = false;
|
|
274
|
+
this.dsoAutofocus = false;
|
|
275
|
+
this.value = "";
|
|
276
|
+
this.min = undefined;
|
|
277
|
+
this.max = undefined;
|
|
295
278
|
}
|
|
296
279
|
/**
|
|
297
280
|
* Component event handling.
|
|
@@ -322,14 +305,14 @@ export class DsoDatePicker {
|
|
|
322
305
|
* Show the calendar modal, moving focus to the calendar inside.
|
|
323
306
|
*/
|
|
324
307
|
async show() {
|
|
325
|
-
if (typeof this.hideTimeoutId !==
|
|
308
|
+
if (typeof this.hideTimeoutId !== "undefined") {
|
|
326
309
|
clearTimeout(this.hideTimeoutId);
|
|
327
310
|
}
|
|
328
311
|
this.visible = true;
|
|
329
312
|
setTimeout(() => {
|
|
330
313
|
this.open = true;
|
|
331
314
|
this.setFocusedDay(parseDutchDate(this.value) || new Date());
|
|
332
|
-
if (typeof this.focusTimeoutId !==
|
|
315
|
+
if (typeof this.focusTimeoutId !== "undefined") {
|
|
333
316
|
clearTimeout(this.focusTimeoutId);
|
|
334
317
|
}
|
|
335
318
|
this.focusTimeoutId = setTimeout(() => { var _a; return (_a = this.monthSelectNode) === null || _a === void 0 ? void 0 : _a.focus(); }, TRANSITION_MS);
|
|
@@ -343,7 +326,7 @@ export class DsoDatePicker {
|
|
|
343
326
|
this.open = false;
|
|
344
327
|
// in cases where calendar is quickly shown and hidden
|
|
345
328
|
// we should avoid moving focus to the button
|
|
346
|
-
if (typeof this.focusTimeoutId !==
|
|
329
|
+
if (typeof this.focusTimeoutId !== "undefined") {
|
|
347
330
|
clearTimeout(this.focusTimeoutId);
|
|
348
331
|
}
|
|
349
332
|
this.hideTimeoutId = setTimeout(() => {
|
|
@@ -385,7 +368,7 @@ export class DsoDatePicker {
|
|
|
385
368
|
}
|
|
386
369
|
setValue(value) {
|
|
387
370
|
const event = this.prepareEvent(value);
|
|
388
|
-
this.value = typeof value ===
|
|
371
|
+
this.value = typeof value === "string" ? value : event.value;
|
|
389
372
|
if (this.value !== this.previousValue) {
|
|
390
373
|
this.dsoDateChange.emit(event);
|
|
391
374
|
this.previousValue = this.value;
|
|
@@ -412,8 +395,8 @@ export class DsoDatePicker {
|
|
|
412
395
|
const focusedYear = this.focusedDay.getFullYear();
|
|
413
396
|
const minDate = parseDutchDate(this.min);
|
|
414
397
|
const maxDate = parseDutchDate(this.max);
|
|
415
|
-
const prevMonthDisabled = minDate
|
|
416
|
-
const nextMonthDisabled = maxDate
|
|
398
|
+
const prevMonthDisabled = minDate && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;
|
|
399
|
+
const nextMonthDisabled = maxDate && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;
|
|
417
400
|
let minYear = selectedYear - 10;
|
|
418
401
|
let maxYear = selectedYear + 10;
|
|
419
402
|
if (minDate) {
|
|
@@ -422,410 +405,377 @@ export class DsoDatePicker {
|
|
|
422
405
|
if (maxDate) {
|
|
423
406
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
424
407
|
}
|
|
425
|
-
return (h(Host, null,
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
h("span", { class: "dso-date__toggle-icon" },
|
|
431
|
-
h("dso-icon", { icon: "calendar" })),
|
|
432
|
-
h("span", { class: "dso-date__vhidden" },
|
|
433
|
-
this.localization.buttonLabel,
|
|
434
|
-
formattedDate && (h("span", null,
|
|
435
|
-
", ",
|
|
436
|
-
this.localization.selectedDateMessage,
|
|
437
|
-
" ",
|
|
438
|
-
formattedDate))))),
|
|
439
|
-
h("div", { class: {
|
|
440
|
-
"dso-date__dialog": true,
|
|
441
|
-
"is-left": this.direction === "left",
|
|
442
|
-
"is-active": this.open,
|
|
443
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd },
|
|
444
|
-
h("div", { class: "dso-date__dialog-content", onKeyDown: this.handleEscKey },
|
|
445
|
-
h("div", { class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction),
|
|
446
|
-
h("div", { class: "dso-date__mobile", onFocusin: this.disableActiveFocus },
|
|
447
|
-
h("label", { class: "dso-date__mobile-heading" }, this.localization.calendarHeading),
|
|
448
|
-
h("button", { class: "dso-date__close", ref: element => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" },
|
|
449
|
-
h("dso-icon", { icon: "times" }),
|
|
450
|
-
h("span", { class: "dso-date__vhidden" }, this.localization.closeLabel))),
|
|
451
|
-
h("div", { class: "dso-date__header", onFocusin: this.disableActiveFocus },
|
|
452
|
-
h("div", null,
|
|
453
|
-
h("h2", { id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" },
|
|
454
|
-
this.localization.monthNames[focusedMonth],
|
|
455
|
-
" ",
|
|
456
|
-
this.focusedDay.getFullYear()),
|
|
457
|
-
h("label", { htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel),
|
|
458
|
-
h("div", { class: "dso-date__select" },
|
|
459
|
-
h("select", { id: this.monthSelectId, class: "dso-date__select--month", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, this.localization.monthNames.map((month, i) => (h("option", { key: month, value: i, selected: i === focusedMonth }, month)))),
|
|
460
|
-
h("div", { class: "dso-date__select-label", "aria-hidden": "true" },
|
|
461
|
-
h("span", null, this.localization.monthNamesShort[focusedMonth]),
|
|
462
|
-
h("dso-icon", { icon: "chevron-down" }))),
|
|
463
|
-
h("label", { htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel),
|
|
464
|
-
h("div", { class: "dso-date__select" },
|
|
465
|
-
h("select", { id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (h("option", { key: year, selected: year === focusedYear }, year)))),
|
|
466
|
-
h("div", { class: "dso-date__select-label", "aria-hidden": "true" },
|
|
467
|
-
h("span", null, this.focusedDay.getFullYear()),
|
|
468
|
-
h("dso-icon", { icon: "chevron-down" })))),
|
|
469
|
-
h("div", { class: "dso-date__nav" },
|
|
470
|
-
h("button", { class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" },
|
|
471
|
-
h("dso-icon", { icon: "chevron-left" }),
|
|
472
|
-
h("span", { class: "dso-date__vhidden" }, this.localization.prevMonthLabel)),
|
|
473
|
-
h("button", { class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" },
|
|
474
|
-
h("dso-icon", { icon: "chevron-right" }),
|
|
475
|
-
h("span", { class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))),
|
|
476
|
-
h(DatePickerMonth, { selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
|
|
408
|
+
return (h(Host, null, h("div", { class: { "dso-date": true, "dso-visible": this.visible } }, h("div", { class: "dso-date__input-wrapper" }, h("input", { class: "dso-date__input", value: this.value, placeholder: this.localization.placeholder, id: this.identifier, disabled: this.disabled, role: this.role, required: this.required ? true : undefined, "aria-autocomplete": "none", onInput: this.handleInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, autoComplete: "off", ref: (element) => (this.datePickerInput = element) }), h("button", { type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerButton = element) }, h("span", { class: "dso-date__toggle-icon" }, h("dso-icon", { icon: "calendar" })), h("span", { class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (h("span", null, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), h("div", { class: {
|
|
409
|
+
"dso-date__dialog": true,
|
|
410
|
+
"is-left": this.direction === "left",
|
|
411
|
+
"is-active": this.open,
|
|
412
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, h("div", { class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), h("div", { class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, h("label", { class: "dso-date__mobile-heading" }, this.localization.calendarHeading), h("button", { class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, h("dso-icon", { icon: "times" }), h("span", { class: "dso-date__vhidden" }, this.localization.closeLabel))), h("div", { class: "dso-date__header", onFocusin: this.disableActiveFocus }, h("div", null, h("h2", { id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), h("label", { htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), h("div", { class: "dso-date__select" }, h("select", { id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, this.localization.monthNames.map((month, i) => (h("option", { key: month, value: i, selected: i === focusedMonth }, month)))), h("div", { class: "dso-date__select-label", "aria-hidden": "true" }, h("span", null, this.localization.monthNamesShort[focusedMonth]), h("dso-icon", { icon: "chevron-down" }))), h("label", { htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), h("div", { class: "dso-date__select" }, h("select", { id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (h("option", { key: year, selected: year === focusedYear }, year)))), h("div", { class: "dso-date__select-label", "aria-hidden": "true" }, h("span", null, this.focusedDay.getFullYear()), h("dso-icon", { icon: "chevron-down" })))), h("div", { class: "dso-date__nav" }, h("button", { class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, h("dso-icon", { icon: "chevron-left" }), h("span", { class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), h("button", { class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, h("dso-icon", { icon: "chevron-right" }), h("span", { class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), h(DatePickerMonth, { selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
|
|
477
413
|
}
|
|
478
414
|
static get is() { return "dso-date-picker"; }
|
|
479
415
|
static get encapsulation() { return "scoped"; }
|
|
480
|
-
static get originalStyleUrls() {
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
"original": "string | undefined",
|
|
510
|
-
"resolved": "string | undefined",
|
|
511
|
-
"references": {}
|
|
512
|
-
},
|
|
513
|
-
"required": false,
|
|
514
|
-
"optional": false,
|
|
515
|
-
"docs": {
|
|
516
|
-
"tags": [],
|
|
517
|
-
"text": "Adds a unique identifier for the date picker input. Use this instead of html `id` attribute."
|
|
518
|
-
},
|
|
519
|
-
"attribute": "identifier",
|
|
520
|
-
"reflect": false
|
|
521
|
-
},
|
|
522
|
-
"disabled": {
|
|
523
|
-
"type": "boolean",
|
|
524
|
-
"mutable": false,
|
|
525
|
-
"complexType": {
|
|
526
|
-
"original": "boolean",
|
|
527
|
-
"resolved": "boolean",
|
|
528
|
-
"references": {}
|
|
416
|
+
static get originalStyleUrls() {
|
|
417
|
+
return {
|
|
418
|
+
"$": ["date-picker.scss"]
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
static get styleUrls() {
|
|
422
|
+
return {
|
|
423
|
+
"$": ["date-picker.css"]
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
static get properties() {
|
|
427
|
+
return {
|
|
428
|
+
"name": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"mutable": false,
|
|
431
|
+
"complexType": {
|
|
432
|
+
"original": "string",
|
|
433
|
+
"resolved": "string",
|
|
434
|
+
"references": {}
|
|
435
|
+
},
|
|
436
|
+
"required": false,
|
|
437
|
+
"optional": false,
|
|
438
|
+
"docs": {
|
|
439
|
+
"tags": [],
|
|
440
|
+
"text": "Name of the date picker input."
|
|
441
|
+
},
|
|
442
|
+
"attribute": "name",
|
|
443
|
+
"reflect": false,
|
|
444
|
+
"defaultValue": "\"date\""
|
|
529
445
|
},
|
|
530
|
-
"
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
"
|
|
534
|
-
|
|
446
|
+
"identifier": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"mutable": false,
|
|
449
|
+
"complexType": {
|
|
450
|
+
"original": "string | undefined",
|
|
451
|
+
"resolved": "string | undefined",
|
|
452
|
+
"references": {}
|
|
453
|
+
},
|
|
454
|
+
"required": false,
|
|
455
|
+
"optional": false,
|
|
456
|
+
"docs": {
|
|
457
|
+
"tags": [],
|
|
458
|
+
"text": "Adds a unique identifier for the date picker input. Use this instead of html `id` attribute."
|
|
459
|
+
},
|
|
460
|
+
"attribute": "identifier",
|
|
461
|
+
"reflect": false
|
|
535
462
|
},
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
463
|
+
"disabled": {
|
|
464
|
+
"type": "boolean",
|
|
465
|
+
"mutable": false,
|
|
466
|
+
"complexType": {
|
|
467
|
+
"original": "boolean",
|
|
468
|
+
"resolved": "boolean",
|
|
469
|
+
"references": {}
|
|
470
|
+
},
|
|
471
|
+
"required": false,
|
|
472
|
+
"optional": false,
|
|
473
|
+
"docs": {
|
|
474
|
+
"tags": [],
|
|
475
|
+
"text": "Makes the date picker input component disabled. This prevents users from being able to\r\ninteract with the input, and conveys its inactive state to assistive technologies."
|
|
476
|
+
},
|
|
477
|
+
"attribute": "disabled",
|
|
478
|
+
"reflect": true,
|
|
479
|
+
"defaultValue": "false"
|
|
547
480
|
},
|
|
548
|
-
"
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
"
|
|
552
|
-
|
|
481
|
+
"role": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"mutable": false,
|
|
484
|
+
"complexType": {
|
|
485
|
+
"original": "string | undefined",
|
|
486
|
+
"resolved": "string | undefined",
|
|
487
|
+
"references": {}
|
|
488
|
+
},
|
|
489
|
+
"required": false,
|
|
490
|
+
"optional": false,
|
|
491
|
+
"docs": {
|
|
492
|
+
"tags": [],
|
|
493
|
+
"text": "Defines a specific role attribute for the date picker input."
|
|
494
|
+
},
|
|
495
|
+
"attribute": "role",
|
|
496
|
+
"reflect": false
|
|
553
497
|
},
|
|
554
|
-
"
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
"DsoDatePickerDirection": {
|
|
565
|
-
"location": "local"
|
|
498
|
+
"direction": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"mutable": false,
|
|
501
|
+
"complexType": {
|
|
502
|
+
"original": "DsoDatePickerDirection",
|
|
503
|
+
"resolved": "\"left\" | \"right\"",
|
|
504
|
+
"references": {
|
|
505
|
+
"DsoDatePickerDirection": {
|
|
506
|
+
"location": "local"
|
|
507
|
+
}
|
|
566
508
|
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
"defaultValue": "\"right\""
|
|
578
|
-
},
|
|
579
|
-
"required": {
|
|
580
|
-
"type": "boolean",
|
|
581
|
-
"mutable": false,
|
|
582
|
-
"complexType": {
|
|
583
|
-
"original": "boolean",
|
|
584
|
-
"resolved": "boolean",
|
|
585
|
-
"references": {}
|
|
586
|
-
},
|
|
587
|
-
"required": false,
|
|
588
|
-
"optional": false,
|
|
589
|
-
"docs": {
|
|
590
|
-
"tags": [],
|
|
591
|
-
"text": "Should the input be marked as required?"
|
|
592
|
-
},
|
|
593
|
-
"attribute": "required",
|
|
594
|
-
"reflect": false,
|
|
595
|
-
"defaultValue": "false"
|
|
596
|
-
},
|
|
597
|
-
"dsoAutofocus": {
|
|
598
|
-
"type": "boolean",
|
|
599
|
-
"mutable": false,
|
|
600
|
-
"complexType": {
|
|
601
|
-
"original": "boolean",
|
|
602
|
-
"resolved": "boolean",
|
|
603
|
-
"references": {}
|
|
604
|
-
},
|
|
605
|
-
"required": false,
|
|
606
|
-
"optional": false,
|
|
607
|
-
"docs": {
|
|
608
|
-
"tags": [],
|
|
609
|
-
"text": "Should the input be focused on load?"
|
|
610
|
-
},
|
|
611
|
-
"attribute": "dso-autofocus",
|
|
612
|
-
"reflect": false,
|
|
613
|
-
"defaultValue": "false"
|
|
614
|
-
},
|
|
615
|
-
"value": {
|
|
616
|
-
"type": "string",
|
|
617
|
-
"mutable": true,
|
|
618
|
-
"complexType": {
|
|
619
|
-
"original": "string",
|
|
620
|
-
"resolved": "string",
|
|
621
|
-
"references": {}
|
|
622
|
-
},
|
|
623
|
-
"required": false,
|
|
624
|
-
"optional": false,
|
|
625
|
-
"docs": {
|
|
626
|
-
"tags": [],
|
|
627
|
-
"text": "Date value. Must be in Dutch date format: DD-MM-YYYY."
|
|
628
|
-
},
|
|
629
|
-
"attribute": "value",
|
|
630
|
-
"reflect": true,
|
|
631
|
-
"defaultValue": "\"\""
|
|
632
|
-
},
|
|
633
|
-
"min": {
|
|
634
|
-
"type": "string",
|
|
635
|
-
"mutable": false,
|
|
636
|
-
"complexType": {
|
|
637
|
-
"original": "string | undefined",
|
|
638
|
-
"resolved": "string | undefined",
|
|
639
|
-
"references": {}
|
|
509
|
+
},
|
|
510
|
+
"required": false,
|
|
511
|
+
"optional": false,
|
|
512
|
+
"docs": {
|
|
513
|
+
"tags": [],
|
|
514
|
+
"text": "Forces the opening direction of the calendar modal to be always left or right.\r\nThis setting can be useful when the input is smaller than the opening date picker\r\nwould be as by default the picker always opens towards right."
|
|
515
|
+
},
|
|
516
|
+
"attribute": "direction",
|
|
517
|
+
"reflect": false,
|
|
518
|
+
"defaultValue": "\"right\""
|
|
640
519
|
},
|
|
641
|
-
"required":
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
"
|
|
645
|
-
|
|
520
|
+
"required": {
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"mutable": false,
|
|
523
|
+
"complexType": {
|
|
524
|
+
"original": "boolean",
|
|
525
|
+
"resolved": "boolean",
|
|
526
|
+
"references": {}
|
|
527
|
+
},
|
|
528
|
+
"required": false,
|
|
529
|
+
"optional": false,
|
|
530
|
+
"docs": {
|
|
531
|
+
"tags": [],
|
|
532
|
+
"text": "Should the input be marked as required?"
|
|
533
|
+
},
|
|
534
|
+
"attribute": "required",
|
|
535
|
+
"reflect": false,
|
|
536
|
+
"defaultValue": "false"
|
|
646
537
|
},
|
|
647
|
-
"
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
"
|
|
656
|
-
"
|
|
538
|
+
"dsoAutofocus": {
|
|
539
|
+
"type": "boolean",
|
|
540
|
+
"mutable": false,
|
|
541
|
+
"complexType": {
|
|
542
|
+
"original": "boolean",
|
|
543
|
+
"resolved": "boolean",
|
|
544
|
+
"references": {}
|
|
545
|
+
},
|
|
546
|
+
"required": false,
|
|
547
|
+
"optional": false,
|
|
548
|
+
"docs": {
|
|
549
|
+
"tags": [],
|
|
550
|
+
"text": "Should the input be focused on load?"
|
|
551
|
+
},
|
|
552
|
+
"attribute": "dso-autofocus",
|
|
553
|
+
"reflect": false,
|
|
554
|
+
"defaultValue": "false"
|
|
657
555
|
},
|
|
658
|
-
"
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
"
|
|
662
|
-
|
|
556
|
+
"value": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"mutable": true,
|
|
559
|
+
"complexType": {
|
|
560
|
+
"original": "string",
|
|
561
|
+
"resolved": "string",
|
|
562
|
+
"references": {}
|
|
563
|
+
},
|
|
564
|
+
"required": false,
|
|
565
|
+
"optional": false,
|
|
566
|
+
"docs": {
|
|
567
|
+
"tags": [],
|
|
568
|
+
"text": "Date value. Must be in Dutch date format: DD-MM-YYYY."
|
|
569
|
+
},
|
|
570
|
+
"attribute": "value",
|
|
571
|
+
"reflect": true,
|
|
572
|
+
"defaultValue": "\"\""
|
|
663
573
|
},
|
|
664
|
-
"
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
"docs": {
|
|
681
|
-
"tags": [],
|
|
682
|
-
"text": "Event emitted when a date is selected."
|
|
574
|
+
"min": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"mutable": false,
|
|
577
|
+
"complexType": {
|
|
578
|
+
"original": "string | undefined",
|
|
579
|
+
"resolved": "string | undefined",
|
|
580
|
+
"references": {}
|
|
581
|
+
},
|
|
582
|
+
"required": false,
|
|
583
|
+
"optional": false,
|
|
584
|
+
"docs": {
|
|
585
|
+
"tags": [],
|
|
586
|
+
"text": "Minimum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the max property."
|
|
587
|
+
},
|
|
588
|
+
"attribute": "min",
|
|
589
|
+
"reflect": false
|
|
683
590
|
},
|
|
684
|
-
"
|
|
685
|
-
"
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
|
|
690
|
-
}
|
|
691
|
-
}
|
|
591
|
+
"max": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"mutable": false,
|
|
594
|
+
"complexType": {
|
|
595
|
+
"original": "string | undefined",
|
|
596
|
+
"resolved": "string | undefined",
|
|
597
|
+
"references": {}
|
|
598
|
+
},
|
|
599
|
+
"required": false,
|
|
600
|
+
"optional": false,
|
|
601
|
+
"docs": {
|
|
602
|
+
"tags": [],
|
|
603
|
+
"text": "Maximum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the min property."
|
|
604
|
+
},
|
|
605
|
+
"attribute": "max",
|
|
606
|
+
"reflect": false
|
|
692
607
|
}
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"
|
|
698
|
-
"
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
"
|
|
706
|
-
"
|
|
707
|
-
|
|
708
|
-
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
static get states() {
|
|
611
|
+
return {
|
|
612
|
+
"activeFocus": {},
|
|
613
|
+
"focusedDay": {},
|
|
614
|
+
"open": {},
|
|
615
|
+
"visible": {}
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
static get events() {
|
|
619
|
+
return [{
|
|
620
|
+
"method": "dsoDateChange",
|
|
621
|
+
"name": "dsoDateChange",
|
|
622
|
+
"bubbles": true,
|
|
623
|
+
"cancelable": true,
|
|
624
|
+
"composed": true,
|
|
625
|
+
"docs": {
|
|
626
|
+
"tags": [],
|
|
627
|
+
"text": "Event emitted when a date is selected."
|
|
628
|
+
},
|
|
629
|
+
"complexType": {
|
|
630
|
+
"original": "DsoDatePickerChangeEvent",
|
|
631
|
+
"resolved": "{ component: \"dso-date-picker\"; valueAsDate: Date | undefined; value: string; error?: \"invalid\" | \"required\" | \"min-range\" | \"max-range\" | undefined; }",
|
|
632
|
+
"references": {
|
|
633
|
+
"DsoDatePickerChangeEvent": {
|
|
634
|
+
"location": "local"
|
|
635
|
+
}
|
|
709
636
|
}
|
|
710
637
|
}
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
638
|
+
}, {
|
|
639
|
+
"method": "dsoBlur",
|
|
640
|
+
"name": "dsoBlur",
|
|
641
|
+
"bubbles": true,
|
|
642
|
+
"cancelable": true,
|
|
643
|
+
"composed": true,
|
|
644
|
+
"docs": {
|
|
645
|
+
"tags": [],
|
|
646
|
+
"text": "Event emitted the date picker input is blurred."
|
|
647
|
+
},
|
|
648
|
+
"complexType": {
|
|
649
|
+
"original": "DsoDatePickerFocusEvent",
|
|
650
|
+
"resolved": "{ component: \"dso-date-picker\"; }",
|
|
651
|
+
"references": {
|
|
652
|
+
"DsoDatePickerFocusEvent": {
|
|
653
|
+
"location": "local"
|
|
654
|
+
}
|
|
728
655
|
}
|
|
729
656
|
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
657
|
+
}, {
|
|
658
|
+
"method": "dsoKeyUp",
|
|
659
|
+
"name": "dsoKeyUp",
|
|
660
|
+
"bubbles": true,
|
|
661
|
+
"cancelable": true,
|
|
662
|
+
"composed": true,
|
|
663
|
+
"docs": {
|
|
664
|
+
"tags": [],
|
|
665
|
+
"text": "Event emitted on key up in the date picker input."
|
|
666
|
+
},
|
|
667
|
+
"complexType": {
|
|
668
|
+
"original": "DsoDatePickerKeyboardEvent",
|
|
669
|
+
"resolved": "{ component: \"dso-date-picker\"; originalEvent: KeyboardEvent; }",
|
|
670
|
+
"references": {
|
|
671
|
+
"DsoDatePickerKeyboardEvent": {
|
|
672
|
+
"location": "local"
|
|
673
|
+
}
|
|
747
674
|
}
|
|
748
675
|
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
676
|
+
}, {
|
|
677
|
+
"method": "dsoKeyDown",
|
|
678
|
+
"name": "dsoKeyDown",
|
|
679
|
+
"bubbles": true,
|
|
680
|
+
"cancelable": true,
|
|
681
|
+
"composed": true,
|
|
682
|
+
"docs": {
|
|
683
|
+
"tags": [],
|
|
684
|
+
"text": "Event emitted on key down in the date picker input."
|
|
685
|
+
},
|
|
686
|
+
"complexType": {
|
|
687
|
+
"original": "DsoDatePickerKeyboardEvent",
|
|
688
|
+
"resolved": "{ component: \"dso-date-picker\"; originalEvent: KeyboardEvent; }",
|
|
689
|
+
"references": {
|
|
690
|
+
"DsoDatePickerKeyboardEvent": {
|
|
691
|
+
"location": "local"
|
|
692
|
+
}
|
|
766
693
|
}
|
|
767
694
|
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
"
|
|
774
|
-
"
|
|
775
|
-
|
|
776
|
-
"
|
|
777
|
-
"location": "global"
|
|
778
|
-
}
|
|
695
|
+
}, {
|
|
696
|
+
"method": "dsoFocus",
|
|
697
|
+
"name": "dsoFocus",
|
|
698
|
+
"bubbles": true,
|
|
699
|
+
"cancelable": true,
|
|
700
|
+
"composed": true,
|
|
701
|
+
"docs": {
|
|
702
|
+
"tags": [],
|
|
703
|
+
"text": "Event emitted the date picker input is focused."
|
|
779
704
|
},
|
|
780
|
-
"
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
"show": {
|
|
788
|
-
"complexType": {
|
|
789
|
-
"signature": "() => Promise<void>",
|
|
790
|
-
"parameters": [],
|
|
791
|
-
"references": {
|
|
792
|
-
"Promise": {
|
|
793
|
-
"location": "global"
|
|
705
|
+
"complexType": {
|
|
706
|
+
"original": "DsoDatePickerFocusEvent",
|
|
707
|
+
"resolved": "{ component: \"dso-date-picker\"; }",
|
|
708
|
+
"references": {
|
|
709
|
+
"DsoDatePickerFocusEvent": {
|
|
710
|
+
"location": "local"
|
|
711
|
+
}
|
|
794
712
|
}
|
|
713
|
+
}
|
|
714
|
+
}];
|
|
715
|
+
}
|
|
716
|
+
static get methods() {
|
|
717
|
+
return {
|
|
718
|
+
"setFocus": {
|
|
719
|
+
"complexType": {
|
|
720
|
+
"signature": "() => Promise<void | undefined>",
|
|
721
|
+
"parameters": [],
|
|
722
|
+
"references": {
|
|
723
|
+
"Promise": {
|
|
724
|
+
"location": "global"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"return": "Promise<void | undefined>"
|
|
795
728
|
},
|
|
796
|
-
"
|
|
729
|
+
"docs": {
|
|
730
|
+
"text": "Sets focus on the date picker's input. Use this method instead of the global `focus()`.",
|
|
731
|
+
"tags": []
|
|
732
|
+
}
|
|
797
733
|
},
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
"text": ""
|
|
809
|
-
}],
|
|
810
|
-
"references": {
|
|
811
|
-
"Promise": {
|
|
812
|
-
"location": "global"
|
|
813
|
-
}
|
|
734
|
+
"show": {
|
|
735
|
+
"complexType": {
|
|
736
|
+
"signature": "() => Promise<void>",
|
|
737
|
+
"parameters": [],
|
|
738
|
+
"references": {
|
|
739
|
+
"Promise": {
|
|
740
|
+
"location": "global"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"return": "Promise<void>"
|
|
814
744
|
},
|
|
815
|
-
"
|
|
745
|
+
"docs": {
|
|
746
|
+
"text": "Show the calendar modal, moving focus to the calendar inside.",
|
|
747
|
+
"tags": []
|
|
748
|
+
}
|
|
816
749
|
},
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
|
|
750
|
+
"hide": {
|
|
751
|
+
"complexType": {
|
|
752
|
+
"signature": "(moveFocusToButton?: boolean) => Promise<void>",
|
|
753
|
+
"parameters": [{
|
|
754
|
+
"tags": [],
|
|
755
|
+
"text": ""
|
|
756
|
+
}],
|
|
757
|
+
"references": {
|
|
758
|
+
"Promise": {
|
|
759
|
+
"location": "global"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"return": "Promise<void>"
|
|
763
|
+
},
|
|
764
|
+
"docs": {
|
|
765
|
+
"text": "Hide the calendar modal. Set `moveFocusToButton` to false to prevent focus\r\nreturning to the date picker's button. Default is true.",
|
|
766
|
+
"tags": []
|
|
767
|
+
}
|
|
820
768
|
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
769
|
+
};
|
|
770
|
+
}
|
|
823
771
|
static get elementRef() { return "element"; }
|
|
824
|
-
static get listeners() {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
772
|
+
static get listeners() {
|
|
773
|
+
return [{
|
|
774
|
+
"name": "click",
|
|
775
|
+
"method": "handleDocumentClick",
|
|
776
|
+
"target": "document",
|
|
777
|
+
"capture": true,
|
|
778
|
+
"passive": false
|
|
779
|
+
}];
|
|
780
|
+
}
|
|
831
781
|
}
|