diff --git a/vue-components/src/components/ResizeLimit.ts b/vue-components/src/components/ResizeLimit.ts new file mode 100644 index 000000000..8e1f5e8b9 --- /dev/null +++ b/vue-components/src/components/ResizeLimit.ts @@ -0,0 +1,14 @@ +enum ResizeLimit { + Horizontal = 'horizontal', + Vertical = 'vertical', + None = 'none' +} + +function validateLimit( limit: string ): boolean { + return Object.values( ResizeLimit ).includes( limit as ResizeLimit ); +} + +export { + ResizeLimit, + validateLimit, +}; diff --git a/vue-components/src/components/TextArea.vue b/vue-components/src/components/TextArea.vue new file mode 100644 index 000000000..ca100e15a --- /dev/null +++ b/vue-components/src/components/TextArea.vue @@ -0,0 +1,201 @@ +