@formio/js 5.0.0-dev.5659.a16afd8 → 5.0.0-dev.5661.22d0f16

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 (27) 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 +2 -2
  4. package/dist/formio.full.min.js +1 -1
  5. package/lib/cjs/components/_classes/component/Component.js +1 -1
  6. package/lib/cjs/components/_classes/component/fixtures/comp6.d.ts +77 -0
  7. package/lib/cjs/components/_classes/component/fixtures/comp6.js +59 -0
  8. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +2 -1
  9. package/lib/cjs/components/_classes/component/fixtures/index.js +3 -1
  10. package/lib/cjs/components/day/Day.d.ts +1 -1
  11. package/lib/cjs/components/day/Day.js +1 -1
  12. package/lib/cjs/components/day/fixtures/index.d.ts +1 -2
  13. package/lib/cjs/components/day/fixtures/index.js +1 -3
  14. package/lib/mjs/components/_classes/component/Component.js +1 -1
  15. package/lib/mjs/components/_classes/component/fixtures/comp6.d.ts +77 -0
  16. package/lib/mjs/components/_classes/component/fixtures/comp6.js +57 -0
  17. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +2 -1
  18. package/lib/mjs/components/_classes/component/fixtures/index.js +2 -1
  19. package/lib/mjs/components/day/Day.d.ts +1 -1
  20. package/lib/mjs/components/day/Day.js +1 -1
  21. package/lib/mjs/components/day/fixtures/index.d.ts +1 -2
  22. package/lib/mjs/components/day/fixtures/index.js +1 -2
  23. package/package.json +1 -1
  24. package/lib/cjs/components/day/fixtures/comp7.d.ts +0 -109
  25. package/lib/cjs/components/day/fixtures/comp7.js +0 -109
  26. package/lib/mjs/components/day/fixtures/comp7.d.ts +0 -109
  27. package/lib/mjs/components/day/fixtures/comp7.js +0 -107
