@harbor-design/proform 1.2.19 → 1.2.20

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 +30 -28
  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(() => {
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.20",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",