@ebiz/designer-components 0.0.29 → 0.0.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebiz/designer-components",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -242,6 +242,18 @@ const handleUpdateVisible = (visible) => {
242
242
  dialogVisible.value = visible;
243
243
  emit('update:visible', visible);
244
244
  };
245
+
246
+ defineExpose({
247
+ dialogVisible,
248
+ show: () => {
249
+ dialogVisible.value = true;
250
+ handleUpdateVisible(true)
251
+ },
252
+ hide: () => {
253
+ dialogVisible.value = false;
254
+ handleUpdateVisible(false)
255
+ }
256
+ })
245
257
  </script>
246
258
 
247
259
  <style lang="less" scoped>