From 9ecae01e2a50f3470cfb4162ec4b2f9f8f56faab Mon Sep 17 00:00:00 2001 From: Suprun Date: Tue, 7 Jan 2025 14:50:53 +0300 Subject: [PATCH] feat: use new inputs in jetton management --- src/components/Fields/AddressField.vue | 24 ++ src/components/Fields/BaseField.vue | 5 +- src/components/Fields/BooleanField.vue | 24 ++ src/components/Fields/CoinsField.vue | 2 +- src/components/Fields/SliceField.vue | 21 ++ src/components/Fields/StringField.vue | 4 +- src/components/Fields/UintField.vue | 30 ++ src/components/Fields/UnknownField.vue | 22 ++ src/components/Inputs/BaseInput.vue | 6 +- src/components/Inputs/BaseLabel.vue | 4 +- src/components/Inputs/BooleanInput.vue | 31 +++ src/components/Inputs/NumberInput.vue | 4 +- src/components/Inputs/TextAreaInput.vue | 2 +- .../JettonDeploy/JettonDeployForm.vue | 9 +- .../JettonManage/JettonManageForm.vue | 263 +++++++++++++----- src/i18n/en.json | 3 +- src/i18n/ru.json | 3 +- 17 files changed, 371 insertions(+), 86 deletions(-) create mode 100644 src/components/Fields/AddressField.vue create mode 100644 src/components/Fields/BooleanField.vue create mode 100644 src/components/Fields/SliceField.vue create mode 100644 src/components/Fields/UintField.vue create mode 100644 src/components/Fields/UnknownField.vue create mode 100644 src/components/Inputs/BooleanInput.vue diff --git a/src/components/Fields/AddressField.vue b/src/components/Fields/AddressField.vue new file mode 100644 index 0000000..f1161e5 --- /dev/null +++ b/src/components/Fields/AddressField.vue @@ -0,0 +1,24 @@ + + + \ No newline at end of file diff --git a/src/components/Fields/BaseField.vue b/src/components/Fields/BaseField.vue index ccfb561..95fb3fa 100644 --- a/src/components/Fields/BaseField.vue +++ b/src/components/Fields/BaseField.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/Fields/CoinsField.vue b/src/components/Fields/CoinsField.vue index 63058bb..690e568 100644 --- a/src/components/Fields/CoinsField.vue +++ b/src/components/Fields/CoinsField.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/Fields/StringField.vue b/src/components/Fields/StringField.vue index bb5cb67..4c2d546 100644 --- a/src/components/Fields/StringField.vue +++ b/src/components/Fields/StringField.vue @@ -1,7 +1,7 @@ diff --git a/src/components/Fields/UintField.vue b/src/components/Fields/UintField.vue new file mode 100644 index 0000000..238d946 --- /dev/null +++ b/src/components/Fields/UintField.vue @@ -0,0 +1,30 @@ + + + \ No newline at end of file diff --git a/src/components/Fields/UnknownField.vue b/src/components/Fields/UnknownField.vue new file mode 100644 index 0000000..06c55da --- /dev/null +++ b/src/components/Fields/UnknownField.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/components/Inputs/BaseInput.vue b/src/components/Inputs/BaseInput.vue index a22240e..127f18c 100644 --- a/src/components/Inputs/BaseInput.vue +++ b/src/components/Inputs/BaseInput.vue @@ -1,5 +1,5 @@