@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,218 @@
|
|
|
1
|
+
import { _ as L } from "../validatormessage/ValidatorMessage-BtKfBXzO.es.js";
|
|
2
|
+
import { defineComponent as _, onMounted as z, reactive as F, ref as d, computed as c, watch as A, createElementBlock as M, openBlock as i, Fragment as W, createVNode as u, createBlock as p, mergeProps as Y, withCtx as y, createCommentVNode as N, normalizeStyle as j, normalizeClass as J, createSlots as P, renderSlot as U, nextTick as q } from "vue";
|
|
3
|
+
import { u as Q } from "../../vendor/vee-validate-RE5RuswC.es.js";
|
|
4
|
+
import X from "../badge/Badge-DXAyz4Z8.es.js";
|
|
5
|
+
import { _ as h } from "../button/Button-CgkhMnxo.es.js";
|
|
6
|
+
import Z from "../dialogselecttree/DialogSelectTree-BrVtt3iG.es.js";
|
|
7
|
+
import ee from "../fieldwrapper/FieldWrapper-DmOogUM5.es.js";
|
|
8
|
+
import D from "../icon/Icon-C4kXVcEX.es.js";
|
|
9
|
+
const le = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "inline-flex gap-1 items-center"
|
|
12
|
+
}, ue = /* @__PURE__ */ _({
|
|
13
|
+
__name: "ButtonSelectTree",
|
|
14
|
+
props: {
|
|
15
|
+
type: {},
|
|
16
|
+
value: {},
|
|
17
|
+
selectedNode: {},
|
|
18
|
+
fieldDataKey: {},
|
|
19
|
+
selectionMode: { default: "checkbox" },
|
|
20
|
+
useValidator: { type: Boolean },
|
|
21
|
+
fieldName: { default: "selectTree" },
|
|
22
|
+
mandatory: { type: Boolean, default: !1 },
|
|
23
|
+
validatorMessage: { default: void 0 },
|
|
24
|
+
dialogHeader: { default: void 0 },
|
|
25
|
+
label: { default: void 0 },
|
|
26
|
+
fetchTree: {},
|
|
27
|
+
params: {},
|
|
28
|
+
autoSelectAll: { type: Boolean },
|
|
29
|
+
disableKeys: {},
|
|
30
|
+
exactDisableKeys: {},
|
|
31
|
+
disabled: { type: Boolean },
|
|
32
|
+
exactDisableKey: {},
|
|
33
|
+
disableNodeAll: { type: Boolean, default: !1 },
|
|
34
|
+
allowEmptySelection: { type: Boolean, default: !0 },
|
|
35
|
+
fieldLabel: { default: void 0 },
|
|
36
|
+
fieldInfo: { default: void 0 },
|
|
37
|
+
invalid: { type: Boolean, default: !1 },
|
|
38
|
+
btnWidth: {},
|
|
39
|
+
width: {},
|
|
40
|
+
readonly: { type: Boolean },
|
|
41
|
+
showDisposableGroups: { type: Boolean },
|
|
42
|
+
flattenDisposableNode: { type: Boolean },
|
|
43
|
+
excludedKeys: {},
|
|
44
|
+
singleEditable: { type: Boolean, default: !0 },
|
|
45
|
+
singleResetable: { type: Boolean },
|
|
46
|
+
fetchTreeOnButtonRender: { type: Boolean, default: !1 }
|
|
47
|
+
},
|
|
48
|
+
emits: ["update:value", "dialogShown", "dialogHidden", "reset"],
|
|
49
|
+
setup($, { emit: K }) {
|
|
50
|
+
const f = K, l = $;
|
|
51
|
+
z(() => {
|
|
52
|
+
var e, a;
|
|
53
|
+
l.useValidator && (Object.assign(
|
|
54
|
+
s,
|
|
55
|
+
Q(l.fieldName, (t) => V(t))
|
|
56
|
+
), l.value && ((a = (e = k.value) == null ? void 0 : e.treeComponent) == null || a.fetchTreeList(), s.value = l.value));
|
|
57
|
+
});
|
|
58
|
+
const s = F({
|
|
59
|
+
value: l.value
|
|
60
|
+
}), k = d(), m = d(l.fetchTreeOnButtonRender), b = d(l.fetchTreeOnButtonRender), w = d(0), n = d(
|
|
61
|
+
!Array.isArray(l.value) && typeof l.value != "number" && typeof l.value != "string" ? l.value : void 0
|
|
62
|
+
), g = c({
|
|
63
|
+
get: () => n.value,
|
|
64
|
+
set: (e) => {
|
|
65
|
+
n.value = e, f("update:value", v(e, l.fieldDataKey));
|
|
66
|
+
}
|
|
67
|
+
}), B = c(() => E(s.value ?? l.value)), x = c(() => {
|
|
68
|
+
var t;
|
|
69
|
+
const a = (l.selectionMode === "checkbox" ? ((t = B.value) == null ? void 0 : t.filter((o) => (o == null ? void 0 : o.toString()) != "-1")) ?? [] : []).length;
|
|
70
|
+
return a && l.selectionMode === "checkbox" ? a + (l.type === "group" ? " group(s) selected" : " category(s) selected") : l.label ? l.label : l.type === "group" ? "Select Group" : "Select Category";
|
|
71
|
+
}), C = c(
|
|
72
|
+
() => l.width ? `width: ${l.width}px !important` : void 0
|
|
73
|
+
), E = (e) => {
|
|
74
|
+
const a = JSON.parse(
|
|
75
|
+
sessionStorage.getItem(`flatten${l.type}nodes`) ?? "[]"
|
|
76
|
+
);
|
|
77
|
+
return e ? (Array.isArray(e) ? e : [e]).map((t) => {
|
|
78
|
+
if (typeof t == "number")
|
|
79
|
+
return t;
|
|
80
|
+
if (typeof t == "string") {
|
|
81
|
+
const o = a.find((r) => r._id === t);
|
|
82
|
+
return o == null ? void 0 : o.key;
|
|
83
|
+
}
|
|
84
|
+
return t.key;
|
|
85
|
+
}) : [];
|
|
86
|
+
}, v = (e, a) => {
|
|
87
|
+
if (Array.isArray(e) && l.selectionMode === "checkbox")
|
|
88
|
+
return e.map((t) => a ? t == null ? void 0 : t[a] : t);
|
|
89
|
+
if (e && l.selectionMode === "single")
|
|
90
|
+
return a ? e == null ? void 0 : e[a] : e;
|
|
91
|
+
}, V = async (e) => (await q(), (Array.isArray(e) && !(e != null && e.length) || !Array.isArray(e) && !e) && l.mandatory ? l.validatorMessage ? l.validatorMessage : l.type === "group" ? "You must pick a group" : "You must pick a category" : l.invalid && l.validatorMessage ? l.validatorMessage : !0), O = (e) => {
|
|
92
|
+
var a;
|
|
93
|
+
if (e) {
|
|
94
|
+
const { keys: t, singleNode: o, selectedNodes: r } = e, H = ((a = t[-1]) == null ? void 0 : a.checked) ?? !1;
|
|
95
|
+
if (l.selectionMode === "single")
|
|
96
|
+
g.value = o, s.value = v(g.value, l.fieldDataKey);
|
|
97
|
+
else {
|
|
98
|
+
const I = r == null ? void 0 : r.filter((G) => {
|
|
99
|
+
var T;
|
|
100
|
+
return !((T = l.excludedKeys) != null && T.includes(Number(G.key)));
|
|
101
|
+
});
|
|
102
|
+
s.value = v(I, l.fieldDataKey) ?? [];
|
|
103
|
+
}
|
|
104
|
+
f("update:value", s.value, H);
|
|
105
|
+
}
|
|
106
|
+
}, R = () => {
|
|
107
|
+
g.value = void 0, w.value++, f("reset");
|
|
108
|
+
}, S = () => {
|
|
109
|
+
m.value = !0, b.value = !1, f("dialogShown");
|
|
110
|
+
};
|
|
111
|
+
return A(
|
|
112
|
+
() => l.value,
|
|
113
|
+
(e) => {
|
|
114
|
+
s.value = e;
|
|
115
|
+
}
|
|
116
|
+
), A(
|
|
117
|
+
() => l.selectedNode,
|
|
118
|
+
(e) => {
|
|
119
|
+
l.selectionMode === "single" && (n.value = e);
|
|
120
|
+
},
|
|
121
|
+
{ immediate: !0 }
|
|
122
|
+
), (e, a) => (i(), M(W, null, [
|
|
123
|
+
u(ee, Y(e.$attrs, {
|
|
124
|
+
info: e.fieldInfo,
|
|
125
|
+
label: l.fieldLabel,
|
|
126
|
+
mandatory: l.mandatory,
|
|
127
|
+
"show-optional-text": e.$attrs["show-optional-text"] != !1
|
|
128
|
+
}), {
|
|
129
|
+
default: y(() => [
|
|
130
|
+
n.value ? (i(), M("span", le, [
|
|
131
|
+
u(X, {
|
|
132
|
+
label: n.value.name,
|
|
133
|
+
format: "nowrap"
|
|
134
|
+
}, null, 8, ["label"]),
|
|
135
|
+
e.singleEditable ? (i(), p(h, {
|
|
136
|
+
key: 0,
|
|
137
|
+
onClick: S,
|
|
138
|
+
class: "p-0 m-0 !min-w-0 !min-h-0 !h-4 !w-4 focus-visible:ring-0 focus-visible:bg-primary-50",
|
|
139
|
+
text: ""
|
|
140
|
+
}, {
|
|
141
|
+
default: y(() => [
|
|
142
|
+
u(D, {
|
|
143
|
+
class: "w-full h-full",
|
|
144
|
+
icon: "edit",
|
|
145
|
+
severity: "primary"
|
|
146
|
+
})
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
})) : N("", !0),
|
|
150
|
+
e.singleResetable ? (i(), p(h, {
|
|
151
|
+
key: 1,
|
|
152
|
+
onClick: R,
|
|
153
|
+
class: "p-0 m-0 !min-w-0 !min-h-0 !h-4 !w-4 focus-visible:ring-0 focus-visible:bg-danger-50",
|
|
154
|
+
text: ""
|
|
155
|
+
}, {
|
|
156
|
+
default: y(() => [
|
|
157
|
+
u(D, {
|
|
158
|
+
class: "w-full h-full",
|
|
159
|
+
icon: "close",
|
|
160
|
+
severity: "danger"
|
|
161
|
+
})
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
})) : N("", !0)
|
|
165
|
+
])) : (i(), p(h, {
|
|
166
|
+
key: 1,
|
|
167
|
+
class: J({ "!w-full": !l.width }),
|
|
168
|
+
disabled: e.disabled,
|
|
169
|
+
label: x.value,
|
|
170
|
+
style: j(C.value),
|
|
171
|
+
onClick: S
|
|
172
|
+
}, null, 8, ["class", "disabled", "label", "style"])),
|
|
173
|
+
u(L, {
|
|
174
|
+
message: s.errorMessage
|
|
175
|
+
}, null, 8, ["message"])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 16, ["info", "label", "mandatory", "show-optional-text"]),
|
|
179
|
+
(i(), p(Z, {
|
|
180
|
+
key: w.value + +b.value,
|
|
181
|
+
ref_key: "dialogTreeInstance",
|
|
182
|
+
ref: k,
|
|
183
|
+
visible: m.value,
|
|
184
|
+
"onUpdate:visible": a[0] || (a[0] = (t) => m.value = t),
|
|
185
|
+
"allow-empty-selection": e.allowEmptySelection,
|
|
186
|
+
"auto-select-all": e.autoSelectAll,
|
|
187
|
+
"disable-keys": e.disableKeys,
|
|
188
|
+
"disable-node-all": e.disableNodeAll,
|
|
189
|
+
"exact-disable-key": e.exactDisableKey,
|
|
190
|
+
"exact-disable-keys": e.exactDisableKeys,
|
|
191
|
+
"excluded-keys": e.excludedKeys,
|
|
192
|
+
"fetch-tree": e.fetchTree,
|
|
193
|
+
"flatten-disposable-node": e.flattenDisposableNode,
|
|
194
|
+
header: e.dialogHeader,
|
|
195
|
+
hidden: b.value,
|
|
196
|
+
keys: B.value,
|
|
197
|
+
params: e.params,
|
|
198
|
+
readonly: l.readonly,
|
|
199
|
+
"selection-mode": l.selectionMode,
|
|
200
|
+
"show-disposable-groups": l.showDisposableGroups,
|
|
201
|
+
type: l.type,
|
|
202
|
+
onHide: a[1] || (a[1] = (t) => e.$emit("dialogHidden")),
|
|
203
|
+
onSelect: O
|
|
204
|
+
}, P({ _: 2 }, [
|
|
205
|
+
e.$slots.treenode ? {
|
|
206
|
+
name: "treenode",
|
|
207
|
+
fn: y(({ node: t }) => [
|
|
208
|
+
U(e.$slots, "treenode", { node: t })
|
|
209
|
+
]),
|
|
210
|
+
key: "0"
|
|
211
|
+
} : void 0
|
|
212
|
+
]), 1032, ["visible", "allow-empty-selection", "auto-select-all", "disable-keys", "disable-node-all", "exact-disable-key", "exact-disable-keys", "excluded-keys", "fetch-tree", "flatten-disposable-node", "header", "hidden", "keys", "params", "readonly", "selection-mode", "show-disposable-groups", "type"]))
|
|
213
|
+
], 64));
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
export {
|
|
217
|
+
ue as default
|
|
218
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["../validatormessage/ValidatorMessage-VVfyqlRF.system.js","vue","../../vendor/vee-validate-Cc_B-qII.system.js","../badge/Badge-wSExdsOP.system.js","../button/Button-D892iaxz.system.js","../dialogselecttree/DialogSelectTree-CT7dKC5N.system.js","../fieldwrapper/FieldWrapper-Dc-stQRH.system.js","../icon/Icon-D1a666FC.system.js"],function(W,ae){"use strict";var M,N,A,D,r,u,b,m,i,x,d,c,C,f,k,$,K,V,E,j,I,O,g,R,H,h;return{setters:[l=>{M=l._},l=>{N=l.defineComponent,A=l.onMounted,D=l.reactive,r=l.ref,u=l.computed,b=l.watch,m=l.createElementBlock,i=l.openBlock,x=l.Fragment,d=l.createVNode,c=l.createBlock,C=l.mergeProps,f=l.withCtx,k=l.createCommentVNode,$=l.normalizeStyle,K=l.normalizeClass,V=l.createSlots,E=l.renderSlot,j=l.nextTick},l=>{I=l.u},l=>{O=l.default},l=>{g=l._},l=>{R=l.default},l=>{H=l.default},l=>{h=l.default}],execute:function(){const l={key:0,class:"inline-flex gap-1 items-center"},se=W("default",N({__name:"ButtonSelectTree",props:{type:{},value:{},selectedNode:{},fieldDataKey:{},selectionMode:{default:"checkbox"},useValidator:{type:Boolean},fieldName:{default:"selectTree"},mandatory:{type:Boolean,default:!1},validatorMessage:{default:void 0},dialogHeader:{default:void 0},label:{default:void 0},fetchTree:{},params:{},autoSelectAll:{type:Boolean},disableKeys:{},exactDisableKeys:{},disabled:{type:Boolean},exactDisableKey:{},disableNodeAll:{type:Boolean,default:!1},allowEmptySelection:{type:Boolean,default:!0},fieldLabel:{default:void 0},fieldInfo:{default:void 0},invalid:{type:Boolean,default:!1},btnWidth:{},width:{},readonly:{type:Boolean},showDisposableGroups:{type:Boolean},flattenDisposableNode:{type:Boolean},excludedKeys:{},singleEditable:{type:Boolean,default:!0},singleResetable:{type:Boolean},fetchTreeOnButtonRender:{type:Boolean,default:!1}},emits:["update:value","dialogShown","dialogHidden","reset"],setup(P,{emit:Y}){const v=Y,t=P;A(()=>{var e,s;t.useValidator&&(Object.assign(n,I(t.fieldName,a=>Q(a))),t.value&&((s=(e=z.value)==null?void 0:e.treeComponent)==null||s.fetchTreeList(),n.value=t.value))});const n=D({value:t.value}),z=r(),w=r(t.fetchTreeOnButtonRender),B=r(t.fetchTreeOnButtonRender),F=r(0),y=r(!Array.isArray(t.value)&&typeof t.value!="number"&&typeof t.value!="string"?t.value:void 0),S=u({get:()=>y.value,set:e=>{y.value=e,v("update:value",T(e,t.fieldDataKey))}}),G=u(()=>q(n.value??t.value)),J=u(()=>{var a;const s=(t.selectionMode==="checkbox"?((a=G.value)==null?void 0:a.filter(o=>(o==null?void 0:o.toString())!="-1"))??[]:[]).length;return s&&t.selectionMode==="checkbox"?s+(t.type==="group"?" group(s) selected":" category(s) selected"):t.label?t.label:t.type==="group"?"Select Group":"Select Category"}),U=u(()=>t.width?`width: ${t.width}px !important`:void 0),q=e=>{const s=JSON.parse(sessionStorage.getItem(`flatten${t.type}nodes`)??"[]");return e?(Array.isArray(e)?e:[e]).map(a=>{if(typeof a=="number")return a;if(typeof a=="string"){const o=s.find(p=>p._id===a);return o==null?void 0:o.key}return a.key}):[]},T=(e,s)=>{if(Array.isArray(e)&&t.selectionMode==="checkbox")return e.map(a=>s?a==null?void 0:a[s]:a);if(e&&t.selectionMode==="single")return s?e==null?void 0:e[s]:e},Q=async e=>(await j(),(Array.isArray(e)&&!(e!=null&&e.length)||!Array.isArray(e)&&!e)&&t.mandatory?t.validatorMessage?t.validatorMessage:t.type==="group"?"You must pick a group":"You must pick a category":t.invalid&&t.validatorMessage?t.validatorMessage:!0),X=e=>{var s;if(e){const{keys:a,singleNode:o,selectedNodes:p}=e,ee=((s=a[-1])==null?void 0:s.checked)??!1;if(t.selectionMode==="single")S.value=o,n.value=T(S.value,t.fieldDataKey);else{const te=p==null?void 0:p.filter(le=>{var _;return!((_=t.excludedKeys)!=null&&_.includes(Number(le.key)))});n.value=T(te,t.fieldDataKey)??[]}v("update:value",n.value,ee)}},Z=()=>{S.value=void 0,F.value++,v("reset")},L=()=>{w.value=!0,B.value=!1,v("dialogShown")};return b(()=>t.value,e=>{n.value=e}),b(()=>t.selectedNode,e=>{t.selectionMode==="single"&&(y.value=e)},{immediate:!0}),(e,s)=>(i(),m(x,null,[d(H,C(e.$attrs,{info:e.fieldInfo,label:t.fieldLabel,mandatory:t.mandatory,"show-optional-text":e.$attrs["show-optional-text"]!=!1}),{default:f(()=>[y.value?(i(),m("span",l,[d(O,{label:y.value.name,format:"nowrap"},null,8,["label"]),e.singleEditable?(i(),c(g,{key:0,onClick:L,class:"p-0 m-0 !min-w-0 !min-h-0 !h-4 !w-4 focus-visible:ring-0 focus-visible:bg-primary-50",text:""},{default:f(()=>[d(h,{class:"w-full h-full",icon:"edit",severity:"primary"})]),_:1})):k("",!0),e.singleResetable?(i(),c(g,{key:1,onClick:Z,class:"p-0 m-0 !min-w-0 !min-h-0 !h-4 !w-4 focus-visible:ring-0 focus-visible:bg-danger-50",text:""},{default:f(()=>[d(h,{class:"w-full h-full",icon:"close",severity:"danger"})]),_:1})):k("",!0)])):(i(),c(g,{key:1,class:K({"!w-full":!t.width}),disabled:e.disabled,label:J.value,style:$(U.value),onClick:L},null,8,["class","disabled","label","style"])),d(M,{message:n.errorMessage},null,8,["message"])]),_:1},16,["info","label","mandatory","show-optional-text"]),(i(),c(R,{key:F.value+ +B.value,ref_key:"dialogTreeInstance",ref:z,visible:w.value,"onUpdate:visible":s[0]||(s[0]=a=>w.value=a),"allow-empty-selection":e.allowEmptySelection,"auto-select-all":e.autoSelectAll,"disable-keys":e.disableKeys,"disable-node-all":e.disableNodeAll,"exact-disable-key":e.exactDisableKey,"exact-disable-keys":e.exactDisableKeys,"excluded-keys":e.excludedKeys,"fetch-tree":e.fetchTree,"flatten-disposable-node":e.flattenDisposableNode,header:e.dialogHeader,hidden:B.value,keys:G.value,params:e.params,readonly:t.readonly,"selection-mode":t.selectionMode,"show-disposable-groups":t.showDisposableGroups,type:t.type,onHide:s[1]||(s[1]=a=>e.$emit("dialogHidden")),onSelect:X},V({_:2},[e.$slots.treenode?{name:"treenode",fn:f(({node:a})=>[E(e.$slots,"treenode",{node:a})]),key:"0"}:void 0]),1032,["visible","allow-empty-selection","auto-select-all","disable-keys","disable-node-all","exact-disable-key","exact-disable-keys","excluded-keys","fetch-tree","flatten-disposable-node","header","hidden","keys","params","readonly","selection-mode","show-disposable-groups","type"]))],64))}}))}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../badge/Badge-wSExdsOP.system.js","../button/Button-D892iaxz.system.js","../dialogconfirm/DialogConfirm-BU-LRZCo.system.js","../icon/Icon-D1a666FC.system.js","../dialogselectuser/DialogSelectUser-DXL_NMJj.system.js"],function(V,R){"use strict";var B,b,u,c,i,f,m,o,r,d,p,_,y,F,v,k;return{setters:[e=>{B=e.defineComponent,b=e.computed,u=e.ref,c=e.createElementBlock,i=e.openBlock,f=e.Fragment,m=e.createBlock,o=e.createVNode,r=e.createElementVNode,d=e.toDisplayString,p=e.withCtx},e=>{_=e.default},e=>{y=e._},e=>{F=e.default},e=>{v=e.default},e=>{k=e.default}],execute:function(){const e={key:0,class:"flex gap-1 items-center"},S={class:"text-primary-500 text-xs font-medium"},$=r("p",null,"Are you sure you want to continue?",-1),A=V("default",B({__name:"ButtonSelectUser",props:{fetchFunction:{type:Function},fetchOptionFunction:{type:Function},modelValue:{},list:{},header:{},description:{},useBadge:{type:Boolean},confirmBeforeReselect:{type:Boolean},confirmHeader:{},confirmBody:{}},emits:["update:modelValue","confirm"],setup(j,{emit:D}){const t=j,N=D,l=b(()=>t.modelValue??void 0),a=u(!1),g=u(!1),U=async h=>{if(t.fetchFunction)return await t.fetchFunction(h)},E=async()=>{if(t.fetchOptionFunction)return await t.fetchOptionFunction()},O=()=>{t.confirmBeforeReselect?g.value=!0:a.value=!0},H=()=>{N("confirm"),a.value=!0};return(h,n)=>{var x,C,w;return i(),c(f,null,[l.value?(i(),c("div",e,[t.useBadge?(i(),m(_,{key:0,label:((x=l.value)==null?void 0:x.fullName)??((C=l.value)==null?void 0:C.name),format:"username"},null,8,["label"])):(i(),c(f,{key:1},[o(v,{class:"!text-general-200",icon:"user"}),r("span",S,d(l.value.fullName??((w=l.value)==null?void 0:w.name)),1)],64)),o(y,{onClick:O,class:"p-0 m-0 !min-w-0 !min-h-0 !h-max !w-max",text:""},{default:p(()=>[o(v,{icon:"pencil",severity:"primary"})]),_:1})])):(i(),m(y,{key:1,onClick:n[0]||(n[0]=s=>a.value=!0),label:"Select User"})),o(k,{visible:a.value,"onUpdate:visible":n[1]||(n[1]=s=>a.value=s),description:t.description,"fetch-function":U,"fetch-option-function":E,header:t.header,list:t.list,onSelected:n[2]||(n[2]=s=>h.$emit("update:modelValue",s)),"selection-type":"single"},null,8,["visible","description","header","list"]),o(F,{visible:g.value,"onUpdate:visible":n[3]||(n[3]=s=>g.value=s),header:t.confirmHeader??"-",onConfirm:H,"confirm-label":"Continue",severity:"danger"},{body:p(()=>[r("p",null,d(t.confirmBody),1),$]),_:1},8,["visible","header"])],64)}}}))}}});
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { defineComponent as V, computed as U, ref as d, createElementBlock as c, openBlock as l, Fragment as v, createBlock as y, createVNode as r, createElementVNode as u, toDisplayString as h, withCtx as _ } from "vue";
|
|
2
|
+
import N from "../badge/Badge-DXAyz4Z8.es.js";
|
|
3
|
+
import { _ as b } from "../button/Button-CgkhMnxo.es.js";
|
|
4
|
+
import O from "../dialogconfirm/DialogConfirm-ByIWXisz.es.js";
|
|
5
|
+
import F from "../icon/Icon-C4kXVcEX.es.js";
|
|
6
|
+
import S from "../dialogselectuser/DialogSelectUser-Bu7z7lUq.es.js";
|
|
7
|
+
const D = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "flex gap-1 items-center"
|
|
10
|
+
}, E = { class: "text-primary-500 text-xs font-medium" }, H = /* @__PURE__ */ u("p", null, "Are you sure you want to continue?", -1), I = /* @__PURE__ */ V({
|
|
11
|
+
__name: "ButtonSelectUser",
|
|
12
|
+
props: {
|
|
13
|
+
fetchFunction: { type: Function },
|
|
14
|
+
fetchOptionFunction: { type: Function },
|
|
15
|
+
modelValue: {},
|
|
16
|
+
list: {},
|
|
17
|
+
header: {},
|
|
18
|
+
description: {},
|
|
19
|
+
useBadge: { type: Boolean },
|
|
20
|
+
confirmBeforeReselect: { type: Boolean },
|
|
21
|
+
confirmHeader: {},
|
|
22
|
+
confirmBody: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue", "confirm"],
|
|
25
|
+
setup(B, { emit: g }) {
|
|
26
|
+
const e = B, x = g, o = U(() => e.modelValue ?? void 0), i = d(!1), a = d(!1), k = async (s) => {
|
|
27
|
+
if (e.fetchFunction)
|
|
28
|
+
return await e.fetchFunction(s);
|
|
29
|
+
}, w = async () => {
|
|
30
|
+
if (e.fetchOptionFunction)
|
|
31
|
+
return await e.fetchOptionFunction();
|
|
32
|
+
}, C = () => {
|
|
33
|
+
e.confirmBeforeReselect ? a.value = !0 : i.value = !0;
|
|
34
|
+
}, $ = () => {
|
|
35
|
+
x("confirm"), i.value = !0;
|
|
36
|
+
};
|
|
37
|
+
return (s, t) => {
|
|
38
|
+
var m, f, p;
|
|
39
|
+
return l(), c(v, null, [
|
|
40
|
+
o.value ? (l(), c("div", D, [
|
|
41
|
+
e.useBadge ? (l(), y(N, {
|
|
42
|
+
key: 0,
|
|
43
|
+
label: ((m = o.value) == null ? void 0 : m.fullName) ?? ((f = o.value) == null ? void 0 : f.name),
|
|
44
|
+
format: "username"
|
|
45
|
+
}, null, 8, ["label"])) : (l(), c(v, { key: 1 }, [
|
|
46
|
+
r(F, {
|
|
47
|
+
class: "!text-general-200",
|
|
48
|
+
icon: "user"
|
|
49
|
+
}),
|
|
50
|
+
u("span", E, h(o.value.fullName ?? ((p = o.value) == null ? void 0 : p.name)), 1)
|
|
51
|
+
], 64)),
|
|
52
|
+
r(b, {
|
|
53
|
+
onClick: C,
|
|
54
|
+
class: "p-0 m-0 !min-w-0 !min-h-0 !h-max !w-max",
|
|
55
|
+
text: ""
|
|
56
|
+
}, {
|
|
57
|
+
default: _(() => [
|
|
58
|
+
r(F, {
|
|
59
|
+
icon: "pencil",
|
|
60
|
+
severity: "primary"
|
|
61
|
+
})
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})
|
|
65
|
+
])) : (l(), y(b, {
|
|
66
|
+
key: 1,
|
|
67
|
+
onClick: t[0] || (t[0] = (n) => i.value = !0),
|
|
68
|
+
label: "Select User"
|
|
69
|
+
})),
|
|
70
|
+
r(S, {
|
|
71
|
+
visible: i.value,
|
|
72
|
+
"onUpdate:visible": t[1] || (t[1] = (n) => i.value = n),
|
|
73
|
+
description: e.description,
|
|
74
|
+
"fetch-function": k,
|
|
75
|
+
"fetch-option-function": w,
|
|
76
|
+
header: e.header,
|
|
77
|
+
list: e.list,
|
|
78
|
+
onSelected: t[2] || (t[2] = (n) => s.$emit("update:modelValue", n)),
|
|
79
|
+
"selection-type": "single"
|
|
80
|
+
}, null, 8, ["visible", "description", "header", "list"]),
|
|
81
|
+
r(O, {
|
|
82
|
+
visible: a.value,
|
|
83
|
+
"onUpdate:visible": t[3] || (t[3] = (n) => a.value = n),
|
|
84
|
+
header: e.confirmHeader ?? "-",
|
|
85
|
+
onConfirm: $,
|
|
86
|
+
"confirm-label": "Continue",
|
|
87
|
+
severity: "danger"
|
|
88
|
+
}, {
|
|
89
|
+
body: _(() => [
|
|
90
|
+
u("p", null, h(e.confirmBody), 1),
|
|
91
|
+
H
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}, 8, ["visible", "header"])
|
|
95
|
+
], 64);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
export {
|
|
100
|
+
I as default
|
|
101
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as a, shallowRef as i, createElementBlock as u, openBlock as m, Fragment as p, createVNode as o, mergeProps as c } from "vue";
|
|
2
|
+
import { _ as f } from "../button/Button-CgkhMnxo.es.js";
|
|
3
|
+
import { _ } from "../hardwaresync/HardwareSync-BckCfIeF.es.js";
|
|
4
|
+
const B = /* @__PURE__ */ a({
|
|
5
|
+
__name: "ButtonSync",
|
|
6
|
+
props: {
|
|
7
|
+
withoutScanBtn: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
setup(l) {
|
|
10
|
+
const s = l, t = i(!1);
|
|
11
|
+
return (r, n) => (m(), u(p, null, [
|
|
12
|
+
o(f, c({
|
|
13
|
+
onClick: n[0] || (n[0] = (e) => t.value = !0)
|
|
14
|
+
}, r.$attrs, {
|
|
15
|
+
icon: "refresh",
|
|
16
|
+
label: "Sync",
|
|
17
|
+
outlined: ""
|
|
18
|
+
}), null, 16),
|
|
19
|
+
o(_, {
|
|
20
|
+
visible: t.value,
|
|
21
|
+
"onUpdate:visible": n[1] || (n[1] = (e) => t.value = e),
|
|
22
|
+
"without-scan-btn": s.withoutScanBtn
|
|
23
|
+
}, null, 8, ["visible", "without-scan-btn"])
|
|
24
|
+
], 64));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
B as _
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../button/Button-D892iaxz.system.js","../hardwaresync/HardwareSync-DcgVc0cL.system.js"],function(m,B){"use strict";var o,r,a,l,c,n,i,u,p;return{setters:[e=>{o=e.defineComponent,r=e.shallowRef,a=e.createElementBlock,l=e.openBlock,c=e.Fragment,n=e.createVNode,i=e.mergeProps},e=>{u=e._},e=>{p=e._}],execute:function(){const e=m("_",o({__name:"ButtonSync",props:{withoutScanBtn:{type:Boolean}},setup(v){const w=v,s=r(!1);return(y,t)=>(l(),a(c,null,[n(u,i({onClick:t[0]||(t[0]=f=>s.value=!0)},y.$attrs,{icon:"refresh",label:"Sync",outlined:""}),null,16),n(p,{visible:s.value,"onUpdate:visible":t[1]||(t[1]=f=>s.value=f),"without-scan-btn":w.withoutScanBtn},null,8,["visible","without-scan-btn"])],64))}}))}}});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineComponent as o, createBlock as e, openBlock as t } from "vue";
|
|
2
|
+
import n from "../toggleswitch/ToggleSwitch-De-_8nQl.es.js";
|
|
3
|
+
const a = /* @__PURE__ */ o({
|
|
4
|
+
__name: "ButtonToggle",
|
|
5
|
+
setup(r) {
|
|
6
|
+
return (_, c) => (t(), e(n));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
a as _
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../toggleswitch/ToggleSwitch-DuyahX09.system.js"],function(s,r){"use strict";var t,n,c,o;return{setters:[e=>{t=e.defineComponent,n=e.createBlock,c=e.openBlock},e=>{o=e.default}],execute:function(){const e=s("_",t({__name:"ButtonToggle",setup(_){return(i,u)=>(c(),n(o))}}))}}});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as t, openBlock as s } from "vue";
|
|
2
|
+
import { _ as p } from "../button/Button-CgkhMnxo.es.js";
|
|
3
|
+
const m = /* @__PURE__ */ n({
|
|
4
|
+
__name: "ButtonViewLog",
|
|
5
|
+
props: {
|
|
6
|
+
showLog: { type: Boolean }
|
|
7
|
+
},
|
|
8
|
+
emits: ["update:showLog"],
|
|
9
|
+
setup(i) {
|
|
10
|
+
return (o, e) => (s(), t(p, {
|
|
11
|
+
outlined: !o.$props.showLog,
|
|
12
|
+
onClick: e[0] || (e[0] = (r) => o.$emit("update:showLog", !o.$props.showLog)),
|
|
13
|
+
icon: "file-lines",
|
|
14
|
+
severity: "secondary",
|
|
15
|
+
tooltip: "Changelog"
|
|
16
|
+
}, null, 8, ["outlined"]));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
m as _
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["vue","../button/Button-D892iaxz.system.js"],function(p,u){"use strict";var t,n,s,i;return{setters:[e=>{t=e.defineComponent,n=e.createBlock,s=e.openBlock},e=>{i=e._}],execute:function(){const e=p("_",t({__name:"ButtonViewLog",props:{showLog:{type:Boolean}},emits:["update:showLog"],setup(l){return(o,r)=>(s(),n(i,{outlined:!o.$props.showLog,onClick:r[0]||(r[0]=c=>o.$emit("update:showLog",!o.$props.showLog)),icon:"file-lines",severity:"secondary",tooltip:"Changelog"},null,8,["outlined"]))}}))}}});
|