@erpsquad/common 1.11.14 → 1.11.15
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/dist/api-client/index.esm.js +2 -2
- package/dist/chunks/{DynamicDependentField-BwLdGBvh.esm.js → DynamicDependentField-3BIqZuEi.esm.js} +2 -2
- package/dist/chunks/{DynamicDependentField-BwLdGBvh.esm.js.map → DynamicDependentField-3BIqZuEi.esm.js.map} +1 -1
- package/dist/chunks/{DynamicDependentField-ZiLPczW8.js → DynamicDependentField-BNQloFOt.js} +2 -2
- package/dist/chunks/{DynamicDependentField-ZiLPczW8.js.map → DynamicDependentField-BNQloFOt.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-DXfZ8sB6.esm.js → ERPUIProvider-BvdsmytD.esm.js} +3 -3
- package/dist/chunks/{ERPUIProvider-DXfZ8sB6.esm.js.map → ERPUIProvider-BvdsmytD.esm.js.map} +1 -1
- package/dist/chunks/{FORMS-am5yxCdl.js → FORMS-Co5DzR2b.js} +4 -4
- package/dist/chunks/{FORMS-am5yxCdl.js.map → FORMS-Co5DzR2b.js.map} +1 -1
- package/dist/chunks/{FORMS-ZBLy1PtI.esm.js → FORMS-Cq5klFbL.esm.js} +8 -8
- package/dist/chunks/{FORMS-ZBLy1PtI.esm.js.map → FORMS-Cq5klFbL.esm.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample-BSHPmnEV.esm.js → FlexibleReduxExample-BzEsEgg_.esm.js} +4 -4
- package/dist/chunks/{FlexibleReduxExample-BSHPmnEV.esm.js.map → FlexibleReduxExample-BzEsEgg_.esm.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample-CZ2vLTGy.js → FlexibleReduxExample-CcL6mk5n.js} +2 -2
- package/dist/chunks/{FlexibleReduxExample-CZ2vLTGy.js.map → FlexibleReduxExample-CcL6mk5n.js.map} +1 -1
- package/dist/chunks/SectionFlowEditor-DEbWSklc.esm.js +5479 -0
- package/dist/chunks/SectionFlowEditor-DEbWSklc.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-DagOI5vV.js +5478 -0
- package/dist/chunks/SectionFlowEditor-DagOI5vV.js.map +1 -0
- package/dist/chunks/{action-bar-DZUhKVMM.esm.js → action-bar-CBNUSFDM.esm.js} +6 -6
- package/dist/chunks/{action-bar-DZUhKVMM.esm.js.map → action-bar-CBNUSFDM.esm.js.map} +1 -1
- package/dist/chunks/{action-bar-Chzs2wrL.js → action-bar-CkKLB98R.js} +3 -3
- package/dist/chunks/{action-bar-Chzs2wrL.js.map → action-bar-CkKLB98R.js.map} +1 -1
- package/dist/chunks/{actionCreator-Cvdfd9rk.esm.js → actionCreator-BeyzfogA.esm.js} +2 -2
- package/dist/chunks/{actionCreator-Cvdfd9rk.esm.js.map → actionCreator-BeyzfogA.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-zPFtOF5Q.esm.js → actionCreator-D3Ywxqko.esm.js} +2 -2
- package/dist/chunks/{actionCreator-zPFtOF5Q.esm.js.map → actionCreator-D3Ywxqko.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-4xU0-Q45.esm.js → actionCreator-D9o1yF_V.esm.js} +3 -3
- package/dist/chunks/{actionCreator-4xU0-Q45.esm.js.map → actionCreator-D9o1yF_V.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-CbYMftlq.esm.js → actionCreator-DGxoyGyk.esm.js} +3 -3
- package/dist/chunks/{actionCreator-CbYMftlq.esm.js.map → actionCreator-DGxoyGyk.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-BS4wKtzs.esm.js → actionCreator-upsoTf3q.esm.js} +2 -2
- package/dist/chunks/{actionCreator-BS4wKtzs.esm.js.map → actionCreator-upsoTf3q.esm.js.map} +1 -1
- package/dist/chunks/add-template-BCxn7OXM.esm.js +11 -0
- package/dist/chunks/add-template-BCxn7OXM.esm.js.map +1 -0
- package/dist/chunks/add-template-Cee6U_4N.js +10 -0
- package/dist/chunks/add-template-Cee6U_4N.js.map +1 -0
- package/dist/chunks/{address-modal-BHMulxKl.esm.js → address-modal-DBuj1ow2.esm.js} +2 -2
- package/dist/chunks/{address-modal-BHMulxKl.esm.js.map → address-modal-DBuj1ow2.esm.js.map} +1 -1
- package/dist/chunks/{address-modal-CLk4mppo.js → address-modal-DfP7AYCO.js} +2 -2
- package/dist/chunks/{address-modal-CLk4mppo.js.map → address-modal-DfP7AYCO.js.map} +1 -1
- package/dist/chunks/{ai-summary-BRGrVUW4.esm.js → ai-summary-mqP0clDC.esm.js} +2 -2
- package/dist/chunks/{ai-summary-BRGrVUW4.esm.js.map → ai-summary-mqP0clDC.esm.js.map} +1 -1
- package/dist/chunks/{api-CWWVUc7a.esm.js → api-C1kYZQ6G.esm.js} +9 -9
- package/dist/chunks/{api-CWWVUc7a.esm.js.map → api-C1kYZQ6G.esm.js.map} +1 -1
- package/dist/chunks/{api-Dx-X9Ldj.esm.js → api-D-Ups140.esm.js} +3 -3
- package/dist/chunks/{api-Dx-X9Ldj.esm.js.map → api-D-Ups140.esm.js.map} +1 -1
- package/dist/chunks/{appbar-7so1JFFV.js → appbar-B5B09cG8.js} +2 -2
- package/dist/chunks/{appbar-7so1JFFV.js.map → appbar-B5B09cG8.js.map} +1 -1
- package/dist/chunks/{appbar-CWQidHXA.esm.js → appbar-DqKmstO3.esm.js} +2 -2
- package/dist/chunks/{appbar-CWQidHXA.esm.js.map → appbar-DqKmstO3.esm.js.map} +1 -1
- package/dist/chunks/{approval-wrapper-BbINW2PS.esm.js → approval-wrapper-B75P0gcQ.esm.js} +2 -2
- package/dist/chunks/{approval-wrapper-BbINW2PS.esm.js.map → approval-wrapper-B75P0gcQ.esm.js.map} +1 -1
- package/dist/chunks/{chat-bot-D2YpccfL.esm.js → chat-bot-DpIhSCKc.esm.js} +2 -2
- package/dist/chunks/{chat-bot-D2YpccfL.esm.js.map → chat-bot-DpIhSCKc.esm.js.map} +1 -1
- package/dist/chunks/common-C5AokA7z.js +368 -0
- package/dist/chunks/common-C5AokA7z.js.map +1 -0
- package/dist/chunks/common-CaomnEjX.esm.js +369 -0
- package/dist/chunks/common-CaomnEjX.esm.js.map +1 -0
- package/dist/chunks/common-utility-DRKuh2H0.js.map +1 -1
- package/dist/chunks/{common-utility-CjDVS-hT.esm.js → common-utility-qSmp2In3.esm.js} +2 -2
- package/dist/chunks/common-utility-qSmp2In3.esm.js.map +1 -0
- package/dist/chunks/company-selection-modal-B7jFVWWs.js.map +1 -1
- package/dist/chunks/company-selection-modal-Dn2L_skh.esm.js.map +1 -1
- package/dist/chunks/{constant-BXPcBhJN.esm.js → constant-Bwg2s_Sn.esm.js} +5 -35
- package/dist/chunks/constant-Bwg2s_Sn.esm.js.map +1 -0
- package/dist/chunks/{constant-BXeJD4Af.js → constant-ZYAN_teD.js} +5 -35
- package/dist/chunks/constant-ZYAN_teD.js.map +1 -0
- package/dist/chunks/{custom-editor-C7z-wQTO.esm.js → custom-editor-CDIvDJ3E.esm.js} +3 -3
- package/dist/chunks/{custom-editor-C7z-wQTO.esm.js.map → custom-editor-CDIvDJ3E.esm.js.map} +1 -1
- package/dist/chunks/{custom-form-D35Wdpli.esm.js → custom-form-Bc3FhNpz.esm.js} +6 -6
- package/dist/chunks/{custom-form-D35Wdpli.esm.js.map → custom-form-Bc3FhNpz.esm.js.map} +1 -1
- package/dist/chunks/{custom-form-taIFQqpi.js → custom-form-CS2SL4Bf.js} +3 -3
- package/dist/chunks/{custom-form-taIFQqpi.js.map → custom-form-CS2SL4Bf.js.map} +1 -1
- package/dist/chunks/{dashboard-DjaJSt0T.esm.js → dashboard-BB35K2FP.esm.js} +3 -3
- package/dist/chunks/{dashboard-DjaJSt0T.esm.js.map → dashboard-BB35K2FP.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-CiFDhaen.js → dashboard-BhnP9p8v.js} +2 -2
- package/dist/chunks/{dashboard-CiFDhaen.js.map → dashboard-BhnP9p8v.js.map} +1 -1
- package/dist/chunks/default-data-6IxhqPTP.esm.js.map +1 -1
- package/dist/chunks/default-data-yreKVx_z.js.map +1 -1
- package/dist/chunks/{dynamic-report-BpLx4dan.esm.js → dynamic-report-DqEqYFwB.esm.js} +4 -4
- package/dist/chunks/{dynamic-report-BpLx4dan.esm.js.map → dynamic-report-DqEqYFwB.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-rows-bcDhQVUH.esm.js → dynamic-rows-aRfOvy43.esm.js} +2 -2
- package/dist/chunks/{dynamic-rows-bcDhQVUH.esm.js.map → dynamic-rows-aRfOvy43.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-text-editor-RulcgEGu.esm.js → dynamic-text-editor-CdnVDWA3.esm.js} +2 -2
- package/dist/chunks/{dynamic-text-editor-RulcgEGu.esm.js.map → dynamic-text-editor-CdnVDWA3.esm.js.map} +1 -1
- package/dist/chunks/{edit-section-modal-DWROaARn.esm.js → edit-section-modal-CKzvbOam.esm.js} +2 -2
- package/dist/chunks/edit-section-modal-CKzvbOam.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-R-TdrVeI.js.map +1 -1
- package/dist/chunks/{filter-4Mw1FICb.esm.js → filter-BVY1nrjv.esm.js} +5 -5
- package/dist/chunks/{filter-4Mw1FICb.esm.js.map → filter-BVY1nrjv.esm.js.map} +1 -1
- package/dist/chunks/{filter-CuXTJGCb.js → filter-BXScmUKA.js} +3 -3
- package/dist/chunks/{filter-CuXTJGCb.js.map → filter-BXScmUKA.js.map} +1 -1
- package/dist/chunks/{footer-DSTT0FgX.esm.js → footer-BEt1R0BF.esm.js} +2 -2
- package/dist/chunks/{footer-DSTT0FgX.esm.js.map → footer-BEt1R0BF.esm.js.map} +1 -1
- package/dist/chunks/{footer-Dl1Ykqxv.js → footer-DJZ4K1n0.js} +2 -2
- package/dist/chunks/{footer-Dl1Ykqxv.js.map → footer-DJZ4K1n0.js.map} +1 -1
- package/dist/chunks/{form-fields-BvDB0wY0.js → form-fields-COjlUd_z.js} +3 -3
- package/dist/chunks/{form-fields-BvDB0wY0.js.map → form-fields-COjlUd_z.js.map} +1 -1
- package/dist/chunks/{form-fields-Ci4OvmUu.esm.js → form-fields-CwtBhyBW.esm.js} +3 -3
- package/dist/chunks/{form-fields-Ci4OvmUu.esm.js.map → form-fields-CwtBhyBW.esm.js.map} +1 -1
- package/dist/chunks/{form-parser-DS2hGFOW.js → form-parser-09IqF2B8.js} +2 -2
- package/dist/chunks/{form-parser-DS2hGFOW.js.map → form-parser-09IqF2B8.js.map} +1 -1
- package/dist/chunks/{form-parser-DcPAoaI6.esm.js → form-parser-DS9jYKXb.esm.js} +2 -2
- package/dist/chunks/{form-parser-DcPAoaI6.esm.js.map → form-parser-DS9jYKXb.esm.js.map} +1 -1
- package/dist/chunks/{form-section-CH3nvoyy.js → form-section-94yk-i7O.js} +6 -6
- package/dist/chunks/{form-section-CH3nvoyy.js.map → form-section-94yk-i7O.js.map} +1 -1
- package/dist/chunks/{form-section-DayjB4au.esm.js → form-section-Ce7gW7nw.esm.js} +6 -6
- package/dist/chunks/{form-section-DayjB4au.esm.js.map → form-section-Ce7gW7nw.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-qdL0hjMe.esm.js → fullScreen-BGLa_jyN.esm.js} +3 -3
- package/dist/chunks/{fullScreen-qdL0hjMe.esm.js.map → fullScreen-BGLa_jyN.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-DBPnd6AA.js → fullScreen-CeM0jO6X.js} +2 -2
- package/dist/chunks/{fullScreen-DBPnd6AA.js.map → fullScreen-CeM0jO6X.js.map} +1 -1
- package/dist/chunks/{global-search-CfMsZ-6E.esm.js → global-search-Da6V1hCw.esm.js} +2 -2
- package/dist/chunks/{global-search-CfMsZ-6E.esm.js.map → global-search-Da6V1hCw.esm.js.map} +1 -1
- package/dist/chunks/{grid-view-Wj0cWJhW.esm.js → grid-view-BFr24B5L.esm.js} +2 -2
- package/dist/chunks/{grid-view-Wj0cWJhW.esm.js.map → grid-view-BFr24B5L.esm.js.map} +1 -1
- package/dist/chunks/{header-GKYuNyw-.js → header-Crrg21ks.js} +2 -2
- package/dist/chunks/{header-GKYuNyw-.js.map → header-Crrg21ks.js.map} +1 -1
- package/dist/chunks/{header-DAP2CthE.esm.js → header-aasqgICS.esm.js} +4 -4
- package/dist/chunks/{header-DAP2CthE.esm.js.map → header-aasqgICS.esm.js.map} +1 -1
- package/dist/chunks/{header-enhanced-Dr4Tc_mF.esm.js → header-enhanced-CSAtP4BI.esm.js} +2 -2
- package/dist/chunks/{header-enhanced-Dr4Tc_mF.esm.js.map → header-enhanced-CSAtP4BI.esm.js.map} +1 -1
- package/dist/chunks/{index-sxk1LkzI.esm.js → index-rN4vc8IA.esm.js} +2 -2
- package/dist/chunks/{index-sxk1LkzI.esm.js.map → index-rN4vc8IA.esm.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-eSq3RRjR.js → inline-edit-fields-BNvosaTN.js} +3 -3
- package/dist/chunks/{inline-edit-fields-eSq3RRjR.js.map → inline-edit-fields-BNvosaTN.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-B1X4Axpt.esm.js → inline-edit-fields-CzTMCbzn.esm.js} +3 -3
- package/dist/chunks/{inline-edit-fields-B1X4Axpt.esm.js.map → inline-edit-fields-CzTMCbzn.esm.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-DERFvWJE.js → inventory-reports-title-bar-BvhyLQ4V.js} +2 -2
- package/dist/chunks/{inventory-reports-title-bar-DERFvWJE.js.map → inventory-reports-title-bar-BvhyLQ4V.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-D8XpVL1k.esm.js → inventory-reports-title-bar-pf_78LUZ.esm.js} +3 -3
- package/dist/chunks/{inventory-reports-title-bar-D8XpVL1k.esm.js.map → inventory-reports-title-bar-pf_78LUZ.esm.js.map} +1 -1
- package/dist/chunks/{item-response-details-DPZKqRug.js → item-response-details-7iAPYOTv.js} +2 -2
- package/dist/chunks/{item-response-details-DPZKqRug.js.map → item-response-details-7iAPYOTv.js.map} +1 -1
- package/dist/chunks/{item-response-details-DOyzieZp.esm.js → item-response-details-CSHehVMS.esm.js} +4 -4
- package/dist/chunks/{item-response-details-DOyzieZp.esm.js.map → item-response-details-CSHehVMS.esm.js.map} +1 -1
- package/dist/chunks/{listing-CLH5aLLT.js → listing-9zOaeEtm.js} +4 -4
- package/dist/chunks/{listing-CLH5aLLT.js.map → listing-9zOaeEtm.js.map} +1 -1
- package/dist/chunks/{listing-TXbvRzUP.esm.js → listing-CPGsuBMA.esm.js} +4 -4
- package/dist/chunks/{listing-TXbvRzUP.esm.js.map → listing-CPGsuBMA.esm.js.map} +1 -1
- package/dist/chunks/{location-select-DzqrknmO.js → location-select-BOYOUv3I.js} +2 -2
- package/dist/chunks/{location-select-DzqrknmO.js.map → location-select-BOYOUv3I.js.map} +1 -1
- package/dist/chunks/{location-select-Bj9aLxV0.esm.js → location-select-Dl7zUTHR.esm.js} +2 -2
- package/dist/chunks/{location-select-Bj9aLxV0.esm.js.map → location-select-Dl7zUTHR.esm.js.map} +1 -1
- package/dist/chunks/{material-editable-table-BKTGb4v1.esm.js → material-editable-table-B8ed5YX6.esm.js} +3 -3
- package/dist/chunks/{material-editable-table-BKTGb4v1.esm.js.map → material-editable-table-B8ed5YX6.esm.js.map} +1 -1
- package/dist/chunks/{material-editable-table-5tndaI0V.js → material-editable-table-Z_wQXpjN.js} +2 -2
- package/dist/chunks/{material-editable-table-5tndaI0V.js.map → material-editable-table-Z_wQXpjN.js.map} +1 -1
- package/dist/chunks/media-BWriA8Un.esm.js +45 -0
- package/dist/chunks/{media-BNHjErng.esm.js.map → media-BWriA8Un.esm.js.map} +1 -1
- package/dist/chunks/media-D5-I9adp.js +44 -0
- package/dist/chunks/media-D5-I9adp.js.map +1 -0
- package/dist/chunks/{module-reducer-BhnljAy1.esm.js → module-reducer-Bxu3--QK.esm.js} +2 -2
- package/dist/chunks/{module-reducer-BhnljAy1.esm.js.map → module-reducer-Bxu3--QK.esm.js.map} +1 -1
- package/dist/chunks/{notification-menu-B7Jh6wmO.esm.js → notification-menu-BNUazD23.esm.js} +3 -3
- package/dist/chunks/{notification-menu-B7Jh6wmO.esm.js.map → notification-menu-BNUazD23.esm.js.map} +1 -1
- package/dist/chunks/{page-action-A9jg4HH1.js → page-action-BvfLbawr.js} +2 -2
- package/dist/chunks/{page-action-A9jg4HH1.js.map → page-action-BvfLbawr.js.map} +1 -1
- package/dist/chunks/{page-action-3kxiffM3.esm.js → page-action-C8VxjK9c.esm.js} +4 -4
- package/dist/chunks/{page-action-3kxiffM3.esm.js.map → page-action-C8VxjK9c.esm.js.map} +1 -1
- package/dist/chunks/{page-navigator-DT5thk7T.esm.js → page-navigator-GoMH0fMw.esm.js} +2 -2
- package/dist/chunks/{page-navigator-DT5thk7T.esm.js.map → page-navigator-GoMH0fMw.esm.js.map} +1 -1
- package/dist/chunks/{page-navigator-D7ZlgvXV.js → page-navigator-SUYJqdnx.js} +2 -2
- package/dist/chunks/{page-navigator-D7ZlgvXV.js.map → page-navigator-SUYJqdnx.js.map} +1 -1
- package/dist/chunks/{page-view-BGFVKE0d.js → page-view-BortZKhR.js} +3 -3
- package/dist/chunks/{page-view-BGFVKE0d.js.map → page-view-BortZKhR.js.map} +1 -1
- package/dist/chunks/{page-view-BS6O37yz.esm.js → page-view-DRQ3PFJ7.esm.js} +3 -3
- package/dist/chunks/{page-view-BS6O37yz.esm.js.map → page-view-DRQ3PFJ7.esm.js.map} +1 -1
- package/dist/chunks/{quick-approval-modal-CAW-x6b5.esm.js → quick-approval-modal-DXAqjdcl.esm.js} +2 -2
- package/dist/chunks/{quick-approval-modal-CAW-x6b5.esm.js.map → quick-approval-modal-DXAqjdcl.esm.js.map} +1 -1
- package/dist/chunks/{reducer-D1pUeHvd.esm.js → reducer-BjHl_KLr.esm.js} +2 -2
- package/dist/chunks/{reducer-D1pUeHvd.esm.js.map → reducer-BjHl_KLr.esm.js.map} +1 -1
- package/dist/chunks/{reducer-wJ-3T9dQ.esm.js → reducer-BkCNzjBL.esm.js} +3 -3
- package/dist/chunks/{reducer-wJ-3T9dQ.esm.js.map → reducer-BkCNzjBL.esm.js.map} +1 -1
- package/dist/chunks/{reducer-B-_XPKUq.esm.js → reducer-CSKSBC88.esm.js} +3 -3
- package/dist/chunks/{reducer-B-_XPKUq.esm.js.map → reducer-CSKSBC88.esm.js.map} +1 -1
- package/dist/chunks/{reducer-SLdyZxfq.esm.js → reducer-CiLCj0Py.esm.js} +2 -2
- package/dist/chunks/{reducer-SLdyZxfq.esm.js.map → reducer-CiLCj0Py.esm.js.map} +1 -1
- package/dist/chunks/{reducer-B-ehhPul.esm.js → reducer-L9HIXcI1.esm.js} +2 -2
- package/dist/chunks/{reducer-B-ehhPul.esm.js.map → reducer-L9HIXcI1.esm.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-Dd9esqeX.esm.js → reports-title-bar-BJ7NkV9U.esm.js} +4 -4
- package/dist/chunks/{reports-title-bar-Dd9esqeX.esm.js.map → reports-title-bar-BJ7NkV9U.esm.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-BORLcY1u.js → reports-title-bar-CdO0ixSd.js} +2 -2
- package/dist/chunks/{reports-title-bar-BORLcY1u.js.map → reports-title-bar-CdO0ixSd.js.map} +1 -1
- package/dist/chunks/{route-page-map-Dx7Hv4ob.esm.js → route-page-map-DkWoisiB.esm.js} +2 -2
- package/dist/chunks/{route-page-map-Dx7Hv4ob.esm.js.map → route-page-map-DkWoisiB.esm.js.map} +1 -1
- package/dist/chunks/{route-page-map-BQuAxbji.js → route-page-map-Dn-SAbdf.js} +2 -2
- package/dist/chunks/{route-page-map-BQuAxbji.js.map → route-page-map-Dn-SAbdf.js.map} +1 -1
- package/dist/chunks/{routes-CT2ZJyoM.js → routes-CFCfCWmQ.js} +4 -4
- package/dist/chunks/{routes-CT2ZJyoM.js.map → routes-CFCfCWmQ.js.map} +1 -1
- package/dist/chunks/{routes-BxjZuAM7.esm.js → routes-CIaAl7t8.esm.js} +4 -4
- package/dist/chunks/{routes-BxjZuAM7.esm.js.map → routes-CIaAl7t8.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-C_CnIly0.js → schedule-report-BP_lF8CG.js} +4 -4
- package/dist/chunks/{schedule-report-C_CnIly0.js.map → schedule-report-BP_lF8CG.js.map} +1 -1
- package/dist/chunks/{schedule-report-DuV2sMAA.esm.js → schedule-report-Buvq9E-k.esm.js} +6 -6
- package/dist/chunks/{schedule-report-DuV2sMAA.esm.js.map → schedule-report-Buvq9E-k.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-9Sww9CMi.js → schedule-report-modal-COImNOlJ.js} +2 -2
- package/dist/chunks/{schedule-report-modal-9Sww9CMi.js.map → schedule-report-modal-COImNOlJ.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-D46FqbKz.esm.js → schedule-report-modal-CvfPn4bO.esm.js} +3 -3
- package/dist/chunks/{schedule-report-modal-D46FqbKz.esm.js.map → schedule-report-modal-CvfPn4bO.esm.js.map} +1 -1
- package/dist/chunks/{searchable-select-UrarL3yl.esm.js → searchable-select-Bu17d6NI.esm.js} +6 -6
- package/dist/chunks/{searchable-select-UrarL3yl.esm.js.map → searchable-select-Bu17d6NI.esm.js.map} +1 -1
- package/dist/chunks/{searchable-select-CK7NDlC_.js → searchable-select-DWAOdcXD.js} +2 -2
- package/dist/chunks/{searchable-select-CK7NDlC_.js.map → searchable-select-DWAOdcXD.js.map} +1 -1
- package/dist/chunks/{share-modal-DQNABE5p.js → share-modal-C27qwY53.js} +2 -2
- package/dist/chunks/{share-modal-DQNABE5p.js.map → share-modal-C27qwY53.js.map} +1 -1
- package/dist/chunks/{share-modal-BbcQPTCp.esm.js → share-modal-e1Ln_EkF.esm.js} +3 -3
- package/dist/chunks/{share-modal-BbcQPTCp.esm.js.map → share-modal-e1Ln_EkF.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-CSK7xB98.js → share-modal-enhanced-AISjjeWC.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-CSK7xB98.js.map → share-modal-enhanced-AISjjeWC.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-BG_REa0g.esm.js → share-modal-enhanced-De3P9VK_.esm.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-BG_REa0g.esm.js.map → share-modal-enhanced-De3P9VK_.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CDJYW58B.esm.js → sidebarScreen-DrXQgFfD.esm.js} +4 -4
- package/dist/chunks/{sidebarScreen-CDJYW58B.esm.js.map → sidebarScreen-DrXQgFfD.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CL8b4ZKO.js → sidebarScreen-fc0K8AIc.js} +2 -2
- package/dist/chunks/{sidebarScreen-CL8b4ZKO.js.map → sidebarScreen-fc0K8AIc.js.map} +1 -1
- package/dist/chunks/{store-Btf42rjc.esm.js → store-Fe4VwbF_.esm.js} +6 -6
- package/dist/chunks/{store-Btf42rjc.esm.js.map → store-Fe4VwbF_.esm.js.map} +1 -1
- package/dist/chunks/{table-3Rtk7bfw.esm.js → table-Co5_7CEc.esm.js} +3 -3
- package/dist/chunks/{table-3Rtk7bfw.esm.js.map → table-Co5_7CEc.esm.js.map} +1 -1
- package/dist/chunks/{table-form-Cj09aAhr.esm.js → table-form-CL8axzXB.esm.js} +2 -2
- package/dist/chunks/{table-form-Cj09aAhr.esm.js.map → table-form-CL8axzXB.esm.js.map} +1 -1
- package/dist/chunks/{table-JLBLtl-l.js → table-pSQQBEqC.js} +2 -2
- package/dist/chunks/{table-JLBLtl-l.js.map → table-pSQQBEqC.js.map} +1 -1
- package/dist/chunks/{template-editor-router-DSM9raJw.js → template-editor-router-BZbxO3bj.js} +2 -2
- package/dist/chunks/{template-editor-router-DSM9raJw.js.map → template-editor-router-BZbxO3bj.js.map} +1 -1
- package/dist/chunks/{template-editor-router-DQXyZXcp.esm.js → template-editor-router-DkSQldFD.esm.js} +2 -2
- package/dist/chunks/{template-editor-router-DQXyZXcp.esm.js.map → template-editor-router-DkSQldFD.esm.js.map} +1 -1
- package/dist/chunks/{template-modal-D3Y04F74.js → template-modal-CtcB5ZXg.js} +4 -5
- package/dist/chunks/template-modal-CtcB5ZXg.js.map +1 -0
- package/dist/chunks/{template-modal-CK2xKQKB.esm.js → template-modal-GAKNz6Ju.esm.js} +6 -7
- package/dist/chunks/template-modal-GAKNz6Ju.esm.js.map +1 -0
- package/dist/chunks/{template-name-modal-26pzkeXv.esm.js → template-name-modal-CLROXhxo.esm.js} +5 -12
- package/dist/chunks/template-name-modal-CLROXhxo.esm.js.map +1 -0
- package/dist/chunks/{template-name-modal-DRs3R4iy.js → template-name-modal-CeqxIE2r.js} +5 -12
- package/dist/chunks/template-name-modal-CeqxIE2r.js.map +1 -0
- package/dist/chunks/{templates-Df3djbmI.esm.js → templates-BWZsKOkq.esm.js} +9 -9
- package/dist/chunks/templates-BWZsKOkq.esm.js.map +1 -0
- package/dist/chunks/{templates-CpxORHHg.js → templates-CWeYr33-.js} +6 -6
- package/dist/chunks/templates-CWeYr33-.js.map +1 -0
- package/dist/chunks/{text-measurement-Bvw_viaS.esm.js → text-measurement-BDjRfcdG.esm.js} +2 -2
- package/dist/chunks/{text-measurement-Bvw_viaS.esm.js.map → text-measurement-BDjRfcdG.esm.js.map} +1 -1
- package/dist/chunks/{translations-DYY2KK4N.esm.js → translations-AfCWpvAq.esm.js} +3 -3
- package/dist/chunks/{translations-DYY2KK4N.esm.js.map → translations-AfCWpvAq.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-Cor3MpzB.esm.js → uom-field-wrapper-Ci2KCrFu.esm.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-Cor3MpzB.esm.js.map → uom-field-wrapper-Ci2KCrFu.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-Cz7QX2a_.js → uom-field-wrapper-qe_kL90T.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-Cz7QX2a_.js.map → uom-field-wrapper-qe_kL90T.js.map} +1 -1
- package/dist/chunks/{upload-excel-HPdSmJQk.esm.js → upload-excel-BgU9rR6Y.esm.js} +2 -2
- package/dist/chunks/{upload-excel-HPdSmJQk.esm.js.map → upload-excel-BgU9rR6Y.esm.js.map} +1 -1
- package/dist/chunks/upload-media-BE0tktWj.js +522 -0
- package/dist/chunks/upload-media-BE0tktWj.js.map +1 -0
- package/dist/chunks/upload-media-OmufgJmq.esm.js +523 -0
- package/dist/chunks/upload-media-OmufgJmq.esm.js.map +1 -0
- package/dist/chunks/{use-translations-DLuZZda6.esm.js → use-translations-lguGhn5S.esm.js} +2 -2
- package/dist/chunks/{use-translations-DLuZZda6.esm.js.map → use-translations-lguGhn5S.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-B-Fl9KZe.esm.js → useAccountSetting-DcGLpWby.esm.js} +2 -2
- package/dist/chunks/{useAccountSetting-B-Fl9KZe.esm.js.map → useAccountSetting-DcGLpWby.esm.js.map} +1 -1
- package/dist/chunks/{useCheckSkuAndName-Bu1OPPqo.esm.js → useCheckSkuAndName-Hd41btzY.esm.js} +2 -2
- package/dist/chunks/{useCheckSkuAndName-Bu1OPPqo.esm.js.map → useCheckSkuAndName-Hd41btzY.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-C5Ijdb41.esm.js → useReduxIntegration-BL_5V7QV.esm.js} +2 -2
- package/dist/chunks/{useReduxIntegration-C5Ijdb41.esm.js.map → useReduxIntegration-BL_5V7QV.esm.js.map} +1 -1
- package/dist/chunks/{useUniquenessCheck-Bq2b6mKm.esm.js → useUniquenessCheck-DmKGritZ.esm.js} +2 -2
- package/dist/chunks/{useUniquenessCheck-Bq2b6mKm.esm.js.map → useUniquenessCheck-DmKGritZ.esm.js.map} +1 -1
- package/dist/chunks/{useVendorAICompare-q5O-KxvE.esm.js → useVendorAICompare-Bw0EuWHc.esm.js} +2 -2
- package/dist/chunks/{useVendorAICompare-q5O-KxvE.esm.js.map → useVendorAICompare-Bw0EuWHc.esm.js.map} +1 -1
- package/dist/chunks/{value-editor-CtTHzN7P.js → value-editor-DBBKG2TA.js} +2 -2
- package/dist/chunks/{value-editor-CtTHzN7P.js.map → value-editor-DBBKG2TA.js.map} +1 -1
- package/dist/chunks/{value-editor-BSTPNizm.esm.js → value-editor-DR1T0F4i.esm.js} +4 -4
- package/dist/chunks/{value-editor-BSTPNizm.esm.js.map → value-editor-DR1T0F4i.esm.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-YK-kEok5.js → vendor-ai-summary-1wlm-nT1.js} +2 -2
- package/dist/chunks/{vendor-ai-summary-YK-kEok5.js.map → vendor-ai-summary-1wlm-nT1.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-DESIWWfy.esm.js → vendor-ai-summary-YcXA_SEB.esm.js} +3 -3
- package/dist/chunks/{vendor-ai-summary-DESIWWfy.esm.js.map → vendor-ai-summary-YcXA_SEB.esm.js.map} +1 -1
- package/dist/components/action-bar/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/address-modal/index.esm.js +1 -1
- package/dist/components/address-modal/index.js +1 -1
- package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/index.esm.js +1 -1
- package/dist/components/appbar/appbar/index.esm.js +1 -1
- package/dist/components/appbar/appbar/index.js +1 -1
- package/dist/components/appbar/index.esm.js +1 -1
- package/dist/components/appbar/index.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/index.esm.js +1 -1
- package/dist/components/chat-bot/index.esm.js +1 -1
- package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
- package/dist/components/custom-forms/FORMS/index.js +1 -1
- package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/index.esm.js +2 -2
- package/dist/components/custom-forms/index.js +1 -1
- package/dist/components/department-add-modal/index.esm.js +1 -1
- package/dist/components/department-add-modal/index.js +1 -1
- package/dist/components/designation-add-modal/index.esm.js +1 -1
- package/dist/components/designation-add-modal/index.js +1 -1
- package/dist/components/editor/custom-editor/index.esm.js +1 -1
- package/dist/components/editor/index.esm.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
- package/dist/components/examples/index.esm.js +1 -1
- package/dist/components/examples/index.js +1 -1
- package/dist/components/filter/components/index.esm.js +1 -1
- package/dist/components/filter/components/index.js +1 -1
- package/dist/components/filter/components/value-editor/index.esm.js +1 -1
- package/dist/components/filter/components/value-editor/index.js +1 -1
- package/dist/components/filter/filter/index.esm.js +1 -1
- package/dist/components/filter/filter/index.js +1 -1
- package/dist/components/filter/index.esm.js +2 -2
- package/dist/components/filter/index.js +2 -2
- package/dist/components/footer/footer/index.esm.js +1 -1
- package/dist/components/footer/footer/index.js +1 -1
- package/dist/components/footer/index.esm.js +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +5 -5
- package/dist/components/form-control/form-builder/form-builder-element/index.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
- package/dist/components/form-control/form-builder/index.esm.js +5 -5
- package/dist/components/form-control/form-builder/index.js +4 -4
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.js +1 -1
- package/dist/components/form-control/form-parser/index.esm.js +2 -2
- package/dist/components/form-control/form-parser/index.js +2 -2
- package/dist/components/form-control/index.esm.js +7 -7
- package/dist/components/form-control/index.js +6 -6
- package/dist/components/header/components/global-search/index.esm.js +1 -1
- package/dist/components/header/components/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/header/index.esm.js +1 -1
- package/dist/components/header/header/index.js +1 -1
- package/dist/components/header/header-enhanced/index.esm.js +1 -1
- package/dist/components/header/index.esm.js +5 -5
- package/dist/components/header/index.js +1 -1
- package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/header/redux/index.esm.js +2 -2
- package/dist/components/header/redux/reducer/index.esm.js +1 -1
- package/dist/components/index.esm.js +38 -38
- package/dist/components/index.js +28 -28
- package/dist/components/inventory-reports-title-bar/index.esm.js +3 -3
- package/dist/components/inventory-reports-title-bar/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/listing/index.esm.js +1 -1
- package/dist/components/listing/index.js +1 -1
- package/dist/components/listing/listing/index.esm.js +1 -1
- package/dist/components/listing/listing/index.js +1 -1
- package/dist/components/location-select/index.esm.js +1 -1
- package/dist/components/location-select/index.js +1 -1
- package/dist/components/material-editable-table/components/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/index.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-editable-table/index.esm.js +2 -2
- package/dist/components/material-editable-table/index.js +2 -2
- package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
- package/dist/components/material-table/components/index.esm.js +1 -1
- package/dist/components/material-table/components/index.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-table/index.esm.js +1 -1
- package/dist/components/material-table/index.js +1 -1
- package/dist/components/material-table/material-table/index.esm.js +1 -1
- package/dist/components/material-table/material-table/index.js +1 -1
- package/dist/components/page-navigator/components/index.esm.js +1 -1
- package/dist/components/page-navigator/components/index.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.js +1 -1
- package/dist/components/page-navigator/index.esm.js +2 -2
- package/dist/components/page-navigator/index.js +2 -2
- package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
- package/dist/components/page-navigator/page-navigator/index.js +1 -1
- package/dist/components/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/index.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/providers/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/index.esm.js +2 -2
- package/dist/components/reports/index.esm.js +2 -2
- package/dist/components/reports-title-bar/index.esm.js +3 -3
- package/dist/components/reports-title-bar/index.js +1 -1
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
- package/dist/components/rfq-response/index.esm.js +1 -1
- package/dist/components/rfq-response/index.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +1 -1
- package/dist/components/schedule-report/index.esm.js +2 -2
- package/dist/components/schedule-report/index.js +2 -2
- package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report/index.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
- package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
- package/dist/components/searchable-select/index.esm.js +1 -1
- package/dist/components/searchable-select/index.js +1 -1
- package/dist/components/share-modal/index.esm.js +4 -4
- package/dist/components/share-modal/index.js +2 -2
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/share-modal/redux/index.esm.js +2 -2
- package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal/index.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
- package/dist/components/team-add-modal/index.esm.js +1 -1
- package/dist/components/team-add-modal/index.js +1 -1
- package/dist/components/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/index.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
- package/dist/components/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-media/index.esm.js +1 -1
- package/dist/components/upload-media/index.js +1 -1
- package/dist/components/upload-media/upload-media/index.esm.js +1 -1
- package/dist/components/upload-media/upload-media/index.js +1 -1
- package/dist/components/vendor-ai-summary/index.esm.js +1 -1
- package/dist/components/vendor-ai-summary/index.js +1 -1
- package/dist/constants/index.esm.js +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/hooks/index.esm.js +6 -6
- package/dist/hooks/use-translations/index.esm.js +1 -1
- package/dist/hooks/useAccountSetting/index.esm.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
- package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
- package/dist/index.esm.js +100 -108
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +72 -80
- package/dist/index.js.map +1 -1
- package/dist/layout/fullScreen/index.esm.js +1 -1
- package/dist/layout/fullScreen/index.js +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/layout/sidebarScreen/index.esm.js +1 -1
- package/dist/layout/sidebarScreen/index.js +1 -1
- package/dist/redux/index.esm.js +3 -3
- package/dist/runtime/index.esm.js +3 -3
- package/dist/runtime/index.esm.js.map +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/src/components/upload-media/image-cropper.d.ts +12 -0
- package/dist/src/components/upload-media/upload-media.d.ts +6 -0
- package/dist/src/views/template-editor/components/EditorCanvas.d.ts +12 -48
- package/dist/src/views/template-editor/components/EditorHeader.d.ts +0 -6
- package/dist/src/views/template-editor/components/EditorSection.d.ts +0 -1
- package/dist/src/views/template-editor/components/SectionFlowEditor.d.ts +3 -2
- package/dist/src/views/template-editor/components/SectionFormatPanel.d.ts +1 -2
- package/dist/src/views/template-editor/components/controllers/TableControls.d.ts +0 -42
- package/dist/src/views/template-editor/components/controllers/TextControls.d.ts +0 -3
- package/dist/src/views/template-editor/types/editor.d.ts +108 -20
- package/dist/src/views/template-editor/utils/common.d.ts +1 -28
- package/dist/src/views/template-editor/utils/constant.d.ts +1 -4
- package/dist/style.css +33 -4619
- package/dist/utils/api/index.esm.js +1 -1
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/utils/common-utility/index.esm.js +1 -1
- package/dist/utils/index.esm.js +8 -8
- package/dist/utils/server/index.esm.js +2 -2
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
- package/dist/views/afterAuth/dashboard/index.js +1 -1
- package/dist/views/afterAuth/index.esm.js +2 -2
- package/dist/views/afterAuth/index.js +2 -2
- package/dist/views/afterAuth/page-view/index.esm.js +1 -1
- package/dist/views/afterAuth/page-view/index.js +1 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1 -1
- package/dist/views/form-builder/custom-form/index.js +1 -1
- package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
- package/dist/views/form-builder/form-fields/index.esm.js +1 -1
- package/dist/views/form-builder/form-fields/index.js +1 -1
- package/dist/views/form-builder/index.esm.js +4 -4
- package/dist/views/form-builder/index.js +2 -2
- package/dist/views/form-builder/redux/index.esm.js +1 -1
- package/dist/views/index.esm.js +37 -45
- package/dist/views/index.esm.js.map +1 -1
- package/dist/views/index.js +31 -39
- package/dist/views/index.js.map +1 -1
- package/dist/views/template-editor/add-template/index.esm.js +1 -1
- package/dist/views/template-editor/add-template/index.js +1 -1
- package/dist/views/template-editor/components/index.esm.js +6 -7
- package/dist/views/template-editor/components/index.esm.js.map +1 -1
- package/dist/views/template-editor/components/index.js +3 -4
- package/dist/views/template-editor/components/index.js.map +1 -1
- package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
- package/dist/views/template-editor/index.esm.js +20 -28
- package/dist/views/template-editor/index.esm.js.map +1 -1
- package/dist/views/template-editor/index.js +11 -19
- package/dist/views/template-editor/index.js.map +1 -1
- package/dist/views/template-editor/routes/index.esm.js +1 -1
- package/dist/views/template-editor/routes/index.js +1 -1
- package/dist/views/template-editor/template-modal/index.esm.js +1 -1
- package/dist/views/template-editor/template-modal/index.js +1 -1
- package/dist/views/template-editor/template-name-modal/index.esm.js +1 -1
- package/dist/views/template-editor/template-name-modal/index.js +1 -1
- package/dist/views/template-editor/templates/index.esm.js +1 -1
- package/dist/views/template-editor/templates/index.js +1 -1
- package/dist/views/template-editor/utils/index.esm.js +6 -13
- package/dist/views/template-editor/utils/index.js +2 -9
- package/dist/views/template-editor/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/EditorSection-64HiL7gY.js +0 -848
- package/dist/chunks/EditorSection-64HiL7gY.js.map +0 -1
- package/dist/chunks/EditorSection-BXLlzUSL.esm.js +0 -849
- package/dist/chunks/EditorSection-BXLlzUSL.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-0p4pKU_R.esm.js +0 -13132
- package/dist/chunks/SectionFlowEditor-0p4pKU_R.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-BvJgo0VH.js +0 -13131
- package/dist/chunks/SectionFlowEditor-BvJgo0VH.js.map +0 -1
- package/dist/chunks/add-template-BEXBctrZ.js +0 -10
- package/dist/chunks/add-template-BEXBctrZ.js.map +0 -1
- package/dist/chunks/add-template-KR3uQtQn.esm.js +0 -11
- package/dist/chunks/add-template-KR3uQtQn.esm.js.map +0 -1
- package/dist/chunks/common-DAuIvqzb.esm.js +0 -930
- package/dist/chunks/common-DAuIvqzb.esm.js.map +0 -1
- package/dist/chunks/common-bz4AeHEF.js +0 -929
- package/dist/chunks/common-bz4AeHEF.js.map +0 -1
- package/dist/chunks/common-utility-CjDVS-hT.esm.js.map +0 -1
- package/dist/chunks/constant-BXPcBhJN.esm.js.map +0 -1
- package/dist/chunks/constant-BXeJD4Af.js.map +0 -1
- package/dist/chunks/edit-section-modal-DWROaARn.esm.js.map +0 -1
- package/dist/chunks/media-BNHjErng.esm.js +0 -39
- package/dist/chunks/media-CDeMBdV7.js +0 -38
- package/dist/chunks/media-CDeMBdV7.js.map +0 -1
- package/dist/chunks/template-modal-CK2xKQKB.esm.js.map +0 -1
- package/dist/chunks/template-modal-D3Y04F74.js.map +0 -1
- package/dist/chunks/template-name-modal-26pzkeXv.esm.js.map +0 -1
- package/dist/chunks/template-name-modal-DRs3R4iy.js.map +0 -1
- package/dist/chunks/templates-CpxORHHg.js.map +0 -1
- package/dist/chunks/templates-Df3djbmI.esm.js.map +0 -1
- package/dist/chunks/upload-media-Bhiob8pM.js +0 -262
- package/dist/chunks/upload-media-Bhiob8pM.js.map +0 -1
- package/dist/chunks/upload-media-u_D3Fe_j.esm.js +0 -263
- package/dist/chunks/upload-media-u_D3Fe_j.esm.js.map +0 -1
- package/dist/src/views/template-editor/components/EditorCanvas/FreeCanvas.d.ts +0 -52
- package/dist/src/views/template-editor/components/EditorCanvas/FreeElement.d.ts +0 -48
- package/dist/src/views/template-editor/components/stationery/StationeryPreview.d.ts +0 -24
- package/dist/src/views/template-editor/components/stationery/StationerySidebar.d.ts +0 -9
- package/dist/src/views/template-editor/engine/ai.d.ts +0 -12
- package/dist/src/views/template-editor/engine/app.d.ts +0 -1
- package/dist/src/views/template-editor/engine/controls.d.ts +0 -4
- package/dist/src/views/template-editor/engine/design-canvas.d.ts +0 -24
- package/dist/src/views/template-editor/engine/editor.d.ts +0 -17
- package/dist/src/views/template-editor/engine/engine.d.ts +0 -18
- package/dist/src/views/template-editor/engine/icons.d.ts +0 -91
- package/dist/src/views/template-editor/engine/letterpads.d.ts +0 -1
- package/dist/src/views/template-editor/engine/model.d.ts +0 -20
- package/dist/src/views/template-editor/engine/paginator.d.ts +0 -30
- package/dist/src/views/template-editor/engine/picker.d.ts +0 -20
- package/dist/src/views/template-editor/engine/schema.d.ts +0 -647
- package/dist/src/views/template-editor/engine/stationery-app.d.ts +0 -10
- package/dist/src/views/template-editor/engine/stationery-doc.d.ts +0 -62
- package/dist/src/views/template-editor/engine/stationery-free-element.d.ts +0 -22
- package/dist/src/views/template-editor/engine/stationery-store.d.ts +0 -154
- package/dist/src/views/template-editor/engine/templatebuilder.d.ts +0 -51
- package/dist/src/views/template-editor/engine/templates.d.ts +0 -11
- package/dist/src/views/template-editor/icons/custom-styled-icon.d.ts +0 -7
- package/dist/src/views/template-editor/icons/edit.d.ts +0 -4
- package/dist/src/views/template-editor/icons/trash.d.ts +0 -4
- package/dist/src/views/template-editor/types/stationery.d.ts +0 -66
- package/dist/src/views/template-editor/utils/compiler.d.ts +0 -12
- package/dist/src/views/template-editor/utils/section-attrs.d.ts +0 -6
- package/dist/src/views/template-editor/utils/table-inline.d.ts +0 -43
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { styled, Box, IconButton } from "@mui/material";
|
|
3
|
-
import images from "../images/index.esm.js";
|
|
4
|
-
import { B as Button } from "./button-BtdpXmjA.esm.js";
|
|
5
|
-
import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
|
|
6
|
-
import { C as Close } from "./close-RLA63UHs.esm.js";
|
|
7
|
-
import { D as Document } from "./document-Bmf8f-js.esm.js";
|
|
8
|
-
import { D as DocumentPreview } from "./document-preview-CVd96q6J.esm.js";
|
|
9
|
-
import { enqueueSnackbar } from "notistack";
|
|
10
|
-
import { memo, useMemo, useEffect } from "react";
|
|
11
|
-
const UploadMedia = memo((props) => {
|
|
12
|
-
const {
|
|
13
|
-
type,
|
|
14
|
-
label,
|
|
15
|
-
disabled,
|
|
16
|
-
error,
|
|
17
|
-
dataName,
|
|
18
|
-
dataPosition,
|
|
19
|
-
required,
|
|
20
|
-
max_size = 20,
|
|
21
|
-
onChange,
|
|
22
|
-
name,
|
|
23
|
-
value,
|
|
24
|
-
multiple,
|
|
25
|
-
renderPreview,
|
|
26
|
-
...rest
|
|
27
|
-
} = props;
|
|
28
|
-
const VisuallyHiddenInput = styled("input")({
|
|
29
|
-
clip: "rect(0 0 0 0)",
|
|
30
|
-
clipPath: "inset(50%)",
|
|
31
|
-
height: 1,
|
|
32
|
-
overflow: "hidden",
|
|
33
|
-
position: "absolute",
|
|
34
|
-
bottom: 0,
|
|
35
|
-
left: 0,
|
|
36
|
-
whiteSpace: "nowrap",
|
|
37
|
-
width: 1
|
|
38
|
-
});
|
|
39
|
-
const StyledButton = styled(Button)(({ theme: { palette } }) => {
|
|
40
|
-
var _a, _b, _c, _d;
|
|
41
|
-
return {
|
|
42
|
-
marginBottom: 8,
|
|
43
|
-
"&.MuiButton-outlined": {
|
|
44
|
-
color: (_a = palette.theme) == null ? void 0 : _a.primary[1e3]
|
|
45
|
-
},
|
|
46
|
-
"&.Mui-disabled": {
|
|
47
|
-
background: (_b = palette.theme) == null ? void 0 : _b.secondary[200],
|
|
48
|
-
color: (_c = palette.theme) == null ? void 0 : _c.secondary[800],
|
|
49
|
-
borderWidth: "0.0625rem",
|
|
50
|
-
borderStyle: "solid",
|
|
51
|
-
borderColor: (_d = palette.theme) == null ? void 0 : _d.secondary[400]
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
});
|
|
55
|
-
const allowedImageTypes = [
|
|
56
|
-
"image/jpeg",
|
|
57
|
-
// JPG, JPEG
|
|
58
|
-
"image/png",
|
|
59
|
-
// PNG
|
|
60
|
-
"image/gif",
|
|
61
|
-
// GIF
|
|
62
|
-
"image/bmp",
|
|
63
|
-
// BMP
|
|
64
|
-
"image/webp",
|
|
65
|
-
// WebP
|
|
66
|
-
"image/svg+xml",
|
|
67
|
-
// SVG
|
|
68
|
-
"image/tiff",
|
|
69
|
-
// TIFF
|
|
70
|
-
"image/x-icon",
|
|
71
|
-
// ICO (icon files)
|
|
72
|
-
"image/heic",
|
|
73
|
-
// HEIC (High Efficiency Image Format)
|
|
74
|
-
"image/heif"
|
|
75
|
-
];
|
|
76
|
-
const allowedFileTypes = [
|
|
77
|
-
"application/pdf",
|
|
78
|
-
"application/msword",
|
|
79
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
80
|
-
"application/vnd.ms-powerpoint",
|
|
81
|
-
"application/vnd.oasis.opendocument.text",
|
|
82
|
-
"text/csv",
|
|
83
|
-
"text/plain",
|
|
84
|
-
"application/rtf",
|
|
85
|
-
"application/vnd.ms-excel",
|
|
86
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
87
|
-
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
88
|
-
"application/vnd.oasis.opendocument.spreadsheet",
|
|
89
|
-
"application/vnd.oasis.opendocument.presentation",
|
|
90
|
-
"image/jpeg",
|
|
91
|
-
// JPG, JPEG
|
|
92
|
-
"image/png",
|
|
93
|
-
// PNG
|
|
94
|
-
"image/gif",
|
|
95
|
-
// GIF
|
|
96
|
-
"image/bmp",
|
|
97
|
-
// BMP
|
|
98
|
-
"image/webp",
|
|
99
|
-
// WebP
|
|
100
|
-
"image/svg+xml",
|
|
101
|
-
// SVG
|
|
102
|
-
"image/tiff",
|
|
103
|
-
// TIFF
|
|
104
|
-
"image/x-icon",
|
|
105
|
-
// ICO (icon files)
|
|
106
|
-
"image/heic",
|
|
107
|
-
// HEIC (High Efficiency Image Format)
|
|
108
|
-
"image/heif"
|
|
109
|
-
];
|
|
110
|
-
const isValidFileType = (file) => {
|
|
111
|
-
if (type === "image") {
|
|
112
|
-
return allowedImageTypes.includes(file.type);
|
|
113
|
-
} else if (type === "file") {
|
|
114
|
-
return allowedFileTypes.includes(file.type);
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
const handleUpload = (e) => {
|
|
118
|
-
var _a;
|
|
119
|
-
const files = [...e.target.files];
|
|
120
|
-
const filterredFiles = (_a = files.map((file) => {
|
|
121
|
-
if (file && file.size <= max_size * 1024 * 1024) {
|
|
122
|
-
if (isValidFileType(file)) {
|
|
123
|
-
return file;
|
|
124
|
-
} else {
|
|
125
|
-
enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: "error" });
|
|
126
|
-
return null;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
})) == null ? void 0 : _a.filter(Boolean);
|
|
130
|
-
onChange(multiple ? (value == null ? void 0 : value.length) ? [...value, ...filterredFiles] : filterredFiles : filterredFiles[0]);
|
|
131
|
-
};
|
|
132
|
-
const handleRemoveFile = (index) => {
|
|
133
|
-
if (Array.isArray(value)) {
|
|
134
|
-
onChange(value.filter((_, i) => i !== index));
|
|
135
|
-
} else {
|
|
136
|
-
onChange(null);
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
const getFileName = (file) => {
|
|
140
|
-
if (!file) return "";
|
|
141
|
-
if (file instanceof File) {
|
|
142
|
-
return file.name;
|
|
143
|
-
} else if (typeof file === "string") {
|
|
144
|
-
const parts = file == null ? void 0 : file.split("/");
|
|
145
|
-
return parts == null ? void 0 : parts[(parts == null ? void 0 : parts.length) - 1];
|
|
146
|
-
} else if (Array.isArray(file) && (file == null ? void 0 : file.length) > 0) {
|
|
147
|
-
return file.map((f) => {
|
|
148
|
-
const parts = f == null ? void 0 : f.split("/");
|
|
149
|
-
return parts == null ? void 0 : parts[(parts == null ? void 0 : parts.length) - 1];
|
|
150
|
-
}).join(", ");
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
const DefaultPreview = ({ file }) => {
|
|
154
|
-
const { fileUrl, fileName } = useMemo(() => {
|
|
155
|
-
var _a;
|
|
156
|
-
const isFile = ((_a = file == null ? void 0 : file.constructor) == null ? void 0 : _a.name) === "File" || Object.prototype.toString.call(file) === "[object File]";
|
|
157
|
-
return {
|
|
158
|
-
fileUrl: isFile ? URL.createObjectURL(file) : file,
|
|
159
|
-
fileName: isFile ? file.name : void 0
|
|
160
|
-
};
|
|
161
|
-
}, [file]);
|
|
162
|
-
useEffect(() => {
|
|
163
|
-
return () => {
|
|
164
|
-
if (fileUrl == null ? void 0 : fileUrl.startsWith("blob:")) {
|
|
165
|
-
URL.revokeObjectURL(fileUrl);
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
}, [fileUrl]);
|
|
169
|
-
return /* @__PURE__ */ jsx(DocumentPreview, { fileUrl, fileName });
|
|
170
|
-
};
|
|
171
|
-
const renderDefaultPreview = (file) => /* @__PURE__ */ jsx(DefaultPreview, { file });
|
|
172
|
-
const getSelectedFiles = (files) => {
|
|
173
|
-
if (files) {
|
|
174
|
-
if (Array.isArray(files)) {
|
|
175
|
-
return files.map((file, index) => /* @__PURE__ */ jsxs(Box, { display: "flex", gap: 1, mb: 1, alignItems: "center", children: [
|
|
176
|
-
type === "file" && /* @__PURE__ */ jsx(Document, { fontSize: "small" }),
|
|
177
|
-
/* @__PURE__ */ jsx(
|
|
178
|
-
Typography,
|
|
179
|
-
{
|
|
180
|
-
type: "s5",
|
|
181
|
-
weight: "medium",
|
|
182
|
-
color: error ? "theme.error.600" : "theme.secondary.800",
|
|
183
|
-
"data-position": dataPosition,
|
|
184
|
-
"data-name": dataName,
|
|
185
|
-
noWrap: true,
|
|
186
|
-
children: getFileName(file)
|
|
187
|
-
}
|
|
188
|
-
),
|
|
189
|
-
(renderPreview || renderDefaultPreview)(file),
|
|
190
|
-
/* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => handleRemoveFile(index), children: /* @__PURE__ */ jsx(Close, { fontSize: "small" }) })
|
|
191
|
-
] }, file instanceof File ? file.name : file));
|
|
192
|
-
}
|
|
193
|
-
return /* @__PURE__ */ jsxs(Box, { display: "flex", gap: 1, mb: 1, alignItems: "center", children: [
|
|
194
|
-
type === "file" && /* @__PURE__ */ jsx(Document, { fontSize: "small" }),
|
|
195
|
-
/* @__PURE__ */ jsx(
|
|
196
|
-
Typography,
|
|
197
|
-
{
|
|
198
|
-
type: "s5",
|
|
199
|
-
weight: "medium",
|
|
200
|
-
color: error ? "theme.error.600" : "theme.secondary.800",
|
|
201
|
-
"data-position": dataPosition,
|
|
202
|
-
"data-name": dataName,
|
|
203
|
-
noWrap: true,
|
|
204
|
-
children: getFileName(files)
|
|
205
|
-
}
|
|
206
|
-
),
|
|
207
|
-
(renderPreview || renderDefaultPreview)(files),
|
|
208
|
-
/* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => handleRemoveFile(0), children: /* @__PURE__ */ jsx(Close, { fontSize: "small" }) })
|
|
209
|
-
] });
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
213
|
-
/* @__PURE__ */ jsxs(
|
|
214
|
-
Typography,
|
|
215
|
-
{
|
|
216
|
-
type: "s5",
|
|
217
|
-
weight: "medium",
|
|
218
|
-
mb: 0.5,
|
|
219
|
-
color: error ? "theme.error.600" : "theme.secondary.800",
|
|
220
|
-
"data-position": dataPosition,
|
|
221
|
-
"data-name": dataName,
|
|
222
|
-
children: [
|
|
223
|
-
label,
|
|
224
|
-
" ",
|
|
225
|
-
required && " *"
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
),
|
|
229
|
-
/* @__PURE__ */ jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ jsxs(
|
|
230
|
-
StyledButton,
|
|
231
|
-
{
|
|
232
|
-
component: "label",
|
|
233
|
-
startIcon: /* @__PURE__ */ jsx(
|
|
234
|
-
"img",
|
|
235
|
-
{
|
|
236
|
-
src: type === "image" ? images.uploadImage : images.uploadDocument
|
|
237
|
-
}
|
|
238
|
-
),
|
|
239
|
-
variant: "outlined",
|
|
240
|
-
disabled,
|
|
241
|
-
children: [
|
|
242
|
-
/* @__PURE__ */ jsx(Typography, { type: "s5", weight: "medium", color: "theme.secondary.1000", children: "Upload" }),
|
|
243
|
-
/* @__PURE__ */ jsx(
|
|
244
|
-
VisuallyHiddenInput,
|
|
245
|
-
{
|
|
246
|
-
type: "file",
|
|
247
|
-
accept: type === "file" ? allowedFileTypes.join(",") : type === "image" ? allowedImageTypes.join(",") : void 0,
|
|
248
|
-
onChange: handleUpload,
|
|
249
|
-
name,
|
|
250
|
-
multiple,
|
|
251
|
-
...rest
|
|
252
|
-
}
|
|
253
|
-
)
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
) }),
|
|
257
|
-
getSelectedFiles(value)
|
|
258
|
-
] });
|
|
259
|
-
});
|
|
260
|
-
export {
|
|
261
|
-
UploadMedia as U
|
|
262
|
-
};
|
|
263
|
-
//# sourceMappingURL=upload-media-u_D3Fe_j.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload-media-u_D3Fe_j.esm.js","sources":["../../src/components/upload-media/upload-media.tsx"],"sourcesContent":["import { Box, styled, IconButton } from \"@mui/material\";\nimport logo from \"../../assets/images\";\nimport Button from \"../button/button\";\nimport Typography from \"../typography/typography\";\n// import { useEffect, useState } from \"react\";\nimport { Document, Close } from \"../icons\";\nimport DocumentPreview from \"../document-preview/document-preview\";\nimport { enqueueSnackbar } from \"notistack\";\nimport { memo, useMemo, useEffect } from \"react\";\n// import Avatar from \"../avatar/avatar\";\n\nexport interface UploadImageProps {\n type?: string;\n label: string;\n disabled?: boolean;\n error?: boolean;\n dataPosition?: number;\n dataName?: string;\n required?: boolean;\n max_size?: number;\n name: string;\n value: string;\n onChange: (e: any) => any;\n multiple: boolean;\n renderPreview?: (file: any) => React.ReactNode;\n}\nconst UploadMedia = memo((props: UploadImageProps) => {\n const {\n type,\n label,\n disabled,\n error,\n dataName,\n dataPosition,\n required,\n max_size = 20,\n onChange,\n name,\n value,\n multiple,\n renderPreview,\n ...rest\n } = props;\n\n const VisuallyHiddenInput = styled(\"input\")({\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n height: 1,\n overflow: \"hidden\",\n position: \"absolute\",\n bottom: 0,\n left: 0,\n whiteSpace: \"nowrap\",\n width: 1,\n });\n\n // const [selectedFile, setSelectedFile] = useState<string | null>(null);\n const StyledButton = styled(Button)(({ theme: { palette } }) => ({\n marginBottom: 8,\n \"&.MuiButton-outlined\": {\n color: palette.theme?.primary[1000],\n },\n \"&.Mui-disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: palette.theme?.secondary[400],\n },\n }));\n\n const allowedImageTypes = [\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ]\n const allowedFileTypes = [\n \"application/pdf\",\n \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n 'application/vnd.ms-powerpoint',\n 'application/vnd.oasis.opendocument.text',\n 'text/csv',\n 'text/plain',\n 'application/rtf',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n 'application/vnd.oasis.opendocument.spreadsheet',\n 'application/vnd.oasis.opendocument.presentation',\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ];\n\n const isValidFileType = (file: any) => {\n if (type === \"image\") {\n return allowedImageTypes.includes(file.type);\n } else if (type === 'file') {\n return allowedFileTypes.includes(file.type);\n }\n };\n\n\n const handleUpload = (e: any) => {\n const files = [...e.target.files];\n const filterredFiles = files.map(file => {\n if (file && file.size <= max_size * 1024 * 1024) {\n if (isValidFileType(file)) {\n return file\n } else {\n enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: 'error' })\n return null\n }\n }\n })?.filter(Boolean)\n onChange(multiple ? (value?.length ? [...value, ...filterredFiles] : filterredFiles) : filterredFiles[0]);\n };\n\n const handleRemoveFile = (index: number) => {\n if (Array.isArray(value)) {\n onChange(value.filter((_: any, i: number) => i !== index));\n } else {\n onChange(null);\n }\n };\n\n const getFileName = (file) => {\n if (!file) return \"\"\n if (file instanceof File) {\n return file.name\n } else if(typeof file === 'string') { \n const parts = file?.split('/');\n return parts?.[parts?.length - 1];\n } else if(Array.isArray(file) && file?.length > 0) {\n return file.map(f => {\n const parts = f?.split('/');\n return parts?.[parts?.length - 1];\n }).join(', ')\n }\n }\n // const getImagePreview = (file) => {\n // if (!file) return \"\"\n // if (file instanceof File) {\n // let previewUrl:any = ''\n // const reader = new FileReader();\n // reader.onload = () => {\n // previewUrl = reader.result;\n // };\n // reader.readAsDataURL(file);\n\n // return previewUrl\n // } else {\n // return file.includes(S3_BUCKET_URL) ? file : S3_BUCKET_URL + file\n // }\n // }\n\n const DefaultPreview = ({ file }: { file: any }) => {\n const { fileUrl, fileName } = useMemo(() => {\n const isFile = file?.constructor?.name === 'File' || Object.prototype.toString.call(file) === '[object File]';\n return {\n fileUrl: isFile ? URL.createObjectURL(file) : file,\n fileName: isFile ? file.name : undefined,\n };\n }, [file]);\n\n useEffect(() => {\n return () => {\n if (fileUrl?.startsWith('blob:')) {\n URL.revokeObjectURL(fileUrl);\n }\n };\n }, [fileUrl]);\n\n return <DocumentPreview fileUrl={fileUrl} fileName={fileName} />;\n };\n\n const renderDefaultPreview = (file: any) => <DefaultPreview file={file} />;\n\n const getSelectedFiles = (files: any) => {\n\n if (files) {\n if (Array.isArray(files)) {\n return files.map((file, index) => (\n <Box key={file instanceof File ? file.name : file} display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(file)}\n </Typography>\n {(renderPreview || renderDefaultPreview)(file)}\n <IconButton size='small' onClick={() => handleRemoveFile(index)}>\n <Close fontSize='small' />\n </IconButton>\n </Box>\n ));\n }\n return (\n <Box display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(files)}\n </Typography>\n {(renderPreview || renderDefaultPreview)(files)}\n <IconButton size='small' onClick={() => handleRemoveFile(0)}>\n <Close fontSize='small' />\n </IconButton>\n </Box>\n );\n }\n }\n\n // useEffect(() => {\n // if(!multiple) {\n // const parts = value?.split('/');\n // // const documentPath = parts?.slice(3, parts.length - 1).join('/');\n // const filename = parts?.[parts?.length - 1];\n\n \n // if (value) setSelectedFile(filename)\n // }\n // }, [multiple, value])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && \" *\"}\n </Typography>\n <div style={{ display: \"flex\" }}>\n <StyledButton\n component=\"label\"\n startIcon={\n <img\n src={type === \"image\" ? logo.uploadImage : logo.uploadDocument}\n />\n }\n variant=\"outlined\"\n disabled={disabled}\n >\n <Typography type='s5' weight=\"medium\" color=\"theme.secondary.1000\">Upload</Typography>\n <VisuallyHiddenInput\n type=\"file\"\n accept={type === \"file\" ? allowedFileTypes.join(\",\") : (type === 'image' ? allowedImageTypes.join(\",\") : undefined)}\n // required={required}\n onChange={handleUpload}\n name={name}\n multiple={multiple}\n {...rest}\n />\n </StyledButton>\n </div >\n {getSelectedFiles(value)}\n\n </>\n );\n})\n\nexport { UploadMedia };\nexport default UploadMedia;\n"],"names":["logo"],"mappings":"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"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { EnhancedSectionData } from '../../types/editor';
|
|
3
|
-
|
|
4
|
-
interface FreeCanvasProps {
|
|
5
|
-
sections: EnhancedSectionData[];
|
|
6
|
-
selectedId: string | null;
|
|
7
|
-
canvasWidth: number;
|
|
8
|
-
canvasHeight: number;
|
|
9
|
-
onSelectElement: (id: string | null) => void;
|
|
10
|
-
onMove: (id: string, x: number, y: number) => void;
|
|
11
|
-
onResize: (id: string, x: number, y: number, width: number, height: number) => void;
|
|
12
|
-
onRotate: (id: string, rotation: number) => void;
|
|
13
|
-
onDelete: (id: string) => void;
|
|
14
|
-
onUpdate: (id: string, content: string, extra?: any) => void;
|
|
15
|
-
onBringForward: (id: string) => void;
|
|
16
|
-
onSendBackward: (id: string) => void;
|
|
17
|
-
placeholders?: Array<{
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
}>;
|
|
21
|
-
isDraggingFromSidebar?: boolean;
|
|
22
|
-
watermark?: {
|
|
23
|
-
show: boolean;
|
|
24
|
-
opacity: number;
|
|
25
|
-
size: number;
|
|
26
|
-
rotation: number;
|
|
27
|
-
image?: string;
|
|
28
|
-
};
|
|
29
|
-
onMoveToPage?: (id: string, offset: -1 | 1) => void;
|
|
30
|
-
pageIndex?: number;
|
|
31
|
-
totalPages?: number;
|
|
32
|
-
tableFields?: Array<{
|
|
33
|
-
id: string;
|
|
34
|
-
label: string;
|
|
35
|
-
}>;
|
|
36
|
-
onTableChange?: (id: string, prop: Record<string, any>) => void;
|
|
37
|
-
textFieldGroups?: Array<{
|
|
38
|
-
label: string;
|
|
39
|
-
fields: Array<{
|
|
40
|
-
label: string;
|
|
41
|
-
tag: string;
|
|
42
|
-
loop?: boolean;
|
|
43
|
-
}>;
|
|
44
|
-
}>;
|
|
45
|
-
onCellStyleRequest?: (id: string, cell: {
|
|
46
|
-
section: 'thead' | 'tbody';
|
|
47
|
-
row: number;
|
|
48
|
-
col: string | number;
|
|
49
|
-
}) => void;
|
|
50
|
-
}
|
|
51
|
-
declare const FreeCanvas: React.FC<FreeCanvasProps>;
|
|
52
|
-
export default FreeCanvas;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { EnhancedSectionData } from '../../types/editor';
|
|
3
|
-
|
|
4
|
-
interface FreeElementProps {
|
|
5
|
-
element: EnhancedSectionData;
|
|
6
|
-
isSelected: boolean;
|
|
7
|
-
canvasBounds: {
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
};
|
|
11
|
-
onSelect: () => void;
|
|
12
|
-
onMove: (id: string, x: number, y: number) => void;
|
|
13
|
-
onResize: (id: string, x: number, y: number, width: number, height: number) => void;
|
|
14
|
-
onRotate: (id: string, rotation: number) => void;
|
|
15
|
-
onDelete: (id: string) => void;
|
|
16
|
-
onUpdate: (id: string, content: string, extra?: any) => void;
|
|
17
|
-
onBringForward: (id: string) => void;
|
|
18
|
-
onSendBackward: (id: string) => void;
|
|
19
|
-
placeholders?: Array<{
|
|
20
|
-
value: string;
|
|
21
|
-
label: string;
|
|
22
|
-
}>;
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
hideRotate?: boolean;
|
|
25
|
-
onMoveToPage?: (id: string, offset: -1 | 1) => void;
|
|
26
|
-
pageIndex?: number;
|
|
27
|
-
totalPages?: number;
|
|
28
|
-
tableFields?: Array<{
|
|
29
|
-
id: string;
|
|
30
|
-
label: string;
|
|
31
|
-
}>;
|
|
32
|
-
onTableChange?: (id: string, prop: Record<string, any>) => void;
|
|
33
|
-
textFieldGroups?: Array<{
|
|
34
|
-
label: string;
|
|
35
|
-
fields: Array<{
|
|
36
|
-
label: string;
|
|
37
|
-
tag: string;
|
|
38
|
-
loop?: boolean;
|
|
39
|
-
}>;
|
|
40
|
-
}>;
|
|
41
|
-
onCellStyleRequest?: (id: string, cell: {
|
|
42
|
-
section: 'thead' | 'tbody';
|
|
43
|
-
row: number;
|
|
44
|
-
col: string | number;
|
|
45
|
-
}) => void;
|
|
46
|
-
}
|
|
47
|
-
declare const FreeElement: React.FC<FreeElementProps>;
|
|
48
|
-
export default FreeElement;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StationeryConfig, StationeryHeaderConfig, StationeryFooterConfig, StationeryWatermarkConfig } from '../../types/stationery';
|
|
3
|
-
|
|
4
|
-
export declare const StationeryHeader: React.FC<{
|
|
5
|
-
h: StationeryHeaderConfig;
|
|
6
|
-
brand: string;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const StationeryFooter: React.FC<{
|
|
9
|
-
f: StationeryFooterConfig;
|
|
10
|
-
brand: string;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const StationeryWatermark: React.FC<{
|
|
13
|
-
w: StationeryWatermarkConfig;
|
|
14
|
-
logoSrc: string | null;
|
|
15
|
-
}>;
|
|
16
|
-
interface StationeryPreviewProps {
|
|
17
|
-
config: StationeryConfig;
|
|
18
|
-
showSample?: boolean;
|
|
19
|
-
sampleType?: 'quotation' | 'invoice' | 'delivery';
|
|
20
|
-
pages?: number;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
export declare const StationeryPreview: React.FC<StationeryPreviewProps>;
|
|
24
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StationeryConfig } from '../../types/stationery';
|
|
3
|
-
|
|
4
|
-
interface StationerySidebarProps {
|
|
5
|
-
config: StationeryConfig;
|
|
6
|
-
onChange: (newConfig: StationeryConfig) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const StationerySidebar: React.FC<StationerySidebarProps>;
|
|
9
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare function AIPanel({ ctxRef, api, selectedBlock, selectedLabel, onClearSel, resetKey }: {
|
|
2
|
-
ctxRef: any;
|
|
3
|
-
api: any;
|
|
4
|
-
selectedBlock: any;
|
|
5
|
-
selectedLabel: any;
|
|
6
|
-
onClearSel: any;
|
|
7
|
-
resetKey: any;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const PBAI: {
|
|
10
|
-
AIPanel: typeof AIPanel;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare function DesignCanvas({ children, minScale, maxScale, style }: {
|
|
2
|
-
children: any;
|
|
3
|
-
minScale: any;
|
|
4
|
-
maxScale: any;
|
|
5
|
-
style: any;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DCSection({ id, title, subtitle, children, gap }: {
|
|
8
|
-
id: any;
|
|
9
|
-
title: any;
|
|
10
|
-
subtitle: any;
|
|
11
|
-
children: any;
|
|
12
|
-
gap?: number;
|
|
13
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function DCArtboard(): any;
|
|
15
|
-
declare function DCPostIt({ children, top, left, right, bottom, rotate, width }: {
|
|
16
|
-
children: any;
|
|
17
|
-
top: any;
|
|
18
|
-
left: any;
|
|
19
|
-
right: any;
|
|
20
|
-
bottom: any;
|
|
21
|
-
rotate?: number;
|
|
22
|
-
width?: number;
|
|
23
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export { DesignCanvas, DCSection, DCArtboard, DCPostIt };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare function CodeEditor({ value, onChange, apiRef, dirty, onFormat, readOnly }: {
|
|
2
|
-
value: any;
|
|
3
|
-
onChange: any;
|
|
4
|
-
apiRef: any;
|
|
5
|
-
dirty: any;
|
|
6
|
-
onFormat: any;
|
|
7
|
-
readOnly: any;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function FieldTree({ groups, onInsert }: {
|
|
10
|
-
groups: any;
|
|
11
|
-
onInsert: any;
|
|
12
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const PBEdit: {
|
|
14
|
-
CodeEditor: typeof CodeEditor;
|
|
15
|
-
FieldTree: typeof FieldTree;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare function render(tpl: any, data: any): {
|
|
2
|
-
html: string;
|
|
3
|
-
error: any;
|
|
4
|
-
};
|
|
5
|
-
declare function listVars(tpl: any): unknown[];
|
|
6
|
-
export declare const PBEngine: {
|
|
7
|
-
render: typeof render;
|
|
8
|
-
listVars: typeof listVars;
|
|
9
|
-
HELPERS: {
|
|
10
|
-
money(v: any, ctx: any): string;
|
|
11
|
-
num(v: any): string;
|
|
12
|
-
qty(v: any): string;
|
|
13
|
-
pct(v: any): string;
|
|
14
|
-
upper(v: any): string;
|
|
15
|
-
lower(v: any): string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
declare const Ic: ({ k, size, ...rest }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
k: any;
|
|
4
|
-
size: any;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const ICONS: {
|
|
7
|
-
grid: import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
rupee: import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
cart: import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
box: import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
truck: import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
users: import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
layers: import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
wallet: import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
spark: import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
clock: import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
inbox: import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
check: import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
search: import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
bell: import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
sun: import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
moon: import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
chevD: import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
chevR: import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
chevL: import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
plus: import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
x: import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
grip: import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
more: import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
filter: import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
cal: import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
download: import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
arrowUp: import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
arrowDn: import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
menu: import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
cog: import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
ext: import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
refresh: import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
eye: import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
pin: import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
target: import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
alert: import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
flame: import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
dirham: import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
barChart: import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
lineChart: import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
pie: import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
table: import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
pivot: import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
doc: import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
bank: import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
factory: import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
share: import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
save: import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
sparkle: import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
print: import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
columns: import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
rows: import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
sum: import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
mail: import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
link: import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
copy: import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
sliders: import("react/jsx-runtime").JSX.Element;
|
|
64
|
-
star: import("react/jsx-runtime").JSX.Element;
|
|
65
|
-
flag: import("react/jsx-runtime").JSX.Element;
|
|
66
|
-
list: import("react/jsx-runtime").JSX.Element;
|
|
67
|
-
arrowL: import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
arrowR: import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
waterfall: import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
code: import("react/jsx-runtime").JSX.Element;
|
|
71
|
-
send: import("react/jsx-runtime").JSX.Element;
|
|
72
|
-
undo: import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
redo: import("react/jsx-runtime").JSX.Element;
|
|
74
|
-
upload: import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
eyeOff: import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
type: import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
palette: import("react/jsx-runtime").JSX.Element;
|
|
78
|
-
panelL: import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
panelR: import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
chat: import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
wand: import("react/jsx-runtime").JSX.Element;
|
|
82
|
-
trash: import("react/jsx-runtime").JSX.Element;
|
|
83
|
-
dot: import("react/jsx-runtime").JSX.Element;
|
|
84
|
-
file: import("react/jsx-runtime").JSX.Element;
|
|
85
|
-
receipt: import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
quote: import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
minus: import("react/jsx-runtime").JSX.Element;
|
|
88
|
-
fit: import("react/jsx-runtime").JSX.Element;
|
|
89
|
-
image: import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
};
|
|
91
|
-
export { Ic };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare function getByPath(obj: any, path: any): any;
|
|
2
|
-
declare function setByPath(obj: any, path: any, val: any): any;
|
|
3
|
-
declare function recomputeTotals(data: any): any;
|
|
4
|
-
declare function parseNum(str: any): number;
|
|
5
|
-
declare function applyEdit(data: any, path: any, type: any, rawText: any): any;
|
|
6
|
-
declare function addItem(data: any): any;
|
|
7
|
-
declare function removeItem(data: any, idx: any): any;
|
|
8
|
-
declare function moveItem(data: any, idx: any, dir: any): any;
|
|
9
|
-
export declare const PBModel: {
|
|
10
|
-
clone: (o: any) => any;
|
|
11
|
-
getByPath: typeof getByPath;
|
|
12
|
-
setByPath: typeof setByPath;
|
|
13
|
-
recomputeTotals: typeof recomputeTotals;
|
|
14
|
-
parseNum: typeof parseNum;
|
|
15
|
-
applyEdit: typeof applyEdit;
|
|
16
|
-
addItem: typeof addItem;
|
|
17
|
-
removeItem: typeof removeItem;
|
|
18
|
-
moveItem: typeof moveItem;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare function dims(paper: any, orient: any): {
|
|
2
|
-
w: any;
|
|
3
|
-
h: any;
|
|
4
|
-
cw: number;
|
|
5
|
-
};
|
|
6
|
-
declare function PaperDoc({ html, running, frame, density, accent, headWeight, logoSize, headStyle, paper, orient, editable, onEdit, onPages, templateEditable, onTemplateEdit, onTokenClick, stationery, stationeryKind }: {
|
|
7
|
-
html: any;
|
|
8
|
-
running: any;
|
|
9
|
-
frame: any;
|
|
10
|
-
density: any;
|
|
11
|
-
accent: any;
|
|
12
|
-
headWeight: any;
|
|
13
|
-
logoSize: any;
|
|
14
|
-
headStyle: any;
|
|
15
|
-
paper: any;
|
|
16
|
-
orient: any;
|
|
17
|
-
editable: any;
|
|
18
|
-
onEdit: any;
|
|
19
|
-
onPages: any;
|
|
20
|
-
templateEditable: any;
|
|
21
|
-
onTemplateEdit: any;
|
|
22
|
-
onTokenClick: any;
|
|
23
|
-
stationery: any;
|
|
24
|
-
stationeryKind: any;
|
|
25
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare const PBPaper: {
|
|
27
|
-
PaperDoc: typeof PaperDoc;
|
|
28
|
-
dims: typeof dims;
|
|
29
|
-
};
|
|
30
|
-
export {};
|