@agorapulse/ui-components 18.1.13 → 18.2.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/action-dropdown/index.d.ts +105 -3
- package/add-comment/index.d.ts +24 -5
- package/agorapulse-ui-components-18.2.0.tgz +0 -0
- package/autocomplete/index.d.ts +43 -5
- package/avatar/index.d.ts +64 -5
- package/badge/index.d.ts +11 -5
- package/button/index.d.ts +54 -5
- package/checkbox/index.d.ts +54 -5
- package/close-button/index.d.ts +14 -5
- package/confirm-modal/index.d.ts +32 -5
- package/counter/index.d.ts +17 -5
- package/datepicker/index.d.ts +99 -5
- package/directives/index.d.ts +149 -3
- package/dot-stepper/index.d.ts +23 -5
- package/fesm2022/agorapulse-ui-components-action-dropdown.mjs +22 -32
- package/fesm2022/agorapulse-ui-components-action-dropdown.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-add-comment.mjs +5 -5
- package/fesm2022/agorapulse-ui-components-add-comment.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-autocomplete.mjs +8 -8
- package/fesm2022/agorapulse-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-avatar.mjs +24 -24
- package/fesm2022/agorapulse-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-badge.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-badge.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-button.mjs +6 -6
- package/fesm2022/agorapulse-ui-components-button.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-checkbox.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-close-button.mjs +7 -7
- package/fesm2022/agorapulse-ui-components-close-button.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-confirm-modal.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-confirm-modal.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-counter.mjs +9 -9
- package/fesm2022/agorapulse-ui-components-counter.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-datepicker.mjs +6 -6
- package/fesm2022/agorapulse-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-directives.mjs +26 -28
- package/fesm2022/agorapulse-ui-components-directives.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-dot-stepper.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-dot-stepper.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-form-field.mjs +3 -3
- package/fesm2022/agorapulse-ui-components-form-field.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-form-message.mjs +6 -6
- package/fesm2022/agorapulse-ui-components-form-message.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-icon-button.mjs +5 -5
- package/fesm2022/agorapulse-ui-components-icon-button.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-infobox.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-infobox.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-input-group.mjs +6 -6
- package/fesm2022/agorapulse-ui-components-input-group.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-input-search.mjs +13 -10
- package/fesm2022/agorapulse-ui-components-input-search.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-input.mjs +3 -3
- package/fesm2022/agorapulse-ui-components-labels-selector.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-labels-selector.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-labels.mjs +8 -8
- package/fesm2022/agorapulse-ui-components-labels.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-legacy-input.mjs +5 -5
- package/fesm2022/agorapulse-ui-components-legacy-input.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-legacy-select.mjs +17 -17
- package/fesm2022/agorapulse-ui-components-legacy-select.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-legacy-textarea.mjs +5 -5
- package/fesm2022/agorapulse-ui-components-legacy-textarea.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-media-display-overlay.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-media-display-overlay.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-modal.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-modal.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-nav-selector-testing.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +164 -159
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-neo-datepicker.mjs +8 -8
- package/fesm2022/agorapulse-ui-components-neo-datepicker.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-notification.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-notification.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-paginator.mjs +7 -7
- package/fesm2022/agorapulse-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-password-input.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-password-input.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-phone-number-input.mjs +16 -16
- package/fesm2022/agorapulse-ui-components-phone-number-input.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-popmenu.mjs +11 -11
- package/fesm2022/agorapulse-ui-components-popmenu.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-providers.mjs +19 -0
- package/fesm2022/agorapulse-ui-components-providers.mjs.map +1 -0
- package/fesm2022/agorapulse-ui-components-radio.mjs +6 -6
- package/fesm2022/agorapulse-ui-components-radio.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-range-slider.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-range-slider.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-select.mjs +65 -65
- package/fesm2022/agorapulse-ui-components-select.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-slide-toggle.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-slide-toggle.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-snackbars-thread.mjs +8 -8
- package/fesm2022/agorapulse-ui-components-snackbars-thread.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-social-button.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-social-button.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-split-button.mjs +5 -5
- package/fesm2022/agorapulse-ui-components-split-button.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-status-card.mjs +3 -3
- package/fesm2022/agorapulse-ui-components-status-card.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-status.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-status.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-stepper.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-tag.mjs +9 -9
- package/fesm2022/agorapulse-ui-components-tag.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-text-measurement.mjs +3 -3
- package/fesm2022/agorapulse-ui-components-textarea.mjs +3 -3
- package/fesm2022/agorapulse-ui-components-toggle.mjs +4 -4
- package/fesm2022/agorapulse-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-tooltip.mjs +15 -15
- package/fesm2022/agorapulse-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components.mjs +4 -4
- package/fesm2022/agorapulse-ui-components.mjs.map +1 -1
- package/form-field/index.d.ts +8 -5
- package/form-message/index.d.ts +16 -5
- package/icon-button/index.d.ts +44 -5
- package/index.d.ts +50 -25
- package/infobox/index.d.ts +29 -5
- package/input/index.d.ts +10 -5
- package/input-group/index.d.ts +14 -5
- package/input-search/index.d.ts +35 -5
- package/labels/index.d.ts +59 -5
- package/labels-selector/index.d.ts +46 -5
- package/legacy/input/index.d.ts +64 -3
- package/legacy/select/index.d.ts +124 -3
- package/legacy/textarea/index.d.ts +54 -3
- package/media-display-overlay/index.d.ts +46 -5
- package/modal/index.d.ts +58 -5
- package/nav-selector/index.d.ts +372 -3
- package/nav-selector/testing/index.d.ts +67 -3
- package/neo-datepicker/index.d.ts +74 -5
- package/notification/index.d.ts +9 -5
- package/package.json +14 -112
- package/paginator/index.d.ts +57 -5
- package/password-input/index.d.ts +36 -5
- package/phone-number-input/index.d.ts +54 -5
- package/popmenu/index.d.ts +212 -3
- package/providers/index.d.ts +11 -0
- package/radio/index.d.ts +80 -5
- package/range-slider/index.d.ts +39 -5
- package/select/index.d.ts +214 -5
- package/slide-toggle/index.d.ts +23 -5
- package/snackbars-thread/index.d.ts +73 -3
- package/social-button/index.d.ts +34 -5
- package/split-button/index.d.ts +47 -5
- package/status/index.d.ts +13 -5
- package/status-card/index.d.ts +17 -5
- package/stepper/index.d.ts +26 -5
- package/tag/index.d.ts +28 -5
- package/text-measurement/index.d.ts +11 -5
- package/textarea/index.d.ts +14 -5
- package/toggle/index.d.ts +55 -5
- package/tooltip/index.d.ts +62 -5
- package/action-dropdown/action-dropdown-trigger.directive.d.ts +0 -17
- package/action-dropdown/action-dropdown.component.d.ts +0 -87
- package/action-dropdown/providers.d.ts +0 -8
- package/action-dropdown/public_api.d.ts +0 -3
- package/add-comment/add-comment.component.d.ts +0 -21
- package/add-comment/public_api.d.ts +0 -1
- package/agorapulse-ui-components-18.1.13.tgz +0 -0
- package/autocomplete/autocomplete.component.d.ts +0 -40
- package/autocomplete/public_api.d.ts +0 -1
- package/avatar/avatar.component.d.ts +0 -61
- package/avatar/public_api.d.ts +0 -1
- package/badge/badge.component.d.ts +0 -7
- package/badge/public_api.d.ts +0 -1
- package/button/button.component.d.ts +0 -52
- package/button/public_api.d.ts +0 -1
- package/checkbox/checkbox.component.d.ts +0 -51
- package/checkbox/public_api.d.ts +0 -1
- package/close-button/close-button.component.d.ts +0 -11
- package/close-button/public_api.d.ts +0 -1
- package/confirm-modal/confirm-modal-texts.model.d.ts +0 -8
- package/confirm-modal/confirm-modal.component.d.ts +0 -20
- package/confirm-modal/public_api.d.ts +0 -2
- package/counter/counter.component.d.ts +0 -13
- package/counter/public_api.d.ts +0 -1
- package/datepicker/datepicker.component.d.ts +0 -100
- package/datepicker/public_api.d.ts +0 -1
- package/directives/autosize-textarea.directive.d.ts +0 -12
- package/directives/base-button.directive.d.ts +0 -13
- package/directives/checkbox.directive.d.ts +0 -32
- package/directives/default-image.directive.d.ts +0 -8
- package/directives/ellipsis.directive.d.ts +0 -29
- package/directives/equal-validator.directive.d.ts +0 -13
- package/directives/frozen-gif.directive.d.ts +0 -30
- package/directives/multi-style-text.directive.d.ts +0 -16
- package/directives/public_api.d.ts +0 -8
- package/dot-stepper/dot-stepper.component.d.ts +0 -20
- package/dot-stepper/public_api.d.ts +0 -1
- package/esm2022/action-dropdown/action-dropdown-trigger.directive.mjs +0 -54
- package/esm2022/action-dropdown/action-dropdown.component.mjs +0 -272
- package/esm2022/action-dropdown/agorapulse-ui-components-action-dropdown.mjs +0 -5
- package/esm2022/action-dropdown/providers.mjs +0 -12
- package/esm2022/action-dropdown/public_api.mjs +0 -4
- package/esm2022/add-comment/add-comment.component.mjs +0 -72
- package/esm2022/add-comment/agorapulse-ui-components-add-comment.mjs +0 -5
- package/esm2022/add-comment/public_api.mjs +0 -2
- package/esm2022/agorapulse-ui-components.mjs +0 -5
- package/esm2022/autocomplete/agorapulse-ui-components-autocomplete.mjs +0 -5
- package/esm2022/autocomplete/autocomplete.component.mjs +0 -125
- package/esm2022/autocomplete/public_api.mjs +0 -2
- package/esm2022/avatar/agorapulse-ui-components-avatar.mjs +0 -5
- package/esm2022/avatar/avatar.component.mjs +0 -161
- package/esm2022/avatar/public_api.mjs +0 -2
- package/esm2022/badge/agorapulse-ui-components-badge.mjs +0 -5
- package/esm2022/badge/badge.component.mjs +0 -17
- package/esm2022/badge/public_api.mjs +0 -2
- package/esm2022/button/agorapulse-ui-components-button.mjs +0 -5
- package/esm2022/button/button.component.mjs +0 -105
- package/esm2022/button/public_api.mjs +0 -2
- package/esm2022/checkbox/agorapulse-ui-components-checkbox.mjs +0 -5
- package/esm2022/checkbox/checkbox.component.mjs +0 -177
- package/esm2022/checkbox/public_api.mjs +0 -2
- package/esm2022/close-button/agorapulse-ui-components-close-button.mjs +0 -5
- package/esm2022/close-button/close-button.component.mjs +0 -20
- package/esm2022/close-button/public_api.mjs +0 -2
- package/esm2022/confirm-modal/agorapulse-ui-components-confirm-modal.mjs +0 -5
- package/esm2022/confirm-modal/confirm-modal-texts.model.mjs +0 -2
- package/esm2022/confirm-modal/confirm-modal.component.mjs +0 -61
- package/esm2022/confirm-modal/public_api.mjs +0 -3
- package/esm2022/counter/agorapulse-ui-components-counter.mjs +0 -5
- package/esm2022/counter/counter.component.mjs +0 -32
- package/esm2022/counter/public_api.mjs +0 -2
- package/esm2022/datepicker/agorapulse-ui-components-datepicker.mjs +0 -5
- package/esm2022/datepicker/datepicker.component.mjs +0 -288
- package/esm2022/datepicker/public_api.mjs +0 -2
- package/esm2022/directives/agorapulse-ui-components-directives.mjs +0 -5
- package/esm2022/directives/autosize-textarea.directive.mjs +0 -45
- package/esm2022/directives/base-button.directive.mjs +0 -47
- package/esm2022/directives/checkbox.directive.mjs +0 -283
- package/esm2022/directives/default-image.directive.mjs +0 -37
- package/esm2022/directives/ellipsis.directive.mjs +0 -90
- package/esm2022/directives/equal-validator.directive.mjs +0 -73
- package/esm2022/directives/frozen-gif.directive.mjs +0 -125
- package/esm2022/directives/multi-style-text.directive.mjs +0 -61
- package/esm2022/directives/public_api.mjs +0 -9
- package/esm2022/dot-stepper/agorapulse-ui-components-dot-stepper.mjs +0 -5
- package/esm2022/dot-stepper/dot-stepper.component.mjs +0 -46
- package/esm2022/dot-stepper/public_api.mjs +0 -2
- package/esm2022/form-field/agorapulse-ui-components-form-field.mjs +0 -5
- package/esm2022/form-field/form-field.component.mjs +0 -11
- package/esm2022/form-field/public_api.mjs +0 -2
- package/esm2022/form-message/agorapulse-ui-components-form-message.mjs +0 -5
- package/esm2022/form-message/form-message.component.mjs +0 -34
- package/esm2022/form-message/public_api.mjs +0 -2
- package/esm2022/icon-button/agorapulse-ui-components-icon-button.mjs +0 -5
- package/esm2022/icon-button/icon-button.component.mjs +0 -123
- package/esm2022/icon-button/public_api.mjs +0 -2
- package/esm2022/index.mjs +0 -49
- package/esm2022/infobox/agorapulse-ui-components-infobox.mjs +0 -5
- package/esm2022/infobox/infobox.component.mjs +0 -72
- package/esm2022/infobox/public_api.mjs +0 -2
- package/esm2022/input/agorapulse-ui-components-input.mjs +0 -5
- package/esm2022/input/input.directive.mjs +0 -19
- package/esm2022/input/public_api.mjs +0 -2
- package/esm2022/input-group/agorapulse-ui-components-input-group.mjs +0 -5
- package/esm2022/input-group/input-group.component.mjs +0 -14
- package/esm2022/input-group/input-prefix/input-prefix.component.mjs +0 -11
- package/esm2022/input-group/public_api.mjs +0 -3
- package/esm2022/input-search/agorapulse-ui-components-input-search.mjs +0 -5
- package/esm2022/input-search/input-search.component.mjs +0 -78
- package/esm2022/input-search/public_api.mjs +0 -2
- package/esm2022/labels/agorapulse-ui-components-labels.mjs +0 -5
- package/esm2022/labels/label-list.component.mjs +0 -108
- package/esm2022/labels/label.component.mjs +0 -56
- package/esm2022/labels/public_api.mjs +0 -3
- package/esm2022/labels-selector/agorapulse-ui-components-labels-selector.mjs +0 -5
- package/esm2022/labels-selector/labels-selector.component.mjs +0 -122
- package/esm2022/labels-selector/public_api.mjs +0 -2
- package/esm2022/legacy/input/agorapulse-ui-components-legacy-input.mjs +0 -5
- package/esm2022/legacy/input/input.component.mjs +0 -189
- package/esm2022/legacy/input/public_api.mjs +0 -2
- package/esm2022/legacy/select/agorapulse-ui-components-legacy-select.mjs +0 -5
- package/esm2022/legacy/select/public_api.mjs +0 -2
- package/esm2022/legacy/select/select.component.mjs +0 -451
- package/esm2022/legacy/textarea/agorapulse-ui-components-legacy-textarea.mjs +0 -5
- package/esm2022/legacy/textarea/public_api.mjs +0 -2
- package/esm2022/legacy/textarea/textarea.component.mjs +0 -154
- package/esm2022/media-display-overlay/agorapulse-ui-components-media-display-overlay.mjs +0 -5
- package/esm2022/media-display-overlay/media-display-overlay-dialog.component.mjs +0 -122
- package/esm2022/media-display-overlay/public_api.mjs +0 -2
- package/esm2022/modal/agorapulse-ui-components-modal.mjs +0 -5
- package/esm2022/modal/modal.component.mjs +0 -116
- package/esm2022/modal/public_api.mjs +0 -2
- package/esm2022/nav-selector/agorapulse-ui-components-nav-selector.mjs +0 -5
- package/esm2022/nav-selector/directives/nav-selector-popover-trigger.directive.mjs +0 -71
- package/esm2022/nav-selector/directives/tree-node-accessibility.directive.mjs +0 -30
- package/esm2022/nav-selector/nav-selector-category/nav-selector-category.component.mjs +0 -129
- package/esm2022/nav-selector/nav-selector-category/nav-selector-category.presenter.mjs +0 -28
- package/esm2022/nav-selector/nav-selector-group/nav-selector-group.component.mjs +0 -174
- package/esm2022/nav-selector/nav-selector-group/nav-selector-group.presenter.mjs +0 -30
- package/esm2022/nav-selector/nav-selector-leaf/nav-selector-leaf.component.mjs +0 -242
- package/esm2022/nav-selector/nav-selector-leaf/nav-selector-leaf.presenter.mjs +0 -36
- package/esm2022/nav-selector/nav-selector-leaf-detail/nav-selector-leaf-detail.component.mjs +0 -43
- package/esm2022/nav-selector/nav-selector-leaf-detail/nav-selector-leaf-detail.presenter.mjs +0 -20
- package/esm2022/nav-selector/nav-selector-leaf-details/nav-selector-leaf-details.component.mjs +0 -95
- package/esm2022/nav-selector/nav-selector-leaf-details/nav-selector-leaf-details.presenter.mjs +0 -31
- package/esm2022/nav-selector/nav-selector-popover/nav-selector-popover-item.component.mjs +0 -65
- package/esm2022/nav-selector/nav-selector-popover/nav-selector-popover.component.mjs +0 -132
- package/esm2022/nav-selector/nav-selector.component.mjs +0 -201
- package/esm2022/nav-selector/nav-selector.mjs +0 -9
- package/esm2022/nav-selector/nav-selector.state.mjs +0 -207
- package/esm2022/nav-selector/public_api.mjs +0 -3
- package/esm2022/nav-selector/testing/agorapulse-ui-components-nav-selector-testing.mjs +0 -5
- package/esm2022/nav-selector/testing/nav-selector-entry.mock.mjs +0 -91
- package/esm2022/nav-selector/testing/public_api.mjs +0 -2
- package/esm2022/nav-selector/utils/leaf.utils.mjs +0 -44
- package/esm2022/nav-selector/utils/nav-selector.accessibility.mjs +0 -179
- package/esm2022/nav-selector/utils/nav-selector.builder.mjs +0 -271
- package/esm2022/nav-selector/utils/nav-selector.filter.mjs +0 -141
- package/esm2022/nav-selector/utils/nav-selector.folding.mjs +0 -284
- package/esm2022/nav-selector/utils/nav-selector.merger.mjs +0 -76
- package/esm2022/nav-selector/utils/nav-selector.minifying.mjs +0 -59
- package/esm2022/nav-selector/utils/nav-selector.multi-select.mjs +0 -208
- package/esm2022/nav-selector/utils/nav-selector.single-select.mjs +0 -113
- package/esm2022/nav-selector/utils/nav-selector.view-more.mjs +0 -98
- package/esm2022/neo-datepicker/agorapulse-ui-components-neo-datepicker.mjs +0 -5
- package/esm2022/neo-datepicker/day-detail.model.mjs +0 -2
- package/esm2022/neo-datepicker/day-disabled.pipe.mjs +0 -21
- package/esm2022/neo-datepicker/neo-datepicker.component.mjs +0 -241
- package/esm2022/neo-datepicker/public_api.mjs +0 -4
- package/esm2022/notification/agorapulse-ui-components-notification.mjs +0 -5
- package/esm2022/notification/notification.component.mjs +0 -15
- package/esm2022/notification/public_api.mjs +0 -2
- package/esm2022/paginator/agorapulse-ui-components-paginator.mjs +0 -5
- package/esm2022/paginator/paginator-button/paginator-button.component.mjs +0 -51
- package/esm2022/paginator/paginator.component.mjs +0 -114
- package/esm2022/paginator/public_api.mjs +0 -3
- package/esm2022/password-input/agorapulse-ui-components-password-input.mjs +0 -5
- package/esm2022/password-input/password-input.component.mjs +0 -78
- package/esm2022/password-input/public_api.mjs +0 -2
- package/esm2022/phone-number-input/agorapulse-ui-components-phone-number-input.mjs +0 -5
- package/esm2022/phone-number-input/phone-number-input.component.mjs +0 -195
- package/esm2022/phone-number-input/public_api.mjs +0 -2
- package/esm2022/popmenu/agorapulse-ui-components-popmenu.mjs +0 -5
- package/esm2022/popmenu/options.mjs +0 -17
- package/esm2022/popmenu/popmenu-options.interface.mjs +0 -2
- package/esm2022/popmenu/popmenu-options.service.mjs +0 -7
- package/esm2022/popmenu/popmenu.component.mjs +0 -383
- package/esm2022/popmenu/popmenu.directive.mjs +0 -296
- package/esm2022/popmenu/popmenu.module.mjs +0 -29
- package/esm2022/popmenu/public_api.mjs +0 -5
- package/esm2022/radio/agorapulse-ui-components-radio.mjs +0 -5
- package/esm2022/radio/public_api.mjs +0 -2
- package/esm2022/radio/radio.component.mjs +0 -319
- package/esm2022/range-slider/agorapulse-ui-components-range-slider.mjs +0 -5
- package/esm2022/range-slider/public_api.mjs +0 -2
- package/esm2022/range-slider/range-slider.component.mjs +0 -154
- package/esm2022/select/agorapulse-ui-components-select.mjs +0 -5
- package/esm2022/select/ap-select.module.mjs +0 -78
- package/esm2022/select/dropdown-group-item/dropdown-group-item.component.mjs +0 -51
- package/esm2022/select/dropdown-item-multiple-one-line/dropdown-item-multiple-one-line.component.mjs +0 -75
- package/esm2022/select/dropdown-item-multiple-two-lines/dropdown-item-multiple-two-lines.component.mjs +0 -79
- package/esm2022/select/dropdown-item-single-one-line/dropdown-item-single-one-line.component.mjs +0 -59
- package/esm2022/select/dropdown-item-single-two-lines/dropdown-item-single-two-lines.component.mjs +0 -60
- package/esm2022/select/dropdown-search-form/dropdown-search-form.component.mjs +0 -98
- package/esm2022/select/public_api.mjs +0 -13
- package/esm2022/select/select-base.directive.mjs +0 -69
- package/esm2022/select/select-label-multiple/select-label-multiple.component.mjs +0 -95
- package/esm2022/select/select-label-single/select-label-single.component.mjs +0 -33
- package/esm2022/select/select-multiple.directive.mjs +0 -35
- package/esm2022/select/select-single.directive.mjs +0 -34
- package/esm2022/slide-toggle/agorapulse-ui-components-slide-toggle.mjs +0 -5
- package/esm2022/slide-toggle/public_api.mjs +0 -2
- package/esm2022/slide-toggle/slide-toggle.component.mjs +0 -66
- package/esm2022/snackbars-thread/agorapulse-ui-components-snackbars-thread.mjs +0 -5
- package/esm2022/snackbars-thread/component/snackbars-thread.component.mjs +0 -93
- package/esm2022/snackbars-thread/model/snackbars-thread.model.mjs +0 -44
- package/esm2022/snackbars-thread/public_api.mjs +0 -4
- package/esm2022/snackbars-thread/service/snackbars-thread.service.mjs +0 -47
- package/esm2022/snackbars-thread/utils/const/snackbars-thread.const.mjs +0 -13
- package/esm2022/social-button/agorapulse-ui-components-social-button.mjs +0 -5
- package/esm2022/social-button/public_api.mjs +0 -2
- package/esm2022/social-button/social-button.component.mjs +0 -164
- package/esm2022/split-button/agorapulse-ui-components-split-button.mjs +0 -5
- package/esm2022/split-button/public_api.mjs +0 -2
- package/esm2022/split-button/split-button.component.mjs +0 -122
- package/esm2022/src/lib/agorapulse-ui-components.module.mjs +0 -200
- package/esm2022/status/agorapulse-ui-components-status.mjs +0 -5
- package/esm2022/status/public_api.mjs +0 -2
- package/esm2022/status/status.component.mjs +0 -21
- package/esm2022/status-card/agorapulse-ui-components-status-card.mjs +0 -5
- package/esm2022/status-card/public_api.mjs +0 -2
- package/esm2022/status-card/status-card.component.mjs +0 -23
- package/esm2022/stepper/agorapulse-ui-components-stepper.mjs +0 -5
- package/esm2022/stepper/public_api.mjs +0 -3
- package/esm2022/stepper/step.model.mjs +0 -2
- package/esm2022/stepper/stepper.component.mjs +0 -38
- package/esm2022/tag/agorapulse-ui-components-tag.mjs +0 -5
- package/esm2022/tag/public_api.mjs +0 -2
- package/esm2022/tag/tag.component.mjs +0 -35
- package/esm2022/text-measurement/agorapulse-ui-components-text-measurement.mjs +0 -5
- package/esm2022/text-measurement/public_api.mjs +0 -2
- package/esm2022/text-measurement/text-measurement.service.mjs +0 -29
- package/esm2022/textarea/agorapulse-ui-components-textarea.mjs +0 -5
- package/esm2022/textarea/public_api.mjs +0 -2
- package/esm2022/textarea/textarea.directive.mjs +0 -37
- package/esm2022/toggle/agorapulse-ui-components-toggle.mjs +0 -5
- package/esm2022/toggle/public_api.mjs +0 -2
- package/esm2022/toggle/toggle.component.mjs +0 -208
- package/esm2022/tooltip/agorapulse-ui-components-tooltip.mjs +0 -5
- package/esm2022/tooltip/public_api.mjs +0 -2
- package/esm2022/tooltip/tooltip.directive.mjs +0 -401
- package/esm2022/tooltip/tooltip.service.mjs +0 -29
- package/form-field/form-field.component.d.ts +0 -5
- package/form-field/public_api.d.ts +0 -1
- package/form-message/form-message.component.d.ts +0 -12
- package/form-message/public_api.d.ts +0 -1
- package/icon-button/icon-button.component.d.ts +0 -40
- package/icon-button/public_api.d.ts +0 -1
- package/infobox/infobox.component.d.ts +0 -26
- package/infobox/public_api.d.ts +0 -1
- package/input/input.directive.d.ts +0 -7
- package/input/public_api.d.ts +0 -1
- package/input-group/input-group.component.d.ts +0 -6
- package/input-group/input-prefix/input-prefix.component.d.ts +0 -5
- package/input-group/public_api.d.ts +0 -2
- package/input-search/input-search.component.d.ts +0 -32
- package/input-search/public_api.d.ts +0 -1
- package/labels/label-list.component.d.ts +0 -34
- package/labels/label.component.d.ts +0 -23
- package/labels/public_api.d.ts +0 -2
- package/labels-selector/labels-selector.component.d.ts +0 -42
- package/labels-selector/public_api.d.ts +0 -1
- package/legacy/input/input.component.d.ts +0 -64
- package/legacy/input/public_api.d.ts +0 -1
- package/legacy/select/public_api.d.ts +0 -1
- package/legacy/select/select.component.d.ts +0 -122
- package/legacy/textarea/public_api.d.ts +0 -1
- package/legacy/textarea/textarea.component.d.ts +0 -53
- package/media-display-overlay/media-display-overlay-dialog.component.d.ts +0 -42
- package/media-display-overlay/public_api.d.ts +0 -1
- package/modal/modal.component.d.ts +0 -54
- package/modal/public_api.d.ts +0 -1
- package/nav-selector/directives/nav-selector-popover-trigger.directive.d.ts +0 -25
- package/nav-selector/directives/tree-node-accessibility.directive.d.ts +0 -9
- package/nav-selector/nav-selector-category/nav-selector-category.component.d.ts +0 -28
- package/nav-selector/nav-selector-category/nav-selector-category.presenter.d.ts +0 -13
- package/nav-selector/nav-selector-group/nav-selector-group.component.d.ts +0 -37
- package/nav-selector/nav-selector-group/nav-selector-group.presenter.d.ts +0 -16
- package/nav-selector/nav-selector-leaf/nav-selector-leaf.component.d.ts +0 -48
- package/nav-selector/nav-selector-leaf/nav-selector-leaf.presenter.d.ts +0 -18
- package/nav-selector/nav-selector-leaf-detail/nav-selector-leaf-detail.component.d.ts +0 -13
- package/nav-selector/nav-selector-leaf-detail/nav-selector-leaf-detail.presenter.d.ts +0 -10
- package/nav-selector/nav-selector-leaf-details/nav-selector-leaf-details.component.d.ts +0 -24
- package/nav-selector/nav-selector-leaf-details/nav-selector-leaf-details.presenter.d.ts +0 -14
- package/nav-selector/nav-selector-popover/nav-selector-popover-item.component.d.ts +0 -14
- package/nav-selector/nav-selector-popover/nav-selector-popover.component.d.ts +0 -40
- package/nav-selector/nav-selector.component.d.ts +0 -40
- package/nav-selector/nav-selector.d.ts +0 -270
- package/nav-selector/nav-selector.state.d.ts +0 -47
- package/nav-selector/public_api.d.ts +0 -3
- package/nav-selector/testing/nav-selector-entry.mock.d.ts +0 -67
- package/nav-selector/testing/public_api.d.ts +0 -1
- package/nav-selector/utils/leaf.utils.d.ts +0 -20
- package/nav-selector/utils/nav-selector.accessibility.d.ts +0 -52
- package/nav-selector/utils/nav-selector.builder.d.ts +0 -32
- package/nav-selector/utils/nav-selector.filter.d.ts +0 -32
- package/nav-selector/utils/nav-selector.folding.d.ts +0 -73
- package/nav-selector/utils/nav-selector.merger.d.ts +0 -23
- package/nav-selector/utils/nav-selector.minifying.d.ts +0 -29
- package/nav-selector/utils/nav-selector.multi-select.d.ts +0 -54
- package/nav-selector/utils/nav-selector.single-select.d.ts +0 -17
- package/nav-selector/utils/nav-selector.view-more.d.ts +0 -30
- package/neo-datepicker/day-detail.model.d.ts +0 -9
- package/neo-datepicker/day-disabled.pipe.d.ts +0 -8
- package/neo-datepicker/neo-datepicker.component.d.ts +0 -61
- package/neo-datepicker/public_api.d.ts +0 -3
- package/notification/notification.component.d.ts +0 -6
- package/notification/public_api.d.ts +0 -1
- package/paginator/paginator-button/paginator-button.component.d.ts +0 -17
- package/paginator/paginator.component.d.ts +0 -38
- package/paginator/public_api.d.ts +0 -2
- package/password-input/password-input.component.d.ts +0 -33
- package/password-input/public_api.d.ts +0 -1
- package/phone-number-input/phone-number-input.component.d.ts +0 -50
- package/phone-number-input/public_api.d.ts +0 -1
- package/popmenu/options.d.ts +0 -16
- package/popmenu/popmenu-options.interface.d.ts +0 -48
- package/popmenu/popmenu-options.service.d.ts +0 -7
- package/popmenu/popmenu.component.d.ts +0 -66
- package/popmenu/popmenu.directive.d.ts +0 -90
- package/popmenu/popmenu.module.d.ts +0 -11
- package/popmenu/public_api.d.ts +0 -4
- package/radio/public_api.d.ts +0 -1
- package/radio/radio.component.d.ts +0 -77
- package/range-slider/public_api.d.ts +0 -1
- package/range-slider/range-slider.component.d.ts +0 -35
- package/select/ap-select.module.d.ts +0 -17
- package/select/dropdown-group-item/dropdown-group-item.component.d.ts +0 -16
- package/select/dropdown-item-multiple-one-line/dropdown-item-multiple-one-line.component.d.ts +0 -25
- package/select/dropdown-item-multiple-two-lines/dropdown-item-multiple-two-lines.component.d.ts +0 -26
- package/select/dropdown-item-single-one-line/dropdown-item-single-one-line.component.d.ts +0 -20
- package/select/dropdown-item-single-two-lines/dropdown-item-single-two-lines.component.d.ts +0 -20
- package/select/dropdown-search-form/dropdown-search-form.component.d.ts +0 -32
- package/select/public_api.d.ts +0 -12
- package/select/select-base.directive.d.ts +0 -18
- package/select/select-label-multiple/select-label-multiple.component.d.ts +0 -27
- package/select/select-label-single/select-label-single.component.d.ts +0 -12
- package/select/select-multiple.directive.d.ts +0 -10
- package/select/select-single.directive.d.ts +0 -10
- package/slide-toggle/public_api.d.ts +0 -1
- package/slide-toggle/slide-toggle.component.d.ts +0 -20
- package/snackbars-thread/component/snackbars-thread.component.d.ts +0 -24
- package/snackbars-thread/model/snackbars-thread.model.d.ts +0 -36
- package/snackbars-thread/public_api.d.ts +0 -3
- package/snackbars-thread/service/snackbars-thread.service.d.ts +0 -15
- package/snackbars-thread/utils/const/snackbars-thread.const.d.ts +0 -10
- package/social-button/public_api.d.ts +0 -1
- package/social-button/social-button.component.d.ts +0 -32
- package/split-button/public_api.d.ts +0 -1
- package/split-button/split-button.component.d.ts +0 -45
- package/src/lib/agorapulse-ui-components.module.d.ts +0 -29
- package/status/public_api.d.ts +0 -1
- package/status/status.component.d.ts +0 -9
- package/status-card/public_api.d.ts +0 -1
- package/status-card/status-card.component.d.ts +0 -13
- package/stepper/public_api.d.ts +0 -2
- package/stepper/step.model.d.ts +0 -6
- package/stepper/stepper.component.d.ts +0 -16
- package/tag/public_api.d.ts +0 -1
- package/tag/tag.component.d.ts +0 -24
- package/text-measurement/public_api.d.ts +0 -1
- package/text-measurement/text-measurement.service.d.ts +0 -8
- package/textarea/public_api.d.ts +0 -1
- package/textarea/textarea.directive.d.ts +0 -11
- package/toggle/public_api.d.ts +0 -1
- package/toggle/toggle.component.d.ts +0 -52
- package/tooltip/public_api.d.ts +0 -1
- package/tooltip/tooltip.directive.d.ts +0 -59
- package/tooltip/tooltip.service.d.ts +0 -11
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { InternalNavSelectorGroup, NavSelectorLeafActionClickedEvent } from '../nav-selector';
|
|
3
|
-
import { NavSelectorGroupPresenter } from './nav-selector-group.presenter';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavSelectorGroupComponent {
|
|
6
|
-
private el;
|
|
7
|
-
navSelectorGroupPresenter: NavSelectorGroupPresenter;
|
|
8
|
-
group: import("@angular/core").InputSignal<InternalNavSelectorGroup>;
|
|
9
|
-
actionClicked: import("@angular/core").OutputEmitterRef<NavSelectorLeafActionClickedEvent>;
|
|
10
|
-
foldSymbol: import("@angular/core").Signal<"chevron-down" | "chevron-up">;
|
|
11
|
-
aliasEl: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
12
|
-
aliasBoundedClientRect: import("@angular/core").WritableSignal<{
|
|
13
|
-
offsetWidth: number;
|
|
14
|
-
offsetHeight: number;
|
|
15
|
-
scrollWidth: number;
|
|
16
|
-
scrollHeight: number;
|
|
17
|
-
}>;
|
|
18
|
-
tooltipContent: import("@angular/core").Signal<string>;
|
|
19
|
-
tooltipDisabled: import("@angular/core").Signal<boolean>;
|
|
20
|
-
foldedWithDelay: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
-
animationState: import("@angular/core").Signal<"collapsed" | "expanded">;
|
|
22
|
-
constructor(el: ElementRef, navSelectorGroupPresenter: NavSelectorGroupPresenter);
|
|
23
|
-
maxHeight: import("@angular/core").WritableSignal<string>;
|
|
24
|
-
onKeydownSpaceOrEnter(event: Event): void;
|
|
25
|
-
onGroupSelected(): void;
|
|
26
|
-
/**
|
|
27
|
-
* For checkboxes, as they do not stop event propagation, we need to stop it manually
|
|
28
|
-
*/
|
|
29
|
-
eventStopper(event: Event): void;
|
|
30
|
-
toggleFolding(event: Event): void;
|
|
31
|
-
fold(event: Event): void;
|
|
32
|
-
unfold(event: Event): void;
|
|
33
|
-
private computeMaxHeight;
|
|
34
|
-
private updateAliasBoundedClientRect;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorGroupComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorGroupComponent, "ap-nav-selector-group", never, { "group": { "alias": "group"; "required": true; "isSignal": true; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorGroup } from '../nav-selector';
|
|
2
|
-
import { NavSelectorState } from '../nav-selector.state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavSelectorGroupPresenter {
|
|
5
|
-
private navSelectorState;
|
|
6
|
-
expanded: import("@angular/core").Signal<boolean>;
|
|
7
|
-
texts: import("@angular/core").Signal<import("../nav-selector").NavSelectorTranslatedTexts>;
|
|
8
|
-
isMultipleModeEnabled: import("@angular/core").Signal<boolean>;
|
|
9
|
-
constructor(navSelectorState: NavSelectorState);
|
|
10
|
-
onGroupSelected(group: InternalNavSelectorGroup): void;
|
|
11
|
-
onGroupToggleFolding(group: InternalNavSelectorGroup): void;
|
|
12
|
-
fold(group: InternalNavSelectorGroup): void;
|
|
13
|
-
unfold(group: InternalNavSelectorGroup): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorGroupPresenter, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavSelectorGroupPresenter>;
|
|
16
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ActionDropdownItem } from '@agorapulse/ui-components/action-dropdown';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
import { InternalNavSelectorLeaf, InternalNavSelectorLeafDetails, NavSelectorLeafActionClickedEvent } from '../nav-selector';
|
|
4
|
-
import { NavSelectorLeafPresenter } from './nav-selector-leaf.presenter';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NavSelectorLeafComponent {
|
|
7
|
-
private el;
|
|
8
|
-
navSelectorLeafPresenter: NavSelectorLeafPresenter;
|
|
9
|
-
leaf: import("@angular/core").InputSignal<InternalNavSelectorLeaf>;
|
|
10
|
-
actionClicked: import("@angular/core").OutputEmitterRef<NavSelectorLeafActionClickedEvent>;
|
|
11
|
-
initial: import("@angular/core").Signal<string>;
|
|
12
|
-
foldSymbol: import("@angular/core").Signal<"chevron-down" | "chevron-up">;
|
|
13
|
-
focused: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
-
aliasEl: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
15
|
-
aliasBoundedClientRect: import("@angular/core").WritableSignal<{
|
|
16
|
-
offsetWidth: number;
|
|
17
|
-
offsetHeight: number;
|
|
18
|
-
scrollWidth: number;
|
|
19
|
-
scrollHeight: number;
|
|
20
|
-
}>;
|
|
21
|
-
tooltipContent: import("@angular/core").Signal<string>;
|
|
22
|
-
tooltipDisabled: import("@angular/core").Signal<boolean>;
|
|
23
|
-
foldedWithDelay: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
-
network: import("@angular/core").Signal<"bluesky" | "facebook" | "instagram" | "linkedin" | "twitter" | "youtube" | "meta" | "google" | "pinterest" | "threads" | "tiktok" | "webBlog" | "webNews" | "X" | "xPlus" | "reddit" | null | undefined>;
|
|
25
|
-
leafActions: import("@angular/core").Signal<ActionDropdownItem[]>;
|
|
26
|
-
constructor(el: ElementRef, navSelectorLeafPresenter: NavSelectorLeafPresenter);
|
|
27
|
-
animationState: import("@angular/core").Signal<"collapsed" | "expanded">;
|
|
28
|
-
maxHeight: import("@angular/core").WritableSignal<string>;
|
|
29
|
-
onClick(event: Event): void;
|
|
30
|
-
toggleFolding(event: Event): void;
|
|
31
|
-
clickOnToggleFolding(event: Event): void;
|
|
32
|
-
selectOnly(event: Event): void;
|
|
33
|
-
clickOnSelectOnly(event: Event): void;
|
|
34
|
-
/**
|
|
35
|
-
* For checkboxes, as they do not stop event propagation, we need to stop it manually
|
|
36
|
-
*/
|
|
37
|
-
eventStopper(event: Event): void;
|
|
38
|
-
onCheckboxToggle(): void;
|
|
39
|
-
onSpaceOrEnterPressed(event: Event): void;
|
|
40
|
-
fold(event: Event): void;
|
|
41
|
-
unfold(event: Event): void;
|
|
42
|
-
onDetailClicked(event: Event, detail: InternalNavSelectorLeafDetails): void;
|
|
43
|
-
onActionClicked(action: ActionDropdownItem): void;
|
|
44
|
-
private computeMaxHeight;
|
|
45
|
-
private updateAliasBoundedClientRect;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorLeafComponent, "ap-nav-selector-leaf", never, { "leaf": { "alias": "leaf"; "required": true; "isSignal": true; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
|
|
48
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorLeaf, InternalNavSelectorLeafDetails } from '../nav-selector';
|
|
2
|
-
import { NavSelectorState } from '../nav-selector.state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavSelectorLeafPresenter {
|
|
5
|
-
private navSelectorState;
|
|
6
|
-
expanded: import("@angular/core").Signal<boolean>;
|
|
7
|
-
texts: import("@angular/core").Signal<import("../nav-selector").NavSelectorTranslatedTexts>;
|
|
8
|
-
isMultipleModeEnabled: import("@angular/core").Signal<boolean>;
|
|
9
|
-
constructor(navSelectorState: NavSelectorState);
|
|
10
|
-
selectLeaf(leaf: InternalNavSelectorLeaf): void;
|
|
11
|
-
onLeafToggleFolding(leaf: InternalNavSelectorLeaf): void;
|
|
12
|
-
selectOnlyLeaf(leaf: InternalNavSelectorLeaf): void;
|
|
13
|
-
fold(leaf: InternalNavSelectorLeaf): void;
|
|
14
|
-
unfold(leaf: InternalNavSelectorLeaf): void;
|
|
15
|
-
onLeafDetailClicked(detail: InternalNavSelectorLeafDetails): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafPresenter, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavSelectorLeafPresenter>;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorLeafDetails } from '../nav-selector';
|
|
2
|
-
import { NavSelectorLeafDetailPresenter } from './nav-selector-leaf-detail.presenter';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../directives/tree-node-accessibility.directive";
|
|
5
|
-
export declare class NavSelectorLeafDetailComponent {
|
|
6
|
-
navSelectorLeafDetailPresenter: NavSelectorLeafDetailPresenter;
|
|
7
|
-
detail: import("@angular/core").InputSignal<InternalNavSelectorLeafDetails>;
|
|
8
|
-
embedded: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
constructor(navSelectorLeafDetailPresenter: NavSelectorLeafDetailPresenter);
|
|
10
|
-
onClick(event: Event): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafDetailComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorLeafDetailComponent, "ap-nav-selector-leaf-detail", never, { "detail": { "alias": "detail"; "required": true; "isSignal": true; }; "embedded": { "alias": "embedded"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TreeNodeAccessibilityDirective; inputs: { "apTreeNodeAccessibility": "detail"; }; outputs: {}; }]>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorLeafDetails } from '../nav-selector';
|
|
2
|
-
import { NavSelectorState } from '../nav-selector.state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavSelectorLeafDetailPresenter {
|
|
5
|
-
private navSelectorState;
|
|
6
|
-
constructor(navSelectorState: NavSelectorState);
|
|
7
|
-
onLeafDetailClicked(detail: InternalNavSelectorLeafDetails): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafDetailPresenter, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavSelectorLeafDetailPresenter>;
|
|
10
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { InternalNavSelectorLeaf, InternalNavSelectorLeafDetails } from '../nav-selector';
|
|
3
|
-
import { NavSelectorLeafDetailsPresenter } from '../nav-selector-leaf-details/nav-selector-leaf-details.presenter';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavSelectorLeafDetailsComponent implements AfterViewInit {
|
|
6
|
-
private el;
|
|
7
|
-
navSelectorLeafDetailsPresenter: NavSelectorLeafDetailsPresenter;
|
|
8
|
-
leaf: import("@angular/core").InputSignal<InternalNavSelectorLeaf>;
|
|
9
|
-
details: import("@angular/core").InputSignal<InternalNavSelectorLeafDetails[]>;
|
|
10
|
-
firstDetails: import("@angular/core").Signal<InternalNavSelectorLeafDetails[]>;
|
|
11
|
-
lastDetails: import("@angular/core").Signal<InternalNavSelectorLeafDetails[]>;
|
|
12
|
-
viewMoreDelay: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
-
animationState: import("@angular/core").Signal<"collapsed" | "expanded">;
|
|
14
|
-
/**
|
|
15
|
-
* The height when details are all displayed
|
|
16
|
-
*/
|
|
17
|
-
maxHeight: import("@angular/core").WritableSignal<string>;
|
|
18
|
-
constructor(el: ElementRef, navSelectorLeafDetailsPresenter: NavSelectorLeafDetailsPresenter);
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
toggleViewMore(): void;
|
|
21
|
-
onSpaceOrEnter(event: Event): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafDetailsComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorLeafDetailsComponent, "ap-nav-selector-leaf-details", never, { "leaf": { "alias": "leaf"; "required": true; "isSignal": true; }; "details": { "alias": "details"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorLeaf } from '../nav-selector';
|
|
2
|
-
import { NavSelectorState } from '../nav-selector.state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavSelectorLeafDetailsPresenter {
|
|
5
|
-
private navSelectorState;
|
|
6
|
-
viewMoreText: import("@angular/core").Signal<string>;
|
|
7
|
-
viewLessText: import("@angular/core").Signal<string>;
|
|
8
|
-
constructor(navSelectorState: NavSelectorState);
|
|
9
|
-
toggleViewMore(leaf: InternalNavSelectorLeaf): void;
|
|
10
|
-
viewMore(leaf: InternalNavSelectorLeaf): void;
|
|
11
|
-
viewLess(leaf: InternalNavSelectorLeaf): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorLeafDetailsPresenter, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavSelectorLeafDetailsPresenter>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseButtonDirective } from '@agorapulse/ui-components/directives';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@agorapulse/ui-components/directives";
|
|
4
|
-
export declare class NavSelectorPopoverItemComponent {
|
|
5
|
-
selected: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
-
locked: import("@angular/core").InputSignal<boolean>;
|
|
8
|
-
id: import("@angular/core").InputSignal<string | null>;
|
|
9
|
-
name: import("@angular/core").InputSignal<string>;
|
|
10
|
-
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
-
readonly baseButtonDirective: BaseButtonDirective;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorPopoverItemComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorPopoverItemComponent, "ap-nav-selector-popover-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "locked": { "alias": "locked"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BaseButtonDirective; inputs: {}; outputs: {}; }]>;
|
|
14
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const NavSelectorPopoverPlacement: {
|
|
4
|
-
readonly RIGHT: "right";
|
|
5
|
-
readonly BOTTOM_START: "bottom_start";
|
|
6
|
-
};
|
|
7
|
-
export type NavSelectorPopoverPlacement = (typeof NavSelectorPopoverPlacement)[keyof typeof NavSelectorPopoverPlacement];
|
|
8
|
-
export declare class NavSelectorPopoverComponent {
|
|
9
|
-
private elementRef;
|
|
10
|
-
placement: import("@angular/core").InputSignal<NavSelectorPopoverPlacement>;
|
|
11
|
-
popoverTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
-
offset: import("@angular/core").InputSignal<Partial<{
|
|
13
|
-
mainAxis: number;
|
|
14
|
-
crossAxis: number;
|
|
15
|
-
}>>;
|
|
16
|
-
items: import("@angular/core").Signal<readonly TemplateRef<unknown>[]>;
|
|
17
|
-
displayed: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
-
navSelectorPopoverDisplayed: import("@angular/core").Signal<boolean>;
|
|
19
|
-
position: import("@angular/core").WritableSignal<{
|
|
20
|
-
top: number;
|
|
21
|
-
left: number;
|
|
22
|
-
}>;
|
|
23
|
-
parentEl: import("@angular/core").WritableSignal<ElementRef<any> | null>;
|
|
24
|
-
mainAxisOffset: import("@angular/core").Signal<number>;
|
|
25
|
-
crossAxisOffset: import("@angular/core").Signal<number>;
|
|
26
|
-
constructor(elementRef: ElementRef);
|
|
27
|
-
display(parentEl: ElementRef): void;
|
|
28
|
-
hide(): void;
|
|
29
|
-
toggle(parentEl: ElementRef): void;
|
|
30
|
-
onTitleCLicked(event: Event): void;
|
|
31
|
-
onClick(event: Event): void;
|
|
32
|
-
private computePosition;
|
|
33
|
-
private computeRightPosition;
|
|
34
|
-
private computeBottomPosition;
|
|
35
|
-
onAnyScroll(): void;
|
|
36
|
-
onFocusChanged(event: FocusEvent): void;
|
|
37
|
-
onAnyClick(event: Event): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorPopoverComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorPopoverComponent, "ap-nav-selector-popover", never, { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; }, {}, ["items"], ["[item]"], true, never>;
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NavSelectorEntry, NavSelectorLeafActionClickedEvent, NavSelectorTranslatedTexts } from './nav-selector';
|
|
3
|
-
import { NavSelectorState } from './nav-selector.state';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavSelectorComponent implements OnInit {
|
|
6
|
-
navSelectorState: NavSelectorState;
|
|
7
|
-
private el;
|
|
8
|
-
navSelectorEntries: import("@angular/core").InputSignal<NavSelectorEntry[]>;
|
|
9
|
-
translatedTexts: import("@angular/core").InputSignal<NavSelectorTranslatedTexts>;
|
|
10
|
-
multipleModeEnabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
detailsDisplayedLimit: import("@angular/core").InputSignal<number>;
|
|
12
|
-
embedded: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the nav selector will be expanded by default. Even if the width of the screen is smaller than 1280px.
|
|
15
|
-
*/
|
|
16
|
-
forceExpanded: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
expandedStateLocalStorageKey: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
-
selectedEntryUids: import("@angular/core").ModelSignal<string[]>;
|
|
19
|
-
actionClicked: import("@angular/core").OutputEmitterRef<NavSelectorLeafActionClickedEvent>;
|
|
20
|
-
headerProjection: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
21
|
-
contentHeaderProjection: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
22
|
-
footerProjection: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
23
|
-
displayFooter: import("@angular/core").Signal<boolean>;
|
|
24
|
-
expansionState: import("@angular/core").Signal<"expanded" | "minified">;
|
|
25
|
-
onExpansionStateChange: import("@angular/core").OutputEmitterRef<{
|
|
26
|
-
expanded: boolean;
|
|
27
|
-
}>;
|
|
28
|
-
componentUid: string;
|
|
29
|
-
ready: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
-
constructor(navSelectorState: NavSelectorState, el: ElementRef);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
onMinifiedSearchClicked(): void;
|
|
33
|
-
onArrowDown(event: Event): void;
|
|
34
|
-
onArrowUp(event: Event): void;
|
|
35
|
-
onWindowResize(): void;
|
|
36
|
-
private initializeExpandedState;
|
|
37
|
-
clickExpandButton(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorComponent, "ap-nav-selector", never, { "navSelectorEntries": { "alias": "navSelectorEntries"; "required": true; "isSignal": true; }; "translatedTexts": { "alias": "translatedTexts"; "required": true; "isSignal": true; }; "multipleModeEnabled": { "alias": "multipleModeEnabled"; "required": false; "isSignal": true; }; "detailsDisplayedLimit": { "alias": "detailsDisplayedLimit"; "required": false; "isSignal": true; }; "embedded": { "alias": "embedded"; "required": false; "isSignal": true; }; "forceExpanded": { "alias": "forceExpanded"; "required": false; "isSignal": true; }; "expandedStateLocalStorageKey": { "alias": "expandedStateLocalStorageKey"; "required": false; "isSignal": true; }; "selectedEntryUids": { "alias": "selectedEntryUids"; "required": true; "isSignal": true; }; }, { "selectedEntryUids": "selectedEntryUidsChange"; "actionClicked": "actionClicked"; "onExpansionStateChange": "onExpansionStateChange"; }, ["headerProjection", "contentHeaderProjection", "footerProjection"], never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { AvatarNetwork } from '@agorapulse/ui-components/avatar';
|
|
2
|
-
export type NavSelectorLeafActionClickedEvent = {
|
|
3
|
-
/** Name of the action that has been clicked */
|
|
4
|
-
actionName: string;
|
|
5
|
-
/** Leaf on which the action has been clicked */
|
|
6
|
-
leafUid: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* As translation is not available in the DS, this all translations needed
|
|
10
|
-
*/
|
|
11
|
-
export interface NavSelectorTranslatedTexts {
|
|
12
|
-
/** Title of the nav selector */
|
|
13
|
-
title: string;
|
|
14
|
-
/** Only text in multi select mode */
|
|
15
|
-
only: string;
|
|
16
|
-
/** Tooltip displayed on folded group when one of its children have token is invalid */
|
|
17
|
-
groupTokenInvalid: string;
|
|
18
|
-
/** Toolip displaying that token is invalid */
|
|
19
|
-
tokenInvalid: string;
|
|
20
|
-
/** Toolip displaying that feature is locked */
|
|
21
|
-
featureLocked: string;
|
|
22
|
-
/** placeholder for the search input */
|
|
23
|
-
searchPlaceholder: string;
|
|
24
|
-
/** Text displayed when the search return no results */
|
|
25
|
-
noResults: string;
|
|
26
|
-
/** Text of the button to show more details, it’s used when we limit the number of details displayed */
|
|
27
|
-
viewMore: string;
|
|
28
|
-
/** Text of the button to show less details, it’s used when we limit the number of details displayed */
|
|
29
|
-
viewLess: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Common interface for the NavSelector
|
|
33
|
-
*/
|
|
34
|
-
export type NavSelectorBaseNode = {
|
|
35
|
-
/** Unique identifier of the node */
|
|
36
|
-
uid: string;
|
|
37
|
-
/** Displayed name of the node */
|
|
38
|
-
alias: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Represent an action that can be performed on a leaf
|
|
42
|
-
*/
|
|
43
|
-
export type NavSelectorLeafAction = {
|
|
44
|
-
/** Unique identifier of the action, used for click tracking */
|
|
45
|
-
id: string | null;
|
|
46
|
-
/** Action label to display */
|
|
47
|
-
label: string;
|
|
48
|
-
/** Technical name of the action, used to identify the action */
|
|
49
|
-
name: string;
|
|
50
|
-
/** Optional icon to display on the action */
|
|
51
|
-
icon: string | null;
|
|
52
|
-
/** Optional Status */
|
|
53
|
-
status: 'disabled' | 'locked' | null;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Represent final entry of the nav selector
|
|
57
|
-
*/
|
|
58
|
-
export type NavSelectorLeaf = {
|
|
59
|
-
pictureUrl: string | null;
|
|
60
|
-
/** Counter to display on the entry, to ignore if the leaf has details */
|
|
61
|
-
counter: number | null;
|
|
62
|
-
/** When true, the leaf will be hidden */
|
|
63
|
-
missingPermission: boolean;
|
|
64
|
-
/** For social profiles or ad accounts the corresponding network */
|
|
65
|
-
network: AvatarNetwork | null;
|
|
66
|
-
/** Translated text when the entry is disabled */
|
|
67
|
-
disableReason: string | null;
|
|
68
|
-
/** Indicates if entry has its token invalid */
|
|
69
|
-
tokenInvalid: boolean;
|
|
70
|
-
/** Indicates if entry is locked */
|
|
71
|
-
featureLocked: boolean;
|
|
72
|
-
/** Sub elements of the leaf, they are optional */
|
|
73
|
-
details: NavSelectorLeafDetails[];
|
|
74
|
-
/** Optional actions that can be performed on the leaf */
|
|
75
|
-
actions: NavSelectorLeafAction[];
|
|
76
|
-
type: 'LEAF';
|
|
77
|
-
} & NavSelectorBaseNode;
|
|
78
|
-
/**
|
|
79
|
-
* Represent a group of entries which has been created by the user (ex: menuGroup)
|
|
80
|
-
*/
|
|
81
|
-
export type NavSelectorGroup = {
|
|
82
|
-
/** A group can only have leaves as children */
|
|
83
|
-
children: NavSelectorLeaf[];
|
|
84
|
-
/** Indicates if the group should be folded or expanded when generating the nav selector */
|
|
85
|
-
folded: boolean;
|
|
86
|
-
type: 'GROUP';
|
|
87
|
-
} & NavSelectorBaseNode;
|
|
88
|
-
/**
|
|
89
|
-
* Represent a category of entries which has been created by the product to separate different kind of entries (ex: social profiles, reports, ad accounts…)
|
|
90
|
-
*/
|
|
91
|
-
export type NavSelectorCategory = {
|
|
92
|
-
/** A Category can have leaves or groups as children, you can have leaves alongside with groups */
|
|
93
|
-
children: (NavSelectorLeaf | NavSelectorGroup)[];
|
|
94
|
-
/** Indicates if the group should be folded or expanded when generating the nav selector */
|
|
95
|
-
folded: boolean;
|
|
96
|
-
/** Title of the empty state */
|
|
97
|
-
emptyStateTitle?: string;
|
|
98
|
-
type: 'CATEGORY';
|
|
99
|
-
} & NavSelectorBaseNode;
|
|
100
|
-
export type NavSelectorEntry = NavSelectorLeaf | NavSelectorGroup | NavSelectorCategory;
|
|
101
|
-
/**
|
|
102
|
-
* Represent details of a leaf, they are used to allow to display more specific information about the leaf
|
|
103
|
-
*/
|
|
104
|
-
export interface NavSelectorLeafDetails {
|
|
105
|
-
/** Unique identifier of the node */
|
|
106
|
-
uid: string;
|
|
107
|
-
/** Counter to display on the entry */
|
|
108
|
-
counter: number | null;
|
|
109
|
-
/** If true, excludes this from the counter sum */
|
|
110
|
-
excludedCounterSum: boolean;
|
|
111
|
-
/** Displayed name of the node */
|
|
112
|
-
name: string;
|
|
113
|
-
/** Translation of the error on the leaf */
|
|
114
|
-
errorReason: string | null;
|
|
115
|
-
}
|
|
116
|
-
export declare const isNavSelectorEntryALeaf: (entry: NavSelectorEntry) => entry is NavSelectorLeaf;
|
|
117
|
-
export declare const isNavSelectorEntryAGroup: (entry: NavSelectorEntry) => entry is NavSelectorGroup;
|
|
118
|
-
export declare const isNavSelectorEntryACategory: (entry: NavSelectorEntry) => entry is NavSelectorCategory;
|
|
119
|
-
/**
|
|
120
|
-
* Represent the accessibility on a node
|
|
121
|
-
*/
|
|
122
|
-
export type NodeAccessibility = {
|
|
123
|
-
/** Number of sibling elements, itself included. Ex: there are 7 social profiles display in the group */
|
|
124
|
-
ariaSetsize: number;
|
|
125
|
-
/** Index starting from 1 of the element alongside its sibling */
|
|
126
|
-
ariaPosinset: number;
|
|
127
|
-
/** 0 to be focusable by Tab key and -1 to be focusable by keyboard with JS */
|
|
128
|
-
tabIndex: number;
|
|
129
|
-
/** In a tree, the deep level, starting from 1 */
|
|
130
|
-
ariaLevel: number;
|
|
131
|
-
};
|
|
132
|
-
export type InternalNavSelectorLeafAction = {
|
|
133
|
-
/** Unique identifier of the action, used for click tracking */
|
|
134
|
-
id: string | null;
|
|
135
|
-
/** Action label to display */
|
|
136
|
-
label: string;
|
|
137
|
-
/** Technical name of the action, used to identify the action */
|
|
138
|
-
name: string;
|
|
139
|
-
/** Optional icon to display on the action */
|
|
140
|
-
icon: string | null;
|
|
141
|
-
/** Optional Status */
|
|
142
|
-
status: 'disabled' | 'locked' | null;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* Represent a node
|
|
146
|
-
*/
|
|
147
|
-
export type InternalNavSelectorBaseNode = {
|
|
148
|
-
/** Unique identifier of the entry */
|
|
149
|
-
uid: string;
|
|
150
|
-
/** Displayed name of the entry */
|
|
151
|
-
alias: string;
|
|
152
|
-
accessibility: NodeAccessibility;
|
|
153
|
-
/** When hidden, the entry is not displayed, used when searching an element */
|
|
154
|
-
hidden: boolean;
|
|
155
|
-
/** When true, you can navigate with arrow keys on this entry */
|
|
156
|
-
focusable: boolean;
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* Represent a group of entries which has been created by the user (ex: menuGroup)
|
|
160
|
-
*/
|
|
161
|
-
export type InternalNavSelectorGroup = {
|
|
162
|
-
/** A group can only have leaves as children */
|
|
163
|
-
children: InternalNavSelectorLeaf[];
|
|
164
|
-
/** Picture url of the group, used when the nav selector is minified */
|
|
165
|
-
childrenPictureUrlSample: {
|
|
166
|
-
url: string | null;
|
|
167
|
-
initial: string;
|
|
168
|
-
}[];
|
|
169
|
-
/** Indicates whenever the group is folded or not */
|
|
170
|
-
folded: boolean;
|
|
171
|
-
/** Indicates the counter value to display when the group is folded */
|
|
172
|
-
counter: number;
|
|
173
|
-
/** Indicates if the counter should be display when the group is folded */
|
|
174
|
-
displayCounter: boolean;
|
|
175
|
-
/** Indicates if the token invalid icon should be display when the group is folded */
|
|
176
|
-
displayTokenInvalid: boolean;
|
|
177
|
-
/** Indicates in multi select mode if the group has some children selected */
|
|
178
|
-
undeterminedSelection: boolean;
|
|
179
|
-
/** Indicates if the group is selected */
|
|
180
|
-
selected: boolean;
|
|
181
|
-
/** Indicates if the group is selectable */
|
|
182
|
-
selectable: boolean;
|
|
183
|
-
type: 'GROUP';
|
|
184
|
-
} & InternalNavSelectorBaseNode;
|
|
185
|
-
/**
|
|
186
|
-
* Represent a category of entries which has been created by the product to separate different kind of entries (ex: social profiles, reports, ad accounts…)
|
|
187
|
-
*/
|
|
188
|
-
export type InternalNavSelectorCategory = {
|
|
189
|
-
/** A Category can have leaves or groups as children, you can have leaves alongside with groups */
|
|
190
|
-
children: (InternalNavSelectorGroup | InternalNavSelectorLeaf)[];
|
|
191
|
-
/** Indicates whenever the category is folded or not */
|
|
192
|
-
folded: boolean;
|
|
193
|
-
/** Title of the empty state */
|
|
194
|
-
emptyStateTitle?: string;
|
|
195
|
-
type: 'CATEGORY';
|
|
196
|
-
} & InternalNavSelectorBaseNode;
|
|
197
|
-
/**
|
|
198
|
-
* Represent final entry of the nav selector
|
|
199
|
-
*/
|
|
200
|
-
export type InternalNavSelectorLeaf = {
|
|
201
|
-
/** Indicates if the actions dropdown could be display. Should not be display if the leaf has an error status. */
|
|
202
|
-
actionsDisplayable: boolean;
|
|
203
|
-
/** Actions that can be performed on the leaf */
|
|
204
|
-
actions: InternalNavSelectorLeafAction[];
|
|
205
|
-
/** Picture url to display on the avatar, optional */
|
|
206
|
-
pictureUrl: string | null;
|
|
207
|
-
/** Indicates if the counter could be display. The leaf should not be disabled, feature locked or has token invalid */
|
|
208
|
-
counterDisplayable: boolean;
|
|
209
|
-
/** Indicates if the token invalid icon should be display. So when displayable when no details or folded */
|
|
210
|
-
displayCounter: boolean;
|
|
211
|
-
/** Counter value to display */
|
|
212
|
-
counter: number;
|
|
213
|
-
/** Indicates if the token invalid icon should be display */
|
|
214
|
-
displayTokenInvalid: boolean;
|
|
215
|
-
/** Indicates if the feature is locked */
|
|
216
|
-
displayFeatureLocked: boolean;
|
|
217
|
-
/** Indicates if the leaf is disabled */
|
|
218
|
-
disabled: boolean;
|
|
219
|
-
/** The disabled reason to display in tooltip */
|
|
220
|
-
disableReason: string | null;
|
|
221
|
-
/** Indicates if the leaf is selected */
|
|
222
|
-
selected: boolean;
|
|
223
|
-
/** Indicates if the leaf is selectable */
|
|
224
|
-
selectable: boolean;
|
|
225
|
-
/** For social profiles or ad accounts, the corresponding network */
|
|
226
|
-
network: AvatarNetwork | null;
|
|
227
|
-
/** Indicates if the leaf foldable. So when it has details and no error status */
|
|
228
|
-
foldable: boolean;
|
|
229
|
-
/** Indicates if the leaf is folded */
|
|
230
|
-
folded: boolean;
|
|
231
|
-
/** Indicates if the leaf has one of its details selected */
|
|
232
|
-
detailSelected: boolean;
|
|
233
|
-
/** Indicates if the leaf has details and they are displayable. So no error status */
|
|
234
|
-
detailsDisplayable: boolean;
|
|
235
|
-
/** Details of the leaf */
|
|
236
|
-
details: InternalNavSelectorLeafDetails[];
|
|
237
|
-
type: 'LEAF';
|
|
238
|
-
/** Indicates if the view more section should be display for details */
|
|
239
|
-
viewMoreDisplayable: boolean;
|
|
240
|
-
/** Indicates if the view more or view less button is displayed */
|
|
241
|
-
viewMoreDisplayed: boolean;
|
|
242
|
-
/** Number of details to display when the view more is not clicked */
|
|
243
|
-
viewMoreDetailsDisplayedLimit: number;
|
|
244
|
-
} & InternalNavSelectorBaseNode;
|
|
245
|
-
/**
|
|
246
|
-
* Represent details of a leaf, they are used to allow to display more specific information about the leaf
|
|
247
|
-
*/
|
|
248
|
-
export type InternalNavSelectorLeafDetails = {
|
|
249
|
-
/** Unique identifier of the node */
|
|
250
|
-
uid: string;
|
|
251
|
-
/** Counter to display on the detail */
|
|
252
|
-
counter: number;
|
|
253
|
-
/** Indicates if the counter should be display. So no error on the detail */
|
|
254
|
-
displayCounter: boolean;
|
|
255
|
-
/** Displayed name of the node */
|
|
256
|
-
alias: string;
|
|
257
|
-
/** Indicates if the detail is selected */
|
|
258
|
-
selected: boolean;
|
|
259
|
-
/** Indicates if we should display an error icon */
|
|
260
|
-
displayError: boolean;
|
|
261
|
-
/** Translated text to display in the tooltip */
|
|
262
|
-
errorReason: string | null;
|
|
263
|
-
type: 'LEAF_DETAILS';
|
|
264
|
-
} & InternalNavSelectorBaseNode;
|
|
265
|
-
export type InternalNavSelectorEntry = InternalNavSelectorLeaf | InternalNavSelectorGroup | InternalNavSelectorCategory | InternalNavSelectorLeafDetails;
|
|
266
|
-
export declare const isInternalNavSelectorEntryALeaf: (entry: InternalNavSelectorEntry) => entry is InternalNavSelectorLeaf;
|
|
267
|
-
export declare const isInternalNavSelectorEntryANode: (entry: InternalNavSelectorEntry) => entry is InternalNavSelectorCategory | InternalNavSelectorGroup;
|
|
268
|
-
export declare const isInternalNavSelectorEntryACategory: (entry: InternalNavSelectorEntry) => entry is InternalNavSelectorCategory;
|
|
269
|
-
export declare const isInternalNavSelectorEntryAGroup: (entry: InternalNavSelectorEntry) => entry is InternalNavSelectorGroup;
|
|
270
|
-
export declare const isInternalNavSelectorEntryALeafDetails: (entry: InternalNavSelectorEntry) => entry is InternalNavSelectorLeafDetails;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { InternalNavSelectorEntry, InternalNavSelectorLeaf, InternalNavSelectorLeafDetails, NavSelectorEntry, NavSelectorTranslatedTexts } from './nav-selector';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* NavSelectorState is a service that manages the state of the nav selector.
|
|
5
|
-
*
|
|
6
|
-
* It should be provided by the component to ensure that if many nav selectors are used in the same page, they don't share the same state.
|
|
7
|
-
*/
|
|
8
|
-
export declare class NavSelectorState {
|
|
9
|
-
entries: import("@angular/core").WritableSignal<InternalNavSelectorEntry[]>;
|
|
10
|
-
private multipleModeEnabled;
|
|
11
|
-
private _texts;
|
|
12
|
-
isMultipleModeEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
-
search: import("@angular/core").WritableSignal<string>;
|
|
14
|
-
noResults: import("@angular/core").Signal<boolean>;
|
|
15
|
-
texts: import("@angular/core").Signal<NavSelectorTranslatedTexts>;
|
|
16
|
-
expanded: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
-
previousSelectedUids: string[];
|
|
18
|
-
selectedUidsChangeCallback: ((selectedUids: string[]) => void) | null;
|
|
19
|
-
constructor();
|
|
20
|
-
updateMultiModeEnabled(enabled: boolean): void;
|
|
21
|
-
initEntries(entries: NavSelectorEntry[], initialSelectedEntryUids: string[], detailsDisplayedLimit: number): void;
|
|
22
|
-
updateEntries(entries: NavSelectorEntry[], initialSelectedEntryUids: string[], detailsDisplayedLimit: number): void;
|
|
23
|
-
onGroupToggleFolding(group: InternalNavSelectorEntry): void;
|
|
24
|
-
onNodeSelect(node: InternalNavSelectorEntry): void;
|
|
25
|
-
onLeafClicked(leaf: InternalNavSelectorLeaf): void;
|
|
26
|
-
onLeafToggleFolding(leaf: InternalNavSelectorEntry): void;
|
|
27
|
-
onLeafDetailClicked(leafDetail: InternalNavSelectorLeafDetails): void;
|
|
28
|
-
updateTexts(texts: NavSelectorTranslatedTexts): void;
|
|
29
|
-
selectOnlyLeaf(leaf: InternalNavSelectorLeaf): void;
|
|
30
|
-
toggleExpanded(): void;
|
|
31
|
-
minify(): void;
|
|
32
|
-
forceMinify(): void;
|
|
33
|
-
forceExpand(): void;
|
|
34
|
-
onSelectionChange(uids: string[]): void;
|
|
35
|
-
registerOnSelectedUidsChange(callback: (selectedUids: string[]) => void): void;
|
|
36
|
-
onArrowDown(): void;
|
|
37
|
-
onArrowUp(): void;
|
|
38
|
-
private collectSelectedUids;
|
|
39
|
-
private getFoldingOptions;
|
|
40
|
-
fold(entry: InternalNavSelectorEntry): void;
|
|
41
|
-
unfold(entry: InternalNavSelectorEntry): void;
|
|
42
|
-
updateDetailsDisplayedLimit(detailsDisplayedLimit: number): void;
|
|
43
|
-
viewMore(leaf: InternalNavSelectorLeaf): void;
|
|
44
|
-
viewLess(leaf: InternalNavSelectorLeaf): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorState, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavSelectorState>;
|
|
47
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { NavSelectorCategory, NavSelectorGroup, NavSelectorLeaf, NavSelectorLeafDetails, NavSelectorTranslatedTexts, NodeAccessibility, } from './nav-selector';
|
|
2
|
-
export * from './nav-selector-popover/nav-selector-popover-item.component';
|
|
3
|
-
export * from './nav-selector.component';
|