@ionic/core 7.2.4-nightly.20230810 → 7.2.4-nightly.20230811
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/index9.js +4 -1
- package/dist/cjs/{index-8ee743f4.js → index-404c1016.js} +11 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/utils/tap-click/index.js +4 -1
- package/dist/docs.json +2 -2
- package/dist/esm/{index-1204fe95.js → index-2d0c7c77.js} +4 -1
- package/dist/esm/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/index-2d0c7c77.js +4 -0
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/html.html-data.json +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-164b025e.system.js +1 -1
- package/dist/ionic/p-86e57430.system.js +4 -0
- package/dist/ionic/{p-760b1541.system.entry.js → p-90bfa7eb.system.entry.js} +1 -1
- package/dist/ionic/{p-01e48977.entry.js → p-b94d3454.entry.js} +1 -1
- package/dist/ionic/p-d34c3e77.js +4 -0
- package/dist/types/components/input/input.d.ts +0 -3
- package/dist/types/components.d.ts +0 -6
- package/package.json +1 -1
- package/dist/esm-es5/index-1204fe95.js +0 -4
- package/dist/ionic/p-48300af2.js +0 -4
- package/dist/ionic/p-4b4827d1.system.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t}from"./p-3c349187.js";import{u as o,v as e}from"./p-38bc7b29.js";const i=i=>{if(void 0===t)return;let l,d,p,v=10*-f,m=0;const b=i.getBoolean("animated",!0)&&i.getBoolean("rippleEffect",!0),h=new WeakMap,w=t=>{v=o(t),x(t)},T=()=>{p&&clearTimeout(p),p=void 0,l&&(y(!1),l=void 0)},j=t=>{l||D(n(t),t)},x=t=>{D(void 0,t)},D=(t,o)=>{if(t&&t===l)return;p&&clearTimeout(p),p=void 0;const{x:i,y:n}=e(o);if(l){if(h.has(l))throw new Error("internal error");l.classList.contains(a)||E(l,i,n),y(!0)}if(t){const o=h.get(t);o&&(clearTimeout(o),h.delete(t)),t.classList.remove(a);const e=()=>{E(t,i,n),p=void 0};r(t)?e():p=setTimeout(e,s)}l=t},E=(t,o,e)=>{if(m=Date.now(),t.classList.add(a),!b)return;const i=c(t);null!==i&&(k(),d=i.addRipple(o,e))},k=()=>{void 0!==d&&(d.then((t=>t())),d=void 0)},y=t=>{k();const o=l;if(!o)return;const e=u-Date.now()+m;if(t&&e>0&&!r(o)){const t=setTimeout((()=>{o.classList.remove(a),h.delete(o)}),u);h.set(o,t)}else o.classList.remove(a)};t.addEventListener("ionGestureCaptured",T),t.addEventListener("touchstart",(t=>{v=o(t),j(t)}),!0),t.addEventListener("touchcancel",w,!0),t.addEventListener("touchend",w,!0),t.addEventListener("pointercancel",T,!0),t.addEventListener("mousedown",(t=>{if(2===t.button)return;const e=o(t)-f;v<e&&j(t)}),!0),t.addEventListener("mouseup",(t=>{const e=o(t)-f;v<e&&x(t)}),!0)},n=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const o=t.composedPath();for(let t=0;t<o.length-2;t++){const e=o[t];if(!(e instanceof ShadowRoot)&&e.classList.contains("ion-activatable"))return e}}},r=t=>t.classList.contains("ion-activatable-instant"),c=t=>{if(t.shadowRoot){const o=t.shadowRoot.querySelector("ion-ripple-effect");if(o)return o}return t.querySelector("ion-ripple-effect")},a="ion-activated",s=100,u=150,f=2500;export{i as startTapClick}
|
|
@@ -192,9 +192,6 @@ export declare class Input implements ComponentInterface {
|
|
|
192
192
|
* Possible values are: `"any"` or a positive floating point number.
|
|
193
193
|
*/
|
|
194
194
|
step?: string;
|
|
195
|
-
/**
|
|
196
|
-
* The initial size of the control. This value is in pixels unless the value of the type attribute is `"text"` or `"password"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
|
|
197
|
-
*/
|
|
198
195
|
size?: number;
|
|
199
196
|
/**
|
|
200
197
|
* The type of control to display. The default type is text.
|
|
@@ -1277,9 +1277,6 @@ export namespace Components {
|
|
|
1277
1277
|
* The shape of the input. If "round" it will have an increased border radius.
|
|
1278
1278
|
*/
|
|
1279
1279
|
"shape"?: 'round';
|
|
1280
|
-
/**
|
|
1281
|
-
* The initial size of the control. This value is in pixels unless the value of the type attribute is `"text"` or `"password"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
|
|
1282
|
-
*/
|
|
1283
1280
|
"size"?: number;
|
|
1284
1281
|
/**
|
|
1285
1282
|
* If `true`, the element will have its spelling and grammar checked.
|
|
@@ -5302,9 +5299,6 @@ declare namespace LocalJSX {
|
|
|
5302
5299
|
* The shape of the input. If "round" it will have an increased border radius.
|
|
5303
5300
|
*/
|
|
5304
5301
|
"shape"?: 'round';
|
|
5305
|
-
/**
|
|
5306
|
-
* The initial size of the control. This value is in pixels unless the value of the type attribute is `"text"` or `"password"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
|
|
5307
|
-
*/
|
|
5308
5302
|
"size"?: number;
|
|
5309
5303
|
/**
|
|
5310
5304
|
* If `true`, the element will have its spelling and grammar checked.
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{u as now,v as pointerCoord}from"./helpers-f586db1c.js";var startTapClick=function(e){var t=-MOUSE_WAIT*10;var n=0;var r;var a;var i;var o=e.getBoolean("animated",true)&&e.getBoolean("rippleEffect",true);var u=new WeakMap;var f=function(e){t=now(e);l(e)};var s=function(e){t=now(e);E(e)};var c=function(e){if(e.button===2){return}var n=now(e)-MOUSE_WAIT;if(t<n){l(e)}};var v=function(e){var n=now(e)-MOUSE_WAIT;if(t<n){E(e)}};var d=function(){if(i)clearTimeout(i);i=undefined;if(r){D(false);r=undefined}};var l=function(e){if(r){return}T(getActivatableTarget(e),e)};var E=function(e){T(undefined,e)};var T=function(e,t){if(e&&e===r){return}if(i)clearTimeout(i);i=undefined;var n=pointerCoord(t),a=n.x,o=n.y;if(r){if(u.has(r)){throw new Error("internal error")}if(!r.classList.contains(ACTIVATED)){A(r,a,o)}D(true)}if(e){var f=u.get(e);if(f){clearTimeout(f);u.delete(e)}e.classList.remove(ACTIVATED);var s=function(){A(e,a,o);i=undefined};if(isInstant(e)){s()}else{i=setTimeout(s,ADD_ACTIVATED_DEFERS)}}r=e};var A=function(e,t,r){n=Date.now();e.classList.add(ACTIVATED);if(!o)return;var i=getRippleEffect(e);if(i!==null){p();a=i.addRipple(t,r)}};var p=function(){if(a!==undefined){a.then((function(e){return e()}));a=undefined}};var D=function(e){p();var t=r;if(!t){return}var a=CLEAR_STATE_DEFERS-Date.now()+n;if(e&&a>0&&!isInstant(t)){var i=setTimeout((function(){t.classList.remove(ACTIVATED);u.delete(t)}),CLEAR_STATE_DEFERS);u.set(t,i)}else{t.classList.remove(ACTIVATED)}};var L=document;L.addEventListener("ionGestureCaptured",d);L.addEventListener("touchstart",f,true);L.addEventListener("touchcancel",s,true);L.addEventListener("touchend",s,true);L.addEventListener("pointercancel",d,true);L.addEventListener("mousedown",c,true);L.addEventListener("mouseup",v,true)};var getActivatableTarget=function(e){if(e.composedPath!==undefined){var t=e.composedPath();for(var n=0;n<t.length-2;n++){var r=t[n];if(!(r instanceof ShadowRoot)&&r.classList.contains("ion-activatable")){return r}}}else{return e.target.closest(".ion-activatable")}};var isInstant=function(e){return e.classList.contains("ion-activatable-instant")};var getRippleEffect=function(e){if(e.shadowRoot){var t=e.shadowRoot.querySelector("ion-ripple-effect");if(t){return t}}return e.querySelector("ion-ripple-effect")};var ACTIVATED="ion-activated";var ADD_ACTIVATED_DEFERS=100;var CLEAR_STATE_DEFERS=150;var MOUSE_WAIT=2500;export{startTapClick};
|
package/dist/ionic/p-48300af2.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{u as t,v as e}from"./p-38bc7b29.js";const o=o=>{let f,l,d,p=10*-u,v=0;const m=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),b=new WeakMap,h=e=>{p=t(e),x(e)},w=()=>{d&&clearTimeout(d),d=void 0,f&&(k(!1),f=void 0)},T=t=>{f||D(i(t),t)},x=t=>{D(void 0,t)},D=(t,o)=>{if(t&&t===f)return;d&&clearTimeout(d),d=void 0;const{x:i,y:r}=e(o);if(f){if(b.has(f))throw new Error("internal error");f.classList.contains(c)||E(f,i,r),k(!0)}if(t){const e=b.get(t);e&&(clearTimeout(e),b.delete(t)),t.classList.remove(c);const o=()=>{E(t,i,r),d=void 0};n(t)?o():d=setTimeout(o,a)}f=t},E=(t,e,o)=>{if(v=Date.now(),t.classList.add(c),!m)return;const i=r(t);null!==i&&(j(),l=i.addRipple(e,o))},j=()=>{void 0!==l&&(l.then((t=>t())),l=void 0)},k=t=>{j();const e=f;if(!e)return;const o=s-Date.now()+v;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(c),b.delete(e)}),s);b.set(e,t)}else e.classList.remove(c)},y=document;y.addEventListener("ionGestureCaptured",w),y.addEventListener("touchstart",(e=>{p=t(e),T(e)}),!0),y.addEventListener("touchcancel",h,!0),y.addEventListener("touchend",h,!0),y.addEventListener("pointercancel",w,!0),y.addEventListener("mousedown",(e=>{if(2===e.button)return;const o=t(e)-u;p<o&&T(e)}),!0),y.addEventListener("mouseup",(e=>{const o=t(e)-u;p<o&&x(e)}),!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},c="ion-activated",a=100,s=150,u=2500;export{o as startTapClick}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-86d4b2bf.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.u;n=e.v}],execute:function(){var r=e("startTapClick",(function(e){var r=-c*10;var v=0;var d;var l;var m;var p=e.getBoolean("animated",true)&&e.getBoolean("rippleEffect",true);var L=new WeakMap;var h=function(e){r=t(e);T(e)};var w=function(e){r=t(e);y(e)};var E=function(e){if(e.button===2){return}var n=t(e)-c;if(r<n){T(e)}};var b=function(e){var n=t(e)-c;if(r<n){y(e)}};var g=function(){if(m)clearTimeout(m);m=undefined;if(d){q(false);d=undefined}};var T=function(e){if(d){return}R(a(e),e)};var y=function(e){R(undefined,e)};var R=function(e,t){if(e&&e===d){return}if(m)clearTimeout(m);m=undefined;var r=n(t),a=r.x,o=r.y;if(d){if(L.has(d)){throw new Error("internal error")}if(!d.classList.contains(u)){S(d,a,o)}q(true)}if(e){var s=L.get(e);if(s){clearTimeout(s);L.delete(e)}e.classList.remove(u);var c=function(){S(e,a,o);m=undefined};if(i(e)){c()}else{m=setTimeout(c,f)}}d=e};var S=function(e,t,n){v=Date.now();e.classList.add(u);if(!p)return;var r=o(e);if(r!==null){k();l=r.addRipple(t,n)}};var k=function(){if(l!==undefined){l.then((function(e){return e()}));l=undefined}};var q=function(e){k();var t=d;if(!t){return}var n=s-Date.now()+v;if(e&&n>0&&!i(t)){var r=setTimeout((function(){t.classList.remove(u);L.delete(t)}),s);L.set(t,r)}else{t.classList.remove(u)}};var x=document;x.addEventListener("ionGestureCaptured",g);x.addEventListener("touchstart",h,true);x.addEventListener("touchcancel",w,true);x.addEventListener("touchend",w,true);x.addEventListener("pointercancel",g,true);x.addEventListener("mousedown",E,true);x.addEventListener("mouseup",b,true)}));var a=function(e){if(e.composedPath!==undefined){var t=e.composedPath();for(var n=0;n<t.length-2;n++){var r=t[n];if(!(r instanceof ShadowRoot)&&r.classList.contains("ion-activatable")){return r}}}else{return e.target.closest(".ion-activatable")}};var i=function(e){return e.classList.contains("ion-activatable-instant")};var o=function(e){if(e.shadowRoot){var t=e.shadowRoot.querySelector("ion-ripple-effect");if(t){return t}}return e.querySelector("ion-ripple-effect")};var u="ion-activated";var f=100;var s=150;var c=2500}}}));
|