-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote-plugin.js
More file actions
2 lines (2 loc) · 9.29 KB
/
note-plugin.js
File metadata and controls
2 lines (2 loc) · 9.29 KB
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{b6Ez:function(l,a,n){"use strict";n.r(a);var e=n("CcnG"),t=function(){function l(){this.data={text:"",name:""},this.textChange=new e.m}return l.prototype.updateText=function(l){this.data.text=l,this.textChange.emit(l)},l.prototype.ngOnDestroy=function(){console.log("destroy")},l.prototype.ngOnChanges=function(l){console.log(l)},l.prototype.ngDoCheck=function(){console.log("do check")},l}(),u=[{name:"plugin-cmp",component:t}],o=function(){return function(){console.log("loaded")}}(),r=n("lzlj"),i=n("FVSy"),d=n("dJrM"),c=n("seP3"),f=n("Wf4p"),p=n("Fzqc"),s=n("dWZg"),b=n("wFw1"),m=n("b716"),h=n("gIcY"),g=n("/VYK"),_=n("V11D"),X=n("SqEJ"),y=function(){function l(){}return l.prototype.ngOnInit=function(){},l}(),w=e.Ma({encapsulation:0,styles:[["blockquote[_ngcontent-%COMP%], figure[_ngcontent-%COMP%]{margin:0}.quote[_ngcontent-%COMP%]{font-family:Georgia,serif;font-size:14px}.curly-quotes[_ngcontent-%COMP%]:after, .curly-quotes[_ngcontent-%COMP%]:before{display:inline-block;vertical-align:top;height:30px;line-height:48px;font-size:50px;opacity:.2}.curly-quotes[_ngcontent-%COMP%]:before{content:'\\201C';margin-right:4px;margin-left:-8px}.curly-quotes[_ngcontent-%COMP%]:after{content:'\\201D';margin-left:4px;margin-right:-8px}.quote-by[_ngcontent-%COMP%]{display:block;padding-right:10px;text-align:right;font-size:13px;font-style:italic;color:#84775c}"]],data:{}});function C(l){return e.fb(0,[(l()(),e.Oa(0,0,null,null,5,"figure",[["class","quote"]],null,null,null,null,null)),(l()(),e.Oa(1,0,null,null,1,"blockquote",[["cite","https://www.youtube.com/watch?v=qYLrc9hy0t0"],["class","curly-quotes"]],null,null,null,null,null)),e.Wa(null,0),(l()(),e.Oa(3,0,null,null,2,"figcaption",[["class","quote-by"]],null,null,null,null,null)),(l()(),e.db(-1,null,["\u2014 "])),e.Wa(null,1)],null,null)}var x=e.Ma({encapsulation:0,styles:[[".card-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.text-field[_ngcontent-%COMP%]{width:100%;min-width:280px}.quote-card[_ngcontent-%COMP%]{background:#b3bbeb;z-index:1}"]],data:{}});function v(l){return e.fb(0,[(l()(),e.Oa(0,0,null,null,36,"mat-card",[["class","card-row mat-card"]],null,null,null,r.b,r.a)),e.Na(1,49152,null,0,i.a,[],null,null),(l()(),e.Oa(2,0,null,0,25,"mat-card",[["class","mat-card"]],null,null,null,r.b,r.a)),e.Na(3,49152,null,0,i.a,[],null,null),(l()(),e.Oa(4,0,null,0,11,"mat-form-field",[["class","text-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,d.b,d.a)),e.Na(5,7389184,null,7,c.b,[e.k,e.h,[2,f.f],[2,p.b],[2,c.a],s.a,e.x,[2,b.a]],null,null),e.bb(335544320,1,{_control:0}),e.bb(335544320,2,{_placeholderChild:0}),e.bb(335544320,3,{_labelChild:0}),e.bb(603979776,4,{_errorChildren:1}),e.bb(603979776,5,{_hintChildren:1}),e.bb(603979776,6,{_prefixChildren:1}),e.bb(603979776,7,{_suffixChildren:1}),(l()(),e.Oa(13,0,null,1,2,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Quote"],["rows","7"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"focus"]],function(l,a,n){var t=!0,u=l.component;return"blur"===a&&(t=!1!==e.Xa(l,14)._focusChanged(!1)&&t),"focus"===a&&(t=!1!==e.Xa(l,14)._focusChanged(!0)&&t),"input"===a&&(t=!1!==e.Xa(l,14)._onInput()&&t),"input"===a&&(t=!1!==u.updateText(n.target.value)&&t),t},null,null)),e.Na(14,999424,null,0,m.b,[e.k,s.a,[8,null],[2,h.d],[2,h.a],f.b,[8,null],g.a,e.x],{placeholder:[0,"placeholder"],value:[1,"value"]},null),e.ab(2048,[[1,4]],c.c,null,[m.b]),(l()(),e.Oa(16,0,null,0,11,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,d.b,d.a)),e.Na(17,7389184,null,7,c.b,[e.k,e.h,[2,f.f],[2,p.b],[2,c.a],s.a,e.x,[2,b.a]],null,null),e.bb(335544320,8,{_control:0}),e.bb(335544320,9,{_placeholderChild:0}),e.bb(335544320,10,{_labelChild:0}),e.bb(603979776,11,{_errorChildren:1}),e.bb(603979776,12,{_hintChildren:1}),e.bb(603979776,13,{_prefixChildren:1}),e.bb(603979776,14,{_suffixChildren:1}),(l()(),e.Oa(25,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"focus"]],function(l,a,n){var t=!0,u=l.component;return"blur"===a&&(t=!1!==e.Xa(l,26)._focusChanged(!1)&&t),"focus"===a&&(t=!1!==e.Xa(l,26)._focusChanged(!0)&&t),"input"===a&&(t=!1!==e.Xa(l,26)._onInput()&&t),"input"===a&&(t=!1!==(u.data.name=n.target.value)&&t),t},null,null)),e.Na(26,999424,null,0,m.b,[e.k,s.a,[8,null],[2,h.d],[2,h.a],f.b,[8,null],g.a,e.x],{placeholder:[0,"placeholder"],value:[1,"value"]},null),e.ab(2048,[[8,4]],c.c,null,[m.b]),(l()(),e.Oa(28,0,null,0,8,"mat-card",[["class","quote-card mat-card"]],null,null,null,r.b,r.a)),e.Na(29,49152,null,0,i.a,[],null,null),(l()(),e.Oa(30,0,null,0,6,"app-note",[],null,null,null,_.b,_.a)),e.Na(31,114688,null,0,X.a,[],null,null),(l()(),e.Oa(32,0,null,0,4,"app-quote-note",[],null,null,null,C,w)),e.Na(33,114688,null,0,y,[],null,null),(l()(),e.db(34,0,[" "," "])),(l()(),e.Oa(35,0,null,1,1,"span",[["class","name"]],null,null,null,null,null)),(l()(),e.db(36,null,["",""]))],function(l,a){var n=a.component;l(a,14,0,"Quote",n.data.text),l(a,26,0,"Name",n.data.name),l(a,31,0),l(a,33,0)},function(l,a){var n=a.component;l(a,4,1,["standard"==e.Xa(a,5).appearance,"fill"==e.Xa(a,5).appearance,"outline"==e.Xa(a,5).appearance,"legacy"==e.Xa(a,5).appearance,e.Xa(a,5)._control.errorState,e.Xa(a,5)._canLabelFloat,e.Xa(a,5)._shouldLabelFloat(),e.Xa(a,5)._hideControlPlaceholder(),e.Xa(a,5)._control.disabled,e.Xa(a,5)._control.autofilled,e.Xa(a,5)._control.focused,"accent"==e.Xa(a,5).color,"warn"==e.Xa(a,5).color,e.Xa(a,5)._shouldForward("untouched"),e.Xa(a,5)._shouldForward("touched"),e.Xa(a,5)._shouldForward("pristine"),e.Xa(a,5)._shouldForward("dirty"),e.Xa(a,5)._shouldForward("valid"),e.Xa(a,5)._shouldForward("invalid"),e.Xa(a,5)._shouldForward("pending"),!e.Xa(a,5)._animationsEnabled]),l(a,13,0,e.Xa(a,14)._isServer,e.Xa(a,14).id,e.Xa(a,14).placeholder,e.Xa(a,14).disabled,e.Xa(a,14).required,e.Xa(a,14).readonly,e.Xa(a,14)._ariaDescribedby||null,e.Xa(a,14).errorState,e.Xa(a,14).required.toString()),l(a,16,1,["standard"==e.Xa(a,17).appearance,"fill"==e.Xa(a,17).appearance,"outline"==e.Xa(a,17).appearance,"legacy"==e.Xa(a,17).appearance,e.Xa(a,17)._control.errorState,e.Xa(a,17)._canLabelFloat,e.Xa(a,17)._shouldLabelFloat(),e.Xa(a,17)._hideControlPlaceholder(),e.Xa(a,17)._control.disabled,e.Xa(a,17)._control.autofilled,e.Xa(a,17)._control.focused,"accent"==e.Xa(a,17).color,"warn"==e.Xa(a,17).color,e.Xa(a,17)._shouldForward("untouched"),e.Xa(a,17)._shouldForward("touched"),e.Xa(a,17)._shouldForward("pristine"),e.Xa(a,17)._shouldForward("dirty"),e.Xa(a,17)._shouldForward("valid"),e.Xa(a,17)._shouldForward("invalid"),e.Xa(a,17)._shouldForward("pending"),!e.Xa(a,17)._animationsEnabled]),l(a,25,0,e.Xa(a,26)._isServer,e.Xa(a,26).id,e.Xa(a,26).placeholder,e.Xa(a,26).disabled,e.Xa(a,26).required,e.Xa(a,26).readonly,e.Xa(a,26)._ariaDescribedby||null,e.Xa(a,26).errorState,e.Xa(a,26).required.toString()),l(a,34,0,n.data.text),l(a,36,0,n.data.name)})}var O=e.Ka("app-plugin",t,function(l){return e.fb(0,[(l()(),e.Oa(0,0,null,null,1,"app-plugin",[],null,null,null,v,x)),e.Na(1,966656,null,0,t,[],null,null)],function(l,a){l(a,1,0)},null)},{data:"data"},{textChange:"textChange"},[]),q=n("Ip0R"),F=n("ZEf9");n.d(a,"PluginModuleNgFactory",function(){return V});var V=e.La(o,[],function(l){return e.Ua([e.Va(512,e.j,e.Aa,[[8,[O]],[3,e.j],e.v]),e.Va(4608,q.m,q.l,[e.s,[2,q.v]]),e.Va(4608,f.b,f.b,[]),e.Va(1073742336,q.b,q.b,[]),e.Va(1073742336,s.b,s.b,[]),e.Va(1073742336,g.c,g.c,[]),e.Va(1073742336,c.d,c.d,[]),e.Va(1073742336,m.c,m.c,[]),e.Va(1073742336,F.a,F.a,[]),e.Va(1073742336,p.a,p.a,[]),e.Va(1073742336,f.i,f.i,[[2,f.c]]),e.Va(1073742336,i.c,i.c,[]),e.Va(1073742336,o,o,[]),e.Va(1024,"widgets",function(){return[u]},[])])})}}]);
console.log('NOTE PLUGIN LOADED');