@siemens/ix 1.1.0-beta.5 → 1.1.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/{base-button-eb1d47db.js → base-button-6ef79cb6.js} +3 -3
- package/dist/cjs/{index-1e4a348f.js → index-40761405.js} +467 -275
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +7 -12
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -4
- package/dist/cjs/ix-blind.cjs.entry.js +2 -9
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +6 -11
- package/dist/cjs/ix-button.cjs.entry.js +2 -25
- package/dist/cjs/ix-category-filter.cjs.entry.js +16 -27
- package/dist/cjs/ix-chip.cjs.entry.js +4 -13
- package/dist/cjs/ix-counter-pill.cjs.entry.js +3 -10
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +23 -91
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -7
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +9 -53
- package/dist/cjs/ix-drawer.cjs.entry.js +2 -20
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -30
- package/dist/cjs/ix-event-list_2.cjs.entry.js +6 -19
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -10
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -4
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +4 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +9 -26
- package/dist/cjs/ix-icon-button.cjs.entry.js +8 -17
- package/dist/cjs/ix-icon.cjs.entry.js +4 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -7
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +44 -9
- package/dist/cjs/ix-menu_9.cjs.entry.js +26 -82
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -7
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js +4 -10
- package/dist/cjs/ix-select_2.cjs.entry.js +8 -34
- package/dist/cjs/ix-spinner.cjs.entry.js +1 -7
- package/dist/cjs/ix-split-button_2.cjs.entry.js +5 -28
- package/dist/cjs/ix-tab-item.cjs.entry.js +2 -22
- package/dist/cjs/ix-tabs.cjs.entry.js +5 -20
- package/dist/cjs/ix-tile.cjs.entry.js +1 -4
- package/dist/cjs/ix-toast_2.cjs.entry.js +4 -16
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -26
- package/dist/cjs/ix-tree_2.cjs.entry.js +8 -5
- package/dist/cjs/ix-upload.cjs.entry.js +2 -46
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -6
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -31
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-5be2b1a3.js → modal-42934387.js} +10 -27
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/animated-tab/animated-tab.js +53 -44
- package/dist/collection/components/animated-tabs/animated-tabs.js +122 -123
- package/dist/collection/components/application-header/application-header.js +36 -31
- package/dist/collection/components/basic-navigation/basic-navigation.js +51 -52
- package/dist/collection/components/blind/blind.js +83 -83
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -7
- package/dist/collection/components/breadcrumb/breadcrumb.js +119 -129
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +53 -44
- package/dist/collection/components/button/base-button.js +3 -3
- package/dist/collection/components/button/button.js +143 -161
- package/dist/collection/components/category-filter/category-filter.js +355 -372
- package/dist/collection/components/chip/chip.js +154 -160
- package/dist/collection/components/counter-pill/counter-pill.js +102 -105
- package/dist/collection/components/date-picker/date-picker.js +352 -406
- package/dist/collection/components/date-time-card/date-time-card.js +54 -60
- package/dist/collection/components/datetime-picker/datetime-picker.js +399 -442
- package/dist/collection/components/datetime-picker/event.js +0 -8
- package/dist/collection/components/drawer/drawer.js +185 -197
- package/dist/collection/components/dropdown/dropdown.css +2 -0
- package/dist/collection/components/dropdown/dropdown.js +240 -245
- package/dist/collection/components/dropdown-item/dropdown-item.js +147 -149
- package/dist/collection/components/event-list/event-list.js +85 -92
- package/dist/collection/components/event-list-item/event-list-item.js +136 -133
- package/dist/collection/components/expanding-search/expanding-search.js +112 -116
- package/dist/collection/components/filter-chip/filter-chip.js +51 -50
- package/dist/collection/components/flip-tile/flip-tile.js +74 -72
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +12 -9
- package/dist/collection/components/group/group.js +201 -221
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +53 -45
- package/dist/collection/components/group-item/group-item.js +165 -164
- package/dist/collection/components/icon/icon.js +77 -68
- package/dist/collection/components/icon-button/icon-button.js +207 -217
- package/dist/collection/components/input-group/input-group.js +12 -13
- package/dist/collection/components/kpi/kpi.js +106 -110
- package/dist/collection/components/map-navigation/map-navigation.css +3 -10
- package/dist/collection/components/map-navigation/map-navigation.js +186 -185
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +1 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +124 -88
- package/dist/collection/components/menu/menu.css +2 -3
- package/dist/collection/components/menu/menu.js +483 -527
- package/dist/collection/components/menu-about/menu-about.js +99 -98
- package/dist/collection/components/menu-about-item/menu-about-item.js +36 -28
- package/dist/collection/components/menu-about-news/menu-about-news.js +160 -174
- package/dist/collection/components/menu-avatar/menu-avatar.js +102 -101
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +72 -60
- package/dist/collection/components/menu-item/menu-item.js +128 -127
- package/dist/collection/components/menu-settings/menu-settings.js +94 -94
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +36 -28
- package/dist/collection/components/message-bar/message-bar.js +78 -77
- package/dist/collection/components/modal/modal.js +404 -418
- package/dist/collection/components/modal-container/modal-container.js +51 -44
- package/dist/collection/components/my-component/example-modal.js +2 -10
- package/dist/collection/components/my-component/my-component.js +11 -7
- package/dist/collection/components/pill/pill.js +119 -122
- package/dist/collection/components/select/select.js +282 -303
- package/dist/collection/components/select-item/select-item.js +134 -129
- package/dist/collection/components/spinner/spinner.js +51 -115
- package/dist/collection/components/split-button/split-button.js +208 -231
- package/dist/collection/components/split-button-item/split-button-item.js +72 -60
- package/dist/collection/components/tab-item/tab-item.js +160 -177
- package/dist/collection/components/tabs/tabs.js +123 -137
- package/dist/collection/components/tile/tile.js +34 -39
- package/dist/collection/components/time-picker/time-picker.js +274 -323
- package/dist/collection/components/toast/toast-container.js +94 -96
- package/dist/collection/components/toast/toast.js +159 -164
- package/dist/collection/components/toggle/toggle.js +189 -209
- package/dist/collection/components/tree/tree-model.js +0 -8
- package/dist/collection/components/tree/tree.js +144 -135
- package/dist/collection/components/tree-item/tree-item.js +111 -102
- package/dist/collection/components/upload/upload.js +276 -319
- package/dist/collection/components/utils/button-variants.js +0 -8
- package/dist/collection/components/utils/notification-color.js +0 -8
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +68 -65
- package/dist/collection/components/workflow-step/workflow-step.js +145 -163
- package/dist/collection/components/workflow-steps/workflow-steps.js +102 -108
- package/dist/components/application-header.js +1 -0
- package/dist/components/base-button.js +3 -3
- package/dist/components/button.js +0 -23
- package/dist/components/date-picker.js +15 -50
- package/dist/components/date-time-card.js +0 -6
- package/dist/components/dropdown-item.js +2 -9
- package/dist/components/dropdown.js +4 -20
- package/dist/components/filter-chip.js +0 -3
- package/dist/components/group-item.js +5 -7
- package/dist/components/icon-button.js +6 -15
- package/dist/components/icon.js +3 -0
- package/dist/components/index.d.ts +65 -5
- package/dist/components/index.js +65 -5
- package/dist/components/ix-animated-tab.js +2 -0
- package/dist/components/ix-animated-tabs.js +4 -11
- package/dist/components/ix-basic-navigation.js +1 -3
- package/dist/components/ix-blind.js +1 -9
- package/dist/components/ix-breadcrumb-item.js +2 -0
- package/dist/components/ix-breadcrumb.js +3 -10
- package/dist/components/ix-category-filter.js +48 -28
- package/dist/components/ix-chip.js +3 -12
- package/dist/components/ix-counter-pill.js +2 -9
- package/dist/components/ix-datetime-picker.js +8 -52
- package/dist/components/ix-drawer.js +1 -19
- package/dist/components/ix-event-list-item.js +4 -6
- package/dist/components/ix-event-list.js +1 -12
- package/dist/components/ix-expanding-search.js +0 -9
- package/dist/components/ix-flip-tile.js +21 -2
- package/dist/components/ix-group-dropdown-item.js +2 -0
- package/dist/components/ix-group.js +1 -19
- package/dist/components/ix-kpi.js +3 -6
- package/dist/components/ix-map-navigation.js +9 -6
- package/dist/components/ix-menu-about-item.js +1 -0
- package/dist/components/ix-menu-about-news.js +2 -12
- package/dist/components/ix-menu-about.js +1 -6
- package/dist/components/ix-menu-avatar.js +3 -3
- package/dist/components/ix-menu-settings-item.js +1 -0
- package/dist/components/ix-menu-settings.js +1 -6
- package/dist/components/ix-menu.js +10 -45
- package/dist/components/ix-message-bar.js +2 -6
- package/dist/components/ix-modal-example.js +38 -2
- package/dist/components/ix-pill.js +3 -9
- package/dist/components/ix-select.js +5 -27
- package/dist/components/ix-split-button-item.js +2 -0
- package/dist/components/ix-split-button.js +1 -26
- package/dist/components/ix-tile.js +0 -3
- package/dist/components/ix-toast-container.js +0 -6
- package/dist/components/ix-toggle.js +0 -25
- package/dist/components/ix-tree.js +24 -6
- package/dist/components/ix-upload.js +18 -48
- package/dist/components/ix-validation-tooltip.js +3 -5
- package/dist/components/ix-workflow-step.js +0 -18
- package/dist/components/ix-workflow-steps.js +0 -12
- package/dist/components/map-navigation-overlay.js +35 -2
- package/dist/components/menu-avatar-item.js +2 -0
- package/dist/components/menu-item.js +4 -9
- package/dist/components/modal.js +9 -26
- package/dist/components/select-item.js +2 -6
- package/dist/components/spinner.js +0 -6
- package/dist/components/tab-item.js +1 -21
- package/dist/components/tabs.js +4 -19
- package/dist/components/time-picker.js +7 -40
- package/dist/components/toast.js +3 -9
- package/dist/components/tree-item.js +3 -0
- package/dist/esm/{base-button-7bfb747f.js → base-button-0b6635df.js} +3 -3
- package/dist/esm/{index-55cfd20d.js → index-b22287de.js} +467 -275
- package/dist/esm/index.js +2 -2
- package/dist/esm/ix-animated-tab_2.entry.js +7 -12
- package/dist/esm/ix-application-header.entry.js +2 -1
- package/dist/esm/ix-basic-navigation.entry.js +2 -4
- package/dist/esm/ix-blind.entry.js +2 -9
- package/dist/esm/ix-breadcrumb_2.entry.js +6 -11
- package/dist/esm/ix-button.entry.js +2 -25
- package/dist/esm/ix-category-filter.entry.js +16 -27
- package/dist/esm/ix-chip.entry.js +4 -13
- package/dist/esm/ix-counter-pill.entry.js +3 -10
- package/dist/esm/ix-date-picker_2.entry.js +23 -91
- package/dist/esm/ix-date-time-card.entry.js +1 -7
- package/dist/esm/ix-datetime-picker.entry.js +9 -53
- package/dist/esm/ix-drawer.entry.js +2 -20
- package/dist/esm/ix-dropdown_2.entry.js +7 -30
- package/dist/esm/ix-event-list_2.entry.js +6 -19
- package/dist/esm/ix-expanding-search.entry.js +1 -10
- package/dist/esm/ix-filter-chip.entry.js +1 -4
- package/dist/esm/ix-flip-tile_2.entry.js +4 -1
- package/dist/esm/ix-group_3.entry.js +9 -26
- package/dist/esm/ix-icon-button.entry.js +8 -17
- package/dist/esm/ix-icon.entry.js +4 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -7
- package/dist/esm/ix-map-navigation_2.entry.js +44 -9
- package/dist/esm/ix-menu_9.entry.js +26 -82
- package/dist/esm/ix-message-bar.entry.js +3 -7
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js +4 -10
- package/dist/esm/ix-select_2.entry.js +8 -34
- package/dist/esm/ix-spinner.entry.js +1 -7
- package/dist/esm/ix-split-button_2.entry.js +5 -28
- package/dist/esm/ix-tab-item.entry.js +2 -22
- package/dist/esm/ix-tabs.entry.js +5 -20
- package/dist/esm/ix-tile.entry.js +1 -4
- package/dist/esm/ix-toast_2.entry.js +4 -16
- package/dist/esm/ix-toggle.entry.js +1 -26
- package/dist/esm/ix-tree_2.entry.js +8 -5
- package/dist/esm/ix-upload.entry.js +2 -46
- package/dist/esm/ix-validation-tooltip.entry.js +4 -6
- package/dist/esm/ix-workflow-step_2.entry.js +1 -31
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{modal-8ed87a6c.js → modal-f1e45879.js} +10 -27
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-003b58b3.js +1 -0
- package/dist/siemens-ix/p-0419f23d.entry.js +1 -0
- package/dist/siemens-ix/p-0cdac3da.entry.js +1 -0
- package/dist/siemens-ix/p-161561ef.entry.js +1 -0
- package/dist/siemens-ix/p-1686ce8c.entry.js +1 -0
- package/dist/siemens-ix/{p-df43662b.entry.js → p-18652f43.entry.js} +1 -1
- package/dist/siemens-ix/p-1cd8f35f.entry.js +1 -0
- package/dist/siemens-ix/{p-a49005f3.entry.js → p-1d1eeeea.entry.js} +1 -1
- package/dist/siemens-ix/{p-2b7ed5d4.entry.js → p-38a598ed.entry.js} +1 -1
- package/dist/siemens-ix/p-44ab1dce.entry.js +1 -0
- package/dist/siemens-ix/{p-81e46337.entry.js → p-477681a5.entry.js} +1 -1
- package/dist/siemens-ix/{p-d2fc562a.entry.js → p-4f2fbbb5.entry.js} +1 -1
- package/dist/siemens-ix/{p-71de6498.entry.js → p-56bba5f9.entry.js} +1 -1
- package/dist/siemens-ix/p-5b4399b3.entry.js +1 -0
- package/dist/siemens-ix/p-5c038d1d.js +2 -0
- package/dist/siemens-ix/p-6d075808.entry.js +1 -0
- package/dist/siemens-ix/p-72b5c8d5.entry.js +1 -0
- package/dist/siemens-ix/p-746ebc92.entry.js +1 -0
- package/dist/siemens-ix/p-7fb73253.entry.js +1 -0
- package/dist/siemens-ix/p-87c46ff3.entry.js +1 -0
- package/dist/siemens-ix/p-8c5948e2.entry.js +1 -0
- package/dist/siemens-ix/{p-03ef9fe5.entry.js → p-8e60010d.entry.js} +1 -1
- package/dist/siemens-ix/p-9cc43bf2.entry.js +1 -0
- package/dist/siemens-ix/p-a2e33741.entry.js +1 -0
- package/dist/siemens-ix/p-a3760331.entry.js +1 -0
- package/dist/siemens-ix/p-a4ed41f9.entry.js +1 -0
- package/dist/siemens-ix/p-aa620cc7.entry.js +1 -0
- package/dist/siemens-ix/p-afefc17c.entry.js +1 -0
- package/dist/siemens-ix/{p-5a1dcc74.js → p-b12006c6.js} +0 -0
- package/dist/siemens-ix/p-b18d15c7.entry.js +1 -0
- package/dist/siemens-ix/{p-cbd0f8a7.entry.js → p-b49fbfc3.entry.js} +1 -1
- package/dist/siemens-ix/p-b7a46add.entry.js +1 -0
- package/dist/siemens-ix/p-b8849072.entry.js +1 -0
- package/dist/siemens-ix/p-c0a126c6.entry.js +1 -0
- package/dist/siemens-ix/p-c1674778.entry.js +1 -0
- package/dist/siemens-ix/p-ca8a41ea.entry.js +1 -0
- package/dist/siemens-ix/{p-77823732.entry.js → p-d1a17dd8.entry.js} +1 -1
- package/dist/siemens-ix/p-d5199425.entry.js +1 -0
- package/dist/siemens-ix/{p-fa44655a.entry.js → p-d62d2304.entry.js} +1 -1
- package/dist/siemens-ix/{p-b4003026.entry.js → p-dc8f82d5.entry.js} +1 -1
- package/dist/siemens-ix/{p-1d56d9b6.entry.js → p-e0c85889.entry.js} +1 -1
- package/dist/siemens-ix/p-e5da6672.entry.js +1 -0
- package/dist/siemens-ix/{p-4287bd7e.entry.js → p-eff31ef4.entry.js} +1 -1
- package/dist/siemens-ix/{p-bd15d8ca.entry.js → p-f34f7e30.entry.js} +1 -1
- package/dist/siemens-ix/p-fca4a226.entry.js +1 -0
- package/dist/siemens-ix/siemens-ix.css +3 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +4 -4
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +4 -3
- package/dist/types/components/map-navigation/map-navigation.d.ts +2 -0
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +4 -0
- package/dist/types/components/menu-item/menu-item.d.ts +4 -0
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/time-picker/time-picker.d.ts +1 -2
- package/dist/types/components/upload/upload.d.ts +1 -1
- package/dist/types/components.d.ts +221 -74
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/loader/package.json +1 -0
- package/package.json +4 -6
- package/scss/components/_buttons.scss +1 -0
- package/scss/components/_dropdown.scss +3 -0
- package/src/components/date-picker/readme.md +3 -3
- package/src/components/datetime-picker/readme.md +3 -3
- package/src/components/map-navigation/readme.md +2 -2
- package/src/components/menu-item/readme.md +8 -8
- package/src/components/modal/readme.md +1 -1
- package/src/components/time-picker/readme.md +2 -2
- package/src/components/upload/readme.md +13 -13
- package/dist/components/default-tree-item.js +0 -20
- package/dist/components/flip-tile-state.js +0 -18
- package/dist/components/logical-filter-operator.js +0 -33
- package/dist/components/modal-utils.js +0 -38
- package/dist/components/upload-file-state.js +0 -17
- package/dist/siemens-ix/p-02501b64.entry.js +0 -1
- package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
- package/dist/siemens-ix/p-235606b2.entry.js +0 -1
- package/dist/siemens-ix/p-301ddeb7.js +0 -1
- package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
- package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
- package/dist/siemens-ix/p-47ea9884.js +0 -1
- package/dist/siemens-ix/p-52d99490.entry.js +0 -1
- package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
- package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
- package/dist/siemens-ix/p-6726f740.entry.js +0 -1
- package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
- package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
- package/dist/siemens-ix/p-7d667916.entry.js +0 -1
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
- package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
- package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
- package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
- package/dist/siemens-ix/p-a8396077.entry.js +0 -1
- package/dist/siemens-ix/p-ab715295.entry.js +0 -1
- package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
- package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
- package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
- package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
- package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
- package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
- package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
- package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
- package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
- package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
- package/scripts/post-install/post-install.mjs +0 -111
|
@@ -6,47 +6,36 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { h, Host } from '@stencil/core';
|
|
10
10
|
import { convertToRemString } from '../utils/rwd.util';
|
|
11
11
|
import { InputState } from './input-state';
|
|
12
12
|
import { LogicalFilterOperator } from './logical-filter-operator';
|
|
13
13
|
export class CategoryFilter {
|
|
14
14
|
constructor() {
|
|
15
15
|
this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
|
|
16
|
+
this.documentClickCallback = this.handleDocumentClick.bind(this);
|
|
17
|
+
this.hasFocus = undefined;
|
|
18
|
+
this.showCategorySelection = undefined;
|
|
16
19
|
this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
|
|
20
|
+
this.inputValue = undefined;
|
|
21
|
+
this.category = undefined;
|
|
17
22
|
this.filterTokens = [];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
this.offsetDropdownX = undefined;
|
|
24
|
+
this.offsetDropdownY = undefined;
|
|
25
|
+
this.maxHeightDropdown = undefined;
|
|
26
|
+
this.maxWidthDropdown = undefined;
|
|
27
|
+
this.initialState = undefined;
|
|
28
|
+
this.filterState = undefined;
|
|
29
|
+
this.placeholder = undefined;
|
|
30
|
+
this.categories = undefined;
|
|
24
31
|
this.nonSelectableCategories = {};
|
|
25
|
-
|
|
26
|
-
* The icon next to the actual text input
|
|
27
|
-
* Defaults to 'search'
|
|
28
|
-
*/
|
|
32
|
+
this.suggestions = undefined;
|
|
29
33
|
this.icon = 'search';
|
|
30
|
-
|
|
31
|
-
* If set to true allows that a single category can be set more than once.
|
|
32
|
-
* An already set category will not appear in the category dropdown if set to false.
|
|
33
|
-
*
|
|
34
|
-
* Defaults to true
|
|
35
|
-
*/
|
|
34
|
+
this.hideIcon = undefined;
|
|
36
35
|
this.repeatCategories = true;
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated For debugging purposes only!
|
|
39
|
-
*/
|
|
40
36
|
this.tmpDisableScrollIntoView = true;
|
|
41
|
-
/**
|
|
42
|
-
* i18n
|
|
43
|
-
*/
|
|
44
37
|
this.labelCategories = 'Categories';
|
|
45
|
-
/**
|
|
46
|
-
* i18n
|
|
47
|
-
*/
|
|
48
38
|
this.i18nPlainText = 'Filter by text';
|
|
49
|
-
this.documentClickCallback = this.handleDocumentClick.bind(this);
|
|
50
39
|
}
|
|
51
40
|
watchFilterState(newValue) {
|
|
52
41
|
this.setFilterState(newValue);
|
|
@@ -333,372 +322,366 @@ export class CategoryFilter {
|
|
|
333
322
|
}
|
|
334
323
|
render() {
|
|
335
324
|
var _a, _b, _c, _d, _e, _f;
|
|
336
|
-
return (h(Host, null,
|
|
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
|
-
'd-none': this.category === undefined,
|
|
390
|
-
} },
|
|
391
|
-
h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
|
|
392
|
-
? '='
|
|
393
|
-
: '!='),
|
|
394
|
-
this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)),
|
|
395
|
-
this.categories === undefined
|
|
396
|
-
? ''
|
|
397
|
-
: (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
|
|
398
|
-
LogicalFilterOperator.EQUAL
|
|
399
|
-
? '='
|
|
400
|
-
: '!='} ${id}`)))),
|
|
401
|
-
h("div", { class: {
|
|
402
|
-
'category-item-header': true,
|
|
403
|
-
'd-none': this.category !== undefined ||
|
|
404
|
-
this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
|
|
405
|
-
} }, this.i18nPlainText),
|
|
406
|
-
h("div", { class: {
|
|
407
|
-
'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
|
|
408
|
-
} }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
|
|
325
|
+
return (h(Host, null, h("form", { ref: (el) => (this.formElement = el) }, h("div", { class: {
|
|
326
|
+
'form-control': true,
|
|
327
|
+
'input-container': true,
|
|
328
|
+
focus: this.hasFocus,
|
|
329
|
+
'no-icon': this.hideIcon,
|
|
330
|
+
} }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { class: {
|
|
331
|
+
animate__animated: true,
|
|
332
|
+
animate__fadein: true,
|
|
333
|
+
} }, h("ix-filter-chip", { onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (h("li", { class: {
|
|
334
|
+
'category-preview': true,
|
|
335
|
+
'd-none': !this.category,
|
|
336
|
+
} }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
|
|
337
|
+
'text-input': true,
|
|
338
|
+
'hide-placeholder': this.category !== undefined,
|
|
339
|
+
}, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder, onFocus: () => this.openCategorySelection() }))), h("button", { class: {
|
|
340
|
+
btn: true,
|
|
341
|
+
'btn-invisible-secondary': true,
|
|
342
|
+
'btn-oval': true,
|
|
343
|
+
'btn-close': true,
|
|
344
|
+
'd-none': !this.filterTokens.length && !this.category,
|
|
345
|
+
}, onClick: () => this.resetFilter(), tabindex: "1" }, h("span", { class: "glyph glyph-error glyph-16" })))), h("div", { class: {
|
|
346
|
+
'category-selection-container': true,
|
|
347
|
+
'd-none': !this.showCategorySelection && this.category === undefined,
|
|
348
|
+
}, style: {
|
|
349
|
+
left: this.offsetDropdownX,
|
|
350
|
+
top: this.offsetDropdownY,
|
|
351
|
+
'max-width': this.maxWidthDropdown,
|
|
352
|
+
'max-height': this.maxHeightDropdown,
|
|
353
|
+
} }, h("div", { class: {
|
|
354
|
+
'd-none': !this.showCategorySelection || this.category !== undefined,
|
|
355
|
+
} }, h("div", { class: {
|
|
356
|
+
'category-item-header': true,
|
|
357
|
+
'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
|
|
358
|
+
} }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
|
|
359
|
+
_b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
|
|
360
|
+
var _a;
|
|
361
|
+
return (h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
|
|
362
|
+
})), h("div", { class: {
|
|
363
|
+
'd-none': this.category === undefined,
|
|
364
|
+
} }, h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
|
|
365
|
+
? '='
|
|
366
|
+
: '!='), this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
|
|
367
|
+
? ''
|
|
368
|
+
: (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
|
|
369
|
+
LogicalFilterOperator.EQUAL
|
|
370
|
+
? '='
|
|
371
|
+
: '!='} ${id}`)))), h("div", { class: {
|
|
372
|
+
'category-item-header': true,
|
|
373
|
+
'd-none': this.category !== undefined ||
|
|
374
|
+
this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
|
|
375
|
+
} }, this.i18nPlainText), h("div", { class: {
|
|
376
|
+
'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
|
|
377
|
+
} }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
|
|
409
378
|
}
|
|
410
379
|
static get is() { return "ix-category-filter"; }
|
|
411
380
|
static get encapsulation() { return "scoped"; }
|
|
412
|
-
static get originalStyleUrls() {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
381
|
+
static get originalStyleUrls() {
|
|
382
|
+
return {
|
|
383
|
+
"$": ["category-filter.scss"]
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
static get styleUrls() {
|
|
387
|
+
return {
|
|
388
|
+
"$": ["category-filter.css"]
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
static get properties() {
|
|
392
|
+
return {
|
|
393
|
+
"initialState": {
|
|
394
|
+
"type": "unknown",
|
|
395
|
+
"mutable": false,
|
|
396
|
+
"complexType": {
|
|
397
|
+
"original": "FilterState",
|
|
398
|
+
"resolved": "FilterState",
|
|
399
|
+
"references": {
|
|
400
|
+
"FilterState": {
|
|
401
|
+
"location": "import",
|
|
402
|
+
"path": "./filter-state"
|
|
403
|
+
}
|
|
429
404
|
}
|
|
405
|
+
},
|
|
406
|
+
"required": false,
|
|
407
|
+
"optional": false,
|
|
408
|
+
"docs": {
|
|
409
|
+
"tags": [{
|
|
410
|
+
"name": "deprecated",
|
|
411
|
+
"text": "will get removed with next major release (7.0.0). Use the member filterState instead."
|
|
412
|
+
}],
|
|
413
|
+
"text": "When set this will initially populate the component with the provided search criteria.\nThis will trigger all input events accordingly."
|
|
430
414
|
}
|
|
431
415
|
},
|
|
432
|
-
"
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
"type": "unknown",
|
|
444
|
-
"mutable": false,
|
|
445
|
-
"complexType": {
|
|
446
|
-
"original": "FilterState",
|
|
447
|
-
"resolved": "FilterState",
|
|
448
|
-
"references": {
|
|
449
|
-
"FilterState": {
|
|
450
|
-
"location": "import",
|
|
451
|
-
"path": "./filter-state"
|
|
416
|
+
"filterState": {
|
|
417
|
+
"type": "unknown",
|
|
418
|
+
"mutable": false,
|
|
419
|
+
"complexType": {
|
|
420
|
+
"original": "FilterState",
|
|
421
|
+
"resolved": "FilterState",
|
|
422
|
+
"references": {
|
|
423
|
+
"FilterState": {
|
|
424
|
+
"location": "import",
|
|
425
|
+
"path": "./filter-state"
|
|
426
|
+
}
|
|
452
427
|
}
|
|
428
|
+
},
|
|
429
|
+
"required": false,
|
|
430
|
+
"optional": false,
|
|
431
|
+
"docs": {
|
|
432
|
+
"tags": [],
|
|
433
|
+
"text": "A set of search criteria to populate the component with."
|
|
453
434
|
}
|
|
454
435
|
},
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"optional": false,
|
|
472
|
-
"docs": {
|
|
473
|
-
"tags": [],
|
|
474
|
-
"text": "Placeholder text to be displayed in an empty input field."
|
|
475
|
-
},
|
|
476
|
-
"attribute": "placeholder",
|
|
477
|
-
"reflect": false
|
|
478
|
-
},
|
|
479
|
-
"categories": {
|
|
480
|
-
"type": "unknown",
|
|
481
|
-
"mutable": false,
|
|
482
|
-
"complexType": {
|
|
483
|
-
"original": "{\n [id: string]: {\n label: string;\n options: string[];\n };\n }",
|
|
484
|
-
"resolved": "{ [id: string]: { label: string; options: string[]; }; }",
|
|
485
|
-
"references": {}
|
|
486
|
-
},
|
|
487
|
-
"required": false,
|
|
488
|
-
"optional": false,
|
|
489
|
-
"docs": {
|
|
490
|
-
"tags": [],
|
|
491
|
-
"text": "Configuration object hash used to populate the dropwdown menu for typeahead and quick selection functionality.\nEach ID maps to an object with a label and an array of options to select from."
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
"nonSelectableCategories": {
|
|
495
|
-
"type": "unknown",
|
|
496
|
-
"mutable": false,
|
|
497
|
-
"complexType": {
|
|
498
|
-
"original": "{\n [id: string]: string;\n }",
|
|
499
|
-
"resolved": "{ [id: string]: string; }",
|
|
500
|
-
"references": {}
|
|
501
|
-
},
|
|
502
|
-
"required": false,
|
|
503
|
-
"optional": true,
|
|
504
|
-
"docs": {
|
|
505
|
-
"tags": [],
|
|
506
|
-
"text": "In certain use cases some categories are not available for selection any more.\nTo allow proper display of set filters with these categories this ID to label mapping can be populated.\nConfiguration object hash used to supply labels to the filter chips in the input field.\nEach ID maps to a string representing the label to display."
|
|
507
|
-
},
|
|
508
|
-
"defaultValue": "{}"
|
|
509
|
-
},
|
|
510
|
-
"suggestions": {
|
|
511
|
-
"type": "unknown",
|
|
512
|
-
"mutable": false,
|
|
513
|
-
"complexType": {
|
|
514
|
-
"original": "string[]",
|
|
515
|
-
"resolved": "string[]",
|
|
516
|
-
"references": {}
|
|
517
|
-
},
|
|
518
|
-
"required": false,
|
|
519
|
-
"optional": false,
|
|
520
|
-
"docs": {
|
|
521
|
-
"tags": [],
|
|
522
|
-
"text": "A list of strings that will be supplied as typeahead suggestions not tied to any categories."
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
"icon": {
|
|
526
|
-
"type": "string",
|
|
527
|
-
"mutable": false,
|
|
528
|
-
"complexType": {
|
|
529
|
-
"original": "string",
|
|
530
|
-
"resolved": "string",
|
|
531
|
-
"references": {}
|
|
532
|
-
},
|
|
533
|
-
"required": false,
|
|
534
|
-
"optional": false,
|
|
535
|
-
"docs": {
|
|
536
|
-
"tags": [],
|
|
537
|
-
"text": "The icon next to the actual text input\nDefaults to 'search'"
|
|
436
|
+
"placeholder": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"mutable": false,
|
|
439
|
+
"complexType": {
|
|
440
|
+
"original": "string",
|
|
441
|
+
"resolved": "string",
|
|
442
|
+
"references": {}
|
|
443
|
+
},
|
|
444
|
+
"required": false,
|
|
445
|
+
"optional": false,
|
|
446
|
+
"docs": {
|
|
447
|
+
"tags": [],
|
|
448
|
+
"text": "Placeholder text to be displayed in an empty input field."
|
|
449
|
+
},
|
|
450
|
+
"attribute": "placeholder",
|
|
451
|
+
"reflect": false
|
|
538
452
|
},
|
|
539
|
-
"
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
"
|
|
548
|
-
"
|
|
549
|
-
"
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
"docs": {
|
|
554
|
-
"tags": [],
|
|
555
|
-
"text": "Allows to hide the icon inside the text input.\nDefaults to false"
|
|
556
|
-
},
|
|
557
|
-
"attribute": "hide-icon",
|
|
558
|
-
"reflect": false
|
|
559
|
-
},
|
|
560
|
-
"repeatCategories": {
|
|
561
|
-
"type": "boolean",
|
|
562
|
-
"mutable": false,
|
|
563
|
-
"complexType": {
|
|
564
|
-
"original": "boolean",
|
|
565
|
-
"resolved": "boolean",
|
|
566
|
-
"references": {}
|
|
453
|
+
"categories": {
|
|
454
|
+
"type": "unknown",
|
|
455
|
+
"mutable": false,
|
|
456
|
+
"complexType": {
|
|
457
|
+
"original": "{\n [id: string]: {\n label: string;\n options: string[];\n };\n }",
|
|
458
|
+
"resolved": "{ [id: string]: { label: string; options: string[]; }; }",
|
|
459
|
+
"references": {}
|
|
460
|
+
},
|
|
461
|
+
"required": false,
|
|
462
|
+
"optional": false,
|
|
463
|
+
"docs": {
|
|
464
|
+
"tags": [],
|
|
465
|
+
"text": "Configuration object hash used to populate the dropwdown menu for typeahead and quick selection functionality.\nEach ID maps to an object with a label and an array of options to select from."
|
|
466
|
+
}
|
|
567
467
|
},
|
|
568
|
-
"
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
"
|
|
572
|
-
|
|
468
|
+
"nonSelectableCategories": {
|
|
469
|
+
"type": "unknown",
|
|
470
|
+
"mutable": false,
|
|
471
|
+
"complexType": {
|
|
472
|
+
"original": "{\n [id: string]: string;\n }",
|
|
473
|
+
"resolved": "{ [id: string]: string; }",
|
|
474
|
+
"references": {}
|
|
475
|
+
},
|
|
476
|
+
"required": false,
|
|
477
|
+
"optional": true,
|
|
478
|
+
"docs": {
|
|
479
|
+
"tags": [],
|
|
480
|
+
"text": "In certain use cases some categories are not available for selection any more.\nTo allow proper display of set filters with these categories this ID to label mapping can be populated.\nConfiguration object hash used to supply labels to the filter chips in the input field.\nEach ID maps to a string representing the label to display."
|
|
481
|
+
},
|
|
482
|
+
"defaultValue": "{}"
|
|
573
483
|
},
|
|
574
|
-
"
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
"
|
|
484
|
+
"suggestions": {
|
|
485
|
+
"type": "unknown",
|
|
486
|
+
"mutable": false,
|
|
487
|
+
"complexType": {
|
|
488
|
+
"original": "string[]",
|
|
489
|
+
"resolved": "string[]",
|
|
490
|
+
"references": {}
|
|
491
|
+
},
|
|
492
|
+
"required": false,
|
|
493
|
+
"optional": false,
|
|
494
|
+
"docs": {
|
|
495
|
+
"tags": [],
|
|
496
|
+
"text": "A list of strings that will be supplied as typeahead suggestions not tied to any categories."
|
|
497
|
+
}
|
|
585
498
|
},
|
|
586
|
-
"
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
"
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}
|
|
593
|
-
|
|
499
|
+
"icon": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"mutable": false,
|
|
502
|
+
"complexType": {
|
|
503
|
+
"original": "string",
|
|
504
|
+
"resolved": "string",
|
|
505
|
+
"references": {}
|
|
506
|
+
},
|
|
507
|
+
"required": false,
|
|
508
|
+
"optional": false,
|
|
509
|
+
"docs": {
|
|
510
|
+
"tags": [],
|
|
511
|
+
"text": "The icon next to the actual text input\nDefaults to 'search'"
|
|
512
|
+
},
|
|
513
|
+
"attribute": "icon",
|
|
514
|
+
"reflect": false,
|
|
515
|
+
"defaultValue": "'search'"
|
|
594
516
|
},
|
|
595
|
-
"
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
"
|
|
517
|
+
"hideIcon": {
|
|
518
|
+
"type": "boolean",
|
|
519
|
+
"mutable": false,
|
|
520
|
+
"complexType": {
|
|
521
|
+
"original": "boolean",
|
|
522
|
+
"resolved": "boolean",
|
|
523
|
+
"references": {}
|
|
524
|
+
},
|
|
525
|
+
"required": false,
|
|
526
|
+
"optional": false,
|
|
527
|
+
"docs": {
|
|
528
|
+
"tags": [],
|
|
529
|
+
"text": "Allows to hide the icon inside the text input.\nDefaults to false"
|
|
530
|
+
},
|
|
531
|
+
"attribute": "hide-icon",
|
|
532
|
+
"reflect": false
|
|
606
533
|
},
|
|
607
|
-
"
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
"
|
|
611
|
-
|
|
534
|
+
"repeatCategories": {
|
|
535
|
+
"type": "boolean",
|
|
536
|
+
"mutable": false,
|
|
537
|
+
"complexType": {
|
|
538
|
+
"original": "boolean",
|
|
539
|
+
"resolved": "boolean",
|
|
540
|
+
"references": {}
|
|
541
|
+
},
|
|
542
|
+
"required": false,
|
|
543
|
+
"optional": false,
|
|
544
|
+
"docs": {
|
|
545
|
+
"tags": [],
|
|
546
|
+
"text": "If set to true allows that a single category can be set more than once.\nAn already set category will not appear in the category dropdown if set to false.\n\nDefaults to true"
|
|
547
|
+
},
|
|
548
|
+
"attribute": "repeat-categories",
|
|
549
|
+
"reflect": false,
|
|
550
|
+
"defaultValue": "true"
|
|
612
551
|
},
|
|
613
|
-
"
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
"
|
|
552
|
+
"tmpDisableScrollIntoView": {
|
|
553
|
+
"type": "boolean",
|
|
554
|
+
"mutable": false,
|
|
555
|
+
"complexType": {
|
|
556
|
+
"original": "boolean",
|
|
557
|
+
"resolved": "boolean",
|
|
558
|
+
"references": {}
|
|
559
|
+
},
|
|
560
|
+
"required": false,
|
|
561
|
+
"optional": false,
|
|
562
|
+
"docs": {
|
|
563
|
+
"tags": [{
|
|
564
|
+
"name": "deprecated",
|
|
565
|
+
"text": "For debugging purposes only!"
|
|
566
|
+
}],
|
|
567
|
+
"text": ""
|
|
568
|
+
},
|
|
569
|
+
"attribute": "tmp-disable-scroll-into-view",
|
|
570
|
+
"reflect": false,
|
|
571
|
+
"defaultValue": "true"
|
|
624
572
|
},
|
|
625
|
-
"
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
"
|
|
629
|
-
|
|
573
|
+
"labelCategories": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"mutable": false,
|
|
576
|
+
"complexType": {
|
|
577
|
+
"original": "string",
|
|
578
|
+
"resolved": "string",
|
|
579
|
+
"references": {}
|
|
580
|
+
},
|
|
581
|
+
"required": false,
|
|
582
|
+
"optional": false,
|
|
583
|
+
"docs": {
|
|
584
|
+
"tags": [],
|
|
585
|
+
"text": "i18n"
|
|
586
|
+
},
|
|
587
|
+
"attribute": "label-categories",
|
|
588
|
+
"reflect": false,
|
|
589
|
+
"defaultValue": "'Categories'"
|
|
630
590
|
},
|
|
631
|
-
"
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
"
|
|
654
|
-
"
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
},
|
|
658
|
-
"
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
591
|
+
"i18nPlainText": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"mutable": false,
|
|
594
|
+
"complexType": {
|
|
595
|
+
"original": "string",
|
|
596
|
+
"resolved": "string",
|
|
597
|
+
"references": {}
|
|
598
|
+
},
|
|
599
|
+
"required": false,
|
|
600
|
+
"optional": false,
|
|
601
|
+
"docs": {
|
|
602
|
+
"tags": [],
|
|
603
|
+
"text": "i18n"
|
|
604
|
+
},
|
|
605
|
+
"attribute": "i-1-8n-plain-text",
|
|
606
|
+
"reflect": false,
|
|
607
|
+
"defaultValue": "'Filter by text'"
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
static get states() {
|
|
612
|
+
return {
|
|
613
|
+
"hasFocus": {},
|
|
614
|
+
"showCategorySelection": {},
|
|
615
|
+
"categoryLogicalOperator": {},
|
|
616
|
+
"inputValue": {},
|
|
617
|
+
"category": {},
|
|
618
|
+
"filterTokens": {},
|
|
619
|
+
"offsetDropdownX": {},
|
|
620
|
+
"offsetDropdownY": {},
|
|
621
|
+
"maxHeightDropdown": {},
|
|
622
|
+
"maxWidthDropdown": {}
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
static get events() {
|
|
626
|
+
return [{
|
|
627
|
+
"method": "inputChanged",
|
|
628
|
+
"name": "inputChanged",
|
|
629
|
+
"bubbles": true,
|
|
630
|
+
"cancelable": true,
|
|
631
|
+
"composed": true,
|
|
632
|
+
"docs": {
|
|
633
|
+
"tags": [],
|
|
634
|
+
"text": "Event dispatched whenever the text input changes."
|
|
635
|
+
},
|
|
636
|
+
"complexType": {
|
|
637
|
+
"original": "InputState",
|
|
638
|
+
"resolved": "InputState",
|
|
639
|
+
"references": {
|
|
640
|
+
"InputState": {
|
|
641
|
+
"location": "import",
|
|
642
|
+
"path": "./input-state"
|
|
643
|
+
}
|
|
665
644
|
}
|
|
666
645
|
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
646
|
+
}, {
|
|
647
|
+
"method": "filterChanged",
|
|
648
|
+
"name": "filterChanged",
|
|
649
|
+
"bubbles": true,
|
|
650
|
+
"cancelable": true,
|
|
651
|
+
"composed": true,
|
|
652
|
+
"docs": {
|
|
653
|
+
"tags": [],
|
|
654
|
+
"text": "Event dispatched whenever the filter state changes."
|
|
655
|
+
},
|
|
656
|
+
"complexType": {
|
|
657
|
+
"original": "FilterState",
|
|
658
|
+
"resolved": "FilterState",
|
|
659
|
+
"references": {
|
|
660
|
+
"FilterState": {
|
|
661
|
+
"location": "import",
|
|
662
|
+
"path": "./filter-state"
|
|
663
|
+
}
|
|
685
664
|
}
|
|
686
665
|
}
|
|
687
|
-
}
|
|
688
|
-
|
|
666
|
+
}];
|
|
667
|
+
}
|
|
689
668
|
static get elementRef() { return "hostElement"; }
|
|
690
|
-
static get watchers() {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
669
|
+
static get watchers() {
|
|
670
|
+
return [{
|
|
671
|
+
"propName": "filterState",
|
|
672
|
+
"methodName": "watchFilterState"
|
|
673
|
+
}, {
|
|
674
|
+
"propName": "showCategorySelection",
|
|
675
|
+
"methodName": "watchShowCategorySelection"
|
|
676
|
+
}];
|
|
677
|
+
}
|
|
678
|
+
static get listeners() {
|
|
679
|
+
return [{
|
|
680
|
+
"name": "resize",
|
|
681
|
+
"method": "setDropdownOffset",
|
|
682
|
+
"target": "window",
|
|
683
|
+
"capture": false,
|
|
684
|
+
"passive": true
|
|
685
|
+
}];
|
|
686
|
+
}
|
|
704
687
|
}
|