pixuireactcomponents 1.2.0 → 1.2.2
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/README.md +5 -6
- package/package.json +9 -66
- package/tsconfig.json +27 -13
- package/{src/pixUIReactComponents/ui → ui}/components/slapface/Slapface.tsx +17 -17
- package/ui/sample/Slapface/SlapfaceDemo.tsx +30 -0
- package/.eslintignore +0 -7
- package/.eslintrc.js +0 -48
- package/.pixiderc/apps.json +0 -12
- package/.pixiderc/devel-config.meta.json +0 -23
- package/.pixiderc/postinstall.js +0 -17
- package/.pixiderc/util.js +0 -136
- package/.pixiderc/webpack.js +0 -180
- package/faas/helloworld.js +0 -8
- package/gen/pbo/pandora_pb.d.ts +0 -1179
- package/gen/pbo/pandora_pb.js +0 -10475
- package/gen/pbo/pandora_pb_service.d.ts +0 -1317
- package/gen/pbo/pandora_pb_service.js +0 -2307
- package/gen/pbo/test_pb.d.ts +0 -99
- package/gen/pbo/test_pb.js +0 -889
- package/gen/pbo/test_pb_service.d.ts +0 -82
- package/gen/pbo/test_pb_service.js +0 -117
- package/lib/assets/border.png +0 -0
- package/lib/assets/check.html +0 -54
- package/lib/assets/pixui.png +0 -0
- package/lib/assets/preact.png +0 -0
- package/lib/check/main.less +0 -63
- package/lib/check/main.tsx +0 -42
- package/lib/check/tool.js +0 -3
- package/lib/check/util.tsx +0 -107
- package/lib/dom.ts +0 -16
- package/lib/ext.d.ts +0 -95
- package/lib/grpc-web/dist/ChunkParser.js +0 -115
- package/lib/grpc-web/dist/ChunkParser.js.map +0 -1
- package/lib/grpc-web/dist/Code.js +0 -58
- package/lib/grpc-web/dist/Code.js.map +0 -1
- package/lib/grpc-web/dist/client.js +0 -299
- package/lib/grpc-web/dist/client.js.map +0 -1
- package/lib/grpc-web/dist/debug.js +0 -16
- package/lib/grpc-web/dist/debug.js.map +0 -1
- package/lib/grpc-web/dist/detach.js +0 -7
- package/lib/grpc-web/dist/detach.js.map +0 -1
- package/lib/grpc-web/dist/index.js +0 -29
- package/lib/grpc-web/dist/index.js.map +0 -1
- package/lib/grpc-web/dist/invoke.js +0 -32
- package/lib/grpc-web/dist/invoke.js.map +0 -1
- package/lib/grpc-web/dist/message.js +0 -3
- package/lib/grpc-web/dist/message.js.map +0 -1
- package/lib/grpc-web/dist/metadata.js +0 -5
- package/lib/grpc-web/dist/metadata.js.map +0 -1
- package/lib/grpc-web/dist/service.js +0 -3
- package/lib/grpc-web/dist/service.js.map +0 -1
- package/lib/grpc-web/dist/transports/Transport.js +0 -13
- package/lib/grpc-web/dist/transports/Transport.js.map +0 -1
- package/lib/grpc-web/dist/transports/http/fetch.js +0 -112
- package/lib/grpc-web/dist/transports/http/fetch.js.map +0 -1
- package/lib/grpc-web/dist/transports/http/http.js +0 -15
- package/lib/grpc-web/dist/transports/http/http.js.map +0 -1
- package/lib/grpc-web/dist/transports/http/xhr.js +0 -127
- package/lib/grpc-web/dist/transports/http/xhr.js.map +0 -1
- package/lib/grpc-web/dist/transports/http/xhrUtil.js +0 -37
- package/lib/grpc-web/dist/transports/http/xhrUtil.js.map +0 -1
- package/lib/grpc-web/dist/transports/websocket/websocket.js +0 -95
- package/lib/grpc-web/dist/transports/websocket/websocket.js.map +0 -1
- package/lib/grpc-web/dist/typings/ChunkParser.d.ts +0 -17
- package/lib/grpc-web/dist/typings/Code.d.ts +0 -20
- package/lib/grpc-web/dist/typings/client.d.ts +0 -22
- package/lib/grpc-web/dist/typings/debug.d.ts +0 -1
- package/lib/grpc-web/dist/typings/detach.d.ts +0 -1
- package/lib/grpc-web/dist/typings/index.d.ts +0 -60
- package/lib/grpc-web/dist/typings/invoke.d.ts +0 -17
- package/lib/grpc-web/dist/typings/message.d.ts +0 -8
- package/lib/grpc-web/dist/typings/metadata.d.ts +0 -2
- package/lib/grpc-web/dist/typings/service.d.ts +0 -16
- package/lib/grpc-web/dist/typings/transports/Transport.d.ts +0 -22
- package/lib/grpc-web/dist/typings/transports/http/fetch.d.ts +0 -6
- package/lib/grpc-web/dist/typings/transports/http/http.d.ts +0 -5
- package/lib/grpc-web/dist/typings/transports/http/xhr.d.ts +0 -27
- package/lib/grpc-web/dist/typings/transports/http/xhrUtil.d.ts +0 -3
- package/lib/grpc-web/dist/typings/transports/websocket/websocket.d.ts +0 -2
- package/lib/grpc-web/dist/typings/unary.d.ts +0 -20
- package/lib/grpc-web/dist/typings/util.d.ts +0 -2
- package/lib/grpc-web/dist/unary.js +0 -44
- package/lib/grpc-web/dist/unary.js.map +0 -1
- package/lib/grpc-web/dist/util.js +0 -11
- package/lib/grpc-web/dist/util.js.map +0 -1
- package/lib/grpcTransport/PixHttp2Transport.ts +0 -104
- package/lib/grpcTransport/PixLuaTransport.ts +0 -80
- package/lib/pi_component/tinyList/tinyList.js +0 -573
- package/lib/pi_component/tinyList/tinyList.tsx +0 -586
- package/lib/preact/compat/src/Children.js +0 -26
- package/lib/preact/compat/src/PureComponent.js +0 -19
- package/lib/preact/compat/src/events.js +0 -36
- package/lib/preact/compat/src/forwardRef.js +0 -29
- package/lib/preact/compat/src/index.d.ts +0 -121
- package/lib/preact/compat/src/index.js +0 -159
- package/lib/preact/compat/src/internal.d.ts +0 -45
- package/lib/preact/compat/src/memo.js +0 -34
- package/lib/preact/compat/src/portals.js +0 -85
- package/lib/preact/compat/src/render.js +0 -166
- package/lib/preact/compat/src/suspense-list.d.ts +0 -14
- package/lib/preact/compat/src/suspense-list.js +0 -127
- package/lib/preact/compat/src/suspense.d.ts +0 -15
- package/lib/preact/compat/src/suspense.js +0 -165
- package/lib/preact/compat/src/util.js +0 -23
- package/lib/preact/hooks/src/index.d.ts +0 -133
- package/lib/preact/hooks/src/index.js +0 -339
- package/lib/preact/hooks/src/internal.d.ts +0 -55
- package/lib/preact/src/clone-element.js +0 -27
- package/lib/preact/src/compat.ts +0 -0
- package/lib/preact/src/component.js +0 -219
- package/lib/preact/src/constants.js +0 -3
- package/lib/preact/src/create-context.js +0 -55
- package/lib/preact/src/create-element.js +0 -102
- package/lib/preact/src/css.d.ts +0 -30341
- package/lib/preact/src/diff/catch-error.js +0 -41
- package/lib/preact/src/diff/children.js +0 -259
- package/lib/preact/src/diff/index.js +0 -445
- package/lib/preact/src/diff/props.js +0 -163
- package/lib/preact/src/index.d.ts +0 -275
- package/lib/preact/src/index.js +0 -14
- package/lib/preact/src/internal.d.ts +0 -94
- package/lib/preact/src/jsx.d.ts +0 -884
- package/lib/preact/src/options.js +0 -16
- package/lib/preact/src/render.js +0 -98
- package/lib/preact/src/util.js +0 -25
- package/lib/preact-router/.travis.yml +0 -3
- package/lib/preact-router/LICENSE +0 -21
- package/lib/preact-router/README.md +0 -254
- package/lib/preact-router/index.d.ts +0 -71
- package/lib/preact-router/match/index.d.ts +0 -16
- package/lib/preact-router/match/package.json +0 -13
- package/lib/preact-router/match/src/cjs.js +0 -4
- package/lib/preact-router/match/src/index.js +0 -36
- package/lib/preact-router/package-lock.json +0 -12330
- package/lib/preact-router/package.json +0 -78
- package/lib/preact-router/src/cjs.js +0 -11
- package/lib/preact-router/src/index.js +0 -270
- package/lib/preact-router/src/util.js +0 -87
- package/lib/react-window/src/FixedSizeGrid.js +0 -244
- package/lib/react-window/src/FixedSizeList.js +0 -130
- package/lib/react-window/src/VariableSizeGrid.js +0 -507
- package/lib/react-window/src/VariableSizeList.js +0 -316
- package/lib/react-window/src/__tests__/FixedSizeGrid.js +0 -1336
- package/lib/react-window/src/__tests__/FixedSizeList.js +0 -966
- package/lib/react-window/src/__tests__/VariableSizeGrid.js +0 -779
- package/lib/react-window/src/__tests__/VariableSizeList.js +0 -442
- package/lib/react-window/src/__tests__/__snapshots__/FixedSizeGrid.js.snap +0 -912
- package/lib/react-window/src/__tests__/__snapshots__/FixedSizeList.js.snap +0 -568
- package/lib/react-window/src/__tests__/__snapshots__/VariableSizeGrid.js.snap +0 -542
- package/lib/react-window/src/__tests__/__snapshots__/VariableSizeList.js.snap +0 -331
- package/lib/react-window/src/__tests__/areEqual.js +0 -32
- package/lib/react-window/src/__tests__/shouldComponentUpdate.js +0 -36
- package/lib/react-window/src/areEqual.js +0 -18
- package/lib/react-window/src/createGridComponent.js +0 -919
- package/lib/react-window/src/createListComponent.js +0 -729
- package/lib/react-window/src/domHelpers.js +0 -72
- package/lib/react-window/src/index.js +0 -9
- package/lib/react-window/src/shallowDiffers.js +0 -17
- package/lib/react-window/src/shouldComponentUpdate.js +0 -16
- package/lib/react-window/src/test.js.flow +0 -382
- package/lib/react-window/src/timer.js +0 -36
- package/src/app/demopage.tsx +0 -77
- package/src/app/index.html +0 -48
- package/src/app/main.tsx +0 -30
- package/src/asset/Textures/Alert/bg_tips.png +0 -0
- package/src/asset/Textures/Alert/btn_zhedie_a.png +0 -0
- package/src/asset/Textures/Alert/com_home_bg_left.png +0 -0
- package/src/asset/Textures/Alert/com_home_bg_rightbar.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_a.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_back_top.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_bottombar_sheet.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_list_xiala.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_rightbar_line.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_rightbar_selected.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_touxiang_140.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_touxiang_60.png +0 -0
- package/src/asset/Textures/Commons/com_home_bg_touxiang_80.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_back.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_bottombar.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_bottombar_fadongtai.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_close.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_guanzhu_126.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_guanzhu_86.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_left_bianji.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_left_dongtai.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_left_touxiang.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_selet.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_yiguanzhu_126.png +0 -0
- package/src/asset/Textures/Commons/com_home_btn_yiguanzhu_86.png +0 -0
- package/src/asset/Textures/Commons/com_home_icon_bottombar_fadongtai.png +0 -0
- package/src/asset/Textures/Commons/com_home_icon_bottombar_red.png +0 -0
- package/src/asset/Textures/Commons/com_home_icon_loading.png +0 -0
- package/src/asset/Textures/Commons/com_home_pic_touxiang_moren.png +0 -0
- package/src/asset/Textures/Commons/com_home_tab_left_a.png +0 -0
- package/src/asset/Textures/Commons/com_home_tab_left_b.png +0 -0
- package/src/asset/Textures/Commons/com_home_tab_left_c.png +0 -0
- package/src/asset/Textures/Commons/feedItems/gc1_huati_icon_middle_v.png +0 -0
- package/src/asset/Textures/Commons/feedItems/gc1_huati_icon_middle_yonghurenzheng.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_bg.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_bg_line.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_bg_middle_chakan.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_bg_middle_input.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_bg_zan.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_middle_input.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_more.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_normal.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_photo_more.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_zhedie_a.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_zhedie_a_shadow.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_zhedie_b_normal.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_btn_zhedie_b_pressed.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_a_normal.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_a_pressed.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_b_normal.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_c_normal.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_d.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_e.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_f_share.png +0 -0
- package/src/asset/Textures/Commons/feedItems/pinglun_icon_middle_input_back.png +0 -0
- package/src/asset/Textures/Commons/gc1_huati_bg_middle_topbtn.png +0 -0
- package/src/asset/Textures/Commons/gc1_huati_bg_middle_topbtn_pressd.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_bg_music.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_btn_a.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_btn_b.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_icon_b.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_icon_d.png +0 -0
- package/src/asset/Textures/Commons/karaoke/rukou_icon_e.png +0 -0
- package/src/asset/Textures/Commons/rukou_bg_bottombar_line.png +0 -0
- package/src/asset/Textures/Commons/rukou_icon_a.png +0 -0
- package/src/asset/Textures/Commons/tc_bianji_tab_a.png +0 -0
- package/src/asset/Textures/Commons/tc_zanshang_bg_line.png +0 -0
- package/src/asset/Textures/Commons/touxiang_bg_tishikuang.png +0 -0
- package/src/asset/Textures/Commons/video/rukou_icon_shipin.png +0 -0
- package/src/asset/Textures/Commons/video/xiangce_btn_bofang.png +0 -0
- package/src/asset/Textures/Commons/voice/rukou_icon_yuyin.png +0 -0
- package/src/asset/Textures/Commons/voice/tc_yuyin_bg.png +0 -0
- package/src/asset/Textures/Commons/voice/tc_yuyin_bg_load.png +0 -0
- package/src/asset/Textures/Commons/voice/tc_yuyin_bg_xinhao_a.png +0 -0
- package/src/asset/Textures/Commons/voice/tc_yuyin_bg_xinhao_b.png +0 -0
- package/src/asset/Textures/Commons/xiangce_icon_bottombar_gulita.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_bottom.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_input.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_tips.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_topbar_a.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_topbar_line.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_upload_photo.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_upload_photo_line.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_bg_zhaopian_line.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_btn.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_btn_close.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_btn_upload_photo.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_radio_normal.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_radio_normal_@slice_0.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_radio_selected.png +0 -0
- package/src/asset/Textures/SocialSecond/com_tc_tab_a.png +0 -0
- package/src/asset/Textures/SocialSecond/gc1_huati_bg_middle_topbar.png +0 -0
- package/src/asset/Textures/SocialSecond/gc1_huati_bg_middle_topbar_pre.png +0 -0
- package/src/asset/Textures/SocialSecond/newmessage_bg_left_line.png +0 -0
- package/src/asset/Textures/SocialSecond/newmessage_bg_left_normal.png +0 -0
- package/src/asset/Textures/SocialSecond/newmessage_bg_left_selected.png +0 -0
- package/src/asset/Textures/SocialSecond/newmessage_bg_middle_new.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_bg_list.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_bg_list_line.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_bg_list_my.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_bg_list_top.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_bg_topbar_a.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_icon_topbar_selected.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_pic_1.png +0 -0
- package/src/asset/Textures/SocialSecond/paihang_pic_2.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_fadongtai_btn_close.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_guanzhu_bg_topbar.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_guanzhu_bg_topbar_selected.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_bg.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_bg_daoju.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_btn_a.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_btn_b.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_btn_c.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_pic_daoju1.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_pic_daoju2.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_liwu_pic_daoju3.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_pinglun_bg.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_shipin_tianjiashipin.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_bg.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_bg_delete.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_bg_xinhao_a.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_bg_xinhao_b.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_star.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_yuyin_stop.png +0 -0
- package/src/asset/Textures/SocialSecond/tc_zanshang_bg_line.png +0 -0
- package/src/asset/Textures/SocialSecond/touxiang_bg_tishikuang.png +0 -0
- package/src/asset/Textures/SocialSecond/xiangce_huadong.png +0 -0
- package/src/asset/Textures/SocialSecond/xiangce_huadong_xuanzhong.png +0 -0
- package/src/asset/Textures/SocialSecond/xiangce_icon_xiazai.png +0 -0
- package/src/asset/Textures/SocialVideo/com_home_btn_close.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_bg_guodu.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_jinduanjian.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_jindutiao.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_jindutiao_hui.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_play.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_play_big.png +0 -0
- package/src/asset/Textures/SocialVideo/tc_shipin_stop.png +0 -0
- package/src/asset/laugh.gif +0 -0
- package/src/asset/npms.png +0 -0
- package/src/asset/pixui.png +0 -0
- package/src/asset/preact.png +0 -0
- package/src/asset/template.html +0 -47
- package/src/common/frame/appsettings.js +0 -111
- package/src/common/frame/common.js +0 -17
- package/src/common/frame/platform-api-callback.js +0 -341
- package/src/common/frame/platform-api.d.ts +0 -156
- package/src/common/frame/platform-api.js +0 -479
- package/src/common/main.less +0 -119
- package/src/pixUIReactComponents/README.md +0 -8
- package/src/pixUIReactComponents/package.json +0 -11
- package/src/pixUIReactComponents/tsconfig.json +0 -45
- package/src/pixUIReactComponents/ui/sample/Slapface/SlapfaceDemo.tsx +0 -30
- package/src/pixUIReactUtils/GenerateConstructorAndGeterSeter.js +0 -227
- package/src/pixUIReactUtils/MakeImage.js +0 -207
- package/src/pixUIReactUtils/README.md +0 -124
- package/src/pixUIReactUtils/Version.js +0 -3
- package/src/pixUIReactUtils/img/makeImage.png +0 -0
- package/src/pixUIReactUtils/index.js +0 -1
- package/src/pixUIReactUtils/package.json +0 -16
- package/src/preprocess/index.html +0 -48
- package/src/preprocess/main.tsx +0 -17
- package/src/preprocess/preprocesspage.tsx +0 -41
- /package/{src/pixUIReactComponents/cmdAfterTsBuild.js → cmdAfterTsBuild.js} +0 -0
- /package/{src/pixUIReactComponents/index.js → index.js} +0 -0
- /package/{src/pixUIReactComponents/tools → tools}/EventDispatcherJs.tsx +0 -0
- /package/{src/pixUIReactComponents/tools → tools}/Logger.tsx +0 -0
- /package/{src/pixUIReactComponents/tools → tools}/img/logger.png +0 -0
- /package/{src/pixUIReactComponents/tools → tools}/tools.md +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/bulletscreen/BulletItemAnimation.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/bulletscreen/BulletScreenAnimation.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/bulletscreen/bullet.less +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/button/Button.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/carousel/Carousel.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/checkBox/CheckBox.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/dropdown/Dropdown.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/dropdown/DropdownOptionUI.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/dropdown/DropdownSpreadMainUI.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/dropdown/DropdownUnspreadMainUI.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/gradient/GradientText.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/outlinetext/OutlineText.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/progress/Progress.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/slapface/less/Slapface.less +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/slider/Slider.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/tab/Tab.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/tab/Tabs.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/togglegroup/ToggleGroup.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/videoplayer/VideoPlayer.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/waterfallcomponent/WaterfallComponent.jsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/components/waterfallcomponent/less/WaterfallComponent.less +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/Images.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/OutlineText/OutlineDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/btn_close.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/changtai_button.jpg +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/checkbox0.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/checkbox1.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/data_arrow_down.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/data_arrow_up.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/dot.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/inner.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/item_reddot.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/loading.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/money_dropdown.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/money_dropdownall.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/outer.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic1.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic2.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic3.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic4.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic5.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/slapface_samplepic6.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/tab_choosed.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/tabs_bg.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/video_pause.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/video_play.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/video_reload.png +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/xuanfu_button.jpg +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/asset/yaxia_button.jpg +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/bulletscreen/BulletDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/button/ButtonDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/carousel/carouselDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/checkBox/checkBoxDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/dropdown/DropdownDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/dropdown/MoneyDropdownOption.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/dropdown/MoneyDropdownSpreadMain.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/dropdown/MoneyDropdownUnspreadMain.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/gradient/GradientDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/less/video.less +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/progress/ProgressDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/slider/SliderDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/tab/TabDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/tab/TopTab.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/togglegroup/ToggleGroupDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/videoplayer/VideoPlayerDemo.tsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/sample/waterfallcomponent/WaterfallComponentDemo.jsx +0 -0
- /package/{src/pixUIReactComponents/ui → ui}/ui.md +0 -0
|
@@ -1,542 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`VariableSizeGrid onScroll scrolling should report partial items correctly in onItemsRendered 1`] = `
|
|
4
|
-
Array [
|
|
5
|
-
Array [
|
|
6
|
-
Object {
|
|
7
|
-
"overscanColumnStartIndex": 0,
|
|
8
|
-
"overscanColumnStopIndex": 3,
|
|
9
|
-
"overscanRowStartIndex": 0,
|
|
10
|
-
"overscanRowStopIndex": 5,
|
|
11
|
-
"visibleColumnStartIndex": 0,
|
|
12
|
-
"visibleColumnStopIndex": 2,
|
|
13
|
-
"visibleRowStartIndex": 0,
|
|
14
|
-
"visibleRowStopIndex": 4,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
Array [
|
|
18
|
-
Object {
|
|
19
|
-
"overscanColumnStartIndex": 0,
|
|
20
|
-
"overscanColumnStopIndex": 4,
|
|
21
|
-
"overscanRowStartIndex": 0,
|
|
22
|
-
"overscanRowStopIndex": 6,
|
|
23
|
-
"visibleColumnStartIndex": 1,
|
|
24
|
-
"visibleColumnStopIndex": 3,
|
|
25
|
-
"visibleRowStartIndex": 1,
|
|
26
|
-
"visibleRowStopIndex": 5,
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
Array [
|
|
30
|
-
Object {
|
|
31
|
-
"overscanColumnStartIndex": 1,
|
|
32
|
-
"overscanColumnStopIndex": 4,
|
|
33
|
-
"overscanRowStartIndex": 1,
|
|
34
|
-
"overscanRowStopIndex": 6,
|
|
35
|
-
"visibleColumnStartIndex": 2,
|
|
36
|
-
"visibleColumnStopIndex": 3,
|
|
37
|
-
"visibleRowStartIndex": 2,
|
|
38
|
-
"visibleRowStopIndex": 5,
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
Array [
|
|
42
|
-
Object {
|
|
43
|
-
"overscanColumnStartIndex": 0,
|
|
44
|
-
"overscanColumnStopIndex": 4,
|
|
45
|
-
"overscanRowStartIndex": 0,
|
|
46
|
-
"overscanRowStopIndex": 6,
|
|
47
|
-
"visibleColumnStartIndex": 1,
|
|
48
|
-
"visibleColumnStopIndex": 3,
|
|
49
|
-
"visibleRowStartIndex": 1,
|
|
50
|
-
"visibleRowStopIndex": 5,
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
Array [
|
|
54
|
-
Object {
|
|
55
|
-
"overscanColumnStartIndex": 96,
|
|
56
|
-
"overscanColumnStopIndex": 99,
|
|
57
|
-
"overscanRowStartIndex": 94,
|
|
58
|
-
"overscanRowStopIndex": 99,
|
|
59
|
-
"visibleColumnStartIndex": 97,
|
|
60
|
-
"visibleColumnStopIndex": 99,
|
|
61
|
-
"visibleRowStartIndex": 95,
|
|
62
|
-
"visibleRowStopIndex": 99,
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
Array [
|
|
66
|
-
Object {
|
|
67
|
-
"overscanColumnStartIndex": 97,
|
|
68
|
-
"overscanColumnStopIndex": 99,
|
|
69
|
-
"overscanRowStartIndex": 95,
|
|
70
|
-
"overscanRowStopIndex": 99,
|
|
71
|
-
"visibleColumnStartIndex": 98,
|
|
72
|
-
"visibleColumnStopIndex": 99,
|
|
73
|
-
"visibleRowStartIndex": 96,
|
|
74
|
-
"visibleRowStopIndex": 99,
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
Array [
|
|
78
|
-
Object {
|
|
79
|
-
"overscanColumnStartIndex": 96,
|
|
80
|
-
"overscanColumnStopIndex": 99,
|
|
81
|
-
"overscanRowStartIndex": 94,
|
|
82
|
-
"overscanRowStopIndex": 99,
|
|
83
|
-
"visibleColumnStartIndex": 97,
|
|
84
|
-
"visibleColumnStopIndex": 99,
|
|
85
|
-
"visibleRowStartIndex": 95,
|
|
86
|
-
"visibleRowStopIndex": 99,
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
]
|
|
90
|
-
`;
|
|
91
|
-
|
|
92
|
-
exports[`VariableSizeGrid scrollToItem method scroll with align = "auto" should work with partially-visible items 1`] = `
|
|
93
|
-
Array [
|
|
94
|
-
Array [
|
|
95
|
-
Object {
|
|
96
|
-
"overscanColumnStartIndex": 0,
|
|
97
|
-
"overscanColumnStopIndex": 3,
|
|
98
|
-
"overscanRowStartIndex": 0,
|
|
99
|
-
"overscanRowStopIndex": 4,
|
|
100
|
-
"visibleColumnStartIndex": 0,
|
|
101
|
-
"visibleColumnStopIndex": 2,
|
|
102
|
-
"visibleRowStartIndex": 0,
|
|
103
|
-
"visibleRowStopIndex": 3,
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
Array [
|
|
107
|
-
Object {
|
|
108
|
-
"overscanColumnStartIndex": 7,
|
|
109
|
-
"overscanColumnStopIndex": 11,
|
|
110
|
-
"overscanRowStartIndex": 6,
|
|
111
|
-
"overscanRowStopIndex": 11,
|
|
112
|
-
"visibleColumnStartIndex": 8,
|
|
113
|
-
"visibleColumnStopIndex": 10,
|
|
114
|
-
"visibleRowStartIndex": 7,
|
|
115
|
-
"visibleRowStopIndex": 10,
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
Array [
|
|
119
|
-
Object {
|
|
120
|
-
"overscanColumnStartIndex": 96,
|
|
121
|
-
"overscanColumnStopIndex": 99,
|
|
122
|
-
"overscanRowStartIndex": 95,
|
|
123
|
-
"overscanRowStopIndex": 99,
|
|
124
|
-
"visibleColumnStartIndex": 97,
|
|
125
|
-
"visibleColumnStopIndex": 99,
|
|
126
|
-
"visibleRowStartIndex": 96,
|
|
127
|
-
"visibleRowStopIndex": 99,
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
Array [
|
|
131
|
-
Object {
|
|
132
|
-
"overscanColumnStartIndex": 0,
|
|
133
|
-
"overscanColumnStopIndex": 4,
|
|
134
|
-
"overscanRowStartIndex": 0,
|
|
135
|
-
"overscanRowStopIndex": 5,
|
|
136
|
-
"visibleColumnStartIndex": 1,
|
|
137
|
-
"visibleColumnStopIndex": 3,
|
|
138
|
-
"visibleRowStartIndex": 1,
|
|
139
|
-
"visibleRowStopIndex": 4,
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
Array [
|
|
143
|
-
Object {
|
|
144
|
-
"overscanColumnStartIndex": 0,
|
|
145
|
-
"overscanColumnStopIndex": 3,
|
|
146
|
-
"overscanRowStartIndex": 0,
|
|
147
|
-
"overscanRowStopIndex": 4,
|
|
148
|
-
"visibleColumnStartIndex": 0,
|
|
149
|
-
"visibleColumnStopIndex": 2,
|
|
150
|
-
"visibleRowStartIndex": 0,
|
|
151
|
-
"visibleRowStopIndex": 3,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
]
|
|
155
|
-
`;
|
|
156
|
-
|
|
157
|
-
exports[`VariableSizeGrid scrollToItem method should not set invalid offsets when the list contains few items 1`] = `[Function]`;
|
|
158
|
-
|
|
159
|
-
exports[`VariableSizeGrid scrollToItem method should scroll to the correct item for align = "auto" 1`] = `
|
|
160
|
-
Array [
|
|
161
|
-
Array [
|
|
162
|
-
Object {
|
|
163
|
-
"overscanColumnStartIndex": 0,
|
|
164
|
-
"overscanColumnStopIndex": 4,
|
|
165
|
-
"overscanRowStartIndex": 0,
|
|
166
|
-
"overscanRowStopIndex": 4,
|
|
167
|
-
"visibleColumnStartIndex": 0,
|
|
168
|
-
"visibleColumnStopIndex": 3,
|
|
169
|
-
"visibleRowStartIndex": 0,
|
|
170
|
-
"visibleRowStopIndex": 3,
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
Array [
|
|
174
|
-
Object {
|
|
175
|
-
"overscanColumnStartIndex": 1,
|
|
176
|
-
"overscanColumnStopIndex": 6,
|
|
177
|
-
"overscanRowStartIndex": 1,
|
|
178
|
-
"overscanRowStopIndex": 6,
|
|
179
|
-
"visibleColumnStartIndex": 2,
|
|
180
|
-
"visibleColumnStopIndex": 5,
|
|
181
|
-
"visibleRowStartIndex": 2,
|
|
182
|
-
"visibleRowStopIndex": 5,
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
Array [
|
|
186
|
-
Object {
|
|
187
|
-
"overscanColumnStartIndex": 1,
|
|
188
|
-
"overscanColumnStopIndex": 6,
|
|
189
|
-
"overscanRowStartIndex": 7,
|
|
190
|
-
"overscanRowStopIndex": 11,
|
|
191
|
-
"visibleColumnStartIndex": 2,
|
|
192
|
-
"visibleColumnStopIndex": 5,
|
|
193
|
-
"visibleRowStartIndex": 8,
|
|
194
|
-
"visibleRowStopIndex": 10,
|
|
195
|
-
},
|
|
196
|
-
],
|
|
197
|
-
Array [
|
|
198
|
-
Object {
|
|
199
|
-
"overscanColumnStartIndex": 0,
|
|
200
|
-
"overscanColumnStopIndex": 4,
|
|
201
|
-
"overscanRowStartIndex": 7,
|
|
202
|
-
"overscanRowStopIndex": 11,
|
|
203
|
-
"visibleColumnStartIndex": 0,
|
|
204
|
-
"visibleColumnStopIndex": 3,
|
|
205
|
-
"visibleRowStartIndex": 8,
|
|
206
|
-
"visibleRowStopIndex": 10,
|
|
207
|
-
},
|
|
208
|
-
],
|
|
209
|
-
]
|
|
210
|
-
`;
|
|
211
|
-
|
|
212
|
-
exports[`VariableSizeGrid scrollToItem method should scroll to the correct item for align = "center" 1`] = `
|
|
213
|
-
Array [
|
|
214
|
-
Array [
|
|
215
|
-
Object {
|
|
216
|
-
"overscanColumnStartIndex": 0,
|
|
217
|
-
"overscanColumnStopIndex": 4,
|
|
218
|
-
"overscanRowStartIndex": 0,
|
|
219
|
-
"overscanRowStopIndex": 4,
|
|
220
|
-
"visibleColumnStartIndex": 0,
|
|
221
|
-
"visibleColumnStopIndex": 3,
|
|
222
|
-
"visibleRowStartIndex": 0,
|
|
223
|
-
"visibleRowStopIndex": 3,
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
Array [
|
|
227
|
-
Object {
|
|
228
|
-
"overscanColumnStartIndex": 2,
|
|
229
|
-
"overscanColumnStopIndex": 8,
|
|
230
|
-
"overscanRowStartIndex": 2,
|
|
231
|
-
"overscanRowStopIndex": 8,
|
|
232
|
-
"visibleColumnStartIndex": 3,
|
|
233
|
-
"visibleColumnStopIndex": 7,
|
|
234
|
-
"visibleRowStartIndex": 3,
|
|
235
|
-
"visibleRowStopIndex": 7,
|
|
236
|
-
},
|
|
237
|
-
],
|
|
238
|
-
Array [
|
|
239
|
-
Object {
|
|
240
|
-
"overscanColumnStartIndex": 1,
|
|
241
|
-
"overscanColumnStopIndex": 7,
|
|
242
|
-
"overscanRowStartIndex": 1,
|
|
243
|
-
"overscanRowStopIndex": 7,
|
|
244
|
-
"visibleColumnStartIndex": 2,
|
|
245
|
-
"visibleColumnStopIndex": 6,
|
|
246
|
-
"visibleRowStartIndex": 2,
|
|
247
|
-
"visibleRowStopIndex": 6,
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
Array [
|
|
251
|
-
Object {
|
|
252
|
-
"overscanColumnStartIndex": 0,
|
|
253
|
-
"overscanColumnStopIndex": 5,
|
|
254
|
-
"overscanRowStartIndex": 0,
|
|
255
|
-
"overscanRowStopIndex": 5,
|
|
256
|
-
"visibleColumnStartIndex": 0,
|
|
257
|
-
"visibleColumnStopIndex": 4,
|
|
258
|
-
"visibleRowStartIndex": 0,
|
|
259
|
-
"visibleRowStopIndex": 4,
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
Array [
|
|
263
|
-
Object {
|
|
264
|
-
"overscanColumnStartIndex": 5,
|
|
265
|
-
"overscanColumnStopIndex": 9,
|
|
266
|
-
"overscanRowStartIndex": 16,
|
|
267
|
-
"overscanRowStopIndex": 19,
|
|
268
|
-
"visibleColumnStartIndex": 6,
|
|
269
|
-
"visibleColumnStopIndex": 9,
|
|
270
|
-
"visibleRowStartIndex": 17,
|
|
271
|
-
"visibleRowStopIndex": 19,
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
Array [
|
|
275
|
-
Object {
|
|
276
|
-
"overscanColumnStartIndex": 5,
|
|
277
|
-
"overscanColumnStopIndex": 9,
|
|
278
|
-
"overscanRowStartIndex": 8,
|
|
279
|
-
"overscanRowStopIndex": 12,
|
|
280
|
-
"visibleColumnStartIndex": 6,
|
|
281
|
-
"visibleColumnStopIndex": 9,
|
|
282
|
-
"visibleRowStartIndex": 9,
|
|
283
|
-
"visibleRowStopIndex": 11,
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
Array [
|
|
287
|
-
Object {
|
|
288
|
-
"overscanColumnStartIndex": 0,
|
|
289
|
-
"overscanColumnStopIndex": 6,
|
|
290
|
-
"overscanRowStartIndex": 8,
|
|
291
|
-
"overscanRowStopIndex": 12,
|
|
292
|
-
"visibleColumnStartIndex": 1,
|
|
293
|
-
"visibleColumnStopIndex": 5,
|
|
294
|
-
"visibleRowStartIndex": 9,
|
|
295
|
-
"visibleRowStopIndex": 11,
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
]
|
|
299
|
-
`;
|
|
300
|
-
|
|
301
|
-
exports[`VariableSizeGrid scrollToItem method should scroll to the correct item for align = "end" 1`] = `
|
|
302
|
-
Array [
|
|
303
|
-
Array [
|
|
304
|
-
Object {
|
|
305
|
-
"overscanColumnStartIndex": 0,
|
|
306
|
-
"overscanColumnStopIndex": 4,
|
|
307
|
-
"overscanRowStartIndex": 0,
|
|
308
|
-
"overscanRowStopIndex": 4,
|
|
309
|
-
"visibleColumnStartIndex": 0,
|
|
310
|
-
"visibleColumnStopIndex": 3,
|
|
311
|
-
"visibleRowStartIndex": 0,
|
|
312
|
-
"visibleRowStopIndex": 3,
|
|
313
|
-
},
|
|
314
|
-
],
|
|
315
|
-
Array [
|
|
316
|
-
Object {
|
|
317
|
-
"overscanColumnStartIndex": 1,
|
|
318
|
-
"overscanColumnStopIndex": 6,
|
|
319
|
-
"overscanRowStartIndex": 1,
|
|
320
|
-
"overscanRowStopIndex": 6,
|
|
321
|
-
"visibleColumnStartIndex": 2,
|
|
322
|
-
"visibleColumnStopIndex": 5,
|
|
323
|
-
"visibleRowStartIndex": 2,
|
|
324
|
-
"visibleRowStopIndex": 5,
|
|
325
|
-
},
|
|
326
|
-
],
|
|
327
|
-
Array [
|
|
328
|
-
Object {
|
|
329
|
-
"overscanColumnStartIndex": 0,
|
|
330
|
-
"overscanColumnStopIndex": 5,
|
|
331
|
-
"overscanRowStartIndex": 0,
|
|
332
|
-
"overscanRowStopIndex": 5,
|
|
333
|
-
"visibleColumnStartIndex": 1,
|
|
334
|
-
"visibleColumnStopIndex": 4,
|
|
335
|
-
"visibleRowStartIndex": 1,
|
|
336
|
-
"visibleRowStopIndex": 4,
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
Array [
|
|
340
|
-
Object {
|
|
341
|
-
"overscanColumnStartIndex": 0,
|
|
342
|
-
"overscanColumnStopIndex": 4,
|
|
343
|
-
"overscanRowStartIndex": 0,
|
|
344
|
-
"overscanRowStopIndex": 4,
|
|
345
|
-
"visibleColumnStartIndex": 0,
|
|
346
|
-
"visibleColumnStopIndex": 3,
|
|
347
|
-
"visibleRowStartIndex": 0,
|
|
348
|
-
"visibleRowStopIndex": 3,
|
|
349
|
-
},
|
|
350
|
-
],
|
|
351
|
-
Array [
|
|
352
|
-
Object {
|
|
353
|
-
"overscanColumnStartIndex": 0,
|
|
354
|
-
"overscanColumnStopIndex": 4,
|
|
355
|
-
"overscanRowStartIndex": 7,
|
|
356
|
-
"overscanRowStopIndex": 11,
|
|
357
|
-
"visibleColumnStartIndex": 0,
|
|
358
|
-
"visibleColumnStopIndex": 3,
|
|
359
|
-
"visibleRowStartIndex": 8,
|
|
360
|
-
"visibleRowStopIndex": 10,
|
|
361
|
-
},
|
|
362
|
-
],
|
|
363
|
-
Array [
|
|
364
|
-
Object {
|
|
365
|
-
"overscanColumnStartIndex": 5,
|
|
366
|
-
"overscanColumnStopIndex": 9,
|
|
367
|
-
"overscanRowStartIndex": 7,
|
|
368
|
-
"overscanRowStopIndex": 11,
|
|
369
|
-
"visibleColumnStartIndex": 6,
|
|
370
|
-
"visibleColumnStopIndex": 9,
|
|
371
|
-
"visibleRowStartIndex": 8,
|
|
372
|
-
"visibleRowStopIndex": 10,
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
]
|
|
376
|
-
`;
|
|
377
|
-
|
|
378
|
-
exports[`VariableSizeGrid scrollToItem method should scroll to the correct item for align = "smart" 1`] = `
|
|
379
|
-
Array [
|
|
380
|
-
Array [
|
|
381
|
-
Object {
|
|
382
|
-
"overscanColumnStartIndex": 0,
|
|
383
|
-
"overscanColumnStopIndex": 4,
|
|
384
|
-
"overscanRowStartIndex": 0,
|
|
385
|
-
"overscanRowStopIndex": 4,
|
|
386
|
-
"visibleColumnStartIndex": 0,
|
|
387
|
-
"visibleColumnStopIndex": 3,
|
|
388
|
-
"visibleRowStartIndex": 0,
|
|
389
|
-
"visibleRowStopIndex": 3,
|
|
390
|
-
},
|
|
391
|
-
],
|
|
392
|
-
Array [
|
|
393
|
-
Object {
|
|
394
|
-
"overscanColumnStartIndex": 5,
|
|
395
|
-
"overscanColumnStopIndex": 9,
|
|
396
|
-
"overscanRowStartIndex": 8,
|
|
397
|
-
"overscanRowStopIndex": 12,
|
|
398
|
-
"visibleColumnStartIndex": 6,
|
|
399
|
-
"visibleColumnStopIndex": 9,
|
|
400
|
-
"visibleRowStartIndex": 9,
|
|
401
|
-
"visibleRowStopIndex": 11,
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
Array [
|
|
405
|
-
Object {
|
|
406
|
-
"overscanColumnStartIndex": 0,
|
|
407
|
-
"overscanColumnStopIndex": 5,
|
|
408
|
-
"overscanRowStartIndex": 0,
|
|
409
|
-
"overscanRowStopIndex": 5,
|
|
410
|
-
"visibleColumnStartIndex": 1,
|
|
411
|
-
"visibleColumnStopIndex": 4,
|
|
412
|
-
"visibleRowStartIndex": 1,
|
|
413
|
-
"visibleRowStopIndex": 4,
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
Array [
|
|
417
|
-
Object {
|
|
418
|
-
"overscanColumnStartIndex": 0,
|
|
419
|
-
"overscanColumnStopIndex": 5,
|
|
420
|
-
"overscanRowStartIndex": 8,
|
|
421
|
-
"overscanRowStopIndex": 12,
|
|
422
|
-
"visibleColumnStartIndex": 1,
|
|
423
|
-
"visibleColumnStopIndex": 4,
|
|
424
|
-
"visibleRowStartIndex": 9,
|
|
425
|
-
"visibleRowStopIndex": 11,
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
Array [
|
|
429
|
-
Object {
|
|
430
|
-
"overscanColumnStartIndex": 0,
|
|
431
|
-
"overscanColumnStopIndex": 4,
|
|
432
|
-
"overscanRowStartIndex": 8,
|
|
433
|
-
"overscanRowStopIndex": 12,
|
|
434
|
-
"visibleColumnStartIndex": 0,
|
|
435
|
-
"visibleColumnStopIndex": 3,
|
|
436
|
-
"visibleRowStartIndex": 9,
|
|
437
|
-
"visibleRowStopIndex": 11,
|
|
438
|
-
},
|
|
439
|
-
],
|
|
440
|
-
Array [
|
|
441
|
-
Object {
|
|
442
|
-
"overscanColumnStartIndex": 1,
|
|
443
|
-
"overscanColumnStopIndex": 6,
|
|
444
|
-
"overscanRowStartIndex": 2,
|
|
445
|
-
"overscanRowStopIndex": 8,
|
|
446
|
-
"visibleColumnStartIndex": 2,
|
|
447
|
-
"visibleColumnStopIndex": 5,
|
|
448
|
-
"visibleRowStartIndex": 3,
|
|
449
|
-
"visibleRowStopIndex": 7,
|
|
450
|
-
},
|
|
451
|
-
],
|
|
452
|
-
Array [
|
|
453
|
-
Object {
|
|
454
|
-
"overscanColumnStartIndex": 5,
|
|
455
|
-
"overscanColumnStopIndex": 9,
|
|
456
|
-
"overscanRowStartIndex": 8,
|
|
457
|
-
"overscanRowStopIndex": 12,
|
|
458
|
-
"visibleColumnStartIndex": 6,
|
|
459
|
-
"visibleColumnStopIndex": 9,
|
|
460
|
-
"visibleRowStartIndex": 9,
|
|
461
|
-
"visibleRowStopIndex": 11,
|
|
462
|
-
},
|
|
463
|
-
],
|
|
464
|
-
]
|
|
465
|
-
`;
|
|
466
|
-
|
|
467
|
-
exports[`VariableSizeGrid scrollToItem method should scroll to the correct item for align = "start" 1`] = `
|
|
468
|
-
Array [
|
|
469
|
-
Array [
|
|
470
|
-
Object {
|
|
471
|
-
"overscanColumnStartIndex": 0,
|
|
472
|
-
"overscanColumnStopIndex": 4,
|
|
473
|
-
"overscanRowStartIndex": 0,
|
|
474
|
-
"overscanRowStopIndex": 4,
|
|
475
|
-
"visibleColumnStartIndex": 0,
|
|
476
|
-
"visibleColumnStopIndex": 3,
|
|
477
|
-
"visibleRowStartIndex": 0,
|
|
478
|
-
"visibleRowStopIndex": 3,
|
|
479
|
-
},
|
|
480
|
-
],
|
|
481
|
-
Array [
|
|
482
|
-
Object {
|
|
483
|
-
"overscanColumnStartIndex": 4,
|
|
484
|
-
"overscanColumnStopIndex": 9,
|
|
485
|
-
"overscanRowStartIndex": 4,
|
|
486
|
-
"overscanRowStopIndex": 9,
|
|
487
|
-
"visibleColumnStartIndex": 5,
|
|
488
|
-
"visibleColumnStopIndex": 8,
|
|
489
|
-
"visibleRowStartIndex": 5,
|
|
490
|
-
"visibleRowStopIndex": 8,
|
|
491
|
-
},
|
|
492
|
-
],
|
|
493
|
-
Array [
|
|
494
|
-
Object {
|
|
495
|
-
"overscanColumnStartIndex": 3,
|
|
496
|
-
"overscanColumnStopIndex": 8,
|
|
497
|
-
"overscanRowStartIndex": 3,
|
|
498
|
-
"overscanRowStopIndex": 8,
|
|
499
|
-
"visibleColumnStartIndex": 4,
|
|
500
|
-
"visibleColumnStopIndex": 7,
|
|
501
|
-
"visibleRowStartIndex": 4,
|
|
502
|
-
"visibleRowStopIndex": 7,
|
|
503
|
-
},
|
|
504
|
-
],
|
|
505
|
-
Array [
|
|
506
|
-
Object {
|
|
507
|
-
"overscanColumnStartIndex": 5,
|
|
508
|
-
"overscanColumnStopIndex": 9,
|
|
509
|
-
"overscanRowStartIndex": 16,
|
|
510
|
-
"overscanRowStopIndex": 19,
|
|
511
|
-
"visibleColumnStartIndex": 6,
|
|
512
|
-
"visibleColumnStopIndex": 9,
|
|
513
|
-
"visibleRowStartIndex": 17,
|
|
514
|
-
"visibleRowStopIndex": 19,
|
|
515
|
-
},
|
|
516
|
-
],
|
|
517
|
-
Array [
|
|
518
|
-
Object {
|
|
519
|
-
"overscanColumnStartIndex": 5,
|
|
520
|
-
"overscanColumnStopIndex": 9,
|
|
521
|
-
"overscanRowStartIndex": 9,
|
|
522
|
-
"overscanRowStopIndex": 13,
|
|
523
|
-
"visibleColumnStartIndex": 6,
|
|
524
|
-
"visibleColumnStopIndex": 9,
|
|
525
|
-
"visibleRowStartIndex": 10,
|
|
526
|
-
"visibleRowStopIndex": 12,
|
|
527
|
-
},
|
|
528
|
-
],
|
|
529
|
-
Array [
|
|
530
|
-
Object {
|
|
531
|
-
"overscanColumnStartIndex": 0,
|
|
532
|
-
"overscanColumnStopIndex": 4,
|
|
533
|
-
"overscanRowStartIndex": 9,
|
|
534
|
-
"overscanRowStopIndex": 13,
|
|
535
|
-
"visibleColumnStartIndex": 0,
|
|
536
|
-
"visibleColumnStopIndex": 3,
|
|
537
|
-
"visibleRowStartIndex": 10,
|
|
538
|
-
"visibleRowStopIndex": 12,
|
|
539
|
-
},
|
|
540
|
-
],
|
|
541
|
-
]
|
|
542
|
-
`;
|