@tarojs/components 3.6.2 → 3.6.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/LICENSE +21 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +28 -18
- package/dist/cjs/taro-textarea-core.cjs.entry.js +13 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +3 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/grid-view/grid-view.js +11 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/list-view/list-view.js +11 -0
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/sticky-header/sticky-header.js +11 -0
- package/dist/collection/components/sticky-section/sticky-section.js +11 -0
- package/dist/collection/components/swiper/swiper-item.js +16 -9
- package/dist/collection/components/swiper/swiper.js +12 -9
- package/dist/collection/components/textarea/textarea.js +23 -6
- package/dist/collection/components/video/video.js +3 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +4 -0
- package/dist/components/taro-grid-view-core.d.ts +11 -0
- package/dist/components/taro-grid-view-core.js +33 -0
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-list-view-core.d.ts +11 -0
- package/dist/components/taro-list-view-core.js +33 -0
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-sticky-header-core.d.ts +11 -0
- package/dist/components/taro-sticky-header-core.js +33 -0
- package/dist/components/taro-sticky-section-core.d.ts +11 -0
- package/dist/components/taro-sticky-section-core.js +33 -0
- package/dist/components/taro-swiper-core.js +12 -9
- package/dist/components/taro-swiper-item-core.js +16 -9
- package/dist/components/taro-textarea-core.js +14 -4
- package/dist/components/taro-video-core.js +3 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +17 -0
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +17 -0
- package/dist/esm/taro-picker-core_2.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +17 -0
- package/dist/esm/taro-sticky-section-core.entry.js +17 -0
- package/dist/esm/taro-swiper-core_2.entry.js +28 -18
- package/dist/esm/taro-textarea-core.entry.js +13 -3
- package/dist/esm/taro-video-control_3.entry.js +3 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -0
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/taro-components/p-02aa7366.system.entry.js +1 -0
- package/dist/taro-components/p-05c757b7.entry.js +1 -0
- package/dist/taro-components/{p-4d390d17.entry.js → p-0b8b3af5.entry.js} +1 -1
- package/dist/taro-components/p-1c446c65.system.js +1 -1
- package/dist/taro-components/p-1eac7c75.system.entry.js +1 -0
- package/dist/taro-components/{p-3e23fa46.system.entry.js → p-39685396.system.entry.js} +1 -1
- package/dist/taro-components/p-4402972b.system.entry.js +1 -0
- package/dist/taro-components/{p-e53feb03.system.entry.js → p-58f9a827.system.entry.js} +1 -1
- package/dist/taro-components/p-5931c82e.entry.js +1 -0
- package/dist/taro-components/{p-ab84c88e.entry.js → p-7704e165.entry.js} +1 -1
- package/dist/taro-components/p-7c1fc8f5.system.entry.js +1 -0
- package/dist/taro-components/p-7df9de66.system.entry.js +1 -0
- package/dist/taro-components/{p-10046f1a.system.entry.js → p-a5afdc47.system.entry.js} +1 -1
- package/dist/taro-components/p-affb28de.entry.js +1 -0
- package/dist/taro-components/{p-8267b686.entry.js → p-c30d1b2d.entry.js} +1 -1
- package/dist/taro-components/p-dfc405a5.entry.js +1 -0
- package/dist/taro-components/p-e753b776.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/grid-view/grid-view.d.ts +5 -0
- package/dist/types/components/list-view/list-view.d.ts +5 -0
- package/dist/types/components/sticky-header/sticky-header.d.ts +5 -0
- package/dist/types/components/sticky-section/sticky-section.d.ts +5 -0
- package/dist/types/components/textarea/textarea.d.ts +2 -1
- package/dist/types/components.d.ts +52 -0
- package/lib/react/components.d.ts +81 -77
- package/lib/react/components.js +82 -77
- package/lib/react/components.js.map +1 -1
- package/lib/react/index.js +1 -1
- package/lib/react/{interfaces-4f837811.d.ts → interfaces-f526f1a2.d.ts} +4 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js +221 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js.map +1 -0
- package/lib/react/react-component-lib/createComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createComponent.js +6 -4
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +2 -1
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +2 -6
- package/lib/react/react-component-lib/utils/attachProps.js +41 -36
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +4 -0
- package/lib/react/react-component-lib/utils/case.js +4 -0
- package/lib/react/react-component-lib/utils/case.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.d.ts +5 -1
- package/lib/react/react-component-lib/utils/index.js +4 -0
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/vue2/components-loader.d.ts +2 -0
- package/lib/vue2/components-loader.js +21 -0
- package/lib/vue2/components-loader.js.map +1 -0
- package/lib/vue2/components.d.ts +5 -1
- package/lib/vue2/components.js +141 -224
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.d.ts +0 -2
- package/lib/vue2/index.js +1 -22
- package/lib/vue2/index.js.map +1 -1
- package/lib/vue2/vue-component-lib/utils.d.ts +7 -3
- package/lib/vue2/vue-component-lib/utils.js +42 -25
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/components-loader.d.ts +2 -0
- package/lib/vue3/components-loader.js +13 -0
- package/lib/vue3/components-loader.js.map +1 -0
- package/lib/vue3/components.d.ts +5 -1
- package/lib/vue3/components.js +82 -77
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +0 -2
- package/lib/vue3/index.js +1 -14
- package/lib/vue3/index.js.map +1 -1
- package/lib/vue3/vue-component-lib/utils.js +11 -4
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +11 -8
- package/types/Ad.d.ts +2 -31
- package/types/AdCustom.d.ts +0 -4
- package/types/AnimationVideo.d.ts +0 -9
- package/types/AnimationView.d.ts +0 -6
- package/types/ArCamera.d.ts +0 -7
- package/types/Audio.d.ts +0 -18
- package/types/AwemeData.d.ts +0 -6
- package/types/Button.d.ts +3 -106
- package/types/Camera.d.ts +0 -28
- package/types/Canvas.d.ts +2 -17
- package/types/ChannelLive.d.ts +0 -2
- package/types/ChannelVideo.d.ts +0 -6
- package/types/Checkbox.d.ts +1 -8
- package/types/CheckboxGroup.d.ts +0 -2
- package/types/CommentDetail.d.ts +4 -10
- package/types/CommentList.d.ts +4 -20
- package/types/ContactButton.d.ts +0 -7
- package/types/CoverImage.d.ts +0 -11
- package/types/CoverView.d.ts +0 -26
- package/types/Editor.d.ts +0 -10
- package/types/FollowSwan.d.ts +0 -3
- package/types/Form.d.ts +1 -9
- package/types/FunctionalPageNavigator.d.ts +0 -11
- package/types/GridView.d.ts +37 -0
- package/types/Icon.d.ts +0 -14
- package/types/Image.d.ts +0 -31
- package/types/InlinePaymentPanel.d.ts +0 -9
- package/types/Input.d.ts +0 -62
- package/types/Label.d.ts +3 -2
- package/types/Lifestyle.d.ts +0 -3
- package/types/Like.d.ts +0 -17
- package/types/ListView.d.ts +12 -0
- package/types/LivePlayer.d.ts +1 -58
- package/types/LivePusher.d.ts +0 -77
- package/types/Login.d.ts +0 -5
- package/types/Lottie.d.ts +0 -16
- package/types/Map.d.ts +19 -136
- package/types/MatchMedia.d.ts +0 -7
- package/types/MovableArea.d.ts +0 -1
- package/types/MovableView.d.ts +0 -35
- package/types/NavigationBar.d.ts +0 -6
- package/types/Navigator.d.ts +0 -27
- package/types/OfficialAccount.d.ts +0 -12
- package/types/OpenData.d.ts +0 -20
- package/types/PageContainer.d.ts +0 -21
- package/types/PageMeta.d.ts +0 -16
- package/types/Picker.d.ts +17 -45
- package/types/PickerView.d.ts +1 -12
- package/types/Progress.d.ts +0 -13
- package/types/Radio.d.ts +1 -8
- package/types/RadioGroup.d.ts +0 -2
- package/types/RichText.d.ts +1 -22
- package/types/RootPortal.d.ts +1 -2
- package/types/RtcRoom.d.ts +0 -16
- package/types/RtcRoomItem.d.ts +0 -3
- package/types/ScrollView.d.ts +43 -46
- package/types/ShareElement.d.ts +2 -7
- package/types/Slider.d.ts +0 -19
- package/types/StickyHeader.d.ts +12 -0
- package/types/StickySection.d.ts +18 -0
- package/types/Swiper.d.ts +0 -44
- package/types/SwiperItem.d.ts +0 -2
- package/types/Switch.d.ts +2 -11
- package/types/TabItem.d.ts +0 -4
- package/types/Tabs.d.ts +0 -8
- package/types/Text.d.ts +0 -7
- package/types/Textarea.d.ts +2 -38
- package/types/Video.d.ts +1 -112
- package/types/View.d.ts +0 -25
- package/types/VoipRoom.d.ts +0 -6
- package/types/WebView.d.ts +0 -6
- package/types/index.d.ts +4 -0
- package/types/index.vue3.d.ts +8 -0
- package/dist/taro-components/p-0895120a.system.entry.js +0 -1
- package/dist/taro-components/p-0aaf66d2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":["../../../taro-components-library-react/src/components.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { Fragment } from 'react'\nimport { manipulatePropsFunction } from './helper'\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@tarojs/components/dist/types/components';\n\n\n\nexport const Ad = /*@__PURE__*/createReactComponent<JSX.TaroAdCore, HTMLTaroAdCoreElement>('taro-ad-core', undefined, manipulatePropsFunction);\nexport const AdCustom = /*@__PURE__*/createReactComponent<JSX.TaroAdCustomCore, HTMLTaroAdCustomCoreElement>('taro-ad-custom-core', undefined, manipulatePropsFunction);\nexport const AnimationVideo = /*@__PURE__*/createReactComponent<JSX.TaroAnimationVideoCore, HTMLTaroAnimationVideoCoreElement>('taro-animation-video-core', undefined, manipulatePropsFunction);\nexport const AnimationView = /*@__PURE__*/createReactComponent<JSX.TaroAnimationViewCore, HTMLTaroAnimationViewCoreElement>('taro-animation-view-core', undefined, manipulatePropsFunction);\nexport const ArCamera = /*@__PURE__*/createReactComponent<JSX.TaroArCameraCore, HTMLTaroArCameraCoreElement>('taro-ar-camera-core', undefined, manipulatePropsFunction);\nexport const Audio = /*@__PURE__*/createReactComponent<JSX.TaroAudioCore, HTMLTaroAudioCoreElement>('taro-audio-core', undefined, manipulatePropsFunction);\nexport const AwemeData = /*@__PURE__*/createReactComponent<JSX.TaroAwemeDataCore, HTMLTaroAwemeDataCoreElement>('taro-aweme-data-core', undefined, manipulatePropsFunction);\nexport const Block = Fragment;\nexport const Button = /*@__PURE__*/createReactComponent<JSX.TaroButtonCore, HTMLTaroButtonCoreElement>('taro-button-core', undefined, manipulatePropsFunction);\nexport const Camera = /*@__PURE__*/createReactComponent<JSX.TaroCameraCore, HTMLTaroCameraCoreElement>('taro-camera-core', undefined, manipulatePropsFunction);\nexport const Canvas = /*@__PURE__*/createReactComponent<JSX.TaroCanvasCore, HTMLTaroCanvasCoreElement>('taro-canvas-core', undefined, manipulatePropsFunction);\nexport const ChannelLive = /*@__PURE__*/createReactComponent<JSX.TaroChannelLiveCore, HTMLTaroChannelLiveCoreElement>('taro-channel-live-core', undefined, manipulatePropsFunction);\nexport const ChannelVideo = /*@__PURE__*/createReactComponent<JSX.TaroChannelVideoCore, HTMLTaroChannelVideoCoreElement>('taro-channel-video-core', undefined, manipulatePropsFunction);\nexport const Checkbox = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxCore, HTMLTaroCheckboxCoreElement>('taro-checkbox-core', undefined, manipulatePropsFunction);\nexport const CheckboxGroup = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxGroupCore, HTMLTaroCheckboxGroupCoreElement>('taro-checkbox-group-core', undefined, manipulatePropsFunction);\nexport const CommentDetail = /*@__PURE__*/createReactComponent<JSX.TaroCommentDetailCore, HTMLTaroCommentDetailCoreElement>('taro-comment-detail-core', undefined, manipulatePropsFunction);\nexport const CommentList = /*@__PURE__*/createReactComponent<JSX.TaroCommentListCore, HTMLTaroCommentListCoreElement>('taro-comment-list-core', undefined, manipulatePropsFunction);\nexport const ContactButton = /*@__PURE__*/createReactComponent<JSX.TaroContactButtonCore, HTMLTaroContactButtonCoreElement>('taro-contact-button-core', undefined, manipulatePropsFunction);\nexport const CoverImage = /*@__PURE__*/createReactComponent<JSX.TaroCoverImageCore, HTMLTaroCoverImageCoreElement>('taro-cover-image-core', undefined, manipulatePropsFunction);\nexport const CoverView = /*@__PURE__*/createReactComponent<JSX.TaroCoverViewCore, HTMLTaroCoverViewCoreElement>('taro-cover-view-core', undefined, manipulatePropsFunction);\nexport const CustomWrapper = Fragment;\nexport const Editor = /*@__PURE__*/createReactComponent<JSX.TaroEditorCore, HTMLTaroEditorCoreElement>('taro-editor-core', undefined, manipulatePropsFunction);\nexport const FollowSwan = /*@__PURE__*/createReactComponent<JSX.TaroFollowSwanCore, HTMLTaroFollowSwanCoreElement>('taro-follow-swan-core', undefined, manipulatePropsFunction);\nexport const Form = /*@__PURE__*/createReactComponent<JSX.TaroFormCore, HTMLTaroFormCoreElement>('taro-form-core', undefined, manipulatePropsFunction);\nexport const FunctionalPageNavigator = /*@__PURE__*/createReactComponent<JSX.TaroFunctionalPageNavigatorCore, HTMLTaroFunctionalPageNavigatorCoreElement>('taro-functional-page-navigator-core', undefined, manipulatePropsFunction);\nexport const Icon = /*@__PURE__*/createReactComponent<JSX.TaroIconCore, HTMLTaroIconCoreElement>('taro-icon-core', undefined, manipulatePropsFunction);\nexport const Image = /*@__PURE__*/createReactComponent<JSX.TaroImageCore, HTMLTaroImageCoreElement>('taro-image-core', undefined, manipulatePropsFunction);\nexport const InlinePaymentPanel = /*@__PURE__*/createReactComponent<JSX.TaroInlinePaymentPanelCore, HTMLTaroInlinePaymentPanelCoreElement>('taro-inline-payment-panel-core', undefined, manipulatePropsFunction);\nexport const Input = /*@__PURE__*/createReactComponent<JSX.TaroInputCore, HTMLTaroInputCoreElement>('taro-input-core', undefined, manipulatePropsFunction);\nexport const KeyboardAccessory = /*@__PURE__*/createReactComponent<JSX.TaroKeyboardAccessoryCore, HTMLTaroKeyboardAccessoryCoreElement>('taro-keyboard-accessory-core', undefined, manipulatePropsFunction);\nexport const Label = /*@__PURE__*/createReactComponent<JSX.TaroLabelCore, HTMLTaroLabelCoreElement>('taro-label-core', undefined, manipulatePropsFunction);\nexport const Lifestyle = /*@__PURE__*/createReactComponent<JSX.TaroLifestyleCore, HTMLTaroLifestyleCoreElement>('taro-lifestyle-core', undefined, manipulatePropsFunction);\nexport const Like = /*@__PURE__*/createReactComponent<JSX.TaroLikeCore, HTMLTaroLikeCoreElement>('taro-like-core', undefined, manipulatePropsFunction);\nexport const LivePlayer = /*@__PURE__*/createReactComponent<JSX.TaroLivePlayerCore, HTMLTaroLivePlayerCoreElement>('taro-live-player-core', undefined, manipulatePropsFunction);\nexport const LivePusher = /*@__PURE__*/createReactComponent<JSX.TaroLivePusherCore, HTMLTaroLivePusherCoreElement>('taro-live-pusher-core', undefined, manipulatePropsFunction);\nexport const Login = /*@__PURE__*/createReactComponent<JSX.TaroLoginCore, HTMLTaroLoginCoreElement>('taro-login-core', undefined, manipulatePropsFunction);\nexport const Lottie = /*@__PURE__*/createReactComponent<JSX.TaroLottieCore, HTMLTaroLottieCoreElement>('taro-lottie-core', undefined, manipulatePropsFunction);\nexport const Map = /*@__PURE__*/createReactComponent<JSX.TaroMapCore, HTMLTaroMapCoreElement>('taro-map-core', undefined, manipulatePropsFunction);\nexport const MatchMedia = /*@__PURE__*/createReactComponent<JSX.TaroMatchMediaCore, HTMLTaroMatchMediaCoreElement>('taro-match-media-core', undefined, manipulatePropsFunction);\nexport const MovableArea = /*@__PURE__*/createReactComponent<JSX.TaroMovableAreaCore, HTMLTaroMovableAreaCoreElement>('taro-movable-area-core', undefined, manipulatePropsFunction);\nexport const MovableView = /*@__PURE__*/createReactComponent<JSX.TaroMovableViewCore, HTMLTaroMovableViewCoreElement>('taro-movable-view-core', undefined, manipulatePropsFunction);\nexport const NativeSlot = /*@__PURE__*/createReactComponent<JSX.TaroNativeSlotCore, HTMLTaroNativeSlotCoreElement>('taro-native-slot-core', undefined, manipulatePropsFunction);\nexport const NavigationBar = /*@__PURE__*/createReactComponent<JSX.TaroNavigationBarCore, HTMLTaroNavigationBarCoreElement>('taro-navigation-bar-core', undefined, manipulatePropsFunction);\nexport const Navigator = /*@__PURE__*/createReactComponent<JSX.TaroNavigatorCore, HTMLTaroNavigatorCoreElement>('taro-navigator-core', undefined, manipulatePropsFunction);\nexport const OfficialAccount = /*@__PURE__*/createReactComponent<JSX.TaroOfficialAccountCore, HTMLTaroOfficialAccountCoreElement>('taro-official-account-core', undefined, manipulatePropsFunction);\nexport const OpenData = /*@__PURE__*/createReactComponent<JSX.TaroOpenDataCore, HTMLTaroOpenDataCoreElement>('taro-open-data-core', undefined, manipulatePropsFunction);\nexport const PageContainer = /*@__PURE__*/createReactComponent<JSX.TaroPageContainerCore, HTMLTaroPageContainerCoreElement>('taro-page-container-core', undefined, manipulatePropsFunction);\nexport const PageMeta = /*@__PURE__*/createReactComponent<JSX.TaroPageMetaCore, HTMLTaroPageMetaCoreElement>('taro-page-meta-core', undefined, manipulatePropsFunction);\nexport const Picker = /*@__PURE__*/createReactComponent<JSX.TaroPickerCore, HTMLTaroPickerCoreElement>('taro-picker-core', undefined, manipulatePropsFunction);\nexport const PickerGroup = /*@__PURE__*/createReactComponent<JSX.TaroPickerGroup, HTMLTaroPickerGroupElement>('taro-picker-group', undefined, manipulatePropsFunction);\nexport const PickerViewColumn = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewColumnCore, HTMLTaroPickerViewColumnCoreElement>('taro-picker-view-column-core', undefined, manipulatePropsFunction);\nexport const PickerView = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewCore, HTMLTaroPickerViewCoreElement>('taro-picker-view-core', undefined, manipulatePropsFunction);\nexport const Progress = /*@__PURE__*/createReactComponent<JSX.TaroProgressCore, HTMLTaroProgressCoreElement>('taro-progress-core', undefined, manipulatePropsFunction);\nexport const PullToRefresh = /*@__PURE__*/createReactComponent<JSX.TaroPullToRefresh, HTMLTaroPullToRefreshElement>('taro-pull-to-refresh', undefined, manipulatePropsFunction);\nexport const Radio = /*@__PURE__*/createReactComponent<JSX.TaroRadioCore, HTMLTaroRadioCoreElement>('taro-radio-core', undefined, manipulatePropsFunction);\nexport const RadioGroup = /*@__PURE__*/createReactComponent<JSX.TaroRadioGroupCore, HTMLTaroRadioGroupCoreElement>('taro-radio-group-core', undefined, manipulatePropsFunction);\nexport const RichText = /*@__PURE__*/createReactComponent<JSX.TaroRichTextCore, HTMLTaroRichTextCoreElement>('taro-rich-text-core', undefined, manipulatePropsFunction);\nexport const RootPortal = /*@__PURE__*/createReactComponent<JSX.TaroRootPortalCore, HTMLTaroRootPortalCoreElement>('taro-root-portal-core', undefined, manipulatePropsFunction);\nexport const RtcRoom = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomCore, HTMLTaroRtcRoomCoreElement>('taro-rtc-room-core', undefined, manipulatePropsFunction);\nexport const RtcRoomItem = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomItemCore, HTMLTaroRtcRoomItemCoreElement>('taro-rtc-room-item-core', undefined, manipulatePropsFunction);\nexport const ScrollView = /*@__PURE__*/createReactComponent<JSX.TaroScrollViewCore, HTMLTaroScrollViewCoreElement>('taro-scroll-view-core', undefined, manipulatePropsFunction);\nexport const ShareElement = /*@__PURE__*/createReactComponent<JSX.TaroShareElementCore, HTMLTaroShareElementCoreElement>('taro-share-element-core', undefined, manipulatePropsFunction);\nexport const Slider = /*@__PURE__*/createReactComponent<JSX.TaroSliderCore, HTMLTaroSliderCoreElement>('taro-slider-core', undefined, manipulatePropsFunction);\nexport const Slot = /*@__PURE__*/createReactComponent<JSX.TaroSlotCore, HTMLTaroSlotCoreElement>('taro-slot-core', undefined, manipulatePropsFunction);\nexport const Swiper = /*@__PURE__*/createReactComponent<JSX.TaroSwiperCore, HTMLTaroSwiperCoreElement>('taro-swiper-core', undefined, manipulatePropsFunction);\nexport const SwiperItem = /*@__PURE__*/createReactComponent<JSX.TaroSwiperItemCore, HTMLTaroSwiperItemCoreElement>('taro-swiper-item-core', undefined, manipulatePropsFunction);\nexport const Switch = /*@__PURE__*/createReactComponent<JSX.TaroSwitchCore, HTMLTaroSwitchCoreElement>('taro-switch-core', undefined, manipulatePropsFunction);\nexport const TabItem = /*@__PURE__*/createReactComponent<JSX.TaroTabItemCore, HTMLTaroTabItemCoreElement>('taro-tab-item-core', undefined, manipulatePropsFunction);\nexport const Tabbar = /*@__PURE__*/createReactComponent<JSX.TaroTabbar, HTMLTaroTabbarElement>('taro-tabbar', undefined, manipulatePropsFunction);\nexport const Tabs = /*@__PURE__*/createReactComponent<JSX.TaroTabsCore, HTMLTaroTabsCoreElement>('taro-tabs-core', undefined, manipulatePropsFunction);\nexport const Text = /*@__PURE__*/createReactComponent<JSX.TaroTextCore, HTMLTaroTextCoreElement>('taro-text-core', undefined, manipulatePropsFunction);\nexport const Textarea = /*@__PURE__*/createReactComponent<JSX.TaroTextareaCore, HTMLTaroTextareaCoreElement>('taro-textarea-core', undefined, manipulatePropsFunction);\nexport const VideoControl = /*@__PURE__*/createReactComponent<JSX.TaroVideoControl, HTMLTaroVideoControlElement>('taro-video-control', undefined, manipulatePropsFunction);\nexport const Video = /*@__PURE__*/createReactComponent<JSX.TaroVideoCore, HTMLTaroVideoCoreElement>('taro-video-core', undefined, manipulatePropsFunction);\nexport const VideoDanmu = /*@__PURE__*/createReactComponent<JSX.TaroVideoDanmu, HTMLTaroVideoDanmuElement>('taro-video-danmu', undefined, manipulatePropsFunction);\nexport const View = /*@__PURE__*/createReactComponent<JSX.TaroViewCore, HTMLTaroViewCoreElement>('taro-view-core', undefined, manipulatePropsFunction);\nexport const VoipRoom = /*@__PURE__*/createReactComponent<JSX.TaroVoipRoomCore, HTMLTaroVoipRoomCoreElement>('taro-voip-room-core', undefined, manipulatePropsFunction);\nexport const WebView = /*@__PURE__*/createReactComponent<JSX.TaroWebViewCore, HTMLTaroWebViewCoreElement>('taro-web-view-core', undefined, manipulatePropsFunction);\n"],"names":[],"mappings":";;;;;AAAA;AAWO,MAAM,EAAE,iBAAgB,oBAAoB,CAAwC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACxI,MAAM,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACjK,MAAM,cAAc,iBAAgB,oBAAoB,CAAgE,2BAA2B,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACzL,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BAAuB;;;;"}
|
|
1
|
+
{"version":3,"file":"components.js","sources":["../../../taro-components-library-react/src/components.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { Fragment } from 'react'\nimport { manipulatePropsFunction } from './helper'\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@tarojs/components/dist/types/components';\n\n// @ts-ignore\nimport { defineCustomElementTaroAdCore as defineTaroAdCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAdCustomCore as defineTaroAdCustomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationVideoCore as defineTaroAnimationVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationViewCore as defineTaroAnimationViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroArCameraCore as defineTaroArCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAudioCore as defineTaroAudioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAwemeDataCore as defineTaroAwemeDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroBlockCore as defineTaroBlockCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroButtonCore as defineTaroButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCameraCore as defineTaroCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCanvasCore as defineTaroCanvasCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelLiveCore as defineTaroChannelLiveCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelVideoCore as defineTaroChannelVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxCore as defineTaroCheckboxCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxGroupCore as defineTaroCheckboxGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentDetailCore as defineTaroCommentDetailCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentListCore as defineTaroCommentListCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroContactButtonCore as defineTaroContactButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverImageCore as defineTaroCoverImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverViewCore as defineTaroCoverViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCustomWrapperCore as defineTaroCustomWrapperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroEditorCore as defineTaroEditorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFollowSwanCore as defineTaroFollowSwanCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFormCore as defineTaroFormCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFunctionalPageNavigatorCore as defineTaroFunctionalPageNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroGridViewCore as defineTaroGridViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroIconCore as defineTaroIconCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroImageCore as defineTaroImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInlinePaymentPanelCore as defineTaroInlinePaymentPanelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInputCore as defineTaroInputCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroKeyboardAccessoryCore as defineTaroKeyboardAccessoryCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLabelCore as defineTaroLabelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLifestyleCore as defineTaroLifestyleCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLikeCore as defineTaroLikeCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroListViewCore as defineTaroListViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePlayerCore as defineTaroLivePlayerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePusherCore as defineTaroLivePusherCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLoginCore as defineTaroLoginCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLottieCore as defineTaroLottieCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMapCore as defineTaroMapCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMatchMediaCore as defineTaroMatchMediaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableAreaCore as defineTaroMovableAreaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableViewCore as defineTaroMovableViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNativeSlotCore as defineTaroNativeSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigationBarCore as defineTaroNavigationBarCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigatorCore as defineTaroNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOfficialAccountCore as defineTaroOfficialAccountCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOpenDataCore as defineTaroOpenDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageContainerCore as defineTaroPageContainerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageMetaCore as defineTaroPageMetaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerCore as defineTaroPickerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerGroup as defineTaroPickerGroup } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewColumnCore as defineTaroPickerViewColumnCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewCore as defineTaroPickerViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroProgressCore as defineTaroProgressCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPullToRefresh as defineTaroPullToRefresh } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioCore as defineTaroRadioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioGroupCore as defineTaroRadioGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRichTextCore as defineTaroRichTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRootPortalCore as defineTaroRootPortalCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomCore as defineTaroRtcRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomItemCore as defineTaroRtcRoomItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroScrollViewCore as defineTaroScrollViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroShareElementCore as defineTaroShareElementCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSliderCore as defineTaroSliderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSlotCore as defineTaroSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickyHeaderCore as defineTaroStickyHeaderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickySectionCore as defineTaroStickySectionCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperCore as defineTaroSwiperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperItemCore as defineTaroSwiperItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwitchCore as defineTaroSwitchCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabItemCore as defineTaroTabItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabbar as defineTaroTabbar } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabsCore as defineTaroTabsCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextCore as defineTaroTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextareaCore as defineTaroTextareaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoControl as defineTaroVideoControl } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoCore as defineTaroVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoDanmu as defineTaroVideoDanmu } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroViewCore as defineTaroViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVoipRoomCore as defineTaroVoipRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroWebViewCore as defineTaroWebViewCore } from '@tarojs/components/dist/components';\n\nexport const Ad = /*@__PURE__*/createReactComponent<JSX.TaroAdCore, HTMLTaroAdCoreElement>('taro-ad-core', undefined, manipulatePropsFunction, defineTaroAdCore);\nexport const AdCustom = /*@__PURE__*/createReactComponent<JSX.TaroAdCustomCore, HTMLTaroAdCustomCoreElement>('taro-ad-custom-core', undefined, manipulatePropsFunction, defineTaroAdCustomCore);\nexport const AnimationVideo = /*@__PURE__*/createReactComponent<JSX.TaroAnimationVideoCore, HTMLTaroAnimationVideoCoreElement>('taro-animation-video-core', undefined, manipulatePropsFunction, defineTaroAnimationVideoCore);\nexport const AnimationView = /*@__PURE__*/createReactComponent<JSX.TaroAnimationViewCore, HTMLTaroAnimationViewCoreElement>('taro-animation-view-core', undefined, manipulatePropsFunction, defineTaroAnimationViewCore);\nexport const ArCamera = /*@__PURE__*/createReactComponent<JSX.TaroArCameraCore, HTMLTaroArCameraCoreElement>('taro-ar-camera-core', undefined, manipulatePropsFunction, defineTaroArCameraCore);\nexport const Audio = /*@__PURE__*/createReactComponent<JSX.TaroAudioCore, HTMLTaroAudioCoreElement>('taro-audio-core', undefined, manipulatePropsFunction, defineTaroAudioCore);\nexport const AwemeData = /*@__PURE__*/createReactComponent<JSX.TaroAwemeDataCore, HTMLTaroAwemeDataCoreElement>('taro-aweme-data-core', undefined, manipulatePropsFunction, defineTaroAwemeDataCore);\nexport const Block = Fragment;\nexport const Button = /*@__PURE__*/createReactComponent<JSX.TaroButtonCore, HTMLTaroButtonCoreElement>('taro-button-core', undefined, manipulatePropsFunction, defineTaroButtonCore);\nexport const Camera = /*@__PURE__*/createReactComponent<JSX.TaroCameraCore, HTMLTaroCameraCoreElement>('taro-camera-core', undefined, manipulatePropsFunction, defineTaroCameraCore);\nexport const Canvas = /*@__PURE__*/createReactComponent<JSX.TaroCanvasCore, HTMLTaroCanvasCoreElement>('taro-canvas-core', undefined, manipulatePropsFunction, defineTaroCanvasCore);\nexport const ChannelLive = /*@__PURE__*/createReactComponent<JSX.TaroChannelLiveCore, HTMLTaroChannelLiveCoreElement>('taro-channel-live-core', undefined, manipulatePropsFunction, defineTaroChannelLiveCore);\nexport const ChannelVideo = /*@__PURE__*/createReactComponent<JSX.TaroChannelVideoCore, HTMLTaroChannelVideoCoreElement>('taro-channel-video-core', undefined, manipulatePropsFunction, defineTaroChannelVideoCore);\nexport const Checkbox = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxCore, HTMLTaroCheckboxCoreElement>('taro-checkbox-core', undefined, manipulatePropsFunction, defineTaroCheckboxCore);\nexport const CheckboxGroup = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxGroupCore, HTMLTaroCheckboxGroupCoreElement>('taro-checkbox-group-core', undefined, manipulatePropsFunction, defineTaroCheckboxGroupCore);\nexport const CommentDetail = /*@__PURE__*/createReactComponent<JSX.TaroCommentDetailCore, HTMLTaroCommentDetailCoreElement>('taro-comment-detail-core', undefined, manipulatePropsFunction, defineTaroCommentDetailCore);\nexport const CommentList = /*@__PURE__*/createReactComponent<JSX.TaroCommentListCore, HTMLTaroCommentListCoreElement>('taro-comment-list-core', undefined, manipulatePropsFunction, defineTaroCommentListCore);\nexport const ContactButton = /*@__PURE__*/createReactComponent<JSX.TaroContactButtonCore, HTMLTaroContactButtonCoreElement>('taro-contact-button-core', undefined, manipulatePropsFunction, defineTaroContactButtonCore);\nexport const CoverImage = /*@__PURE__*/createReactComponent<JSX.TaroCoverImageCore, HTMLTaroCoverImageCoreElement>('taro-cover-image-core', undefined, manipulatePropsFunction, defineTaroCoverImageCore);\nexport const CoverView = /*@__PURE__*/createReactComponent<JSX.TaroCoverViewCore, HTMLTaroCoverViewCoreElement>('taro-cover-view-core', undefined, manipulatePropsFunction, defineTaroCoverViewCore);\nexport const CustomWrapper = Fragment;\nexport const Editor = /*@__PURE__*/createReactComponent<JSX.TaroEditorCore, HTMLTaroEditorCoreElement>('taro-editor-core', undefined, manipulatePropsFunction, defineTaroEditorCore);\nexport const FollowSwan = /*@__PURE__*/createReactComponent<JSX.TaroFollowSwanCore, HTMLTaroFollowSwanCoreElement>('taro-follow-swan-core', undefined, manipulatePropsFunction, defineTaroFollowSwanCore);\nexport const Form = /*@__PURE__*/createReactComponent<JSX.TaroFormCore, HTMLTaroFormCoreElement>('taro-form-core', undefined, manipulatePropsFunction, defineTaroFormCore);\nexport const FunctionalPageNavigator = /*@__PURE__*/createReactComponent<JSX.TaroFunctionalPageNavigatorCore, HTMLTaroFunctionalPageNavigatorCoreElement>('taro-functional-page-navigator-core', undefined, manipulatePropsFunction, defineTaroFunctionalPageNavigatorCore);\nexport const GridView = /*@__PURE__*/createReactComponent<JSX.TaroGridViewCore, HTMLTaroGridViewCoreElement>('taro-grid-view-core', undefined, manipulatePropsFunction, defineTaroGridViewCore);\nexport const Icon = /*@__PURE__*/createReactComponent<JSX.TaroIconCore, HTMLTaroIconCoreElement>('taro-icon-core', undefined, manipulatePropsFunction, defineTaroIconCore);\nexport const Image = /*@__PURE__*/createReactComponent<JSX.TaroImageCore, HTMLTaroImageCoreElement>('taro-image-core', undefined, manipulatePropsFunction, defineTaroImageCore);\nexport const InlinePaymentPanel = /*@__PURE__*/createReactComponent<JSX.TaroInlinePaymentPanelCore, HTMLTaroInlinePaymentPanelCoreElement>('taro-inline-payment-panel-core', undefined, manipulatePropsFunction, defineTaroInlinePaymentPanelCore);\nexport const Input = /*@__PURE__*/createReactComponent<JSX.TaroInputCore, HTMLTaroInputCoreElement>('taro-input-core', undefined, manipulatePropsFunction, defineTaroInputCore);\nexport const KeyboardAccessory = /*@__PURE__*/createReactComponent<JSX.TaroKeyboardAccessoryCore, HTMLTaroKeyboardAccessoryCoreElement>('taro-keyboard-accessory-core', undefined, manipulatePropsFunction, defineTaroKeyboardAccessoryCore);\nexport const Label = /*@__PURE__*/createReactComponent<JSX.TaroLabelCore, HTMLTaroLabelCoreElement>('taro-label-core', undefined, manipulatePropsFunction, defineTaroLabelCore);\nexport const Lifestyle = /*@__PURE__*/createReactComponent<JSX.TaroLifestyleCore, HTMLTaroLifestyleCoreElement>('taro-lifestyle-core', undefined, manipulatePropsFunction, defineTaroLifestyleCore);\nexport const Like = /*@__PURE__*/createReactComponent<JSX.TaroLikeCore, HTMLTaroLikeCoreElement>('taro-like-core', undefined, manipulatePropsFunction, defineTaroLikeCore);\nexport const ListView = /*@__PURE__*/createReactComponent<JSX.TaroListViewCore, HTMLTaroListViewCoreElement>('taro-list-view-core', undefined, manipulatePropsFunction, defineTaroListViewCore);\nexport const LivePlayer = /*@__PURE__*/createReactComponent<JSX.TaroLivePlayerCore, HTMLTaroLivePlayerCoreElement>('taro-live-player-core', undefined, manipulatePropsFunction, defineTaroLivePlayerCore);\nexport const LivePusher = /*@__PURE__*/createReactComponent<JSX.TaroLivePusherCore, HTMLTaroLivePusherCoreElement>('taro-live-pusher-core', undefined, manipulatePropsFunction, defineTaroLivePusherCore);\nexport const Login = /*@__PURE__*/createReactComponent<JSX.TaroLoginCore, HTMLTaroLoginCoreElement>('taro-login-core', undefined, manipulatePropsFunction, defineTaroLoginCore);\nexport const Lottie = /*@__PURE__*/createReactComponent<JSX.TaroLottieCore, HTMLTaroLottieCoreElement>('taro-lottie-core', undefined, manipulatePropsFunction, defineTaroLottieCore);\nexport const Map = /*@__PURE__*/createReactComponent<JSX.TaroMapCore, HTMLTaroMapCoreElement>('taro-map-core', undefined, manipulatePropsFunction, defineTaroMapCore);\nexport const MatchMedia = /*@__PURE__*/createReactComponent<JSX.TaroMatchMediaCore, HTMLTaroMatchMediaCoreElement>('taro-match-media-core', undefined, manipulatePropsFunction, defineTaroMatchMediaCore);\nexport const MovableArea = /*@__PURE__*/createReactComponent<JSX.TaroMovableAreaCore, HTMLTaroMovableAreaCoreElement>('taro-movable-area-core', undefined, manipulatePropsFunction, defineTaroMovableAreaCore);\nexport const MovableView = /*@__PURE__*/createReactComponent<JSX.TaroMovableViewCore, HTMLTaroMovableViewCoreElement>('taro-movable-view-core', undefined, manipulatePropsFunction, defineTaroMovableViewCore);\nexport const NativeSlot = /*@__PURE__*/createReactComponent<JSX.TaroNativeSlotCore, HTMLTaroNativeSlotCoreElement>('taro-native-slot-core', undefined, manipulatePropsFunction, defineTaroNativeSlotCore);\nexport const NavigationBar = /*@__PURE__*/createReactComponent<JSX.TaroNavigationBarCore, HTMLTaroNavigationBarCoreElement>('taro-navigation-bar-core', undefined, manipulatePropsFunction, defineTaroNavigationBarCore);\nexport const Navigator = /*@__PURE__*/createReactComponent<JSX.TaroNavigatorCore, HTMLTaroNavigatorCoreElement>('taro-navigator-core', undefined, manipulatePropsFunction, defineTaroNavigatorCore);\nexport const OfficialAccount = /*@__PURE__*/createReactComponent<JSX.TaroOfficialAccountCore, HTMLTaroOfficialAccountCoreElement>('taro-official-account-core', undefined, manipulatePropsFunction, defineTaroOfficialAccountCore);\nexport const OpenData = /*@__PURE__*/createReactComponent<JSX.TaroOpenDataCore, HTMLTaroOpenDataCoreElement>('taro-open-data-core', undefined, manipulatePropsFunction, defineTaroOpenDataCore);\nexport const PageContainer = /*@__PURE__*/createReactComponent<JSX.TaroPageContainerCore, HTMLTaroPageContainerCoreElement>('taro-page-container-core', undefined, manipulatePropsFunction, defineTaroPageContainerCore);\nexport const PageMeta = /*@__PURE__*/createReactComponent<JSX.TaroPageMetaCore, HTMLTaroPageMetaCoreElement>('taro-page-meta-core', undefined, manipulatePropsFunction, defineTaroPageMetaCore);\nexport const Picker = /*@__PURE__*/createReactComponent<JSX.TaroPickerCore, HTMLTaroPickerCoreElement>('taro-picker-core', undefined, manipulatePropsFunction, defineTaroPickerCore);\nexport const PickerGroup = /*@__PURE__*/createReactComponent<JSX.TaroPickerGroup, HTMLTaroPickerGroupElement>('taro-picker-group', undefined, manipulatePropsFunction, defineTaroPickerGroup);\nexport const PickerViewColumn = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewColumnCore, HTMLTaroPickerViewColumnCoreElement>('taro-picker-view-column-core', undefined, manipulatePropsFunction, defineTaroPickerViewColumnCore);\nexport const PickerView = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewCore, HTMLTaroPickerViewCoreElement>('taro-picker-view-core', undefined, manipulatePropsFunction, defineTaroPickerViewCore);\nexport const Progress = /*@__PURE__*/createReactComponent<JSX.TaroProgressCore, HTMLTaroProgressCoreElement>('taro-progress-core', undefined, manipulatePropsFunction, defineTaroProgressCore);\nexport const PullToRefresh = /*@__PURE__*/createReactComponent<JSX.TaroPullToRefresh, HTMLTaroPullToRefreshElement>('taro-pull-to-refresh', undefined, manipulatePropsFunction, defineTaroPullToRefresh);\nexport const Radio = /*@__PURE__*/createReactComponent<JSX.TaroRadioCore, HTMLTaroRadioCoreElement>('taro-radio-core', undefined, manipulatePropsFunction, defineTaroRadioCore);\nexport const RadioGroup = /*@__PURE__*/createReactComponent<JSX.TaroRadioGroupCore, HTMLTaroRadioGroupCoreElement>('taro-radio-group-core', undefined, manipulatePropsFunction, defineTaroRadioGroupCore);\nexport const RichText = /*@__PURE__*/createReactComponent<JSX.TaroRichTextCore, HTMLTaroRichTextCoreElement>('taro-rich-text-core', undefined, manipulatePropsFunction, defineTaroRichTextCore);\nexport const RootPortal = /*@__PURE__*/createReactComponent<JSX.TaroRootPortalCore, HTMLTaroRootPortalCoreElement>('taro-root-portal-core', undefined, manipulatePropsFunction, defineTaroRootPortalCore);\nexport const RtcRoom = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomCore, HTMLTaroRtcRoomCoreElement>('taro-rtc-room-core', undefined, manipulatePropsFunction, defineTaroRtcRoomCore);\nexport const RtcRoomItem = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomItemCore, HTMLTaroRtcRoomItemCoreElement>('taro-rtc-room-item-core', undefined, manipulatePropsFunction, defineTaroRtcRoomItemCore);\nexport const ScrollView = /*@__PURE__*/createReactComponent<JSX.TaroScrollViewCore, HTMLTaroScrollViewCoreElement>('taro-scroll-view-core', undefined, manipulatePropsFunction, defineTaroScrollViewCore);\nexport const ShareElement = /*@__PURE__*/createReactComponent<JSX.TaroShareElementCore, HTMLTaroShareElementCoreElement>('taro-share-element-core', undefined, manipulatePropsFunction, defineTaroShareElementCore);\nexport const Slider = /*@__PURE__*/createReactComponent<JSX.TaroSliderCore, HTMLTaroSliderCoreElement>('taro-slider-core', undefined, manipulatePropsFunction, defineTaroSliderCore);\nexport const Slot = /*@__PURE__*/createReactComponent<JSX.TaroSlotCore, HTMLTaroSlotCoreElement>('taro-slot-core', undefined, manipulatePropsFunction, defineTaroSlotCore);\nexport const StickyHeader = /*@__PURE__*/createReactComponent<JSX.TaroStickyHeaderCore, HTMLTaroStickyHeaderCoreElement>('taro-sticky-header-core', undefined, manipulatePropsFunction, defineTaroStickyHeaderCore);\nexport const StickySection = /*@__PURE__*/createReactComponent<JSX.TaroStickySectionCore, HTMLTaroStickySectionCoreElement>('taro-sticky-section-core', undefined, manipulatePropsFunction, defineTaroStickySectionCore);\nexport const Swiper = /*@__PURE__*/createReactComponent<JSX.TaroSwiperCore, HTMLTaroSwiperCoreElement>('taro-swiper-core', undefined, manipulatePropsFunction, defineTaroSwiperCore);\nexport const SwiperItem = /*@__PURE__*/createReactComponent<JSX.TaroSwiperItemCore, HTMLTaroSwiperItemCoreElement>('taro-swiper-item-core', undefined, manipulatePropsFunction, defineTaroSwiperItemCore);\nexport const Switch = /*@__PURE__*/createReactComponent<JSX.TaroSwitchCore, HTMLTaroSwitchCoreElement>('taro-switch-core', undefined, manipulatePropsFunction, defineTaroSwitchCore);\nexport const TabItem = /*@__PURE__*/createReactComponent<JSX.TaroTabItemCore, HTMLTaroTabItemCoreElement>('taro-tab-item-core', undefined, manipulatePropsFunction, defineTaroTabItemCore);\nexport const Tabbar = /*@__PURE__*/createReactComponent<JSX.TaroTabbar, HTMLTaroTabbarElement>('taro-tabbar', undefined, manipulatePropsFunction, defineTaroTabbar);\nexport const Tabs = /*@__PURE__*/createReactComponent<JSX.TaroTabsCore, HTMLTaroTabsCoreElement>('taro-tabs-core', undefined, manipulatePropsFunction, defineTaroTabsCore);\nexport const Text = /*@__PURE__*/createReactComponent<JSX.TaroTextCore, HTMLTaroTextCoreElement>('taro-text-core', undefined, manipulatePropsFunction, defineTaroTextCore);\nexport const Textarea = /*@__PURE__*/createReactComponent<JSX.TaroTextareaCore, HTMLTaroTextareaCoreElement>('taro-textarea-core', undefined, manipulatePropsFunction, defineTaroTextareaCore);\nexport const VideoControl = /*@__PURE__*/createReactComponent<JSX.TaroVideoControl, HTMLTaroVideoControlElement>('taro-video-control', undefined, manipulatePropsFunction, defineTaroVideoControl);\nexport const Video = /*@__PURE__*/createReactComponent<JSX.TaroVideoCore, HTMLTaroVideoCoreElement>('taro-video-core', undefined, manipulatePropsFunction, defineTaroVideoCore);\nexport const VideoDanmu = /*@__PURE__*/createReactComponent<JSX.TaroVideoDanmu, HTMLTaroVideoDanmuElement>('taro-video-danmu', undefined, manipulatePropsFunction, defineTaroVideoDanmu);\nexport const View = /*@__PURE__*/createReactComponent<JSX.TaroViewCore, HTMLTaroViewCoreElement>('taro-view-core', undefined, manipulatePropsFunction, defineTaroViewCore);\nexport const VoipRoom = /*@__PURE__*/createReactComponent<JSX.TaroVoipRoomCore, HTMLTaroVoipRoomCoreElement>('taro-voip-room-core', undefined, manipulatePropsFunction, defineTaroVoipRoomCore);\nexport const WebView = /*@__PURE__*/createReactComponent<JSX.TaroWebViewCore, HTMLTaroWebViewCoreElement>('taro-web-view-core', undefined, manipulatePropsFunction, defineTaroWebViewCore);\n"],"names":["defineTaroAdCore","defineTaroAdCustomCore","defineTaroAnimationVideoCore","defineTaroAnimationViewCore","defineTaroArCameraCore","defineTaroAudioCore","defineTaroAwemeDataCore","defineTaroButtonCore","defineTaroCameraCore","defineTaroCanvasCore","defineTaroChannelLiveCore","defineTaroChannelVideoCore","defineTaroCheckboxCore","defineTaroCheckboxGroupCore","defineTaroCommentDetailCore","defineTaroCommentListCore","defineTaroContactButtonCore","defineTaroCoverImageCore","defineTaroCoverViewCore","defineTaroEditorCore","defineTaroFollowSwanCore","defineTaroFormCore","defineTaroFunctionalPageNavigatorCore","defineTaroGridViewCore","defineTaroIconCore","defineTaroImageCore","defineTaroInlinePaymentPanelCore","defineTaroInputCore","defineTaroKeyboardAccessoryCore","defineTaroLabelCore","defineTaroLifestyleCore","defineTaroLikeCore","defineTaroListViewCore","defineTaroLivePlayerCore","defineTaroLivePusherCore","defineTaroLoginCore","defineTaroLottieCore","defineTaroMapCore","defineTaroMatchMediaCore","defineTaroMovableAreaCore","defineTaroMovableViewCore","defineTaroNativeSlotCore","defineTaroNavigationBarCore","defineTaroNavigatorCore","defineTaroOfficialAccountCore","defineTaroOpenDataCore","defineTaroPageContainerCore","defineTaroPageMetaCore","defineTaroPickerCore","defineTaroPickerGroup","defineTaroPickerViewColumnCore","defineTaroPickerViewCore","defineTaroProgressCore","defineTaroPullToRefresh","defineTaroRadioCore","defineTaroRadioGroupCore","defineTaroRichTextCore","defineTaroRootPortalCore","defineTaroRtcRoomCore","defineTaroRtcRoomItemCore","defineTaroScrollViewCore","defineTaroShareElementCore","defineTaroSliderCore","defineTaroSlotCore","defineTaroStickyHeaderCore","defineTaroStickySectionCore","defineTaroSwiperCore","defineTaroSwiperItemCore","defineTaroSwitchCore","defineTaroTabItemCore","defineTaroTabbar","defineTaroTabsCore","defineTaroTextCore","defineTaroTextareaCore","defineTaroVideoControl","defineTaroVideoCore","defineTaroVideoDanmu","defineTaroViewCore","defineTaroVoipRoomCore","defineTaroWebViewCore"],"mappings":";;;;;;AAAA;AA8Ka,MAAA,EAAE,iBAAgB,oBAAoB,CAAwC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAEA,6BAAgB,EAAE;AACpJ,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,cAAc,iBAAgB,oBAAoB,CAAgE,2BAA2B,EAAE,SAAS,EAAE,uBAAuB,EAAEC,yCAA4B,EAAE;AACjN,MAAA,aAAa,iBAAgB,oBAAoB,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A,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,+BAAkB,EAAE;AAC9J,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,OAAO,iBAAgB,oBAAoB,CAAkD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,kCAAqB;;;;"}
|
package/lib/react/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, ChannelLive, ChannelVideo, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerView, PickerViewColumn, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, Video, VideoControl, VideoDanmu, View, VoipRoom, WebView } from './components.js';
|
|
1
|
+
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, ChannelLive, ChannelVideo, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, GridView, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, ListView, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerView, PickerViewColumn, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, StickyHeader, StickySection, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, Video, VideoControl, VideoDanmu, View, VoipRoom, WebView } from './components.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/interfaces.ts
|
|
3
|
+
* MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
|
|
4
|
+
*/
|
|
1
5
|
interface EventEmitter<T = any> {
|
|
2
6
|
emit: (data?: T) => CustomEvent<T>;
|
|
3
7
|
}
|
package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
/* global Reflect, Promise */
|
|
16
|
+
|
|
17
|
+
var extendStatics = function(d, b) {
|
|
18
|
+
extendStatics = Object.setPrototypeOf ||
|
|
19
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
21
|
+
return extendStatics(d, b);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
function __extends(d, b) {
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var __assign = function() {
|
|
31
|
+
__assign = Object.assign || function __assign(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
};
|
|
38
|
+
return __assign.apply(this, arguments);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
function __rest(s, e) {
|
|
42
|
+
var t = {};
|
|
43
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44
|
+
t[p] = s[p];
|
|
45
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
46
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
47
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
48
|
+
t[p[i]] = s[p[i]];
|
|
49
|
+
}
|
|
50
|
+
return t;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function __decorate(decorators, target, key, desc) {
|
|
54
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
55
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
56
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
57
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function __param(paramIndex, decorator) {
|
|
61
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function __metadata(metadataKey, metadataValue) {
|
|
65
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
69
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
70
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
71
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
72
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
73
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
74
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function __generator(thisArg, body) {
|
|
79
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
80
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
81
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
82
|
+
function step(op) {
|
|
83
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
84
|
+
while (_) try {
|
|
85
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
86
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
87
|
+
switch (op[0]) {
|
|
88
|
+
case 0: case 1: t = op; break;
|
|
89
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
90
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
91
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
92
|
+
default:
|
|
93
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
94
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
95
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
96
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
97
|
+
if (t[2]) _.ops.pop();
|
|
98
|
+
_.trys.pop(); continue;
|
|
99
|
+
}
|
|
100
|
+
op = body.call(thisArg, _);
|
|
101
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
102
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function __createBinding(o, m, k, k2) {
|
|
107
|
+
if (k2 === undefined) k2 = k;
|
|
108
|
+
o[k2] = m[k];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function __exportStar(m, exports) {
|
|
112
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function __values(o) {
|
|
116
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
117
|
+
if (m) return m.call(o);
|
|
118
|
+
if (o && typeof o.length === "number") return {
|
|
119
|
+
next: function () {
|
|
120
|
+
if (o && i >= o.length) o = void 0;
|
|
121
|
+
return { value: o && o[i++], done: !o };
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function __read(o, n) {
|
|
128
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
129
|
+
if (!m) return o;
|
|
130
|
+
var i = m.call(o), r, ar = [], e;
|
|
131
|
+
try {
|
|
132
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
133
|
+
}
|
|
134
|
+
catch (error) { e = { error: error }; }
|
|
135
|
+
finally {
|
|
136
|
+
try {
|
|
137
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
138
|
+
}
|
|
139
|
+
finally { if (e) throw e.error; }
|
|
140
|
+
}
|
|
141
|
+
return ar;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
function __spread() {
|
|
145
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
146
|
+
ar = ar.concat(__read(arguments[i]));
|
|
147
|
+
return ar;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function __spreadArrays() {
|
|
151
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
152
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
153
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
154
|
+
r[k] = a[j];
|
|
155
|
+
return r;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
function __await(v) {
|
|
159
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
163
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
164
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
165
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
166
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
167
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
168
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
169
|
+
function fulfill(value) { resume("next", value); }
|
|
170
|
+
function reject(value) { resume("throw", value); }
|
|
171
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function __asyncDelegator(o) {
|
|
175
|
+
var i, p;
|
|
176
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
177
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function __asyncValues(o) {
|
|
181
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
182
|
+
var m = o[Symbol.asyncIterator], i;
|
|
183
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
184
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
185
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
function __makeTemplateObject(cooked, raw) {
|
|
189
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
190
|
+
return cooked;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
function __importStar(mod) {
|
|
194
|
+
if (mod && mod.__esModule) return mod;
|
|
195
|
+
var result = {};
|
|
196
|
+
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
197
|
+
result.default = mod;
|
|
198
|
+
return result;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function __importDefault(mod) {
|
|
202
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
206
|
+
if (!privateMap.has(receiver)) {
|
|
207
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
208
|
+
}
|
|
209
|
+
return privateMap.get(receiver);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
213
|
+
if (!privateMap.has(receiver)) {
|
|
214
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
215
|
+
}
|
|
216
|
+
privateMap.set(receiver, value);
|
|
217
|
+
return value;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export { __assign, __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter, __classPrivateFieldGet, __classPrivateFieldSet, __createBinding, __decorate, __exportStar, __extends, __generator, __importDefault, __importStar, __makeTemplateObject, __metadata, __param, __read, __rest, __spread, __spreadArrays, __values };
|
|
221
|
+
//# sourceMappingURL=tslib.es6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tslib.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createComponent.ts
|
|
3
|
+
* MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
2
6
|
interface HTMLStencilElement extends HTMLElement {
|
|
3
7
|
componentOnReady(): Promise<this>;
|
|
@@ -6,5 +10,5 @@ interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<El
|
|
|
6
10
|
forwardedRef: React.RefObject<ElementType>;
|
|
7
11
|
ref?: React.Ref<any>;
|
|
8
12
|
}
|
|
9
|
-
declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType =
|
|
13
|
+
declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = any, ExpandedPropsTypes = any>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils/index").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
|
|
10
14
|
export { HTMLStencilElement, createReactComponent };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
1
|
+
import { __rest } from '../node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React, { createElement } from 'react';
|
|
3
3
|
import { mergeRefs, createForwardRef } from './utils/index.js';
|
|
4
4
|
import { dashToPascalCase, camelToDashCase } from './utils/case.js';
|
|
5
5
|
import { attachProps, isCoveredByReact } from './utils/attachProps.js';
|
|
6
6
|
|
|
7
7
|
const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
|
|
8
|
-
if (defineCustomElement !== undefined) {
|
|
8
|
+
if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {
|
|
9
9
|
defineCustomElement();
|
|
10
10
|
}
|
|
11
11
|
const displayName = dashToPascalCase(tagName);
|
|
12
12
|
const ReactComponent = class extends React.Component {
|
|
13
|
+
// eslint-disable-next-line no-useless-constructor
|
|
13
14
|
constructor(props) {
|
|
14
15
|
super(props);
|
|
15
16
|
this.setComponentElRef = (element) => {
|
|
@@ -23,7 +24,8 @@ const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFun
|
|
|
23
24
|
attachProps(this.componentEl, this.props, prevProps);
|
|
24
25
|
}
|
|
25
26
|
render() {
|
|
26
|
-
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
28
|
+
const _a = this.props, { children, forwardedRef, className, ref, style } = _a, cProps = __rest(_a, ["children", "forwardedRef", "className", "ref", "style"]);
|
|
27
29
|
let propsToPass = Object.keys(cProps).reduce((acc, name) => {
|
|
28
30
|
const value = cProps[name];
|
|
29
31
|
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
@@ -36,7 +38,7 @@ const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFun
|
|
|
36
38
|
// we should only render strings, booleans, and numbers as attrs in html.
|
|
37
39
|
// objects, functions, arrays etc get synced via properties on mount.
|
|
38
40
|
const type = typeof value;
|
|
39
|
-
if (
|
|
41
|
+
if (['string', 'boolean', 'number'].includes(type)) {
|
|
40
42
|
acc[camelToDashCase(name)] = value;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createComponent.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React, { createElement } from 'react'\n\nimport { attachProps, camelToDashCase, createForwardRef, dashToPascalCase, isCoveredByReact, mergeRefs } from './utils'\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = any,\n ExpandedPropsTypes = any\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void\n) => {\n if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {\n defineCustomElement()\n }\n\n const displayName = dashToPascalCase(tagName)\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element\n }\n\n // eslint-disable-next-line no-useless-constructor\n constructor (props: StencilReactInternalProps<ElementType>) {\n super(props)\n }\n\n componentDidMount () {\n this.componentDidUpdate(this.props)\n }\n\n componentDidUpdate (prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps)\n }\n\n render () {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, forwardedRef, className, ref, style, ...cProps } = this.props\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name]\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase()\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value\n\n if (['string', 'boolean', 'number'].includes(type)) {\n acc[camelToDashCase(name)] = value\n }\n }\n return acc\n }, {} as ExpandedPropsTypes)\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass)\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n // Note(taro): 需处理 string 类型的 style,调整到 manipulatePropsFunction 方法中判断是否需注入 (string 类型在 attachProps 中处理)\n // style\n }\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children)\n }\n\n static get displayName () {\n return displayName\n }\n }\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName)\n}\n"],"names":[],"mappings":";;;;;;AAiBO,MAAM,oBAAoB,GAAG,CAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC,KAC9B;AACF,IAAA,IAAI,CAAC,4BAA4B,IAAI,mBAAmB,KAAK,SAAS,EAAE;AACtE,QAAA,mBAAmB,EAAE,CAAA;AACtB,KAAA;AAED,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAA;AAC7C,IAAA,MAAM,cAAc,GAAG,cAAc,KAAK,CAAC,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AAI,CAAC,GAAG,KAAK,CAAA;AAClB,qBAAA;AACF,iBAAA;AAAM,qBAAA;;;AAGL,oBAAA,MAAM,IAAI,GAAG,OAAO,KAAK,CAAA;AAEzB,oBAAA,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;wBAClD,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAA;AACnC,qBAAA;AACF,iBAAA;AACD,gBAAA,OAAO,GAAG,CAAA;aACX,EAAE,EAAwB,CAAC,CAAA;AAE5B,YAAA,IAAI,uBAAuB,EAAE;gBAC3B,WAAW,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;AAC/D,aAAA;AAED,YAAA,MAAM,QAAQ,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACT,WAAW,CAAA,EAAA,EACd,GAAG,EAAE,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAGrD,CAAA;AAED;;;;;;AAMG;YACH,OAAO,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAA;SAClD;AAED,QAAA,WAAW,WAAW,GAAA;AACpB,YAAA,OAAO,WAAW,CAAA;SACnB;KACF,CAAA;;AAGD,IAAA,IAAI,qBAAqB,EAAE;AACzB,QAAA,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAA;AACnD,KAAA;AAED,IAAA,OAAO,gBAAgB,CAAwB,cAAc,EAAE,WAAW,CAAC,CAAA;AAC7E;;;;"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createOverlayComponent.ts
|
|
3
|
+
* MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
2
|
-
import { OverlayEventDetail } from "../interfaces-
|
|
6
|
+
import { OverlayEventDetail } from "../interfaces-f526f1a2";
|
|
3
7
|
import { StencilReactForwardedRef } from "./utils/index";
|
|
4
8
|
interface OverlayElement extends HTMLElement {
|
|
5
9
|
present: () => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
1
|
+
import { __rest } from '../node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import { defineCustomElement, setRef } from './utils/index.js';
|
|
@@ -66,6 +66,7 @@ const createOverlayComponent = (tagName, controller, customElement) => {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
async present(prevProps) {
|
|
69
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
69
70
|
const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
|
|
70
71
|
const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
|
|
71
72
|
this.overlay = await controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOverlayComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createOverlayComponent.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"createOverlayComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createOverlayComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createOverlayComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React from 'react'\nimport ReactDOM from 'react-dom'\n\nimport { OverlayEventDetail } from './interfaces'\nimport { attachProps, dashToPascalCase, defineCustomElement, setRef,StencilReactForwardedRef } from './utils'\n\ninterface OverlayElement extends HTMLElement {\n present: () => Promise<void>\n dismiss: (data?: any, role?: string | undefined) => Promise<boolean>\n}\n\nexport interface ReactOverlayProps {\n children?: React.ReactNode\n isOpen: boolean\n onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n}\n\nexport const createOverlayComponent = <OverlayComponent extends object, OverlayType extends OverlayElement>(\n tagName: string,\n controller: { create: (options: any) => Promise<OverlayType> },\n customElement?: any\n) => {\n defineCustomElement(tagName, customElement)\n\n const displayName = dashToPascalCase(tagName)\n const didDismissEventName = `on${displayName}DidDismiss`\n const didPresentEventName = `on${displayName}DidPresent`\n const willDismissEventName = `on${displayName}WillDismiss`\n const willPresentEventName = `on${displayName}WillPresent`\n\n type Props = OverlayComponent &\n ReactOverlayProps & {\n forwardedRef?: StencilReactForwardedRef<OverlayType>\n };\n\n let isDismissing = false\n\n class Overlay extends React.Component<Props> {\n overlay?: OverlayType\n el!: HTMLDivElement\n\n constructor (props: Props) {\n super(props)\n if (typeof document !== 'undefined') {\n this.el = document.createElement('div')\n }\n this.handleDismiss = this.handleDismiss.bind(this)\n }\n\n static get displayName () {\n return displayName\n }\n\n componentDidMount () {\n if (this.props.isOpen) {\n this.present()\n }\n }\n\n componentWillUnmount () {\n if (this.overlay) {\n this.overlay.dismiss()\n }\n }\n\n handleDismiss (event: CustomEvent<OverlayEventDetail<any>>) {\n if (this.props.onDidDismiss) {\n this.props.onDidDismiss(event)\n }\n setRef(this.props.forwardedRef, null)\n }\n\n shouldComponentUpdate (nextProps: Props) {\n // Check if the overlay component is about to dismiss\n if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {\n isDismissing = true\n }\n\n return true\n }\n\n async componentDidUpdate (prevProps: Props) {\n if (this.overlay) {\n attachProps(this.overlay, this.props, prevProps)\n }\n\n if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {\n this.present(prevProps)\n }\n if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {\n await this.overlay.dismiss()\n isDismissing = false\n\n /**\n * Now that the overlay is dismissed\n * we need to render again so that any\n * inner components will be unmounted\n */\n this.forceUpdate()\n }\n }\n\n async present (prevProps?: Props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent, ...cProps } = this.props\n const elementProps = {\n ...cProps,\n ref: this.props.forwardedRef,\n [didDismissEventName]: this.handleDismiss,\n [didPresentEventName]: (e: CustomEvent) => this.props.onDidPresent && this.props.onDidPresent(e),\n [willDismissEventName]: (e: CustomEvent) => this.props.onWillDismiss && this.props.onWillDismiss(e),\n [willPresentEventName]: (e: CustomEvent) => this.props.onWillPresent && this.props.onWillPresent(e),\n }\n\n this.overlay = await controller.create({\n ...elementProps,\n component: this.el,\n componentProps: {},\n })\n\n setRef(this.props.forwardedRef, this.overlay)\n attachProps(this.overlay, elementProps, prevProps)\n\n await this.overlay.present()\n }\n\n render () {\n /**\n * Continue to render the component even when\n * overlay is dismissing otherwise component\n * will be hidden before animation is done.\n */\n return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el)\n }\n }\n\n return React.forwardRef<OverlayType, Props>((props, ref) => {\n return <Overlay {...props} forwardedRef={ref} />\n })\n}\n"],"names":[],"mappings":";;;;;;;AAwBa,MAAA,sBAAsB,GAAG,CACpC,O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Q,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;SACtG;AACF,KAAA;IAED,OAAO,KAAK,CAAC,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,KAAI;QACzD,OAAO,KAAA,CAAA,aAAA,CAAC,OAAO,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,IAAE,YAAY,EAAE,GAAG,EAAA,CAAA,CAAI,CAAA;AAClD,KAAC,CAAC,CAAA;AACJ;;;;"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
|
|
2
1
|
declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
|
|
3
|
-
/**
|
|
4
|
-
* Checks if an event is supported in the current execution environment.
|
|
5
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
6
|
-
*/
|
|
7
2
|
declare const isCoveredByReact: (__eventNameSuffix: string) => boolean;
|
|
8
3
|
declare const syncEvent: (node: Element & {
|
|
9
4
|
__events?: {
|
|
10
5
|
[key: string]: (e: Event) => any;
|
|
11
6
|
};
|
|
12
7
|
}, eventName: string, newEventHandler?: (e: Event) => any) => void;
|
|
13
|
-
|
|
8
|
+
declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
|
|
9
|
+
export { getClassName, isCoveredByReact, syncEvent, attachProps };
|