TraceabilityAPP/node_modules/.vite/deps/uview-plus.js.map

8 lines
241 KiB
Plaintext
Raw Normal View History

2023-10-17 16:02:55 +08:00
{
"version": 3,
"sources": ["../../uview-plus/libs/mixin/mixin.js", "../../uview-plus/libs/mixin/mpMixin.js", "../../uview-plus/libs/luch-request/utils.js", "../../uview-plus/libs/luch-request/helpers/buildURL.js", "../../uview-plus/libs/luch-request/helpers/isAbsoluteURL.js", "../../uview-plus/libs/luch-request/helpers/combineURLs.js", "../../uview-plus/libs/luch-request/core/buildFullPath.js", "../../uview-plus/libs/luch-request/core/settle.js", "../../uview-plus/libs/luch-request/adapters/index.js", "../../uview-plus/libs/luch-request/core/dispatchRequest.js", "../../uview-plus/libs/luch-request/core/InterceptorManager.js", "../../uview-plus/libs/luch-request/core/mergeConfig.js", "../../uview-plus/libs/luch-request/core/defaults.js", "../../uview-plus/libs/luch-request/utils/clone.js", "../../uview-plus/libs/luch-request/core/Request.js", "../../uview-plus/libs/luch-request/index.js", "../../uview-plus/libs/util/route.js", "../../uview-plus/libs/function/colorGradient.js", "../../uview-plus/libs/function/test.js", "../../uview-plus/libs/function/debounce.js", "../../uview-plus/libs/function/throttle.js", "../../uview-plus/libs/function/digit.js", "../../uview-plus/libs/function/index.js", "../../uview-plus/libs/config/config.js", "../../uview-plus/libs/config/props/actionSheet.js", "../../uview-plus/libs/config/props/album.js", "../../uview-plus/libs/config/props/alert.js", "../../uview-plus/libs/config/props/avatar.js", "../../uview-plus/libs/config/props/avatarGroup.js", "../../uview-plus/libs/config/props/backtop.js", "../../uview-plus/libs/config/props/badge.js", "../../uview-plus/libs/config/props/button.js", "../../uview-plus/libs/config/props/calendar.js", "../../uview-plus/libs/config/props/carKeyboard.js", "../../uview-plus/libs/config/props/cell.js", "../../uview-plus/libs/config/props/cellGroup.js", "../../uview-plus/libs/config/props/checkbox.js", "../../uview-plus/libs/config/props/checkboxGroup.js", "../../uview-plus/libs/config/props/circleProgress.js", "../../uview-plus/libs/config/props/code.js", "../../uview-plus/libs/config/props/codeInput.js", "../../uview-plus/libs/config/props/col.js", "../../uview-plus/libs/config/props/collapse.js", "../../uview-plus/libs/config/props/collapseItem.js", "../../uview-plus/libs/config/props/columnNotice.js", "../../uview-plus/libs/config/props/countDown.js", "../../uview-plus/libs/config/props/countTo.js", "../../uview-plus/libs/config/props/datetimePicker.js", "../../uview-plus/libs/config/props/divider.js", "../../uview-plus/libs/config/props/empty.js", "../../uview-plus/libs/config/props/form.js", "../../uview-plus/libs/config/props/formItem.js", "../../uview-plus/libs/config/props/gap.js", "../../uview-plus/libs/config/props/grid.js", "../../uview-plus/libs/config/props/gridItem.js", "../../uview-plus/libs/config/props/icon.js", "../../uview-plus/libs/config/props/image.js", "../../uview-plus/libs/config/props/indexAnchor.js", "../../uview-plus/libs/config/props/indexList.js", "../../uview-plus/libs/config/props/input.js", "../../uview-plus/libs/config/props/keyboard.js", "../../uview-plus/libs/config/props/line.js", "../../uview-plus/libs/config/props/lineProgress.js", "../../uview-plus/libs/config/props/link.js", "../../uview-plus/libs/config/props/list.js", "../../uview-plus/libs/config/props/listItem.js", "../../uview-plus/libs/config/props/loadingIcon.js", "../../uview-plus/libs/config/props/loadingPage.js", "../../uview-plus/libs/config/props/loadmore.js", "../../uview-plus/libs/config/props/modal.js", "../../uview-plus/libs/config/color.js", "../../uview-plus/libs/config/props/navbar.js", "../../uview-plus/libs/config/props/noNetwork.js", "../../uview-plus/libs/config/props/noticeBar.js", "../../uview-plus/libs/config/props/notify.js", "../../uview-plus/libs/config/props/numberBox.js", "../../uview-plus/libs/config/props/numberKeyboard.js", "../../uview-plus/libs/config/props/overlay.js", "../../uview-plus/libs/config/props/parse.js", "../../uview-plus/libs/config/props/picker.js", "../../uview-plus/libs/config/props/popup.js", "../../uview-plus/libs/config/props/r
"sourcesContent": ["export default {\r\n // 定义每个组件都可能需要用到的外部样式以及类名\r\n props: {\r\n // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式\r\n customStyle: {\r\n type: [Object, String],\r\n default: () => ({})\r\n },\r\n customClass: {\r\n type: String,\r\n default: ''\r\n },\r\n // 跳转的页面路径\r\n url: {\r\n type: String,\r\n default: ''\r\n },\r\n // 页面跳转的类型\r\n linkType: {\r\n type: String,\r\n default: 'navigateTo'\r\n }\r\n },\r\n data() {\r\n return {}\r\n },\r\n onLoad() {\r\n // getRect挂载到$u上因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出\r\n this.$u.getRect = this.$uGetRect\r\n },\r\n created() {\r\n // 组件当中只有created声明周期为了能在组件使用故也在created中将方法挂载到$u\r\n this.$u.getRect = this.$uGetRect\r\n },\r\n computed: {\r\n // 在2.x版本中将会把$u挂载到uni对象下导致在模板中无法使用uni.$u.xxx形式\r\n // 所以这里通过computed计算属性将其附加到this.$u上就可以在模板或者js中使用uni.$u.xxx\r\n // 只在nvue环境通过此方式引入完整的$u其他平台会出现性能问题非nvue则按需引入主要原因是props过大\r\n $u() {\r\n\r\n // 在非nvue端移除propshttpmixin等对象避免在小程序setData时数据过大影响性能\r\n return uni.$u.deepMerge(uni.$u, {\r\n props: undefined,\r\n http: undefined,\r\n mixin: undefined\r\n })\r\n\r\n\r\n\r\n\r\n },\r\n /**\r\n * 生成bem规则类名\r\n * 由于微信小程序H5nvue之间绑定class的差异无法通过:class=\"[bem()]\"的形式进行同用\r\n * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式\r\n * @param {String} name 组件名称\r\n * @param {Array} fixed 一直会存在的类名\r\n * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名\r\n * @returns {Array|string}\r\n */\r\n bem() {\r\n return function (name, fixed, change) {\r\n // 类名前缀\r\n const prefix = `u-${name}--`\r\n const classes = {}\r\n if (fixed) {\r\n fixed.map((item) => {\r\n // 这里的类名,会一直存在\r\n classes[prefix + this[item]] = true\r\n })\r\n }\r\n if (change) {\r\n change.map((item) => {\r\n // 这里的类名会根据this[item]的值为true或者false而进行添加或者移除某一个类\r\n this[item] ? (classes[prefix + item] = this[item]) : (delete classes[prefix + item])\r\n })\r\n }\r\n return Object.keys(classes)\r\n // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有\",\",而导致失效\r\n\r\n\r\n\r\n }\r\n }\r\n },\r\n methods: {\r\n // 跳转某一个页面\r\n openPage(urlKey = 'url') {\r\n const url = this[urlKey]\r\n if (url) {\r\n // h5官方回应发行h5会自动摇树优化所有使用uni的地方都会被直接转换成具体的API调用 https://ask.dcloud.net.cn/question/161523?notification_id-1201922__rf-false__item_id-226372\r\n // 使用封装的 route 进行跳转(直接调用方法),不
2023-10-17 16:02:55 +08:00
"mappings": ";AAAA,IAAO,gBAAQ;AAAA;AAAA,EAEX,OAAO;AAAA;AAAA,IAEH,aAAa;AAAA,MACT,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS,OAAO,CAAC;AAAA,IACrB;AAAA,IACA,aAAa;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACb;AAAA;AAAA,IAEA,KAAK;AAAA,MACD,MAAM;AAAA,MACN,SAAS;AAAA,IACb;AAAA;AAAA,IAEA,UAAU;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACb;AAAA,EACJ;AAAA,EACA,OAAO;AACH,WAAO,CAAC;AAAA,EACZ;AAAA,EACA,SAAS;AAEL,SAAK,GAAG,UAAU,KAAK;AAAA,EAC3B;AAAA,EACA,UAAU;AAEN,SAAK,GAAG,UAAU,KAAK;AAAA,EAC3B;AAAA,EACA,UAAU;AAAA;AAAA;AAAA;AAAA,IAIN,KAAK;AAGD,aAAO,IAAI,GAAG,UAAU,IAAI,IAAI;AAAA,QAC5B,OAAO;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MACX,CAAC;AAAA,IAKL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUA,MAAM;AACF,aAAO,SAAU,MAAM,OAAO,QAAQ;A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;AAE1C,MAAI,CAAC,QAAQ;AACT,WAAOA;AAAA,EACX;AAEA,MAAI;AACJ,MAAU,kBAAkB,MAAM,GAAG;AACjC,uBAAmB,OAAO,SAAS;AAAA,EACvC,OAAO;AACH,UAAM,QAAQ,CAAC;AAEf,IAAM,QAAQ,QAAQ,CAAC,KAAK,QAAQ;AAChC,UAAI,QAAQ,QAAQ,OAAO,QAAQ,aAAa;AAC5C;AAAA,MACJ;AAEA,UAAU,QAAQ,GAAG,GAAG;AACpB,cAAM,GAAG;AAAA,MACb,OAAO;AACH,cAA
"names": ["url", "url", "url", "validateStatus", "forEach", "mergeKeys", "clone", "parent", "depth", "promise", "url", "url", "color", "func", "func", "range", "string", "deepMerge", "array", "times", "date", "timer", "number", "key", "pages", "color", "color", "color", "color", "color"]
}