@ionic/core 7.5.3-dev.11698858201.14165f23 → 7.5.3-dev.11699994454.1cbf1283
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/backdrop.js +0 -12
- package/components/gesture-controller.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime.js +23 -48
- package/components/overlays.js +5 -1
- package/dist/cjs/{button-active-c0ff1915.js → button-active-b18290c5.js} +1 -1
- package/dist/cjs/{gesture-controller-b46721be.js → gesture-controller-d6a3f907.js} +1 -0
- package/dist/cjs/{index-0ee995e4.js → index-0f8b33f8.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +0 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +26 -50
- package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +2 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +2 -1
- package/dist/cjs/ion-range.cjs.entry.js +1 -1
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +2 -1
- package/dist/cjs/ion-toast.cjs.entry.js +2 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{overlays-1a734051.js → overlays-e620a639.js} +5 -1
- package/dist/cjs/{swipe-back-d0412fb6.js → swipe-back-a6dc6e5d.js} +2 -2
- package/dist/collection/components/backdrop/backdrop.js +0 -12
- package/dist/collection/components/content/content.css +0 -4
- package/dist/collection/components/datetime/datetime.ios.css +3 -23
- package/dist/collection/components/datetime/datetime.js +22 -47
- package/dist/collection/components/datetime/datetime.md.css +3 -23
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -66
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/overlays.js +5 -1
- package/dist/docs.json +2 -2
- package/dist/esm/{button-active-d926d4f4.js → button-active-c0672227.js} +1 -1
- package/dist/esm/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm/{index-ff313b19.js → index-32cbee52.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +0 -12
- package/dist/esm/ion-datetime_3.entry.js +26 -50
- package/dist/esm/ion-item-option_3.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +2 -1
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +2 -1
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +2 -1
- package/dist/esm/ion-toast.entry.js +2 -1
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/{overlays-cec6bac8.js → overlays-a25f3692.js} +5 -1
- package/dist/esm/{swipe-back-0f3bfc8e.js → swipe-back-cc4c2bcb.js} +2 -2
- package/dist/esm-es5/{button-active-d926d4f4.js → button-active-c0672227.js} +1 -1
- package/dist/esm-es5/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm-es5/{index-ff313b19.js → index-32cbee52.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/overlays-a25f3692.js +4 -0
- package/dist/esm-es5/swipe-back-cc4c2bcb.js +4 -0
- package/dist/html.html-data.json +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-e552cf80.entry.js → p-082e6ebc.entry.js} +1 -1
- package/dist/ionic/p-0fb53284.system.js +1 -1
- package/dist/ionic/{p-e0b06b65.js → p-100ef961.js} +1 -1
- package/dist/ionic/{p-70263330.entry.js → p-192896f7.entry.js} +1 -1
- package/dist/ionic/p-1d442e7f.system.entry.js +4 -0
- package/dist/ionic/p-21db87fd.entry.js +4 -0
- package/dist/ionic/{p-ebdf4f41.entry.js → p-243c6b48.entry.js} +1 -1
- package/dist/ionic/p-274d8ed2.system.entry.js +4 -0
- package/dist/ionic/{p-fa8d4788.system.js → p-2e1794df.system.js} +1 -1
- package/dist/ionic/{p-e627ed84.js → p-302091ab.js} +1 -1
- package/dist/ionic/p-31460205.system.entry.js +4 -0
- package/dist/ionic/{p-79d430f7.system.entry.js → p-33ddf556.system.entry.js} +1 -1
- package/dist/ionic/{p-5fba0b2d.entry.js → p-428d1977.entry.js} +1 -1
- package/dist/ionic/{p-306d845d.system.entry.js → p-4c71f040.system.entry.js} +1 -1
- package/dist/ionic/p-4d315f52.entry.js +4 -0
- package/dist/ionic/{p-f275d76b.system.entry.js → p-5e2a8ff3.system.entry.js} +1 -1
- package/dist/ionic/{p-9e852ff1.system.js → p-6500b298.system.js} +1 -1
- package/dist/ionic/{p-83198481.entry.js → p-66a6a50f.entry.js} +1 -1
- package/dist/ionic/{p-fe08d5d6.system.js → p-68d3bb7a.system.js} +1 -1
- package/dist/ionic/p-6e631497.entry.js +4 -0
- package/dist/ionic/{p-372f1f80.system.entry.js → p-6f9dc7fa.system.entry.js} +1 -1
- package/dist/ionic/p-72b1912d.system.entry.js +4 -0
- package/dist/ionic/p-738dbf62.js +4 -0
- package/dist/ionic/p-768a68bf.entry.js +4 -0
- package/dist/ionic/{p-aa377971.system.js → p-78a07ba5.system.js} +1 -1
- package/dist/ionic/p-8a792504.system.entry.js +4 -0
- package/dist/ionic/{p-dcce7252.entry.js → p-9165324b.entry.js} +1 -1
- package/dist/ionic/{p-26d0ec66.system.entry.js → p-96c924cc.system.entry.js} +1 -1
- package/dist/ionic/{p-23410b18.system.entry.js → p-9ae2c66c.system.entry.js} +1 -1
- package/dist/ionic/p-9c2741fe.system.js +4 -0
- package/dist/ionic/{p-3574440a.system.entry.js → p-9ff931fd.system.entry.js} +1 -1
- package/dist/ionic/p-a0493a3f.system.entry.js +4 -0
- package/dist/ionic/{p-8b1be026.js → p-a7e2ac5c.js} +1 -1
- package/dist/ionic/{p-ce56d7b5.system.entry.js → p-ac8cc82a.system.entry.js} +1 -1
- package/dist/ionic/{p-360d0872.entry.js → p-b5f0e159.entry.js} +1 -1
- package/dist/ionic/{p-99eba967.entry.js → p-ba99fb46.entry.js} +1 -1
- package/dist/ionic/{p-f089f3b1.entry.js → p-bdad8452.entry.js} +1 -1
- package/dist/ionic/p-bf83f5da.js +4 -0
- package/dist/ionic/{p-2222b68a.system.entry.js → p-c49d44b0.system.entry.js} +2 -2
- package/dist/ionic/p-ced20292.entry.js +4 -0
- package/dist/ionic/{p-df189fa7.entry.js → p-dd289f93.entry.js} +1 -1
- package/dist/ionic/{p-7427a3ec.system.entry.js → p-de16430e.system.entry.js} +1 -1
- package/dist/ionic/p-e88ed07f.system.js +4 -0
- package/dist/ionic/{p-0c0d536f.system.entry.js → p-f1739380.system.entry.js} +1 -1
- package/dist/ionic/p-f9ed9d47.system.entry.js +4 -0
- package/dist/ionic/{p-db0140c0.entry.js → p-fa730d6f.entry.js} +1 -1
- package/dist/ionic/p-fe1c94e6.entry.js +4 -0
- package/dist/ionic/p-ff16ac5d.entry.js +4 -0
- package/dist/types/components/backdrop/backdrop.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/dist/types/utils/gesture/gesture-controller.d.ts +1 -0
- package/hydrate/index.js +28 -61
- package/package.json +2 -2
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
- package/dist/esm-es5/overlays-cec6bac8.js +0 -4
- package/dist/esm-es5/swipe-back-0f3bfc8e.js +0 -4
- package/dist/ionic/p-0362c48a.entry.js +0 -4
- package/dist/ionic/p-07989b03.system.entry.js +0 -4
- package/dist/ionic/p-1676eeff.system.entry.js +0 -4
- package/dist/ionic/p-28ea45b9.js +0 -4
- package/dist/ionic/p-3816e896.entry.js +0 -4
- package/dist/ionic/p-4e70a7cc.entry.js +0 -4
- package/dist/ionic/p-68f78c9b.system.entry.js +0 -4
- package/dist/ionic/p-892710a8.entry.js +0 -4
- package/dist/ionic/p-8dbdb163.system.js +0 -4
- package/dist/ionic/p-8f01a9a2.system.js +0 -4
- package/dist/ionic/p-8fdd6396.system.entry.js +0 -4
- package/dist/ionic/p-af37e8de.system.entry.js +0 -4
- package/dist/ionic/p-bbf47813.entry.js +0 -4
- package/dist/ionic/p-cf62e1c8.js +0 -4
- package/dist/ionic/p-db1a1e00.entry.js +0 -4
- package/dist/ionic/p-db2332fe.system.entry.js +0 -4
- package/dist/ionic/p-f10fb4d4.system.entry.js +0 -4
- package/dist/ionic/p-f5e7ed0e.entry.js +0 -4
|
@@ -15,11 +15,12 @@ const index$2 = require('./index-09471526.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
16
16
|
const data = require('./data-c8d21093.js');
|
|
17
17
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-e620a639.js');
|
|
19
19
|
const animation = require('./animation-1083855c.js');
|
|
20
20
|
const haptic = require('./haptic-678abc9f.js');
|
|
21
21
|
require('./index-306a7476.js');
|
|
22
22
|
require('./framework-delegate-c0873a6f.js');
|
|
23
|
+
require('./gesture-controller-d6a3f907.js');
|
|
23
24
|
require('./hardware-back-button-b67c8e75.js');
|
|
24
25
|
require('./capacitor-2ffba62a.js');
|
|
25
26
|
|
|
@@ -190,9 +191,9 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
|
|
|
190
191
|
return undefined;
|
|
191
192
|
};
|
|
192
193
|
|
|
193
|
-
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
194
|
+
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
194
195
|
|
|
195
|
-
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-
|
|
196
|
+
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .datetime-view-buttons ion-button{color:var(--ion-color-step-800, #333333)}";
|
|
196
197
|
|
|
197
198
|
const Datetime = class {
|
|
198
199
|
constructor(hostRef) {
|
|
@@ -256,13 +257,6 @@ const Datetime = class {
|
|
|
256
257
|
this.workingParts = Object.assign({}, parts);
|
|
257
258
|
};
|
|
258
259
|
this.setActiveParts = (parts, removeDate = false) => {
|
|
259
|
-
/** if the datetime component is in readonly mode,
|
|
260
|
-
* allow browsing of the calendar without changing
|
|
261
|
-
* the set value
|
|
262
|
-
*/
|
|
263
|
-
if (this.readonly) {
|
|
264
|
-
return;
|
|
265
|
-
}
|
|
266
260
|
const { multiple, minParts, maxParts, activeParts } = this;
|
|
267
261
|
/**
|
|
268
262
|
* When setting the active parts, it is possible
|
|
@@ -1083,13 +1077,7 @@ const Datetime = class {
|
|
|
1083
1077
|
* are rendered independently of presentation.
|
|
1084
1078
|
*/
|
|
1085
1079
|
renderFooter() {
|
|
1086
|
-
const {
|
|
1087
|
-
/**
|
|
1088
|
-
* The cancel, clear, and confirm buttons
|
|
1089
|
-
* should not be interactive if the datetime
|
|
1090
|
-
* is disabled or readonly.
|
|
1091
|
-
*/
|
|
1092
|
-
const isButtonDisabled = disabled || readonly;
|
|
1080
|
+
const { showDefaultButtons, showClearButton } = this;
|
|
1093
1081
|
const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
|
|
1094
1082
|
if (!hasSlottedButtons && !showDefaultButtons && !showClearButton) {
|
|
1095
1083
|
return;
|
|
@@ -1108,7 +1096,7 @@ const Datetime = class {
|
|
|
1108
1096
|
return (index$1.h("div", { class: "datetime-footer" }, index$1.h("div", { class: "datetime-buttons" }, index$1.h("div", { class: {
|
|
1109
1097
|
['datetime-action-buttons']: true,
|
|
1110
1098
|
['has-clear-button']: this.showClearButton,
|
|
1111
|
-
} }, index$1.h("slot", { name: "buttons" }, index$1.h("ion-buttons", null, showDefaultButtons && (index$1.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true)
|
|
1099
|
+
} }, index$1.h("slot", { name: "buttons" }, index$1.h("ion-buttons", null, showDefaultButtons && (index$1.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true) }, this.cancelText)), index$1.h("div", { class: "datetime-action-buttons-container" }, showClearButton && (index$1.h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick() }, this.clearText)), showDefaultButtons && (index$1.h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true) }, this.doneText)))))))));
|
|
1112
1100
|
}
|
|
1113
1101
|
/**
|
|
1114
1102
|
* Wheel picker render methods
|
|
@@ -1399,14 +1387,13 @@ const Datetime = class {
|
|
|
1399
1387
|
* Grid Render Methods
|
|
1400
1388
|
*/
|
|
1401
1389
|
renderCalendarHeader(mode) {
|
|
1402
|
-
const { disabled } = this;
|
|
1403
1390
|
const expandedIcon = mode === 'ios' ? index$2.chevronDown : index$2.caretUpSharp;
|
|
1404
1391
|
const collapsedIcon = mode === 'ios' ? index$2.chevronForward : index$2.caretDownSharp;
|
|
1405
|
-
const prevMonthDisabled =
|
|
1406
|
-
const nextMonthDisabled =
|
|
1392
|
+
const prevMonthDisabled = isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1393
|
+
const nextMonthDisabled = isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1407
1394
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
1408
1395
|
const hostDir = this.el.getAttribute('dir') || undefined;
|
|
1409
|
-
return (index$1.h("div", { class: "calendar-header" }, index$1.h("div", { class: "calendar-action-buttons" }, index$1.h("div", { class: "calendar-month-year" }, index$1.h("ion-item", { part: "month-year-button", ref: (el) => (this.monthYearToggleItemRef = el), button: true, "aria-label": "Show year picker", detail: false, lines: "none",
|
|
1396
|
+
return (index$1.h("div", { class: "calendar-header" }, index$1.h("div", { class: "calendar-action-buttons" }, index$1.h("div", { class: "calendar-month-year" }, index$1.h("ion-item", { part: "month-year-button", ref: (el) => (this.monthYearToggleItemRef = el), button: true, "aria-label": "Show year picker", detail: false, lines: "none", onClick: () => {
|
|
1410
1397
|
var _a;
|
|
1411
1398
|
this.toggleMonthAndYearView();
|
|
1412
1399
|
/**
|
|
@@ -1430,23 +1417,20 @@ const Datetime = class {
|
|
|
1430
1417
|
}))));
|
|
1431
1418
|
}
|
|
1432
1419
|
renderMonth(month, year) {
|
|
1433
|
-
const { disabled, readonly } = this;
|
|
1434
1420
|
const yearAllowed = this.parsedYearValues === undefined || this.parsedYearValues.includes(year);
|
|
1435
1421
|
const monthAllowed = this.parsedMonthValues === undefined || this.parsedMonthValues.includes(month);
|
|
1436
1422
|
const isCalMonthDisabled = !yearAllowed || !monthAllowed;
|
|
1437
|
-
const
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
|
|
1449
|
-
});
|
|
1423
|
+
const swipeDisabled = isMonthDisabled({
|
|
1424
|
+
month,
|
|
1425
|
+
year,
|
|
1426
|
+
day: null,
|
|
1427
|
+
}, {
|
|
1428
|
+
// The day is not used when checking if a month is disabled.
|
|
1429
|
+
// Users should be able to access the min or max month, even if the
|
|
1430
|
+
// min/max date is out of bounds (e.g. min is set to Feb 15, Feb should not be disabled).
|
|
1431
|
+
minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
|
|
1432
|
+
maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
|
|
1433
|
+
});
|
|
1450
1434
|
// The working month should never have swipe disabled.
|
|
1451
1435
|
// Otherwise the CSS scroll snap will not work and the user
|
|
1452
1436
|
// can free-scroll the calendar.
|
|
@@ -1461,9 +1445,9 @@ const Datetime = class {
|
|
|
1461
1445
|
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1462
1446
|
const referenceParts = { month, day, year };
|
|
1463
1447
|
const isCalendarPadding = day === null;
|
|
1464
|
-
const { isActive, isToday, ariaLabel, ariaSelected, disabled
|
|
1448
|
+
const { isActive, isToday, ariaLabel, ariaSelected, disabled, text } = getCalendarDayState(this.locale, referenceParts, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
|
|
1465
1449
|
const dateIsoString = data.convertDataToISO(referenceParts);
|
|
1466
|
-
let isCalDayDisabled = isCalMonthDisabled ||
|
|
1450
|
+
let isCalDayDisabled = isCalMonthDisabled || disabled;
|
|
1467
1451
|
if (!isCalDayDisabled && isDateEnabled !== undefined) {
|
|
1468
1452
|
try {
|
|
1469
1453
|
/**
|
|
@@ -1477,13 +1461,6 @@ const Datetime = class {
|
|
|
1477
1461
|
index.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', el, e);
|
|
1478
1462
|
}
|
|
1479
1463
|
}
|
|
1480
|
-
/**
|
|
1481
|
-
* Some days are constrained through max & min or allowed dates
|
|
1482
|
-
* and also disabled because the component is readonly or disabled.
|
|
1483
|
-
* These need to be displayed differently.
|
|
1484
|
-
*/
|
|
1485
|
-
const isCalDayConstrained = isCalDayDisabled && isDatetimeDisabled;
|
|
1486
|
-
const isButtonDisabled = isCalDayDisabled || isDatetimeDisabled;
|
|
1487
1464
|
let dateStyle = undefined;
|
|
1488
1465
|
/**
|
|
1489
1466
|
* Custom highlight styles should not override the style for selected dates,
|
|
@@ -1510,11 +1487,10 @@ const Datetime = class {
|
|
|
1510
1487
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1511
1488
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1512
1489
|
}
|
|
1513
|
-
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$2, "data-day-of-week": dayOfWeek, disabled:
|
|
1490
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$2, "data-day-of-week": dayOfWeek, disabled: isCalDayDisabled, class: {
|
|
1514
1491
|
'calendar-day-padding': isCalendarPadding,
|
|
1515
1492
|
'calendar-day': true,
|
|
1516
1493
|
'calendar-day-active': isActive,
|
|
1517
|
-
'calendar-day-constrained': isCalDayConstrained,
|
|
1518
1494
|
'calendar-day-today': isToday,
|
|
1519
1495
|
}, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
|
|
1520
1496
|
if (isCalendarPadding) {
|
|
@@ -1556,7 +1532,7 @@ const Datetime = class {
|
|
|
1556
1532
|
return index$1.h("slot", { name: "time-label" }, "Time");
|
|
1557
1533
|
}
|
|
1558
1534
|
renderTimeOverlay() {
|
|
1559
|
-
const {
|
|
1535
|
+
const { hourCycle, isTimePopoverOpen, locale } = this;
|
|
1560
1536
|
const computedHourCycle = data.getHourCycle(locale, hourCycle);
|
|
1561
1537
|
const activePart = this.getActivePartsWithFallback();
|
|
1562
1538
|
return [
|
|
@@ -1564,7 +1540,7 @@ const Datetime = class {
|
|
|
1564
1540
|
index$1.h("button", { class: {
|
|
1565
1541
|
'time-body': true,
|
|
1566
1542
|
'time-body-active': isTimePopoverOpen,
|
|
1567
|
-
}, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true",
|
|
1543
|
+
}, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", onClick: async (ev) => {
|
|
1568
1544
|
const { popoverRef } = this;
|
|
1569
1545
|
if (popoverRef) {
|
|
1570
1546
|
this.isTimePopoverOpen = true;
|
|
@@ -2012,7 +1988,7 @@ const PickerColumnCmp = class {
|
|
|
2012
1988
|
}
|
|
2013
1989
|
this.rotateFactor = pickerRotateFactor;
|
|
2014
1990
|
this.scaleFactor = pickerScaleFactor;
|
|
2015
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
1991
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
2016
1992
|
el: this.el,
|
|
2017
1993
|
gestureName: 'picker-swipe',
|
|
2018
1994
|
gesturePriority: 100,
|
|
@@ -143,7 +143,7 @@ const ItemSliding = class {
|
|
|
143
143
|
await this.updateOptions();
|
|
144
144
|
});
|
|
145
145
|
await this.updateOptions();
|
|
146
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
146
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
147
147
|
el,
|
|
148
148
|
gestureName: 'item-swipe',
|
|
149
149
|
gesturePriority: 100,
|
|
@@ -9,12 +9,13 @@ const index = require('./index-305a23dc.js');
|
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-e620a639.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
15
15
|
const animation = require('./animation-1083855c.js');
|
|
16
16
|
require('./index-306a7476.js');
|
|
17
17
|
require('./framework-delegate-c0873a6f.js');
|
|
18
|
+
require('./gesture-controller-d6a3f907.js');
|
|
18
19
|
require('./hardware-back-button-b67c8e75.js');
|
|
19
20
|
require('./index-cc7dfb7c.js');
|
|
20
21
|
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-305a23dc.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
10
|
-
const gestureController = require('./gesture-controller-
|
|
10
|
+
const gestureController = require('./gesture-controller-d6a3f907.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-5a2463aa.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-e620a639.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const index$2 = require('./index-09471526.js');
|
|
@@ -133,7 +133,7 @@ const Menu = class {
|
|
|
133
133
|
// register this menu with the app's menu controller
|
|
134
134
|
index$1.menuController._register(this);
|
|
135
135
|
this.menuChanged();
|
|
136
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
136
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
137
137
|
el: document,
|
|
138
138
|
gestureName: 'menu-swipe',
|
|
139
139
|
gesturePriority: 30,
|
|
@@ -12,18 +12,18 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
12
12
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
13
13
|
const index$4 = require('./index-cc7dfb7c.js');
|
|
14
14
|
const capacitor = require('./capacitor-2ffba62a.js');
|
|
15
|
-
const overlays = require('./overlays-
|
|
15
|
+
const overlays = require('./overlays-e620a639.js');
|
|
16
16
|
const theme = require('./theme-fbc56b3b.js');
|
|
17
17
|
const index$5 = require('./index-174dc666.js');
|
|
18
18
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
19
19
|
const keyboard = require('./keyboard-38f2bb7b.js');
|
|
20
20
|
const animation = require('./animation-1083855c.js');
|
|
21
21
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
22
|
-
const index$1 = require('./index-
|
|
22
|
+
const index$1 = require('./index-0f8b33f8.js');
|
|
23
23
|
const index = require('./index-306a7476.js');
|
|
24
|
+
require('./gesture-controller-d6a3f907.js');
|
|
24
25
|
require('./hardware-back-button-b67c8e75.js');
|
|
25
26
|
require('./keyboard-fd7db491.js');
|
|
26
|
-
require('./gesture-controller-b46721be.js');
|
|
27
27
|
|
|
28
28
|
var Style;
|
|
29
29
|
(function (Style) {
|
|
@@ -135,7 +135,7 @@ const Nav = class {
|
|
|
135
135
|
// We want to set this flag before any watch callbacks are manually called
|
|
136
136
|
this.didLoad = true;
|
|
137
137
|
this.rootChanged();
|
|
138
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
138
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-a6dc6e5d.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
139
139
|
this.swipeGestureChanged();
|
|
140
140
|
}
|
|
141
141
|
connectedCallback() {
|
|
@@ -10,12 +10,13 @@ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
|
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-e620a639.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const index$2 = require('./index-174dc666.js');
|
|
17
17
|
const animation = require('./animation-1083855c.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
|
+
require('./gesture-controller-d6a3f907.js');
|
|
19
20
|
require('./hardware-back-button-b67c8e75.js');
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -96,7 +96,7 @@ const Range = class {
|
|
|
96
96
|
this.setupGesture = async () => {
|
|
97
97
|
const rangeSlider = this.rangeSlider;
|
|
98
98
|
if (rangeSlider) {
|
|
99
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
99
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
100
100
|
el: rangeSlider,
|
|
101
101
|
gestureName: 'range',
|
|
102
102
|
gesturePriority: 100,
|
|
@@ -334,7 +334,7 @@ const Refresher = class {
|
|
|
334
334
|
});
|
|
335
335
|
};
|
|
336
336
|
this.scrollEl.addEventListener('scroll', this.scrollListenerCallback);
|
|
337
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
337
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
338
338
|
el: this.scrollEl,
|
|
339
339
|
gestureName: 'refresher',
|
|
340
340
|
gesturePriority: 31,
|
|
@@ -386,7 +386,7 @@ const Refresher = class {
|
|
|
386
386
|
refreshingCircle.style.setProperty('animation-delay', '-655ms');
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
389
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
390
390
|
el: this.scrollEl,
|
|
391
391
|
gestureName: 'refresher',
|
|
392
392
|
gesturePriority: 31,
|
|
@@ -512,7 +512,7 @@ const Refresher = class {
|
|
|
512
512
|
this.setupNativeRefresher(contentEl);
|
|
513
513
|
}
|
|
514
514
|
else {
|
|
515
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
515
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
516
516
|
el: contentEl,
|
|
517
517
|
gestureName: 'refresher',
|
|
518
518
|
gesturePriority: 31,
|
|
@@ -70,7 +70,7 @@ const ReorderGroup = class {
|
|
|
70
70
|
if (contentEl) {
|
|
71
71
|
this.scrollEl = await index$2.getScrollElement(contentEl);
|
|
72
72
|
}
|
|
73
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
73
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
74
74
|
el: this.el,
|
|
75
75
|
gestureName: 'reorder',
|
|
76
76
|
gesturePriority: 110,
|
|
@@ -124,7 +124,7 @@ const Segment = class {
|
|
|
124
124
|
*/
|
|
125
125
|
this.scrollActiveButtonIntoView(false);
|
|
126
126
|
});
|
|
127
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
127
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
128
128
|
el: this.el,
|
|
129
129
|
gestureName: 'segment',
|
|
130
130
|
gesturePriority: 100,
|
|
@@ -10,7 +10,7 @@ const formController = require('./form-controller-5e223b54.js');
|
|
|
10
10
|
const notchController = require('./notch-controller-f4f6af5d.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-e620a639.js');
|
|
14
14
|
const dir = require('./dir-f1e0ca26.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const watchOptions = require('./watch-options-53bbb124.js');
|
|
@@ -18,6 +18,7 @@ const index$2 = require('./index-09471526.js');
|
|
|
18
18
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
20
|
require('./framework-delegate-c0873a6f.js');
|
|
21
|
+
require('./gesture-controller-d6a3f907.js');
|
|
21
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
22
23
|
|
|
23
24
|
const selectIosCss = ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}";
|
|
@@ -10,12 +10,13 @@ const config = require('./config-d5882735.js');
|
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-e620a639.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
16
16
|
const animation = require('./animation-1083855c.js');
|
|
17
17
|
const index = require('./index-306a7476.js');
|
|
18
18
|
require('./framework-delegate-c0873a6f.js');
|
|
19
|
+
require('./gesture-controller-d6a3f907.js');
|
|
19
20
|
require('./hardware-back-button-b67c8e75.js');
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -37,7 +37,7 @@ const Toggle = class {
|
|
|
37
37
|
this.setupGesture = async () => {
|
|
38
38
|
const { toggleTrack } = this;
|
|
39
39
|
if (toggleTrack) {
|
|
40
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
40
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
41
41
|
el: toggleTrack,
|
|
42
42
|
gestureName: 'toggle',
|
|
43
43
|
gesturePriority: 100,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
const index = require('./index-306a7476.js');
|
|
7
7
|
const ionicGlobal = require('./ionic-global-fb752503.js');
|
|
8
8
|
const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
|
|
9
|
+
const gestureController = require('./gesture-controller-d6a3f907.js');
|
|
9
10
|
const hardwareBackButton = require('./hardware-back-button-b67c8e75.js');
|
|
10
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
@@ -391,6 +392,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
391
392
|
return;
|
|
392
393
|
}
|
|
393
394
|
setRootAriaHidden(true);
|
|
395
|
+
document.body.classList.add(gestureController.BACKDROP_NO_SCROLL);
|
|
394
396
|
overlay.presented = true;
|
|
395
397
|
overlay.willPresent.emit();
|
|
396
398
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -453,12 +455,14 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
453
455
|
if (!overlay.presented) {
|
|
454
456
|
return false;
|
|
455
457
|
}
|
|
458
|
+
const lastOverlay = index.doc !== undefined && getPresentedOverlays(index.doc).length === 1;
|
|
456
459
|
/**
|
|
457
460
|
* If this is the last visible overlay then
|
|
458
461
|
* we want to re-add the root to the accessibility tree.
|
|
459
462
|
*/
|
|
460
|
-
if (
|
|
463
|
+
if (lastOverlay) {
|
|
461
464
|
setRootAriaHidden(false);
|
|
465
|
+
document.body.classList.remove(gestureController.BACKDROP_NO_SCROLL);
|
|
462
466
|
}
|
|
463
467
|
overlay.presented = false;
|
|
464
468
|
try {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
7
7
|
const dir = require('./dir-f1e0ca26.js');
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
require('./gesture-controller-
|
|
8
|
+
const index = require('./index-0f8b33f8.js');
|
|
9
|
+
require('./gesture-controller-d6a3f907.js');
|
|
10
10
|
|
|
11
11
|
const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {
|
|
12
12
|
const win = el.ownerDocument.defaultView;
|
|
@@ -2,25 +2,13 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
|
-
import { GESTURE_CONTROLLER } from "../../utils/gesture/index";
|
|
6
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
7
6
|
export class Backdrop {
|
|
8
7
|
constructor() {
|
|
9
|
-
this.blocker = GESTURE_CONTROLLER.createBlocker({
|
|
10
|
-
disableScroll: true,
|
|
11
|
-
});
|
|
12
8
|
this.visible = true;
|
|
13
9
|
this.tappable = true;
|
|
14
10
|
this.stopPropagation = true;
|
|
15
11
|
}
|
|
16
|
-
connectedCallback() {
|
|
17
|
-
if (this.stopPropagation) {
|
|
18
|
-
this.blocker.block();
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
disconnectedCallback() {
|
|
22
|
-
this.blocker.unblock();
|
|
23
|
-
}
|
|
24
12
|
onMouseDown(ev) {
|
|
25
13
|
this.emitTap(ev);
|
|
26
14
|
}
|
|
@@ -224,33 +224,13 @@ ion-picker-column-internal {
|
|
|
224
224
|
display: none;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
:host(.datetime-readonly),
|
|
227
228
|
:host(.datetime-disabled) {
|
|
228
229
|
pointer-events: none;
|
|
229
230
|
}
|
|
230
|
-
:host(.datetime-disabled) .calendar-days-of-week,
|
|
231
|
-
:host(.datetime-disabled) .datetime-time {
|
|
232
|
-
opacity: 0.4;
|
|
233
|
-
}
|
|
234
231
|
|
|
235
|
-
:host(.datetime-
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Allow user to navigate months
|
|
239
|
-
* while in readonly mode
|
|
240
|
-
*/
|
|
241
|
-
/**
|
|
242
|
-
* Disabled buttons should have full opacity
|
|
243
|
-
* in readonly mode
|
|
244
|
-
*/
|
|
245
|
-
}
|
|
246
|
-
:host(.datetime-readonly) .calendar-action-buttons,
|
|
247
|
-
:host(.datetime-readonly) .calendar-body,
|
|
248
|
-
:host(.datetime-readonly) .datetime-year {
|
|
249
|
-
pointer-events: initial;
|
|
250
|
-
}
|
|
251
|
-
:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),
|
|
252
|
-
:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled] {
|
|
253
|
-
opacity: 1;
|
|
232
|
+
:host(.datetime-disabled) {
|
|
233
|
+
opacity: 0.4;
|
|
254
234
|
}
|
|
255
235
|
|
|
256
236
|
/**
|