16 lines
644 B
JavaScript
16 lines
644 B
JavaScript
// 동작 사슬 이어 붙이기(native-business-actions.js 가 700줄 한계라 새 모듈 처리기는 여기서 차례로 부른다).
|
|
const EstActionsMore = (() => {
|
|
const modules = () =>
|
|
[
|
|
typeof EstQuantityList !== "undefined" && EstQuantityList,
|
|
typeof EstPriceTools !== "undefined" && EstPriceTools,
|
|
typeof EstMiscTools !== "undefined" && EstMiscTools,
|
|
typeof EstExcelToEst !== "undefined" && EstExcelToEst,
|
|
].filter(Boolean);
|
|
function handle(name, state, node) {
|
|
for (const module of modules()) if (module.handle(name, state, node)) return true;
|
|
return false;
|
|
}
|
|
return { handle };
|
|
})();
|