SYMBOL INDEX (1293 symbols across 260 files) FILE: build/dev.mjs function run (line 9) | async function run() { FILE: dist/action-sheet/index.js method onSelect (line 45) | onSelect(event) { method onCancel (line 64) | onCancel() { method onClose (line 67) | onClose() { method onClickOverlay (line 70) | onClickOverlay() { FILE: dist/area/index.js constant EMPTY_CODE (line 4) | const EMPTY_CODE = '000000'; method observer (line 12) | observer(value) { method observer (line 25) | observer(val) { method mounted (line 39) | mounted() { method getPicker (line 45) | getPicker() { method onCancel (line 51) | onCancel(event) { method onConfirm (line 54) | onConfirm(event) { method emit (line 60) | emit(type, detail) { method parseValues (line 65) | parseValues(values) { method onChange (line 75) | onChange(event) { method getConfig (line 87) | getConfig(type) { method getList (line 91) | getList(type, code) { method getIndex (line 122) | getIndex(type, code) { method setValues (line 137) | setValues() { method getDefaultCode (line 168) | getDefaultCode() { method getValues (line 183) | getValues() { method getDetail (line 190) | getDetail() { method reset (line 215) | reset(code) { FILE: dist/button/index.js method onClick (line 50) | onClick(event) { FILE: dist/calendar/components/header/index.js method created (line 19) | created() { method initWeekDay (line 23) | initWeekDay() { method onClickSubtitle (line 33) | onClickSubtitle(event) { FILE: dist/calendar/components/month/index.d.ts type Day (line 1) | interface Day { FILE: dist/calendar/components/month/index.js method onClick (line 45) | onClick(event) { method setDays (line 52) | setDays() { method getMultipleDayType (line 74) | getMultipleDayType(day) { method getRangeDayType (line 95) | getRangeDayType(day) { method getDayType (line 123) | getDayType(day) { method getBottomInfo (line 140) | getBottomInfo(type) { FILE: dist/calendar/index.js method observer (line 20) | observer(val) { method observer (line 44) | observer(val) { method minDate (line 127) | minDate() { method maxDate (line 130) | maxDate() { method created (line 134) | created() { method mounted (line 139) | mounted() { method reset (line 146) | reset() { method initRect (line 150) | initRect() { method limitDateRange (line 167) | limitDateRange(date, minDate = null, maxDate = null) { method getInitialDate (line 178) | getInitialDate(defaultDate = null) { method scrollIntoView (line 205) | scrollIntoView() { method onOpen (line 226) | onOpen() { method onOpened (line 229) | onOpened() { method onClose (line 232) | onClose() { method onClosed (line 235) | onClosed() { method onClickDay (line 238) | onClickDay(event) { method unselect (line 298) | unselect(dateArray) { method select (line 304) | select(date, complete) { method emit (line 326) | emit(date) { method checkRange (line 332) | checkRange(date) { method onConfirm (line 346) | onConfirm() { method onClickSubtitle (line 356) | onClickSubtitle(event) { FILE: dist/calendar/utils.js constant ROW_HEIGHT (line 1) | const ROW_HEIGHT = 64; function formatMonthTitle (line 2) | function formatMonthTitle(date) { function compareMonth (line 8) | function compareMonth(date1, date2) { function compareDay (line 24) | function compareDay(day1, day2) { function getDayByOffset (line 39) | function getDayByOffset(date, offset) { function getPrevDay (line 44) | function getPrevDay(date) { function getNextDay (line 47) | function getNextDay(date) { function getToday (line 50) | function getToday() { function calcDateNum (line 55) | function calcDateNum(date) { function copyDates (line 60) | function copyDates(dates) { function getMonthEndDay (line 71) | function getMonthEndDay(year, month) { function getMonths (line 74) | function getMonths(minDate, maxDate) { FILE: dist/card/index.js method updatePrice (line 37) | updatePrice() { method onClickThumb (line 45) | onClickThumb() { FILE: dist/cascader/index.js method options (line 67) | options() { method value (line 70) | value(newVal) { method created (line 74) | created() { method updateValue (line 78) | updateValue(val) { method updateFieldNames (line 88) | updateFieldNames() { method getSelectedOptionsByValue (line 96) | getSelectedOptionsByValue(options, value) { method updateTabs (line 110) | updateTabs() { method onClose (line 158) | onClose() { method onClickTab (line 161) | onClickTab(e) { method onSelect (line 169) | onSelect(e) { FILE: dist/cell/index.js method onClick (line 33) | onClick(event) { FILE: dist/checkbox-group/index.js method updateChildren (line 24) | updateChildren() { method updateChild (line 27) | updateChild(child) { FILE: dist/checkbox/index.js function emit (line 3) | function emit(target, value) { method emitChange (line 35) | emitChange(value) { method toggle (line 43) | toggle() { method onClickLabel (line 49) | onClickLabel() { method setParentValue (line 55) | setParentValue(parent, value) { FILE: dist/circle/canvas.d.ts type CanvasContext (line 2) | type CanvasContext = WechatMiniprogram.CanvasContext; FILE: dist/circle/canvas.js function adaptor (line 1) | function adaptor(ctx) { FILE: dist/circle/index.js function format (line 7) | function format(rate) { constant PERIMETER (line 10) | const PERIMETER = 2 * Math.PI; constant BEGIN_ANGLE (line 11) | const BEGIN_ANGLE = -Math.PI / 2; constant STEP (line 12) | const STEP = 1; method observer (line 32) | observer() { method observer (line 44) | observer() { method getContext (line 67) | getContext() { method setHoverColor (line 92) | setHoverColor() { method presetCanvas (line 108) | presetCanvas(context, strokeStyle, beginAngle, endAngle, fill) { method renderLayerCircle (line 123) | renderLayerCircle(context) { method renderHoverCircle (line 127) | renderHoverCircle(context, formatValue) { method drawCircle (line 136) | drawCircle(currentValue) { method reRender (line 150) | reRender() { method clearMockInterval (line 181) | clearMockInterval() { method mounted (line 188) | mounted() { method destroyed (line 194) | destroyed() { FILE: dist/collapse-item/animate.js function useAnimation (line 2) | function useAnimation(context, expanded, mounted, height) { function setContentAnimate (line 33) | function setContentAnimate(context, expanded, mounted) { FILE: dist/collapse-item/index.js method mounted (line 29) | mounted() { method updateExpanded (line 34) | updateExpanded() { method onClick (line 51) | onClick() { FILE: dist/collapse/index.js method updateExpanded (line 20) | updateExpanded() { method switch (line 25) | switch(name, expanded) { FILE: dist/common/color.js constant RED (line 1) | const RED = '#ee0a24'; constant BLUE (line 2) | const BLUE = '#1989fa'; constant WHITE (line 3) | const WHITE = '#fff'; constant GREEN (line 4) | const GREEN = '#07c160'; constant ORANGE (line 5) | const ORANGE = '#ff976a'; constant GRAY (line 6) | const GRAY = '#323233'; constant GRAY_DARK (line 7) | const GRAY_DARK = '#969799'; FILE: dist/common/component.js function mapKeys (line 2) | function mapKeys(source, target, map) { function VantComponent (line 9) | function VantComponent(vantOptions) { FILE: dist/common/relation.d.ts type TrivialInstance (line 2) | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance; FILE: dist/common/relation.js function useParent (line 1) | function useParent(name, onEffect) { function useChildren (line 31) | function useChildren(name, onEffect) { FILE: dist/common/utils.js function range (line 5) | function range(num, min, max) { function nextTick (line 8) | function nextTick(cb) { function addUnit (line 18) | function addUnit(value) { function requestAnimationFrame (line 25) | function requestAnimationFrame(cb) { function pickExclude (line 30) | function pickExclude(obj, keys) { function getRect (line 41) | function getRect(context, selector) { function getAllRect (line 50) | function getAllRect(context, selector) { function groupSetData (line 59) | function groupSetData(context, cb) { function toPromise (line 67) | function toPromise(promiseLike) { function addNumber (line 74) | function addNumber(num1, num2) { function getCurrentPage (line 80) | function getCurrentPage() { FILE: dist/common/validator.js function isFunction (line 2) | function isFunction(val) { function isPlainObject (line 5) | function isPlainObject(val) { function isPromise (line 8) | function isPromise(val) { function isDef (line 11) | function isDef(value) { function isObj (line 14) | function isObj(x) { function isNumber (line 18) | function isNumber(value) { function isBoolean (line 21) | function isBoolean(value) { constant IMAGE_REGEXP (line 24) | const IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i; constant VIDEO_REGEXP (line 25) | const VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mk... function isImageUrl (line 26) | function isImageUrl(url) { function isVideoUrl (line 29) | function isVideoUrl(url) { FILE: dist/common/version.d.ts type WxWorkSystemInfo (line 2) | interface WxWorkSystemInfo extends WechatMiniprogram.SystemInfo { type SystemInfo (line 5) | interface SystemInfo extends WxWorkSystemInfo, WechatMiniprogram.SystemI... FILE: dist/common/version.js function getSystemInfoSync (line 2) | function getSystemInfoSync() { function compareVersion (line 8) | function compareVersion(v1, v2) { function gte (line 30) | function gte(version) { function canIUseModel (line 34) | function canIUseModel() { function canIUseFormFieldButton (line 37) | function canIUseFormFieldButton() { function canIUseAnimate (line 40) | function canIUseAnimate() { function canIUseGroupSetData (line 43) | function canIUseGroupSetData() { function canIUseNextTick (line 46) | function canIUseNextTick() { function canIUseCanvas2d (line 54) | function canIUseCanvas2d() { function canIUseGetUserProfile (line 57) | function canIUseGetUserProfile() { FILE: dist/count-down/index.js function simpleTick (line 3) | function simpleTick(fn) { method destroyed (line 27) | destroyed() { method start (line 33) | start() { method pause (line 42) | pause() { method reset (line 47) | reset() { method tick (line 55) | tick() { method microTick (line 63) | microTick() { method macroTick (line 71) | macroTick() { method getRemain (line 82) | getRemain() { method setRemain (line 85) | setRemain(remain) { FILE: dist/count-down/utils.d.ts type TimeData (line 1) | type TimeData = { FILE: dist/count-down/utils.js function padZero (line 1) | function padZero(num, targetLength = 2) { constant SECOND (line 8) | const SECOND = 1000; constant MINUTE (line 9) | const MINUTE = 60 * SECOND; constant HOUR (line 10) | const HOUR = 60 * MINUTE; constant DAY (line 11) | const DAY = 24 * HOUR; function parseTimeData (line 12) | function parseTimeData(time) { function parseFormat (line 26) | function parseFormat(format, timeData) { function isSameSecond (line 55) | function isSameSecond(time1, time2) { FILE: dist/datetime-picker/index.js function isValidDate (line 5) | function isValidDate(date) { function range (line 8) | function range(num, min, max) { function padZero (line 11) | function padZero(val) { function times (line 14) | function times(n, iteratee) { function getTrueValue (line 22) | function getTrueValue(formattedValue) { function getMonthEndDay (line 31) | function getMonthEndDay(year, month) { method updateValue (line 80) | updateValue() { method getPicker (line 90) | getPicker() { method updateColumns (line 99) | updateColumns() { method getOriginColumns (line 106) | getOriginColumns() { method getRanges (line 120) | getRanges() { method correctValue (line 164) | correctValue(value) { method getBoundary (line 187) | getBoundary(type, innerValue) { method onCancel (line 221) | onCancel() { method onConfirm (line 224) | onConfirm() { method onChange (line 227) | onChange() { method updateColumnValue (line 262) | updateColumnValue(value) { method created (line 289) | created() { FILE: dist/definitions/index.d.ts type VantComponentInstance (line 2) | interface VantComponentInstance { type VantComponentOptions (line 9) | type VantComponentOptions>(obj: T): T { function getCustomFieldOptions (line 162) | function getCustomFieldOptions(options) { method onClick (line 213) | onClick(e) { method onClose (line 219) | onClose(e) { method onFinish (line 225) | onFinish(e) { method loadDynamicOptions (line 238) | loadDynamicOptions(e) { FILE: packages/cascader/index.ts type FieldName (line 3) | enum FieldName { type Option (line 9) | type Option = Record; type ITab (line 11) | interface ITab { method options (line 78) | options() { method value (line 81) | value(newVal) { method created (line 86) | created() { method updateValue (line 91) | updateValue(val: string) { method updateFieldNames (line 105) | updateFieldNames() { method getSelectedOptionsByValue (line 117) | getSelectedOptionsByValue(options, value) { method updateTabs (line 136) | updateTabs() { method onClose (line 200) | onClose() { method onClickTab (line 203) | onClickTab(e) { method onSelect (line 211) | onSelect(e) { FILE: packages/cell/index.ts method onClick (line 37) | onClick(event: WechatMiniprogram.TouchEvent) { FILE: packages/checkbox-group/index.ts type TrivialInstance (line 4) | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance; method updateChildren (line 30) | updateChildren() { method updateChild (line 34) | updateChild(child: TrivialInstance) { FILE: packages/checkbox/demo/index.ts method onChange (line 21) | onChange(event) { method toggle (line 26) | toggle(event) { method noop (line 32) | noop() {} FILE: packages/checkbox/index.ts function emit (line 4) | function emit( method emitChange (line 45) | emitChange(value: boolean) { method toggle (line 53) | toggle() { method onClickLabel (line 60) | onClickLabel() { method setParentValue (line 67) | setParentValue( FILE: packages/circle/canvas.ts type CanvasContext (line 1) | type CanvasContext = WechatMiniprogram.CanvasContext; function adaptor (line 3) | function adaptor( FILE: packages/circle/demo/index.ts method run (line 15) | run(e) { FILE: packages/circle/index.ts function format (line 8) | function format(rate) { constant PERIMETER (line 11) | const PERIMETER = 2 * Math.PI; constant BEGIN_ANGLE (line 12) | const BEGIN_ANGLE = -Math.PI / 2; constant STEP (line 13) | const STEP = 1; method observer (line 34) | observer() { method observer (line 46) | observer() { method getContext (line 71) | getContext(): Promise { method setHoverColor (line 102) | setHoverColor() { method presetCanvas (line 126) | presetCanvas(context, strokeStyle, beginAngle, endAngle, fill?: string) { method renderLayerCircle (line 145) | renderLayerCircle(context) { method renderHoverCircle (line 150) | renderHoverCircle(context, formatValue) { method drawCircle (line 161) | drawCircle(currentValue) { method reRender (line 179) | reRender() { method clearMockInterval (line 210) | clearMockInterval() { method mounted (line 218) | mounted() { method destroyed (line 226) | destroyed() { FILE: packages/collapse-item/animate.ts function useAnimation (line 3) | function useAnimation( function setContentAnimate (line 43) | function setContentAnimate( FILE: packages/collapse-item/index.ts method mounted (line 34) | mounted() { method updateExpanded (line 40) | updateExpanded() { method onClick (line 63) | onClick() { FILE: packages/collapse/demo/index.ts method onChange (line 19) | onChange(event) { method onOpen (line 26) | onOpen(event) { method onClose (line 33) | onClose(event) { FILE: packages/collapse/index.ts method updateExpanded (line 23) | updateExpanded() { method switch (line 29) | switch(name: string | number, expanded: boolean) { FILE: packages/common/color.ts constant RED (line 1) | const RED = '#ee0a24'; constant BLUE (line 2) | const BLUE = '#1989fa'; constant WHITE (line 3) | const WHITE = '#fff'; constant GREEN (line 4) | const GREEN = '#07c160'; constant ORANGE (line 5) | const ORANGE = '#ff976a'; constant GRAY (line 6) | const GRAY = '#323233'; constant GRAY_DARK (line 7) | const GRAY_DARK = '#969799'; FILE: packages/common/component.ts function mapKeys (line 4) | function mapKeys( function VantComponent (line 16) | function VantComponent< FILE: packages/common/relation.ts type TrivialInstance (line 1) | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance; type RelationOption (line 2) | type RelationOption = WechatMiniprogram.Component.RelationOption; function useParent (line 4) | function useParent( function useChildren (line 41) | function useChildren( FILE: packages/common/utils.ts function range (line 11) | function range(num: number, min: number, max: number) { function nextTick (line 15) | function nextTick(cb: (...args: any[]) => void) { function addUnit (line 25) | function addUnit(value?: string | number): string | undefined { function requestAnimationFrame (line 34) | function requestAnimationFrame(cb: () => void) { function pickExclude (line 40) | function pickExclude(obj: unknown, keys: string[]) { function getRect (line 54) | function getRect( function getAllRect (line 69) | function getAllRect( function groupSetData (line 84) | function groupSetData( function toPromise (line 95) | function toPromise(promiseLike: Promise | unknown) { function addNumber (line 104) | function addNumber(num1, num2) { function getCurrentPage (line 112) | function getCurrentPage() { FILE: packages/common/validator.ts function isFunction (line 2) | function isFunction(val: unknown): val is Function { function isPlainObject (line 6) | function isPlainObject(val: unknown): val is Record { function isPromise (line 10) | function isPromise(val: unknown): val is Promise { function isDef (line 14) | function isDef(value: unknown): boolean { function isObj (line 18) | function isObj(x: unknown): x is Record { function isNumber (line 23) | function isNumber(value: string) { function isBoolean (line 27) | function isBoolean(value: unknown): value is boolean { constant IMAGE_REGEXP (line 31) | const IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i; constant VIDEO_REGEXP (line 32) | const VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mk... function isImageUrl (line 34) | function isImageUrl(url: string): boolean { function isVideoUrl (line 38) | function isVideoUrl(url: string): boolean { FILE: packages/common/version.ts type WxWorkSystemInfo (line 1) | interface WxWorkSystemInfo extends WechatMiniprogram.SystemInfo { type SystemInfo (line 5) | interface SystemInfo extends WxWorkSystemInfo, WechatMiniprogram.SystemI... function getSystemInfoSync (line 9) | function getSystemInfoSync() { function compareVersion (line 17) | function compareVersion(v1, v2) { function gte (line 44) | function gte(version: string) { function canIUseModel (line 50) | function canIUseModel() { function canIUseFormFieldButton (line 54) | function canIUseFormFieldButton() { function canIUseAnimate (line 58) | function canIUseAnimate() { function canIUseGroupSetData (line 62) | function canIUseGroupSetData() { function canIUseNextTick (line 66) | function canIUseNextTick() { function canIUseCanvas2d (line 74) | function canIUseCanvas2d() { function canIUseGetUserProfile (line 78) | function canIUseGetUserProfile() { FILE: packages/config-provider/demo/index.ts method onChange (line 19) | onChange(event) { FILE: packages/count-down/demo/index.ts method onChange (line 11) | onChange(e) { method start (line 17) | start() { method pause (line 22) | pause() { method reset (line 27) | reset() { method finished (line 32) | finished() { FILE: packages/count-down/index.ts function simpleTick (line 4) | function simpleTick(fn: WechatMiniprogram.SetTimeoutCompleteCallback) { method destroyed (line 31) | destroyed() { method start (line 38) | start() { method pause (line 49) | pause() { method reset (line 55) | reset() { method tick (line 65) | tick() { method microTick (line 73) | microTick() { method macroTick (line 83) | macroTick() { method getRemain (line 97) | getRemain() { method setRemain (line 101) | setRemain(remain) { FILE: packages/count-down/utils.ts function padZero (line 1) | function padZero(num: number | string, targetLength = 2): string { type TimeData (line 11) | type TimeData = { constant SECOND (line 19) | const SECOND = 1000; constant MINUTE (line 20) | const MINUTE = 60 * SECOND; constant HOUR (line 21) | const HOUR = 60 * MINUTE; constant DAY (line 22) | const DAY = 24 * HOUR; function parseTimeData (line 24) | function parseTimeData(time: number): TimeData { function parseFormat (line 40) | function parseFormat(format: string, timeData: TimeData): string { function isSameSecond (line 71) | function isSameSecond(time1: number, time2: number): boolean { FILE: packages/datetime-picker/demo/index.ts method formatter (line 15) | formatter(type, value) { method filter (line 24) | filter(type, options) { method onInput (line 34) | onInput(event) { method getResult (line 44) | getResult(time, type) { FILE: packages/datetime-picker/index.ts function isValidDate (line 7) | function isValidDate(date: number) { function range (line 11) | function range(num: number, min: number, max: number) { function padZero (line 15) | function padZero(val: string | number) { function times (line 19) | function times(n: number, iteratee: (index: number) => string): string[] { function getTrueValue (line 29) | function getTrueValue(formattedValue: string) { function getMonthEndDay (line 39) | function getMonthEndDay(year: number, month: number): number { method updateValue (line 109) | updateValue() { method getPicker (line 120) | getPicker() { method updateColumns (line 133) | updateColumns() { method getOriginColumns (line 142) | getOriginColumns() { method getRanges (line 160) | getRanges() { method correctValue (line 218) | correctValue(value: any) { method getBoundary (line 245) | getBoundary(type: string, innerValue: number) { method onCancel (line 283) | onCancel() { method onConfirm (line 287) | onConfirm() { method onChange (line 291) | onChange() { method updateColumnValue (line 331) | updateColumnValue(value) { method created (line 364) | created() { FILE: packages/definitions/index.ts type VantComponentInstance (line 1) | interface VantComponentInstance { type VantComponentOptions (line 13) | type VantComponentOptions< FILE: packages/dialog/demo/index.ts method showCustomDialog (line 12) | showCustomDialog() { method getUserInfo (line 16) | getUserInfo(event) { method onClickThemeAlert (line 20) | onClickThemeAlert() { method onClickThemeAlert2 (line 29) | onClickThemeAlert2() { method onClickAlert (line 37) | onClickAlert() { method onClickAlert2 (line 45) | onClickAlert2() { method onClickConfirm (line 52) | onClickConfirm() { method onClickAsyncClose (line 60) | onClickAsyncClose() { method onClose (line 81) | onClose() { FILE: packages/dialog/dialog.ts type Action (line 2) | type Action = 'confirm' | 'cancel' | 'overlay'; type DialogContext (line 4) | type DialogContext = type DialogOptions (line 8) | interface DialogOptions { function getContext (line 74) | function getContext() { FILE: packages/dialog/index.ts method observer (line 14) | observer(show: boolean) { method onConfirm (line 89) | onConfirm() { method onCancel (line 93) | onCancel() { method onClickOverlay (line 97) | onClickOverlay() { method close (line 101) | close(action: string) { method onAfterLeave (line 107) | onAfterLeave() { method stopLoading (line 119) | stopLoading() { method handleAction (line 128) | handleAction(action: Action) { FILE: packages/dropdown-item/index.ts method rerender (line 52) | rerender() { method updateDataFromParent (line 58) | updateDataFromParent() { method onOpen (line 80) | onOpen() { method onOpened (line 84) | onOpened() { method onClose (line 88) | onClose() { method onClosed (line 92) | onClosed() { method onOptionTap (line 97) | onOptionTap(event: WechatMiniprogram.TouchEvent) { method toggle (line 112) | toggle(show?: boolean, options: { immediate?: boolean } = {}) { method onBeforeToggle (line 143) | onBeforeToggle(status: boolean): Promise { FILE: packages/dropdown-item/shared.ts type Option (line 1) | interface Option { FILE: packages/dropdown-menu/demo/index.ts method onConfirm (line 25) | onConfirm() { method onSwitch1Change (line 29) | onSwitch1Change({ detail }) { method onSwitch2Change (line 33) | onSwitch2Change({ detail }) { method onBeforeChange (line 36) | onBeforeChange({ detail: { status, callback } }) { FILE: packages/dropdown-menu/index.ts constant ARRAY (line 5) | let ARRAY: WechatMiniprogram.Component.TrivialInstance[] = []; method beforeCreate (line 58) | beforeCreate() { method destroyed (line 64) | destroyed() { method updateItemListData (line 69) | updateItemListData() { method updateChildrenData (line 75) | updateChildrenData() { method toggleItem (line 81) | toggleItem(active: number) { method close (line 92) | close() { method getChildWrapperStyle (line 98) | getChildWrapperStyle() { method onTitleTap (line 117) | onTitleTap(event: WechatMiniprogram.TouchEvent) { FILE: packages/empty/demo/index.ts method onChange (line 9) | onChange(event) { FILE: packages/field/demo/index.ts method onClickIcon (line 16) | onClickIcon() { FILE: packages/field/index.ts method value (line 70) | value(this: WechatMiniprogram.Component.TrivialInstance, value) { method clearTrigger (line 78) | clearTrigger() { method created (line 83) | created() { method formatValue (line 89) | formatValue(value: string) { method onInput (line 99) | onInput(event: WechatMiniprogram.Input | WechatMiniprogram.TextareaInput) { method onFocus (line 114) | onFocus( method onBlur (line 122) | onBlur( method onClickIcon (line 130) | onClickIcon() { method onClickInput (line 134) | onClickInput(event: WechatMiniprogram.TouchEvent) { method onClear (line 138) | onClear() { method onConfirm (line 149) | onConfirm( method setValue (line 158) | setValue(value: string) { method onLineChange (line 169) | onLineChange(event: WechatMiniprogram.TextareaLineChange) { method onKeyboardHeightChange (line 173) | onKeyboardHeightChange( method onBindNicknameReview (line 181) | onBindNicknameReview(event) { method emitChange (line 185) | emitChange(detail: InputDetails) { method setShowClear (line 207) | setShowClear() { method noop (line 224) | noop() {} FILE: packages/field/types.ts type InputDetails (line 1) | interface InputDetails { FILE: packages/goods-action-button/index.ts method onClick (line 32) | onClick(event: WechatMiniprogram.CustomEvent) { method updateStyle (line 37) | updateStyle() { FILE: packages/goods-action-icon/index.ts method onClick (line 26) | onClick(event: WechatMiniprogram.CustomEvent) { FILE: packages/goods-action/demo/index.ts method onClickIcon (line 6) | onClickIcon() { method onClickButton (line 10) | onClickButton() { FILE: packages/grid-item/index.ts method mounted (line 30) | mounted() { method updateStyle (line 35) | updateStyle() { method onClick (line 67) | onClick() { FILE: packages/grid/index.ts method updateChildren (line 52) | updateChildren() { FILE: packages/icon/demo/index.ts method onSwitch (line 13) | onSwitch(event) { FILE: packages/icon/index.ts method onClick (line 19) | onClick() { FILE: packages/image/index.ts method observer (line 12) | observer() { method onLoad (line 52) | onLoad(event) { method onError (line 60) | onError(event) { method onClick (line 69) | onClick(event) { FILE: packages/index-anchor/index.ts method scrollIntoView (line 20) | scrollIntoView(scrollTop) { FILE: packages/index-bar/demo/index.ts method onChange (line 18) | onChange(event) { method onPageScroll (line 24) | onPageScroll(event) { FILE: packages/index-bar/index.ts method created (line 58) | created() { method updateData (line 63) | updateData() { method setRect (line 81) | setRect() { method setAnchorsRect (line 89) | setAnchorsRect() { method setListRect (line 102) | setListRect() { method setSiderbarRect (line 114) | setSiderbarRect() { method setDiffData (line 126) | setDiffData({ target, data }) { method getAnchorRect (line 140) | getAnchorRect(anchor) { method getActiveAnchorIndex (line 147) | getActiveAnchorIndex() { method onScroll (line 163) | onScroll() { method onClick (line 257) | onClick(event) { method onTouchMove (line 261) | onTouchMove(event) { method onTouchStop (line 276) | onTouchStop() { method scrollToAnchor (line 280) | scrollToAnchor(index) { FILE: packages/mixins/basic.ts method $emit (line 3) | $emit( method set (line 11) | set(data: Record) { method setView (line 18) | setView( FILE: packages/mixins/button.ts method onGetUserInfo (line 27) | onGetUserInfo(event: WechatMiniprogram.ButtonGetUserInfo) { method onContact (line 31) | onContact(event: WechatMiniprogram.ButtonContact) { method onGetPhoneNumber (line 35) | onGetPhoneNumber(event: WechatMiniprogram.ButtonGetPhoneNumber) { method onGetRealTimePhoneNumber (line 39) | onGetRealTimePhoneNumber(event: WechatMiniprogram.ButtonGetPhoneNumber) { method onError (line 43) | onError(event: WechatMiniprogram.ButtonError) { method onLaunchApp (line 47) | onLaunchApp(event: WechatMiniprogram.ButtonLaunchApp) { method onOpenSetting (line 51) | onOpenSetting(event: WechatMiniprogram.ButtonOpenSetting) { method onAgreePrivacyAuthorization (line 55) | onAgreePrivacyAuthorization(event) { method onChooseAvatar (line 59) | onChooseAvatar( FILE: packages/mixins/link.ts method jumpLink (line 11) | jumpLink(urlKey = 'url') { FILE: packages/mixins/page-scroll.ts type IPageScrollOption (line 4) | type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption; type Scroller (line 5) | type Scroller = ( function onPageScroll (line 10) | function onPageScroll(event?: IPageScrollOption) { function pageScrollMixin (line 23) | function pageScrollMixin(scroller: Scroller) { FILE: packages/mixins/touch.ts constant MIN_DISTANCE (line 2) | const MIN_DISTANCE = 10; function getDirection (line 4) | function getDirection(x: number, y: number) { method resetTouchStatus (line 18) | resetTouchStatus() { method touchStart (line 26) | touchStart(event: WechatMiniprogram.TouchEvent) { method touchMove (line 33) | touchMove(event: WechatMiniprogram.TouchEvent) { FILE: packages/mixins/transition.ts function transition (line 12) | function transition(showDefaultValue: boolean) { FILE: packages/nav-bar/demo/index.ts method onClickLeft (line 5) | onClickLeft() { method onClickRight (line 9) | onClickRight() { FILE: packages/nav-bar/index.ts method created (line 39) | created() { method mounted (line 48) | mounted() { method onClickLeft (line 53) | onClickLeft() { method onClickRight (line 57) | onClickRight() { method setHeight (line 61) | setHeight() { FILE: packages/notice-bar/index.ts method created (line 47) | created() { method destroyed (line 54) | destroyed() { method mounted (line 58) | mounted() { method init (line 63) | init() { method initAnimation (line 92) | initAnimation(warpWidth: number, contentWidth: number) { method reset (line 110) | reset(x = 0) { method scroll (line 121) | scroll(isInit = false) { method onClickIcon (line 140) | onClickIcon(event) { method onClick (line 150) | onClick(event: WechatMiniprogram.TouchEvent) { FILE: packages/notify/demo/index.ts method showNotify (line 6) | showNotify() { method showCustomColor (line 10) | showCustomColor() { method showCustomDuration (line 21) | showCustomDuration() { method showNotifyByType (line 29) | showNotifyByType(event) { method showSafe (line 38) | showSafe() { FILE: packages/notify/index.ts method created (line 39) | created() { method show (line 45) | show() { method hide (line 60) | hide() { method onTap (line 69) | onTap(event: WechatMiniprogram.TouchEvent) { FILE: packages/notify/notify.ts type NotifyOptions (line 3) | interface NotifyOptions { function parseOptions (line 36) | function parseOptions( function getContext (line 46) | function getContext() { function Notify (line 51) | function Notify(options: NotifyOptions | string) { FILE: packages/overlay/demo/index.ts method onClickShow (line 10) | onClickShow() { method onClickHide (line 14) | onClickHide() { method onClickShowEmbedded (line 18) | onClickShowEmbedded() { method onClickHideEmbedded (line 22) | onClickHideEmbedded() { method noop (line 26) | noop() {} FILE: packages/overlay/index.ts method onClick (line 26) | onClick() { method noop (line 31) | noop() {} FILE: packages/picker-column/index.ts constant DEFAULT_DURATION (line 5) | const DEFAULT_DURATION = 200; method observer (line 22) | observer(value: number) { method created (line 37) | created() { method getCount (line 49) | getCount() { method onTouchStart (line 53) | onTouchStart(event: WechatMiniprogram.TouchEvent) { method onTouchMove (line 61) | onTouchMove(event: WechatMiniprogram.TouchEvent) { method onTouchEnd (line 73) | onTouchEnd() { method onClickItem (line 87) | onClickItem(event: WechatMiniprogram.TouchEvent) { method adjustIndex (line 92) | adjustIndex(index: number) { method isDisabled (line 105) | isDisabled(option: any) { method getOptionText (line 109) | getOptionText(option: any) { method setIndex (line 116) | setIndex(index: number, userAction?: boolean) { method setValue (line 130) | setValue(value: string) { method getValue (line 140) | getValue() { FILE: packages/picker/demo/index.ts method onChange1 (line 30) | onChange1(event) { method onConfirm (line 38) | onConfirm(event) { method onCancel (line 46) | onCancel() { method onChange2 (line 53) | onChange2(event) { FILE: packages/picker/index.ts type Column (line 4) | interface Column { method observer (line 29) | observer(columns = []) { method beforeCreate (line 39) | beforeCreate() { method noop (line 46) | noop() {} method setColumns (line 48) | setColumns() { method emit (line 57) | emit(event: WechatMiniprogram.TouchEvent) { method onChange (line 72) | onChange(event: WechatMiniprogram.CustomEvent) { method getColumn (line 89) | getColumn(index: number) { method getColumnValue (line 94) | getColumnValue(index: number) { method setColumnValue (line 100) | setColumnValue(index: number, value: any) { method getColumnIndex (line 111) | getColumnIndex(columnIndex: number) { method setColumnIndex (line 116) | setColumnIndex(columnIndex: number, optionIndex: number) { method getColumnValues (line 127) | getColumnValues(index: number) { method setColumnValues (line 132) | setColumnValues(index: number, options: any[], needReset = true) { method getValues (line 154) | getValues() { method setValues (line 159) | setValues(values: any[]) { method getIndexes (line 167) | getIndexes() { method setIndexes (line 172) | setIndexes(indexes: number[]) { FILE: packages/popup/demo/index.ts method toggle (line 19) | toggle(type, show) { method showBasic (line 25) | showBasic() { method hideBasic (line 29) | hideBasic() { method showTop (line 33) | showTop() { method hideTop (line 37) | hideTop() { method showLeft (line 41) | showLeft() { method hideLeft (line 45) | hideLeft() { method showRight (line 49) | showRight() { method hideRight (line 53) | hideRight() { method showBottom (line 57) | showBottom() { method hideBottom (line 61) | hideBottom() { method showRound (line 65) | showRound() { method hideRound (line 69) | hideRound() { method showCloseIcon (line 73) | showCloseIcon() { method hideCloseIcon (line 77) | hideCloseIcon() { method showCustomCloseIcon (line 81) | showCustomCloseIcon() { method hideCustomCloseIcon (line 85) | hideCustomCloseIcon() { method showCustomIconPosition (line 89) | showCustomIconPosition() { method hideCustomIconPosition (line 93) | hideCustomIconPosition() { FILE: packages/popup/index.ts method created (line 73) | created() { method onClickCloseIcon (line 78) | onClickCloseIcon() { method onClickOverlay (line 82) | onClickOverlay() { method observeClass (line 90) | observeClass() { FILE: packages/progress/index.ts method mounted (line 37) | mounted() { method setLeft (line 42) | setLeft() { FILE: packages/radio-group/index.ts method updateChildren (line 22) | updateChildren() { FILE: packages/radio/demo/index.ts method onChange (line 22) | onChange(event) { method onClick (line 27) | onClick(event) { FILE: packages/radio/index.ts method updateFromParent (line 41) | updateFromParent() { method emitChange (line 55) | emitChange(value: boolean) { method onChange (line 65) | onChange() { method onClickLabel (line 71) | onClickLabel() { FILE: packages/rate/demo/index.ts method onChange (line 16) | onChange(event) { FILE: packages/rate/index.ts method observer (line 13) | observer(value: number) { method observer (line 37) | observer(value: number) { method onSelect (line 54) | onSelect(event: WechatMiniprogram.CustomEvent) { method onTouchMove (line 71) | onTouchMove(event: WechatMiniprogram.TouchEvent) { FILE: packages/row/index.ts method setGutter (line 21) | setGutter() { FILE: packages/search/demo/index.ts method onChange (line 9) | onChange(e) { method onSearch (line 15) | onSearch() { method onClick (line 24) | onClick() { method onCancel (line 33) | onCancel() { method onClear (line 40) | onClear() { FILE: packages/search/index.ts method onChange (line 66) | onChange(event: WechatMiniprogram.CustomEvent) { method onCancel (line 73) | onCancel() { method onSearch (line 87) | onSearch(event: WechatMiniprogram.CustomEvent) { method onFocus (line 91) | onFocus(event: WechatMiniprogram.CustomEvent) { method onBlur (line 95) | onBlur(event: WechatMiniprogram.CustomEvent) { method onClear (line 99) | onClear(event: WechatMiniprogram.CustomEvent) { method onClickInput (line 103) | onClickInput(event) { FILE: packages/share-sheet/demo/index.ts method onShowShareSheet (line 65) | onShowShareSheet(event) { method onClose (line 71) | onClose() { method onSelect (line 82) | onSelect(event) { FILE: packages/share-sheet/index.ts method onClickOverlay (line 47) | onClickOverlay() { method onCancel (line 51) | onCancel() { method onSelect (line 56) | onSelect(event: WechatMiniprogram.CustomEvent) { method onClose (line 60) | onClose() { FILE: packages/share-sheet/options.ts method onSelect (line 10) | onSelect(event) { FILE: packages/sidebar-item/index.ts method onClick (line 18) | onClick() { method setActive (line 33) | setActive(selected: boolean) { FILE: packages/sidebar/demo/index.ts method onChange (line 6) | onChange(event) { FILE: packages/sidebar/index.ts method beforeCreate (line 17) | beforeCreate() { method setActive (line 22) | setActive(activeKey: number) { FILE: packages/skeleton/demo/index.ts method onChange (line 9) | onChange({ detail }) { FILE: packages/skeleton/index.ts method observer (line 9) | observer(value: number) { method observer (line 38) | observer(val) { FILE: packages/slider/demo/index.ts method onChange (line 9) | onChange(event) { method onDrag (line 16) | onDrag(event) { FILE: packages/slider/index.ts type SliderValue (line 6) | type SliderValue = number | [number, number]; constant DRAG_STATUS (line 8) | const DRAG_STATUS = { method observer (line 38) | observer(val) { method created (line 48) | created() { method onTouchStart (line 53) | onTouchStart(event: WechatMiniprogram.TouchEvent) { method onTouchMove (line 77) | onTouchMove(event: WechatMiniprogram.TouchEvent) { method onTouchEnd (line 104) | onTouchEnd() { method onClick (line 117) | onClick(event: WechatMiniprogram.TouchEvent) { method isRange (line 146) | isRange(val: unknown): val is [number, number] { method handleOverlap (line 151) | handleOverlap(value: [number, number]) { method updateValue (line 158) | updateValue(value: SliderValue, end?: boolean, drag?: boolean) { method getScope (line 201) | getScope() { method getRange (line 205) | getRange() { method getOffsetWidth (line 210) | getOffsetWidth(current: number, min: number) { method calcMainAxis (line 218) | calcMainAxis() { method calcOffset (line 230) | calcOffset() { method format (line 240) | format(value: number) { FILE: packages/stepper/demo/index.ts method onChange (line 10) | onChange(event) { FILE: packages/stepper/index.ts constant LONG_PRESS_START_TIME (line 4) | const LONG_PRESS_START_TIME = 600; constant LONG_PRESS_INTERVAL (line 5) | const LONG_PRESS_INTERVAL = 200; function add (line 8) | function add(num1: number, num2: number) { function equal (line 13) | function equal(value1: number | string, value2: number | string) { method value (line 77) | value() { method created (line 82) | created() { method observeValue (line 89) | observeValue() { method check (line 94) | check() { method isDisabled (line 102) | isDisabled(type: string) { method onFocus (line 113) | onFocus(event: WechatMiniprogram.InputFocus) { method onBlur (line 117) | onBlur(event: WechatMiniprogram.InputBlur) { method filter (line 131) | filter(value: string): string { method format (line 141) | format(value: string) { method onInput (line 159) | onInput(event: WechatMiniprogram.Input) { method emitChange (line 172) | emitChange(data: { value: string; newValue: string }) { method onChange (line 183) | onChange() { method longPressStep (line 199) | longPressStep() { method onTap (line 206) | onTap(event: WechatMiniprogram.TouchEvent) { method onTouchStart (line 212) | onTouchStart(event: WechatMiniprogram.TouchEvent) { method onTouchEnd (line 229) | onTouchEnd() { FILE: packages/steps/demo/index.ts method nextStep (line 36) | nextStep() { method onClick (line 42) | onClick(event) { FILE: packages/steps/index.ts method onClick (line 31) | onClick(event: WechatMiniprogram.TouchEvent) { FILE: packages/sticky/demo/index.ts method mounted (line 10) | mounted() { method onScroll (line 17) | onScroll(event) { FILE: packages/sticky/index.ts constant ROOT_ELEMENT (line 6) | const ROOT_ELEMENT = '.van-sticky'; method observer (line 29) | observer(val) { method mounted (line 50) | mounted() { method onScroll (line 55) | onScroll({ scrollTop }: { scrollTop?: number } = {}) { method setDataAfterDiff (line 104) | setDataAfterDiff(data) { method getContainerRect (line 125) | getContainerRect() { FILE: packages/submit-bar/demo/index.ts method onClickButton (line 6) | onClickButton() { method onClickLink (line 12) | onClickLink() { FILE: packages/submit-bar/index.ts method updatePrice (line 42) | updatePrice() { method updateTip (line 54) | updateTip() { method onSubmit (line 58) | onSubmit(event: WechatMiniprogram.CustomEvent) { FILE: packages/swipe-cell/demo/index.ts method onClose (line 7) | onClose(event) { method onOpen (line 25) | onOpen(event) { FILE: packages/swipe-cell/index.ts constant THRESHOLD (line 5) | const THRESHOLD = 0.3; constant ARRAY (line 6) | let ARRAY: WechatMiniprogram.Component.TrivialInstance[] = []; method observer (line 14) | observer(leftWidth = 0) { method observer (line 23) | observer(rightWidth = 0) { method created (line 43) | created() { method destroyed (line 48) | destroyed() { method open (line 53) | open(position: 'left' | 'right') { method close (line 64) | close() { method swipeMove (line 68) | swipeMove(offset = 0) { method swipeLeaveTransition (line 86) | swipeLeaveTransition() { method startDrag (line 100) | startDrag(event: WechatMiniprogram.TouchEvent) { method noop (line 109) | noop() {} method onDrag (line 111) | onDrag(event: WechatMiniprogram.TouchEvent) { method endDrag (line 132) | endDrag() { method onClick (line 141) | onClick(event: WechatMiniprogram.TouchEvent) { FILE: packages/switch/demo/index.ts method onChange (line 11) | onChange({ detail }) { method onChange2 (line 15) | onChange2({ detail }) { FILE: packages/switch/index.ts method onClick (line 29) | onClick() { FILE: packages/switch/test/index.spec.ts method onChange (line 34) | onChange({ detail }) { FILE: packages/tab/demo/index.ts method onClickDisabled (line 17) | onClickDisabled(event) { method onChange (line 24) | onChange(event) { method onClickNavRight (line 31) | onClickNavRight() { method onClick (line 38) | onClick(event) { method onBeforeChange (line 44) | onBeforeChange(event) { FILE: packages/tab/index.ts method getComputedName (line 39) | getComputedName() { method updateRender (line 46) | updateRender(active, parent) { method update (line 57) | update() { FILE: packages/tabbar-item/index.ts method onClick (line 33) | onClick() { method updateFromParent (line 54) | updateFromParent() { FILE: packages/tabbar/demo/index.ts method onChange (line 18) | onChange(event) { method handleChange (line 23) | handleChange(event) { FILE: packages/tabbar/index.ts type TrivialInstance (line 5) | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance; method updateChildren (line 53) | updateChildren() { method setHeight (line 62) | setHeight() { FILE: packages/tabs/index.ts type TrivialInstance (line 13) | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance; method observer (line 39) | observer() { method observer (line 57) | observer(name) { method observer (line 82) | observer(value) { method mounted (line 114) | mounted() { method updateTabs (line 127) | updateTabs() { method trigger (line 138) | trigger(eventName: string, child?: TrivialInstance) { method onTap (line 150) | onTap(event: WechatMiniprogram.TouchEvent) { method setCurrentIndexByName (line 168) | setCurrentIndexByName(name) { method setCurrentIndex (line 179) | setCurrentIndex(currentIndex) { method getCurrentName (line 222) | getCurrentName() { method resize (line 230) | resize() { method scrollIntoView (line 267) | scrollIntoView() { method onTouchScroll (line 295) | onTouchScroll(event: WechatMiniprogram.CustomEvent) { method onTouchStart (line 299) | onTouchStart(event: WechatMiniprogram.TouchEvent) { method onTouchMove (line 306) | onTouchMove(event: WechatMiniprogram.TouchEvent) { method onTouchEnd (line 313) | onTouchEnd() { method getAvaiableTab (line 329) | getAvaiableTab(direction: number) { method onBeforeChange (line 352) | onBeforeChange(index: number): Promise { method getChildData (line 366) | getChildData(index: number, child?: TrivialInstance) { FILE: packages/tag/demo/index.ts method onClose (line 12) | onClose(event) { FILE: packages/tag/index.ts method onClose (line 19) | onClose() { FILE: packages/toast/demo/index.ts method showToast (line 6) | showToast() { method showLongToast (line 10) | showLongToast() { method showLoadingToast (line 17) | showLoadingToast() { method showCustomLoadingToast (line 21) | showCustomLoadingToast() { method showSuccessToast (line 30) | showSuccessToast() { method showFailToast (line 34) | showFailToast() { method showCustomizedToast (line 38) | showCustomizedToast() { FILE: packages/toast/index.ts method noop (line 29) | noop() {} FILE: packages/toast/toast.ts type ToastMessage (line 3) | type ToastMessage = string | number; type ToastContext (line 4) | type ToastContext = type ToastOptions (line 8) | interface ToastOptions { function parseOptions (line 39) | function parseOptions(message): ToastOptions { function getContext (line 43) | function getContext() { function Toast (line 48) | function Toast(toastOptions: ToastOptions | ToastMessage) { FILE: packages/transition/demo/index.ts method onClickFade (line 11) | onClickFade() { method onClickFadeUp (line 15) | onClickFadeUp() { method onClickFadeDown (line 19) | onClickFadeDown() { method onClickFadeLeft (line 23) | onClickFadeLeft() { method onClickFadeRight (line 27) | onClickFadeRight() { method onClickSlideUp (line 31) | onClickSlideUp() { method onClickSlideDown (line 35) | onClickSlideDown() { method onClickSlideLeft (line 39) | onClickSlideLeft() { method onClickSlideRight (line 43) | onClickSlideRight() { method trigger (line 47) | trigger(name) { method onClickCustom (line 54) | onClickCustom() { method onBeforeEnter (line 62) | onBeforeEnter() { method onEnter (line 66) | onEnter() { method onAfterEnter (line 70) | onAfterEnter() { method onBeforeLeave (line 74) | onBeforeLeave() { method onLeave (line 78) | onLeave() { method onAfterLeave (line 82) | onAfterLeave() { FILE: packages/tree-select/demo/index.ts method onClickNav (line 91) | onClickNav({ detail }) { method onClickItem (line 97) | onClickItem({ detail }) { method onClickNavMulti (line 103) | onClickNavMulti({ detail }) { method onClickItemMulti (line 109) | onClickItemMulti({ detail }) { FILE: packages/tree-select/index.ts method onSelectItem (line 44) | onSelectItem(event: WechatMiniprogram.TouchEvent) { method onClickNav (line 60) | onClickNav(event: WechatMiniprogram.CustomEvent) { method updateSubItems (line 69) | updateSubItems() { FILE: packages/uploader/demo/index.ts method beforeRead (line 31) | beforeRead(event) { method afterRead (line 41) | afterRead(event) { method oversize (line 49) | oversize() { method delete (line 53) | delete(event) { method clickPreview (line 60) | clickPreview() {} method uploadToCloud (line 62) | uploadToCloud() { method uploadFilePromise (line 87) | uploadFilePromise(fileName, chooseResult) { FILE: packages/uploader/index.ts method formatFileList (line 79) | formatFileList() { method getDetail (line 91) | getDetail(index?: number) { method startUpload (line 98) | startUpload() { method onBeforeRead (line 115) | onBeforeRead(file: File) { method onAfterRead (line 146) | onAfterRead(file) { method deleteItem (line 164) | deleteItem(event) { method onPreviewImage (line 173) | onPreviewImage(event) { method onPreviewVideo (line 190) | onPreviewVideo(event) { method onPreviewFile (line 220) | onPreviewFile(event: WechatMiniprogram.TouchEvent) { method onClickPreview (line 231) | onClickPreview(event) { FILE: packages/uploader/utils.ts type File (line 4) | interface File { function isImageFile (line 15) | function isImageFile(item: File): boolean { function isVideoFile (line 31) | function isVideoFile(item: File): boolean { function formatImage (line 47) | function formatImage( function formatVideo (line 60) | function formatVideo( function formatMedia (line 73) | function formatMedia(res: WechatMiniprogram.ChooseMediaSuccessCallbackRe... function formatFile (line 83) | function formatFile( function chooseFile (line 92) | function chooseFile({