From 82cf7e7462f3ccfe2d2134f41edf5cc0a9993c94 Mon Sep 17 00:00:00 2001 From: Amr Wagdy Date: Thu, 24 Feb 2022 23:07:36 +0200 Subject: [PATCH] chore: build v2.7.7 --- CHANGELOG.md | 5 +++++ README.md | 2 +- build/js-cloudimage-360-view.min.js | 6 +++--- examples/src/index.html | 2 +- package.json | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index deab15f..46c2f8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,11 @@ Types of changes: - ... ------------- +## 2.7.7 - 2022-02-24 +### Fixed +- container width on mobile +- re-render method + ## 2.7.6 - 2022-02-20 ### Fixed - drag speed diff --git a/README.md b/README.md index 32ab83a..2fd45d4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v2.7.6-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) +[![Release](https://img.shields.io/badge/release-v2.7.7-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.it/en/home) diff --git a/build/js-cloudimage-360-view.min.js b/build/js-cloudimage-360-view.min.js index 22888c1..227a8a0 100644 --- a/build/js-cloudimage-360-view.min.js +++ b/build/js-cloudimage-360-view.min.js @@ -1,11 +1,11 @@ /*! * - * js-cloudimage-360-view v2.7.6 + * js-cloudimage-360-view v2.7.7 * https://github.com/scaleflex/js-cloudimage-360-view * * Copyright (c) 2019 scaleflex * Released under the MIT license * - * Date: 2022-02-02T09:52:03.562Z + * Date: 2022-02-24T21:06:20.768Z * - */!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=120)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(63))},function(t,e,n){var i=n(18),o=Function.prototype,r=o.bind,a=o.call,s=i&&r.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e,n){t.exports=n(113)},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(t,e,n,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,o)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(o,r){var a=t.apply(e,i);function s(t){n(a,o,r,s,c,"next",t)}function c(t){n(a,o,r,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(4);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(1),o=n(38),r=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(o(t),e)}},function(t,e,n){var i=n(3);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},function(t,e,n){var i=n(0),o=n(37),r=n(8),a=n(39),s=n(34),c=n(33),u=o("wks"),l=i.Symbol,d=l&&l.for,f=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!r(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&r(l,t)?u[t]=l[t]:u[t]=c&&d?d(e):f(e)}return u[t]}},function(t,e,n){var i=n(0),o=n(3),r=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t]):i[t]&&i[t][e]}},function(t,e,n){var i=n(29),o=n(30);t.exports=function(t){return i(o(t))}},function(t,e,n){var i=n(0),o=n(7),r=n(40),a=n(42),s=n(14),c=n(31),u=i.TypeError,l=Object.defineProperty,d=Object.getOwnPropertyDescriptor;e.f=o?a?function(t,e,n){if(s(t),e=c(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var i=d(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:i.configurable,enumerable:"enumerable"in n?n.enumerable:i.enumerable,writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=c(e),s(n),r)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(0),o=n(9),r=i.String,a=i.TypeError;t.exports=function(t){if(o(t))return t;throw a(r(t)+" is not an object")}},function(t,e,n){var i=n(114),o=n(115),r=n(52),a=n(116);t.exports=function(t){return i(t)||o(t)||r(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(0),o=n(27).f,r=n(22),a=n(72),s=n(21),c=n(76),u=n(82);t.exports=function(t,e){var n,l,d,f,h,p=t.target,m=t.global,v=t.stat;if(n=m?i:v?i[p]||s(p,{}):(i[p]||{}).prototype)for(l in e){if(f=e[l],d=t.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(m?l:p+(v?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&r(f,"sham",!0),a(n,l,f,t)}}},function(t,e,n){var i=n(18),o=Function.prototype.call;t.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},function(t,e,n){var i=n(4);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){var i=n(1),o=i({}.toString),r=i("".slice);t.exports=function(t){return r(o(t),8,-1)}},function(t,e,n){var i=n(0),o=n(21),r=i["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=r},function(t,e,n){var i=n(0),o=Object.defineProperty;t.exports=function(t,e){try{o(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(7),o=n(13),r=n(28);t.exports=i?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(1),o=n(3),r=n(20),a=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},function(t,e){t.exports={}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var i=n(0),o=n(1);t.exports=function(t,e){return o(i[t].prototype[e])}},function(t,e,n){var i=n(7),o=n(17),r=n(64),a=n(28),s=n(12),c=n(31),u=n(8),l=n(40),d=Object.getOwnPropertyDescriptor;e.f=i?d:function(t,e){if(t=s(t),e=c(e),l)try{return d(t,e)}catch(t){}if(u(t,e))return a(!o(r.f,t,e),t[e])}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(0),o=n(1),r=n(4),a=n(19),s=i.Object,c=o("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):s(t)}:s},function(t,e,n){var i=n(0).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},function(t,e,n){var i=n(65),o=n(32);t.exports=function(t){var e=i(t,"string");return o(e)?e:e+""}},function(t,e,n){var i=n(0),o=n(11),r=n(3),a=n(66),s=n(33),c=i.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return r(e)&&a(e.prototype,c(t))}},function(t,e,n){var i=n(34);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(35),o=n(4);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},function(t,e,n){var i,o,r=n(0),a=n(67),s=r.process,c=r.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(i=l.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=+i[1]),t.exports=o},function(t,e,n){var i=n(0),o=n(3),r=n(69),a=i.TypeError;t.exports=function(t){if(o(t))return t;throw a(r(t)+" is not a function")}},function(t,e,n){var i=n(71),o=n(20);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.3",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var i=n(0),o=n(30),r=i.Object;t.exports=function(t){return r(o(t))}},function(t,e,n){var i=n(1),o=0,r=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+r,36)}},function(t,e,n){var i=n(7),o=n(4),r=n(41);t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(0),o=n(9),r=i.document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},function(t,e,n){var i=n(7),o=n(4);t.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var i=n(37),o=n(39),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var i=n(1),o=n(8),r=n(12),a=n(45).indexOf,s=n(24),c=i([].push);t.exports=function(t,e){var n,i=r(t),u=0,l=[];for(n in i)!o(s,n)&&o(i,n)&&c(l,n);for(;e.length>u;)o(i,n=e[u++])&&(~a(l,n)||c(l,n));return l}},function(t,e,n){var i=n(12),o=n(79),r=n(47),a=function(t){return function(e,n,a){var s,c=i(e),u=r(c),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?i:n)(e)}},function(t,e,n){var i=n(80);t.exports=function(t){return i(t.length)}},function(t,e,n){var i=n(84),o=n(1),r=n(29),a=n(38),s=n(47),c=n(85),u=o([].push),l=function(t){var e=1==t,n=2==t,o=3==t,l=4==t,d=6==t,f=7==t,h=5==t||d;return function(p,m,v,g){for(var y,x,b=a(p),w=r(b),I=i(m,v),O=s(w),C=0,E=g||c,k=e?E(p,O):n||f?E(p,0):void 0;O>C;C++)if((h||C in w)&&(x=I(y=w[C],C,b),t))if(e)k[C]=x;else if(x)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:u(k,y)}else switch(t){case 4:return!1;case 7:u(k,y)}return d?-1:o||l?l:k}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),r=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(r).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},o=0;o=0&&d.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return y(e,t.attrs),m(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function x(t,e){var n,i,o,r;if(e.transform&&t.css){if(!(r="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=r}if(e.singleton){var a=l++;n=u||(u=g(e)),i=I.bind(null,n,a,!1),o=I.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),m(t,e),e}(e),i=C.bind(null,n,e),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),i=O.bind(null,n),o=function(){v(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return h(n,e),function(t){for(var i=[],o=0;ot.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?o(i(t),9007199254740991):0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(4),o=n(3),r=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){"use strict";var i=n(48).forEach,o=n(91)("forEach");t.exports=o?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var i=n(1),o=n(36),r=n(18),a=i(i.bind);t.exports=function(t,e){return o(t),void 0===e?t:r?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(86);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},function(t,e,n){var i=n(0),o=n(87),r=n(88),a=n(9),s=n(10)("species"),c=i.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(r(e)&&(e===c||o(e.prototype))||a(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?c:e}},function(t,e,n){var i=n(19);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(1),o=n(4),r=n(3),a=n(89),s=n(11),c=n(23),u=function(){},l=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=i(f.exec),p=!f.exec(u),m=function(t){if(!r(t))return!1;try{return d(u,l,t),!0}catch(t){return!1}},v=function(t){if(!r(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,c(t))}catch(t){return!0}};v.sham=!0,t.exports=!d||o((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?v:m},function(t,e,n){var i=n(0),o=n(90),r=n(3),a=n(19),s=n(10)("toStringTag"),c=i.Object,u="Arguments"==a(function(){return arguments}());t.exports=o?a:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?n:u?a(e):"Object"==(i=a(e))&&r(e.callee)?"Arguments":i}},function(t,e,n){var i={};i[n(10)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){"use strict";var i=n(4);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var i=n(93);t.exports=i},function(t,e,n){var i=n(94);t.exports=i},function(t,e,n){var i=n(95);t.exports=i},function(t,e,n){n(96);var i=n(26);t.exports=i("Array","filter")},function(t,e,n){"use strict";var i=n(16),o=n(48).filter;i({target:"Array",proto:!0,forced:!n(97)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(4),o=n(10),r=n(35),a=o("species");t.exports=function(t){return r>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var i=n(99);t.exports=i},function(t,e,n){var i=n(100);t.exports=i},function(t,e,n){var i=n(101);t.exports=i},function(t,e,n){n(102);var i=n(26);t.exports=i("Array","includes")},function(t,e,n){"use strict";var i=n(16),o=n(45).includes,r=n(103);i({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")},function(t,e,n){var i=n(10),o=n(104),r=n(13),a=i("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var i,o=n(14),r=n(105),a=n(25),s=n(24),c=n(107),u=n(41),l=n(43),d=l("IE_PROTO"),f=function(){},h=function(t){return"