@ionic/angular 8.8.19-dev.11786735826.1fad7c0a → 8.8.19-dev.11786832241.150538c7
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/README.md +0 -1
- package/dist/common/directives/control-value-accessors/index.d.ts +1 -0
- package/dist/common/directives/control-value-accessors/index.js +2 -0
- package/dist/common/directives/control-value-accessors/index.js.map +1 -0
- package/dist/common/directives/control-value-accessors/value-accessor.d.ts +36 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js +152 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js.map +1 -0
- package/dist/common/directives/navigation/back-button.d.ts +23 -0
- package/dist/common/directives/navigation/back-button.js +61 -0
- package/dist/common/directives/navigation/back-button.js.map +1 -0
- package/dist/common/directives/navigation/nav-params.d.ts +45 -0
- package/dist/common/directives/navigation/nav-params.js +47 -0
- package/dist/common/directives/navigation/nav-params.js.map +1 -0
- package/dist/common/directives/navigation/nav.d.ts +21 -0
- package/dist/common/directives/navigation/nav.js +49 -0
- package/dist/common/directives/navigation/nav.js.map +1 -0
- package/dist/common/directives/navigation/router-link-delegate.d.ts +70 -0
- package/dist/common/directives/navigation/router-link-delegate.js +188 -0
- package/dist/common/directives/navigation/router-link-delegate.js.map +1 -0
- package/dist/common/directives/navigation/router-outlet.d.ts +104 -0
- package/dist/common/directives/navigation/router-outlet.js +476 -0
- package/dist/common/directives/navigation/router-outlet.js.map +1 -0
- package/dist/common/directives/navigation/stack-controller.d.ts +42 -0
- package/dist/common/directives/navigation/stack-controller.js +282 -0
- package/dist/common/directives/navigation/stack-controller.js.map +1 -0
- package/dist/common/directives/navigation/stack-utils.d.ts +38 -0
- package/dist/common/directives/navigation/stack-utils.js +73 -0
- package/dist/common/directives/navigation/stack-utils.js.map +1 -0
- package/dist/common/directives/navigation/tabs.d.ts +91 -0
- package/dist/common/directives/navigation/tabs.js +290 -0
- package/dist/common/directives/navigation/tabs.js.map +1 -0
- package/dist/common/index.d.ts +22 -0
- package/dist/common/index.js +20 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/overlays/modal.d.ts +62 -0
- package/dist/common/overlays/modal.js +96 -0
- package/dist/common/overlays/modal.js.map +1 -0
- package/dist/common/overlays/popover.d.ts +46 -0
- package/dist/common/overlays/popover.js +84 -0
- package/dist/common/overlays/popover.js.map +1 -0
- package/dist/common/providers/angular-delegate.d.ts +28 -0
- package/dist/common/providers/angular-delegate.js +229 -0
- package/dist/common/providers/angular-delegate.js.map +1 -0
- package/dist/common/providers/config.d.ts +11 -0
- package/dist/common/providers/config.js +44 -0
- package/dist/common/providers/config.js.map +1 -0
- package/dist/common/providers/dom-controller.d.ts +16 -0
- package/dist/common/providers/dom-controller.js +44 -0
- package/dist/common/providers/dom-controller.js.map +1 -0
- package/dist/common/providers/menu-controller.d.ts +78 -0
- package/dist/common/providers/menu-controller.js +114 -0
- package/dist/common/providers/menu-controller.js.map +1 -0
- package/dist/common/providers/nav-controller.d.ts +116 -0
- package/dist/common/providers/nav-controller.js +232 -0
- package/dist/common/providers/nav-controller.js.map +1 -0
- package/dist/common/providers/platform.d.ts +174 -0
- package/dist/common/providers/platform.js +256 -0
- package/dist/common/providers/platform.js.map +1 -0
- package/dist/common/types/interfaces.d.ts +8 -0
- package/dist/common/types/interfaces.js +2 -0
- package/dist/common/types/interfaces.js.map +1 -0
- package/dist/common/types/ionic-lifecycle-hooks.d.ts +27 -0
- package/dist/common/types/ionic-lifecycle-hooks.js +5 -0
- package/dist/common/types/ionic-lifecycle-hooks.js.map +1 -0
- package/dist/common/types/overlay-options.d.ts +16 -0
- package/dist/common/types/overlay-options.js +2 -0
- package/dist/common/types/overlay-options.js.map +1 -0
- package/dist/common/utils/overlay.d.ts +21 -0
- package/dist/common/utils/overlay.js +26 -0
- package/dist/common/utils/overlay.js.map +1 -0
- package/dist/common/utils/proxy.d.ts +8 -0
- package/dist/common/utils/proxy.js +47 -0
- package/dist/common/utils/proxy.js.map +1 -0
- package/dist/common/utils/routing.d.ts +28 -0
- package/dist/common/utils/routing.js +55 -0
- package/dist/common/utils/routing.js.map +1 -0
- package/dist/common/utils/util.d.ts +1 -0
- package/dist/common/utils/util.js +10 -0
- package/dist/common/utils/util.js.map +1 -0
- package/dist/lazy/app-initialize.d.ts +3 -0
- package/dist/lazy/app-initialize.js +29 -0
- package/dist/lazy/app-initialize.js.map +1 -0
- package/dist/lazy/directives/angular-component-lib/utils.d.ts +9 -0
- package/dist/lazy/directives/angular-component-lib/utils.js +59 -0
- package/dist/lazy/directives/angular-component-lib/utils.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js +47 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/index.d.ts +4 -0
- package/dist/lazy/directives/control-value-accessors/index.js +5 -0
- package/dist/lazy/directives/control-value-accessors/index.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.d.ts +11 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js +55 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js +44 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js +43 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-back-button.d.ts +9 -0
- package/dist/lazy/directives/navigation/ion-back-button.js +24 -0
- package/dist/lazy/directives/navigation/ion-back-button.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-nav.d.ts +8 -0
- package/dist/lazy/directives/navigation/ion-nav.js +21 -0
- package/dist/lazy/directives/navigation/ion-nav.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.d.ts +25 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js +52 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-tabs.d.ts +13 -0
- package/dist/lazy/directives/navigation/ion-tabs.js +58 -0
- package/dist/lazy/directives/navigation/ion-tabs.js.map +1 -0
- package/dist/lazy/directives/navigation/router-link-delegate.d.ts +16 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js +32 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js.map +1 -0
- package/dist/lazy/directives/overlays/modal.d.ts +6 -0
- package/dist/lazy/directives/overlays/modal.js +22 -0
- package/dist/lazy/directives/overlays/modal.js.map +1 -0
- package/dist/lazy/directives/overlays/popover.d.ts +6 -0
- package/dist/lazy/directives/overlays/popover.js +18 -0
- package/dist/lazy/directives/overlays/popover.js.map +1 -0
- package/dist/lazy/directives/proxies-list.d.ts +2 -0
- package/dist/lazy/directives/proxies-list.js +89 -0
- package/dist/lazy/directives/proxies-list.js.map +1 -0
- package/{types/ionic-angular-lazy.d.ts → dist/lazy/directives/proxies.d.ts} +339 -503
- package/{fesm2022/ionic-angular-lazy.mjs → dist/lazy/directives/proxies.js} +91 -882
- package/dist/lazy/directives/proxies.js.map +1 -0
- package/dist/lazy/directives/validators/index.d.ts +2 -0
- package/dist/lazy/directives/validators/index.js +3 -0
- package/dist/lazy/directives/validators/index.js.map +1 -0
- package/dist/lazy/directives/validators/max-validator.d.ts +12 -0
- package/dist/lazy/directives/validators/max-validator.js +26 -0
- package/dist/lazy/directives/validators/max-validator.js.map +1 -0
- package/dist/lazy/directives/validators/min-validator.d.ts +12 -0
- package/dist/lazy/directives/validators/min-validator.js +26 -0
- package/dist/lazy/directives/validators/min-validator.js.map +1 -0
- package/dist/lazy/index.d.ts +26 -0
- package/dist/lazy/index.js +34 -0
- package/dist/lazy/index.js.map +1 -0
- package/dist/lazy/ionic-module.d.ts +38 -0
- package/dist/lazy/ionic-module.js +121 -0
- package/dist/lazy/ionic-module.js.map +1 -0
- package/dist/lazy/providers/action-sheet-controller.d.ts +8 -0
- package/dist/lazy/providers/action-sheet-controller.js +18 -0
- package/dist/lazy/providers/action-sheet-controller.js.map +1 -0
- package/dist/lazy/providers/alert-controller.d.ts +8 -0
- package/dist/lazy/providers/alert-controller.js +18 -0
- package/dist/lazy/providers/alert-controller.js.map +1 -0
- package/dist/lazy/providers/animation-controller.d.ts +25 -0
- package/dist/lazy/providers/animation-controller.js +37 -0
- package/dist/lazy/providers/animation-controller.js.map +1 -0
- package/dist/lazy/providers/gesture-controller.d.ts +13 -0
- package/dist/lazy/providers/gesture-controller.js +32 -0
- package/dist/lazy/providers/gesture-controller.js.map +1 -0
- package/dist/lazy/providers/loading-controller.d.ts +8 -0
- package/dist/lazy/providers/loading-controller.js +18 -0
- package/dist/lazy/providers/loading-controller.js.map +1 -0
- package/dist/lazy/providers/menu-controller.d.ts +7 -0
- package/dist/lazy/providers/menu-controller.js +18 -0
- package/dist/lazy/providers/menu-controller.js.map +1 -0
- package/dist/lazy/providers/modal-controller.d.ts +12 -0
- package/dist/lazy/providers/modal-controller.js +25 -0
- package/dist/lazy/providers/modal-controller.js.map +1 -0
- package/dist/lazy/providers/popover-controller.d.ts +9 -0
- package/dist/lazy/providers/popover-controller.js +19 -0
- package/dist/lazy/providers/popover-controller.js.map +1 -0
- package/dist/lazy/providers/toast-controller.d.ts +8 -0
- package/dist/lazy/providers/toast-controller.js +18 -0
- package/dist/lazy/providers/toast-controller.js.map +1 -0
- package/dist/standalone/directives/angular-component-lib/utils.d.ts +9 -0
- package/dist/standalone/directives/angular-component-lib/utils.js +59 -0
- package/dist/standalone/directives/angular-component-lib/utils.js.map +1 -0
- package/dist/standalone/directives/checkbox.d.ts +30 -0
- package/dist/standalone/directives/checkbox.js +75 -0
- package/dist/standalone/directives/checkbox.js.map +1 -0
- package/dist/standalone/directives/datetime.d.ts +30 -0
- package/dist/standalone/directives/datetime.js +93 -0
- package/dist/standalone/directives/datetime.js.map +1 -0
- package/dist/standalone/directives/icon.d.ts +9 -0
- package/dist/standalone/directives/icon.js +35 -0
- package/dist/standalone/directives/icon.js.map +1 -0
- package/dist/standalone/directives/index.d.ts +12 -0
- package/dist/standalone/directives/index.js +13 -0
- package/dist/standalone/directives/index.js.map +1 -0
- package/dist/standalone/directives/input-otp.d.ts +49 -0
- package/dist/standalone/directives/input-otp.js +89 -0
- package/dist/standalone/directives/input-otp.js.map +1 -0
- package/dist/standalone/directives/input.d.ts +47 -0
- package/dist/standalone/directives/input.js +112 -0
- package/dist/standalone/directives/input.js.map +1 -0
- package/dist/standalone/directives/ion-accordion-group.d.ts +21 -0
- package/dist/standalone/directives/ion-accordion-group.js +40 -0
- package/dist/standalone/directives/ion-accordion-group.js.map +1 -0
- package/dist/standalone/directives/ion-accordion.d.ts +12 -0
- package/dist/standalone/directives/ion-accordion.js +36 -0
- package/dist/standalone/directives/ion-accordion.js.map +1 -0
- package/dist/standalone/directives/ion-action-sheet.d.ts +58 -0
- package/dist/standalone/directives/ion-action-sheet.js +62 -0
- package/dist/standalone/directives/ion-action-sheet.js.map +1 -0
- package/dist/standalone/directives/ion-alert.d.ts +58 -0
- package/dist/standalone/directives/ion-alert.js +62 -0
- package/dist/standalone/directives/ion-alert.js.map +1 -0
- package/dist/standalone/directives/ion-app.d.ts +12 -0
- package/dist/standalone/directives/ion-app.js +36 -0
- package/dist/standalone/directives/ion-app.js.map +1 -0
- package/dist/standalone/directives/ion-avatar.d.ts +12 -0
- package/dist/standalone/directives/ion-avatar.js +35 -0
- package/dist/standalone/directives/ion-avatar.js.map +1 -0
- package/dist/standalone/directives/ion-backdrop.d.ts +18 -0
- package/dist/standalone/directives/ion-backdrop.js +40 -0
- package/dist/standalone/directives/ion-backdrop.js.map +1 -0
- package/dist/standalone/directives/ion-badge.d.ts +12 -0
- package/dist/standalone/directives/ion-badge.js +36 -0
- package/dist/standalone/directives/ion-badge.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumb.d.ts +23 -0
- package/dist/standalone/directives/ion-breadcrumb.js +43 -0
- package/dist/standalone/directives/ion-breadcrumb.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumbs.d.ts +19 -0
- package/dist/standalone/directives/ion-breadcrumbs.js +40 -0
- package/dist/standalone/directives/ion-breadcrumbs.js.map +1 -0
- package/dist/standalone/directives/ion-button.d.ts +23 -0
- package/dist/standalone/directives/ion-button.js +43 -0
- package/dist/standalone/directives/ion-button.js.map +1 -0
- package/dist/standalone/directives/ion-buttons.d.ts +12 -0
- package/dist/standalone/directives/ion-buttons.js +36 -0
- package/dist/standalone/directives/ion-buttons.js.map +1 -0
- package/dist/standalone/directives/ion-card-content.d.ts +12 -0
- package/dist/standalone/directives/ion-card-content.js +36 -0
- package/dist/standalone/directives/ion-card-content.js.map +1 -0
- package/dist/standalone/directives/ion-card-header.d.ts +12 -0
- package/dist/standalone/directives/ion-card-header.js +36 -0
- package/dist/standalone/directives/ion-card-header.js.map +1 -0
- package/dist/standalone/directives/ion-card-subtitle.d.ts +12 -0
- package/dist/standalone/directives/ion-card-subtitle.js +36 -0
- package/dist/standalone/directives/ion-card-subtitle.js.map +1 -0
- package/dist/standalone/directives/ion-card-title.d.ts +12 -0
- package/dist/standalone/directives/ion-card-title.js +36 -0
- package/dist/standalone/directives/ion-card-title.js.map +1 -0
- package/dist/standalone/directives/ion-card.d.ts +12 -0
- package/dist/standalone/directives/ion-card.js +36 -0
- package/dist/standalone/directives/ion-card.js.map +1 -0
- package/dist/standalone/directives/ion-chip.d.ts +12 -0
- package/dist/standalone/directives/ion-chip.js +36 -0
- package/dist/standalone/directives/ion-chip.js.map +1 -0
- package/dist/standalone/directives/ion-col.d.ts +12 -0
- package/dist/standalone/directives/ion-col.js +36 -0
- package/dist/standalone/directives/ion-col.js.map +1 -0
- package/dist/standalone/directives/ion-content.d.ts +33 -0
- package/dist/standalone/directives/ion-content.js +47 -0
- package/dist/standalone/directives/ion-content.js.map +1 -0
- package/dist/standalone/directives/ion-datetime-button.d.ts +12 -0
- package/dist/standalone/directives/ion-datetime-button.js +36 -0
- package/dist/standalone/directives/ion-datetime-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-button.d.ts +23 -0
- package/dist/standalone/directives/ion-fab-button.js +43 -0
- package/dist/standalone/directives/ion-fab-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-list.d.ts +12 -0
- package/dist/standalone/directives/ion-fab-list.js +36 -0
- package/dist/standalone/directives/ion-fab-list.js.map +1 -0
- package/dist/standalone/directives/ion-fab.d.ts +12 -0
- package/dist/standalone/directives/ion-fab.js +37 -0
- package/dist/standalone/directives/ion-fab.js.map +1 -0
- package/dist/standalone/directives/ion-footer.d.ts +12 -0
- package/dist/standalone/directives/ion-footer.js +36 -0
- package/dist/standalone/directives/ion-footer.js.map +1 -0
- package/dist/standalone/directives/ion-grid.d.ts +12 -0
- package/dist/standalone/directives/ion-grid.js +36 -0
- package/dist/standalone/directives/ion-grid.js.map +1 -0
- package/dist/standalone/directives/ion-header.d.ts +12 -0
- package/dist/standalone/directives/ion-header.js +36 -0
- package/dist/standalone/directives/ion-header.js.map +1 -0
- package/dist/standalone/directives/ion-img.d.ts +28 -0
- package/dist/standalone/directives/ion-img.js +46 -0
- package/dist/standalone/directives/ion-img.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.d.ts +12 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js +36 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll.d.ts +21 -0
- package/dist/standalone/directives/ion-infinite-scroll.js +41 -0
- package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -0
- package/dist/standalone/directives/ion-input-password-toggle.d.ts +12 -0
- package/dist/standalone/directives/ion-input-password-toggle.js +36 -0
- package/dist/standalone/directives/ion-input-password-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-item-divider.d.ts +12 -0
- package/dist/standalone/directives/ion-item-divider.js +36 -0
- package/dist/standalone/directives/ion-item-divider.js.map +1 -0
- package/dist/standalone/directives/ion-item-group.d.ts +12 -0
- package/dist/standalone/directives/ion-item-group.js +35 -0
- package/dist/standalone/directives/ion-item-group.js.map +1 -0
- package/dist/standalone/directives/ion-item-option.d.ts +12 -0
- package/dist/standalone/directives/ion-item-option.js +36 -0
- package/dist/standalone/directives/ion-item-option.js.map +1 -0
- package/dist/standalone/directives/ion-item-options.d.ts +18 -0
- package/dist/standalone/directives/ion-item-options.js +40 -0
- package/dist/standalone/directives/ion-item-options.js.map +1 -0
- package/dist/standalone/directives/ion-item-sliding.d.ts +18 -0
- package/dist/standalone/directives/ion-item-sliding.js +41 -0
- package/dist/standalone/directives/ion-item-sliding.js.map +1 -0
- package/dist/standalone/directives/ion-item.d.ts +12 -0
- package/dist/standalone/directives/ion-item.js +36 -0
- package/dist/standalone/directives/ion-item.js.map +1 -0
- package/dist/standalone/directives/ion-label.d.ts +12 -0
- package/dist/standalone/directives/ion-label.js +36 -0
- package/dist/standalone/directives/ion-label.js.map +1 -0
- package/dist/standalone/directives/ion-list-header.d.ts +12 -0
- package/dist/standalone/directives/ion-list-header.js +36 -0
- package/dist/standalone/directives/ion-list-header.js.map +1 -0
- package/dist/standalone/directives/ion-list.d.ts +12 -0
- package/dist/standalone/directives/ion-list.js +37 -0
- package/dist/standalone/directives/ion-list.js.map +1 -0
- package/dist/standalone/directives/ion-loading.d.ts +58 -0
- package/dist/standalone/directives/ion-loading.js +62 -0
- package/dist/standalone/directives/ion-loading.js.map +1 -0
- package/dist/standalone/directives/ion-menu-button.d.ts +12 -0
- package/dist/standalone/directives/ion-menu-button.js +36 -0
- package/dist/standalone/directives/ion-menu-button.js.map +1 -0
- package/dist/standalone/directives/ion-menu-toggle.d.ts +12 -0
- package/dist/standalone/directives/ion-menu-toggle.js +36 -0
- package/dist/standalone/directives/ion-menu-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-menu.d.ts +34 -0
- package/dist/standalone/directives/ion-menu.js +50 -0
- package/dist/standalone/directives/ion-menu.js.map +1 -0
- package/dist/standalone/directives/ion-nav-link.d.ts +12 -0
- package/dist/standalone/directives/ion-nav-link.js +36 -0
- package/dist/standalone/directives/ion-nav-link.js.map +1 -0
- package/dist/standalone/directives/ion-note.d.ts +12 -0
- package/dist/standalone/directives/ion-note.js +36 -0
- package/dist/standalone/directives/ion-note.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column-option.d.ts +12 -0
- package/dist/standalone/directives/ion-picker-column-option.js +36 -0
- package/dist/standalone/directives/ion-picker-column-option.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column.d.ts +21 -0
- package/dist/standalone/directives/ion-picker-column.js +41 -0
- package/dist/standalone/directives/ion-picker-column.js.map +1 -0
- package/dist/standalone/directives/ion-picker.d.ts +12 -0
- package/dist/standalone/directives/ion-picker.js +36 -0
- package/dist/standalone/directives/ion-picker.js.map +1 -0
- package/dist/standalone/directives/ion-progress-bar.d.ts +12 -0
- package/dist/standalone/directives/ion-progress-bar.js +36 -0
- package/dist/standalone/directives/ion-progress-bar.js.map +1 -0
- package/dist/standalone/directives/ion-radio.d.ts +23 -0
- package/dist/standalone/directives/ion-radio.js +43 -0
- package/dist/standalone/directives/ion-radio.js.map +1 -0
- package/dist/standalone/directives/ion-refresher-content.d.ts +12 -0
- package/dist/standalone/directives/ion-refresher-content.js +36 -0
- package/dist/standalone/directives/ion-refresher-content.js.map +1 -0
- package/dist/standalone/directives/ion-refresher.d.ts +45 -0
- package/dist/standalone/directives/ion-refresher.js +53 -0
- package/dist/standalone/directives/ion-refresher.js.map +1 -0
- package/dist/standalone/directives/ion-reorder-group.d.ts +44 -0
- package/dist/standalone/directives/ion-reorder-group.js +50 -0
- package/dist/standalone/directives/ion-reorder-group.js.map +1 -0
- package/dist/standalone/directives/ion-reorder.d.ts +12 -0
- package/dist/standalone/directives/ion-reorder.js +35 -0
- package/dist/standalone/directives/ion-reorder.js.map +1 -0
- package/dist/standalone/directives/ion-ripple-effect.d.ts +12 -0
- package/dist/standalone/directives/ion-ripple-effect.js +37 -0
- package/dist/standalone/directives/ion-ripple-effect.js.map +1 -0
- package/dist/standalone/directives/ion-row.d.ts +12 -0
- package/dist/standalone/directives/ion-row.js +35 -0
- package/dist/standalone/directives/ion-row.js.map +1 -0
- package/dist/standalone/directives/ion-segment-button.d.ts +12 -0
- package/dist/standalone/directives/ion-segment-button.js +36 -0
- package/dist/standalone/directives/ion-segment-button.js.map +1 -0
- package/dist/standalone/directives/ion-segment-content.d.ts +12 -0
- package/dist/standalone/directives/ion-segment-content.js +35 -0
- package/dist/standalone/directives/ion-segment-content.js.map +1 -0
- package/dist/standalone/directives/ion-segment-view.d.ts +19 -0
- package/dist/standalone/directives/ion-segment-view.js +40 -0
- package/dist/standalone/directives/ion-segment-view.js.map +1 -0
- package/dist/standalone/directives/ion-select-modal.d.ts +12 -0
- package/dist/standalone/directives/ion-select-modal.js +36 -0
- package/dist/standalone/directives/ion-select-modal.js.map +1 -0
- package/dist/standalone/directives/ion-select-option.d.ts +12 -0
- package/dist/standalone/directives/ion-select-option.js +36 -0
- package/dist/standalone/directives/ion-select-option.js.map +1 -0
- package/dist/standalone/directives/ion-skeleton-text.d.ts +12 -0
- package/dist/standalone/directives/ion-skeleton-text.js +36 -0
- package/dist/standalone/directives/ion-skeleton-text.js.map +1 -0
- package/dist/standalone/directives/ion-spinner.d.ts +12 -0
- package/dist/standalone/directives/ion-spinner.js +36 -0
- package/dist/standalone/directives/ion-spinner.js.map +1 -0
- package/dist/standalone/directives/ion-split-pane.d.ts +22 -0
- package/dist/standalone/directives/ion-split-pane.js +40 -0
- package/dist/standalone/directives/ion-split-pane.js.map +1 -0
- package/dist/standalone/directives/ion-tab-bar.d.ts +12 -0
- package/dist/standalone/directives/ion-tab-bar.js +36 -0
- package/dist/standalone/directives/ion-tab-bar.js.map +1 -0
- package/dist/standalone/directives/ion-tab-button.d.ts +12 -0
- package/dist/standalone/directives/ion-tab-button.js +36 -0
- package/dist/standalone/directives/ion-tab-button.js.map +1 -0
- package/dist/standalone/directives/ion-tab.d.ts +12 -0
- package/dist/standalone/directives/ion-tab.js +37 -0
- package/dist/standalone/directives/ion-tab.js.map +1 -0
- package/dist/standalone/directives/ion-text.d.ts +12 -0
- package/dist/standalone/directives/ion-text.js +36 -0
- package/dist/standalone/directives/ion-text.js.map +1 -0
- package/dist/standalone/directives/ion-thumbnail.d.ts +12 -0
- package/dist/standalone/directives/ion-thumbnail.js +35 -0
- package/dist/standalone/directives/ion-thumbnail.js.map +1 -0
- package/dist/standalone/directives/ion-title.d.ts +12 -0
- package/dist/standalone/directives/ion-title.js +36 -0
- package/dist/standalone/directives/ion-title.js.map +1 -0
- package/dist/standalone/directives/ion-toast.d.ts +58 -0
- package/dist/standalone/directives/ion-toast.js +62 -0
- package/dist/standalone/directives/ion-toast.js.map +1 -0
- package/dist/standalone/directives/ion-toolbar.d.ts +12 -0
- package/dist/standalone/directives/ion-toolbar.js +36 -0
- package/dist/standalone/directives/ion-toolbar.js.map +1 -0
- package/dist/standalone/directives/proxies.d.ts +77 -0
- package/dist/standalone/directives/proxies.js +79 -0
- package/dist/standalone/directives/proxies.js.map +1 -0
- package/dist/standalone/directives/radio-group.d.ts +18 -0
- package/dist/standalone/directives/radio-group.js +59 -0
- package/dist/standalone/directives/radio-group.js.map +1 -0
- package/dist/standalone/directives/range.d.ts +47 -0
- package/dist/standalone/directives/range.js +77 -0
- package/dist/standalone/directives/range.js.map +1 -0
- package/dist/standalone/directives/searchbar.d.ts +45 -0
- package/dist/standalone/directives/searchbar.js +81 -0
- package/dist/standalone/directives/searchbar.js.map +1 -0
- package/dist/standalone/directives/segment.d.ts +19 -0
- package/dist/standalone/directives/segment.js +59 -0
- package/dist/standalone/directives/segment.js.map +1 -0
- package/dist/standalone/directives/select.d.ts +34 -0
- package/dist/standalone/directives/select.js +83 -0
- package/dist/standalone/directives/select.js.map +1 -0
- package/dist/standalone/directives/textarea.d.ts +37 -0
- package/dist/standalone/directives/textarea.js +90 -0
- package/dist/standalone/directives/textarea.js.map +1 -0
- package/dist/standalone/directives/toggle.d.ts +28 -0
- package/dist/standalone/directives/toggle.js +75 -0
- package/dist/standalone/directives/toggle.js.map +1 -0
- package/dist/standalone/index.d.ts +22 -0
- package/dist/standalone/index.js +24 -0
- package/dist/standalone/index.js.map +1 -0
- package/dist/standalone/navigation/back-button.d.ts +9 -0
- package/dist/standalone/navigation/back-button.js +32 -0
- package/dist/standalone/navigation/back-button.js.map +1 -0
- package/dist/standalone/navigation/nav.d.ts +8 -0
- package/dist/standalone/navigation/nav.js +28 -0
- package/dist/standalone/navigation/nav.js.map +1 -0
- package/dist/standalone/navigation/router-link-delegate.d.ts +10 -0
- package/dist/standalone/navigation/router-link-delegate.js +26 -0
- package/dist/standalone/navigation/router-link-delegate.js.map +1 -0
- package/dist/standalone/navigation/router-outlet.d.ts +25 -0
- package/dist/standalone/navigation/router-outlet.js +60 -0
- package/dist/standalone/navigation/router-outlet.js.map +1 -0
- package/dist/standalone/navigation/tabs.d.ts +13 -0
- package/dist/standalone/navigation/tabs.js +57 -0
- package/dist/standalone/navigation/tabs.js.map +1 -0
- package/dist/standalone/overlays/modal.d.ts +6 -0
- package/dist/standalone/overlays/modal.js +32 -0
- package/dist/standalone/overlays/modal.js.map +1 -0
- package/dist/standalone/overlays/popover.d.ts +6 -0
- package/dist/standalone/overlays/popover.js +28 -0
- package/dist/standalone/overlays/popover.js.map +1 -0
- package/dist/standalone/providers/action-sheet-controller.d.ts +8 -0
- package/dist/standalone/providers/action-sheet-controller.js +20 -0
- package/dist/standalone/providers/action-sheet-controller.js.map +1 -0
- package/dist/standalone/providers/alert-controller.d.ts +8 -0
- package/dist/standalone/providers/alert-controller.js +20 -0
- package/dist/standalone/providers/alert-controller.js.map +1 -0
- package/dist/standalone/providers/animation-controller.d.ts +25 -0
- package/dist/standalone/providers/animation-controller.js +37 -0
- package/dist/standalone/providers/animation-controller.js.map +1 -0
- package/dist/standalone/providers/gesture-controller.d.ts +13 -0
- package/dist/standalone/providers/gesture-controller.js +32 -0
- package/dist/standalone/providers/gesture-controller.js.map +1 -0
- package/dist/standalone/providers/ionic-angular.d.ts +7 -0
- package/dist/standalone/providers/ionic-angular.js +38 -0
- package/dist/standalone/providers/ionic-angular.js.map +1 -0
- package/dist/standalone/providers/loading-controller.d.ts +8 -0
- package/dist/standalone/providers/loading-controller.js +20 -0
- package/dist/standalone/providers/loading-controller.js.map +1 -0
- package/dist/standalone/providers/menu-controller.d.ts +7 -0
- package/dist/standalone/providers/menu-controller.js +18 -0
- package/dist/standalone/providers/menu-controller.js.map +1 -0
- package/dist/standalone/providers/modal-controller.d.ts +12 -0
- package/dist/standalone/providers/modal-controller.js +27 -0
- package/dist/standalone/providers/modal-controller.js.map +1 -0
- package/dist/standalone/providers/popover-controller.d.ts +9 -0
- package/dist/standalone/providers/popover-controller.js +21 -0
- package/dist/standalone/providers/popover-controller.js.map +1 -0
- package/dist/standalone/providers/toast-controller.d.ts +8 -0
- package/dist/standalone/providers/toast-controller.js +20 -0
- package/dist/standalone/providers/toast-controller.js.map +1 -0
- package/package.json +165 -23
- package/fesm2022/ionic-angular-common.mjs +0 -2802
- package/fesm2022/ionic-angular-common.mjs.map +0 -1
- package/fesm2022/ionic-angular-lazy.mjs.map +0 -1
- package/fesm2022/ionic-angular.mjs +0 -3644
- package/fesm2022/ionic-angular.mjs.map +0 -1
- package/types/ionic-angular-common.d.ts +0 -1031
- package/types/ionic-angular.d.ts +0 -1560
- /package/{schematics → dist/schematics}/add/files/root/theme/variables.css +0 -0
- /package/{schematics → dist/schematics}/add/index.js +0 -0
- /package/{schematics → dist/schematics}/add/schema.json +0 -0
- /package/{schematics → dist/schematics}/collection.json +0 -0
- /package/{schematics → dist/schematics}/utils/ast.js +0 -0
- /package/{schematics → dist/schematics}/utils/config.js +0 -0
- /package/{schematics → dist/schematics}/utils/package.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { RadioGroupChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonRadioGroup extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonChange(el: HTMLIonRadioGroupElement): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRadioGroup, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonRadioGroup, "ion-radio-group", never, { "allowEmptySelection": { "alias": "allowEmptySelection"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare interface IonRadioGroup extends Components.IonRadioGroup {
|
|
14
|
+
/**
|
|
15
|
+
* Emitted when the value has changed.
|
|
16
|
+
*/
|
|
17
|
+
ionChange: EventEmitter<CustomEvent<RadioGroupChangeEventDetail>>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
+
import { defineCustomElement } from '@ionic/core/components/ion-radio-group.js';
|
|
6
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'compareWith', 'errorText', 'helperText', 'name', 'value'];
|
|
9
|
+
let IonRadioGroup = class IonRadioGroup extends ValueAccessor {
|
|
10
|
+
z;
|
|
11
|
+
el;
|
|
12
|
+
constructor(c, r, z, injector) {
|
|
13
|
+
super(injector, r);
|
|
14
|
+
this.z = z;
|
|
15
|
+
c.detach();
|
|
16
|
+
this.el = r.nativeElement;
|
|
17
|
+
proxyOutputs(this, this.el, ['ionChange']);
|
|
18
|
+
}
|
|
19
|
+
handleIonChange(el) {
|
|
20
|
+
this.handleValueChange(el, el.value);
|
|
21
|
+
}
|
|
22
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonRadioGroup, isStandalone: true, selector: "ion-radio-group", inputs: { allowEmptySelection: "allowEmptySelection", compareWith: "compareWith", errorText: "errorText", helperText: "helperText", name: "name", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: NG_VALUE_ACCESSOR,
|
|
26
|
+
useExisting: forwardRef((() => IonRadioGroup)),
|
|
27
|
+
multi: true,
|
|
28
|
+
},
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
|
+
};
|
|
31
|
+
IonRadioGroup = __decorate([
|
|
32
|
+
ProxyCmp({
|
|
33
|
+
defineCustomElementFn: defineCustomElement,
|
|
34
|
+
inputs: RADIO_GROUP_INPUTS,
|
|
35
|
+
})
|
|
36
|
+
], IonRadioGroup);
|
|
37
|
+
export { IonRadioGroup };
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRadioGroup, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'ion-radio-group',
|
|
42
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
+
template: '<ng-content></ng-content>',
|
|
44
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
45
|
+
inputs: RADIO_GROUP_INPUTS,
|
|
46
|
+
providers: [
|
|
47
|
+
{
|
|
48
|
+
provide: NG_VALUE_ACCESSOR,
|
|
49
|
+
useExisting: forwardRef((() => IonRadioGroup)),
|
|
50
|
+
multi: true,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
standalone: true,
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { handleIonChange: [{
|
|
56
|
+
type: HostListener,
|
|
57
|
+
args: ['ionChange', ['$event.target']]
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=radio-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/standalone/directives/radio-group.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,kBAAkB,GAAG,CAAC,qBAAqB,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAqBvG,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,aAAa;IAEa;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7C,CAAC;IAGD,eAAe,CAAC,EAA4B;QAC1C,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,aAAa;8GAAb,aAAa,0SATb;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,aAAa,EAAC;gBAC5C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,aAAa;IAnBzB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,kBAAkB;KAC3B,CAAC;GAgBW,aAAa,CAazB;;2FAbY,aAAa;kBAfzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,kBAAkB;oBAC1B,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,cAAc,EAAC;4BAC5C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,WAAW,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type { RadioGroupChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-radio-group.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RADIO_GROUP_INPUTS = ['allowEmptySelection', 'compareWith', 'errorText', 'helperText', 'name', 'value'];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RADIO_GROUP_INPUTS,\n})\n@Component({\n selector: 'ion-radio-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RADIO_GROUP_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRadioGroup),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRadioGroup extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonRadioGroupElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRadioGroup extends Components.IonRadioGroup {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<RadioGroupChangeEventDetail>>;\n}\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonRange extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonInput(el: HTMLIonRangeElement): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRange, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonRange, "ion-range", never, { "activeBarStart": { "alias": "activeBarStart"; "required": false; }; "color": { "alias": "color"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dualKnobs": { "alias": "dualKnobs"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pin": { "alias": "pin"; "required": false; }; "pinFormatter": { "alias": "pinFormatter"; "required": false; }; "snaps": { "alias": "snaps"; "required": false; }; "step": { "alias": "step"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare interface IonRange extends Components.IonRange {
|
|
14
|
+
/**
|
|
15
|
+
* The `ionChange` event is fired for `<ion-range>` elements when the user
|
|
16
|
+
modifies the element's value:
|
|
17
|
+
- When the user releases the knob after dragging;
|
|
18
|
+
- When the user moves the knob with keyboard arrows
|
|
19
|
+
|
|
20
|
+
`ionChange` is not fired when the value is changed programmatically.
|
|
21
|
+
*/
|
|
22
|
+
ionChange: EventEmitter<CustomEvent<RangeChangeEventDetail>>;
|
|
23
|
+
/**
|
|
24
|
+
* The `ionInput` event is fired for `<ion-range>` elements when the value
|
|
25
|
+
is modified. Unlike `ionChange`, `ionInput` is fired continuously
|
|
26
|
+
while the user is dragging the knob.
|
|
27
|
+
*/
|
|
28
|
+
ionInput: EventEmitter<CustomEvent<RangeChangeEventDetail>>;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the range has focus.
|
|
31
|
+
*/
|
|
32
|
+
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
33
|
+
/**
|
|
34
|
+
* Emitted when the range loses focus.
|
|
35
|
+
*/
|
|
36
|
+
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when the user starts moving the range knob, whether through
|
|
39
|
+
mouse drag, touch gesture, or keyboard interaction.
|
|
40
|
+
*/
|
|
41
|
+
ionKnobMoveStart: EventEmitter<CustomEvent<RangeKnobMoveStartEventDetail>>;
|
|
42
|
+
/**
|
|
43
|
+
* Emitted when the user finishes moving the range knob, whether through
|
|
44
|
+
mouse drag, touch gesture, or keyboard interaction.
|
|
45
|
+
*/
|
|
46
|
+
ionKnobMoveEnd: EventEmitter<CustomEvent<RangeKnobMoveEndEventDetail>>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
+
import { defineCustomElement } from '@ionic/core/components/ion-range.js';
|
|
6
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const RANGE_INPUTS = [
|
|
9
|
+
'activeBarStart',
|
|
10
|
+
'color',
|
|
11
|
+
'debounce',
|
|
12
|
+
'disabled',
|
|
13
|
+
'dualKnobs',
|
|
14
|
+
'label',
|
|
15
|
+
'labelPlacement',
|
|
16
|
+
'max',
|
|
17
|
+
'min',
|
|
18
|
+
'mode',
|
|
19
|
+
'name',
|
|
20
|
+
'pin',
|
|
21
|
+
'pinFormatter',
|
|
22
|
+
'snaps',
|
|
23
|
+
'step',
|
|
24
|
+
'ticks',
|
|
25
|
+
'value',
|
|
26
|
+
];
|
|
27
|
+
let IonRange = class IonRange extends ValueAccessor {
|
|
28
|
+
z;
|
|
29
|
+
el;
|
|
30
|
+
constructor(c, r, z, injector) {
|
|
31
|
+
super(injector, r);
|
|
32
|
+
this.z = z;
|
|
33
|
+
c.detach();
|
|
34
|
+
this.el = r.nativeElement;
|
|
35
|
+
proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
|
|
36
|
+
}
|
|
37
|
+
handleIonInput(el) {
|
|
38
|
+
this.handleValueChange(el, el.value);
|
|
39
|
+
}
|
|
40
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonRange, isStandalone: true, selector: "ion-range", inputs: { activeBarStart: "activeBarStart", color: "color", debounce: "debounce", disabled: "disabled", dualKnobs: "dualKnobs", label: "label", labelPlacement: "labelPlacement", max: "max", min: "min", mode: "mode", name: "name", pin: "pin", pinFormatter: "pinFormatter", snaps: "snaps", step: "step", ticks: "ticks", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
|
|
42
|
+
{
|
|
43
|
+
provide: NG_VALUE_ACCESSOR,
|
|
44
|
+
useExisting: forwardRef((() => IonRange)),
|
|
45
|
+
multi: true,
|
|
46
|
+
},
|
|
47
|
+
], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
|
+
};
|
|
49
|
+
IonRange = __decorate([
|
|
50
|
+
ProxyCmp({
|
|
51
|
+
defineCustomElementFn: defineCustomElement,
|
|
52
|
+
inputs: RANGE_INPUTS,
|
|
53
|
+
})
|
|
54
|
+
], IonRange);
|
|
55
|
+
export { IonRange };
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRange, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: 'ion-range',
|
|
60
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
+
template: '<ng-content></ng-content>',
|
|
62
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
63
|
+
inputs: RANGE_INPUTS,
|
|
64
|
+
providers: [
|
|
65
|
+
{
|
|
66
|
+
provide: NG_VALUE_ACCESSOR,
|
|
67
|
+
useExisting: forwardRef((() => IonRange)),
|
|
68
|
+
multi: true,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
standalone: true,
|
|
72
|
+
}]
|
|
73
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { handleIonInput: [{
|
|
74
|
+
type: HostListener,
|
|
75
|
+
args: ['ionInput', ['$event.target']]
|
|
76
|
+
}] } });
|
|
77
|
+
//# sourceMappingURL=range.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.js","sourceRoot":"","sources":["../../../src/standalone/directives/range.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAOtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,YAAY,GAAG;IACnB,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,UAAU;IACV,WAAW;IACX,OAAO;IACP,gBAAgB;IAChB,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,cAAc;IACd,OAAO;IACP,MAAM;IACN,OAAO;IACP,OAAO;CACR,CAAC;AAqBK,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,aAAa;IAEkB;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,CAAC,CAAC;IACtH,CAAC;IAGD,cAAc,CAAC,EAAuB;QACpC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,QAAQ;8GAAR,QAAQ,8cATR;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,QAAQ,EAAC;gBACvC,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,QAAQ;IAnBpB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,YAAY;KACrB,CAAC;GAgBW,QAAQ,CAapB;;2FAbY,QAAQ;kBAfpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,YAAY;oBACpB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,SAAS,EAAC;4BACvC,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,UAAU,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type {\n RangeChangeEventDetail,\n RangeKnobMoveStartEventDetail,\n RangeKnobMoveEndEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-range.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RANGE_INPUTS = [\n 'activeBarStart',\n 'color',\n 'debounce',\n 'disabled',\n 'dualKnobs',\n 'label',\n 'labelPlacement',\n 'max',\n 'min',\n 'mode',\n 'name',\n 'pin',\n 'pinFormatter',\n 'snaps',\n 'step',\n 'ticks',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RANGE_INPUTS,\n})\n@Component({\n selector: 'ion-range',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RANGE_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRange),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRange extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonRangeElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRange extends Components.IonRange {\n /**\n * The `ionChange` event is fired for `<ion-range>` elements when the user\nmodifies the element's value:\n- When the user releases the knob after dragging;\n- When the user moves the knob with keyboard arrows\n\n`ionChange` is not fired when the value is changed programmatically.\n */\n ionChange: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * The `ionInput` event is fired for `<ion-range>` elements when the value\nis modified. Unlike `ionChange`, `ionInput` is fired continuously\nwhile the user is dragging the knob.\n */\n ionInput: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * Emitted when the range has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the range loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the user starts moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveStart: EventEmitter<CustomEvent<RangeKnobMoveStartEventDetail>>;\n /**\n * Emitted when the user finishes moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveEnd: EventEmitter<CustomEvent<RangeKnobMoveEndEventDetail>>;\n}\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { SearchbarInputEventDetail, SearchbarChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonSearchbar extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonInput(el: HTMLIonSearchbarElement): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonSearchbar, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonSearchbar, "ion-searchbar", never, { "animated": { "alias": "animated"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "cancelButtonIcon": { "alias": "cancelButtonIcon"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "clearIcon": { "alias": "clearIcon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enterkeyhint": { "alias": "enterkeyhint"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchIcon": { "alias": "searchIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare interface IonSearchbar extends Components.IonSearchbar {
|
|
14
|
+
/**
|
|
15
|
+
* Emitted when the `value` of the `ion-searchbar` element has changed.
|
|
16
|
+
*/
|
|
17
|
+
ionInput: EventEmitter<CustomEvent<SearchbarInputEventDetail>>;
|
|
18
|
+
/**
|
|
19
|
+
* The `ionChange` event is fired for `<ion-searchbar>` elements when the user
|
|
20
|
+
modifies the element's value. Unlike the `ionInput` event, the `ionChange`
|
|
21
|
+
event is not necessarily fired for each alteration to an element's value.
|
|
22
|
+
|
|
23
|
+
The `ionChange` event is fired when the value has been committed
|
|
24
|
+
by the user. This can happen when the element loses focus or
|
|
25
|
+
when the "Enter" key is pressed. `ionChange` can also fire
|
|
26
|
+
when clicking the clear or cancel buttons.
|
|
27
|
+
*/
|
|
28
|
+
ionChange: EventEmitter<CustomEvent<SearchbarChangeEventDetail>>;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the cancel button is clicked.
|
|
31
|
+
*/
|
|
32
|
+
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
33
|
+
/**
|
|
34
|
+
* Emitted when the clear input button is clicked.
|
|
35
|
+
*/
|
|
36
|
+
ionClear: EventEmitter<CustomEvent<void>>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when the input loses focus.
|
|
39
|
+
*/
|
|
40
|
+
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
41
|
+
/**
|
|
42
|
+
* Emitted when the input has focus.
|
|
43
|
+
*/
|
|
44
|
+
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
+
import { defineCustomElement } from '@ionic/core/components/ion-searchbar.js';
|
|
6
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const SEARCHBAR_INPUTS = [
|
|
9
|
+
'animated',
|
|
10
|
+
'autocomplete',
|
|
11
|
+
'autocorrect',
|
|
12
|
+
'cancelButtonIcon',
|
|
13
|
+
'cancelButtonText',
|
|
14
|
+
'clearIcon',
|
|
15
|
+
'color',
|
|
16
|
+
'debounce',
|
|
17
|
+
'disabled',
|
|
18
|
+
'enterkeyhint',
|
|
19
|
+
'inputmode',
|
|
20
|
+
'mode',
|
|
21
|
+
'name',
|
|
22
|
+
'placeholder',
|
|
23
|
+
'searchIcon',
|
|
24
|
+
'showCancelButton',
|
|
25
|
+
'showClearButton',
|
|
26
|
+
'spellcheck',
|
|
27
|
+
'type',
|
|
28
|
+
'value',
|
|
29
|
+
];
|
|
30
|
+
let IonSearchbar = class IonSearchbar extends ValueAccessor {
|
|
31
|
+
z;
|
|
32
|
+
el;
|
|
33
|
+
constructor(c, r, z, injector) {
|
|
34
|
+
super(injector, r);
|
|
35
|
+
this.z = z;
|
|
36
|
+
c.detach();
|
|
37
|
+
this.el = r.nativeElement;
|
|
38
|
+
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
|
|
39
|
+
}
|
|
40
|
+
handleIonInput(el) {
|
|
41
|
+
this.handleValueChange(el, el.value);
|
|
42
|
+
}
|
|
43
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSearchbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSearchbar, isStandalone: true, selector: "ion-searchbar", inputs: { animated: "animated", autocomplete: "autocomplete", autocorrect: "autocorrect", cancelButtonIcon: "cancelButtonIcon", cancelButtonText: "cancelButtonText", clearIcon: "clearIcon", color: "color", debounce: "debounce", disabled: "disabled", enterkeyhint: "enterkeyhint", inputmode: "inputmode", mode: "mode", name: "name", placeholder: "placeholder", searchIcon: "searchIcon", showCancelButton: "showCancelButton", showClearButton: "showClearButton", spellcheck: "spellcheck", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
|
|
45
|
+
{
|
|
46
|
+
provide: NG_VALUE_ACCESSOR,
|
|
47
|
+
useExisting: forwardRef((() => IonSearchbar)),
|
|
48
|
+
multi: true,
|
|
49
|
+
},
|
|
50
|
+
], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
51
|
+
};
|
|
52
|
+
IonSearchbar = __decorate([
|
|
53
|
+
ProxyCmp({
|
|
54
|
+
defineCustomElementFn: defineCustomElement,
|
|
55
|
+
inputs: SEARCHBAR_INPUTS,
|
|
56
|
+
methods: ['setFocus', 'getInputElement'],
|
|
57
|
+
})
|
|
58
|
+
], IonSearchbar);
|
|
59
|
+
export { IonSearchbar };
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSearchbar, decorators: [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{
|
|
63
|
+
selector: 'ion-searchbar',
|
|
64
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
65
|
+
template: '<ng-content></ng-content>',
|
|
66
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
67
|
+
inputs: SEARCHBAR_INPUTS,
|
|
68
|
+
providers: [
|
|
69
|
+
{
|
|
70
|
+
provide: NG_VALUE_ACCESSOR,
|
|
71
|
+
useExisting: forwardRef((() => IonSearchbar)),
|
|
72
|
+
multi: true,
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
standalone: true,
|
|
76
|
+
}]
|
|
77
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { handleIonInput: [{
|
|
78
|
+
type: HostListener,
|
|
79
|
+
args: ['ionInput', ['$event.target']]
|
|
80
|
+
}] } });
|
|
81
|
+
//# sourceMappingURL=searchbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchbar.js","sourceRoot":"","sources":["../../../src/standalone/directives/searchbar.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,gBAAgB,GAAG;IACvB,UAAU;IACV,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,kBAAkB;IAClB,WAAW;IACX,OAAO;IACP,UAAU;IACV,UAAU;IACV,cAAc;IACd,WAAW;IACX,MAAM;IACN,MAAM;IACN,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,YAAY;IACZ,MAAM;IACN,OAAO;CACR,CAAC;AAsBK,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,aAAa;IAEc;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACzG,CAAC;IAGD,cAAc,CAAC,EAA2B;QACxC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,YAAY;8GAAZ,YAAY,woBATZ;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,YAAY,EAAC;gBAC3C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,YAAY;IApBxB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,gBAAgB;QACxB,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC,CAAC;GAgBW,YAAY,CAaxB;;2FAbY,YAAY;kBAfxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,gBAAgB;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,aAAa,EAAC;4BAC3C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,UAAU,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type { SearchbarInputEventDetail, SearchbarChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-searchbar.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEARCHBAR_INPUTS = [\n 'animated',\n 'autocomplete',\n 'autocorrect',\n 'cancelButtonIcon',\n 'cancelButtonText',\n 'clearIcon',\n 'color',\n 'debounce',\n 'disabled',\n 'enterkeyhint',\n 'inputmode',\n 'mode',\n 'name',\n 'placeholder',\n 'searchIcon',\n 'showCancelButton',\n 'showClearButton',\n 'spellcheck',\n 'type',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEARCHBAR_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-searchbar',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEARCHBAR_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSearchbar),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSearchbar extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonSearchbarElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSearchbar extends Components.IonSearchbar {\n /**\n * Emitted when the `value` of the `ion-searchbar` element has changed.\n */\n ionInput: EventEmitter<CustomEvent<SearchbarInputEventDetail>>;\n /**\n * The `ionChange` event is fired for `<ion-searchbar>` elements when the user\nmodifies the element's value. Unlike the `ionInput` event, the `ionChange`\nevent is not necessarily fired for each alteration to an element's value.\n\nThe `ionChange` event is fired when the value has been committed\nby the user. This can happen when the element loses focus or\nwhen the \"Enter\" key is pressed. `ionChange` can also fire\nwhen clicking the clear or cancel buttons.\n */\n ionChange: EventEmitter<CustomEvent<SearchbarChangeEventDetail>>;\n /**\n * Emitted when the cancel button is clicked.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the clear input button is clicked.\n */\n ionClear: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { SegmentChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonSegment extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonChange(el: HTMLIonSegmentElement): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonSegment, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonSegment, "ion-segment", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "swipeGesture": { "alias": "swipeGesture"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare interface IonSegment extends Components.IonSegment {
|
|
14
|
+
/**
|
|
15
|
+
* Emitted when the value property has changed and any
|
|
16
|
+
dragging pointer has been released from `ion-segment`.
|
|
17
|
+
*/
|
|
18
|
+
ionChange: EventEmitter<CustomEvent<SegmentChangeEventDetail>>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
+
import { defineCustomElement } from '@ionic/core/components/ion-segment.js';
|
|
6
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];
|
|
9
|
+
let IonSegment = class IonSegment extends ValueAccessor {
|
|
10
|
+
z;
|
|
11
|
+
el;
|
|
12
|
+
constructor(c, r, z, injector) {
|
|
13
|
+
super(injector, r);
|
|
14
|
+
this.z = z;
|
|
15
|
+
c.detach();
|
|
16
|
+
this.el = r.nativeElement;
|
|
17
|
+
proxyOutputs(this, this.el, ['ionChange']);
|
|
18
|
+
}
|
|
19
|
+
handleIonChange(el) {
|
|
20
|
+
this.handleValueChange(el, el.value);
|
|
21
|
+
}
|
|
22
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSegment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSegment, isStandalone: true, selector: "ion-segment", inputs: { color: "color", disabled: "disabled", mode: "mode", scrollable: "scrollable", selectOnFocus: "selectOnFocus", swipeGesture: "swipeGesture", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: NG_VALUE_ACCESSOR,
|
|
26
|
+
useExisting: forwardRef((() => IonSegment)),
|
|
27
|
+
multi: true,
|
|
28
|
+
},
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
|
+
};
|
|
31
|
+
IonSegment = __decorate([
|
|
32
|
+
ProxyCmp({
|
|
33
|
+
defineCustomElementFn: defineCustomElement,
|
|
34
|
+
inputs: SEGMENT_INPUTS,
|
|
35
|
+
})
|
|
36
|
+
], IonSegment);
|
|
37
|
+
export { IonSegment };
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSegment, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'ion-segment',
|
|
42
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
+
template: '<ng-content></ng-content>',
|
|
44
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
45
|
+
inputs: SEGMENT_INPUTS,
|
|
46
|
+
providers: [
|
|
47
|
+
{
|
|
48
|
+
provide: NG_VALUE_ACCESSOR,
|
|
49
|
+
useExisting: forwardRef((() => IonSegment)),
|
|
50
|
+
multi: true,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
standalone: true,
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { handleIonChange: [{
|
|
56
|
+
type: HostListener,
|
|
57
|
+
args: ['ionChange', ['$event.target']]
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=segment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segment.js","sourceRoot":"","sources":["../../../src/standalone/directives/segment.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;AAqBtG,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,aAAa;IAEgB;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7C,CAAC;IAGD,eAAe,CAAC,EAAyB;QACvC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,UAAU;8GAAV,UAAU,0SATV;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,UAAU,EAAC;gBACzC,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,UAAU;IAnBtB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,cAAc;KACvB,CAAC;GAgBW,UAAU,CAatB;;2FAbY,UAAU;kBAftB,SAAS;mBAAC;oBACT,QAAQ,EAAE,aAAa;oBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,cAAc;oBACtB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,WAAW,EAAC;4BACzC,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,WAAW,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type { SegmentChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-segment.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEGMENT_INPUTS,\n})\n@Component({\n selector: 'ion-segment',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEGMENT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSegment),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSegment extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSegmentElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSegment extends Components.IonSegment {\n /**\n * Emitted when the value property has changed and any\ndragging pointer has been released from `ion-segment`.\n */\n ionChange: EventEmitter<CustomEvent<SegmentChangeEventDetail>>;\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { SelectChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonSelect extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonChange(el: HTMLIonSelectElement): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonSelect, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonSelect, "ion-select", never, { "cancelText": { "alias": "cancelText"; "required": false; }; "color": { "alias": "color"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "expandedIcon": { "alias": "expandedIcon"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "interface": { "alias": "interface"; "required": false; }; "interfaceOptions": { "alias": "interfaceOptions"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "okText": { "alias": "okText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "selectedText": { "alias": "selectedText"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare interface IonSelect extends Components.IonSelect {
|
|
14
|
+
/**
|
|
15
|
+
* Emitted when the value has changed.
|
|
16
|
+
*/
|
|
17
|
+
ionChange: EventEmitter<CustomEvent<SelectChangeEventDetail>>;
|
|
18
|
+
/**
|
|
19
|
+
* Emitted when the selection is cancelled.
|
|
20
|
+
*/
|
|
21
|
+
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
22
|
+
/**
|
|
23
|
+
* Emitted when the overlay is dismissed.
|
|
24
|
+
*/
|
|
25
|
+
ionDismiss: EventEmitter<CustomEvent<void>>;
|
|
26
|
+
/**
|
|
27
|
+
* Emitted when the select has focus.
|
|
28
|
+
*/
|
|
29
|
+
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
30
|
+
/**
|
|
31
|
+
* Emitted when the select loses focus.
|
|
32
|
+
*/
|
|
33
|
+
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
+
import { defineCustomElement } from '@ionic/core/components/ion-select.js';
|
|
6
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const SELECT_INPUTS = [
|
|
9
|
+
'cancelText',
|
|
10
|
+
'color',
|
|
11
|
+
'compareWith',
|
|
12
|
+
'disabled',
|
|
13
|
+
'errorText',
|
|
14
|
+
'expandedIcon',
|
|
15
|
+
'fill',
|
|
16
|
+
'helperText',
|
|
17
|
+
'interface',
|
|
18
|
+
'interfaceOptions',
|
|
19
|
+
'justify',
|
|
20
|
+
'label',
|
|
21
|
+
'labelPlacement',
|
|
22
|
+
'mode',
|
|
23
|
+
'multiple',
|
|
24
|
+
'name',
|
|
25
|
+
'okText',
|
|
26
|
+
'placeholder',
|
|
27
|
+
'selectedText',
|
|
28
|
+
'shape',
|
|
29
|
+
'toggleIcon',
|
|
30
|
+
'value',
|
|
31
|
+
];
|
|
32
|
+
let IonSelect = class IonSelect extends ValueAccessor {
|
|
33
|
+
z;
|
|
34
|
+
el;
|
|
35
|
+
constructor(c, r, z, injector) {
|
|
36
|
+
super(injector, r);
|
|
37
|
+
this.z = z;
|
|
38
|
+
c.detach();
|
|
39
|
+
this.el = r.nativeElement;
|
|
40
|
+
proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
|
|
41
|
+
}
|
|
42
|
+
handleIonChange(el) {
|
|
43
|
+
this.handleValueChange(el, el.value);
|
|
44
|
+
}
|
|
45
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSelect, isStandalone: true, selector: "ion-select", inputs: { cancelText: "cancelText", color: "color", compareWith: "compareWith", disabled: "disabled", errorText: "errorText", expandedIcon: "expandedIcon", fill: "fill", helperText: "helperText", interface: "interface", interfaceOptions: "interfaceOptions", justify: "justify", label: "label", labelPlacement: "labelPlacement", mode: "mode", multiple: "multiple", name: "name", okText: "okText", placeholder: "placeholder", selectedText: "selectedText", shape: "shape", toggleIcon: "toggleIcon", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
47
|
+
{
|
|
48
|
+
provide: NG_VALUE_ACCESSOR,
|
|
49
|
+
useExisting: forwardRef((() => IonSelect)),
|
|
50
|
+
multi: true,
|
|
51
|
+
},
|
|
52
|
+
], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
};
|
|
54
|
+
IonSelect = __decorate([
|
|
55
|
+
ProxyCmp({
|
|
56
|
+
defineCustomElementFn: defineCustomElement,
|
|
57
|
+
inputs: SELECT_INPUTS,
|
|
58
|
+
methods: ['open'],
|
|
59
|
+
})
|
|
60
|
+
], IonSelect);
|
|
61
|
+
export { IonSelect };
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSelect, decorators: [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{
|
|
65
|
+
selector: 'ion-select',
|
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
|
+
template: '<ng-content></ng-content>',
|
|
68
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
69
|
+
inputs: SELECT_INPUTS,
|
|
70
|
+
providers: [
|
|
71
|
+
{
|
|
72
|
+
provide: NG_VALUE_ACCESSOR,
|
|
73
|
+
useExisting: forwardRef((() => IonSelect)),
|
|
74
|
+
multi: true,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
standalone: true,
|
|
78
|
+
}]
|
|
79
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { handleIonChange: [{
|
|
80
|
+
type: HostListener,
|
|
81
|
+
args: ['ionChange', ['$event.target']]
|
|
82
|
+
}] } });
|
|
83
|
+
//# sourceMappingURL=select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/standalone/directives/select.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,OAAO;IACP,aAAa;IACb,UAAU;IACV,WAAW;IACX,cAAc;IACd,MAAM;IACN,YAAY;IACZ,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,UAAU;IACV,MAAM;IACN,QAAQ;IACR,aAAa;IACb,cAAc;IACd,OAAO;IACP,YAAY;IACZ,OAAO;CACR,CAAC;AAsBK,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,aAAa;IAEiB;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;IAC/F,CAAC;IAGD,eAAe,CAAC,EAAwB;QACtC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,SAAS;8GAAT,SAAS,moBATT;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,SAAS,EAAC;gBACxC,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,SAAS;IApBrB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,CAAC,MAAM,CAAC;KAClB,CAAC;GAgBW,SAAS,CAarB;;2FAbY,SAAS;kBAfrB,SAAS;mBAAC;oBACT,QAAQ,EAAE,YAAY;oBACtB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,aAAa;oBACrB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,UAAU,EAAC;4BACxC,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,WAAW,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type { SelectChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-select.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SELECT_INPUTS = [\n 'cancelText',\n 'color',\n 'compareWith',\n 'disabled',\n 'errorText',\n 'expandedIcon',\n 'fill',\n 'helperText',\n 'interface',\n 'interfaceOptions',\n 'justify',\n 'label',\n 'labelPlacement',\n 'mode',\n 'multiple',\n 'name',\n 'okText',\n 'placeholder',\n 'selectedText',\n 'shape',\n 'toggleIcon',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SELECT_INPUTS,\n methods: ['open'],\n})\n@Component({\n selector: 'ion-select',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SELECT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSelect),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSelect extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSelectElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSelect extends Components.IonSelect {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<SelectChangeEventDetail>>;\n /**\n * Emitted when the selection is cancelled.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the overlay is dismissed.\n */\n ionDismiss: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
|