@formio/js 5.1.0-dev.6064.1c8db05 → 5.1.0-dev.6066.c5295e7
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.full.js +2 -2
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/WebformBuilder.js +1 -1
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +0 -4
- package/lib/cjs/components/address/editForm/Address.edit.display.js +0 -1
- package/lib/mjs/WebformBuilder.js +1 -1
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +0 -4
- package/lib/mjs/components/address/editForm/Address.edit.display.js +0 -1
- package/package.json +1 -1
@@ -1624,7 +1624,7 @@ class WebformBuilder extends Component_1.default {
|
|
1624
1624
|
}
|
1625
1625
|
hasEditTabs(type) {
|
1626
1626
|
// If the component type does not exist then it has no edit tabs
|
1627
|
-
if (!Components_1.default.components[type]) {
|
1627
|
+
if (!Components_1.default.components[type === 'custom' ? 'unknown' : type]) {
|
1628
1628
|
return false;
|
1629
1629
|
}
|
1630
1630
|
const editTabs = (0, formUtils_1.getComponent)(Components_1.default.components[type === 'custom' ? 'unknown' : type].editForm().components, 'tabs', true).components;
|
@@ -8,7 +8,6 @@ declare const _default: ({
|
|
8
8
|
customConditional: ({ data }: {
|
9
9
|
data: any;
|
10
10
|
}) => boolean;
|
11
|
-
defaultValue?: undefined;
|
12
11
|
placeholder?: undefined;
|
13
12
|
validate?: undefined;
|
14
13
|
} | {
|
@@ -16,7 +15,6 @@ declare const _default: ({
|
|
16
15
|
type: string;
|
17
16
|
input: boolean;
|
18
17
|
key: string;
|
19
|
-
defaultValue: string;
|
20
18
|
label: string;
|
21
19
|
placeholder: string;
|
22
20
|
tooltip: string;
|
@@ -34,7 +32,6 @@ declare const _default: ({
|
|
34
32
|
label: string;
|
35
33
|
tooltip: string;
|
36
34
|
customConditional?: undefined;
|
37
|
-
defaultValue?: undefined;
|
38
35
|
placeholder?: undefined;
|
39
36
|
validate?: undefined;
|
40
37
|
} | {
|
@@ -48,7 +45,6 @@ declare const _default: ({
|
|
48
45
|
customConditional: ({ data }: {
|
49
46
|
data: any;
|
50
47
|
}) => any;
|
51
|
-
defaultValue?: undefined;
|
52
48
|
validate?: undefined;
|
53
49
|
})[];
|
54
50
|
export default _default;
|
@@ -15,7 +15,6 @@ exports.default = [
|
|
15
15
|
type: 'textfield',
|
16
16
|
input: true,
|
17
17
|
key: 'switchToManualModeLabel',
|
18
|
-
defaultValue: 'Can\'t find address? Switch to manual mode.',
|
19
18
|
label: 'Switch To Manual Mode Label',
|
20
19
|
placeholder: 'Switch To Manual Mode Label',
|
21
20
|
tooltip: 'The label for the checkbox used to switch to manual mode.',
|
@@ -1627,7 +1627,7 @@ export default class WebformBuilder extends Component {
|
|
1627
1627
|
}
|
1628
1628
|
hasEditTabs(type) {
|
1629
1629
|
// If the component type does not exist then it has no edit tabs
|
1630
|
-
if (!Components.components[type]) {
|
1630
|
+
if (!Components.components[type === 'custom' ? 'unknown' : type]) {
|
1631
1631
|
return false;
|
1632
1632
|
}
|
1633
1633
|
const editTabs = getComponent(Components.components[type === 'custom' ? 'unknown' : type].editForm().components, 'tabs', true).components;
|
@@ -8,7 +8,6 @@ declare const _default: ({
|
|
8
8
|
customConditional: ({ data }: {
|
9
9
|
data: any;
|
10
10
|
}) => boolean;
|
11
|
-
defaultValue?: undefined;
|
12
11
|
placeholder?: undefined;
|
13
12
|
validate?: undefined;
|
14
13
|
} | {
|
@@ -16,7 +15,6 @@ declare const _default: ({
|
|
16
15
|
type: string;
|
17
16
|
input: boolean;
|
18
17
|
key: string;
|
19
|
-
defaultValue: string;
|
20
18
|
label: string;
|
21
19
|
placeholder: string;
|
22
20
|
tooltip: string;
|
@@ -34,7 +32,6 @@ declare const _default: ({
|
|
34
32
|
label: string;
|
35
33
|
tooltip: string;
|
36
34
|
customConditional?: undefined;
|
37
|
-
defaultValue?: undefined;
|
38
35
|
placeholder?: undefined;
|
39
36
|
validate?: undefined;
|
40
37
|
} | {
|
@@ -48,7 +45,6 @@ declare const _default: ({
|
|
48
45
|
customConditional: ({ data }: {
|
49
46
|
data: any;
|
50
47
|
}) => any;
|
51
|
-
defaultValue?: undefined;
|
52
48
|
validate?: undefined;
|
53
49
|
})[];
|
54
50
|
export default _default;
|
@@ -13,7 +13,6 @@ export default [
|
|
13
13
|
type: 'textfield',
|
14
14
|
input: true,
|
15
15
|
key: 'switchToManualModeLabel',
|
16
|
-
defaultValue: 'Can\'t find address? Switch to manual mode.',
|
17
16
|
label: 'Switch To Manual Mode Label',
|
18
17
|
placeholder: 'Switch To Manual Mode Label',
|
19
18
|
tooltip: 'The label for the checkbox used to switch to manual mode.',
|