@ionic/angular 9.0.10 → 9.0.11-dev.11793705116.185a3203
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/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/common/directives/control-value-accessors/value-accessor.js +3 -3
- package/dist/common/directives/navigation/back-button.d.ts +1 -0
- package/dist/common/directives/navigation/back-button.js +17 -6
- package/dist/common/directives/navigation/back-button.js.map +1 -1
- package/dist/common/directives/navigation/nav.d.ts +2 -0
- package/dist/common/directives/navigation/nav.js +14 -6
- package/dist/common/directives/navigation/nav.js.map +1 -1
- package/dist/common/directives/navigation/router-link-delegate.js +6 -6
- package/dist/common/directives/navigation/router-outlet.d.ts +2 -0
- package/dist/common/directives/navigation/router-outlet.js +15 -9
- package/dist/common/directives/navigation/router-outlet.js.map +1 -1
- package/dist/common/directives/navigation/tabs.js +3 -3
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/overlays/modal.d.ts +9 -0
- package/dist/common/overlays/modal.js +16 -14
- package/dist/common/overlays/modal.js.map +1 -1
- package/dist/common/overlays/popover.d.ts +12 -1
- package/dist/common/overlays/popover.js +18 -15
- package/dist/common/overlays/popover.js.map +1 -1
- package/dist/common/providers/angular-delegate.d.ts +1 -1
- package/dist/common/providers/angular-delegate.js +3 -3
- package/dist/common/providers/config.d.ts +1 -1
- package/dist/common/providers/config.js +3 -3
- package/dist/common/providers/dom-controller.d.ts +1 -1
- package/dist/common/providers/dom-controller.js +3 -3
- package/dist/common/providers/nav-controller.d.ts +1 -1
- package/dist/common/providers/nav-controller.js +3 -3
- package/dist/common/providers/platform.d.ts +1 -1
- package/dist/common/providers/platform.js +3 -3
- package/dist/common/utils/boolean-attribute.d.ts +19 -0
- package/dist/common/utils/boolean-attribute.js +31 -0
- package/dist/common/utils/boolean-attribute.js.map +1 -0
- package/dist/common/utils/proxy.d.ts +7 -0
- package/dist/common/utils/proxy.js +5 -0
- package/dist/common/utils/proxy.js.map +1 -1
- package/dist/lazy/directives/angular-component-lib/boolean-attribute.d.ts +35 -0
- package/dist/lazy/directives/angular-component-lib/boolean-attribute.js +43 -0
- package/dist/lazy/directives/angular-component-lib/boolean-attribute.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js +3 -3
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js +3 -3
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js +3 -3
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js +3 -3
- package/dist/lazy/directives/navigation/ion-back-button.js +3 -3
- package/dist/lazy/directives/navigation/ion-nav.js +3 -3
- package/dist/lazy/directives/navigation/ion-router-outlet.js +3 -3
- package/dist/lazy/directives/navigation/ion-tabs.js +3 -3
- package/dist/lazy/directives/navigation/router-link-delegate.js +6 -6
- package/dist/lazy/directives/overlays/modal.js +3 -3
- package/dist/lazy/directives/overlays/popover.js +3 -3
- package/dist/lazy/directives/proxies-list.d.ts +1 -1
- package/dist/lazy/directives/proxies-list.js +3 -0
- package/dist/lazy/directives/proxies-list.js.map +1 -1
- package/dist/lazy/directives/proxies.d.ts +262 -84
- package/dist/lazy/directives/proxies.js +514 -418
- package/dist/lazy/directives/proxies.js.map +1 -1
- package/dist/lazy/directives/validators/max-validator.js +3 -3
- package/dist/lazy/directives/validators/min-validator.js +3 -3
- package/dist/lazy/ionic-module.d.ts +1 -1
- package/dist/lazy/ionic-module.js +5 -5
- package/dist/lazy/providers/action-sheet-controller.d.ts +1 -1
- package/dist/lazy/providers/action-sheet-controller.js +3 -3
- package/dist/lazy/providers/alert-controller.d.ts +1 -1
- package/dist/lazy/providers/alert-controller.js +3 -3
- package/dist/lazy/providers/animation-controller.d.ts +1 -1
- package/dist/lazy/providers/animation-controller.js +3 -3
- package/dist/lazy/providers/gesture-controller.d.ts +1 -1
- package/dist/lazy/providers/gesture-controller.js +3 -3
- package/dist/lazy/providers/loading-controller.d.ts +1 -1
- package/dist/lazy/providers/loading-controller.js +3 -3
- package/dist/lazy/providers/menu-controller.d.ts +1 -1
- package/dist/lazy/providers/menu-controller.js +3 -3
- package/dist/lazy/providers/modal-controller.d.ts +1 -1
- package/dist/lazy/providers/modal-controller.js +3 -3
- package/dist/lazy/providers/toast-controller.d.ts +1 -1
- package/dist/lazy/providers/toast-controller.js +3 -3
- package/dist/standalone/directives/angular-component-lib/boolean-attribute.d.ts +35 -0
- package/dist/standalone/directives/angular-component-lib/boolean-attribute.js +43 -0
- package/dist/standalone/directives/angular-component-lib/boolean-attribute.js.map +1 -0
- package/dist/standalone/directives/checkbox.d.ts +5 -1
- package/dist/standalone/directives/checkbox.js +11 -8
- package/dist/standalone/directives/checkbox.js.map +1 -1
- package/dist/standalone/directives/datetime.d.ts +9 -0
- package/dist/standalone/directives/datetime.js +16 -14
- package/dist/standalone/directives/datetime.js.map +1 -1
- package/dist/standalone/directives/icon.d.ts +3 -0
- package/dist/standalone/directives/icon.js +21 -5
- package/dist/standalone/directives/icon.js.map +1 -1
- package/dist/standalone/directives/input-otp.d.ts +2 -0
- package/dist/standalone/directives/input-otp.js +9 -7
- package/dist/standalone/directives/input-otp.js.map +1 -1
- package/dist/standalone/directives/input.d.ts +10 -0
- package/dist/standalone/directives/input.js +17 -15
- package/dist/standalone/directives/input.js.map +1 -1
- package/dist/standalone/directives/ion-accordion-group.d.ts +5 -1
- package/dist/standalone/directives/ion-accordion-group.js +6 -5
- package/dist/standalone/directives/ion-accordion-group.js.map +1 -1
- package/dist/standalone/directives/ion-accordion.d.ts +3 -1
- package/dist/standalone/directives/ion-accordion.js +6 -5
- package/dist/standalone/directives/ion-accordion.js.map +1 -1
- package/dist/standalone/directives/ion-action-sheet.d.ts +6 -1
- package/dist/standalone/directives/ion-action-sheet.js +6 -5
- package/dist/standalone/directives/ion-action-sheet.js.map +1 -1
- package/dist/standalone/directives/ion-alert.d.ts +6 -1
- package/dist/standalone/directives/ion-alert.js +6 -5
- package/dist/standalone/directives/ion-alert.js.map +1 -1
- package/dist/standalone/directives/ion-app.d.ts +1 -1
- package/dist/standalone/directives/ion-app.js +5 -4
- package/dist/standalone/directives/ion-app.js.map +1 -1
- package/dist/standalone/directives/ion-avatar.d.ts +2 -1
- package/dist/standalone/directives/ion-avatar.js +7 -5
- package/dist/standalone/directives/ion-avatar.js.map +1 -1
- package/dist/standalone/directives/ion-backdrop.d.ts +4 -1
- package/dist/standalone/directives/ion-backdrop.js +6 -5
- package/dist/standalone/directives/ion-backdrop.js.map +1 -1
- package/dist/standalone/directives/ion-badge.d.ts +1 -1
- package/dist/standalone/directives/ion-badge.js +5 -5
- package/dist/standalone/directives/ion-badge.js.map +1 -1
- package/dist/standalone/directives/ion-breadcrumb.d.ts +4 -1
- package/dist/standalone/directives/ion-breadcrumb.js +6 -5
- package/dist/standalone/directives/ion-breadcrumb.js.map +1 -1
- package/dist/standalone/directives/ion-breadcrumbs.d.ts +1 -1
- package/dist/standalone/directives/ion-breadcrumbs.js +5 -5
- package/dist/standalone/directives/ion-breadcrumbs.js.map +1 -1
- package/dist/standalone/directives/ion-button.d.ts +3 -1
- package/dist/standalone/directives/ion-button.js +6 -5
- package/dist/standalone/directives/ion-button.js.map +1 -1
- package/dist/standalone/directives/ion-buttons.d.ts +2 -1
- package/dist/standalone/directives/ion-buttons.js +6 -5
- package/dist/standalone/directives/ion-buttons.js.map +1 -1
- package/dist/standalone/directives/ion-card-content.d.ts +1 -1
- package/dist/standalone/directives/ion-card-content.js +5 -5
- package/dist/standalone/directives/ion-card-content.js.map +1 -1
- package/dist/standalone/directives/ion-card-header.d.ts +2 -1
- package/dist/standalone/directives/ion-card-header.js +6 -5
- package/dist/standalone/directives/ion-card-header.js.map +1 -1
- package/dist/standalone/directives/ion-card-subtitle.d.ts +1 -1
- package/dist/standalone/directives/ion-card-subtitle.js +5 -5
- package/dist/standalone/directives/ion-card-subtitle.js.map +1 -1
- package/dist/standalone/directives/ion-card-title.d.ts +1 -1
- package/dist/standalone/directives/ion-card-title.js +5 -5
- package/dist/standalone/directives/ion-card-title.js.map +1 -1
- package/dist/standalone/directives/ion-card.d.ts +3 -1
- package/dist/standalone/directives/ion-card.js +6 -5
- package/dist/standalone/directives/ion-card.js.map +1 -1
- package/dist/standalone/directives/ion-chip.d.ts +3 -1
- package/dist/standalone/directives/ion-chip.js +6 -5
- package/dist/standalone/directives/ion-chip.js.map +1 -1
- package/dist/standalone/directives/ion-col.d.ts +1 -1
- package/dist/standalone/directives/ion-col.js +5 -5
- package/dist/standalone/directives/ion-col.js.map +1 -1
- package/dist/standalone/directives/ion-content.d.ts +6 -1
- package/dist/standalone/directives/ion-content.js +6 -5
- package/dist/standalone/directives/ion-content.js.map +1 -1
- package/dist/standalone/directives/ion-datetime-button.d.ts +2 -1
- package/dist/standalone/directives/ion-datetime-button.js +6 -5
- package/dist/standalone/directives/ion-datetime-button.js.map +1 -1
- package/dist/standalone/directives/ion-divider.d.ts +13 -0
- package/dist/standalone/directives/ion-divider.js +37 -0
- package/dist/standalone/directives/ion-divider.js.map +1 -0
- package/dist/standalone/directives/ion-fab-button.d.ts +5 -1
- package/dist/standalone/directives/ion-fab-button.js +6 -5
- package/dist/standalone/directives/ion-fab-button.js.map +1 -1
- package/dist/standalone/directives/ion-fab-list.d.ts +2 -1
- package/dist/standalone/directives/ion-fab-list.js +6 -5
- package/dist/standalone/directives/ion-fab-list.js.map +1 -1
- package/dist/standalone/directives/ion-fab.d.ts +3 -1
- package/dist/standalone/directives/ion-fab.js +6 -5
- package/dist/standalone/directives/ion-fab.js.map +1 -1
- package/dist/standalone/directives/ion-footer.d.ts +2 -1
- package/dist/standalone/directives/ion-footer.js +6 -5
- package/dist/standalone/directives/ion-footer.js.map +1 -1
- package/dist/standalone/directives/ion-gallery-item.d.ts +12 -0
- package/dist/standalone/directives/ion-gallery-item.js +36 -0
- package/dist/standalone/directives/ion-gallery-item.js.map +1 -0
- package/dist/standalone/directives/ion-gallery.d.ts +12 -0
- package/dist/standalone/directives/ion-gallery.js +36 -0
- package/dist/standalone/directives/ion-gallery.js.map +1 -0
- package/dist/standalone/directives/ion-grid.d.ts +2 -1
- package/dist/standalone/directives/ion-grid.js +6 -5
- package/dist/standalone/directives/ion-grid.js.map +1 -1
- package/dist/standalone/directives/ion-header.d.ts +3 -1
- package/dist/standalone/directives/ion-header.js +6 -5
- package/dist/standalone/directives/ion-header.js.map +1 -1
- package/dist/standalone/directives/ion-img.d.ts +1 -1
- package/dist/standalone/directives/ion-img.js +5 -5
- package/dist/standalone/directives/ion-img.js.map +1 -1
- package/dist/standalone/directives/ion-infinite-scroll-content.d.ts +1 -1
- package/dist/standalone/directives/ion-infinite-scroll-content.js +5 -5
- package/dist/standalone/directives/ion-infinite-scroll-content.js.map +1 -1
- package/dist/standalone/directives/ion-infinite-scroll.d.ts +3 -1
- package/dist/standalone/directives/ion-infinite-scroll.js +6 -5
- package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -1
- package/dist/standalone/directives/ion-input-password-toggle.js +3 -3
- package/dist/standalone/directives/ion-item-divider.d.ts +2 -1
- package/dist/standalone/directives/ion-item-divider.js +6 -5
- package/dist/standalone/directives/ion-item-divider.js.map +1 -1
- package/dist/standalone/directives/ion-item-group.d.ts +1 -1
- package/dist/standalone/directives/ion-item-group.js +6 -5
- package/dist/standalone/directives/ion-item-group.js.map +1 -1
- package/dist/standalone/directives/ion-item-option.d.ts +3 -1
- package/dist/standalone/directives/ion-item-option.js +6 -5
- package/dist/standalone/directives/ion-item-option.js.map +1 -1
- package/dist/standalone/directives/ion-item-options.d.ts +1 -1
- package/dist/standalone/directives/ion-item-options.js +5 -5
- package/dist/standalone/directives/ion-item-options.js.map +1 -1
- package/dist/standalone/directives/ion-item-sliding.d.ts +2 -1
- package/dist/standalone/directives/ion-item-sliding.js +6 -5
- package/dist/standalone/directives/ion-item-sliding.js.map +1 -1
- package/dist/standalone/directives/ion-item.d.ts +4 -1
- package/dist/standalone/directives/ion-item.js +6 -5
- package/dist/standalone/directives/ion-item.js.map +1 -1
- package/dist/standalone/directives/ion-label.d.ts +1 -1
- package/dist/standalone/directives/ion-label.js +5 -5
- package/dist/standalone/directives/ion-label.js.map +1 -1
- package/dist/standalone/directives/ion-list-header.d.ts +1 -1
- package/dist/standalone/directives/ion-list-header.js +5 -5
- package/dist/standalone/directives/ion-list-header.js.map +1 -1
- package/dist/standalone/directives/ion-list.d.ts +2 -1
- package/dist/standalone/directives/ion-list.js +6 -5
- package/dist/standalone/directives/ion-list.js.map +1 -1
- package/dist/standalone/directives/ion-loading.d.ts +7 -1
- package/dist/standalone/directives/ion-loading.js +6 -5
- package/dist/standalone/directives/ion-loading.js.map +1 -1
- package/dist/standalone/directives/ion-menu-button.d.ts +3 -1
- package/dist/standalone/directives/ion-menu-button.js +6 -5
- package/dist/standalone/directives/ion-menu-button.js.map +1 -1
- package/dist/standalone/directives/ion-menu-toggle.d.ts +2 -1
- package/dist/standalone/directives/ion-menu-toggle.js +6 -5
- package/dist/standalone/directives/ion-menu-toggle.js.map +1 -1
- package/dist/standalone/directives/ion-menu.d.ts +3 -1
- package/dist/standalone/directives/ion-menu.js +6 -5
- package/dist/standalone/directives/ion-menu.js.map +1 -1
- package/dist/standalone/directives/ion-nav-link.d.ts +1 -1
- package/dist/standalone/directives/ion-nav-link.js +5 -5
- package/dist/standalone/directives/ion-nav-link.js.map +1 -1
- package/dist/standalone/directives/ion-note.d.ts +1 -1
- package/dist/standalone/directives/ion-note.js +5 -5
- package/dist/standalone/directives/ion-note.js.map +1 -1
- package/dist/standalone/directives/ion-picker-column-option.d.ts +2 -1
- package/dist/standalone/directives/ion-picker-column-option.js +6 -5
- package/dist/standalone/directives/ion-picker-column-option.js.map +1 -1
- package/dist/standalone/directives/ion-picker-column.d.ts +2 -1
- package/dist/standalone/directives/ion-picker-column.js +6 -5
- package/dist/standalone/directives/ion-picker-column.js.map +1 -1
- package/dist/standalone/directives/ion-picker.d.ts +1 -1
- package/dist/standalone/directives/ion-picker.js +5 -5
- package/dist/standalone/directives/ion-picker.js.map +1 -1
- package/dist/standalone/directives/ion-progress-bar.d.ts +2 -1
- package/dist/standalone/directives/ion-progress-bar.js +6 -5
- package/dist/standalone/directives/ion-progress-bar.js.map +1 -1
- package/dist/standalone/directives/ion-radio.d.ts +2 -1
- package/dist/standalone/directives/ion-radio.js +6 -5
- package/dist/standalone/directives/ion-radio.js.map +1 -1
- package/dist/standalone/directives/ion-refresher-content.d.ts +1 -1
- package/dist/standalone/directives/ion-refresher-content.js +5 -5
- package/dist/standalone/directives/ion-refresher-content.js.map +1 -1
- package/dist/standalone/directives/ion-refresher.d.ts +2 -1
- package/dist/standalone/directives/ion-refresher.js +6 -5
- package/dist/standalone/directives/ion-refresher.js.map +1 -1
- package/dist/standalone/directives/ion-reorder-group.d.ts +2 -1
- package/dist/standalone/directives/ion-reorder-group.js +6 -5
- package/dist/standalone/directives/ion-reorder-group.js.map +1 -1
- package/dist/standalone/directives/ion-reorder.d.ts +1 -1
- package/dist/standalone/directives/ion-reorder.js +6 -5
- package/dist/standalone/directives/ion-reorder.js.map +1 -1
- package/dist/standalone/directives/ion-ripple-effect.d.ts +1 -1
- package/dist/standalone/directives/ion-ripple-effect.js +5 -5
- package/dist/standalone/directives/ion-ripple-effect.js.map +1 -1
- package/dist/standalone/directives/ion-row.d.ts +1 -1
- package/dist/standalone/directives/ion-row.js +6 -5
- package/dist/standalone/directives/ion-row.js.map +1 -1
- package/dist/standalone/directives/ion-segment-button.d.ts +2 -1
- package/dist/standalone/directives/ion-segment-button.js +6 -5
- package/dist/standalone/directives/ion-segment-button.js.map +1 -1
- package/dist/standalone/directives/ion-segment-content.js +3 -3
- package/dist/standalone/directives/ion-segment-view.d.ts +2 -0
- package/dist/standalone/directives/ion-segment-view.js +5 -4
- package/dist/standalone/directives/ion-segment-view.js.map +1 -1
- package/dist/standalone/directives/ion-select-modal.d.ts +3 -1
- package/dist/standalone/directives/ion-select-modal.js +6 -5
- package/dist/standalone/directives/ion-select-modal.js.map +1 -1
- package/dist/standalone/directives/ion-select-option.d.ts +2 -1
- package/dist/standalone/directives/ion-select-option.js +6 -5
- package/dist/standalone/directives/ion-select-option.js.map +1 -1
- package/dist/standalone/directives/ion-skeleton-text.d.ts +2 -1
- package/dist/standalone/directives/ion-skeleton-text.js +6 -5
- package/dist/standalone/directives/ion-skeleton-text.js.map +1 -1
- package/dist/standalone/directives/ion-spinner.d.ts +2 -1
- package/dist/standalone/directives/ion-spinner.js +6 -5
- package/dist/standalone/directives/ion-spinner.js.map +1 -1
- package/dist/standalone/directives/ion-split-pane.d.ts +2 -1
- package/dist/standalone/directives/ion-split-pane.js +6 -5
- package/dist/standalone/directives/ion-split-pane.js.map +1 -1
- package/dist/standalone/directives/ion-tab-bar.d.ts +2 -1
- package/dist/standalone/directives/ion-tab-bar.js +6 -5
- package/dist/standalone/directives/ion-tab-bar.js.map +1 -1
- package/dist/standalone/directives/ion-tab-button.d.ts +3 -1
- package/dist/standalone/directives/ion-tab-button.js +6 -5
- package/dist/standalone/directives/ion-tab-button.js.map +1 -1
- package/dist/standalone/directives/ion-tab.d.ts +1 -1
- package/dist/standalone/directives/ion-tab.js +5 -5
- package/dist/standalone/directives/ion-tab.js.map +1 -1
- package/dist/standalone/directives/ion-text.d.ts +1 -1
- package/dist/standalone/directives/ion-text.js +5 -5
- package/dist/standalone/directives/ion-text.js.map +1 -1
- package/dist/standalone/directives/ion-thumbnail.d.ts +1 -1
- package/dist/standalone/directives/ion-thumbnail.js +6 -5
- package/dist/standalone/directives/ion-thumbnail.js.map +1 -1
- package/dist/standalone/directives/ion-title.d.ts +1 -1
- package/dist/standalone/directives/ion-title.js +5 -5
- package/dist/standalone/directives/ion-title.js.map +1 -1
- package/dist/standalone/directives/ion-toast.d.ts +5 -1
- package/dist/standalone/directives/ion-toast.js +6 -5
- package/dist/standalone/directives/ion-toast.js.map +1 -1
- package/dist/standalone/directives/ion-toolbar.d.ts +1 -1
- package/dist/standalone/directives/ion-toolbar.js +5 -5
- package/dist/standalone/directives/ion-toolbar.js.map +1 -1
- package/dist/standalone/directives/proxies.d.ts +3 -0
- package/dist/standalone/directives/proxies.js +3 -0
- package/dist/standalone/directives/proxies.js.map +1 -1
- package/dist/standalone/directives/radio-group.d.ts +1 -0
- package/dist/standalone/directives/radio-group.js +15 -6
- package/dist/standalone/directives/radio-group.js.map +1 -1
- package/dist/standalone/directives/range.d.ts +5 -0
- package/dist/standalone/directives/range.js +12 -10
- package/dist/standalone/directives/range.js.map +1 -1
- package/dist/standalone/directives/searchbar.d.ts +4 -0
- package/dist/standalone/directives/searchbar.js +11 -9
- package/dist/standalone/directives/searchbar.js.map +1 -1
- package/dist/standalone/directives/segment.d.ts +4 -0
- package/dist/standalone/directives/segment.js +16 -6
- package/dist/standalone/directives/segment.js.map +1 -1
- package/dist/standalone/directives/select.d.ts +5 -1
- package/dist/standalone/directives/select.js +11 -7
- package/dist/standalone/directives/select.js.map +1 -1
- package/dist/standalone/directives/textarea.d.ts +8 -0
- package/dist/standalone/directives/textarea.js +15 -13
- package/dist/standalone/directives/textarea.js.map +1 -1
- package/dist/standalone/directives/toggle.d.ts +5 -1
- package/dist/standalone/directives/toggle.js +11 -8
- package/dist/standalone/directives/toggle.js.map +1 -1
- package/dist/standalone/navigation/back-button.js +3 -3
- package/dist/standalone/navigation/nav.js +3 -3
- package/dist/standalone/navigation/router-link-delegate.js +6 -6
- package/dist/standalone/navigation/router-outlet.js +3 -3
- package/dist/standalone/navigation/tabs.js +3 -3
- package/dist/standalone/overlays/modal.js +3 -3
- package/dist/standalone/overlays/popover.js +3 -3
- package/dist/standalone/providers/action-sheet-controller.d.ts +1 -1
- package/dist/standalone/providers/action-sheet-controller.js +3 -3
- package/dist/standalone/providers/alert-controller.d.ts +1 -1
- package/dist/standalone/providers/alert-controller.js +3 -3
- package/dist/standalone/providers/animation-controller.d.ts +1 -1
- package/dist/standalone/providers/animation-controller.js +3 -3
- package/dist/standalone/providers/gesture-controller.d.ts +1 -1
- package/dist/standalone/providers/gesture-controller.js +3 -3
- package/dist/standalone/providers/loading-controller.d.ts +1 -1
- package/dist/standalone/providers/loading-controller.js +3 -3
- package/dist/standalone/providers/menu-controller.d.ts +1 -1
- package/dist/standalone/providers/menu-controller.js +3 -3
- package/dist/standalone/providers/modal-controller.d.ts +1 -1
- package/dist/standalone/providers/modal-controller.js +3 -3
- package/dist/standalone/providers/toast-controller.d.ts +1 -1
- package/dist/standalone/providers/toast-controller.js +3 -3
- package/package.json +5 -2
|
@@ -11,10 +11,10 @@ export const ION_MAX_VALIDATOR = {
|
|
|
11
11
|
multi: true,
|
|
12
12
|
};
|
|
13
13
|
export class IonMaxValidator extends MaxValidator {
|
|
14
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
15
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
14
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonMaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: IonMaxValidator, isStandalone: false, selector: "ion-input[type=number][max][formControlName],ion-input[type=number][max][formControl],ion-input[type=number][max][ngModel]", host: { properties: { "attr.max": "enabled(max) ? max : null" } }, providers: [ION_MAX_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonMaxValidator, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
standalone: false,
|
|
@@ -11,10 +11,10 @@ export const ION_MIN_VALIDATOR = {
|
|
|
11
11
|
multi: true,
|
|
12
12
|
};
|
|
13
13
|
export class IonMinValidator extends MinValidator {
|
|
14
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
15
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
14
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonMinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: IonMinValidator, isStandalone: false, selector: "ion-input[type=number][min][formControlName],ion-input[type=number][min][formControl],ion-input[type=number][min][ngModel]", host: { properties: { "attr.min": "enabled(min) ? min : null" } }, providers: [ION_MIN_VALIDATOR], usesInheritance: true, ngImport: i0 });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonMinValidator, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
standalone: false,
|
|
@@ -32,7 +32,7 @@ export declare class IonicModule {
|
|
|
32
32
|
*/
|
|
33
33
|
static forRoot(config?: IonicConfig & OptInAngularFeatures): ModuleWithProviders<IonicModule>;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonicModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonInputOtp, typeof i1.IonInputPasswordToggle, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator], [typeof i15.CommonModule], [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonInputOtp, typeof i1.IonInputPasswordToggle, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator]>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonDivider, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGallery, typeof i1.IonGalleryItem, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonInputOtp, typeof i1.IonInputPasswordToggle, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator], [typeof i15.CommonModule], [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonDivider, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGallery, typeof i1.IonGalleryItem, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonInputOtp, typeof i1.IonInputPasswordToggle, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator]>;
|
|
36
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<IonicModule>;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -69,8 +69,8 @@ export class IonicModule {
|
|
|
69
69
|
],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
73
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
72
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
73
|
+
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.3", ngImport: i0, type: IonicModule, declarations: [i1.IonAccordion, i1.IonAccordionGroup, i1.IonActionSheet, i1.IonAlert, i1.IonApp, i1.IonAvatar, i1.IonBackdrop, i1.IonBadge, i1.IonBreadcrumb, i1.IonBreadcrumbs, i1.IonButton, i1.IonButtons, i1.IonCard, i1.IonCardContent, i1.IonCardHeader, i1.IonCardSubtitle, i1.IonCardTitle, i1.IonCheckbox, i1.IonChip, i1.IonCol, i1.IonContent, i1.IonDatetime, i1.IonDatetimeButton, i1.IonDivider, i1.IonFab, i1.IonFabButton, i1.IonFabList, i1.IonFooter, i1.IonGallery, i1.IonGalleryItem, i1.IonGrid, i1.IonHeader, i1.IonIcon, i1.IonImg, i1.IonInfiniteScroll, i1.IonInfiniteScrollContent, i1.IonInput, i1.IonInputOtp, i1.IonInputPasswordToggle, i1.IonItem, i1.IonItemDivider, i1.IonItemGroup, i1.IonItemOption, i1.IonItemOptions, i1.IonItemSliding, i1.IonLabel, i1.IonList, i1.IonListHeader, i1.IonLoading, i1.IonMenu, i1.IonMenuButton, i1.IonMenuToggle, i1.IonNavLink, i1.IonNote, i1.IonPicker, i1.IonPickerColumn, i1.IonPickerColumnOption, i1.IonProgressBar, i1.IonRadio, i1.IonRadioGroup, i1.IonRange, i1.IonRefresher, i1.IonRefresherContent, i1.IonReorder, i1.IonReorderGroup, i1.IonRippleEffect, i1.IonRow, i1.IonSearchbar, i1.IonSegment, i1.IonSegmentButton, i1.IonSegmentContent, i1.IonSegmentView, i1.IonSelect, i1.IonSelectModal, i1.IonSelectOption, i1.IonSkeletonText, i1.IonSpinner, i1.IonSplitPane, i1.IonTab, i1.IonTabBar, i1.IonTabButton, i1.IonText, i1.IonTextarea, i1.IonThumbnail, i1.IonTitle, i1.IonToast, i1.IonToggle, i1.IonToolbar,
|
|
74
74
|
// manual proxies
|
|
75
75
|
IonModal,
|
|
76
76
|
IonPopover,
|
|
@@ -88,7 +88,7 @@ export class IonicModule {
|
|
|
88
88
|
RouterLinkWithHrefDelegateDirective,
|
|
89
89
|
// validators
|
|
90
90
|
IonMinValidator,
|
|
91
|
-
IonMaxValidator], imports: [CommonModule], exports: [i1.IonAccordion, i1.IonAccordionGroup, i1.IonActionSheet, i1.IonAlert, i1.IonApp, i1.IonAvatar, i1.IonBackdrop, i1.IonBadge, i1.IonBreadcrumb, i1.IonBreadcrumbs, i1.IonButton, i1.IonButtons, i1.IonCard, i1.IonCardContent, i1.IonCardHeader, i1.IonCardSubtitle, i1.IonCardTitle, i1.IonCheckbox, i1.IonChip, i1.IonCol, i1.IonContent, i1.IonDatetime, i1.IonDatetimeButton, i1.IonFab, i1.IonFabButton, i1.IonFabList, i1.IonFooter, i1.IonGrid, i1.IonHeader, i1.IonIcon, i1.IonImg, i1.IonInfiniteScroll, i1.IonInfiniteScrollContent, i1.IonInput, i1.IonInputOtp, i1.IonInputPasswordToggle, i1.IonItem, i1.IonItemDivider, i1.IonItemGroup, i1.IonItemOption, i1.IonItemOptions, i1.IonItemSliding, i1.IonLabel, i1.IonList, i1.IonListHeader, i1.IonLoading, i1.IonMenu, i1.IonMenuButton, i1.IonMenuToggle, i1.IonNavLink, i1.IonNote, i1.IonPicker, i1.IonPickerColumn, i1.IonPickerColumnOption, i1.IonProgressBar, i1.IonRadio, i1.IonRadioGroup, i1.IonRange, i1.IonRefresher, i1.IonRefresherContent, i1.IonReorder, i1.IonReorderGroup, i1.IonRippleEffect, i1.IonRow, i1.IonSearchbar, i1.IonSegment, i1.IonSegmentButton, i1.IonSegmentContent, i1.IonSegmentView, i1.IonSelect, i1.IonSelectModal, i1.IonSelectOption, i1.IonSkeletonText, i1.IonSpinner, i1.IonSplitPane, i1.IonTab, i1.IonTabBar, i1.IonTabButton, i1.IonText, i1.IonTextarea, i1.IonThumbnail, i1.IonTitle, i1.IonToast, i1.IonToggle, i1.IonToolbar,
|
|
91
|
+
IonMaxValidator], imports: [CommonModule], exports: [i1.IonAccordion, i1.IonAccordionGroup, i1.IonActionSheet, i1.IonAlert, i1.IonApp, i1.IonAvatar, i1.IonBackdrop, i1.IonBadge, i1.IonBreadcrumb, i1.IonBreadcrumbs, i1.IonButton, i1.IonButtons, i1.IonCard, i1.IonCardContent, i1.IonCardHeader, i1.IonCardSubtitle, i1.IonCardTitle, i1.IonCheckbox, i1.IonChip, i1.IonCol, i1.IonContent, i1.IonDatetime, i1.IonDatetimeButton, i1.IonDivider, i1.IonFab, i1.IonFabButton, i1.IonFabList, i1.IonFooter, i1.IonGallery, i1.IonGalleryItem, i1.IonGrid, i1.IonHeader, i1.IonIcon, i1.IonImg, i1.IonInfiniteScroll, i1.IonInfiniteScrollContent, i1.IonInput, i1.IonInputOtp, i1.IonInputPasswordToggle, i1.IonItem, i1.IonItemDivider, i1.IonItemGroup, i1.IonItemOption, i1.IonItemOptions, i1.IonItemSliding, i1.IonLabel, i1.IonList, i1.IonListHeader, i1.IonLoading, i1.IonMenu, i1.IonMenuButton, i1.IonMenuToggle, i1.IonNavLink, i1.IonNote, i1.IonPicker, i1.IonPickerColumn, i1.IonPickerColumnOption, i1.IonProgressBar, i1.IonRadio, i1.IonRadioGroup, i1.IonRange, i1.IonRefresher, i1.IonRefresherContent, i1.IonReorder, i1.IonReorderGroup, i1.IonRippleEffect, i1.IonRow, i1.IonSearchbar, i1.IonSegment, i1.IonSegmentButton, i1.IonSegmentContent, i1.IonSegmentView, i1.IonSelect, i1.IonSelectModal, i1.IonSelectOption, i1.IonSkeletonText, i1.IonSpinner, i1.IonSplitPane, i1.IonTab, i1.IonTabBar, i1.IonTabButton, i1.IonText, i1.IonTextarea, i1.IonThumbnail, i1.IonTitle, i1.IonToast, i1.IonToggle, i1.IonToolbar,
|
|
92
92
|
// manual proxies
|
|
93
93
|
IonModal,
|
|
94
94
|
IonPopover,
|
|
@@ -107,9 +107,9 @@ export class IonicModule {
|
|
|
107
107
|
// validators
|
|
108
108
|
IonMinValidator,
|
|
109
109
|
IonMaxValidator] });
|
|
110
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
110
|
+
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonicModule, providers: [ModalController, PopoverController], imports: [CommonModule] });
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonicModule, decorators: [{
|
|
113
113
|
type: NgModule,
|
|
114
114
|
args: [{
|
|
115
115
|
declarations: DECLARATIONS,
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ActionSheetController extends OverlayBaseController<ActionSheetOptions, HTMLIonActionSheetElement> {
|
|
5
5
|
constructor();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionSheetController, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
8
8
|
}
|
|
@@ -6,10 +6,10 @@ export class ActionSheetController extends OverlayBaseController {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(actionSheetController);
|
|
8
8
|
}
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
10
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ActionSheetController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ActionSheetController, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ActionSheetController, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{
|
|
15
15
|
providedIn: 'root',
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AlertController extends OverlayBaseController<AlertOptions, HTMLIonAlertElement> {
|
|
5
5
|
constructor();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertController, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
8
8
|
}
|
|
@@ -6,10 +6,10 @@ export class AlertController extends OverlayBaseController {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(alertController);
|
|
8
8
|
}
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
10
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AlertController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AlertController, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AlertController, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{
|
|
15
15
|
providedIn: 'root',
|
|
@@ -21,5 +21,5 @@ export declare class AnimationController {
|
|
|
21
21
|
*/
|
|
22
22
|
easingTime(p0: number[], p1: number[], p2: number[], p3: number[], progression: number): number[];
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnimationController, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
25
25
|
}
|
|
@@ -25,10 +25,10 @@ export class AnimationController {
|
|
|
25
25
|
easingTime(p0, p1, p2, p3, progression) {
|
|
26
26
|
return getTimeGivenProgression(p0, p1, p2, p3, progression);
|
|
27
27
|
}
|
|
28
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
29
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
28
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AnimationController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AnimationController, providedIn: 'root' });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: AnimationController, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{
|
|
34
34
|
providedIn: 'root',
|
|
@@ -9,5 +9,5 @@ export declare class GestureController {
|
|
|
9
9
|
*/
|
|
10
10
|
create(opts: GestureConfig, runInsideAngularZone?: boolean): Gesture;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<GestureController, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
13
13
|
}
|
|
@@ -20,10 +20,10 @@ export class GestureController {
|
|
|
20
20
|
}
|
|
21
21
|
return createGesture(opts);
|
|
22
22
|
}
|
|
23
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
24
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
23
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: GestureController, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
24
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: GestureController, providedIn: 'root' });
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: GestureController, decorators: [{
|
|
27
27
|
type: Injectable,
|
|
28
28
|
args: [{
|
|
29
29
|
providedIn: 'root',
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class LoadingController extends OverlayBaseController<LoadingOptions, HTMLIonLoadingElement> {
|
|
5
5
|
constructor();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingController, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
8
8
|
}
|
|
@@ -6,10 +6,10 @@ export class LoadingController extends OverlayBaseController {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(loadingController);
|
|
8
8
|
}
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
10
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LoadingController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LoadingController, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LoadingController, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{
|
|
15
15
|
providedIn: 'root',
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MenuController extends MenuControllerBase {
|
|
4
4
|
constructor();
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuController, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
7
7
|
}
|
|
@@ -6,10 +6,10 @@ export class MenuController extends MenuControllerBase {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(menuController);
|
|
8
8
|
}
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
10
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MenuController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MenuController, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MenuController, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{
|
|
15
15
|
providedIn: 'root',
|
|
@@ -8,5 +8,5 @@ export declare class ModalController extends OverlayBaseController<ModalOptions,
|
|
|
8
8
|
constructor();
|
|
9
9
|
create(opts: ModalOptions): Promise<HTMLIonModalElement>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalController, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
12
12
|
}
|
|
@@ -16,10 +16,10 @@ export class ModalController extends OverlayBaseController {
|
|
|
16
16
|
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal', customInjector),
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
20
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
19
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ModalController });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ModalController, decorators: [{
|
|
23
23
|
type: Injectable
|
|
24
24
|
}], ctorParameters: () => [] });
|
|
25
25
|
//# sourceMappingURL=modal-controller.js.map
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ToastController extends OverlayBaseController<ToastOptions, HTMLIonToastElement> {
|
|
5
5
|
constructor();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastController, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
8
8
|
}
|
|
@@ -6,10 +6,10 @@ export class ToastController extends OverlayBaseController {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(toastController);
|
|
8
8
|
}
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
10
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ToastController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ToastController, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ToastController, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{
|
|
15
15
|
providedIn: 'root',
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transforms a value to a boolean so that boolean properties can be set by attribute presence,
|
|
3
|
+
* e.g. `<my-component disabled>` instead of `<my-component [disabled]="true">`.
|
|
4
|
+
*
|
|
5
|
+
* Strings are coerced the same way Angular's `booleanAttribute` coerces them, so `''` (a bare
|
|
6
|
+
* attribute) becomes `true` and `'false'` becomes `false`.
|
|
7
|
+
*
|
|
8
|
+
* Unlike Angular's `booleanAttribute`, `null` and `undefined` are passed through rather than
|
|
9
|
+
* coerced to `false`. Components frequently treat them as a state distinct from `false`:
|
|
10
|
+
*
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // `undefined` means "decide based on the mode", which is not the same as `false`
|
|
13
|
+
* const showDetail = detail !== undefined ? detail : mode === 'ios';
|
|
14
|
+
*
|
|
15
|
+
* // a strict comparison also behaves differently for `null` than it does for `false`
|
|
16
|
+
* const showHandle = handle !== false;
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Both values reach inputs routinely in Angular templates, from the `async` pipe before its
|
|
20
|
+
* first emission and from form control values, so coercing them would change the behavior of
|
|
21
|
+
* bindings that work today.
|
|
22
|
+
*
|
|
23
|
+
* This is implemented here rather than imported from `@angular/core` so that consumers on
|
|
24
|
+
* Angular versions without `booleanAttribute` are unaffected by this file being generated.
|
|
25
|
+
*
|
|
26
|
+
* The parameter type is what Angular derives `ngAcceptInputType_*` from, so it decides which
|
|
27
|
+
* template bindings compile. Widening it to `unknown` would let any expression through.
|
|
28
|
+
*
|
|
29
|
+
* Declared as a function rather than an arrow constant because Angular has to resolve input
|
|
30
|
+
* transforms statically when compiling a library in partial compilation mode.
|
|
31
|
+
*
|
|
32
|
+
* This lives in its own file, separate from `utils.ts`, so that it carries no runtime imports.
|
|
33
|
+
* That keeps it independently type-checkable without pulling `rxjs` in for `proxyOutputs`.
|
|
34
|
+
*/
|
|
35
|
+
export declare function nullableBooleanAttribute(value: boolean | string | null | undefined): boolean | null | undefined;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* Transforms a value to a boolean so that boolean properties can be set by attribute presence,
|
|
5
|
+
* e.g. `<my-component disabled>` instead of `<my-component [disabled]="true">`.
|
|
6
|
+
*
|
|
7
|
+
* Strings are coerced the same way Angular's `booleanAttribute` coerces them, so `''` (a bare
|
|
8
|
+
* attribute) becomes `true` and `'false'` becomes `false`.
|
|
9
|
+
*
|
|
10
|
+
* Unlike Angular's `booleanAttribute`, `null` and `undefined` are passed through rather than
|
|
11
|
+
* coerced to `false`. Components frequently treat them as a state distinct from `false`:
|
|
12
|
+
*
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // `undefined` means "decide based on the mode", which is not the same as `false`
|
|
15
|
+
* const showDetail = detail !== undefined ? detail : mode === 'ios';
|
|
16
|
+
*
|
|
17
|
+
* // a strict comparison also behaves differently for `null` than it does for `false`
|
|
18
|
+
* const showHandle = handle !== false;
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* Both values reach inputs routinely in Angular templates, from the `async` pipe before its
|
|
22
|
+
* first emission and from form control values, so coercing them would change the behavior of
|
|
23
|
+
* bindings that work today.
|
|
24
|
+
*
|
|
25
|
+
* This is implemented here rather than imported from `@angular/core` so that consumers on
|
|
26
|
+
* Angular versions without `booleanAttribute` are unaffected by this file being generated.
|
|
27
|
+
*
|
|
28
|
+
* The parameter type is what Angular derives `ngAcceptInputType_*` from, so it decides which
|
|
29
|
+
* template bindings compile. Widening it to `unknown` would let any expression through.
|
|
30
|
+
*
|
|
31
|
+
* Declared as a function rather than an arrow constant because Angular has to resolve input
|
|
32
|
+
* transforms statically when compiling a library in partial compilation mode.
|
|
33
|
+
*
|
|
34
|
+
* This lives in its own file, separate from `utils.ts`, so that it carries no runtime imports.
|
|
35
|
+
* That keeps it independently type-checkable without pulling `rxjs` in for `proxyOutputs`.
|
|
36
|
+
*/
|
|
37
|
+
export function nullableBooleanAttribute(value) {
|
|
38
|
+
if (value === null || value === undefined) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return typeof value === 'boolean' ? value : value !== 'false';
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=boolean-attribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boolean-attribute.js","sourceRoot":"","sources":["../../../../src/standalone/directives/angular-component-lib/boolean-attribute.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAA0C;IACjF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC1C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,OAAO,CAAC;AAChE,CAAC","sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n\n/**\n * Transforms a value to a boolean so that boolean properties can be set by attribute presence,\n * e.g. `<my-component disabled>` instead of `<my-component [disabled]=\"true\">`.\n *\n * Strings are coerced the same way Angular's `booleanAttribute` coerces them, so `''` (a bare\n * attribute) becomes `true` and `'false'` becomes `false`.\n *\n * Unlike Angular's `booleanAttribute`, `null` and `undefined` are passed through rather than\n * coerced to `false`. Components frequently treat them as a state distinct from `false`:\n *\n * ```tsx\n * // `undefined` means \"decide based on the mode\", which is not the same as `false`\n * const showDetail = detail !== undefined ? detail : mode === 'ios';\n *\n * // a strict comparison also behaves differently for `null` than it does for `false`\n * const showHandle = handle !== false;\n * ```\n *\n * Both values reach inputs routinely in Angular templates, from the `async` pipe before its\n * first emission and from form control values, so coercing them would change the behavior of\n * bindings that work today.\n *\n * This is implemented here rather than imported from `@angular/core` so that consumers on\n * Angular versions without `booleanAttribute` are unaffected by this file being generated.\n *\n * The parameter type is what Angular derives `ngAcceptInputType_*` from, so it decides which\n * template bindings compile. Widening it to `unknown` would let any expression through.\n *\n * Declared as a function rather than an arrow constant because Angular has to resolve input\n * transforms statically when compiling a library in partial compilation mode.\n *\n * This lives in its own file, separate from `utils.ts`, so that it carries no runtime imports.\n * That keeps it independently type-checkable without pulling `rxjs` in for `proxyOutputs`.\n */\nexport function nullableBooleanAttribute(value: boolean | string | null | undefined): boolean | null | undefined {\n if (value === null || value === undefined) {\n return value;\n }\n return typeof value === 'boolean' ? value : value !== 'false';\n}\n"]}
|
|
@@ -9,7 +9,11 @@ export declare class IonCheckbox extends ValueAccessor {
|
|
|
9
9
|
writeValue(value: boolean): void;
|
|
10
10
|
handleIonChange(el: HTMLIonCheckboxElement | HTMLIonToggleElement): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonCheckbox, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonCheckbox, "ion-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonCheckbox, "ion-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
static ngAcceptInputType_checked: boolean | string | null | undefined;
|
|
14
|
+
static ngAcceptInputType_disabled: boolean | string | null | undefined;
|
|
15
|
+
static ngAcceptInputType_indeterminate: boolean | string | null | undefined;
|
|
16
|
+
static ngAcceptInputType_required: boolean | string | null | undefined;
|
|
13
17
|
}
|
|
14
18
|
export declare interface IonCheckbox extends Components.IonCheckbox {
|
|
15
19
|
/**
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { inputNames, setIonicClasses, ValueAccessor } from '@ionic/angular/common';
|
|
5
5
|
import { defineCustomElement } from '@ionic/core/components/ion-checkbox.js';
|
|
6
|
+
import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
|
|
6
7
|
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
const CHECKBOX_INPUTS = [
|
|
9
|
-
'checked',
|
|
10
|
+
{ name: 'checked', transform: nullableBooleanAttribute },
|
|
10
11
|
'color',
|
|
11
|
-
'disabled',
|
|
12
|
+
{ name: 'disabled', transform: nullableBooleanAttribute },
|
|
12
13
|
'errorText',
|
|
13
14
|
'helperText',
|
|
14
|
-
'indeterminate',
|
|
15
|
+
{ name: 'indeterminate', transform: nullableBooleanAttribute },
|
|
15
16
|
'justify',
|
|
16
17
|
'labelPlacement',
|
|
17
18
|
'mode',
|
|
18
19
|
'name',
|
|
20
|
+
{ name: 'required', transform: nullableBooleanAttribute },
|
|
19
21
|
'value',
|
|
20
22
|
];
|
|
23
|
+
const CHECKBOX_PROXY_INPUTS = inputNames(CHECKBOX_INPUTS);
|
|
21
24
|
let IonCheckbox = class IonCheckbox extends ValueAccessor {
|
|
22
25
|
z;
|
|
23
26
|
el;
|
|
@@ -35,8 +38,8 @@ let IonCheckbox = class IonCheckbox extends ValueAccessor {
|
|
|
35
38
|
handleIonChange(el) {
|
|
36
39
|
this.handleValueChange(el, el.checked);
|
|
37
40
|
}
|
|
38
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
39
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
41
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonCheckbox, isStandalone: true, selector: "ion-checkbox", inputs: { checked: ["checked", "checked", nullableBooleanAttribute], color: "color", disabled: ["disabled", "disabled", nullableBooleanAttribute], errorText: "errorText", helperText: "helperText", indeterminate: ["indeterminate", "indeterminate", nullableBooleanAttribute], justify: "justify", labelPlacement: "labelPlacement", mode: "mode", name: "name", required: ["required", "required", nullableBooleanAttribute], value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
40
43
|
{
|
|
41
44
|
provide: NG_VALUE_ACCESSOR,
|
|
42
45
|
useExisting: forwardRef((() => IonCheckbox)),
|
|
@@ -47,11 +50,11 @@ let IonCheckbox = class IonCheckbox extends ValueAccessor {
|
|
|
47
50
|
IonCheckbox = __decorate([
|
|
48
51
|
ProxyCmp({
|
|
49
52
|
defineCustomElementFn: defineCustomElement,
|
|
50
|
-
inputs:
|
|
53
|
+
inputs: CHECKBOX_PROXY_INPUTS,
|
|
51
54
|
})
|
|
52
55
|
], IonCheckbox);
|
|
53
56
|
export { IonCheckbox };
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonCheckbox, decorators: [{
|
|
55
58
|
type: Component,
|
|
56
59
|
args: [{
|
|
57
60
|
selector: 'ion-checkbox',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../src/standalone/directives/checkbox.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,
|
|
1
|
+
{"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../src/standalone/directives/checkbox.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,UAAU,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,eAAe,GAAG;IACtB,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACxD,OAAO;IACP,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,WAAW;IACX,YAAY;IACZ,EAAE,IAAI,EAAE,eAAe,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC9D,SAAS;IACT,gBAAgB;IAChB,MAAM;IACN,MAAM;IACN,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,OAAO;CACR,CAAC;AAEF,MAAM,qBAAqB,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC;AAqBnD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,aAAa;IAEe;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,SAAS,CAAC,CAAC,CAAC;IACpE,CAAC;IAED,UAAU,CAAC,KAAc;QACvB,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC/D,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAGD,eAAe,CAAC,EAAiD;QAC/D,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;0HAjBU,WAAW;8GAAX,WAAW,0FAnCQ,wBAAwB,sDAEvB,wBAAwB,uGAGnB,wBAAwB,wHAK7B,wBAAwB,wGAgB5C;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,WAAW,EAAC;gBAC1C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,WAAW;IAnBvB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,qBAAqB;KAC9B,CAAC;GAgBW,WAAW,CAkBvB;;2FAlBY,WAAW;kBAfvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;oBACxB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,eAAe;oBACvB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,YAAY,EAAC;4BAC1C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAeE,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 { inputNames, setIonicClasses, ValueAccessor } from '@ionic/angular/common';\nimport type { CheckboxChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-checkbox.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst CHECKBOX_INPUTS = [\n { name: 'checked', transform: nullableBooleanAttribute },\n 'color',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'errorText',\n 'helperText',\n { name: 'indeterminate', transform: nullableBooleanAttribute },\n 'justify',\n 'labelPlacement',\n 'mode',\n 'name',\n { name: 'required', transform: nullableBooleanAttribute },\n 'value',\n];\n\nconst CHECKBOX_PROXY_INPUTS = inputNames(CHECKBOX_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: CHECKBOX_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-checkbox',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: CHECKBOX_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonCheckbox),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonCheckbox 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', 'ionFocus', 'ionBlur']);\n }\n\n writeValue(value: boolean): void {\n this.elementRef.nativeElement.checked = this.lastValue = value;\n setIonicClasses(this.elementRef);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonCheckboxElement | HTMLIonToggleElement): void {\n this.handleValueChange(el, el.checked);\n }\n}\n\nexport declare interface IonCheckbox extends Components.IonCheckbox {\n /**\n * Emitted when the checked property has changed\nas a result of a user action such as a click.\nThis event will not emit when programmatically\nsetting the checked property.\n */\n ionChange: EventEmitter<CustomEvent<CheckboxChangeEventDetail>>;\n /**\n * Emitted when the checkbox has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the checkbox loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
|
|
@@ -9,6 +9,15 @@ export declare class IonDatetime extends ValueAccessor {
|
|
|
9
9
|
handleIonChange(el: HTMLIonDatetimeElement): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonDatetime, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<IonDatetime, "ion-datetime", never, { "cancelText": { "alias": "cancelText"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "color": { "alias": "color"; "required": false; }; "dayValues": { "alias": "dayValues"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "doneText": { "alias": "doneText"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; "highlightedDates": { "alias": "highlightedDates"; "required": false; }; "hourCycle": { "alias": "hourCycle"; "required": false; }; "hourValues": { "alias": "hourValues"; "required": false; }; "isDateEnabled": { "alias": "isDateEnabled"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minuteValues": { "alias": "minuteValues"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "monthValues": { "alias": "monthValues"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "preferWheel": { "alias": "preferWheel"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showDefaultButtons": { "alias": "showDefaultButtons"; "required": false; }; "showDefaultTimeLabel": { "alias": "showDefaultTimeLabel"; "required": false; }; "showDefaultTitle": { "alias": "showDefaultTitle"; "required": false; }; "size": { "alias": "size"; "required": false; }; "titleSelectedDatesFormatter": { "alias": "titleSelectedDatesFormatter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "yearValues": { "alias": "yearValues"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ngAcceptInputType_disabled: boolean | string | null | undefined;
|
|
13
|
+
static ngAcceptInputType_multiple: boolean | string | null | undefined;
|
|
14
|
+
static ngAcceptInputType_preferWheel: boolean | string | null | undefined;
|
|
15
|
+
static ngAcceptInputType_readonly: boolean | string | null | undefined;
|
|
16
|
+
static ngAcceptInputType_showAdjacentDays: boolean | string | null | undefined;
|
|
17
|
+
static ngAcceptInputType_showClearButton: boolean | string | null | undefined;
|
|
18
|
+
static ngAcceptInputType_showDefaultButtons: boolean | string | null | undefined;
|
|
19
|
+
static ngAcceptInputType_showDefaultTimeLabel: boolean | string | null | undefined;
|
|
20
|
+
static ngAcceptInputType_showDefaultTitle: boolean | string | null | undefined;
|
|
12
21
|
}
|
|
13
22
|
export declare interface IonDatetime extends Components.IonDatetime {
|
|
14
23
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
4
|
+
import { inputNames, ValueAccessor } from '@ionic/angular/common';
|
|
5
5
|
import { defineCustomElement } from '@ionic/core/components/ion-datetime.js';
|
|
6
|
+
import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
|
|
6
7
|
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
const DATETIME_INPUTS = [
|
|
@@ -10,7 +11,7 @@ const DATETIME_INPUTS = [
|
|
|
10
11
|
'clearText',
|
|
11
12
|
'color',
|
|
12
13
|
'dayValues',
|
|
13
|
-
'disabled',
|
|
14
|
+
{ name: 'disabled', transform: nullableBooleanAttribute },
|
|
14
15
|
'doneText',
|
|
15
16
|
'firstDayOfWeek',
|
|
16
17
|
'formatOptions',
|
|
@@ -24,21 +25,22 @@ const DATETIME_INPUTS = [
|
|
|
24
25
|
'minuteValues',
|
|
25
26
|
'mode',
|
|
26
27
|
'monthValues',
|
|
27
|
-
'multiple',
|
|
28
|
+
{ name: 'multiple', transform: nullableBooleanAttribute },
|
|
28
29
|
'name',
|
|
29
|
-
'preferWheel',
|
|
30
|
+
{ name: 'preferWheel', transform: nullableBooleanAttribute },
|
|
30
31
|
'presentation',
|
|
31
|
-
'readonly',
|
|
32
|
-
'showAdjacentDays',
|
|
33
|
-
'showClearButton',
|
|
34
|
-
'showDefaultButtons',
|
|
35
|
-
'showDefaultTimeLabel',
|
|
36
|
-
'showDefaultTitle',
|
|
32
|
+
{ name: 'readonly', transform: nullableBooleanAttribute },
|
|
33
|
+
{ name: 'showAdjacentDays', transform: nullableBooleanAttribute },
|
|
34
|
+
{ name: 'showClearButton', transform: nullableBooleanAttribute },
|
|
35
|
+
{ name: 'showDefaultButtons', transform: nullableBooleanAttribute },
|
|
36
|
+
{ name: 'showDefaultTimeLabel', transform: nullableBooleanAttribute },
|
|
37
|
+
{ name: 'showDefaultTitle', transform: nullableBooleanAttribute },
|
|
37
38
|
'size',
|
|
38
39
|
'titleSelectedDatesFormatter',
|
|
39
40
|
'value',
|
|
40
41
|
'yearValues',
|
|
41
42
|
];
|
|
43
|
+
const DATETIME_PROXY_INPUTS = inputNames(DATETIME_INPUTS);
|
|
42
44
|
let IonDatetime = class IonDatetime extends ValueAccessor {
|
|
43
45
|
z;
|
|
44
46
|
el;
|
|
@@ -52,8 +54,8 @@ let IonDatetime = class IonDatetime extends ValueAccessor {
|
|
|
52
54
|
handleIonChange(el) {
|
|
53
55
|
this.handleValueChange(el, el.value);
|
|
54
56
|
}
|
|
55
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
56
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
57
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonDatetime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonDatetime, isStandalone: true, selector: "ion-datetime", inputs: { cancelText: "cancelText", clearText: "clearText", color: "color", dayValues: "dayValues", disabled: ["disabled", "disabled", nullableBooleanAttribute], doneText: "doneText", firstDayOfWeek: "firstDayOfWeek", formatOptions: "formatOptions", highlightedDates: "highlightedDates", hourCycle: "hourCycle", hourValues: "hourValues", isDateEnabled: "isDateEnabled", locale: "locale", max: "max", min: "min", minuteValues: "minuteValues", mode: "mode", monthValues: "monthValues", multiple: ["multiple", "multiple", nullableBooleanAttribute], name: "name", preferWheel: ["preferWheel", "preferWheel", nullableBooleanAttribute], presentation: "presentation", readonly: ["readonly", "readonly", nullableBooleanAttribute], showAdjacentDays: ["showAdjacentDays", "showAdjacentDays", nullableBooleanAttribute], showClearButton: ["showClearButton", "showClearButton", nullableBooleanAttribute], showDefaultButtons: ["showDefaultButtons", "showDefaultButtons", nullableBooleanAttribute], showDefaultTimeLabel: ["showDefaultTimeLabel", "showDefaultTimeLabel", nullableBooleanAttribute], showDefaultTitle: ["showDefaultTitle", "showDefaultTitle", nullableBooleanAttribute], size: "size", titleSelectedDatesFormatter: "titleSelectedDatesFormatter", value: "value", yearValues: "yearValues" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
57
59
|
{
|
|
58
60
|
provide: NG_VALUE_ACCESSOR,
|
|
59
61
|
useExisting: forwardRef((() => IonDatetime)),
|
|
@@ -64,12 +66,12 @@ let IonDatetime = class IonDatetime extends ValueAccessor {
|
|
|
64
66
|
IonDatetime = __decorate([
|
|
65
67
|
ProxyCmp({
|
|
66
68
|
defineCustomElementFn: defineCustomElement,
|
|
67
|
-
inputs:
|
|
69
|
+
inputs: DATETIME_PROXY_INPUTS,
|
|
68
70
|
methods: ['confirm', 'reset', 'cancel'],
|
|
69
71
|
})
|
|
70
72
|
], IonDatetime);
|
|
71
73
|
export { IonDatetime };
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonDatetime, decorators: [{
|
|
73
75
|
type: Component,
|
|
74
76
|
args: [{
|
|
75
77
|
selector: 'ion-datetime',
|