@fewangsit/wangsvue-fats 1.0.0-alpha.42 → 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/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-Bj0EjoML.es.js → BadgeGroup-Dl2cL80L.es.js} +8 -8
- package/components/basetree/BaseTree-CmBp0uwr.system.js +1 -0
- package/components/basetree/{BaseTree-DLSA5FMh.es.js → BaseTree-RsvvntBp.es.js} +4 -4
- package/components/{treenode/TreeNode-KJOUvlTH.es.js → basetree/TreeNode-CUL5_2Rj.es.js} +5 -5
- package/components/basetree/TreeNode-D-YgXird.system.js +1 -0
- package/components/breadcrumb/Breadcrumb-BmuuCYJx.system.js +1 -0
- package/components/breadcrumb/{Breadcrumb-BWSmLPqn.es.js → Breadcrumb-oqdG9WGT.es.js} +5 -5
- package/components/button/{Button-D-MSv_AS.es.js → Button-CgkhMnxo.es.js} +20 -16
- package/components/button/Button-D892iaxz.system.js +1 -0
- package/components/buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js +1 -0
- package/components/buttonbulkaction/{ButtonBulkAction-B4RcdWmb.es.js → ButtonBulkAction-Tdf3aVtp.es.js} +55 -51
- package/components/buttoncopy/{ButtonCopy-BZgQAFOM.es.js → ButtonCopy-CUFHlIO-.es.js} +4 -4
- 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-BIE-jM2i.es.js → ButtonFilter-B49leY-q.es.js} +3 -3
- package/components/buttonradio/{ButtonRadio-5VUY8o5h.es.js → ButtonRadio-D6xKhPLg.es.js} +2 -2
- 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-Clbafqts.es.js → ButtonSearch-BjcXUDQZ.es.js} +16 -16
- package/components/buttonselecttree/{ButtonSelectTree-B-_Iw5sB.es.js → ButtonSelectTree-D0lT3Exu.es.js} +33 -33
- package/components/buttonselecttree/ButtonSelectTree-DKmPV8FD.system.js +1 -0
- package/components/buttonselectuser/ButtonSelectUser-B7GbLfS-.system.js +1 -0
- package/components/buttonselectuser/{ButtonSelectUser-Ar7Y8tVR.es.js → ButtonSelectUser-OAZRY9OR.es.js} +23 -23
- package/components/buttonsync/{ButtonSync-Bc1GZXT6.es.js → ButtonSync-Brk16H8C.es.js} +2 -2
- package/components/buttonsync/{ButtonSync-ClllEdAy.system.js → ButtonSync-D5lXmtHs.system.js} +1 -1
- package/components/buttontoggle/{ButtonToggle-DIy3M8Pz.es.js → ButtonToggle-1R5y5DCx.es.js} +3 -3
- package/components/buttontoggle/ButtonToggle-DLsiXxjK.system.js +1 -0
- package/components/buttonviewlog/{ButtonViewLog-h9uVv5A5.es.js → ButtonViewLog-CGsSkrzf.es.js} +1 -1
- package/components/buttonviewlog/{ButtonViewLog-Ct8QwEey.system.js → ButtonViewLog-leLO6F_N.system.js} +1 -1
- package/components/{basecalendar/BaseCalendar-47ahYXrt.es.js → calendar/BaseCalendar-5EI1UTbl.es.js} +19 -19
- package/components/calendar/BaseCalendar-C02-gmOQ.system.js +1 -0
- package/components/calendar/{Calendar-Df6CnW-l.es.js → Calendar-B2z-lfi9.es.js} +5 -5
- package/components/calendar/Calendar-CWw4R5mN.system.js +1 -0
- package/components/card/{Card-CwnxKNdM.es.js → Card-BccG14LV.es.js} +1 -1
- package/components/card/{Card-BUKU2FcT.system.js → Card-BjI-Xi0S.system.js} +1 -1
- package/components/checkbox/{Checkbox-DdsR222S.es.js → Checkbox-DBU7Ji2C.es.js} +3 -3
- package/components/checkbox/Checkbox-FZg_wq3C.system.js +1 -0
- package/components/codesnippet/{CodeSnippet-Bpps-Iyc.es.js → CodeSnippet--pMQi4aO.es.js} +7 -7
- 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/{multirow/MultiRow-ClSMxrEx.es.js → datatable/MultiRow-B2vMSb7W.es.js} +9 -9
- 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-Dy93f91f.es.js → Dialog-BCcbXSya.es.js} +5 -5
- package/components/dialog/Dialog-Dv7Jzg4E.system.js +1 -0
- package/components/dialogconfirm/DialogConfirm-BU-LRZCo.system.js +1 -0
- package/components/dialogconfirm/{DialogConfirm-BOFb7rJD.es.js → DialogConfirm-ByIWXisz.es.js} +24 -24
- package/components/dialogform/DialogForm-DGl_NOEr.system.js +1 -0
- package/components/dialogform/{DialogForm-C15nC1wH.es.js → DialogForm-tAbix3iC.es.js} +52 -53
- package/components/dialogselecttree/{DialogSelectTree-BA8xEqco.es.js → DialogSelectTree-BrVtt3iG.es.js} +13 -13
- 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/{dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js → dialogselectuser/DialogSelectUserFilter-BgBrQCz1.es.js} +14 -10
- 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-D4S52rW5.es.js → Dropdown-Dk4urj-W.es.js} +50 -44
- package/components/{codesnippetadapter/CodeSnippetAdapter-jgXoPKzr.es.js → editor/CodeSnippetAdapter-C0f7wytw.es.js} +4 -4
- package/components/editor/CodeSnippetAdapter-f-VHwbwS.system.js +1 -0
- package/components/editor/{Editor-DQ7Xdy30.es.js → Editor-RB5MqBs1.es.js} +292 -441
- package/components/editor/Editor-upU4Z9FH.system.js +1 -0
- package/components/{editorbutton/EditorButton-DmVrr4Bk.system.js → editor/EditorButton-CC6U1a_u.system.js} +1 -1
- package/components/{editorbutton/EditorButton-DDgS2vga.es.js → editor/EditorButton-Cfew79JD.es.js} +1 -1
- package/components/editor/MentionList-BjWKefLh.system.js +1 -0
- package/components/{mentionlist/MentionList--7AymnhE.es.js → editor/MentionList-CdX0_-TK.es.js} +4 -4
- package/components/{mentionsection/MentionSection-C_c4qbpq.es.js → editor/MentionSection-5I-FSwew.es.js} +1 -1
- package/components/{mentionsection/MentionSection-C1gWOzH2.system.js → editor/MentionSection-CiuaeX4J.system.js} +1 -1
- 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-C6HJ2HnC.es.js → FieldWrapper-DmOogUM5.es.js} +12 -11
- package/components/fileupload/{FileUpload-B6PAucnD.es.js → FileUpload-0EHKlInu.es.js} +11 -11
- 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-eSj-nb1y.es.js → Form-DhWBpdkq.es.js} +42 -42
- package/components/hardwaresync/{HardwareSync-DUsVwHx1.es.js → HardwareSync-BckCfIeF.es.js} +21 -19
- 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-mDqG7urn.es.js → Icon-C4kXVcEX.es.js} +4 -4
- package/components/icon/Icon-D1a666FC.system.js +1 -0
- package/components/image/{Image-BZ31CL-y.es.js → Image-Bf5EaBWP.es.js} +21 -20
- 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-DaW0ak9c.es.js → ImageCompressor-DPo-1Yo8.es.js} +207 -199
- package/components/{imageinputinfo/ImageInputInfo-oTtVBxzO.es.js → imagecompressor/ImageInputInfo-4Ac8cBDM.es.js} +2 -2
- 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-CBZT3jWS.es.js → InlineMessage-BPJD82sq.es.js} +12 -12
- package/components/inlinemessage/InlineMessage-DTyTe5_W.system.js +1 -0
- package/components/inputbadge/InputBadge-BUm6Kn-F.system.js +1 -0
- package/components/inputbadge/{InputBadge-CsdT7M7-.es.js → InputBadge-BngtjqHQ.es.js} +13 -13
- package/components/inputcurrency/{InputCurrency-B96npK8W.es.js → InputCurrency-CE4WrJ9k.es.js} +16 -13
- package/components/inputcurrency/InputCurrency-DaJuUujH.system.js +1 -0
- package/components/inputemail/InputEmail-8E04RVeq.system.js +1 -0
- package/components/inputemail/{InputEmail-BMzumenA.es.js → InputEmail-BFeY1l9Z.es.js} +1 -1
- package/components/inputgroup/{InputGroup-G9TEI4vX.system.js → InputGroup-CTHxHL8n.system.js} +1 -1
- package/components/inputgroup/{InputGroup-eNDRlJ5R.es.js → InputGroup-CUxNAtDZ.es.js} +1 -1
- package/components/inputnumber/InputNumber-BJ8Qm27k.system.js +1 -0
- package/components/inputnumber/{InputNumber-Bzk_YzWM.es.js → InputNumber-CQd01PQ5.es.js} +7 -7
- package/components/inputpassword/InputPassword-D3jaUFfR.system.js +1 -0
- package/components/inputpassword/{InputPassword-BMHMWLgU.es.js → InputPassword-DGWsHAB4.es.js} +10 -10
- 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-B1aAoKVj.es.js → InputRangeNumber-Cfea6oM_.es.js} +5 -5
- package/components/inputrangenumber/InputRangeNumber-iLScQOa6.system.js +1 -0
- package/components/inputsearch/{InputSearch-cPq3vqhy.es.js → InputSearch-CHJP-N57.es.js} +3 -3
- package/components/inputsearch/InputSearch-DkB4O0Dc.system.js +1 -0
- package/components/inputtext/{InputText-_xEnXysf.es.js → InputText-BEDxrRqK.es.js} +14 -13
- package/components/inputtext/InputText-BOgH8xpA.system.js +1 -0
- package/components/inputurl/{InputURL-aqx1PVKL.es.js → InputURL-CNrOkrAC.es.js} +1 -1
- package/components/inputurl/InputURL-D4QWV9G7.system.js +1 -0
- package/components/litedropdown/{LiteDropdown-DcSzP11l.es.js → LiteDropdown-BbDUnfnd.es.js} +11 -11
- package/components/litedropdown/LiteDropdown-DTXwb5JR.system.js +1 -0
- package/components/loading/{Loading-D8M801C9.es.js → Loading-DIfTUHr7.es.js} +6 -6
- package/components/loading/Loading-Vb4HctBJ.system.js +1 -0
- package/components/menu/{Menu-BmTMFwBD.es.js → Menu-BtzGGhbp.es.js} +14 -14
- package/components/menu/Menu-CPm5vua_.system.js +1 -0
- package/components/menuitem/MenuItem-8yxkFTug.system.js +1 -0
- package/components/menuitem/{MenuItem-LoZMc0T9.es.js → MenuItem-uLVAqgBS.es.js} +1 -1
- package/components/multiselect/{MultiSelect-DGhS1EyX.es.js → MultiSelect-BoPpQ31j.es.js} +15 -15
- package/components/multiselect/MultiSelect-D5NEDtGe.system.js +1 -0
- package/components/overlaypanel/OverlayPanel-BKCivqTs.system.js +1 -0
- package/components/overlaypanel/{OverlayPanel-DXNek7Yb.es.js → OverlayPanel-bQbjuUgG.es.js} +10 -10
- package/components/tabmenu/TabMenu-BBk8EW-C.system.js +1 -0
- package/components/tabmenu/{TabMenu-iMeZa8gy.es.js → TabMenu-ByKBaVsd.es.js} +13 -13
- package/components/tagtype/{TagType-CX7BVRrE.es.js → TagType-CAXomDiD.es.js} +4 -4
- package/components/tagtype/TagType-i4RK2JbL.system.js +1 -0
- package/components/textarea/{Textarea-ClnQ2qmf.es.js → Textarea-CnAlgPq5.es.js} +5 -5
- 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/{timelinecontentbytype/TimelineContentByType-ehFLzTA1.es.js → timeline/TimelineContentByType-_cKGDWAW.es.js} +48 -51
- package/components/timeline/TimelineContentByType-uxM3NSqd.system.js +1 -0
- package/components/toast/Toast-C3D50rGo.system.js +1 -0
- package/components/toast/{Toast-DnALWJkx.es.js → Toast-DRUJCz4I.es.js} +4 -4
- package/components/toggleswitch/{ToggleSwitch-wRjnHRIw.es.js → ToggleSwitch-De-_8nQl.es.js} +2 -2
- package/components/toggleswitch/ToggleSwitch-DuyahX09.system.js +1 -0
- package/components/transactionroles/{TransactionRoles-B_67h5wb.es.js → TransactionRoles-WrcXMwBu.es.js} +2 -2
- 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-B1PmhE7k.es.js → TreeSearchInput-CNfoc3f6.es.js} +5 -5
- package/components/username/UserName-A1N6Q7bS.system.js +1 -0
- package/components/username/{UserName-CWs83BX6.es.js → UserName-D5C0qdbu.es.js} +45 -43
- package/components/userwithicon/{UserWithIcon-Dn3aNKdq.es.js → UserWithIcon-CHHDfQG0.es.js} +3 -3
- package/components/userwithicon/UserWithIcon-DnY6loZc.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/{components/animation/Animation-COWVilAA.es.js → plugins/WangsVue-Dl5OiLXF.es.js} +36 -132
- 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-bnIgGWIt.system.js → core-D4rHEGhs.system.js} +3 -3
- package/vendor/@tiptap/{core-BLz8iRA3.es.js → core-DSbPv8xh.es.js} +6 -6
- package/vendor/@tiptap/{extension-bold-BnsTNqIJ.es.js → extension-bold-CvAjR8FR.es.js} +1 -1
- package/vendor/@tiptap/{extension-bold-C_KVm_D0.system.js → extension-bold-DI_Zfdzb.system.js} +1 -1
- package/vendor/@tiptap/{extension-bubble-menu-D421L1EU.system.js → extension-bubble-menu-0_0wc2P7.system.js} +1 -1
- package/vendor/@tiptap/{extension-bubble-menu-D9Vgq7yO.es.js → extension-bubble-menu-DY29ulfu.es.js} +3 -3
- package/vendor/@tiptap/{extension-bullet-list-GNj3sKw9.es.js → extension-bullet-list-BrkIcd-z.es.js} +1 -1
- package/vendor/@tiptap/{extension-bullet-list-kXXFF-_p.system.js → extension-bullet-list-CgIgW9RG.system.js} +1 -1
- package/vendor/@tiptap/{extension-code-CfQ7g1i2.es.js → extension-code-BtAtPCQQ.es.js} +1 -1
- package/vendor/@tiptap/{extension-code-Q8P1EHjz.system.js → extension-code-SOANT0O3.system.js} +1 -1
- package/vendor/@tiptap/{extension-floating-menu-CSQuJzDM.es.js → extension-floating-menu-BTwcx1u8.es.js} +3 -3
- package/vendor/@tiptap/{extension-floating-menu-8rFSweor.system.js → extension-floating-menu-Dtu9tcTW.system.js} +1 -1
- package/vendor/@tiptap/{extension-heading-ZTlCgdtc.es.js → extension-heading-B6PMnqvS.es.js} +1 -1
- package/vendor/@tiptap/{extension-heading-BE64-Rg_.system.js → extension-heading-BpK6SnFO.system.js} +1 -1
- package/vendor/@tiptap/{extension-history-GLkLmX-Y.system.js → extension-history-CTFK6g3n.system.js} +1 -1
- package/vendor/@tiptap/{extension-history-eJIThEn-.es.js → extension-history-DdPDTH0G.es.js} +2 -2
- package/vendor/@tiptap/{extension-image-rKrdkZpJ.system.js → extension-image-BNa6azmK.system.js} +1 -1
- package/vendor/@tiptap/{extension-image-B8NPUVFM.es.js → extension-image-DCo2JDZp.es.js} +1 -1
- package/vendor/@tiptap/{extension-italic-C_CyJubw.es.js → extension-italic-D09oL4ps.es.js} +1 -1
- package/vendor/@tiptap/{extension-italic-Dg0Nosoc.system.js → extension-italic-w93Lmtg_.system.js} +1 -1
- package/vendor/@tiptap/{extension-link-D4PFdLvA.es.js → extension-link-CV6Fodq9.es.js} +3 -3
- package/vendor/@tiptap/{extension-link-Cd8bTMBz.system.js → extension-link-FrdAKaJ2.system.js} +1 -1
- package/vendor/@tiptap/{extension-list-item-Mnhfw2gP.system.js → extension-list-item-BRio_hHs.system.js} +1 -1
- package/vendor/@tiptap/{extension-list-item-7pIJ7t09.es.js → extension-list-item-D8wSpPxS.es.js} +1 -1
- package/vendor/@tiptap/{extension-mention-Dkg-tbrz.es.js → extension-mention-cFXQdAs7.es.js} +3 -3
- package/vendor/@tiptap/{extension-mention-DVF3rX_z.system.js → extension-mention-y62_tYRn.system.js} +1 -1
- package/vendor/@tiptap/{extension-ordered-list-DLI4xDN8.es.js → extension-ordered-list-BZU-Ty3o.es.js} +1 -1
- package/vendor/@tiptap/{extension-ordered-list-Hl0QU8Zt.system.js → extension-ordered-list-CH9LyYR1.system.js} +1 -1
- package/vendor/@tiptap/{extension-placeholder-V0iTxU19.es.js → extension-placeholder-CsBxoitZ.es.js} +3 -3
- package/vendor/@tiptap/{extension-placeholder-BeLl2T-f.system.js → extension-placeholder-Dqw7HNAJ.system.js} +1 -1
- package/vendor/@tiptap/{extension-underline-DsGbvz80.es.js → extension-underline-DklFOEoR.es.js} +1 -1
- package/vendor/@tiptap/{extension-underline-BdcAQ4JH.system.js → extension-underline-SGsaBlAL.system.js} +1 -1
- package/vendor/@tiptap/{suggestion-BpZSO8Lm.system.js → suggestion-B3Grok9m.system.js} +1 -1
- package/vendor/@tiptap/{suggestion-C4sBhJAD.es.js → suggestion-Dg-vhPtN.es.js} +5 -5
- package/vendor/@tiptap/{vue-3-DceiR7pK.es.js → vue-3-BOfcUn5G.es.js} +19 -19
- package/vendor/@tiptap/{vue-3-BH1pZykd.system.js → vue-3-ZMNXXvBd.system.js} +1 -1
- package/vendor/{highlight.js-BAruEf1H.system.js → highlight.js-ClnJXT0q.system.js} +1 -1
- package/vendor/{highlight.js-DHowhWoU.es.js → highlight.js-Czlvg6fB.es.js} +1 -1
- package/vendor/{lodash-DbIT-6qv.es.js → lodash-B6nNLFd3.es.js} +1 -1
- package/vendor/{lodash-DbvKLWSv.system.js → lodash-BuO1dYnQ.system.js} +1 -1
- package/vendor/{primevue-u6FsQONA.system.js → primevue-C5Z_k4WB.system.js} +29 -51
- package/vendor/{primevue-CadmDhWp.es.js → primevue-DkBtKf1Y.es.js} +2599 -3878
- package/vendor/{prosemirror-commands-DLmzIpoS.es.js → prosemirror-commands-CUjo-x4s.es.js} +1 -1
- package/vendor/{prosemirror-commands-DgY3QRzI.system.js → prosemirror-commands-Dn6KNBP0.system.js} +2 -2
- package/vendor/{prosemirror-history-BMpJFORS.es.js → prosemirror-history-BPOe4I2H.es.js} +1 -1
- package/vendor/{prosemirror-history-BrK-FTBv.system.js → prosemirror-history-BTrzvpc-.system.js} +1 -1
- package/vendor/{prosemirror-keymap-DF8LLxca.es.js → prosemirror-keymap-BvIUhswp.es.js} +1 -1
- package/vendor/{prosemirror-keymap-COb3Dq2o.system.js → prosemirror-keymap-WRY9zVpK.system.js} +1 -1
- package/vendor/{prosemirror-schema-list-BPpAP8wR.system.js → prosemirror-schema-list-Dv9KV10j.system.js} +1 -1
- package/vendor/{prosemirror-state-CwkYUmNs.es.js → prosemirror-state-BW6XGB3U.es.js} +6 -6
- package/vendor/{prosemirror-state-DzPLD-6l.system.js → prosemirror-state-COJ-aZZ4.system.js} +1 -1
- package/vendor/{prosemirror-transform-VaXuT0NM.system.js → prosemirror-transform-BXNgAhmF.system.js} +2 -2
- package/vendor/{prosemirror-view-ta7l3rKk.es.js → prosemirror-view-C9ZQp8VZ.es.js} +1 -1
- package/vendor/{prosemirror-view-JTdpiWMD.system.js → prosemirror-view-DOxSTbB-.system.js} +1 -1
- package/vendor/{simplebar-core-71xT5g0m.system.js → simplebar-core-CtWK1-xd.system.js} +1 -1
- package/vendor/{simplebar-core-Db65-Ath.es.js → simplebar-core-ofTx4QqK.es.js} +1 -1
- package/vendor/{simplebar-vue-BFEeFUIv.system.js → simplebar-vue-BHVrvuf1.system.js} +1 -1
- package/vendor/{simplebar-vue-DAxqu0eM.es.js → simplebar-vue-dpCx-K7E.es.js} +1 -1
- package/vendor/{tippy.js-CuKTz0UR.system.js → tippy.js-6wuFov1j.system.js} +1 -1
- package/vendor/{tippy.js-DNnwm2RY.es.js → tippy.js-i1ic-msv.es.js} +23 -23
- package/wangsvue-fats.js +141 -527
- package/wangsvue-fats.system.js +1 -1
- package/components/animation/Animation-6756VN9N.system.js +0 -1
- package/components/approverinfo/ApproverInfo-BdqBpNjY.system.js +0 -1
- package/components/approverinfo/ApproverInfo-C3_ibV8c.es.js +0 -321
- package/components/assetinfo/AssetInfo-BBgKToRP.system.js +0 -1
- package/components/assetinfo/AssetInfo-CmwgOU74.es.js +0 -298
- package/components/backgroundimagecropper/BackgroundImageCropper-DFHtaSyE.system.js +0 -1
- package/components/backgroundimagecropper/BackgroundImageCropper-HKzUEXq-.es.js +0 -57
- package/components/badge/Badge-CndPv5v9.system.js +0 -1
- package/components/badge/Badge-DA-XiE1C.es.js +0 -115
- package/components/badgegroup/BadgeGroup-Y-HhiHk8.system.js +0 -1
- package/components/basecalendar/BaseCalendar-Ce46jOkg.system.js +0 -1
- package/components/basetree/BaseTree-DDu1qI7t.system.js +0 -1
- package/components/breadcrumb/Breadcrumb-B5bAijry.system.js +0 -1
- package/components/button/Button-Okx1_kOu.system.js +0 -1
- package/components/buttonbulkaction/ButtonBulkAction-DLmvicRL.system.js +0 -1
- package/components/buttoncopy/ButtonCopy-CKi1bBpz.system.js +0 -1
- package/components/buttondownload/ButtonDownload-Bw9T3mbW.es.js +0 -92
- package/components/buttondownload/ButtonDownload-CpA0ryUT.system.js +0 -1
- package/components/buttonfilter/ButtonFilter-C4WRvUrj.system.js +0 -1
- package/components/buttonradio/ButtonRadio-B2wWrgB5.system.js +0 -1
- package/components/buttonscan/ButtonScan-BCScT2cx.es.js +0 -421
- package/components/buttonscan/ButtonScan-TbyhlW5M.system.js +0 -1
- package/components/buttonsearch/ButtonSearch-e57pD5r3.system.js +0 -1
- package/components/buttonselecttree/ButtonSelectTree-Cbq1oeVK.system.js +0 -1
- package/components/buttonselectuser/ButtonSelectUser-Cfe6m75Z.system.js +0 -1
- package/components/buttontoggle/ButtonToggle-VNp0lbcW.system.js +0 -1
- package/components/calendar/Calendar-7yBKZsvj.system.js +0 -1
- package/components/checkbox/Checkbox-CCtItmVW.system.js +0 -1
- package/components/codesnippet/CodeSnippet-DvTtZ28b.system.js +0 -2
- package/components/codesnippetadapter/CodeSnippetAdapter-BtSqWBl1.system.js +0 -1
- package/components/columnlist/ColumnList-Bh3LZlOa.system.js +0 -1
- package/components/columnlist/ColumnList-Bp7soiys.es.js +0 -204
- package/components/customcolumn/CustomColumn-CVhAbTGn.system.js +0 -1
- package/components/customcolumn/CustomColumn-Dblxjw_0.es.js +0 -138
- package/components/datatable/DataTable--mHUKNUr.system.js +0 -1
- package/components/datatable/DataTable-J1j-OKsW.es.js +0 -983
- package/components/dialog/Dialog-WEl66uTI.system.js +0 -1
- package/components/dialogconfirm/DialogConfirm-o7_v7F31.system.js +0 -1
- package/components/dialogform/DialogForm-CdpY1_-F.system.js +0 -1
- package/components/dialogselecttree/DialogSelectTree-DKxWI9Re.system.js +0 -1
- package/components/dialogselectuser/DialogSelectUser-BZTSktHZ.system.js +0 -1
- package/components/dialogselectuser/DialogSelectUser-Bu5TDAPt.es.js +0 -186
- package/components/dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js +0 -1
- package/components/dropdown/Dropdown-DuvNYyq0.system.js +0 -1
- package/components/editor/Editor-IfYw2Tps.system.js +0 -1
- package/components/fieldwrapper/FieldWrapper-DFjw9hA8.system.js +0 -1
- package/components/fileupload/FileUpload-iVAJXujV.system.js +0 -1
- package/components/filtercontainer/FilterContainer-CuMaq5Sv.es.js +0 -284
- package/components/filtercontainer/FilterContainer-DUeVLHgZ.system.js +0 -1
- package/components/form/Form-D-e0VI8V.system.js +0 -1
- package/components/hardwaresync/HardwareSync--HomfQuH.system.js +0 -1
- package/components/icon/Icon-DUylRmY4.system.js +0 -1
- package/components/image/Image-DX6uB7Ns.system.js +0 -1
- package/components/imagecompressor/ImageCompressor-BLeJDvN3.system.js +0 -1
- package/components/imageinputinfo/ImageInputInfo-C5F14hbF.system.js +0 -1
- package/components/inlinemessage/InlineMessage-19w6FOcP.system.js +0 -1
- package/components/inputbadge/InputBadge-dgANMV70.system.js +0 -1
- package/components/inputcurrency/InputCurrency-ChqGX5L8.system.js +0 -1
- package/components/inputemail/InputEmail-CYILS9bp.system.js +0 -1
- package/components/inputnumber/InputNumber-CRyg8Xw_.system.js +0 -1
- package/components/inputpassword/InputPassword-BjB6FsoL.system.js +0 -1
- package/components/inputphonenumber/InputPhoneNumber-CVM2oK5q.es.js +0 -591
- package/components/inputphonenumber/InputPhoneNumber-DIbd3upL.system.js +0 -1
- package/components/inputrangenumber/InputRangeNumber-C28xgFBY.system.js +0 -1
- package/components/inputsearch/InputSearch--KHwTBTm.system.js +0 -1
- package/components/inputtext/InputText-93zDNfC3.system.js +0 -1
- package/components/inputurl/InputURL-kWIiKGEG.system.js +0 -1
- package/components/litedropdown/LiteDropdown-3KsCx4wX.system.js +0 -1
- package/components/loading/Loading-Diwog8dc.system.js +0 -1
- package/components/mentionlist/MentionList-600dsWhX.system.js +0 -1
- package/components/menu/Menu-OR25pAK3.system.js +0 -1
- package/components/menuitem/MenuItem-imQ-hYTP.system.js +0 -1
- package/components/multirow/MultiRow-DKu6uIsI.system.js +0 -1
- package/components/multiselect/MultiSelect-DKFYq47E.system.js +0 -1
- package/components/overlaypanel/OverlayPanel-C_WCcNPw.system.js +0 -1
- package/components/tabmenu/TabMenu-CAQqu-ff.system.js +0 -1
- package/components/tagtype/TagType-IMYg8AJf.system.js +0 -1
- package/components/textarea/Textarea-DlkzVURV.system.js +0 -1
- package/components/timeline/Timeline-BMRdV_mH.es.js +0 -120
- package/components/timeline/Timeline-D7SYc3QX.system.js +0 -1
- package/components/timelinecontentbytype/TimelineContentByType-BmWsZID0.system.js +0 -1
- package/components/toast/Toast-Pc_DOZ5-.system.js +0 -1
- package/components/toggleswitch/ToggleSwitch-WHdD3oYL.system.js +0 -1
- package/components/transactionroles/TransactionRoles-DSXBVwPM.system.js +0 -1
- package/components/tree/Tree-BoVGYw5N.system.js +0 -1
- package/components/tree/Tree-DnaIZZ8S.es.js +0 -268
- package/components/treenode/TreeNode-D5aepDIU.system.js +0 -1
- package/components/treesearchinput/TreeSearchInput-C-hXPV61.system.js +0 -1
- package/components/username/UserName-CCyPAYG6.system.js +0 -1
- package/components/userwithicon/UserWithIcon-CFjQcbAS.system.js +0 -1
- package/vendor/@popperjs/core-BDAJHTVh.es.js +0 -905
- package/vendor/@popperjs/core-DpNOCyB0.system.js +0 -1
- /package/assets/{lottiejs → lottie}/loading-page-B9ooQcfF.system.js +0 -0
- /package/assets/{lottiejs → lottie}/loading-page-CQ0mKER2.es.js +0 -0
- /package/assets/{lottiejs → lottie}/loading-plane-CgfbWppy.system.js +0 -0
- /package/assets/{lottiejs → lottie}/loading-plane-CoXtqoc9.es.js +0 -0
- /package/assets/{lottiejs → lottie}/loading-table-B4T3FYiI.system.js +0 -0
- /package/assets/{lottiejs → lottie}/loading-table-BnpbX8Ew.es.js +0 -0
- /package/assets/{lottiejs → lottie}/no-data-CMWnya_k.system.js +0 -0
- /package/assets/{lottiejs → lottie}/no-data-DOy8kIGF.es.js +0 -0
|
@@ -1,74 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { B as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { H as
|
|
12
|
-
import {
|
|
13
|
-
import { I as
|
|
14
|
-
import {
|
|
15
|
-
import { L as st } from "../../vendor/@tiptap/extension-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import { _ as
|
|
32
|
-
|
|
33
|
-
import { _ as At } from "../validatormessage/ValidatorMessage-BtKfBXzO.es.js";
|
|
34
|
-
import { _ as B } from "../editorbutton/EditorButton-DDgS2vga.es.js";
|
|
35
|
-
const Se = [
|
|
36
|
-
"#57291F",
|
|
37
|
-
"#C0413B",
|
|
38
|
-
"#D77B5F",
|
|
39
|
-
"#FF9200",
|
|
40
|
-
"#C87505",
|
|
41
|
-
"#F18E3F",
|
|
42
|
-
"#C14C32",
|
|
43
|
-
"#80003A",
|
|
44
|
-
"#506432",
|
|
45
|
-
"#B30019",
|
|
46
|
-
"#EC410B",
|
|
47
|
-
"#8CB5B5",
|
|
48
|
-
"#6C3400",
|
|
49
|
-
"#FFA400",
|
|
50
|
-
"#41222A",
|
|
51
|
-
"#FFB27B",
|
|
52
|
-
"#BC7576"
|
|
53
|
-
], Mt = () => {
|
|
54
|
-
const n = Math.floor(Math.random() * Se.length);
|
|
55
|
-
return Se[n];
|
|
56
|
-
}, $a = (n, f, d, N) => {
|
|
57
|
-
const l = d ?? Mt(), p = document.createElement("canvas");
|
|
58
|
-
p.style.background = l, p.width = f, p.height = f;
|
|
59
|
-
const g = p.getContext("2d");
|
|
60
|
-
if (g) {
|
|
61
|
-
const H = "Poppins", G = "600", J = "#fff";
|
|
62
|
-
g.font = `${G} 48px/48px ${H}`, g.textAlign = "center", g.textBaseline = "middle";
|
|
63
|
-
const w = p.width / 2, E = (p.height + 8) / 2;
|
|
64
|
-
g.fillStyle = l, g.fillRect(0, 0, p.width, p.height), g.fillStyle = J, g.fillText(n, w, E);
|
|
65
|
-
}
|
|
66
|
-
return p;
|
|
67
|
-
}, Lt = K.create({
|
|
1
|
+
import { defineComponent as Ee, mergeModels as ve, inject as Oe, useModel as fe, onMounted as De, reactive as je, shallowRef as h, ref as V, computed as J, watch as ge, resolveDirective as Re, createElementBlock as $, openBlock as m, Fragment as Q, createVNode as d, withCtx as p, createElementVNode as r, normalizeClass as b, createCommentVNode as U, createBlock as E, renderList as he, mergeProps as We, unref as s, createTextVNode as ze, toDisplayString as be, withDirectives as Ke, nextTick as Ge } from "vue";
|
|
2
|
+
import "../../event-bus/index-PQwO5T6B.es.js";
|
|
3
|
+
import { _ as L } from "./EditorButton-Cfew79JD.es.js";
|
|
4
|
+
import { h as qe } from "../../vendor/primevue-DkBtKf1Y.es.js";
|
|
5
|
+
import { u as Je } from "../../vendor/vee-validate-RE5RuswC.es.js";
|
|
6
|
+
import { B as Qe } from "../../vendor/@tiptap/extension-bold-CvAjR8FR.es.js";
|
|
7
|
+
import { B as Xe } from "../../vendor/@tiptap/extension-bullet-list-BrkIcd-z.es.js";
|
|
8
|
+
import { C as Ye } from "../../vendor/@tiptap/extension-code-BtAtPCQQ.es.js";
|
|
9
|
+
import { N as Z, m as Ze } from "../../vendor/@tiptap/core-DSbPv8xh.es.js";
|
|
10
|
+
import { F as et } from "../../vendor/@tiptap/extension-floating-menu-BTwcx1u8.es.js";
|
|
11
|
+
import { H as tt } from "../../vendor/@tiptap/extension-heading-B6PMnqvS.es.js";
|
|
12
|
+
import { H as at } from "../../vendor/@tiptap/extension-history-DdPDTH0G.es.js";
|
|
13
|
+
import { I as ot } from "../../vendor/@tiptap/extension-image-DCo2JDZp.es.js";
|
|
14
|
+
import { I as lt } from "../../vendor/@tiptap/extension-italic-D09oL4ps.es.js";
|
|
15
|
+
import { L as st } from "../../vendor/@tiptap/extension-link-CV6Fodq9.es.js";
|
|
16
|
+
import { L as it } from "../../vendor/@tiptap/extension-list-item-D8wSpPxS.es.js";
|
|
17
|
+
import { M as nt } from "../../vendor/@tiptap/extension-mention-cFXQdAs7.es.js";
|
|
18
|
+
import { O as rt } from "../../vendor/@tiptap/extension-ordered-list-BZU-Ty3o.es.js";
|
|
19
|
+
import { P as dt } from "../../vendor/@tiptap/extension-placeholder-CsBxoitZ.es.js";
|
|
20
|
+
import { U as ct } from "../../vendor/@tiptap/extension-underline-DklFOEoR.es.js";
|
|
21
|
+
import { u as ut, E as mt, F as X } from "../../vendor/@tiptap/vue-3-BOfcUn5G.es.js";
|
|
22
|
+
import { c as ye, B as Y, F as pt, d as vt } from "../../async-components/index-C8nb7p3T.es.js";
|
|
23
|
+
import { C as ft } from "./codeSnippetExtension-C-ADHg2S.es.js";
|
|
24
|
+
import { M as gt } from "./mentionSectionExtension-rbWufuMT.es.js";
|
|
25
|
+
import { s as ht } from "./suggestion-mkkpQFP-.es.js";
|
|
26
|
+
import { v as bt } from "../../utils/addAttachment.util-D9sYCBjS.es.js";
|
|
27
|
+
import yt from "../dialog/Dialog-BCcbXSya.es.js";
|
|
28
|
+
import xt from "../fieldwrapper/FieldWrapper-DmOogUM5.es.js";
|
|
29
|
+
import _t from "../icon/Icon-C4kXVcEX.es.js";
|
|
30
|
+
import kt from "../overlaypanel/OverlayPanel-bQbjuUgG.es.js";
|
|
31
|
+
import { _ as Ct } from "../validatormessage/ValidatorMessage-BtKfBXzO.es.js";
|
|
32
|
+
const wt = Z.create({
|
|
68
33
|
name: "doc",
|
|
69
34
|
topNode: !0,
|
|
70
35
|
content: "block+"
|
|
71
|
-
}),
|
|
36
|
+
}), At = Z.create({
|
|
72
37
|
name: "paragraph",
|
|
73
38
|
priority: 1e3,
|
|
74
39
|
addOptions() {
|
|
@@ -83,12 +48,12 @@ const Se = [
|
|
|
83
48
|
{ tag: "p" }
|
|
84
49
|
];
|
|
85
50
|
},
|
|
86
|
-
renderHTML({ HTMLAttributes:
|
|
87
|
-
return ["p",
|
|
51
|
+
renderHTML({ HTMLAttributes: y }) {
|
|
52
|
+
return ["p", Ze(this.options.HTMLAttributes, y), 0];
|
|
88
53
|
},
|
|
89
54
|
addCommands() {
|
|
90
55
|
return {
|
|
91
|
-
setParagraph: () => ({ commands:
|
|
56
|
+
setParagraph: () => ({ commands: y }) => y.setNode(this.name)
|
|
92
57
|
};
|
|
93
58
|
},
|
|
94
59
|
addKeyboardShortcuts() {
|
|
@@ -96,148 +61,36 @@ const Se = [
|
|
|
96
61
|
"Mod-Alt-0": () => this.editor.commands.setParagraph()
|
|
97
62
|
};
|
|
98
63
|
}
|
|
99
|
-
}),
|
|
64
|
+
}), Lt = Z.create({
|
|
100
65
|
name: "text",
|
|
101
66
|
group: "inline"
|
|
102
|
-
}),
|
|
103
|
-
|
|
104
|
-
group: "block",
|
|
105
|
-
atom: !0,
|
|
106
|
-
addAttributes() {
|
|
107
|
-
return {
|
|
108
|
-
code: {
|
|
109
|
-
default: ""
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
},
|
|
113
|
-
parseHTML() {
|
|
114
|
-
return [
|
|
115
|
-
{
|
|
116
|
-
tag: "codeSnippet"
|
|
117
|
-
}
|
|
118
|
-
];
|
|
119
|
-
},
|
|
120
|
-
renderHTML({ HTMLAttributes: n }) {
|
|
121
|
-
return ["codeSnippet", ie(n)];
|
|
122
|
-
},
|
|
123
|
-
addNodeView() {
|
|
124
|
-
return Ae(gt);
|
|
125
|
-
},
|
|
126
|
-
addCommands() {
|
|
127
|
-
return {
|
|
128
|
-
insertCodeSnippet: () => ({ commands: n }) => n.insertContent({
|
|
129
|
-
type: "codeSnippet",
|
|
130
|
-
attrs: { code: "" }
|
|
131
|
-
}),
|
|
132
|
-
deleteCodeSnippet: () => ({ commands: n }) => n.deleteSelection()
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
}), Ht = K.create({
|
|
136
|
-
name: "mentionSection",
|
|
137
|
-
group: "block",
|
|
138
|
-
atom: !0,
|
|
139
|
-
addAttributes() {
|
|
140
|
-
return {
|
|
141
|
-
title: {
|
|
142
|
-
default: ""
|
|
143
|
-
},
|
|
144
|
-
bodyText: {
|
|
145
|
-
default: ""
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
},
|
|
149
|
-
parseHTML() {
|
|
150
|
-
return [
|
|
151
|
-
{
|
|
152
|
-
tag: "mentionSection"
|
|
153
|
-
}
|
|
154
|
-
];
|
|
155
|
-
},
|
|
156
|
-
renderHTML({ HTMLAttributes: n }) {
|
|
157
|
-
return ["mentionSection", ie(n)];
|
|
158
|
-
},
|
|
159
|
-
addNodeView() {
|
|
160
|
-
return Ae(ht);
|
|
161
|
-
},
|
|
162
|
-
addCommands() {
|
|
163
|
-
return {
|
|
164
|
-
insertMentionSection: (n) => ({ commands: f }) => f.insertContent({
|
|
165
|
-
type: "mentionSection",
|
|
166
|
-
attrs: {
|
|
167
|
-
title: n,
|
|
168
|
-
bodyText: null
|
|
169
|
-
}
|
|
170
|
-
}),
|
|
171
|
-
deleteMentionSection: () => ({ commands: n }) => n.deleteSelection()
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
}), Ft = () => ({
|
|
175
|
-
render: () => {
|
|
176
|
-
let n, f;
|
|
177
|
-
return {
|
|
178
|
-
onStart(d) {
|
|
179
|
-
n = new pt(xt, {
|
|
180
|
-
props: {
|
|
181
|
-
items: d.items,
|
|
182
|
-
command: d.command
|
|
183
|
-
},
|
|
184
|
-
editor: d.editor
|
|
185
|
-
}), d.clientRect && (f = bt("body", {
|
|
186
|
-
getReferenceClientRect: d.clientRect,
|
|
187
|
-
appendTo: () => document.body,
|
|
188
|
-
content: n.element,
|
|
189
|
-
showOnCreate: !0,
|
|
190
|
-
interactive: !0,
|
|
191
|
-
trigger: "manual",
|
|
192
|
-
placement: "bottom-start"
|
|
193
|
-
}));
|
|
194
|
-
},
|
|
195
|
-
onUpdate(d) {
|
|
196
|
-
n.updateProps(d), d.clientRect && f[0].setProps({
|
|
197
|
-
getReferenceClientRect: d.clientRect
|
|
198
|
-
});
|
|
199
|
-
},
|
|
200
|
-
onKeyDown(d) {
|
|
201
|
-
return d.event.key === "Escape" ? (f[0].hide(), !0) : n.ref.onKeyDown(d.event);
|
|
202
|
-
},
|
|
203
|
-
onExit() {
|
|
204
|
-
f[0].destroy(), n.destroy();
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
}), Pt = 1 * 1024 * 1024, Vt = 10 * 1024 * 1024, $t = (n) => n.startsWith("image/") ? "image" : n.includes("mp4") ? "mp4" : n === "video/x-matroska" ? "mkv" : n === "text/plain" ? "txt" : n === "text/csv" ? "csv" : n === "text/html" ? "html" : n === "application/json" ? "json" : n === "application/pdf" ? "pdf" : n === "application/vnd.ms-excel" || n === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ? "xls" : n === "application/msword" || n === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" ? "doc" : n.startsWith("application/x-url") ? "link" : n.includes("application/x-zip-compressed") || n.includes("application/x-compressed") ? "compressed" : "unknown", Nt = (n, f = 1) => {
|
|
209
|
-
var N;
|
|
210
|
-
if (f *= Pt, !((N = n.type) != null && N.length))
|
|
211
|
-
return !1;
|
|
212
|
-
const d = $t(n.type);
|
|
213
|
-
return n.size <= (d === "mp4" || d === "mkv" ? Vt : f);
|
|
214
|
-
}, Et = ["title", "onClick"], Rt = { class: "!text-[9px] !leading-3 !h-max !font-normal" }, Ot = {
|
|
215
|
-
class: /* @__PURE__ */ k([
|
|
67
|
+
}), Mt = ["title", "onClick"], It = { class: "!text-[9px] !leading-3 !h-max !font-normal" }, Tt = {
|
|
68
|
+
class: /* @__PURE__ */ b([
|
|
216
69
|
"flex gap-2 bg-white border-[0.5px] px-2 py-1 rounded-sm",
|
|
217
70
|
"[&_.separator::after]:content-['|']",
|
|
218
71
|
"[&_.separator::after]:text-xl",
|
|
219
72
|
"[&_.separator::after]:font-thin",
|
|
220
73
|
"[&_.separator]:h-6"
|
|
221
74
|
])
|
|
222
|
-
},
|
|
223
|
-
class: /* @__PURE__ */
|
|
75
|
+
}, St = {
|
|
76
|
+
class: /* @__PURE__ */ b([
|
|
224
77
|
"flex gap-2 bg-white border-[0.5px] px-2 py-1 rounded-sm",
|
|
225
78
|
"[&_.separator::after]:content-['|']",
|
|
226
79
|
"[&_.separator::after]:text-xl",
|
|
227
80
|
"[&_.separator::after]:font-thin",
|
|
228
81
|
"[&_.separator]:h-6"
|
|
229
82
|
])
|
|
230
|
-
},
|
|
231
|
-
class: /* @__PURE__ */
|
|
83
|
+
}, Bt = /* @__PURE__ */ r("span", { class: "separator" }, null, -1), Ht = /* @__PURE__ */ r("span", { class: "separator" }, null, -1), Pt = /* @__PURE__ */ r("span", { class: "separator" }, null, -1), Ft = { class: "flex flex-col gap-4" }, Nt = { class: "flex gap-2" }, Vt = { class: "flex-1" }, $t = { class: "flex items-end" }, Ut = /* @__PURE__ */ r("p", null, "Baru Saja Ditambahkan", -1), Et = { class: "flex flex-wrap justify-center gap-2" }, Ot = ["src"], Dt = { class: "flex flex-col justify-center w-28 h-28 items-center" }, jt = { class: "relative py-[7px] px-3" }, Rt = /* @__PURE__ */ r("p", null, "Cari Gambar", -1), Wt = {
|
|
84
|
+
class: /* @__PURE__ */ b([
|
|
232
85
|
"flex gap-2 bg-white border-[0.5px] px-2 py-1 rounded-sm",
|
|
233
86
|
"[&_.separator::after]:content-['|']",
|
|
234
87
|
"[&_.separator::after]:text-xl",
|
|
235
88
|
"[&_.separator::after]:font-thin",
|
|
236
89
|
"[&_.separator]:h-6"
|
|
237
90
|
])
|
|
238
|
-
},
|
|
91
|
+
}, ka = /* @__PURE__ */ Ee({
|
|
239
92
|
__name: "Editor",
|
|
240
|
-
props: /* @__PURE__ */
|
|
93
|
+
props: /* @__PURE__ */ ve({
|
|
241
94
|
modelValue: {},
|
|
242
95
|
initialValue: {},
|
|
243
96
|
placeholder: { default: "Tulis" },
|
|
@@ -265,52 +118,52 @@ const Se = [
|
|
|
265
118
|
mentionedList: {},
|
|
266
119
|
mentionedListModifiers: {}
|
|
267
120
|
}),
|
|
268
|
-
emits: /* @__PURE__ */
|
|
269
|
-
setup(
|
|
270
|
-
const
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
121
|
+
emits: /* @__PURE__ */ ve(["update:modelValue", "postImageLocal", "deleteImageLocal", "blur", "focus", "update:mentionedList"], ["update:modelValue", "update:mentionedList"]),
|
|
122
|
+
setup(y, { expose: xe, emit: _e }) {
|
|
123
|
+
const ke = Oe("preset", {}).menu, l = y, B = _e;
|
|
124
|
+
fe(y, "modelValue");
|
|
125
|
+
const Ce = fe(y, "mentionedList");
|
|
126
|
+
De(() => {
|
|
274
127
|
l.useValidator && (Object.assign(
|
|
275
|
-
|
|
276
|
-
|
|
128
|
+
v,
|
|
129
|
+
Je(
|
|
277
130
|
() => l.fieldName ?? "editorInput",
|
|
278
|
-
(e) =>
|
|
131
|
+
(e) => Ge(() => Pe(e))
|
|
279
132
|
)
|
|
280
|
-
), l.initialValue != null && (
|
|
133
|
+
), l.initialValue != null && (v.value = l.initialValue), l.modelValue != null && (v.value = l.modelValue)), Ve();
|
|
281
134
|
});
|
|
282
|
-
const
|
|
135
|
+
const O = h(!1), ee = V(), W = V(), te = V(), H = V([]), z = h(!1), M = h(), P = h(), D = h(), v = je({
|
|
283
136
|
value: l.modelValue
|
|
284
|
-
}),
|
|
137
|
+
}), x = h(!1), F = V([]), K = h(), we = J(
|
|
285
138
|
() => {
|
|
286
139
|
var e;
|
|
287
140
|
return l.placeholder ?? "Tulis " + (l.label ? (e = l.label) == null ? void 0 : e.toLowerCase() : "");
|
|
288
141
|
}
|
|
289
|
-
), a =
|
|
142
|
+
), a = ut({
|
|
290
143
|
content: l.initialValue ?? l.modelValue,
|
|
291
|
-
onBlur: (e) =>
|
|
292
|
-
onFocus: (e) =>
|
|
144
|
+
onBlur: (e) => B("blur", e),
|
|
145
|
+
onFocus: (e) => B("focus", e),
|
|
293
146
|
onUpdate: () => {
|
|
294
147
|
var e, t;
|
|
295
|
-
|
|
148
|
+
B("update:modelValue", ((e = a.value) == null ? void 0 : e.getJSON()) ?? {}), v.value = ((t = a.value) == null ? void 0 : t.getJSON()) ?? {};
|
|
296
149
|
},
|
|
297
150
|
onPaste: async (e) => {
|
|
298
151
|
let t = [];
|
|
299
|
-
const { items: i } = e.clipboardData, o = (
|
|
300
|
-
if (
|
|
301
|
-
const
|
|
302
|
-
|
|
152
|
+
const { items: i } = e.clipboardData, o = (n) => new Promise((c) => {
|
|
153
|
+
if (n.kind === "file") {
|
|
154
|
+
const u = n.getAsFile();
|
|
155
|
+
u && t.push(u), c();
|
|
303
156
|
} else
|
|
304
|
-
|
|
157
|
+
c();
|
|
305
158
|
});
|
|
306
159
|
await Promise.all(Array.from(i).map(o));
|
|
307
160
|
try {
|
|
308
161
|
if (t.length) {
|
|
309
|
-
const
|
|
310
|
-
await
|
|
162
|
+
const n = t.filter((c) => c.type.startsWith("image/")).filter((c) => bt(c, 10));
|
|
163
|
+
await oe(n);
|
|
311
164
|
}
|
|
312
|
-
} catch (
|
|
313
|
-
console.error("Error pasting images:",
|
|
165
|
+
} catch (n) {
|
|
166
|
+
console.error("Error pasting images:", n);
|
|
314
167
|
} finally {
|
|
315
168
|
t = [];
|
|
316
169
|
}
|
|
@@ -321,19 +174,19 @@ const Se = [
|
|
|
321
174
|
"image"
|
|
322
175
|
);
|
|
323
176
|
(i = a.value) == null || i.state.doc.descendants((o) => {
|
|
324
|
-
o.type.name === "mention" &&
|
|
325
|
-
}),
|
|
326
|
-
new Set(
|
|
327
|
-
), t.title === "localImage" ?
|
|
177
|
+
o.type.name === "mention" && F.value.push(o.attrs.id);
|
|
178
|
+
}), F.value = Array.from(
|
|
179
|
+
new Set(F.value)
|
|
180
|
+
), t.title === "localImage" ? P.value = t : P.value = void 0;
|
|
328
181
|
},
|
|
329
182
|
editable: l.editorState === "editable",
|
|
330
183
|
extensions: [
|
|
331
|
-
|
|
184
|
+
dt.configure({
|
|
332
185
|
emptyEditorClass: "is-editor-empty !text-general-200 !font-light",
|
|
333
|
-
placeholder:
|
|
186
|
+
placeholder: we.value,
|
|
334
187
|
includeChildren: !1
|
|
335
188
|
}),
|
|
336
|
-
|
|
189
|
+
wt.extend({
|
|
337
190
|
addKeyboardShortcuts() {
|
|
338
191
|
return {
|
|
339
192
|
"Mod-\\": () => (this.editor.commands.clearNodes(), this.editor.commands.unsetAllMarks())
|
|
@@ -341,17 +194,17 @@ const Se = [
|
|
|
341
194
|
}
|
|
342
195
|
}),
|
|
343
196
|
// Blocks
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
197
|
+
tt,
|
|
198
|
+
At,
|
|
199
|
+
Lt,
|
|
200
|
+
ot.extend({
|
|
348
201
|
addKeyboardShortcuts() {
|
|
349
202
|
const e = () => {
|
|
350
203
|
const { node: t } = this.editor.state.selection;
|
|
351
|
-
return t && t.type.name === "image" && t.attrs.title === "localImage" ? (
|
|
204
|
+
return t && t.type.name === "image" && t.attrs.title === "localImage" ? (le(), !0) : !1;
|
|
352
205
|
};
|
|
353
206
|
return {
|
|
354
|
-
Insert: () =>
|
|
207
|
+
Insert: () => ae(),
|
|
355
208
|
Backspace: e,
|
|
356
209
|
Delete: e
|
|
357
210
|
};
|
|
@@ -361,85 +214,85 @@ const Se = [
|
|
|
361
214
|
class: "w-fit max-h-[300px] object-contain"
|
|
362
215
|
}
|
|
363
216
|
}),
|
|
364
|
-
|
|
217
|
+
ft.extend({
|
|
365
218
|
addKeyboardShortcuts() {
|
|
366
219
|
return {
|
|
367
|
-
"Mod-alt-c":
|
|
220
|
+
"Mod-alt-c": se
|
|
368
221
|
};
|
|
369
222
|
}
|
|
370
223
|
}),
|
|
371
|
-
|
|
372
|
-
|
|
224
|
+
gt,
|
|
225
|
+
rt.configure({
|
|
373
226
|
HTMLAttributes: {
|
|
374
227
|
class: "list-decimal px-3 py-1"
|
|
375
228
|
}
|
|
376
229
|
}),
|
|
377
|
-
|
|
230
|
+
Xe.configure({
|
|
378
231
|
HTMLAttributes: {
|
|
379
232
|
class: "list-disc px-3 py-1"
|
|
380
233
|
}
|
|
381
234
|
}),
|
|
382
|
-
|
|
235
|
+
it,
|
|
383
236
|
// Marks
|
|
237
|
+
Qe,
|
|
238
|
+
lt,
|
|
239
|
+
ct,
|
|
384
240
|
Ye,
|
|
385
|
-
|
|
386
|
-
mt,
|
|
387
|
-
tt,
|
|
388
|
-
rt.extend({
|
|
241
|
+
st.extend({
|
|
389
242
|
addKeyboardShortcuts() {
|
|
390
243
|
return {
|
|
391
|
-
"Mod-k": () =>
|
|
244
|
+
"Mod-k": () => G()
|
|
392
245
|
};
|
|
393
246
|
}
|
|
394
247
|
}).configure({
|
|
395
248
|
openOnClick: !1
|
|
396
249
|
}),
|
|
397
|
-
|
|
398
|
-
|
|
250
|
+
at,
|
|
251
|
+
nt.configure({
|
|
399
252
|
HTMLAttributes: {
|
|
400
253
|
class: "bg-primary-200 text-primary-800 rounded-[50px] px-1"
|
|
401
254
|
},
|
|
402
255
|
suggestion: {
|
|
403
256
|
items({ query: e }) {
|
|
404
|
-
return ((
|
|
257
|
+
return ((D == null ? void 0 : D.value) ?? []).filter((t) => t == null ? void 0 : t.fullName.toLowerCase().includes(e.toLowerCase())).map((t) => ({
|
|
405
258
|
id: t == null ? void 0 : t._id,
|
|
406
259
|
label: t == null ? void 0 : t.fullName,
|
|
407
260
|
nickName: t.nickName,
|
|
408
261
|
profilePicture: t.profilePicture
|
|
409
262
|
}));
|
|
410
263
|
},
|
|
411
|
-
...
|
|
264
|
+
...ht()
|
|
412
265
|
}
|
|
413
266
|
}),
|
|
414
|
-
|
|
267
|
+
et
|
|
415
268
|
]
|
|
416
|
-
}),
|
|
417
|
-
var
|
|
269
|
+
}), Ae = J(() => {
|
|
270
|
+
var C, g, w, A, I, T, S, N, R, ne, re, de, ce, ue, me, pe;
|
|
418
271
|
if (!a.value) return [];
|
|
419
272
|
const {
|
|
420
273
|
toggleBold: e,
|
|
421
274
|
focus: t,
|
|
422
275
|
toggleItalic: i,
|
|
423
276
|
toggleUnderline: o,
|
|
424
|
-
toggleBulletList:
|
|
425
|
-
toggleCode:
|
|
426
|
-
toggleOrderedList:
|
|
427
|
-
unsetAllMarks:
|
|
428
|
-
clearNodes:
|
|
429
|
-
} = a.value.commands,
|
|
277
|
+
toggleBulletList: n,
|
|
278
|
+
toggleCode: c,
|
|
279
|
+
toggleOrderedList: u,
|
|
280
|
+
unsetAllMarks: _,
|
|
281
|
+
clearNodes: k
|
|
282
|
+
} = a.value.commands, f = (C = a.value) == null ? void 0 : C.isActive("code");
|
|
430
283
|
return [
|
|
431
284
|
{
|
|
432
285
|
label: "Aa",
|
|
433
286
|
iconPos: "right",
|
|
434
287
|
icon: "arrow-down",
|
|
435
288
|
class: "!gap-0 !w-[50px] !p-0 !m-0 [&_span]:leading-[22px]",
|
|
436
|
-
onClick: (
|
|
289
|
+
onClick: (g = ee.value) == null ? void 0 : g.toggle
|
|
437
290
|
},
|
|
438
291
|
{
|
|
439
292
|
icon: "bold",
|
|
440
293
|
tooltipText: "Bold | Ctrl + B",
|
|
441
|
-
active: (
|
|
442
|
-
disabled:
|
|
294
|
+
active: (w = a.value) == null ? void 0 : w.isActive("bold"),
|
|
295
|
+
disabled: f,
|
|
443
296
|
onClick: () => {
|
|
444
297
|
t(), e();
|
|
445
298
|
}
|
|
@@ -447,8 +300,8 @@ const Se = [
|
|
|
447
300
|
{
|
|
448
301
|
icon: "italic",
|
|
449
302
|
tooltipText: "Italic | Ctrl + I",
|
|
450
|
-
active: (
|
|
451
|
-
disabled:
|
|
303
|
+
active: (A = a.value) == null ? void 0 : A.isActive("italic"),
|
|
304
|
+
disabled: f,
|
|
452
305
|
onClick: () => {
|
|
453
306
|
t(), i();
|
|
454
307
|
}
|
|
@@ -456,9 +309,9 @@ const Se = [
|
|
|
456
309
|
{
|
|
457
310
|
icon: "underline",
|
|
458
311
|
class: "mr-3",
|
|
459
|
-
active: (
|
|
312
|
+
active: (I = a.value) == null ? void 0 : I.isActive("underline"),
|
|
460
313
|
tooltipText: "Underline | Ctrl + U",
|
|
461
|
-
disabled:
|
|
314
|
+
disabled: f,
|
|
462
315
|
onClick: () => {
|
|
463
316
|
t(), o();
|
|
464
317
|
}
|
|
@@ -466,58 +319,58 @@ const Se = [
|
|
|
466
319
|
{
|
|
467
320
|
icon: "list-unordered",
|
|
468
321
|
tooltipText: "Bullet List | Ctrl + 7",
|
|
469
|
-
active: (
|
|
322
|
+
active: (T = a.value) == null ? void 0 : T.isActive("bullet-list"),
|
|
470
323
|
onClick: () => {
|
|
471
|
-
t(),
|
|
324
|
+
t(), n();
|
|
472
325
|
}
|
|
473
326
|
},
|
|
474
327
|
{
|
|
475
328
|
icon: "list-ordered",
|
|
476
329
|
tooltipText: "Numbered List | Ctrl + 8",
|
|
477
|
-
active: (
|
|
330
|
+
active: (S = a.value) == null ? void 0 : S.isActive("ordered-list"),
|
|
478
331
|
class: "mr-3",
|
|
479
332
|
onClick: () => {
|
|
480
|
-
t(),
|
|
333
|
+
t(), u();
|
|
481
334
|
}
|
|
482
335
|
},
|
|
483
336
|
{
|
|
484
337
|
icon: "link-m",
|
|
485
338
|
tooltipText: "Link | Ctrl + K",
|
|
486
|
-
disabled: ((
|
|
487
|
-
onClick:
|
|
339
|
+
disabled: ((N = a.value) == null ? void 0 : N.isActive("link")) || O.value,
|
|
340
|
+
onClick: G
|
|
488
341
|
},
|
|
489
342
|
{
|
|
490
343
|
icon: "image-add",
|
|
491
|
-
active: (
|
|
344
|
+
active: (R = a.value) == null ? void 0 : R.isActive("image"),
|
|
492
345
|
tooltipText: "Image | Insert",
|
|
493
|
-
onClick: () =>
|
|
346
|
+
onClick: () => ae()
|
|
494
347
|
},
|
|
495
348
|
{
|
|
496
349
|
icon: "code-line",
|
|
497
|
-
active: (
|
|
350
|
+
active: (ne = a.value) == null ? void 0 : ne.isActive("code"),
|
|
498
351
|
tooltipText: "Inline Code | Ctrl + E",
|
|
499
352
|
onClick: () => {
|
|
500
|
-
t(),
|
|
353
|
+
t(), c();
|
|
501
354
|
}
|
|
502
355
|
},
|
|
503
356
|
{
|
|
504
357
|
icon: "code-box-line",
|
|
505
|
-
active: (
|
|
358
|
+
active: (re = a.value) == null ? void 0 : re.isActive("codeSnippet"),
|
|
506
359
|
tooltipText: "Code Block | Ctrl + Alt + C",
|
|
507
360
|
onClick: () => {
|
|
508
|
-
|
|
361
|
+
se();
|
|
509
362
|
}
|
|
510
363
|
},
|
|
511
364
|
{
|
|
512
365
|
icon: "format-clear",
|
|
513
366
|
tooltipText: "Clear Formatting Ctrl + \\",
|
|
514
|
-
disabled: !((
|
|
367
|
+
disabled: !((de = a.value) != null && de.isActive("bold")) && !((ce = a.value) != null && ce.isActive("underline")) && !((ue = a.value) != null && ue.isActive("italic")) && !((me = a.value) != null && me.isActive("code")) && !((pe = a.value) != null && pe.isActive("heading")),
|
|
515
368
|
onClick: () => {
|
|
516
|
-
t(),
|
|
369
|
+
t(), k(), _();
|
|
517
370
|
}
|
|
518
371
|
}
|
|
519
372
|
];
|
|
520
|
-
}),
|
|
373
|
+
}), Le = h([
|
|
521
374
|
{
|
|
522
375
|
label: "Paragraf",
|
|
523
376
|
class: "p",
|
|
@@ -581,43 +434,43 @@ const Se = [
|
|
|
581
434
|
(e = a.value) == null || e.commands.focus(), (t = a.value) == null || t.commands.setHeading({ level: 6 });
|
|
582
435
|
}
|
|
583
436
|
}
|
|
584
|
-
]),
|
|
437
|
+
]), j = J(() => {
|
|
585
438
|
var e;
|
|
586
439
|
return (e = a.value) == null ? void 0 : e.getAttributes("link");
|
|
587
|
-
}),
|
|
440
|
+
}), Me = () => {
|
|
588
441
|
var i;
|
|
589
|
-
const { href: e } =
|
|
590
|
-
return
|
|
591
|
-
},
|
|
442
|
+
const { href: e } = j.value, t = (i = a.value) == null ? void 0 : i.view.dom.querySelector(`[href="${e}"]`);
|
|
443
|
+
return Be() || t && (t == null ? void 0 : t.textContent) !== e && t.textContent || void 0;
|
|
444
|
+
}, Ie = () => {
|
|
592
445
|
var e;
|
|
593
|
-
window.open((e =
|
|
594
|
-
},
|
|
446
|
+
window.open((e = j.value) == null ? void 0 : e.href, "_blank");
|
|
447
|
+
}, Te = () => {
|
|
595
448
|
var e;
|
|
596
|
-
window.navigator.clipboard.writeText((e =
|
|
597
|
-
},
|
|
449
|
+
window.navigator.clipboard.writeText((e = j.value) == null ? void 0 : e.href);
|
|
450
|
+
}, Se = () => {
|
|
598
451
|
var e;
|
|
599
452
|
if (a.value) {
|
|
600
453
|
const { unsetLink: t, focus: i } = ((e = a.value) == null ? void 0 : e.commands) ?? {};
|
|
601
454
|
i(), t();
|
|
602
455
|
}
|
|
603
|
-
},
|
|
456
|
+
}, Be = () => {
|
|
604
457
|
if (a.value) {
|
|
605
458
|
const { state: e } = a.value, { from: t, to: i } = e.selection;
|
|
606
459
|
return e == null ? void 0 : e.doc.textBetween(t, i, " ");
|
|
607
460
|
}
|
|
608
|
-
},
|
|
461
|
+
}, ae = () => (z.value = !0, !1), oe = async (e) => {
|
|
609
462
|
if (l.isImageUploadBase64) {
|
|
610
|
-
const t = await
|
|
611
|
-
|
|
463
|
+
const t = await Ne(e[0]);
|
|
464
|
+
q(t);
|
|
612
465
|
} else
|
|
613
|
-
|
|
466
|
+
B("postImageLocal", {
|
|
614
467
|
image: e[0],
|
|
615
|
-
setImageCb:
|
|
468
|
+
setImageCb: q
|
|
616
469
|
});
|
|
617
|
-
},
|
|
470
|
+
}, He = (e) => {
|
|
618
471
|
const { files: t } = e.target;
|
|
619
|
-
|
|
620
|
-
},
|
|
472
|
+
oe(t);
|
|
473
|
+
}, Pe = (e = {}) => {
|
|
621
474
|
if (typeof l.validatorMessage == "string" && l.invalid)
|
|
622
475
|
return l.validatorMessage;
|
|
623
476
|
if (typeof l.validatorMessage != "string") {
|
|
@@ -626,101 +479,101 @@ const Se = [
|
|
|
626
479
|
return t ?? !0;
|
|
627
480
|
}
|
|
628
481
|
return !0;
|
|
629
|
-
},
|
|
630
|
-
var o,
|
|
482
|
+
}, G = (e) => {
|
|
483
|
+
var o, n, c, u;
|
|
631
484
|
const t = e ?? {
|
|
632
|
-
currentTarget: (
|
|
633
|
-
}, { dom: i } = ((
|
|
634
|
-
return (
|
|
635
|
-
},
|
|
636
|
-
var
|
|
485
|
+
currentTarget: (n = (o = te.value) == null ? void 0 : o.querySelector(".ic-link-m")) == null ? void 0 : n.closest("button")
|
|
486
|
+
}, { dom: i } = ((c = a.value) == null ? void 0 : c.view) ?? {};
|
|
487
|
+
return (u = W.value) == null || u.toggle(t, i), !0;
|
|
488
|
+
}, Fe = ({ formValues: e }) => {
|
|
489
|
+
var _, k;
|
|
637
490
|
if (!a.value) return !1;
|
|
638
|
-
const { setLink: t, insertContent: i, focus: o } = a.value.commands, { url:
|
|
491
|
+
const { setLink: t, insertContent: i, focus: o } = a.value.commands, { url: n, text: c } = e, { state: u } = a.value;
|
|
639
492
|
return o(), t({
|
|
640
|
-
href:
|
|
493
|
+
href: n,
|
|
641
494
|
target: "_blank",
|
|
642
495
|
rel: "nofollow"
|
|
643
|
-
}), (
|
|
644
|
-
const { $from:
|
|
645
|
-
let
|
|
646
|
-
return
|
|
647
|
-
|
|
648
|
-
}),
|
|
649
|
-
}).run() :
|
|
650
|
-
},
|
|
651
|
-
var t, i, o,
|
|
496
|
+
}), (_ = a.value) != null && _.isActive("link") ? a.value.chain().focus().command(({ tr: f, state: C }) => {
|
|
497
|
+
const { $from: g, $to: w } = C.selection, A = u.schema.marks.link;
|
|
498
|
+
let I = g.start(), T = w.end();
|
|
499
|
+
return u.doc.nodesBetween(g.pos, w.pos, (S, N) => {
|
|
500
|
+
S.isText && S.marks.some((R) => R.type === A) && (I = Math.min(I, N), T = Math.max(T, N + S.nodeSize));
|
|
501
|
+
}), f.insertText(c || n, I, T), !0;
|
|
502
|
+
}).run() : u.selection.empty && i(c || n), (k = W.value) == null || k.hide(), O.value = !1, !0;
|
|
503
|
+
}, q = (e) => {
|
|
504
|
+
var t, i, o, n;
|
|
652
505
|
(t = a.value) == null || t.commands.focus(), e && (l.isImageUploadBase64 ? (i = a.value) == null || i.commands.setImage({
|
|
653
506
|
src: e,
|
|
654
507
|
title: "localImageBase64"
|
|
655
|
-
}) : (o = a.value) == null || o.commands.setImage({ src: e, title: "localImage" }),
|
|
656
|
-
/* @__PURE__ */ new Set([...
|
|
657
|
-
)),
|
|
658
|
-
/* @__PURE__ */ new Set([...
|
|
659
|
-
)),
|
|
660
|
-
},
|
|
508
|
+
}) : (o = a.value) == null || o.commands.setImage({ src: e, title: "localImage" }), H.value = Array.from(
|
|
509
|
+
/* @__PURE__ */ new Set([...H.value, e])
|
|
510
|
+
)), M.value && ((n = a.value) == null || n.commands.setImage({ src: M.value }), H.value = Array.from(
|
|
511
|
+
/* @__PURE__ */ new Set([...H.value, M.value])
|
|
512
|
+
)), M.value = void 0, ie();
|
|
513
|
+
}, le = () => {
|
|
661
514
|
var e;
|
|
662
|
-
|
|
663
|
-
},
|
|
515
|
+
P.value && P.value.title === "localImage" && B("deleteImageLocal", P.value), (e = a.value) == null || e.commands.deleteSelection();
|
|
516
|
+
}, Ne = (e) => new Promise((t, i) => {
|
|
664
517
|
const o = new FileReader();
|
|
665
518
|
o.readAsDataURL(e), o.onload = () => {
|
|
666
519
|
t(o.result);
|
|
667
|
-
}, o.onerror = (
|
|
668
|
-
i(
|
|
520
|
+
}, o.onerror = (n) => {
|
|
521
|
+
i(n);
|
|
669
522
|
};
|
|
670
|
-
}),
|
|
523
|
+
}), Ve = async () => {
|
|
671
524
|
if (l.fetchMentionSuggestionFunction) {
|
|
672
|
-
|
|
525
|
+
x.value = !x.value;
|
|
673
526
|
try {
|
|
674
527
|
const { data: e } = await l.fetchMentionSuggestionFunction() ?? {};
|
|
675
|
-
|
|
528
|
+
D.value = e, x.value = !x.value;
|
|
676
529
|
} catch (e) {
|
|
677
530
|
console.error(e);
|
|
678
531
|
}
|
|
679
532
|
}
|
|
680
|
-
},
|
|
533
|
+
}, se = () => {
|
|
681
534
|
var i, o;
|
|
682
535
|
const { insertCodeSnippet: e, deleteCodeSnippet: t } = (i = a.value) == null ? void 0 : i.commands;
|
|
683
536
|
return (o = a.value) != null && o.isActive("codeSnippet") ? t() : e(), !1;
|
|
684
|
-
},
|
|
537
|
+
}, ie = () => {
|
|
685
538
|
a.value.commands.createParagraphNear();
|
|
686
|
-
},
|
|
539
|
+
}, $e = (e) => {
|
|
687
540
|
var t;
|
|
688
541
|
try {
|
|
689
542
|
const { insertMentionSection: i } = (t = a.value) == null ? void 0 : t.commands;
|
|
690
|
-
i(e),
|
|
543
|
+
i(e), K.value !== e && K.value !== void 0 && Ue(), K.value = e;
|
|
691
544
|
} catch (i) {
|
|
692
545
|
console.error(i);
|
|
693
546
|
}
|
|
694
547
|
}, Ue = () => {
|
|
695
|
-
|
|
696
|
-
|
|
548
|
+
x.value = !0, setTimeout(() => {
|
|
549
|
+
x.value = !1;
|
|
697
550
|
}, 100);
|
|
698
551
|
};
|
|
699
|
-
return
|
|
700
|
-
mentionSectionTrigger:
|
|
701
|
-
}),
|
|
552
|
+
return xe({
|
|
553
|
+
mentionSectionTrigger: $e
|
|
554
|
+
}), ge(
|
|
702
555
|
() => l.invalid,
|
|
703
556
|
() => {
|
|
704
557
|
var e;
|
|
705
|
-
(e =
|
|
558
|
+
(e = v.validate) == null || e.call(v);
|
|
706
559
|
}
|
|
707
|
-
),
|
|
708
|
-
|
|
560
|
+
), ge(F, () => {
|
|
561
|
+
Ce.value = F.value;
|
|
709
562
|
}), (e, t) => {
|
|
710
|
-
const i =
|
|
711
|
-
return
|
|
712
|
-
|
|
563
|
+
const i = Re("focus");
|
|
564
|
+
return m(), $(Q, null, [
|
|
565
|
+
d(xt, {
|
|
713
566
|
info: e.fieldInfo,
|
|
714
567
|
label: l.label,
|
|
715
568
|
"label-class": l.labelClass,
|
|
716
569
|
mandatory: l.mandatory,
|
|
717
570
|
"show-optional-text": l.showOptionalText
|
|
718
571
|
}, {
|
|
719
|
-
default:
|
|
720
|
-
|
|
572
|
+
default: p(() => [
|
|
573
|
+
r("div", {
|
|
721
574
|
ref_key: "root",
|
|
722
|
-
ref:
|
|
723
|
-
class:
|
|
575
|
+
ref: te,
|
|
576
|
+
class: b([
|
|
724
577
|
"rounded-b text-grayscale-900 w-full",
|
|
725
578
|
"[&:has(:focus)]:border-general-200 border-general-100",
|
|
726
579
|
`${e.borderLess || e.editorState === "readonly" ? "border-none" : "border-[0.5px]"}`,
|
|
@@ -734,22 +587,22 @@ const Se = [
|
|
|
734
587
|
]),
|
|
735
588
|
"data-wv-name": "editor"
|
|
736
589
|
}, [
|
|
737
|
-
l.editorState === "editable" ? (
|
|
590
|
+
l.editorState === "editable" ? (m(), $("div", {
|
|
738
591
|
key: 0,
|
|
739
|
-
class:
|
|
592
|
+
class: b([
|
|
740
593
|
"border-b-[0.5px] border-inherit px-3 py-1 flex gap-1 bg-general-50",
|
|
741
594
|
`${l.toolbarWrapperClass}`
|
|
742
595
|
]),
|
|
743
596
|
"data-wv-section": "toolbar"
|
|
744
597
|
}, [
|
|
745
|
-
(
|
|
598
|
+
(m(!0), $(Q, null, he(Ae.value, (o) => (m(), E(L, We({ ref_for: !0 }, o, {
|
|
746
599
|
key: o.icon,
|
|
747
600
|
class: [{ "!bg-primary-50 ": o.active }, o.class]
|
|
748
601
|
}), null, 16, ["class"]))), 128))
|
|
749
|
-
], 2)) :
|
|
750
|
-
|
|
602
|
+
], 2)) : U("", !0),
|
|
603
|
+
x.value ? U("", !0) : (m(), E(s(mt), {
|
|
751
604
|
key: 1,
|
|
752
|
-
class:
|
|
605
|
+
class: b([
|
|
753
606
|
`${l.editorState === "editable" ? "px-3 py-2" : ""} [&_*]:outline-none`,
|
|
754
607
|
"[&_.is-editor-empty:first-child::before]:text-general-200",
|
|
755
608
|
"[&_.is-editor-empty:first-child::before]:content-[attr(data-placeholder)]",
|
|
@@ -778,52 +631,52 @@ const Se = [
|
|
|
778
631
|
editor: s(a),
|
|
779
632
|
spellcheck: "false"
|
|
780
633
|
}, null, 8, ["class", "editor"])),
|
|
781
|
-
|
|
634
|
+
d(s(qe), {
|
|
782
635
|
ref_key: "headingMenu",
|
|
783
|
-
ref:
|
|
784
|
-
model:
|
|
636
|
+
ref: ee,
|
|
637
|
+
model: Le.value,
|
|
785
638
|
popup: ""
|
|
786
639
|
}, {
|
|
787
|
-
item:
|
|
788
|
-
var
|
|
640
|
+
item: p(({ item: o }) => {
|
|
641
|
+
var n, c, u, _, k, f, C, g;
|
|
789
642
|
return [
|
|
790
|
-
|
|
791
|
-
class:
|
|
792
|
-
...(
|
|
643
|
+
r("a", {
|
|
644
|
+
class: b([
|
|
645
|
+
...(n = s(ke)) == null ? void 0 : n.action.class,
|
|
793
646
|
o.class,
|
|
794
647
|
"flex items-center !justify-between h-[30px]",
|
|
795
648
|
{
|
|
796
|
-
"bg-primary-50": ((
|
|
649
|
+
"bg-primary-50": ((c = s(a)) == null ? void 0 : c.isActive("heading", { level: 1 })) && o.label === "Heading 1" || ((u = s(a)) == null ? void 0 : u.isActive("heading", { level: 2 })) && o.label === "Heading 2" || ((_ = s(a)) == null ? void 0 : _.isActive("heading", { level: 3 })) && o.label === "Heading 3" || ((k = s(a)) == null ? void 0 : k.isActive("heading", { level: 4 })) && o.label === "Heading 4" || ((f = s(a)) == null ? void 0 : f.isActive("heading", { level: 5 })) && o.label === "Heading 5" || ((C = s(a)) == null ? void 0 : C.isActive("heading", { level: 6 })) && o.label === "Heading 6" || ((g = s(a)) == null ? void 0 : g.isActive("paragraph")) && o.label === "Paragraf"
|
|
797
650
|
}
|
|
798
651
|
]),
|
|
799
652
|
title: o.label,
|
|
800
|
-
onClick: (
|
|
801
|
-
var
|
|
802
|
-
return (
|
|
653
|
+
onClick: (w) => {
|
|
654
|
+
var A;
|
|
655
|
+
return (A = o.command) == null ? void 0 : A.call(o, { item: o, originalEvent: w });
|
|
803
656
|
}
|
|
804
657
|
}, [
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
], 10,
|
|
658
|
+
ze(be(o.label) + " ", 1),
|
|
659
|
+
r("code", It, be(o.shortCut), 1)
|
|
660
|
+
], 10, Mt)
|
|
808
661
|
];
|
|
809
662
|
}),
|
|
810
663
|
_: 1
|
|
811
664
|
}, 8, ["model"]),
|
|
812
|
-
s(a) && l.editorState === "editable" ? (
|
|
665
|
+
s(a) && l.editorState === "editable" ? (m(), E(s(X), {
|
|
813
666
|
key: 2,
|
|
814
667
|
editor: s(a),
|
|
815
668
|
"should-show": () => {
|
|
816
|
-
var o,
|
|
817
|
-
return ((o = s(a)) == null ? void 0 : o.isActive("codeSnippet")) || ((
|
|
669
|
+
var o, n;
|
|
670
|
+
return ((o = s(a)) == null ? void 0 : o.isActive("codeSnippet")) || ((n = s(a)) == null ? void 0 : n.isActive("mentionSection"));
|
|
818
671
|
},
|
|
819
672
|
"tippy-options": { placement: "top", zIndex: 9 },
|
|
820
673
|
class: "-mt-1.5 shadow-panel",
|
|
821
674
|
"plugin-key": "editLinkToolbar"
|
|
822
675
|
}, {
|
|
823
|
-
default:
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
onClick:
|
|
676
|
+
default: p(() => [
|
|
677
|
+
r("div", Tt, [
|
|
678
|
+
d(L, {
|
|
679
|
+
onClick: ie,
|
|
827
680
|
icon: "close",
|
|
828
681
|
severity: "secondary",
|
|
829
682
|
text: "",
|
|
@@ -832,8 +685,8 @@ const Se = [
|
|
|
832
685
|
])
|
|
833
686
|
]),
|
|
834
687
|
_: 1
|
|
835
|
-
}, 8, ["editor", "should-show"])) :
|
|
836
|
-
s(a) && !
|
|
688
|
+
}, 8, ["editor", "should-show"])) : U("", !0),
|
|
689
|
+
s(a) && !O.value && l.editorState === "editable" ? (m(), E(s(X), {
|
|
837
690
|
key: 3,
|
|
838
691
|
editor: s(a),
|
|
839
692
|
"should-show": () => {
|
|
@@ -844,34 +697,34 @@ const Se = [
|
|
|
844
697
|
class: "-mt-1.5 shadow-panel",
|
|
845
698
|
"plugin-key": "editLinkToolbar"
|
|
846
699
|
}, {
|
|
847
|
-
default:
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
onClick:
|
|
700
|
+
default: p(() => [
|
|
701
|
+
r("div", St, [
|
|
702
|
+
d(L, {
|
|
703
|
+
onClick: G,
|
|
851
704
|
class: "!w-max",
|
|
852
705
|
label: "Edit Tautan",
|
|
853
706
|
severity: "secondary",
|
|
854
707
|
text: ""
|
|
855
708
|
}),
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
onClick:
|
|
709
|
+
Bt,
|
|
710
|
+
d(L, {
|
|
711
|
+
onClick: Ie,
|
|
859
712
|
icon: "external-link",
|
|
860
713
|
severity: "secondary",
|
|
861
714
|
text: "",
|
|
862
715
|
"tooltip-text": "Buka di tab baru"
|
|
863
716
|
}),
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
onClick:
|
|
717
|
+
Ht,
|
|
718
|
+
d(L, {
|
|
719
|
+
onClick: Se,
|
|
867
720
|
icon: "link-unlink-m",
|
|
868
721
|
severity: "secondary",
|
|
869
722
|
text: "",
|
|
870
723
|
"tooltip-text": "Lepas tautan"
|
|
871
724
|
}),
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
onClick:
|
|
725
|
+
Pt,
|
|
726
|
+
d(L, {
|
|
727
|
+
onClick: Te,
|
|
875
728
|
icon: "file-copy",
|
|
876
729
|
severity: "secondary",
|
|
877
730
|
text: "",
|
|
@@ -880,53 +733,53 @@ const Se = [
|
|
|
880
733
|
])
|
|
881
734
|
]),
|
|
882
735
|
_: 1
|
|
883
|
-
}, 8, ["editor", "should-show"])) :
|
|
884
|
-
|
|
885
|
-
visible:
|
|
886
|
-
"onUpdate:visible": t[2] || (t[2] = (o) =>
|
|
736
|
+
}, 8, ["editor", "should-show"])) : U("", !0),
|
|
737
|
+
d(yt, {
|
|
738
|
+
visible: z.value,
|
|
739
|
+
"onUpdate:visible": t[2] || (t[2] = (o) => z.value = o),
|
|
887
740
|
class: "w-[400px]",
|
|
888
741
|
header: "Pilih Gambar"
|
|
889
742
|
}, {
|
|
890
|
-
default:
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
"model-value":
|
|
896
|
-
"onUpdate:modelValue": t[0] || (t[0] = (o) =>
|
|
743
|
+
default: p(() => [
|
|
744
|
+
r("div", Ft, [
|
|
745
|
+
r("div", Nt, [
|
|
746
|
+
r("div", Vt, [
|
|
747
|
+
d(s(ye), {
|
|
748
|
+
"model-value": M.value,
|
|
749
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => M.value = o),
|
|
897
750
|
class: "w-[269px]",
|
|
898
751
|
label: "URL Gambar"
|
|
899
752
|
}, null, 8, ["model-value"])
|
|
900
753
|
]),
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
onClick: t[1] || (t[1] = (o) =>
|
|
754
|
+
r("div", $t, [
|
|
755
|
+
d(s(Y), {
|
|
756
|
+
onClick: t[1] || (t[1] = (o) => q()),
|
|
904
757
|
label: "Simpan",
|
|
905
758
|
severity: "secondary"
|
|
906
759
|
})
|
|
907
760
|
])
|
|
908
761
|
]),
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
(
|
|
913
|
-
key:
|
|
762
|
+
r("div", null, [
|
|
763
|
+
Ut,
|
|
764
|
+
r("div", Et, [
|
|
765
|
+
(m(!0), $(Q, null, he(H.value, (o, n) => (m(), $("img", {
|
|
766
|
+
key: n,
|
|
914
767
|
src: o,
|
|
915
768
|
alt: "preview",
|
|
916
769
|
class: "w-28 h-28 object-scale-down rounded-lg"
|
|
917
|
-
}, null, 8,
|
|
918
|
-
|
|
919
|
-
|
|
770
|
+
}, null, 8, Ot))), 128)),
|
|
771
|
+
r("div", Dt, [
|
|
772
|
+
d(_t, {
|
|
920
773
|
class: "!w-[70px] !h-[70px]",
|
|
921
774
|
icon: "upload-2",
|
|
922
775
|
severity: "primary"
|
|
923
776
|
}),
|
|
924
|
-
|
|
925
|
-
default:
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
onChange:
|
|
777
|
+
d(s(Y), { severity: "secondary" }, {
|
|
778
|
+
default: p(() => [
|
|
779
|
+
r("div", jt, [
|
|
780
|
+
Rt,
|
|
781
|
+
r("input", {
|
|
782
|
+
onChange: He,
|
|
930
783
|
class: "opacity-0 absolute top-0 bottom-0 left-0 right-0",
|
|
931
784
|
type: "file"
|
|
932
785
|
}, null, 32)
|
|
@@ -941,7 +794,7 @@ const Se = [
|
|
|
941
794
|
]),
|
|
942
795
|
_: 1
|
|
943
796
|
}, 8, ["visible"]),
|
|
944
|
-
s(a) && l.editorState === "editable" ? (
|
|
797
|
+
s(a) && l.editorState === "editable" ? (m(), E(s(X), {
|
|
945
798
|
key: 4,
|
|
946
799
|
editor: s(a),
|
|
947
800
|
"should-show": () => {
|
|
@@ -952,10 +805,10 @@ const Se = [
|
|
|
952
805
|
class: "-mt-1.5 shadow-panel",
|
|
953
806
|
"plugin-key": "editImageToolbar"
|
|
954
807
|
}, {
|
|
955
|
-
default:
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
onClick:
|
|
808
|
+
default: p(() => [
|
|
809
|
+
r("div", Wt, [
|
|
810
|
+
d(L, {
|
|
811
|
+
onClick: le,
|
|
959
812
|
icon: "delete-bin",
|
|
960
813
|
severity: "secondary",
|
|
961
814
|
text: "",
|
|
@@ -964,39 +817,39 @@ const Se = [
|
|
|
964
817
|
])
|
|
965
818
|
]),
|
|
966
819
|
_: 1
|
|
967
|
-
}, 8, ["editor", "should-show"])) :
|
|
820
|
+
}, 8, ["editor", "should-show"])) : U("", !0)
|
|
968
821
|
], 2),
|
|
969
|
-
|
|
970
|
-
class:
|
|
971
|
-
message:
|
|
822
|
+
d(Ct, {
|
|
823
|
+
class: b(e.validatorMessageClass),
|
|
824
|
+
message: v.errorMessage
|
|
972
825
|
}, null, 8, ["class", "message"])
|
|
973
826
|
]),
|
|
974
827
|
_: 1
|
|
975
828
|
}, 8, ["info", "label", "label-class", "mandatory", "show-optional-text"]),
|
|
976
|
-
|
|
829
|
+
d(kt, {
|
|
977
830
|
ref_key: "editLinkOverlay",
|
|
978
|
-
ref:
|
|
831
|
+
ref: W,
|
|
979
832
|
pt: {
|
|
980
833
|
content: {
|
|
981
834
|
class: ""
|
|
982
835
|
}
|
|
983
836
|
},
|
|
984
|
-
onHide: t[3] || (t[3] = (o) =>
|
|
837
|
+
onHide: t[3] || (t[3] = (o) => O.value = !1),
|
|
985
838
|
"append-to": "self",
|
|
986
839
|
class: "w-[342px] bg-white p-4"
|
|
987
840
|
}, {
|
|
988
|
-
default:
|
|
989
|
-
|
|
990
|
-
onSubmit:
|
|
841
|
+
default: p(() => [
|
|
842
|
+
d(s(pt), {
|
|
843
|
+
onSubmit: Fe,
|
|
991
844
|
class: "!gap-0",
|
|
992
845
|
"hide-stay-checkbox": ""
|
|
993
846
|
}, {
|
|
994
|
-
fields:
|
|
995
|
-
var o,
|
|
847
|
+
fields: p(() => {
|
|
848
|
+
var o, n;
|
|
996
849
|
return [
|
|
997
|
-
|
|
850
|
+
Ke(d(s(ye), {
|
|
998
851
|
"validator-message": { empty: "Masukan tautan yang valid" },
|
|
999
|
-
value: (o =
|
|
852
|
+
value: (o = j.value) == null ? void 0 : o.href,
|
|
1000
853
|
"field-name": "url",
|
|
1001
854
|
label: "Tempel Tautan",
|
|
1002
855
|
mandatory: "",
|
|
@@ -1005,15 +858,15 @@ const Se = [
|
|
|
1005
858
|
}, null, 8, ["value"]), [
|
|
1006
859
|
[i]
|
|
1007
860
|
]),
|
|
1008
|
-
|
|
1009
|
-
value:
|
|
861
|
+
d(s(vt), {
|
|
862
|
+
value: Me(),
|
|
1010
863
|
"field-name": "text",
|
|
1011
864
|
label: "Teks Tampilan",
|
|
1012
865
|
placeholder: "Teks untuk ditampilkan",
|
|
1013
866
|
"use-validator": ""
|
|
1014
867
|
}, null, 8, ["value"]),
|
|
1015
|
-
|
|
1016
|
-
label: (
|
|
868
|
+
d(s(Y), {
|
|
869
|
+
label: (n = s(a)) != null && n.isActive("link") ? "Simpan" : "Tambahkan",
|
|
1017
870
|
class: "w-max ml-auto",
|
|
1018
871
|
severity: "secondary",
|
|
1019
872
|
type: "submit"
|
|
@@ -1030,7 +883,5 @@ const Se = [
|
|
|
1030
883
|
}
|
|
1031
884
|
});
|
|
1032
885
|
export {
|
|
1033
|
-
|
|
1034
|
-
Mt as a,
|
|
1035
|
-
$a as g
|
|
886
|
+
ka as default
|
|
1036
887
|
};
|