tav-ui
Version:
1 lines • 2.31 kB
Source Map (JSON)
{"version":3,"file":"types2.mjs","sources":["../../../../../../../packages/components/count-down/src/types.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\n\nexport const countDownButtonProps = {\n value: { type: [Object, Number, String, Array] },\n count: { type: Number, default: 60 },\n beforeStartFunc: {\n type: Function as PropType<() => Promise<boolean>>,\n default: null,\n },\n}\n\nexport type CountDownButtonProps = ExtractPropTypes<typeof countDownButtonProps>\n\nexport const countDownProps = {\n value: { type: String },\n size: { type: String, validator: (v) => ['default', 'large', 'small'].includes(v) },\n count: { type: Number, default: 60 },\n sendCodeApi: {\n type: Function as PropType<() => Promise<boolean>>,\n default: null,\n },\n}\n\nexport type CountDownProps = ExtractPropTypes<typeof countDownProps>\n\nexport const countDownInputProps = {\n value: { type: String },\n size: {\n type: String,\n validator: (v) => ['default', 'large', 'small'].includes(v),\n },\n count: { type: Number, default: 60 },\n sendCodeApi: {\n type: Function as PropType<() => Promise<boolean>>,\n default: null,\n },\n}\nexport type CountDownInputProps = ExtractPropTypes<typeof countDownInputProps>\n"],"names":[],"mappings":"AAAY,MAAC,oBAAoB,GAAG;AACpC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE;AAClD,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;AACtC,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE;AACU,MAAC,cAAc,GAAG;AAC9B,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;AACzB,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,C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