@harbor-design/proform 1.2.19 → 1.2.21

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 (2) hide show
  1. package/dist/index.js +31 -29
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -172,34 +172,36 @@ class be {
172
172
  });
173
173
  }
174
174
  share(e) {
175
- if (q(e)) {
176
- const t = v(
177
- () => e.value,
178
- () => {
179
- h(this.runtimeCore.shared, e.value), this.runtimeCore.processor.schemaEffect.triggerEffects(), P(() => {
180
- t();
181
- });
182
- },
183
- {
184
- deep: !0,
185
- immediate: !0
186
- }
187
- );
188
- } else if (M(e)) {
189
- const t = v(
190
- () => e,
191
- () => {
192
- h(this.runtimeCore.shared, e), this.runtimeCore.processor.schemaEffect.triggerEffects(), P(() => {
193
- t();
194
- });
195
- },
196
- {
197
- deep: !0,
198
- immediate: !0
199
- }
200
- );
201
- } else
202
- h(this.runtimeCore.shared, e), this.runtimeCore.processor.schemaEffect.triggerEffects();
175
+ P(() => {
176
+ if (q(e)) {
177
+ const t = v(
178
+ () => e.value,
179
+ () => {
180
+ h(this.runtimeCore.shared, e.value), this.runtimeCore.processor.schemaEffect.triggerEffects(), P(() => {
181
+ t();
182
+ });
183
+ },
184
+ {
185
+ deep: !0,
186
+ immediate: !0
187
+ }
188
+ );
189
+ } else if (M(e)) {
190
+ const t = v(
191
+ () => e,
192
+ () => {
193
+ h(this.runtimeCore.shared, e), this.runtimeCore.processor.schemaEffect.triggerEffects(), P(() => {
194
+ t();
195
+ });
196
+ },
197
+ {
198
+ deep: !0,
199
+ immediate: !0
200
+ }
201
+ );
202
+ } else
203
+ h(this.runtimeCore.shared, e), this.runtimeCore.processor.schemaEffect.triggerEffects();
204
+ });
203
205
  }
204
206
  subscribeModel(e) {
205
207
  P(() => {
@@ -225,7 +227,7 @@ class be {
225
227
  var e;
226
228
  (e = this.runtimeCore) != null && e.model.value && (this.runtimeCore.model.value = g(
227
229
  this.runtimeCore.processor.stableModel
228
- ), this.readonlyReactiveModel.value = se(this.runtimeCore.model.value));
230
+ ), this.readonlyReactiveModel.value = se(this.runtimeCore.model.value), this.runtimeCore.runtimeAdapter.clearValidate(this.runtimeCore));
229
231
  }
230
232
  }
231
233
  class L {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",