@formio/js 5.0.0-dev.5789.2e50e03 → 5.0.0-dev.5792.f0b98eb
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 +2 -2
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +2 -2
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/components/address/Address.d.ts +0 -6
- package/lib/cjs/components/address/Address.js +1 -7
- package/lib/cjs/components/html/HTML.js +1 -1
- package/lib/mjs/components/address/Address.d.ts +0 -6
- package/lib/mjs/components/address/Address.js +1 -10
- package/lib/mjs/components/html/HTML.js +1 -1
- package/package.json +1 -1
|
@@ -11,12 +11,6 @@ export default class AddressComponent extends ContainerComponent {
|
|
|
11
11
|
weight: number;
|
|
12
12
|
schema: any;
|
|
13
13
|
};
|
|
14
|
-
static get serverConditionSettings(): {
|
|
15
|
-
operators: string[];
|
|
16
|
-
};
|
|
17
|
-
static get conditionOperatorsSettings(): {
|
|
18
|
-
operators: string[];
|
|
19
|
-
};
|
|
20
14
|
static get modeSwitcherRef(): string;
|
|
21
15
|
static get removeValueIconRef(): string;
|
|
22
16
|
static get searchInputRef(): string;
|
|
@@ -97,12 +97,6 @@ class AddressComponent extends Container_1.default {
|
|
|
97
97
|
schema: AddressComponent.schema(),
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
static get serverConditionSettings() {
|
|
101
|
-
return AddressComponent.conditionOperatorsSettings;
|
|
102
|
-
}
|
|
103
|
-
static get conditionOperatorsSettings() {
|
|
104
|
-
return Object.assign(Object.assign({}, super.conditionOperatorsSettings), { operators: ['isEmpty', 'isNotEmpty'] });
|
|
105
|
-
}
|
|
106
100
|
mergeSchema(component = {}) {
|
|
107
101
|
let { defaultSchema } = this;
|
|
108
102
|
if (component.components) {
|
|
@@ -194,7 +188,7 @@ class AddressComponent extends Container_1.default {
|
|
|
194
188
|
return (this.manualModeEnabled && this.dataValue) ? this.dataValue.address : this.dataValue;
|
|
195
189
|
}
|
|
196
190
|
set address(value) {
|
|
197
|
-
if (this.manualModeEnabled && !this.isMultiple
|
|
191
|
+
if (this.manualModeEnabled && !this.isMultiple) {
|
|
198
192
|
this.dataValue.address = value;
|
|
199
193
|
}
|
|
200
194
|
else {
|
|
@@ -11,12 +11,6 @@ export default class AddressComponent extends ContainerComponent {
|
|
|
11
11
|
weight: number;
|
|
12
12
|
schema: any;
|
|
13
13
|
};
|
|
14
|
-
static get serverConditionSettings(): {
|
|
15
|
-
operators: string[];
|
|
16
|
-
};
|
|
17
|
-
static get conditionOperatorsSettings(): {
|
|
18
|
-
operators: string[];
|
|
19
|
-
};
|
|
20
14
|
static get modeSwitcherRef(): string;
|
|
21
15
|
static get removeValueIconRef(): string;
|
|
22
16
|
static get searchInputRef(): string;
|
|
@@ -91,15 +91,6 @@ export default class AddressComponent extends ContainerComponent {
|
|
|
91
91
|
schema: AddressComponent.schema(),
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
static get serverConditionSettings() {
|
|
95
|
-
return AddressComponent.conditionOperatorsSettings;
|
|
96
|
-
}
|
|
97
|
-
static get conditionOperatorsSettings() {
|
|
98
|
-
return {
|
|
99
|
-
...super.conditionOperatorsSettings,
|
|
100
|
-
operators: ['isEmpty', 'isNotEmpty'],
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
94
|
mergeSchema(component = {}) {
|
|
104
95
|
let { defaultSchema } = this;
|
|
105
96
|
if (component.components) {
|
|
@@ -190,7 +181,7 @@ export default class AddressComponent extends ContainerComponent {
|
|
|
190
181
|
return (this.manualModeEnabled && this.dataValue) ? this.dataValue.address : this.dataValue;
|
|
191
182
|
}
|
|
192
183
|
set address(value) {
|
|
193
|
-
if (this.manualModeEnabled && !this.isMultiple
|
|
184
|
+
if (this.manualModeEnabled && !this.isMultiple) {
|
|
194
185
|
this.dataValue.address = value;
|
|
195
186
|
}
|
|
196
187
|
else {
|