mp-colorui
Version:
MP ColorUI 是一款基于 Taro 框架并且联合 Color-UI CSS 库开发的多端 UI 组件库(支持小程序端和H5端)
573 lines (497 loc) • 28.4 kB
JavaScript
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["components/imagePicker/index"],{
/***/ "./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js?!./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT&":
/*!*****************************************************************************************************************************************************************!*\
!*** ./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js??ref--4-0!./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT& ***!
\*****************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
var _taroWeapp = __webpack_require__(/*! @tarojs/taro-weapp */ "./node_modules/@tarojs/taro-weapp/index.js");
var _taroWeapp2 = _interopRequireDefault(_taroWeapp);
var _index = __webpack_require__(/*! ../../lib/index */ "./src/lib/index.ts");
__webpack_require__(/*! ./index.scss */ "./src/components/imagePicker/index.scss");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var ClImagePicker = function (_Taro$Component) {
_inherits(ClImagePicker, _Taro$Component);
function ClImagePicker() {
var _ref;
var _temp, _this, _ret;
_classCallCheck(this, ClImagePicker);
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ClImagePicker.__proto__ || Object.getPrototypeOf(ClImagePicker)).call.apply(_ref, [this].concat(args))), _this), _this.$usedState = ["anonymousState__temp13", "anonymousState__temp14", "anonymousState__temp15", "loopArray114", "imgList", "maxPic", "chooseImgObj", "max", "__fn_call", "beforeDel", "className", "style"], _this.anonymousFunc0Map = {}, _this.anonymousFunc1Map = {}, _this.customComponents = ["ClIcon"], _temp), _possibleConstructorReturn(_this, _ret);
}
_createClass(ClImagePicker, [{
key: "_constructor",
value: function _constructor(props) {
_get(ClImagePicker.prototype.__proto__ || Object.getPrototypeOf(ClImagePicker.prototype), "_constructor", this).call(this, props);
this.state = {
imgList: props.imgList || []
};
this.$$refs = new _taroWeapp2.default.RefsArray();
}
}, {
key: "ChooseImage",
value: function ChooseImage() {
var _this2 = this;
var _props = this.props,
chooseImgObj = _props.chooseImgObj,
max = _props.max;
var imgList = this.state.imgList;
var maxPic = max || 0;
var chooseImg = chooseImgObj;
_taroWeapp2.default.chooseImage({
count: chooseImg.count || 9,
sizeType: chooseImg.sizeType || ["original", "compressed"],
sourceType: chooseImg.sourceType || ["album"],
success: function success(res) {
var selectArray = res.tempFilePaths.map(function (url) {
return {
url: url,
status: "none"
};
});
selectArray.forEach(function (item) {
if (!imgList.find(function (obj) {
return item.url === obj.url;
})) {
if (maxPic) {
maxPic > imgList.length && imgList.push(item);
} else {
imgList.push(item);
}
}
});
_this2.setState({
imgList: imgList
});
chooseImg.success && chooseImg.success.call(_this2, imgList);
},
fail: function fail() {
chooseImg.fail && chooseImg.fail.call(this, imgList);
},
complete: function complete() {
chooseImg.complete && chooseImg.complete.call(this, imgList);
}
});
}
}, {
key: "viewImage",
value: function viewImage(url) {
_taroWeapp2.default.previewImage({
urls: this.state.imgList.map(function (item) {
return item.url;
}),
current: url
});
}
}, {
key: "delImg",
value: function delImg(index) {
var _this3 = this;
var flag = true;
var imgList = this.state.imgList;
var del = function del(index) {
imgList.splice(index, 1);
_this3.setState({
imgList: imgList
});
};
new Promise(function (resolve) {
if (_this3.props.beforeDel) {
resolve(_this3.props.beforeDel(index));
} else {
del(index);
}
}).then(function (res) {
flag = res;
if (flag) {
del(index);
}
});
}
}, {
key: "_createData",
value: function _createData() {
var _this4 = this;
this.__state = arguments[0] || this.state || {};
this.__props = arguments[1] || this.props || {};
var __isRunloopRef = arguments[2];
var __prefix = this.$prefix;
;
var _props2 = this.__props,
className = _props2.className,
style = _props2.style,
max = _props2.max;
var imgList = this.__state.imgList;
// const chooseImg = chooseImgObj || {};
var maxPic = max || 0;
var anonymousState__temp13 = (0, _index.classNames)("cu-form-group", className);
var anonymousState__temp14 = (0, _taroWeapp.internal_inline_style)(Object.assign({}, style));
var anonymousState__temp15 = maxPic === 0 || maxPic !== imgList.length ? (0, _taroWeapp.internal_inline_style)({ borderRadius: "6px" }) : null;
var loopArray114 = imgList.map(function (item, index) {
item = {
$original: (0, _taroWeapp.internal_get_original)(item)
};
var $loopState__temp2 = (0, _taroWeapp.internal_inline_style)({ borderRadius: "6px", position: "relative" });
var _$indexKey = "cfgzz" + index;
_this4.anonymousFunc0Map[_$indexKey] = function () {
_this4.viewImage.call(_this4, item.$original.url);
};
var $loopState__temp4 = (0, _taroWeapp.internal_inline_style)({
width: "100%",
position: "absolute",
left: "50%",
top: "50%",
right: "0",
bottom: "0",
transform: "translate(-50%, -50%)"
});
var _$indexKey2 = "cfhzz" + index;
_this4.anonymousFunc1Map[_$indexKey2] = function (e) {
e.stopPropagation();
_this4.delImg.call(_this4, index);
};
var $loopState__temp6 = item.$original.status === "none" && !item.$original.disabled ? (0, _taroWeapp.internal_inline_style)({
backgroundColor: "rgba(355, 355, 355, 0.8)"
}) : null;
var $loopState__temp8 = (0, _taroWeapp.internal_inline_style)({
backgroundColor: "rgba(355, 355, 355, 0.8)",
display: "" + (item.$original.status === "fail" ? "" : "none")
});
var $loopState__temp10 = (0, _taroWeapp.internal_inline_style)({
backgroundColor: "rgba(355, 355, 355, 0.8)",
display: "" + (item.$original.status === "success" ? "" : "none")
});
var $loopState__temp12 = (0, _taroWeapp.internal_inline_style)({
backgroundColor: "rgba(355, 355, 355, 0.8)",
display: "" + (item.$original.status === "loading" ? "" : "none")
});
var _genCompid = (0, _taroWeapp.genCompid)(__prefix + "cfizzzzzzz" + index, true),
_genCompid2 = _slicedToArray(_genCompid, 2),
$prevCompid__1581 = _genCompid2[0],
$compid__1581 = _genCompid2[1];
item.$original.status === "none" && !item.$original.disabled && _taroWeapp.propsManager.set({
"iconName": "close",
"color": "black",
"size": "xsmall"
}, $compid__1581, $prevCompid__1581);
var _genCompid3 = (0, _taroWeapp.genCompid)(__prefix + "cfjzzzzzzz" + index, true),
_genCompid4 = _slicedToArray(_genCompid3, 2),
$prevCompid__1582 = _genCompid4[0],
$compid__1582 = _genCompid4[1];
_taroWeapp.propsManager.set({
"iconName": "warnfill",
"size": "xsmall",
"color": "red"
}, $compid__1582, $prevCompid__1582);
var _genCompid5 = (0, _taroWeapp.genCompid)(__prefix + "cgazzzzzzz" + index, true),
_genCompid6 = _slicedToArray(_genCompid5, 2),
$prevCompid__1583 = _genCompid6[0],
$compid__1583 = _genCompid6[1];
_taroWeapp.propsManager.set({
"iconName": "roundcheckfill",
"size": "xsmall",
"color": "olive"
}, $compid__1583, $prevCompid__1583);
var _genCompid7 = (0, _taroWeapp.genCompid)(__prefix + "cgbzzzzzzz" + index, true),
_genCompid8 = _slicedToArray(_genCompid7, 2),
$prevCompid__1584 = _genCompid8[0],
$compid__1584 = _genCompid8[1];
_taroWeapp.propsManager.set({
"iconName": "loading",
"size": "xsmall",
"color": "blue"
}, $compid__1584, $prevCompid__1584);
return {
$loopState__temp2: $loopState__temp2,
_$indexKey: _$indexKey,
$loopState__temp4: $loopState__temp4,
_$indexKey2: _$indexKey2,
$loopState__temp6: $loopState__temp6,
$loopState__temp8: $loopState__temp8,
$loopState__temp10: $loopState__temp10,
$loopState__temp12: $loopState__temp12,
$compid__1581: $compid__1581,
$compid__1582: $compid__1582,
$compid__1583: $compid__1583,
$compid__1584: $compid__1584,
$original: item.$original
};
});
Object.assign(this.__state, {
anonymousState__temp13: anonymousState__temp13,
anonymousState__temp14: anonymousState__temp14,
anonymousState__temp15: anonymousState__temp15,
loopArray114: loopArray114,
maxPic: maxPic
});
return this.__state;
}
}, {
key: "anonymousFunc0",
value: function anonymousFunc0(_$indexKey) {
var _anonymousFunc0Map;
;
for (var _len2 = arguments.length, e = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
e[_key2 - 1] = arguments[_key2];
}
return this.anonymousFunc0Map[_$indexKey] && (_anonymousFunc0Map = this.anonymousFunc0Map)[_$indexKey].apply(_anonymousFunc0Map, e);
}
}, {
key: "anonymousFunc1",
value: function anonymousFunc1(_$indexKey2) {
var _anonymousFunc1Map;
for (var _len3 = arguments.length, e = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
e[_key3 - 1] = arguments[_key3];
}
(typeof e === "undefined" ? "undefined" : _typeof(e)) === 'object' && e.stopPropagation && e.stopPropagation();
return this.anonymousFunc1Map[_$indexKey2] && (_anonymousFunc1Map = this.anonymousFunc1Map)[_$indexKey2].apply(_anonymousFunc1Map, e);
}
}]);
return ClImagePicker;
}(_taroWeapp2.default.Component);
ClImagePicker.$$events = ["anonymousFunc0", "anonymousFunc1", "ChooseImage"];
ClImagePicker.$$componentPath = "components/imagePicker/index";
ClImagePicker.options = {
addGlobalClass: true
};
ClImagePicker.defaultProps = {
beforeDel: function beforeDel(index) {
return true;
},
max: 0
};
// export default function ClImagePicker(props: IProps) {
// const chooseImgObj = props.chooseImgObj || {};
// const maxPic = props.max || 0;
// const [imgList, setImgList] = useState(() => {
// const tempImg = props.imgList || [];
// return [...tempImg];
// });
// const ChooseImage = () => {
// Taro.chooseImage({
// count: chooseImgObj.count || 9,
// sizeType: chooseImgObj.sizeType || ["original", "compressed"],
// sourceType: chooseImgObj.sourceType || ["album"],
// success: res => {
// console.log(res);
// const selectArray: imgListType = res.tempFilePaths.map(url => ({
// url,
// status: "none"
// }));
// selectArray.forEach(item => {
// if (!imgList.find(obj => item.url === obj.url)) {
// if (maxPic) {
// maxPic > imgList.length && imgList.push(item);
// } else {
// imgList.push(item);
// }
// }
// });
// setImgList(imgList);
// chooseImgObj.success && chooseImgObj.success.call(this, imgList);
// },
// fail() {
// chooseImgObj.fail && chooseImgObj.fail.call(this, imgList);
// },
// complete() {
// chooseImgObj.complete && chooseImgObj.complete.call(this, imgList);
// }
// });
// };
// const viewImage = (url: string) => {
// Taro.previewImage({
// urls: imgList.map(item => item.url),
// current: url
// });
// };
// const delImg = (index: number) => {
// let flag = true;
// const del = (index: number) => {
// imgList.splice(index, 1);
// setImgList(imgList);
// };
// new Promise(resolve => {
// if (props.beforeDel) {
// resolve(props.beforeDel(index));
// } else {
// del(index);
// }
// }).then((res: boolean) => {
// flag = res;
// if (flag) {
// del(index);
// }
// });
// };
// const imgComponent = imgList.map((item, index) => (
// <View
// className="padding-xs bg-img bg-gray"
// key={item.url}
// style={{ borderRadius: "6px", position: "relative" }}
// onClick={() => {
// viewImage(item.url);
// }}
// >
// <Image
// src={item.url}
// mode="widthFix"
// style={{
// width: "100%",
// position: "absolute",
// left: "0",
// top: "0",
// right: "0",
// bottom: "0",
// display: "flex",
// justifyContent: "center",
// alignItems: "center"
// }}
// />
// {item.status === "none" ? (
// <View
// className="cu-tag bg-red"
// onClick={e => {
// e.stopPropagation();
// delImg(index);
// }}
// style={{ backgroundColor: "rgba(355, 355, 355, 0.8)" }}
// >
// <ClIcon iconName="close" color="black" size="xsmall" />
// </View>
// ) : (
// ""
// )}
// {
// <View
// className="cu-tag"
// style={{
// backgroundColor: "rgba(355, 355, 355, 0.8)",
// display: `${item.status === "fail" ? "" : "none"}`
// }}
// >
// <ClIcon iconName="warnfill" size="xsmall" color="red" />
// </View>
// }
// {
// <View
// className="cu-tag"
// style={{
// backgroundColor: "rgba(355, 355, 355, 0.8)",
// display: `${item.status === "success" ? "" : "none"}`
// }}
// >
// <ClIcon iconName="roundcheckfill" size="xsmall" color="olive" />
// </View>
// }
// {
// <View
// className="cu-tag"
// style={{
// backgroundColor: "rgba(355, 355, 355, 0.8)",
// display: `${item.status === "loading" ? "" : "none"}`
// }}
// >
// <View className="imagePicker-rotate-360">
// <ClIcon iconName="loading" size="xsmall" color="blue" />
// </View>
// </View>
// }
// </View>
// ));
// return (
// <View
// className={classNames("cu-form-group", props.className)}
// style={Object.assign({}, props.style)}
// >
// <View className="grid col-4 grid-square flex-sub">
// {imgComponent}
// {(maxPic === 0 || maxPic !== imgList.length) && (
// <View
// className="padding-xs bg-gray"
// onClick={ChooseImage}
// style={{ borderRadius: "6px" }}
// >
// <Text className="cuIcon-cameraadd" />
// </View>
// )}
// </View>
// </View>
// );
// }
// ClImagePicker.defaultProps = {
// beforeDel: index => true,
// max: 0
// } as IProps;
// ClImagePicker.options = {
// addGlobalClass: true
// };
exports.default = ClImagePicker;
Component(__webpack_require__(/*! @tarojs/taro-weapp */ "./node_modules/@tarojs/taro-weapp/index.js").default.createComponent(ClImagePicker));
/***/ }),
/***/ "./node_modules/file-loader/dist/cjs.js?name=[path][name].wxml&context=/Users/jinbai/Documents/develop/github/mp-colorui-old/mp-colorui/src!./node_modules/@tarojs/mini-runner/dist/loaders/miniTemplateLoader.js!./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js?!./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT&":
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/file-loader/dist/cjs.js?name=[path][name].wxml&context=/Users/jinbai/Documents/develop/github/mp-colorui-old/mp-colorui/src!./node_modules/@tarojs/mini-runner/dist/loaders/miniTemplateLoader.js!./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js??ref--4-0!./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT& ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__.p + "components/imagePicker/index.wxml";
/***/ }),
/***/ "./src/components/imagePicker/index.scss":
/*!***********************************************!*\
!*** ./src/components/imagePicker/index.scss ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/***/ "./src/components/imagePicker/index.tsx":
/*!**********************************************!*\
!*** ./src/components/imagePicker/index.tsx ***!
\**********************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.tsx?taro&type=template&parse=COMPONENT& */ "./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT&");
/* harmony import */ var _index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.tsx?taro&type=script&parse=COMPONENT& */ "./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT&");
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/***/ }),
/***/ "./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT&":
/*!********************************************************************************!*\
!*** ./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT& ***!
\********************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js??ref--4-0!./index.tsx?taro&type=script&parse=COMPONENT& */ "./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js?!./src/components/imagePicker/index.tsx?taro&type=script&parse=COMPONENT&");
/* harmony import */ var _node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_script_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ "./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT&":
/*!**********************************************************************************!*\
!*** ./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT& ***!
\**********************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_file_loader_dist_cjs_js_name_path_name_wxml_context_Users_jinbai_Documents_develop_github_mp_colorui_old_mp_colorui_src_node_modules_tarojs_mini_runner_dist_loaders_miniTemplateLoader_js_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/file-loader/dist/cjs.js?name=[path][name].wxml&context=/Users/jinbai/Documents/develop/github/mp-colorui-old/mp-colorui/src!../../../node_modules/@tarojs/mini-runner/dist/loaders/miniTemplateLoader.js!../../../node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js??ref--4-0!./index.tsx?taro&type=template&parse=COMPONENT& */ "./node_modules/file-loader/dist/cjs.js?name=[path][name].wxml&context=/Users/jinbai/Documents/develop/github/mp-colorui-old/mp-colorui/src!./node_modules/@tarojs/mini-runner/dist/loaders/miniTemplateLoader.js!./node_modules/@tarojs/mini-runner/dist/loaders/wxTransformerLoader.js?!./src/components/imagePicker/index.tsx?taro&type=template&parse=COMPONENT&");
/* harmony import */ var _node_modules_file_loader_dist_cjs_js_name_path_name_wxml_context_Users_jinbai_Documents_develop_github_mp_colorui_old_mp_colorui_src_node_modules_tarojs_mini_runner_dist_loaders_miniTemplateLoader_js_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_file_loader_dist_cjs_js_name_path_name_wxml_context_Users_jinbai_Documents_develop_github_mp_colorui_old_mp_colorui_src_node_modules_tarojs_mini_runner_dist_loaders_miniTemplateLoader_js_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_file_loader_dist_cjs_js_name_path_name_wxml_context_Users_jinbai_Documents_develop_github_mp_colorui_old_mp_colorui_src_node_modules_tarojs_mini_runner_dist_loaders_miniTemplateLoader_js_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_file_loader_dist_cjs_js_name_path_name_wxml_context_Users_jinbai_Documents_develop_github_mp_colorui_old_mp_colorui_src_node_modules_tarojs_mini_runner_dist_loaders_miniTemplateLoader_js_node_modules_tarojs_mini_runner_dist_loaders_wxTransformerLoader_js_ref_4_0_index_tsx_taro_type_template_parse_COMPONENT___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/***/ })
},[["./src/components/imagePicker/index.tsx","runtime","taro","vendors","common"]]]);