@vulcanjs/react-ui 0.6.4 → 0.6.6-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ declare type Options<TField = any> = Array<{
6
6
  label: string;
7
7
  value: TField;
8
8
  }>;
9
- export interface FormComponentProps<TField = any> extends FormField {
9
+ export interface FormComponentProps<TField = any> extends Omit<FormField, "type"> {
10
10
  document: any;
11
11
  datatype: VulcanFieldType;
12
12
  disabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"FormComponent.d.ts","sourceRoot":"","sources":["../../../components/form/FormComponent.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAIlE,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAEL,gBAAgB,EAChB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAkK1B,aAAK,OAAO,CAAC,MAAM,GAAG,GAAG,IAAI,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAErE,MAAM,WAAW,kBAAkB,CAAC,MAAM,GAAG,GAAG,CAAE,SAAQ,SAAS;IACjE,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,gBAAgB,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACpD,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,SAAS,C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AE,gBAAgB,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACpD,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC;IAClD,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;CAC7C;AAID,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBAqOtD,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAoBtC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -28,4 +28,8 @@ export interface FormInputProps extends FormComponentInnerProps {
28
28
  inputProperties: React.HTMLProps<HTMLInputElement>;
29
29
  itemProperties: any;
30
30
  }
31
+ export interface FormTextAreaProps extends FormComponentInnerProps {
32
+ inputProperties: React.HTMLProps<HTMLTextAreaElement>;
33
+ itemProperties: any;
34
+ }
31
35
  //# sourceMappingURL=FormComponentInner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormComponentInner.d.ts","sourceRoot":"","sources":["../../../components/form/FormComponentInner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAQrD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IACjE,SAAS,EAAE,eAAe,CAAC;IAM3B,UAAU,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAIlD,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,cAAc,CAAC,EAAE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,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,wBAAwB,CAAC;IACzC,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,cAAc,EAAE,GAAG,CAAC;IACpB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE,GAAG,CAAC;IACX,eAAe,EAAE,GAAG,CAAC;IACrB,cAAc,EAAE,GAAG,CAAC;IACpB,MAAM,EAAE,GAAG,CAAC;IACZ,kBAAkB,EAAE,GAAG,CAAC;IACxB,cAAc,EAAE,GAAG,CAAC;IACpB,eAAe,EAAE,GAAG,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;CAChB;AAED,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBA2IhE,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,uBAAuB;IAG7D,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IACnD,cAAc,EAAE,GAAG,CAAC;CACrB;AACD,MAAM,WAAW,iBAAkB,SAAQ,uBAAuB;IAGhE,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;IACtD,cAAc,EAAE,GAAG,CAAC;CACrB"}
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { FormInputProps } from "../FormComponentInner";
2
+ import { FormInputProps, FormTextAreaProps } from "../FormComponentInner";
3
3
  export declare const FormItem: (props: FormInputProps["itemProperties"] & Pick<FormInputProps["inputProperties"], "label" | "name">) => JSX.Element;
4
- export declare const FormComponentDefault: (props: any) => JSX.Element;
5
- export declare const FormComponentPassword: (props: any) => JSX.Element;
6
- export declare const FormComponentNumber: (props: any) => JSX.Element;
7
- export declare const FormComponentUrl: (props: any) => JSX.Element;
8
- export declare const FormComponentEmail: (props: any) => JSX.Element;
9
- export declare const FormComponentTextarea: (props: any) => JSX.Element;
10
- export declare const FormComponentCheckbox: (props: any) => JSX.Element;
11
- export declare const FormComponentCheckboxGroup: (props: any) => JSX.Element;
12
- export declare const FormComponentRadioGroup: (props: any) => JSX.Element;
4
+ export declare const FormComponentDefault: (props: FormInputProps) => JSX.Element;
5
+ export declare const FormComponentPassword: (props: FormInputProps) => JSX.Element;
6
+ export declare const FormComponentNumber: (props: FormInputProps) => JSX.Element;
7
+ export declare const FormComponentUrl: (props: FormInputProps) => JSX.Element;
8
+ export declare const FormComponentEmail: (props: FormInputProps) => JSX.Element;
9
+ export declare const FormComponentTextarea: (props: FormTextAreaProps) => JSX.Element;
10
+ export declare const FormComponentCheckbox: (props: FormInputProps) => JSX.Element;
11
+ export declare const FormComponentCheckboxGroup: (props: FormInputProps) => JSX.Element;
12
+ export declare const FormComponentRadioGroup: (props: FormInputProps) => JSX.Element;
13
13
  export declare const FormComponentSelect: (props: FormInputProps) => JSX.Element;
14
14
  export declare const FormComponentSelectMultiple: (props: any) => JSX.Element;
15
15
  export declare const FormComponentDate: (props: any) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"BasicInputs.d.ts","sourceRoot":"","sources":["../../../../components/form/inputs/BasicInputs.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAiCvD,eAAO,MAAM,QAAQ,UACZ,cAAc,CAAC,gBAAgB,CAAC,GACrC,KAAK,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,gBAS5D,CAAC;AA0BF,eAAO,MAAM,oBAAoB,6BAEhC,CAAC;AACF,eAAO,MAAM,qBAAqB,6BAEjC,CAAC;AACF,eAAO,MAAM,mBAAmB,6BAE/B,CAAC;AACF,eAAO,MAAM,gBAAgB,6BAE5B,CAAC;AACF,eAAO,MAAM,kBAAkB,6BAE9B,CAAC;AACF,eAAO,MAAM,qBAAqB,6BAAqC,CAAC;AAExE,eAAO,MAAM,qBAAqB,6BAEjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,6BAEtC,CAAC;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