-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path160.62dfb9d15a86aaf4.js
1 lines (1 loc) · 5.93 KB
/
160.62dfb9d15a86aaf4.js
1
"use strict";(self.webpackChunknp_ui_lib_app=self.webpackChunknp_ui_lib_app||[]).push([[160],{160:(g,o,a)=>{a.r(o),a.d(o,{NpCardDemoModule:()=>p});var Z=a(6895),d=a(8379),t=a(4650),e=a(5499);class i{constructor(){this.importText="import { NpCardModule } from 'np-ui-lib';",this.htmlText='<np-card>\n <np-card-header>\n Header...\n </np-card-header>\n <np-card-image>\n <img src="../../assets/images/test1.jpg"/>\n </np-card-image>\n <np-card-body>\n Body content...\n </np-card-body>\n <np-card-footer>\n Footer...\n </np-card-footer>\n</np-card>'}ngOnInit(){}static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["app-np-card-demo"]],decls:128,vars:5,consts:[[1,"page-header"],["title","Documentation"],[3,"innerText"],["type","info"],[1,"np-table"],["title","Examples"],[1,"np-container","card-list"],[1,"np-row"],[1,"np-col","np-col-sm-12","np-col-md-12","np-col-lg-6","np-col-xl-6"],[1,"np-card-avatar"],["src","../../assets/images/img_avatar.png"],[1,"np-card-title"],[1,"np-card-subtitle"],["src","../../assets/images/test1.jpg",2,"height","225px"],[2,"margin-bottom","10px"],[1,"np-btn","np-btn-primary","mr-1"],[1,"fa","fa-check","np-btn-icon-left"],[1,"np-btn","np-btn-danger"],[1,"fa","fa-times","np-btn-icon-left"],[3,"styleClass","width"],["src","../../assets/images/img_avatar.png",1,"np-responsive-img"],[1,"np-card-subtitle","mb-1"],["type","button",1,"np-btn-icon","np-btn-primary","mr-1"],[1,"fab","fa-twitter"],[1,"fab","fa-facebook"],["type","button",1,"np-btn-icon","np-btn-primary"],[1,"fab","fa-google-plus-g"],[3,"width"],["src","../../assets/images/lenovo-laptop.png",1,"np-responsive-img"],[2,"margin-top","0"],[1,"np-text-center"],[1,"np-btn","np-btn-block","np-btn-primary"],[1,"fa","fa-plus","np-btn-icon-left"]],template:function(n,c){1&n&&(t.TgZ(0,"h2",0),t._uU(1,"Card"),t.qZA(),t.TgZ(2,"np-tabs")(3,"np-tab",1)(4,"np-card")(5,"np-card-body")(6,"b"),t._uU(7,"Module to import"),t.qZA(),t.TgZ(8,"div")(9,"pre"),t._UZ(10,"code",2),t.qZA()()()(),t.TgZ(11,"np-card")(12,"np-card-body")(13,"b"),t._uU(14,"HTML"),t.qZA(),t.TgZ(15,"div")(16,"pre"),t._UZ(17,"code",2),t.qZA()(),t.TgZ(18,"np-alert",3)(19,"b"),t._uU(20,"np-card-header, np-card-image, np-card-body, np-card-footer"),t.qZA(),t._uU(21,"\xa0components can be used in any order. "),t.qZA(),t.TgZ(22,"np-alert",3),t._uU(23," Use CSS classes like\xa0"),t.TgZ(24,"b"),t._uU(25,".np-card-title, .np-card-subtitle, .np-card-avatar"),t.qZA(),t._uU(26,"\xa0in header. "),t.qZA()()(),t.TgZ(27,"np-card")(28,"np-card-body")(29,"table",4)(30,"tr")(31,"th"),t._uU(32,"Property"),t.qZA(),t.TgZ(33,"th"),t._uU(34,"Description"),t.qZA(),t.TgZ(35,"th"),t._uU(36,"Type"),t.qZA(),t.TgZ(37,"th"),t._uU(38,"Default"),t.qZA()(),t.TgZ(39,"tr")(40,"td"),t._uU(41,"width"),t.qZA(),t.TgZ(42,"td"),t._uU(43,"Set width of card in px"),t.qZA(),t.TgZ(44,"td"),t._uU(45,"number"),t.qZA(),t._UZ(46,"td"),t.qZA(),t.TgZ(47,"tr")(48,"td"),t._uU(49,"styleClass"),t.qZA(),t.TgZ(50,"td"),t._uU(51,"Set extra class on component"),t.qZA(),t.TgZ(52,"td"),t._uU(53,"string"),t.qZA(),t._UZ(54,"td"),t.qZA(),t.TgZ(55,"tr")(56,"td"),t._uU(57,"inputId"),t.qZA(),t.TgZ(58,"td"),t._uU(59,"Set id attribute"),t.qZA(),t.TgZ(60,"td"),t._uU(61,"string"),t.qZA(),t._UZ(62,"td"),t.qZA()()()()(),t.TgZ(63,"np-tab",5)(64,"div",6)(65,"div",7)(66,"div",8)(67,"np-card")(68,"np-card-header")(69,"div",9),t._UZ(70,"img",10),t.qZA(),t.TgZ(71,"div",11),t._uU(72,"Card Title"),t.qZA(),t.TgZ(73,"div",12),t._uU(74,"Card Subtitle"),t.qZA()(),t.TgZ(75,"np-card-image"),t._UZ(76,"img",13),t.qZA(),t.TgZ(77,"np-card-body")(78,"h2",14),t._uU(79,"What is Lorem Ipsum?"),t.qZA(),t.TgZ(80,"div"),t._uU(81," Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. "),t.qZA()(),t.TgZ(82,"np-card-footer")(83,"button",15),t._UZ(84,"i",16),t._uU(85,"Ok "),t.qZA(),t.TgZ(86,"button",17),t._UZ(87,"i",18),t._uU(88,"Cancel "),t.qZA()()()(),t.TgZ(89,"div",8)(90,"np-card",19)(91,"np-card-image"),t._UZ(92,"img",20),t.qZA(),t.TgZ(93,"np-card-header")(94,"div",11),t._uU(95,"John Doe"),t.qZA(),t.TgZ(96,"div",21),t._uU(97,"Software Engineer"),t.qZA(),t.TgZ(98,"button",22),t._UZ(99,"i",23),t.qZA(),t.TgZ(100,"button",22),t._UZ(101,"i",24),t.qZA(),t.TgZ(102,"button",25),t._UZ(103,"i",26),t.qZA()()()()(),t.TgZ(104,"div",7)(105,"div",8)(106,"np-card",27)(107,"np-card-image"),t._UZ(108,"img",28),t.qZA(),t.TgZ(109,"np-card-header")(110,"div",11),t._uU(111,"Lenovo Laptop"),t.qZA(),t.TgZ(112,"div",12),t._uU(113," Lenovo Ideapad 10th Gen Intel Core i7 "),t.qZA()(),t.TgZ(114,"np-card-body")(115,"ul",29)(116,"li"),t._uU(117,"Reliable entry-level 35.56cms (14) laptop"),t.qZA(),t.TgZ(118,"li"),t._uU(119,"Cutting-edge Intel Core processors"),t.qZA(),t.TgZ(120,"li"),t._uU(121,"Great for everyday use"),t.qZA()(),t.TgZ(122,"h2",30),t._uU(123,"$1500"),t.qZA()(),t.TgZ(124,"np-card-footer")(125,"button",31),t._UZ(126,"i",32),t._uU(127,"ADD TO CART "),t.qZA()()()()()()()()),2&n&&(t.xp6(10),t.Q6J("innerText",c.importText),t.xp6(7),t.Q6J("innerText",c.htmlText),t.xp6(73),t.Q6J("styleClass","myClass")("width",300),t.xp6(16),t.Q6J("width",300))},dependencies:[e.c0,e.DB,e.ZZ,e.El,e.yH,e.KA,e.Qk,e.r5],encapsulation:2})}const u=[{path:"",component:i}];class r{static#t=this.\u0275fac=function(n){return new(n||r)};static#e=this.\u0275mod=t.oAB({type:r});static#n=this.\u0275inj=t.cJS({imports:[d.Bz.forChild(u),d.Bz]})}class p{static#t=this.\u0275fac=function(n){return new(n||p)};static#e=this.\u0275mod=t.oAB({type:p});static#n=this.\u0275inj=t.cJS({imports:[Z.ez,r,e.Tk,e.i7,e.qp]})}}}]);