You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 lines
2.9 KiB

{"ast":null,"code":"import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nconst statisticProps = buildProps({\n decimalSeparator: {\n type: String,\n default: \".\"\n },\n groupSeparator: {\n type: String,\n default: \",\"\n },\n precision: {\n type: Number,\n default: 0\n },\n formatter: Function,\n value: {\n type: definePropType([Number, Object]),\n default: 0\n },\n prefix: String,\n suffix: String,\n title: String,\n valueStyle: {\n type: definePropType([String, Object, Array])\n }\n});\nexport { statisticProps };","map":{"version":3,"names":["statisticProps","buildProps","decimalSeparator","type","String","default","groupSeparator","precision","Number","formatter","Function","value","definePropType","Object","prefix","suffix","title","valueStyle","Array"],"sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, StyleValue } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport const statisticProps = buildProps({\n /**\n * @description Setting the decimal point\n */\n decimalSeparator: {\n type: String,\n default: '.',\n },\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator: {\n type: String,\n default: ',',\n },\n /**\n * @description numerical precision\n */\n precision: {\n type: Number,\n default: 0,\n },\n /**\n * @description Custom numerical presentation\n */\n formatter: Function,\n /**\n * @description Numerical content\n */\n value: {\n type: definePropType<number | Dayjs>([Number, Object]),\n default: 0,\n },\n /**\n * @description Sets the prefix of a number\n */\n prefix: String,\n\n /**\n * @description Sets the suffix of a number\n */\n suffix: String,\n /**\n * @description Numeric titles\n */\n title: String,\n /**\n * @description Styles numeric values\n */\n valueStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n },\n} as const)\nexport type StatisticProps = ExtractPropTypes<typeof statisticProps>\n\nexport type StatisticInstance = InstanceType<typeof Statistic>\n"],"mappings":";AACY,MAACA,cAAc,GAAGC,UAAU,CAAC;EACvCC,gBAAgB,EAAE;IAChBC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDC,cAAc,EAAE;IACdH,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDE,SAAS,EAAE;IACTJ,IAAI,EAAEK,MAAM;IACZH,OAAO,EAAE;EACb,CAAG;EACDI,SAAS,EAAEC,QAAQ;EACnBC,KAAK,EAAE;IACLR,IAAI,EAAES,cAAc,CAAC,CAACJ,MAAM,EAAEK,MAAM,CAAC,CAAC;IACtCR,OAAO,EAAE;EACb,CAAG;EACDS,MAAM,EAAEV,MAAM;EACdW,MAAM,EAAEX,MAAM;EACdY,KAAK,EAAEZ,MAAM;EACba,UAAU,EAAE;IACVd,IAAI,EAAES,cAAc,CAAC,CAACR,MAAM,EAAES,MAAM,EAAEK,KAAK,CAAC;EAChD;AACA,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}