@open-formulieren/types
Advanced tools
Comparing version 0.18.3 to 0.19.0
import { InputComponentSchema, MultipleCapable, PrefillConfig } from '..'; | ||
import { OFExtensions } from '../base'; | ||
import { FutureDateConstraint as BaseFutureDateConstraint, PastDateConstraint as BasePastDateConstraint, DateConstraintConfiguration, DatePickerConfig } from '../dates'; | ||
import { FutureDateConstraint as BaseFutureDateConstraint, PastDateConstraint as BasePastDateConstraint, DateConstraintConfiguration, DatePickerConfig, PickerCustomOptions } from '../dates'; | ||
type Validator = 'required'; | ||
@@ -24,2 +24,3 @@ type TranslatableKeys = 'label' | 'description' | 'tooltip'; | ||
datePicker?: DatePickerConfig; | ||
customOptions?: PickerCustomOptions; | ||
} | ||
@@ -26,0 +27,0 @@ /** |
import { InputComponentSchema, MultipleCapable, PrefillConfig } from '..'; | ||
import { OFExtensions } from '../base'; | ||
import { DateConstraintConfiguration, DatePickerConfig, FutureDateConstraint, PastDateConstraint } from '../dates'; | ||
import { DateConstraintConfiguration, DatePickerConfig, FutureDateConstraint, PastDateConstraint, PickerCustomOptions } from '../dates'; | ||
type Validator = 'required'; | ||
@@ -18,2 +18,3 @@ type TranslatableKeys = 'label' | 'description' | 'tooltip'; | ||
datePicker?: DatePickerConfig; | ||
customOptions?: PickerCustomOptions; | ||
} | ||
@@ -20,0 +21,0 @@ /** |
@@ -73,1 +73,5 @@ /** | ||
} | ||
/** Flatpickr specific custom options for the widget **/ | ||
export interface PickerCustomOptions { | ||
allowInvalidPreload?: boolean; | ||
} |
{ | ||
"name": "@open-formulieren/types", | ||
"version": "0.18.3", | ||
"version": "0.19.0", | ||
"description": "Typescript type definitions for Open Forms' Form.io extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49591
1271