Files
supplier-dispatch-h5/node_modules/.cache/babel-loader/d02f1767a2f4ed5d5715697637e2c2eef00ff5441608fd11eab22c8383ce4c63.json
2023-08-11 10:45:20 +08:00

1 line
1.5 KiB
JSON

{"ast":null,"code":"var camelizeRE = /-(\\w)/g;\nexport function camelize(str) {\n return str.replace(camelizeRE, function (_, c) {\n return c.toUpperCase();\n });\n}\nexport function padZero(num, targetLength) {\n if (targetLength === void 0) {\n targetLength = 2;\n }\n var str = num + '';\n while (str.length < targetLength) {\n str = '0' + str;\n }\n return str;\n}","map":{"version":3,"names":["camelizeRE","camelize","str","replace","_","c","toUpperCase","padZero","num","targetLength","length"],"sources":["C:/Users/zhouxueli/Desktop/scheduling-app/node_modules/vant/es/utils/format/string.js"],"sourcesContent":["var camelizeRE = /-(\\w)/g;\nexport function camelize(str) {\n return str.replace(camelizeRE, function (_, c) {\n return c.toUpperCase();\n });\n}\nexport function padZero(num, targetLength) {\n if (targetLength === void 0) {\n targetLength = 2;\n }\n\n var str = num + '';\n\n while (str.length < targetLength) {\n str = '0' + str;\n }\n\n return str;\n}"],"mappings":"AAAA,IAAIA,UAAU,GAAG,QAAQ;AACzB,OAAO,SAASC,QAAQA,CAACC,GAAG,EAAE;EAC5B,OAAOA,GAAG,CAACC,OAAO,CAACH,UAAU,EAAE,UAAUI,CAAC,EAAEC,CAAC,EAAE;IAC7C,OAAOA,CAAC,CAACC,WAAW,CAAC,CAAC;EACxB,CAAC,CAAC;AACJ;AACA,OAAO,SAASC,OAAOA,CAACC,GAAG,EAAEC,YAAY,EAAE;EACzC,IAAIA,YAAY,KAAK,KAAK,CAAC,EAAE;IAC3BA,YAAY,GAAG,CAAC;EAClB;EAEA,IAAIP,GAAG,GAAGM,GAAG,GAAG,EAAE;EAElB,OAAON,GAAG,CAACQ,MAAM,GAAGD,YAAY,EAAE;IAChCP,GAAG,GAAG,GAAG,GAAGA,GAAG;EACjB;EAEA,OAAOA,GAAG;AACZ"},"metadata":{},"sourceType":"module","externalDependencies":[]}