@xysfe/actui2 0.0.7 → 0.0.9
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 +18 -0
- package/lib/BScroll/index.esm.js +1 -0
- package/lib/BScroll/index.js +1 -1
- package/lib/BankSelect/bankbox/{index.mjs → index.esm.js} +2 -2
- package/lib/BankSelect/bankchoosebox/{index.mjs → index.esm.js} +2 -2
- package/lib/BankSelect/bankmsg/{index.mjs → index.esm.js} +10 -10
- package/lib/BankSelect/{index.mjs → index.esm.js} +15 -15
- package/lib/BaseInput/{index.mjs → index.esm.js} +3 -3
- package/lib/Button/{index.mjs → index.esm.js} +3 -3
- package/lib/CascadePicker/{index.mjs → index.esm.js} +7 -7
- package/lib/CertifyLayer/{index.mjs → index.esm.js} +14 -14
- package/lib/ClaimsContact/{index.mjs → index.esm.js} +12 -12
- package/lib/Collapse/{index.mjs → index.esm.js} +5 -5
- package/lib/Contact/{index.mjs → index.esm.js} +11 -11
- package/lib/ContactBook/{index.mjs → index.esm.js} +12 -12
- package/lib/CountTo/{index.mjs → index.esm.js} +4 -4
- package/lib/CouponLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/CouponLayer/index.js +1 -1
- package/lib/CrmReserveInfoLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/DatePicker/{index.mjs → index.esm.js} +10 -10
- package/lib/DeviceFingerprint/{index.mjs → index.esm.js} +1 -1
- package/lib/Dialog/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseListLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/DiseaseListLayer/index.js +1 -1
- package/lib/DiseaseSelect/collapse/collapse/{index.mjs → index.esm.js} +1 -1
- package/lib/DiseaseSelect/collapse/collapseItem/{index.mjs → index.esm.js} +3 -3
- package/lib/DiseaseSelect/collapse/collapseTransition/{index.mjs → index.esm.js} +2 -2
- package/lib/DiseaseSelect/diseaseList/{index.mjs → index.esm.js} +3 -3
- package/lib/DiseaseSelect/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseSelect/resultList/{index.mjs → index.esm.js} +2 -2
- package/lib/DiseaseSelect/search/{index.mjs → index.esm.js} +4 -4
- package/lib/DiseaseSelect/selectLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseSelectLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/DocPop/{index.mjs → index.esm.js} +7 -7
- package/lib/DocPop/scrollList/{index.mjs → index.esm.js} +2 -2
- package/lib/ErrorInterceptors/{index.mjs → index.esm.js} +1 -1
- package/lib/FaceRecognition/{index.mjs → index.esm.js} +3 -3
- package/lib/FigurePic/{index.mjs → index.esm.js} +3 -3
- package/lib/FileList/imageList/{index.mjs → index.esm.js} +1 -1
- package/lib/FileList/{index.mjs → index.esm.js} +7 -7
- package/lib/FileList/selectLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/FileList/uploadMaterial/{index.mjs → index.esm.js} +7 -7
- package/lib/FileUpload/choose/{index.mjs → index.esm.js} +3 -3
- package/lib/FileUpload/{index.mjs → index.esm.js} +3 -3
- package/lib/FileUpload/upload/{index.mjs → index.esm.js} +4 -4
- package/lib/FileUpload/util/{index.mjs → index.esm.js} +2 -2
- package/lib/FormLayer/{index.mjs → index.esm.js} +13 -13
- package/lib/GivenLayer/{index.mjs → index.esm.js} +14 -14
- package/lib/GoldAddress/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldAddressLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldAddressLayerV2/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAddressSelect/addressSelectLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldAddressSelect/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAml/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldArea/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAuroraSlots/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldBankCombine/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldBankPayLimit/bankSelect/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldBankPayLimit/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldBankSelect/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldBenefitDemo/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldBenefitDemo/benefit/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldBenefitDemo/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldBenefitDemo/benefit/slider/index.js +1 -1
- package/lib/GoldBenefitDemo/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldBenefitDemo/costTable/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldBenefitDemo/costTable/index.js +1 -1
- package/lib/GoldBenefitDemo/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCancelDialog/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldCareer/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldCareerLayer/{index.mjs → index.esm.js} +11 -11
- package/lib/GoldCareerLayer/rowPicker/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCareerLayer/scrollList/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCareerLayer/searchList/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCert/{index.mjs → index.esm.js} +12 -12
- package/lib/GoldCert/photo/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCert/relateVerifyPhoto/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCert/selectLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCheckbox/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldClaimsContact/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCommentList/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCommentList/item/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCommentList/tag/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCompute/careerQuery/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCompute/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldComputeV2/careerQuery/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldComputeV2/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldConclusion/humancheck/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldConclusion/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldConclusion/intelModule/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/intelcheck/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldConclusion/module/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/picture/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/progress/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/scrollzoom/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldConclusion/status/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/tab/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldContact/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldContactBook/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldContactElement/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldCost/costTable/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCost/costTable/index.js +1 -1
- package/lib/GoldCost/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldCost/table/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCostLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCoupon/code/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldCoupon/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldCoupon/item/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCoupon/list/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldDate/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDialog/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDisease/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDocLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldDoorPlate/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldDoubleRecordTable/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldElement/{index.mjs → index.esm.js} +34 -34
- package/lib/GoldElementGroup/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFacecheck/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFaq/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFile/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldFileAssess/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldFinance/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinance/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinance/benefit/slider/index.js +1 -1
- package/lib/GoldFinance/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/caseDemo/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinance/costTable/index.js +1 -1
- package/lib/GoldFinance/{index.mjs → index.esm.js} +7 -7
- package/lib/{GoldFinanceV2/replace/index.mjs → GoldFinance/replace/index.esm.js} +1 -1
- package/lib/GoldFinanceChart/benefit/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceChart/chart/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFinanceChart/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceChart/costTable/index.js +1 -1
- package/lib/GoldFinanceChart/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldFinanceChartV2/chart/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFinanceChartV2/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldFinanceChartV3/benefit/header/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldFinanceChartV3/benefit/newamount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/costTable/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceChartV3/costTable/index.js +1 -1
- package/lib/GoldFinanceChartV3/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceChartV3/tools/replace/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceV2/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceV2/benefit/slider/index.js +1 -1
- package/lib/GoldFinanceV2/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/caseDemo/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceV2/costTable/index.js +1 -1
- package/lib/GoldFinanceV2/{index.mjs → index.esm.js} +7 -7
- package/lib/{GoldFinance/replace/index.mjs → GoldFinanceV2/replace/index.esm.js} +1 -1
- package/lib/GoldIndexBar/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldInput/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldInsureDescDialog/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldInsureDuty/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldInsureNotice/content/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldInsureNotice/denyCarrer/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldInsureNotice/health/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldInsureNotice/healthNotice/{index.mjs → index.esm.js} +10 -10
- package/lib/GoldInsureNotice/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldInsureNotice/offlineHealth/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldInsureNotice/tips/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldIntransitDialog/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldItem/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldLattice/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldLongTextSelect/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldMailPrecheck/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMailPrecheckV2/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMobileLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldModule/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMulSelect/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldMulSelect/mulSelect/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldMulSelect/mulSelect/index.js +1 -1
- package/lib/GoldNoticeTerms/heatlh/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldNoticeTerms/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldNoticeTerms/protocol/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldNoticeTerms/tab/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldOcr/filelist/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldOcr/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldPayLimitLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldPayLimitLayer/index.js +1 -1
- package/lib/GoldPayLimitLayer/signIntroduct/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldPayLimitLayer/signIntroduct/index.js +1 -1
- package/lib/GoldPayLimitLayer/table/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldPayLimitLayer/table/index.js +1 -1
- package/lib/GoldPhoto/{index.mjs → index.esm.js} +11 -11
- package/lib/GoldProtocol/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldProtocolLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldPureText/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldQrcode/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldReadTerms/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldSelect/{index.mjs → index.esm.js} +10 -10
- package/lib/GoldSelect/searchBank/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldSelect/select/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldSignature/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldStepper/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldSwitch/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldText/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldTextarea/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldTimePicker/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldUniversal/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldVerifyCode/{index.mjs → index.esm.js} +7 -7
- package/lib/HumanCheckGuideLayer/guideDetail/{index.mjs → index.esm.js} +2 -2
- package/lib/HumanCheckGuideLayer/{index.mjs → index.esm.js} +4 -4
- package/lib/HumanCheckGuideLayer/moduleBox/{index.mjs → index.esm.js} +2 -2
- package/lib/HumanCheckGuideLayer/table/{index.mjs → index.esm.js} +2 -2
- package/lib/ImageLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/ImagePreview/{index.mjs → index.esm.js} +10 -10
- package/lib/IndexBar/{index.mjs → index.esm.js} +8 -8
- package/lib/IndexList/{index.mjs → index.esm.js} +3 -3
- package/lib/Jigsaw/{index.mjs → index.esm.js} +7 -7
- package/lib/JigsawLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/JigsawVerifyCode/{index.mjs → index.esm.js} +7 -7
- package/lib/Keyframe/{index.mjs → index.esm.js} +4 -4
- package/lib/Loading/cir1-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir2-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir3-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir4-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir5-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/default-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/{index.mjs → index.esm.js} +9 -9
- package/lib/Loading/line-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Login/{index.mjs → index.esm.js} +3 -3
- package/lib/LoginLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/LoginLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/Details/{index.mjs → index.esm.js} +4 -4
- package/lib/Marketing/GetMobile/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/GetMobileForNew/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/List/{index.mjs → index.esm.js} +5 -5
- package/lib/Marketing/RuleDetails/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/TgfTable/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/activity/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/filterIcon/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/gift/{index.mjs → index.esm.js} +1 -1
- package/lib/Marketing/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/kcb/{index.mjs → index.esm.js} +9 -9
- package/lib/Marketing/popper/{index.mjs → index.esm.js} +5 -4
- package/lib/Marketing/popper/index.js +1 -1
- package/lib/Marketing/teleport/{index.mjs → index.esm.js} +3 -2
- package/lib/Marketing/teleport/index.js +1 -1
- package/lib/Marketing/tipsLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/tuiguangfei/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/xys/{index.mjs → index.esm.js} +15 -15
- package/lib/MarketingPage/{index.mjs → index.esm.js} +8 -8
- package/lib/MedicalListLayer/component/medicalList/{index.mjs → index.esm.js} +1 -1
- package/lib/MedicalListLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/MedicalListLayer/index.js +1 -1
- package/lib/MobileAuth/{index.mjs → index.esm.js} +3 -3
- package/lib/MobileAuthLayer/{index.mjs → index.esm.js} +11 -11
- package/lib/MobileAuthLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
- package/lib/MobileLayer/crm/{index.mjs → index.esm.js} +10 -10
- package/lib/MobileLayer/default/{index.mjs → index.esm.js} +10 -10
- package/lib/MobileLayer/{index.mjs → index.esm.js} +3 -3
- package/lib/MultiSelect/{index.mjs → index.esm.js} +9 -9
- package/lib/NoticeTips/{index.mjs → index.esm.js} +5 -5
- package/lib/NoticeTips/noticeTips/{index.mjs → index.esm.js} +2 -2
- package/lib/OcrLayer/{index.mjs → index.esm.js} +4 -4
- package/lib/PageLoading/{index.mjs → index.esm.js} +6 -6
- package/lib/Panel/{index.mjs → index.esm.js} +3 -3
- package/lib/PhotoBox/{index.mjs → index.esm.js} +2 -2
- package/lib/Picker/{index.mjs → index.esm.js} +11 -11
- package/lib/Picker/index.js +1 -1
- package/lib/PickerLongText/{index.mjs → index.esm.js} +11 -11
- package/lib/PickerLongText/index.js +1 -1
- package/lib/PlanSetting/{index.mjs → index.esm.js} +4 -4
- package/lib/PlanSetting/index.js +1 -1
- package/lib/PlanSetting/style.css +1 -1
- package/lib/PlanSettingLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/PlanSubPlan/{index.mjs → index.esm.js} +3 -3
- package/lib/PosterLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/PrizeLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/ProPosterLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/ProPosterLayer/poster/{index.mjs → index.esm.js} +6 -7
- package/lib/ProPosterLayer/poster/index.js +1 -1
- package/lib/ProPosterLayer/poster/style.css +1 -1
- package/lib/ProductLayer/actionSheet/{index.mjs → index.esm.js} +2 -2
- package/lib/ProductLayer/emailLayer/{index.mjs → index.esm.js} +3 -3
- package/lib/ProductLayer/fileListLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/ProductLayer/{index.mjs → index.esm.js} +15 -15
- package/lib/ProductLayer/js/util/{index.mjs → index.esm.js} +1 -1
- package/lib/ProductLayer/layer/{index.mjs → index.esm.js} +4 -4
- package/lib/ProductLayer/productDetailLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/ProductLayer/productDetailLayer/index.js +1 -1
- package/lib/ProductLayer/saleAreaLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/ProductLayer/shareTipLayer/{index.mjs → index.esm.js} +1 -1
- package/lib/QRCode/{index.mjs → index.esm.js} +1 -1
- package/lib/QrcodeLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/Questionnaire/component/checkbox/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/component/input/{index.mjs → index.esm.js} +1 -1
- package/lib/Questionnaire/component/questionItem/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/component/questionTitle/{index.mjs → index.esm.js} +2 -2
- package/lib/Questionnaire/component/radio/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/{index.mjs → index.esm.js} +4 -4
- package/lib/Recognition/createDialog/{index.mjs → index.esm.js} +2 -2
- package/lib/Recognition/dialog/{index.mjs → index.esm.js} +2 -2
- package/lib/Recognition/{index.mjs → index.esm.js} +5 -5
- package/lib/Recognition/util/{index.mjs → index.esm.js} +1 -1
- package/lib/RecordRuleLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/RecordRuleLayer/index.js +1 -1
- package/lib/ReplayLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/RowCascadePicker/frequency/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePicker/{index.mjs → index.esm.js} +12 -12
- package/lib/RowCascadePicker/rowPicker/{index.mjs → index.esm.js} +3 -3
- package/lib/RowCascadePicker/scrollList/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePicker/search/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePickerV2/frequency/{index.mjs → index.esm.js} +1 -1
- package/lib/RowCascadePickerV2/{index.mjs → index.esm.js} +12 -12
- package/lib/RowCascadePickerV2/rowPicker/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePickerV2/scrollList/{index.mjs → index.esm.js} +1 -1
- package/lib/RowCascadePickerV2/searchList/{index.mjs → index.esm.js} +2 -2
- package/lib/Rule/{index.mjs → index.esm.js} +10 -10
- package/lib/Rule/index.js +1 -1
- package/lib/Scroll/{index.mjs → index.esm.js} +1 -1
- package/lib/Signature/{index.mjs → index.esm.js} +2 -2
- package/lib/SlidePoster/{index.mjs → index.esm.js} +7 -7
- package/lib/Stepper/{index.mjs → index.esm.js} +2 -2
- package/lib/Sticky/{index.mjs → index.esm.js} +2 -2
- package/lib/Style/{index.mjs → index.esm.js} +1 -1
- package/lib/Swipe/{index.mjs → index.esm.js} +7 -7
- package/lib/Switch/{index.mjs → index.esm.js} +2 -2
- package/lib/Tab/{index.mjs → index.esm.js} +4 -4
- package/lib/Timeline/{index.mjs → index.esm.js} +3 -3
- package/lib/Toast/{index.mjs → index.esm.js} +8 -8
- package/lib/TransferPay/{index.mjs → index.esm.js} +2 -2
- package/lib/UserAuth/{index.mjs → index.esm.js} +2 -2
- package/lib/common/addon/{index.mjs → index.esm.js} +2 -2
- package/lib/common/baseelement/{index.mjs → index.esm.js} +2 -2
- package/lib/common/button/{index.mjs → index.esm.js} +2 -2
- package/lib/common/dynamicform/{index.mjs → index.esm.js} +2 -2
- package/lib/common/forminput/{index.mjs → index.esm.js} +3 -3
- package/lib/common/goldlayer/{index.mjs → index.esm.js} +5 -5
- package/lib/common/iconbank/{index.mjs → index.esm.js} +1 -1
- package/lib/common/iconcontact/{index.mjs → index.esm.js} +1 -1
- package/lib/common/iconphoto/{index.mjs → index.esm.js} +1 -1
- package/lib/common/input/{index.mjs → index.esm.js} +2 -2
- package/lib/common/layer/{index.mjs → index.esm.js} +4 -4
- package/lib/common/popup/{index.mjs → index.esm.js} +3 -3
- package/lib/common/scroll/{index.mjs → index.esm.js} +4 -4
- package/lib/common/scroll/index.js +1 -1
- package/lib/common/scrollZoom/bubble/{index.mjs → index.esm.js} +1 -1
- package/lib/common/scrollZoom/{index.mjs → index.esm.js} +4 -4
- package/lib/common/scrollZoom/scroll/{index.mjs → index.esm.js} +6 -6
- package/lib/common/scrollZoom/scroll/index.js +1 -1
- package/lib/common/svgicon/{index.mjs → index.esm.js} +1 -1
- package/lib/index.esm.js +515 -0
- package/lib/index.js +1 -1
- package/lib/mixins/bind-event/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/dynamic-form/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/fixed-input/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/fontsize/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/form-input/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/gold-change/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/gold-element/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/mobile-layer/{index.mjs → index.esm.js} +5 -5
- package/lib/mixins/poster-layer/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/touch/{index.mjs → index.esm.js} +1 -1
- package/lib/toBase64/{index.mjs → index.esm.js} +2 -2
- package/lib/utils/BScroll/constants/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/app/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/camelcase/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/create/{index.mjs → index.esm.js} +2 -2
- package/lib/utils/create/instantiate-component/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/create/parse-render/{index.mjs → index.esm.js} +2 -2
- package/package.json +5 -4
- package/lib/BScroll/index.mjs +0 -1
- package/lib/index.mjs +0 -515
- /package/lib/BankSelect/js/{index.mjs → index.esm.js} +0 -0
- /package/lib/ClickOnce/{index.mjs → index.esm.js} +0 -0
- /package/lib/DiseaseSelect/collapse/dom/{index.mjs → index.esm.js} +0 -0
- /package/lib/DiseaseSelect/collapse/emitter/{index.mjs → index.esm.js} +0 -0
- /package/lib/FigurePic/compress/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldCert/const/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldFinanceChart/colorConfig/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldFinanceChartV2/config/{index.mjs → index.esm.js} +0 -0
- /package/lib/Marketing/utils/{index.mjs → index.esm.js} +0 -0
- /package/lib/Pdfjs/{index.mjs → index.esm.js} +0 -0
- /package/lib/QRCode/qrcode/{index.mjs → index.esm.js} +0 -0
- /package/lib/ResourcePreload/{index.mjs → index.esm.js} +0 -0
- /package/lib/SlidePoster/poster/{index.mjs → index.esm.js} +0 -0
- /package/lib/SlidePoster/qrcode/{index.mjs → index.esm.js} +0 -0
- /package/lib/Validator/{index.mjs → index.esm.js} +0 -0
- /package/lib/common/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/basic-picker/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/gold-visible/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/noscroll/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/picker/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/popup/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/visible/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/assign/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/clickOutside/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/create-api/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/date/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/dom/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/encrypt/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/event/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/helpers/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/polyfill/Array.prototype.includes/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/polyfill/Object.keys/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/position/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/post/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/raf/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/vueAwesomeSwiper/{index.mjs → index.esm.js} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import Vue, { defineComponent, watch, onMounted, onUnmounted, onUpdated, unref } from "vue";
|
|
2
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
2
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
3
3
|
function isDef(val) {
|
|
4
4
|
return val !== void 0 && val !== null;
|
|
5
5
|
}
|
|
6
6
|
var _sfc_main = defineComponent({
|
|
7
|
+
name: "xTeleport",
|
|
7
8
|
props: {
|
|
8
|
-
// to 支持选择器 / DOM / ref
|
|
9
|
+
// to 支持选择器 / DOM / ref,未命中时默认挂 body
|
|
9
10
|
to: {
|
|
10
11
|
type: [String, Object, Element]
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Vue=require("vue");var common=require("../../common/index.js");function isDef(val){return val!==void 0&&val!==null}var _sfc_main=Vue.defineComponent({props:{to:{type:[String,Object,Element]}},setup:function setup(props,_ref){var slots=_ref.slots;var container=document.body;var div=document.createElement("div");var vm=null;var resolveTarget=function resolveTarget2(){if(!isDef(props.to))return null;var target=Vue.unref(props.to);if(typeof target==="string"){var _document,_document$querySelect;return(_document=document)===null||_document===void 0||(_document$querySelect=_document.querySelector)===null||_document$querySelect===void 0?void 0:_document$querySelect.call(_document,target)}return target||null};var moveTo=function moveTo2(next){var target=next||document.body;if(!div)return;if(div.parentNode){div.parentNode.removeChild(div)}container=target;container.appendChild(div)};Vue.watch(resolveTarget,function(target){moveTo(target)},{immediate:true});Vue.onMounted(function(){vm=new Vue({el:div,render:function render(){var _slots$default;return(_slots$default=slots.default)===null||_slots$default===void 0?void 0:_slots$default.call(slots)[0]}})});Vue.onUnmounted(function(){if(vm){var _container;vm.$destroy();div&&((_container=container)===null||_container===void 0?void 0:_container.contains(div))&&container.removeChild(div);div=null;vm=null}});Vue.onUpdated(function(){var _vm;(_vm=vm)===null||_vm===void 0||_vm.$forceUpdate()});return function(){return null}}});var _sfc_render=null;var _sfc_staticRenderFns=null;var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,null);var xTeleport=__component__.exports;exports.xTeleport=xTeleport;
|
|
1
|
+
"use strict";var Vue=require("vue");var common=require("../../common/index.js");function isDef(val){return val!==void 0&&val!==null}var _sfc_main=Vue.defineComponent({name:"xTeleport",props:{to:{type:[String,Object,Element]}},setup:function setup(props,_ref){var slots=_ref.slots;var container=document.body;var div=document.createElement("div");var vm=null;var resolveTarget=function resolveTarget2(){if(!isDef(props.to))return null;var target=Vue.unref(props.to);if(typeof target==="string"){var _document,_document$querySelect;return(_document=document)===null||_document===void 0||(_document$querySelect=_document.querySelector)===null||_document$querySelect===void 0?void 0:_document$querySelect.call(_document,target)}return target||null};var moveTo=function moveTo2(next){var target=next||document.body;if(!div)return;if(div.parentNode){div.parentNode.removeChild(div)}container=target;container.appendChild(div)};Vue.watch(resolveTarget,function(target){moveTo(target)},{immediate:true});Vue.onMounted(function(){vm=new Vue({el:div,render:function render(){var _slots$default;return(_slots$default=slots.default)===null||_slots$default===void 0?void 0:_slots$default.call(slots)[0]}})});Vue.onUnmounted(function(){if(vm){var _container;vm.$destroy();div&&((_container=container)===null||_container===void 0?void 0:_container.contains(div))&&container.removeChild(div);div=null;vm=null}});Vue.onUpdated(function(){var _vm;(_vm=vm)===null||_vm===void 0||_vm.$forceUpdate()});return function(){return null}}});var _sfc_render=null;var _sfc_staticRenderFns=null;var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,null);var xTeleport=__component__.exports;exports.xTeleport=xTeleport;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as ua } from "../../utils/helpers/index.
|
|
1
|
+
import { u as ua } from "../../utils/helpers/index.esm.js";
|
|
2
2
|
import __$_require_9dfa3d6a__ from "../../assets/close.c0da.png";
|
|
3
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
3
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
4
4
|
import './style.css';var isApp = ua.isApp;
|
|
5
5
|
var _sfc_main = {
|
|
6
6
|
name: "TipsLayer",
|
|
@@ -12,19 +12,19 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
|
12
12
|
import _Object$assign from "@babel/runtime-corejs3/core-js/object/assign";
|
|
13
13
|
import _flatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/flat";
|
|
14
14
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
15
|
-
import { C as CascadePicker } from "../../CascadePicker/index.
|
|
16
|
-
import { T as TipsLayer } from "../tipsLayer/index.
|
|
17
|
-
import { T as TgfTable } from "../TgfTable/index.
|
|
18
|
-
import { u as ua } from "../../utils/helpers/index.
|
|
15
|
+
import { C as CascadePicker } from "../../CascadePicker/index.esm.js";
|
|
16
|
+
import { T as TipsLayer } from "../tipsLayer/index.esm.js";
|
|
17
|
+
import { T as TgfTable } from "../TgfTable/index.esm.js";
|
|
18
|
+
import { u as ua } from "../../utils/helpers/index.esm.js";
|
|
19
19
|
import { cloneDeep } from "lodash-es";
|
|
20
|
-
import { g as _getLeafColumns } from "../utils/index.
|
|
20
|
+
import { g as _getLeafColumns } from "../utils/index.esm.js";
|
|
21
21
|
import __$_require_8e0e2794__ from "../../assets/location.ad43.png";
|
|
22
22
|
import __$_require_5018a7bc__ from "../../assets/arrow2.2026.png";
|
|
23
23
|
import __$_require_179c4d1e__ from "../../assets/member.ce27.png";
|
|
24
24
|
import __$_require_09a0071e__ from "../../assets/check_arrow.cb6d.png";
|
|
25
25
|
import __$_require_4a19b99b__ from "../../assets/gift.4f4f.png";
|
|
26
26
|
import __$_require_4883edc7__ from "../../assets/amountTicket.4597.png";
|
|
27
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
27
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
28
28
|
import './style.css';function ownKeys(e, r) {
|
|
29
29
|
var t = _Object$keys(e);
|
|
30
30
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -5,21 +5,21 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/con
|
|
|
5
5
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
6
6
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
7
7
|
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys";
|
|
8
|
-
import { A as ActGoldLayer } from "../../common/goldlayer/index.
|
|
9
|
-
import { L as List } from "../List/index.
|
|
10
|
-
import { D as Details } from "../Details/index.
|
|
11
|
-
import { P as PageLoading } from "../../PageLoading/index.
|
|
12
|
-
import { G as GetMobile } from "../GetMobile/index.
|
|
13
|
-
import { G as GetMobileForNew } from "../GetMobileForNew/index.
|
|
14
|
-
import { R as RuleDetails } from "../RuleDetails/index.
|
|
15
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
16
|
-
import { p as popupMixin } from "../../mixins/popup/index.
|
|
17
|
-
import { b as basicPickerMixin } from "../../mixins/basic-picker/index.
|
|
18
|
-
import { p as pickerMixin } from "../../mixins/picker/index.
|
|
19
|
-
import { f as fontSize } from "../../mixins/fontsize/index.
|
|
20
|
-
import { f as fetch } from "../../utils/post/index.
|
|
21
|
-
import "../../utils/polyfill/Object.keys/index.
|
|
22
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
8
|
+
import { A as ActGoldLayer } from "../../common/goldlayer/index.esm.js";
|
|
9
|
+
import { L as List } from "../List/index.esm.js";
|
|
10
|
+
import { D as Details } from "../Details/index.esm.js";
|
|
11
|
+
import { P as PageLoading } from "../../PageLoading/index.esm.js";
|
|
12
|
+
import { G as GetMobile } from "../GetMobile/index.esm.js";
|
|
13
|
+
import { G as GetMobileForNew } from "../GetMobileForNew/index.esm.js";
|
|
14
|
+
import { R as RuleDetails } from "../RuleDetails/index.esm.js";
|
|
15
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
16
|
+
import { p as popupMixin } from "../../mixins/popup/index.esm.js";
|
|
17
|
+
import { b as basicPickerMixin } from "../../mixins/basic-picker/index.esm.js";
|
|
18
|
+
import { p as pickerMixin } from "../../mixins/picker/index.esm.js";
|
|
19
|
+
import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
|
|
20
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
21
|
+
import "../../utils/polyfill/Object.keys/index.esm.js";
|
|
22
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
23
23
|
import './style.css';var _sfc_main = {
|
|
24
24
|
name: "ActGoldRecomdAct",
|
|
25
25
|
mixins: [popupMixin, visibleMixin, basicPickerMixin, pickerMixin, fontSize],
|
|
@@ -18,16 +18,16 @@ import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find"
|
|
|
18
18
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
19
19
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
20
20
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
21
|
-
import { c as create } from "../utils/create/index.
|
|
22
|
-
import { t as tuiguangfei } from "../Marketing/tuiguangfei/index.
|
|
23
|
-
import { g as gift } from "../Marketing/gift/index.
|
|
24
|
-
import { a as activity } from "../Marketing/activity/index.
|
|
25
|
-
import { f as fetch } from "../utils/post/index.
|
|
21
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
22
|
+
import { t as tuiguangfei } from "../Marketing/tuiguangfei/index.esm.js";
|
|
23
|
+
import { g as gift } from "../Marketing/gift/index.esm.js";
|
|
24
|
+
import { a as activity } from "../Marketing/activity/index.esm.js";
|
|
25
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
26
26
|
import { cloneDeep } from "lodash-es";
|
|
27
|
-
import { f as fontSize } from "../mixins/fontsize/index.
|
|
28
|
-
import { u as ua } from "../utils/helpers/index.
|
|
27
|
+
import { f as fontSize } from "../mixins/fontsize/index.esm.js";
|
|
28
|
+
import { u as ua } from "../utils/helpers/index.esm.js";
|
|
29
29
|
import __$_require_9dfa3d6a__ from "../assets/close.c0da.png";
|
|
30
|
-
import { n as normalizeComponent } from "../common/index.
|
|
30
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
31
31
|
import './style.css';function ownKeys(e, r) {
|
|
32
32
|
var t = _Object$keys(e);
|
|
33
33
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -13,17 +13,17 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
|
13
13
|
import _valuesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/values";
|
|
14
14
|
import _findIndexInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find-index";
|
|
15
15
|
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys";
|
|
16
|
-
import { c as create } from "../utils/create/index.
|
|
17
|
-
import { A as ActGoldLayer } from "../common/goldlayer/index.
|
|
18
|
-
import { L as Loading } from "../Loading/index.
|
|
19
|
-
import
|
|
20
|
-
import { M as MedicalList } from "./component/medicalList/index.
|
|
21
|
-
import { o as outerHeight } from "../utils/helpers/index.
|
|
16
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
17
|
+
import { A as ActGoldLayer } from "../common/goldlayer/index.esm.js";
|
|
18
|
+
import { L as Loading } from "../Loading/index.esm.js";
|
|
19
|
+
import BScroll from "better-scroll";
|
|
20
|
+
import { M as MedicalList } from "./component/medicalList/index.esm.js";
|
|
21
|
+
import { o as outerHeight } from "../utils/helpers/index.esm.js";
|
|
22
22
|
import __$_require_263bdd0a__ from "../assets/icon-search.3c97.png";
|
|
23
23
|
import __$_require_e9a2481a__ from "../assets/icon-close.b233.png";
|
|
24
24
|
import __$_require_450b57d0__ from "../assets/icon-nodata.16b6.png";
|
|
25
25
|
import __$_require_5419c642__ from "../assets/icon-nodata-cps.192f.png";
|
|
26
|
-
import { n as normalizeComponent } from "../common/index.
|
|
26
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
27
27
|
import './style.css';function ownKeys(e, r) {
|
|
28
28
|
var t = _Object$keys(e);
|
|
29
29
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -338,7 +338,7 @@ var _sfc_main = {
|
|
|
338
338
|
var _this6 = this;
|
|
339
339
|
this.$nextTick(function() {
|
|
340
340
|
if (!_this6.scroll) {
|
|
341
|
-
_this6.scroll = new
|
|
341
|
+
_this6.scroll = new BScroll(_this6.$refs.medicalList, {
|
|
342
342
|
click: true,
|
|
343
343
|
damping: 0.6
|
|
344
344
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _Object$getOwnPropertySymbols=require("@babel/runtime-corejs3/core-js/object/get-own-property-symbols");var _Object$getOwnPropertyDescriptor=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptor");var _Object$getOwnPropertyDescriptors=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptors");var _Object$defineProperties=require("@babel/runtime-corejs3/core-js/object/define-properties");var _Object$defineProperty=require("@babel/runtime-corejs3/core-js/object/define-property");var _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _valuesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/values");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");function ownKeys(e,r){var t=_Object$keys(e);if(_Object$getOwnPropertySymbols){var o=_Object$getOwnPropertySymbols(e);r&&(o=_filterInstanceProperty(o).call(o,function(r2){return _Object$getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var BScrollModule=require("better-scroll");var MedicalListLayer_component_medicalList=require("./component/medicalList/index.js");var utils_helpers=require("../utils/helpers/index.js");var __$_require_263bdd0a__=require("../assets/icon-search.3c97.png");var __$_require_e9a2481a__=require("../assets/icon-close.b233.png");var __$_require_450b57d0__=require("../assets/icon-nodata.16b6.png");var __$_require_5419c642__=require("../assets/icon-nodata-cps.192f.png");var common=require("../common/index.js");var _sfc_main={name:"MedicalListLayer",data:function data(){return{selectValue:[],isVisible:false,searchKeyword:"",hasSearched:false,filterOptions:[],medicalList:[],totalCount:0,pageSize:20,currentPage:1,hasMore:false,loading:false,zIndex:999,firstFilters:[],activeFirstKey:"",isShowTagMenu:false,secondTagFilters:{},docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,searchHeight:"",isShowActLoading:false}},components:{ActGoldLayer:common_goldlayer.ActGoldLayer,MedicalList:MedicalListLayer_component_medicalList.MedicalList,ActLoading:Loading.Loading},props:{paramsData:{type:Object,default:function _default(){return{}}},title:{type:String,default:"药品清单"},isCps:{type:Boolean,default:false},searchEmptyResultTips:{type:String,default:"找不到相关药品"},searchEmptyResultDesc:{type:String,default:"您可以更换一下药品名称搜索哦"},placeholder:{type:String,default:"请输入您要查询的药品名称"},brandColor:{type:String,default:"#8c7fee"}},created:function created(){var _this=this;var u=navigator.userAgent;if(_indexOfInstanceProperty(u).call(u,"Android")>-1||_indexOfInstanceProperty(u).call(u,"Adr")>-1){this.handleResize=function(){if(_this.pickerContentHeight===0){return}var showHeight=document.body.clientHeight;if(_this.docmHeight>showHeight){_this.$refs.pickerContent.style.height=_this.docmHeight-showHeight+"px";_this.searchHeight=_this.pickerContentHeight+showHeight-_this.docmHeight+"px"}else{_this.$refs.pickerContent.style.height=_this.pickerContentHeight+"px";_this.searchHeight="100%"}};window.addEventListener("resize",this.handleResize)}},beforeDestroy:function beforeDestroy(){if(this.handleResize){window.removeEventListener("resize",this.handleResize)}},methods:{maskClick:function maskClick(){this.closeDropdown();this.isVisible=false},cancel:function cancel(){this.isVisible=false},show:function show(){this.isVisible=true;if(!this.medicalList.length){this.initData()}else{this.refreshScroll()}},initData:function initData(){this.currentPage=1;this.medicalList=[];this.fetchData(true)},fetchData:function fetchData(){var _context,_this2=this;var init=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var reset=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;if(this.loading)return;if(init){this.isShowActLoading=true}this.loading=true;var postData={filter:{},page:this.currentPage,showNum:20};for(var key in this.paramsData){var value=this.paramsData[key];if(value!==""&&value!=null&&value!==void 0){postData[key]=this.paramsData[key]}}if(this.searchKeyword){_filterInstanceProperty(postData).name=this.searchKeyword}_forEachInstanceProperty(_context=this.firstFilters).call(_context,function(filter){if(filter.selectedValue){_filterInstanceProperty(postData)[filter.key]=filter.selectedValue}});this.$fetch("/buy/getMedicineList",postData).then(function(res){var ret=res.ret,errmsg=res.errmsg,data2=res.data;if(+ret===0){if(reset){_this2.medicalList=[];_this2.scrollTop()}var newList=data2.list||[];_this2.totalCount=Number(data2.count)||0;_this2.transformMedicalList(newList);_this2.hasMore=_this2.medicalList.length<_this2.totalCount;_this2.loading=false;if(!_this2.filterOptions||!_this2.filterOptions.length){_this2.filterOptions=data2.filterLabels||[];_this2.transformFilterOptions()}_this2.refreshScroll()}else{_this2.$toast.show(errmsg)}}).catch(function(err){}).finally(function(){_this2.loading=false;_this2.isShowActLoading=false;_this2.hasSearched=true})},transformMedicalList:function transformMedicalList(list){var _context2;var color=this.isCps?"#F05A4B":"#8C7FEE";if(this.searchKeyword){var reg=new RegExp("(".concat(this.searchKeyword,")"),"g");_forEachInstanceProperty(list).call(list,function(item){item.name=item.name.replace(reg,'<span style="color: '.concat(color,';">$1</span>'))})}this.medicalList=_concatInstanceProperty(_context2=[]).call(_context2,_toConsumableArray(this.medicalList),_toConsumableArray(list))},transformFilterOptions:function transformFilterOptions(){var _context3,_context4,_this3=this;this.firstFilters=_mapInstanceProperty(_context3=this.filterOptions).call(_context3,function(filter){return _objectSpread(_objectSpread({},filter),{},{selectedValue:"",selectedText:""})});this.secondTagFilters={};_forEachInstanceProperty(_context4=this.filterOptions).call(_context4,function(filter){var _context5;var key=filter.key;var values=_mapInstanceProperty(_context5=_valuesInstanceProperty(filter)).call(_context5,function(value){return _objectSpread(_objectSpread({},value),{},{actived:false})});values.unshift({value:"",text:"全部",actived:true});_this3.secondTagFilters[key]=values})},closeDropdown:function closeDropdown(){this.isShowTagMenu=false},isOptionSelected:function isOptionSelected(option){return option.actived},toggleDropdown:function toggleDropdown(item){if(this.activeFirstKey===item.key){this.isShowTagMenu=!this.isShowTagMenu;if(!this.isShowTagMenu){this.activeFirstKey=""}}else{this.isShowTagMenu=true;this.activeFirstKey=item.key}},selectOption:function selectOption(option){var _context6,_this4=this;var filterIndex=_findIndexInstanceProperty(_context6=this.firstFilters).call(_context6,function(item){return item.key===_this4.activeFirstKey});if(filterIndex!==-1){this.firstFilters[filterIndex].selectedValue=option.value;this.firstFilters[filterIndex].selectedText=option.text;if(this.secondTagFilters[this.activeFirstKey]){var _context7;_forEachInstanceProperty(_context7=this.secondTagFilters[this.activeFirstKey]).call(_context7,function(item){item.actived=item.value===option.value})}}this.activeFirstKey=null;this.isShowTagMenu=false;this.resetSearch()},getDisplayText:function getDisplayText(item){return item.selectedValue?item.selectedText:item.text},getFilterValues:function getFilterValues(){var _context8;return _mapInstanceProperty(_context8=this.firstFilters).call(_context8,function(filter){return{key:filter.key,selectedValue:filter.selectedOption?filter.selectedOption.value:null}})},loadMore:function loadMore(){if(!this.hasMore||this.loading)return;this.currentPage++;this.fetchData()},handleSearch:function handleSearch(){var _context9,_context0,_this5=this;_forEachInstanceProperty(_context9=this.firstFilters).call(_context9,function(filter){filter.selectedValue="";filter.selectedText=""});_forEachInstanceProperty(_context0=_Object$keys(this.secondTagFilters)).call(_context0,function(key){var _context1;_forEachInstanceProperty(_context1=_this5.secondTagFilters[key]).call(_context1,function(item){item.actived=item.value===""})});this.resetSearch()},clear:function clear(){this.searchKeyword="";this.resetSearch()},resetSearch:function resetSearch(){this.currentPage=1;this.fetchData(false,true)},refreshScroll:function refreshScroll(){var _this6=this;this.$nextTick(function(){if(!_this6.scroll){_this6.scroll=new BScrollModule(_this6.$refs.medicalList,{click:true,damping:.6});_this6.scroll.on("scrollEnd",function(){if(_this6.scroll.y<=_this6.scroll.maxScrollY+50){if(_this6.hasMore&&!_this6.loading){_this6.loadMore()}}})}else{_this6.scroll.refresh()}})},scrollTop:function scrollTop(){this.scroll.scrollTo(0,0,300)}},watch:{isVisible:function isVisible(newVal){var _this7=this;if(!this.pickerContentHeight&&newVal){this.$nextTick(function(){_this7.pickerContentHeight=utils_helpers.outerHeight(_this7.$refs.pickerContent)})}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"layer-wrap"},[_c("act-gold-layer",{attrs:{"visible":_vm.isVisible,"title":_vm.title,"center":false,"mask":true,"zIndex":_vm.zIndex},on:{"close":_vm.maskClick}},[_c("div",{ref:"pickerContent",staticClass:"picker-content"},[_c("div",{staticClass:"content",on:{"click":_vm.closeDropdown}},[_c("div",{staticClass:"gradual-color"}),_c("div",{staticClass:"header-box"},[_c("form",{staticClass:"search-box",on:{"submit":function submit($event){$event.preventDefault();return _vm.handleSearch.apply(null,arguments)}}},[_c("img",{staticClass:"search-icon",attrs:{"src":__$_require_263bdd0a__,"alt":""}}),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchKeyword,expression:"searchKeyword"}],attrs:{"type":"text","placeholder":_vm.placeholder},domProps:{"value":_vm.searchKeyword},on:{"keyup":function keyup($event){var _context10;if(!_indexOfInstanceProperty(_context10=$event.type).call(_context10,"key")&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleSearch.apply(null,arguments)},"input":function input($event){if($event.target.composing)return;_vm.searchKeyword=$event.target.value}}}),_vm.searchKeyword?_c("img",{staticClass:"close-icon",attrs:{"src":__$_require_e9a2481a__,"alt":""},on:{"click":_vm.clear}}):_vm._e(),_c("button",{staticStyle:{"display":"none"},attrs:{"type":"submit"}},[_vm._v("搜索")])])]),_c("div",{staticClass:"search-content"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.firstFilters&&_vm.firstFilters.length,expression:"firstFilters && firstFilters.length"}],staticClass:"search-tags-content",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"search-tags-first"},_vm._l(_vm.firstFilters,function(item,index){return _c("div",{key:item.key,staticClass:"filter-item",on:{"click":function click($event){return _vm.toggleDropdown(item,index)}}},[_c("span",{class:{"active":item.selectedValue,"cps":_vm.isCps}},[_vm._v(_vm._s(_vm.getDisplayText(item)))]),_c("i",{class:["arrow-icon",_vm.activeFirstKey===item.key?"up":"down"]})])}),0),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowTagMenu,expression:"isShowTagMenu"}],staticClass:"search-tags-second dropdown-menu"},[_c("div",{staticClass:"dropdown-menu-container"},_vm._l(_vm.secondTagFilters[_vm.activeFirstKey],function(option){return _c("div",{key:option.value,staticClass:"dropdown-item",class:{"active":_vm.isOptionSelected(option),"cps":_vm.isCps},on:{"click":function click($event){return _vm.selectOption(option)}}},[_vm._v(" "+_vm._s(option.text)+" ")])}),0)])]),_c("div",{staticStyle:{"height":"4.5rem","width":"100%"}}),_c("div",{staticClass:"table-scroll-bg",style:"height: ".concat(5*_vm.medicalList.length,"rem")}),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.medicalList&&_vm.medicalList.length,expression:"medicalList && medicalList.length"}],ref:"medicalList",staticClass:"medical-list-scroll"},[_c("div",{staticClass:"scroll-content"},[_c("div",{staticClass:"scroll-list"},[_c("medical-list",{attrs:{"list":_vm.medicalList}}),_vm.hasMore?_c("div",{staticClass:"load-more",on:{"click":_vm.loadMore}},[_vm._v(" 滑动加载更多 ")]):_vm._e()],1),_c("div",{staticStyle:{"height":"3.2rem","width":"100%"}})])]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.hasSearched&&_vm.medicalList.length===0,expression:"hasSearched && medicalList.length === 0"}],staticClass:"search-empty"},[!_vm.isCps?_c("img",{attrs:{"src":__$_require_450b57d0__}}):_c("img",{attrs:{"src":__$_require_5419c642__}}),_c("h4",{staticClass:"tip"},[_vm._v(_vm._s(_vm.searchEmptyResultTips))]),_c("p",{staticClass:"desc"},[_vm._v(_vm._s(_vm.searchEmptyResultDesc))])]),_vm.isShowActLoading?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir3","color":_vm.brandColor,"size":35}})],1):_vm._e()])])])])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"fd644c7c");var MedicalListLayer=__component__.exports;MedicalListLayer.install=function(Vue){Vue.component(MedicalListLayer.name,MedicalListLayer);Vue.prototype["$createMedicalListLayer"]=utils_create.create(MedicalListLayer,Vue)};exports.MedicalListLayer=MedicalListLayer;
|
|
1
|
+
"use strict";require('./style.css');var _Object$getOwnPropertySymbols=require("@babel/runtime-corejs3/core-js/object/get-own-property-symbols");var _Object$getOwnPropertyDescriptor=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptor");var _Object$getOwnPropertyDescriptors=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptors");var _Object$defineProperties=require("@babel/runtime-corejs3/core-js/object/define-properties");var _Object$defineProperty=require("@babel/runtime-corejs3/core-js/object/define-property");var _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _valuesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/values");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");function ownKeys(e,r){var t=_Object$keys(e);if(_Object$getOwnPropertySymbols){var o=_Object$getOwnPropertySymbols(e);r&&(o=_filterInstanceProperty(o).call(o,function(r2){return _Object$getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var BScroll=require("better-scroll");var MedicalListLayer_component_medicalList=require("./component/medicalList/index.js");var utils_helpers=require("../utils/helpers/index.js");var __$_require_263bdd0a__=require("../assets/icon-search.3c97.png");var __$_require_e9a2481a__=require("../assets/icon-close.b233.png");var __$_require_450b57d0__=require("../assets/icon-nodata.16b6.png");var __$_require_5419c642__=require("../assets/icon-nodata-cps.192f.png");var common=require("../common/index.js");var _sfc_main={name:"MedicalListLayer",data:function data(){return{selectValue:[],isVisible:false,searchKeyword:"",hasSearched:false,filterOptions:[],medicalList:[],totalCount:0,pageSize:20,currentPage:1,hasMore:false,loading:false,zIndex:999,firstFilters:[],activeFirstKey:"",isShowTagMenu:false,secondTagFilters:{},docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,searchHeight:"",isShowActLoading:false}},components:{ActGoldLayer:common_goldlayer.ActGoldLayer,MedicalList:MedicalListLayer_component_medicalList.MedicalList,ActLoading:Loading.Loading},props:{paramsData:{type:Object,default:function _default(){return{}}},title:{type:String,default:"药品清单"},isCps:{type:Boolean,default:false},searchEmptyResultTips:{type:String,default:"找不到相关药品"},searchEmptyResultDesc:{type:String,default:"您可以更换一下药品名称搜索哦"},placeholder:{type:String,default:"请输入您要查询的药品名称"},brandColor:{type:String,default:"#8c7fee"}},created:function created(){var _this=this;var u=navigator.userAgent;if(_indexOfInstanceProperty(u).call(u,"Android")>-1||_indexOfInstanceProperty(u).call(u,"Adr")>-1){this.handleResize=function(){if(_this.pickerContentHeight===0){return}var showHeight=document.body.clientHeight;if(_this.docmHeight>showHeight){_this.$refs.pickerContent.style.height=_this.docmHeight-showHeight+"px";_this.searchHeight=_this.pickerContentHeight+showHeight-_this.docmHeight+"px"}else{_this.$refs.pickerContent.style.height=_this.pickerContentHeight+"px";_this.searchHeight="100%"}};window.addEventListener("resize",this.handleResize)}},beforeDestroy:function beforeDestroy(){if(this.handleResize){window.removeEventListener("resize",this.handleResize)}},methods:{maskClick:function maskClick(){this.closeDropdown();this.isVisible=false},cancel:function cancel(){this.isVisible=false},show:function show(){this.isVisible=true;if(!this.medicalList.length){this.initData()}else{this.refreshScroll()}},initData:function initData(){this.currentPage=1;this.medicalList=[];this.fetchData(true)},fetchData:function fetchData(){var _context,_this2=this;var init=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var reset=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;if(this.loading)return;if(init){this.isShowActLoading=true}this.loading=true;var postData={filter:{},page:this.currentPage,showNum:20};for(var key in this.paramsData){var value=this.paramsData[key];if(value!==""&&value!=null&&value!==void 0){postData[key]=this.paramsData[key]}}if(this.searchKeyword){_filterInstanceProperty(postData).name=this.searchKeyword}_forEachInstanceProperty(_context=this.firstFilters).call(_context,function(filter){if(filter.selectedValue){_filterInstanceProperty(postData)[filter.key]=filter.selectedValue}});this.$fetch("/buy/getMedicineList",postData).then(function(res){var ret=res.ret,errmsg=res.errmsg,data2=res.data;if(+ret===0){if(reset){_this2.medicalList=[];_this2.scrollTop()}var newList=data2.list||[];_this2.totalCount=Number(data2.count)||0;_this2.transformMedicalList(newList);_this2.hasMore=_this2.medicalList.length<_this2.totalCount;_this2.loading=false;if(!_this2.filterOptions||!_this2.filterOptions.length){_this2.filterOptions=data2.filterLabels||[];_this2.transformFilterOptions()}_this2.refreshScroll()}else{_this2.$toast.show(errmsg)}}).catch(function(err){}).finally(function(){_this2.loading=false;_this2.isShowActLoading=false;_this2.hasSearched=true})},transformMedicalList:function transformMedicalList(list){var _context2;var color=this.isCps?"#F05A4B":"#8C7FEE";if(this.searchKeyword){var reg=new RegExp("(".concat(this.searchKeyword,")"),"g");_forEachInstanceProperty(list).call(list,function(item){item.name=item.name.replace(reg,'<span style="color: '.concat(color,';">$1</span>'))})}this.medicalList=_concatInstanceProperty(_context2=[]).call(_context2,_toConsumableArray(this.medicalList),_toConsumableArray(list))},transformFilterOptions:function transformFilterOptions(){var _context3,_context4,_this3=this;this.firstFilters=_mapInstanceProperty(_context3=this.filterOptions).call(_context3,function(filter){return _objectSpread(_objectSpread({},filter),{},{selectedValue:"",selectedText:""})});this.secondTagFilters={};_forEachInstanceProperty(_context4=this.filterOptions).call(_context4,function(filter){var _context5;var key=filter.key;var values=_mapInstanceProperty(_context5=_valuesInstanceProperty(filter)).call(_context5,function(value){return _objectSpread(_objectSpread({},value),{},{actived:false})});values.unshift({value:"",text:"全部",actived:true});_this3.secondTagFilters[key]=values})},closeDropdown:function closeDropdown(){this.isShowTagMenu=false},isOptionSelected:function isOptionSelected(option){return option.actived},toggleDropdown:function toggleDropdown(item){if(this.activeFirstKey===item.key){this.isShowTagMenu=!this.isShowTagMenu;if(!this.isShowTagMenu){this.activeFirstKey=""}}else{this.isShowTagMenu=true;this.activeFirstKey=item.key}},selectOption:function selectOption(option){var _context6,_this4=this;var filterIndex=_findIndexInstanceProperty(_context6=this.firstFilters).call(_context6,function(item){return item.key===_this4.activeFirstKey});if(filterIndex!==-1){this.firstFilters[filterIndex].selectedValue=option.value;this.firstFilters[filterIndex].selectedText=option.text;if(this.secondTagFilters[this.activeFirstKey]){var _context7;_forEachInstanceProperty(_context7=this.secondTagFilters[this.activeFirstKey]).call(_context7,function(item){item.actived=item.value===option.value})}}this.activeFirstKey=null;this.isShowTagMenu=false;this.resetSearch()},getDisplayText:function getDisplayText(item){return item.selectedValue?item.selectedText:item.text},getFilterValues:function getFilterValues(){var _context8;return _mapInstanceProperty(_context8=this.firstFilters).call(_context8,function(filter){return{key:filter.key,selectedValue:filter.selectedOption?filter.selectedOption.value:null}})},loadMore:function loadMore(){if(!this.hasMore||this.loading)return;this.currentPage++;this.fetchData()},handleSearch:function handleSearch(){var _context9,_context0,_this5=this;_forEachInstanceProperty(_context9=this.firstFilters).call(_context9,function(filter){filter.selectedValue="";filter.selectedText=""});_forEachInstanceProperty(_context0=_Object$keys(this.secondTagFilters)).call(_context0,function(key){var _context1;_forEachInstanceProperty(_context1=_this5.secondTagFilters[key]).call(_context1,function(item){item.actived=item.value===""})});this.resetSearch()},clear:function clear(){this.searchKeyword="";this.resetSearch()},resetSearch:function resetSearch(){this.currentPage=1;this.fetchData(false,true)},refreshScroll:function refreshScroll(){var _this6=this;this.$nextTick(function(){if(!_this6.scroll){_this6.scroll=new BScroll(_this6.$refs.medicalList,{click:true,damping:.6});_this6.scroll.on("scrollEnd",function(){if(_this6.scroll.y<=_this6.scroll.maxScrollY+50){if(_this6.hasMore&&!_this6.loading){_this6.loadMore()}}})}else{_this6.scroll.refresh()}})},scrollTop:function scrollTop(){this.scroll.scrollTo(0,0,300)}},watch:{isVisible:function isVisible(newVal){var _this7=this;if(!this.pickerContentHeight&&newVal){this.$nextTick(function(){_this7.pickerContentHeight=utils_helpers.outerHeight(_this7.$refs.pickerContent)})}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"layer-wrap"},[_c("act-gold-layer",{attrs:{"visible":_vm.isVisible,"title":_vm.title,"center":false,"mask":true,"zIndex":_vm.zIndex},on:{"close":_vm.maskClick}},[_c("div",{ref:"pickerContent",staticClass:"picker-content"},[_c("div",{staticClass:"content",on:{"click":_vm.closeDropdown}},[_c("div",{staticClass:"gradual-color"}),_c("div",{staticClass:"header-box"},[_c("form",{staticClass:"search-box",on:{"submit":function submit($event){$event.preventDefault();return _vm.handleSearch.apply(null,arguments)}}},[_c("img",{staticClass:"search-icon",attrs:{"src":__$_require_263bdd0a__,"alt":""}}),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchKeyword,expression:"searchKeyword"}],attrs:{"type":"text","placeholder":_vm.placeholder},domProps:{"value":_vm.searchKeyword},on:{"keyup":function keyup($event){var _context10;if(!_indexOfInstanceProperty(_context10=$event.type).call(_context10,"key")&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleSearch.apply(null,arguments)},"input":function input($event){if($event.target.composing)return;_vm.searchKeyword=$event.target.value}}}),_vm.searchKeyword?_c("img",{staticClass:"close-icon",attrs:{"src":__$_require_e9a2481a__,"alt":""},on:{"click":_vm.clear}}):_vm._e(),_c("button",{staticStyle:{"display":"none"},attrs:{"type":"submit"}},[_vm._v("搜索")])])]),_c("div",{staticClass:"search-content"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.firstFilters&&_vm.firstFilters.length,expression:"firstFilters && firstFilters.length"}],staticClass:"search-tags-content",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"search-tags-first"},_vm._l(_vm.firstFilters,function(item,index){return _c("div",{key:item.key,staticClass:"filter-item",on:{"click":function click($event){return _vm.toggleDropdown(item,index)}}},[_c("span",{class:{"active":item.selectedValue,"cps":_vm.isCps}},[_vm._v(_vm._s(_vm.getDisplayText(item)))]),_c("i",{class:["arrow-icon",_vm.activeFirstKey===item.key?"up":"down"]})])}),0),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowTagMenu,expression:"isShowTagMenu"}],staticClass:"search-tags-second dropdown-menu"},[_c("div",{staticClass:"dropdown-menu-container"},_vm._l(_vm.secondTagFilters[_vm.activeFirstKey],function(option){return _c("div",{key:option.value,staticClass:"dropdown-item",class:{"active":_vm.isOptionSelected(option),"cps":_vm.isCps},on:{"click":function click($event){return _vm.selectOption(option)}}},[_vm._v(" "+_vm._s(option.text)+" ")])}),0)])]),_c("div",{staticStyle:{"height":"4.5rem","width":"100%"}}),_c("div",{staticClass:"table-scroll-bg",style:"height: ".concat(5*_vm.medicalList.length,"rem")}),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.medicalList&&_vm.medicalList.length,expression:"medicalList && medicalList.length"}],ref:"medicalList",staticClass:"medical-list-scroll"},[_c("div",{staticClass:"scroll-content"},[_c("div",{staticClass:"scroll-list"},[_c("medical-list",{attrs:{"list":_vm.medicalList}}),_vm.hasMore?_c("div",{staticClass:"load-more",on:{"click":_vm.loadMore}},[_vm._v(" 滑动加载更多 ")]):_vm._e()],1),_c("div",{staticStyle:{"height":"3.2rem","width":"100%"}})])]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.hasSearched&&_vm.medicalList.length===0,expression:"hasSearched && medicalList.length === 0"}],staticClass:"search-empty"},[!_vm.isCps?_c("img",{attrs:{"src":__$_require_450b57d0__}}):_c("img",{attrs:{"src":__$_require_5419c642__}}),_c("h4",{staticClass:"tip"},[_vm._v(_vm._s(_vm.searchEmptyResultTips))]),_c("p",{staticClass:"desc"},[_vm._v(_vm._s(_vm.searchEmptyResultDesc))])]),_vm.isShowActLoading?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir3","color":_vm.brandColor,"size":35}})],1):_vm._e()])])])])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"fd644c7c");var MedicalListLayer=__component__.exports;MedicalListLayer.install=function(Vue){Vue.component(MedicalListLayer.name,MedicalListLayer);Vue.prototype["$createMedicalListLayer"]=utils_create.create(MedicalListLayer,Vue)};exports.MedicalListLayer=MedicalListLayer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
2
|
-
import { v as getParam, u as ua } from "../utils/helpers/index.
|
|
3
|
-
import { f as fetch } from "../utils/post/index.
|
|
4
|
-
import { M as MobileAuthLayer } from "../MobileAuthLayer/index.
|
|
2
|
+
import { v as getParam, u as ua } from "../utils/helpers/index.esm.js";
|
|
3
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
4
|
+
import { M as MobileAuthLayer } from "../MobileAuthLayer/index.esm.js";
|
|
5
5
|
var isLogin = false;
|
|
6
6
|
var CANCEL_RESPONSE = {
|
|
7
7
|
ret: 60999,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
2
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
3
|
-
import { p as popupMixin } from "../mixins/popup/index.
|
|
4
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
5
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
6
|
-
import { B as BaseInput } from "../BaseInput/index.
|
|
7
|
-
import { A as ActGoldProtocol } from "../GoldProtocol/index.
|
|
8
|
-
import { J as Jigsaw } from "./jigsaw/index.
|
|
9
|
-
import { E as isMobile, v as getParam } from "../utils/helpers/index.
|
|
10
|
-
import { f as fetch } from "../utils/post/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
3
|
+
import { p as popupMixin } from "../mixins/popup/index.esm.js";
|
|
4
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
5
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
6
|
+
import { B as BaseInput } from "../BaseInput/index.esm.js";
|
|
7
|
+
import { A as ActGoldProtocol } from "../GoldProtocol/index.esm.js";
|
|
8
|
+
import { J as Jigsaw } from "./jigsaw/index.esm.js";
|
|
9
|
+
import { E as isMobile, v as getParam } from "../utils/helpers/index.esm.js";
|
|
10
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
11
11
|
import favicon from "../assets/favicon.f488.png";
|
|
12
12
|
import __$_require_784a33ac__ from "../assets/logo.ce81.png";
|
|
13
|
-
import { n as normalizeComponent } from "../common/index.
|
|
13
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
14
14
|
import './style.css';var TIME = 60;
|
|
15
15
|
var EVENT_SUCCESS = "success";
|
|
16
16
|
var EVENT_CANCEL = "cancel";
|
|
@@ -7,12 +7,12 @@ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js/ob
|
|
|
7
7
|
import _Object$defineProperties from "@babel/runtime-corejs3/core-js/object/define-properties";
|
|
8
8
|
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property";
|
|
9
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
10
|
-
import { p as popupMixin } from "../../mixins/popup/index.
|
|
11
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
12
|
-
import { J as Jigsaw$1 } from "../../Jigsaw/index.
|
|
13
|
-
import { f as fetch } from "../../utils/post/index.
|
|
14
|
-
import { x as isUndefined, y as isNull, E as isMobile } from "../../utils/helpers/index.
|
|
15
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
10
|
+
import { p as popupMixin } from "../../mixins/popup/index.esm.js";
|
|
11
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
12
|
+
import { J as Jigsaw$1 } from "../../Jigsaw/index.esm.js";
|
|
13
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
14
|
+
import { x as isUndefined, y as isNull, E as isMobile } from "../../utils/helpers/index.esm.js";
|
|
15
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
16
16
|
import './style.css';function ownKeys(e, r) {
|
|
17
17
|
var t = _Object$keys(e);
|
|
18
18
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
|
|
2
|
-
import { s as svgIcon } from "../../common/svgicon/index.
|
|
3
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
4
|
-
import { n as noscrollMixin } from "../../mixins/noscroll/index.
|
|
5
|
-
import { f as fixedInputMixin } from "../../mixins/fixed-input/index.
|
|
6
|
-
import { m as mobileInputMixin } from "../../mixins/mobile-layer/index.
|
|
7
|
-
import { A as ActLayer } from "../../common/layer/index.
|
|
8
|
-
import { A as ActInput } from "../../common/input/index.
|
|
9
|
-
import { A as ActButton } from "../../common/button/index.
|
|
10
|
-
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.
|
|
11
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
2
|
+
import { s as svgIcon } from "../../common/svgicon/index.esm.js";
|
|
3
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
4
|
+
import { n as noscrollMixin } from "../../mixins/noscroll/index.esm.js";
|
|
5
|
+
import { f as fixedInputMixin } from "../../mixins/fixed-input/index.esm.js";
|
|
6
|
+
import { m as mobileInputMixin } from "../../mixins/mobile-layer/index.esm.js";
|
|
7
|
+
import { A as ActLayer } from "../../common/layer/index.esm.js";
|
|
8
|
+
import { A as ActInput } from "../../common/input/index.esm.js";
|
|
9
|
+
import { A as ActButton } from "../../common/button/index.esm.js";
|
|
10
|
+
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.esm.js";
|
|
11
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
12
12
|
import './style.css';var _sfc_main = {
|
|
13
13
|
name: "ActCrmMobileLayer",
|
|
14
14
|
data: function data() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
|
|
2
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
3
|
-
import { n as noscrollMixin } from "../../mixins/noscroll/index.
|
|
4
|
-
import { f as fixedInputMixin } from "../../mixins/fixed-input/index.
|
|
5
|
-
import { m as mobileInputMixin } from "../../mixins/mobile-layer/index.
|
|
6
|
-
import { A as ActLayer } from "../../common/layer/index.
|
|
7
|
-
import { A as ActInput } from "../../common/input/index.
|
|
8
|
-
import { A as ActButton } from "../../common/button/index.
|
|
9
|
-
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.
|
|
10
|
-
import { s as svgIcon } from "../../common/svgicon/index.
|
|
11
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
2
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
3
|
+
import { n as noscrollMixin } from "../../mixins/noscroll/index.esm.js";
|
|
4
|
+
import { f as fixedInputMixin } from "../../mixins/fixed-input/index.esm.js";
|
|
5
|
+
import { m as mobileInputMixin } from "../../mixins/mobile-layer/index.esm.js";
|
|
6
|
+
import { A as ActLayer } from "../../common/layer/index.esm.js";
|
|
7
|
+
import { A as ActInput } from "../../common/input/index.esm.js";
|
|
8
|
+
import { A as ActButton } from "../../common/button/index.esm.js";
|
|
9
|
+
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.esm.js";
|
|
10
|
+
import { s as svgIcon } from "../../common/svgicon/index.esm.js";
|
|
11
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
12
12
|
import './style.css';var _sfc_main = {
|
|
13
13
|
name: "ActDefaultMobileLayer",
|
|
14
14
|
mixins: [visibleMixin, noscrollMixin, fixedInputMixin, mobileInputMixin],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
2
|
-
import { d as defaultLayer } from "./default/index.
|
|
3
|
-
import { c as crmLayer } from "./crm/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
|
+
import { d as defaultLayer } from "./default/index.esm.js";
|
|
3
|
+
import { c as crmLayer } from "./crm/index.esm.js";
|
|
4
4
|
var MobileLayer = {
|
|
5
5
|
name: "ActMobileLayer",
|
|
6
6
|
functional: true,
|
|
@@ -3,15 +3,15 @@ import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slic
|
|
|
3
3
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
4
4
|
import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of";
|
|
5
5
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
6
|
-
import { c as create } from "../utils/create/index.
|
|
7
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
8
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
9
|
-
import { p as popupMixin } from "../mixins/popup/index.
|
|
10
|
-
import { f as fontSize } from "../mixins/fontsize/index.
|
|
11
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
12
|
-
import { p as pickerMixin } from "../mixins/picker/index.
|
|
13
|
-
import { S as Scroll } from "../common/scroll/index.
|
|
14
|
-
import { n as normalizeComponent } from "../common/index.
|
|
6
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
7
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
8
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
9
|
+
import { p as popupMixin } from "../mixins/popup/index.esm.js";
|
|
10
|
+
import { f as fontSize } from "../mixins/fontsize/index.esm.js";
|
|
11
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
12
|
+
import { p as pickerMixin } from "../mixins/picker/index.esm.js";
|
|
13
|
+
import { S as Scroll } from "../common/scroll/index.esm.js";
|
|
14
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
15
15
|
import './style.css';var DEFAULT_KEYS = {
|
|
16
16
|
value: "value",
|
|
17
17
|
text: "text"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
2
|
-
import { n as noticeTips } from "./noticeTips/index.
|
|
3
|
-
import { S as Sticky } from "../Sticky/index.
|
|
4
|
-
import { v as visibleMixin } from "../mixins/gold-visible/index.
|
|
5
|
-
import { n as normalizeComponent } from "../common/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
|
+
import { n as noticeTips } from "./noticeTips/index.esm.js";
|
|
3
|
+
import { S as Sticky } from "../Sticky/index.esm.js";
|
|
4
|
+
import { v as visibleMixin } from "../mixins/gold-visible/index.esm.js";
|
|
5
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
6
6
|
var _sfc_main = {
|
|
7
7
|
name: "ActNoticeTips",
|
|
8
8
|
mixins: [visibleMixin],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as svgIcon } from "../../common/svgicon/index.
|
|
2
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
1
|
+
import { s as svgIcon } from "../../common/svgicon/index.esm.js";
|
|
2
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
3
3
|
import './style.css';var _sfc_main = {
|
|
4
4
|
name: "NoticeTips",
|
|
5
5
|
props: {
|
|
@@ -13,10 +13,10 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define
|
|
|
13
13
|
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
14
14
|
import _toConsumableArray from "@babel/runtime-corejs3/helpers/toConsumableArray";
|
|
15
15
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
16
|
-
import { c as create } from "../utils/create/index.
|
|
17
|
-
import { F as FileUpload } from "../FileUpload/index.
|
|
18
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
19
|
-
import { n as normalizeComponent } from "../common/index.
|
|
16
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
17
|
+
import { F as FileUpload } from "../FileUpload/index.esm.js";
|
|
18
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
19
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
20
20
|
import './style.css';function ownKeys(e, r) {
|
|
21
21
|
var t = _Object$keys(e);
|
|
22
22
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
2
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
3
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
4
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
5
|
-
import { L as Loading } from "../Loading/index.
|
|
6
|
-
import { n as normalizeComponent } from "../common/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
3
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
4
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
5
|
+
import { L as Loading } from "../Loading/index.esm.js";
|
|
6
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
7
7
|
var MASK_CLICK_EVENT = "maskclick";
|
|
8
8
|
var _sfc_main = {
|
|
9
9
|
name: "ActPageLoading",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
2
|
-
import { v as visibleMixin } from "../mixins/gold-visible/index.
|
|
3
|
-
import { n as normalizeComponent } from "../common/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
|
+
import { v as visibleMixin } from "../mixins/gold-visible/index.esm.js";
|
|
3
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
4
4
|
import './style.css';var _sfc_main = {
|
|
5
5
|
name: "ActPanel",
|
|
6
6
|
mixins: [visibleMixin],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as create } from "../utils/create/index.
|
|
1
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
2
2
|
import cert1 from "../assets/cert-0-1.2a67.png";
|
|
3
3
|
import cert2 from "../assets/cert-0-2.4af9.png";
|
|
4
4
|
import fail from "../assets/fail.a274.png";
|
|
5
5
|
import success from "../assets/success.a6e3.png";
|
|
6
|
-
import { n as normalizeComponent } from "../common/index.
|
|
6
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
7
7
|
import './style.css';var _sfc_main = {
|
|
8
8
|
name: "PhotoBox",
|
|
9
9
|
props: {
|
|
@@ -3,16 +3,16 @@ import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slic
|
|
|
3
3
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
4
4
|
import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/splice";
|
|
5
5
|
import _everyInstanceProperty from "@babel/runtime-corejs3/core-js/instance/every";
|
|
6
|
-
import { c as create } from "../utils/create/index.
|
|
7
|
-
import
|
|
8
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
9
|
-
import { p as popupMixin } from "../mixins/popup/index.
|
|
10
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
11
|
-
import { b as basicPickerMixin } from "../mixins/basic-picker/index.
|
|
12
|
-
import { p as pickerMixin } from "../mixins/picker/index.
|
|
13
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
14
|
-
import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.
|
|
15
|
-
import { n as normalizeComponent } from "../common/index.
|
|
6
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
7
|
+
import BScroll from "better-scroll";
|
|
8
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
9
|
+
import { p as popupMixin } from "../mixins/popup/index.esm.js";
|
|
10
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
11
|
+
import { b as basicPickerMixin } from "../mixins/basic-picker/index.esm.js";
|
|
12
|
+
import { p as pickerMixin } from "../mixins/picker/index.esm.js";
|
|
13
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
14
|
+
import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.esm.js";
|
|
15
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
16
16
|
import './style.css';var EVENT_SELECT = "select";
|
|
17
17
|
var EVENT_VALUE_CHANGE = "value-change";
|
|
18
18
|
var EVENT_CANCEL = "cancel";
|
|
@@ -183,7 +183,7 @@ var _sfc_main = {
|
|
|
183
183
|
_createWheel: function _createWheel(wheelWrapper, i) {
|
|
184
184
|
var _this6 = this;
|
|
185
185
|
if (!this.wheels[i]) {
|
|
186
|
-
var wheel = this.wheels[i] = new
|
|
186
|
+
var wheel = this.wheels[i] = new BScroll(wheelWrapper.children[i], {
|
|
187
187
|
wheel: {
|
|
188
188
|
selectedIndex: this._indexes[i] || 0,
|
|
189
189
|
wheelWrapperClass: "act-picker-wheel-scroll",
|
package/lib/Picker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _spliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/splice");var _everyInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/every");var utils_create=require("../utils/create/index.js");var
|
|
1
|
+
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _spliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/splice");var _everyInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/every");var utils_create=require("../utils/create/index.js");var BScroll=require("better-scroll");var common_popup=require("../common/popup/index.js");var mixins_popup=require("../mixins/popup/index.js");var mixins_noscroll=require("../mixins/noscroll/index.js");var mixins_basicPicker=require("../mixins/basic-picker/index.js");var mixins_picker=require("../mixins/picker/index.js");var mixins_visible=require("../mixins/visible/index.js");var utils_BScroll_constants=require("../utils/BScroll/constants/index.js");var common=require("../common/index.js");var EVENT_SELECT="select";var EVENT_VALUE_CHANGE="value-change";var EVENT_CANCEL="cancel";var EVENT_CHANGE="change";var _sfc_main={name:"ActPicker",mixins:[mixins_popup.popupMixin,mixins_visible.visibleMixin,mixins_basicPicker.basicPickerMixin,mixins_picker.pickerMixin,mixins_noscroll.noscrollMixin],props:{pending:{type:Boolean,default:false}},data:function data(){var _context;return{finalData:_sliceInstanceProperty(_context=this.data).call(_context)}},created:function created(){this._values=[];this._indexes=this.selectedIndex},methods:{confirm:function confirm(){if(!this._canConfirm()){return}this.hide();var changed=false;var pickerSelectedText=[];var length=this.finalData.length;var oldLength=this._values.length;if(oldLength!==length){changed=true;oldLength>length&&(this._values.length=this._indexes.length=length)}for(var i=0;i<length;i++){var index=this._getSelectIndex(this.wheels[i]);this._indexes[i]=index;var value=null;var text="";if(this.finalData[i].length){value=this.finalData[i][index][this.valueKey];text=this.finalData[i][index][this.textKey]}if(this._values[i]!==value){changed=true}this._values[i]=value;pickerSelectedText[i]=text}this.$emit(EVENT_SELECT,this._values,this._indexes,pickerSelectedText);if(changed){this.$emit(EVENT_VALUE_CHANGE,this._values,this._indexes,pickerSelectedText)}},maskClick:function maskClick(){this.maskClosable&&this.cancel()},cancel:function cancel(){this.hide();this.$emit(EVENT_CANCEL)},show:function show(){var _this=this;if(this.isVisible){return}this.isVisible=true;if(!this.wheels||this.dirty){this.$nextTick(function(){_this.wheels=_this.wheels||[];var wheelWrapper=_this.$refs.wheelWrapper;for(var i2=0;i2<_this.finalData.length;i2++){_this._createWheel(wheelWrapper,i2).enable();_this.wheels[i2].wheelTo(_this._indexes[i2])}_this.dirty&&_this._destroyExtraWheels();_this.dirty=false})}else{for(var i=0;i<this.finalData.length;i++){this.wheels[i].enable();this.wheels[i].wheelTo(this._indexes[i])}}},hide:function hide(){if(!this.isVisible){return}this.isVisible=false;for(var i=0;i<this.finalData.length;i++){this.wheels[i].disable()}},setData:function setData(data2,selectedIndex){var _this2=this;this._indexes=selectedIndex?_toConsumableArray(selectedIndex):[];this.finalData=_sliceInstanceProperty(data2).call(data2);if(this.isVisible){this.$nextTick(function(){var _context2;var wheelWrapper=_this2.$refs.wheelWrapper;_forEachInstanceProperty(_context2=_this2.finalData).call(_context2,function(item,i){_this2._createWheel(wheelWrapper,i);_this2.wheels[i].wheelTo(_this2._indexes[i])});_this2._destroyExtraWheels()})}else{this.dirty=true}},refill:function refill(datas){var _this3=this;var ret=[];if(!datas.length){return ret}_forEachInstanceProperty(datas).call(datas,function(data2,index){ret[index]=_this3.refillColumn(index,data2)});return ret},refillColumn:function refillColumn(index,data2){var _this4=this;var wheelWrapper=this.$refs.wheelWrapper;var scroll=wheelWrapper.children[index].querySelector(".act-picker-wheel-scroll");var wheel=this.wheels?this.wheels[index]:false;var dist=0;if(scroll&&wheel){var oldData=this.finalData[index];this.$set(this.finalData,index,data2);var selectedIndex=wheel.getSelectedIndex();if(oldData.length){var oldValue=oldData[selectedIndex][this.valueKey];for(var i=0;i<data2.length;i++){if(data2[i][this.valueKey]===oldValue){dist=i;break}}}this._indexes[index]=dist;this.$nextTick(function(){wheel=_this4._createWheel(wheelWrapper,index);wheel.wheelTo(dist)})}return dist},scrollTo:function scrollTo(index,dist){var wheel=this.wheels[index];this._indexes[index]=dist;wheel.wheelTo(dist)},refresh:function refresh(){var _this5=this;this.$nextTick(function(){var _context3;_forEachInstanceProperty(_context3=_this5.wheels).call(_context3,function(wheel){wheel.refresh()})})},_createWheel:function _createWheel(wheelWrapper,i){var _this6=this;if(!this.wheels[i]){var wheel=this.wheels[i]=new BScroll(wheelWrapper.children[i],{wheel:{selectedIndex:this._indexes[i]||0,wheelWrapperClass:"act-picker-wheel-scroll",wheelItemClass:"act-picker-wheel-item"},swipeTime:this.swipeTime,observeDOM:false,useTransition:utils_BScroll_constants.USE_TRANSITION});wheel.on("scrollStart",function(){wheel.inScroll=true});wheel.on("scrollEnd",function(){_this6.$emit(EVENT_CHANGE,i,_this6._getSelectIndex(wheel));wheel.inScroll=false})}else{this.wheels[i].refresh()}return this.wheels[i]},_destroyExtraWheels:function _destroyExtraWheels(){var dataLength=this.finalData.length;if(this.wheels.length>dataLength){var _context4;var extraWheels=_spliceInstanceProperty(_context4=this.wheels).call(_context4,dataLength);_forEachInstanceProperty(extraWheels).call(extraWheels,function(wheel){wheel.destroy()})}},_canConfirm:function _canConfirm(){var _context5;return!this.pending&&_everyInstanceProperty(_context5=this.wheels).call(_context5,function(wheel){if(utils_BScroll_constants.USE_TRANSITION){return!wheel.isInTransition}return!(wheel.inScroll||wheel.isInTransition)})},_getFlexOrder:function _getFlexOrder(data2){if(data2[0]){return data2[0][this.orderKey]}return 0},_getSelectIndex:function _getSelectIndex(wheel){var y=wheel.y;var selectedIndex;if(utils_BScroll_constants.USE_TRANSITION){selectedIndex=wheel.getSelectedIndex()}else{if(y>wheel.minScrollY){selectedIndex=0}else if(y<wheel.maxScrollY){selectedIndex=wheel.items.length-1}else{selectedIndex=Math.round(Math.abs(y/wheel.itemHeight))}}return selectedIndex}},beforeDestroy:function beforeDestroy(){var _context6;this.wheels&&_forEachInstanceProperty(_context6=this.wheels).call(_context6,function(wheel){wheel.destroy()});this.wheels=null},components:{ActPopup:common_popup.ActPopup}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("transition",{attrs:{"name":"act-picker-fade"}},[_c("act-popup",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"type":"picker","mask":true,"center":false,"topBorderRadius":true,"zIndex":_vm.zIndex},on:{"touchmove":function touchmove($event){$event.preventDefault()},"mask-click":_vm.maskClick}},[_c("transition",{attrs:{"name":"act-picker-move"}},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],staticClass:"act-picker-panel",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"act-picker-choose"},[_c("span",{staticClass:"act-picker-cancel",style:{color:_vm.cancelColor},on:{"click":_vm.cancel}},[_vm._v(_vm._s(_vm._cancelTxt))]),_c("span",{staticClass:"act-picker-confirm",style:{color:_vm.confirmColor},on:{"click":_vm.confirm}},[_vm._v(_vm._s(_vm._confirmTxt))]),_c("div",{staticClass:"act-picker-title-group"},[_c("h1",{staticClass:"act-picker-title",domProps:{"innerHTML":_vm._s(_vm.title)}}),_vm.subtitle?_c("h2",{staticClass:"act-picker-subtitle",domProps:{"innerHTML":_vm._s(_vm.subtitle)}}):_vm._e()])]),_c("div",{staticClass:"act-picker-content"},[_c("i",{staticClass:"border-bottom-1px"}),_c("i",{staticClass:"border-top-1px"}),_c("div",{ref:"wheelWrapper",staticClass:"act-picker-wheel-wrapper"},_vm._l(_vm.finalData,function(data2,index){return _c("div",{key:index,style:{order:_vm._getFlexOrder(data2)}},[_c("ul",{staticClass:"act-picker-wheel-scroll"},_vm._l(data2,function(item,id2){return _c("li",{key:id2,staticClass:"act-picker-wheel-item",domProps:{"innerHTML":_vm._s(item[_vm.textKey])}})}),0)])}),0)]),_c("div",{staticClass:"act-picker-footer"})])])],1)],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"aa70d6e1");var Picker=__component__.exports;Picker.install=function(Vue){Vue.component(Picker.name,Picker);Vue.prototype["$createPicker"]=utils_create.create(Picker,Vue)};exports.Picker=Picker;
|