@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,159 @@
|
|
|
1
|
+
import { defineComponent as $, mergeModels as q, useModel as F, ref as P, shallowRef as j, computed as w, watch as z, createElementBlock as c, openBlock as b, Fragment as h, renderList as G, createCommentVNode as H, mergeProps as I, withModifiers as i, createVNode as M, unref as S } from "vue";
|
|
2
|
+
import { I as J, C as K } from "../../async-components/index-C8nb7p3T.es.js";
|
|
3
|
+
import { s as O } from "./helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js";
|
|
4
|
+
import { u as Q } from "../datatable/store/dataTable.store-B4p-hj3w.es.js";
|
|
5
|
+
import { c as T } from "../../vendor/lodash-es-CJerBxJQ.es.js";
|
|
6
|
+
const W = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart"], le = /* @__PURE__ */ $({
|
|
7
|
+
__name: "ColumnList",
|
|
8
|
+
props: /* @__PURE__ */ q({
|
|
9
|
+
tableId: {},
|
|
10
|
+
defaultColumns: {},
|
|
11
|
+
visibleColumns: {},
|
|
12
|
+
maxColumn: {},
|
|
13
|
+
type: {},
|
|
14
|
+
savedColumns: {}
|
|
15
|
+
}, {
|
|
16
|
+
modelValue: {},
|
|
17
|
+
modelModifiers: {}
|
|
18
|
+
}),
|
|
19
|
+
emits: ["update:modelValue"],
|
|
20
|
+
setup(x, { expose: B }) {
|
|
21
|
+
const n = x, d = F(x, "modelValue"), o = P([]), m = j(), f = w(() => [...o.value].filter((a) => a.visible !== !1)), D = w(() => n.maxColumn ? f.value.length >= n.maxColumn : !1), u = (a) => a.dragable !== !1 && y(a), y = (a) => {
|
|
22
|
+
if (!D.value) return !0;
|
|
23
|
+
const l = d.value.findIndex((e) => e.field === a.field) > 0;
|
|
24
|
+
return D.value && l;
|
|
25
|
+
}, k = () => {
|
|
26
|
+
o.value = O(
|
|
27
|
+
o.value,
|
|
28
|
+
n.maxColumn,
|
|
29
|
+
f.value.length
|
|
30
|
+
), d.value = [...f.value];
|
|
31
|
+
}, v = async () => {
|
|
32
|
+
const a = o.value.map(
|
|
33
|
+
(e) => ({
|
|
34
|
+
field: e.field,
|
|
35
|
+
width: e.width ?? "max-content",
|
|
36
|
+
visible: e.visible !== !1,
|
|
37
|
+
fixed: !!e.fixed
|
|
38
|
+
})
|
|
39
|
+
), { setConfig: l } = await Q();
|
|
40
|
+
await l(n.tableId, a);
|
|
41
|
+
}, E = () => {
|
|
42
|
+
d.value = [...o.value];
|
|
43
|
+
}, R = (a, l, e) => {
|
|
44
|
+
const { dataTransfer: s } = a;
|
|
45
|
+
m.value = l, s && (s.dropEffect = "move", s.effectAllowed = "move", s.setData("field", l.field), s.setData("index", e.toString()));
|
|
46
|
+
}, L = async () => {
|
|
47
|
+
m.value = void 0, E(), await v();
|
|
48
|
+
}, A = (a, l) => {
|
|
49
|
+
var e, s;
|
|
50
|
+
if (a.preventDefault(), u(l)) {
|
|
51
|
+
const r = a.target, t = r.tagName === "LI" ? r : r.closest("li");
|
|
52
|
+
if (t == null || t.classList.add("bg-primary-50"), (e = t == null ? void 0 : t.nextElementSibling) == null || e.classList.remove("bg-primary-50"), (s = t == null ? void 0 : t.previousElementSibling) == null || s.classList.remove("bg-primary-50"), !t || !m.value) return;
|
|
53
|
+
const g = o.value.findIndex(
|
|
54
|
+
(p) => {
|
|
55
|
+
var V;
|
|
56
|
+
return p.field === ((V = m.value) == null ? void 0 : V.field);
|
|
57
|
+
}
|
|
58
|
+
), C = o.value.findIndex(
|
|
59
|
+
(p) => p.field === t.id
|
|
60
|
+
);
|
|
61
|
+
g !== -1 && C !== -1 && ([
|
|
62
|
+
o.value[g],
|
|
63
|
+
o.value[C]
|
|
64
|
+
] = [
|
|
65
|
+
o.value[C],
|
|
66
|
+
o.value[g]
|
|
67
|
+
]);
|
|
68
|
+
}
|
|
69
|
+
}, N = (a) => {
|
|
70
|
+
const l = a.target.querySelector("label");
|
|
71
|
+
l && l.click();
|
|
72
|
+
}, U = () => {
|
|
73
|
+
const a = T(n.defaultColumns);
|
|
74
|
+
if (n.maxColumn && a.length > n.maxColumn) {
|
|
75
|
+
let l = 0;
|
|
76
|
+
o.value = a.map((e) => {
|
|
77
|
+
const s = n.maxColumn !== void 0 && l < n.maxColumn, r = e.checkedByDefault !== !1 && n.maxColumn === void 0 || e.checkedByDefault !== !1 && s;
|
|
78
|
+
return r && l++, {
|
|
79
|
+
...e,
|
|
80
|
+
visible: r
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
} else
|
|
84
|
+
o.value = a;
|
|
85
|
+
d.value = [...f.value], v();
|
|
86
|
+
};
|
|
87
|
+
return z(
|
|
88
|
+
() => n.savedColumns,
|
|
89
|
+
(a) => {
|
|
90
|
+
o.value = a ?? [];
|
|
91
|
+
},
|
|
92
|
+
{ immediate: !0 }
|
|
93
|
+
), B({
|
|
94
|
+
setColumnVisibilityConfig: v,
|
|
95
|
+
resetToDefault: U,
|
|
96
|
+
updateVisibleColumnsModel: k
|
|
97
|
+
}), (a, l) => (b(), c("ul", null, [
|
|
98
|
+
(b(!0), c(h, null, G(o.value, (e, s) => {
|
|
99
|
+
var r;
|
|
100
|
+
return b(), c(h, null, [
|
|
101
|
+
e.reorderable !== !1 ? (b(), c("li", I(
|
|
102
|
+
{
|
|
103
|
+
id: e.field,
|
|
104
|
+
key: e.field,
|
|
105
|
+
ref_for: !0
|
|
106
|
+
},
|
|
107
|
+
a.$preset.customcolumn.menuitem({
|
|
108
|
+
props: n,
|
|
109
|
+
context: { dragable: u(e) }
|
|
110
|
+
}),
|
|
111
|
+
{
|
|
112
|
+
"data-item-dragable": u(e),
|
|
113
|
+
draggable: u(e),
|
|
114
|
+
onClick: N,
|
|
115
|
+
onDragend: L,
|
|
116
|
+
onDragenter: i((t) => A(t, e), ["prevent"]),
|
|
117
|
+
onDragleave: l[2] || (l[2] = i(() => {
|
|
118
|
+
}, ["prevent"])),
|
|
119
|
+
onDragover: l[3] || (l[3] = i(() => {
|
|
120
|
+
}, ["prevent"])),
|
|
121
|
+
onDragstart: (t) => R(t, e, s),
|
|
122
|
+
onMouseenter: l[4] || (l[4] = (t) => t.target.classList.add("bg-primary-50")),
|
|
123
|
+
onMouseleave: l[5] || (l[5] = (t) => t.target.classList.remove("bg-primary-50")),
|
|
124
|
+
"data-wv-section": "custom-column-menu-item"
|
|
125
|
+
}
|
|
126
|
+
), [
|
|
127
|
+
M(S(J), I(
|
|
128
|
+
{
|
|
129
|
+
onClick: l[0] || (l[0] = i(() => {
|
|
130
|
+
}, ["stop"])),
|
|
131
|
+
ref_for: !0
|
|
132
|
+
},
|
|
133
|
+
(r = a.$preset.customcolumn) == null ? void 0 : r.dragicon({
|
|
134
|
+
context: { dragable: u(e) }
|
|
135
|
+
}),
|
|
136
|
+
{ icon: "dragable-menu" }
|
|
137
|
+
), null, 16),
|
|
138
|
+
M(S(K), {
|
|
139
|
+
"aria-label": e.header,
|
|
140
|
+
disabled: e.fixed,
|
|
141
|
+
label: e.header,
|
|
142
|
+
"model-value": e.visible !== !1,
|
|
143
|
+
selectable: y(e),
|
|
144
|
+
onClick: l[1] || (l[1] = i(() => {
|
|
145
|
+
}, ["stop"])),
|
|
146
|
+
"onUpdate:modelValue": (t) => {
|
|
147
|
+
e.visible = !!t, k(), v();
|
|
148
|
+
},
|
|
149
|
+
class: "!w-full"
|
|
150
|
+
}, null, 8, ["aria-label", "disabled", "label", "model-value", "selectable", "onUpdate:modelValue"])
|
|
151
|
+
], 16, W)) : H("", !0)
|
|
152
|
+
], 64);
|
|
153
|
+
}), 256))
|
|
154
|
+
]));
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
le as default
|
|
159
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../async-components/index-DvjqHrYE.system.js","./helpers/setVisibilityColumn.helper-B1vEZDtD.system.js","../datatable/store/dataTable.store-C9376aEJ.system.js","../../vendor/lodash-es-C3G1Cc1m.system.js"],function(G,Y){"use strict";var w,M,I,B,S,C,E,d,c,p,R,L,x,u,y,D,N,j,A,F,P;return{setters:[l=>{w=l.defineComponent,M=l.mergeModels,I=l.useModel,B=l.ref,S=l.shallowRef,C=l.computed,E=l.watch,d=l.createElementBlock,c=l.openBlock,p=l.Fragment,R=l.renderList,L=l.createCommentVNode,x=l.mergeProps,u=l.withModifiers,y=l.createVNode,D=l.unref},l=>{N=l.I,j=l.C},l=>{A=l.s},l=>{F=l.u},l=>{P=l.c}],execute:function(){const l=["id","data-item-dragable","draggable","onDragenter","onDragstart"],Z=G("default",w({__name:"ColumnList",props:M({tableId:{},defaultColumns:{},visibleColumns:{},maxColumn:{},type:{},savedColumns:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(U,{expose:H}){const o=U,m=I(U,"modelValue"),s=B([]),v=S(),b=C(()=>[...s.value].filter(t=>t.visible!==!1)),$=C(()=>o.maxColumn?b.value.length>=o.maxColumn:!1),f=t=>t.dragable!==!1&&q(t),q=t=>{if(!$.value)return!0;const a=m.value.findIndex(e=>e.field===t.field)>0;return $.value&&a},T=()=>{s.value=A(s.value,o.maxColumn,b.value.length),m.value=[...b.value]},g=async()=>{const t=s.value.map(e=>({field:e.field,width:e.width??"max-content",visible:e.visible!==!1,fixed:!!e.fixed})),{setConfig:a}=await F();await a(o.tableId,t)},J=()=>{m.value=[...s.value]},K=(t,a,e)=>{const{dataTransfer:r}=t;v.value=a,r&&(r.dropEffect="move",r.effectAllowed="move",r.setData("field",a.field),r.setData("index",e.toString()))},O=async()=>{v.value=void 0,J(),await g()},Q=(t,a)=>{var e,r;if(t.preventDefault(),f(a)){const i=t.target,n=i.tagName==="LI"?i:i.closest("li");if(n==null||n.classList.add("bg-primary-50"),(e=n==null?void 0:n.nextElementSibling)==null||e.classList.remove("bg-primary-50"),(r=n==null?void 0:n.previousElementSibling)==null||r.classList.remove("bg-primary-50"),!n||!v.value)return;const h=s.value.findIndex(V=>{var z;return V.field===((z=v.value)==null?void 0:z.field)}),k=s.value.findIndex(V=>V.field===n.id);h!==-1&&k!==-1&&([s.value[h],s.value[k]]=[s.value[k],s.value[h]])}},W=t=>{const a=t.target.querySelector("label");a&&a.click()},X=()=>{const t=P(o.defaultColumns);if(o.maxColumn&&t.length>o.maxColumn){let a=0;s.value=t.map(e=>{const r=o.maxColumn!==void 0&&a<o.maxColumn,i=e.checkedByDefault!==!1&&o.maxColumn===void 0||e.checkedByDefault!==!1&&r;return i&&a++,{...e,visible:i}})}else s.value=t;m.value=[...b.value],g()};return E(()=>o.savedColumns,t=>{s.value=t??[]},{immediate:!0}),H({setColumnVisibilityConfig:g,resetToDefault:X,updateVisibleColumnsModel:T}),(t,a)=>(c(),d("ul",null,[(c(!0),d(p,null,R(s.value,(e,r)=>{var i;return c(),d(p,null,[e.reorderable!==!1?(c(),d("li",x({id:e.field,key:e.field,ref_for:!0},t.$preset.customcolumn.menuitem({props:o,context:{dragable:f(e)}}),{"data-item-dragable":f(e),draggable:f(e),onClick:W,onDragend:O,onDragenter:u(n=>Q(n,e),["prevent"]),onDragleave:a[2]||(a[2]=u(()=>{},["prevent"])),onDragover:a[3]||(a[3]=u(()=>{},["prevent"])),onDragstart:n=>K(n,e,r),onMouseenter:a[4]||(a[4]=n=>n.target.classList.add("bg-primary-50")),onMouseleave:a[5]||(a[5]=n=>n.target.classList.remove("bg-primary-50")),"data-wv-section":"custom-column-menu-item"}),[y(D(N),x({onClick:a[0]||(a[0]=u(()=>{},["stop"])),ref_for:!0},(i=t.$preset.customcolumn)==null?void 0:i.dragicon({context:{dragable:f(e)}}),{icon:"dragable-menu"}),null,16),y(D(j),{"aria-label":e.header,disabled:e.fixed,label:e.header,"model-value":e.visible!==!1,selectable:q(e),onClick:a[1]||(a[1]=u(()=>{},["stop"])),"onUpdate:modelValue":n=>{e.visible=!!n,T(),g()},class:"!w-full"},null,8,["aria-label","disabled","label","model-value","selectable","onUpdate:modelValue"])],16,l)):L("",!0)],64)}),256))]))}}))}}});
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { defineComponent as h, defineAsyncComponent as E, onMounted as N, ref as V, shallowRef as $, computed as k, createElementBlock as H, openBlock as g, Fragment as U, createBlock as T, createCommentVNode as M, unref as u, withCtx as x, createVNode as B, mergeProps as D } from "vue";
|
|
2
|
+
import { h as z } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
3
|
+
import { B as A } from "../../async-components/index-C8nb7p3T.es.js";
|
|
4
|
+
import { u as F } from "../../plugins/WangsVue-Dl5OiLXF.es.js";
|
|
5
|
+
import { s as P } from "./helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js";
|
|
6
|
+
import { u as R } from "../datatable/store/dataTable.store-B4p-hj3w.es.js";
|
|
7
|
+
import { c as S } from "../../vendor/lodash-es-CJerBxJQ.es.js";
|
|
8
|
+
async function W(p, r) {
|
|
9
|
+
const { config: v } = await R(), a = v[p];
|
|
10
|
+
return a ? a.map((l) => {
|
|
11
|
+
const s = r.find((b) => b.field === l.field);
|
|
12
|
+
if (!(!s || s.visible === !1))
|
|
13
|
+
return {
|
|
14
|
+
...s,
|
|
15
|
+
...l
|
|
16
|
+
};
|
|
17
|
+
}).filter((l) => !!l) : r;
|
|
18
|
+
}
|
|
19
|
+
const X = /* @__PURE__ */ h({
|
|
20
|
+
__name: "CustomColumn",
|
|
21
|
+
props: {
|
|
22
|
+
tableId: {},
|
|
23
|
+
defaultColumns: {},
|
|
24
|
+
visibleColumns: {},
|
|
25
|
+
maxColumn: {},
|
|
26
|
+
type: { default: "menu" }
|
|
27
|
+
},
|
|
28
|
+
emits: ["update:visibleColumns"],
|
|
29
|
+
setup(p, { expose: r, emit: v }) {
|
|
30
|
+
const a = E(() => import("./ColumnList-fdR5JfHj.es.js")), l = p, s = v;
|
|
31
|
+
N(() => C());
|
|
32
|
+
const { locale: b } = F("CustomColumn"), n = V(), m = V(), d = $([]), I = k(
|
|
33
|
+
() => "column-visibility-menu-" + l.tableId
|
|
34
|
+
), i = k({
|
|
35
|
+
get: () => l.visibleColumns,
|
|
36
|
+
set: (e) => {
|
|
37
|
+
s(
|
|
38
|
+
"update:visibleColumns",
|
|
39
|
+
e.filter((t) => t.visible != !1)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
}), L = async (e) => {
|
|
43
|
+
if (await C(), m.value && "toggle" in m.value) {
|
|
44
|
+
const t = e.currentTarget ?? e.target, c = t.tagName.toLowerCase() === "th" ? t : t.parentElement, f = {
|
|
45
|
+
...e,
|
|
46
|
+
currentTarget: c
|
|
47
|
+
};
|
|
48
|
+
m.value.toggle(f);
|
|
49
|
+
}
|
|
50
|
+
}, C = async () => {
|
|
51
|
+
const e = await W(
|
|
52
|
+
l.tableId,
|
|
53
|
+
S(l.defaultColumns)
|
|
54
|
+
);
|
|
55
|
+
d.value = P(
|
|
56
|
+
e,
|
|
57
|
+
l.maxColumn,
|
|
58
|
+
e.filter((t) => t.visible !== !1).length
|
|
59
|
+
), i.value = d.value.filter(
|
|
60
|
+
(t) => t.visible !== !1
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
return r({
|
|
64
|
+
toggleMenu: L,
|
|
65
|
+
resetToDefault: () => {
|
|
66
|
+
var e;
|
|
67
|
+
(e = n.value) == null || e.resetToDefault();
|
|
68
|
+
}
|
|
69
|
+
}), (e, t) => {
|
|
70
|
+
var c, f, y, w;
|
|
71
|
+
return g(), H(U, null, [
|
|
72
|
+
l.type === "menu" ? (g(), T(u(z), {
|
|
73
|
+
key: 0,
|
|
74
|
+
id: I.value,
|
|
75
|
+
ref_key: "visibilityMenu",
|
|
76
|
+
ref: m,
|
|
77
|
+
"data-table-id": e.tableId,
|
|
78
|
+
pt: {
|
|
79
|
+
root: {
|
|
80
|
+
class: [...(c = e.$preset.menu) == null ? void 0 : c.root.class, "shadow-panel"]
|
|
81
|
+
},
|
|
82
|
+
start: {
|
|
83
|
+
class: [
|
|
84
|
+
...(f = e.$preset.menu) == null ? void 0 : f.start.class,
|
|
85
|
+
(y = e.$preset.customcolumn) == null ? void 0 : y.menustart.class
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
onHide: (w = n.value) == null ? void 0 : w.setColumnVisibilityConfig,
|
|
90
|
+
"append-to": "body",
|
|
91
|
+
"auto-z-index": "",
|
|
92
|
+
"data-wv-name": "column-visibility",
|
|
93
|
+
"data-wv-section": "menu",
|
|
94
|
+
popup: ""
|
|
95
|
+
}, {
|
|
96
|
+
start: x(() => {
|
|
97
|
+
var o;
|
|
98
|
+
return [
|
|
99
|
+
B(u(A), {
|
|
100
|
+
label: u(b).resetDefaultText,
|
|
101
|
+
onClick: (o = n.value) == null ? void 0 : o.resetToDefault,
|
|
102
|
+
"data-wv-section": "button-reset-default",
|
|
103
|
+
text: ""
|
|
104
|
+
}, null, 8, ["label", "onClick"])
|
|
105
|
+
];
|
|
106
|
+
}),
|
|
107
|
+
end: x(() => [
|
|
108
|
+
B(u(a), D({
|
|
109
|
+
ref_key: "columnList",
|
|
110
|
+
ref: n,
|
|
111
|
+
modelValue: i.value,
|
|
112
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => i.value = o)
|
|
113
|
+
}, l, {
|
|
114
|
+
"saved-columns": d.value,
|
|
115
|
+
"data-wv-section": "custom-column-list"
|
|
116
|
+
}), null, 16, ["modelValue", "saved-columns"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["id", "data-table-id", "pt", "onHide"])) : M("", !0),
|
|
120
|
+
e.type === "flat" ? (g(), T(u(a), D({
|
|
121
|
+
key: 1,
|
|
122
|
+
ref_key: "columnList",
|
|
123
|
+
ref: n,
|
|
124
|
+
modelValue: i.value,
|
|
125
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => i.value = o)
|
|
126
|
+
}, l, {
|
|
127
|
+
class: [
|
|
128
|
+
{ "grid grid-rows-4 grid-flow-col-dense w-max gap-x-4": e.type === "flat" }
|
|
129
|
+
],
|
|
130
|
+
"saved-columns": d.value,
|
|
131
|
+
"data-wv-section": "custom-column-flat-list"
|
|
132
|
+
}), null, 16, ["modelValue", "class", "saved-columns"])) : M("", !0)
|
|
133
|
+
], 64);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
export {
|
|
138
|
+
X as default
|
|
139
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","../../async-components/index-DvjqHrYE.system.js","../../plugins/WangsVue-Dugc3GRS.system.js","./helpers/setVisibilityColumn.helper-B1vEZDtD.system.js","../datatable/store/dataTable.store-C9376aEJ.system.js","../../vendor/lodash-es-C3G1Cc1m.system.js"],function(U,W){"use strict";var x,M,j,y,D,C,L,c,I,g,b,l,w,V,k,N,E,$,A,F,H;return{setters:[e=>{x=e.defineComponent,M=e.defineAsyncComponent,j=e.onMounted,y=e.ref,D=e.shallowRef,C=e.computed,L=e.createElementBlock,c=e.openBlock,I=e.Fragment,g=e.createBlock,b=e.createCommentVNode,l=e.unref,w=e.withCtx,V=e.createVNode,k=e.mergeProps},e=>{N=e.h},e=>{E=e.B},e=>{$=e.u},e=>{A=e.s},e=>{F=e.u},e=>{H=e.c}],execute:function(){async function e(B,m){const{config:T}=await F(),a=T[B];return a?a.map(n=>{const i=m.find(h=>h.field===n.field);if(!(!i||i.visible===!1))return{...i,...n}}).filter(n=>!!n):m}const q=U("default",x({__name:"CustomColumn",props:{tableId:{},defaultColumns:{},visibleColumns:{},maxColumn:{},type:{default:"menu"}},emits:["update:visibleColumns"],setup(B,{expose:m,emit:T}){const a=M(()=>W.import("./ColumnList-yaNVEQFA.system.js")),n=B,i=T;j(()=>P());const{locale:h}=$("CustomColumn"),u=y(),d=y(),f=D([]),z=C(()=>"column-visibility-menu-"+n.tableId),r=C({get:()=>n.visibleColumns,set:t=>{i("update:visibleColumns",t.filter(s=>s.visible!=!1))}}),Z=async t=>{if(await P(),d.value&&"toggle"in d.value){const s=t.currentTarget??t.target,p=s.tagName.toLowerCase()==="th"?s:s.parentElement,v={...t,currentTarget:p};d.value.toggle(v)}},P=async()=>{const t=await e(n.tableId,H(n.defaultColumns));f.value=A(t,n.maxColumn,t.filter(s=>s.visible!==!1).length),r.value=f.value.filter(s=>s.visible!==!1)};return m({toggleMenu:Z,resetToDefault:()=>{var t;(t=u.value)==null||t.resetToDefault()}}),(t,s)=>{var p,v,R,S;return c(),L(I,null,[n.type==="menu"?(c(),g(l(N),{key:0,id:z.value,ref_key:"visibilityMenu",ref:d,"data-table-id":t.tableId,pt:{root:{class:[...(p=t.$preset.menu)==null?void 0:p.root.class,"shadow-panel"]},start:{class:[...(v=t.$preset.menu)==null?void 0:v.start.class,(R=t.$preset.customcolumn)==null?void 0:R.menustart.class]}},onHide:(S=u.value)==null?void 0:S.setColumnVisibilityConfig,"append-to":"body","auto-z-index":"","data-wv-name":"column-visibility","data-wv-section":"menu",popup:""},{start:w(()=>{var o;return[V(l(E),{label:l(h).resetDefaultText,onClick:(o=u.value)==null?void 0:o.resetToDefault,"data-wv-section":"button-reset-default",text:""},null,8,["label","onClick"])]}),end:w(()=>[V(l(a),k({ref_key:"columnList",ref:u,modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=o=>r.value=o)},n,{"saved-columns":f.value,"data-wv-section":"custom-column-list"}),null,16,["modelValue","saved-columns"])]),_:1},8,["id","data-table-id","pt","onHide"])):b("",!0),t.type==="flat"?(c(),g(l(a),k({key:1,ref_key:"columnList",ref:u,modelValue:r.value,"onUpdate:modelValue":s[1]||(s[1]=o=>r.value=o)},n,{class:[{"grid grid-rows-4 grid-flow-col-dense w-max gap-x-4":t.type==="flat"}],"saved-columns":f.value,"data-wv-section":"custom-column-flat-list"}),null,16,["modelValue","class","saved-columns"])):b("",!0)],64)}}}))}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],function(c,u){"use strict";return{execute:function(){const l=c("s",(i,e,n)=>{if(e&&n>e){let s=0;return i.map(t=>{const f=e!==void 0&&s<e,r=t.checkedByDefault!==!1&&e===void 0||t.checkedByDefault!==!1&&f;return r&&s++,{...t,visible:r}})}return i})}}});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const c = (s, e, a) => {
|
|
2
|
+
if (e && a > e) {
|
|
3
|
+
let t = 0;
|
|
4
|
+
return s.map((i) => {
|
|
5
|
+
const f = e !== void 0 && t < e, r = i.checkedByDefault !== !1 && e === void 0 || i.checkedByDefault !== !1 && f;
|
|
6
|
+
return r && t++, {
|
|
7
|
+
...i,
|
|
8
|
+
visible: r
|
|
9
|
+
};
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
return s;
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
c as s
|
|
16
|
+
};
|