aleon_35_pdf_ui_lib
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.PdfUiLibrary=n():e.PdfUiLibrary=n()}(self,(()=>(()=>{"use strict";var e={881:(e,n,t)=>{t.d(n,{Z:()=>_});var o=t(81),r=t.n(o),l=t(645),i=t.n(l)()(r());i.push([e.id,'.checkboxContainer {\n display: flex;\n align-items: center;\n position: relative;\n width: fit-content;\n font-family: "Lato", sans-serif;\n margin: 5px 0; /* Optional, adds some spacing between checkboxes */\n}\n\n.checkboxStyle {\n appearance: none;\n width: 20px; /* Adjust size as needed */\n height: 20px; /* Adjust size as needed */\n border: 1px solid #ccc;\n border-radius: 4px;\n background-color: #fff;\n margin-right: 10px; /* Optional, adds some spacing between checkbox and label */\n cursor: pointer; /* Makes it clear that the checkbox is clickable */\n position: relative;\n}\n\n.checkboxStyle:checked {\n background-color: #007bff; /* Background color when checked */\n}\n\n.checkboxStyle:checked::after {\n content: "";\n position: absolute;\n left: 50%; /* Center the checkmark */\n top: 40%; /* Center the checkmark */\n transform: translate(-50%, -50%) rotate(45deg); /* Center and rotate */\n width: 6px;\n height: 12px;\n border: solid white;\n border-width: 0 2px 2px 0; /* Creates the checkmark */\n}',""]);const _=i},645:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t="",o=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),o&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),o&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t})).join("")},n.i=function(e,t,o,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var _=0;_<this.length;_++){var c=this[_][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var a=[].concat(e[u]);o&&i[a[0]]||(void 0!==l&&(void 0===a[5]||(a[1]="@layer".concat(a[5].length>0?" ".concat(a[5]):""," {").concat(a[1],"}")),a[5]=l),t&&(a[2]?(a[1]="@media ".concat(a[2]," {").concat(a[1],"}"),a[2]=t):a[2]=t),r&&(a[4]?(a[1]="@supports (".concat(a[4],") {").concat(a[1],"}"),a[4]=r):a[4]="".concat(r)),n.push(a))}},n}},81:e=>{e.exports=function(e){return e[1]}},379:e=>{var n=[];function t(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function o(e,o){for(var l={},i=[],_=0;_<e.length;_++){var c=e[_],u=o.base?c[0]+o.base:c[0],a=l[u]||0,s="".concat(u," ").concat(a);l[u]=a+1;var p=t(s),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)n[p].references++,n[p].updater(f);else{var d=r(f,o);o.byIndex=_,n.splice(_,0,{identifier:s,updater:d,references:1})}i.push(s)}return i}function r(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,r){var l=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<l.length;i++){var _=t(l[i]);n[_].references--}for(var c=o(e,r),u=0;u<l.length;u++){var a=t(l[u]);0===n[a].references&&(n[a].updater(),n.splice(a,1))}l=c}}},569:e=>{var n={};e.exports=function(e,t){var o=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},216:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},565:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,r&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var l=t.sourceMap;l&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),n.styleTagTransform(o,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},589:e=>{e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var l=n[o]={id:o,exports:{}};return e[o](l,l.exports,t),l.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nc=void 0;var o={};return(()=>{t.r(o),t.d(o,{Checkbox:()=>Q});var e=t(379),n=t.n(e),r=t(795),l=t.n(r),i=t(569),_=t.n(i),c=t(565),u=t.n(c),a=t(216),s=t.n(a),p=t(589),f=t.n(p),d=t(881),h={};h.styleTagTransform=f(),h.setAttributes=u(),h.insert=_().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=s(),n()(d.Z,h),d.Z&&d.Z.locals&&d.Z.locals;var v,y,m,b,g,k,x,S={},w=[],C=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,P=Array.isArray;function T(e,n){for(var t in n)e[t]=n[t];return e}function M(e){var n=e.parentNode;n&&n.removeChild(e)}function E(e,n,t){var o,r,l,i={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?v.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===i[l]&&(i[l]=e.defaultProps[l]);return L(e,i,o,r,null)}function L(e,n,t,o,r){var l={type:e,props:n,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++m:r};return null==r&&null!=y.vnode&&y.vnode(l),l}function N(e){return e.children}function U(e,n){this.props=e,this.context=n}function D(e,n){if(null==n)return e.__?D(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?D(e):null}function j(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return j(e)}}function A(e){(!e.__d&&(e.__d=!0)&&b.push(e)&&!O.__r++||g!==y.debounceRendering)&&((g=y.debounceRendering)||k)(O)}function O(){var e,n,t,o,r,l,i,_,c;for(b.sort(x);e=b.shift();)e.__d&&(n=b.length,o=void 0,r=void 0,l=void 0,_=(i=(t=e).__v).__e,(c=t.__P)&&(o=[],r=[],(l=T({},i)).__v=i.__v+1,$(c,i,l,t.__n,void 0!==c.ownerSVGElement,null!=i.__h?[_]:null,o,null==_?D(i):_,i.__h,r),q(o,i,r),i.__e!=_&&j(i)),b.length>n&&b.sort(x));O.__r=0}function I(e,n,t,o,r,l,i,_,c,u,a){var s,p,f,d,h,v,y,m,b,g,k=0,x=o&&o.__k||w,C=x.length,T=C,M=n.length;for(t.__k=[],s=0;s<M;s++)null!=(d=t.__k[s]=null==(d=n[s])||"boolean"==typeof d||"function"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?L(null,d,null,null,d):P(d)?L(N,{children:d},null,null,null):d.__b>0?L(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)&&(d.__=t,d.__b=t.__b+1,-1===(m=W(d,x,y=s+k,T))?f=S:(f=x[m]||S,x[m]=void 0,T--),$(e,d,f,r,l,i,_,c,u,a),h=d.__e,(p=d.ref)&&f.ref!=p&&(f.ref&&J(f.ref,null,d),a.push(p,d.__c||h,d)),null!=h&&(null==v&&(v=h),g=!(b=f===S||null===f.__v)&&m===y,b?-1==m&&k--:m!==y&&(m===y+1?(k++,g=!0):m>y?T>M-y?(k+=m-y,g=!0):k--:k=m<y&&m==y-1?m-y:0),y=s+k,g=g||m==s&&!b,"function"!=typeof d.type||m===y&&f.__k!==d.__k?"function"==typeof d.type||g?void 0!==d.__d?(c=d.__d,d.__d=void 0):c=h.nextSibling:c=H(e,h,c):c=F(d,c,e),"function"==typeof t.type&&(t.__d=c)));for(t.__e=v,s=C;s--;)null!=x[s]&&("function"==typeof t.type&&null!=x[s].__e&&x[s].__e==t.__d&&(t.__d=x[s].__e.nextSibling),V(x[s],x[s]))}function F(e,n,t){for(var o,r=e.__k,l=0;r&&l<r.length;l++)(o=r[l])&&(o.__=e,n="function"==typeof o.type?F(o,n,t):H(t,o.__e,n));return n}function H(e,n,t){return null==t||t.parentNode!==e?e.insertBefore(n,null):n==t&&null!=n.parentNode||e.insertBefore(n,t),n.nextSibling}function W(e,n,t,o){var r=e.key,l=e.type,i=t-1,_=t+1,c=n[t];if(null===c||c&&r==c.key&&l===c.type)return t;if(o>(null!=c?1:0))for(;i>=0||_<n.length;){if(i>=0){if((c=n[i])&&r==c.key&&l===c.type)return i;i--}if(_<n.length){if((c=n[_])&&r==c.key&&l===c.type)return _;_++}}return-1}function R(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||C.test(n)?t:t+"px"}function B(e,n,t,o,r){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(n in o)t&&n in t||R(e.style,n,"");if(t)for(n in t)o&&t[n]===o[n]||R(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?o||e.addEventListener(n,l?z:Z,l):e.removeEventListener(n,l?z:Z,l);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function Z(e){return this.l[e.type+!1](y.event?y.event(e):e)}function z(e){return this.l[e.type+!0](y.event?y.event(e):e)}function $(e,n,t,o,r,l,i,_,c,u){var a,s,p,f,d,h,v,m,b,g,k,x,S,w,C,M=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(c=t.__h,_=n.__e=t.__e,n.__h=null,l=[_]),(a=y.__b)&&a(n);try{e:if("function"==typeof M){if(m=n.props,b=(a=M.contextType)&&o[a.__c],g=a?b?b.props.value:a.__:o,t.__c?v=(s=n.__c=t.__c).__=s.__E:("prototype"in M&&M.prototype.render?n.__c=s=new M(m,g):(n.__c=s=new U(m,g),s.constructor=M,s.render=K),b&&b.sub(s),s.props=m,s.state||(s.state={}),s.context=g,s.__n=o,p=s.__d=!0,s.__h=[],s._sb=[]),null==s.__s&&(s.__s=s.state),null!=M.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=T({},s.__s)),T(s.__s,M.getDerivedStateFromProps(m,s.__s))),f=s.props,d=s.state,s.__v=n,p)null==M.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==M.getDerivedStateFromProps&&m!==f&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(m,g),!s.__e&&(null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(m,s.__s,g)||n.__v===t.__v)){for(n.__v!==t.__v&&(s.props=m,s.state=s.__s,s.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&i.push(s);break e}null!=s.componentWillUpdate&&s.componentWillUpdate(m,s.__s,g),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(f,d,h)}))}if(s.context=g,s.props=m,s.__P=e,s.__e=!1,x=y.__r,S=0,"prototype"in M&&M.prototype.render){for(s.state=s.__s,s.__d=!1,x&&x(n),a=s.render(s.props,s.state,s.context),w=0;w<s._sb.length;w++)s.__h.push(s._sb[w]);s._sb=[]}else do{s.__d=!1,x&&x(n),a=s.render(s.props,s.state,s.context),s.state=s.__s}while(s.__d&&++S<25);s.state=s.__s,null!=s.getChildContext&&(o=T(T({},o),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(h=s.getSnapshotBeforeUpdate(f,d)),I(e,P(C=null!=a&&a.type===N&&null==a.key?a.props.children:a)?C:[C],n,t,o,r,l,i,_,c,u),s.base=n.__e,n.__h=null,s.__h.length&&i.push(s),v&&(s.__E=s.__=null)}else null==l&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=G(t.__e,n,t,o,r,l,i,c,u);(a=y.diffed)&&a(n)}catch(e){n.__v=null,(c||null!=l)&&(n.__e=_,n.__h=!!c,l[l.indexOf(_)]=null),y.__e(e,n,t)}}function q(e,n,t){for(var o=0;o<t.length;o++)J(t[o],t[++o],t[++o]);y.__c&&y.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){y.__e(e,n.__v)}}))}function G(e,n,t,o,r,l,i,_,c){var u,a,s,p=t.props,f=n.props,d=n.type,h=0;if("svg"===d&&(r=!0),null!=l)for(;h<l.length;h++)if((u=l[h])&&"setAttribute"in u==!!d&&(d?u.localName===d:3===u.nodeType)){e=u,l[h]=null;break}if(null==e){if(null===d)return document.createTextNode(f);e=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,f.is&&f),l=null,_=!1}if(null===d)p===f||_&&e.data===f||(e.data=f);else{if(l=l&&v.call(e.childNodes),a=(p=t.props||S).dangerouslySetInnerHTML,s=f.dangerouslySetInnerHTML,!_){if(null!=l)for(p={},h=0;h<e.attributes.length;h++)p[e.attributes[h].name]=e.attributes[h].value;(s||a)&&(s&&(a&&s.__html==a.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(function(e,n,t,o,r){var l;for(l in t)"children"===l||"key"===l||l in n||B(e,l,null,t[l],o);for(l in n)r&&"function"!=typeof n[l]||"children"===l||"key"===l||"value"===l||"checked"===l||t[l]===n[l]||B(e,l,n[l],t[l],o)}(e,f,p,r,_),s)n.__k=[];else if(I(e,P(h=n.props.children)?h:[h],n,t,o,r&&"foreignObject"!==d,l,i,l?l[0]:t.__k&&D(t,0),_,c),null!=l)for(h=l.length;h--;)null!=l[h]&&M(l[h]);_||("value"in f&&void 0!==(h=f.value)&&(h!==e.value||"progress"===d&&!h||"option"===d&&h!==p.value)&&B(e,"value",h,p.value,!1),"checked"in f&&void 0!==(h=f.checked)&&h!==e.checked&&B(e,"checked",h,p.checked,!1))}return e}function J(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){y.__e(e,t)}}function V(e,n,t){var o,r;if(y.unmount&&y.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||J(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){y.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&V(o[r],n,t||"function"!=typeof e.type);t||null==e.__e||M(e.__e),e.__=e.__e=e.__d=void 0}function K(e,n,t){return this.constructor(e,t)}v=w.slice,y={__e:function(e,n,t,o){for(var r,l,i;n=n.__;)if((r=n.__c)&&!r.__)try{if((l=r.constructor)&&null!=l.getDerivedStateFromError&&(r.setState(l.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),i=r.__d),i)return r.__E=r}catch(n){e=n}throw e}},m=0,U.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=T({},this.state),"function"==typeof e&&(e=e(T({},t),this.props)),e&&T(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),A(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},U.prototype.render=N,b=[],k="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x=function(e,n){return e.__v.__b-n.__v.__b},O.__r=0;var Q=function(e){var n=e.label,t=e.checked,o=e.onChange;return E("div",{className:["checkboxContainer"]},!!n&&E("label",{htmlFor:"custom-checkbox-".concat(n),className:["labelStyle"]},n),E("input",{type:"checkbox",id:"custom-checkbox-".concat(n),onChange:o,checked:t,className:["checkboxStyle"]}),E("div",null,"version3"))};Q.defaultProps={label:null,checked:!1,onChange:void 0}})(),o})())); | ||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.PdfUiLibrary=n():e.PdfUiLibrary=n()}(self,(()=>(()=>{"use strict";var e={881:(e,n,t)=>{t.d(n,{Z:()=>_});var o=t(81),r=t.n(o),l=t(645),i=t.n(l)()(r());i.push([e.id,'.checkboxContainer {\n display: flex;\n align-items: center;\n position: relative;\n width: fit-content;\n font-family: "Lato", sans-serif;\n margin: 5px 0; /* Optional, adds some spacing between checkboxes */\n}\n\n.checkboxStyle {\n appearance: none;\n width: 20px; /* Adjust size as needed */\n height: 20px; /* Adjust size as needed */\n border: 1px solid #ccc;\n border-radius: 4px;\n background-color: #fff;\n margin-right: 10px; /* Optional, adds some spacing between checkbox and label */\n cursor: pointer; /* Makes it clear that the checkbox is clickable */\n position: relative;\n}\n\n.checkboxStyle:checked {\n background-color: #007bff; /* Background color when checked */\n}\n\n.checkboxStyle:checked::after {\n content: "";\n position: absolute;\n left: 50%; /* Center the checkmark */\n top: 40%; /* Center the checkmark */\n transform: translate(-50%, -50%) rotate(45deg); /* Center and rotate */\n width: 6px;\n height: 12px;\n border: solid white;\n border-width: 0 2px 2px 0; /* Creates the checkmark */\n}',""]);const _=i},645:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t="",o=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),o&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),o&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t})).join("")},n.i=function(e,t,o,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var _=0;_<this.length;_++){var c=this[_][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var a=[].concat(e[u]);o&&i[a[0]]||(void 0!==l&&(void 0===a[5]||(a[1]="@layer".concat(a[5].length>0?" ".concat(a[5]):""," {").concat(a[1],"}")),a[5]=l),t&&(a[2]?(a[1]="@media ".concat(a[2]," {").concat(a[1],"}"),a[2]=t):a[2]=t),r&&(a[4]?(a[1]="@supports (".concat(a[4],") {").concat(a[1],"}"),a[4]=r):a[4]="".concat(r)),n.push(a))}},n}},81:e=>{e.exports=function(e){return e[1]}},379:e=>{var n=[];function t(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function o(e,o){for(var l={},i=[],_=0;_<e.length;_++){var c=e[_],u=o.base?c[0]+o.base:c[0],a=l[u]||0,s="".concat(u," ").concat(a);l[u]=a+1;var p=t(s),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)n[p].references++,n[p].updater(f);else{var d=r(f,o);o.byIndex=_,n.splice(_,0,{identifier:s,updater:d,references:1})}i.push(s)}return i}function r(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,r){var l=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<l.length;i++){var _=t(l[i]);n[_].references--}for(var c=o(e,r),u=0;u<l.length;u++){var a=t(l[u]);0===n[a].references&&(n[a].updater(),n.splice(a,1))}l=c}}},569:e=>{var n={};e.exports=function(e,t){var o=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},216:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},565:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,r&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var l=t.sourceMap;l&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),n.styleTagTransform(o,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},589:e=>{e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var l=n[o]={id:o,exports:{}};return e[o](l,l.exports,t),l.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nc=void 0;var o={};return(()=>{t.r(o),t.d(o,{Checkbox:()=>Q});var e=t(379),n=t.n(e),r=t(795),l=t.n(r),i=t(569),_=t.n(i),c=t(565),u=t.n(c),a=t(216),s=t.n(a),p=t(589),f=t.n(p),d=t(881),h={};h.styleTagTransform=f(),h.setAttributes=u(),h.insert=_().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=s(),n()(d.Z,h),d.Z&&d.Z.locals&&d.Z.locals;var v,y,m,b,g,k,x,S={},w=[],C=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,P=Array.isArray;function T(e,n){for(var t in n)e[t]=n[t];return e}function M(e){var n=e.parentNode;n&&n.removeChild(e)}function E(e,n,t){var o,r,l,i={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?v.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===i[l]&&(i[l]=e.defaultProps[l]);return L(e,i,o,r,null)}function L(e,n,t,o,r){var l={type:e,props:n,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++m:r};return null==r&&null!=y.vnode&&y.vnode(l),l}function N(e){return e.children}function U(e,n){this.props=e,this.context=n}function D(e,n){if(null==n)return e.__?D(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?D(e):null}function j(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return j(e)}}function A(e){(!e.__d&&(e.__d=!0)&&b.push(e)&&!O.__r++||g!==y.debounceRendering)&&((g=y.debounceRendering)||k)(O)}function O(){var e,n,t,o,r,l,i,_,c;for(b.sort(x);e=b.shift();)e.__d&&(n=b.length,o=void 0,r=void 0,l=void 0,_=(i=(t=e).__v).__e,(c=t.__P)&&(o=[],r=[],(l=T({},i)).__v=i.__v+1,$(c,i,l,t.__n,void 0!==c.ownerSVGElement,null!=i.__h?[_]:null,o,null==_?D(i):_,i.__h,r),q(o,i,r),i.__e!=_&&j(i)),b.length>n&&b.sort(x));O.__r=0}function I(e,n,t,o,r,l,i,_,c,u,a){var s,p,f,d,h,v,y,m,b,g,k=0,x=o&&o.__k||w,C=x.length,T=C,M=n.length;for(t.__k=[],s=0;s<M;s++)null!=(d=t.__k[s]=null==(d=n[s])||"boolean"==typeof d||"function"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?L(null,d,null,null,d):P(d)?L(N,{children:d},null,null,null):d.__b>0?L(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)&&(d.__=t,d.__b=t.__b+1,-1===(m=W(d,x,y=s+k,T))?f=S:(f=x[m]||S,x[m]=void 0,T--),$(e,d,f,r,l,i,_,c,u,a),h=d.__e,(p=d.ref)&&f.ref!=p&&(f.ref&&J(f.ref,null,d),a.push(p,d.__c||h,d)),null!=h&&(null==v&&(v=h),g=!(b=f===S||null===f.__v)&&m===y,b?-1==m&&k--:m!==y&&(m===y+1?(k++,g=!0):m>y?T>M-y?(k+=m-y,g=!0):k--:k=m<y&&m==y-1?m-y:0),y=s+k,g=g||m==s&&!b,"function"!=typeof d.type||m===y&&f.__k!==d.__k?"function"==typeof d.type||g?void 0!==d.__d?(c=d.__d,d.__d=void 0):c=h.nextSibling:c=H(e,h,c):c=F(d,c,e),"function"==typeof t.type&&(t.__d=c)));for(t.__e=v,s=C;s--;)null!=x[s]&&("function"==typeof t.type&&null!=x[s].__e&&x[s].__e==t.__d&&(t.__d=x[s].__e.nextSibling),V(x[s],x[s]))}function F(e,n,t){for(var o,r=e.__k,l=0;r&&l<r.length;l++)(o=r[l])&&(o.__=e,n="function"==typeof o.type?F(o,n,t):H(t,o.__e,n));return n}function H(e,n,t){return null==t||t.parentNode!==e?e.insertBefore(n,null):n==t&&null!=n.parentNode||e.insertBefore(n,t),n.nextSibling}function W(e,n,t,o){var r=e.key,l=e.type,i=t-1,_=t+1,c=n[t];if(null===c||c&&r==c.key&&l===c.type)return t;if(o>(null!=c?1:0))for(;i>=0||_<n.length;){if(i>=0){if((c=n[i])&&r==c.key&&l===c.type)return i;i--}if(_<n.length){if((c=n[_])&&r==c.key&&l===c.type)return _;_++}}return-1}function R(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||C.test(n)?t:t+"px"}function B(e,n,t,o,r){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(n in o)t&&n in t||R(e.style,n,"");if(t)for(n in t)o&&t[n]===o[n]||R(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?o||e.addEventListener(n,l?z:Z,l):e.removeEventListener(n,l?z:Z,l);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function Z(e){return this.l[e.type+!1](y.event?y.event(e):e)}function z(e){return this.l[e.type+!0](y.event?y.event(e):e)}function $(e,n,t,o,r,l,i,_,c,u){var a,s,p,f,d,h,v,m,b,g,k,x,S,w,C,M=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(c=t.__h,_=n.__e=t.__e,n.__h=null,l=[_]),(a=y.__b)&&a(n);try{e:if("function"==typeof M){if(m=n.props,b=(a=M.contextType)&&o[a.__c],g=a?b?b.props.value:a.__:o,t.__c?v=(s=n.__c=t.__c).__=s.__E:("prototype"in M&&M.prototype.render?n.__c=s=new M(m,g):(n.__c=s=new U(m,g),s.constructor=M,s.render=K),b&&b.sub(s),s.props=m,s.state||(s.state={}),s.context=g,s.__n=o,p=s.__d=!0,s.__h=[],s._sb=[]),null==s.__s&&(s.__s=s.state),null!=M.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=T({},s.__s)),T(s.__s,M.getDerivedStateFromProps(m,s.__s))),f=s.props,d=s.state,s.__v=n,p)null==M.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==M.getDerivedStateFromProps&&m!==f&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(m,g),!s.__e&&(null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(m,s.__s,g)||n.__v===t.__v)){for(n.__v!==t.__v&&(s.props=m,s.state=s.__s,s.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&i.push(s);break e}null!=s.componentWillUpdate&&s.componentWillUpdate(m,s.__s,g),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(f,d,h)}))}if(s.context=g,s.props=m,s.__P=e,s.__e=!1,x=y.__r,S=0,"prototype"in M&&M.prototype.render){for(s.state=s.__s,s.__d=!1,x&&x(n),a=s.render(s.props,s.state,s.context),w=0;w<s._sb.length;w++)s.__h.push(s._sb[w]);s._sb=[]}else do{s.__d=!1,x&&x(n),a=s.render(s.props,s.state,s.context),s.state=s.__s}while(s.__d&&++S<25);s.state=s.__s,null!=s.getChildContext&&(o=T(T({},o),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(h=s.getSnapshotBeforeUpdate(f,d)),I(e,P(C=null!=a&&a.type===N&&null==a.key?a.props.children:a)?C:[C],n,t,o,r,l,i,_,c,u),s.base=n.__e,n.__h=null,s.__h.length&&i.push(s),v&&(s.__E=s.__=null)}else null==l&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=G(t.__e,n,t,o,r,l,i,c,u);(a=y.diffed)&&a(n)}catch(e){n.__v=null,(c||null!=l)&&(n.__e=_,n.__h=!!c,l[l.indexOf(_)]=null),y.__e(e,n,t)}}function q(e,n,t){for(var o=0;o<t.length;o++)J(t[o],t[++o],t[++o]);y.__c&&y.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){y.__e(e,n.__v)}}))}function G(e,n,t,o,r,l,i,_,c){var u,a,s,p=t.props,f=n.props,d=n.type,h=0;if("svg"===d&&(r=!0),null!=l)for(;h<l.length;h++)if((u=l[h])&&"setAttribute"in u==!!d&&(d?u.localName===d:3===u.nodeType)){e=u,l[h]=null;break}if(null==e){if(null===d)return document.createTextNode(f);e=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,f.is&&f),l=null,_=!1}if(null===d)p===f||_&&e.data===f||(e.data=f);else{if(l=l&&v.call(e.childNodes),a=(p=t.props||S).dangerouslySetInnerHTML,s=f.dangerouslySetInnerHTML,!_){if(null!=l)for(p={},h=0;h<e.attributes.length;h++)p[e.attributes[h].name]=e.attributes[h].value;(s||a)&&(s&&(a&&s.__html==a.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(function(e,n,t,o,r){var l;for(l in t)"children"===l||"key"===l||l in n||B(e,l,null,t[l],o);for(l in n)r&&"function"!=typeof n[l]||"children"===l||"key"===l||"value"===l||"checked"===l||t[l]===n[l]||B(e,l,n[l],t[l],o)}(e,f,p,r,_),s)n.__k=[];else if(I(e,P(h=n.props.children)?h:[h],n,t,o,r&&"foreignObject"!==d,l,i,l?l[0]:t.__k&&D(t,0),_,c),null!=l)for(h=l.length;h--;)null!=l[h]&&M(l[h]);_||("value"in f&&void 0!==(h=f.value)&&(h!==e.value||"progress"===d&&!h||"option"===d&&h!==p.value)&&B(e,"value",h,p.value,!1),"checked"in f&&void 0!==(h=f.checked)&&h!==e.checked&&B(e,"checked",h,p.checked,!1))}return e}function J(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){y.__e(e,t)}}function V(e,n,t){var o,r;if(y.unmount&&y.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||J(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){y.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&V(o[r],n,t||"function"!=typeof e.type);t||null==e.__e||M(e.__e),e.__=e.__e=e.__d=void 0}function K(e,n,t){return this.constructor(e,t)}v=w.slice,y={__e:function(e,n,t,o){for(var r,l,i;n=n.__;)if((r=n.__c)&&!r.__)try{if((l=r.constructor)&&null!=l.getDerivedStateFromError&&(r.setState(l.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),i=r.__d),i)return r.__E=r}catch(n){e=n}throw e}},m=0,U.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=T({},this.state),"function"==typeof e&&(e=e(T({},t),this.props)),e&&T(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),A(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},U.prototype.render=N,b=[],k="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x=function(e,n){return e.__v.__b-n.__v.__b},O.__r=0;var Q=function(e){var n=e.label,t=e.checked,o=e.onChange;return E("div",{className:["checkboxContainer"]},!!n&&E("label",{htmlFor:"custom-checkbox-".concat(n),className:["labelStyle"]},n),E("input",{type:"checkbox",id:"custom-checkbox-".concat(n),onChange:o,checked:t,className:["checkboxStyle"]}),E("div",null,"version4"))};Q.defaultProps={label:null,checked:!1,onChange:void 0}})(),o})())); |
{ | ||
"name": "aleon_35_pdf_ui_lib", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/pdf_ui_lib.js", |
@@ -17,3 +17,3 @@ import styles from "./Checkbox.css"; | ||
/> | ||
<div>version3</div> | ||
<div>version4</div> | ||
</div> | ||
@@ -20,0 +20,0 @@ ); |
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