@tarojs/components 4.1.8-beta.2 → 4.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,39 +5,6 @@ const index$1 = require('./index-b873e40f.js');
5
5
 
6
6
  const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%;position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{position:absolute;left:50%;transform:translate(-50%)}.taro-img__mode-bottom{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.taro-img__mode-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-left{position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-right{position:absolute;top:50%;right:0;transform:translateY(-50%)}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}";
7
7
 
8
- // CDN脚本URL
9
- const LEGO_CDN_URL = 'http://ossin.jd.com/swm-plus/h5Tag/tag.js';
10
- // 检查CDN脚本是否已加载
11
- const isLegoScriptLoaded = () => {
12
- return document.querySelector(`script[src="${LEGO_CDN_URL}"]`) !== null;
13
- };
14
- // 插入CDN脚本
15
- const insertLegoScript = () => {
16
- if (isLegoScriptLoaded())
17
- return;
18
- const script = document.createElement('script');
19
- script.type = 'module';
20
- script.src = LEGO_CDN_URL;
21
- document.head.appendChild(script);
22
- };
23
- // 解析lego协议URL
24
- const parseLegoUrl = (src) => {
25
- if (!src.startsWith('lego://'))
26
- return null;
27
- try {
28
- // 移除 'lego://' 前缀
29
- const urlWithoutProtocol = src.substring(7);
30
- // 分割tagId和参数
31
- const [tagId, params] = urlWithoutProtocol.split('?');
32
- // 解析参数
33
- const text = params ? new URLSearchParams(params).get('text') || '' : '';
34
- return { tagId, text };
35
- }
36
- catch (error) {
37
- console.warn('Failed to parse lego URL:', src, error);
38
- return null;
39
- }
40
- };
41
8
  const Image = class {
42
9
  constructor(hostRef) {
43
10
  index.registerInstance(this, hostRef);
@@ -47,16 +14,10 @@ const Image = class {
47
14
  this.mode = 'scaleToFill';
48
15
  this.lazyLoad = false;
49
16
  this.nativeProps = {};
50
- this.lang = undefined;
51
17
  this.aspectFillMode = 'width';
52
18
  this.didLoad = false;
53
19
  }
54
20
  componentDidLoad() {
55
- // 检查是否为lego模式,如果是则确保CDN脚本已加载
56
- const legoData = parseLegoUrl(this.src);
57
- if (legoData !== null) {
58
- insertLegoScript();
59
- }
60
21
  if (!this.lazyLoad)
61
22
  return;
62
23
  const lazyImg = new IntersectionObserver(entries => {
@@ -82,23 +43,15 @@ const Image = class {
82
43
  this.onError.emit(e);
83
44
  }
84
45
  render() {
85
- const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad, lang } = this;
46
+ const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
86
47
  // mode="" 按默认值处理
87
48
  const mode = this.mode || 'scaleToFill';
88
- // 检查是否为lego模式
89
- const legoData = parseLegoUrl(src);
90
- const isLegoMode = legoData !== null;
91
49
  const cls = index$1.classnames({
92
50
  'taro-img__widthfix': mode === 'widthFix'
93
51
  });
94
52
  const imgCls = index$1.classnames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
95
53
  [`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
96
54
  });
97
- // 如果是lego模式,渲染canvas-tag
98
- if (isLegoMode && legoData) {
99
- return (index.h(index.Host, { class: cls }, index.h("canvas-tag", Object.assign({ tagId: legoData.tagId, text: legoData.text, lang: lang }, nativeProps))));
100
- }
101
- // 普通图片模式
102
55
  return (index.h(index.Host, { class: cls }, src ? (index.h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : ''));
103
56
  }
104
57
  };
@@ -33,7 +33,7 @@ const gridBuilder = require('./grid-builder-0757691d.js');
33
33
  const gridView = require('./grid-view-b77da424.js');
34
34
  const script$2 = require('./script-d39c17ed.js');
35
35
  const icon = require('./icon-93e7c472.js');
36
- const image = require('./image-3ec94993.js');
36
+ const image = require('./image-4303ed3a.js');
37
37
  const inlinePaymentPanel = require('./inline-payment-panel-0068d0e4.js');
38
38
  const input = require('./input-f39a63db.js');
39
39
  const keyboardAccessory = require('./keyboard-accessory-d7d227b7.js');
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2.cjs\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2.cjs\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2.cjs\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2.cjs\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2.cjs\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"currentItemId\":[1,\"current-item-id\"],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"effectsProps\":[16],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"observer\":[32]}],[4,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core.cjs\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core.cjs\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core.cjs\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core.cjs\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core.cjs\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core.cjs\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core.cjs\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core.cjs\",[[0,\"taro-block-core\"]]],[\"taro-button-core.cjs\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core.cjs\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core.cjs\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core.cjs\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core.cjs\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core.cjs\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core.cjs\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core.cjs\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core.cjs\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core.cjs\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core.cjs\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-double-tap-gesture-handler-core.cjs\",[[0,\"taro-double-tap-gesture-handler-core\"]]],[\"taro-draggable-sheet-core.cjs\",[[0,\"taro-draggable-sheet-core\"]]],[\"taro-editor-core.cjs\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core.cjs\",[[0,\"taro-follow-swan-core\"]]],[\"taro-force-press-gesture-handler-core.cjs\",[[0,\"taro-force-press-gesture-handler-core\"]]],[\"taro-form-core.cjs\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core.cjs\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-builder-core.cjs\",[[0,\"taro-grid-builder-core\"]]],[\"taro-grid-view-core.cjs\",[[0,\"taro-grid-view-core\"]]],[\"taro-horizontal-drag-gesture-handler-core.cjs\",[[0,\"taro-horizontal-drag-gesture-handler-core\"]]],[\"taro-icon-core.cjs\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core.cjs\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"lang\":[1],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core.cjs\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core.cjs\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"readonly\":[4],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core.cjs\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core.cjs\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core.cjs\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core.cjs\",[[0,\"taro-like-core\"]]],[\"taro-list-builder-core.cjs\",[[0,\"taro-list-builder-core\"]]],[\"taro-list-view-core.cjs\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core.cjs\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core.cjs\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core.cjs\",[[0,\"taro-login-core\"]]],[\"taro-long-press-gesture-handler-core.cjs\",[[0,\"taro-long-press-gesture-handler-core\"]]],[\"taro-lottie-core.cjs\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core.cjs\",[[0,\"taro-map-core\",{\"latitude\":[2],\"longitude\":[2],\"scale\":[2],\"minScale\":[2,\"min-scale\"],\"maxScale\":[2,\"max-scale\"],\"markers\":[16],\"polyline\":[16],\"circles\":[16],\"polygons\":[16],\"subkey\":[1],\"layerStyle\":[2,\"layer-style\"],\"rotate\":[2],\"skew\":[2],\"showCompass\":[4,\"show-compass\"],\"showScale\":[4,\"show-scale\"],\"enableOverlooking\":[4,\"enable-overlooking\"],\"enableZoom\":[4,\"enable-zoom\"],\"enableScroll\":[4,\"enable-scroll\"],\"enableRotate\":[4,\"enable-rotate\"],\"enableSatellite\":[4,\"enable-satellite\"],\"enableTraffic\":[4,\"enable-traffic\"],\"enableBuilding\":[4,\"enable-building\"],\"enableAutoMaxOverlooking\":[4,\"enable-auto-max-overlooking\"],\"enable3D\":[4,\"enable-3-d\"],\"width\":[1],\"height\":[1]}]]],[\"taro-match-media-core.cjs\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core.cjs\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core.cjs\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core.cjs\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-nested-scroll-body-core.cjs\",[[0,\"taro-nested-scroll-body-core\"]]],[\"taro-nested-scroll-header-core.cjs\",[[0,\"taro-nested-scroll-header-core\"]]],[\"taro-official-account-core.cjs\",[[0,\"taro-official-account-core\"]]],[\"taro-open-container-core.cjs\",[[0,\"taro-open-container-core\"]]],[\"taro-open-data-core.cjs\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core.cjs\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core.cjs\",[[0,\"taro-page-meta-core\"]]],[\"taro-pan-gesture-handler-core.cjs\",[[0,\"taro-pan-gesture-handler-core\"]]],[\"taro-progress-core.cjs\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh-core.cjs\",[[4,\"taro-pull-to-refresh-core\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core.cjs\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core.cjs\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core.cjs\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core.cjs\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scale-gesture-handler-core.cjs\",[[0,\"taro-scale-gesture-handler-core\"]]],[\"taro-script-core.cjs\",[[0,\"taro-script-core\"]]],[\"taro-scroll-view-core.cjs\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"enhanced\":[4],\"showScrollbar\":[4,\"show-scrollbar\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[1,\"scroll\",\"handleScroll\"],[1,\"touchmove\",\"handleTouchMove\"]]]]],[\"taro-share-element-core.cjs\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core.cjs\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core.cjs\",[[0,\"taro-slot-core\"]]],[\"taro-snapshot-core.cjs\",[[0,\"taro-snapshot-core\"]]],[\"taro-span-core.cjs\",[[0,\"taro-span-core\"]]],[\"taro-sticky-header-core.cjs\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core.cjs\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core.cjs\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[1028],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core.cjs\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar.cjs\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core.cjs\",[[0,\"taro-tabs-core\"]]],[\"taro-tap-gesture-handler-core.cjs\",[[0,\"taro-tap-gesture-handler-core\"]]],[\"taro-text-core.cjs\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core.cjs\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-vertical-drag-gesture-handler-core.cjs\",[[0,\"taro-vertical-drag-gesture-handler-core\"]]],[\"taro-view-core.cjs\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core.cjs\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core.cjs\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2.cjs\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3.cjs\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
17
+ return index.bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2.cjs\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2.cjs\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2.cjs\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2.cjs\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2.cjs\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"currentItemId\":[1,\"current-item-id\"],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"effectsProps\":[16],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"observer\":[32]}],[4,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core.cjs\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core.cjs\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core.cjs\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core.cjs\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core.cjs\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core.cjs\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core.cjs\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core.cjs\",[[0,\"taro-block-core\"]]],[\"taro-button-core.cjs\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core.cjs\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core.cjs\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core.cjs\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core.cjs\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core.cjs\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core.cjs\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core.cjs\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core.cjs\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core.cjs\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core.cjs\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-double-tap-gesture-handler-core.cjs\",[[0,\"taro-double-tap-gesture-handler-core\"]]],[\"taro-draggable-sheet-core.cjs\",[[0,\"taro-draggable-sheet-core\"]]],[\"taro-editor-core.cjs\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core.cjs\",[[0,\"taro-follow-swan-core\"]]],[\"taro-force-press-gesture-handler-core.cjs\",[[0,\"taro-force-press-gesture-handler-core\"]]],[\"taro-form-core.cjs\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core.cjs\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-builder-core.cjs\",[[0,\"taro-grid-builder-core\"]]],[\"taro-grid-view-core.cjs\",[[0,\"taro-grid-view-core\"]]],[\"taro-horizontal-drag-gesture-handler-core.cjs\",[[0,\"taro-horizontal-drag-gesture-handler-core\"]]],[\"taro-icon-core.cjs\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core.cjs\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core.cjs\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core.cjs\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"readonly\":[4],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core.cjs\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core.cjs\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core.cjs\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core.cjs\",[[0,\"taro-like-core\"]]],[\"taro-list-builder-core.cjs\",[[0,\"taro-list-builder-core\"]]],[\"taro-list-view-core.cjs\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core.cjs\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core.cjs\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core.cjs\",[[0,\"taro-login-core\"]]],[\"taro-long-press-gesture-handler-core.cjs\",[[0,\"taro-long-press-gesture-handler-core\"]]],[\"taro-lottie-core.cjs\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core.cjs\",[[0,\"taro-map-core\",{\"latitude\":[2],\"longitude\":[2],\"scale\":[2],\"minScale\":[2,\"min-scale\"],\"maxScale\":[2,\"max-scale\"],\"markers\":[16],\"polyline\":[16],\"circles\":[16],\"polygons\":[16],\"subkey\":[1],\"layerStyle\":[2,\"layer-style\"],\"rotate\":[2],\"skew\":[2],\"showCompass\":[4,\"show-compass\"],\"showScale\":[4,\"show-scale\"],\"enableOverlooking\":[4,\"enable-overlooking\"],\"enableZoom\":[4,\"enable-zoom\"],\"enableScroll\":[4,\"enable-scroll\"],\"enableRotate\":[4,\"enable-rotate\"],\"enableSatellite\":[4,\"enable-satellite\"],\"enableTraffic\":[4,\"enable-traffic\"],\"enableBuilding\":[4,\"enable-building\"],\"enableAutoMaxOverlooking\":[4,\"enable-auto-max-overlooking\"],\"enable3D\":[4,\"enable-3-d\"],\"width\":[1],\"height\":[1]}]]],[\"taro-match-media-core.cjs\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core.cjs\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core.cjs\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core.cjs\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-nested-scroll-body-core.cjs\",[[0,\"taro-nested-scroll-body-core\"]]],[\"taro-nested-scroll-header-core.cjs\",[[0,\"taro-nested-scroll-header-core\"]]],[\"taro-official-account-core.cjs\",[[0,\"taro-official-account-core\"]]],[\"taro-open-container-core.cjs\",[[0,\"taro-open-container-core\"]]],[\"taro-open-data-core.cjs\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core.cjs\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core.cjs\",[[0,\"taro-page-meta-core\"]]],[\"taro-pan-gesture-handler-core.cjs\",[[0,\"taro-pan-gesture-handler-core\"]]],[\"taro-progress-core.cjs\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh-core.cjs\",[[4,\"taro-pull-to-refresh-core\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core.cjs\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core.cjs\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core.cjs\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core.cjs\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scale-gesture-handler-core.cjs\",[[0,\"taro-scale-gesture-handler-core\"]]],[\"taro-script-core.cjs\",[[0,\"taro-script-core\"]]],[\"taro-scroll-view-core.cjs\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"enhanced\":[4],\"showScrollbar\":[4,\"show-scrollbar\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[1,\"scroll\",\"handleScroll\"],[1,\"touchmove\",\"handleTouchMove\"]]]]],[\"taro-share-element-core.cjs\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core.cjs\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core.cjs\",[[0,\"taro-slot-core\"]]],[\"taro-snapshot-core.cjs\",[[0,\"taro-snapshot-core\"]]],[\"taro-span-core.cjs\",[[0,\"taro-span-core\"]]],[\"taro-sticky-header-core.cjs\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core.cjs\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core.cjs\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[1028],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core.cjs\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar.cjs\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core.cjs\",[[0,\"taro-tabs-core\"]]],[\"taro-tap-gesture-handler-core.cjs\",[[0,\"taro-tap-gesture-handler-core\"]]],[\"taro-text-core.cjs\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core.cjs\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-vertical-drag-gesture-handler-core.cjs\",[[0,\"taro-vertical-drag-gesture-handler-core\"]]],[\"taro-view-core.cjs\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core.cjs\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core.cjs\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2.cjs\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3.cjs\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
18
18
  });
19
19
  };
20
20
 
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2.cjs\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2.cjs\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2.cjs\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2.cjs\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2.cjs\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"currentItemId\":[1,\"current-item-id\"],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"effectsProps\":[16],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"observer\":[32]}],[4,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core.cjs\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core.cjs\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core.cjs\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core.cjs\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core.cjs\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core.cjs\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core.cjs\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core.cjs\",[[0,\"taro-block-core\"]]],[\"taro-button-core.cjs\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core.cjs\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core.cjs\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core.cjs\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core.cjs\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core.cjs\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core.cjs\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core.cjs\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core.cjs\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core.cjs\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core.cjs\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-double-tap-gesture-handler-core.cjs\",[[0,\"taro-double-tap-gesture-handler-core\"]]],[\"taro-draggable-sheet-core.cjs\",[[0,\"taro-draggable-sheet-core\"]]],[\"taro-editor-core.cjs\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core.cjs\",[[0,\"taro-follow-swan-core\"]]],[\"taro-force-press-gesture-handler-core.cjs\",[[0,\"taro-force-press-gesture-handler-core\"]]],[\"taro-form-core.cjs\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core.cjs\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-builder-core.cjs\",[[0,\"taro-grid-builder-core\"]]],[\"taro-grid-view-core.cjs\",[[0,\"taro-grid-view-core\"]]],[\"taro-horizontal-drag-gesture-handler-core.cjs\",[[0,\"taro-horizontal-drag-gesture-handler-core\"]]],[\"taro-icon-core.cjs\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core.cjs\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"lang\":[1],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core.cjs\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core.cjs\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"readonly\":[4],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core.cjs\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core.cjs\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core.cjs\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core.cjs\",[[0,\"taro-like-core\"]]],[\"taro-list-builder-core.cjs\",[[0,\"taro-list-builder-core\"]]],[\"taro-list-view-core.cjs\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core.cjs\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core.cjs\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core.cjs\",[[0,\"taro-login-core\"]]],[\"taro-long-press-gesture-handler-core.cjs\",[[0,\"taro-long-press-gesture-handler-core\"]]],[\"taro-lottie-core.cjs\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core.cjs\",[[0,\"taro-map-core\",{\"latitude\":[2],\"longitude\":[2],\"scale\":[2],\"minScale\":[2,\"min-scale\"],\"maxScale\":[2,\"max-scale\"],\"markers\":[16],\"polyline\":[16],\"circles\":[16],\"polygons\":[16],\"subkey\":[1],\"layerStyle\":[2,\"layer-style\"],\"rotate\":[2],\"skew\":[2],\"showCompass\":[4,\"show-compass\"],\"showScale\":[4,\"show-scale\"],\"enableOverlooking\":[4,\"enable-overlooking\"],\"enableZoom\":[4,\"enable-zoom\"],\"enableScroll\":[4,\"enable-scroll\"],\"enableRotate\":[4,\"enable-rotate\"],\"enableSatellite\":[4,\"enable-satellite\"],\"enableTraffic\":[4,\"enable-traffic\"],\"enableBuilding\":[4,\"enable-building\"],\"enableAutoMaxOverlooking\":[4,\"enable-auto-max-overlooking\"],\"enable3D\":[4,\"enable-3-d\"],\"width\":[1],\"height\":[1]}]]],[\"taro-match-media-core.cjs\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core.cjs\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core.cjs\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core.cjs\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-nested-scroll-body-core.cjs\",[[0,\"taro-nested-scroll-body-core\"]]],[\"taro-nested-scroll-header-core.cjs\",[[0,\"taro-nested-scroll-header-core\"]]],[\"taro-official-account-core.cjs\",[[0,\"taro-official-account-core\"]]],[\"taro-open-container-core.cjs\",[[0,\"taro-open-container-core\"]]],[\"taro-open-data-core.cjs\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core.cjs\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core.cjs\",[[0,\"taro-page-meta-core\"]]],[\"taro-pan-gesture-handler-core.cjs\",[[0,\"taro-pan-gesture-handler-core\"]]],[\"taro-progress-core.cjs\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh-core.cjs\",[[4,\"taro-pull-to-refresh-core\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core.cjs\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core.cjs\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core.cjs\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core.cjs\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scale-gesture-handler-core.cjs\",[[0,\"taro-scale-gesture-handler-core\"]]],[\"taro-script-core.cjs\",[[0,\"taro-script-core\"]]],[\"taro-scroll-view-core.cjs\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"enhanced\":[4],\"showScrollbar\":[4,\"show-scrollbar\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[1,\"scroll\",\"handleScroll\"],[1,\"touchmove\",\"handleTouchMove\"]]]]],[\"taro-share-element-core.cjs\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core.cjs\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core.cjs\",[[0,\"taro-slot-core\"]]],[\"taro-snapshot-core.cjs\",[[0,\"taro-snapshot-core\"]]],[\"taro-span-core.cjs\",[[0,\"taro-span-core\"]]],[\"taro-sticky-header-core.cjs\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core.cjs\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core.cjs\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[1028],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core.cjs\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar.cjs\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core.cjs\",[[0,\"taro-tabs-core\"]]],[\"taro-tap-gesture-handler-core.cjs\",[[0,\"taro-tap-gesture-handler-core\"]]],[\"taro-text-core.cjs\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core.cjs\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-vertical-drag-gesture-handler-core.cjs\",[[0,\"taro-vertical-drag-gesture-handler-core\"]]],[\"taro-view-core.cjs\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core.cjs\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core.cjs\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2.cjs\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3.cjs\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
20
+ return index.bootstrapLazy(JSON.parse("[[\"taro-checkbox-core_2.cjs\",[[4,\"taro-checkbox-core\",{\"name\":[1],\"value\":[1032],\"color\":[1],\"id\":[1025],\"checked\":[4],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-checkbox-group-core\",{\"name\":[8]},[[0,\"checkboxchange\",\"function\"]]]]],[\"taro-movable-area-core_2.cjs\",[[0,\"taro-movable-area-core\",{\"scaleArea\":[4,\"scale-area\"]}],[0,\"taro-movable-view-core\",{\"x\":[8],\"y\":[8],\"direction\":[1],\"outOfBounds\":[4,\"out-of-bounds\"],\"inertia\":[4],\"friction\":[2],\"damping\":[2],\"disabled\":[4],\"scale\":[4],\"scaleMin\":[2,\"scale-min\"],\"scaleMax\":[2,\"scale-max\"],\"scaleValue\":[2,\"scale-value\"],\"animation\":[4],\"setParent\":[64],\"endScale\":[64],\"setScale\":[64]}]]],[\"taro-picker-view-column-core_2.cjs\",[[0,\"taro-picker-view-column-core\",{\"col\":[1],\"initialPosition\":[1,\"initial-position\"],\"paddingVertical\":[2,\"padding-vertical\"],\"isInit\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]],[4,\"taro-picker-view-core\",{\"indicatorStyle\":[1,\"indicator-style\"],\"indicatorClass\":[1,\"indicator-class\"],\"value\":[16],\"maskStyle\":[1,\"mask-style\"],\"maskClass\":[1,\"mask-class\"]},[[0,\"onselect\",\"onSelect\"],[0,\"onselectstart\",\"onSelectStart\"],[0,\"onselectend\",\"onPickerColEnd\"]]]]],[\"taro-radio-core_2.cjs\",[[4,\"taro-radio-core\",{\"name\":[1],\"value\":[1],\"id\":[1025],\"checked\":[1540],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}],[0,\"taro-radio-group-core\",{\"name\":[8]},[[0,\"radiochange\",\"function\"]]]]],[\"taro-swiper-core_2.cjs\",[[4,\"taro-swiper-core\",{\"indicatorDots\":[4,\"indicator-dots\"],\"indicatorColor\":[1,\"indicator-color\"],\"indicatorActiveColor\":[1,\"indicator-active-color\"],\"autoplay\":[4],\"current\":[2],\"currentItemId\":[1,\"current-item-id\"],\"interval\":[2],\"duration\":[2],\"circular\":[4],\"vertical\":[4],\"previousMargin\":[1,\"previous-margin\"],\"nextMargin\":[1,\"next-margin\"],\"displayMultipleItems\":[2,\"display-multiple-items\"],\"full\":[4],\"zoom\":[4],\"effectsProps\":[16],\"swiperWrapper\":[32],\"swiper\":[32],\"isWillLoadCalled\":[32],\"observer\":[32]}],[4,\"taro-swiper-item-core\",{\"itemId\":[1,\"item-id\"]}]]],[\"taro-ad-core.cjs\",[[0,\"taro-ad-core\"]]],[\"taro-ad-custom-core.cjs\",[[0,\"taro-ad-custom-core\"]]],[\"taro-animation-video-core.cjs\",[[0,\"taro-animation-video-core\"]]],[\"taro-animation-view-core.cjs\",[[0,\"taro-animation-view-core\"]]],[\"taro-ar-camera-core.cjs\",[[0,\"taro-ar-camera-core\"]]],[\"taro-audio-core.cjs\",[[0,\"taro-audio-core\",{\"src\":[1],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"nativeProps\":[16]}]]],[\"taro-aweme-data-core.cjs\",[[0,\"taro-aweme-data-core\"]]],[\"taro-block-core.cjs\",[[0,\"taro-block-core\"]]],[\"taro-button-core.cjs\",[[4,\"taro-button-core\",{\"disabled\":[4],\"hoverClass\":[1,\"hover-class\"],\"type\":[1],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"size\":[1],\"plain\":[4],\"loading\":[4],\"formType\":[513,\"form-type\"],\"hover\":[32],\"touch\":[32]},[[0,\"click\",\"onClick\"],[1,\"touchstart\",\"onTouchStart\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-camera-core.cjs\",[[0,\"taro-camera-core\"]]],[\"taro-canvas-core.cjs\",[[0,\"taro-canvas-core\",{\"canvasId\":[1,\"id\"],\"height\":[1537],\"width\":[1537],\"nativeProps\":[16]}]]],[\"taro-channel-live-core.cjs\",[[0,\"taro-channel-live-core\"]]],[\"taro-channel-video-core.cjs\",[[0,\"taro-channel-video-core\"]]],[\"taro-comment-detail-core.cjs\",[[0,\"taro-comment-detail-core\"]]],[\"taro-comment-list-core.cjs\",[[0,\"taro-comment-list-core\"]]],[\"taro-contact-button-core.cjs\",[[0,\"taro-contact-button-core\"]]],[\"taro-cover-image-core.cjs\",[[0,\"taro-cover-image-core\",{\"src\":[1],\"nativeProps\":[16]}]]],[\"taro-cover-view-core.cjs\",[[4,\"taro-cover-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-custom-wrapper-core.cjs\",[[0,\"taro-custom-wrapper-core\"]]],[\"taro-double-tap-gesture-handler-core.cjs\",[[0,\"taro-double-tap-gesture-handler-core\"]]],[\"taro-draggable-sheet-core.cjs\",[[0,\"taro-draggable-sheet-core\"]]],[\"taro-editor-core.cjs\",[[0,\"taro-editor-core\"]]],[\"taro-follow-swan-core.cjs\",[[0,\"taro-follow-swan-core\"]]],[\"taro-force-press-gesture-handler-core.cjs\",[[0,\"taro-force-press-gesture-handler-core\"]]],[\"taro-form-core.cjs\",[[4,\"taro-form-core\",null,[[0,\"tarobuttonsubmit\",\"onButtonSubmit\"],[0,\"tarobuttonreset\",\"onButtonReset\"]]]]],[\"taro-functional-page-navigator-core.cjs\",[[0,\"taro-functional-page-navigator-core\"]]],[\"taro-grid-builder-core.cjs\",[[0,\"taro-grid-builder-core\"]]],[\"taro-grid-view-core.cjs\",[[0,\"taro-grid-view-core\"]]],[\"taro-horizontal-drag-gesture-handler-core.cjs\",[[0,\"taro-horizontal-drag-gesture-handler-core\"]]],[\"taro-icon-core.cjs\",[[0,\"taro-icon-core\",{\"type\":[1],\"size\":[8],\"color\":[1]}]]],[\"taro-image-core.cjs\",[[0,\"taro-image-core\",{\"src\":[1],\"mode\":[1],\"lazyLoad\":[4,\"lazy-load\"],\"nativeProps\":[16],\"aspectFillMode\":[32],\"didLoad\":[32]}]]],[\"taro-inline-payment-panel-core.cjs\",[[0,\"taro-inline-payment-panel-core\"]]],[\"taro-input-core.cjs\",[[0,\"taro-input-core\",{\"value\":[1025],\"type\":[1],\"password\":[4],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"confirmType\":[1,\"confirm-type\"],\"name\":[1],\"readonly\":[4],\"nativeProps\":[16],\"focus\":[64]}]]],[\"taro-keyboard-accessory-core.cjs\",[[0,\"taro-keyboard-accessory-core\"]]],[\"taro-label-core.cjs\",[[4,\"taro-label-core\",{\"for\":[1]}]]],[\"taro-lifestyle-core.cjs\",[[0,\"taro-lifestyle-core\"]]],[\"taro-like-core.cjs\",[[0,\"taro-like-core\"]]],[\"taro-list-builder-core.cjs\",[[0,\"taro-list-builder-core\"]]],[\"taro-list-view-core.cjs\",[[0,\"taro-list-view-core\"]]],[\"taro-live-player-core.cjs\",[[0,\"taro-live-player-core\"]]],[\"taro-live-pusher-core.cjs\",[[0,\"taro-live-pusher-core\"]]],[\"taro-login-core.cjs\",[[0,\"taro-login-core\"]]],[\"taro-long-press-gesture-handler-core.cjs\",[[0,\"taro-long-press-gesture-handler-core\"]]],[\"taro-lottie-core.cjs\",[[0,\"taro-lottie-core\"]]],[\"taro-map-core.cjs\",[[0,\"taro-map-core\",{\"latitude\":[2],\"longitude\":[2],\"scale\":[2],\"minScale\":[2,\"min-scale\"],\"maxScale\":[2,\"max-scale\"],\"markers\":[16],\"polyline\":[16],\"circles\":[16],\"polygons\":[16],\"subkey\":[1],\"layerStyle\":[2,\"layer-style\"],\"rotate\":[2],\"skew\":[2],\"showCompass\":[4,\"show-compass\"],\"showScale\":[4,\"show-scale\"],\"enableOverlooking\":[4,\"enable-overlooking\"],\"enableZoom\":[4,\"enable-zoom\"],\"enableScroll\":[4,\"enable-scroll\"],\"enableRotate\":[4,\"enable-rotate\"],\"enableSatellite\":[4,\"enable-satellite\"],\"enableTraffic\":[4,\"enable-traffic\"],\"enableBuilding\":[4,\"enable-building\"],\"enableAutoMaxOverlooking\":[4,\"enable-auto-max-overlooking\"],\"enable3D\":[4,\"enable-3-d\"],\"width\":[1],\"height\":[1]}]]],[\"taro-match-media-core.cjs\",[[0,\"taro-match-media-core\"]]],[\"taro-native-slot-core.cjs\",[[0,\"taro-native-slot-core\"]]],[\"taro-navigation-bar-core.cjs\",[[0,\"taro-navigation-bar-core\"]]],[\"taro-navigator-core.cjs\",[[0,\"taro-navigator-core\",{\"hoverClass\":[1,\"hover-class\"],\"url\":[1],\"openType\":[1,\"open-type\"],\"isHover\":[4,\"is-hover\"],\"delta\":[2]},[[0,\"click\",\"onClick\"]]]]],[\"taro-nested-scroll-body-core.cjs\",[[0,\"taro-nested-scroll-body-core\"]]],[\"taro-nested-scroll-header-core.cjs\",[[0,\"taro-nested-scroll-header-core\"]]],[\"taro-official-account-core.cjs\",[[0,\"taro-official-account-core\"]]],[\"taro-open-container-core.cjs\",[[0,\"taro-open-container-core\"]]],[\"taro-open-data-core.cjs\",[[0,\"taro-open-data-core\"]]],[\"taro-page-container-core.cjs\",[[0,\"taro-page-container-core\"]]],[\"taro-page-meta-core.cjs\",[[0,\"taro-page-meta-core\"]]],[\"taro-pan-gesture-handler-core.cjs\",[[0,\"taro-pan-gesture-handler-core\"]]],[\"taro-progress-core.cjs\",[[0,\"taro-progress-core\",{\"percent\":[2],\"showInfo\":[4,\"show-info\"],\"borderRadius\":[8,\"border-radius\"],\"fontSize\":[8,\"font-size\"],\"strokeWidth\":[8,\"stroke-width\"],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"active\":[4]}]]],[\"taro-pull-to-refresh-core.cjs\",[[4,\"taro-pull-to-refresh-core\",{\"prefixCls\":[1,\"prefix-cls\"],\"distanceToRefresh\":[2,\"distance-to-refresh\"],\"damping\":[2],\"indicator\":[16],\"currSt\":[32],\"dragOnEdge\":[32]}]]],[\"taro-rich-text-core.cjs\",[[0,\"taro-rich-text-core\",{\"nodes\":[1],\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1]}]]],[\"taro-root-portal-core.cjs\",[[0,\"taro-root-portal-core\"]]],[\"taro-rtc-room-core.cjs\",[[0,\"taro-rtc-room-core\"]]],[\"taro-rtc-room-item-core.cjs\",[[0,\"taro-rtc-room-item-core\"]]],[\"taro-scale-gesture-handler-core.cjs\",[[0,\"taro-scale-gesture-handler-core\"]]],[\"taro-script-core.cjs\",[[0,\"taro-script-core\"]]],[\"taro-scroll-view-core.cjs\",[[4,\"taro-scroll-view-core\",{\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"upperThreshold\":[8,\"upper-threshold\"],\"lowerThreshold\":[8,\"lower-threshold\"],\"mpScrollTop\":[520,\"scroll-top\"],\"mpScrollLeft\":[520,\"scroll-left\"],\"mpScrollIntoView\":[513,\"scroll-into-view\"],\"mpScrollIntoViewAlignment\":[1,\"scroll-into-view-alignment\"],\"animated\":[4,\"scroll-with-animation\"],\"enhanced\":[4],\"showScrollbar\":[4,\"show-scrollbar\"],\"mpScrollToMethod\":[64],\"mpScrollIntoViewMethod\":[64]},[[1,\"scroll\",\"handleScroll\"],[1,\"touchmove\",\"handleTouchMove\"]]]]],[\"taro-share-element-core.cjs\",[[0,\"taro-share-element-core\"]]],[\"taro-slider-core.cjs\",[[0,\"taro-slider-core\",{\"min\":[2],\"max\":[2],\"step\":[2],\"disabled\":[4],\"value\":[1538],\"activeColor\":[1,\"active-color\"],\"backgroundColor\":[1,\"background-color\"],\"blockSize\":[2,\"block-size\"],\"blockColor\":[1,\"block-color\"],\"showValue\":[4,\"show-value\"],\"name\":[1],\"totalWidth\":[32],\"touching\":[32],\"ogX\":[32],\"touchId\":[32],\"percent\":[32],\"ogPercent\":[32],\"isWillLoadCalled\":[32]}]]],[\"taro-slot-core.cjs\",[[0,\"taro-slot-core\"]]],[\"taro-snapshot-core.cjs\",[[0,\"taro-snapshot-core\"]]],[\"taro-span-core.cjs\",[[0,\"taro-span-core\"]]],[\"taro-sticky-header-core.cjs\",[[0,\"taro-sticky-header-core\"]]],[\"taro-sticky-section-core.cjs\",[[0,\"taro-sticky-section-core\"]]],[\"taro-switch-core.cjs\",[[0,\"taro-switch-core\",{\"type\":[1],\"checked\":[1028],\"color\":[1],\"name\":[1],\"disabled\":[4],\"nativeProps\":[16],\"isWillLoadCalled\":[32]}]]],[\"taro-tab-item-core.cjs\",[[0,\"taro-tab-item-core\"]]],[\"taro-tabbar.cjs\",[[0,\"taro-tabbar\",{\"conf\":[16],\"list\":[32],\"borderStyle\":[32],\"backgroundColor\":[32],\"color\":[32],\"selectedColor\":[32],\"selectedIndex\":[32],\"status\":[32]}]]],[\"taro-tabs-core.cjs\",[[0,\"taro-tabs-core\"]]],[\"taro-tap-gesture-handler-core.cjs\",[[0,\"taro-tap-gesture-handler-core\"]]],[\"taro-text-core.cjs\",[[4,\"taro-text-core\",{\"selectable\":[1028],\"userSelect\":[1028,\"user-select\"],\"space\":[1025],\"numberOfLines\":[2,\"number-of-lines\"]}]]],[\"taro-textarea-core.cjs\",[[0,\"taro-textarea-core\",{\"value\":[1025],\"placeholder\":[1],\"disabled\":[4],\"maxlength\":[2],\"autoFocus\":[4,\"focus\"],\"autoHeight\":[4,\"auto-height\"],\"name\":[1],\"nativeProps\":[16],\"line\":[32],\"focus\":[64]}]]],[\"taro-vertical-drag-gesture-handler-core.cjs\",[[0,\"taro-vertical-drag-gesture-handler-core\"]]],[\"taro-view-core.cjs\",[[4,\"taro-view-core\",{\"animation\":[1],\"hoverClass\":[1,\"hover-class\"],\"hoverStartTime\":[2,\"hover-start-time\"],\"hoverStayTime\":[2,\"hover-stay-time\"],\"hover\":[32],\"touch\":[32]},[[1,\"touchstart\",\"onTouchStart\"],[1,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-voip-room-core.cjs\",[[0,\"taro-voip-room-core\"]]],[\"taro-web-view-core.cjs\",[[0,\"taro-web-view-core\",{\"src\":[1]}]]],[\"taro-picker-core_2.cjs\",[[4,\"taro-picker-core\",{\"mode\":[1],\"disabled\":[4],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"value\":[1032],\"start\":[1],\"end\":[1],\"fields\":[1],\"name\":[1],\"textProps\":[16],\"pickerValue\":[32],\"height\":[32],\"hidden\":[32],\"fadeOut\":[32],\"isWillLoadCalled\":[32]}],[0,\"taro-picker-group\",{\"mode\":[1],\"range\":[16],\"rangeKey\":[1,\"range-key\"],\"height\":[2],\"columnId\":[1,\"column-id\"],\"updateHeight\":[16],\"updateDay\":[16],\"startY\":[32],\"preY\":[32],\"hadMove\":[32],\"touchEnd\":[32],\"isMove\":[32],\"handleMoveStart\":[64],\"handleMoving\":[64],\"handleMoveEnd\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[3,\"mousemove\",\"onMouseMove\"],[1,\"mouseup\",\"onMouseMoveEnd\"],[1,\"mouseleave\",\"onMouseMoveEnd\"],[1,\"touchstart\",\"onTouchStart\"],[3,\"touchmove\",\"onTouchMove\"],[1,\"touchend\",\"onTouchEnd\"]]]]],[\"taro-video-control_3.cjs\",[[0,\"taro-video-core\",{\"src\":[1],\"duration\":[2],\"controls\":[4],\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"initialTime\":[2,\"initial-time\"],\"poster\":[1],\"objectFit\":[1,\"object-fit\"],\"showProgress\":[4,\"show-progress\"],\"showFullscreenBtn\":[4,\"show-fullscreen-btn\"],\"showPlayBtn\":[4,\"show-play-btn\"],\"showCenterPlayBtn\":[4,\"show-center-play-btn\"],\"showMuteBtn\":[4,\"show-mute-btn\"],\"danmuList\":[16],\"danmuBtn\":[4,\"danmu-btn\"],\"enableDanmu\":[4,\"enable-danmu\"],\"enablePlayGesture\":[4,\"enable-play-gesture\"],\"enableProgressGesture\":[4,\"enable-progress-gesture\"],\"vslideGesture\":[4,\"vslide-gesture\"],\"vslideGestureInFullscreen\":[4,\"vslide-gesture-in-fullscreen\"],\"nativeProps\":[16],\"_duration\":[32],\"_enableDanmu\":[32],\"isPlaying\":[32],\"isFirst\":[32],\"isFullScreen\":[32],\"fullScreenTimestamp\":[32],\"isMute\":[32],\"getHlsObject\":[64],\"play\":[64],\"pause\":[64],\"stop\":[64],\"seek\":[64],\"requestFullScreen\":[64],\"exitFullScreen\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[4,\"taro-video-control\",{\"controls\":[4],\"currentTime\":[2,\"current-time\"],\"duration\":[2],\"isPlaying\":[4,\"is-playing\"],\"pauseFunc\":[16],\"playFunc\":[16],\"seekFunc\":[16],\"showPlayBtn\":[4,\"show-play-btn\"],\"showProgress\":[4,\"show-progress\"],\"setProgressBall\":[64],\"toggleVisibility\":[64],\"getIsDraggingProgressBall\":[64],\"setCurrentTime\":[64]},[[5,\"touchmove\",\"onDocumentTouchMove\"],[5,\"touchend\",\"onDocumentTouchEnd\"],[5,\"touchcancel\",\"onDocumentTouchEnd\"]]],[0,\"taro-video-danmu\",{\"enable\":[4],\"danmuList\":[32],\"sendDanmu\":[64],\"tick\":[64]}]]]]"), options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const image = require('./image-3ec94993.js');
5
+ const image = require('./image-4303ed3a.js');
6
6
  require('./index-ae99cbcc.js');
7
7
  require('./index-b873e40f.js');
8
8
 
@@ -1,54 +1,15 @@
1
1
  import { h, Host } from '@stencil/core';
2
2
  import classNames from 'classnames';
3
- // CDN脚本URL
4
- const LEGO_CDN_URL = 'http://ossin.jd.com/swm-plus/h5Tag/tag.js';
5
- // 检查CDN脚本是否已加载
6
- const isLegoScriptLoaded = () => {
7
- return document.querySelector(`script[src="${LEGO_CDN_URL}"]`) !== null;
8
- };
9
- // 插入CDN脚本
10
- const insertLegoScript = () => {
11
- if (isLegoScriptLoaded())
12
- return;
13
- const script = document.createElement('script');
14
- script.type = 'module';
15
- script.src = LEGO_CDN_URL;
16
- document.head.appendChild(script);
17
- };
18
- // 解析lego协议URL
19
- const parseLegoUrl = (src) => {
20
- if (!src.startsWith('lego://'))
21
- return null;
22
- try {
23
- // 移除 'lego://' 前缀
24
- const urlWithoutProtocol = src.substring(7);
25
- // 分割tagId和参数
26
- const [tagId, params] = urlWithoutProtocol.split('?');
27
- // 解析参数
28
- const text = params ? new URLSearchParams(params).get('text') || '' : '';
29
- return { tagId, text };
30
- }
31
- catch (error) {
32
- console.warn('Failed to parse lego URL:', src, error);
33
- return null;
34
- }
35
- };
36
3
  export class Image {
37
4
  constructor() {
38
5
  this.src = undefined;
39
6
  this.mode = 'scaleToFill';
40
7
  this.lazyLoad = false;
41
8
  this.nativeProps = {};
42
- this.lang = undefined;
43
9
  this.aspectFillMode = 'width';
44
10
  this.didLoad = false;
45
11
  }
46
12
  componentDidLoad() {
47
- // 检查是否为lego模式,如果是则确保CDN脚本已加载
48
- const legoData = parseLegoUrl(this.src);
49
- if (legoData !== null) {
50
- insertLegoScript();
51
- }
52
13
  if (!this.lazyLoad)
53
14
  return;
54
15
  const lazyImg = new IntersectionObserver(entries => {
@@ -74,23 +35,15 @@ export class Image {
74
35
  this.onError.emit(e);
75
36
  }
76
37
  render() {
77
- const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad, lang } = this;
38
+ const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
78
39
  // mode="" 按默认值处理
79
40
  const mode = this.mode || 'scaleToFill';
80
- // 检查是否为lego模式
81
- const legoData = parseLegoUrl(src);
82
- const isLegoMode = legoData !== null;
83
41
  const cls = classNames({
84
42
  'taro-img__widthfix': mode === 'widthFix'
85
43
  });
86
44
  const imgCls = classNames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
87
45
  [`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
88
46
  });
89
- // 如果是lego模式,渲染canvas-tag
90
- if (isLegoMode && legoData) {
91
- return (h(Host, { class: cls }, h("canvas-tag", Object.assign({ tagId: legoData.tagId, text: legoData.text, lang: lang }, nativeProps))));
92
- }
93
- // 普通图片模式
94
47
  return (h(Host, { class: cls }, src ? (h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : ''));
95
48
  }
96
49
  static get is() { return "taro-image-core"; }
@@ -178,23 +131,6 @@ export class Image {
178
131
  "text": ""
179
132
  },
180
133
  "defaultValue": "{}"
181
- },
182
- "lang": {
183
- "type": "string",
184
- "mutable": false,
185
- "complexType": {
186
- "original": "string",
187
- "resolved": "string",
188
- "references": {}
189
- },
190
- "required": false,
191
- "optional": false,
192
- "docs": {
193
- "tags": [],
194
- "text": ""
195
- },
196
- "attribute": "lang",
197
- "reflect": false
198
134
  }
199
135
  };
200
136
  }
@@ -3,39 +3,6 @@ import { c as classnames } from './index2.js';
3
3
 
4
4
  const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%;position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{position:absolute;left:50%;transform:translate(-50%)}.taro-img__mode-bottom{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.taro-img__mode-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-left{position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-right{position:absolute;top:50%;right:0;transform:translateY(-50%)}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}";
5
5
 
6
- // CDN脚本URL
7
- const LEGO_CDN_URL = 'http://ossin.jd.com/swm-plus/h5Tag/tag.js';
8
- // 检查CDN脚本是否已加载
9
- const isLegoScriptLoaded = () => {
10
- return document.querySelector(`script[src="${LEGO_CDN_URL}"]`) !== null;
11
- };
12
- // 插入CDN脚本
13
- const insertLegoScript = () => {
14
- if (isLegoScriptLoaded())
15
- return;
16
- const script = document.createElement('script');
17
- script.type = 'module';
18
- script.src = LEGO_CDN_URL;
19
- document.head.appendChild(script);
20
- };
21
- // 解析lego协议URL
22
- const parseLegoUrl = (src) => {
23
- if (!src.startsWith('lego://'))
24
- return null;
25
- try {
26
- // 移除 'lego://' 前缀
27
- const urlWithoutProtocol = src.substring(7);
28
- // 分割tagId和参数
29
- const [tagId, params] = urlWithoutProtocol.split('?');
30
- // 解析参数
31
- const text = params ? new URLSearchParams(params).get('text') || '' : '';
32
- return { tagId, text };
33
- }
34
- catch (error) {
35
- console.warn('Failed to parse lego URL:', src, error);
36
- return null;
37
- }
38
- };
39
6
  const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
40
7
  constructor() {
41
8
  super();
@@ -46,16 +13,10 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
46
13
  this.mode = 'scaleToFill';
47
14
  this.lazyLoad = false;
48
15
  this.nativeProps = {};
49
- this.lang = undefined;
50
16
  this.aspectFillMode = 'width';
51
17
  this.didLoad = false;
52
18
  }
53
19
  componentDidLoad() {
54
- // 检查是否为lego模式,如果是则确保CDN脚本已加载
55
- const legoData = parseLegoUrl(this.src);
56
- if (legoData !== null) {
57
- insertLegoScript();
58
- }
59
20
  if (!this.lazyLoad)
60
21
  return;
61
22
  const lazyImg = new IntersectionObserver(entries => {
@@ -81,23 +42,15 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
81
42
  this.onError.emit(e);
82
43
  }
83
44
  render() {
84
- const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad, lang } = this;
45
+ const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
85
46
  // mode="" 按默认值处理
86
47
  const mode = this.mode || 'scaleToFill';
87
- // 检查是否为lego模式
88
- const legoData = parseLegoUrl(src);
89
- const isLegoMode = legoData !== null;
90
48
  const cls = classnames({
91
49
  'taro-img__widthfix': mode === 'widthFix'
92
50
  });
93
51
  const imgCls = classnames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
94
52
  [`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
95
53
  });
96
- // 如果是lego模式,渲染canvas-tag
97
- if (isLegoMode && legoData) {
98
- return (h(Host, { class: cls }, h("canvas-tag", Object.assign({ tagId: legoData.tagId, text: legoData.text, lang: lang }, nativeProps))));
99
- }
100
- // 普通图片模式
101
54
  return (h(Host, { class: cls }, src ? (h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : ''));
102
55
  }
103
56
  static get style() { return indexCss; }
@@ -106,7 +59,6 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
106
59
  "mode": [1],
107
60
  "lazyLoad": [4, "lazy-load"],
108
61
  "nativeProps": [16],
109
- "lang": [1],
110
62
  "aspectFillMode": [32],
111
63
  "didLoad": [32]
112
64
  }]);
@@ -3,39 +3,6 @@ import { c as classnames } from './index-b9522531.js';
3
3
 
4
4
  const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%;position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{position:absolute;left:50%;transform:translate(-50%)}.taro-img__mode-bottom{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.taro-img__mode-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-left{position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-right{position:absolute;top:50%;right:0;transform:translateY(-50%)}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}";
5
5
 
6
- // CDN脚本URL
7
- const LEGO_CDN_URL = 'http://ossin.jd.com/swm-plus/h5Tag/tag.js';
8
- // 检查CDN脚本是否已加载
9
- const isLegoScriptLoaded = () => {
10
- return document.querySelector(`script[src="${LEGO_CDN_URL}"]`) !== null;
11
- };
12
- // 插入CDN脚本
13
- const insertLegoScript = () => {
14
- if (isLegoScriptLoaded())
15
- return;
16
- const script = document.createElement('script');
17
- script.type = 'module';
18
- script.src = LEGO_CDN_URL;
19
- document.head.appendChild(script);
20
- };
21
- // 解析lego协议URL
22
- const parseLegoUrl = (src) => {
23
- if (!src.startsWith('lego://'))
24
- return null;
25
- try {
26
- // 移除 'lego://' 前缀
27
- const urlWithoutProtocol = src.substring(7);
28
- // 分割tagId和参数
29
- const [tagId, params] = urlWithoutProtocol.split('?');
30
- // 解析参数
31
- const text = params ? new URLSearchParams(params).get('text') || '' : '';
32
- return { tagId, text };
33
- }
34
- catch (error) {
35
- console.warn('Failed to parse lego URL:', src, error);
36
- return null;
37
- }
38
- };
39
6
  const Image = class {
40
7
  constructor(hostRef) {
41
8
  registerInstance(this, hostRef);
@@ -45,16 +12,10 @@ const Image = class {
45
12
  this.mode = 'scaleToFill';
46
13
  this.lazyLoad = false;
47
14
  this.nativeProps = {};
48
- this.lang = undefined;
49
15
  this.aspectFillMode = 'width';
50
16
  this.didLoad = false;
51
17
  }
52
18
  componentDidLoad() {
53
- // 检查是否为lego模式,如果是则确保CDN脚本已加载
54
- const legoData = parseLegoUrl(this.src);
55
- if (legoData !== null) {
56
- insertLegoScript();
57
- }
58
19
  if (!this.lazyLoad)
59
20
  return;
60
21
  const lazyImg = new IntersectionObserver(entries => {
@@ -80,23 +41,15 @@ const Image = class {
80
41
  this.onError.emit(e);
81
42
  }
82
43
  render() {
83
- const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad, lang } = this;
44
+ const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
84
45
  // mode="" 按默认值处理
85
46
  const mode = this.mode || 'scaleToFill';
86
- // 检查是否为lego模式
87
- const legoData = parseLegoUrl(src);
88
- const isLegoMode = legoData !== null;
89
47
  const cls = classnames({
90
48
  'taro-img__widthfix': mode === 'widthFix'
91
49
  });
92
50
  const imgCls = classnames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
93
51
  [`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
94
52
  });
95
- // 如果是lego模式,渲染canvas-tag
96
- if (isLegoMode && legoData) {
97
- return (h(Host, { class: cls }, h("canvas-tag", Object.assign({ tagId: legoData.tagId, text: legoData.text, lang: lang }, nativeProps))));
98
- }
99
- // 普通图片模式
100
53
  return (h(Host, { class: cls }, src ? (h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : ''));
101
54
  }
102
55
  };
package/dist/esm/index.js CHANGED
@@ -29,7 +29,7 @@ export { G as GridBuilder } from './grid-builder-cf0aa856.js';
29
29
  export { G as GridView } from './grid-view-353586e4.js';
30
30
  export { H as HorizontalDragGestureHandler } from './script-661db6af.js';
31
31
  export { I as Icon } from './icon-88383f2c.js';
32
- export { I as Image } from './image-391916cf.js';
32
+ export { I as Image } from './image-b0b222bc.js';
33
33
  export { I as InlinePaymentPanel } from './inline-payment-panel-73925dd2.js';
34
34
  export { I as Input } from './input-4104e3ea.js';
35
35
  export { K as KeyboardAccessory } from './keyboard-accessory-fd485a31.js';