@formio/js 5.0.0-dev.5712.d53f35e → 5.0.0-dev.5713.ee12658

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.
Files changed (35) hide show
  1. package/dist/formio.form.js +2 -2
  2. package/dist/formio.form.min.js +1 -1
  3. package/dist/formio.full.js +3 -3
  4. package/dist/formio.full.min.js +1 -1
  5. package/lib/cjs/components/currency/Currency.d.ts +0 -1
  6. package/lib/cjs/components/number/Number.d.ts +1 -7
  7. package/lib/cjs/components/number/Number.js +0 -11
  8. package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +32 -0
  9. package/lib/cjs/components/number/editForm/Number.edit.data.js +29 -2
  10. package/lib/cjs/components/number/fixtures/index.d.ts +1 -2
  11. package/lib/cjs/components/number/fixtures/index.js +1 -3
  12. package/lib/cjs/components/time/Time.d.ts +2 -2
  13. package/lib/cjs/components/time/Time.js +2 -3
  14. package/lib/cjs/components/time/fixtures/index.d.ts +1 -2
  15. package/lib/cjs/components/time/fixtures/index.js +1 -3
  16. package/lib/mjs/components/currency/Currency.d.ts +0 -1
  17. package/lib/mjs/components/number/Number.d.ts +1 -7
  18. package/lib/mjs/components/number/Number.js +0 -11
  19. package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +32 -0
  20. package/lib/mjs/components/number/editForm/Number.edit.data.js +29 -2
  21. package/lib/mjs/components/number/fixtures/index.d.ts +1 -2
  22. package/lib/mjs/components/number/fixtures/index.js +1 -2
  23. package/lib/mjs/components/time/Time.d.ts +2 -2
  24. package/lib/mjs/components/time/Time.js +2 -3
  25. package/lib/mjs/components/time/fixtures/index.d.ts +1 -2
  26. package/lib/mjs/components/time/fixtures/index.js +1 -2
  27. package/package.json +1 -1
  28. package/lib/cjs/components/number/fixtures/comp10.d.ts +0 -18
  29. package/lib/cjs/components/number/fixtures/comp10.js +0 -21
  30. package/lib/cjs/components/time/fixtures/comp4.d.ts +0 -166
  31. package/lib/cjs/components/time/fixtures/comp4.js +0 -171
  32. package/lib/mjs/components/number/fixtures/comp10.d.ts +0 -18
  33. package/lib/mjs/components/number/fixtures/comp10.js +0 -19
  34. package/lib/mjs/components/time/fixtures/comp4.d.ts +0 -166
  35. package/lib/mjs/components/time/fixtures/comp4.js +0 -169
