diff --git a/packages/client/hmi-client/src/assets/css/theme/_variables.scss b/packages/client/hmi-client/src/assets/css/theme/_variables.scss
index 3aa1bf8ede..d0a8ebbddc 100644
--- a/packages/client/hmi-client/src/assets/css/theme/_variables.scss
+++ b/packages/client/hmi-client/src/assets/css/theme/_variables.scss
@@ -42,6 +42,7 @@ $fontWeightSemiBold: 600;
//global
$textColor: rgb(16, 24, 40);
$textSecondaryColor: $emphasis-medium !default;
+$smallBorderRadius: 2px !default;
$borderRadius: 4px !default;
$mediumBorderRadius: 6px !default;
$bigBorderRadius: 8px !default;
@@ -868,12 +869,15 @@ $petri-inputBox: var(--surface-0);
:root {
--editing-color: rgb(238, 238, 136);
+ --border-radius-small: #{$smallBorderRadius};
--border-radius: #{$borderRadius};
--border-radius-medium: #{$mediumBorderRadius};
--border-radius-big: #{$bigBorderRadius};
--border-radius-bigger: #{$biggerBorderRadius};
--chevron-hover: #1b807332;
--content-padding: #{$panelContentPadding};
+ --error-message-background: #{$errorMessageBg};
+ --error-message-color: #{$errorMessageTextColor};
--focus-ring: #{$focusShadow};
--font-body-large: #{$fontBodyLarge};
--font-body-medium: #{$fontBodyMedium};
@@ -939,6 +943,7 @@ $petri-inputBox: var(--surface-0);
--warning-color: #FFAB00;
--surface-error: #FDDDD3;
--error-color: #F35625;
+ --error-border-color: #F89A7C;
--surface-hover: var(--gray-100);
--surface-secondary: #f9fbfa;
--surface-section: #ffffff;
diff --git a/packages/client/hmi-client/src/components/widgets/tera-input-field.vue b/packages/client/hmi-client/src/components/widgets/tera-input-field.vue
new file mode 100644
index 0000000000..18bd9f74e1
--- /dev/null
+++ b/packages/client/hmi-client/src/components/widgets/tera-input-field.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/client/hmi-client/src/router/index.ts b/packages/client/hmi-client/src/router/index.ts
index f181229feb..fa615780eb 100644
--- a/packages/client/hmi-client/src/router/index.ts
+++ b/packages/client/hmi-client/src/router/index.ts
@@ -16,6 +16,7 @@ import AMRPetriTest from '@/temp/AMRPetriTest.vue';
import PyodideTest from '@/temp/PyodideTest.vue';
import JupyterTest from '@/temp/JupyterTest.vue';
import ModelTemplateTest from '@/temp/model-template-test.vue';
+import CustomInputTest from '@/temp/custom-input-test.vue';
import { RouteName } from './routes';
export enum RoutePath {
@@ -67,7 +68,8 @@ const routes = [
{ path: '/amr-petri-test', component: AMRPetriTest },
{ path: '/pyodide-test', component: PyodideTest },
{ path: '/jupyter-test', component: JupyterTest },
- { path: '/model-template-test', component: ModelTemplateTest }
+ { path: '/model-template-test', component: ModelTemplateTest },
+ { path: '/custom-input-test', component: CustomInputTest }
];
const router = createRouter({
diff --git a/packages/client/hmi-client/src/temp/custom-input-test.vue b/packages/client/hmi-client/src/temp/custom-input-test.vue
new file mode 100644
index 0000000000..477ca1f755
--- /dev/null
+++ b/packages/client/hmi-client/src/temp/custom-input-test.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+