@fewangsit/wangsvue-fats 1.0.0-alpha.43 → 1.0.0-alpha.44
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/components/buttoncopy/ButtonCopy.vue.d.ts +4 -6
- package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +44 -0
- package/components/index.d.ts +61 -162
- package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
- package/event-bus/index.d.ts +3 -0
- package/loading-page-BrQattYE.js +1 -0
- package/loading-page-CoC9UhfC.js +4 -0
- package/loading-page-DbLuqCHa.js +1 -0
- package/loading-page-f8D03l3G.js +4 -0
- package/loading-plane-CgfbWppy.js +1 -0
- package/loading-plane-CoXtqoc9.js +4 -0
- package/loading-table-Bdr9ZhtP.js +1 -0
- package/loading-table-ByUoWqUo.js +4 -0
- package/loading-table-BygEMzFM.js +4 -0
- package/loading-table-BzrSQlA0.js +1 -0
- package/loading-table-D9bw9OcI.js +4 -0
- package/loading-table-chOgXi94.js +1 -0
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Cgze_Rvp.js +1 -0
- package/{assets/lottie/no-data-DOy8kIGF.es.js → no-data-DLHO1L_u.js} +2 -13
- package/no-data-Dep79CBh.js +1 -0
- package/no-data-g0dJCy2p.js +4 -0
- package/no-data-y1X5WtcQ.js +1 -0
- package/package.json +3 -3
- package/stats.html +1 -1
- package/style.css +1 -1
- package/wangsvue-fats.js +52069 -144
- package/wangsvue-fats.system.js +312 -1
- package/ButtonCopy-C6DSmsOR.es.js +0 -4
- package/ButtonCopy-CeBlNyVx.system.js +0 -1
- package/ButtonSync-BLyCwwnU.system.js +0 -1
- package/ButtonSync-DtUhn-Q-.es.js +0 -4
- package/ButtonToggle-B9Fa75pf.es.js +0 -4
- package/ButtonToggle-CSxzlLR2.system.js +0 -1
- package/ButtonViewLog-B1oa4oFN.es.js +0 -4
- package/ButtonViewLog-_J6r7Oz8.system.js +0 -1
- package/Card-B19WgA6Y.es.js +0 -4
- package/Card-umUgd-nP.system.js +0 -1
- package/InputEmail-BZ5Y0wSk.system.js +0 -1
- package/InputEmail-DR_E1DsL.es.js +0 -4
- package/InputURL-DL6a94kM.system.js +0 -1
- package/InputURL-PVF5EUUY.es.js +0 -4
- package/Loading-Cq7rP88c.system.js +0 -1
- package/Loading-DUHTVct4.es.js +0 -4
- package/UserWithIcon-Ddn_GlNu.system.js +0 -1
- package/UserWithIcon-hWXf-A2U.es.js +0 -4
- package/assets/lottie/loading-page-B9ooQcfF.system.js +0 -1
- package/assets/lottie/loading-page-CQ0mKER2.es.js +0 -15
- package/assets/lottie/loading-table-B4T3FYiI.system.js +0 -1
- package/assets/lottie/loading-table-BnpbX8Ew.es.js +0 -15
- package/assets/lottie/no-data-CMWnya_k.system.js +0 -1
- package/async-components/index-C8nb7p3T.es.js +0 -70
- package/async-components/index-DvjqHrYE.system.js +0 -1
- package/components/animation/Animation-CCEnvZ_Z.es.js +0 -48
- package/components/animation/Animation-CJb4YIwm.system.js +0 -1
- package/components/approverinfo/ApproverInfo-Bruotw1h.es.js +0 -127
- package/components/approverinfo/ApproverInfo-CoWywuLZ.system.js +0 -1
- package/components/assetinfo/AssetInfo-B8KAsqvC.system.js +0 -1
- package/components/assetinfo/AssetInfo-DNsWx4Xv.es.js +0 -201
- package/components/badge/Badge-DXAyz4Z8.es.js +0 -99
- package/components/badge/Badge-wSExdsOP.system.js +0 -1
- package/components/badgegroup/BadgeGroup-CAYL_5-g.system.js +0 -1
- package/components/badgegroup/BadgeGroup-Dl2cL80L.es.js +0 -68
- package/components/basetree/BaseTree-CmBp0uwr.system.js +0 -1
- package/components/basetree/BaseTree-RsvvntBp.es.js +0 -167
- package/components/basetree/TreeNode-CUL5_2Rj.es.js +0 -499
- package/components/basetree/TreeNode-D-YgXird.system.js +0 -1
- package/components/breadcrumb/Breadcrumb-BmuuCYJx.system.js +0 -1
- package/components/breadcrumb/Breadcrumb-oqdG9WGT.es.js +0 -46
- package/components/button/Button-CgkhMnxo.es.js +0 -124
- package/components/button/Button-D892iaxz.system.js +0 -1
- package/components/buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js +0 -1
- package/components/buttonbulkaction/ButtonBulkAction-Tdf3aVtp.es.js +0 -189
- package/components/buttoncopy/ButtonCopy-CUFHlIO-.es.js +0 -31
- package/components/buttoncopy/ButtonCopy-CZPTLNHh.system.js +0 -1
- package/components/buttondownload/ButtonDownload-BWGTiJnP.es.js +0 -61
- package/components/buttondownload/ButtonDownload-CUR6u0AT.system.js +0 -1
- package/components/buttonfilter/ButtonFilter-B1F4poKd.system.js +0 -1
- package/components/buttonfilter/ButtonFilter-B49leY-q.es.js +0 -28
- package/components/buttonradio/ButtonRadio-D6xKhPLg.es.js +0 -83
- package/components/buttonradio/ButtonRadio-NBcy0Epa.system.js +0 -1
- package/components/buttonscan/ButtonScan-BZzpqBe8.system.js +0 -1
- package/components/buttonscan/ButtonScan-mVHAdACL.es.js +0 -387
- package/components/buttonscan/workers/scanner.worker-8_0GG6W3.system.js +0 -1
- package/components/buttonscan/workers/scanner.worker-D3a72Zyk.es.js +0 -25
- package/components/buttonsearch/ButtonSearch-3hnarf3D.system.js +0 -1
- package/components/buttonsearch/ButtonSearch-BjcXUDQZ.es.js +0 -70
- package/components/buttonselecttree/ButtonSelectTree-D0lT3Exu.es.js +0 -218
- package/components/buttonselecttree/ButtonSelectTree-DKmPV8FD.system.js +0 -1
- package/components/buttonselectuser/ButtonSelectUser-B7GbLfS-.system.js +0 -1
- package/components/buttonselectuser/ButtonSelectUser-OAZRY9OR.es.js +0 -101
- package/components/buttonsync/ButtonSync-Brk16H8C.es.js +0 -29
- package/components/buttonsync/ButtonSync-D5lXmtHs.system.js +0 -1
- package/components/buttontoggle/ButtonToggle-1R5y5DCx.es.js +0 -11
- package/components/buttontoggle/ButtonToggle-DLsiXxjK.system.js +0 -1
- package/components/buttonviewlog/ButtonViewLog-CGsSkrzf.es.js +0 -21
- package/components/buttonviewlog/ButtonViewLog-leLO6F_N.system.js +0 -1
- package/components/calendar/BaseCalendar-5EI1UTbl.es.js +0 -867
- package/components/calendar/BaseCalendar-C02-gmOQ.system.js +0 -1
- package/components/calendar/Calendar-B2z-lfi9.es.js +0 -112
- package/components/calendar/Calendar-CWw4R5mN.system.js +0 -1
- package/components/card/Card-BccG14LV.es.js +0 -47
- package/components/card/Card-BjI-Xi0S.system.js +0 -1
- package/components/checkbox/Checkbox-DBU7Ji2C.es.js +0 -135
- package/components/checkbox/Checkbox-FZg_wq3C.system.js +0 -1
- package/components/codesnippet/CodeSnippet--pMQi4aO.es.js +0 -127
- package/components/codesnippet/CodeSnippet-BVwAQPSv.system.js +0 -2
- package/components/customcolumn/ColumnList-fdR5JfHj.es.js +0 -159
- package/components/customcolumn/ColumnList-yaNVEQFA.system.js +0 -1
- package/components/customcolumn/CustomColumn-CfvCLH4v.es.js +0 -139
- package/components/customcolumn/CustomColumn-D3u59-Rd.system.js +0 -1
- package/components/customcolumn/helpers/setVisibilityColumn.helper-B1vEZDtD.system.js +0 -1
- package/components/customcolumn/helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js +0 -16
- package/components/datatable/DataTable-BH7Fk88O.es.js +0 -992
- package/components/datatable/DataTable-Cko2S6sM.system.js +0 -1
- package/components/datatable/MultiRow-B2vMSb7W.es.js +0 -52
- package/components/datatable/MultiRow-Sef5icam.system.js +0 -1
- package/components/datatable/store/dataTable.store-B4p-hj3w.es.js +0 -37
- package/components/datatable/store/dataTable.store-C9376aEJ.system.js +0 -1
- package/components/dialog/Dialog-BCcbXSya.es.js +0 -121
- package/components/dialog/Dialog-Dv7Jzg4E.system.js +0 -1
- package/components/dialogconfirm/DialogConfirm-BU-LRZCo.system.js +0 -1
- package/components/dialogconfirm/DialogConfirm-ByIWXisz.es.js +0 -139
- package/components/dialogform/DialogForm-DGl_NOEr.system.js +0 -1
- package/components/dialogform/DialogForm-tAbix3iC.es.js +0 -222
- package/components/dialogselecttree/DialogSelectTree-BrVtt3iG.es.js +0 -268
- package/components/dialogselecttree/DialogSelectTree-CT7dKC5N.system.js +0 -1
- package/components/dialogselectuser/DialogSelectUser-Bu7z7lUq.es.js +0 -121
- package/components/dialogselectuser/DialogSelectUser-DXL_NMJj.system.js +0 -1
- package/components/dialogselectuser/DialogSelectUserFilter-BNbIynoa.system.js +0 -1
- package/components/dialogselectuser/DialogSelectUserFilter-BgBrQCz1.es.js +0 -44
- package/components/dialogselectuser/options/columns-BKDHtwAp.es.js +0 -71
- package/components/dialogselectuser/options/columns-DLmJdDTR.system.js +0 -1
- package/components/dropdown/Dropdown-BNzT2uLU.system.js +0 -1
- package/components/dropdown/Dropdown-Dk4urj-W.es.js +0 -258
- package/components/editor/CodeSnippetAdapter-C0f7wytw.es.js +0 -26
- package/components/editor/CodeSnippetAdapter-f-VHwbwS.system.js +0 -1
- package/components/editor/Editor-RB5MqBs1.es.js +0 -887
- package/components/editor/Editor-upU4Z9FH.system.js +0 -1
- package/components/editor/EditorButton-CC6U1a_u.system.js +0 -1
- package/components/editor/EditorButton-Cfew79JD.es.js +0 -28
- package/components/editor/MentionList-BjWKefLh.system.js +0 -1
- package/components/editor/MentionList-CdX0_-TK.es.js +0 -58
- package/components/editor/MentionSection-5I-FSwew.es.js +0 -52
- package/components/editor/MentionSection-CiuaeX4J.system.js +0 -3
- package/components/editor/codeSnippetExtension-C-ADHg2S.es.js +0 -40
- package/components/editor/codeSnippetExtension-C3uj0fCk.system.js +0 -1
- package/components/editor/mentionSectionExtension-DJ6wkX1L.system.js +0 -1
- package/components/editor/mentionSectionExtension-rbWufuMT.es.js +0 -46
- package/components/editor/suggestion-BcYK0KeI.system.js +0 -1
- package/components/editor/suggestion-mkkpQFP-.es.js +0 -41
- package/components/fieldwrapper/FieldWrapper-Dc-stQRH.system.js +0 -1
- package/components/fieldwrapper/FieldWrapper-DmOogUM5.es.js +0 -35
- package/components/fileupload/FileUpload-0EHKlInu.es.js +0 -175
- package/components/fileupload/FileUpload-dXrsIAeC.system.js +0 -1
- package/components/filtercontainer/FilterContainer-Cd8TpncM.es.js +0 -234
- package/components/filtercontainer/FilterContainer-kkw3n3tu.system.js +0 -1
- package/components/filtercontainer/helpers/applyFilter.helper-Ci22FrPF.system.js +0 -1
- package/components/filtercontainer/helpers/applyFilter.helper-DpVdjYBr.es.js +0 -56
- package/components/form/Form-By85t_oI.system.js +0 -1
- package/components/form/Form-DhWBpdkq.es.js +0 -181
- package/components/hardwaresync/HardwareSync-BckCfIeF.es.js +0 -238
- package/components/hardwaresync/HardwareSync-DcgVc0cL.system.js +0 -1
- package/components/hardwaresync/store/device.store-DEKXH36R.system.js +0 -1
- package/components/hardwaresync/store/device.store-DpVE6Nhl.es.js +0 -20
- package/components/icon/Icon-C4kXVcEX.es.js +0 -82
- package/components/icon/Icon-D1a666FC.system.js +0 -1
- package/components/image/Image-Bf5EaBWP.es.js +0 -170
- package/components/image/Image-Cxi0E9gK.system.js +0 -1
- package/components/imagecompressor/BackgroundImageCropper-DhrTpgNX.system.js +0 -1
- package/components/imagecompressor/BackgroundImageCropper-hiHqCcIy.es.js +0 -52
- package/components/imagecompressor/ImageCompressor-C_vnTwmo.system.js +0 -1
- package/components/imagecompressor/ImageCompressor-DPo-1Yo8.es.js +0 -509
- package/components/imagecompressor/ImageInputInfo-4Ac8cBDM.es.js +0 -46
- package/components/imagecompressor/ImageInputInfo-U3hLlbwo.system.js +0 -1
- package/components/index-BMti6lK3.es.js +0 -64
- package/components/index-DBzSxIov.system.js +0 -1
- package/components/inlinemessage/InlineMessage-BPJD82sq.es.js +0 -94
- package/components/inlinemessage/InlineMessage-DTyTe5_W.system.js +0 -1
- package/components/inputbadge/InputBadge-BUm6Kn-F.system.js +0 -1
- package/components/inputbadge/InputBadge-BngtjqHQ.es.js +0 -186
- package/components/inputcurrency/InputCurrency-CE4WrJ9k.es.js +0 -1211
- package/components/inputcurrency/InputCurrency-DaJuUujH.system.js +0 -1
- package/components/inputemail/InputEmail-8E04RVeq.system.js +0 -1
- package/components/inputemail/InputEmail-BFeY1l9Z.es.js +0 -49
- package/components/inputgroup/InputGroup-CTHxHL8n.system.js +0 -1
- package/components/inputgroup/InputGroup-CUxNAtDZ.es.js +0 -56
- package/components/inputnumber/InputNumber-BJ8Qm27k.system.js +0 -1
- package/components/inputnumber/InputNumber-CQd01PQ5.es.js +0 -232
- package/components/inputpassword/InputPassword-D3jaUFfR.system.js +0 -1
- package/components/inputpassword/InputPassword-DGWsHAB4.es.js +0 -121
- package/components/inputphonenumber/InputPhoneNumber-3To4Ktp9.system.js +0 -1
- package/components/inputphonenumber/InputPhoneNumber-DVAOWAj6.es.js +0 -162
- package/components/inputphonenumber/helpers/getUserLocation.helper-B0lZav7S.es.js +0 -15
- package/components/inputphonenumber/helpers/getUserLocation.helper-CSC5I9tB.system.js +0 -1
- package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-CUP9NUYE.es.js +0 -423
- package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-DgzOgH_M.system.js +0 -1
- package/components/inputrangenumber/InputRangeNumber-Cfea6oM_.es.js +0 -134
- package/components/inputrangenumber/InputRangeNumber-iLScQOa6.system.js +0 -1
- package/components/inputsearch/InputSearch-CHJP-N57.es.js +0 -53
- package/components/inputsearch/InputSearch-DkB4O0Dc.system.js +0 -1
- package/components/inputtext/InputText-BEDxrRqK.es.js +0 -242
- package/components/inputtext/InputText-BOgH8xpA.system.js +0 -1
- package/components/inputurl/InputURL-CNrOkrAC.es.js +0 -61
- package/components/inputurl/InputURL-D4QWV9G7.system.js +0 -1
- package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +0 -27
- package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +0 -1
- package/components/litedropdown/LiteDropdown-BbDUnfnd.es.js +0 -102
- package/components/litedropdown/LiteDropdown-DTXwb5JR.system.js +0 -1
- package/components/loading/Loading-DIfTUHr7.es.js +0 -24
- package/components/loading/Loading-Vb4HctBJ.system.js +0 -1
- package/components/menu/Menu-BtzGGhbp.es.js +0 -73
- package/components/menu/Menu-CPm5vua_.system.js +0 -1
- package/components/menuitem/MenuItem-8yxkFTug.system.js +0 -1
- package/components/menuitem/MenuItem-uLVAqgBS.es.js +0 -65
- package/components/multiselect/MultiSelect-BoPpQ31j.es.js +0 -189
- package/components/multiselect/MultiSelect-D5NEDtGe.system.js +0 -1
- package/components/overlaypanel/OverlayPanel-BKCivqTs.system.js +0 -1
- package/components/overlaypanel/OverlayPanel-bQbjuUgG.es.js +0 -49
- package/components/tabmenu/TabMenu-BBk8EW-C.system.js +0 -1
- package/components/tabmenu/TabMenu-ByKBaVsd.es.js +0 -108
- package/components/tagtype/TagType-CAXomDiD.es.js +0 -49
- package/components/tagtype/TagType-i4RK2JbL.system.js +0 -1
- package/components/textarea/Textarea-CnAlgPq5.es.js +0 -108
- package/components/textarea/Textarea-qirKOw5z.system.js +0 -1
- package/components/timeline/Timeline-CF2qJo4E.es.js +0 -120
- package/components/timeline/Timeline-DKfKWZFI.system.js +0 -1
- package/components/timeline/TimelineContentByType-_cKGDWAW.es.js +0 -108
- package/components/timeline/TimelineContentByType-uxM3NSqd.system.js +0 -1
- package/components/toast/Toast-C3D50rGo.system.js +0 -1
- package/components/toast/Toast-DRUJCz4I.es.js +0 -74
- package/components/toggleswitch/ToggleSwitch-De-_8nQl.es.js +0 -90
- package/components/toggleswitch/ToggleSwitch-DuyahX09.system.js +0 -1
- package/components/transactionroles/TransactionRoles-WrcXMwBu.es.js +0 -223
- package/components/transactionroles/TransactionRoles-iVQyWseb.system.js +0 -1
- package/components/tree/Tree-93NvdElH.es.js +0 -267
- package/components/tree/Tree-BTTVTAEH.system.js +0 -1
- package/components/tree/helpers/filterNodeKeys.helper-CmamKUTa.system.js +0 -1
- package/components/tree/helpers/filterNodeKeys.helper-z7SxLuvZ.es.js +0 -10
- package/components/treesearchinput/TreeSearchInput-BG2TfunA.system.js +0 -1
- package/components/treesearchinput/TreeSearchInput-CNfoc3f6.es.js +0 -56
- package/components/username/UserName-A1N6Q7bS.system.js +0 -1
- package/components/username/UserName-D5C0qdbu.es.js +0 -132
- package/components/userwithicon/UserWithIcon-CHHDfQG0.es.js +0 -18
- package/components/userwithicon/UserWithIcon-DnY6loZc.system.js +0 -1
- package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +0 -19
- package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +0 -1
- package/config/config.esm-BZepf1kR.system.js +0 -1
- package/config/config.esm-Drl0fECZ.es.js +0 -212
- package/config/defaultProps-B3syHUKt.system.js +0 -1
- package/config/defaultProps-BC_lvAG9.es.js +0 -136
- package/config/locale-DK6d2rJ3.system.js +0 -1
- package/config/locale-pQnRpNZ6.es.js +0 -85
- package/event-bus/index-CykcrsqY.system.js +0 -1
- package/event-bus/index-PQwO5T6B.es.js +0 -6
- package/event-bus/mitt-BjeF6e5j.es.js +0 -53
- package/event-bus/mitt-X_X8W9w9.system.js +0 -1
- package/plugins/WangsVue-Dl5OiLXF.es.js +0 -332
- package/plugins/WangsVue-Dugc3GRS.system.js +0 -1
- package/plugins/i18n-BVujDShu.system.js +0 -1
- package/plugins/i18n-CIoi8go0.es.js +0 -89
- package/utils/addAttachment.util-CPzZEHNG.system.js +0 -1
- package/utils/addAttachment.util-D9sYCBjS.es.js +0 -10
- package/utils/computeAutoPlacement-Ac2MkS5B.es.js +0 -33
- package/utils/computeAutoPlacement-DCaci6j-.system.js +0 -1
- package/utils/computeOffsets-Cx9i84Mn.system.js +0 -1
- package/utils/computeOffsets-DXWJPq7f.es.js +0 -56
- package/utils/date.util-DbjB32co.es.js +0 -198
- package/utils/date.util-rX9kq_yC.system.js +0 -1
- package/utils/detectOverflow-BrAC_sJF.system.js +0 -1
- package/utils/detectOverflow-CETbaen7.es.js +0 -88
- package/utils/exportToExcel.util-Bf-PpzHW.system.js +0 -1
- package/utils/exportToExcel.util-jz7aU08m.es.js +0 -32
- package/utils/genPlaceholder.util-0UuDQpbx.es.js +0 -37
- package/utils/genPlaceholder.util-CxMG7LbT.system.js +0 -1
- package/utils/mergePropsWithDefaults.util-BKcJzgvs.es.js +0 -9
- package/utils/mergePropsWithDefaults.util-CXowvEKY.system.js +0 -1
- package/utils/object.util-6veM2gu5.es.js +0 -51
- package/utils/object.util-uApor4uP.system.js +0 -1
- package/utils/orderModifiers-qXBm1wkD.system.js +0 -1
- package/utils/orderModifiers-rOag5Cyh.es.js +0 -31
- package/utils/role.util-BdUNoOqf.es.js +0 -67
- package/utils/role.util-Co8OMWnc.system.js +0 -1
- package/utils/textFormatter.util-BjenkyWf.system.js +0 -1
- package/utils/textFormatter.util-CYul3RpH.es.js +0 -21
- package/utils/toast.util-C7p3h9XQ.es.js +0 -52
- package/utils/toast.util-DPtauJUV.system.js +0 -1
- package/utils/utils.esm-iwnsFuDg.system.js +0 -23
- package/utils/utils.esm-s_-kLKXf.es.js +0 -1080
- package/utils/xlsx.util-FKEpiU2t.system.js +0 -1
- package/utils/xlsx.util-LU1upHR3.es.js +0 -8
- package/vendor/@popperjs/core-DFLwc7xU.system.js +0 -1
- package/vendor/@popperjs/core-DJHUrK4e.es.js +0 -748
- package/vendor/@tiptap/core-D4rHEGhs.system.js +0 -80
- package/vendor/@tiptap/core-DSbPv8xh.es.js +0 -2868
- package/vendor/@tiptap/extension-bold-CvAjR8FR.es.js +0 -71
- package/vendor/@tiptap/extension-bold-DI_Zfdzb.system.js +0 -1
- package/vendor/@tiptap/extension-bubble-menu-0_0wc2P7.system.js +0 -1
- package/vendor/@tiptap/extension-bubble-menu-DY29ulfu.es.js +0 -128
- package/vendor/@tiptap/extension-bullet-list-BrkIcd-z.es.js +0 -53
- package/vendor/@tiptap/extension-bullet-list-CgIgW9RG.system.js +0 -1
- package/vendor/@tiptap/extension-code-BtAtPCQQ.es.js +0 -51
- package/vendor/@tiptap/extension-code-SOANT0O3.system.js +0 -1
- package/vendor/@tiptap/extension-floating-menu-BTwcx1u8.es.js +0 -99
- package/vendor/@tiptap/extension-floating-menu-Dtu9tcTW.system.js +0 -1
- package/vendor/@tiptap/extension-heading-B6PMnqvS.es.js +0 -54
- package/vendor/@tiptap/extension-heading-BpK6SnFO.system.js +0 -1
- package/vendor/@tiptap/extension-history-CTFK6g3n.system.js +0 -1
- package/vendor/@tiptap/extension-history-DdPDTH0G.es.js +0 -35
- package/vendor/@tiptap/extension-image-BNa6azmK.system.js +0 -1
- package/vendor/@tiptap/extension-image-DCo2JDZp.es.js +0 -64
- package/vendor/@tiptap/extension-italic-D09oL4ps.es.js +0 -70
- package/vendor/@tiptap/extension-italic-w93Lmtg_.system.js +0 -1
- package/vendor/@tiptap/extension-link-CV6Fodq9.es.js +0 -262
- package/vendor/@tiptap/extension-link-FrdAKaJ2.system.js +0 -1
- package/vendor/@tiptap/extension-list-item-BRio_hHs.system.js +0 -1
- package/vendor/@tiptap/extension-list-item-D8wSpPxS.es.js +0 -33
- package/vendor/@tiptap/extension-mention-cFXQdAs7.es.js +0 -130
- package/vendor/@tiptap/extension-mention-y62_tYRn.system.js +0 -1
- package/vendor/@tiptap/extension-ordered-list-BZU-Ty3o.es.js +0 -71
- package/vendor/@tiptap/extension-ordered-list-CH9LyYR1.system.js +0 -1
- package/vendor/@tiptap/extension-placeholder-CsBxoitZ.es.js +0 -52
- package/vendor/@tiptap/extension-placeholder-Dqw7HNAJ.system.js +0 -1
- package/vendor/@tiptap/extension-underline-DklFOEoR.es.js +0 -40
- package/vendor/@tiptap/extension-underline-SGsaBlAL.system.js +0 -1
- package/vendor/@tiptap/suggestion-B3Grok9m.system.js +0 -1
- package/vendor/@tiptap/suggestion-Dg-vhPtN.es.js +0 -131
- package/vendor/@tiptap/vue-3-BOfcUn5G.es.js +0 -436
- package/vendor/@tiptap/vue-3-ZMNXXvBd.system.js +0 -1
- package/vendor/highlight.js-ClnJXT0q.system.js +0 -2
- package/vendor/highlight.js-Czlvg6fB.es.js +0 -2493
- package/vendor/linkifyjs-BxsOjwQz.es.js +0 -705
- package/vendor/linkifyjs-CMLfIa6I.system.js +0 -5
- package/vendor/lodash-B6nNLFd3.es.js +0 -127
- package/vendor/lodash-BuO1dYnQ.system.js +0 -1
- package/vendor/lodash-es-C3G1Cc1m.system.js +0 -1
- package/vendor/lodash-es-CJerBxJQ.es.js +0 -766
- package/vendor/orderedmap-B3SOk52B.es.js +0 -103
- package/vendor/orderedmap-Dwr31MF0.system.js +0 -1
- package/vendor/primevue-C5Z_k4WB.system.js +0 -171
- package/vendor/primevue-DkBtKf1Y.es.js +0 -12649
- package/vendor/prosemirror-commands-CUjo-x4s.es.js +0 -383
- package/vendor/prosemirror-commands-Dn6KNBP0.system.js +0 -2
- package/vendor/prosemirror-history-BPOe4I2H.es.js +0 -248
- package/vendor/prosemirror-history-BTrzvpc-.system.js +0 -1
- package/vendor/prosemirror-keymap-BvIUhswp.es.js +0 -60
- package/vendor/prosemirror-keymap-WRY9zVpK.system.js +0 -1
- package/vendor/prosemirror-model-D2n-Dx_L.es.js +0 -2736
- package/vendor/prosemirror-model-DTWK5xnv.system.js +0 -4
- package/vendor/prosemirror-schema-list-BvrICwYb.es.js +0 -87
- package/vendor/prosemirror-schema-list-Dv9KV10j.system.js +0 -1
- package/vendor/prosemirror-state-BW6XGB3U.es.js +0 -820
- package/vendor/prosemirror-state-COJ-aZZ4.system.js +0 -1
- package/vendor/prosemirror-transform-BXNgAhmF.system.js +0 -2
- package/vendor/prosemirror-transform-DvAmofec.es.js +0 -1507
- package/vendor/prosemirror-view-C9ZQp8VZ.es.js +0 -3742
- package/vendor/prosemirror-view-DOxSTbB-.system.js +0 -5
- package/vendor/rope-sequence-4t46C6az.system.js +0 -1
- package/vendor/rope-sequence-sEGCUMi8.es.js +0 -100
- package/vendor/simplebar-core-CtWK1-xd.system.js +0 -1
- package/vendor/simplebar-core-ofTx4QqK.es.js +0 -333
- package/vendor/simplebar-vue-BHVrvuf1.system.js +0 -1
- package/vendor/simplebar-vue-dpCx-K7E.es.js +0 -176
- package/vendor/tippy.js-6wuFov1j.system.js +0 -1
- package/vendor/tippy.js-i1ic-msv.es.js +0 -721
- package/vendor/uuid-93tp0umt.es.js +0 -9
- package/vendor/uuid-Cymn6orr.system.js +0 -1
- package/vendor/vee-validate-Cc_B-qII.system.js +0 -5
- package/vendor/vee-validate-RE5RuswC.es.js +0 -1309
- package/vendor/vue-advanced-cropper-CshlvNaD.es.js +0 -1380
- package/vendor/vue-advanced-cropper-NG93jHnU.system.js +0 -20
- package/vendor/w3c-keyname-BSD-PgAi.system.js +0 -1
- package/vendor/w3c-keyname-CLxH8j-f.es.js +0 -92
- /package/{assets/lottie/loading-plane-CgfbWppy.system.js → loading-page-CgfbWppy.js} +0 -0
- /package/{assets/lottie/loading-plane-CoXtqoc9.es.js → loading-page-CoXtqoc9.js} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const i = [];
|
|
2
|
-
for (let n = 0; n < 256; ++n)
|
|
3
|
-
i.push((n + 256).toString(16).slice(1));
|
|
4
|
-
function c(n, u = 0) {
|
|
5
|
-
return i[n[u + 0]] + i[n[u + 1]] + i[n[u + 2]] + i[n[u + 3]] + "-" + i[n[u + 4]] + i[n[u + 5]] + "-" + i[n[u + 6]] + i[n[u + 7]] + "-" + i[n[u + 8]] + i[n[u + 9]] + "-" + i[n[u + 10]] + i[n[u + 11]] + i[n[u + 12]] + i[n[u + 13]] + i[n[u + 14]] + i[n[u + 15]];
|
|
6
|
-
}
|
|
7
|
-
export {
|
|
8
|
-
c as u
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(c,l){"use strict";return{execute:function(){c("u",g);const u=[];for(let n=0;n<256;++n)u.push((n+256).toString(16).slice(1));function g(n,i=0){return u[n[i+0]]+u[n[i+1]]+u[n[i+2]]+u[n[i+3]]+"-"+u[n[i+4]]+u[n[i+5]]+"-"+u[n[i+6]]+u[n[i+7]]+"-"+u[n[i+8]]+u[n[i+9]]+"-"+u[n[i+10]]+u[n[i+11]]+u[n[i+12]]+u[n[i+13]]+u[n[i+14]]+u[n[i+15]]}}}});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
System.register(["vue"],function(Ct,En){"use strict";var G,he,E,w,Te,me,ie,ke,O,et,ye,tt,nt,Y,rt,it;return{setters:[A=>{G=A.ref,he=A.reactive,E=A.computed,w=A.unref,Te=A.onMounted,me=A.isRef,ie=A.watch,ke=A.provide,O=A.toValue,et=A.readonly,ye=A.getCurrentInstance,tt=A.onBeforeUnmount,nt=A.watchEffect,Y=A.nextTick,rt=A.shallowRef,it=A.inject}],execute:function(){Ct({a:mn,u:cn});/**
|
|
2
|
-
* vee-validate v4.13.2
|
|
3
|
-
* (c) 2024 Abdelrahman Awad
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/function A(e){return typeof e=="function"}function lt(e){return e==null}const ae=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function Re(e){return Number(e)>=0}function Nt(e){const t=parseFloat(e);return isNaN(t)?e:t}function Mt(e){return typeof e=="object"&&e!==null}function Tt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function at(e){if(!Mt(e)||Tt(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ge(e,t){return Object.keys(t).forEach(n=>{if(at(t[n])&&at(e[n])){e[n]||(e[n]={}),ge(e[n],t[n]);return}e[n]=t[n]}),e}function pe(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let l=1;l<t.length;l++){if(Re(t[l])){n+=`[${t[l]}]`;continue}n+=`.${t[l]}`}return n}const kt={};function Rt(e){return kt[e]}function ut(e,t,n){typeof n.value=="object"&&(n.value=P(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function P(e){if(typeof e!="object")return e;var t=0,n,l,u,a=Object.prototype.toString.call(e);if(a==="[object Object]"?u=Object.create(e.__proto__||null):a==="[object Array]"?u=Array(e.length):a==="[object Set]"?(u=new Set,e.forEach(function(h){u.add(P(h))})):a==="[object Map]"?(u=new Map,e.forEach(function(h,v){u.set(P(v),P(h))})):a==="[object Date]"?u=new Date(+e):a==="[object RegExp]"?u=new RegExp(e.source,e.flags):a==="[object DataView]"?u=new e.constructor(P(e.buffer)):a==="[object ArrayBuffer]"?u=e.slice(0):a.slice(-6)==="Array]"&&(u=new e.constructor(e)),u){for(l=Object.getOwnPropertySymbols(e);t<l.length;t++)ut(u,l[t],Object.getOwnPropertyDescriptor(e,l[t]));for(t=0,l=Object.getOwnPropertyNames(e);t<l.length;t++)Object.hasOwnProperty.call(u,n=l[t])&&u[n]===e[n]||ut(u,n,Object.getOwnPropertyDescriptor(e,n))}return u||e}const Ue=Symbol("vee-validate-form"),Ut=Symbol("vee-validate-field-instance"),ot=Symbol("Default empty value"),Bt=typeof window<"u";function Be(e){return A(e)&&!!e.__locatorRef}function X(e){return!!e&&A(e.parse)&&e.__type==="VVTypedSchema"}function je(e){return!!e&&A(e.validate)}function st(e){return e==="checkbox"||e==="radio"}function Dt(e){return ae(e)||Array.isArray(e)}function xt(e){return Array.isArray(e)?e.length===0:ae(e)&&Object.keys(e).length===0}function Ee(e){return/^\[.+\]$/i.test(e)}function zt(e){return ct(e)&&e.multiple}function ct(e){return e.tagName==="SELECT"}function Lt(e){return dt(e)&&e.target&&"submit"in e.target}function dt(e){return e?!!(typeof Event<"u"&&A(Event)&&e instanceof Event||e&&e.srcElement):!1}function B(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,l,u;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(l=n;l--!==0;)if(!B(e[l],t[l]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(l of e.entries())if(!t.has(l[0]))return!1;for(l of e.entries())if(!B(l[1],t.get(l[0])))return!1;return!0}if(ft(e)&&ft(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(l of e.entries())if(!t.has(l[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(l=n;l--!==0;)if(e[l]!==t[l])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();for(u=Object.keys(e),n=u.length,l=n;l--!==0;){var a=u[l];if(!B(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function ft(e){return Bt?e instanceof File:!1}function De(e){return Ee(e)?e.replace(/\[|\]/gi,""):e}function D(e,t,n){return e?Ee(t)?e[De(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((u,a)=>Dt(u)&&a in u?u[a]:n,e):n}function te(e,t,n){if(Ee(t)){e[De(t)]=n;return}const l=t.split(/\.|\[(\d+)\]/).filter(Boolean);let u=e;for(let a=0;a<l.length;a++){if(a===l.length-1){u[l[a]]=n;return}(!(l[a]in u)||lt(u[l[a]]))&&(u[l[a]]=Re(l[a+1])?[]:{}),u=u[l[a]]}}function xe(e,t){if(Array.isArray(e)&&Re(t)){e.splice(Number(t),1);return}ae(e)&&delete e[t]}function vt(e,t){if(Ee(t)){delete e[De(t)];return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let l=e;for(let a=0;a<n.length;a++){if(a===n.length-1){xe(l,n[a]);break}if(!(n[a]in l)||lt(l[n[a]]))break;l=l[n[a]]}const u=n.map((a,h)=>D(e,n.slice(0,h).join(".")));for(let a=u.length-1;a>=0;a--)if(xt(u[a])){if(a===0){xe(e,n[0]);continue}xe(u[a-1],n[a-1])}}function $(e){return Object.keys(e)}function ht(e,t=void 0){const n=ye();return(n==null?void 0:n.provides[e])||it(e,t)}function mt(e,t,n){if(Array.isArray(e)){const l=[...e],u=l.findIndex(a=>B(a,t));return u>=0?l.splice(u,1):l.push(t),l}return B(e,t)?n:t}function yt(e,t=0){let n=null,l=[];return function(...u){return n&&clearTimeout(n),n=setTimeout(()=>{const a=e(...u);l.forEach(h=>h(a)),l=[]},t),new Promise(a=>l.push(a))}}function $t(e,t){return ae(t)&&t.number?Nt(e):e}function ze(e,t){let n;return async function(...u){const a=e(...u);n=a;const h=await a;return a!==n?h:(n=void 0,t(h,u))}}function Le(e){return Array.isArray(e)?e:e?[e]:[]}function we(e,t){const n={};for(const l in e)t.includes(l)||(n[l]=e[l]);return n}function Wt(e){let t=null,n=[];return function(...l){const u=Y(()=>{if(t!==u)return;const a=e(...l);n.forEach(h=>h(a)),n=[],t=null});return t=u,new Promise(a=>n.push(a))}}function $e(e){if(gt(e))return e._value}function gt(e){return"_value"in e}function qt(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function Pe(e){if(!dt(e))return e;const t=e.target;if(st(t.type)&>(t))return $e(t);if(t.type==="file"&&t.files){const n=Array.from(t.files);return t.multiple?n:n[0]}if(zt(t))return Array.from(t.options).filter(n=>n.selected&&!n.disabled).map($e);if(ct(t)){const n=Array.from(t.options).find(l=>l.selected);return n?$e(n):t.value}return qt(t)}function pt(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?ae(e)&&e._$$isNormalized?e:ae(e)?Object.keys(e).reduce((n,l)=>{const u=Gt(e[l]);return e[l]!==!1&&(n[l]=bt(u)),n},t):typeof e!="string"?t:e.split("|").reduce((n,l)=>{const u=Ht(l);return u.name&&(n[u.name]=bt(u.params)),n},t):t}function Gt(e){return e===!0?[]:Array.isArray(e)||ae(e)?e:[e]}function bt(e){const t=n=>typeof n=="string"&&n[0]==="@"?Kt(n.slice(1)):n;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((n,l)=>(n[l]=t(e[l]),n),{})}const Ht=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};function Kt(e){const t=n=>D(n,e)||n[e];return t.__locatorRef=e,t}function Yt(e){return Array.isArray(e)?e.filter(Be):$(e).filter(t=>Be(e[t])).map(t=>e[t])}let Xt=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const be=()=>Xt;async function Vt(e,t,n={}){const l=n==null?void 0:n.bails,u={name:(n==null?void 0:n.name)||"{field}",rules:t,label:n==null?void 0:n.label,bails:l??!0,formData:(n==null?void 0:n.values)||{}},a=await Jt(u,e);return Object.assign(Object.assign({},a),{valid:!a.errors.length})}async function Jt(e,t){const n=e.rules;if(X(n)||je(n))return Zt(t,Object.assign(Object.assign({},e),{rules:n}));if(A(n)||Array.isArray(n)){const v={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},c=Array.isArray(n)?n:[n],s=c.length,S=[];for(let b=0;b<s;b++){const I=c[b],g=await I(t,v);if(!(typeof g!="string"&&!Array.isArray(g)&&g)){if(Array.isArray(g))S.push(...g);else{const Q=typeof g=="string"?g:_t(v);S.push(Q)}if(e.bails)return{errors:S}}}return{errors:S}}const l=Object.assign(Object.assign({},e),{rules:pt(n)}),u=[],a=Object.keys(l.rules),h=a.length;for(let v=0;v<h;v++){const c=a[v],s=await en(l,t,{name:c,params:l.rules[c]});if(s.error&&(u.push(s.error),e.bails))return{errors:u}}return{errors:u}}function Qt(e){return!!e&&e.name==="ValidationError"}function Ot(e){return{__type:"VVTypedSchema",async parse(n,l){var u;try{return{output:await e.validate(n,{abortEarly:!1,context:(l==null?void 0:l.formData)||{}}),errors:[]}}catch(a){if(!Qt(a))throw a;if(!(!((u=a.inner)===null||u===void 0)&&u.length)&&a.errors.length)return{errors:[{path:a.path,errors:a.errors}]};const h=a.inner.reduce((v,c)=>{const s=c.path||"";return v[s]||(v[s]={errors:[],path:s}),v[s].errors.push(...c.errors),v},{});return{errors:Object.values(h)}}}}}async function Zt(e,t){const l=await(X(t.rules)?t.rules:Ot(t.rules)).parse(e,{formData:t.formData}),u=[];for(const a of l.errors)a.errors.length&&u.push(...a.errors);return{value:l.value,errors:u}}async function en(e,t,n){const l=Rt(n.name);if(!l)throw new Error(`No such validator '${n.name}' exists.`);const u=tn(n.params,e.formData),a={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:u})},h=await l(t,u,a);return typeof h=="string"?{error:h}:{error:h?void 0:_t(a)}}function _t(e){const t=be().generateMessage;return t?t(e):"Field is invalid"}function tn(e,t){const n=l=>Be(l)?l(t):l;return Array.isArray(e)?e.map(n):Object.keys(e).reduce((l,u)=>(l[u]=n(e[u]),l),{})}async function nn(e,t){const l=await(X(e)?e:Ot(e)).parse(P(t)),u={},a={};for(const h of l.errors){const v=h.errors,c=(h.path||"").replace(/\["(\d+)"\]/g,(s,S)=>`[${S}]`);u[c]={valid:!v.length,errors:v},v.length&&(a[c]=v[0])}return{valid:!l.errors.length,results:u,errors:a,values:l.value,source:"schema"}}async function rn(e,t,n){const u=$(e).map(async s=>{var S,b,I;const g=(S=n==null?void 0:n.names)===null||S===void 0?void 0:S[s],k=await Vt(D(t,s),e[s],{name:(g==null?void 0:g.name)||s,label:g==null?void 0:g.label,values:t,bails:(I=(b=n==null?void 0:n.bailsMap)===null||b===void 0?void 0:b[s])!==null&&I!==void 0?I:!0});return Object.assign(Object.assign({},k),{path:s})});let a=!0;const h=await Promise.all(u),v={},c={};for(const s of h)v[s.path]={valid:s.valid,errors:s.errors},s.valid||(a=!1,c[s.path]=s.errors[0]);return{valid:a,results:v,errors:c,source:"schema"}}let St=0;function ln(e,t){const{value:n,initialValue:l,setInitialValue:u}=an(e,t.modelValue,t.form);if(!t.form){let c=function(g){var k;"value"in g&&(n.value=g.value),"errors"in g&&S(g.errors),"touched"in g&&(I.touched=(k=g.touched)!==null&&k!==void 0?k:I.touched),"initialValue"in g&&u(g.initialValue)};const{errors:s,setErrors:S}=sn(),b=St>=Number.MAX_SAFE_INTEGER?0:++St,I=on(n,l,s,t.schema);return{id:b,path:e,value:n,initialValue:l,meta:I,flags:{pendingUnmount:{[b]:!1},pendingReset:!1},errors:s,setState:c}}const a=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate,schema:t.schema}),h=E(()=>a.errors);function v(c){var s,S,b;"value"in c&&(n.value=c.value),"errors"in c&&((s=t.form)===null||s===void 0||s.setFieldError(w(e),c.errors)),"touched"in c&&((S=t.form)===null||S===void 0||S.setFieldTouched(w(e),(b=c.touched)!==null&&b!==void 0?b:!1)),"initialValue"in c&&u(c.initialValue)}return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:e,value:n,errors:h,meta:a,initialValue:l,flags:a.__flags,setState:v}}function an(e,t,n){const l=G(w(t));function u(){return n?D(n.initialValues.value,w(e),w(l)):w(l)}function a(s){if(!n){l.value=s;return}n.setFieldInitialValue(w(e),s,!0)}const h=E(u);if(!n)return{value:G(u()),initialValue:h,setInitialValue:a};const v=un(t,n,h,e);return n.stageInitialValue(w(e),v,!0),{value:E({get(){return D(n.values,w(e))},set(s){n.setFieldValue(w(e),s,!1)}}),initialValue:h,setInitialValue:a}}function un(e,t,n,l){return me(e)?w(e):e!==void 0?e:D(t.values,w(l),w(n))}function on(e,t,n,l){const u=E(()=>{var h,v,c;return(c=(v=(h=O(l))===null||h===void 0?void 0:h.describe)===null||v===void 0?void 0:v.call(h).required)!==null&&c!==void 0?c:!1}),a=he({touched:!1,pending:!1,valid:!0,required:u,validated:!!w(n).length,initialValue:E(()=>w(t)),dirty:E(()=>!B(w(e),w(t)))});return ie(n,h=>{a.valid=!h.length},{immediate:!0,flush:"sync"}),a}function sn(){const e=G([]);return{errors:e,setErrors:t=>{e.value=Le(t)}}}function cn(e,t,n){return st(n==null?void 0:n.type)?fn(e,t,n):At(e,t,n)}function At(e,t,n){const{initialValue:l,validateOnMount:u,bails:a,type:h,checkedValue:v,label:c,validateOnValueUpdate:s,uncheckedValue:S,controlled:b,keepValueOnUnmount:I,syncVModel:g,form:k}=dn(n),Q=b?ht(Ue):void 0,_=k||Q,Z=E(()=>pe(O(e))),W=E(()=>{if(O(_==null?void 0:_.schema))return;const V=w(t);return je(V)||X(V)||A(V)||Array.isArray(V)?V:pt(V)}),Ie=!A(W.value)&&X(O(t)),{id:Ve,value:ee,initialValue:ue,meta:x,setState:de,errors:Oe,flags:z}=ln(Z,{modelValue:l,form:_,bails:a,label:c,type:h,validate:W.value?T:void 0,schema:Ie?t:void 0}),fe=E(()=>Oe.value[0]);g&&vn({value:ee,prop:g,handleChange:Ne,shouldValidate:()=>s&&!z.pendingReset});const qe=(f,V=!1)=>{x.touched=!0,V&&le()};async function Ce(f){var V,M;if(_!=null&&_.validateSchema){const{results:j}=await _.validateSchema(f);return(V=j[O(Z)])!==null&&V!==void 0?V:{valid:!0,errors:[]}}return W.value?Vt(ee.value,W.value,{name:O(Z),label:O(c),values:(M=_==null?void 0:_.values)!==null&&M!==void 0?M:{},bails:a}):{valid:!0,errors:[]}}const le=ze(async()=>(x.pending=!0,x.validated=!0,Ce("validated-only")),f=>(z.pendingUnmount[q.id]||(de({errors:f.errors}),x.pending=!1,x.valid=f.valid),f)),H=ze(async()=>Ce("silent"),f=>(x.valid=f.valid,f));function T(f){return(f==null?void 0:f.mode)==="silent"?H():le()}function Ne(f,V=!0){const M=Pe(f);ve(M,V)}Te(()=>{if(u)return le();(!_||!_.validateSchema)&&H()});function oe(f){x.touched=f}function se(f){var V;const M=f&&"value"in f?f.value:ue.value;de({value:P(M),initialValue:P(M),touched:(V=f==null?void 0:f.touched)!==null&&V!==void 0?V:!1,errors:(f==null?void 0:f.errors)||[]}),x.pending=!1,x.validated=!1,H()}const Me=ye();function ve(f,V=!0){ee.value=Me&&g?$t(f,Me.props.modelModifiers):f,(V?le:H)()}function Et(f){de({errors:Array.isArray(f)?f:[f]})}const _e=E({get(){return ee.value},set(f){ve(f,s)}}),q={id:Ve,name:Z,label:c,value:_e,meta:x,errors:Oe,errorMessage:fe,type:h,checkedValue:v,uncheckedValue:S,bails:a,keepValueOnUnmount:I,resetField:se,handleReset:()=>se(),validate:T,handleChange:Ne,handleBlur:qe,setState:de,setTouched:oe,setErrors:Et,setValue:ve};if(ke(Ut,q),me(t)&&typeof w(t)!="function"&&ie(t,(f,V)=>{B(f,V)||(x.validated?le():H())},{deep:!0}),!_)return q;const Ge=E(()=>{const f=W.value;return!f||A(f)||je(f)||X(f)||Array.isArray(f)?{}:Object.keys(f).reduce((V,M)=>{const j=Yt(f[M]).map(ne=>ne.__locatorRef).reduce((ne,J)=>{const re=D(_.values,J)||_.values[J];return re!==void 0&&(ne[J]=re),ne},{});return Object.assign(V,j),V},{})});return ie(Ge,(f,V)=>{if(!Object.keys(f).length)return;!B(f,V)&&(x.validated?le():H())}),tt(()=>{var f;const V=(f=O(q.keepValueOnUnmount))!==null&&f!==void 0?f:O(_.keepValuesOnUnmount),M=O(Z);if(V||!_||z.pendingUnmount[q.id]){_==null||_.removePathState(M,Ve);return}z.pendingUnmount[q.id]=!0;const j=_.getPathState(M);if(Array.isArray(j==null?void 0:j.id)&&(j!=null&&j.multiple)?j!=null&&j.id.includes(q.id):(j==null?void 0:j.id)===q.id){if(j!=null&&j.multiple&&Array.isArray(j.value)){const J=j.value.findIndex(re=>B(re,O(q.checkedValue)));if(J>-1){const re=[...j.value];re.splice(J,1),_.setFieldValue(M,re)}Array.isArray(j.id)&&j.id.splice(j.id.indexOf(q.id),1)}else _.unsetPathValue(O(Z));_.removePathState(M,Ve)}}),q}function dn(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(e!=null&&e.syncVModel),l=typeof(e==null?void 0:e.syncVModel)=="string"?e.syncVModel:(e==null?void 0:e.modelPropName)||"modelValue",u=n&&!("initialValue"in(e||{}))?We(ye(),l):e==null?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:u});const a="valueProp"in e?e.valueProp:e.checkedValue,h="standalone"in e?!e.standalone:e.controlled,v=(e==null?void 0:e.modelPropName)||(e==null?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:u,controlled:h??!0,checkedValue:a,syncVModel:v})}function fn(e,t,n){const l=n!=null&&n.standalone?void 0:ht(Ue),u=n==null?void 0:n.checkedValue,a=n==null?void 0:n.uncheckedValue;function h(v){const c=v.handleChange,s=E(()=>{const b=O(v.value),I=O(u);return Array.isArray(b)?b.findIndex(g=>B(g,I))>=0:B(I,b)});function S(b,I=!0){var g,k;if(s.value===((g=b==null?void 0:b.target)===null||g===void 0?void 0:g.checked)){I&&v.validate();return}const Q=O(e),_=l==null?void 0:l.getPathState(Q),Z=Pe(b);let W=(k=O(u))!==null&&k!==void 0?k:Z;l&&(_!=null&&_.multiple)&&_.type==="checkbox"?W=mt(D(l.values,Q)||[],W,void 0):(n==null?void 0:n.type)==="checkbox"&&(W=mt(O(v.value),W,O(a))),c(W,I)}return Object.assign(Object.assign({},v),{checked:s,checkedValue:u,uncheckedValue:a,handleChange:S})}return h(At(e,t,n))}function vn({prop:e,value:t,handleChange:n,shouldValidate:l}){const u=ye();if(!u||!e)return;const a=typeof e=="string"?e:"modelValue",h=`update:${a}`;a in u.props&&(ie(t,v=>{B(v,We(u,a))||u.emit(h,v)}),ie(()=>We(u,a),v=>{if(v===ot&&t.value===void 0)return;const c=v===ot?void 0:v;B(c,t.value)||n(c,l())}))}function We(e,t){if(e)return e.props[t]}let hn=0;const Fe=["bails","fieldsCount","id","multiple","type","validate"];function jt(e){const n=Object.assign({},O({})),l=w(void 0);return l&&X(l)&&A(l.cast)?P(l.cast(n)||{}):P(n)}function mn(e){var t;const n=hn++;let l=0;const u=G(!1),a=G(!1),h=G(0),v=[],c=he(jt()),s=G([]),S=G({}),b=G({}),I=Wt(()=>{b.value=s.value.reduce((i,r)=>(i[pe(O(r.path))]=r,i),{})});function g(i,r){const o=T(i);if(!o){typeof i=="string"&&(S.value[pe(i)]=Le(r));return}if(typeof i=="string"){const d=pe(i);S.value[d]&&delete S.value[d]}o.errors=Le(r),o.valid=!o.errors.length}function k(i){$(i).forEach(r=>{g(r,i[r])})}const Q=E(()=>{const i=s.value.reduce((r,o)=>(o.errors.length&&(r[o.path]=o.errors),r),{});return Object.assign(Object.assign({},S.value),i)}),_=E(()=>$(Q.value).reduce((i,r)=>{const o=Q.value[r];return o!=null&&o.length&&(i[r]=o[0]),i},{})),Z=E(()=>s.value.reduce((i,r)=>(i[r.path]={name:r.path||"",label:r.label||""},i),{})),W=E(()=>s.value.reduce((i,r)=>{var o;return i[r.path]=(o=r.bails)!==null&&o!==void 0?o:!0,i},{})),Ie=Object.assign({},{}),Ve=(t=void 0)!==null&&t!==void 0?t:!1,{initialValues:ee,originalInitialValues:ue,setInitialValues:x}=gn(s,c),de=yn(s,c,ue,_),Oe=E(()=>s.value.reduce((i,r)=>{const o=D(c,r.path);return te(i,r.path,o),i},{})),z=void 0;function fe(i,r){var o,d;const y=E(()=>D(ee.value,O(i))),p=b.value[O(i)],m=(r==null?void 0:r.type)==="checkbox"||(r==null?void 0:r.type)==="radio";if(p&&m){p.multiple=!0;const K=l++;return Array.isArray(p.id)?p.id.push(K):p.id=[p.id,K],p.fieldsCount++,p.__flags.pendingUnmount[K]=!1,p}const C=E(()=>D(c,O(i))),N=O(i),R=oe.findIndex(K=>K===N);R!==-1&&oe.splice(R,1);const F=E(()=>{var K,Ae,Xe,Je;const Qe=O(z);if(X(Qe))return(Ae=(K=Qe.describe)===null||K===void 0?void 0:K.call(Qe,O(i)).required)!==null&&Ae!==void 0?Ae:!1;const Ze=O(r==null?void 0:r.schema);return X(Ze)&&(Je=(Xe=Ze.describe)===null||Xe===void 0?void 0:Xe.call(Ze).required)!==null&&Je!==void 0?Je:!1}),U=l++,L=he({id:U,path:i,touched:!1,pending:!1,valid:!0,validated:!!(!((o=Ie[N])===null||o===void 0)&&o.length),required:F,initialValue:y,errors:rt([]),bails:(d=r==null?void 0:r.bails)!==null&&d!==void 0?d:!1,label:r==null?void 0:r.label,type:(r==null?void 0:r.type)||"default",value:C,multiple:!1,__flags:{pendingUnmount:{[U]:!1},pendingReset:!1},fieldsCount:1,validate:r==null?void 0:r.validate,dirty:E(()=>!B(w(C),w(y)))});return s.value.push(L),b.value[N]=L,I(),_.value[N]&&!Ie[N]&&Y(()=>{ce(N,{mode:"silent"})}),me(i)&&ie(i,K=>{I();const Ae=P(C.value);b.value[K]=L,Y(()=>{te(c,K,Ae)})}),L}const qe=yt(It,5),Ce=yt(It,5),le=ze(async i=>await(i==="silent"?qe():Ce()),(i,[r])=>{const o=$(f.errorBag.value),y=[...new Set([...$(i.results),...s.value.map(p=>p.path),...o])].sort().reduce((p,m)=>{var C;const N=m,R=T(N)||Ne(N),F=((C=i.results[N])===null||C===void 0?void 0:C.errors)||[],U=O(R==null?void 0:R.path)||N,L=pn({errors:F,valid:!F.length},p.results[U]);return p.results[U]=L,L.valid||(p.errors[U]=L.errors[0]),R&&S.value[U]&&delete S.value[U],R?(R.valid=L.valid,r==="silent"||r==="validated-only"&&!R.validated||g(R,L.errors),p):(g(U,F),p)},{valid:i.valid,results:{},errors:{},source:i.source});return i.values&&(y.values=i.values,y.source=i.source),$(y.results).forEach(p=>{var m;const C=T(p);C&&r!=="silent"&&(r==="validated-only"&&!C.validated||g(C,(m=y.results[p])===null||m===void 0?void 0:m.errors))}),y});function H(i){s.value.forEach(i)}function T(i){const r=typeof i=="string"?pe(i):i;return typeof r=="string"?b.value[r]:r}function Ne(i){return s.value.filter(o=>i.startsWith(o.path)).reduce((o,d)=>o?d.path.length>o.path.length?d:o:d,void 0)}let oe=[],se;function Me(i){return oe.push(i),se||(se=Y(()=>{[...oe].sort().reverse().forEach(o=>{vt(c,o)}),oe=[],se=null})),se}function ve(i){return function(o,d){return function(p){return p instanceof Event&&(p.preventDefault(),p.stopPropagation()),H(m=>m.touched=!0),u.value=!0,h.value++,Se().then(m=>{const C=P(c);if(m.valid&&typeof o=="function"){const N=P(Oe.value);let R=i?N:C;return m.values&&(R=m.source==="schema"?m.values:Object.assign({},R,m.values)),o(R,{evt:p,controlledValues:N,setErrors:k,setFieldError:g,setTouched:wt,setFieldTouched:J,setValues:j,setFieldValue:V,resetForm:He,resetField:Pt})}!m.valid&&typeof d=="function"&&d({values:C,evt:p,errors:m.errors,results:m.results})}).then(m=>(u.value=!1,m),m=>{throw u.value=!1,m})}}}const _e=ve(!1);_e.withControlled=ve(!0);function q(i,r){const o=s.value.findIndex(y=>y.path===i&&(Array.isArray(y.id)?y.id.includes(r):y.id===r)),d=s.value[o];if(!(o===-1||!d)){if(Y(()=>{ce(i,{mode:"silent",warn:!1})}),d.multiple&&d.fieldsCount&&d.fieldsCount--,Array.isArray(d.id)){const y=d.id.indexOf(r);y>=0&&d.id.splice(y,1),delete d.__flags.pendingUnmount[r]}(!d.multiple||d.fieldsCount<=0)&&(s.value.splice(o,1),Ft(i),I(),delete b.value[i])}}function Ge(i){$(b.value).forEach(r=>{r.startsWith(i)&&delete b.value[r]}),s.value=s.value.filter(r=>!r.path.startsWith(i)),Y(()=>{I()})}const f={formId:n,values:c,controlledValues:Oe,errorBag:Q,errors:_,schema:z,submitCount:h,meta:de,isSubmitting:u,isValidating:a,fieldArrays:v,keepValuesOnUnmount:Ve,validateSchema:w(z)?le:void 0,validate:Se,setFieldError:g,validateField:ce,setFieldValue:V,setValues:j,setErrors:k,setFieldTouched:J,setTouched:wt,resetForm:He,resetField:Pt,handleSubmit:_e,useFieldModel:Sn,defineInputBinds:An,defineComponentBinds:jn,defineField:Ye,stageInitialValue:On,unsetInitialValue:Ft,setFieldInitialValue:Ke,createPathState:fe,getPathState:T,unsetPathValue:Me,removePathState:q,initialValues:ee,getAllPathStates:()=>s.value,destroyPath:Ge,isFieldTouched:re,isFieldDirty:bn,isFieldValid:Vn};function V(i,r,o=!0){const d=P(r),y=typeof i=="string"?i:i.path;T(y)||fe(y),te(c,y,d),o&&ce(y)}function M(i,r=!0){$(c).forEach(o=>{delete c[o]}),$(i).forEach(o=>{V(o,i[o],!1)}),r&&Se()}function j(i,r=!0){ge(c,i),v.forEach(o=>o&&o.reset()),r&&Se()}function ne(i,r){const o=T(O(i))||fe(i);return E({get(){return o.value},set(d){var y;const p=O(i);V(p,d,(y=O(r))!==null&&y!==void 0?y:!1)}})}function J(i,r){const o=T(i);o&&(o.touched=r)}function re(i){const r=T(i);return r?r.touched:s.value.filter(o=>o.path.startsWith(i)).some(o=>o.touched)}function bn(i){const r=T(i);return r?r.dirty:s.value.filter(o=>o.path.startsWith(i)).some(o=>o.dirty)}function Vn(i){const r=T(i);return r?r.valid:s.value.filter(o=>o.path.startsWith(i)).every(o=>o.valid)}function wt(i){if(typeof i=="boolean"){H(r=>{r.touched=i});return}$(i).forEach(r=>{J(r,!!i[r])})}function Pt(i,r){var o;const d=r&&"value"in r?r.value:D(ee.value,i),y=T(i);y&&(y.__flags.pendingReset=!0),Ke(i,P(d),!0),V(i,d,!1),J(i,(o=r==null?void 0:r.touched)!==null&&o!==void 0?o:!1),g(i,(r==null?void 0:r.errors)||[]),Y(()=>{y&&(y.__flags.pendingReset=!1)})}function He(i,r){let o=P(i!=null&&i.values?i.values:ue.value);o=r!=null&&r.force?o:ge(ue.value,o),o=X(z)&&A(z.cast)?z.cast(o):o,x(o,{force:r==null?void 0:r.force}),H(d=>{var y;d.__flags.pendingReset=!0,d.validated=!1,d.touched=((y=i==null?void 0:i.touched)===null||y===void 0?void 0:y[d.path])||!1,V(d.path,D(o,d.path),!1),g(d.path,void 0)}),r!=null&&r.force?M(o,!1):j(o,!1),k((i==null?void 0:i.errors)||{}),h.value=(i==null?void 0:i.submitCount)||0,Y(()=>{Se({mode:"silent"}),H(d=>{d.__flags.pendingReset=!1})})}async function Se(i){const r=(i==null?void 0:i.mode)||"force";if(r==="force"&&H(m=>m.validated=!0),f.validateSchema)return f.validateSchema(r);a.value=!0;const o=await Promise.all(s.value.map(m=>m.validate?m.validate(i).then(C=>({key:m.path,valid:C.valid,errors:C.errors,value:C.value})):Promise.resolve({key:m.path,valid:!0,errors:[],value:void 0})));a.value=!1;const d={},y={},p={};for(const m of o)d[m.key]={valid:m.valid,errors:m.errors},m.value&&te(p,m.key,m.value),m.errors.length&&(y[m.key]=m.errors[0]);return{valid:o.every(m=>m.valid),results:d,errors:y,values:p,source:"fields"}}async function ce(i,r){var o;const d=T(i);return d&&(r==null?void 0:r.mode)!=="silent"&&(d.validated=!0),d!=null&&d.validate?d.validate(r):(!d&&(o=r==null?void 0:r.warn),Promise.resolve({errors:[],valid:!0}))}function Ft(i){vt(ee.value,i)}function On(i,r,o=!1){Ke(i,r),te(c,i,r),o&&te(ue.value,i,P(r))}function Ke(i,r,o=!1){te(ee.value,i,P(r)),o&&te(ue.value,i,P(r))}async function It(){const i=w(z);if(!i)return{valid:!0,results:{},errors:{},source:"none"};a.value=!0;const r=je(i)||X(i)?await nn(i,c):await rn(i,c,{names:Z.value,bailsMap:W.value});return a.value=!1,r}const _n=_e((i,{evt:r})=>{Lt(r)&&r.target.submit()});Te(()=>{f.validateSchema&&f.validateSchema("silent")}),me(z)&&ie(z,()=>{var i;(i=f.validateSchema)===null||i===void 0||i.call(f,"validated-only")}),ke(Ue,f);function Ye(i,r){const o=A(r)||r==null?void 0:r.label,d=T(O(i))||fe(i,{label:o}),y=()=>A(r)?r(we(d,Fe)):r||{};function p(){var F;d.touched=!0,((F=y().validateOnBlur)!==null&&F!==void 0?F:be().validateOnBlur)&&ce(d.path)}function m(){var F;((F=y().validateOnInput)!==null&&F!==void 0?F:be().validateOnInput)&&Y(()=>{ce(d.path)})}function C(){var F;((F=y().validateOnChange)!==null&&F!==void 0?F:be().validateOnChange)&&Y(()=>{ce(d.path)})}const N=E(()=>{const F={onChange:C,onInput:m,onBlur:p};return A(r)?Object.assign(Object.assign({},F),r(we(d,Fe)).props||{}):r!=null&&r.props?Object.assign(Object.assign({},F),r.props(we(d,Fe))):F});return[ne(i,()=>{var F,U,L;return(L=(F=y().validateOnModelUpdate)!==null&&F!==void 0?F:(U=be())===null||U===void 0?void 0:U.validateOnModelUpdate)!==null&&L!==void 0?L:!0}),N]}function Sn(i){return Array.isArray(i)?i.map(r=>ne(r,!0)):ne(i)}function An(i,r){const[o,d]=Ye(i,r);function y(){d.value.onBlur()}function p(C){const N=Pe(C);V(O(i),N,!1),d.value.onInput()}function m(C){const N=Pe(C);V(O(i),N,!1),d.value.onChange()}return E(()=>Object.assign(Object.assign({},d.value),{onBlur:y,onInput:p,onChange:m,value:o.value}))}function jn(i,r){const[o,d]=Ye(i,r),y=T(O(i));function p(m){o.value=m}return E(()=>{const m=A(r)?r(we(y,Fe)):r||{};return Object.assign({[m.model||"modelValue"]:o.value,[`onUpdate:${m.model||"modelValue"}`]:p},d.value)})}return Object.assign(Object.assign({},f),{values:et(c),handleReset:()=>He(),submitForm:_n})}function yn(e,t,n,l){const u={touched:"some",pending:"some",valid:"every"},a=E(()=>!B(t,w(n)));function h(){const c=e.value;return $(u).reduce((s,S)=>{const b=u[S];return s[S]=c[b](I=>I[S]),s},{})}const v=he(h());return nt(()=>{const c=h();v.touched=c.touched,v.valid=c.valid,v.pending=c.pending}),E(()=>Object.assign(Object.assign({initialValues:w(n)},v),{valid:v.valid&&!$(l.value).length,dirty:a.value}))}function gn(e,t,n){const l=jt(),u=G(l),a=G(P(l));function h(v,c){c!=null&&c.force?(u.value=P(v),a.value=P(v)):(u.value=ge(P(u.value)||{},P(v)),a.value=ge(P(a.value)||{},P(v))),c!=null&&c.updateFields&&e.value.forEach(s=>{if(s.touched)return;const b=D(u.value,s.path);te(t,s.path,P(b))})}return{initialValues:u,originalInitialValues:a,setInitialValues:h}}function pn(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}}}});
|