katoikia-app/web-ui/web-react/node_modules/primereact/csstransition/csstransition.min.js

2 lines
4.9 KiB
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
this.primereact=this.primereact||{},this.primereact.csstransition=function(t,n,o,e,i){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=r(n),p=r(e);function c(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function u(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function f(t,n){for(var o=0;o<n.length;o++){var e=n[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,n){return h=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},h(t,n)}function l(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&h(t,n)}function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function d(t,n){if(n&&("object"===E(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,e)}return o}function g(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?b(Object(o),!0).forEach((function(n){c(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var x=function(t){l(b,t);var n,e,r,c,h,E=(n=b,e=O(),function(){var t,o=y(n);if(e){var i=y(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return d(this,t)});function b(t){var n;return u(this,b),(n=E.call(this,t)).onEnter=n.onEnter.bind(a(n)),n.onEntering=n.onEntering.bind(a(n)),n.onEntered=n.onEntered.bind(a(n)),n.onExit=n.onExit.bind(a(n)),n.onExiting=n.onExiting.bind(a(n)),n.onExited=n.onExited.bind(a(n)),n}return r=b,(c=[{key:"disabled",get:function(){return this.props.disabled||this.props.options&&this.props.options.disabled||!p.default.cssTransition}},{key:"onEnter",value:function(t,n){this.props.onEnter&&this.props.onEnter(t,n),this.props.options&&this.props.options.onEnter&&this.props.options.onEnter(t,n)}},{key:"onEntering",value:function(t,n){this.props.onEntering&&this.props.onEntering(t,n),this.props.options&&this.props.options.onEntering&&this.props.options.onEntering(t,n)}},{key:"onEntered",value:function(t,n){this.props.onEntered&&this.props.onEntered(t,n),this.props.options&&this.props.options.onEntered&&this.props.options.onEntered(t,n)}},{key:"onExit",value:function(t){this.props.onExit&&this.props.onExit(t),this.props.options&&this.props.options.onExit&&this.props.options.onExit(t)}},{key:"onExiting",value:function(t){this.props.onExiting&&this.props.onExiting(t),this.props.options&&this.props.options.onExiting&&this.props.options.onExiting(t)}},{key:"onExited",value:function(t){this.props.onExited&&this.props.onExited(t),this.props.options&&this.props.options.onExited&&this.props.options.onExited(t)}},{key:"componentDidUpdate",value:function(t){if(this.props.in!==t.in&&this.disabled