-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAudioRecorder.stories-5686d210.js
58 lines (52 loc) · 2.21 KB
/
AudioRecorder.stories-5686d210.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import{u,A as p}from"./audio-recorder-sample-b060718d.js";import"./Icon-6670ffc4.js";import"./vue.esm-bundler-fb65849e.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ToolTip-7d326e2a.js";const y={title:"Form/AudioRecorder",component:u,argTypes:{}},i=(l,{argTypes:c})=>({props:Object.keys(c),components:{unnnicAudioRecorder:u},data(){return{audio:null,status:""}},template:`
<div>
<button @click="$refs['audio-recorder'].record()">Gravar</button>
<pre>v-model: {{ audio }}</pre>
<pre>status: {{ status }}</pre>
<unnnic-audio-recorder v-bind="$props" ref="audio-recorder" v-model="audio" @status="(value) => this.status = value" />
</div>
`,methods:{}}),r=i.bind({});r.args={canDiscard:!0};const e=i.bind({});e.args={src:p};var n,o,a;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`(args, {
argTypes
}) => ({
props: Object.keys(argTypes),
components: {
unnnicAudioRecorder
},
data() {
return {
audio: null,
status: ''
};
},
template: \`
<div>
<button @click="$refs['audio-recorder'].record()">Gravar</button>
<pre>v-model: {{ audio }}</pre>
<pre>status: {{ status }}</pre>
<unnnic-audio-recorder v-bind="$props" ref="audio-recorder" v-model="audio" @status="(value) => this.status = value" />
</div>
\`,
methods: {}
})`,...(a=(o=r.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};var t,s,d;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`(args, {
argTypes
}) => ({
props: Object.keys(argTypes),
components: {
unnnicAudioRecorder
},
data() {
return {
audio: null,
status: ''
};
},
template: \`
<div>
<button @click="$refs['audio-recorder'].record()">Gravar</button>
<pre>v-model: {{ audio }}</pre>
<pre>status: {{ status }}</pre>
<unnnic-audio-recorder v-bind="$props" ref="audio-recorder" v-model="audio" @status="(value) => this.status = value" />
</div>
\`,
methods: {}
})`,...(d=(s=e.parameters)==null?void 0:s.docs)==null?void 0:d.source}}};const A=["Default","Player"];export{r as Default,e as Player,A as __namedExportsOrder,y as default};