tav-ui
Version:
1 lines • 1.55 kB
Source Map (JSON)
{"version":3,"file":"types2.mjs","sources":["../../../../../../../packages/components/container-collapse/src/types.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\n\nexport const containerCollapseProps = {\n title: { type: String, default: '' },\n loading: { type: Boolean },\n /**\n * Can it be expanded\n */\n canExpan: { type: Boolean, default: true },\n /**\n * Warm reminder on the right side of the title\n */\n helpMessage: {\n type: [Array, String] as PropType<string[] | string>,\n default: '',\n },\n /**\n * Whether to trigger window.resize when expanding and contracting,\n * Can adapt to tables and forms, when the form shrinks, the form triggers resize to adapt to the height\n */\n triggerWindowResize: { type: Boolean },\n /**\n * Delayed loading time\n */\n lazyTime: { type: Number, default: 0 },\n}\n\nexport type ContainerCollapseProps = ExtractPropTypes<typeof containerCollapseProps>\n\nexport interface ContainerCollapseOptions {\n canExpand?: boolean\n title?: string\n helpMessage?: Array<any> | string\n}\n"],"names":[],"mappings":"AAAY,MAAC,sBAAsB,GAAG;AACtC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;AACtC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;AAC5B,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;AAC5C,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;AACzB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,mBAAmB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;AACxC,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE;AACxC;;;;"}