import{c as t,d as s,b as e,D as n,o,E as a,p as r,F as c,l as i,A as $,y as m,G as f,j as p,e as u,g as l,h,k as g,S as d,ab as j,ac as k}from"./chunk.82446879.js";import{l as w}from"./chunk.f5a3f321.js";import"./chunk.e8a2e241.js";import{a as b}from"./chunk.4b4ee497.js";import"./chunk.b01e898f.js";import{a as v}from"./chunk.fb378401.js";import{a as x}from"./chunk.94a6e723.js";function y(t){let s,e,o;function r(s){t[2].call(null,s)}let b={};void 0!==t[1]&&(b.time=t[1]);const v=new w({props:b});return d.push(()=>j(v,"time",r)),v.$on("change",T),{c(){s=u("div"),n(v.$$.fragment),this.h()},l(t){s=l(t,"DIV",{slot:!0});var e=h(s);a(v.$$.fragment,e),e.forEach(p),this.h()},h(){g(s,"slot","preview")},m(t,e){i(t,s,e),c(v,s,null),o=!0},p(t,s){const n={};!e&&2&s&&(e=!0,n.time=t[1],k(()=>e=!1)),v.$set(n)},i(t){o||($(v.$$.fragment,t),o=!0)},o(t){m(v.$$.fragment,t),o=!1},d(t){t&&p(s),f(v)}}}function D(t){let s,e,u;const l=new b({props:{title:"Timepicker",subtitle:"时间选择器"}}),h=new v({props:{code:"<script>\nimport {Timepicker} from 'svelma-pro'\n<\/script>\n\n<Timepicker bind:time />\n",$$slots:{preview:[y]},$$scope:{ctx:t}}}),g=new x({props:{jsdoc:t[0],showEvent:"true"}});return{c(){n(l.$$.fragment),s=o(),n(h.$$.fragment),e=o(),n(g.$$.fragment)},l(t){a(l.$$.fragment,t),s=r(t),a(h.$$.fragment,t),e=r(t),a(g.$$.fragment,t)},m(t,n){c(l,t,n),i(t,s,n),c(h,t,n),i(t,e,n),c(g,t,n),u=!0},p(t,[s]){const e={};10&s&&(e.$$scope={dirty:s,ctx:t}),h.$set(e);const n={};1&s&&(n.jsdoc=t[0]),g.$set(n)},i(t){u||($(l.$$.fragment,t),$(h.$$.fragment,t),$(g.$$.fragment,t),u=!0)},o(t){m(l.$$.fragment,t),m(h.$$.fragment,t),m(g.$$.fragment,t),u=!1},d(t){f(l,t),t&&p(s),f(h,t),t&&p(e),f(g,t)}}}async function E(t,s){const e=await this.fetch("components/timepicker.json");return{jsdoc:await e.json()}}function T(t){console.log(t)}function A(t,s,e){let{jsdoc:n}=s,o=new Date;return t.$set=(t=>{"jsdoc"in t&&e(0,n=t.jsdoc)}),[n,o,function(t){e(1,o=t)}]}export default class extends t{constructor(t){super(),s(this,t,A,D,e,{jsdoc:0})}}export{E as preload};
//# sourceMappingURL=timepicker.bdc70b9a.js.map
