mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
1 line
1.3 KiB
JavaScript
1 line
1.3 KiB
JavaScript
let t=document.createElement("style");t.innerHTML="",document.head.appendChild(t);import{S as e,i as n,s as a,c as o,a as s,m as r,t as c,b as i,d,g as u,h as l,k as f,l as m,n as $,o as p,q as C,r as b,G as h}from"./index.4c25e3ff.js";import"./Button.b18180bc.js";import"./Close20.2ef194be.js";import{M as g}from"./Modal.ed6fdf46.js";function x(t){let e,n;return{c(){e=u("p"),n=l("Create a new Cloudant database in the US South region.")},l(t){e=f(t,"P",{});var a=m(e);n=$(a,"Create a new Cloudant database in the US South region."),a.forEach(p)},m(t,a){C(t,e,a),b(e,n)},d(t){t&&p(e)}}}function y(t){let e,n;return e=new g({props:{preventCloseOnClickOutside:!0,open:!0,modalHeading:"Create database",primaryButtonText:"Confirm",secondaryButtonText:"Cancel",$$slots:{default:[x]},$$scope:{ctx:t}}}),e.$on("click:button--secondary",t[0]),e.$on("open",t[1]),e.$on("close",t[2]),e.$on("submit",t[3]),{c(){o(e.$$.fragment)},l(t){s(e.$$.fragment,t)},m(t,a){r(e,t,a),n=!0},p(t,[n]){const a={};16&n&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){n||(c(e.$$.fragment,t),n=!0)},o(t){i(e.$$.fragment,t),n=!1},d(t){d(e,t)}}}function S(t){return[function(e){h(t,e)},function(e){h(t,e)},function(e){h(t,e)},function(e){h(t,e)}]}export default class extends e{constructor(t){super(),n(this,t,S,y,a,{})}}
|