-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2375.79161ca70aceb8d3.js
1 lines (1 loc) · 4.84 KB
/
2375.79161ca70aceb8d3.js
1
"use strict";(self.webpackChunknp_ui_lib_app=self.webpackChunknp_ui_lib_app||[]).push([[2375],{2375:(Z,c,s)=>{s.r(c),s.d(c,{NpButtonDemoModule:()=>a});var e=s(6895),r=s(8379),n=s(4650),p=s(5499);class b{constructor(){this.basicButton='<div class="np-btn-group">\n <button class="np-btn">Normal</button>\n <button class="np-btn np-btn-primary">Primary</button>\n <button class="np-btn np-btn-success">Success</button>\n <button class="np-btn np-btn-danger">Error</button>\n <button class="np-btn np-btn-warning">Warning</button>\n <button class="np-btn np-btn-info">Info</button>\n</div>',this.smallButton='<div class="np-btn-group">\n <button class="np-btn np-btn-sm">Normal</button>\n <button class="np-btn np-btn-primary np-btn-sm">Primary</button>\n <button class="np-btn np-btn-success np-btn-sm">Success</button>\n <button class="np-btn np-btn-danger np-btn-sm">Error</button>\n <button class="np-btn np-btn-warning np-btn-sm">Warning</button>\n <button class="np-btn np-btn-info np-btn-sm">Info</button>\n</div>',this.iconButton='<div class="np-btn-group">\n <button class="np-btn-icon"><i class="fa fa-bars"></i></button>\n <button class="np-btn-icon np-btn-primary"><i class="fa fa-home"></i></button>\n <button class="np-btn-icon np-btn-success"><i class="fa fa-camera"></i></button>\n <button class="np-btn-icon np-btn-danger"><i class="fa fa-trash"></i></button>\n <button class="np-btn-icon np-btn-warning"><i class="fa fa-bell"></i></button>\n <button class="np-btn-icon np-btn-info"><i class="fa fa-user"></i></button>\n</div>\n\n<div class="np-btn-group">\n <button class="np-btn np-btn-success">Success<i class="fa fa-save np-btn-icon-right"></i></button>\n <button class="np-btn np-btn-danger"><i class="fa fa-trash np-btn-icon-left"></i>Error</button>\n</div>'}ngOnInit(){}static#n=this.\u0275fac=function(t){return new(t||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["app-np-button-demo"]],decls:68,vars:3,consts:[[1,"page-header"],[3,"innerText"],[1,"np-btn-group"],[1,"np-btn"],[1,"np-btn","np-btn-primary"],[1,"np-btn","np-btn-success"],[1,"np-btn","np-btn-danger"],[1,"np-btn","np-btn-warning"],[1,"np-btn","np-btn-info"],[1,"np-btn","np-btn-sm"],[1,"np-btn","np-btn-primary","np-btn-sm"],[1,"np-btn","np-btn-success","np-btn-sm"],[1,"np-btn","np-btn-danger","np-btn-sm"],[1,"np-btn","np-btn-warning","np-btn-sm"],[1,"np-btn","np-btn-info","np-btn-sm"],["type","button",1,"np-btn-icon"],[1,"fa","fa-bars"],["type","button",1,"np-btn-icon","np-btn-primary"],[1,"fa","fa-home"],["type","button",1,"np-btn-icon","np-btn-success"],[1,"fa","fa-camera"],["type","button",1,"np-btn-icon","np-btn-danger"],[1,"fa","fa-trash"],["type","button",1,"np-btn-icon","np-btn-warning"],[1,"fa","fa-bell"],["type","button",1,"np-btn-icon","np-btn-info"],[1,"fa","fa-user"],[1,"fa","fa-save","np-btn-icon-right"],[1,"fa","fa-trash","np-btn-icon-left"]],template:function(t,i){1&t&&(n.TgZ(0,"h2",0),n._uU(1,"Button"),n.qZA(),n.TgZ(2,"np-card")(3,"np-card-body")(4,"fieldset")(5,"legend"),n._uU(6,"Button and Button Group"),n.qZA(),n.TgZ(7,"div")(8,"pre"),n._UZ(9,"code",1),n.qZA()(),n.TgZ(10,"div",2)(11,"button",3),n._uU(12,"Normal"),n.qZA(),n.TgZ(13,"button",4),n._uU(14,"Primary"),n.qZA(),n.TgZ(15,"button",5),n._uU(16,"Success"),n.qZA(),n.TgZ(17,"button",6),n._uU(18,"Error"),n.qZA(),n.TgZ(19,"button",7),n._uU(20,"Warning"),n.qZA(),n.TgZ(21,"button",8),n._uU(22,"Info"),n.qZA()()(),n.TgZ(23,"fieldset")(24,"legend"),n._uU(25,"Small Button"),n.qZA(),n.TgZ(26,"div")(27,"pre"),n._UZ(28,"code",1),n.qZA()(),n.TgZ(29,"div",2)(30,"button",9),n._uU(31,"Normal"),n.qZA(),n.TgZ(32,"button",10),n._uU(33,"Primary"),n.qZA(),n.TgZ(34,"button",11),n._uU(35,"Success"),n.qZA(),n.TgZ(36,"button",12),n._uU(37,"Error"),n.qZA(),n.TgZ(38,"button",13),n._uU(39,"Warning"),n.qZA(),n.TgZ(40,"button",14),n._uU(41,"Info"),n.qZA()()(),n.TgZ(42,"fieldset")(43,"legend"),n._uU(44,"Icon"),n.qZA(),n.TgZ(45,"div")(46,"pre"),n._UZ(47,"code",1),n.qZA()(),n.TgZ(48,"div",2)(49,"button",15),n._UZ(50,"i",16),n.qZA(),n.TgZ(51,"button",17),n._UZ(52,"i",18),n.qZA(),n.TgZ(53,"button",19),n._UZ(54,"i",20),n.qZA(),n.TgZ(55,"button",21),n._UZ(56,"i",22),n.qZA(),n.TgZ(57,"button",23),n._UZ(58,"i",24),n.qZA(),n.TgZ(59,"button",25),n._UZ(60,"i",26),n.qZA()(),n.TgZ(61,"div",2)(62,"button",5),n._uU(63," Success"),n._UZ(64,"i",27),n.qZA(),n.TgZ(65,"button",6),n._UZ(66,"i",28),n._uU(67,"Error "),n.qZA()()()()()),2&t&&(n.xp6(9),n.Q6J("innerText",i.basicButton),n.xp6(19),n.Q6J("innerText",i.smallButton),n.xp6(19),n.Q6J("innerText",i.iconButton))},dependencies:[p.c0,p.El],encapsulation:2})}const l=[{path:"",component:b}];class o{static#n=this.\u0275fac=function(t){return new(t||o)};static#t=this.\u0275mod=n.oAB({type:o});static#s=this.\u0275inj=n.cJS({imports:[r.Bz.forChild(l),r.Bz]})}class a{static#n=this.\u0275fac=function(t){return new(t||a)};static#t=this.\u0275mod=n.oAB({type:a});static#s=this.\u0275inj=n.cJS({imports:[e.ez,o,p.Tk]})}}}]);