@formio/js 5.1.0-dev.6056.ba6432d → 5.1.0-dev.6058.189ce78
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/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +16 -16
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +19 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +0 -13
- package/lib/cjs/components/content/editForm/Content.edit.display.js +0 -8
- package/lib/cjs/components/currency/editForm/Currency.edit.display.js +0 -12
- package/lib/cjs/components/day/editForm/Day.edit.display.js +0 -8
- package/lib/cjs/components/email/editForm/Email.edit.display.js +0 -12
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -8
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.js +0 -8
- package/lib/cjs/components/html/editForm/HTML.edit.display.js +0 -8
- package/lib/cjs/components/number/editForm/Number.edit.display.js +0 -12
- package/lib/cjs/components/password/editForm/Password.edit.display.js +1 -13
- package/lib/cjs/components/phonenumber/PhoneNumber.form.js +1 -9
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +0 -8
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.js +0 -12
- package/lib/cjs/components/url/editForm/Url.edit.display.js +0 -12
- package/lib/cjs/components/well/editForm/Well.edit.display.js +0 -8
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +19 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.form.js +0 -13
- package/lib/mjs/components/content/editForm/Content.edit.display.js +0 -8
- package/lib/mjs/components/currency/editForm/Currency.edit.display.js +0 -12
- package/lib/mjs/components/day/editForm/Day.edit.display.js +0 -8
- package/lib/mjs/components/email/editForm/Email.edit.display.js +0 -12
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -8
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.js +0 -8
- package/lib/mjs/components/html/editForm/HTML.edit.display.js +0 -8
- package/lib/mjs/components/number/editForm/Number.edit.display.js +0 -12
- package/lib/mjs/components/password/editForm/Password.edit.display.js +1 -13
- package/lib/mjs/components/phonenumber/PhoneNumber.form.js +1 -9
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +0 -8
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.js +0 -12
- package/lib/mjs/components/url/editForm/Url.edit.display.js +0 -12
- package/lib/mjs/components/well/editForm/Well.edit.display.js +0 -8
- package/package.json +1 -1
@@ -81,6 +81,25 @@ exports.default = [
|
|
81
81
|
}
|
82
82
|
]
|
83
83
|
},
|
84
|
+
{
|
85
|
+
name: 'hide',
|
86
|
+
trigger: {
|
87
|
+
type: 'javascript',
|
88
|
+
javascript: 'result = instance.root.options.editJson === false;'
|
89
|
+
},
|
90
|
+
actions: [
|
91
|
+
{
|
92
|
+
name: 'hide',
|
93
|
+
type: 'property',
|
94
|
+
property: {
|
95
|
+
label: 'Hidden',
|
96
|
+
value: 'hidden',
|
97
|
+
type: 'boolean'
|
98
|
+
},
|
99
|
+
state: true
|
100
|
+
}
|
101
|
+
]
|
102
|
+
},
|
84
103
|
{
|
85
104
|
name: 'disabledToolTip',
|
86
105
|
trigger: {
|
@@ -11,19 +11,6 @@ const Components_1 = __importDefault(require("../../Components"));
|
|
11
11
|
*/
|
12
12
|
function default_1(...extend) {
|
13
13
|
return Components_1.default.baseEditForm([
|
14
|
-
{
|
15
|
-
key: 'display',
|
16
|
-
components: [
|
17
|
-
{
|
18
|
-
key: 'labelWidth',
|
19
|
-
ignore: true
|
20
|
-
},
|
21
|
-
{
|
22
|
-
key: 'labelMargin',
|
23
|
-
ignore: true
|
24
|
-
}
|
25
|
-
]
|
26
|
-
},
|
27
14
|
{
|
28
15
|
key: 'data',
|
29
16
|
ignore: true
|
@@ -9,18 +9,6 @@ exports.default = [
|
|
9
9
|
key: 'allowMultipleMasks',
|
10
10
|
ignore: true
|
11
11
|
},
|
12
|
-
{
|
13
|
-
key: 'inputMasks',
|
14
|
-
ignore: true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
key: 'widget.type',
|
18
|
-
ignore: true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
key: 'widget',
|
22
|
-
ignore: true
|
23
|
-
},
|
24
12
|
{
|
25
13
|
key: 'showWordCount',
|
26
14
|
ignore: true
|
@@ -9,18 +9,6 @@ exports.default = [
|
|
9
9
|
key: 'allowMultipleMasks',
|
10
10
|
ignore: true,
|
11
11
|
},
|
12
|
-
{
|
13
|
-
key: 'inputMasks',
|
14
|
-
ignore: true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
key: 'widget.type',
|
18
|
-
ignore: true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
key: 'widget',
|
22
|
-
ignore: true
|
23
|
-
},
|
24
12
|
{
|
25
13
|
key: 'showWordCount',
|
26
14
|
ignore: true
|
@@ -13,18 +13,6 @@ exports.default = [
|
|
13
13
|
key: 'allowMultipleMasks',
|
14
14
|
ignore: true
|
15
15
|
},
|
16
|
-
{
|
17
|
-
key: 'inputMasks',
|
18
|
-
ignore: true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
key: 'widget.type',
|
22
|
-
ignore: true
|
23
|
-
},
|
24
|
-
{
|
25
|
-
key: 'widget',
|
26
|
-
ignore: true
|
27
|
-
},
|
28
16
|
{
|
29
17
|
key: 'showWordCount',
|
30
18
|
ignore: true,
|
@@ -14,22 +14,10 @@ exports.default = [
|
|
14
14
|
key: 'allowMultipleMasks',
|
15
15
|
ignore: true
|
16
16
|
},
|
17
|
-
{
|
18
|
-
key: 'inputMasks',
|
19
|
-
ignore: true
|
20
|
-
},
|
21
17
|
{
|
22
18
|
key: 'mask',
|
23
19
|
ignore: true
|
24
20
|
},
|
25
|
-
{
|
26
|
-
key: 'widget.type',
|
27
|
-
ignore: true
|
28
|
-
},
|
29
|
-
{
|
30
|
-
key: 'widget',
|
31
|
-
ignore: true
|
32
|
-
},
|
33
21
|
{
|
34
22
|
type: 'number',
|
35
23
|
input: true,
|
@@ -9,18 +9,6 @@ exports.default = [
|
|
9
9
|
key: 'allowMultipleMasks',
|
10
10
|
ignore: true
|
11
11
|
},
|
12
|
-
{
|
13
|
-
key: 'inputMasks',
|
14
|
-
ignore: true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
key: 'widget.type',
|
18
|
-
ignore: true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
key: 'widget',
|
22
|
-
ignore: true
|
23
|
-
},
|
24
12
|
{
|
25
13
|
key: 'showWordCount',
|
26
14
|
ignore: true,
|
@@ -76,6 +76,25 @@ export default [
|
|
76
76
|
}
|
77
77
|
]
|
78
78
|
},
|
79
|
+
{
|
80
|
+
name: 'hide',
|
81
|
+
trigger: {
|
82
|
+
type: 'javascript',
|
83
|
+
javascript: 'result = instance.root.options.editJson === false;'
|
84
|
+
},
|
85
|
+
actions: [
|
86
|
+
{
|
87
|
+
name: 'hide',
|
88
|
+
type: 'property',
|
89
|
+
property: {
|
90
|
+
label: 'Hidden',
|
91
|
+
value: 'hidden',
|
92
|
+
type: 'boolean'
|
93
|
+
},
|
94
|
+
state: true
|
95
|
+
}
|
96
|
+
]
|
97
|
+
},
|
79
98
|
{
|
80
99
|
name: 'disabledToolTip',
|
81
100
|
trigger: {
|
@@ -6,19 +6,6 @@ import Components from '../../Components';
|
|
6
6
|
*/
|
7
7
|
export default function (...extend) {
|
8
8
|
return Components.baseEditForm([
|
9
|
-
{
|
10
|
-
key: 'display',
|
11
|
-
components: [
|
12
|
-
{
|
13
|
-
key: 'labelWidth',
|
14
|
-
ignore: true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
key: 'labelMargin',
|
18
|
-
ignore: true
|
19
|
-
}
|
20
|
-
]
|
21
|
-
},
|
22
9
|
{
|
23
10
|
key: 'data',
|
24
11
|
ignore: true
|
@@ -7,18 +7,6 @@ export default [
|
|
7
7
|
key: 'allowMultipleMasks',
|
8
8
|
ignore: true
|
9
9
|
},
|
10
|
-
{
|
11
|
-
key: 'inputMasks',
|
12
|
-
ignore: true
|
13
|
-
},
|
14
|
-
{
|
15
|
-
key: 'widget.type',
|
16
|
-
ignore: true
|
17
|
-
},
|
18
|
-
{
|
19
|
-
key: 'widget',
|
20
|
-
ignore: true
|
21
|
-
},
|
22
10
|
{
|
23
11
|
key: 'showWordCount',
|
24
12
|
ignore: true
|
@@ -7,18 +7,6 @@ export default [
|
|
7
7
|
key: 'allowMultipleMasks',
|
8
8
|
ignore: true,
|
9
9
|
},
|
10
|
-
{
|
11
|
-
key: 'inputMasks',
|
12
|
-
ignore: true
|
13
|
-
},
|
14
|
-
{
|
15
|
-
key: 'widget.type',
|
16
|
-
ignore: true
|
17
|
-
},
|
18
|
-
{
|
19
|
-
key: 'widget',
|
20
|
-
ignore: true
|
21
|
-
},
|
22
10
|
{
|
23
11
|
key: 'showWordCount',
|
24
12
|
ignore: true
|
@@ -11,18 +11,6 @@ export default [
|
|
11
11
|
key: 'allowMultipleMasks',
|
12
12
|
ignore: true
|
13
13
|
},
|
14
|
-
{
|
15
|
-
key: 'inputMasks',
|
16
|
-
ignore: true
|
17
|
-
},
|
18
|
-
{
|
19
|
-
key: 'widget.type',
|
20
|
-
ignore: true
|
21
|
-
},
|
22
|
-
{
|
23
|
-
key: 'widget',
|
24
|
-
ignore: true
|
25
|
-
},
|
26
14
|
{
|
27
15
|
key: 'showWordCount',
|
28
16
|
ignore: true,
|
@@ -9,22 +9,10 @@ export default [
|
|
9
9
|
key: 'allowMultipleMasks',
|
10
10
|
ignore: true
|
11
11
|
},
|
12
|
-
{
|
13
|
-
key: 'inputMasks',
|
14
|
-
ignore: true
|
15
|
-
},
|
16
12
|
{
|
17
13
|
key: 'mask',
|
18
14
|
ignore: true
|
19
15
|
},
|
20
|
-
{
|
21
|
-
key: 'widget.type',
|
22
|
-
ignore: true
|
23
|
-
},
|
24
|
-
{
|
25
|
-
key: 'widget',
|
26
|
-
ignore: true
|
27
|
-
},
|
28
16
|
{
|
29
17
|
type: 'number',
|
30
18
|
input: true,
|
@@ -7,18 +7,6 @@ export default [
|
|
7
7
|
key: 'allowMultipleMasks',
|
8
8
|
ignore: true
|
9
9
|
},
|
10
|
-
{
|
11
|
-
key: 'inputMasks',
|
12
|
-
ignore: true
|
13
|
-
},
|
14
|
-
{
|
15
|
-
key: 'widget.type',
|
16
|
-
ignore: true
|
17
|
-
},
|
18
|
-
{
|
19
|
-
key: 'widget',
|
20
|
-
ignore: true
|
21
|
-
},
|
22
10
|
{
|
23
11
|
key: 'showWordCount',
|
24
12
|
ignore: true,
|