@ionic/core 7.5.6-dev.11700520259.172f33bb → 7.5.6-dev.11701102039.134ebc28
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/icon.js +17 -25
- package/components/index7.js +1 -1
- package/components/ion-datetime.js +2 -15
- package/dist/cjs/{index-6b8be5a4.js → index-5ea49600.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +17 -25
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -16
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +1 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-refresher_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/datetime/datetime.js +2 -15
- package/dist/docs.json +21 -21
- package/dist/esm/{index-5d8e6a4f.js → index-d1a56aed.js} +1 -1
- package/dist/esm/ion-accordion_2.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-button_2.entry.js +17 -25
- package/dist/esm/ion-datetime_3.entry.js +3 -16
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +1 -1
- package/dist/esm/ion-menu_3.entry.js +1 -1
- package/dist/esm/ion-refresher_2.entry.js +1 -1
- package/dist/esm/ion-reorder_2.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +1 -1
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.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-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-8dc8c0b7.entry.js → p-04dca48d.entry.js} +1 -1
- package/dist/ionic/{p-85f8bc31.entry.js → p-0838e6bb.entry.js} +1 -1
- package/dist/ionic/{p-68d27845.system.entry.js → p-14923cd7.system.entry.js} +1 -1
- package/dist/ionic/{p-1f21e106.system.entry.js → p-19a7c660.system.entry.js} +1 -1
- package/dist/ionic/{p-1070ed59.entry.js → p-29adc040.entry.js} +1 -1
- package/dist/ionic/p-40903d34.system.js +1 -1
- package/dist/ionic/{p-edeb2f05.system.entry.js → p-42435018.system.entry.js} +1 -1
- package/dist/ionic/{p-52138a68.entry.js → p-431151f2.entry.js} +1 -1
- package/dist/ionic/p-47c2e0a5.entry.js +4 -0
- package/dist/ionic/{p-3f4fdd67.system.entry.js → p-4d786d1f.system.entry.js} +1 -1
- package/dist/ionic/{p-bb20a3fb.entry.js → p-52360c7a.entry.js} +1 -1
- package/dist/ionic/{p-1f011033.system.entry.js → p-61c30156.system.entry.js} +1 -1
- package/dist/ionic/{p-a94bed6d.system.entry.js → p-640efee6.system.entry.js} +1 -1
- package/dist/ionic/{p-9437dac6.system.entry.js → p-6594d76a.system.entry.js} +1 -1
- package/dist/ionic/{p-73ab9076.entry.js → p-68166ba6.entry.js} +1 -1
- package/dist/ionic/{p-324226bf.system.entry.js → p-7b4cd5fc.system.entry.js} +1 -1
- package/dist/ionic/{p-d4bd82e9.system.entry.js → p-7d7fdaf0.system.entry.js} +1 -1
- package/dist/ionic/p-8659f9a9.system.entry.js +4 -0
- package/dist/ionic/{p-ace47557.entry.js → p-899fb2da.entry.js} +1 -1
- package/dist/ionic/{p-413e5a56.entry.js → p-8cbf0979.entry.js} +1 -1
- package/dist/ionic/{p-d50f9c4b.entry.js → p-8d5a30dd.entry.js} +1 -1
- package/dist/ionic/{p-dc527a33.entry.js → p-97a96f5f.entry.js} +1 -1
- package/dist/ionic/p-a3cbbb36.system.entry.js +4 -0
- package/dist/ionic/{p-3101643f.entry.js → p-a43603ce.entry.js} +1 -1
- package/dist/ionic/{p-459dd2a9.entry.js → p-bd76524d.entry.js} +1 -1
- package/dist/ionic/{p-cb9c77e7.system.entry.js → p-c429a314.system.entry.js} +1 -1
- package/dist/ionic/{p-54aba2a6.system.entry.js → p-cd2808f5.system.entry.js} +1 -1
- package/dist/ionic/{p-5b885cc5.system.entry.js → p-dbf7d6e5.system.entry.js} +1 -1
- package/dist/ionic/{p-af83378e.entry.js → p-ee2469c1.entry.js} +1 -1
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +1 -0
- package/hydrate/index.js +17 -26
- package/package.json +3 -4
- package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -18
- package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
- package/dist/collection/components/alert/test/alert.spec.js +0 -37
- package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
- package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
- package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
- package/dist/collection/components/card/test/aria.spec.js +0 -16
- package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -20
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -43
- package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
- package/dist/collection/components/datetime/test/data.spec.js +0 -456
- package/dist/collection/components/datetime/test/format.spec.js +0 -124
- package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
- package/dist/collection/components/datetime/test/manipulation.spec.js +0 -433
- package/dist/collection/components/datetime/test/parse.spec.js +0 -222
- package/dist/collection/components/datetime/test/state.spec.js +0 -114
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
- package/dist/collection/components/input/test/input.spec.js +0 -85
- package/dist/collection/components/input/test/item/input.spec.js +0 -24
- package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
- package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
- package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
- package/dist/collection/components/loading/test/loading.spec.js +0 -37
- package/dist/collection/components/modal/test/a11y/modal.spec.js +0 -22
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -16
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
- package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
- package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
- package/dist/collection/components/picker/test/picker-id.spec.js +0 -32
- package/dist/collection/components/picker-column/test/picker-column-aria.spec.js +0 -35
- package/dist/collection/components/picker-column/test/picker-column-dynamic.spec.js +0 -29
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -17
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -16
- package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
- package/dist/collection/components/popover/test/util.spec.js +0 -53
- package/dist/collection/components/radio/test/radio.spec.js +0 -46
- package/dist/collection/components/range/test/label/range.spec.js +0 -23
- package/dist/collection/components/range/test/range.spec.js +0 -205
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
- package/dist/collection/components/router/test/matching.spec.js +0 -250
- package/dist/collection/components/router/test/parser.spec.js +0 -133
- package/dist/collection/components/router/test/path.spec.js +0 -218
- package/dist/collection/components/router/test/router.spec.js +0 -55
- package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -15
- package/dist/collection/components/segment/test/segment.spec.js +0 -37
- package/dist/collection/components/select/test/select.spec.js +0 -59
- package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
- package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
- package/dist/collection/components/toast/test/toast.spec.js +0 -120
- package/dist/collection/components/toggle/test/toggle.spec.js +0 -55
- package/dist/collection/global/test/config-controller.spec.js +0 -77
- package/dist/collection/utils/animation/test/animation.spec.js +0 -431
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
- package/dist/collection/utils/test/aria.spec.js +0 -79
- package/dist/collection/utils/test/attributes.spec.js +0 -53
- package/dist/collection/utils/test/hardware-back-button.spec.js +0 -53
- package/dist/collection/utils/test/overlays/overlays.spec.js +0 -102
- package/dist/collection/utils/test/platform.spec.js +0 -132
- package/dist/collection/utils/test/ready.spec.js +0 -39
- package/dist/collection/utils/test/theme.spec.js +0 -56
- package/dist/ionic/p-178fa84b.system.entry.js +0 -4
- package/dist/ionic/p-3cd4001e.system.entry.js +0 -4
- package/dist/ionic/p-7821df39.entry.js +0 -4
- /package/dist/esm-es5/{index-5d8e6a4f.js → index-d1a56aed.js} +0 -0
- /package/dist/ionic/{p-6856db55.js → p-6e383534.js} +0 -0
- /package/dist/ionic/{p-a2e89e43.system.js → p-84c6dece.system.js} +0 -0
package/components/icon.js
CHANGED
|
@@ -24,7 +24,7 @@ const getUrl = (i) => {
|
|
|
24
24
|
}
|
|
25
25
|
url = getName(i.name, i.icon, i.mode, i.ios, i.md);
|
|
26
26
|
if (url) {
|
|
27
|
-
return getNamedUrl(url
|
|
27
|
+
return getNamedUrl(url);
|
|
28
28
|
}
|
|
29
29
|
if (i.icon) {
|
|
30
30
|
url = getSrc(i.icon);
|
|
@@ -38,24 +38,12 @@ const getUrl = (i) => {
|
|
|
38
38
|
}
|
|
39
39
|
return null;
|
|
40
40
|
};
|
|
41
|
-
const getNamedUrl = (iconName
|
|
41
|
+
const getNamedUrl = (iconName) => {
|
|
42
42
|
const url = getIconMap().get(iconName);
|
|
43
43
|
if (url) {
|
|
44
44
|
return url;
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
return getAssetPath(`svg/${iconName}.svg`);
|
|
48
|
-
}
|
|
49
|
-
catch (e) {
|
|
50
|
-
/**
|
|
51
|
-
* In the custom elements build version of ionicons, referencing an icon
|
|
52
|
-
* by name will throw an invalid URL error because the asset path is not defined.
|
|
53
|
-
* This catches that error and logs something that is more developer-friendly.
|
|
54
|
-
* We also include a reference to the ion-icon element so developers can
|
|
55
|
-
* figure out which instance of ion-icon needs to be updated.
|
|
56
|
-
*/
|
|
57
|
-
console.warn(`[Ionicons Warning]: Could not load icon with name "${iconName}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`, iconEl);
|
|
58
|
-
}
|
|
46
|
+
return getAssetPath(`svg/${iconName}.svg`);
|
|
59
47
|
};
|
|
60
48
|
const getName = (iconName, icon, mode, ios, md) => {
|
|
61
49
|
// default to "md" if somehow the mode wasn't set
|
|
@@ -233,7 +221,7 @@ const getSvgContent = (url, sanitize) => {
|
|
|
233
221
|
return req;
|
|
234
222
|
};
|
|
235
223
|
|
|
236
|
-
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
224
|
+
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;font-size:1rem}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
237
225
|
|
|
238
226
|
const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
239
227
|
constructor() {
|
|
@@ -242,18 +230,22 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
242
230
|
this.__attachShadow();
|
|
243
231
|
this.iconName = null;
|
|
244
232
|
this.inheritedAttributes = {};
|
|
245
|
-
this.svgContent = undefined;
|
|
246
233
|
this.isVisible = false;
|
|
234
|
+
/**
|
|
235
|
+
* The mode determines which platform styles to use.
|
|
236
|
+
*/
|
|
247
237
|
this.mode = getIonMode();
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
this.name = undefined;
|
|
253
|
-
this.src = undefined;
|
|
254
|
-
this.icon = undefined;
|
|
255
|
-
this.size = undefined;
|
|
238
|
+
/**
|
|
239
|
+
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
|
|
240
|
+
* Default, `false`.
|
|
241
|
+
*/
|
|
256
242
|
this.lazy = false;
|
|
243
|
+
/**
|
|
244
|
+
* When set to `false`, SVG content that is HTTP fetched will not be checked
|
|
245
|
+
* if the response SVG content has any `<script>` elements, or any attributes
|
|
246
|
+
* that start with `on`, such as `onclick`.
|
|
247
|
+
* @default true
|
|
248
|
+
*/
|
|
257
249
|
this.sanitize = true;
|
|
258
250
|
}
|
|
259
251
|
componentWillLoad() {
|
package/components/index7.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
/* Ionicons v7.
|
|
4
|
+
/* Ionicons v7.1.3-dev.11699459714.11b7e8aa, ES Modules */
|
|
5
5
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
6
6
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
7
7
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
@@ -1000,7 +1000,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1000
1000
|
* so we need to re-init behavior with the new elements.
|
|
1001
1001
|
*/
|
|
1002
1002
|
componentDidRender() {
|
|
1003
|
-
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel
|
|
1003
|
+
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel } = this;
|
|
1004
1004
|
/**
|
|
1005
1005
|
* TODO(FW-2165)
|
|
1006
1006
|
* Remove this when https://bugs.webkit.org/show_bug.cgi?id=235960 is fixed.
|
|
@@ -1017,20 +1017,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1017
1017
|
const hasCalendarGrid = !preferWheel && ['date-time', 'time-date', 'date'].includes(presentation);
|
|
1018
1018
|
if (minParts !== undefined && hasCalendarGrid && calendarBodyRef) {
|
|
1019
1019
|
const workingMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(1)');
|
|
1020
|
-
|
|
1021
|
-
* We need to make sure the datetime is not in the process
|
|
1022
|
-
* of scrolling to a new datetime value if the value
|
|
1023
|
-
* is updated programmatically.
|
|
1024
|
-
* Otherwise, the datetime will appear to not scroll at all because
|
|
1025
|
-
* we are resetting the scroll position to the center of the view.
|
|
1026
|
-
* Prior to the datetime's value being updated programmatically,
|
|
1027
|
-
* the calendarBodyRef is scrolled such that the middle month is centered
|
|
1028
|
-
* in the view. The below code updates the scroll position so the middle
|
|
1029
|
-
* month is also centered in the view. Since the scroll position did not change,
|
|
1030
|
-
* the scroll callback in this file does not fire,
|
|
1031
|
-
* and the resolveForceDateScrolling promise never resolves.
|
|
1032
|
-
*/
|
|
1033
|
-
if (workingMonth && forceRenderDate === undefined) {
|
|
1020
|
+
if (workingMonth) {
|
|
1034
1021
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (isRTL(this.el) ? -1 : 1);
|
|
1035
1022
|
}
|
|
1036
1023
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
/* Ionicons v7.
|
|
6
|
+
/* Ionicons v7.1.3-dev.11699459714.11b7e8aa, ES Modules */
|
|
7
7
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
8
8
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
9
9
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-5ea49600.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
12
12
|
const index$2 = require('./index-cc7dfb7c.js');
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
10
|
const theme = require('./theme-fbc56b3b.js');
|
|
11
|
-
const index$1 = require('./index-
|
|
11
|
+
const index$1 = require('./index-5ea49600.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
13
13
|
|
|
14
14
|
const backButtonIosCss = ":host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-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);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}";
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
10
|
const theme = require('./theme-fbc56b3b.js');
|
|
11
|
-
const index$1 = require('./index-
|
|
11
|
+
const index$1 = require('./index-5ea49600.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
13
13
|
|
|
14
14
|
const breadcrumbIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}";
|
|
@@ -32,7 +32,7 @@ const getUrl = (i) => {
|
|
|
32
32
|
}
|
|
33
33
|
url = getName(i.name, i.icon, i.mode, i.ios, i.md);
|
|
34
34
|
if (url) {
|
|
35
|
-
return getNamedUrl(url
|
|
35
|
+
return getNamedUrl(url);
|
|
36
36
|
}
|
|
37
37
|
if (i.icon) {
|
|
38
38
|
url = getSrc(i.icon);
|
|
@@ -46,24 +46,12 @@ const getUrl = (i) => {
|
|
|
46
46
|
}
|
|
47
47
|
return null;
|
|
48
48
|
};
|
|
49
|
-
const getNamedUrl = (iconName
|
|
49
|
+
const getNamedUrl = (iconName) => {
|
|
50
50
|
const url = getIconMap().get(iconName);
|
|
51
51
|
if (url) {
|
|
52
52
|
return url;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return index.getAssetPath(`svg/${iconName}.svg`);
|
|
56
|
-
}
|
|
57
|
-
catch (e) {
|
|
58
|
-
/**
|
|
59
|
-
* In the custom elements build version of ionicons, referencing an icon
|
|
60
|
-
* by name will throw an invalid URL error because the asset path is not defined.
|
|
61
|
-
* This catches that error and logs something that is more developer-friendly.
|
|
62
|
-
* We also include a reference to the ion-icon element so developers can
|
|
63
|
-
* figure out which instance of ion-icon needs to be updated.
|
|
64
|
-
*/
|
|
65
|
-
console.warn(`[Ionicons Warning]: Could not load icon with name "${iconName}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`, iconEl);
|
|
66
|
-
}
|
|
54
|
+
return index.getAssetPath(`svg/${iconName}.svg`);
|
|
67
55
|
};
|
|
68
56
|
const getName = (iconName, icon, mode, ios, md) => {
|
|
69
57
|
// default to "md" if somehow the mode wasn't set
|
|
@@ -458,25 +446,29 @@ const getSvgContent = (url, sanitize) => {
|
|
|
458
446
|
return req;
|
|
459
447
|
};
|
|
460
448
|
|
|
461
|
-
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
449
|
+
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;font-size:1rem}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
462
450
|
|
|
463
451
|
const Icon = class {
|
|
464
452
|
constructor(hostRef) {
|
|
465
453
|
index.registerInstance(this, hostRef);
|
|
466
454
|
this.iconName = null;
|
|
467
455
|
this.inheritedAttributes = {};
|
|
468
|
-
this.svgContent = undefined;
|
|
469
456
|
this.isVisible = false;
|
|
457
|
+
/**
|
|
458
|
+
* The mode determines which platform styles to use.
|
|
459
|
+
*/
|
|
470
460
|
this.mode = getIonMode();
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
this.name = undefined;
|
|
476
|
-
this.src = undefined;
|
|
477
|
-
this.icon = undefined;
|
|
478
|
-
this.size = undefined;
|
|
461
|
+
/**
|
|
462
|
+
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
|
|
463
|
+
* Default, `false`.
|
|
464
|
+
*/
|
|
479
465
|
this.lazy = false;
|
|
466
|
+
/**
|
|
467
|
+
* When set to `false`, SVG content that is HTTP fetched will not be checked
|
|
468
|
+
* if the response SVG content has any `<script>` elements, or any attributes
|
|
469
|
+
* that start with `on`, such as `onclick`.
|
|
470
|
+
* @default true
|
|
471
|
+
*/
|
|
480
472
|
this.sanitize = true;
|
|
481
473
|
}
|
|
482
474
|
componentWillLoad() {
|
|
@@ -11,7 +11,7 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
11
11
|
const index = require('./index-cc7dfb7c.js');
|
|
12
12
|
const dir = require('./dir-f1e0ca26.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
|
-
const index$2 = require('./index-
|
|
14
|
+
const index$2 = require('./index-5ea49600.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
16
16
|
const data = require('./data-c8d21093.js');
|
|
17
17
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
@@ -999,7 +999,7 @@ const Datetime = class {
|
|
|
999
999
|
* so we need to re-init behavior with the new elements.
|
|
1000
1000
|
*/
|
|
1001
1001
|
componentDidRender() {
|
|
1002
|
-
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel
|
|
1002
|
+
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel } = this;
|
|
1003
1003
|
/**
|
|
1004
1004
|
* TODO(FW-2165)
|
|
1005
1005
|
* Remove this when https://bugs.webkit.org/show_bug.cgi?id=235960 is fixed.
|
|
@@ -1016,20 +1016,7 @@ const Datetime = class {
|
|
|
1016
1016
|
const hasCalendarGrid = !preferWheel && ['date-time', 'time-date', 'date'].includes(presentation);
|
|
1017
1017
|
if (minParts !== undefined && hasCalendarGrid && calendarBodyRef) {
|
|
1018
1018
|
const workingMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(1)');
|
|
1019
|
-
|
|
1020
|
-
* We need to make sure the datetime is not in the process
|
|
1021
|
-
* of scrolling to a new datetime value if the value
|
|
1022
|
-
* is updated programmatically.
|
|
1023
|
-
* Otherwise, the datetime will appear to not scroll at all because
|
|
1024
|
-
* we are resetting the scroll position to the center of the view.
|
|
1025
|
-
* Prior to the datetime's value being updated programmatically,
|
|
1026
|
-
* the calendarBodyRef is scrolled such that the middle month is centered
|
|
1027
|
-
* in the view. The below code updates the scroll position so the middle
|
|
1028
|
-
* month is also centered in the view. Since the scroll position did not change,
|
|
1029
|
-
* the scroll callback in this file does not fire,
|
|
1030
|
-
* and the resolveForceDateScrolling promise never resolves.
|
|
1031
|
-
*/
|
|
1032
|
-
if (workingMonth && forceRenderDate === undefined) {
|
|
1019
|
+
if (workingMonth) {
|
|
1033
1020
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
1034
1021
|
}
|
|
1035
1022
|
}
|
|
@@ -9,7 +9,7 @@ const index = require('./index-c2940dc1.js');
|
|
|
9
9
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const theme = require('./theme-fbc56b3b.js');
|
|
12
|
-
const index$1 = require('./index-
|
|
12
|
+
const index$1 = require('./index-5ea49600.js');
|
|
13
13
|
|
|
14
14
|
const fabCss = ":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";
|
|
15
15
|
|
|
@@ -12,7 +12,7 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
12
12
|
const index$2 = require('./index-cc7dfb7c.js');
|
|
13
13
|
const input_utils = require('./input.utils-0fe3097c.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const index$1 = require('./index-
|
|
15
|
+
const index$1 = require('./index-5ea49600.js');
|
|
16
16
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
17
17
|
require('./index-306a7476.js');
|
|
18
18
|
|
|
@@ -9,7 +9,7 @@ const index = require('./index-c2940dc1.js');
|
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
10
|
const index$2 = require('./index-cc7dfb7c.js');
|
|
11
11
|
const theme = require('./theme-fbc56b3b.js');
|
|
12
|
-
const index$1 = require('./index-
|
|
12
|
+
const index$1 = require('./index-5ea49600.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
14
14
|
|
|
15
15
|
const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}";
|
|
@@ -13,7 +13,7 @@ const index$1 = require('./index-d7561763.js');
|
|
|
13
13
|
const overlays = require('./overlays-2ffc5f27.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
|
-
const index$2 = require('./index-
|
|
16
|
+
const index$2 = require('./index-5ea49600.js');
|
|
17
17
|
require('./index-cc7dfb7c.js');
|
|
18
18
|
require('./hardware-back-button-b67c8e75.js');
|
|
19
19
|
require('./animation-1083855c.js');
|
|
@@ -13,7 +13,7 @@ const haptic = require('./haptic-678abc9f.js');
|
|
|
13
13
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
14
14
|
const animation = require('./animation-1083855c.js');
|
|
15
15
|
const config = require('./config-d5882735.js');
|
|
16
|
-
const index$2 = require('./index-
|
|
16
|
+
const index$2 = require('./index-5ea49600.js');
|
|
17
17
|
const spinnerConfigs = require('./spinner-configs-f7b5105b.js');
|
|
18
18
|
require('./index-cc7dfb7c.js');
|
|
19
19
|
require('./capacitor-2ffba62a.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
9
|
+
const index$1 = require('./index-5ea49600.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
11
11
|
const index$2 = require('./index-da2c7a37.js');
|
|
12
12
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
@@ -9,7 +9,7 @@ const index = require('./index-c2940dc1.js');
|
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
10
|
const dir = require('./dir-f1e0ca26.js');
|
|
11
11
|
const theme = require('./theme-fbc56b3b.js');
|
|
12
|
-
const index$1 = require('./index-
|
|
12
|
+
const index$1 = require('./index-5ea49600.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
14
14
|
|
|
15
15
|
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
@@ -14,7 +14,7 @@ const overlays = require('./overlays-2ffc5f27.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');
|
|
17
|
-
const index$2 = require('./index-
|
|
17
|
+
const index$2 = require('./index-5ea49600.js');
|
|
18
18
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
20
|
require('./framework-delegate-c0873a6f.js');
|
|
@@ -12,7 +12,7 @@ const index$2 = require('./index-cc7dfb7c.js');
|
|
|
12
12
|
const haptic = require('./haptic-678abc9f.js');
|
|
13
13
|
const dir = require('./dir-f1e0ca26.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
|
-
const index$1 = require('./index-
|
|
15
|
+
const index$1 = require('./index-5ea49600.js');
|
|
16
16
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
17
17
|
require('./capacitor-2ffba62a.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"entries": [
|
|
3
3
|
"components/accordion/accordion.js",
|
|
4
4
|
"components/accordion-group/accordion-group.js",
|
|
5
|
-
"components/item/item.js",
|
|
6
5
|
"components/action-sheet/action-sheet.js",
|
|
7
6
|
"components/alert/alert.js",
|
|
8
7
|
"components/app/app.js",
|
|
@@ -35,15 +34,14 @@
|
|
|
35
34
|
"components/infinite-scroll/infinite-scroll.js",
|
|
36
35
|
"components/infinite-scroll-content/infinite-scroll-content.js",
|
|
37
36
|
"components/input/input.js",
|
|
38
|
-
"components/
|
|
39
|
-
"components/radio-group/radio-group.js",
|
|
40
|
-
"components/radio/radio.js",
|
|
37
|
+
"components/item/item.js",
|
|
41
38
|
"components/item-divider/item-divider.js",
|
|
42
39
|
"components/item-group/item-group.js",
|
|
43
40
|
"components/item-option/item-option.js",
|
|
44
41
|
"components/item-options/item-options.js",
|
|
45
42
|
"components/item-sliding/item-sliding.js",
|
|
46
43
|
"components/label/label.js",
|
|
44
|
+
"components/list/list.js",
|
|
47
45
|
"components/list-header/list-header.js",
|
|
48
46
|
"components/loading/loading.js",
|
|
49
47
|
"components/menu/menu.js",
|
|
@@ -59,6 +57,8 @@
|
|
|
59
57
|
"components/picker-internal/picker-internal.js",
|
|
60
58
|
"components/popover/popover.js",
|
|
61
59
|
"components/progress-bar/progress-bar.js",
|
|
60
|
+
"components/radio/radio.js",
|
|
61
|
+
"components/radio-group/radio-group.js",
|
|
62
62
|
"components/range/range.js",
|
|
63
63
|
"components/refresher/refresher.js",
|
|
64
64
|
"components/refresher-content/refresher-content.js",
|
|
@@ -837,7 +837,7 @@ export class Datetime {
|
|
|
837
837
|
* so we need to re-init behavior with the new elements.
|
|
838
838
|
*/
|
|
839
839
|
componentDidRender() {
|
|
840
|
-
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel
|
|
840
|
+
const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel } = this;
|
|
841
841
|
/**
|
|
842
842
|
* TODO(FW-2165)
|
|
843
843
|
* Remove this when https://bugs.webkit.org/show_bug.cgi?id=235960 is fixed.
|
|
@@ -854,20 +854,7 @@ export class Datetime {
|
|
|
854
854
|
const hasCalendarGrid = !preferWheel && ['date-time', 'time-date', 'date'].includes(presentation);
|
|
855
855
|
if (minParts !== undefined && hasCalendarGrid && calendarBodyRef) {
|
|
856
856
|
const workingMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(1)');
|
|
857
|
-
|
|
858
|
-
* We need to make sure the datetime is not in the process
|
|
859
|
-
* of scrolling to a new datetime value if the value
|
|
860
|
-
* is updated programmatically.
|
|
861
|
-
* Otherwise, the datetime will appear to not scroll at all because
|
|
862
|
-
* we are resetting the scroll position to the center of the view.
|
|
863
|
-
* Prior to the datetime's value being updated programmatically,
|
|
864
|
-
* the calendarBodyRef is scrolled such that the middle month is centered
|
|
865
|
-
* in the view. The below code updates the scroll position so the middle
|
|
866
|
-
* month is also centered in the view. Since the scroll position did not change,
|
|
867
|
-
* the scroll callback in this file does not fire,
|
|
868
|
-
* and the resolveForceDateScrolling promise never resolves.
|
|
869
|
-
*/
|
|
870
|
-
if (workingMonth && forceRenderDate === undefined) {
|
|
857
|
+
if (workingMonth) {
|
|
871
858
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (isRTL(this.el) ? -1 : 1);
|
|
872
859
|
}
|
|
873
860
|
}
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-11-
|
|
2
|
+
"timestamp": "2023-11-27T16:22:24",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.7.2",
|
|
@@ -28953,8 +28953,8 @@
|
|
|
28953
28953
|
"docstring": "",
|
|
28954
28954
|
"path": "src/components/accordion-group/accordion-group-interface.ts"
|
|
28955
28955
|
},
|
|
28956
|
-
"src/interface.d.ts::
|
|
28957
|
-
"declaration": "export
|
|
28956
|
+
"src/interface.d.ts::FrameworkDelegate": {
|
|
28957
|
+
"declaration": "export interface FrameworkDelegate {\n attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise<HTMLElement>;\n removeViewFromDom(container: any, component: any): Promise<void>;\n}",
|
|
28958
28958
|
"docstring": "",
|
|
28959
28959
|
"path": "src/interface.d.ts"
|
|
28960
28960
|
},
|
|
@@ -28963,21 +28963,6 @@
|
|
|
28963
28963
|
"docstring": "",
|
|
28964
28964
|
"path": "src/interface.d.ts"
|
|
28965
28965
|
},
|
|
28966
|
-
"src/components/router/utils/interface.ts::RouterDirection": {
|
|
28967
|
-
"declaration": "export type RouterDirection = 'forward' | 'back' | 'root';",
|
|
28968
|
-
"docstring": "",
|
|
28969
|
-
"path": "src/components/router/utils/interface.ts"
|
|
28970
|
-
},
|
|
28971
|
-
"src/components/item/item-interface.ts::CounterFormatter": {
|
|
28972
|
-
"declaration": "(inputLength: number, maxLength: number) => string",
|
|
28973
|
-
"docstring": "",
|
|
28974
|
-
"path": "src/components/item/item-interface.ts"
|
|
28975
|
-
},
|
|
28976
|
-
"src/interface.d.ts::FrameworkDelegate": {
|
|
28977
|
-
"declaration": "export interface FrameworkDelegate {\n attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise<HTMLElement>;\n removeViewFromDom(container: any, component: any): Promise<void>;\n}",
|
|
28978
|
-
"docstring": "",
|
|
28979
|
-
"path": "src/interface.d.ts"
|
|
28980
|
-
},
|
|
28981
28966
|
"src/components/action-sheet/action-sheet-interface.ts::ActionSheetButton": {
|
|
28982
28967
|
"declaration": "export interface ActionSheetButton<T = any> {\n text?: string;\n role?: 'cancel' | 'destructive' | 'selected' | string;\n icon?: string;\n cssClass?: string | string[];\n id?: string;\n htmlAttributes?: { [key: string]: any };\n handler?: () => boolean | void | Promise<boolean | void>;\n data?: T;\n}",
|
|
28983
28968
|
"docstring": "",
|
|
@@ -29003,6 +28988,16 @@
|
|
|
29003
28988
|
"docstring": "",
|
|
29004
28989
|
"path": "src/components/alert/alert-interface.ts"
|
|
29005
28990
|
},
|
|
28991
|
+
"src/interface.d.ts::Color": {
|
|
28992
|
+
"declaration": "export type Color = LiteralUnion<PredefinedColors, string>;",
|
|
28993
|
+
"docstring": "",
|
|
28994
|
+
"path": "src/interface.d.ts"
|
|
28995
|
+
},
|
|
28996
|
+
"src/components/router/utils/interface.ts::RouterDirection": {
|
|
28997
|
+
"declaration": "export type RouterDirection = 'forward' | 'back' | 'root';",
|
|
28998
|
+
"docstring": "",
|
|
28999
|
+
"path": "src/components/router/utils/interface.ts"
|
|
29000
|
+
},
|
|
29006
29001
|
"src/components/breadcrumb/breadcrumb-interface.ts::BreadcrumbCollapsedClickEventDetail": {
|
|
29007
29002
|
"declaration": "export interface BreadcrumbCollapsedClickEventDetail {\n ionShadowTarget?: HTMLElement;\n collapsedBreadcrumbs?: HTMLIonBreadcrumbElement[];\n}",
|
|
29008
29003
|
"docstring": "",
|
|
@@ -29083,10 +29078,10 @@
|
|
|
29083
29078
|
"docstring": "Values are converted to strings when emitted which is\nwhy we do not have a `number` type here even though the\n`value` prop accepts a `number` type.",
|
|
29084
29079
|
"path": "src/components/input/input-interface.ts"
|
|
29085
29080
|
},
|
|
29086
|
-
"src/components/
|
|
29087
|
-
"declaration": "
|
|
29081
|
+
"src/components/item/item-interface.ts::CounterFormatter": {
|
|
29082
|
+
"declaration": "(inputLength: number, maxLength: number) => string",
|
|
29088
29083
|
"docstring": "",
|
|
29089
|
-
"path": "src/components/
|
|
29084
|
+
"path": "src/components/item/item-interface.ts"
|
|
29090
29085
|
},
|
|
29091
29086
|
"src/components/menu/menu-interface.ts::Side": {
|
|
29092
29087
|
"declaration": "export type Side = 'start' | 'end';",
|
|
@@ -29203,6 +29198,11 @@
|
|
|
29203
29198
|
"docstring": "",
|
|
29204
29199
|
"path": "src/components/popover/popover-interface.ts"
|
|
29205
29200
|
},
|
|
29201
|
+
"src/components/radio-group/radio-group-interface.ts::RadioGroupChangeEventDetail": {
|
|
29202
|
+
"declaration": "export interface RadioGroupChangeEventDetail<T = any> {\n value: T;\n event?: Event;\n}",
|
|
29203
|
+
"docstring": "",
|
|
29204
|
+
"path": "src/components/radio-group/radio-group-interface.ts"
|
|
29205
|
+
},
|
|
29206
29206
|
"src/components/range/range-interface.ts::PinFormatter": {
|
|
29207
29207
|
"declaration": "(value: number) => number | string",
|
|
29208
29208
|
"docstring": "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
/* Ionicons v7.
|
|
4
|
+
/* Ionicons v7.1.3-dev.11699459714.11b7e8aa, ES Modules */
|
|
5
5
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
6
6
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
7
7
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|