@@ -1,109 +0,0 @@
1
- declare namespace _default {
2
- let components: ({
3
- type: string;
4
- key: string;
5
- label: string;
6
- placeholder: string;
7
- input: boolean;
8
- applyMaskOn?: undefined;
9
- tableView?: undefined;
10
- hideInputLabels?: undefined;
11
- inputsLabelPosition?: undefined;
12
- useLocaleSettings?: undefined;
13
- fields?: undefined;
14
- defaultValue?: undefined;
15
- values?: undefined;
16
- questions?: undefined;
17
- action?: undefined;
18
- theme?: undefined;
19
- } | {
20
- label: string;
21
- placeholder: string;
22
- applyMaskOn: string;
23
- tableView: boolean;
24
- key: string;
25
- type: string;
26
- input: boolean;
27
- hideInputLabels?: undefined;
28
- inputsLabelPosition?: undefined;
29
- useLocaleSettings?: undefined;
30
- fields?: undefined;
31
- defaultValue?: undefined;
32
- values?: undefined;
33
- questions?: undefined;
34
- action?: undefined;
35
- theme?: undefined;
36
- } | {
37
- label: string;
38
- hideInputLabels: boolean;
39
- inputsLabelPosition: string;
40
- useLocaleSettings: boolean;
41
- tableView: boolean;
42
- fields: {
43
- day: {
44
- placeholder: string;
45
- hide: boolean;
46
- };
47
- month: {
48
- type: string;
49
- placeholder: string;
50
- hide: boolean;
51
- };
52
- year: {
53
- placeholder: string;
54
- hide: boolean;
55
- };
56
- };
57
- key: string;
58
- type: string;
59
- input: boolean;
60
- defaultValue: string;
61
- placeholder?: undefined;
62
- applyMaskOn?: undefined;
63
- values?: undefined;
64
- questions?: undefined;
65
- action?: undefined;
66
- theme?: undefined;
67
- } | {
68
- type: string;
69
- key: string;
70
- label: string;
71
- values: {
72
- label: string;
73
- value: string;
74
- }[];
75
- questions: {
76
- label: string;
77
- value: string;
78
- }[];
79
- placeholder?: undefined;
80
- input?: undefined;
81
- applyMaskOn?: undefined;
82
- tableView?: undefined;
83
- hideInputLabels?: undefined;
84
- inputsLabelPosition?: undefined;
85
- useLocaleSettings?: undefined;
86
- fields?: undefined;
87
- defaultValue?: undefined;
88
- action?: undefined;
89
- theme?: undefined;
90
- } | {
91
- type: string;
92
- action: string;
93
- label: string;
94
- theme: string;
95
- key?: undefined;
96
- placeholder?: undefined;
97
- input?: undefined;
98
- applyMaskOn?: undefined;
99
- tableView?: undefined;
100
- hideInputLabels?: undefined;
101
- inputsLabelPosition?: undefined;
102
- useLocaleSettings?: undefined;
103
- fields?: undefined;
104
- defaultValue?: undefined;
105
- values?: undefined;
106
- questions?: undefined;
107
- })[];
108
- }
109
- export default _default;
@@ -1,107 +0,0 @@
1
- export default {
2
- components: [
3
- {
4
- type: 'textfield',
5
- key: 'firstName',
6
- label: 'First Name',
7
- placeholder: 'Enter your first name',
8
- input: true
9
- }, {
10
- "label": "Day",
11
- "placeholder": "Day",
12
- "applyMaskOn": "change",
13
- "tableView": true,
14
- "key": "day2",
15
- "type": "textfield",
16
- "input": true
17
- }, {
18
- "label": "Month",
19
- "placeholder": "Month",
20
- "applyMaskOn": "change",
21
- "tableView": true,
22
- "key": "month2",
23
- "type": "textfield",
24
- "input": true
25
- }, {
26
- "label": "Year",
27
- "placeholder": "Year",
28
- "applyMaskOn": "change",
29
- "tableView": true,
30
- "key": "year2",
31
- "type": "textfield",
32
- "input": true
33
- },
34
- {
35
- "label": "Day",
36
- "hideInputLabels": false,
37
- "inputsLabelPosition": "top",
38
- "useLocaleSettings": false,
39
- "tableView": false,
40
- "fields": {
41
- "day": {
42
- "placeholder": "Day",
43
- "hide": false
44
- },
45
- "month": {
46
- "type": "number",
47
- "placeholder": "Month",
48
- "hide": false
49
- },
50
- "year": {
51
- "placeholder": "Year",
52
- "hide": false
53
- }
54
- },
55
- "key": "day",
56
- "type": "day",
57
- "input": true,
58
- "defaultValue": "00/00/0000"
59
- },
60
- {
61
- type: 'textfield',
62
- key: 'lastName',
63
- label: 'Last Name',
64
- placeholder: 'Enter your last name',
65
- input: true
66
- },
67
- {
68
- type: 'survey',
69
- key: 'questions',
70
- label: 'Survey',
71
- values: [
72
- {
73
- label: 'Great',
74
- value: 'great'
75
- },
76
- {
77
- label: 'Good',
78
- value: 'good'
79
- },
80
- {
81
- label: 'Poor',
82
- value: 'poor'
83
- }
84
- ],
85
- questions: [
86
- {
87
- label: 'How would you rate the Form.io platform?',
88
- value: 'howWouldYouRateTheFormIoPlatform'
89
- },
90
- {
91
- label: 'How was Customer Support?',
92
- value: 'howWasCustomerSupport'
93
- },
94
- {
95
- label: 'Overall Experience?',
96
- value: 'overallExperience'
97
- }
98
- ]
99
- },
100
- {
101
- type: 'button',
102
- action: 'submit',
103
- label: 'Submit',
104
- theme: 'primary'
105
- }
106
- ]
107
- };