@@ -2,7 +2,6 @@ export default class CurrencyComponent extends NumberComponent {
2
2
  constructor(component: any, options: any, data: any);
3
3
  currencyPrefix: any;
4
4
  currencySuffix: any;
5
- parseNumber(value: any): number;
6
5
  parseValue(value: any): string | null;
7
6
  addZerosAndFormatValue(value: any): any;
8
7
  stripPrefixSuffix(value: any): any;
@@ -27,13 +27,7 @@ export default class NumberComponent extends Input {
27
27
  */
28
28
  createNumberMask(): any;
29
29
  isDecimalAllowed(): any;
30
- /**
31
- * parses a numeric string by removing the delimiters and replacing the decimal separator back to '.' so that it can
32
- * be processed by either parseInt or parseFloat
33
- * @param {string} value the value to be parsed
34
- * @returns {number} a parsed number
35
- */
36
- parseNumber(value: string): number;
30
+ parseNumber(value: any): number;
37
31
  setInputMask(input: any): void;
38
32
  getValueAt(index: any): number | null;
39
33
  setValueAt(index: any, value: any, flags?: {}): void;
@@ -91,11 +91,6 @@ class NumberComponent extends Input_1.default {
91
91
  }
92
92
  get defaultValue() {
93
93
  let defaultValue = super.defaultValue;
94
- if (typeof defaultValue === 'string') {
95
- // Default value may be a string or have custom thousands separators or decimal symbols, so we need to call
96
- // parseNumber on it
97
- defaultValue = this.parseNumber(defaultValue);
98
- }
99
94
  if (!defaultValue && this.component.defaultValue === 0) {
100
95
  defaultValue = this.component.defaultValue;
101
96
  }
@@ -107,12 +102,6 @@ class NumberComponent extends Input_1.default {
107
102
  isDecimalAllowed() {
108
103
  return lodash_1.default.get(this.component, 'allowDecimal', !(this.component.validate && this.component.validate.integer));
109
104
  }
110
- /**
111
- * parses a numeric string by removing the delimiters and replacing the decimal separator back to '.' so that it can
112
- * be processed by either parseInt or parseFloat
113
- * @param {string} value the value to be parsed
114
- * @returns {number} a parsed number
115
- */
116
105
  parseNumber(value) {
117
106
  // Remove delimiters and convert decimal separator to dot.
118
107
  value = value.split(this.delimiter).join('').replace(this.decimalSeparator, '.');
@@ -5,6 +5,36 @@ declare const _default: ({
5
5
  key: string;
6
6
  label: string;
7
7
  tooltip: string;
8
+ conditional?: undefined;
9
+ defaultValue?: undefined;
10
+ ignore?: undefined;
11
+ } | {
12
+ type: string;
13
+ input: boolean;
14
+ weight: number;
15
+ key: string;
16
+ label: string;
17
+ conditional: {
18
+ show: boolean;
19
+ conjunction: string;
20
+ conditions: {
21
+ component: string;
22
+ operator: string;
23
+ value: boolean;
24
+ }[];
25
+ };
26
+ defaultValue: string;
27
+ tooltip?: undefined;
28
+ ignore?: undefined;
29
+ } | {
30
+ type: string;
31
+ input: boolean;
32
+ weight: number;
33
+ key: string;
34
+ label: string;
35
+ defaultValue: string;
36
+ tooltip?: undefined;
37
+ conditional?: undefined;
8
38
  ignore?: undefined;
9
39
  } | {
10
40
  key: string;
@@ -14,5 +44,7 @@ declare const _default: ({
14
44
  weight?: undefined;
15
45
  label?: undefined;
16
46
  tooltip?: undefined;
47
+ conditional?: undefined;
48
+ defaultValue?: undefined;
17
49
  })[];
18
50
  export default _default;
@@ -10,9 +10,36 @@ exports.default = [
10
10
  tooltip: 'Separate thousands by local delimiter.'
11
11
  },
12
12
  {
13
- type: 'number',
13
+ type: "textfield",
14
14
  input: true,
15
15
  weight: 80,
16
+ key: "thousandsSeparator",
17
+ label: "Thousands Separator",
18
+ conditional: {
19
+ show: true,
20
+ conjunction: "all",
21
+ conditions: [
22
+ {
23
+ component: "delimiter",
24
+ operator: "isEqual",
25
+ value: true
26
+ }
27
+ ]
28
+ },
29
+ defaultValue: ","
30
+ },
31
+ {
32
+ type: "textfield",
33
+ input: true,
34
+ weight: 90,
35
+ key: "decimalSymbol",
36
+ label: "Decimal Symbol",
37
+ defaultValue: "."
38
+ },
39
+ {
40
+ type: 'number',
41
+ input: true,
42
+ weight: 100,
16
43
  key: 'decimalLimit',
17
44
  label: 'Decimal Places',
18
45
  tooltip: 'The maximum number of decimal places.'
@@ -20,7 +47,7 @@ exports.default = [
20
47
  {
21
48
  type: 'checkbox',
22
49
  input: true,
23
- weight: 90,
50
+ weight: 110,
24
51
  key: 'requireDecimal',
25
52
  label: 'Require Decimal',
26
53
  tooltip: 'Always show decimals, even if trailing zeros.'
@@ -7,5 +7,4 @@ import comp6 from './comp6';
7
7
  import comp7 from './comp7';
8
8
  import comp8 from './comp8';
9
9
  import comp9 from './comp9';
10
- import comp10 from './comp10';
11
- export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9, comp10 };
10
+ export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9 };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.comp10 = exports.comp9 = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
6
+ exports.comp9 = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
7
7
  const comp1_1 = __importDefault(require("./comp1"));
8
8
  exports.comp1 = comp1_1.default;
9
9
  const comp2_1 = __importDefault(require("./comp2"));
@@ -22,5 +22,3 @@ const comp8_1 = __importDefault(require("./comp8"));
22
22
  exports.comp8 = comp8_1.default;
23
23
  const comp9_1 = __importDefault(require("./comp9"));
24
24
  exports.comp9 = comp9_1.default;
25
- const comp10_1 = __importDefault(require("./comp10"));
26
- exports.comp10 = comp10_1.default;
@@ -1,12 +1,12 @@
1
1
  export default class TimeComponent extends TextFieldComponent {
2
- rawData: any;
2
+ rawData: string | never[];
3
3
  get dataFormat(): any;
4
4
  get skipMaskValidation(): boolean;
5
5
  isNotCompleteInput(value: any): any;
6
6
  removeValue(index: any): void;
7
7
  resetRawData(index: any): void;
8
8
  setRawValue(value: any, index: any): void;
9
- getRawValue(index: any): any;
9
+ getRawValue(index: any): string | never[];
10
10
  getValueAt(index: any): any;
11
11
  setValueAt(index: any, value: any): void;
12
12
  getStringAsValue(view: any): any;
@@ -30,8 +30,7 @@ class TimeComponent extends TextField_1.default {
30
30
  this.component.inputType = isEdgeBrowser && edgeVersion <= 18
31
31
  ? 'text'
32
32
  : (this.component.inputType || 'time');
33
- // If default value is given then the raw data needs to be set
34
- this.rawData = this.component.multiple ? [] : this.getValueAsString(this.defaultValue) || this.emptyValue;
33
+ this.rawData = this.component.multiple ? [] : this.emptyValue;
35
34
  }
36
35
  static get builderInfo() {
37
36
  return {
@@ -62,7 +61,7 @@ class TimeComponent extends TextField_1.default {
62
61
  return value;
63
62
  }
64
63
  get validationValue() {
65
- if ((Array.isArray(this.rawData) && !this.rawData.length) || !this.rawData) {
64
+ if (Array.isArray(this.rawData) && !this.rawData.length || !this.rawData) {
66
65
  return this.dataValue;
67
66
  }
68
67
  return this.rawData;
@@ -1,7 +1,6 @@
1
1
  import comp1 from './comp1';
2
2
  import comp2 from './comp2';
3
3
  import comp3 from './comp3';
4
- import comp4 from './comp4';
5
4
  import timeForm from './timeForm';
6
5
  import timeForm2 from './timeForm2';
7
- export { comp1, comp2, comp3, comp4, timeForm, timeForm2 };
6
+ export { comp1, comp2, comp3, timeForm, timeForm2 };
@@ -3,15 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.timeForm2 = exports.timeForm = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
6
+ exports.timeForm2 = exports.timeForm = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
7
7
  const comp1_1 = __importDefault(require("./comp1"));
8
8
  exports.comp1 = comp1_1.default;
9
9
  const comp2_1 = __importDefault(require("./comp2"));
10
10
  exports.comp2 = comp2_1.default;
11
11
  const comp3_1 = __importDefault(require("./comp3"));
12
12
  exports.comp3 = comp3_1.default;
13
- const comp4_1 = __importDefault(require("./comp4"));
14
- exports.comp4 = comp4_1.default;
15
13
  const timeForm_1 = __importDefault(require("./timeForm"));
16
14
  exports.timeForm = timeForm_1.default;
17
15
  const timeForm2_1 = __importDefault(require("./timeForm2"));
@@ -2,7 +2,6 @@ export default class CurrencyComponent extends NumberComponent {
2
2
  constructor(component: any, options: any, data: any);
3
3
  currencyPrefix: any;
4
4
  currencySuffix: any;
5
- parseNumber(value: any): number;
6
5
  parseValue(value: any): string | null;
7
6
  addZerosAndFormatValue(value: any): any;
8
7
  stripPrefixSuffix(value: any): any;
@@ -27,13 +27,7 @@ export default class NumberComponent extends Input {
27
27
  */
28
28
  createNumberMask(): any;
29
29
  isDecimalAllowed(): any;
30
- /**
31
- * parses a numeric string by removing the delimiters and replacing the decimal separator back to '.' so that it can
32
- * be processed by either parseInt or parseFloat
33
- * @param {string} value the value to be parsed
34
- * @returns {number} a parsed number
35
- */
36
- parseNumber(value: string): number;
30
+ parseNumber(value: any): number;
37
31
  setInputMask(input: any): void;
38
32
  getValueAt(index: any): number | null;
39
33
  setValueAt(index: any, value: any, flags?: {}): void;
@@ -89,11 +89,6 @@ export default class NumberComponent extends Input {
89
89
  }
90
90
  get defaultValue() {
91
91
  let defaultValue = super.defaultValue;
92
- if (typeof defaultValue === 'string') {
93
- // Default value may be a string or have custom thousands separators or decimal symbols, so we need to call
94
- // parseNumber on it
95
- defaultValue = this.parseNumber(defaultValue);
96
- }
97
92
  if (!defaultValue && this.component.defaultValue === 0) {
98
93
  defaultValue = this.component.defaultValue;
99
94
  }
@@ -105,12 +100,6 @@ export default class NumberComponent extends Input {
105
100
  isDecimalAllowed() {
106
101
  return _.get(this.component, 'allowDecimal', !(this.component.validate && this.component.validate.integer));
107
102
  }
108
- /**
109
- * parses a numeric string by removing the delimiters and replacing the decimal separator back to '.' so that it can
110
- * be processed by either parseInt or parseFloat
111
- * @param {string} value the value to be parsed
112
- * @returns {number} a parsed number
113
- */
114
103
  parseNumber(value) {
115
104
  // Remove delimiters and convert decimal separator to dot.
116
105
  value = value.split(this.delimiter).join('').replace(this.decimalSeparator, '.');
@@ -5,6 +5,36 @@ declare const _default: ({
5
5
  key: string;
6
6
  label: string;
7
7
  tooltip: string;
8
+ conditional?: undefined;
9
+ defaultValue?: undefined;
10
+ ignore?: undefined;
11
+ } | {
12
+ type: string;
13
+ input: boolean;
14
+ weight: number;
15
+ key: string;
16
+ label: string;
17
+ conditional: {
18
+ show: boolean;
19
+ conjunction: string;
20
+ conditions: {
21
+ component: string;
22
+ operator: string;
23
+ value: boolean;
24
+ }[];
25
+ };
26
+ defaultValue: string;
27
+ tooltip?: undefined;
28
+ ignore?: undefined;
29
+ } | {
30
+ type: string;
31
+ input: boolean;
32
+ weight: number;
33
+ key: string;
34
+ label: string;
35
+ defaultValue: string;
36
+ tooltip?: undefined;
37
+ conditional?: undefined;
8
38
  ignore?: undefined;
9
39
  } | {
10
40
  key: string;
@@ -14,5 +44,7 @@ declare const _default: ({
14
44
  weight?: undefined;
15
45
  label?: undefined;
16
46
  tooltip?: undefined;
47
+ conditional?: undefined;
48
+ defaultValue?: undefined;
17
49
  })[];
18
50
  export default _default;
@@ -8,9 +8,36 @@ export default [
8
8
  tooltip: 'Separate thousands by local delimiter.'
9
9
  },
10
10
  {
11
- type: 'number',
11
+ type: "textfield",
12
12
  input: true,
13
13
  weight: 80,
14
+ key: "thousandsSeparator",
15
+ label: "Thousands Separator",
16
+ conditional: {
17
+ show: true,
18
+ conjunction: "all",
19
+ conditions: [
20
+ {
21
+ component: "delimiter",
22
+ operator: "isEqual",
23
+ value: true
24
+ }
25
+ ]
26
+ },
27
+ defaultValue: ","
28
+ },
29
+ {
30
+ type: "textfield",
31
+ input: true,
32
+ weight: 90,
33
+ key: "decimalSymbol",
34
+ label: "Decimal Symbol",
35
+ defaultValue: "."
36
+ },
37
+ {
38
+ type: 'number',
39
+ input: true,
40
+ weight: 100,
14
41
  key: 'decimalLimit',
15
42
  label: 'Decimal Places',
16
43
  tooltip: 'The maximum number of decimal places.'
@@ -18,7 +45,7 @@ export default [
18
45
  {
19
46
  type: 'checkbox',
20
47
  input: true,
21
- weight: 90,
48
+ weight: 110,
22
49
  key: 'requireDecimal',
23
50
  label: 'Require Decimal',
24
51
  tooltip: 'Always show decimals, even if trailing zeros.'
@@ -7,5 +7,4 @@ import comp6 from './comp6';
7
7
  import comp7 from './comp7';
8
8
  import comp8 from './comp8';
9
9
  import comp9 from './comp9';
10
- import comp10 from './comp10';
11
- export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9, comp10 };
10
+ export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9 };
@@ -7,5 +7,4 @@ import comp6 from './comp6';
7
7
  import comp7 from './comp7';
8
8
  import comp8 from './comp8';
9
9
  import comp9 from './comp9';
10
- import comp10 from './comp10';
11
- export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9, comp10 };
10
+ export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, comp9 };
@@ -1,12 +1,12 @@
1
1
  export default class TimeComponent extends TextFieldComponent {
2
- rawData: any;
2
+ rawData: string | never[];
3
3
  get dataFormat(): any;
4
4
  get skipMaskValidation(): boolean;
5
5
  isNotCompleteInput(value: any): any;
6
6
  removeValue(index: any): void;
7
7
  resetRawData(index: any): void;
8
8
  setRawValue(value: any, index: any): void;
9
- getRawValue(index: any): any;
9
+ getRawValue(index: any): string | never[];
10
10
  getValueAt(index: any): any;
11
11
  setValueAt(index: any, value: any): void;
12
12
  getStringAsValue(view: any): any;
@@ -31,8 +31,7 @@ export default class TimeComponent extends TextFieldComponent {
31
31
  this.component.inputType = isEdgeBrowser && edgeVersion <= 18
32
32
  ? 'text'
33
33
  : (this.component.inputType || 'time');
34
- // If default value is given then the raw data needs to be set
35
- this.rawData = this.component.multiple ? [] : this.getValueAsString(this.defaultValue) || this.emptyValue;
34
+ this.rawData = this.component.multiple ? [] : this.emptyValue;
36
35
  }
37
36
  static get builderInfo() {
38
37
  return {
@@ -63,7 +62,7 @@ export default class TimeComponent extends TextFieldComponent {
63
62
  return value;
64
63
  }
65
64
  get validationValue() {
66
- if ((Array.isArray(this.rawData) && !this.rawData.length) || !this.rawData) {
65
+ if (Array.isArray(this.rawData) && !this.rawData.length || !this.rawData) {
67
66
  return this.dataValue;
68
67
  }
69
68
  return this.rawData;
@@ -1,7 +1,6 @@
1
1
  import comp1 from './comp1';
2
2
  import comp2 from './comp2';
3
3
  import comp3 from './comp3';
4
- import comp4 from './comp4';
5
4
  import timeForm from './timeForm';
6
5
  import timeForm2 from './timeForm2';
7
- export { comp1, comp2, comp3, comp4, timeForm, timeForm2 };
6
+ export { comp1, comp2, comp3, timeForm, timeForm2 };
@@ -1,7 +1,6 @@
1
1
  import comp1 from './comp1';
2
2
  import comp2 from './comp2';
3
3
  import comp3 from './comp3';
4
- import comp4 from './comp4';
5
4
  import timeForm from './timeForm';
6
5
  import timeForm2 from './timeForm2';
7
- export { comp1, comp2, comp3, comp4, timeForm, timeForm2 };
6
+ export { comp1, comp2, comp3, timeForm, timeForm2 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5712.d53f35e",
3
+ "version": "5.0.0-dev.5713.ee12658",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {
@@ -1,18 +0,0 @@
1
- declare namespace _default {
2
- let components: {
3
- label: string;
4
- applyMaskOn: string;
5
- mask: boolean;
6
- tableView: boolean;
7
- delimiter: boolean;
8
- requireDecimal: boolean;
9
- inputFormat: string;
10
- truncateMultipleSpaces: boolean;
11
- validateWhenHidden: boolean;
12
- key: string;
13
- type: string;
14
- input: boolean;
15
- defaultValue: string;
16
- }[];
17
- }
18
- export default _default;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- components: [
5
- {
6
- "label": "Number",
7
- "applyMaskOn": "change",
8
- "mask": false,
9
- "tableView": false,
10
- "delimiter": false,
11
- "requireDecimal": false,
12
- "inputFormat": "plain",
13
- "truncateMultipleSpaces": false,
14
- "validateWhenHidden": false,
15
- "key": "number",
16
- "type": "number",
17
- "input": true,
18
- "defaultValue": "123.23"
19
- }
20
- ]
21
- };
@@ -1,166 +0,0 @@
1
- declare namespace _default {
2
- let type: string;
3
- let display: string;
4
- let components: {
5
- title: string;
6
- breadcrumbClickable: boolean;
7
- buttonSettings: {
8
- previous: boolean;
9
- cancel: boolean;
10
- next: boolean;
11
- };
12
- navigateOnEnter: boolean;
13
- saveOnEnter: boolean;
14
- scrollToTop: boolean;
15
- collapsible: boolean;
16
- key: string;
17
- type: string;
18
- label: string;
19
- components: {
20
- label: string;
21
- disabled: boolean;
22
- alwaysEnabled: boolean;
23
- tableView: boolean;
24
- defaultValue: string;
25
- key: string;
26
- type: string;
27
- input: boolean;
28
- inputMask: string;
29
- hideOnChildrenHidden: boolean;
30
- id: string;
31
- placeholder: string;
32
- prefix: string;
33
- customClass: string;
34
- suffix: string;
35
- multiple: boolean;
36
- protected: boolean;
37
- unique: boolean;
38
- persistent: boolean;
39
- hidden: boolean;
40
- clearOnHide: boolean;
41
- refreshOn: string;
42
- redrawOn: string;
43
- modalEdit: boolean;
44
- dataGridLabel: boolean;
45
- labelPosition: string;
46
- description: string;
47
- errorLabel: string;
48
- tooltip: string;
49
- hideLabel: boolean;
50
- tabindex: string;
51
- autofocus: boolean;
52
- dbIndex: boolean;
53
- customDefaultValue: string;
54
- calculateValue: string;
55
- calculateServer: boolean;
56
- widget: {
57
- type: string;
58
- };
59
- attributes: {};
60
- validateOn: string;
61
- validate: {
62
- required: boolean;
63
- custom: string;
64
- customPrivate: boolean;
65
- strictDateValidation: boolean;
66
- multiple: boolean;
67
- unique: boolean;
68
- minLength: string;
69
- maxLength: string;
70
- pattern: string;
71
- };
72
- conditional: {
73
- show: null;
74
- when: null;
75
- eq: string;
76
- };
77
- overlay: {
78
- style: string;
79
- left: string;
80
- top: string;
81
- width: string;
82
- height: string;
83
- };
84
- allowCalculateOverride: boolean;
85
- encrypted: boolean;
86
- showCharCount: boolean;
87
- showWordCount: boolean;
88
- properties: {};
89
- allowMultipleMasks: boolean;
90
- addons: never[];
91
- mask: boolean;
92
- inputType: string;
93
- inputFormat: string;
94
- displayMask: string;
95
- spellcheck: boolean;
96
- truncateMultipleSpaces: boolean;
97
- format: string;
98
- dataFormat: string;
99
- }[];
100
- input: boolean;
101
- tableView: boolean;
102
- id: string;
103
- placeholder: string;
104
- prefix: string;
105
- customClass: string;
106
- suffix: string;
107
- multiple: boolean;
108
- defaultValue: null;
109
- protected: boolean;
110
- unique: boolean;
111
- persistent: boolean;
112
- hidden: boolean;
113
- clearOnHide: boolean;
114
- refreshOn: string;
115
- redrawOn: string;
116
- modalEdit: boolean;
117
- dataGridLabel: boolean;
118
- labelPosition: string;
119
- description: string;
120
- errorLabel: string;
121
- tooltip: string;
122
- hideLabel: boolean;
123
- tabindex: string;
124
- disabled: boolean;
125
- autofocus: boolean;
126
- dbIndex: boolean;
127
- customDefaultValue: string;
128
- calculateValue: string;
129
- calculateServer: boolean;
130
- widget: null;
131
- attributes: {};
132
- validateOn: string;
133
- validate: {
134
- required: boolean;
135
- custom: string;
136
- customPrivate: boolean;
137
- strictDateValidation: boolean;
138
- multiple: boolean;
139
- unique: boolean;
140
- };
141
- conditional: {
142
- show: null;
143
- when: null;
144
- eq: string;
145
- };
146
- overlay: {
147
- style: string;
148
- left: string;
149
- top: string;
150
- width: string;
151
- height: string;
152
- };
153
- allowCalculateOverride: boolean;
154
- encrypted: boolean;
155
- showCharCount: boolean;
156
- showWordCount: boolean;
157
- properties: {};
158
- allowMultipleMasks: boolean;
159
- addons: never[];
160
- tree: boolean;
161
- lazyLoad: boolean;
162
- theme: string;
163
- breadcrumb: string;
164
- }[];
165
- }
166
- export default _default;