2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
this.primereact=this.primereact||{},this.primereact.toolbar=function(t,e,r){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=o(e);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}function a(t){return a="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},a(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function y(){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 b,m,h,d=function(t){c(m,t);var e,o,u,a,f,b=(e=m,o=y(),function(){var t,r=s(e);if(o){var n=s(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return p(this,t)});function m(){return i(this,m),b.apply(this,arguments)}return u=m,(a=[{key:"render",value:function(){var t=r.classNames("p-toolbar p-component",this.props.className),e=r.ObjectUtils.getJSXElement(this.props.left,this.props),o=r.ObjectUtils.getJSXElement(this.props.right,this.props);return n.default.createElement("div",{id:this.props.id,className:t,style:this.props.style,role:"toolbar"},n.default.createElement("div",{className:"p-toolbar-group-left"},e),n.default.createElement("div",{className:"p-toolbar-group-right"},o))}}])&&l(u.prototype,a),f&&l(u,f),Object.defineProperty(u,"prototype",{writable:!1}),m}(e.Component);return h={id:null,style:null,className:null,left:null,right:null},(m="defaultProps")in(b=d)?Object.defineProperty(b,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):b[m]=h,t.Toolbar=d,Object.defineProperty(t,"__esModule",{value:!0}),t}({},React,primereact.utils);
|