@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 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","../fieldwrapper/FieldWrapper-Dc-stQRH.system.js","../icon/Icon-D1a666FC.system.js"],function($,M){"use strict";var u,i,c,m,f,w,g,a,n,d,y,V,h,v,b,B,l;return{setters:[e=>{u=e.defineComponent,i=e.mergeModels,c=e.inject,m=e.useModel,f=e.shallowRef,w=e.createBlock,g=e.openBlock,a=e.withCtx,n=e.createVNode,d=e.unref,y=e.mergeProps,V=e.createSlots,h=e.normalizeClass,v=e.renderSlot},e=>{b=e.b},e=>{B=e.default},e=>{l=e.default}],execute:function(){const e=$("default",u({__name:"LiteDropdown",props:i({modelValue:{type:[String,Number,Boolean,Object]},options:{},optionLabel:{},optionValue:{},mandatory:{type:Boolean},placeholder:{default:"Pilih data"},loading:{type:Boolean},disabled:{type:Boolean},filter:{type:Boolean,default:!0},filterPlaceholder:{default:"Cari"}},{modelValue:{type:[String,Number,Boolean,Object],required:!0},modelModifiers:{}}),emits:i(["update:modelValue","show","change"],["update:modelValue"]),setup(x){const k=c("preset",{}).dropdown,S=m(x,"modelValue"),r=x,p=f(!1);return(s,t)=>(g(),w(B,{mandatory:r.mandatory},{default:a(()=>[n(d(b),y(r,{modelValue:S.value,"onUpdate:modelValue":t[0]||(t[0]=o=>S.value=o),placeholder:r.loading?"Loading...":r.placeholder,pt:{root:({state:o,props:C})=>{var j;return{class:[...(j=d(k))==null?void 0:j.root({state:o,props:C}).class,"text-base",{"cursor-pointer":!C.disabled}],"data-wv-name":"litedropdown"}},input:({props:o})=>({class:["!font-semibold",{"!text-general-200":o.modelValue==null,"!text-grayscale-900":o.modelValue!=null}]})},onChange:t[1]||(t[1]=o=>s.$emit("change",o)),onHide:t[2]||(t[2]=o=>p.value=!1),onShow:t[3]||(t[3]=()=>{s.$emit("show"),p.value=!0}),class:"!w-fit"}),V({dropdownicon:a(()=>[n(l,{class:h(["!w-6 !h-6 !transition-transform !text-general-500",{"rotate-180":p.value}]),icon:"arrow-drop-down"},null,8,["class"])]),loadingicon:a(()=>[n(l,{class:"text-xs animate-spin duration-200",icon:"spinner"})]),filtericon:a(()=>[n(l,{class:"text-xs w-6 h-6",icon:"search-line"})]),_:2},[s.$slots.option?{name:"option",fn:a(({option:o})=>[v(s.$slots,"option",{option:o})]),key:"0"}:void 0]),1040,["modelValue","placeholder","pt"])]),_:3},8,["mandatory"]))}}))}}});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as r, createBlock as i, createCommentVNode as m, unref as o, openBlock as d, Teleport as s, createElementVNode as p, mergeProps as a, createVNode as l, createTextVNode as c, toDisplayString as g } from "vue";
|
|
2
|
+
import { u as _ } from "../assetinfo/AssetInfo-DNsWx4Xv.es.js";
|
|
3
|
+
import u from "../animation/Animation-CCEnvZ_Z.es.js";
|
|
4
|
+
const k = /* @__PURE__ */ r({
|
|
5
|
+
__name: "Loading",
|
|
6
|
+
setup(f) {
|
|
7
|
+
const { loading: t, message: n } = _();
|
|
8
|
+
return (e, v) => o(t) ? (d(), i(s, {
|
|
9
|
+
key: 0,
|
|
10
|
+
to: "body"
|
|
11
|
+
}, [
|
|
12
|
+
p("div", a(e.$preset.loading.root, {
|
|
13
|
+
"data-wv-name": "loading-overlay",
|
|
14
|
+
"data-wv-section": "overlay"
|
|
15
|
+
}), [
|
|
16
|
+
l(u, a({ animation: "loading-page" }, e.$preset.loading.animation), null, 16),
|
|
17
|
+
c(" " + g(o(n)), 1)
|
|
18
|
+
], 16)
|
|
19
|
+
])) : m("", !0);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
k as _
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../assetinfo/AssetInfo-B8KAsqvC.system.js","../animation/Animation-CJb4YIwm.system.js"],function(y,V){"use strict";var o,a,r,t,s,i,c,n,p,g,d,m,f;return{setters:[e=>{o=e.defineComponent,a=e.createBlock,r=e.createCommentVNode,t=e.unref,s=e.openBlock,i=e.Teleport,c=e.createElementVNode,n=e.mergeProps,p=e.createVNode,g=e.createTextVNode,d=e.toDisplayString},e=>{m=e.u},e=>{f=e.default}],execute:function(){const e=y("_",o({__name:"Loading",setup(u){const{loading:_,message:N}=m();return(l,v)=>t(_)?(s(),a(i,{key:0,to:"body"},[c("div",n(l.$preset.loading.root,{"data-wv-name":"loading-overlay","data-wv-section":"overlay"}),[p(f,n({animation:"loading-page"},l.$preset.loading.animation),null,16),g(" "+d(t(N)),1)],16)])):r("",!0)}}))}}});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent as _, ref as w, createBlock as B, openBlock as g, unref as n, mergeProps as x, createSlots as M, withCtx as p, createVNode as $, renderSlot as k } from "vue";
|
|
2
|
+
import { h as I } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
3
|
+
import { e as s } from "../../event-bus/index-PQwO5T6B.es.js";
|
|
4
|
+
import { u as C } from "../../plugins/WangsVue-Dl5OiLXF.es.js";
|
|
5
|
+
import { f as L } from "../buttonbulkaction/ButtonBulkAction-Tdf3aVtp.es.js";
|
|
6
|
+
import { _ as S } from "../menuitem/MenuItem-uLVAqgBS.es.js";
|
|
7
|
+
const N = /* @__PURE__ */ _({
|
|
8
|
+
__name: "Menu",
|
|
9
|
+
props: {
|
|
10
|
+
model: { default: () => [] },
|
|
11
|
+
popup: { type: Boolean, default: !0 },
|
|
12
|
+
appendTo: {},
|
|
13
|
+
autoZIndex: { type: Boolean },
|
|
14
|
+
baseZIndex: {},
|
|
15
|
+
exact: { type: Boolean },
|
|
16
|
+
tabindex: {},
|
|
17
|
+
ariaLabel: {},
|
|
18
|
+
ariaLabelledby: {},
|
|
19
|
+
pt: {},
|
|
20
|
+
ptOptions: {},
|
|
21
|
+
unstyled: { type: Boolean }
|
|
22
|
+
},
|
|
23
|
+
emits: ["focus", "blur"],
|
|
24
|
+
setup(V, { expose: u, emit: i }) {
|
|
25
|
+
const a = i, { locale: m } = C("Menu"), l = +/* @__PURE__ */ new Date(), t = w(), f = (e) => {
|
|
26
|
+
var o;
|
|
27
|
+
(o = t.value) == null || o.toggle(e);
|
|
28
|
+
}, d = (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
(o = t.value) == null || o.show(e);
|
|
31
|
+
}, r = (e) => {
|
|
32
|
+
var o;
|
|
33
|
+
t.value && e.overlayId !== l && ((o = t.value) == null || o.hide());
|
|
34
|
+
}, c = (e) => {
|
|
35
|
+
a("blur", e), setTimeout(() => {
|
|
36
|
+
s.off("overlay:show", r);
|
|
37
|
+
}, 1e3);
|
|
38
|
+
}, y = (e) => {
|
|
39
|
+
s.on("overlay:show", r), s.emit("overlay:show", { overlayId: l }), a("focus", e);
|
|
40
|
+
};
|
|
41
|
+
return u({
|
|
42
|
+
toggle: f,
|
|
43
|
+
show: d,
|
|
44
|
+
hide: r
|
|
45
|
+
}), (e, o) => (g(), B(n(I), x(e.$props, {
|
|
46
|
+
ref_key: "menu",
|
|
47
|
+
ref: t,
|
|
48
|
+
model: n(L)(e.$props.model, n(m).noOptionLabel),
|
|
49
|
+
onBlur: c,
|
|
50
|
+
onFocus: y
|
|
51
|
+
}), M({
|
|
52
|
+
item: p(({ item: h, props: v, index: b }) => [
|
|
53
|
+
$(S, {
|
|
54
|
+
index: b,
|
|
55
|
+
item: h,
|
|
56
|
+
"router-props": v
|
|
57
|
+
}, null, 8, ["index", "item", "router-props"])
|
|
58
|
+
]),
|
|
59
|
+
_: 2
|
|
60
|
+
}, [
|
|
61
|
+
e.$slots.start ? {
|
|
62
|
+
name: "start",
|
|
63
|
+
fn: p(() => [
|
|
64
|
+
k(e.$slots, "start")
|
|
65
|
+
]),
|
|
66
|
+
key: "0"
|
|
67
|
+
} : void 0
|
|
68
|
+
]), 1040, ["model"]));
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
N as default
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","../../event-bus/index-CykcrsqY.system.js","../../plugins/WangsVue-Dugc3GRS.system.js","../buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js","../menuitem/MenuItem-8yxkFTug.system.js"],function(_,Z){"use strict";var l,i,p,c,s,f,m,a,d,y,v,r,b,h,B;return{setters:[e=>{l=e.defineComponent,i=e.ref,p=e.createBlock,c=e.openBlock,s=e.unref,f=e.mergeProps,m=e.createSlots,a=e.withCtx,d=e.createVNode,y=e.renderSlot},e=>{v=e.h},e=>{r=e.e},e=>{b=e.u},e=>{h=e.f},e=>{B=e._}],execute:function(){const e=_("default",l({__name:"Menu",props:{model:{default:()=>[]},popup:{type:Boolean,default:!0},appendTo:{},autoZIndex:{type:Boolean},baseZIndex:{},exact:{type:Boolean},tabindex:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},emits:["focus","blur"],setup(N,{expose:k,emit:x}){const g=x,{locale:M}=b("Menu"),w=+new Date,n=i(),S=t=>{var o;(o=n.value)==null||o.toggle(t)},j=t=>{var o;(o=n.value)==null||o.show(t)},u=t=>{var o;n.value&&t.overlayId!==w&&((o=n.value)==null||o.hide())},C=t=>{g("blur",t),setTimeout(()=>{r.off("overlay:show",u)},1e3)},I=t=>{r.on("overlay:show",u),r.emit("overlay:show",{overlayId:w}),g("focus",t)};return k({toggle:S,show:j,hide:u}),(t,o)=>(c(),p(s(v),f(t.$props,{ref_key:"menu",ref:n,model:s(h)(t.$props.model,s(M).noOptionLabel),onBlur:C,onFocus:I}),m({item:a(({item:V,props:$,index:L})=>[d(B,{index:L,item:V,"router-props":$},null,8,["index","item","router-props"])]),_:2},[t.$slots.start?{name:"start",fn:a(()=>[y(t.$slots,"start")]),key:"0"}:void 0]),1040,["model"]))}}))}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../icon/Icon-D1a666FC.system.js"],function(N,I){"use strict";var k,P,i,l,n,g,s,o,a,m,u,c,d,p;return{setters:[e=>{k=e.defineComponent,P=e.resolveComponent,i=e.createBlock,l=e.createElementBlock,n=e.openBlock,g=e.withCtx,s=e.createElementVNode,o=e.mergeProps,a=e.createCommentVNode,m=e.normalizeProps,u=e.guardReactiveProps,c=e.toDisplayString,d=e.withModifiers},e=>{p=e.default}],execute:function(){const e=["href","onClick"],V=["href","target"],R=N("_",k({__name:"MenuItem",props:{item:{},routerProps:{}},setup(M){const t=M;return(r,f)=>{var y,C,h,v,b,B;const S=P("router-link");return t.item.route?(n(),i(S,{key:0,to:t.item.route,custom:""},{default:g(({href:z,navigate:D})=>{var _,w,E;return[s("a",o({href:z},(_=r.routerProps)==null?void 0:_.action,{onClick:D}),[t.item.icon?(n(),i(p,o({key:0},(w=r.routerProps)==null?void 0:w.icon,{icon:t.item.icon}),null,16,["icon"])):a("",!0),s("span",m(u((E=r.routerProps)==null?void 0:E.label)),c(t.item.label),17)],16,e)]}),_:1},8,["to"])):t.item.url?(n(),l("a",o({key:1,href:t.item.url,target:t.item.target},(y=r.routerProps)==null?void 0:y.action,{onClick:f[0]||(f[0]=d(()=>{},["stop"]))}),[t.item.icon?(n(),i(p,o({key:0},(C=r.routerProps)==null?void 0:C.icon,{icon:t.item.icon}),null,16,["icon"])):a("",!0),s("span",m(u((h=r.routerProps)==null?void 0:h.label)),c(t.item.label),17)],16,V)):(n(),l("a",o({key:2},(v=r.routerProps)==null?void 0:v.action,{"aria-hidden":"true","data-pc-section":"action",tabindex:"-1"}),[t.item.icon?(n(),i(p,o({key:0,icon:t.item.icon,severity:t.item.danger?"danger":void 0},(b=r.routerProps)==null?void 0:b.icon),null,16,["icon","severity"])):a("",!0),s("span",o((B=r.$preset.menu)==null?void 0:B.label({props:{danger:t.item.danger}}),{"data-pc-section":"label"}),c(t.item.label),17)],16))}}}))}}});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineComponent as E, resolveComponent as M, createBlock as i, createElementBlock as b, openBlock as r, withCtx as N, createElementVNode as n, mergeProps as t, createCommentVNode as a, normalizeProps as h, guardReactiveProps as C, toDisplayString as s, withModifiers as V } from "vue";
|
|
2
|
+
import l from "../icon/Icon-C4kXVcEX.es.js";
|
|
3
|
+
const $ = ["href", "onClick"], z = ["href", "target"], R = /* @__PURE__ */ E({
|
|
4
|
+
__name: "MenuItem",
|
|
5
|
+
props: {
|
|
6
|
+
item: {},
|
|
7
|
+
routerProps: {}
|
|
8
|
+
},
|
|
9
|
+
setup(_) {
|
|
10
|
+
const e = _;
|
|
11
|
+
return (o, m) => {
|
|
12
|
+
var p, c, u, d, k, P;
|
|
13
|
+
const v = M("router-link");
|
|
14
|
+
return e.item.route ? (r(), i(v, {
|
|
15
|
+
key: 0,
|
|
16
|
+
to: e.item.route,
|
|
17
|
+
custom: ""
|
|
18
|
+
}, {
|
|
19
|
+
default: N(({ href: B, navigate: w }) => {
|
|
20
|
+
var f, g, y;
|
|
21
|
+
return [
|
|
22
|
+
n("a", t({ href: B }, (f = o.routerProps) == null ? void 0 : f.action, { onClick: w }), [
|
|
23
|
+
e.item.icon ? (r(), i(l, t({ key: 0 }, (g = o.routerProps) == null ? void 0 : g.icon, {
|
|
24
|
+
icon: e.item.icon
|
|
25
|
+
}), null, 16, ["icon"])) : a("", !0),
|
|
26
|
+
n("span", h(C((y = o.routerProps) == null ? void 0 : y.label)), s(e.item.label), 17)
|
|
27
|
+
], 16, $)
|
|
28
|
+
];
|
|
29
|
+
}),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["to"])) : e.item.url ? (r(), b("a", t({
|
|
32
|
+
key: 1,
|
|
33
|
+
href: e.item.url,
|
|
34
|
+
target: e.item.target
|
|
35
|
+
}, (p = o.routerProps) == null ? void 0 : p.action, {
|
|
36
|
+
onClick: m[0] || (m[0] = V(() => {
|
|
37
|
+
}, ["stop"]))
|
|
38
|
+
}), [
|
|
39
|
+
e.item.icon ? (r(), i(l, t({ key: 0 }, (c = o.routerProps) == null ? void 0 : c.icon, {
|
|
40
|
+
icon: e.item.icon
|
|
41
|
+
}), null, 16, ["icon"])) : a("", !0),
|
|
42
|
+
n("span", h(C((u = o.routerProps) == null ? void 0 : u.label)), s(e.item.label), 17)
|
|
43
|
+
], 16, z)) : (r(), b("a", t({ key: 2 }, (d = o.routerProps) == null ? void 0 : d.action, {
|
|
44
|
+
"aria-hidden": "true",
|
|
45
|
+
"data-pc-section": "action",
|
|
46
|
+
tabindex: "-1"
|
|
47
|
+
}), [
|
|
48
|
+
e.item.icon ? (r(), i(l, t({
|
|
49
|
+
key: 0,
|
|
50
|
+
icon: e.item.icon,
|
|
51
|
+
severity: e.item.danger ? "danger" : void 0
|
|
52
|
+
}, (k = o.routerProps) == null ? void 0 : k.icon), null, 16, ["icon", "severity"])) : a("", !0),
|
|
53
|
+
n("span", t(
|
|
54
|
+
(P = o.$preset.menu) == null ? void 0 : P.label({
|
|
55
|
+
props: { danger: e.item.danger }
|
|
56
|
+
}),
|
|
57
|
+
{ "data-pc-section": "label" }
|
|
58
|
+
), s(e.item.label), 17)
|
|
59
|
+
], 16));
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
export {
|
|
64
|
+
R as _
|
|
65
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { defineComponent as z, onMounted as E, onUnmounted as T, inject as U, shallowRef as A, ref as R, reactive as D, computed as h, watch as v, createBlock as V, openBlock as w, withCtx as t, createVNode as i, normalizeClass as F, renderSlot as H, unref as s, mergeProps as k, createSlots as W, normalizeProps as p, guardReactiveProps as f, withModifiers as q, createElementVNode as G, toDisplayString as J, createCommentVNode as K } from "vue";
|
|
2
|
+
import { o as Q } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
3
|
+
import { u as X } from "../../vendor/vee-validate-RE5RuswC.es.js";
|
|
4
|
+
import { e as S } from "../../event-bus/index-PQwO5T6B.es.js";
|
|
5
|
+
import { u as Y } from "../../plugins/WangsVue-Dl5OiLXF.es.js";
|
|
6
|
+
import { f as Z } from "../dropdown/Dropdown-Dk4urj-W.es.js";
|
|
7
|
+
import { a as ee } from "../../utils/textFormatter.util-CYul3RpH.es.js";
|
|
8
|
+
import { _ as M } from "../button/Button-CgkhMnxo.es.js";
|
|
9
|
+
import le from "../fieldwrapper/FieldWrapper-DmOogUM5.es.js";
|
|
10
|
+
import c from "../icon/Icon-C4kXVcEX.es.js";
|
|
11
|
+
import { _ as oe } from "../inputgroup/InputGroup-CUxNAtDZ.es.js";
|
|
12
|
+
import { _ as ae } from "../validatormessage/ValidatorMessage-BtKfBXzO.es.js";
|
|
13
|
+
const he = /* @__PURE__ */ z({
|
|
14
|
+
__name: "MultiSelect",
|
|
15
|
+
props: {
|
|
16
|
+
modelValue: {},
|
|
17
|
+
initialValue: {},
|
|
18
|
+
label: {},
|
|
19
|
+
options: {},
|
|
20
|
+
optionLabel: {},
|
|
21
|
+
optionValue: {},
|
|
22
|
+
useValidator: { type: Boolean },
|
|
23
|
+
mandatory: { type: Boolean },
|
|
24
|
+
showOptionalText: { type: Boolean, default: void 0 },
|
|
25
|
+
validatorMessage: {},
|
|
26
|
+
fieldName: {},
|
|
27
|
+
placeholder: {},
|
|
28
|
+
loading: { type: Boolean },
|
|
29
|
+
fieldInfo: {},
|
|
30
|
+
controls: { type: Boolean },
|
|
31
|
+
disabled: { type: Boolean },
|
|
32
|
+
filter: { type: Boolean, default: !0 },
|
|
33
|
+
filterPlaceholder: {},
|
|
34
|
+
display: { default: "chip" },
|
|
35
|
+
selectedItemsLabel: {},
|
|
36
|
+
maxSelectedLabels: {}
|
|
37
|
+
},
|
|
38
|
+
emits: ["update:modelValue", "show", "hide"],
|
|
39
|
+
setup(B, { expose: C, emit: L }) {
|
|
40
|
+
const e = B, P = L;
|
|
41
|
+
E(() => {
|
|
42
|
+
x(), S.on("multi-select:hide-overlay", y);
|
|
43
|
+
}), T(() => {
|
|
44
|
+
S.off("multi-select:hide-overlay");
|
|
45
|
+
});
|
|
46
|
+
const { locale: m } = Y("MultiSelect"), n = U("preset", {}).multiselect, u = A(!1), d = R(), a = D({
|
|
47
|
+
value: e.initialValue ? e.initialValue : e.modelValue
|
|
48
|
+
}), $ = h(() => Z(e.options)), O = h(() => {
|
|
49
|
+
var l;
|
|
50
|
+
return m.emptySelectionErrorMessage.replace("{label}", e.label).replace(
|
|
51
|
+
"{formattedLabel}",
|
|
52
|
+
(l = ee(e.label)) == null ? void 0 : l.toLowerCase()
|
|
53
|
+
);
|
|
54
|
+
}), _ = h(() => {
|
|
55
|
+
var l;
|
|
56
|
+
return e.loading ? m.loadingPlaceholder : e.placeholder ?? ((l = m.inputPlaceholder) == null ? void 0 : l.replace("{label}", e.label ?? "").replace("{lowercaseLabel}", (e.label ?? "").toLowerCase()));
|
|
57
|
+
}), x = () => {
|
|
58
|
+
var l;
|
|
59
|
+
e.useValidator && (Object.assign(
|
|
60
|
+
a,
|
|
61
|
+
X(e.fieldName ?? "multiSelect", (o) => !(Array.isArray(o) && o.length) && e.mandatory ? typeof e.validatorMessage == "object" && "empty" in e.validatorMessage ? e.validatorMessage.empty : e.validatorMessage ?? O.value : !0)
|
|
62
|
+
), (l = e.initialValue) != null && l.length && (a.value = e.initialValue));
|
|
63
|
+
}, g = () => {
|
|
64
|
+
d.value && d.value.show();
|
|
65
|
+
}, y = () => {
|
|
66
|
+
d.value && d.value.hide();
|
|
67
|
+
}, I = (l) => {
|
|
68
|
+
const o = l != null && l.length ? l : void 0;
|
|
69
|
+
P("update:modelValue", o);
|
|
70
|
+
};
|
|
71
|
+
return v(
|
|
72
|
+
() => a.value,
|
|
73
|
+
() => {
|
|
74
|
+
I(a.value);
|
|
75
|
+
}
|
|
76
|
+
), v(
|
|
77
|
+
() => e.modelValue,
|
|
78
|
+
(l) => {
|
|
79
|
+
a.value = l;
|
|
80
|
+
}
|
|
81
|
+
), v(
|
|
82
|
+
() => e.initialValue,
|
|
83
|
+
(l) => {
|
|
84
|
+
a.value = l;
|
|
85
|
+
},
|
|
86
|
+
{ once: !0 }
|
|
87
|
+
), C({
|
|
88
|
+
isShowOverlay: u,
|
|
89
|
+
showOverlay: g,
|
|
90
|
+
hideOverlay: y
|
|
91
|
+
}), (l, o) => (w(), V(le, {
|
|
92
|
+
info: l.fieldInfo,
|
|
93
|
+
label: e.label,
|
|
94
|
+
mandatory: e.mandatory,
|
|
95
|
+
"show-optional-text": l.showOptionalText
|
|
96
|
+
}, {
|
|
97
|
+
default: t(() => [
|
|
98
|
+
i(oe, {
|
|
99
|
+
class: F({ "rounded-none !ring-0 !w-max": l.controls }),
|
|
100
|
+
disabled: e.disabled,
|
|
101
|
+
invalid: !!a.errorMessage
|
|
102
|
+
}, {
|
|
103
|
+
default: t(() => {
|
|
104
|
+
var b;
|
|
105
|
+
return [
|
|
106
|
+
i(s(Q), k(e, {
|
|
107
|
+
ref_key: "multiselect",
|
|
108
|
+
ref: d,
|
|
109
|
+
modelValue: a.value,
|
|
110
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => a.value = r),
|
|
111
|
+
"aria-describedby": e.label + "error",
|
|
112
|
+
class: [
|
|
113
|
+
{
|
|
114
|
+
"invisible !w-0": l.controls
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
display: e.display,
|
|
118
|
+
"filter-placeholder": e.filterPlaceholder || s(m).filterPlaceholder,
|
|
119
|
+
"max-selected-labels": e.maxSelectedLabels,
|
|
120
|
+
options: $.value,
|
|
121
|
+
placeholder: _.value,
|
|
122
|
+
"selected-items-label": e.selectedItemsLabel,
|
|
123
|
+
"show-toggle-all": e.filter,
|
|
124
|
+
"virtual-scroller-options": (((b = l.options) == null ? void 0 : b.length) ?? 0) > 10 ? { itemSize: 32 } : void 0,
|
|
125
|
+
onHide: o[1] || (o[1] = (r) => (u.value = !1, l.$emit("hide"))),
|
|
126
|
+
onShow: o[2] || (o[2] = (r) => (l.$emit("show"), u.value = !0))
|
|
127
|
+
}), W({
|
|
128
|
+
dropdownicon: t(() => [
|
|
129
|
+
i(c, p(f(s(n).dropdownicon({ state: { isShowOverlay: u.value } }))), null, 16)
|
|
130
|
+
]),
|
|
131
|
+
headercheckboxicon: t(() => [
|
|
132
|
+
i(c, { icon: "check" })
|
|
133
|
+
]),
|
|
134
|
+
itemcheckboxicon: t(() => [
|
|
135
|
+
i(c, { icon: "check" })
|
|
136
|
+
]),
|
|
137
|
+
filtericon: t(() => [
|
|
138
|
+
i(c, p(f(s(n).filtericon)), null, 16)
|
|
139
|
+
]),
|
|
140
|
+
removetokenicon: t(({ removeCallback: r, item: N }) => [
|
|
141
|
+
i(M, k({
|
|
142
|
+
onClick: q((j) => r(j, N), ["stop"])
|
|
143
|
+
}, s(n).removeTokenIcon, {
|
|
144
|
+
icon: "close",
|
|
145
|
+
rounded: "",
|
|
146
|
+
severity: "dark",
|
|
147
|
+
text: ""
|
|
148
|
+
}), null, 16, ["onClick"])
|
|
149
|
+
]),
|
|
150
|
+
loadingicon: t(() => [
|
|
151
|
+
i(c, p(f(s(n).loadingicon)), null, 16)
|
|
152
|
+
]),
|
|
153
|
+
_: 2
|
|
154
|
+
}, [
|
|
155
|
+
l.loading ? {
|
|
156
|
+
name: "value",
|
|
157
|
+
fn: t(({ placeholder: r }) => [
|
|
158
|
+
G("span", p(f(s(n).loadingplaceholder)), J(r), 17)
|
|
159
|
+
]),
|
|
160
|
+
key: "0"
|
|
161
|
+
} : void 0
|
|
162
|
+
]), 1040, ["modelValue", "aria-describedby", "class", "display", "filter-placeholder", "max-selected-labels", "options", "placeholder", "selected-items-label", "show-toggle-all", "virtual-scroller-options"]),
|
|
163
|
+
H(l.$slots, "trigger", {
|
|
164
|
+
disabled: e.disabled
|
|
165
|
+
}, () => [
|
|
166
|
+
l.controls ? (w(), V(M, {
|
|
167
|
+
key: 0,
|
|
168
|
+
disabled: e.disabled,
|
|
169
|
+
onClick: g,
|
|
170
|
+
class: "!rounded !ring-0",
|
|
171
|
+
icon: "add"
|
|
172
|
+
}, null, 8, ["disabled"])) : K("", !0)
|
|
173
|
+
])
|
|
174
|
+
];
|
|
175
|
+
}),
|
|
176
|
+
_: 3
|
|
177
|
+
}, 8, ["class", "disabled", "invalid"]),
|
|
178
|
+
i(ae, {
|
|
179
|
+
id: e.label + "error",
|
|
180
|
+
message: a.errorMessage
|
|
181
|
+
}, null, 8, ["id", "message"])
|
|
182
|
+
]),
|
|
183
|
+
_: 3
|
|
184
|
+
}, 8, ["info", "label", "mandatory", "show-optional-text"]));
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
export {
|
|
188
|
+
he as default
|
|
189
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","../../vendor/vee-validate-Cc_B-qII.system.js","../../event-bus/index-CykcrsqY.system.js","../../plugins/WangsVue-Dugc3GRS.system.js","../dropdown/Dropdown-BNzT2uLU.system.js","../../utils/textFormatter.util-BjenkyWf.system.js","../button/Button-D892iaxz.system.js","../fieldwrapper/FieldWrapper-Dc-stQRH.system.js","../icon/Icon-D1a666FC.system.js","../inputgroup/InputGroup-CTHxHL8n.system.js","../validatormessage/ValidatorMessage-VVfyqlRF.system.js"],function(q,ie){"use strict";var M,j,C,B,P,x,L,f,v,b,g,o,s,$,O,n,V,N,c,u,I,_,z,E,R,U,w,D,F,T,S,W,d,A,G;return{setters:[e=>{M=e.defineComponent,j=e.onMounted,C=e.onUnmounted,B=e.inject,P=e.shallowRef,x=e.ref,L=e.reactive,f=e.computed,v=e.watch,b=e.createBlock,g=e.openBlock,o=e.withCtx,s=e.createVNode,$=e.normalizeClass,O=e.renderSlot,n=e.unref,V=e.mergeProps,N=e.createSlots,c=e.normalizeProps,u=e.guardReactiveProps,I=e.withModifiers,_=e.createElementVNode,z=e.toDisplayString,E=e.createCommentVNode},e=>{R=e.o},e=>{U=e.u},e=>{w=e.e},e=>{D=e.u},e=>{F=e.f},e=>{T=e.a},e=>{S=e._},e=>{W=e.default},e=>{d=e.default},e=>{A=e._},e=>{G=e._}],execute:function(){const e=q("default",M({__name:"MultiSelect",props:{modelValue:{},initialValue:{},label:{},options:{},optionLabel:{},optionValue:{},useValidator:{type:Boolean},mandatory:{type:Boolean},showOptionalText:{type:Boolean,default:void 0},validatorMessage:{},fieldName:{},placeholder:{},loading:{type:Boolean},fieldInfo:{},controls:{type:Boolean},disabled:{type:Boolean},filter:{type:Boolean,default:!0},filterPlaceholder:{},display:{default:"chip"},selectedItemsLabel:{},maxSelectedLabels:{}},emits:["update:modelValue","show","hide"],setup(J,{expose:K,emit:Q}){const l=J,X=Q;j(()=>{ae(),w.on("multi-select:hide-overlay",Z)}),C(()=>{w.off("multi-select:hide-overlay")});const{locale:y}=D("MultiSelect"),p=B("preset",{}).multiselect,h=P(!1),m=x(),i=L({value:l.initialValue?l.initialValue:l.modelValue}),Y=f(()=>F(l.options)),ee=f(()=>{var a;return y.emptySelectionErrorMessage.replace("{label}",l.label).replace("{formattedLabel}",(a=T(l.label))==null?void 0:a.toLowerCase())}),le=f(()=>{var a;return l.loading?y.loadingPlaceholder:l.placeholder??((a=y.inputPlaceholder)==null?void 0:a.replace("{label}",l.label??"").replace("{lowercaseLabel}",(l.label??"").toLowerCase()))}),ae=()=>{var a;l.useValidator&&(Object.assign(i,U(l.fieldName??"multiSelect",t=>!(Array.isArray(t)&&t.length)&&l.mandatory?typeof l.validatorMessage=="object"&&"empty"in l.validatorMessage?l.validatorMessage.empty:l.validatorMessage??ee.value:!0)),(a=l.initialValue)!=null&&a.length&&(i.value=l.initialValue))},H=()=>{m.value&&m.value.show()},Z=()=>{m.value&&m.value.hide()},te=a=>{const t=a!=null&&a.length?a:void 0;X("update:modelValue",t)};return v(()=>i.value,()=>{te(i.value)}),v(()=>l.modelValue,a=>{i.value=a}),v(()=>l.initialValue,a=>{i.value=a},{once:!0}),K({isShowOverlay:h,showOverlay:H,hideOverlay:Z}),(a,t)=>(g(),b(W,{info:a.fieldInfo,label:l.label,mandatory:l.mandatory,"show-optional-text":a.showOptionalText},{default:o(()=>[s(A,{class:$({"rounded-none !ring-0 !w-max":a.controls}),disabled:l.disabled,invalid:!!i.errorMessage},{default:o(()=>{var k;return[s(n(R),V(l,{ref_key:"multiselect",ref:m,modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=r=>i.value=r),"aria-describedby":l.label+"error",class:[{"invisible !w-0":a.controls}],display:l.display,"filter-placeholder":l.filterPlaceholder||n(y).filterPlaceholder,"max-selected-labels":l.maxSelectedLabels,options:Y.value,placeholder:le.value,"selected-items-label":l.selectedItemsLabel,"show-toggle-all":l.filter,"virtual-scroller-options":(((k=a.options)==null?void 0:k.length)??0)>10?{itemSize:32}:void 0,onHide:t[1]||(t[1]=r=>(h.value=!1,a.$emit("hide"))),onShow:t[2]||(t[2]=r=>(a.$emit("show"),h.value=!0))}),N({dropdownicon:o(()=>[s(d,c(u(n(p).dropdownicon({state:{isShowOverlay:h.value}}))),null,16)]),headercheckboxicon:o(()=>[s(d,{icon:"check"})]),itemcheckboxicon:o(()=>[s(d,{icon:"check"})]),filtericon:o(()=>[s(d,c(u(n(p).filtericon)),null,16)]),removetokenicon:o(({removeCallback:r,item:oe})=>[s(S,V({onClick:I(se=>r(se,oe),["stop"])},n(p).removeTokenIcon,{icon:"close",rounded:"",severity:"dark",text:""}),null,16,["onClick"])]),loadingicon:o(()=>[s(d,c(u(n(p).loadingicon)),null,16)]),_:2},[a.loading?{name:"value",fn:o(({placeholder:r})=>[_("span",c(u(n(p).loadingplaceholder)),z(r),17)]),key:"0"}:void 0]),1040,["modelValue","aria-describedby","class","display","filter-placeholder","max-selected-labels","options","placeholder","selected-items-label","show-toggle-all","virtual-scroller-options"]),O(a.$slots,"trigger",{disabled:l.disabled},()=>[a.controls?(g(),b(S,{key:0,disabled:l.disabled,onClick:H,class:"!rounded !ring-0",icon:"add"},null,8,["disabled"])):E("",!0)])]}),_:3},8,["class","disabled","invalid"]),s(G,{id:l.label+"error",message:i.errorMessage},null,8,["id","message"])]),_:3},8,["info","label","mandatory","show-optional-text"]))}}))}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","../../event-bus/index-CykcrsqY.system.js"],function(v,O){"use strict";var a,r,l,i,c,p,u,d,f,s;return{setters:[e=>{a=e.defineComponent,r=e.ref,l=e.createBlock,i=e.openBlock,c=e.unref,p=e.mergeProps,u=e.withCtx,d=e.renderSlot},e=>{f=e.d},e=>{s=e.e}],execute:function(){const e=v("default",a({__name:"OverlayPanel",props:{dismissable:{type:Boolean,default:!0},dismissableOverlay:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!1},baseZIndex:{default:0},autoZIndex:{type:Boolean,default:!0},breakpoints:{},closeIcon:{},pt:{},ptOptions:{},unstyled:{type:Boolean,default:!1},closeOnEscape:{type:Boolean,default:!0}},setup(h,{expose:w}){const n=+new Date,t=r(),B=h,g=()=>{s.off("overlay:show",y)},y=o=>{t.value&&o.overlayId!==n&&B.dismissableOverlay&&t.value.hide()},m=async()=>{s.emit("overlay:show",{overlayId:n}),s.on("overlay:show",y)};return w({toggle:o=>{t.value.toggle(o)},hide:()=>{t.value.hide()},show:o=>{t.value.show(o)}}),(o,I)=>(i(),l(c(f),p(o.$props,{id:n,ref_key:"op",ref:t,onHide:g,onShow:m}),{default:u(()=>[d(o.$slots,"default")]),_:3},16))}}))}}});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as u, ref as i, createBlock as f, openBlock as c, unref as y, mergeProps as v, withCtx as h, renderSlot as m } from "vue";
|
|
2
|
+
import { d as w } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
3
|
+
import { e as a } from "../../event-bus/index-PQwO5T6B.es.js";
|
|
4
|
+
const x = /* @__PURE__ */ u({
|
|
5
|
+
__name: "OverlayPanel",
|
|
6
|
+
props: {
|
|
7
|
+
dismissable: { type: Boolean, default: !0 },
|
|
8
|
+
dismissableOverlay: { type: Boolean, default: !0 },
|
|
9
|
+
showCloseIcon: { type: Boolean, default: !1 },
|
|
10
|
+
baseZIndex: { default: 0 },
|
|
11
|
+
autoZIndex: { type: Boolean, default: !0 },
|
|
12
|
+
breakpoints: {},
|
|
13
|
+
closeIcon: {},
|
|
14
|
+
pt: {},
|
|
15
|
+
ptOptions: {},
|
|
16
|
+
unstyled: { type: Boolean, default: !1 },
|
|
17
|
+
closeOnEscape: { type: Boolean, default: !0 }
|
|
18
|
+
},
|
|
19
|
+
setup(l, { expose: n }) {
|
|
20
|
+
const t = +/* @__PURE__ */ new Date(), o = i(), r = l, d = () => {
|
|
21
|
+
a.off("overlay:show", s);
|
|
22
|
+
}, s = (e) => {
|
|
23
|
+
o.value && e.overlayId !== t && r.dismissableOverlay && o.value.hide();
|
|
24
|
+
}, p = async () => {
|
|
25
|
+
a.emit("overlay:show", { overlayId: t }), a.on("overlay:show", s);
|
|
26
|
+
};
|
|
27
|
+
return n({ toggle: (e) => {
|
|
28
|
+
o.value.toggle(e);
|
|
29
|
+
}, hide: () => {
|
|
30
|
+
o.value.hide();
|
|
31
|
+
}, show: (e) => {
|
|
32
|
+
o.value.show(e);
|
|
33
|
+
} }), (e, I) => (c(), f(y(w), v(e.$props, {
|
|
34
|
+
id: t,
|
|
35
|
+
ref_key: "op",
|
|
36
|
+
ref: o,
|
|
37
|
+
onHide: d,
|
|
38
|
+
onShow: p
|
|
39
|
+
}), {
|
|
40
|
+
default: h(() => [
|
|
41
|
+
m(e.$slots, "default")
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
x as default
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../../vendor/primevue-C5Z_k4WB.system.js","vue-router","../icon/Icon-D1a666FC.system.js"],function(E,U){"use strict";var _,g,h,B,w,M,s,r,i,y,P,v,u,I,k,m,b,R,T,C;return{setters:[e=>{_=e.defineComponent,g=e.mergeModels,h=e.useModel,B=e.inject,w=e.watch,M=e.resolveComponent,s=e.createBlock,r=e.openBlock,i=e.unref,y=e.withCtx,P=e.createElementBlock,v=e.createElementVNode,u=e.mergeProps,I=e.createCommentVNode,k=e.normalizeProps,m=e.guardReactiveProps,b=e.toDisplayString},e=>{R=e.p},e=>{T=e.useRoute},e=>{C=e.default}],execute:function(){const e=["href","onClick"],L=["href","target"],$=E("default",_({__name:"TabMenu",props:g({menu:{},type:{default:"tab"},activeIndex:{},useTrailingLine:{type:Boolean,default:!0},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},{activeIndex:{default:0},activeIndexModifiers:{}}),emits:g(["tabChange","update:activeIndex"],["update:activeIndex"]),setup(j,{emit:N}){const c=j,V=N,l=h(j,"activeIndex"),S=T(),x=B("preset",{}).tabmenu,z=c.useTrailingLine&&c.type==="tab"?x:{...x,inkbar:{class:"hidden"}},D=d=>{const o=t=>{var p;let n=(p=c.menu)==null?void 0:p.findIndex(a=>a.route&&t===a.route);if(n===-1&&t.includes("/")){const a=t.substring(0,t.lastIndexOf("/"));n=o(a)}return n},f=o(d);l.value=f===-1?c.activeIndex:f};return w(()=>S.path,d=>{D(d)},{immediate:!0}),(d,o)=>{const f=M("router-link");return r(),s(i(R),{"active-index":l.value,"onUpdate:activeIndex":o[0]||(o[0]=t=>l.value=t),model:d.menu,pt:i(z),onTabChange:o[1]||(o[1]=t=>V("tabChange",t)),"data-wv-name":"tabmenu"},{item:y(({item:t,props:n,index:p,active:a})=>[t.route?(r(),s(f,{key:0,to:t.route,custom:""},{default:y(({href:O,navigate:A})=>[v("a",u({href:O},i(x).action({context:{item:t,index:p,type:c.type},state:{active:a,d_activeIndex:l.value}}),{onClick:A}),[t.icon?(r(),s(C,u({key:0},n.icon,{icon:t.icon}),null,16,["icon"])):I("",!0),v("span",k(m(n.label)),b(t.label),17)],16,e)]),_:2},1032,["to"])):(r(),P("a",u({key:1,href:t.url,target:t.target},i(x).action({context:{item:t,index:p,type:c.type},state:{active:a,d_activeIndex:l.value}})),[t.icon?(r(),s(C,u({key:0},n.icon,{icon:t.icon}),null,16,["icon"])):I("",!0),v("span",k(m(n.label)),b(t.label),17)],16,L))]),_:1},8,["active-index","model","pt"])}}}))}}});
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as P, mergeModels as x, useModel as R, inject as E, watch as N, resolveComponent as O, createBlock as d, openBlock as s, unref as p, withCtx as I, createElementBlock as V, createElementVNode as f, mergeProps as m, createCommentVNode as y, normalizeProps as b, guardReactiveProps as g, toDisplayString as k } from "vue";
|
|
2
|
+
import { p as j } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
3
|
+
import { useRoute as z } from "vue-router";
|
|
4
|
+
import _ from "../icon/Icon-C4kXVcEX.es.js";
|
|
5
|
+
const A = ["href", "onClick"], D = ["href", "target"], F = /* @__PURE__ */ P({
|
|
6
|
+
__name: "TabMenu",
|
|
7
|
+
props: /* @__PURE__ */ x({
|
|
8
|
+
menu: {},
|
|
9
|
+
type: { default: "tab" },
|
|
10
|
+
activeIndex: {},
|
|
11
|
+
useTrailingLine: { type: Boolean, default: !0 },
|
|
12
|
+
ariaLabel: {},
|
|
13
|
+
ariaLabelledby: {},
|
|
14
|
+
pt: {},
|
|
15
|
+
ptOptions: {},
|
|
16
|
+
unstyled: { type: Boolean }
|
|
17
|
+
}, {
|
|
18
|
+
activeIndex: {
|
|
19
|
+
default: 0
|
|
20
|
+
},
|
|
21
|
+
activeIndexModifiers: {}
|
|
22
|
+
}),
|
|
23
|
+
emits: /* @__PURE__ */ x(["tabChange", "update:activeIndex"], ["update:activeIndex"]),
|
|
24
|
+
setup(v, { emit: h }) {
|
|
25
|
+
const a = v, C = h, i = R(v, "activeIndex"), B = z(), l = E("preset", {}).tabmenu, T = a.useTrailingLine && a.type === "tab" ? l : {
|
|
26
|
+
...l,
|
|
27
|
+
inkbar: {
|
|
28
|
+
class: "hidden"
|
|
29
|
+
}
|
|
30
|
+
}, w = (r) => {
|
|
31
|
+
const n = (e) => {
|
|
32
|
+
var c;
|
|
33
|
+
let t = (c = a.menu) == null ? void 0 : c.findIndex(
|
|
34
|
+
(o) => o.route && e === o.route
|
|
35
|
+
);
|
|
36
|
+
if (t === -1 && e.includes("/")) {
|
|
37
|
+
const o = e.substring(0, e.lastIndexOf("/"));
|
|
38
|
+
t = n(o);
|
|
39
|
+
}
|
|
40
|
+
return t;
|
|
41
|
+
}, u = n(r);
|
|
42
|
+
i.value = u === -1 ? a.activeIndex : u;
|
|
43
|
+
};
|
|
44
|
+
return N(
|
|
45
|
+
() => B.path,
|
|
46
|
+
(r) => {
|
|
47
|
+
w(r);
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
immediate: !0
|
|
51
|
+
}
|
|
52
|
+
), (r, n) => {
|
|
53
|
+
const u = O("router-link");
|
|
54
|
+
return s(), d(p(j), {
|
|
55
|
+
"active-index": i.value,
|
|
56
|
+
"onUpdate:activeIndex": n[0] || (n[0] = (e) => i.value = e),
|
|
57
|
+
model: r.menu,
|
|
58
|
+
pt: p(T),
|
|
59
|
+
onTabChange: n[1] || (n[1] = (e) => C("tabChange", e)),
|
|
60
|
+
"data-wv-name": "tabmenu"
|
|
61
|
+
}, {
|
|
62
|
+
item: I(({ item: e, props: t, index: c, active: o }) => [
|
|
63
|
+
e.route ? (s(), d(u, {
|
|
64
|
+
key: 0,
|
|
65
|
+
to: e.route,
|
|
66
|
+
custom: ""
|
|
67
|
+
}, {
|
|
68
|
+
default: I(({ href: L, navigate: M }) => [
|
|
69
|
+
f("a", m(
|
|
70
|
+
{ href: L },
|
|
71
|
+
p(l).action({
|
|
72
|
+
context: { item: e, index: c, type: a.type },
|
|
73
|
+
state: { active: o, d_activeIndex: i.value }
|
|
74
|
+
}),
|
|
75
|
+
{ onClick: M }
|
|
76
|
+
), [
|
|
77
|
+
e.icon ? (s(), d(_, m({ key: 0 }, t.icon, {
|
|
78
|
+
icon: e.icon
|
|
79
|
+
}), null, 16, ["icon"])) : y("", !0),
|
|
80
|
+
f("span", b(g(t.label)), k(e.label), 17)
|
|
81
|
+
], 16, A)
|
|
82
|
+
]),
|
|
83
|
+
_: 2
|
|
84
|
+
}, 1032, ["to"])) : (s(), V("a", m(
|
|
85
|
+
{
|
|
86
|
+
key: 1,
|
|
87
|
+
href: e.url,
|
|
88
|
+
target: e.target
|
|
89
|
+
},
|
|
90
|
+
p(l).action({
|
|
91
|
+
context: { item: e, index: c, type: a.type },
|
|
92
|
+
state: { active: o, d_activeIndex: i.value }
|
|
93
|
+
})
|
|
94
|
+
), [
|
|
95
|
+
e.icon ? (s(), d(_, m({ key: 0 }, t.icon, {
|
|
96
|
+
icon: e.icon
|
|
97
|
+
}), null, 16, ["icon"])) : y("", !0),
|
|
98
|
+
f("span", b(g(t.label)), k(e.label), 17)
|
|
99
|
+
], 16, D))
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["active-index", "model", "pt"]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
F as default
|
|
108
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as o, computed as p, createElementBlock as a, openBlock as n, Fragment as i, renderList as l, normalizeClass as c, createVNode as g, createTextVNode as d, toDisplayString as m } from "vue";
|
|
2
|
+
import u from "../icon/Icon-C4kXVcEX.es.js";
|
|
3
|
+
const _ = {
|
|
4
|
+
class: "text-[10px] leading-3 tracking-[0.03em] flex gap-1",
|
|
5
|
+
"data-wv-name": "tagtype"
|
|
6
|
+
}, x = ["data-wv-section"], w = /* @__PURE__ */ o({
|
|
7
|
+
__name: "TagType",
|
|
8
|
+
props: {
|
|
9
|
+
type: {}
|
|
10
|
+
},
|
|
11
|
+
setup(s) {
|
|
12
|
+
const t = s, r = p(() => [
|
|
13
|
+
{
|
|
14
|
+
tag: "rfid",
|
|
15
|
+
active: t.type.includes("RFID")
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
tag: "nfc",
|
|
19
|
+
active: t.type.includes("NFC")
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
tag: "qr",
|
|
23
|
+
active: t.type.includes("QR")
|
|
24
|
+
}
|
|
25
|
+
]);
|
|
26
|
+
return (f, v) => (n(), a("span", _, [
|
|
27
|
+
(n(!0), a(i, null, l(r.value, (e) => (n(), a("span", {
|
|
28
|
+
key: e.tag,
|
|
29
|
+
class: c([
|
|
30
|
+
"inline-flex items-center gap-[1px]",
|
|
31
|
+
{
|
|
32
|
+
"text-primary-700": e.active,
|
|
33
|
+
"text-general-200": !e.active
|
|
34
|
+
}
|
|
35
|
+
]),
|
|
36
|
+
"data-wv-section": e.tag
|
|
37
|
+
}, [
|
|
38
|
+
g(u, {
|
|
39
|
+
class: c({ "!w-[14px]": e.tag === "rfid" }),
|
|
40
|
+
icon: e.tag
|
|
41
|
+
}, null, 8, ["class", "icon"]),
|
|
42
|
+
d(" " + m(e.tag.toUpperCase()), 1)
|
|
43
|
+
], 10, x))), 128))
|
|
44
|
+
]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
w as _
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../icon/Icon-D1a666FC.system.js"],function(x,m){"use strict";var r,i,a,n,o,p,c,l,g,d,u;return{setters:[e=>{r=e.defineComponent,i=e.computed,a=e.createElementBlock,n=e.openBlock,o=e.Fragment,p=e.renderList,c=e.normalizeClass,l=e.createVNode,g=e.createTextVNode,d=e.toDisplayString},e=>{u=e.default}],execute:function(){const e={class:"text-[10px] leading-3 tracking-[0.03em] flex gap-1","data-wv-name":"tagtype"},_=["data-wv-section"],v=x("_",r({__name:"TagType",props:{type:{}},setup(f){const s=f,y=i(()=>[{tag:"rfid",active:s.type.includes("RFID")},{tag:"nfc",active:s.type.includes("NFC")},{tag:"qr",active:s.type.includes("QR")}]);return(k,C)=>(n(),a("span",e,[(n(!0),a(o,null,p(y.value,t=>(n(),a("span",{key:t.tag,class:c(["inline-flex items-center gap-[1px]",{"text-primary-700":t.active,"text-general-200":!t.active}]),"data-wv-section":t.tag},[l(u,{class:c({"!w-[14px]":t.tag==="rfid"}),icon:t.tag},null,8,["class","icon"]),g(" "+d(t.tag.toUpperCase()),1)],10,_))),128))]))}}))}}});
|