@ionic/core 8.8.6-dev.11777572994.1147595d → 8.8.6-nightly.20260501
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/components/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +4 -0
- package/components/ion-picker-legacy.d.ts +11 -0
- package/components/ion-picker-legacy.js +4 -0
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-1KVKSLu5.js +4 -0
- package/components/{p-DbISMmiI.js → p-BSB38Tek.js} +1 -1
- package/components/{p-CDXBV7oG.js → p-BTeL5HCK.js} +1 -1
- package/components/p-BegtE7nr.js +4 -0
- package/components/{p-Ct3FLpwo.js → p-BlNv564p.js} +1 -1
- package/components/p-CH0NYjKq.js +4 -0
- package/components/{p-DL2W2mt3.js → p-CgfaEEem.js} +1 -1
- package/components/p-Cq8cQ0NL.js +4 -0
- package/components/{p-nPoOPlPt.js → p-Cyxa_4PV.js} +1 -1
- package/components/{p-OOMJP0jy.js → p-D-cP12ZN.js} +1 -1
- package/components/p-DHsZWn1l.js +4 -0
- package/components/{p-BeL7B3Bb.js → p-DJMZehmW.js} +1 -1
- package/components/p-DUqnmRFi.js +4 -0
- package/components/{p-DrIm1s9R.js → p-fpbh6w3f.js} +1 -1
- package/components/{p-DxXmSp9Y.js → p-kvaDs24J.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -8
- package/dist/cjs/ion-alert.cjs.entry.js +3 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -23
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime.cjs.entry.js → ion-datetime_3.cjs.entry.js} +639 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +5 -9
- package/dist/cjs/ion-popover.cjs.entry.js +3 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-DIfHxkst.js → overlays-C2jiBSNQ.js} +7 -26
- package/dist/collection/collection-manifest.json +9 -5
- package/dist/collection/components/action-sheet/action-sheet.js +4 -8
- package/dist/collection/components/alert/alert.js +3 -7
- package/dist/collection/components/loading/loading.js +3 -7
- package/dist/collection/components/modal/modal.js +5 -9
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +27 -0
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +23 -0
- package/dist/collection/components/picker-legacy/picker-interface.js +1 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +300 -0
- package/dist/collection/components/picker-legacy/picker.js +890 -0
- package/dist/collection/components/picker-legacy/picker.md.css +287 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +231 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +422 -0
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +222 -0
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +43 -0
- package/dist/collection/components/popover/popover.js +3 -7
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +5 -38
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/overlays.js +6 -25
- package/dist/docs.json +941 -28
- package/dist/esm/{index-AlrZKoWR.js → index-DV3sJJW8.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +4 -8
- package/dist/esm/ion-alert.entry.js +3 -7
- package/dist/esm/ion-app_8.entry.js +9 -23
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime.entry.js → ion-datetime_3.entry.js} +641 -5
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +3 -7
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +5 -9
- package/dist/esm/ion-popover.entry.js +3 -7
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +5 -5
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-BDGzTP3L.js → overlays-F8GHPo-e.js} +7 -26
- package/dist/html.html-data.json +59 -4
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f17d05e3.entry.js → p-031b76f7.entry.js} +1 -1
- package/dist/ionic/{p-ede28b71.entry.js → p-07506134.entry.js} +1 -1
- package/dist/ionic/{p-e9dd191b.entry.js → p-084c25b2.entry.js} +1 -1
- package/dist/ionic/{p-fed27c64.entry.js → p-0d8b5c38.entry.js} +1 -1
- package/dist/ionic/p-16813ce7.entry.js +4 -0
- package/dist/ionic/p-1b02923f.entry.js +4 -0
- package/dist/ionic/{p-898f9d11.entry.js → p-1b169fb6.entry.js} +1 -1
- package/dist/ionic/p-23fac490.entry.js +4 -0
- package/dist/ionic/{p-7fe42b71.entry.js → p-28a9e720.entry.js} +1 -1
- package/dist/ionic/{p-3b58996c.entry.js → p-294f4bb5.entry.js} +1 -1
- package/dist/ionic/{p-f7762013.entry.js → p-2a68388b.entry.js} +1 -1
- package/dist/ionic/p-2f5a8140.entry.js +4 -0
- package/dist/ionic/{p-34b3a309.entry.js → p-2fd110aa.entry.js} +1 -1
- package/dist/ionic/{p-4ed63122.entry.js → p-301c43f8.entry.js} +1 -1
- package/dist/ionic/p-4c67ce4c.entry.js +4 -0
- package/dist/ionic/p-51c11c47.entry.js +4 -0
- package/dist/ionic/p-53f750a5.entry.js +4 -0
- package/dist/ionic/p-6b701daa.entry.js +4 -0
- package/dist/ionic/{p-19adf785.entry.js → p-7620be24.entry.js} +1 -1
- package/dist/ionic/{p-18b5d5ff.entry.js → p-771b27a5.entry.js} +1 -1
- package/dist/ionic/p-7ca71c83.entry.js +4 -0
- package/dist/ionic/{p-66494f9b.entry.js → p-80cac7a2.entry.js} +1 -1
- package/dist/ionic/{p-506038d3.entry.js → p-8fda6a62.entry.js} +1 -1
- package/dist/ionic/{p-7f269aff.entry.js → p-9cbc6f1f.entry.js} +1 -1
- package/dist/ionic/{p-b6f16f18.entry.js → p-9cdbabbb.entry.js} +1 -1
- package/dist/ionic/p-DTPR1Wpn.js +4 -0
- package/dist/ionic/{p-AlrZKoWR.js → p-DV3sJJW8.js} +1 -1
- package/dist/ionic/{p-dc198c3a.entry.js → p-a84f2d21.entry.js} +1 -1
- package/dist/ionic/{p-b8f4a31c.entry.js → p-aa812c4b.entry.js} +1 -1
- package/dist/ionic/{p-30f5ad9e.entry.js → p-b325a113.entry.js} +1 -1
- package/dist/ionic/p-b5ea8cdd.entry.js +4 -0
- package/dist/ionic/{p-1d2163ad.entry.js → p-bcaa827e.entry.js} +1 -1
- package/dist/ionic/{p-6e99ae8d.entry.js → p-c3cce9d8.entry.js} +1 -1
- package/dist/ionic/{p-b553828c.entry.js → p-d4e8b473.entry.js} +1 -1
- package/dist/ionic/p-e0287f41.entry.js +4 -0
- package/dist/ionic/{p-6da572e7.entry.js → p-e863ffe8.entry.js} +1 -1
- package/dist/ionic/p-f2deaceb.entry.js +4 -0
- package/dist/ionic/{p-460fbe5b.entry.js → p-f69a5f71.entry.js} +1 -1
- package/dist/ionic/{p-4ea520a4.entry.js → p-f8186550.entry.js} +1 -1
- package/dist/ionic/{p-8a3a936b.entry.js → p-fdbc90d4.entry.js} +1 -1
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +5 -0
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +5 -0
- package/dist/types/components/picker-legacy/picker-interface.d.ts +52 -0
- package/dist/types/components/picker-legacy/picker.d.ts +158 -0
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +9 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +0 -7
- package/dist/types/components.d.ts +272 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/utils/config.d.ts +8 -0
- package/dist/types/utils/overlays.d.ts +9 -11
- package/hydrate/index.js +788 -164
- package/hydrate/index.mjs +788 -164
- package/package.json +3 -3
- package/components/p-BHlzkIpO.js +0 -4
- package/components/p-Bg7NsGS9.js +0 -4
- package/components/p-CWpbvhwY.js +0 -4
- package/components/p-DBHdZu4y.js +0 -4
- package/components/p-DPdqO7R6.js +0 -4
- package/dist/ionic/p-2089f9cb.entry.js +0 -4
- package/dist/ionic/p-4c8d8c55.entry.js +0 -4
- package/dist/ionic/p-4f3a8ccf.entry.js +0 -4
- package/dist/ionic/p-528d4c1d.entry.js +0 -4
- package/dist/ionic/p-5430ae94.entry.js +0 -4
- package/dist/ionic/p-5c2cc090.entry.js +0 -4
- package/dist/ionic/p-6406d5a9.entry.js +0 -4
- package/dist/ionic/p-7f9db51b.entry.js +0 -4
- package/dist/ionic/p-Csx_Ej2k.js +0 -4
- package/dist/ionic/p-a39db980.entry.js +0 -4
- package/dist/ionic/p-b5e3e1f7.entry.js +0 -4
- package/dist/ionic/p-cce0cd26.entry.js +0 -4
- package/dist/ionic/p-d92ba088.entry.js +0 -4
|
@@ -25,6 +25,7 @@ import { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
25
25
|
import { ViewController } from "./components/nav/view-controller";
|
|
26
26
|
import { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
27
27
|
import { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
28
|
+
import { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
28
29
|
import { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
29
30
|
import { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
30
31
|
import { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -62,6 +63,7 @@ export { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, S
|
|
|
62
63
|
export { ViewController } from "./components/nav/view-controller";
|
|
63
64
|
export { PickerChangeEventDetail } from "./components/picker/picker-interfaces";
|
|
64
65
|
export { PickerColumnChangeEventDetail, PickerColumnValue } from "./components/picker-column/picker-column-interfaces";
|
|
66
|
+
export { PickerButton, PickerColumn } from "./components/picker-legacy/picker-interface";
|
|
65
67
|
export { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
|
|
66
68
|
export { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
|
|
67
69
|
export { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
|
|
@@ -2287,6 +2289,107 @@ export namespace Components {
|
|
|
2287
2289
|
*/
|
|
2288
2290
|
"value"?: any | null;
|
|
2289
2291
|
}
|
|
2292
|
+
interface IonPickerLegacy {
|
|
2293
|
+
/**
|
|
2294
|
+
* If `true`, the picker will animate.
|
|
2295
|
+
* @default true
|
|
2296
|
+
*/
|
|
2297
|
+
"animated": boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
2300
|
+
* @default true
|
|
2301
|
+
*/
|
|
2302
|
+
"backdropDismiss": boolean;
|
|
2303
|
+
/**
|
|
2304
|
+
* Array of buttons to be displayed at the top of the picker.
|
|
2305
|
+
* @default []
|
|
2306
|
+
*/
|
|
2307
|
+
"buttons": PickerButton[];
|
|
2308
|
+
/**
|
|
2309
|
+
* Array of columns to be displayed in the picker.
|
|
2310
|
+
* @default []
|
|
2311
|
+
*/
|
|
2312
|
+
"columns": PickerColumn[];
|
|
2313
|
+
/**
|
|
2314
|
+
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
2315
|
+
*/
|
|
2316
|
+
"cssClass"?: string | string[];
|
|
2317
|
+
"delegate"?: FrameworkDelegate;
|
|
2318
|
+
/**
|
|
2319
|
+
* Dismiss the picker overlay after it has been presented.
|
|
2320
|
+
* @param data Any data to emit in the dismiss events.
|
|
2321
|
+
* @param role The role of the element that is dismissing the picker. This can be useful in a button handler for determining which button was clicked to dismiss the picker. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
2322
|
+
*/
|
|
2323
|
+
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
|
2324
|
+
/**
|
|
2325
|
+
* Number of milliseconds to wait before dismissing the picker.
|
|
2326
|
+
* @default 0
|
|
2327
|
+
*/
|
|
2328
|
+
"duration": number;
|
|
2329
|
+
/**
|
|
2330
|
+
* Animation to use when the picker is presented.
|
|
2331
|
+
*/
|
|
2332
|
+
"enterAnimation"?: AnimationBuilder;
|
|
2333
|
+
/**
|
|
2334
|
+
* Get the column that matches the specified name.
|
|
2335
|
+
* @param name The name of the column.
|
|
2336
|
+
*/
|
|
2337
|
+
"getColumn": (name: string) => Promise<PickerColumn | undefined>;
|
|
2338
|
+
/**
|
|
2339
|
+
* @default false
|
|
2340
|
+
*/
|
|
2341
|
+
"hasController": boolean;
|
|
2342
|
+
/**
|
|
2343
|
+
* Additional attributes to pass to the picker.
|
|
2344
|
+
*/
|
|
2345
|
+
"htmlAttributes"?: { [key: string]: any };
|
|
2346
|
+
/**
|
|
2347
|
+
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
2348
|
+
* @default false
|
|
2349
|
+
*/
|
|
2350
|
+
"isOpen": boolean;
|
|
2351
|
+
/**
|
|
2352
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
2353
|
+
* @default true
|
|
2354
|
+
*/
|
|
2355
|
+
"keyboardClose": boolean;
|
|
2356
|
+
/**
|
|
2357
|
+
* Animation to use when the picker is dismissed.
|
|
2358
|
+
*/
|
|
2359
|
+
"leaveAnimation"?: AnimationBuilder;
|
|
2360
|
+
/**
|
|
2361
|
+
* The mode determines which platform styles to use.
|
|
2362
|
+
*/
|
|
2363
|
+
"mode"?: "ios" | "md";
|
|
2364
|
+
/**
|
|
2365
|
+
* Returns a promise that resolves when the picker did dismiss.
|
|
2366
|
+
*/
|
|
2367
|
+
"onDidDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2368
|
+
/**
|
|
2369
|
+
* Returns a promise that resolves when the picker will dismiss.
|
|
2370
|
+
*/
|
|
2371
|
+
"onWillDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
2372
|
+
"overlayIndex": number;
|
|
2373
|
+
/**
|
|
2374
|
+
* Present the picker overlay after it has been created.
|
|
2375
|
+
*/
|
|
2376
|
+
"present": () => Promise<void>;
|
|
2377
|
+
/**
|
|
2378
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
|
2379
|
+
* @default true
|
|
2380
|
+
*/
|
|
2381
|
+
"showBackdrop": boolean;
|
|
2382
|
+
/**
|
|
2383
|
+
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
2384
|
+
*/
|
|
2385
|
+
"trigger": string | undefined;
|
|
2386
|
+
}
|
|
2387
|
+
interface IonPickerLegacyColumn {
|
|
2388
|
+
/**
|
|
2389
|
+
* Picker column data
|
|
2390
|
+
*/
|
|
2391
|
+
"col": PickerColumn;
|
|
2392
|
+
}
|
|
2290
2393
|
interface IonPopover {
|
|
2291
2394
|
/**
|
|
2292
2395
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -2812,10 +2915,6 @@ export namespace Components {
|
|
|
2812
2915
|
*/
|
|
2813
2916
|
"mode": "ios" | "md";
|
|
2814
2917
|
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder) => Promise<RouteWrite>;
|
|
2815
|
-
/**
|
|
2816
|
-
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
2817
|
-
*/
|
|
2818
|
-
"swipeGesture"?: boolean;
|
|
2819
2918
|
"swipeHandler"?: SwipeGestureHandler;
|
|
2820
2919
|
}
|
|
2821
2920
|
interface IonRow {
|
|
@@ -3759,6 +3858,14 @@ export interface IonPickerColumnCustomEvent<T> extends CustomEvent<T> {
|
|
|
3759
3858
|
detail: T;
|
|
3760
3859
|
target: HTMLIonPickerColumnElement;
|
|
3761
3860
|
}
|
|
3861
|
+
export interface IonPickerLegacyCustomEvent<T> extends CustomEvent<T> {
|
|
3862
|
+
detail: T;
|
|
3863
|
+
target: HTMLIonPickerLegacyElement;
|
|
3864
|
+
}
|
|
3865
|
+
export interface IonPickerLegacyColumnCustomEvent<T> extends CustomEvent<T> {
|
|
3866
|
+
detail: T;
|
|
3867
|
+
target: HTMLIonPickerLegacyColumnElement;
|
|
3868
|
+
}
|
|
3762
3869
|
export interface IonPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
3763
3870
|
detail: T;
|
|
3764
3871
|
target: HTMLIonPopoverElement;
|
|
@@ -4516,6 +4623,47 @@ declare global {
|
|
|
4516
4623
|
prototype: HTMLIonPickerColumnOptionElement;
|
|
4517
4624
|
new (): HTMLIonPickerColumnOptionElement;
|
|
4518
4625
|
};
|
|
4626
|
+
interface HTMLIonPickerLegacyElementEventMap {
|
|
4627
|
+
"ionPickerDidPresent": void;
|
|
4628
|
+
"ionPickerWillPresent": void;
|
|
4629
|
+
"ionPickerWillDismiss": OverlayEventDetail;
|
|
4630
|
+
"ionPickerDidDismiss": OverlayEventDetail;
|
|
4631
|
+
"didPresent": void;
|
|
4632
|
+
"willPresent": void;
|
|
4633
|
+
"willDismiss": OverlayEventDetail;
|
|
4634
|
+
"didDismiss": OverlayEventDetail;
|
|
4635
|
+
}
|
|
4636
|
+
interface HTMLIonPickerLegacyElement extends Components.IonPickerLegacy, HTMLStencilElement {
|
|
4637
|
+
addEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4638
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4639
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4640
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4641
|
+
removeEventListener<K extends keyof HTMLIonPickerLegacyElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyElement, ev: IonPickerLegacyCustomEvent<HTMLIonPickerLegacyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4642
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4643
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4644
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4645
|
+
}
|
|
4646
|
+
var HTMLIonPickerLegacyElement: {
|
|
4647
|
+
prototype: HTMLIonPickerLegacyElement;
|
|
4648
|
+
new (): HTMLIonPickerLegacyElement;
|
|
4649
|
+
};
|
|
4650
|
+
interface HTMLIonPickerLegacyColumnElementEventMap {
|
|
4651
|
+
"ionPickerColChange": PickerColumn;
|
|
4652
|
+
}
|
|
4653
|
+
interface HTMLIonPickerLegacyColumnElement extends Components.IonPickerLegacyColumn, HTMLStencilElement {
|
|
4654
|
+
addEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4655
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4656
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4657
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4658
|
+
removeEventListener<K extends keyof HTMLIonPickerLegacyColumnElementEventMap>(type: K, listener: (this: HTMLIonPickerLegacyColumnElement, ev: IonPickerLegacyColumnCustomEvent<HTMLIonPickerLegacyColumnElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4659
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4660
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4661
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4662
|
+
}
|
|
4663
|
+
var HTMLIonPickerLegacyColumnElement: {
|
|
4664
|
+
prototype: HTMLIonPickerLegacyColumnElement;
|
|
4665
|
+
new (): HTMLIonPickerLegacyColumnElement;
|
|
4666
|
+
};
|
|
4519
4667
|
interface HTMLIonPopoverElementEventMap {
|
|
4520
4668
|
"ionPopoverDidPresent": void;
|
|
4521
4669
|
"ionPopoverWillPresent": void;
|
|
@@ -5113,6 +5261,8 @@ declare global {
|
|
|
5113
5261
|
"ion-picker": HTMLIonPickerElement;
|
|
5114
5262
|
"ion-picker-column": HTMLIonPickerColumnElement;
|
|
5115
5263
|
"ion-picker-column-option": HTMLIonPickerColumnOptionElement;
|
|
5264
|
+
"ion-picker-legacy": HTMLIonPickerLegacyElement;
|
|
5265
|
+
"ion-picker-legacy-column": HTMLIonPickerLegacyColumnElement;
|
|
5116
5266
|
"ion-popover": HTMLIonPopoverElement;
|
|
5117
5267
|
"ion-progress-bar": HTMLIonProgressBarElement;
|
|
5118
5268
|
"ion-radio": HTMLIonRadioElement;
|
|
@@ -7282,6 +7432,110 @@ declare namespace LocalJSX {
|
|
|
7282
7432
|
*/
|
|
7283
7433
|
"value"?: any | null;
|
|
7284
7434
|
}
|
|
7435
|
+
interface IonPickerLegacy {
|
|
7436
|
+
/**
|
|
7437
|
+
* If `true`, the picker will animate.
|
|
7438
|
+
* @default true
|
|
7439
|
+
*/
|
|
7440
|
+
"animated"?: boolean;
|
|
7441
|
+
/**
|
|
7442
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
7443
|
+
* @default true
|
|
7444
|
+
*/
|
|
7445
|
+
"backdropDismiss"?: boolean;
|
|
7446
|
+
/**
|
|
7447
|
+
* Array of buttons to be displayed at the top of the picker.
|
|
7448
|
+
* @default []
|
|
7449
|
+
*/
|
|
7450
|
+
"buttons"?: PickerButton[];
|
|
7451
|
+
/**
|
|
7452
|
+
* Array of columns to be displayed in the picker.
|
|
7453
|
+
* @default []
|
|
7454
|
+
*/
|
|
7455
|
+
"columns"?: PickerColumn[];
|
|
7456
|
+
/**
|
|
7457
|
+
* Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces.
|
|
7458
|
+
*/
|
|
7459
|
+
"cssClass"?: string | string[];
|
|
7460
|
+
/**
|
|
7461
|
+
* Number of milliseconds to wait before dismissing the picker.
|
|
7462
|
+
* @default 0
|
|
7463
|
+
*/
|
|
7464
|
+
"duration"?: number;
|
|
7465
|
+
/**
|
|
7466
|
+
* Animation to use when the picker is presented.
|
|
7467
|
+
*/
|
|
7468
|
+
"enterAnimation"?: AnimationBuilder;
|
|
7469
|
+
/**
|
|
7470
|
+
* Additional attributes to pass to the picker.
|
|
7471
|
+
*/
|
|
7472
|
+
"htmlAttributes"?: { [key: string]: any };
|
|
7473
|
+
/**
|
|
7474
|
+
* If `true`, the picker will open. If `false`, the picker will close. Use this if you need finer grained control over presentation, otherwise just use the pickerController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the picker dismisses. You will need to do that in your code.
|
|
7475
|
+
* @default false
|
|
7476
|
+
*/
|
|
7477
|
+
"isOpen"?: boolean;
|
|
7478
|
+
/**
|
|
7479
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
7480
|
+
* @default true
|
|
7481
|
+
*/
|
|
7482
|
+
"keyboardClose"?: boolean;
|
|
7483
|
+
/**
|
|
7484
|
+
* Animation to use when the picker is dismissed.
|
|
7485
|
+
*/
|
|
7486
|
+
"leaveAnimation"?: AnimationBuilder;
|
|
7487
|
+
/**
|
|
7488
|
+
* The mode determines which platform styles to use.
|
|
7489
|
+
*/
|
|
7490
|
+
"mode"?: "ios" | "md";
|
|
7491
|
+
/**
|
|
7492
|
+
* Emitted after the picker has dismissed. Shorthand for ionPickerDidDismiss.
|
|
7493
|
+
*/
|
|
7494
|
+
"onDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7495
|
+
/**
|
|
7496
|
+
* Emitted after the picker has presented. Shorthand for ionPickerWillDismiss.
|
|
7497
|
+
*/
|
|
7498
|
+
"onDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7499
|
+
/**
|
|
7500
|
+
* Emitted after the picker has dismissed.
|
|
7501
|
+
*/
|
|
7502
|
+
"onIonPickerDidDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7503
|
+
/**
|
|
7504
|
+
* Emitted after the picker has presented.
|
|
7505
|
+
*/
|
|
7506
|
+
"onIonPickerDidPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7507
|
+
/**
|
|
7508
|
+
* Emitted before the picker has dismissed.
|
|
7509
|
+
*/
|
|
7510
|
+
"onIonPickerWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7511
|
+
/**
|
|
7512
|
+
* Emitted before the picker has presented.
|
|
7513
|
+
*/
|
|
7514
|
+
"onIonPickerWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7515
|
+
/**
|
|
7516
|
+
* Emitted before the picker has dismissed. Shorthand for ionPickerWillDismiss.
|
|
7517
|
+
*/
|
|
7518
|
+
"onWillDismiss"?: (event: IonPickerLegacyCustomEvent<OverlayEventDetail>) => void;
|
|
7519
|
+
/**
|
|
7520
|
+
* Emitted before the picker has presented. Shorthand for ionPickerWillPresent.
|
|
7521
|
+
*/
|
|
7522
|
+
"onWillPresent"?: (event: IonPickerLegacyCustomEvent<void>) => void;
|
|
7523
|
+
/**
|
|
7524
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
|
7525
|
+
* @default true
|
|
7526
|
+
*/
|
|
7527
|
+
"showBackdrop"?: boolean;
|
|
7528
|
+
/**
|
|
7529
|
+
* An ID corresponding to the trigger element that causes the picker to open when clicked.
|
|
7530
|
+
*/
|
|
7531
|
+
"trigger"?: string | undefined;
|
|
7532
|
+
}
|
|
7533
|
+
interface IonPickerLegacyColumn {
|
|
7534
|
+
/**
|
|
7535
|
+
* Picker column data
|
|
7536
|
+
*/
|
|
7537
|
+
"col": PickerColumn;
|
|
7538
|
+
}
|
|
7285
7539
|
interface IonPopover {
|
|
7286
7540
|
/**
|
|
7287
7541
|
* Describes how to align the popover content with the `reference` point. Defaults to `"center"` for `ios` mode, and `"start"` for `md` mode.
|
|
@@ -7846,10 +8100,6 @@ declare namespace LocalJSX {
|
|
|
7846
8100
|
* @default getIonMode(this)
|
|
7847
8101
|
*/
|
|
7848
8102
|
"mode"?: "ios" | "md";
|
|
7849
|
-
/**
|
|
7850
|
-
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture. Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
7851
|
-
*/
|
|
7852
|
-
"swipeGesture"?: boolean;
|
|
7853
8103
|
}
|
|
7854
8104
|
interface IonRow {
|
|
7855
8105
|
}
|
|
@@ -9160,6 +9410,16 @@ declare namespace LocalJSX {
|
|
|
9160
9410
|
"value": string;
|
|
9161
9411
|
"color": Color;
|
|
9162
9412
|
}
|
|
9413
|
+
interface IonPickerLegacyAttributes {
|
|
9414
|
+
"keyboardClose": boolean;
|
|
9415
|
+
"cssClass": string | string[];
|
|
9416
|
+
"duration": number;
|
|
9417
|
+
"showBackdrop": boolean;
|
|
9418
|
+
"backdropDismiss": boolean;
|
|
9419
|
+
"animated": boolean;
|
|
9420
|
+
"isOpen": boolean;
|
|
9421
|
+
"trigger": string | undefined;
|
|
9422
|
+
}
|
|
9163
9423
|
interface IonPopoverAttributes {
|
|
9164
9424
|
"component": ComponentRef;
|
|
9165
9425
|
"keyboardClose": boolean;
|
|
@@ -9263,7 +9523,6 @@ declare namespace LocalJSX {
|
|
|
9263
9523
|
interface IonRouterOutletAttributes {
|
|
9264
9524
|
"mode": "ios" | "md";
|
|
9265
9525
|
"animated": boolean;
|
|
9266
|
-
"swipeGesture": boolean;
|
|
9267
9526
|
}
|
|
9268
9527
|
interface IonSearchbarAttributes {
|
|
9269
9528
|
"color": Color;
|
|
@@ -9511,6 +9770,8 @@ declare namespace LocalJSX {
|
|
|
9511
9770
|
"ion-picker": IonPicker;
|
|
9512
9771
|
"ion-picker-column": Omit<IonPickerColumn, keyof IonPickerColumnAttributes> & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes]?: IonPickerColumn[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `attr:${K}`]?: IonPickerColumnAttributes[K] } & { [K in keyof IonPickerColumn & keyof IonPickerColumnAttributes as `prop:${K}`]?: IonPickerColumn[K] };
|
|
9513
9772
|
"ion-picker-column-option": Omit<IonPickerColumnOption, keyof IonPickerColumnOptionAttributes> & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes]?: IonPickerColumnOption[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `attr:${K}`]?: IonPickerColumnOptionAttributes[K] } & { [K in keyof IonPickerColumnOption & keyof IonPickerColumnOptionAttributes as `prop:${K}`]?: IonPickerColumnOption[K] };
|
|
9773
|
+
"ion-picker-legacy": Omit<IonPickerLegacy, keyof IonPickerLegacyAttributes> & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes]?: IonPickerLegacy[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `attr:${K}`]?: IonPickerLegacyAttributes[K] } & { [K in keyof IonPickerLegacy & keyof IonPickerLegacyAttributes as `prop:${K}`]?: IonPickerLegacy[K] };
|
|
9774
|
+
"ion-picker-legacy-column": IonPickerLegacyColumn;
|
|
9514
9775
|
"ion-popover": Omit<IonPopover, keyof IonPopoverAttributes> & { [K in keyof IonPopover & keyof IonPopoverAttributes]?: IonPopover[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `attr:${K}`]?: IonPopoverAttributes[K] } & { [K in keyof IonPopover & keyof IonPopoverAttributes as `prop:${K}`]?: IonPopover[K] };
|
|
9515
9776
|
"ion-progress-bar": Omit<IonProgressBar, keyof IonProgressBarAttributes> & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes]?: IonProgressBar[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `attr:${K}`]?: IonProgressBarAttributes[K] } & { [K in keyof IonProgressBar & keyof IonProgressBarAttributes as `prop:${K}`]?: IonProgressBar[K] };
|
|
9516
9777
|
"ion-radio": Omit<IonRadio, keyof IonRadioAttributes> & { [K in keyof IonRadio & keyof IonRadioAttributes]?: IonRadio[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `attr:${K}`]?: IonRadioAttributes[K] } & { [K in keyof IonRadio & keyof IonRadioAttributes as `prop:${K}`]?: IonRadio[K] };
|
|
@@ -9612,6 +9873,8 @@ declare module "@stencil/core" {
|
|
|
9612
9873
|
"ion-picker": LocalJSX.IntrinsicElements["ion-picker"] & JSXBase.HTMLAttributes<HTMLIonPickerElement>;
|
|
9613
9874
|
"ion-picker-column": LocalJSX.IntrinsicElements["ion-picker-column"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnElement>;
|
|
9614
9875
|
"ion-picker-column-option": LocalJSX.IntrinsicElements["ion-picker-column-option"] & JSXBase.HTMLAttributes<HTMLIonPickerColumnOptionElement>;
|
|
9876
|
+
"ion-picker-legacy": LocalJSX.IntrinsicElements["ion-picker-legacy"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyElement>;
|
|
9877
|
+
"ion-picker-legacy-column": LocalJSX.IntrinsicElements["ion-picker-legacy-column"] & JSXBase.HTMLAttributes<HTMLIonPickerLegacyColumnElement>;
|
|
9615
9878
|
"ion-popover": LocalJSX.IntrinsicElements["ion-popover"] & JSXBase.HTMLAttributes<HTMLIonPopoverElement>;
|
|
9616
9879
|
"ion-progress-bar": LocalJSX.IntrinsicElements["ion-progress-bar"] & JSXBase.HTMLAttributes<HTMLIonProgressBarElement>;
|
|
9617
9880
|
"ion-radio": LocalJSX.IntrinsicElements["ion-radio"] & JSXBase.HTMLAttributes<HTMLIonRadioElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export { IonicConfig, getMode, setupConfig } from './utils/config';
|
|
|
14
14
|
export { openURL } from './utils/theme';
|
|
15
15
|
export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, } from './components/nav/constants';
|
|
16
16
|
export { menuController } from './utils/menu-controller';
|
|
17
|
-
export { alertController, actionSheetController, modalController, loadingController, popoverController, toastController, } from './utils/overlays';
|
|
17
|
+
export { alertController, actionSheetController, modalController, loadingController, pickerController, popoverController, toastController, } from './utils/overlays';
|
|
18
18
|
export { IonicSlides } from './components/slides/IonicSlides';
|
|
@@ -19,6 +19,7 @@ export { LoadingOptions } from './components/loading/loading-interface';
|
|
|
19
19
|
export { MenuCustomEvent, MenuI, MenuControllerI } from './components/menu/menu-interface';
|
|
20
20
|
export { ModalOptions, ModalCustomEvent, ModalDragEventDetail } from './components/modal/modal-interface';
|
|
21
21
|
export { NavDirection, NavCustomEvent } from './components/nav/nav-interface';
|
|
22
|
+
export { PickerOptions, PickerColumnOption } from './components/picker-legacy/picker-interface';
|
|
22
23
|
export { PopoverOptions } from './components/popover/popover-interface';
|
|
23
24
|
export { RadioGroupCustomEvent } from './components/radio-group/radio-group-interface';
|
|
24
25
|
export { RangeCustomEvent, PinFormatter } from './components/range/range-interface';
|
|
@@ -117,6 +117,10 @@ export interface IonicConfig {
|
|
|
117
117
|
* Provides a custom enter animation for all `ion-toast`, overriding the default "animation".
|
|
118
118
|
*/
|
|
119
119
|
toastEnter?: AnimationBuilder;
|
|
120
|
+
/**
|
|
121
|
+
* Provides a custom enter animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
122
|
+
*/
|
|
123
|
+
pickerEnter?: AnimationBuilder;
|
|
120
124
|
/**
|
|
121
125
|
* Provides a custom leave animation for all `ion-action-sheet`, overriding the default "animation".
|
|
122
126
|
*/
|
|
@@ -141,6 +145,10 @@ export interface IonicConfig {
|
|
|
141
145
|
* Provides a custom leave animation for all `ion-toast`, overriding the default "animation".
|
|
142
146
|
*/
|
|
143
147
|
toastLeave?: AnimationBuilder;
|
|
148
|
+
/**
|
|
149
|
+
* Provides a custom leave animation for all `ion-picker-legacy`, overriding the default "animation".
|
|
150
|
+
*/
|
|
151
|
+
pickerLeave?: AnimationBuilder;
|
|
144
152
|
/**
|
|
145
153
|
* If `true`, Ionic will enable a basic DOM sanitizer on component properties that accept custom HTML.
|
|
146
154
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionSheetOptions, AlertOptions, Animation, AnimationBuilder, FrameworkDelegate, HTMLIonOverlayElement, IonicConfig, LoadingOptions, ModalOptions, OverlayInterface, PopoverOptions, ToastOptions } from '../interface';
|
|
1
|
+
import type { ActionSheetOptions, AlertOptions, Animation, AnimationBuilder, FrameworkDelegate, HTMLIonOverlayElement, IonicConfig, LoadingOptions, ModalOptions, OverlayInterface, PickerOptions, PopoverOptions, ToastOptions } from '../interface';
|
|
2
2
|
export declare const activeAnimations: WeakMap<OverlayInterface, Animation[]>;
|
|
3
3
|
export declare const alertController: {
|
|
4
4
|
create(options: AlertOptions): Promise<HTMLIonAlertElement>;
|
|
@@ -20,6 +20,14 @@ export declare const modalController: {
|
|
|
20
20
|
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
21
21
|
getTop(): Promise<HTMLIonModalElement | undefined>;
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
25
|
+
*/
|
|
26
|
+
export declare const pickerController: {
|
|
27
|
+
create(options: PickerOptions): Promise<HTMLIonPickerLegacyElement>;
|
|
28
|
+
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
29
|
+
getTop(): Promise<HTMLIonPickerLegacyElement | undefined>;
|
|
30
|
+
};
|
|
23
31
|
export declare const popoverController: {
|
|
24
32
|
create(options: PopoverOptions<import("../interface").ComponentRef>): Promise<HTMLIonPopoverElement>;
|
|
25
33
|
dismiss(data?: any, role?: string, id?: string): Promise<boolean>;
|
|
@@ -78,16 +86,6 @@ export declare const getPresentedOverlay: (doc: Document, overlayTag?: string, i
|
|
|
78
86
|
* for main content.
|
|
79
87
|
*/
|
|
80
88
|
export declare const setRootAriaHidden: (hidden?: boolean) => void;
|
|
81
|
-
/**
|
|
82
|
-
* Cleans up root `aria-hidden` and `backdrop-no-scroll` when
|
|
83
|
-
* an overlay is removed from the DOM without going through
|
|
84
|
-
* the `dismiss()` flow (e.g., when a framework unmounts the
|
|
85
|
-
* overlay during a route change).
|
|
86
|
-
*
|
|
87
|
-
* Should be called from an overlay's `disconnectedCallback`
|
|
88
|
-
* when the overlay was still presented at the time of removal.
|
|
89
|
-
*/
|
|
90
|
-
export declare const cleanupRootFocusTrapAccessibility: () => void;
|
|
91
89
|
export declare const present: <OverlayPresentOptions>(overlay: OverlayInterface, name: keyof IonicConfig, iosEnterAnimation: AnimationBuilder, mdEnterAnimation: AnimationBuilder, opts?: OverlayPresentOptions) => Promise<void>;
|
|
92
90
|
export declare const dismiss: <OverlayDismissOptions>(overlay: OverlayInterface, data: any | undefined, role: string | undefined, name: keyof IonicConfig, iosLeaveAnimation: AnimationBuilder, mdLeaveAnimation: AnimationBuilder, opts?: OverlayDismissOptions) => Promise<boolean>;
|
|
93
91
|
export declare const eventMethod: <T>(element: HTMLElement, eventName: string) => Promise<T>;
|