@tutim/types
Version:
form infrastructure for web applications
2 lines (1 loc) • 895 B
JavaScript
(function(t,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(t=typeof globalThis<"u"?globalThis:t||self,i(t.types={}))})(this,function(t){"use strict";var i=(e=>(e.Text="text",e.Select="select",e.Radio="radio",e.Switch="switch",e.Checkbox="checkbox",e.Number="number",e.Date="date",e.Password="password",e.TextArea="text-area",e.Json="json",e.MultiText="multi-text",e.MultiSelect="multi-select",e.MultiCheckbox="multi-checkbox",e.Object="object",e.Array="array",e.Custom="custom",e))(i||{}),r=(e=>(e.MultiStepWizard="multi-step-wizard",e.SingleStepForm="single-step-form",e))(r||{}),o=(e=>(e.EQUAL="equal",e.IN="in",e))(o||{}),a=(e=>(e[e.One=1]="One",e[e.Two=2]="Two",e[e.Three=3]="Three",e))(a||{});t.FieldsPerRow=a,t.InputType=i,t.Operators=o,t.WrapperType=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});