@paperless/core 0.1.0-alpha.281 → 0.1.0-alpha.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/build/p-07f28695.entry.js +1 -0
- package/dist/build/p-105940d9.entry.js +1 -0
- package/dist/build/p-12f5c483.entry.js +1 -0
- package/dist/build/{p-ad147b1b.entry.js → p-1ba7cadc.entry.js} +1 -1
- package/dist/build/{p-7b9cfce0.entry.js → p-1c0ec278.entry.js} +1 -1
- package/dist/build/{p-858f7490.entry.js → p-29388966.entry.js} +1 -1
- package/dist/build/p-2e47afc7.entry.js +1 -0
- package/dist/build/p-35c1d905.entry.js +1 -0
- package/dist/build/{p-c11282d2.entry.js → p-3946e0a3.entry.js} +1 -1
- package/dist/build/p-39e63e42.entry.js +1 -0
- package/dist/{paperless/p-7e40c097.entry.js → build/p-48fd3cac.entry.js} +1 -1
- package/dist/build/p-529ccaf7.entry.js +1 -0
- package/dist/{paperless/p-c6201d0d.entry.js → build/p-530ddb38.entry.js} +1 -1
- package/dist/build/p-56c90fca.entry.js +1 -0
- package/dist/build/p-5e574eab.entry.js +1 -0
- package/dist/build/p-62d49606.entry.js +1 -0
- package/dist/build/p-63de1c3d.entry.js +1 -0
- package/dist/build/p-644e6762.entry.js +1 -0
- package/dist/build/p-6cc16633.entry.js +1 -0
- package/dist/build/p-700b5ce6.entry.js +1 -0
- package/dist/build/{p-600a2f21.entry.js → p-7df6230f.entry.js} +1 -1
- package/dist/build/p-8f4ba2d4.entry.js +1 -0
- package/dist/build/p-91d032b2.entry.js +1 -0
- package/dist/build/{p-4588a510.entry.js → p-9315c1e2.entry.js} +1 -1
- package/dist/build/p-98e3dcd7.entry.js +1 -0
- package/dist/build/p-9f273f07.entry.js +1 -0
- package/dist/build/{p-52ab1f62.entry.js → p-ac5a17c4.entry.js} +1 -1
- package/dist/build/p-b3363052.entry.js +1 -0
- package/dist/build/p-b4af4b21.entry.js +1 -0
- package/dist/build/p-b8dd503c.entry.js +1 -0
- package/dist/build/p-c2da342f.entry.js +1 -0
- package/dist/build/p-c9f2fa8f.js +2 -0
- package/dist/{paperless/p-93476bf3.entry.js → build/p-d2cf5ab2.entry.js} +1 -1
- package/dist/build/p-d3eb4901.entry.js +1 -0
- package/dist/build/p-dbb409ab.entry.js +1 -0
- package/dist/build/{p-44d46765.entry.js → p-f499f696.entry.js} +1 -1
- package/dist/build/p-f86fcdf4.js +1 -0
- package/dist/build/p-fa3216a5.entry.js +1 -0
- package/dist/build/paperless.css +1 -392
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-cf92051a.js → index-195002a8.js} +454 -269
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js +2 -10
- package/dist/cjs/p-avatar-group.cjs.entry.js +3 -2
- package/dist/cjs/p-avatar.cjs.entry.js +5 -8
- package/dist/cjs/p-backdrop.cjs.entry.js +4 -9
- package/dist/cjs/p-button_3.cjs.entry.js +14 -51
- package/dist/cjs/p-card-body.cjs.entry.js +1 -4
- package/dist/cjs/p-card-container.cjs.entry.js +2 -8
- package/dist/cjs/p-card-header.cjs.entry.js +2 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +5 -16
- package/dist/cjs/p-counter.cjs.entry.js +2 -8
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +6 -11
- package/dist/cjs/p-drawer.cjs.entry.js +18 -18
- package/dist/cjs/p-dropdown_3.cjs.entry.js +8 -36
- package/dist/cjs/p-helper_2.cjs.entry.js +5 -26
- package/dist/cjs/p-illustration_6.cjs.entry.js +31 -82
- package/dist/cjs/p-info-panel.cjs.entry.js +3 -7
- package/dist/cjs/p-input-group_4.cjs.entry.js +20 -32
- package/dist/cjs/p-layout.cjs.entry.js +2 -5
- package/dist/cjs/p-modal-body_4.cjs.entry.js +7 -15
- package/dist/cjs/p-modal.cjs.entry.js +19 -28
- package/dist/cjs/p-navbar.cjs.entry.js +2 -8
- package/dist/cjs/p-navigation-item.cjs.entry.js +6 -5
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +7 -42
- package/dist/cjs/p-profile.cjs.entry.js +2 -8
- package/dist/cjs/p-select.cjs.entry.js +12 -29
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -4
- package/dist/cjs/p-status.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +3 -21
- package/dist/cjs/p-stepper.cjs.entry.js +1 -7
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -4
- package/dist/cjs/p-table-column.cjs.entry.js +3 -13
- package/dist/cjs/p-table.cjs.entry.js +12 -57
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -5
- package/dist/cjs/p-toast.cjs.entry.js +6 -11
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -27
- package/dist/collection/components/atoms/avatar/avatar.component.js +97 -91
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -18
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -31
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -16
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +98 -76
- package/dist/collection/components/atoms/button/button.component.css +1 -131
- package/dist/collection/components/atoms/button/button.component.js +300 -319
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -9
- package/dist/collection/components/atoms/card-body/card-body.component.js +34 -32
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -17
- package/dist/collection/components/atoms/card-container/card-container.component.js +51 -52
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -17
- package/dist/collection/components/atoms/card-header/card-header.component.js +51 -51
- package/dist/collection/components/atoms/counter/counter.component.css +1 -30
- package/dist/collection/components/atoms/counter/counter.component.js +51 -52
- package/dist/collection/components/atoms/divider/divider.component.css +1 -10
- package/dist/collection/components/atoms/divider/divider.component.js +12 -11
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -5
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +34 -32
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -7
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +37 -9
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -10
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +54 -51
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -8
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +34 -32
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -16
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -74
- package/dist/collection/components/atoms/helper/helper.component.css +1 -7
- package/dist/collection/components/atoms/helper/helper.component.js +38 -39
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +98 -100
- package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
- package/dist/collection/components/atoms/label/label.component.css +1 -101
- package/dist/collection/components/atoms/label/label.component.js +149 -156
- package/dist/collection/components/atoms/layout/layout.component.css +1 -73
- package/dist/collection/components/atoms/layout/layout.component.js +34 -38
- package/dist/collection/components/atoms/loader/loader.component.css +1 -52
- package/dist/collection/components/atoms/loader/loader.component.js +108 -113
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -7
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +34 -32
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -6
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +52 -31
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -4
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +12 -10
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -7
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +54 -52
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +34 -32
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -6
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -17
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +96 -90
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -7
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +33 -30
- package/dist/collection/components/atoms/status/status.component.css +1 -16
- package/dist/collection/components/atoms/status/status.component.js +97 -93
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -59
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +85 -94
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -18
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +50 -50
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -9
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +12 -11
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -10
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +34 -32
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -5
- package/dist/collection/components/atoms/table-container/table-container.component.js +12 -9
- package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -27
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +34 -32
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -43
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +184 -197
- package/dist/collection/components/helpers/table-column/table-column.component.js +128 -135
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -3
- package/dist/collection/components/molecules/accordion/accordion.component.js +102 -108
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -44
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +119 -125
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -12
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +194 -206
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -324
- package/dist/collection/components/molecules/input-group/input-group.component.js +276 -281
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -22
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +161 -180
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
- package/dist/collection/components/molecules/pagination/pagination.component.js +116 -114
- package/dist/collection/components/molecules/profile/profile.component.css +1 -60
- package/dist/collection/components/molecules/profile/profile.component.js +57 -63
- package/dist/collection/components/molecules/select/select.component.css +1 -6
- package/dist/collection/components/molecules/select/select.component.js +418 -426
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -12
- package/dist/collection/components/molecules/stepper/stepper.component.js +50 -50
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -3
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +160 -156
- package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -30
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +219 -233
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -16
- package/dist/collection/components/molecules/table-header/table-header.component.js +296 -321
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -21
- package/dist/collection/components/molecules/table-row/table-row.component.js +51 -54
- package/dist/collection/components/molecules/toast/toast.component.css +1 -23
- package/dist/collection/components/molecules/toast/toast.component.js +168 -169
- package/dist/collection/components/organisms/drawer/drawer.component.js +147 -128
- package/dist/collection/components/organisms/modal/modal.component.js +206 -197
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -53
- package/dist/collection/components/organisms/navbar/navbar.component.js +71 -81
- package/dist/collection/components/organisms/table/table.component.css +1 -3
- package/dist/collection/components/organisms/table/table.component.js +828 -869
- package/dist/collection/tailwind/animation.js +64 -4
- package/dist/components/backdrop.component.js +5 -9
- package/dist/components/button.component.js +6 -28
- package/dist/components/counter.component.js +1 -7
- package/dist/components/divider.component.js +1 -1
- package/dist/components/drawer-body.component.js +1 -4
- package/dist/components/drawer-container.component.js +6 -3
- package/dist/components/drawer-header.component.js +1 -4
- package/dist/components/dropdown-menu-container.component.js +1 -4
- package/dist/components/dropdown-menu-item.component.js +2 -7
- package/dist/components/dropdown.component.js +3 -23
- package/dist/components/helper.component.js +1 -4
- package/dist/components/icon.component.js +2 -10
- package/dist/components/illustration.component.js +1 -0
- package/dist/components/input-group.component.js +10 -13
- package/dist/components/label.component.js +4 -13
- package/dist/components/loader.component.js +5 -12
- package/dist/components/modal-body.component.js +1 -4
- package/dist/components/modal-container.component.js +5 -6
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -4
- package/dist/components/p-accordion.js +1 -9
- package/dist/components/p-avatar-group.js +2 -1
- package/dist/components/p-avatar.js +4 -7
- package/dist/components/p-card-body.js +0 -3
- package/dist/components/p-card-container.js +1 -7
- package/dist/components/p-card-header.js +1 -3
- package/dist/components/p-content-slider.js +4 -15
- package/dist/components/p-drawer.js +19 -18
- package/dist/components/p-info-panel.js +2 -6
- package/dist/components/p-layout.js +1 -4
- package/dist/components/p-modal.js +20 -28
- package/dist/components/p-navbar.js +1 -7
- package/dist/components/p-navigation-item.js +5 -4
- package/dist/components/p-profile.js +1 -7
- package/dist/components/p-select.js +11 -28
- package/dist/components/p-status.js +3 -3
- package/dist/components/p-stepper.js +0 -6
- package/dist/components/p-tab-item.js +0 -3
- package/dist/components/p-table-column.js +2 -12
- package/dist/components/p-table.js +11 -56
- package/dist/components/p-toast-container.js +1 -4
- package/dist/components/p-toast.js +5 -10
- package/dist/components/page-size-select.component.js +0 -24
- package/dist/components/pagination-item.component.js +1 -4
- package/dist/components/pagination.component.js +5 -13
- package/dist/components/popper.js +60 -49
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-item.component.js +4 -4
- package/dist/components/slider-indicator.component.js +0 -3
- package/dist/components/stepper-item.component.js +1 -13
- package/dist/components/stepper-line.component.js +1 -7
- package/dist/components/table-cell.component.js +7 -7
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-footer.component.js +2 -25
- package/dist/components/table-header.component.js +11 -33
- package/dist/components/table-row.component.js +1 -7
- package/dist/components/tooltip.component.js +2 -20
- package/dist/esm/{index-7c99f044.js → index-8170b4fb.js} +454 -269
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +2 -10
- package/dist/esm/p-avatar-group.entry.js +3 -2
- package/dist/esm/p-avatar.entry.js +5 -8
- package/dist/esm/p-backdrop.entry.js +4 -9
- package/dist/esm/p-button_3.entry.js +14 -51
- package/dist/esm/p-card-body.entry.js +1 -4
- package/dist/esm/p-card-container.entry.js +2 -8
- package/dist/esm/p-card-header.entry.js +2 -4
- package/dist/esm/p-content-slider.entry.js +5 -16
- package/dist/esm/p-counter.entry.js +2 -8
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +6 -11
- package/dist/esm/p-drawer.entry.js +18 -18
- package/dist/esm/p-dropdown_3.entry.js +8 -36
- package/dist/esm/p-helper_2.entry.js +5 -26
- package/dist/esm/p-illustration_6.entry.js +31 -82
- package/dist/esm/p-info-panel.entry.js +3 -7
- package/dist/esm/p-input-group_4.entry.js +20 -32
- package/dist/esm/p-layout.entry.js +2 -5
- package/dist/esm/p-modal-body_4.entry.js +7 -15
- package/dist/esm/p-modal.entry.js +19 -28
- package/dist/esm/p-navbar.entry.js +2 -8
- package/dist/esm/p-navigation-item.entry.js +6 -5
- package/dist/esm/p-page-size-select_3.entry.js +7 -42
- package/dist/esm/p-profile.entry.js +2 -8
- package/dist/esm/p-select.entry.js +12 -29
- package/dist/esm/p-slider-indicator.entry.js +1 -4
- package/dist/esm/p-status.entry.js +4 -4
- package/dist/esm/p-stepper-item_2.entry.js +3 -21
- package/dist/esm/p-stepper.entry.js +1 -7
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -4
- package/dist/esm/p-table-column.entry.js +3 -13
- package/dist/esm/p-table.entry.js +12 -57
- package/dist/esm/p-toast-container.entry.js +2 -5
- package/dist/esm/p-toast.entry.js +6 -11
- package/dist/esm/paperless.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
- package/dist/index.html +1 -1
- package/dist/paperless/p-07f28695.entry.js +1 -0
- package/dist/paperless/p-105940d9.entry.js +1 -0
- package/dist/paperless/p-12f5c483.entry.js +1 -0
- package/dist/paperless/{p-ad147b1b.entry.js → p-1ba7cadc.entry.js} +1 -1
- package/dist/paperless/{p-7b9cfce0.entry.js → p-1c0ec278.entry.js} +1 -1
- package/dist/paperless/{p-858f7490.entry.js → p-29388966.entry.js} +1 -1
- package/dist/paperless/p-2e47afc7.entry.js +1 -0
- package/dist/paperless/p-35c1d905.entry.js +1 -0
- package/dist/paperless/{p-c11282d2.entry.js → p-3946e0a3.entry.js} +1 -1
- package/dist/paperless/p-39e63e42.entry.js +1 -0
- package/dist/{build/p-7e40c097.entry.js → paperless/p-48fd3cac.entry.js} +1 -1
- package/dist/paperless/p-529ccaf7.entry.js +1 -0
- package/dist/{build/p-c6201d0d.entry.js → paperless/p-530ddb38.entry.js} +1 -1
- package/dist/paperless/p-56c90fca.entry.js +1 -0
- package/dist/paperless/p-5e574eab.entry.js +1 -0
- package/dist/paperless/p-62d49606.entry.js +1 -0
- package/dist/paperless/p-63de1c3d.entry.js +1 -0
- package/dist/paperless/p-644e6762.entry.js +1 -0
- package/dist/paperless/p-6cc16633.entry.js +1 -0
- package/dist/paperless/p-700b5ce6.entry.js +1 -0
- package/dist/paperless/{p-600a2f21.entry.js → p-7df6230f.entry.js} +1 -1
- package/dist/paperless/p-8f4ba2d4.entry.js +1 -0
- package/dist/paperless/p-91d032b2.entry.js +1 -0
- package/dist/paperless/{p-4588a510.entry.js → p-9315c1e2.entry.js} +1 -1
- package/dist/paperless/p-98e3dcd7.entry.js +1 -0
- package/dist/paperless/p-9f273f07.entry.js +1 -0
- package/dist/paperless/{p-52ab1f62.entry.js → p-ac5a17c4.entry.js} +1 -1
- package/dist/paperless/p-b3363052.entry.js +1 -0
- package/dist/paperless/p-b4af4b21.entry.js +1 -0
- package/dist/paperless/p-b8dd503c.entry.js +1 -0
- package/dist/paperless/p-c2da342f.entry.js +1 -0
- package/dist/paperless/p-c9f2fa8f.js +2 -0
- package/dist/{build/p-93476bf3.entry.js → paperless/p-d2cf5ab2.entry.js} +1 -1
- package/dist/paperless/p-d3eb4901.entry.js +1 -0
- package/dist/paperless/p-dbb409ab.entry.js +1 -0
- package/dist/paperless/{p-44d46765.entry.js → p-f499f696.entry.js} +1 -1
- package/dist/paperless/p-f86fcdf4.js +1 -0
- package/dist/paperless/p-fa3216a5.entry.js +1 -0
- package/dist/paperless/paperless.css +678 -886
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/animation.js +64 -4
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +4 -0
- package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +4 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +4 -0
- package/dist/types/components/organisms/drawer/drawer.component.d.ts +7 -1
- package/dist/types/components/organisms/modal/modal.component.d.ts +7 -1
- package/dist/types/components.d.ts +34 -2
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/{workbox-5fe694da.js → workbox-5b279812.js} +2 -2
- package/dist/{workbox-5fe694da.js.map → workbox-5b279812.js.map} +1 -1
- package/loader/package.json +1 -0
- package/package.json +2 -2
- package/dist/build/p-055b40ad.entry.js +0 -1
- package/dist/build/p-06899ffb.entry.js +0 -1
- package/dist/build/p-0818aeaa.entry.js +0 -1
- package/dist/build/p-08cd459b.entry.js +0 -1
- package/dist/build/p-13bb4d79.entry.js +0 -1
- package/dist/build/p-150aadaf.entry.js +0 -1
- package/dist/build/p-15d13147.entry.js +0 -1
- package/dist/build/p-197075c9.entry.js +0 -1
- package/dist/build/p-2a005223.entry.js +0 -1
- package/dist/build/p-3180c96e.entry.js +0 -1
- package/dist/build/p-337ad423.entry.js +0 -1
- package/dist/build/p-41588819.entry.js +0 -1
- package/dist/build/p-58dd41be.entry.js +0 -1
- package/dist/build/p-5a71d6ae.entry.js +0 -1
- package/dist/build/p-7e9a866e.entry.js +0 -1
- package/dist/build/p-8614bd10.entry.js +0 -1
- package/dist/build/p-86a6c56a.entry.js +0 -1
- package/dist/build/p-8f179b0d.entry.js +0 -1
- package/dist/build/p-a7086ffa.js +0 -1
- package/dist/build/p-b99f2f60.entry.js +0 -1
- package/dist/build/p-be2a7816.entry.js +0 -1
- package/dist/build/p-c4110c09.entry.js +0 -1
- package/dist/build/p-c7bebafd.entry.js +0 -1
- package/dist/build/p-d17b038f.entry.js +0 -1
- package/dist/build/p-d9c1fe13.js +0 -2
- package/dist/build/p-db69c965.entry.js +0 -1
- package/dist/build/p-ed78ef52.entry.js +0 -1
- package/dist/paperless/p-055b40ad.entry.js +0 -1
- package/dist/paperless/p-06899ffb.entry.js +0 -1
- package/dist/paperless/p-0818aeaa.entry.js +0 -1
- package/dist/paperless/p-08cd459b.entry.js +0 -1
- package/dist/paperless/p-13bb4d79.entry.js +0 -1
- package/dist/paperless/p-150aadaf.entry.js +0 -1
- package/dist/paperless/p-15d13147.entry.js +0 -1
- package/dist/paperless/p-197075c9.entry.js +0 -1
- package/dist/paperless/p-2a005223.entry.js +0 -1
- package/dist/paperless/p-3180c96e.entry.js +0 -1
- package/dist/paperless/p-337ad423.entry.js +0 -1
- package/dist/paperless/p-41588819.entry.js +0 -1
- package/dist/paperless/p-58dd41be.entry.js +0 -1
- package/dist/paperless/p-5a71d6ae.entry.js +0 -1
- package/dist/paperless/p-7e9a866e.entry.js +0 -1
- package/dist/paperless/p-8614bd10.entry.js +0 -1
- package/dist/paperless/p-86a6c56a.entry.js +0 -1
- package/dist/paperless/p-8f179b0d.entry.js +0 -1
- package/dist/paperless/p-a7086ffa.js +0 -1
- package/dist/paperless/p-b99f2f60.entry.js +0 -1
- package/dist/paperless/p-be2a7816.entry.js +0 -1
- package/dist/paperless/p-c4110c09.entry.js +0 -1
- package/dist/paperless/p-c7bebafd.entry.js +0 -1
- package/dist/paperless/p-d17b038f.entry.js +0 -1
- package/dist/paperless/p-d9c1fe13.js +0 -2
- package/dist/paperless/p-db69c965.entry.js +0 -1
- package/dist/paperless/p-ed78ef52.entry.js +0 -1
|
@@ -1,46 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host, } from '@stencil/core';
|
|
2
2
|
import { childOf } from '../../../utils';
|
|
3
3
|
export class Select {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
this._isAutoCompleting = false;
|
|
6
|
+
this.items = undefined;
|
|
7
|
+
this.query = undefined;
|
|
8
|
+
this.placeholder = undefined;
|
|
9
|
+
this.autocompletePlaceholder = undefined;
|
|
10
|
+
this.value = undefined;
|
|
8
11
|
this.displayKey = 'text';
|
|
9
|
-
/**
|
|
10
|
-
* The key of the object to return
|
|
11
|
-
*/
|
|
12
12
|
this.valueKey = 'value';
|
|
13
|
-
|
|
14
|
-
* Wether to automatically select the first item
|
|
15
|
-
*/
|
|
13
|
+
this.queryKey = undefined;
|
|
16
14
|
this.autoSelectFirst = true;
|
|
17
|
-
/**
|
|
18
|
-
* The maximum amount of items to display
|
|
19
|
-
*/
|
|
20
15
|
this.maxDisplayedItems = 10;
|
|
21
|
-
/**
|
|
22
|
-
* Wether to enable autocomplete
|
|
23
|
-
*/
|
|
24
16
|
this.enableAutocomplete = true;
|
|
25
|
-
/**
|
|
26
|
-
* Wether the input uses async filtering
|
|
27
|
-
*/
|
|
28
17
|
this.asyncFilter = false;
|
|
29
|
-
/**
|
|
30
|
-
* Wether to show loading items
|
|
31
|
-
*/
|
|
32
18
|
this.loading = false;
|
|
33
|
-
/**
|
|
34
|
-
* The size of the input group used by the select
|
|
35
|
-
*/
|
|
36
19
|
this.size = 'medium';
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
20
|
+
this.prefix = undefined;
|
|
21
|
+
this.label = undefined;
|
|
22
|
+
this.helper = undefined;
|
|
23
|
+
this.error = undefined;
|
|
40
24
|
this.disabled = false;
|
|
41
25
|
this._showDropdown = false;
|
|
42
26
|
this._selectedItem = null;
|
|
43
|
-
this._isAutoCompleting = false;
|
|
44
27
|
}
|
|
45
28
|
get _items() {
|
|
46
29
|
var _a;
|
|
@@ -93,13 +76,9 @@ export class Select {
|
|
|
93
76
|
}
|
|
94
77
|
}
|
|
95
78
|
render() {
|
|
96
|
-
return (h(Host, { class: "p-select" },
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
h("input", { slot: "input", type: "text", placeholder: this._placeholder, value: this._displayValue, class: `p-input cursor-pointer ${!this._isAutoCompleting && 'read-only'}`, onFocus: () => this._onFocus(), onMouseDown: (ev) => this._onMouseDown(ev), onClick: () => this._onClick(), onInput: (ev) => this._onChange(ev), ref: (ref) => (this._inputRef = ref) })),
|
|
100
|
-
h("div", { slot: "items" }, this.loading
|
|
101
|
-
? this._getLoadingItems()
|
|
102
|
-
: this._getItems()))));
|
|
79
|
+
return (h(Host, { class: "p-select" }, h("p-dropdown", { disableTriggerClick: true, calculateWidth: true, insideClick: true, show: this._showDropdown }, h("p-input-group", { slot: "trigger", icon: "chevron", iconPosition: "end", size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, error: this.error, disabled: this.disabled, focused: this._showDropdown }, h("input", { slot: "input", type: "text", placeholder: this._placeholder, value: this._displayValue, class: `p-input cursor-pointer ${!this._isAutoCompleting && 'read-only'}`, onFocus: () => this._onFocus(), onMouseDown: (ev) => this._onMouseDown(ev), onClick: () => this._onClick(), onInput: (ev) => this._onChange(ev), ref: (ref) => (this._inputRef = ref) })), h("div", { slot: "items" }, this.loading
|
|
80
|
+
? this._getLoadingItems()
|
|
81
|
+
: this._getItems()))));
|
|
103
82
|
}
|
|
104
83
|
documentClickHandler({ target }) {
|
|
105
84
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -181,398 +160,411 @@ export class Select {
|
|
|
181
160
|
});
|
|
182
161
|
}
|
|
183
162
|
_getLoadingItems() {
|
|
184
|
-
return [0, 0, 0].map(() => (h("p-dropdown-menu-item", { enableHover: false },
|
|
185
|
-
h("p-loader", { variant: "ghost", class: "w-full h-6 rounded" }))));
|
|
163
|
+
return [0, 0, 0].map(() => (h("p-dropdown-menu-item", { enableHover: false }, h("p-loader", { variant: "ghost", class: "w-full h-6 rounded" }))));
|
|
186
164
|
}
|
|
187
165
|
static get is() { return "p-select"; }
|
|
188
|
-
static get originalStyleUrls() {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
"
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
"
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
"
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
"
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
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
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
}; }
|
|
532
|
-
static get events() { return [{
|
|
533
|
-
"method": "queryChange",
|
|
534
|
-
"name": "queryChange",
|
|
535
|
-
"bubbles": true,
|
|
536
|
-
"cancelable": true,
|
|
537
|
-
"composed": true,
|
|
538
|
-
"docs": {
|
|
539
|
-
"tags": [],
|
|
540
|
-
"text": "Event when the query of the autocomplete changes"
|
|
541
|
-
},
|
|
542
|
-
"complexType": {
|
|
543
|
-
"original": "string",
|
|
544
|
-
"resolved": "string",
|
|
545
|
-
"references": {}
|
|
546
|
-
}
|
|
547
|
-
}, {
|
|
548
|
-
"method": "valueChange",
|
|
549
|
-
"name": "valueChange",
|
|
550
|
-
"bubbles": true,
|
|
551
|
-
"cancelable": true,
|
|
552
|
-
"composed": true,
|
|
553
|
-
"docs": {
|
|
554
|
-
"tags": [],
|
|
555
|
-
"text": "Event when the value changes"
|
|
556
|
-
},
|
|
557
|
-
"complexType": {
|
|
558
|
-
"original": "any",
|
|
559
|
-
"resolved": "any",
|
|
560
|
-
"references": {}
|
|
166
|
+
static get originalStyleUrls() {
|
|
167
|
+
return {
|
|
168
|
+
"$": ["select.component.scss"]
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
static get styleUrls() {
|
|
172
|
+
return {
|
|
173
|
+
"$": ["select.component.css"]
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
static get properties() {
|
|
177
|
+
return {
|
|
178
|
+
"items": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "string | any[]",
|
|
183
|
+
"resolved": "any[] | string",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"optional": false,
|
|
188
|
+
"docs": {
|
|
189
|
+
"tags": [],
|
|
190
|
+
"text": "The items to show in the dropdown"
|
|
191
|
+
},
|
|
192
|
+
"attribute": "items",
|
|
193
|
+
"reflect": false
|
|
194
|
+
},
|
|
195
|
+
"query": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "The current query"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "query",
|
|
210
|
+
"reflect": false
|
|
211
|
+
},
|
|
212
|
+
"placeholder": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"mutable": false,
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "string",
|
|
217
|
+
"resolved": "string",
|
|
218
|
+
"references": {}
|
|
219
|
+
},
|
|
220
|
+
"required": false,
|
|
221
|
+
"optional": false,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": "The placeholder of the input"
|
|
225
|
+
},
|
|
226
|
+
"attribute": "placeholder",
|
|
227
|
+
"reflect": false
|
|
228
|
+
},
|
|
229
|
+
"autocompletePlaceholder": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "string",
|
|
234
|
+
"resolved": "string",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": "The placeholder of the input when auto completing"
|
|
242
|
+
},
|
|
243
|
+
"attribute": "autocomplete-placeholder",
|
|
244
|
+
"reflect": false
|
|
245
|
+
},
|
|
246
|
+
"value": {
|
|
247
|
+
"type": "any",
|
|
248
|
+
"mutable": false,
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "any",
|
|
251
|
+
"resolved": "any",
|
|
252
|
+
"references": {}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"optional": false,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "The current value"
|
|
259
|
+
},
|
|
260
|
+
"attribute": "value",
|
|
261
|
+
"reflect": false
|
|
262
|
+
},
|
|
263
|
+
"displayKey": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"mutable": false,
|
|
266
|
+
"complexType": {
|
|
267
|
+
"original": "string",
|
|
268
|
+
"resolved": "string",
|
|
269
|
+
"references": {}
|
|
270
|
+
},
|
|
271
|
+
"required": false,
|
|
272
|
+
"optional": false,
|
|
273
|
+
"docs": {
|
|
274
|
+
"tags": [],
|
|
275
|
+
"text": "The key of the object to display"
|
|
276
|
+
},
|
|
277
|
+
"attribute": "display-key",
|
|
278
|
+
"reflect": false,
|
|
279
|
+
"defaultValue": "'text'"
|
|
280
|
+
},
|
|
281
|
+
"valueKey": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"mutable": false,
|
|
284
|
+
"complexType": {
|
|
285
|
+
"original": "string",
|
|
286
|
+
"resolved": "string",
|
|
287
|
+
"references": {}
|
|
288
|
+
},
|
|
289
|
+
"required": false,
|
|
290
|
+
"optional": false,
|
|
291
|
+
"docs": {
|
|
292
|
+
"tags": [],
|
|
293
|
+
"text": "The key of the object to return"
|
|
294
|
+
},
|
|
295
|
+
"attribute": "value-key",
|
|
296
|
+
"reflect": false,
|
|
297
|
+
"defaultValue": "'value'"
|
|
298
|
+
},
|
|
299
|
+
"queryKey": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"mutable": false,
|
|
302
|
+
"complexType": {
|
|
303
|
+
"original": "string",
|
|
304
|
+
"resolved": "string",
|
|
305
|
+
"references": {}
|
|
306
|
+
},
|
|
307
|
+
"required": false,
|
|
308
|
+
"optional": true,
|
|
309
|
+
"docs": {
|
|
310
|
+
"tags": [],
|
|
311
|
+
"text": "The key of the object to display"
|
|
312
|
+
},
|
|
313
|
+
"attribute": "query-key",
|
|
314
|
+
"reflect": false
|
|
315
|
+
},
|
|
316
|
+
"autoSelectFirst": {
|
|
317
|
+
"type": "boolean",
|
|
318
|
+
"mutable": false,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "boolean",
|
|
321
|
+
"resolved": "boolean",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": false,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [],
|
|
328
|
+
"text": "Wether to automatically select the first item"
|
|
329
|
+
},
|
|
330
|
+
"attribute": "auto-select-first",
|
|
331
|
+
"reflect": false,
|
|
332
|
+
"defaultValue": "true"
|
|
333
|
+
},
|
|
334
|
+
"maxDisplayedItems": {
|
|
335
|
+
"type": "number",
|
|
336
|
+
"mutable": false,
|
|
337
|
+
"complexType": {
|
|
338
|
+
"original": "number",
|
|
339
|
+
"resolved": "number",
|
|
340
|
+
"references": {}
|
|
341
|
+
},
|
|
342
|
+
"required": false,
|
|
343
|
+
"optional": false,
|
|
344
|
+
"docs": {
|
|
345
|
+
"tags": [],
|
|
346
|
+
"text": "The maximum amount of items to display"
|
|
347
|
+
},
|
|
348
|
+
"attribute": "max-displayed-items",
|
|
349
|
+
"reflect": false,
|
|
350
|
+
"defaultValue": "10"
|
|
351
|
+
},
|
|
352
|
+
"enableAutocomplete": {
|
|
353
|
+
"type": "boolean",
|
|
354
|
+
"mutable": false,
|
|
355
|
+
"complexType": {
|
|
356
|
+
"original": "boolean",
|
|
357
|
+
"resolved": "boolean",
|
|
358
|
+
"references": {}
|
|
359
|
+
},
|
|
360
|
+
"required": false,
|
|
361
|
+
"optional": false,
|
|
362
|
+
"docs": {
|
|
363
|
+
"tags": [],
|
|
364
|
+
"text": "Wether to enable autocomplete"
|
|
365
|
+
},
|
|
366
|
+
"attribute": "enable-autocomplete",
|
|
367
|
+
"reflect": false,
|
|
368
|
+
"defaultValue": "true"
|
|
369
|
+
},
|
|
370
|
+
"asyncFilter": {
|
|
371
|
+
"type": "boolean",
|
|
372
|
+
"mutable": false,
|
|
373
|
+
"complexType": {
|
|
374
|
+
"original": "boolean",
|
|
375
|
+
"resolved": "boolean",
|
|
376
|
+
"references": {}
|
|
377
|
+
},
|
|
378
|
+
"required": false,
|
|
379
|
+
"optional": false,
|
|
380
|
+
"docs": {
|
|
381
|
+
"tags": [],
|
|
382
|
+
"text": "Wether the input uses async filtering"
|
|
383
|
+
},
|
|
384
|
+
"attribute": "async-filter",
|
|
385
|
+
"reflect": false,
|
|
386
|
+
"defaultValue": "false"
|
|
387
|
+
},
|
|
388
|
+
"loading": {
|
|
389
|
+
"type": "boolean",
|
|
390
|
+
"mutable": false,
|
|
391
|
+
"complexType": {
|
|
392
|
+
"original": "boolean",
|
|
393
|
+
"resolved": "boolean",
|
|
394
|
+
"references": {}
|
|
395
|
+
},
|
|
396
|
+
"required": false,
|
|
397
|
+
"optional": false,
|
|
398
|
+
"docs": {
|
|
399
|
+
"tags": [],
|
|
400
|
+
"text": "Wether to show loading items"
|
|
401
|
+
},
|
|
402
|
+
"attribute": "loading",
|
|
403
|
+
"reflect": false,
|
|
404
|
+
"defaultValue": "false"
|
|
405
|
+
},
|
|
406
|
+
"size": {
|
|
407
|
+
"type": "string",
|
|
408
|
+
"mutable": false,
|
|
409
|
+
"complexType": {
|
|
410
|
+
"original": "'small' | 'medium'",
|
|
411
|
+
"resolved": "\"medium\" | \"small\"",
|
|
412
|
+
"references": {}
|
|
413
|
+
},
|
|
414
|
+
"required": false,
|
|
415
|
+
"optional": false,
|
|
416
|
+
"docs": {
|
|
417
|
+
"tags": [],
|
|
418
|
+
"text": "The size of the input group used by the select"
|
|
419
|
+
},
|
|
420
|
+
"attribute": "size",
|
|
421
|
+
"reflect": false,
|
|
422
|
+
"defaultValue": "'medium'"
|
|
423
|
+
},
|
|
424
|
+
"prefix": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"mutable": false,
|
|
427
|
+
"complexType": {
|
|
428
|
+
"original": "string",
|
|
429
|
+
"resolved": "string",
|
|
430
|
+
"references": {}
|
|
431
|
+
},
|
|
432
|
+
"required": false,
|
|
433
|
+
"optional": false,
|
|
434
|
+
"docs": {
|
|
435
|
+
"tags": [],
|
|
436
|
+
"text": "The prefix of the input group used by the select"
|
|
437
|
+
},
|
|
438
|
+
"attribute": "prefix",
|
|
439
|
+
"reflect": false
|
|
440
|
+
},
|
|
441
|
+
"label": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"mutable": false,
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "string",
|
|
446
|
+
"resolved": "string",
|
|
447
|
+
"references": {}
|
|
448
|
+
},
|
|
449
|
+
"required": false,
|
|
450
|
+
"optional": false,
|
|
451
|
+
"docs": {
|
|
452
|
+
"tags": [],
|
|
453
|
+
"text": "The label of the input group used by the select"
|
|
454
|
+
},
|
|
455
|
+
"attribute": "label",
|
|
456
|
+
"reflect": false
|
|
457
|
+
},
|
|
458
|
+
"helper": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"mutable": false,
|
|
461
|
+
"complexType": {
|
|
462
|
+
"original": "string",
|
|
463
|
+
"resolved": "string",
|
|
464
|
+
"references": {}
|
|
465
|
+
},
|
|
466
|
+
"required": false,
|
|
467
|
+
"optional": false,
|
|
468
|
+
"docs": {
|
|
469
|
+
"tags": [],
|
|
470
|
+
"text": "The helper of the input group used by the select"
|
|
471
|
+
},
|
|
472
|
+
"attribute": "helper",
|
|
473
|
+
"reflect": false
|
|
474
|
+
},
|
|
475
|
+
"error": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"mutable": false,
|
|
478
|
+
"complexType": {
|
|
479
|
+
"original": "string",
|
|
480
|
+
"resolved": "string",
|
|
481
|
+
"references": {}
|
|
482
|
+
},
|
|
483
|
+
"required": false,
|
|
484
|
+
"optional": false,
|
|
485
|
+
"docs": {
|
|
486
|
+
"tags": [],
|
|
487
|
+
"text": "The helper of the input group used by the select"
|
|
488
|
+
},
|
|
489
|
+
"attribute": "error",
|
|
490
|
+
"reflect": true
|
|
491
|
+
},
|
|
492
|
+
"disabled": {
|
|
493
|
+
"type": "boolean",
|
|
494
|
+
"mutable": false,
|
|
495
|
+
"complexType": {
|
|
496
|
+
"original": "boolean",
|
|
497
|
+
"resolved": "boolean",
|
|
498
|
+
"references": {}
|
|
499
|
+
},
|
|
500
|
+
"required": false,
|
|
501
|
+
"optional": false,
|
|
502
|
+
"docs": {
|
|
503
|
+
"tags": [],
|
|
504
|
+
"text": "Wether the input group is disabled used by the select"
|
|
505
|
+
},
|
|
506
|
+
"attribute": "disabled",
|
|
507
|
+
"reflect": true,
|
|
508
|
+
"defaultValue": "false"
|
|
561
509
|
}
|
|
562
|
-
}
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
static get states() {
|
|
513
|
+
return {
|
|
514
|
+
"_showDropdown": {},
|
|
515
|
+
"_selectedItem": {}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
static get events() {
|
|
519
|
+
return [{
|
|
520
|
+
"method": "queryChange",
|
|
521
|
+
"name": "queryChange",
|
|
522
|
+
"bubbles": true,
|
|
523
|
+
"cancelable": true,
|
|
524
|
+
"composed": true,
|
|
525
|
+
"docs": {
|
|
526
|
+
"tags": [],
|
|
527
|
+
"text": "Event when the query of the autocomplete changes"
|
|
528
|
+
},
|
|
529
|
+
"complexType": {
|
|
530
|
+
"original": "string",
|
|
531
|
+
"resolved": "string",
|
|
532
|
+
"references": {}
|
|
533
|
+
}
|
|
534
|
+
}, {
|
|
535
|
+
"method": "valueChange",
|
|
536
|
+
"name": "valueChange",
|
|
537
|
+
"bubbles": true,
|
|
538
|
+
"cancelable": true,
|
|
539
|
+
"composed": true,
|
|
540
|
+
"docs": {
|
|
541
|
+
"tags": [],
|
|
542
|
+
"text": "Event when the value changes"
|
|
543
|
+
},
|
|
544
|
+
"complexType": {
|
|
545
|
+
"original": "any",
|
|
546
|
+
"resolved": "any",
|
|
547
|
+
"references": {}
|
|
548
|
+
}
|
|
549
|
+
}];
|
|
550
|
+
}
|
|
563
551
|
static get elementRef() { return "_el"; }
|
|
564
|
-
static get watchers() {
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
552
|
+
static get watchers() {
|
|
553
|
+
return [{
|
|
554
|
+
"propName": "value",
|
|
555
|
+
"methodName": "_valueChange"
|
|
556
|
+
}, {
|
|
557
|
+
"propName": "items",
|
|
558
|
+
"methodName": "itemChanges"
|
|
559
|
+
}];
|
|
560
|
+
}
|
|
561
|
+
static get listeners() {
|
|
562
|
+
return [{
|
|
563
|
+
"name": "click",
|
|
564
|
+
"method": "documentClickHandler",
|
|
565
|
+
"target": "document",
|
|
566
|
+
"capture": true,
|
|
567
|
+
"passive": false
|
|
568
|
+
}];
|
|
569
|
+
}
|
|
578
570
|
}
|