@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.
@@ -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 && !lodash_1.default.isEqual(value, this.emptyValue)) {
191
+ if (this.manualModeEnabled && !this.isMultiple) {
198
192
  this.dataValue.address = value;
199
193
  }
200
194
  else {
@@ -10,7 +10,7 @@ class HTMLComponent extends Component_1.default {
10
10
  return Component_1.default.schema({
11
11
  label: 'HTML',
12
12
  type: 'htmlelement',
13
- tag: 'p',
13
+ tag: 'div',
14
14
  attrs: [],
15
15
  content: '',
16
16
  input: false,
@@ -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 && !_.isEqual(value, this.emptyValue)) {
184
+ if (this.manualModeEnabled && !this.isMultiple) {
194
185
  this.dataValue.address = value;
195
186
  }
196
187
  else {
@@ -5,7 +5,7 @@ export default class HTMLComponent extends Component {
5
5
  return Component.schema({
6
6
  label: 'HTML',
7
7
  type: 'htmlelement',
8
- tag: 'p',
8
+ tag: 'div',
9
9
  attrs: [],
10
10
  content: '',
11
11
  input: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5789.2e50e03",
3
+ "version": "5.0.0-dev.5792.f0b98eb",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {