relationship.js 2.3 KB

12345678
  1. /*!
  2. * Licensed Materials - Property of IBM
  3. * IBM Cognos Products: Modeling UI
  4. * (C) Copyright IBM Corp. 2020
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. (window.caModellingPerspective=window.caModellingPerspective||[]).push([[39],{1580:function(e,t,o){"use strict";o.r(t),o.d(t,"default",function(){return b}),o.d(t,"TYPE",function(){return h});var n,i=o(1),r=o.n(i),a=o(16),c=o(3),l=o(25),u=o(2),d=o(5),s=o(4),p=o(44),g=o(10),f=o(1214),j=o(1216);var b=Object(p.a)(g.o,{initializer:function(e,t){return t.relationship?Object(f.b)(e.rootStore.moduleId,e.rootStore.module||Object(s.getModule)(t.relationship),t.relationship):Object(f.a)(e.rootStore.moduleId,e.rootStore.module,t.leftQuerySubject,t.rightQuerySubject,t.leftQueryItem,t.rightQueryItem,t.leftPackage,t.rightPackage)},destroyer:function(e){return e.deleteJoinSession()}})(n=Object(d.e)(function(e){return{join:e,createEditRelationship:e.createEditRelationship,deleteJoinSession:e.deleteJoinSession}})(n=Object(a.observer)(n=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this)._focusRef=function(e){e&&e.focus&&e.focus()},t._onOk=function(){var e=t.props;(0,e.onClose)(e.createEditRelationship)},t}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t.prototype.render=function(){var e=this.props,t=e.onClose,o=e.join;return r.a.createElement(c.Dialog,{"data-tid":Object(l.a)("joinDialog"),width:"1300px",onClose:t},r.a.createElement(c.Dialog.Header,{"data-tid":Object(l.a)("joinDialog","header")},r.a.createElement(c.TruncatedText,{value:Object(u.getString)("joinDialog"+o.joinMode+"Label")})),r.a.createElement(c.Dialog.Body,null,r.a.createElement(j.a,{ref:this._focusRef,joinStore:o})),r.a.createElement(c.Dialog.Footer,null,r.a.createElement(c.Dialog.Button,{primary:!0,"data-tid":Object(l.a)("joinDialog","ok"),label:Object(u.getString)("ok"),onClick:this._onOk,disabled:!o.isDirty}),r.a.createElement(c.Dialog.Button,{"data-tid":Object(l.a)("joinDialog","cancel"),label:Object(u.getString)("cancel"),onClick:t})))},t}(i.Component))||n)||n)||n,h=g.o},703:function(e,t,o){"use strict";o.r(t);var n=o(1580);t.default={"components/JoinDialog":n}}}]);
  8. //# sourceMappingURL=relationship.js.map