@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,56 +0,0 @@
|
|
|
1
|
-
import { g as l, a as x } from "./computeAutoPlacement-Ac2MkS5B.es.js";
|
|
2
|
-
import { l as f, r as g, a as y, t as u, e as b, s as v } from "../vendor/@popperjs/core-DJHUrK4e.es.js";
|
|
3
|
-
function d(s) {
|
|
4
|
-
return ["top", "bottom"].indexOf(s) >= 0 ? "x" : "y";
|
|
5
|
-
}
|
|
6
|
-
function k(s) {
|
|
7
|
-
var e = s.reference, t = s.element, i = s.placement, o = i ? l(i) : null, h = i ? x(i) : null, c = e.x + e.width / 2 - t.width / 2, m = e.y + e.height / 2 - t.height / 2, a;
|
|
8
|
-
switch (o) {
|
|
9
|
-
case u:
|
|
10
|
-
a = {
|
|
11
|
-
x: c,
|
|
12
|
-
y: e.y - t.height
|
|
13
|
-
};
|
|
14
|
-
break;
|
|
15
|
-
case y:
|
|
16
|
-
a = {
|
|
17
|
-
x: c,
|
|
18
|
-
y: e.y + e.height
|
|
19
|
-
};
|
|
20
|
-
break;
|
|
21
|
-
case g:
|
|
22
|
-
a = {
|
|
23
|
-
x: e.x + e.width,
|
|
24
|
-
y: m
|
|
25
|
-
};
|
|
26
|
-
break;
|
|
27
|
-
case f:
|
|
28
|
-
a = {
|
|
29
|
-
x: e.x - t.width,
|
|
30
|
-
y: m
|
|
31
|
-
};
|
|
32
|
-
break;
|
|
33
|
-
default:
|
|
34
|
-
a = {
|
|
35
|
-
x: e.x,
|
|
36
|
-
y: e.y
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
var r = o ? d(o) : null;
|
|
40
|
-
if (r != null) {
|
|
41
|
-
var n = r === "y" ? "height" : "width";
|
|
42
|
-
switch (h) {
|
|
43
|
-
case v:
|
|
44
|
-
a[r] = a[r] - (e[n] / 2 - t[n] / 2);
|
|
45
|
-
break;
|
|
46
|
-
case b:
|
|
47
|
-
a[r] = a[r] + (e[n] / 2 - t[n] / 2);
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return a;
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
k as c,
|
|
55
|
-
d as g
|
|
56
|
-
};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
const w = () => {
|
|
2
|
-
const { consoleSettings: o, generalSetting: n } = JSON.parse(
|
|
3
|
-
localStorage.getItem("user") ?? "{}"
|
|
4
|
-
), { dateFormat: t, timeFormat: s, timezone: a } = o ?? n ?? {};
|
|
5
|
-
let r = {};
|
|
6
|
-
return !t || !s || !a ? {} : (typeof t == "string" ? r = {
|
|
7
|
-
dateFormat: t,
|
|
8
|
-
timeFormat: s,
|
|
9
|
-
timezone: a
|
|
10
|
-
} : r = {
|
|
11
|
-
formatPreset: {
|
|
12
|
-
...t,
|
|
13
|
-
weekday: t != null && t.weekday ? t.weekday : void 0,
|
|
14
|
-
hour: "2-digit",
|
|
15
|
-
minute: "2-digit",
|
|
16
|
-
second: "2-digit",
|
|
17
|
-
hour12: s,
|
|
18
|
-
timezone: a
|
|
19
|
-
}
|
|
20
|
-
}, r);
|
|
21
|
-
}, H = (o, n = {
|
|
22
|
-
locale: "en-gb",
|
|
23
|
-
dateFormat: "dd/mm/yy",
|
|
24
|
-
timeFormat: "HH:mm",
|
|
25
|
-
showDate: !0
|
|
26
|
-
}, t = !0) => {
|
|
27
|
-
const { showDate: s = !0 } = n;
|
|
28
|
-
let {
|
|
29
|
-
locale: a = "en-gb",
|
|
30
|
-
dateFormat: r = "dd/mm/yy",
|
|
31
|
-
timezone: y,
|
|
32
|
-
timeFormat: i,
|
|
33
|
-
showTime: m
|
|
34
|
-
} = n;
|
|
35
|
-
const d = t ? w() : {};
|
|
36
|
-
if (d && (a = d.locale ?? a, r = d.dateFormat ?? r, i = d.timeFormat ?? i, y = d.timezone ?? y, m = m ?? !1), d.formatPreset) {
|
|
37
|
-
const {
|
|
38
|
-
locale: c,
|
|
39
|
-
timezone: l,
|
|
40
|
-
hour: u,
|
|
41
|
-
minute: h,
|
|
42
|
-
second: f,
|
|
43
|
-
hour12: M,
|
|
44
|
-
...k
|
|
45
|
-
} = d.formatPreset, b = m ? { hour: u, minute: h, second: f, hour12: M } : {};
|
|
46
|
-
return o.toLocaleString(c, {
|
|
47
|
-
...l ? { timeZone: l } : {},
|
|
48
|
-
...k,
|
|
49
|
-
...b
|
|
50
|
-
}).replace(/\b(am|pm)\b/g, (D) => D.toUpperCase());
|
|
51
|
-
}
|
|
52
|
-
let e = {
|
|
53
|
-
...y ? { timeZone: y } : {}
|
|
54
|
-
};
|
|
55
|
-
if (s)
|
|
56
|
-
switch (r) {
|
|
57
|
-
case "d/m/yy":
|
|
58
|
-
case "_2/_1/06":
|
|
59
|
-
e = {
|
|
60
|
-
year: "2-digit",
|
|
61
|
-
month: "numeric",
|
|
62
|
-
day: "numeric"
|
|
63
|
-
}, a = "id-id";
|
|
64
|
-
break;
|
|
65
|
-
case "m/d/yy":
|
|
66
|
-
case "_1/_2/06":
|
|
67
|
-
e = {
|
|
68
|
-
year: "2-digit",
|
|
69
|
-
month: "numeric",
|
|
70
|
-
day: "numeric"
|
|
71
|
-
}, a = "en-us";
|
|
72
|
-
break;
|
|
73
|
-
case "d/mm/yy":
|
|
74
|
-
e = {
|
|
75
|
-
year: "2-digit",
|
|
76
|
-
month: "2-digit",
|
|
77
|
-
day: "numeric"
|
|
78
|
-
};
|
|
79
|
-
break;
|
|
80
|
-
case "dd/mm/yyyy":
|
|
81
|
-
e = {
|
|
82
|
-
year: "numeric",
|
|
83
|
-
month: "2-digit",
|
|
84
|
-
day: "2-digit"
|
|
85
|
-
};
|
|
86
|
-
break;
|
|
87
|
-
case "dd M yy":
|
|
88
|
-
case "02 Jan 06":
|
|
89
|
-
e = {
|
|
90
|
-
year: "2-digit",
|
|
91
|
-
month: "short",
|
|
92
|
-
day: "2-digit"
|
|
93
|
-
};
|
|
94
|
-
break;
|
|
95
|
-
case "dd M yyyy":
|
|
96
|
-
e = {
|
|
97
|
-
year: "numeric",
|
|
98
|
-
month: "short",
|
|
99
|
-
day: "2-digit"
|
|
100
|
-
};
|
|
101
|
-
break;
|
|
102
|
-
case "dd MM yy":
|
|
103
|
-
e = {
|
|
104
|
-
year: "2-digit",
|
|
105
|
-
month: "long",
|
|
106
|
-
day: "2-digit"
|
|
107
|
-
};
|
|
108
|
-
break;
|
|
109
|
-
case "dd MM yyyy":
|
|
110
|
-
e = {
|
|
111
|
-
year: "numeric",
|
|
112
|
-
month: "long",
|
|
113
|
-
day: "2-digit"
|
|
114
|
-
};
|
|
115
|
-
break;
|
|
116
|
-
case "D dd M yy":
|
|
117
|
-
case "D, dd M yy":
|
|
118
|
-
case "Mon, 02 Jan 06":
|
|
119
|
-
e = {
|
|
120
|
-
weekday: "short",
|
|
121
|
-
year: "2-digit",
|
|
122
|
-
month: "short",
|
|
123
|
-
day: "2-digit"
|
|
124
|
-
};
|
|
125
|
-
break;
|
|
126
|
-
case "D dd M yyyy":
|
|
127
|
-
case "D, dd M yyyy":
|
|
128
|
-
case "Mon, 02 Jan 2006":
|
|
129
|
-
e = {
|
|
130
|
-
weekday: "short",
|
|
131
|
-
year: "numeric",
|
|
132
|
-
month: "short",
|
|
133
|
-
day: "2-digit"
|
|
134
|
-
};
|
|
135
|
-
break;
|
|
136
|
-
case "DD dd MM yy":
|
|
137
|
-
case "DD, dd MM yy":
|
|
138
|
-
e = {
|
|
139
|
-
weekday: "long",
|
|
140
|
-
year: "2-digit",
|
|
141
|
-
month: "long",
|
|
142
|
-
day: "2-digit"
|
|
143
|
-
};
|
|
144
|
-
break;
|
|
145
|
-
case "DD dd MM yyyy":
|
|
146
|
-
case "DD, dd MM yyyy":
|
|
147
|
-
e = {
|
|
148
|
-
weekday: "long",
|
|
149
|
-
year: "numeric",
|
|
150
|
-
month: "long",
|
|
151
|
-
day: "2-digit"
|
|
152
|
-
};
|
|
153
|
-
break;
|
|
154
|
-
case "02/01/06":
|
|
155
|
-
default:
|
|
156
|
-
e = {
|
|
157
|
-
year: "2-digit",
|
|
158
|
-
month: "2-digit",
|
|
159
|
-
day: "2-digit"
|
|
160
|
-
};
|
|
161
|
-
break;
|
|
162
|
-
}
|
|
163
|
-
if (m && !i && (i = "HH:mm"), m || i && m != !1)
|
|
164
|
-
switch (i) {
|
|
165
|
-
case "HH:mm":
|
|
166
|
-
case "HH:mm a":
|
|
167
|
-
case "15:04":
|
|
168
|
-
case "03:04 PM":
|
|
169
|
-
e = {
|
|
170
|
-
...e,
|
|
171
|
-
hour: "2-digit",
|
|
172
|
-
minute: "2-digit",
|
|
173
|
-
hour12: i.includes("a") || i.includes("PM")
|
|
174
|
-
};
|
|
175
|
-
break;
|
|
176
|
-
case "HH:mm:ss":
|
|
177
|
-
case "HH:mm:ss a":
|
|
178
|
-
case "15:04:05":
|
|
179
|
-
case "03:04:05 PM":
|
|
180
|
-
e = {
|
|
181
|
-
...e,
|
|
182
|
-
hour: "2-digit",
|
|
183
|
-
minute: "2-digit",
|
|
184
|
-
second: "2-digit",
|
|
185
|
-
hour12: i.includes("a") || i.includes("PM")
|
|
186
|
-
};
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
const g = r.includes(",") ? o.toLocaleString(a, e) : o.toLocaleString(a, e).replace(",", "");
|
|
190
|
-
return console.log("🚀 ~ formatted:", g), g.replace(/\b(am|pm)\b/g, (c) => c.toUpperCase());
|
|
191
|
-
}, S = (o) => (
|
|
192
|
-
// Use Sweden locale, which uses ISO 8601 format: https://stackoverflow.com/a/58633651/27534858
|
|
193
|
-
new Date(o).toLocaleString("sv")
|
|
194
|
-
);
|
|
195
|
-
export {
|
|
196
|
-
S as a,
|
|
197
|
-
H as f
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(g,S){"use strict";return{execute:function(){const h=()=>{const{consoleSettings:o,generalSetting:s}=JSON.parse(localStorage.getItem("user")??"{}"),{dateFormat:t,timeFormat:n,timezone:a}=o??s??{};let r={};return!t||!n||!a?{}:(typeof t=="string"?r={dateFormat:t,timeFormat:n,timezone:a}:r={formatPreset:{...t,weekday:t!=null&&t.weekday?t.weekday:void 0,hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:n,timezone:a}},r)},p=g("f",(o,s={locale:"en-gb",dateFormat:"dd/mm/yy",timeFormat:"HH:mm",showDate:!0},t=!0)=>{const{showDate:n=!0}=s;let{locale:a="en-gb",dateFormat:r="dd/mm/yy",timezone:y,timeFormat:i,showTime:m}=s;const d=t?h():{};if(d&&(a=d.locale??a,r=d.dateFormat??r,i=d.timeFormat??i,y=d.timezone??y,m=m??!1),d.formatPreset){const{locale:c,timezone:u,hour:f,minute:M,second:k,hour12:b,...D}=d.formatPreset,w=m?{hour:f,minute:M,second:k,hour12:b}:{};return o.toLocaleString(c,{...u?{timeZone:u}:{},...D,...w}).replace(/\b(am|pm)\b/g,H=>H.toUpperCase())}let e={...y?{timeZone:y}:{}};if(n)switch(r){case"d/m/yy":case"_2/_1/06":e={year:"2-digit",month:"numeric",day:"numeric"},a="id-id";break;case"m/d/yy":case"_1/_2/06":e={year:"2-digit",month:"numeric",day:"numeric"},a="en-us";break;case"d/mm/yy":e={year:"2-digit",month:"2-digit",day:"numeric"};break;case"dd/mm/yyyy":e={year:"numeric",month:"2-digit",day:"2-digit"};break;case"dd M yy":case"02 Jan 06":e={year:"2-digit",month:"short",day:"2-digit"};break;case"dd M yyyy":e={year:"numeric",month:"short",day:"2-digit"};break;case"dd MM yy":e={year:"2-digit",month:"long",day:"2-digit"};break;case"dd MM yyyy":e={year:"numeric",month:"long",day:"2-digit"};break;case"D dd M yy":case"D, dd M yy":case"Mon, 02 Jan 06":e={weekday:"short",year:"2-digit",month:"short",day:"2-digit"};break;case"D dd M yyyy":case"D, dd M yyyy":case"Mon, 02 Jan 2006":e={weekday:"short",year:"numeric",month:"short",day:"2-digit"};break;case"DD dd MM yy":case"DD, dd MM yy":e={weekday:"long",year:"2-digit",month:"long",day:"2-digit"};break;case"DD dd MM yyyy":case"DD, dd MM yyyy":e={weekday:"long",year:"numeric",month:"long",day:"2-digit"};break;case"02/01/06":default:e={year:"2-digit",month:"2-digit",day:"2-digit"};break}if(m&&!i&&(i="HH:mm"),m||i&&m!=!1)switch(i){case"HH:mm":case"HH:mm a":case"15:04":case"03:04 PM":e={...e,hour:"2-digit",minute:"2-digit",hour12:i.includes("a")||i.includes("PM")};break;case"HH:mm:ss":case"HH:mm:ss a":case"15:04:05":case"03:04:05 PM":e={...e,hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:i.includes("a")||i.includes("PM")};break}const l=r.includes(",")?o.toLocaleString(a,e):o.toLocaleString(a,e).replace(",","");return console.log("🚀 ~ formatted:",l),l.replace(/\b(am|pm)\b/g,c=>c.toUpperCase())}),P=g("a",o=>new Date(o).toLocaleString("sv"))}}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["../vendor/@popperjs/core-DFLwc7xU.system.js","./computeOffsets-Cx9i84Mn.system.js"],function(V,tt){"use strict";var v,w,b,y,r,O,h,s,E,x,R;return{setters:[e=>{v=e.b,w=e.g,b=e.c,y=e.d,r=e.f,O=e.h,h=e.r,s=e.a,E=e.t,x=e.i},e=>{R=e.c}],execute:function(){V({a:u,b:A,c:j,d:G,e:B,f:C,g:e,i:z,m:_,r:S});function e(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function u(t){var n=e(t).Element;return t instanceof n||t instanceof Element}function z(t){var n=e(t).HTMLElement;return t instanceof n||t instanceof HTMLElement}function A(t){if(typeof ShadowRoot>"u")return!1;var n=e(t).ShadowRoot;return t instanceof n||t instanceof ShadowRoot}function j(t){return((u(t)?t.ownerDocument:t.document)||window.document).documentElement}function C(){return{top:0,right:0,bottom:0,left:0}}function _(t){return Object.assign({},C(),t)}function B(t,n){return n.reduce(function(o,i){return o[i]=t,o},{})}function S(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function G(t,n){n===void 0&&(n={});var o=n,i=o.placement,$=i===void 0?t.placement:i,T=o.strategy,I=T===void 0?t.strategy:T,D=o.boundary,J=D===void 0?b:D,H=o.rootBoundary,K=H===void 0?x:H,L=o.elementContext,a=L===void 0?r:L,M=o.altBoundary,N=M===void 0?!1:M,P=o.padding,l=P===void 0?0:P,c=_(typeof l!="number"?l:B(l,v)),Q=a===r?O:r,W=t.rects.popper,m=t.elements[N?Q:a],f=w(u(m)?m:m.contextElement||j(t.elements.popper),J,K,I),q=y(t.elements.reference),U=R({reference:q,element:W,placement:$}),X=S(Object.assign({},W,U)),p=a===r?X:q,d={top:f.top-p.top+c.top,bottom:p.bottom-f.bottom+c.bottom,left:f.left-p.left+c.left,right:p.right-f.right+c.right},F=t.modifiersData.offset;if(a===r&&F){var Y=F[$];Object.keys(d).forEach(function(g){var Z=[h,s].indexOf(g)>=0?1:-1,k=[E,s].indexOf(g)>=0?"y":"x";d[g]+=Y[k]*Z})}return d}}}});
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { b as P, g as W, c as F, d as V, f as o, h as q, r as z, a as R, t as A, i as G } from "../vendor/@popperjs/core-DJHUrK4e.es.js";
|
|
2
|
-
import { c as I } from "./computeOffsets-DXWJPq7f.es.js";
|
|
3
|
-
function m(t) {
|
|
4
|
-
if (t == null)
|
|
5
|
-
return window;
|
|
6
|
-
if (t.toString() !== "[object Window]") {
|
|
7
|
-
var e = t.ownerDocument;
|
|
8
|
-
return e && e.defaultView || window;
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
}
|
|
12
|
-
function C(t) {
|
|
13
|
-
var e = m(t).Element;
|
|
14
|
-
return t instanceof e || t instanceof Element;
|
|
15
|
-
}
|
|
16
|
-
function Z(t) {
|
|
17
|
-
var e = m(t).HTMLElement;
|
|
18
|
-
return t instanceof e || t instanceof HTMLElement;
|
|
19
|
-
}
|
|
20
|
-
function k(t) {
|
|
21
|
-
if (typeof ShadowRoot > "u")
|
|
22
|
-
return !1;
|
|
23
|
-
var e = m(t).ShadowRoot;
|
|
24
|
-
return t instanceof e || t instanceof ShadowRoot;
|
|
25
|
-
}
|
|
26
|
-
function J(t) {
|
|
27
|
-
return ((C(t) ? t.ownerDocument : (
|
|
28
|
-
// $FlowFixMe[prop-missing]
|
|
29
|
-
t.document
|
|
30
|
-
)) || window.document).documentElement;
|
|
31
|
-
}
|
|
32
|
-
function K() {
|
|
33
|
-
return {
|
|
34
|
-
top: 0,
|
|
35
|
-
right: 0,
|
|
36
|
-
bottom: 0,
|
|
37
|
-
left: 0
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function N(t) {
|
|
41
|
-
return Object.assign({}, K(), t);
|
|
42
|
-
}
|
|
43
|
-
function Q(t, e) {
|
|
44
|
-
return e.reduce(function(n, r) {
|
|
45
|
-
return n[r] = t, n;
|
|
46
|
-
}, {});
|
|
47
|
-
}
|
|
48
|
-
function U(t) {
|
|
49
|
-
return Object.assign({}, t, {
|
|
50
|
-
left: t.x,
|
|
51
|
-
top: t.y,
|
|
52
|
-
right: t.x + t.width,
|
|
53
|
-
bottom: t.y + t.height
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function tt(t, e) {
|
|
57
|
-
e === void 0 && (e = {});
|
|
58
|
-
var n = e, r = n.placement, d = r === void 0 ? t.placement : r, g = n.strategy, j = g === void 0 ? t.strategy : g, v = n.boundary, _ = v === void 0 ? F : v, w = n.rootBoundary, B = w === void 0 ? G : w, b = n.elementContext, i = b === void 0 ? o : b, y = n.altBoundary, $ = y === void 0 ? !1 : y, h = n.padding, c = h === void 0 ? 0 : h, a = N(typeof c != "number" ? c : Q(c, P)), S = i === o ? q : o, O = t.rects.popper, p = t.elements[$ ? S : i], s = W(C(p) ? p : p.contextElement || J(t.elements.popper), _, B, j), E = V(t.elements.reference), T = I({
|
|
59
|
-
reference: E,
|
|
60
|
-
element: O,
|
|
61
|
-
placement: d
|
|
62
|
-
}), D = U(Object.assign({}, O, T)), f = i === o ? D : E, l = {
|
|
63
|
-
top: s.top - f.top + a.top,
|
|
64
|
-
bottom: f.bottom - s.bottom + a.bottom,
|
|
65
|
-
left: s.left - f.left + a.left,
|
|
66
|
-
right: f.right - s.right + a.right
|
|
67
|
-
}, x = t.modifiersData.offset;
|
|
68
|
-
if (i === o && x) {
|
|
69
|
-
var H = x[d];
|
|
70
|
-
Object.keys(l).forEach(function(u) {
|
|
71
|
-
var L = [z, R].indexOf(u) >= 0 ? 1 : -1, M = [A, R].indexOf(u) >= 0 ? "y" : "x";
|
|
72
|
-
l[u] += H[M] * L;
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
return l;
|
|
76
|
-
}
|
|
77
|
-
export {
|
|
78
|
-
C as a,
|
|
79
|
-
k as b,
|
|
80
|
-
J as c,
|
|
81
|
-
tt as d,
|
|
82
|
-
Q as e,
|
|
83
|
-
K as f,
|
|
84
|
-
m as g,
|
|
85
|
-
Z as i,
|
|
86
|
-
N as m,
|
|
87
|
-
U as r
|
|
88
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./xlsx.util-FKEpiU2t.system.js"],function(n,h){"use strict";var r;return{setters:[o=>{r=o.l}],execute:function(){const o=n("e",async a=>{const e=await r(),l=e.utils.book_new(),s=e.utils.json_to_sheet([]);let i=0;a.tables.forEach(t=>{t.tableTitle&&(e.utils.sheet_add_aoa(s,[[t.tableTitle]],{origin:{r:i,c:0}}),i+=1),e.utils.sheet_add_aoa(s,[t.headers],{origin:{r:i,c:0}}),e.utils.sheet_add_json(s,t.data,{origin:{r:i+1,c:0},skipHeader:!0}),i+=t.data.length+3}),a.additionalTexts&&(i+=1,a.additionalTexts.forEach((t,d)=>{Array.isArray(t)?t.forEach((u,_)=>{e.utils.sheet_add_aoa(s,[[u]],{origin:{r:i+d,c:_}})}):e.utils.sheet_add_aoa(s,[[t]],{origin:{r:i+d,c:0}})})),e.utils.book_append_sheet(l,s,"Sheet1");const c=new Date().toLocaleDateString("en-gb",{day:"2-digit",month:"2-digit",year:"2-digit"}).replaceAll("/","");e.writeFile(l,`${a.fileName}-${c}.xlsx`)})}}});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { l as c } from "./xlsx.util-LU1upHR3.es.js";
|
|
2
|
-
const h = async (o) => {
|
|
3
|
-
const e = await c(), r = e.utils.book_new(), i = e.utils.json_to_sheet([]);
|
|
4
|
-
let a = 0;
|
|
5
|
-
o.tables.forEach((t) => {
|
|
6
|
-
t.tableTitle && (e.utils.sheet_add_aoa(i, [[t.tableTitle]], {
|
|
7
|
-
origin: { r: a, c: 0 }
|
|
8
|
-
}), a += 1), e.utils.sheet_add_aoa(i, [t.headers], {
|
|
9
|
-
origin: { r: a, c: 0 }
|
|
10
|
-
}), e.utils.sheet_add_json(i, t.data, {
|
|
11
|
-
origin: { r: a + 1, c: 0 },
|
|
12
|
-
skipHeader: !0
|
|
13
|
-
}), a += t.data.length + 3;
|
|
14
|
-
}), o.additionalTexts && (a += 1, o.additionalTexts.forEach((t, s) => {
|
|
15
|
-
Array.isArray(t) ? t.forEach((d, n) => {
|
|
16
|
-
e.utils.sheet_add_aoa(i, [[d]], {
|
|
17
|
-
origin: { r: a + s, c: n }
|
|
18
|
-
});
|
|
19
|
-
}) : e.utils.sheet_add_aoa(i, [[t]], {
|
|
20
|
-
origin: { r: a + s, c: 0 }
|
|
21
|
-
});
|
|
22
|
-
})), e.utils.book_append_sheet(r, i, "Sheet1");
|
|
23
|
-
const l = (/* @__PURE__ */ new Date()).toLocaleDateString("en-gb", {
|
|
24
|
-
day: "2-digit",
|
|
25
|
-
month: "2-digit",
|
|
26
|
-
year: "2-digit"
|
|
27
|
-
}).replaceAll("/", "");
|
|
28
|
-
e.writeFile(r, `${o.fileName}-${l}.xlsx`);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
h as e
|
|
32
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const l = [
|
|
2
|
-
"#57291F",
|
|
3
|
-
"#C0413B",
|
|
4
|
-
"#D77B5F",
|
|
5
|
-
"#FF9200",
|
|
6
|
-
"#C87505",
|
|
7
|
-
"#F18E3F",
|
|
8
|
-
"#C14C32",
|
|
9
|
-
"#80003A",
|
|
10
|
-
"#506432",
|
|
11
|
-
"#B30019",
|
|
12
|
-
"#EC410B",
|
|
13
|
-
"#8CB5B5",
|
|
14
|
-
"#6C3400",
|
|
15
|
-
"#FFA400",
|
|
16
|
-
"#41222A",
|
|
17
|
-
"#FFB27B",
|
|
18
|
-
"#BC7576"
|
|
19
|
-
], d = () => {
|
|
20
|
-
const e = Math.floor(Math.random() * l.length);
|
|
21
|
-
return l[e];
|
|
22
|
-
}, B = (e, o, i, g) => {
|
|
23
|
-
const c = i ?? d(), t = document.createElement("canvas");
|
|
24
|
-
t.style.background = c, t.width = o, t.height = o;
|
|
25
|
-
const n = t.getContext("2d");
|
|
26
|
-
if (n) {
|
|
27
|
-
const s = "Poppins", a = "600", r = "#fff";
|
|
28
|
-
n.font = `${a} 48px/48px ${s}`, n.textAlign = "center", n.textBaseline = "middle";
|
|
29
|
-
const f = t.width / 2, h = (t.height + 8) / 2;
|
|
30
|
-
n.fillStyle = c, n.fillRect(0, 0, t.width, t.height), n.fillStyle = r, n.fillText(e, f, h);
|
|
31
|
-
}
|
|
32
|
-
return t;
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
d as a,
|
|
36
|
-
B as g
|
|
37
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(o,C){"use strict";return{execute:function(){const c=["#57291F","#C0413B","#D77B5F","#FF9200","#C87505","#F18E3F","#C14C32","#80003A","#506432","#B30019","#EC410B","#8CB5B5","#6C3400","#FFA400","#41222A","#FFB27B","#BC7576"],s=o("a",()=>{const e=Math.floor(Math.random()*c.length);return c[e]}),B=o("g",(e,i,r,u)=>{const l=r??s(),t=document.createElement("canvas");t.style.background=l,t.width=i,t.height=i;const n=t.getContext("2d");if(n){const f="Poppins",a="600",h="#fff";n.font=`${a} 48px/48px ${f}`,n.textAlign="center",n.textBaseline="middle";const d=t.width/2,g=(t.height+8)/2;n.fillStyle=l,n.fillRect(0,0,t.width,t.height),n.fillStyle=h,n.fillText(e,d,g)}return t})}}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(u,i){"use strict";return{execute:function(){u("m",c);function c(t,n){const r={...n};for(const e in t)r[e]=t[e]??n[e];return r}}}});
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
const p = (t, e) => e.split(".").reduce((n, o) => n ? n[o] : void 0, t), y = (t, e, n) => {
|
|
2
|
-
const o = e.split("."), s = o.pop(), r = o.reduce((c, l) => c[l] = c[l] || {}, t);
|
|
3
|
-
s && (r[s] = n);
|
|
4
|
-
}, f = (t, e) => {
|
|
5
|
-
if (t === e) return !0;
|
|
6
|
-
if (t && e && typeof t == "object" && typeof e == "object") {
|
|
7
|
-
const n = Array.isArray(t), o = Array.isArray(e);
|
|
8
|
-
if (n && o) {
|
|
9
|
-
if (t.length !== e.length) return !1;
|
|
10
|
-
for (let r = 0; r < t.length; r++)
|
|
11
|
-
if (!f(t[r], e[r])) return !1;
|
|
12
|
-
return !0;
|
|
13
|
-
}
|
|
14
|
-
if (n !== o) return !1;
|
|
15
|
-
if (t instanceof Date && e instanceof Date)
|
|
16
|
-
return t.getTime() === e.getTime();
|
|
17
|
-
if (t instanceof RegExp && e instanceof RegExp)
|
|
18
|
-
return t.toString() === e.toString();
|
|
19
|
-
const s = Object.keys(t);
|
|
20
|
-
if (s.length !== Object.keys(e).length) return !1;
|
|
21
|
-
for (const r of s)
|
|
22
|
-
if (!Object.prototype.hasOwnProperty.call(e, r) || !f(t[r], e[r])) return !1;
|
|
23
|
-
return !0;
|
|
24
|
-
}
|
|
25
|
-
return t !== t && e !== e;
|
|
26
|
-
}, i = (t, e, n) => f(t, e), a = (t, e) => {
|
|
27
|
-
if (t != null && (e != null && e.length)) {
|
|
28
|
-
for (const n of e)
|
|
29
|
-
if (i(t, n)) return !0;
|
|
30
|
-
}
|
|
31
|
-
return !1;
|
|
32
|
-
}, u = (t, e) => {
|
|
33
|
-
if (typeof t != "object" || t === null)
|
|
34
|
-
return e;
|
|
35
|
-
if (typeof e != "object" || e === null)
|
|
36
|
-
return t;
|
|
37
|
-
const n = { ...t };
|
|
38
|
-
for (const o in e)
|
|
39
|
-
if (Object.prototype.hasOwnProperty.call(e, o)) {
|
|
40
|
-
const s = t[o], r = e[o];
|
|
41
|
-
typeof s == "object" && s !== null && typeof r == "object" && r !== null ? n[o] = u(s, r) : n[o] = r;
|
|
42
|
-
}
|
|
43
|
-
return n;
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
a as c,
|
|
47
|
-
u as d,
|
|
48
|
-
i as e,
|
|
49
|
-
p as g,
|
|
50
|
-
y as s
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(s,p){"use strict";return{execute:function(){const a=s("g",(t,e)=>e.split(".").reduce((r,o)=>r?r[o]:void 0,t)),g=s("s",(t,e,r)=>{const o=e.split("."),f=o.pop(),n=o.reduce((u,i)=>u[i]=u[i]||{},t);f&&(n[f]=r)}),c=(t,e)=>{if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){const r=Array.isArray(t),o=Array.isArray(e);if(r&&o){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(!c(t[n],e[n]))return!1;return!0}if(r!==o)return!1;if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(t instanceof RegExp&&e instanceof RegExp)return t.toString()===e.toString();const f=Object.keys(t);if(f.length!==Object.keys(e).length)return!1;for(const n of f)if(!Object.prototype.hasOwnProperty.call(e,n)||!c(t[n],e[n]))return!1;return!0}return t!==t&&e!==e},l=s("e",(t,e,r)=>c(t,e)),d=s("c",(t,e)=>{if(t!=null&&(e!=null&&e.length)){for(const r of e)if(l(t,r))return!0}return!1}),y=s("d",(t,e)=>{if(typeof t!="object"||t===null)return e;if(typeof e!="object"||e===null)return t;const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const f=t[o],n=e[o];typeof f=="object"&&f!==null&&typeof n=="object"&&n!==null?r[o]=y(f,n):r[o]=n}return r})}}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["../vendor/@popperjs/core-DFLwc7xU.system.js"],function(i,p){"use strict";var c;return{setters:[a=>{c=a.m}],execute:function(){i("o",v);function a(n){var t=new Map,e=new Set,s=[];n.forEach(function(r){t.set(r.name,r)});function u(r){e.add(r.name);var h=[].concat(r.requires||[],r.requiresIfExists||[]);h.forEach(function(o){if(!e.has(o)){var f=t.get(o);f&&u(f)}}),s.push(r)}return n.forEach(function(r){e.has(r.name)||u(r)}),s}function v(n){var t=a(n);return c.reduce(function(e,s){return e.concat(t.filter(function(u){return u.phase===s}))},[])}}}});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { m as f } from "../vendor/@popperjs/core-DJHUrK4e.es.js";
|
|
2
|
-
function i(e) {
|
|
3
|
-
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), a = [];
|
|
4
|
-
e.forEach(function(r) {
|
|
5
|
-
t.set(r.name, r);
|
|
6
|
-
});
|
|
7
|
-
function s(r) {
|
|
8
|
-
n.add(r.name);
|
|
9
|
-
var c = [].concat(r.requires || [], r.requiresIfExists || []);
|
|
10
|
-
c.forEach(function(u) {
|
|
11
|
-
if (!n.has(u)) {
|
|
12
|
-
var o = t.get(u);
|
|
13
|
-
o && s(o);
|
|
14
|
-
}
|
|
15
|
-
}), a.push(r);
|
|
16
|
-
}
|
|
17
|
-
return e.forEach(function(r) {
|
|
18
|
-
n.has(r.name) || s(r);
|
|
19
|
-
}), a;
|
|
20
|
-
}
|
|
21
|
-
function v(e) {
|
|
22
|
-
var t = i(e);
|
|
23
|
-
return f.reduce(function(n, a) {
|
|
24
|
-
return n.concat(t.filter(function(s) {
|
|
25
|
-
return s.phase === a;
|
|
26
|
-
}));
|
|
27
|
-
}, []);
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
v as o
|
|
31
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { navigateToUrl as n } from "single-spa";
|
|
2
|
-
const o = (t) => {
|
|
3
|
-
const { transactionRoles: e } = JSON.parse(
|
|
4
|
-
localStorage.getItem("user") ?? "{}"
|
|
5
|
-
);
|
|
6
|
-
return (e == null ? void 0 : e[t]) ?? {
|
|
7
|
-
monitoringReport: !1,
|
|
8
|
-
manager: !1,
|
|
9
|
-
staff: !1,
|
|
10
|
-
approver: !1
|
|
11
|
-
};
|
|
12
|
-
}, c = (t) => {
|
|
13
|
-
const { systemRoles: e } = JSON.parse(
|
|
14
|
-
localStorage.getItem("user") ?? "{}"
|
|
15
|
-
);
|
|
16
|
-
return (e == null ? void 0 : e[t]) ?? {
|
|
17
|
-
create: !1,
|
|
18
|
-
view: !1,
|
|
19
|
-
update: !1,
|
|
20
|
-
delete: !1
|
|
21
|
-
};
|
|
22
|
-
}, i = (t) => c(t).view, g = (t) => {
|
|
23
|
-
const { manager: e, staff: s, monitoringReport: a } = o(t);
|
|
24
|
-
return e || s || a;
|
|
25
|
-
}, f = (t) => {
|
|
26
|
-
const { manager: e } = o(t);
|
|
27
|
-
return e;
|
|
28
|
-
}, m = () => {
|
|
29
|
-
const { transactionRoles: t } = JSON.parse(
|
|
30
|
-
localStorage.getItem("user") ?? "{}"
|
|
31
|
-
);
|
|
32
|
-
return Object.entries(t).some(([, e]) => e.manager);
|
|
33
|
-
}, p = () => {
|
|
34
|
-
const { transactionRoles: t } = JSON.parse(
|
|
35
|
-
localStorage.getItem("user") ?? "{}"
|
|
36
|
-
);
|
|
37
|
-
return Object.entries(t).some(
|
|
38
|
-
([, e]) => e.monitoringReport
|
|
39
|
-
);
|
|
40
|
-
}, u = (t) => {
|
|
41
|
-
const { staff: e } = o(t);
|
|
42
|
-
return e;
|
|
43
|
-
}, R = (t) => {
|
|
44
|
-
const { monitoringReport: e } = o(t);
|
|
45
|
-
return e;
|
|
46
|
-
}, h = (t) => {
|
|
47
|
-
const { approver: e } = o(t);
|
|
48
|
-
return e;
|
|
49
|
-
}, S = (t, e, s) => {
|
|
50
|
-
const { userType: a } = JSON.parse(
|
|
51
|
-
localStorage.getItem("user") ?? "{}"
|
|
52
|
-
), { hasAccess: r } = t.meta;
|
|
53
|
-
(a === "Admin" || t.path.includes("handover-confirmation")) && r ? s() : n("/not-found");
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
c as a,
|
|
57
|
-
g as b,
|
|
58
|
-
f as c,
|
|
59
|
-
m as d,
|
|
60
|
-
p as e,
|
|
61
|
-
u as f,
|
|
62
|
-
o as g,
|
|
63
|
-
i as h,
|
|
64
|
-
R as i,
|
|
65
|
-
h as j,
|
|
66
|
-
S as k
|
|
67
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["single-spa"],function(n,i){"use strict";var s;return{setters:[o=>{s=o.navigateToUrl}],execute:function(){const o=n("g",t=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return(e==null?void 0:e[t])??{monitoringReport:!1,manager:!1,staff:!1,approver:!1}}),c=n("a",t=>{const{systemRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return(e==null?void 0:e[t])??{create:!1,view:!1,update:!1,delete:!1}}),g=n("h",t=>c(t).view),u=n("b",t=>{const{manager:e,staff:a,monitoringReport:r}=o(t);return e||a||r}),f=n("c",t=>{const{manager:e}=o(t);return e}),m=n("d",()=>{const{transactionRoles:t}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(t).some(([,e])=>e.manager)}),R=n("e",()=>{const{transactionRoles:t}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(t).some(([,e])=>e.monitoringReport)}),S=n("f",t=>{const{staff:e}=o(t);return e}),h=n("i",t=>{const{monitoringReport:e}=o(t);return e}),p=n("j",t=>{const{approver:e}=o(t);return e}),v=n("k",(t,e,a)=>{const{userType:r}=JSON.parse(localStorage.getItem("user")??"{}"),{hasAccess:l}=t.meta;(r==="Admin"||t.path.includes("handover-confirmation"))&&l?a():s("/not-found")})}}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],function(r,l){"use strict";return{execute:function(){const d=r("f",t=>{if(!t)return"-";if(t.length<=8)return t;const e=t.split(" ");if(e.length===1)return`${e[0].slice(0,8)}..`;const s=e.slice(0,-1).join(" "),n=s.length>8?`${s.slice(0,8)}..`:s,o=e[e.length-1];return`${n} ${o.slice(0,1)}`}),f=r("a",t=>{if(!t)return"";const e=["a","e","i","o","h"],s=["a","e","i","o","u"],n=t.toLowerCase(),o=n[0],i=e.includes(o);if(o==="h"){const c=["hour","honest","heir","honor"].some(u=>n.includes(u));return!s.includes(n.slice(2,3))&&!c?`a ${t}`:`an ${t}`}return i||o==="u"&&!e.includes(n.slice(2,3))?`an ${t}`:`a ${t}`})}}});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const l = (t) => {
|
|
2
|
-
if (!t) return "-";
|
|
3
|
-
if (t.length <= 8) return t;
|
|
4
|
-
const s = t.split(" ");
|
|
5
|
-
if (s.length === 1)
|
|
6
|
-
return `${s[0].slice(0, 8)}..`;
|
|
7
|
-
const o = s.slice(0, -1).join(" "), n = o.length > 8 ? `${o.slice(0, 8)}..` : o, e = s[s.length - 1];
|
|
8
|
-
return `${n} ${e.slice(0, 1)}`;
|
|
9
|
-
}, d = (t) => {
|
|
10
|
-
if (!t) return "";
|
|
11
|
-
const s = ["a", "e", "i", "o", "h"], o = ["a", "e", "i", "o", "u"], n = t.toLowerCase(), e = n[0], r = s.includes(e);
|
|
12
|
-
if (e === "h") {
|
|
13
|
-
const i = ["hour", "honest", "heir", "honor"].some((c) => n.includes(c));
|
|
14
|
-
return !o.includes(n.slice(2, 3)) && !i ? `a ${t}` : `an ${t}`;
|
|
15
|
-
}
|
|
16
|
-
return r || e === "u" && !s.includes(n.slice(2, 3)) ? `an ${t}` : `a ${t}`;
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
d as a,
|
|
20
|
-
l as f
|
|
21
|
-
};
|