From 36c9954d5a2c6a2472ebe6f7c1618286240cf124 Mon Sep 17 00:00:00 2001 From: Suprun Date: Fri, 10 Jan 2025 22:22:53 +0300 Subject: [PATCH] chore: refactor DevTools split component to separated modules --- .../DevTools/ContractManageForm.vue | 400 ++--------------- src/components/Fields/FieldList.vue | 59 +++ src/components/Fields/SliceField.vue | 23 +- src/i18n/en.json | 1 - src/i18n/ru.json | 1 - src/tonVerifier/consts.ts | 14 + src/tonVerifier/index.ts | 123 +++++ src/tonVerifier/registry.ts | 24 + src/utils/devTools.ts | 420 ++++++++++++++++++ src/utils/retry.ts | 17 + src/utils/tonHelpers.ts | 48 ++ src/views/DevTools.vue | 175 ++------ 12 files changed, 785 insertions(+), 520 deletions(-) create mode 100644 src/components/Fields/FieldList.vue create mode 100644 src/tonVerifier/consts.ts create mode 100644 src/tonVerifier/index.ts create mode 100644 src/tonVerifier/registry.ts create mode 100644 src/utils/devTools.ts create mode 100644 src/utils/retry.ts create mode 100644 src/utils/tonHelpers.ts diff --git a/src/components/DevTools/ContractManageForm.vue b/src/components/DevTools/ContractManageForm.vue index 9658ec7..3b43e5d 100644 --- a/src/components/DevTools/ContractManageForm.vue +++ b/src/components/DevTools/ContractManageForm.vue @@ -1,29 +1,14 @@ \ No newline at end of file diff --git a/src/components/Fields/FieldList.vue b/src/components/Fields/FieldList.vue new file mode 100644 index 0000000..59af32b --- /dev/null +++ b/src/components/Fields/FieldList.vue @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/src/components/Fields/SliceField.vue b/src/components/Fields/SliceField.vue index bd46253..18d8a67 100644 --- a/src/components/Fields/SliceField.vue +++ b/src/components/Fields/SliceField.vue @@ -1,7 +1,24 @@