@bpmn-io/form-js-viewer 0.10.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/README.md +165 -165
- package/dist/assets/form-js.css +715 -611
- package/dist/index.cjs +953 -691
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +877 -606
- package/dist/index.es.js.map +1 -1
- package/dist/types/Form.d.ts +144 -144
- package/dist/types/core/ConditionChecker.d.ts +57 -57
- package/dist/types/core/EventBus.d.ts +1 -1
- package/dist/types/core/FormFieldRegistry.d.ts +17 -17
- package/dist/types/core/Validator.d.ts +7 -7
- package/dist/types/core/index.d.ts +18 -18
- package/dist/types/import/Importer.d.ts +43 -43
- package/dist/types/import/index.d.ts +5 -5
- package/dist/types/index.d.ts +18 -18
- package/dist/types/render/FormFields.d.ts +5 -5
- package/dist/types/render/Renderer.d.ts +23 -23
- package/dist/types/render/components/Description.d.ts +1 -1
- package/dist/types/render/components/Errors.d.ts +1 -1
- package/dist/types/render/components/FormComponent.d.ts +1 -1
- package/dist/types/render/components/FormField.d.ts +1 -1
- package/dist/types/render/components/Label.d.ts +1 -1
- package/dist/types/render/components/PoweredBy.d.ts +1 -1
- package/dist/types/render/components/Sanitizer.d.ts +8 -8
- package/dist/types/render/components/Util.d.ts +17 -17
- package/dist/types/render/components/form-fields/Button.d.ts +12 -11
- package/dist/types/render/components/form-fields/Checkbox.d.ts +14 -13
- package/dist/types/render/components/form-fields/Checklist.d.ts +18 -12
- package/dist/types/render/components/form-fields/Datetime.d.ts +13 -11
- package/dist/types/render/components/form-fields/Default.d.ts +11 -9
- package/dist/types/render/components/form-fields/Image.d.ts +10 -8
- package/dist/types/render/components/form-fields/Number.d.ts +15 -14
- package/dist/types/render/components/form-fields/Radio.d.ts +18 -12
- package/dist/types/render/components/form-fields/Select.d.ts +18 -12
- package/dist/types/render/components/form-fields/Taglist.d.ts +18 -12
- package/dist/types/render/components/form-fields/Text.d.ts +12 -10
- package/dist/types/render/components/form-fields/Textarea.d.ts +14 -13
- package/dist/types/render/components/form-fields/Textfield.d.ts +14 -13
- package/dist/types/render/components/form-fields/parts/Datepicker.d.ts +1 -1
- package/dist/types/render/components/form-fields/parts/DropdownList.d.ts +1 -1
- package/dist/types/render/components/form-fields/parts/InputAdorner.d.ts +1 -1
- package/dist/types/render/components/form-fields/parts/SearchableSelect.d.ts +1 -0
- package/dist/types/render/components/form-fields/parts/SimpleSelect.d.ts +1 -0
- package/dist/types/render/components/form-fields/parts/Timepicker.d.ts +1 -1
- package/dist/types/render/components/icons/index.d.ts +16 -16
- package/dist/types/render/components/index.d.ts +17 -17
- package/dist/types/render/components/util/dateTimeUtil.d.ts +12 -12
- package/dist/types/render/components/util/numberFieldUtil.d.ts +4 -4
- package/dist/types/render/components/util/sanitizerUtil.d.ts +3 -3
- package/dist/types/render/context/FormContext.d.ts +12 -12
- package/dist/types/render/context/FormRenderContext.d.ts +6 -6
- package/dist/types/render/context/index.d.ts +2 -2
- package/dist/types/render/hooks/useCondition.d.ts +9 -9
- package/dist/types/render/hooks/useEvaluation.d.ts +6 -6
- package/dist/types/render/hooks/useExpressionValue.d.ts +5 -5
- package/dist/types/render/hooks/useKeyDownAction.d.ts +1 -1
- package/dist/types/render/hooks/useService.d.ts +1 -1
- package/dist/types/render/hooks/useValuesAsync.d.ts +28 -28
- package/dist/types/render/index.d.ts +11 -11
- package/dist/types/src/types.d.ts +35 -35
- package/dist/types/util/constants/DatetimeConstants.d.ts +24 -24
- package/dist/types/util/constants/ValuesSourceConstants.d.ts +18 -15
- package/dist/types/util/constants/index.d.ts +2 -2
- package/dist/types/util/feel.d.ts +15 -15
- package/dist/types/util/form.d.ts +6 -6
- package/dist/types/util/index.d.ts +26 -25
- package/dist/types/util/injector.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef { { container } } Config
|
|
3
|
-
* @typedef { import('didi').Injector } Injector
|
|
4
|
-
* @typedef { import('../core/EventBus').default } EventBus
|
|
5
|
-
* @typedef { import('../Form').default } Form
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* @param {Config} config
|
|
9
|
-
* @param {EventBus} eventBus
|
|
10
|
-
* @param {Form} form
|
|
11
|
-
* @param {Injector} injector
|
|
12
|
-
*/
|
|
13
|
-
declare function Renderer(config: Config, eventBus: any, form: Form, injector: Injector): void;
|
|
14
|
-
declare namespace Renderer {
|
|
15
|
-
const $inject: string[];
|
|
16
|
-
}
|
|
17
|
-
export default Renderer;
|
|
18
|
-
export type Config = {
|
|
19
|
-
container;
|
|
20
|
-
};
|
|
21
|
-
export type Injector = import('didi').Injector;
|
|
22
|
-
export type EventBus = any;
|
|
23
|
-
export type Form = import('../Form').default;
|
|
1
|
+
/**
|
|
2
|
+
* @typedef { { container } } Config
|
|
3
|
+
* @typedef { import('didi').Injector } Injector
|
|
4
|
+
* @typedef { import('../core/EventBus').default } EventBus
|
|
5
|
+
* @typedef { import('../Form').default } Form
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @param {Config} config
|
|
9
|
+
* @param {EventBus} eventBus
|
|
10
|
+
* @param {Form} form
|
|
11
|
+
* @param {Injector} injector
|
|
12
|
+
*/
|
|
13
|
+
declare function Renderer(config: Config, eventBus: any, form: Form, injector: Injector): void;
|
|
14
|
+
declare namespace Renderer {
|
|
15
|
+
const $inject: string[];
|
|
16
|
+
}
|
|
17
|
+
export default Renderer;
|
|
18
|
+
export type Config = {
|
|
19
|
+
container;
|
|
20
|
+
};
|
|
21
|
+
export type Injector = import('didi').Injector;
|
|
22
|
+
export type EventBus = any;
|
|
23
|
+
export type Form = import('../Form').default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Description(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function Description(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Errors(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function Errors(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function FormComponent(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function FormComponent(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function FormField(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function FormField(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Label(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function Label(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function PoweredBy(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function PoweredBy(props: any): import("preact").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sanitize a HTML string and return the cleaned, safe version.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} html
|
|
5
|
-
* @return {string}
|
|
6
|
-
*/
|
|
7
|
-
export function sanitizeHTML(html: string): string;
|
|
8
|
-
export function sanitizeImageSource(src: any): any;
|
|
1
|
+
/**
|
|
2
|
+
* Sanitize a HTML string and return the cleaned, safe version.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} html
|
|
5
|
+
* @return {string}
|
|
6
|
+
*/
|
|
7
|
+
export function sanitizeHTML(html: string): string;
|
|
8
|
+
export function sanitizeImageSource(src: any): any;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export function formFieldClasses(type: any, { errors, disabled }?: {
|
|
2
|
-
errors?: any[];
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
}): string;
|
|
5
|
-
export function prefixId(id: any, formId: any): string;
|
|
6
|
-
export function markdownToHTML(markdown: any): any;
|
|
7
|
-
export function safeMarkdown(markdown: any): string;
|
|
8
|
-
/**
|
|
9
|
-
* Sanitizes an image source to ensure we only allow for data URI and links
|
|
10
|
-
* that start with http(s).
|
|
11
|
-
*
|
|
12
|
-
* Note: Most browsers anyway do not support script execution in <img> elements.
|
|
13
|
-
*
|
|
14
|
-
* @param {string} src
|
|
15
|
-
* @returns {string}
|
|
16
|
-
*/
|
|
17
|
-
export function safeImageSource(src: string): string;
|
|
1
|
+
export function formFieldClasses(type: any, { errors, disabled }?: {
|
|
2
|
+
errors?: any[];
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}): string;
|
|
5
|
+
export function prefixId(id: any, formId: any): string;
|
|
6
|
+
export function markdownToHTML(markdown: any): any;
|
|
7
|
+
export function safeMarkdown(markdown: any): string;
|
|
8
|
+
/**
|
|
9
|
+
* Sanitizes an image source to ensure we only allow for data URI and links
|
|
10
|
+
* that start with http(s).
|
|
11
|
+
*
|
|
12
|
+
* Note: Most browsers anyway do not support script execution in <img> elements.
|
|
13
|
+
*
|
|
14
|
+
* @param {string} src
|
|
15
|
+
* @returns {string}
|
|
16
|
+
*/
|
|
17
|
+
export function safeImageSource(src: string): string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
declare function Button(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Button {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
action: string;
|
|
5
|
-
};
|
|
6
|
-
export { type };
|
|
7
|
-
export const label: string;
|
|
8
|
-
export const keyed: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare function Button(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Button {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
action: string;
|
|
5
|
+
};
|
|
6
|
+
export { type };
|
|
7
|
+
export const label: string;
|
|
8
|
+
export const keyed: boolean;
|
|
9
|
+
export const group: string;
|
|
10
|
+
}
|
|
11
|
+
export default Button;
|
|
12
|
+
declare const type: "button";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
declare function Checkbox(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Checkbox {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export { type };
|
|
5
|
-
export const label: string;
|
|
6
|
-
export const keyed: boolean;
|
|
7
|
-
export const emptyValue: boolean;
|
|
8
|
-
export function sanitizeValue({ value }: {
|
|
9
|
-
value: any;
|
|
10
|
-
}): boolean;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
declare function Checkbox(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Checkbox {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export { type };
|
|
5
|
+
export const label: string;
|
|
6
|
+
export const keyed: boolean;
|
|
7
|
+
export const emptyValue: boolean;
|
|
8
|
+
export function sanitizeValue({ value }: {
|
|
9
|
+
value: any;
|
|
10
|
+
}): boolean;
|
|
11
|
+
export const group: string;
|
|
12
|
+
}
|
|
13
|
+
export default Checkbox;
|
|
14
|
+
declare const type: "checkbox";
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
declare function Checklist(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Checklist {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare function Checklist(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Checklist {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export { type };
|
|
10
|
+
export const label: string;
|
|
11
|
+
export const keyed: boolean;
|
|
12
|
+
export const emptyValue: any[];
|
|
13
|
+
export { sanitizeMultiSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
15
|
+
}
|
|
16
|
+
export default Checklist;
|
|
17
|
+
declare const type: "checklist";
|
|
18
|
+
import { sanitizeMultiSelectValue } from "../util/sanitizerUtil";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
declare function Datetime(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Datetime {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export { type };
|
|
5
|
-
export const keyed: boolean;
|
|
6
|
-
export const emptyValue: any;
|
|
7
|
-
export { sanitizeDateTimePickerValue as sanitizeValue };
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare function Datetime(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Datetime {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export { type };
|
|
5
|
+
export const keyed: boolean;
|
|
6
|
+
export const emptyValue: any;
|
|
7
|
+
export { sanitizeDateTimePickerValue as sanitizeValue };
|
|
8
|
+
export const label: string;
|
|
9
|
+
export const group: string;
|
|
10
|
+
}
|
|
11
|
+
export default Datetime;
|
|
12
|
+
declare const type: "datetime";
|
|
13
|
+
import { sanitizeDateTimePickerValue } from "../util/sanitizerUtil";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
declare function Default(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Default {
|
|
3
|
-
function create(options?: {}): {
|
|
4
|
-
components: any[];
|
|
5
|
-
};
|
|
6
|
-
const type: string;
|
|
7
|
-
const keyed: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
declare function Default(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Default {
|
|
3
|
+
function create(options?: {}): {
|
|
4
|
+
components: any[];
|
|
5
|
+
};
|
|
6
|
+
const type: string;
|
|
7
|
+
const keyed: boolean;
|
|
8
|
+
const label: any;
|
|
9
|
+
const group: any;
|
|
10
|
+
}
|
|
11
|
+
export default Default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
declare function Image(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Image {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export { type };
|
|
5
|
-
export const keyed: boolean;
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
1
|
+
declare function Image(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Image {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export { type };
|
|
5
|
+
export const keyed: boolean;
|
|
6
|
+
export const label: string;
|
|
7
|
+
export const group: string;
|
|
8
|
+
}
|
|
9
|
+
export default Image;
|
|
10
|
+
declare const type: "image";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
declare function Numberfield(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Numberfield {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export function sanitizeValue({ value, formField }: {
|
|
5
|
-
value: any;
|
|
6
|
-
formField: any;
|
|
7
|
-
}): any;
|
|
8
|
-
export { type };
|
|
9
|
-
export const keyed: boolean;
|
|
10
|
-
export const label: string;
|
|
11
|
-
export const emptyValue: any;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
declare function Numberfield(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Numberfield {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export function sanitizeValue({ value, formField }: {
|
|
5
|
+
value: any;
|
|
6
|
+
formField: any;
|
|
7
|
+
}): any;
|
|
8
|
+
export { type };
|
|
9
|
+
export const keyed: boolean;
|
|
10
|
+
export const label: string;
|
|
11
|
+
export const emptyValue: any;
|
|
12
|
+
export const group: string;
|
|
13
|
+
}
|
|
14
|
+
export default Numberfield;
|
|
15
|
+
declare const type: "number";
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
declare function Radio(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Radio {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare function Radio(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Radio {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export { type };
|
|
10
|
+
export const label: string;
|
|
11
|
+
export const keyed: boolean;
|
|
12
|
+
export const emptyValue: any;
|
|
13
|
+
export { sanitizeSingleSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
15
|
+
}
|
|
16
|
+
export default Radio;
|
|
17
|
+
declare const type: "radio";
|
|
18
|
+
import { sanitizeSingleSelectValue } from "../util/sanitizerUtil";
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
declare function Select(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Select {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare function Select(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Select {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export { type };
|
|
10
|
+
export const label: string;
|
|
11
|
+
export const keyed: boolean;
|
|
12
|
+
export const emptyValue: any;
|
|
13
|
+
export { sanitizeSingleSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
15
|
+
}
|
|
16
|
+
export default Select;
|
|
17
|
+
declare const type: "select";
|
|
18
|
+
import { sanitizeSingleSelectValue } from "../util/sanitizerUtil";
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
declare function Taglist(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Taglist {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare function Taglist(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Taglist {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export { type };
|
|
10
|
+
export const label: string;
|
|
11
|
+
export const keyed: boolean;
|
|
12
|
+
export const emptyValue: any[];
|
|
13
|
+
export { sanitizeMultiSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
15
|
+
}
|
|
16
|
+
export default Taglist;
|
|
17
|
+
declare const type: "taglist";
|
|
18
|
+
import { sanitizeMultiSelectValue } from "../util/sanitizerUtil";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
declare function Text(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Text {
|
|
3
|
-
export function create(options?: {}): {
|
|
4
|
-
text: string;
|
|
5
|
-
};
|
|
6
|
-
export { type };
|
|
7
|
-
export const keyed: boolean;
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
1
|
+
declare function Text(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Text {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
export { type };
|
|
7
|
+
export const keyed: boolean;
|
|
8
|
+
export const group: string;
|
|
9
|
+
export const label: string;
|
|
10
|
+
}
|
|
11
|
+
export default Text;
|
|
12
|
+
declare const type: "text";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
declare function Textarea(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Textarea {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export { type };
|
|
5
|
-
export const label: string;
|
|
6
|
-
export const keyed: boolean;
|
|
7
|
-
export const emptyValue: string;
|
|
8
|
-
export function sanitizeValue({ value }: {
|
|
9
|
-
value: any;
|
|
10
|
-
}): string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
declare function Textarea(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Textarea {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export { type };
|
|
5
|
+
export const label: string;
|
|
6
|
+
export const keyed: boolean;
|
|
7
|
+
export const emptyValue: string;
|
|
8
|
+
export function sanitizeValue({ value }: {
|
|
9
|
+
value: any;
|
|
10
|
+
}): string;
|
|
11
|
+
export const group: string;
|
|
12
|
+
}
|
|
13
|
+
export default Textarea;
|
|
14
|
+
declare const type: "textarea";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
declare function Textfield(props: any): import("preact").JSX.Element;
|
|
2
|
-
declare namespace Textfield {
|
|
3
|
-
export function create(options?: {}): {};
|
|
4
|
-
export { type };
|
|
5
|
-
export const label: string;
|
|
6
|
-
export const keyed: boolean;
|
|
7
|
-
export const emptyValue: string;
|
|
8
|
-
export function sanitizeValue({ value }: {
|
|
9
|
-
value: any;
|
|
10
|
-
}): string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
declare function Textfield(props: any): import("preact").JSX.Element;
|
|
2
|
+
declare namespace Textfield {
|
|
3
|
+
export function create(options?: {}): {};
|
|
4
|
+
export { type };
|
|
5
|
+
export const label: string;
|
|
6
|
+
export const keyed: boolean;
|
|
7
|
+
export const emptyValue: string;
|
|
8
|
+
export function sanitizeValue({ value }: {
|
|
9
|
+
value: any;
|
|
10
|
+
}): string;
|
|
11
|
+
export const group: string;
|
|
12
|
+
}
|
|
13
|
+
export default Textfield;
|
|
14
|
+
declare const type: "textfield";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Datepicker(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function Datepicker(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function DropdownList(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function DropdownList(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function InputAdorner(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function InputAdorner(props: any): import("preact").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SearchableSelect(props: any): import("preact").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SimpleSelect(props: any): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Timepicker(props: any): import("preact").JSX.Element;
|
|
1
|
+
export default function Timepicker(props: any): import("preact").JSX.Element;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export namespace iconsByType {
|
|
2
|
-
export { ButtonIcon as button };
|
|
3
|
-
export { CheckboxIcon as checkbox };
|
|
4
|
-
export { ChecklistIcon as checklist };
|
|
5
|
-
export { ColumnsIcon as columns };
|
|
6
|
-
export { DatetimeIcon as datetime };
|
|
7
|
-
export { ImageIcon as image };
|
|
8
|
-
export { NumberIcon as number };
|
|
9
|
-
export { RadioIcon as radio };
|
|
10
|
-
export { SelectIcon as select };
|
|
11
|
-
export { TaglistIcon as taglist };
|
|
12
|
-
export { TextIcon as text };
|
|
13
|
-
export { TextfieldIcon as textfield };
|
|
14
|
-
export { TextareaIcon as textarea };
|
|
15
|
-
export { FormIcon as default };
|
|
16
|
-
}
|
|
1
|
+
export namespace iconsByType {
|
|
2
|
+
export { ButtonIcon as button };
|
|
3
|
+
export { CheckboxIcon as checkbox };
|
|
4
|
+
export { ChecklistIcon as checklist };
|
|
5
|
+
export { ColumnsIcon as columns };
|
|
6
|
+
export { DatetimeIcon as datetime };
|
|
7
|
+
export { ImageIcon as image };
|
|
8
|
+
export { NumberIcon as number };
|
|
9
|
+
export { RadioIcon as radio };
|
|
10
|
+
export { SelectIcon as select };
|
|
11
|
+
export { TaglistIcon as taglist };
|
|
12
|
+
export { TextIcon as text };
|
|
13
|
+
export { TextfieldIcon as textfield };
|
|
14
|
+
export { TextareaIcon as textarea };
|
|
15
|
+
export { FormIcon as default };
|
|
16
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export const formFields: (typeof Image)[];
|
|
2
|
-
export * from "./icons";
|
|
3
|
-
import Button from "./form-fields/Button";
|
|
4
|
-
import Checkbox from "./form-fields/Checkbox";
|
|
5
|
-
import Checklist from "./form-fields/Checklist";
|
|
6
|
-
import Default from "./form-fields/Default";
|
|
7
|
-
import Datetime from "./form-fields/Datetime";
|
|
8
|
-
import FormComponent from "./FormComponent";
|
|
9
|
-
import Image from "./form-fields/Image";
|
|
10
|
-
import Numberfield from "./form-fields/Number";
|
|
11
|
-
import Radio from "./form-fields/Radio";
|
|
12
|
-
import Select from "./form-fields/Select";
|
|
13
|
-
import Taglist from "./form-fields/Taglist";
|
|
14
|
-
import Text from "./form-fields/Text";
|
|
15
|
-
import Textfield from "./form-fields/Textfield";
|
|
16
|
-
import Textarea from "./form-fields/Textarea";
|
|
17
|
-
export { Button, Checkbox, Checklist, Default, Datetime, FormComponent, Image, Numberfield, Radio, Select, Taglist, Text, Textfield, Textarea };
|
|
1
|
+
export const formFields: (typeof Default | typeof Image)[];
|
|
2
|
+
export * from "./icons";
|
|
3
|
+
import Button from "./form-fields/Button";
|
|
4
|
+
import Checkbox from "./form-fields/Checkbox";
|
|
5
|
+
import Checklist from "./form-fields/Checklist";
|
|
6
|
+
import Default from "./form-fields/Default";
|
|
7
|
+
import Datetime from "./form-fields/Datetime";
|
|
8
|
+
import FormComponent from "./FormComponent";
|
|
9
|
+
import Image from "./form-fields/Image";
|
|
10
|
+
import Numberfield from "./form-fields/Number";
|
|
11
|
+
import Radio from "./form-fields/Radio";
|
|
12
|
+
import Select from "./form-fields/Select";
|
|
13
|
+
import Taglist from "./form-fields/Taglist";
|
|
14
|
+
import Text from "./form-fields/Text";
|
|
15
|
+
import Textfield from "./form-fields/Textfield";
|
|
16
|
+
import Textarea from "./form-fields/Textarea";
|
|
17
|
+
export { Button, Checkbox, Checklist, Default, Datetime, FormComponent, Image, Numberfield, Radio, Select, Taglist, Text, Textfield, Textarea };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export function focusRelevantFlatpickerDay(flatpickrInstance: any): void;
|
|
2
|
-
export function formatTime(use24h: any, minutes: any): string;
|
|
3
|
-
export function parseInputTime(stringTime: any): number;
|
|
4
|
-
export function serializeTime(minutes: any, offset: any, timeSerializingFormat: any): string;
|
|
5
|
-
export function parseIsoTime(isoTimeString: any): number;
|
|
6
|
-
export function serializeDate(date: any): string;
|
|
7
|
-
export function isDateTimeInputInformationSufficient(value: any): boolean;
|
|
8
|
-
export function isDateInputInformationMatching(value: any): boolean;
|
|
9
|
-
export function serializeDateTime(date: any, time: any, timeSerializingFormat: any): string;
|
|
10
|
-
export function formatTimezoneOffset(minutes: any): string;
|
|
11
|
-
export function isInvalidDateString(value: any): boolean;
|
|
12
|
-
export const ENTER_KEYDOWN_EVENT: KeyboardEvent;
|
|
1
|
+
export function focusRelevantFlatpickerDay(flatpickrInstance: any): void;
|
|
2
|
+
export function formatTime(use24h: any, minutes: any): string;
|
|
3
|
+
export function parseInputTime(stringTime: any): number;
|
|
4
|
+
export function serializeTime(minutes: any, offset: any, timeSerializingFormat: any): string;
|
|
5
|
+
export function parseIsoTime(isoTimeString: any): number;
|
|
6
|
+
export function serializeDate(date: any): string;
|
|
7
|
+
export function isDateTimeInputInformationSufficient(value: any): boolean;
|
|
8
|
+
export function isDateInputInformationMatching(value: any): boolean;
|
|
9
|
+
export function serializeDateTime(date: any, time: any, timeSerializingFormat: any): string;
|
|
10
|
+
export function formatTimezoneOffset(minutes: any): string;
|
|
11
|
+
export function isInvalidDateString(value: any): boolean;
|
|
12
|
+
export const ENTER_KEYDOWN_EVENT: KeyboardEvent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function countDecimals(number: any): any;
|
|
2
|
-
export function isValidNumber(value: any): boolean;
|
|
3
|
-
export function willKeyProduceValidNumber(key: any, previousValue: any, caretIndex: any, selectionWidth: any, decimalDigits: any): boolean;
|
|
4
|
-
export function isNullEquivalentValue(value: any): boolean;
|
|
1
|
+
export function countDecimals(number: any): any;
|
|
2
|
+
export function isValidNumber(value: any): boolean;
|
|
3
|
+
export function willKeyProduceValidNumber(key: any, previousValue: any, caretIndex: any, selectionWidth: any, decimalDigits: any): boolean;
|
|
4
|
+
export function isNullEquivalentValue(value: any): boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function sanitizeDateTimePickerValue(options: any): string;
|
|
2
|
-
export function sanitizeSingleSelectValue(options: any): any;
|
|
3
|
-
export function sanitizeMultiSelectValue(options: any): any;
|
|
1
|
+
export function sanitizeDateTimePickerValue(options: any): string;
|
|
2
|
+
export function sanitizeSingleSelectValue(options: any): any;
|
|
3
|
+
export function sanitizeMultiSelectValue(options: any): any;
|