@ionic/angular 9.0.11-dev.11794253811.110d3f94 → 9.0.11-dev.11794308212.1f37a3b7
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/navigation/back-button.d.ts +1 -0
- package/dist/common/directives/navigation/back-button.js +15 -4
- 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 +12 -4
- package/dist/common/directives/navigation/nav.js.map +1 -1
- package/dist/common/directives/navigation/router-outlet.d.ts +2 -0
- package/dist/common/directives/navigation/router-outlet.js +8 -2
- package/dist/common/directives/navigation/router-outlet.js.map +1 -1
- 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 +14 -12
- package/dist/common/overlays/modal.js.map +1 -1
- package/dist/common/overlays/popover.d.ts +12 -1
- package/dist/common/overlays/popover.js +16 -13
- package/dist/common/overlays/popover.js.map +1 -1
- 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/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 +342 -246
- package/dist/lazy/directives/proxies.js.map +1 -1
- package/dist/lazy/ionic-module.d.ts +1 -1
- package/dist/lazy/ionic-module.js +2 -2
- 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 +9 -6
- package/dist/standalone/directives/checkbox.js.map +1 -1
- package/dist/standalone/directives/datetime.d.ts +10 -1
- package/dist/standalone/directives/datetime.js +17 -12
- package/dist/standalone/directives/datetime.js.map +1 -1
- package/dist/standalone/directives/icon.d.ts +3 -0
- package/dist/standalone/directives/icon.js +19 -3
- 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 +7 -5
- 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 +15 -13
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -2
- 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 +5 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -3
- package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -1
- package/dist/standalone/directives/ion-item-divider.d.ts +2 -1
- package/dist/standalone/directives/ion-item-divider.js +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +4 -3
- package/dist/standalone/directives/ion-segment-button.js.map +1 -1
- package/dist/standalone/directives/ion-segment-view.d.ts +2 -0
- package/dist/standalone/directives/ion-segment-view.js +3 -2
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +13 -4
- 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 +10 -8
- package/dist/standalone/directives/range.js.map +1 -1
- package/dist/standalone/directives/searchbar.d.ts +4 -0
- package/dist/standalone/directives/searchbar.js +9 -7
- package/dist/standalone/directives/searchbar.js.map +1 -1
- package/dist/standalone/directives/segment.d.ts +4 -0
- package/dist/standalone/directives/segment.js +14 -4
- package/dist/standalone/directives/segment.js.map +1 -1
- package/dist/standalone/directives/select.d.ts +5 -1
- package/dist/standalone/directives/select.js +9 -5
- package/dist/standalone/directives/select.js.map +1 -1
- package/dist/standalone/directives/textarea.d.ts +8 -0
- package/dist/standalone/directives/textarea.js +13 -11
- package/dist/standalone/directives/textarea.js.map +1 -1
- package/dist/standalone/directives/toggle.d.ts +5 -1
- package/dist/standalone/directives/toggle.js +9 -6
- package/dist/standalone/directives/toggle.js.map +1 -1
- package/package.json +5 -2
|
@@ -1 +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;
|
|
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,UAAU,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,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;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 { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type { SegmentChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-segment.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEGMENT_INPUTS = [\n 'color',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'mode',\n { name: 'scrollable', transform: nullableBooleanAttribute },\n { name: 'selectOnFocus', transform: nullableBooleanAttribute },\n { name: 'swipeGesture', transform: nullableBooleanAttribute },\n 'value',\n];\n\nconst SEGMENT_PROXY_INPUTS = inputNames(SEGMENT_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEGMENT_PROXY_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"]}
|
|
@@ -8,7 +8,11 @@ export declare class IonSelect extends ValueAccessor {
|
|
|
8
8
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
9
|
handleIonChange(el: HTMLIonSelectElement): void;
|
|
10
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>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonSelect, "ion-select", never, { "cancelIcon": { "alias": "cancelIcon"; "required": false; }; "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; }; "required": { "alias": "required"; "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
|
+
static ngAcceptInputType_cancelIcon: boolean | string | null | undefined;
|
|
13
|
+
static ngAcceptInputType_disabled: boolean | string | null | undefined;
|
|
14
|
+
static ngAcceptInputType_multiple: boolean | string | null | undefined;
|
|
15
|
+
static ngAcceptInputType_required: boolean | string | null | undefined;
|
|
12
16
|
}
|
|
13
17
|
export declare interface IonSelect extends Components.IonSelect {
|
|
14
18
|
/**
|
|
@@ -1,15 +1,17 @@
|
|
|
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-select.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 SELECT_INPUTS = [
|
|
10
|
+
{ name: 'cancelIcon', transform: nullableBooleanAttribute },
|
|
9
11
|
'cancelText',
|
|
10
12
|
'color',
|
|
11
13
|
'compareWith',
|
|
12
|
-
'disabled',
|
|
14
|
+
{ name: 'disabled', transform: nullableBooleanAttribute },
|
|
13
15
|
'errorText',
|
|
14
16
|
'expandedIcon',
|
|
15
17
|
'fill',
|
|
@@ -20,15 +22,17 @@ const SELECT_INPUTS = [
|
|
|
20
22
|
'label',
|
|
21
23
|
'labelPlacement',
|
|
22
24
|
'mode',
|
|
23
|
-
'multiple',
|
|
25
|
+
{ name: 'multiple', transform: nullableBooleanAttribute },
|
|
24
26
|
'name',
|
|
25
27
|
'okText',
|
|
26
28
|
'placeholder',
|
|
29
|
+
{ name: 'required', transform: nullableBooleanAttribute },
|
|
27
30
|
'selectedText',
|
|
28
31
|
'shape',
|
|
29
32
|
'toggleIcon',
|
|
30
33
|
'value',
|
|
31
34
|
];
|
|
35
|
+
const SELECT_PROXY_INPUTS = inputNames(SELECT_INPUTS);
|
|
32
36
|
let IonSelect = class IonSelect extends ValueAccessor {
|
|
33
37
|
z;
|
|
34
38
|
el;
|
|
@@ -43,7 +47,7 @@ let IonSelect = class IonSelect extends ValueAccessor {
|
|
|
43
47
|
this.handleValueChange(el, el.value);
|
|
44
48
|
}
|
|
45
49
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", 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: "
|
|
50
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonSelect, isStandalone: true, selector: "ion-select", inputs: { cancelIcon: ["cancelIcon", "cancelIcon", nullableBooleanAttribute], cancelText: "cancelText", color: "color", compareWith: "compareWith", disabled: ["disabled", "disabled", nullableBooleanAttribute], errorText: "errorText", expandedIcon: "expandedIcon", fill: "fill", helperText: "helperText", interface: "interface", interfaceOptions: "interfaceOptions", justify: "justify", label: "label", labelPlacement: "labelPlacement", mode: "mode", multiple: ["multiple", "multiple", nullableBooleanAttribute], name: "name", okText: "okText", placeholder: "placeholder", required: ["required", "required", nullableBooleanAttribute], selectedText: "selectedText", shape: "shape", toggleIcon: "toggleIcon", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
|
|
47
51
|
{
|
|
48
52
|
provide: NG_VALUE_ACCESSOR,
|
|
49
53
|
useExisting: forwardRef((() => IonSelect)),
|
|
@@ -54,7 +58,7 @@ let IonSelect = class IonSelect extends ValueAccessor {
|
|
|
54
58
|
IonSelect = __decorate([
|
|
55
59
|
ProxyCmp({
|
|
56
60
|
defineCustomElementFn: defineCustomElement,
|
|
57
|
-
inputs:
|
|
61
|
+
inputs: SELECT_PROXY_INPUTS,
|
|
58
62
|
methods: ['open'],
|
|
59
63
|
})
|
|
60
64
|
], IonSelect);
|
|
@@ -1 +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,MA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jB;;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 { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type { SelectChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-select.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SELECT_INPUTS = [\n { name: 'cancelIcon', transform: nullableBooleanAttribute },\n 'cancelText',\n 'color',\n 'compareWith',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'errorText',\n 'expandedIcon',\n 'fill',\n 'helperText',\n 'interface',\n 'interfaceOptions',\n 'justify',\n 'label',\n 'labelPlacement',\n 'mode',\n { name: 'multiple', transform: nullableBooleanAttribute },\n 'name',\n 'okText',\n 'placeholder',\n { name: 'required', transform: nullableBooleanAttribute },\n 'selectedText',\n 'shape',\n 'toggleIcon',\n 'value',\n];\n\nconst SELECT_PROXY_INPUTS = inputNames(SELECT_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SELECT_PROXY_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"]}
|
|
@@ -9,6 +9,14 @@ export declare class IonTextarea extends ValueAccessor {
|
|
|
9
9
|
handleIonInput(el: HTMLIonTextareaElement): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonTextarea, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<IonTextarea, "ion-textarea", never, { "autoGrow": { "alias": "autoGrow"; "required": false; }; "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearOnEdit": { "alias": "clearOnEdit"; "required": false; }; "color": { "alias": "color"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "counterFormatter": { "alias": "counterFormatter"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enterkeyhint": { "alias": "enterkeyhint"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "value": { "alias": "value"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ngAcceptInputType_autoGrow: boolean | string | null | undefined;
|
|
13
|
+
static ngAcceptInputType_autofocus: boolean | string | null | undefined;
|
|
14
|
+
static ngAcceptInputType_clearOnEdit: boolean | string | null | undefined;
|
|
15
|
+
static ngAcceptInputType_counter: boolean | string | null | undefined;
|
|
16
|
+
static ngAcceptInputType_disabled: boolean | string | null | undefined;
|
|
17
|
+
static ngAcceptInputType_readonly: boolean | string | null | undefined;
|
|
18
|
+
static ngAcceptInputType_required: boolean | string | null | undefined;
|
|
19
|
+
static ngAcceptInputType_spellcheck: boolean | string | null | undefined;
|
|
12
20
|
}
|
|
13
21
|
export declare interface IonTextarea extends Components.IonTextarea {
|
|
14
22
|
/**
|
|
@@ -1,21 +1,22 @@
|
|
|
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-textarea.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 TEXTAREA_INPUTS = [
|
|
9
|
-
'autoGrow',
|
|
10
|
+
{ name: 'autoGrow', transform: nullableBooleanAttribute },
|
|
10
11
|
'autocapitalize',
|
|
11
|
-
'autofocus',
|
|
12
|
-
'clearOnEdit',
|
|
12
|
+
{ name: 'autofocus', transform: nullableBooleanAttribute },
|
|
13
|
+
{ name: 'clearOnEdit', transform: nullableBooleanAttribute },
|
|
13
14
|
'color',
|
|
14
15
|
'cols',
|
|
15
|
-
'counter',
|
|
16
|
+
{ name: 'counter', transform: nullableBooleanAttribute },
|
|
16
17
|
'counterFormatter',
|
|
17
18
|
'debounce',
|
|
18
|
-
'disabled',
|
|
19
|
+
{ name: 'disabled', transform: nullableBooleanAttribute },
|
|
19
20
|
'enterkeyhint',
|
|
20
21
|
'errorText',
|
|
21
22
|
'fill',
|
|
@@ -28,14 +29,15 @@ const TEXTAREA_INPUTS = [
|
|
|
28
29
|
'mode',
|
|
29
30
|
'name',
|
|
30
31
|
'placeholder',
|
|
31
|
-
'readonly',
|
|
32
|
-
'required',
|
|
32
|
+
{ name: 'readonly', transform: nullableBooleanAttribute },
|
|
33
|
+
{ name: 'required', transform: nullableBooleanAttribute },
|
|
33
34
|
'rows',
|
|
34
35
|
'shape',
|
|
35
|
-
'spellcheck',
|
|
36
|
+
{ name: 'spellcheck', transform: nullableBooleanAttribute },
|
|
36
37
|
'value',
|
|
37
38
|
'wrap',
|
|
38
39
|
];
|
|
40
|
+
const TEXTAREA_PROXY_INPUTS = inputNames(TEXTAREA_INPUTS);
|
|
39
41
|
let IonTextarea = class IonTextarea extends ValueAccessor {
|
|
40
42
|
z;
|
|
41
43
|
el;
|
|
@@ -50,7 +52,7 @@ let IonTextarea = class IonTextarea extends ValueAccessor {
|
|
|
50
52
|
this.handleValueChange(el, el.value);
|
|
51
53
|
}
|
|
52
54
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
55
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonTextarea, isStandalone: true, selector: "ion-textarea", inputs: { autoGrow: ["autoGrow", "autoGrow", nullableBooleanAttribute], autocapitalize: "autocapitalize", autofocus: ["autofocus", "autofocus", nullableBooleanAttribute], clearOnEdit: ["clearOnEdit", "clearOnEdit", nullableBooleanAttribute], color: "color", cols: "cols", counter: ["counter", "counter", nullableBooleanAttribute], counterFormatter: "counterFormatter", debounce: "debounce", disabled: ["disabled", "disabled", nullableBooleanAttribute], enterkeyhint: "enterkeyhint", errorText: "errorText", fill: "fill", helperText: "helperText", inputmode: "inputmode", label: "label", labelPlacement: "labelPlacement", maxlength: "maxlength", minlength: "minlength", mode: "mode", name: "name", placeholder: "placeholder", readonly: ["readonly", "readonly", nullableBooleanAttribute], required: ["required", "required", nullableBooleanAttribute], rows: "rows", shape: "shape", spellcheck: ["spellcheck", "spellcheck", nullableBooleanAttribute], value: "value", wrap: "wrap" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
|
|
54
56
|
{
|
|
55
57
|
provide: NG_VALUE_ACCESSOR,
|
|
56
58
|
useExisting: forwardRef((() => IonTextarea)),
|
|
@@ -61,7 +63,7 @@ let IonTextarea = class IonTextarea extends ValueAccessor {
|
|
|
61
63
|
IonTextarea = __decorate([
|
|
62
64
|
ProxyCmp({
|
|
63
65
|
defineCustomElementFn: defineCustomElement,
|
|
64
|
-
inputs:
|
|
66
|
+
inputs: TEXTAREA_PROXY_INPUTS,
|
|
65
67
|
methods: ['setFocus', 'getInputElement'],
|
|
66
68
|
})
|
|
67
69
|
], IonTextarea);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/standalone/directives/textarea.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;
|
|
1
|
+
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/standalone/directives/textarea.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,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAElE,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,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,gBAAgB;IAChB,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC1D,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC5D,OAAO;IACP,MAAM;IACN,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACxD,kBAAkB;IAClB,UAAU;IACV,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,cAAc;IACd,WAAW;IACX,MAAM;IACN,YAAY;IACZ,WAAW;IACX,OAAO;IACP,gBAAgB;IAChB,WAAW;IACX,WAAW;IACX,MAAM;IACN,MAA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AAmB;QAC1C,MAAM,EAAE,qBAAqB;QAC7B,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC,CAAC;GAgBW,WAAW,CAavB;;2FAbY,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;;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 { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type { TextareaChangeEventDetail, TextareaInputEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-textarea.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst TEXTAREA_INPUTS = [\n { name: 'autoGrow', transform: nullableBooleanAttribute },\n 'autocapitalize',\n { name: 'autofocus', transform: nullableBooleanAttribute },\n { name: 'clearOnEdit', transform: nullableBooleanAttribute },\n 'color',\n 'cols',\n { name: 'counter', transform: nullableBooleanAttribute },\n 'counterFormatter',\n 'debounce',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'enterkeyhint',\n 'errorText',\n 'fill',\n 'helperText',\n 'inputmode',\n 'label',\n 'labelPlacement',\n 'maxlength',\n 'minlength',\n 'mode',\n 'name',\n 'placeholder',\n { name: 'readonly', transform: nullableBooleanAttribute },\n { name: 'required', transform: nullableBooleanAttribute },\n 'rows',\n 'shape',\n { name: 'spellcheck', transform: nullableBooleanAttribute },\n 'value',\n 'wrap',\n];\n\nconst TEXTAREA_PROXY_INPUTS = inputNames(TEXTAREA_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: TEXTAREA_PROXY_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-textarea',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: TEXTAREA_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonTextarea),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonTextarea 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', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonTextareaElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonTextarea extends Components.IonTextarea {\n /**\n * The `ionChange` event is fired when the user modifies the textarea's value.\nUnlike the `ionInput` event, the `ionChange` event is fired when\nthe element loses focus after its value has been modified.\n */\n ionChange: EventEmitter<CustomEvent<TextareaChangeEventDetail>>;\n /**\n * The `ionInput` event is fired each time the user modifies the textarea's value.\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\nto the textarea's value. This typically happens for each keystroke as the user types.\n\nWhen `clearOnEdit` is enabled, the `ionInput` event will be fired when\nthe user clears the textarea by performing a keydown event.\n */\n ionInput: EventEmitter<CustomEvent<TextareaInputEventDetail>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<FocusEvent>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<FocusEvent>>;\n}\n"]}
|
|
@@ -9,7 +9,11 @@ export declare class IonToggle extends ValueAccessor {
|
|
|
9
9
|
writeValue(value: boolean): void;
|
|
10
10
|
handleIonChange(el: HTMLIonToggleElement): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonToggle, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonToggle, "ion-toggle", never, { "checked": { "alias": "checked"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enableOnOffLabels": { "alias": "enableOnOffLabels"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "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<IonToggle, "ion-toggle", never, { "checked": { "alias": "checked"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enableOnOffLabels": { "alias": "enableOnOffLabels"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "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_enableOnOffLabels: boolean | string | null | undefined;
|
|
16
|
+
static ngAcceptInputType_required: boolean | string | null | undefined;
|
|
13
17
|
}
|
|
14
18
|
export declare interface IonToggle extends Components.IonToggle {
|
|
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-toggle.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 TOGGLE_INPUTS = [
|
|
9
|
-
'checked',
|
|
10
|
+
{ name: 'checked', transform: nullableBooleanAttribute },
|
|
10
11
|
'color',
|
|
11
|
-
'disabled',
|
|
12
|
-
'enableOnOffLabels',
|
|
12
|
+
{ name: 'disabled', transform: nullableBooleanAttribute },
|
|
13
|
+
{ name: 'enableOnOffLabels', transform: nullableBooleanAttribute },
|
|
13
14
|
'errorText',
|
|
14
15
|
'helperText',
|
|
15
16
|
'justify',
|
|
16
17
|
'labelPlacement',
|
|
17
18
|
'mode',
|
|
18
19
|
'name',
|
|
20
|
+
{ name: 'required', transform: nullableBooleanAttribute },
|
|
19
21
|
'value',
|
|
20
22
|
];
|
|
23
|
+
const TOGGLE_PROXY_INPUTS = inputNames(TOGGLE_INPUTS);
|
|
21
24
|
let IonToggle = class IonToggle extends ValueAccessor {
|
|
22
25
|
z;
|
|
23
26
|
el;
|
|
@@ -36,7 +39,7 @@ let IonToggle = class IonToggle extends ValueAccessor {
|
|
|
36
39
|
this.handleValueChange(el, el.checked);
|
|
37
40
|
}
|
|
38
41
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
42
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonToggle, isStandalone: true, selector: "ion-toggle", inputs: { checked: ["checked", "checked", nullableBooleanAttribute], color: "color", disabled: ["disabled", "disabled", nullableBooleanAttribute], enableOnOffLabels: ["enableOnOffLabels", "enableOnOffLabels", nullableBooleanAttribute], errorText: "errorText", helperText: "helperText", 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((() => IonToggle)),
|
|
@@ -47,7 +50,7 @@ let IonToggle = class IonToggle extends ValueAccessor {
|
|
|
47
50
|
IonToggle = __decorate([
|
|
48
51
|
ProxyCmp({
|
|
49
52
|
defineCustomElementFn: defineCustomElement,
|
|
50
|
-
inputs:
|
|
53
|
+
inputs: TOGGLE_PROXY_INPUTS,
|
|
51
54
|
})
|
|
52
55
|
], IonToggle);
|
|
53
56
|
export { IonToggle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../src/standalone/directives/toggle.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":"toggle.js","sourceR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,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,EAAwB;QACtC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;0HAjBU,SAAS;8GAAT,SAAS,wFAnCU,wBAAwB,sDAEvB,wBAAwB,iEACf,wBAAwB,0KAOjC,wBAAwB,wGAgB5C;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;IAnBrB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,mBAAmB;KAC5B,CAAC;GAgBW,SAAS,CAkBrB;;2FAlBY,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;;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 { ToggleChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-toggle.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst TOGGLE_INPUTS = [\n { name: 'checked', transform: nullableBooleanAttribute },\n 'color',\n { name: 'disabled', transform: nullableBooleanAttribute },\n { name: 'enableOnOffLabels', transform: nullableBooleanAttribute },\n 'errorText',\n 'helperText',\n 'justify',\n 'labelPlacement',\n 'mode',\n 'name',\n { name: 'required', transform: nullableBooleanAttribute },\n 'value',\n];\n\nconst TOGGLE_PROXY_INPUTS = inputNames(TOGGLE_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: TOGGLE_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-toggle',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: TOGGLE_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonToggle),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonToggle 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: HTMLIonToggleElement): void {\n this.handleValueChange(el, el.checked);\n }\n}\n\nexport declare interface IonToggle extends Components.IonToggle {\n /**\n * Emitted when the user switches the toggle on or off. Does not emit\nwhen programmatically changing the value of the `checked` property.\n */\n ionChange: EventEmitter<CustomEvent<ToggleChangeEventDetail>>;\n /**\n * Emitted when the toggle has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the toggle loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/angular",
|
|
3
|
-
"version": "9.0.11-dev.
|
|
3
|
+
"version": "9.0.11-dev.11794308212.1f37a3b7",
|
|
4
4
|
"description": "Angular specific wrappers for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
},
|
|
55
55
|
".": "./dist/standalone/index.js",
|
|
56
56
|
"./ion-back-button": "./dist/standalone/navigation/back-button.js",
|
|
57
|
+
"./ion-divider": "./dist/standalone/directives/ion-divider.js",
|
|
58
|
+
"./ion-gallery": "./dist/standalone/directives/ion-gallery.js",
|
|
59
|
+
"./ion-gallery-item": "./dist/standalone/directives/ion-gallery-item.js",
|
|
57
60
|
"./ion-modal": "./dist/standalone/overlays/modal.js",
|
|
58
61
|
"./ion-popover": "./dist/standalone/overlays/popover.js",
|
|
59
62
|
"./ion-router-outlet": "./dist/standalone/navigation/router-outlet.js",
|
|
@@ -168,7 +171,7 @@
|
|
|
168
171
|
"css/"
|
|
169
172
|
],
|
|
170
173
|
"dependencies": {
|
|
171
|
-
"@ionic/core": "9.0.11-dev.
|
|
174
|
+
"@ionic/core": "9.0.11-dev.11794308212.1f37a3b7",
|
|
172
175
|
"ionicons": "^8.0.13",
|
|
173
176
|
"jsonc-parser": "^3.0.0",
|
|
174
177
|
"tslib": "^2.3.0"
|