contentful-ui-extensions-sdk
Advanced tools
Comparing version 3.14.0 to 3.14.1
@@ -10,3 +10,3 @@ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Wswr":[function(require,module,exports) { | ||
},{"./signal":"Wswr"}],"RMZU":[function(require,module,exports) { | ||
"use strict";var e=this&&this.__assign||function(){return(e=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});var o=t(require("./field-locale")),i=["id","locales","type","required","validations","items"],r=function(){function t(t,r,l){var a=this;i.forEach(function(e){void 0!==r[e]&&(a[e]=r[e])}),this._defaultLocale=l,this._fieldLocales=r.locales.reduce(function(i,n){var l,a=new o.default(t,{id:r.id,locale:n,value:r.values[n]});return e(e({},i),((l={})[n]=a,l))},{}),n(this,l)}return t.prototype.getValue=function(e){return this._getFieldLocale(e).getValue()},t.prototype.setValue=function(e,t){return this._getFieldLocale(t).setValue(e)},t.prototype.removeValue=function(e){return this.setValue(void 0,e)},t.prototype.onValueChanged=function(e,t){return t||(t=e,e=void 0),this._getFieldLocale(e).onValueChanged(t)},t.prototype.onIsDisabledChanged=function(e,t){return t||(t=e,e=void 0),this._getFieldLocale(e).onIsDisabledChanged(t)},t.prototype._getFieldLocale=function(e){return n(this,e=e||this._defaultLocale),this._fieldLocales[e]},t.prototype.getForLocale=function(e){if(!e)throw new Error("getForLocale must be passed a locale");return this._getFieldLocale(e)},t}();function n(e,t){if(!e._fieldLocales[t])throw new Error('Unknown locale "'+t+'" for field "'+e.id+'"')}exports.default=r; | ||
"use strict";var e=this&&this.__assign||function(){return(e=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});var o=t(require("./field-locale")),i=["id","locales","type","required","validations","items"],r=function(){function t(t,r,l){var a=this;i.forEach(function(e){void 0!==r[e]&&(a[e]=r[e])}),this._defaultLocale=l,this._fieldLocales=r.locales.reduce(function(i,n){var l,a=new o.default(t,{id:r.id,type:r.type,required:r.required,validations:r.validations,items:r.items,locale:n,value:r.values[n]});return e(e({},i),((l={})[n]=a,l))},{}),n(this,l)}return t.prototype.getValue=function(e){return this._getFieldLocale(e).getValue()},t.prototype.setValue=function(e,t){return this._getFieldLocale(t).setValue(e)},t.prototype.removeValue=function(e){return this.setValue(void 0,e)},t.prototype.onValueChanged=function(e,t){return t||(t=e,e=void 0),this._getFieldLocale(e).onValueChanged(t)},t.prototype.onIsDisabledChanged=function(e,t){return t||(t=e,e=void 0),this._getFieldLocale(e).onIsDisabledChanged(t)},t.prototype._getFieldLocale=function(e){return n(this,e=e||this._defaultLocale),this._fieldLocales[e]},t.prototype.getForLocale=function(e){if(!e)throw new Error("getForLocale must be passed a locale");return this._getFieldLocale(e)},t}();function n(e,t){if(!e._fieldLocales[t])throw new Error('Unknown locale "'+t+'" for field "'+e.id+'"')}exports.default=r; | ||
},{"./field-locale":"QmLY"}],"ce7B":[function(require,module,exports) { | ||
@@ -13,0 +13,0 @@ "use strict";function e(e,t){var n=e.document,i=e.MutationObserver,r=function(){c.updateHeight()},u=new i(r),o=null,s=!1,c={startAutoResizer:function(){if(c.updateHeight(),s)return;s=!0,u.observe(n.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),e.addEventListener("resize",r)},stopAutoResizer:function(){if(!s)return;s=!1,u.disconnect(),e.removeEventListener("resize",r)},updateHeight:function(e){void 0===e&&(e=null);null===e&&(e=Math.ceil(n.documentElement.getBoundingClientRect().height));e!==o&&(t.send("setHeight",e),o=e)}};return c}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; |
{ | ||
"name": "contentful-ui-extensions-sdk", | ||
"description": "SDK to develop custom UI Extension for the Contentful Web App", | ||
"version": "3.14.0", | ||
"version": "3.14.1", | ||
"author": "Contentful GmbH", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63540
1238