{"version":3,"sources":["jsdelivr-header.js","/npm/uview-ui@2.0.35/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACLA,MAAM,+BAAiC,CAAC,EAAG,UAAY,gCAAgC,YAKhF,UAAW,+BAEX,YAAa,iCAEb,YAAa,6BAGb,UAAW,8BAEX,kBAAmB,0CAGnB,SAAU,iCAEV,aAAc,qCAEd,aAAc,qCAEd,UAAW,kCAGX,WAAY,iCAEZ,UAAW,gCAEX,WAAY,iCAEZ,UAAW,gCAEX,aAAc,2BAErB,MAAM,GAAK,CACP,YACA,KAAM,MAAM,WACZ,cAAe,cAAc,cAC7B,SAAU,cAAc,SACxB,SAAU,cAAc,SACxB,YAAa,cAAc,YAC3B,UACA,KAAM,CAAC,UAAW,UAAW,QAAS,UAAW,QACjD,KAAM,IAAI,QACV,cACA,cACA,kBACA,kBACA,YACA,gBACA,eACG,MACH,YACA,mBAIJ,IAAI,GAAK,GAET,MAAM,QAAW,IAEb,EAAI,OAAO,cAAc,CAAC,EAAW,IAAW,IAAI,GAAG,WAAW,EAAW,KAC7E,EAAI,OAAO,QAAQ,CAAC,EAAW,IAAW,IAAI,GAAG,WAAW,EAAW,KAEvE,EAAI,OAAO,YAAY,CAAC,EAAW,IAAW,IAAI,GAAG,SAAS,EAAW,KAIzE,EAAI,UAAU,GAAK,GACnB,EAAI,MAAM,MAAK,gBAIJ,CACX","file":"/npm/uview-ui@2.0.35/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/uview-ui@2.0.35/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// 看到此报错，是因为没有配置vue.config.js的【transpileDependencies】，详见：https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置\nconst pleaseSetTranspileDependencies = {}, babelTest = pleaseSetTranspileDependencies?.test\n\n\n\n// 引入全局mixin\nimport mixin from './libs/mixin/mixin.js'\n// 小程序特有的mixin\nimport mpMixin from './libs/mixin/mpMixin.js'\n// 全局挂载引入http相关请求拦截插件\nimport Request from './libs/luch-request'\n\n// 路由封装\nimport route from './libs/util/route.js'\n// 颜色渐变相关,colorGradient-颜色渐变,hexToRgb-十六进制颜色转rgb颜色,rgbToHex-rgb转十六进制\nimport colorGradient from './libs/function/colorGradient.js'\n\n// 规则检验\nimport test from './libs/function/test.js'\n// 防抖方法\nimport debounce from './libs/function/debounce.js'\n// 节流方法\nimport throttle from './libs/function/throttle.js'\n// 公共文件写入的方法\nimport index from './libs/function/index.js'\n\n// 配置信息\nimport config from './libs/config/config.js'\n// props配置信息\nimport props from './libs/config/props.js'\n// 各个需要fixed的地方的z-index配置文件\nimport zIndex from './libs/config/zIndex.js'\n// 关于颜色的配置，特殊场景使用\nimport color from './libs/config/color.js'\n// 平台\nimport platform from './libs/function/platform'\n\nconst $u = {\n    route,\n    date: index.timeFormat, // 另名date\n    colorGradient: colorGradient.colorGradient,\n    hexToRgb: colorGradient.hexToRgb,\n    rgbToHex: colorGradient.rgbToHex,\n    colorToRgba: colorGradient.colorToRgba,\n    test,\n    type: ['primary', 'success', 'error', 'warning', 'info'],\n    http: new Request(),\n    config, // uView配置信息相关，比如版本号\n    zIndex,\n    debounce,\n    throttle,\n    mixin,\n    mpMixin,\n    props,\n    ...index,\n    color,\n    platform\n}\n\n// $u挂载到uni对象上\nuni.$u = $u\n\nconst install = (Vue) => {\n    // 时间格式化，同时两个名称，date和timeFormat\n    Vue.filter('timeFormat', (timestamp, format) => uni.$u.timeFormat(timestamp, format))\n    Vue.filter('date', (timestamp, format) => uni.$u.timeFormat(timestamp, format))\n    // 将多久以前的方法，注入到全局过滤器\n    Vue.filter('timeFrom', (timestamp, format) => uni.$u.timeFrom(timestamp, format))\n    // 同时挂载到uni和Vue.prototype中\n    // #ifndef APP-NVUE\n    // 只有vue，挂载到Vue.prototype才有意义，因为nvue中全局Vue.prototype和Vue.mixin是无效的\n    Vue.prototype.$u = $u\n    Vue.mixin(mixin)\n    // #endif\n}\n\nexport default {\n    install\n}\n"]}