@tarojs/components 3.6.24-nightly.2 → 3.6.24-nightly.4
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.
- package/dist/cjs/{index-5b029707.js → index-dbbe9dde.js} +5 -208
- package/dist/cjs/{index-8a70c333.js → index-dfd8638f.js} +0 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +2 -3
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
- package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/components/movable-area/movable-area.js +1 -2
- package/dist/collection/utils/index.js +0 -10
- package/dist/components/index3.js +1 -6
- package/dist/components/taro-movable-area-core.js +1 -2
- package/dist/components/taro-tabbar.js +1 -1
- package/dist/esm/{index-ab3c86da.js → index-486e187e.js} +5 -209
- package/dist/esm/{index-a00a7418.js → index-d1b03e47.js} +1 -6
- package/dist/esm/loader.js +2 -2
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +1 -1
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +1 -1
- package/dist/esm/taro-image-core.entry.js +1 -1
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +2 -3
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +1 -1
- package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +1 -1
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +2 -2
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +2 -2
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +1 -1
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +2 -2
- package/dist/esm/taro-view-core.entry.js +1 -1
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/index-486e187e.js +2 -0
- package/dist/esm-es5/index-d1b03e47.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-37bc198d.entry.js → p-00d05751.entry.js} +1 -1
- package/dist/taro-components/{p-a997cf7c.system.entry.js → p-014534ca.system.entry.js} +1 -1
- package/dist/taro-components/{p-ffaac078.system.entry.js → p-015b3025.system.entry.js} +1 -1
- package/dist/taro-components/{p-562eace8.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-ee9d6467.system.entry.js → p-040f15f2.system.entry.js} +1 -1
- package/dist/taro-components/{p-dbeadc04.system.entry.js → p-06cf6b18.system.entry.js} +1 -1
- package/dist/taro-components/{p-5c0f97d3.system.entry.js → p-07e94301.system.entry.js} +1 -1
- package/dist/taro-components/{p-6f1034a6.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
- package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
- package/dist/taro-components/p-101f49dd.entry.js +1 -0
- package/dist/taro-components/{p-3eedb8d7.system.entry.js → p-10d3c795.system.entry.js} +1 -1
- package/dist/taro-components/{p-93b39a89.system.entry.js → p-114f89d6.system.entry.js} +1 -1
- package/dist/taro-components/{p-77e030e9.system.entry.js → p-1182efdd.system.entry.js} +1 -1
- package/dist/taro-components/{p-0132e803.entry.js → p-128f9eb0.entry.js} +1 -1
- package/dist/taro-components/{p-4824cc94.entry.js → p-16954dd6.entry.js} +1 -1
- package/dist/taro-components/{p-eda34d91.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
- package/dist/taro-components/p-1ced140d.entry.js +1 -0
- package/dist/taro-components/{p-e2a22cd1.entry.js → p-1d25f4e3.entry.js} +1 -1
- package/dist/taro-components/{p-923aa1c8.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
- package/dist/taro-components/{p-46ccb393.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
- package/dist/taro-components/{p-f0056aca.system.entry.js → p-2059cbc0.system.entry.js} +1 -1
- package/dist/taro-components/{p-1087c51a.system.entry.js → p-205a0692.system.entry.js} +1 -1
- package/dist/taro-components/{p-04f97133.system.entry.js → p-25bbf4aa.system.entry.js} +1 -1
- package/dist/taro-components/{p-36ea0ac1.system.entry.js → p-26545e4e.system.entry.js} +1 -1
- package/dist/taro-components/{p-adee7f1b.system.entry.js → p-28bf8423.system.entry.js} +1 -1
- package/dist/taro-components/{p-82d52f00.system.entry.js → p-290fd78b.system.entry.js} +1 -1
- package/dist/taro-components/{p-e5a80896.system.entry.js → p-2bbdbe9c.system.entry.js} +1 -1
- package/dist/taro-components/{p-3d423adc.entry.js → p-2d6d4850.entry.js} +1 -1
- package/dist/taro-components/{p-4ffae31c.entry.js → p-2dea35fd.entry.js} +1 -1
- package/dist/taro-components/{p-4e63d3bd.entry.js → p-2f403f7f.entry.js} +1 -1
- package/dist/taro-components/{p-5f4c6ca5.entry.js → p-2f683899.entry.js} +1 -1
- package/dist/taro-components/p-30623371.entry.js +1 -0
- package/dist/taro-components/{p-5a78fbdf.system.entry.js → p-34933f34.system.entry.js} +1 -1
- package/dist/taro-components/{p-19b993d8.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
- package/dist/taro-components/{p-c2da52a5.entry.js → p-35cca0f9.entry.js} +1 -1
- package/dist/taro-components/{p-e2694a79.system.entry.js → p-35e96af8.system.entry.js} +1 -1
- package/dist/taro-components/{p-8bde1f48.entry.js → p-37593ce7.entry.js} +1 -1
- package/dist/taro-components/p-387f300a.entry.js +1 -0
- package/dist/taro-components/p-3afbae36.entry.js +1 -0
- package/dist/taro-components/{p-c58627f4.entry.js → p-3bd04d38.entry.js} +1 -1
- package/dist/taro-components/{p-e41ed824.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
- package/dist/taro-components/{p-97177863.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
- package/dist/taro-components/{p-aed23034.system.entry.js → p-3dadbe4c.system.entry.js} +1 -1
- package/dist/taro-components/{p-13e80cf7.entry.js → p-3e9bf572.entry.js} +1 -1
- package/dist/taro-components/{p-c253be9f.entry.js → p-445810cb.entry.js} +1 -1
- package/dist/taro-components/p-449f60fa.entry.js +1 -0
- package/dist/taro-components/p-46661961.entry.js +1 -0
- package/dist/taro-components/{p-756aa971.entry.js → p-48e5ddaa.entry.js} +1 -1
- package/dist/taro-components/{p-13bf0192.entry.js → p-4928ee37.entry.js} +1 -1
- package/dist/taro-components/{p-43932446.entry.js → p-4cbd26dd.entry.js} +1 -1
- package/dist/taro-components/{p-28bc8a48.entry.js → p-4e4cc6ab.entry.js} +1 -1
- package/dist/taro-components/{p-80fa706c.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
- package/dist/taro-components/{p-50b21f94.entry.js → p-510a69b3.entry.js} +1 -1
- package/dist/taro-components/p-5307637c.system.entry.js +1 -0
- package/dist/taro-components/{p-b66dfc82.system.entry.js → p-54941baf.system.entry.js} +1 -1
- package/dist/taro-components/{p-fe8ee676.entry.js → p-55be4215.entry.js} +1 -1
- package/dist/taro-components/{p-6c06b440.system.entry.js → p-578f19ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-de1d495a.system.entry.js → p-581e844d.system.entry.js} +1 -1
- package/dist/taro-components/{p-3a3d40de.system.entry.js → p-5a1bb2d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-12b967fd.entry.js → p-5bb60b5e.entry.js} +1 -1
- package/dist/taro-components/{p-62df5526.entry.js → p-600d9210.entry.js} +1 -1
- package/dist/taro-components/p-6066e633.entry.js +1 -0
- package/dist/taro-components/{p-0fe4660a.entry.js → p-61cb688a.entry.js} +1 -1
- package/dist/taro-components/{p-618ee593.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
- package/dist/taro-components/{p-b4707cdd.entry.js → p-64f5abce.entry.js} +1 -1
- package/dist/taro-components/{p-f470ce9f.system.entry.js → p-67ff5a50.system.entry.js} +1 -1
- package/dist/taro-components/p-69e747dc.entry.js +1 -0
- package/dist/taro-components/p-6bbb639a.system.js +2 -0
- package/dist/taro-components/{p-ba241824.system.entry.js → p-6cf765b7.system.entry.js} +1 -1
- package/dist/taro-components/{p-c0f16127.entry.js → p-6e9d509a.entry.js} +1 -1
- package/dist/taro-components/p-6f027b85.entry.js +1 -0
- package/dist/taro-components/{p-d1a095bd.system.entry.js → p-72b954ce.system.entry.js} +1 -1
- package/dist/taro-components/{p-0f95be56.entry.js → p-74129eac.entry.js} +1 -1
- package/dist/taro-components/{p-f782ee74.system.entry.js → p-74b1be20.system.entry.js} +1 -1
- package/dist/taro-components/{p-e6a2f1bd.system.entry.js → p-758e3319.system.entry.js} +1 -1
- package/dist/taro-components/{p-4b5f75b9.system.entry.js → p-75b927b4.system.entry.js} +1 -1
- package/dist/taro-components/p-764cd497.entry.js +1 -0
- package/dist/taro-components/{p-0044961f.system.entry.js → p-7b6f6526.system.entry.js} +1 -1
- package/dist/taro-components/p-7bd1345f.entry.js +1 -0
- package/dist/taro-components/{p-019124ae.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
- package/dist/taro-components/{p-829157b1.system.entry.js → p-7f084a29.system.entry.js} +1 -1
- package/dist/taro-components/{p-66029061.system.entry.js → p-80106cc2.system.entry.js} +1 -1
- package/dist/taro-components/{p-a2f848cc.entry.js → p-80278124.entry.js} +1 -1
- package/dist/taro-components/p-83699a53.entry.js +1 -0
- package/dist/taro-components/{p-342a2594.entry.js → p-846aa5ec.entry.js} +1 -1
- package/dist/taro-components/{p-49e9b2ff.entry.js → p-861834ce.entry.js} +1 -1
- package/dist/taro-components/{p-dde26531.entry.js → p-870e0d9d.entry.js} +1 -1
- package/dist/taro-components/{p-4fcb258a.entry.js → p-87422c88.entry.js} +1 -1
- package/dist/taro-components/{p-11c0dc59.system.entry.js → p-88c5f0eb.system.entry.js} +1 -1
- package/dist/taro-components/{p-5b4de079.entry.js → p-8b70fd1d.entry.js} +1 -1
- package/dist/taro-components/{p-2ebc3182.entry.js → p-8d437a7f.entry.js} +1 -1
- package/dist/taro-components/{p-90ee19f8.system.entry.js → p-8df92f90.system.entry.js} +1 -1
- package/dist/taro-components/{p-aa11b00c.system.entry.js → p-8e45a207.system.entry.js} +1 -1
- package/dist/taro-components/{p-99440bcc.system.entry.js → p-92daad3f.system.entry.js} +1 -1
- package/dist/taro-components/{p-69e70cd5.system.entry.js → p-940d41e9.system.entry.js} +1 -1
- package/dist/taro-components/{p-ead6e57b.entry.js → p-95058ee1.entry.js} +1 -1
- package/dist/taro-components/p-95e88e0f.entry.js +1 -0
- package/dist/taro-components/{p-fe1dd94f.system.entry.js → p-9623f19c.system.entry.js} +1 -1
- package/dist/taro-components/{p-be68ae6e.system.entry.js → p-96d3e67b.system.entry.js} +1 -1
- package/dist/taro-components/{p-92b7b545.entry.js → p-970623a1.entry.js} +1 -1
- package/dist/taro-components/{p-f662c928.entry.js → p-9890bb7b.entry.js} +1 -1
- package/dist/taro-components/p-98b1fc13.js +2 -0
- package/dist/taro-components/{p-fbb789a4.system.entry.js → p-9937cf08.system.entry.js} +1 -1
- package/dist/taro-components/{p-9f3e0019.system.entry.js → p-9a5bfa2a.system.entry.js} +1 -1
- package/dist/taro-components/{p-ae99551a.entry.js → p-9b4e5578.entry.js} +1 -1
- package/dist/taro-components/{p-80228985.entry.js → p-9e138188.entry.js} +1 -1
- package/dist/taro-components/{p-c863ac7f.system.entry.js → p-a197cbae.system.entry.js} +1 -1
- package/dist/taro-components/{p-b259a558.system.entry.js → p-a2a70581.system.entry.js} +1 -1
- package/dist/taro-components/p-a61e195b.entry.js +1 -0
- package/dist/taro-components/{p-477f8fbd.system.js → p-a972aa1d.system.js} +1 -1
- package/dist/taro-components/p-ae128150.entry.js +1 -0
- package/dist/taro-components/{p-3a0a05fd.system.entry.js → p-b04cdd9a.system.entry.js} +1 -1
- package/dist/taro-components/{p-ec0d8c41.system.entry.js → p-b259b4ba.system.entry.js} +1 -1
- package/dist/taro-components/p-b317674b.entry.js +1 -0
- package/dist/taro-components/{p-33980e67.entry.js → p-b3b57aab.entry.js} +1 -1
- package/dist/taro-components/{p-2f8ebd28.system.entry.js → p-b6694eb3.system.entry.js} +1 -1
- package/dist/taro-components/{p-e5b43c80.system.entry.js → p-b8858af9.system.entry.js} +1 -1
- package/dist/taro-components/{p-b43fa9b0.entry.js → p-b8e2465a.entry.js} +1 -1
- package/dist/taro-components/{p-39b3e34d.entry.js → p-ba195b39.entry.js} +1 -1
- package/dist/taro-components/{p-d12b6a84.system.entry.js → p-ba50342b.system.entry.js} +1 -1
- package/dist/taro-components/{p-5dbabb65.entry.js → p-bb712e32.entry.js} +1 -1
- package/dist/taro-components/{p-22f6316e.entry.js → p-bb87373d.entry.js} +1 -1
- package/dist/taro-components/{p-15c1ce79.entry.js → p-bba220a9.entry.js} +1 -1
- package/dist/taro-components/{p-194ace03.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
- package/dist/taro-components/p-bd5177d3.system.js +1 -0
- package/dist/taro-components/{p-7e3f0837.entry.js → p-bdd7b5a9.entry.js} +1 -1
- package/dist/taro-components/{p-b3419d7f.system.entry.js → p-bdee068b.system.entry.js} +1 -1
- package/dist/taro-components/{p-54b24e2f.system.entry.js → p-bf0d2c21.system.entry.js} +1 -1
- package/dist/taro-components/{p-a6790f39.entry.js → p-c0f710ae.entry.js} +1 -1
- package/dist/taro-components/p-c11fcb25.system.entry.js +1 -0
- package/dist/taro-components/p-cbc19d63.entry.js +1 -0
- package/dist/taro-components/{p-8b7e37c9.system.entry.js → p-d03136d7.system.entry.js} +1 -1
- package/dist/taro-components/{p-5bfdb5f3.entry.js → p-d36f8c4f.entry.js} +1 -1
- package/dist/taro-components/p-d3c7f87d.js +1 -0
- package/dist/taro-components/{p-317c4cad.entry.js → p-d60b66c2.entry.js} +1 -1
- package/dist/taro-components/{p-cee51d71.system.entry.js → p-d78ab2de.system.entry.js} +1 -1
- package/dist/taro-components/{p-7b3ce3af.system.entry.js → p-db99e734.system.entry.js} +1 -1
- package/dist/taro-components/{p-55934653.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
- package/dist/taro-components/{p-f7198b67.system.entry.js → p-dc6db06e.system.entry.js} +1 -1
- package/dist/taro-components/{p-e23769c4.entry.js → p-dc98486d.entry.js} +1 -1
- package/dist/taro-components/{p-1b1034dc.entry.js → p-dca5e9ee.entry.js} +1 -1
- package/dist/taro-components/{p-069ae782.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
- package/dist/taro-components/{p-3430d520.system.entry.js → p-e09e8b51.system.entry.js} +1 -1
- package/dist/taro-components/{p-a0f42e7f.entry.js → p-e1c2e636.entry.js} +1 -1
- package/dist/taro-components/{p-b3129dec.entry.js → p-e25c2a22.entry.js} +1 -1
- package/dist/taro-components/{p-dc366f18.entry.js → p-e26c787b.entry.js} +1 -1
- package/dist/taro-components/{p-7b80637e.system.entry.js → p-e457a83a.system.entry.js} +1 -1
- package/dist/taro-components/{p-19b04eb7.entry.js → p-e55f7eb1.entry.js} +1 -1
- package/dist/taro-components/{p-370cc947.entry.js → p-e7d82e00.entry.js} +1 -1
- package/dist/taro-components/{p-970a4199.system.entry.js → p-ebf38559.system.entry.js} +1 -1
- package/dist/taro-components/{p-5867d072.system.entry.js → p-eeb6aeb5.system.entry.js} +1 -1
- package/dist/taro-components/p-ef0aff29.entry.js +1 -0
- package/dist/taro-components/{p-5b86e66b.system.entry.js → p-f554428f.system.entry.js} +1 -1
- package/dist/taro-components/p-fd1d75db.entry.js +1 -0
- package/dist/taro-components/{p-b655e854.system.entry.js → p-ff7dfc5c.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/utils/index.d.ts +0 -2
- package/package.json +3 -3
- package/dist/esm-es5/index-a00a7418.js +0 -1
- package/dist/esm-es5/index-ab3c86da.js +0 -2
- package/dist/hydrate/index.d.ts +0 -217
- package/dist/hydrate/index.js +0 -13054
- package/dist/hydrate/package.json +0 -6
- package/dist/taro-components/p-010faa87.system.js +0 -1
- package/dist/taro-components/p-0d8a0733.entry.js +0 -1
- package/dist/taro-components/p-16705ca9.entry.js +0 -1
- package/dist/taro-components/p-25636983.entry.js +0 -1
- package/dist/taro-components/p-2b70c348.system.js +0 -2
- package/dist/taro-components/p-2d382d0e.entry.js +0 -1
- package/dist/taro-components/p-378b504c.entry.js +0 -1
- package/dist/taro-components/p-48a84765.entry.js +0 -1
- package/dist/taro-components/p-4a748c0d.entry.js +0 -1
- package/dist/taro-components/p-518a9b73.entry.js +0 -1
- package/dist/taro-components/p-52ad5213.system.entry.js +0 -1
- package/dist/taro-components/p-5893c3ed.js +0 -1
- package/dist/taro-components/p-6f3187bc.entry.js +0 -1
- package/dist/taro-components/p-6f8926e3.entry.js +0 -1
- package/dist/taro-components/p-7615d8a6.system.entry.js +0 -1
- package/dist/taro-components/p-7f3d9184.entry.js +0 -1
- package/dist/taro-components/p-8a6e93ed.entry.js +0 -1
- package/dist/taro-components/p-8dcc8aa7.entry.js +0 -1
- package/dist/taro-components/p-baea6a63.entry.js +0 -1
- package/dist/taro-components/p-d184903b.entry.js +0 -1
- package/dist/taro-components/p-d29a59cd.entry.js +0 -1
- package/dist/taro-components/p-da4c4cad.entry.js +0 -1
- package/dist/taro-components/p-dd7a128d.js +0 -2
- package/dist/taro-components/p-e8753c5c.entry.js +0 -1
- package/dist/taro-components/p-ec00e517.entry.js +0 -1
- package/dist/taro-components/p-ed081b3d.entry.js +0 -1
- package/dist/taro-components/p-f9a13a5c.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e,g as r}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s,H as e,g as r}from"./p-98b1fc13.js";import h from"@tarojs/taro";import{c as a}from"./p-de951a46.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{if(!this._to)return;const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,e;const r=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==r?void 0:r.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(e=null===(s=null==r?void 0:r.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===e||e.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:0 0;transform-origin:0 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:gray;border-radius:100%;width:6px;height:6px;margin:3px;-webkit-animation:.5s linear infinite both rmc-pull-to-refresh-indicator;animation:.5s linear infinite both rmc-pull-to-refresh-indicator;display:inline-block}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-.1s!important;animation-delay:-.1s!important}.rmc-pull-to-refresh-indicator>div:first-child{-webkit-animation-delay:-.2s!important;animation-delay:-.2s!important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-.3s!important;animation-delay:-.3s!important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-98b1fc13.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("FollowSwan",this)}render(){return r(s,null)}};export{a as taro_follow_swan_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_root_portal_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RootPortal",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-6bbb639a.system.js"],(function(e){"use strict";var r,s,t;return{setters:[function(e){r=e.r;s=e.h;t=e.H}],execute:function(){var i=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}";var o=e("taro_progress_core",function(){function e(e){r(this,e);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}e.prototype.render=function(){var e=this,r=e.percent,i=e.showInfo,o=e.borderRadius,n=e.fontSize,a=e.strokeWidth,c=e.activeColor,l=e.backgroundColor,u=e.active;var d=r>100?100:r<0?0:r;var h={height:a+"px",backgroundColor:l};var p=u?"width 1s ease-in-out":"none";var f={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:o?"".concat(o,"px"):"0px"};return s(t,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:h},s("div",{class:"weui-progress__inner-bar",style:f})),i&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return e}());o.style=i}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r,H as e}from"./p-98b1fc13.js";const i=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:i,borderRadius:o,fontSize:t,strokeWidth:n,activeColor:a,backgroundColor:l,active:c}=this,p=s>100?100:s<0?0:s,d=c?"width 1s ease-in-out":"none";return r(e,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:n+"px",backgroundColor:l}},r("div",{class:"weui-progress__inner-bar",style:{width:`${p}%`,transition:d,WebkitTransition:d,backgroundColor:a,borderRadius:o?`${o}px`:"0px"}})),i&&r("div",{class:"weui-progress__opr",style:{"font-size":`${t}px`}},r("span",null,p,"%")))}};i.style=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}";export{i as taro_progress_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,c,r;return{setters:[function(t){n=t.r;o=t.h;c=t.H},function(t){r=t.n},function(){}],execute:function(){var e=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OfficialAccount",this)};t.prototype.render=function(){return o(c,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const i=class{constructor(o){r(this,o)}componentDidLoad(){s("ListView",this)}render(){return o(t,null)}};export{i as taro_list_view_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-6bbb639a.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RtcRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-dd7a128d.js";export{s as setNonce}from"./p-dd7a128d.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o(JSON.parse('[["p-b4707cdd",[[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"]]]]],["p-e8753c5c",[[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]}]]],["p-4824cc94",[[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"]]]]],["p-dc366f18",[[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"]]]]],["p-c2da52a5",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"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],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["p-50b21f94",[[0,"taro-ad-core"]]],["p-dde26531",[[0,"taro-ad-custom-core"]]],["p-0d8a0733",[[0,"taro-animation-video-core"]]],["p-6f8926e3",[[0,"taro-animation-view-core"]]],["p-8bde1f48",[[0,"taro-ar-camera-core"]]],["p-39b3e34d",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-e2a22cd1",[[0,"taro-aweme-data-core"]]],["p-378b504c",[[0,"taro-block-core"]]],["p-5bfdb5f3",[[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"]]]]],["p-16705ca9",[[0,"taro-camera-core"]]],["p-0132e803",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-da4c4cad",[[0,"taro-channel-live-core"]]],["p-7f3d9184",[[0,"taro-channel-video-core"]]],["p-b43fa9b0",[[0,"taro-comment-detail-core"]]],["p-6f3187bc",[[0,"taro-comment-list-core"]]],["p-8a6e93ed",[[0,"taro-contact-button-core"]]],["p-342a2594",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-4ffae31c",[[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"]]]]],["p-25636983",[[0,"taro-custom-wrapper-core"]]],["p-f9a13a5c",[[0,"taro-editor-core"]]],["p-370cc947",[[0,"taro-follow-swan-core"]]],["p-13bf0192",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-2d382d0e",[[0,"taro-functional-page-navigator-core"]]],["p-ed081b3d",[[0,"taro-grid-view-core"]]],["p-317c4cad",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-33980e67",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-5f4c6ca5",[[0,"taro-inline-payment-panel-core"]]],["p-37bc198d",[[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],"nativeProps":[16],"focus":[64]}]]],["p-49e9b2ff",[[0,"taro-keyboard-accessory-core"]]],["p-518a9b73",[[4,"taro-label-core",{"for":[1]}]]],["p-3d423adc",[[0,"taro-lifestyle-core"]]],["p-a2f848cc",[[0,"taro-like-core"]]],["p-ec00e517",[[0,"taro-list-view-core"]]],["p-e23769c4",[[0,"taro-live-player-core"]]],["p-5b4de079",[[0,"taro-live-pusher-core"]]],["p-baea6a63",[[0,"taro-login-core"]]],["p-80228985",[[0,"taro-lottie-core"]]],["p-a0f42e7f",[[0,"taro-map-core"]]],["p-c0f16127",[[0,"taro-match-media-core"]]],["p-28bc8a48",[[0,"taro-native-slot-core"]]],["p-4a748c0d",[[0,"taro-navigation-bar-core"]]],["p-ead6e57b",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-d29a59cd",[[0,"taro-official-account-core"]]],["p-13e80cf7",[[0,"taro-open-data-core"]]],["p-12b967fd",[[0,"taro-page-container-core"]]],["p-2ebc3182",[[0,"taro-page-meta-core"]]],["p-8dcc8aa7",[[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]}]]],["p-19b04eb7",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-5dbabb65",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-ae99551a",[[0,"taro-root-portal-core"]]],["p-fe8ee676",[[0,"taro-rtc-room-core"]]],["p-d184903b",[[0,"taro-rtc-room-item-core"]]],["p-7e3f0837",[[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"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-f662c928",[[0,"taro-share-element-core"]]],["p-4e63d3bd",[[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]}]]],["p-92b7b545",[[0,"taro-slot-core"]]],["p-15c1ce79",[[0,"taro-snapshot-core"]]],["p-43932446",[[0,"taro-sticky-header-core"]]],["p-48a84765",[[0,"taro-sticky-section-core"]]],["p-0f95be56",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-a6790f39",[[0,"taro-tab-item-core"]]],["p-1b1034dc",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-756aa971",[[0,"taro-tabs-core"]]],["p-c58627f4",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-0fe4660a",[[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]}]]],["p-c253be9f",[[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"]]]]],["p-4fcb258a",[[0,"taro-voip-room-core"]]],["p-b3129dec",[[0,"taro-web-view-core",{"src":[1]}]]],["p-62df5526",[[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"]]]]],["p-22f6316e",[[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]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as o}from"./p-98b1fc13.js";export{s as setNonce}from"./p-98b1fc13.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o(JSON.parse('[["p-64f5abce",[[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"]]]]],["p-6f027b85",[[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]}]]],["p-16954dd6",[[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"]]]]],["p-e26c787b",[[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"]]]]],["p-35cca0f9",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"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],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["p-510a69b3",[[0,"taro-ad-core"]]],["p-870e0d9d",[[0,"taro-ad-custom-core"]]],["p-a61e195b",[[0,"taro-animation-video-core"]]],["p-764cd497",[[0,"taro-animation-view-core"]]],["p-37593ce7",[[0,"taro-ar-camera-core"]]],["p-ba195b39",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-1d25f4e3",[[0,"taro-aweme-data-core"]]],["p-7bd1345f",[[0,"taro-block-core"]]],["p-d36f8c4f",[[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"]]]]],["p-ae128150",[[0,"taro-camera-core"]]],["p-128f9eb0",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-95e88e0f",[[0,"taro-channel-live-core"]]],["p-449f60fa",[[0,"taro-channel-video-core"]]],["p-b8e2465a",[[0,"taro-comment-detail-core"]]],["p-6066e633",[[0,"taro-comment-list-core"]]],["p-cbc19d63",[[0,"taro-contact-button-core"]]],["p-846aa5ec",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-2dea35fd",[[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"]]]]],["p-3afbae36",[[0,"taro-custom-wrapper-core"]]],["p-1ced140d",[[0,"taro-editor-core"]]],["p-e7d82e00",[[0,"taro-follow-swan-core"]]],["p-4928ee37",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-69e747dc",[[0,"taro-functional-page-navigator-core"]]],["p-83699a53",[[0,"taro-grid-view-core"]]],["p-d60b66c2",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-b3b57aab",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-2f683899",[[0,"taro-inline-payment-panel-core"]]],["p-00d05751",[[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],"nativeProps":[16],"focus":[64]}]]],["p-861834ce",[[0,"taro-keyboard-accessory-core"]]],["p-46661961",[[4,"taro-label-core",{"for":[1]}]]],["p-2d6d4850",[[0,"taro-lifestyle-core"]]],["p-80278124",[[0,"taro-like-core"]]],["p-fd1d75db",[[0,"taro-list-view-core"]]],["p-dc98486d",[[0,"taro-live-player-core"]]],["p-8b70fd1d",[[0,"taro-live-pusher-core"]]],["p-30623371",[[0,"taro-login-core"]]],["p-9e138188",[[0,"taro-lottie-core"]]],["p-e1c2e636",[[0,"taro-map-core"]]],["p-6e9d509a",[[0,"taro-match-media-core"]]],["p-4e4cc6ab",[[0,"taro-native-slot-core"]]],["p-387f300a",[[0,"taro-navigation-bar-core"]]],["p-95058ee1",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-101f49dd",[[0,"taro-official-account-core"]]],["p-3e9bf572",[[0,"taro-open-data-core"]]],["p-5bb60b5e",[[0,"taro-page-container-core"]]],["p-8d437a7f",[[0,"taro-page-meta-core"]]],["p-ef0aff29",[[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]}]]],["p-e55f7eb1",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-bb712e32",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-9b4e5578",[[0,"taro-root-portal-core"]]],["p-55be4215",[[0,"taro-rtc-room-core"]]],["p-0e3d8ada",[[0,"taro-rtc-room-item-core"]]],["p-bdd7b5a9",[[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"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-9890bb7b",[[0,"taro-share-element-core"]]],["p-2f403f7f",[[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]}]]],["p-970623a1",[[0,"taro-slot-core"]]],["p-bba220a9",[[0,"taro-snapshot-core"]]],["p-4cbd26dd",[[0,"taro-sticky-header-core"]]],["p-b317674b",[[0,"taro-sticky-section-core"]]],["p-74129eac",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-c0f710ae",[[0,"taro-tab-item-core"]]],["p-dca5e9ee",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-48e5ddaa",[[0,"taro-tabs-core"]]],["p-3bd04d38",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-61cb688a",[[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]}]]],["p-445810cb",[[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"]]]]],["p-87422c88",[[0,"taro-voip-room-core"]]],["p-e25c2a22",[[0,"taro-web-view-core",{"src":[1]}]]],["p-600d9210",[[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"]]]]],["p-bb87373d",[[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]}]]]]'),e)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-a972aa1d.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "3.6.24-nightly.
|
|
3
|
+
"version": "3.6.24-nightly.4",
|
|
4
4
|
"description": "Taro 组件库",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"resolve-pathname": "^3.0.0",
|
|
37
37
|
"tslib": "^2.6.2",
|
|
38
38
|
"swiper": "6.8.0",
|
|
39
|
-
"@tarojs/components-advanced": "3.6.24-nightly.
|
|
40
|
-
"@tarojs/taro": "3.6.24-nightly.
|
|
39
|
+
"@tarojs/components-advanced": "3.6.24-nightly.4",
|
|
40
|
+
"@tarojs/taro": "3.6.24-nightly.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/generator": "^7.20.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function throttle(e,t,n){if(t===void 0){t=250}var i=0;var o;return function(){var r=[];for(var a=0;a<arguments.length;a++){r[a]=arguments[a]}var f=n||this;var s=Date.now();if(s-i>t){e.apply(this,r);i=s}else{clearTimeout(o);o=setTimeout((function(){i=s;e.apply(f,r)}),t)}}}function debounce(e,t,n){if(t===void 0){t=250}var i;return function(){var o=[];for(var r=0;r<arguments.length;r++){o[r]=arguments[r]}var a=n||this;clearTimeout(i);i=setTimeout((function(){e.apply(a,o)}),t)}}function isVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function isElement(e){return typeof HTMLElement==="object"?e instanceof HTMLElement:e&&typeof e==="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName==="string"}export{isVisible as a,debounce as d,isElement as i,throttle as t};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__extends,__generator,__spreadArray}from"tslib";var NAMESPACE="taro-components";var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var l=null;var i=false;var s=false;var $=[];var c=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){c(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&s){$[$.length-1].$text$+=a}else{$.push(i?newVNode(null,a):a)}s=i}}};c(n);if(t){if(t.key){o=t.key}if(t.name){l=t.name}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,$,vdomFnUtils)}var u=newVNode(e,null);u.$attrs$=t;if($.length>0){u.$children$=$}{u.$key$=o}{u.$name$=l}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var initializeClientHydrate=function(e,t,n,r){var a=createTime("hydrateClient",t);var o=e.shadowRoot;var l=[];var i=[];var s=null;var $=r.$vnode$=newVNode(t,null);if(!plt.$orgLocNodes$){initializeDocumentHydrate(doc.body,plt.$orgLocNodes$=new Map)}e[HYDRATE_ID]=n;e.removeAttribute(HYDRATE_ID);clientHydrate($,l,i,s,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=plt.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&supportsShadow&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!o){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}plt.$orgLocNodes$.delete(n)}));a()};var clientHydrate=function(e,t,n,r,a,o,l){var i;var s;var $;var c;if(o.nodeType===1){i=o.getAttribute(HYDRATE_CHILD_ID);if(i){s=i.split(".");if(s[0]===l||s[0]==="0"){$={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push($);o.removeAttribute(HYDRATE_CHILD_ID);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;e=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}for(c=o.childNodes.length-1;c>=0;c--){clientHydrate(e,t,n,r,a,o.childNodes[c],l)}if(o.shadowRoot){for(c=o.shadowRoot.childNodes.length-1;c>=0;c--){clientHydrate(e,t,n,r,a,o.shadowRoot.childNodes[c],l)}}}else if(o.nodeType===8){s=o.nodeValue.split(".");if(s[1]===l||s[1]==="0"){i=s[0];$={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(i===TEXT_NODE_ID){$.$elm$=o.nextSibling;if($.$elm$&&$.$elm$.nodeType===3){$.$text$=$.$elm$.textContent;t.push($);o.remove();if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}else if($.$hostId$===l){if(i===SLOT_NODE_ID){$.$tag$="slot";if(s[5]){o["s-sn"]=$.$name$=s[5]}else{o["s-sn"]=""}o["s-sr"]=true;n.push($);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$}else if(i===CONTENT_REF_ID){{a["s-cr"]=o;o["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var f=newVNode(null,o.textContent);f.$elm$=o;f.$index$="0";e.$children$=[f]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){initializeDocumentHydrate(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===ORG_LOCATION_ID){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a;var o=getScopeId(t);var l=styles.get(o);e=e.nodeType===11?e:doc;if(l){if(typeof l==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(o)){if(e.host&&(s=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(o,'"]')))){s.innerHTML=l}else{{s=doc.createElement("style");s.innerHTML=l}var $=(a=plt.$nonce$)!==null&&a!==void 0?a:queryNonceMetaTagContent(doc);if($!=null){s.setAttribute("nonce",$)}e.insertBefore(s,e.querySelector("link"))}if(i){i.add(o)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[l],false)}}return o};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=createTime("attachStyles",t.$tagName$);addStyle(n.getRootNode(),t);r()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var l=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var s=e.classList;var $=parseClassList(n);var c=parseClassList(r);s.remove.apply(s,$.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var f in n){if(!r||r[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in r){if(!n||r[f]!==n[f]){if(f.includes("-")){e.style.setProperty(f,r[f])}else{e.style[f]=r[f]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var u=isComplexType(r);if((l||u&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var d=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=d){e[t]=d}}else{e[t]=r}}catch(e){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!l||o&4||a)&&!u){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var l=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in l)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in l){setAccessor(a,r,o[r],l[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var l;var i;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){l=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){l=a.$elm$=doc.createTextNode("")}else{l=a.$elm$=doc.createElement(a.$flags$&2?"slot-fb":a.$tag$);{updateElement(null,a,isSvgMode)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){l.appendChild(i)}}}}{l["s-hn"]=hostTagName;if(a.$flags$&(2|1)){l["s-sr"]=true;l["s-cr"]=contentRef;l["s-sn"]=a.$name$||"";s=e&&e.$children$&&e.$children$[n];if(s&&s.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return l};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var i;for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;l.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var l=0;var i=0;var s=t.length-1;var $=t[0];var c=t[s];var f=r.length-1;var u=r[0];var d=r[f];var v;var p;while(a<=s&&o<=f){if($==null){$=t[++a]}else if(c==null){c=t[--s]}else if(u==null){u=r[++o]}else if(d==null){d=r[--f]}else if(isSameVnode($,u)){patch($,u);$=t[++a];u=r[++o]}else if(isSameVnode(c,d)){patch(c,d);c=t[--s];d=r[--f]}else if(isSameVnode($,d)){if($.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation($.$elm$.parentNode,false)}patch($,d);e.insertBefore($.$elm$,c.$elm$.nextSibling);$=t[++a];d=r[--f]}else if(isSameVnode(c,u)){if($.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,u);e.insertBefore(c.$elm$,$.$elm$);c=t[--s];u=r[++o]}else{l=-1;{for(i=a;i<=s;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===u.$key$){l=i;break}}}if(l>=0){p=t[l];if(p.$tag$!==u.$tag$){v=createElm(t&&t[o],n,l)}else{patch(p,u);t[l]=undefined;v=p.$elm$}u=r[++o]}else{v=createElm(t&&t[o],n,o);u=r[++o]}if(v){{parentReferenceNode($.$elm$).insertBefore(v,referenceNode($.$elm$))}}}}if(a>s){addVnodes(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f)}else if(o>f){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var l=t.$text$;var i;if(l===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}}else if(i=n["s-cr"]){i.parentNode.textContent=l}else if(e.$text$!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var l;var i;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){l=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){i=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||l!==""){if(i===1&&l===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var l;var i=0;var s=e.childNodes;var $=s.length;for(;i<$;i++){t=s[i];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(l=r.length-1;l>=0;l--){n=r[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n;{contentRef=n["s-cr"];useNativeShadowDom=(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var l=void 0;var i=void 0;var s=void 0;var $=void 0;var c=void 0;var f=void 0;var u=0;for(;u<relocateNodes.length;u++){l=relocateNodes[u];i=l.$nodeToRelocate$;if(!i["s-ol"]){s=doc.createTextNode("");s["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=s,i)}}for(u=0;u<relocateNodes.length;u++){l=relocateNodes[u];i=l.$nodeToRelocate$;if(l.$slotRefNode$){$=l.$slotRefNode$.parentNode;c=l.$slotRefNode$.nextSibling;s=i["s-ol"];while(s=s.previousSibling){f=s["s-nr"];if(f&&f["s-sn"]===i["s-sn"]&&$===f.parentNode){f=f.nextSibling;if(!f||!f["s-nr"]){c=f;break}}}if(!c&&$!==i.parentNode||i.nextSibling!==c){if(i!==c){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}$.insertBefore(i,c)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}else{{a=safeCall(r,"componentWillUpdate")}}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,l,i,s;return __generator(this,(function($){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}l=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{i=r["s-p"];s=function(){return postUpdateComponent(e)};if(i.length===0){s()}else{Promise.all(i).then(s);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var l=a.$instanceValues$.get(t);var i=a.$flags$;var s=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var $=Number.isNaN(l)&&Number.isNaN(n);var c=n!==l&&!$;if((!(i&8)||l===undefined)&&c){a.$instanceValues$.set(t,n);if(s){if(r.$watchers$&&i&128){var f=r.$watchers$[t];if(f){f.map((function(e){try{s[e](n,l,t)}catch(e){consoleError(e,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,l,i,s,$;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;l=getScopeId(n);if(!styles.has(l)){i=createTime("registerStyles",n.$tagName$);registerStyle(l,o,!!(n.$flags$&1));i()}}c.label=3;case 3:s=t.$ancestorComponent$;$=function(){return scheduleUpdate(t,true)};if(s&&s["s-rc"]){s["s-rc"].push($)}else{$()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){initializeClientHydrate(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.$ancestorComponent$=o);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var l=win.customElements;var i=doc.head;var s=i.querySelector("meta[charset]");var $=doc.createElement("style");var c=[];var f;var u=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.$flags$|=2}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var r=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!o.includes(r)&&!l.get(r)){a.push(r);l.define(r,proxyComponent(i,n,1))}}))}));{$.innerHTML=a+HYDRATED_CSS;$.setAttribute("data-styles","");var d=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){$.setAttribute("nonce",d)}i.insertBefore($,s?s.nextSibling:i.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var l=getHostListenerTarget(e,r);var i=hostListenerProxy(t,o);var s=hostListenerOpts(r);plt.ael(l,a,i,s);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(l,a,i,s)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;return e};var hostListenerOpts=function(e){return(e&2)!==0};var setNonce=function(e){return plt.$nonce$=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=true;var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/hydrate/index.d.ts
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v7.1.0
|
|
2
|
-
|
|
3
|
-
export declare function createWindowFromHtml(templateHtml: string, uniqueId: string): any;
|
|
4
|
-
export interface HydrateDocumentOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
|
|
7
|
-
* a random ID will be generated
|
|
8
|
-
*/
|
|
9
|
-
buildId?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `href` attribute on the `<link rel="canonical">`
|
|
12
|
-
* tag within the `<head>`. If the value is not defined it will
|
|
13
|
-
* ensure a canonical link tag is no included in the `<head>`.
|
|
14
|
-
*/
|
|
15
|
-
canonicalUrl?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Include the HTML comments and attributes used by the clientside
|
|
18
|
-
* JavaScript to read the structure of the HTML and rebuild each
|
|
19
|
-
* component. Defaults to `true`.
|
|
20
|
-
*/
|
|
21
|
-
clientHydrateAnnotations?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Constrain `setTimeout()` to 1ms, but still async. Also
|
|
24
|
-
* only allows `setInterval()` to fire once, also constrained to 1ms.
|
|
25
|
-
* Defaults to `true`.
|
|
26
|
-
*/
|
|
27
|
-
constrainTimeouts?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Sets `document.cookie`
|
|
30
|
-
*/
|
|
31
|
-
cookie?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the `dir` attribute on the top level `<html>`.
|
|
34
|
-
*/
|
|
35
|
-
direction?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Component tag names listed here will not be prerendered, nor will
|
|
38
|
-
* hydrated on the clientside. Components listed here will be ignored
|
|
39
|
-
* as custom elements and treated no differently than a `<div>`.
|
|
40
|
-
*/
|
|
41
|
-
excludeComponents?: string[];
|
|
42
|
-
/**
|
|
43
|
-
* Sets the `lang` attribute on the top level `<html>`.
|
|
44
|
-
*/
|
|
45
|
-
language?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Maximum number of components to hydrate on one page. Defaults to `300`.
|
|
48
|
-
*/
|
|
49
|
-
maxHydrateCount?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Sets `document.referrer`
|
|
52
|
-
*/
|
|
53
|
-
referrer?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Removes every `<script>` element found in the `document`. Defaults to `false`.
|
|
56
|
-
*/
|
|
57
|
-
removeScripts?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Removes CSS not used by elements within the `document`. Defaults to `true`.
|
|
60
|
-
*/
|
|
61
|
-
removeUnusedStyles?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* The url the runtime uses for the resources, such as the assets directory.
|
|
64
|
-
*/
|
|
65
|
-
resourcesUrl?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Prints out runtime console logs to the NodeJS process. Defaults to `false`.
|
|
68
|
-
*/
|
|
69
|
-
runtimeLogging?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Component tags listed here will only be prerendered or serverside-rendered
|
|
72
|
-
* and will not be clientside hydrated. This is useful for components that
|
|
73
|
-
* are not dynamic and do not need to be defined as a custom element within the
|
|
74
|
-
* browser. For example, a header or footer component would be a good example that
|
|
75
|
-
* may not require any clientside JavaScript.
|
|
76
|
-
*/
|
|
77
|
-
staticComponents?: string[];
|
|
78
|
-
/**
|
|
79
|
-
* The amount of milliseconds to wait for a page to finish rendering until
|
|
80
|
-
* a timeout error is thrown. Defaults to `15000`.
|
|
81
|
-
*/
|
|
82
|
-
timeout?: number;
|
|
83
|
-
/**
|
|
84
|
-
* Sets `document.title`.
|
|
85
|
-
*/
|
|
86
|
-
title?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Sets `location.href`
|
|
89
|
-
*/
|
|
90
|
-
url?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Sets `navigator.userAgent`
|
|
93
|
-
*/
|
|
94
|
-
userAgent?: string;
|
|
95
|
-
}
|
|
96
|
-
export interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
97
|
-
/**
|
|
98
|
-
* Runs after the `document` has been hydrated.
|
|
99
|
-
*/
|
|
100
|
-
afterHydrate?(document: any): any | Promise<any>;
|
|
101
|
-
/**
|
|
102
|
-
* Sets an approximate line width the HTML should attempt to stay within.
|
|
103
|
-
* Note that this is "approximate", in that HTML may often not be able
|
|
104
|
-
* to be split at an exact line width. Additionally, new lines created
|
|
105
|
-
* is where HTML naturally already has whitespace, such as before an
|
|
106
|
-
* attribute or spaces between words. Defaults to `100`.
|
|
107
|
-
*/
|
|
108
|
-
approximateLineWidth?: number;
|
|
109
|
-
/**
|
|
110
|
-
* Runs before the `document` has been hydrated.
|
|
111
|
-
*/
|
|
112
|
-
beforeHydrate?(document: any): any | Promise<any>;
|
|
113
|
-
/**
|
|
114
|
-
* Format the HTML in a nicely indented format.
|
|
115
|
-
* Defaults to `false`.
|
|
116
|
-
*/
|
|
117
|
-
prettyHtml?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Remove quotes from attribute values when possible.
|
|
120
|
-
* Defaults to `true`.
|
|
121
|
-
*/
|
|
122
|
-
removeAttributeQuotes?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Remove the `=""` from standardized `boolean` attributes,
|
|
125
|
-
* such as `hidden` or `checked`. Defaults to `true`.
|
|
126
|
-
*/
|
|
127
|
-
removeBooleanAttributeQuotes?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Remove these standardized attributes when their value is empty:
|
|
130
|
-
* `class`, `dir`, `id`, `lang`, and `name`, `title`. Defaults to `true`.
|
|
131
|
-
*/
|
|
132
|
-
removeEmptyAttributes?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Remove HTML comments. Defaults to `true`.
|
|
135
|
-
*/
|
|
136
|
-
removeHtmlComments?: boolean;
|
|
137
|
-
}
|
|
138
|
-
export interface HydrateFactoryOptions extends SerializeDocumentOptions {
|
|
139
|
-
serializeToHtml: boolean;
|
|
140
|
-
destroyWindow: boolean;
|
|
141
|
-
destroyDocument: boolean;
|
|
142
|
-
}
|
|
143
|
-
export interface Diagnostic {
|
|
144
|
-
level: "error" | "warn" | "info" | "log" | "debug";
|
|
145
|
-
type: string;
|
|
146
|
-
header?: string;
|
|
147
|
-
language?: string;
|
|
148
|
-
messageText: string;
|
|
149
|
-
debugText?: string;
|
|
150
|
-
code?: string;
|
|
151
|
-
absFilePath?: string;
|
|
152
|
-
relFilePath?: string;
|
|
153
|
-
lineNumber?: number;
|
|
154
|
-
columnNumber?: number;
|
|
155
|
-
lines?: {
|
|
156
|
-
lineIndex: number;
|
|
157
|
-
lineNumber: number;
|
|
158
|
-
text?: string;
|
|
159
|
-
errorCharStart: number;
|
|
160
|
-
errorLength?: number;
|
|
161
|
-
}[];
|
|
162
|
-
}
|
|
163
|
-
export interface HydrateResults {
|
|
164
|
-
buildId: string;
|
|
165
|
-
diagnostics: Diagnostic[];
|
|
166
|
-
url: string;
|
|
167
|
-
host: string;
|
|
168
|
-
hostname: string;
|
|
169
|
-
href: string;
|
|
170
|
-
port: string;
|
|
171
|
-
pathname: string;
|
|
172
|
-
search: string;
|
|
173
|
-
hash: string;
|
|
174
|
-
html: string;
|
|
175
|
-
components: HydrateComponent[];
|
|
176
|
-
anchors: HydrateAnchorElement[];
|
|
177
|
-
imgs: HydrateImgElement[];
|
|
178
|
-
scripts: HydrateScriptElement[];
|
|
179
|
-
styles: HydrateStyleElement[];
|
|
180
|
-
staticData: HydrateStaticData[];
|
|
181
|
-
title: string;
|
|
182
|
-
hydratedCount: number;
|
|
183
|
-
httpStatus: number;
|
|
184
|
-
}
|
|
185
|
-
export interface HydrateComponent {
|
|
186
|
-
tag: string;
|
|
187
|
-
mode: string;
|
|
188
|
-
count: number;
|
|
189
|
-
depth: number;
|
|
190
|
-
}
|
|
191
|
-
export interface HydrateElement {
|
|
192
|
-
[attrName: string]: string | undefined;
|
|
193
|
-
}
|
|
194
|
-
export interface HydrateAnchorElement extends HydrateElement {
|
|
195
|
-
href?: string;
|
|
196
|
-
target?: string;
|
|
197
|
-
}
|
|
198
|
-
export interface HydrateImgElement extends HydrateElement {
|
|
199
|
-
src?: string;
|
|
200
|
-
}
|
|
201
|
-
export interface HydrateScriptElement extends HydrateElement {
|
|
202
|
-
src?: string;
|
|
203
|
-
type?: string;
|
|
204
|
-
}
|
|
205
|
-
export interface HydrateStyleElement extends HydrateElement {
|
|
206
|
-
href?: string;
|
|
207
|
-
}
|
|
208
|
-
export interface HydrateStaticData {
|
|
209
|
-
id: string;
|
|
210
|
-
type: string;
|
|
211
|
-
content: string;
|
|
212
|
-
}
|
|
213
|
-
export declare function renderToString(html: string | any, options?: SerializeDocumentOptions): Promise<HydrateResults>;
|
|
214
|
-
export declare function hydrateDocument(doc: any | string, options?: HydrateDocumentOptions): Promise<HydrateResults>;
|
|
215
|
-
export declare function serializeDocumentToString(doc: any, opts: HydrateFactoryOptions): string;
|
|
216
|
-
|
|
217
|
-
export {};
|