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
3.3 KiB

{"ast":null,"code":"import { createCollectionWithScope } from '../../collection/src/collection.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nconst rovingFocusGroupProps = buildProps({\n style: {\n type: definePropType([String, Array, Object])\n },\n currentTabId: {\n type: definePropType(String)\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String,\n values: [\"ltr\", \"rtl\"],\n default: \"ltr\"\n },\n orientation: {\n type: definePropType(String)\n },\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function\n});\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY\n} = createCollectionWithScope(\"RovingFocusGroup\");\nexport { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY, rovingFocusGroupProps };","map":{"version":3,"names":["rovingFocusGroupProps","buildProps","style","type","definePropType","String","Array","Object","currentTabId","defaultCurrentTabId","loop","Boolean","dir","values","default","orientation","onBlur","Function","onFocus","onMousedown","ElCollection","ElCollectionItem","COLLECTION_INJECTION_KEY","COLLECTION_ITEM_INJECTION_KEY","createCollectionWithScope"],"sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { createCollectionWithScope } from '@element-plus/components/collection'\nimport type { ExtractPropTypes, HTMLAttributes, StyleValue } from 'vue'\n\nexport const rovingFocusGroupProps = buildProps({\n style: { type: definePropType<StyleValue>([String, Array, Object]) },\n currentTabId: {\n type: definePropType<string | null>(String),\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String, // left for direction support\n values: ['ltr', 'rtl'],\n default: 'ltr',\n },\n orientation: {\n // left for orientation support\n type: definePropType<HTMLAttributes['aria-orientation']>(String),\n },\n\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function,\n})\n\nexport type ElRovingFocusGroupProps = ExtractPropTypes<\n typeof rovingFocusGroupProps\n>\n\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n} = createCollectionWithScope('RovingFocusGroup')\n\nexport {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY,\n}\n"],"mappings":";;AAEY,MAACA,qBAAqB,GAAGC,UAAU,CAAC;EAC9CC,KAAK,EAAE;IAAEC,IAAI,EAAEC,cAAc,CAAC,CAACC,MAAM,EAAEC,KAAK,EAAEC,MAAM,CAAC;EAAC,CAAE;EACxDC,YAAY,EAAE;IACZL,IAAI,EAAEC,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDI,mBAAmB,EAAEJ,MAAM;EAC3BK,IAAI,EAAEC,OAAO;EACbC,GAAG,EAAE;IACHT,IAAI,EAAEE,MAAM;IACZQ,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;IACtBC,OAAO,EAAE;EACb,CAAG;EACDC,WAAW,EAAE;IACXZ,IAAI,EAAEC,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDW,MAAM,EAAEC,QAAQ;EAChBC,OAAO,EAAED,QAAQ;EACjBE,WAAW,EAAEF;AACf,CAAC;AACI,MAAC;EACJG,YAAY;EACZC,gBAAgB;EAChBC,wBAAwB;EACxBC;AACF,CAAC,GAAGC,yBAAyB,CAAC,kBAAkB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}