Some checks failed
🚀 Deploy - Demo / deployment (push) Has been cancelled
- 웹훅 URL을 https://admin.youtooplay.com/webhook로 변경 - Nginx 리버스 프록시 설정 파일 추가 - 배포 가이드 업데이트
2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import{V as h}from"./kUwpeLub.js";import{R as c,S as i,T as o,U as s,Y as e,a2 as _,a3 as g,a4 as r,F as x,c as l,W as f,X as m,J as d}from"./C0u2Lk3h.js";import{a as y,V as b}from"./M3HjjlDm.js";/* empty css */const k=c({__name:"DemoSimpleTableBasics",setup(p){const u=[{dessert:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4},{dessert:"Ice cream sandwich",calories:237,fat:6,carbs:24,protein:4},{dessert:"Eclair",calories:262,fat:6,carbs:24,protein:4},{dessert:"Cupcake",calories:305,fat:6,carbs:24,protein:4},{dessert:"Gingerbread",calories:356,fat:6,carbs:24,protein:4}];return(n,a)=>(o(),i(h,null,{default:s(()=>[a[0]||(a[0]=e("thead",null,[e("tr",null,[e("th",{class:"text-uppercase"}," Desserts (100g Servings) "),e("th",null," calories "),e("th",null," Fat(g) "),e("th",null," Carbs(g) "),e("th",null," protein(g) ")])],-1)),e("tbody",null,[(o(),_(x,null,g(u,t=>e("tr",{key:t.dessert},[e("td",null,r(t.dessert),1),e("td",null,r(t.calories),1),e("td",null,r(t.fat),1),e("td",null,r(t.carbs),1),e("td",null,r(t.protein),1)])),64))])]),_:1}))}}),C=c({__name:"DemoSimpleTableDensity",setup(p){const u=[{dessert:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4},{dessert:"Ice cream sandwich",calories:237,fat:6,carbs:24,protein:4},{dessert:"Eclair",calories:262,fat:6,carbs:24,protein:4},{dessert:"Cupcake",calories:305,fat:6,carbs:24,protein:4},{dessert:"Gingerbread",calories:356,fat:6,carbs:24,protein:4}];return(n,a)=>(o(),i(h,{density:"compact"},{default:s(()=>[a[0]||(a[0]=e("thead",null,[e("tr",null,[e("th",{class:"text-uppercase"}," Desserts (100g Servings) "),e("th",null," calories "),e("th",null," Fat(g) "),e("th",null," Carbs(g) "),e("th",null," protein(g) ")])],-1)),e("tbody",null,[(o(),_(x,null,g(u,t=>e("tr",{key:t.dessert},[e("td",null,r(t.dessert),1),e("td",null,r(t.calories),1),e("td",null,r(t.fat),1),e("td",null,r(t.carbs),1),e("td",null,r(t.protein),1)])),64))])]),_:1}))}}),F=c({__name:"DemoSimpleTableFixedHeader",setup(p){const u=[{dessert:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4},{dessert:"Ice cream sandwich",calories:237,fat:6,carbs:24,protein:4},{dessert:"Eclair",calories:262,fat:6,carbs:24,protein:4},{dessert:"Cupcake",calories:305,fat:6,carbs:24,protein:4},{dessert:"Gingerbread",calories:356,fat:6,carbs:24,protein:4}];return(n,a)=>(o(),i(h,{height:"250","fixed-header":""},{default:s(()=>[a[0]||(a[0]=e("thead",null,[e("tr",null,[e("th",{class:"text-uppercase"}," Desserts (100g Servings) "),e("th",null," calories "),e("th",null," Fat(g) "),e("th",null," Carbs(g) "),e("th",null," protein(g) ")])],-1)),e("tbody",null,[(o(),_(x,null,g(u,t=>e("tr",{key:t.dessert},[e("td",null,r(t.dessert),1),e("td",null,r(t.calories),1),e("td",null,r(t.fat),1),e("td",null,r(t.carbs),1),e("td",null,r(t.protein),1)])),64))])]),_:1}))}}),D=c({__name:"DemoSimpleTableHeight",setup(p){const u=[{dessert:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4},{dessert:"Ice cream sandwich",calories:237,fat:6,carbs:24,protein:4},{dessert:"Eclair",calories:262,fat:6,carbs:24,protein:4},{dessert:"Cupcake",calories:305,fat:6,carbs:24,protein:4},{dessert:"Gingerbread",calories:356,fat:6,carbs:24,protein:4}];return(n,a)=>(o(),i(h,{height:"250"},{default:s(()=>[a[0]||(a[0]=e("thead",null,[e("tr",null,[e("th",null," Desserts (100g Servings) "),e("th",null," calories "),e("th",null," Fat(g) "),e("th",null," Carbs(g) "),e("th",null," protein(g) ")])],-1)),e("tbody",null,[(o(),_(x,null,g(u,t=>e("tr",{key:t.dessert},[e("td",null,r(t.dessert),1),e("td",null,r(t.calories),1),e("td",null,r(t.fat),1),e("td",null,r(t.carbs),1),e("td",null,r(t.protein),1)])),64))])]),_:1}))}}),S=c({__name:"DemoSimpleTableTheme",setup(p){const u=[{dessert:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4},{dessert:"Ice cream sandwich",calories:237,fat:6,carbs:24,protein:4},{dessert:"Eclair",calories:262,fat:6,carbs:24,protein:4},{dessert:"Cupcake",calories:305,fat:6,carbs:24,protein:4},{dessert:"Gingerbread",calories:356,fat:6,carbs:24,protein:4}];return(n,a)=>(o(),i(h,{theme:"dark",class:"rounded-0"},{default:s(()=>[a[0]||(a[0]=e("thead",null,[e("tr",null,[e("th",null," Desserts (100g Servings) "),e("th",{class:"text-uppercase"}," calories "),e("th",{class:"text-uppercase"}," Fat(g) "),e("th",{class:"text-uppercase"}," Carbs(g) "),e("th",{class:"text-uppercase"}," protein(g) ")])],-1)),e("tbody",null,[(o(),_(x,null,g(u,t=>e("tr",{key:t.dessert},[e("td",null,r(t.dessert),1),e("td",null,r(t.calories),1),e("td",null,r(t.fat),1),e("td",null,r(t.carbs),1),e("td",null,r(t.protein),1)])),64))])]),_:1}))}}),v=c({__name:"tables",setup(p){return(u,n)=>(o(),i(y,null,{default:s(()=>[l(b,{cols:"12"},{default:s(()=>[l(f,{title:"Basic"},{default:s(()=>[l(k)]),_:1})]),_:1}),l(b,{cols:"12"},{default:s(()=>[l(f,{title:"Theme"},{default:s(()=>[l(m,null,{default:s(()=>[...n[0]||(n[0]=[d(" use ",-1),e("code",null,"theme",-1),d(" prop to switch table to the dark theme. ",-1)])]),_:1}),l(S)]),_:1})]),_:1}),l(b,{cols:"12"},{default:s(()=>[l(f,{title:"Density"},{default:s(()=>[l(m,null,{default:s(()=>[...n[1]||(n[1]=[d(" You can show a dense version of the table by using the ",-1),e("code",null,"density",-1),d(" prop. ",-1)])]),_:1}),l(C)]),_:1})]),_:1}),l(b,{cols:"12"},{default:s(()=>[l(f,{title:"Height"},{default:s(()=>[l(m,null,{default:s(()=>[...n[2]||(n[2]=[d(" You can set the height of the table by using the ",-1),e("code",null,"height",-1),d(" prop. ",-1)])]),_:1}),l(D)]),_:1})]),_:1}),l(b,{cols:"12"},{default:s(()=>[l(f,{title:"Fixed Header"},{default:s(()=>[l(m,null,{default:s(()=>[...n[3]||(n[3]=[d(" You can fix the header of table by using the ",-1),e("code",null,"fixed-header",-1),d(" prop. ",-1)])]),_:1}),l(F)]),_:1})]),_:1})]),_:1}))}});export{v as default};
|