@fewangsit/wangsvue-fats 1.0.0-alpha.41 → 1.0.0-alpha.43
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/ButtonCopy-C6DSmsOR.es.js +4 -0
- package/ButtonCopy-CeBlNyVx.system.js +1 -0
- package/ButtonSync-BLyCwwnU.system.js +1 -0
- package/ButtonSync-DtUhn-Q-.es.js +4 -0
- package/ButtonToggle-B9Fa75pf.es.js +4 -0
- package/ButtonToggle-CSxzlLR2.system.js +1 -0
- package/ButtonViewLog-B1oa4oFN.es.js +4 -0
- package/ButtonViewLog-_J6r7Oz8.system.js +1 -0
- package/Card-B19WgA6Y.es.js +4 -0
- package/Card-umUgd-nP.system.js +1 -0
- package/InputEmail-BZ5Y0wSk.system.js +1 -0
- package/InputEmail-DR_E1DsL.es.js +4 -0
- package/InputURL-DL6a94kM.system.js +1 -0
- package/InputURL-PVF5EUUY.es.js +4 -0
- package/Loading-Cq7rP88c.system.js +1 -0
- package/Loading-DUHTVct4.es.js +4 -0
- package/UserWithIcon-Ddn_GlNu.system.js +1 -0
- package/UserWithIcon-hWXf-A2U.es.js +4 -0
- package/assets/lottie/loading-page-B9ooQcfF.system.js +1 -0
- package/assets/lottie/loading-page-CQ0mKER2.es.js +15 -0
- package/assets/lottie/loading-table-B4T3FYiI.system.js +1 -0
- package/assets/lottie/loading-table-BnpbX8Ew.es.js +15 -0
- package/assets/lottie/no-data-CMWnya_k.system.js +1 -0
- package/{no-data-DLHO1L_u.js → assets/lottie/no-data-DOy8kIGF.es.js} +13 -2
- package/async-components/index-C8nb7p3T.es.js +70 -0
- package/async-components/index-DvjqHrYE.system.js +1 -0
- package/components/animation/Animation-CCEnvZ_Z.es.js +48 -0
- package/components/animation/Animation-CJb4YIwm.system.js +1 -0
- package/components/approverinfo/ApproverInfo-Bruotw1h.es.js +127 -0
- package/components/approverinfo/ApproverInfo-CoWywuLZ.system.js +1 -0
- package/components/assetinfo/AssetInfo-B8KAsqvC.system.js +1 -0
- package/components/assetinfo/AssetInfo-DNsWx4Xv.es.js +201 -0
- package/components/badge/Badge-DXAyz4Z8.es.js +99 -0
- package/components/badge/Badge-wSExdsOP.system.js +1 -0
- package/components/badgegroup/BadgeGroup-CAYL_5-g.system.js +1 -0
- package/components/badgegroup/BadgeGroup-Dl2cL80L.es.js +68 -0
- package/components/basetree/BaseTree-CmBp0uwr.system.js +1 -0
- package/components/basetree/BaseTree-RsvvntBp.es.js +167 -0
- package/components/basetree/TreeNode-CUL5_2Rj.es.js +499 -0
- package/components/basetree/TreeNode-D-YgXird.system.js +1 -0
- package/components/breadcrumb/Breadcrumb-BmuuCYJx.system.js +1 -0
- package/components/breadcrumb/Breadcrumb-oqdG9WGT.es.js +46 -0
- package/components/button/Button-CgkhMnxo.es.js +124 -0
- package/components/button/Button-D892iaxz.system.js +1 -0
- package/components/buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js +1 -0
- package/components/buttonbulkaction/ButtonBulkAction-Tdf3aVtp.es.js +189 -0
- package/components/buttoncopy/ButtonCopy-CUFHlIO-.es.js +31 -0
- package/components/buttoncopy/ButtonCopy-CZPTLNHh.system.js +1 -0
- package/components/buttoncopy/ButtonCopy.vue.d.ts +6 -4
- package/components/buttondownload/ButtonDownload-BWGTiJnP.es.js +61 -0
- package/components/buttondownload/ButtonDownload-CUR6u0AT.system.js +1 -0
- package/components/buttonfilter/ButtonFilter-B1F4poKd.system.js +1 -0
- package/components/buttonfilter/ButtonFilter-B49leY-q.es.js +28 -0
- package/components/buttonradio/ButtonRadio-D6xKhPLg.es.js +83 -0
- package/components/buttonradio/ButtonRadio-NBcy0Epa.system.js +1 -0
- package/components/buttonscan/ButtonScan-BZzpqBe8.system.js +1 -0
- package/components/buttonscan/ButtonScan-mVHAdACL.es.js +387 -0
- package/components/buttonscan/workers/scanner.worker-8_0GG6W3.system.js +1 -0
- package/components/buttonscan/workers/scanner.worker-D3a72Zyk.es.js +25 -0
- package/components/buttonsearch/ButtonSearch-3hnarf3D.system.js +1 -0
- package/components/buttonsearch/ButtonSearch-BjcXUDQZ.es.js +70 -0
- package/components/buttonselecttree/ButtonSelectTree-D0lT3Exu.es.js +218 -0
- package/components/buttonselecttree/ButtonSelectTree-DKmPV8FD.system.js +1 -0
- package/components/buttonselectuser/ButtonSelectUser-B7GbLfS-.system.js +1 -0
- package/components/buttonselectuser/ButtonSelectUser-OAZRY9OR.es.js +101 -0
- package/components/buttonsync/ButtonSync-Brk16H8C.es.js +29 -0
- package/components/buttonsync/ButtonSync-D5lXmtHs.system.js +1 -0
- package/components/buttontoggle/ButtonToggle-1R5y5DCx.es.js +11 -0
- package/components/buttontoggle/ButtonToggle-DLsiXxjK.system.js +1 -0
- package/components/buttonviewlog/ButtonViewLog-CGsSkrzf.es.js +21 -0
- package/components/buttonviewlog/ButtonViewLog-leLO6F_N.system.js +1 -0
- package/components/calendar/BaseCalendar-5EI1UTbl.es.js +867 -0
- package/components/calendar/BaseCalendar-C02-gmOQ.system.js +1 -0
- package/components/calendar/Calendar-B2z-lfi9.es.js +112 -0
- package/components/calendar/Calendar-CWw4R5mN.system.js +1 -0
- package/components/card/Card-BccG14LV.es.js +47 -0
- package/components/card/Card-BjI-Xi0S.system.js +1 -0
- package/components/checkbox/Checkbox-DBU7Ji2C.es.js +135 -0
- package/components/checkbox/Checkbox-FZg_wq3C.system.js +1 -0
- package/components/codesnippet/CodeSnippet--pMQi4aO.es.js +127 -0
- package/components/codesnippet/CodeSnippet-BVwAQPSv.system.js +2 -0
- package/components/customcolumn/ColumnList-fdR5JfHj.es.js +159 -0
- package/components/customcolumn/ColumnList-yaNVEQFA.system.js +1 -0
- package/components/customcolumn/CustomColumn-CfvCLH4v.es.js +139 -0
- package/components/customcolumn/CustomColumn-D3u59-Rd.system.js +1 -0
- package/components/customcolumn/helpers/setVisibilityColumn.helper-B1vEZDtD.system.js +1 -0
- package/components/customcolumn/helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js +16 -0
- package/components/datatable/DataTable-BH7Fk88O.es.js +992 -0
- package/components/datatable/DataTable-Cko2S6sM.system.js +1 -0
- package/components/datatable/MultiRow-B2vMSb7W.es.js +52 -0
- package/components/datatable/MultiRow-Sef5icam.system.js +1 -0
- package/components/datatable/store/dataTable.store-B4p-hj3w.es.js +37 -0
- package/components/datatable/store/dataTable.store-C9376aEJ.system.js +1 -0
- package/components/dialog/Dialog-BCcbXSya.es.js +121 -0
- package/components/dialog/Dialog-Dv7Jzg4E.system.js +1 -0
- package/components/dialogconfirm/DialogConfirm-BU-LRZCo.system.js +1 -0
- package/components/dialogconfirm/DialogConfirm-ByIWXisz.es.js +139 -0
- package/components/dialogform/DialogForm-DGl_NOEr.system.js +1 -0
- package/components/dialogform/DialogForm-tAbix3iC.es.js +222 -0
- package/components/dialogselecttree/DialogSelectTree-BrVtt3iG.es.js +268 -0
- package/components/dialogselecttree/DialogSelectTree-CT7dKC5N.system.js +1 -0
- package/components/dialogselectuser/DialogSelectUser-Bu7z7lUq.es.js +121 -0
- package/components/dialogselectuser/DialogSelectUser-DXL_NMJj.system.js +1 -0
- package/components/dialogselectuser/DialogSelectUserFilter-BNbIynoa.system.js +1 -0
- package/components/dialogselectuser/DialogSelectUserFilter-BgBrQCz1.es.js +44 -0
- package/components/dialogselectuser/options/columns-BKDHtwAp.es.js +71 -0
- package/components/dialogselectuser/options/columns-DLmJdDTR.system.js +1 -0
- package/components/dropdown/Dropdown-BNzT2uLU.system.js +1 -0
- package/components/dropdown/Dropdown-Dk4urj-W.es.js +258 -0
- package/components/editor/CodeSnippetAdapter-C0f7wytw.es.js +26 -0
- package/components/editor/CodeSnippetAdapter-f-VHwbwS.system.js +1 -0
- package/components/editor/Editor-RB5MqBs1.es.js +887 -0
- package/components/editor/Editor-upU4Z9FH.system.js +1 -0
- package/components/editor/EditorButton-CC6U1a_u.system.js +1 -0
- package/components/editor/EditorButton-Cfew79JD.es.js +28 -0
- package/components/editor/MentionList-BjWKefLh.system.js +1 -0
- package/components/editor/MentionList-CdX0_-TK.es.js +58 -0
- package/components/editor/MentionSection-5I-FSwew.es.js +52 -0
- package/components/editor/MentionSection-CiuaeX4J.system.js +3 -0
- package/components/editor/codeSnippetExtension-C-ADHg2S.es.js +40 -0
- package/components/editor/codeSnippetExtension-C3uj0fCk.system.js +1 -0
- package/components/editor/mentionSectionExtension-DJ6wkX1L.system.js +1 -0
- package/components/editor/mentionSectionExtension-rbWufuMT.es.js +46 -0
- package/components/editor/suggestion-BcYK0KeI.system.js +1 -0
- package/components/editor/suggestion-mkkpQFP-.es.js +41 -0
- package/components/fieldwrapper/FieldWrapper-Dc-stQRH.system.js +1 -0
- package/components/fieldwrapper/FieldWrapper-DmOogUM5.es.js +35 -0
- package/components/fileupload/FileUpload-0EHKlInu.es.js +175 -0
- package/components/fileupload/FileUpload-dXrsIAeC.system.js +1 -0
- package/components/filtercontainer/FilterContainer-Cd8TpncM.es.js +234 -0
- package/components/filtercontainer/FilterContainer-kkw3n3tu.system.js +1 -0
- package/components/filtercontainer/helpers/applyFilter.helper-Ci22FrPF.system.js +1 -0
- package/components/filtercontainer/helpers/applyFilter.helper-DpVdjYBr.es.js +56 -0
- package/components/form/Form-By85t_oI.system.js +1 -0
- package/components/form/Form-DhWBpdkq.es.js +181 -0
- package/components/hardwaresync/HardwareSync-BckCfIeF.es.js +238 -0
- package/components/hardwaresync/HardwareSync-DcgVc0cL.system.js +1 -0
- package/components/hardwaresync/store/device.store-DEKXH36R.system.js +1 -0
- package/components/hardwaresync/store/device.store-DpVE6Nhl.es.js +20 -0
- package/components/icon/Icon-C4kXVcEX.es.js +82 -0
- package/components/icon/Icon-D1a666FC.system.js +1 -0
- package/components/image/Image-Bf5EaBWP.es.js +170 -0
- package/components/image/Image-Cxi0E9gK.system.js +1 -0
- package/components/imagecompressor/BackgroundImageCropper-DhrTpgNX.system.js +1 -0
- package/components/imagecompressor/BackgroundImageCropper-hiHqCcIy.es.js +52 -0
- package/components/imagecompressor/ImageCompressor-C_vnTwmo.system.js +1 -0
- package/components/imagecompressor/ImageCompressor-DPo-1Yo8.es.js +509 -0
- package/components/imagecompressor/ImageInputInfo-4Ac8cBDM.es.js +46 -0
- package/components/imagecompressor/ImageInputInfo-U3hLlbwo.system.js +1 -0
- package/components/index-BMti6lK3.es.js +64 -0
- package/components/index-DBzSxIov.system.js +1 -0
- package/components/index.d.ts +162 -60
- package/components/inlinemessage/InlineMessage-BPJD82sq.es.js +94 -0
- package/components/inlinemessage/InlineMessage-DTyTe5_W.system.js +1 -0
- package/components/inputbadge/InputBadge-BUm6Kn-F.system.js +1 -0
- package/components/inputbadge/InputBadge-BngtjqHQ.es.js +186 -0
- package/components/inputcurrency/InputCurrency-CE4WrJ9k.es.js +1211 -0
- package/components/inputcurrency/InputCurrency-DaJuUujH.system.js +1 -0
- package/components/inputemail/InputEmail-8E04RVeq.system.js +1 -0
- package/components/inputemail/InputEmail-BFeY1l9Z.es.js +49 -0
- package/components/inputgroup/InputGroup-CTHxHL8n.system.js +1 -0
- package/components/inputgroup/InputGroup-CUxNAtDZ.es.js +56 -0
- package/components/inputnumber/InputNumber-BJ8Qm27k.system.js +1 -0
- package/components/inputnumber/InputNumber-CQd01PQ5.es.js +232 -0
- package/components/inputpassword/InputPassword-D3jaUFfR.system.js +1 -0
- package/components/inputpassword/InputPassword-DGWsHAB4.es.js +121 -0
- package/components/inputphonenumber/InputPhoneNumber-3To4Ktp9.system.js +1 -0
- package/components/inputphonenumber/InputPhoneNumber-DVAOWAj6.es.js +162 -0
- package/components/inputphonenumber/helpers/getUserLocation.helper-B0lZav7S.es.js +15 -0
- package/components/inputphonenumber/helpers/getUserLocation.helper-CSC5I9tB.system.js +1 -0
- package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-CUP9NUYE.es.js +423 -0
- package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-DgzOgH_M.system.js +1 -0
- package/components/inputrangenumber/InputRangeNumber-Cfea6oM_.es.js +134 -0
- package/components/inputrangenumber/InputRangeNumber-iLScQOa6.system.js +1 -0
- package/components/inputsearch/InputSearch-CHJP-N57.es.js +53 -0
- package/components/inputsearch/InputSearch-DkB4O0Dc.system.js +1 -0
- package/components/inputtext/InputText-BEDxrRqK.es.js +242 -0
- package/components/inputtext/InputText-BOgH8xpA.system.js +1 -0
- package/components/inputurl/InputURL-CNrOkrAC.es.js +61 -0
- package/components/inputurl/InputURL-D4QWV9G7.system.js +1 -0
- package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +27 -0
- package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +1 -0
- package/components/litedropdown/LiteDropdown-BbDUnfnd.es.js +102 -0
- package/components/litedropdown/LiteDropdown-DTXwb5JR.system.js +1 -0
- package/components/loading/Loading-DIfTUHr7.es.js +24 -0
- package/components/loading/Loading-Vb4HctBJ.system.js +1 -0
- package/components/menu/Menu-BtzGGhbp.es.js +73 -0
- package/components/menu/Menu-CPm5vua_.system.js +1 -0
- package/components/menuitem/MenuItem-8yxkFTug.system.js +1 -0
- package/components/menuitem/MenuItem-uLVAqgBS.es.js +65 -0
- package/components/multiselect/MultiSelect-BoPpQ31j.es.js +189 -0
- package/components/multiselect/MultiSelect-D5NEDtGe.system.js +1 -0
- package/components/overlaypanel/OverlayPanel-BKCivqTs.system.js +1 -0
- package/components/overlaypanel/OverlayPanel-bQbjuUgG.es.js +49 -0
- package/components/tabmenu/TabMenu-BBk8EW-C.system.js +1 -0
- package/components/tabmenu/TabMenu-ByKBaVsd.es.js +108 -0
- package/components/tagtype/TagType-CAXomDiD.es.js +49 -0
- package/components/tagtype/TagType-i4RK2JbL.system.js +1 -0
- package/components/textarea/Textarea-CnAlgPq5.es.js +108 -0
- package/components/textarea/Textarea-qirKOw5z.system.js +1 -0
- package/components/timeline/Timeline-CF2qJo4E.es.js +120 -0
- package/components/timeline/Timeline-DKfKWZFI.system.js +1 -0
- package/components/timeline/TimelineContentByType-_cKGDWAW.es.js +108 -0
- package/components/timeline/TimelineContentByType-uxM3NSqd.system.js +1 -0
- package/components/toast/Toast-C3D50rGo.system.js +1 -0
- package/components/toast/Toast-DRUJCz4I.es.js +74 -0
- package/components/toggleswitch/ToggleSwitch-De-_8nQl.es.js +90 -0
- package/components/toggleswitch/ToggleSwitch-DuyahX09.system.js +1 -0
- package/components/transactionroles/TransactionRoles-WrcXMwBu.es.js +223 -0
- package/components/transactionroles/TransactionRoles-iVQyWseb.system.js +1 -0
- package/components/tree/Tree-93NvdElH.es.js +267 -0
- package/components/tree/Tree-BTTVTAEH.system.js +1 -0
- package/components/tree/helpers/filterNodeKeys.helper-CmamKUTa.system.js +1 -0
- package/components/tree/helpers/filterNodeKeys.helper-z7SxLuvZ.es.js +10 -0
- package/components/treesearchinput/TreeSearchInput-BG2TfunA.system.js +1 -0
- package/components/treesearchinput/TreeSearchInput-CNfoc3f6.es.js +56 -0
- package/components/username/UserName-A1N6Q7bS.system.js +1 -0
- package/components/username/UserName-D5C0qdbu.es.js +132 -0
- package/components/userwithicon/UserWithIcon-CHHDfQG0.es.js +18 -0
- package/components/userwithicon/UserWithIcon-DnY6loZc.system.js +1 -0
- package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +19 -0
- package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +1 -0
- package/config/config.esm-BZepf1kR.system.js +1 -0
- package/config/config.esm-Drl0fECZ.es.js +212 -0
- package/config/defaultProps-B3syHUKt.system.js +1 -0
- package/config/defaultProps-BC_lvAG9.es.js +136 -0
- package/config/locale-DK6d2rJ3.system.js +1 -0
- package/config/locale-pQnRpNZ6.es.js +85 -0
- package/event-bus/index-CykcrsqY.system.js +1 -0
- package/event-bus/index-PQwO5T6B.es.js +6 -0
- package/event-bus/mitt-BjeF6e5j.es.js +53 -0
- package/event-bus/mitt-X_X8W9w9.system.js +1 -0
- package/package.json +1 -1
- package/plugins/WangsVue-Dl5OiLXF.es.js +332 -0
- package/plugins/WangsVue-Dugc3GRS.system.js +1 -0
- package/plugins/i18n-BVujDShu.system.js +1 -0
- package/plugins/i18n-CIoi8go0.es.js +89 -0
- package/stats.html +1 -1
- package/style.css +1 -1
- package/utils/addAttachment.util-CPzZEHNG.system.js +1 -0
- package/utils/addAttachment.util-D9sYCBjS.es.js +10 -0
- package/utils/computeAutoPlacement-Ac2MkS5B.es.js +33 -0
- package/utils/computeAutoPlacement-DCaci6j-.system.js +1 -0
- package/utils/computeOffsets-Cx9i84Mn.system.js +1 -0
- package/utils/computeOffsets-DXWJPq7f.es.js +56 -0
- package/utils/date.util-DbjB32co.es.js +198 -0
- package/utils/date.util-rX9kq_yC.system.js +1 -0
- package/utils/detectOverflow-BrAC_sJF.system.js +1 -0
- package/utils/detectOverflow-CETbaen7.es.js +88 -0
- package/utils/exportToExcel.util-Bf-PpzHW.system.js +1 -0
- package/utils/exportToExcel.util-jz7aU08m.es.js +32 -0
- package/utils/genPlaceholder.util-0UuDQpbx.es.js +37 -0
- package/utils/genPlaceholder.util-CxMG7LbT.system.js +1 -0
- package/utils/mergePropsWithDefaults.util-BKcJzgvs.es.js +9 -0
- package/utils/mergePropsWithDefaults.util-CXowvEKY.system.js +1 -0
- package/utils/object.util-6veM2gu5.es.js +51 -0
- package/utils/object.util-uApor4uP.system.js +1 -0
- package/utils/orderModifiers-qXBm1wkD.system.js +1 -0
- package/utils/orderModifiers-rOag5Cyh.es.js +31 -0
- package/utils/role.util-BdUNoOqf.es.js +67 -0
- package/utils/role.util-Co8OMWnc.system.js +1 -0
- package/utils/textFormatter.util-BjenkyWf.system.js +1 -0
- package/utils/textFormatter.util-CYul3RpH.es.js +21 -0
- package/utils/toast.util-C7p3h9XQ.es.js +52 -0
- package/utils/toast.util-DPtauJUV.system.js +1 -0
- package/utils/utils.esm-iwnsFuDg.system.js +23 -0
- package/utils/utils.esm-s_-kLKXf.es.js +1080 -0
- package/utils/xlsx.util-FKEpiU2t.system.js +1 -0
- package/utils/xlsx.util-LU1upHR3.es.js +8 -0
- package/vendor/@popperjs/core-DFLwc7xU.system.js +1 -0
- package/vendor/@popperjs/core-DJHUrK4e.es.js +748 -0
- package/vendor/@tiptap/core-D4rHEGhs.system.js +80 -0
- package/vendor/@tiptap/core-DSbPv8xh.es.js +2868 -0
- package/vendor/@tiptap/extension-bold-CvAjR8FR.es.js +71 -0
- package/vendor/@tiptap/extension-bold-DI_Zfdzb.system.js +1 -0
- package/vendor/@tiptap/extension-bubble-menu-0_0wc2P7.system.js +1 -0
- package/vendor/@tiptap/extension-bubble-menu-DY29ulfu.es.js +128 -0
- package/vendor/@tiptap/extension-bullet-list-BrkIcd-z.es.js +53 -0
- package/vendor/@tiptap/extension-bullet-list-CgIgW9RG.system.js +1 -0
- package/vendor/@tiptap/extension-code-BtAtPCQQ.es.js +51 -0
- package/vendor/@tiptap/extension-code-SOANT0O3.system.js +1 -0
- package/vendor/@tiptap/extension-floating-menu-BTwcx1u8.es.js +99 -0
- package/vendor/@tiptap/extension-floating-menu-Dtu9tcTW.system.js +1 -0
- package/vendor/@tiptap/extension-heading-B6PMnqvS.es.js +54 -0
- package/vendor/@tiptap/extension-heading-BpK6SnFO.system.js +1 -0
- package/vendor/@tiptap/extension-history-CTFK6g3n.system.js +1 -0
- package/vendor/@tiptap/extension-history-DdPDTH0G.es.js +35 -0
- package/vendor/@tiptap/extension-image-BNa6azmK.system.js +1 -0
- package/vendor/@tiptap/extension-image-DCo2JDZp.es.js +64 -0
- package/vendor/@tiptap/extension-italic-D09oL4ps.es.js +70 -0
- package/vendor/@tiptap/extension-italic-w93Lmtg_.system.js +1 -0
- package/vendor/@tiptap/extension-link-CV6Fodq9.es.js +262 -0
- package/vendor/@tiptap/extension-link-FrdAKaJ2.system.js +1 -0
- package/vendor/@tiptap/extension-list-item-BRio_hHs.system.js +1 -0
- package/vendor/@tiptap/extension-list-item-D8wSpPxS.es.js +33 -0
- package/vendor/@tiptap/extension-mention-cFXQdAs7.es.js +130 -0
- package/vendor/@tiptap/extension-mention-y62_tYRn.system.js +1 -0
- package/vendor/@tiptap/extension-ordered-list-BZU-Ty3o.es.js +71 -0
- package/vendor/@tiptap/extension-ordered-list-CH9LyYR1.system.js +1 -0
- package/vendor/@tiptap/extension-placeholder-CsBxoitZ.es.js +52 -0
- package/vendor/@tiptap/extension-placeholder-Dqw7HNAJ.system.js +1 -0
- package/vendor/@tiptap/extension-underline-DklFOEoR.es.js +40 -0
- package/vendor/@tiptap/extension-underline-SGsaBlAL.system.js +1 -0
- package/vendor/@tiptap/suggestion-B3Grok9m.system.js +1 -0
- package/vendor/@tiptap/suggestion-Dg-vhPtN.es.js +131 -0
- package/vendor/@tiptap/vue-3-BOfcUn5G.es.js +436 -0
- package/vendor/@tiptap/vue-3-ZMNXXvBd.system.js +1 -0
- package/vendor/highlight.js-ClnJXT0q.system.js +2 -0
- package/vendor/highlight.js-Czlvg6fB.es.js +2493 -0
- package/vendor/linkifyjs-BxsOjwQz.es.js +705 -0
- package/vendor/linkifyjs-CMLfIa6I.system.js +5 -0
- package/vendor/lodash-B6nNLFd3.es.js +127 -0
- package/vendor/lodash-BuO1dYnQ.system.js +1 -0
- package/vendor/lodash-es-C3G1Cc1m.system.js +1 -0
- package/vendor/lodash-es-CJerBxJQ.es.js +766 -0
- package/vendor/orderedmap-B3SOk52B.es.js +103 -0
- package/vendor/orderedmap-Dwr31MF0.system.js +1 -0
- package/vendor/primevue-C5Z_k4WB.system.js +171 -0
- package/vendor/primevue-DkBtKf1Y.es.js +12649 -0
- package/vendor/prosemirror-commands-CUjo-x4s.es.js +383 -0
- package/vendor/prosemirror-commands-Dn6KNBP0.system.js +2 -0
- package/vendor/prosemirror-history-BPOe4I2H.es.js +248 -0
- package/vendor/prosemirror-history-BTrzvpc-.system.js +1 -0
- package/vendor/prosemirror-keymap-BvIUhswp.es.js +60 -0
- package/vendor/prosemirror-keymap-WRY9zVpK.system.js +1 -0
- package/vendor/prosemirror-model-D2n-Dx_L.es.js +2736 -0
- package/vendor/prosemirror-model-DTWK5xnv.system.js +4 -0
- package/vendor/prosemirror-schema-list-BvrICwYb.es.js +87 -0
- package/vendor/prosemirror-schema-list-Dv9KV10j.system.js +1 -0
- package/vendor/prosemirror-state-BW6XGB3U.es.js +820 -0
- package/vendor/prosemirror-state-COJ-aZZ4.system.js +1 -0
- package/vendor/prosemirror-transform-BXNgAhmF.system.js +2 -0
- package/vendor/prosemirror-transform-DvAmofec.es.js +1507 -0
- package/vendor/prosemirror-view-C9ZQp8VZ.es.js +3742 -0
- package/vendor/prosemirror-view-DOxSTbB-.system.js +5 -0
- package/vendor/rope-sequence-4t46C6az.system.js +1 -0
- package/vendor/rope-sequence-sEGCUMi8.es.js +100 -0
- package/vendor/simplebar-core-CtWK1-xd.system.js +1 -0
- package/vendor/simplebar-core-ofTx4QqK.es.js +333 -0
- package/vendor/simplebar-vue-BHVrvuf1.system.js +1 -0
- package/vendor/simplebar-vue-dpCx-K7E.es.js +176 -0
- package/vendor/tippy.js-6wuFov1j.system.js +1 -0
- package/vendor/tippy.js-i1ic-msv.es.js +721 -0
- package/vendor/uuid-93tp0umt.es.js +9 -0
- package/vendor/uuid-Cymn6orr.system.js +1 -0
- package/vendor/vee-validate-Cc_B-qII.system.js +5 -0
- package/vendor/vee-validate-RE5RuswC.es.js +1309 -0
- package/vendor/vue-advanced-cropper-CshlvNaD.es.js +1380 -0
- package/vendor/vue-advanced-cropper-NG93jHnU.system.js +20 -0
- package/vendor/w3c-keyname-BSD-PgAi.system.js +1 -0
- package/vendor/w3c-keyname-CLxH8j-f.es.js +92 -0
- package/wangsvue-fats.js +156 -0
- package/wangsvue-fats.system.js +1 -313
- package/loading-page-BrQattYE.js +0 -1
- package/loading-page-CoC9UhfC.js +0 -4
- package/loading-page-DbLuqCHa.js +0 -1
- package/loading-page-f8D03l3G.js +0 -4
- package/loading-plane-CgfbWppy.js +0 -1
- package/loading-plane-CoXtqoc9.js +0 -4
- package/loading-table-Bdr9ZhtP.js +0 -1
- package/loading-table-ByUoWqUo.js +0 -4
- package/loading-table-BygEMzFM.js +0 -4
- package/loading-table-BzrSQlA0.js +0 -1
- package/loading-table-D9bw9OcI.js +0 -4
- package/loading-table-chOgXi94.js +0 -1
- package/no-data-CTKux8RI.js +0 -4
- package/no-data-Cgze_Rvp.js +0 -1
- package/no-data-Dep79CBh.js +0 -1
- package/no-data-g0dJCy2p.js +0 -4
- package/no-data-y1X5WtcQ.js +0 -1
- package/wangsvue-fats.es.js +0 -51894
- /package/{loading-page-CgfbWppy.js → assets/lottie/loading-plane-CgfbWppy.system.js} +0 -0
- /package/{loading-page-CoXtqoc9.js → assets/lottie/loading-plane-CoXtqoc9.es.js} +0 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { t as Y, d as A } from "./lodash-B6nNLFd3.es.js";
|
|
2
|
+
var S = function() {
|
|
3
|
+
return S = Object.assign || function(t) {
|
|
4
|
+
for (var i, e = 1, r = arguments.length; e < r; e++) {
|
|
5
|
+
i = arguments[e];
|
|
6
|
+
for (var l in i) Object.prototype.hasOwnProperty.call(i, l) && (t[l] = i[l]);
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
}, S.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
function _(s) {
|
|
12
|
+
return !s || !s.ownerDocument || !s.ownerDocument.defaultView ? window : s.ownerDocument.defaultView;
|
|
13
|
+
}
|
|
14
|
+
function R(s) {
|
|
15
|
+
return !s || !s.ownerDocument ? document : s.ownerDocument;
|
|
16
|
+
}
|
|
17
|
+
var D = function(s) {
|
|
18
|
+
var t = {}, i = Array.prototype.reduce.call(s, function(e, r) {
|
|
19
|
+
var l = r.name.match(/data-simplebar-(.+)/);
|
|
20
|
+
if (l) {
|
|
21
|
+
var o = l[1].replace(/\W+(.)/g, function(n, c) {
|
|
22
|
+
return c.toUpperCase();
|
|
23
|
+
});
|
|
24
|
+
switch (r.value) {
|
|
25
|
+
case "true":
|
|
26
|
+
e[o] = !0;
|
|
27
|
+
break;
|
|
28
|
+
case "false":
|
|
29
|
+
e[o] = !1;
|
|
30
|
+
break;
|
|
31
|
+
case void 0:
|
|
32
|
+
e[o] = !0;
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
e[o] = r.value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return e;
|
|
39
|
+
}, t);
|
|
40
|
+
return i;
|
|
41
|
+
};
|
|
42
|
+
function T(s, t) {
|
|
43
|
+
var i;
|
|
44
|
+
s && (i = s.classList).add.apply(i, t.split(" "));
|
|
45
|
+
}
|
|
46
|
+
function V(s, t) {
|
|
47
|
+
s && t.split(" ").forEach(function(i) {
|
|
48
|
+
s.classList.remove(i);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function H(s) {
|
|
52
|
+
return ".".concat(s.split(" ").join("."));
|
|
53
|
+
}
|
|
54
|
+
var M = !!(typeof window < "u" && window.document && window.document.createElement), q = /* @__PURE__ */ Object.freeze({
|
|
55
|
+
__proto__: null,
|
|
56
|
+
addClasses: T,
|
|
57
|
+
canUseDOM: M,
|
|
58
|
+
classNamesToQuery: H,
|
|
59
|
+
getElementDocument: R,
|
|
60
|
+
getElementWindow: _,
|
|
61
|
+
getOptions: D,
|
|
62
|
+
removeClasses: V
|
|
63
|
+
}), E = null, C = null;
|
|
64
|
+
M && window.addEventListener("resize", function() {
|
|
65
|
+
C !== window.devicePixelRatio && (C = window.devicePixelRatio, E = null);
|
|
66
|
+
});
|
|
67
|
+
function L() {
|
|
68
|
+
if (E === null) {
|
|
69
|
+
if (typeof document > "u")
|
|
70
|
+
return E = 0, E;
|
|
71
|
+
var s = document.body, t = document.createElement("div");
|
|
72
|
+
t.classList.add("simplebar-hide-scrollbar"), s.appendChild(t);
|
|
73
|
+
var i = t.getBoundingClientRect().right;
|
|
74
|
+
s.removeChild(t), E = i;
|
|
75
|
+
}
|
|
76
|
+
return E;
|
|
77
|
+
}
|
|
78
|
+
var p = _, z = R, F = D, g = T, m = V, u = H, j = (
|
|
79
|
+
/** @class */
|
|
80
|
+
function() {
|
|
81
|
+
function s(t, i) {
|
|
82
|
+
i === void 0 && (i = {});
|
|
83
|
+
var e = this;
|
|
84
|
+
if (this.removePreventClickId = null, this.minScrollbarWidth = 20, this.stopScrollDelay = 175, this.isScrolling = !1, this.isMouseEntering = !1, this.isDragging = !1, this.scrollXTicking = !1, this.scrollYTicking = !1, this.wrapperEl = null, this.contentWrapperEl = null, this.contentEl = null, this.offsetEl = null, this.maskEl = null, this.placeholderEl = null, this.heightAutoObserverWrapperEl = null, this.heightAutoObserverEl = null, this.rtlHelpers = null, this.scrollbarWidth = 0, this.resizeObserver = null, this.mutationObserver = null, this.elStyles = null, this.isRtl = null, this.mouseX = 0, this.mouseY = 0, this.onMouseMove = function() {
|
|
85
|
+
}, this.onWindowResize = function() {
|
|
86
|
+
}, this.onStopScrolling = function() {
|
|
87
|
+
}, this.onMouseEntered = function() {
|
|
88
|
+
}, this.onScroll = function() {
|
|
89
|
+
var r = p(e.el);
|
|
90
|
+
e.scrollXTicking || (r.requestAnimationFrame(e.scrollX), e.scrollXTicking = !0), e.scrollYTicking || (r.requestAnimationFrame(e.scrollY), e.scrollYTicking = !0), e.isScrolling || (e.isScrolling = !0, g(e.el, e.classNames.scrolling)), e.showScrollbar("x"), e.showScrollbar("y"), e.onStopScrolling();
|
|
91
|
+
}, this.scrollX = function() {
|
|
92
|
+
e.axis.x.isOverflowing && e.positionScrollbar("x"), e.scrollXTicking = !1;
|
|
93
|
+
}, this.scrollY = function() {
|
|
94
|
+
e.axis.y.isOverflowing && e.positionScrollbar("y"), e.scrollYTicking = !1;
|
|
95
|
+
}, this._onStopScrolling = function() {
|
|
96
|
+
m(e.el, e.classNames.scrolling), e.options.autoHide && (e.hideScrollbar("x"), e.hideScrollbar("y")), e.isScrolling = !1;
|
|
97
|
+
}, this.onMouseEnter = function() {
|
|
98
|
+
e.isMouseEntering || (g(e.el, e.classNames.mouseEntered), e.showScrollbar("x"), e.showScrollbar("y"), e.isMouseEntering = !0), e.onMouseEntered();
|
|
99
|
+
}, this._onMouseEntered = function() {
|
|
100
|
+
m(e.el, e.classNames.mouseEntered), e.options.autoHide && (e.hideScrollbar("x"), e.hideScrollbar("y")), e.isMouseEntering = !1;
|
|
101
|
+
}, this._onMouseMove = function(r) {
|
|
102
|
+
e.mouseX = r.clientX, e.mouseY = r.clientY, (e.axis.x.isOverflowing || e.axis.x.forceVisible) && e.onMouseMoveForAxis("x"), (e.axis.y.isOverflowing || e.axis.y.forceVisible) && e.onMouseMoveForAxis("y");
|
|
103
|
+
}, this.onMouseLeave = function() {
|
|
104
|
+
e.onMouseMove.cancel(), (e.axis.x.isOverflowing || e.axis.x.forceVisible) && e.onMouseLeaveForAxis("x"), (e.axis.y.isOverflowing || e.axis.y.forceVisible) && e.onMouseLeaveForAxis("y"), e.mouseX = -1, e.mouseY = -1;
|
|
105
|
+
}, this._onWindowResize = function() {
|
|
106
|
+
e.scrollbarWidth = e.getScrollbarWidth(), e.hideNativeScrollbar();
|
|
107
|
+
}, this.onPointerEvent = function(r) {
|
|
108
|
+
if (!(!e.axis.x.track.el || !e.axis.y.track.el || !e.axis.x.scrollbar.el || !e.axis.y.scrollbar.el)) {
|
|
109
|
+
var l, o;
|
|
110
|
+
e.axis.x.track.rect = e.axis.x.track.el.getBoundingClientRect(), e.axis.y.track.rect = e.axis.y.track.el.getBoundingClientRect(), (e.axis.x.isOverflowing || e.axis.x.forceVisible) && (l = e.isWithinBounds(e.axis.x.track.rect)), (e.axis.y.isOverflowing || e.axis.y.forceVisible) && (o = e.isWithinBounds(e.axis.y.track.rect)), (l || o) && (r.stopPropagation(), r.type === "pointerdown" && r.pointerType !== "touch" && (l && (e.axis.x.scrollbar.rect = e.axis.x.scrollbar.el.getBoundingClientRect(), e.isWithinBounds(e.axis.x.scrollbar.rect) ? e.onDragStart(r, "x") : e.onTrackClick(r, "x")), o && (e.axis.y.scrollbar.rect = e.axis.y.scrollbar.el.getBoundingClientRect(), e.isWithinBounds(e.axis.y.scrollbar.rect) ? e.onDragStart(r, "y") : e.onTrackClick(r, "y"))));
|
|
111
|
+
}
|
|
112
|
+
}, this.drag = function(r) {
|
|
113
|
+
var l, o, n, c, a, d, h, v, f, w, b;
|
|
114
|
+
if (!(!e.draggedAxis || !e.contentWrapperEl)) {
|
|
115
|
+
var y, x = e.axis[e.draggedAxis].track, O = (o = (l = x.rect) === null || l === void 0 ? void 0 : l[e.axis[e.draggedAxis].sizeAttr]) !== null && o !== void 0 ? o : 0, N = e.axis[e.draggedAxis].scrollbar, B = (c = (n = e.contentWrapperEl) === null || n === void 0 ? void 0 : n[e.axis[e.draggedAxis].scrollSizeAttr]) !== null && c !== void 0 ? c : 0, P = parseInt((d = (a = e.elStyles) === null || a === void 0 ? void 0 : a[e.axis[e.draggedAxis].sizeAttr]) !== null && d !== void 0 ? d : "0px", 10);
|
|
116
|
+
r.preventDefault(), r.stopPropagation(), e.draggedAxis === "y" ? y = r.pageY : y = r.pageX;
|
|
117
|
+
var W = y - ((v = (h = x.rect) === null || h === void 0 ? void 0 : h[e.axis[e.draggedAxis].offsetAttr]) !== null && v !== void 0 ? v : 0) - e.axis[e.draggedAxis].dragOffset;
|
|
118
|
+
W = e.draggedAxis === "x" && e.isRtl ? ((w = (f = x.rect) === null || f === void 0 ? void 0 : f[e.axis[e.draggedAxis].sizeAttr]) !== null && w !== void 0 ? w : 0) - N.size - W : W;
|
|
119
|
+
var X = W / (O - N.size), k = X * (B - P);
|
|
120
|
+
e.draggedAxis === "x" && e.isRtl && (k = !((b = s.getRtlHelpers()) === null || b === void 0) && b.isScrollingToNegative ? -k : k), e.contentWrapperEl[e.axis[e.draggedAxis].scrollOffsetAttr] = k;
|
|
121
|
+
}
|
|
122
|
+
}, this.onEndDrag = function(r) {
|
|
123
|
+
e.isDragging = !1;
|
|
124
|
+
var l = z(e.el), o = p(e.el);
|
|
125
|
+
r.preventDefault(), r.stopPropagation(), m(e.el, e.classNames.dragging), e.onStopScrolling(), l.removeEventListener("mousemove", e.drag, !0), l.removeEventListener("mouseup", e.onEndDrag, !0), e.removePreventClickId = o.setTimeout(function() {
|
|
126
|
+
l.removeEventListener("click", e.preventClick, !0), l.removeEventListener("dblclick", e.preventClick, !0), e.removePreventClickId = null;
|
|
127
|
+
});
|
|
128
|
+
}, this.preventClick = function(r) {
|
|
129
|
+
r.preventDefault(), r.stopPropagation();
|
|
130
|
+
}, this.el = t, this.options = S(S({}, s.defaultOptions), i), this.classNames = S(S({}, s.defaultOptions.classNames), i.classNames), this.axis = {
|
|
131
|
+
x: {
|
|
132
|
+
scrollOffsetAttr: "scrollLeft",
|
|
133
|
+
sizeAttr: "width",
|
|
134
|
+
scrollSizeAttr: "scrollWidth",
|
|
135
|
+
offsetSizeAttr: "offsetWidth",
|
|
136
|
+
offsetAttr: "left",
|
|
137
|
+
overflowAttr: "overflowX",
|
|
138
|
+
dragOffset: 0,
|
|
139
|
+
isOverflowing: !0,
|
|
140
|
+
forceVisible: !1,
|
|
141
|
+
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
142
|
+
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
143
|
+
},
|
|
144
|
+
y: {
|
|
145
|
+
scrollOffsetAttr: "scrollTop",
|
|
146
|
+
sizeAttr: "height",
|
|
147
|
+
scrollSizeAttr: "scrollHeight",
|
|
148
|
+
offsetSizeAttr: "offsetHeight",
|
|
149
|
+
offsetAttr: "top",
|
|
150
|
+
overflowAttr: "overflowY",
|
|
151
|
+
dragOffset: 0,
|
|
152
|
+
isOverflowing: !0,
|
|
153
|
+
forceVisible: !1,
|
|
154
|
+
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
155
|
+
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
156
|
+
}
|
|
157
|
+
}, typeof this.el != "object" || !this.el.nodeName)
|
|
158
|
+
throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));
|
|
159
|
+
this.onMouseMove = Y(this._onMouseMove, 64), this.onWindowResize = A(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = A(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = A(this._onMouseEntered, this.stopScrollDelay), this.init();
|
|
160
|
+
}
|
|
161
|
+
return s.getRtlHelpers = function() {
|
|
162
|
+
if (s.rtlHelpers)
|
|
163
|
+
return s.rtlHelpers;
|
|
164
|
+
var t = document.createElement("div");
|
|
165
|
+
t.innerHTML = '<div class="simplebar-dummy-scrollbar-size"><div></div></div>';
|
|
166
|
+
var i = t.firstElementChild, e = i == null ? void 0 : i.firstElementChild;
|
|
167
|
+
if (!e)
|
|
168
|
+
return null;
|
|
169
|
+
document.body.appendChild(i), i.scrollLeft = 0;
|
|
170
|
+
var r = s.getOffset(i), l = s.getOffset(e);
|
|
171
|
+
i.scrollLeft = -999;
|
|
172
|
+
var o = s.getOffset(e);
|
|
173
|
+
return document.body.removeChild(i), s.rtlHelpers = {
|
|
174
|
+
// determines if the scrolling is responding with negative values
|
|
175
|
+
isScrollOriginAtZero: r.left !== l.left,
|
|
176
|
+
// determines if the origin scrollbar position is inverted or not (positioned on left or right)
|
|
177
|
+
isScrollingToNegative: l.left !== o.left
|
|
178
|
+
}, s.rtlHelpers;
|
|
179
|
+
}, s.prototype.getScrollbarWidth = function() {
|
|
180
|
+
try {
|
|
181
|
+
return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : L();
|
|
182
|
+
} catch {
|
|
183
|
+
return L();
|
|
184
|
+
}
|
|
185
|
+
}, s.getOffset = function(t) {
|
|
186
|
+
var i = t.getBoundingClientRect(), e = z(t), r = p(t);
|
|
187
|
+
return {
|
|
188
|
+
top: i.top + (r.pageYOffset || e.documentElement.scrollTop),
|
|
189
|
+
left: i.left + (r.pageXOffset || e.documentElement.scrollLeft)
|
|
190
|
+
};
|
|
191
|
+
}, s.prototype.init = function() {
|
|
192
|
+
M && (this.initDOM(), this.rtlHelpers = s.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
|
|
193
|
+
}, s.prototype.initDOM = function() {
|
|
194
|
+
var t, i;
|
|
195
|
+
this.wrapperEl = this.el.querySelector(u(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(u(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(u(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(u(this.classNames.offset)), this.maskEl = this.el.querySelector(u(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, u(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(u(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(u(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(u(this.classNames.track)).concat(u(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(u(this.classNames.track)).concat(u(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(u(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((i = this.axis.y.track.el) === null || i === void 0 ? void 0 : i.querySelector(u(this.classNames.scrollbar))) || null, this.options.autoHide || (g(this.axis.x.scrollbar.el, this.classNames.visible), g(this.axis.y.scrollbar.el, this.classNames.visible));
|
|
196
|
+
}, s.prototype.initListeners = function() {
|
|
197
|
+
var t = this, i, e = p(this.el);
|
|
198
|
+
if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (i = this.contentWrapperEl) === null || i === void 0 || i.addEventListener("scroll", this.onScroll), e.addEventListener("resize", this.onWindowResize), !!this.contentEl) {
|
|
199
|
+
if (window.ResizeObserver) {
|
|
200
|
+
var r = !1, l = e.ResizeObserver || ResizeObserver;
|
|
201
|
+
this.resizeObserver = new l(function() {
|
|
202
|
+
r && e.requestAnimationFrame(function() {
|
|
203
|
+
t.recalculate();
|
|
204
|
+
});
|
|
205
|
+
}), this.resizeObserver.observe(this.el), this.resizeObserver.observe(this.contentEl), e.requestAnimationFrame(function() {
|
|
206
|
+
r = !0;
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
this.mutationObserver = new e.MutationObserver(function() {
|
|
210
|
+
e.requestAnimationFrame(function() {
|
|
211
|
+
t.recalculate();
|
|
212
|
+
});
|
|
213
|
+
}), this.mutationObserver.observe(this.contentEl, {
|
|
214
|
+
childList: !0,
|
|
215
|
+
subtree: !0,
|
|
216
|
+
characterData: !0
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
}, s.prototype.recalculate = function() {
|
|
220
|
+
if (!(!this.heightAutoObserverEl || !this.contentEl || !this.contentWrapperEl || !this.wrapperEl || !this.placeholderEl)) {
|
|
221
|
+
var t = p(this.el);
|
|
222
|
+
this.elStyles = t.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
|
|
223
|
+
var i = this.contentEl.offsetWidth, e = this.heightAutoObserverEl.offsetHeight <= 1, r = this.heightAutoObserverEl.offsetWidth <= 1 || i > 0, l = this.contentWrapperEl.offsetWidth, o = this.elStyles.overflowX, n = this.elStyles.overflowY;
|
|
224
|
+
this.contentEl.style.padding = "".concat(this.elStyles.paddingTop, " ").concat(this.elStyles.paddingRight, " ").concat(this.elStyles.paddingBottom, " ").concat(this.elStyles.paddingLeft), this.wrapperEl.style.margin = "-".concat(this.elStyles.paddingTop, " -").concat(this.elStyles.paddingRight, " -").concat(this.elStyles.paddingBottom, " -").concat(this.elStyles.paddingLeft);
|
|
225
|
+
var c = this.contentEl.scrollHeight, a = this.contentEl.scrollWidth;
|
|
226
|
+
this.contentWrapperEl.style.height = e ? "auto" : "100%", this.placeholderEl.style.width = r ? "".concat(i || a, "px") : "auto", this.placeholderEl.style.height = "".concat(c, "px");
|
|
227
|
+
var d = this.contentWrapperEl.offsetHeight;
|
|
228
|
+
this.axis.x.isOverflowing = i !== 0 && a > i, this.axis.y.isOverflowing = c > d, this.axis.x.isOverflowing = o === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = n === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
|
|
229
|
+
var h = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, v = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
|
|
230
|
+
this.axis.x.isOverflowing = this.axis.x.isOverflowing && a > l - v, this.axis.y.isOverflowing = this.axis.y.isOverflowing && c > d - h, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = "".concat(this.axis.x.scrollbar.size, "px")), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = "".concat(this.axis.y.scrollbar.size, "px")), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
|
|
231
|
+
}
|
|
232
|
+
}, s.prototype.getScrollbarSize = function(t) {
|
|
233
|
+
var i, e;
|
|
234
|
+
if (t === void 0 && (t = "y"), !this.axis[t].isOverflowing || !this.contentEl)
|
|
235
|
+
return 0;
|
|
236
|
+
var r = this.contentEl[this.axis[t].scrollSizeAttr], l = (e = (i = this.axis[t].track.el) === null || i === void 0 ? void 0 : i[this.axis[t].offsetSizeAttr]) !== null && e !== void 0 ? e : 0, o = l / r, n;
|
|
237
|
+
return n = Math.max(~~(o * l), this.options.scrollbarMinSize), this.options.scrollbarMaxSize && (n = Math.min(n, this.options.scrollbarMaxSize)), n;
|
|
238
|
+
}, s.prototype.positionScrollbar = function(t) {
|
|
239
|
+
var i, e, r;
|
|
240
|
+
t === void 0 && (t = "y");
|
|
241
|
+
var l = this.axis[t].scrollbar;
|
|
242
|
+
if (!(!this.axis[t].isOverflowing || !this.contentWrapperEl || !l.el || !this.elStyles)) {
|
|
243
|
+
var o = this.contentWrapperEl[this.axis[t].scrollSizeAttr], n = ((i = this.axis[t].track.el) === null || i === void 0 ? void 0 : i[this.axis[t].offsetSizeAttr]) || 0, c = parseInt(this.elStyles[this.axis[t].sizeAttr], 10), a = this.contentWrapperEl[this.axis[t].scrollOffsetAttr];
|
|
244
|
+
a = t === "x" && this.isRtl && (!((e = s.getRtlHelpers()) === null || e === void 0) && e.isScrollOriginAtZero) ? -a : a, t === "x" && this.isRtl && (a = !((r = s.getRtlHelpers()) === null || r === void 0) && r.isScrollingToNegative ? a : -a);
|
|
245
|
+
var d = a / (o - c), h = ~~((n - l.size) * d);
|
|
246
|
+
h = t === "x" && this.isRtl ? -h + (n - l.size) : h, l.el.style.transform = t === "x" ? "translate3d(".concat(h, "px, 0, 0)") : "translate3d(0, ".concat(h, "px, 0)");
|
|
247
|
+
}
|
|
248
|
+
}, s.prototype.toggleTrackVisibility = function(t) {
|
|
249
|
+
t === void 0 && (t = "y");
|
|
250
|
+
var i = this.axis[t].track.el, e = this.axis[t].scrollbar.el;
|
|
251
|
+
!i || !e || !this.contentWrapperEl || (this.axis[t].isOverflowing || this.axis[t].forceVisible ? (i.style.visibility = "visible", this.contentWrapperEl.style[this.axis[t].overflowAttr] = "scroll", this.el.classList.add("".concat(this.classNames.scrollable, "-").concat(t))) : (i.style.visibility = "hidden", this.contentWrapperEl.style[this.axis[t].overflowAttr] = "hidden", this.el.classList.remove("".concat(this.classNames.scrollable, "-").concat(t))), this.axis[t].isOverflowing ? e.style.display = "block" : e.style.display = "none");
|
|
252
|
+
}, s.prototype.showScrollbar = function(t) {
|
|
253
|
+
t === void 0 && (t = "y"), this.axis[t].isOverflowing && !this.axis[t].scrollbar.isVisible && (g(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !0);
|
|
254
|
+
}, s.prototype.hideScrollbar = function(t) {
|
|
255
|
+
t === void 0 && (t = "y"), !this.isDragging && this.axis[t].isOverflowing && this.axis[t].scrollbar.isVisible && (m(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !1);
|
|
256
|
+
}, s.prototype.hideNativeScrollbar = function() {
|
|
257
|
+
this.offsetEl && (this.offsetEl.style[this.isRtl ? "left" : "right"] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px", this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px");
|
|
258
|
+
}, s.prototype.onMouseMoveForAxis = function(t) {
|
|
259
|
+
t === void 0 && (t = "y");
|
|
260
|
+
var i = this.axis[t];
|
|
261
|
+
!i.track.el || !i.scrollbar.el || (i.track.rect = i.track.el.getBoundingClientRect(), i.scrollbar.rect = i.scrollbar.el.getBoundingClientRect(), this.isWithinBounds(i.track.rect) ? (this.showScrollbar(t), g(i.track.el, this.classNames.hover), this.isWithinBounds(i.scrollbar.rect) ? g(i.scrollbar.el, this.classNames.hover) : m(i.scrollbar.el, this.classNames.hover)) : (m(i.track.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(t)));
|
|
262
|
+
}, s.prototype.onMouseLeaveForAxis = function(t) {
|
|
263
|
+
t === void 0 && (t = "y"), m(this.axis[t].track.el, this.classNames.hover), m(this.axis[t].scrollbar.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(t);
|
|
264
|
+
}, s.prototype.onDragStart = function(t, i) {
|
|
265
|
+
var e;
|
|
266
|
+
i === void 0 && (i = "y"), this.isDragging = !0;
|
|
267
|
+
var r = z(this.el), l = p(this.el), o = this.axis[i].scrollbar, n = i === "y" ? t.pageY : t.pageX;
|
|
268
|
+
this.axis[i].dragOffset = n - (((e = o.rect) === null || e === void 0 ? void 0 : e[this.axis[i].offsetAttr]) || 0), this.draggedAxis = i, g(this.el, this.classNames.dragging), r.addEventListener("mousemove", this.drag, !0), r.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (r.addEventListener("click", this.preventClick, !0), r.addEventListener("dblclick", this.preventClick, !0)) : (l.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
|
|
269
|
+
}, s.prototype.onTrackClick = function(t, i) {
|
|
270
|
+
var e = this, r, l, o, n;
|
|
271
|
+
i === void 0 && (i = "y");
|
|
272
|
+
var c = this.axis[i];
|
|
273
|
+
if (!(!this.options.clickOnTrack || !c.scrollbar.el || !this.contentWrapperEl)) {
|
|
274
|
+
t.preventDefault();
|
|
275
|
+
var a = p(this.el);
|
|
276
|
+
this.axis[i].scrollbar.rect = c.scrollbar.el.getBoundingClientRect();
|
|
277
|
+
var d = this.axis[i].scrollbar, h = (l = (r = d.rect) === null || r === void 0 ? void 0 : r[this.axis[i].offsetAttr]) !== null && l !== void 0 ? l : 0, v = parseInt((n = (o = this.elStyles) === null || o === void 0 ? void 0 : o[this.axis[i].sizeAttr]) !== null && n !== void 0 ? n : "0px", 10), f = this.contentWrapperEl[this.axis[i].scrollOffsetAttr], w = i === "y" ? this.mouseY - h : this.mouseX - h, b = w < 0 ? -1 : 1, y = b === -1 ? f - v : f + v, x = 40, O = function() {
|
|
278
|
+
e.contentWrapperEl && (b === -1 ? f > y && (f -= x, e.contentWrapperEl[e.axis[i].scrollOffsetAttr] = f, a.requestAnimationFrame(O)) : f < y && (f += x, e.contentWrapperEl[e.axis[i].scrollOffsetAttr] = f, a.requestAnimationFrame(O)));
|
|
279
|
+
};
|
|
280
|
+
O();
|
|
281
|
+
}
|
|
282
|
+
}, s.prototype.getContentElement = function() {
|
|
283
|
+
return this.contentEl;
|
|
284
|
+
}, s.prototype.getScrollElement = function() {
|
|
285
|
+
return this.contentWrapperEl;
|
|
286
|
+
}, s.prototype.removeListeners = function() {
|
|
287
|
+
var t = p(this.el);
|
|
288
|
+
this.el.removeEventListener("mouseenter", this.onMouseEnter), this.el.removeEventListener("pointerdown", this.onPointerEvent, !0), this.el.removeEventListener("mousemove", this.onMouseMove), this.el.removeEventListener("mouseleave", this.onMouseLeave), this.contentWrapperEl && this.contentWrapperEl.removeEventListener("scroll", this.onScroll), t.removeEventListener("resize", this.onWindowResize), this.mutationObserver && this.mutationObserver.disconnect(), this.resizeObserver && this.resizeObserver.disconnect(), this.onMouseMove.cancel(), this.onWindowResize.cancel(), this.onStopScrolling.cancel(), this.onMouseEntered.cancel();
|
|
289
|
+
}, s.prototype.unMount = function() {
|
|
290
|
+
this.removeListeners();
|
|
291
|
+
}, s.prototype.isWithinBounds = function(t) {
|
|
292
|
+
return this.mouseX >= t.left && this.mouseX <= t.left + t.width && this.mouseY >= t.top && this.mouseY <= t.top + t.height;
|
|
293
|
+
}, s.prototype.findChild = function(t, i) {
|
|
294
|
+
var e = t.matches || t.webkitMatchesSelector || t.mozMatchesSelector || t.msMatchesSelector;
|
|
295
|
+
return Array.prototype.filter.call(t.children, function(r) {
|
|
296
|
+
return e.call(r, i);
|
|
297
|
+
})[0];
|
|
298
|
+
}, s.rtlHelpers = null, s.defaultOptions = {
|
|
299
|
+
forceVisible: !1,
|
|
300
|
+
clickOnTrack: !0,
|
|
301
|
+
scrollbarMinSize: 25,
|
|
302
|
+
scrollbarMaxSize: 0,
|
|
303
|
+
ariaLabel: "scrollable content",
|
|
304
|
+
tabIndex: 0,
|
|
305
|
+
classNames: {
|
|
306
|
+
contentEl: "simplebar-content",
|
|
307
|
+
contentWrapper: "simplebar-content-wrapper",
|
|
308
|
+
offset: "simplebar-offset",
|
|
309
|
+
mask: "simplebar-mask",
|
|
310
|
+
wrapper: "simplebar-wrapper",
|
|
311
|
+
placeholder: "simplebar-placeholder",
|
|
312
|
+
scrollbar: "simplebar-scrollbar",
|
|
313
|
+
track: "simplebar-track",
|
|
314
|
+
heightAutoObserverWrapperEl: "simplebar-height-auto-observer-wrapper",
|
|
315
|
+
heightAutoObserverEl: "simplebar-height-auto-observer",
|
|
316
|
+
visible: "simplebar-visible",
|
|
317
|
+
horizontal: "simplebar-horizontal",
|
|
318
|
+
vertical: "simplebar-vertical",
|
|
319
|
+
hover: "simplebar-hover",
|
|
320
|
+
dragging: "simplebar-dragging",
|
|
321
|
+
scrolling: "simplebar-scrolling",
|
|
322
|
+
scrollable: "simplebar-scrollable",
|
|
323
|
+
mouseEntered: "simplebar-mouse-entered"
|
|
324
|
+
},
|
|
325
|
+
scrollableNode: null,
|
|
326
|
+
contentNode: null,
|
|
327
|
+
autoHide: !0
|
|
328
|
+
}, s.getOptions = F, s.helpers = q, s;
|
|
329
|
+
}()
|
|
330
|
+
);
|
|
331
|
+
export {
|
|
332
|
+
j as S
|
|
333
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","./simplebar-core-CtWK1-xd.system.js"],function(f,h){"use strict";var u,d,i;return{setters:[a=>{u=a.defineComponent,d=a.h},a=>{i=a.S}],execute:function(){var a=function(){return a=Object.assign||function(r){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(r[l]=t[l])}return r},a.apply(this,arguments)},m={beforeUnmount:"beforeUnmount"},c;function p(e){var r,t=e.h,n=e.emit,o=e.slots,l=e.props,v=function(b){return n("scroll",b)},s=a(a({},i.defaultOptions.classNames),l.classNames);return t("div",a({ref:"element"},{"data-simplebar":"init"}),[t("div",{class:s.wrapper},[t("div",{class:s.heightAutoObserverWrapperEl},[t("div",{class:s.heightAutoObserverEl})]),t("div",{class:s.mask},[t("div",{class:s.offset},[t("div",a(a({},{onScroll:v,class:s.contentWrapper,tabIndex:l.tabIndex||i.defaultOptions.tabIndex,role:"region","aria-label":l.ariaLabel||i.defaultOptions.ariaLabel}),{ref:"scrollElement"}),[t("div",{class:s.contentEl,ref:"contentElement"},(r=o.default)===null||r===void 0?void 0:r.call(o))])])]),t("div",{class:s.placeholder})]),t("div",{class:"".concat(s.track," simplebar-horizontal")},[t("div",{class:s.scrollbar})]),t("div",{class:"".concat(s.track," simplebar-vertical")},[t("div",{class:s.scrollbar})])])}var g=f("s",u((c={name:"simplebar-vue",props:{autoHide:{type:Boolean,default:void 0},classNames:Object,forceVisible:{type:[Boolean,String],validator:function(e){return typeof e=="boolean"||e==="x"||e==="y"},default:void 0},ariaLabel:String,tabIndex:Number,direction:{type:String,validator:function(e){return e==="ltr"||e==="rtl"}},timeout:Number,clickOnTrack:{type:Boolean,default:void 0},scrollbarMinSize:Number,scrollbarMaxSize:Number},emits:["scroll"],data:function(){return{}},mounted:function(){for(var e=i.getOptions(this.$refs.element.attributes),r=0,t=Object.entries(this.$props);r<t.length;r++){var n=t[r],o=n[0],l=n[1];l!=null&&typeof l!="function"&&(e[o]=l)}this.SimpleBar=new i(this.$refs.element,e),this.scrollElement=this.$refs.scrollElement,this.contentElement=this.$refs.contentElement}},c[m.beforeUnmount]=function(){var e;(e=this.SimpleBar)===null||e===void 0||e.unMount(),this.SimpleBar=void 0},c.methods={recalculate:function(){var e;(e=this.SimpleBar)===null||e===void 0||e.recalculate()}},c.render=function(e){var r=this;return p({h:typeof e=="function"?e:d,emit:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.$emit.apply(r,t)},slots:this.$slots,props:this.$props})},c)))}}});
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { defineComponent as f, h as m } from "vue";
|
|
2
|
+
import { S as c } from "./simplebar-core-ofTx4QqK.es.js";
|
|
3
|
+
var l = function() {
|
|
4
|
+
return l = Object.assign || function(r) {
|
|
5
|
+
for (var t, n = 1, i = arguments.length; n < i; n++) {
|
|
6
|
+
t = arguments[n];
|
|
7
|
+
for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
8
|
+
}
|
|
9
|
+
return r;
|
|
10
|
+
}, l.apply(this, arguments);
|
|
11
|
+
}, p = {
|
|
12
|
+
beforeUnmount: "beforeUnmount"
|
|
13
|
+
}, o;
|
|
14
|
+
function v(e) {
|
|
15
|
+
var r, t = e.h, n = e.emit, i = e.slots, s = e.props, u = function(d) {
|
|
16
|
+
return n("scroll", d);
|
|
17
|
+
}, a = l(l({}, c.defaultOptions.classNames), s.classNames);
|
|
18
|
+
return t("div", l({ ref: "element" }, {
|
|
19
|
+
"data-simplebar": "init"
|
|
20
|
+
}), [
|
|
21
|
+
t("div", {
|
|
22
|
+
class: a.wrapper
|
|
23
|
+
}, [
|
|
24
|
+
t("div", { class: a.heightAutoObserverWrapperEl }, [
|
|
25
|
+
t("div", { class: a.heightAutoObserverEl })
|
|
26
|
+
]),
|
|
27
|
+
t("div", { class: a.mask }, [
|
|
28
|
+
t("div", { class: a.offset }, [
|
|
29
|
+
t("div", l(l({}, {
|
|
30
|
+
onScroll: u,
|
|
31
|
+
class: a.contentWrapper,
|
|
32
|
+
tabIndex: s.tabIndex || c.defaultOptions.tabIndex,
|
|
33
|
+
role: "region",
|
|
34
|
+
"aria-label": s.ariaLabel || c.defaultOptions.ariaLabel
|
|
35
|
+
}), { ref: "scrollElement" }), [
|
|
36
|
+
t("div", { class: a.contentEl, ref: "contentElement" }, (r = i.default) === null || r === void 0 ? void 0 : r.call(i))
|
|
37
|
+
])
|
|
38
|
+
])
|
|
39
|
+
]),
|
|
40
|
+
t("div", { class: a.placeholder })
|
|
41
|
+
]),
|
|
42
|
+
t("div", { class: "".concat(a.track, " simplebar-horizontal") }, [
|
|
43
|
+
t("div", { class: a.scrollbar })
|
|
44
|
+
]),
|
|
45
|
+
t("div", { class: "".concat(a.track, " simplebar-vertical") }, [
|
|
46
|
+
t("div", { class: a.scrollbar })
|
|
47
|
+
])
|
|
48
|
+
]);
|
|
49
|
+
}
|
|
50
|
+
var g = f((o = {
|
|
51
|
+
name: "simplebar-vue",
|
|
52
|
+
props: {
|
|
53
|
+
/**
|
|
54
|
+
* By default SimpleBar automatically hides the scrollbar if the user is not scrolling
|
|
55
|
+
* (it emulates Mac OSX Lion's scrollbar). You can make the scrollbar always visible
|
|
56
|
+
* by passing `false`.
|
|
57
|
+
*
|
|
58
|
+
* Default value is `true`.
|
|
59
|
+
*
|
|
60
|
+
* You can also control the animation via CSS as it's a simple CSS opacity transition.
|
|
61
|
+
*/
|
|
62
|
+
autoHide: { type: Boolean, default: void 0 },
|
|
63
|
+
/**
|
|
64
|
+
* It is possible to change the default class names that SimpleBar uses.
|
|
65
|
+
* To get your own styles to work refer to simplebar.css to get an idea how to setup your css.
|
|
66
|
+
* - `content` represents the wrapper for the content being scrolled.
|
|
67
|
+
* - `scrollContent` represents the container containing the elements being scrolled.
|
|
68
|
+
* - `scrollbar` defines the style of the scrollbar with which the user can interact to scroll the content.
|
|
69
|
+
* - `track` styles the area surrounding the `scrollbar`.
|
|
70
|
+
*
|
|
71
|
+
* ```js
|
|
72
|
+
* classNames: {
|
|
73
|
+
* // defaults
|
|
74
|
+
* content: 'simplebar-content',
|
|
75
|
+
* scrollContent: 'simplebar-scroll-content',
|
|
76
|
+
* scrollbar: 'simplebar-scrollbar',
|
|
77
|
+
* track: 'simplebar-track'
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
classNames: Object,
|
|
82
|
+
/**
|
|
83
|
+
* Force the track to be visible (same behaviour as `overflow: scroll`).
|
|
84
|
+
* Can be `boolean | 'x' | 'y'`, defaults to `false`, which behaves like `overflow: auto`.
|
|
85
|
+
*/
|
|
86
|
+
forceVisible: {
|
|
87
|
+
type: [Boolean, String],
|
|
88
|
+
validator: function(e) {
|
|
89
|
+
return typeof e == "boolean" || e === "x" || e === "y";
|
|
90
|
+
},
|
|
91
|
+
default: void 0
|
|
92
|
+
},
|
|
93
|
+
/**
|
|
94
|
+
* Set custom aria-label attribute for users with screen reader.
|
|
95
|
+
*/
|
|
96
|
+
ariaLabel: String,
|
|
97
|
+
/**
|
|
98
|
+
* Set custom tabIndex attribute.
|
|
99
|
+
*/
|
|
100
|
+
tabIndex: Number,
|
|
101
|
+
/**
|
|
102
|
+
* Activate RTL support by passing `'rtl'`.
|
|
103
|
+
* You will also need a css rule with `direction: rtl`.
|
|
104
|
+
*/
|
|
105
|
+
direction: {
|
|
106
|
+
type: String,
|
|
107
|
+
validator: function(e) {
|
|
108
|
+
return e === "ltr" || e === "rtl";
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* Define the delay until the scrollbar hides. Has no effect if `autoHide` is `false`.
|
|
113
|
+
* Default value is `1000`.
|
|
114
|
+
*/
|
|
115
|
+
timeout: Number,
|
|
116
|
+
/**
|
|
117
|
+
* Controls the click on track behaviour.
|
|
118
|
+
* Default to `true`.
|
|
119
|
+
*/
|
|
120
|
+
clickOnTrack: { type: Boolean, default: void 0 },
|
|
121
|
+
/**
|
|
122
|
+
* Controls the min size of the scrollbar in `px`.
|
|
123
|
+
* Default is `25`.
|
|
124
|
+
*/
|
|
125
|
+
scrollbarMinSize: Number,
|
|
126
|
+
/**
|
|
127
|
+
* Controls the max size of the scrollbar in `px`.
|
|
128
|
+
* Default is `0` (no max size).
|
|
129
|
+
*/
|
|
130
|
+
scrollbarMaxSize: Number
|
|
131
|
+
},
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
emits: ["scroll"],
|
|
134
|
+
/**
|
|
135
|
+
* @returns {{ SimpleBar?: SimpleBar; scrollElement?: HTMLDivElement; contentElement?: HTMLDivElement }}
|
|
136
|
+
*/
|
|
137
|
+
data: function() {
|
|
138
|
+
return {};
|
|
139
|
+
},
|
|
140
|
+
mounted: function() {
|
|
141
|
+
for (var e = c.getOptions(this.$refs.element.attributes), r = 0, t = Object.entries(this.$props); r < t.length; r++) {
|
|
142
|
+
var n = t[r], i = n[0], s = n[1];
|
|
143
|
+
s != null && typeof s != "function" && (e[i] = s);
|
|
144
|
+
}
|
|
145
|
+
this.SimpleBar = new c(this.$refs.element, e), this.scrollElement = this.$refs.scrollElement, this.contentElement = this.$refs.contentElement;
|
|
146
|
+
}
|
|
147
|
+
}, o[p.beforeUnmount] = function() {
|
|
148
|
+
var e;
|
|
149
|
+
(e = this.SimpleBar) === null || e === void 0 || e.unMount(), this.SimpleBar = void 0;
|
|
150
|
+
}, o.methods = {
|
|
151
|
+
recalculate: function() {
|
|
152
|
+
var e;
|
|
153
|
+
(e = this.SimpleBar) === null || e === void 0 || e.recalculate();
|
|
154
|
+
}
|
|
155
|
+
}, /**
|
|
156
|
+
* Note that createElement argument is only provided in <=vue@2.7.x,
|
|
157
|
+
* in other versions it's a context object that we do not use.
|
|
158
|
+
*/
|
|
159
|
+
o.render = function(e) {
|
|
160
|
+
var r = this;
|
|
161
|
+
return v({
|
|
162
|
+
h: typeof e == "function" ? e : m,
|
|
163
|
+
// @ts-ignore
|
|
164
|
+
emit: function() {
|
|
165
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
166
|
+
t[n] = arguments[n];
|
|
167
|
+
return r.$emit.apply(r, t);
|
|
168
|
+
},
|
|
169
|
+
// @ts-ignore
|
|
170
|
+
slots: this.$slots,
|
|
171
|
+
props: this.$props
|
|
172
|
+
});
|
|
173
|
+
}, o));
|
|
174
|
+
export {
|
|
175
|
+
g as s
|
|
176
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./@popperjs/core-DFLwc7xU.system.js"],function(Je,jt){"use strict";var pe,de;return{setters:[j=>{pe=j.j,de=j.k}],execute:function(){Je("t",V);var j="tippy-box",le="tippy-content",Qe="tippy-backdrop",ve="tippy-arrow",me="tippy-svg-arrow",D={passive:!0,capture:!0},he=function(){return document.body};function J(e,r,i){if(Array.isArray(e)){var s=e[r];return s??(Array.isArray(i)?i[r]:i)}return e}function Q(e,r){var i={}.toString.call(e);return i.indexOf("[object")===0&&i.indexOf(r+"]")>-1}function ge(e,r){return typeof e=="function"?e.apply(void 0,r):e}function be(e,r){if(r===0)return e;var i;return function(s){clearTimeout(i),i=setTimeout(function(){e(s)},r)}}function Ze(e){return e.split(/\s+/).filter(Boolean)}function S(e){return[].concat(e)}function ye(e,r){e.indexOf(r)===-1&&e.push(r)}function et(e){return e.filter(function(r,i){return e.indexOf(r)===i})}function tt(e){return e.split("-")[0]}function H(e){return[].slice.call(e)}function Te(e){return Object.keys(e).reduce(function(r,i){return e[i]!==void 0&&(r[i]=e[i]),r},{})}function R(){return document.createElement("div")}function F(e){return["Element","Fragment"].some(function(r){return Q(e,r)})}function nt(e){return Q(e,"NodeList")}function rt(e){return Q(e,"MouseEvent")}function it(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function ot(e){return F(e)?[e]:nt(e)?H(e):Array.isArray(e)?e:H(document.querySelectorAll(e))}function Z(e,r){e.forEach(function(i){i&&(i.style.transitionDuration=r+"ms")})}function Ae(e,r){e.forEach(function(i){i&&i.setAttribute("data-state",r)})}function at(e){var r,i=S(e),s=i[0];return s!=null&&(r=s.ownerDocument)!=null&&r.body?s.ownerDocument:document}function st(e,r){var i=r.clientX,s=r.clientY;return e.every(function(v){var d=v.popperRect,u=v.popperState,m=v.props,l=m.interactiveBorder,E=tt(u.placement),h=u.modifiersData.offset;if(!h)return!0;var P=E==="bottom"?h.top.y:0,W=E==="top"?h.bottom.y:0,N=E==="right"?h.left.x:0,O=E==="left"?h.right.x:0,$=d.top-s+P>l,ie=s-d.bottom-W>l,oe=d.left-i+N>l,q=i-d.right-O>l;return $||ie||oe||q})}function ee(e,r,i){var s=r+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(v){e[s](v,i)})}function Ee(e,r){for(var i=r;i;){var s;if(e.contains(i))return!0;i=i.getRootNode==null||(s=i.getRootNode())==null?void 0:s.host}return!1}var A={isTouch:!1},we=0;function ut(){A.isTouch||(A.isTouch=!0,window.performance&&document.addEventListener("mousemove",Oe))}function Oe(){var e=performance.now();e-we<20&&(A.isTouch=!1,document.removeEventListener("mousemove",Oe)),we=e}function ct(){var e=document.activeElement;if(it(e)){var r=e._tippy;e.blur&&!r.state.isVisible&&e.blur()}}function ft(){document.addEventListener("touchstart",ut,D),window.addEventListener("blur",ct)}var pt=typeof window<"u"&&typeof document<"u",dt=pt?!!window.msCrypto:!1,lt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},vt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},T=Object.assign({appendTo:he,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},lt,vt),mt=Object.keys(T),ht=function(r){var i=Object.keys(r);i.forEach(function(s){T[s]=r[s]})};function De(e){var r=e.plugins||[],i=r.reduce(function(s,v){var d=v.name,u=v.defaultValue;if(d){var m;s[d]=e[d]!==void 0?e[d]:(m=T[d])!=null?m:u}return s},{});return Object.assign({},e,i)}function gt(e,r){var i=r?Object.keys(De(Object.assign({},T,{plugins:r}))):mt,s=i.reduce(function(v,d){var u=(e.getAttribute("data-tippy-"+d)||"").trim();if(!u)return v;if(d==="content")v[d]=u;else try{v[d]=JSON.parse(u)}catch{v[d]=u}return v},{});return s}function Ce(e,r){var i=Object.assign({},r,{content:ge(r.content,[e])},r.ignoreAttributes?{}:gt(e,r.plugins));return i.aria=Object.assign({},T.aria,i.aria),i.aria={expanded:i.aria.expanded==="auto"?r.interactive:i.aria.expanded,content:i.aria.content==="auto"?r.interactive?null:"describedby":i.aria.content},i}var bt=function(){return"innerHTML"};function te(e,r){e[bt()]=r}function Le(e){var r=R();return e===!0?r.className=ve:(r.className=me,F(e)?r.appendChild(e):te(r,e)),r}function Se(e,r){F(r.content)?(te(e,""),e.appendChild(r.content)):typeof r.content!="function"&&(r.allowHTML?te(e,r.content):e.textContent=r.content)}function ne(e){var r=e.firstElementChild,i=H(r.children);return{box:r,content:i.find(function(s){return s.classList.contains(le)}),arrow:i.find(function(s){return s.classList.contains(ve)||s.classList.contains(me)}),backdrop:i.find(function(s){return s.classList.contains(Qe)})}}function xe(e){var r=R(),i=R();i.className=j,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var s=R();s.className=le,s.setAttribute("data-state","hidden"),Se(s,e.props),r.appendChild(i),i.appendChild(s),v(e.props,e.props);function v(d,u){var m=ne(r),l=m.box,E=m.content,h=m.arrow;u.theme?l.setAttribute("data-theme",u.theme):l.removeAttribute("data-theme"),typeof u.animation=="string"?l.setAttribute("data-animation",u.animation):l.removeAttribute("data-animation"),u.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof u.maxWidth=="number"?u.maxWidth+"px":u.maxWidth,u.role?l.setAttribute("role",u.role):l.removeAttribute("role"),(d.content!==u.content||d.allowHTML!==u.allowHTML)&&Se(E,e.props),u.arrow?h?d.arrow!==u.arrow&&(l.removeChild(h),l.appendChild(Le(u.arrow))):l.appendChild(Le(u.arrow)):h&&l.removeChild(h)}return{popper:r,onUpdate:v}}xe.$$tippy=!0;var yt=1,k=[],re=[];function Tt(e,r){var i=Ce(e,Object.assign({},T,De(Te(r)))),s,v,d,u=!1,m=!1,l=!1,E=!1,h,P,W,N=[],O=be(We,i.interactiveDebounce),$,ie=yt++,oe=null,q=et(i.plugins),At={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},t={id:ie,reference:e,popper:R(),popperInstance:oe,props:i,state:At,plugins:q,clearDelayTimeouts:xt,setProps:Mt,setContent:It,show:Rt,hide:Vt,hideWithInteractivity:Nt,enable:Lt,disable:St,unmount:Ut,destroy:Bt};if(!i.render)return t;var Me=i.render(t),f=Me.popper,Ie=Me.onUpdate;f.setAttribute("data-tippy-root",""),f.id="tippy-"+t.id,t.popper=f,e._tippy=t,f._tippy=t;var Et=q.map(function(n){return n.fn(t)}),wt=e.hasAttribute("aria-expanded");return Fe(),_(),z(),b("onCreate",[t]),i.showOnCreate&&Xe(),f.addEventListener("mouseenter",function(){t.props.interactive&&t.state.isVisible&&t.clearDelayTimeouts()}),f.addEventListener("mouseleave",function(){t.props.interactive&&t.props.trigger.indexOf("mouseenter")>=0&&U().addEventListener("mousemove",O)}),t;function Re(){var n=t.props.touch;return Array.isArray(n)?n:[n,0]}function Ve(){return Re()[0]==="hold"}function w(){var n;return!!((n=t.props.render)!=null&&n.$$tippy)}function C(){return $||e}function U(){var n=C().parentNode;return n?at(n):document}function B(){return ne(f)}function Ne(n){return t.state.isMounted&&!t.state.isVisible||A.isTouch||h&&h.type==="focus"?0:J(t.props.delay,n?0:1,T.delay)}function z(n){n===void 0&&(n=!1),f.style.pointerEvents=t.props.interactive&&!n?"":"none",f.style.zIndex=""+t.props.zIndex}function b(n,o,a){if(a===void 0&&(a=!0),Et.forEach(function(c){c[n]&&c[n].apply(c,o)}),a){var p;(p=t.props)[n].apply(p,o)}}function Ue(){var n=t.props.aria;if(n.content){var o="aria-"+n.content,a=f.id,p=S(t.props.triggerTarget||e);p.forEach(function(c){var g=c.getAttribute(o);if(t.state.isVisible)c.setAttribute(o,g?g+" "+a:a);else{var y=g&&g.replace(a,"").trim();y?c.setAttribute(o,y):c.removeAttribute(o)}})}}function _(){if(!(wt||!t.props.aria.expanded)){var n=S(t.props.triggerTarget||e);n.forEach(function(o){t.props.interactive?o.setAttribute("aria-expanded",t.state.isVisible&&o===C()?"true":"false"):o.removeAttribute("aria-expanded")})}}function ae(){U().removeEventListener("mousemove",O),k=k.filter(function(n){return n!==O})}function Y(n){if(!(A.isTouch&&(l||n.type==="mousedown"))){var o=n.composedPath&&n.composedPath()[0]||n.target;if(!(t.props.interactive&&Ee(f,o))){if(S(t.props.triggerTarget||e).some(function(a){return Ee(a,o)})){if(A.isTouch||t.state.isVisible&&t.props.trigger.indexOf("click")>=0)return}else b("onClickOutside",[t,n]);t.props.hideOnClick===!0&&(t.clearDelayTimeouts(),t.hide(),m=!0,setTimeout(function(){m=!1}),t.state.isMounted||se())}}}function Be(){l=!0}function _e(){l=!1}function je(){var n=U();n.addEventListener("mousedown",Y,!0),n.addEventListener("touchend",Y,D),n.addEventListener("touchstart",_e,D),n.addEventListener("touchmove",Be,D)}function se(){var n=U();n.removeEventListener("mousedown",Y,!0),n.removeEventListener("touchend",Y,D),n.removeEventListener("touchstart",_e,D),n.removeEventListener("touchmove",Be,D)}function Ot(n,o){He(n,function(){!t.state.isVisible&&f.parentNode&&f.parentNode.contains(f)&&o()})}function Dt(n,o){He(n,o)}function He(n,o){var a=B().box;function p(c){c.target===a&&(ee(a,"remove",p),o())}if(n===0)return o();ee(a,"remove",P),ee(a,"add",p),P=p}function x(n,o,a){a===void 0&&(a=!1);var p=S(t.props.triggerTarget||e);p.forEach(function(c){c.addEventListener(n,o,a),N.push({node:c,eventType:n,handler:o,options:a})})}function Fe(){Ve()&&(x("touchstart",Pe,{passive:!0}),x("touchend",$e,{passive:!0})),Ze(t.props.trigger).forEach(function(n){if(n!=="manual")switch(x(n,Pe),n){case"mouseenter":x("mouseleave",$e);break;case"focus":x(dt?"focusout":"blur",qe);break;case"focusin":x("focusout",qe);break}})}function ke(){N.forEach(function(n){var o=n.node,a=n.eventType,p=n.handler,c=n.options;o.removeEventListener(a,p,c)}),N=[]}function Pe(n){var o,a=!1;if(!(!t.state.isEnabled||ze(n)||m)){var p=((o=h)==null?void 0:o.type)==="focus";h=n,$=n.currentTarget,_(),!t.state.isVisible&&rt(n)&&k.forEach(function(c){return c(n)}),n.type==="click"&&(t.props.trigger.indexOf("mouseenter")<0||u)&&t.props.hideOnClick!==!1&&t.state.isVisible?a=!0:Xe(n),n.type==="click"&&(u=!a),a&&!p&&K(n)}}function We(n){var o=n.target,a=C().contains(o)||f.contains(o);if(!(n.type==="mousemove"&&a)){var p=ue().concat(f).map(function(c){var g,y=c._tippy,M=(g=y.popperInstance)==null?void 0:g.state;return M?{popperRect:c.getBoundingClientRect(),popperState:M,props:i}:null}).filter(Boolean);st(p,n)&&(ae(),K(n))}}function $e(n){var o=ze(n)||t.props.trigger.indexOf("click")>=0&&u;if(!o){if(t.props.interactive){t.hideWithInteractivity(n);return}K(n)}}function qe(n){t.props.trigger.indexOf("focusin")<0&&n.target!==C()||t.props.interactive&&n.relatedTarget&&f.contains(n.relatedTarget)||K(n)}function ze(n){return A.isTouch?Ve()!==n.type.indexOf("touch")>=0:!1}function Ye(){Ke();var n=t.props,o=n.popperOptions,a=n.placement,p=n.offset,c=n.getReferenceClientRect,g=n.moveTransition,y=w()?ne(f).arrow:null,M=c?{getBoundingClientRect:c,contextElement:c.contextElement||C()}:e,Ge={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(X){var I=X.state;if(w()){var _t=B(),fe=_t.box;["placement","reference-hidden","escaped"].forEach(function(G){G==="placement"?fe.setAttribute("data-placement",I.placement):I.attributes.popper["data-popper-"+G]?fe.setAttribute("data-"+G,""):fe.removeAttribute("data-"+G)}),I.attributes.popper={}}}},L=[{name:"offset",options:{offset:p}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!g}},Ge];w()&&y&&L.push({name:"arrow",options:{element:y,padding:3}}),L.push.apply(L,(o==null?void 0:o.modifiers)||[]),t.popperInstance=pe(M,f,Object.assign({},o,{placement:a,onFirstUpdate:W,modifiers:L}))}function Ke(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)}function Ct(){var n=t.props.appendTo,o,a=C();t.props.interactive&&n===he||n==="parent"?o=a.parentNode:o=ge(n,[a]),o.contains(f)||o.appendChild(f),t.state.isMounted=!0,Ye()}function ue(){return H(f.querySelectorAll("[data-tippy-root]"))}function Xe(n){t.clearDelayTimeouts(),n&&b("onTrigger",[t,n]),je();var o=Ne(!0),a=Re(),p=a[0],c=a[1];A.isTouch&&p==="hold"&&c&&(o=c),o?s=setTimeout(function(){t.show()},o):t.show()}function K(n){if(t.clearDelayTimeouts(),b("onUntrigger",[t,n]),!t.state.isVisible){se();return}if(!(t.props.trigger.indexOf("mouseenter")>=0&&t.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(n.type)>=0&&u)){var o=Ne(!1);o?v=setTimeout(function(){t.state.isVisible&&t.hide()},o):d=requestAnimationFrame(function(){t.hide()})}}function Lt(){t.state.isEnabled=!0}function St(){t.hide(),t.state.isEnabled=!1}function xt(){clearTimeout(s),clearTimeout(v),cancelAnimationFrame(d)}function Mt(n){if(!t.state.isDestroyed){b("onBeforeUpdate",[t,n]),ke();var o=t.props,a=Ce(e,Object.assign({},o,Te(n),{ignoreAttributes:!0}));t.props=a,Fe(),o.interactiveDebounce!==a.interactiveDebounce&&(ae(),O=be(We,a.interactiveDebounce)),o.triggerTarget&&!a.triggerTarget?S(o.triggerTarget).forEach(function(p){p.removeAttribute("aria-expanded")}):a.triggerTarget&&e.removeAttribute("aria-expanded"),_(),z(),Ie&&Ie(o,a),t.popperInstance&&(Ye(),ue().forEach(function(p){requestAnimationFrame(p._tippy.popperInstance.forceUpdate)})),b("onAfterUpdate",[t,n])}}function It(n){t.setProps({content:n})}function Rt(){var n=t.state.isVisible,o=t.state.isDestroyed,a=!t.state.isEnabled,p=A.isTouch&&!t.props.touch,c=J(t.props.duration,0,T.duration);if(!(n||o||a||p)&&!C().hasAttribute("disabled")&&(b("onShow",[t],!1),t.props.onShow(t)!==!1)){if(t.state.isVisible=!0,w()&&(f.style.visibility="visible"),z(),je(),t.state.isMounted||(f.style.transition="none"),w()){var g=B(),y=g.box,M=g.content;Z([y,M],0)}W=function(){var L;if(!(!t.state.isVisible||E)){if(E=!0,f.offsetHeight,f.style.transition=t.props.moveTransition,w()&&t.props.animation){var ce=B(),X=ce.box,I=ce.content;Z([X,I],c),Ae([X,I],"visible")}Ue(),_(),ye(re,t),(L=t.popperInstance)==null||L.forceUpdate(),b("onMount",[t]),t.props.animation&&w()&&Dt(c,function(){t.state.isShown=!0,b("onShown",[t])})}},Ct()}}function Vt(){var n=!t.state.isVisible,o=t.state.isDestroyed,a=!t.state.isEnabled,p=J(t.props.duration,1,T.duration);if(!(n||o||a)&&(b("onHide",[t],!1),t.props.onHide(t)!==!1)){if(t.state.isVisible=!1,t.state.isShown=!1,E=!1,u=!1,w()&&(f.style.visibility="hidden"),ae(),se(),z(!0),w()){var c=B(),g=c.box,y=c.content;t.props.animation&&(Z([g,y],p),Ae([g,y],"hidden"))}Ue(),_(),t.props.animation?w()&&Ot(p,t.unmount):t.unmount()}}function Nt(n){U().addEventListener("mousemove",O),ye(k,O),O(n)}function Ut(){t.state.isVisible&&t.hide(),t.state.isMounted&&(Ke(),ue().forEach(function(n){n._tippy.unmount()}),f.parentNode&&f.parentNode.removeChild(f),re=re.filter(function(n){return n!==t}),t.state.isMounted=!1,b("onHidden",[t]))}function Bt(){t.state.isDestroyed||(t.clearDelayTimeouts(),t.unmount(),ke(),delete e._tippy,t.state.isDestroyed=!0,b("onDestroy",[t]))}}function V(e,r){r===void 0&&(r={});var i=T.plugins.concat(r.plugins||[]);ft();var s=Object.assign({},r,{plugins:i}),v=ot(e),d=v.reduce(function(u,m){var l=m&&Tt(m,s);return l&&u.push(l),u},[]);return F(e)?d[0]:d}V.defaultProps=T,V.setDefaultProps=ht,V.currentInput=A,Object.assign({},de,{effect:function(r){var i=r.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow)}}),V.setDefaultProps({render:xe})}}});
|