@clutch-creator/bridge
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -1,1 +0,1 @@ | ||
module.exports=function(t){var r={};function o(n){if(r[n])return r[n].exports;var e=r[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=t,o.c=r,o.d=function(n,e,t){if(!o.o(n,e))Object.defineProperty(n,e,{enumerable:!0,get:t})},o.r=function(n){if("undefined"!=typeof Symbol&&Symbol.toStringTag)Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(e,n){if(1&n)e=o(e);if(8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)o.d(t,r,function(n){return e[n]}.bind(null,r));return t},o.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(e,"a",e),e},o.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},o.p="",o(o.s=7)}([function(n,e){n.exports=require("@babel/runtime/helpers/toConsumableArray")},function(n,e){n.exports=require("react")},function(n,e){n.exports=require("@babel/runtime/helpers/typeof")},function(n,e){n.exports=require("lodash/get")},function(n,e){n.exports=require("classnames")},function(n,e){n.exports=require("@babel/runtime/helpers/classCallCheck")},function(n,e){n.exports=require("@babel/runtime/helpers/createClass")},function(n,e,t){"use strict";t.r(e);var r=t(0),f=t.n(r),o=t(3),i=t.n(o);function u(n,e){var t;if("undefined"!=typeof window&&window.CLUTCH_CLASSES_MAP){var r=function(n){var e=n||{},t=e.keys,r=e.rootInstances,o="".concat(e.id);if(t&&t.length)o+=".".concat(t.map(function(n){return n.key}).join("."));if(r&&r.length)o+=".".concat(r.join("."));return o}(n);if(void 0===window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)])t="-clutch-identifier".concat(Object.keys(window.CLUTCH_CLASSES_MAP).length),window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)]=t;else t=window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)]}return t}function c(t){var n=t;if(void 0!==n)n=Object.keys(t).reduce(function(n,e){if(t[e])return[].concat(f()(n),[e]);else return n},[]);return n}function a(n,e){return n&&Array.isArray(n)&&n.includes(e)?!0:void 0}function s(n,e){var t;try{if(void 0!==(t=i()(this,n))&&e)t+=e}catch(n){}return t}var l=t(4),d=t.n(l).a;function p(n){for(var e=n,t=arguments.length,r=new Array(1<t?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.forEach(function(n){if(void 0!==n)e=n}),e}function b(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Object.assign.apply(Object,[{}].concat(e))}var v=t(2),w=t.n(v),y=function(){var t=new WeakSet;return function(n,e){if("object"===w()(e)&&null!==e){if(t.has(e))return;t.add(e)}if("function"==typeof e)return e.toString();if("object"===w()(e)&&null!=e&&e.constructor&&e.constructor.name.includes("HTML"))return"<".concat(e.constructor.name,">");else return e}};function C(n,e,t){!function(n){if("development"===process.env.NODE_ENV&&"undefined"!=typeof window){var e=JSON.stringify(n,y());if(window.opener)window.opener.postMessage(e,"*");else window.parent.postMessage(e,"*")}}({type:"changeComponentProp",selection:n,propName:e,value:t})}var S=t(5),_=t.n(S),h=t(6),m=t.n(h),g=t(1),j=0;var O,A=function(){function o(n,e,t,r){_()(this,o),this.id=n,this.rootInstances=e,this.reports=r,this.ownerScopeId=t}return m()(o,[{key:"toString",value:function(){return""}}]),o}();if("undefined"!=typeof window&&window.__CLUTCH_INSPECTOR__)O=window.__CLUTCH_INSPECTOR__;function P(n){var c,a=0,e=n["data-d"],t=e?[].concat(f()(e.rootInstances),[e.id]):[];return Object(g.useEffect)(function(){return c=j,j+=1,function(){if(O)O.dropReports(c)}},[]),[Object(g.useCallback)(function(n,e,t,r,o){if(O)return O.report(c,a,e,t,r,o),i=n,u=a+=1,[].concat(f()(i||[]),[u]);else return null;var i,u},[]),Object(g.useCallback)(function(n,e){return new A(e,t,c,n)},[])]}t.d(e,"getUniqueClassName",function(){return u}),t.d(e,"getVariants",function(){return c}),t.d(e,"hasVariant",function(){return a}),t.d(e,"propertyBind",function(){return s}),t.d(e,"mClassnames",function(){return d}),t.d(e,"mReplace",function(){return p}),t.d(e,"mAssign",function(){return b}),t.d(e,"changeComponentProp",function(){return C}),t.d(e,"useReport",function(){return P})}]); | ||
module.exports=function(t){var r={};function o(n){if(r[n])return r[n].exports;var e=r[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=t,o.c=r,o.d=function(n,e,t){if(!o.o(n,e))Object.defineProperty(n,e,{enumerable:!0,get:t})},o.r=function(n){if("undefined"!=typeof Symbol&&Symbol.toStringTag)Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(e,n){if(1&n)e=o(e);if(8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)o.d(t,r,function(n){return e[n]}.bind(null,r));return t},o.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(e,"a",e),e},o.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},o.p="",o(o.s=7)}([function(n,e){n.exports=require("@babel/runtime/helpers/toConsumableArray")},function(n,e){n.exports=require("react")},function(n,e){n.exports=require("@babel/runtime/helpers/typeof")},function(n,e){n.exports=require("lodash/get")},function(n,e){n.exports=require("classnames")},function(n,e){n.exports=require("@babel/runtime/helpers/classCallCheck")},function(n,e){n.exports=require("@babel/runtime/helpers/createClass")},function(n,e,t){"use strict";t.r(e);var r=t(0),s=t.n(r),o=t(3),i=t.n(o);function u(n,e){var t;if("undefined"!=typeof window&&window.CLUTCH_CLASSES_MAP){var r=function(n){var e=n||{},t=e.keys,r=e.rootInstances,o="".concat(e.id);if(t&&t.length)o+=".".concat(t.map(function(n){return n.key}).join("."));if(r&&r.length)o+=".".concat(r.join("."));return o}(n);if(void 0===window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)])t="-clutch-identifier".concat(Object.keys(window.CLUTCH_CLASSES_MAP).length),window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)]=t;else t=window.CLUTCH_CLASSES_MAP["".concat(r).concat(e)]}return t}function c(t){var n=t;if(void 0!==n)n=Object.keys(t).reduce(function(n,e){if(t[e])return[].concat(s()(n),[e]);else return n},[]);return n}function a(n,e){return n&&Array.isArray(n)&&n.includes(e)?!0:void 0}function f(n,e){var t;try{if(void 0!==(t=i()(this,n))&&e)t+=e}catch(n){}return t}var l=t(4),d=t.n(l).a;function p(n){for(var e=n,t=arguments.length,r=new Array(1<t?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.forEach(function(n){if(void 0!==n)e=n}),e}function v(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Object.assign.apply(Object,[{}].concat(e))}var b=t(2),w=t.n(b),y=function(){var t=new WeakSet;return function(n,e){if("object"===w()(e)&&null!==e){if(t.has(e))return;t.add(e)}if("function"==typeof e)return e.toString();if("object"===w()(e)&&null!=e&&e.constructor&&e.constructor.name.includes("HTML"))return"<".concat(e.constructor.name,">");else return e}};function C(n,e,t){!function(n){if("development"===process.env.NODE_ENV&&"undefined"!=typeof window){var e=JSON.stringify(n,y());if(window.opener)window.opener.postMessage(e,"*");else window.parent.postMessage(e,"*")}}({type:"changeComponentProp",selection:n,propName:e,value:t})}var S=t(5),_=t.n(S),h=t(6),m=t.n(h),g=t(1),j=0;var O,A=function(){function o(n,e,t,r){_()(this,o),this.id=n,this.rootInstances=e,this.reports=r,this.ownerScopeId=t}return m()(o,[{key:"toString",value:function(){return""}}]),o}();if("undefined"!=typeof window&&window.__CLUTCH_INSPECTOR__)O=window.__CLUTCH_INSPECTOR__;function P(n){var a,f=0,e=n["data-d"],t=e?[].concat(s()(e.rootInstances),[e.id]):[];return Object(g.useEffect)(function(){return a=j,j+=1,function(){if(O)O.dropReports(a)}},[]),[Object(g.useCallback)(function(n,e,t,r,o){if(O){var i=f;return f+=1,O.report(a,i,e,t,r,o),u=n,c=i,[].concat(s()(u||[]),[c])}var u,c;return null},[]),Object(g.useCallback)(function(n,e){return new A(e,t,a,n)},[])]}t.d(e,"getUniqueClassName",function(){return u}),t.d(e,"getVariants",function(){return c}),t.d(e,"hasVariant",function(){return a}),t.d(e,"propertyBind",function(){return f}),t.d(e,"mClassnames",function(){return d}),t.d(e,"mReplace",function(){return p}),t.d(e,"mAssign",function(){return v}),t.d(e,"changeComponentProp",function(){return C}),t.d(e,"useReport",function(){return P})}]); |
{ | ||
"name": "@clutch-creator/bridge", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"description": "Clutch Bridge", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6245