@gingkoo/pandora-metabase 0.0.12 → 0.0.14

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/lib/es/index.d.ts CHANGED
@@ -2,7 +2,8 @@ import React from 'react';
2
2
  export { restoreStructure, handleSqlStruct, compressionStructure } from './store/helper';
3
3
  import './locale/en';
4
4
  import './locale/zh';
5
- import type { MetabaseProps, SqlVisionBuilderRef } from './types';
5
+ import type { MetabaseProps, SqlVisionBuilderRef, DatasourceType } from './types';
6
+ import type { MetaListType, ToolbarType } from './store/types';
6
7
  /**
7
8
  * 规则
8
9
  * 1、主表一换 下面全部删除
@@ -11,3 +12,4 @@ import type { MetabaseProps, SqlVisionBuilderRef } from './types';
11
12
  */
12
13
  declare const SqlVisionBuilder: React.ForwardRefExoticComponent<MetabaseProps & React.RefAttributes<SqlVisionBuilderRef>>;
13
14
  export default SqlVisionBuilder;
15
+ export { MetabaseProps, DatasourceType, MetaListType, ToolbarType, SqlVisionBuilderRef };
package/lib/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @gingkoo/pandora-metabase v0.0.12
2
+ * @gingkoo/pandora-metabase v0.0.14
3
3
  */
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import * as React from 'react';
@@ -5713,6 +5713,7 @@ const JoinData = props => {
5713
5713
  const showSubQuery = (val = []) => {
5714
5714
  const {
5715
5715
  ref,
5716
+ subToolbar,
5716
5717
  ...other
5717
5718
  } = store.preProps;
5718
5719
  let newMeta = store.metaList.slice();
@@ -5724,6 +5725,7 @@ const JoinData = props => {
5724
5725
  children: jsx(SqlVisionBuilder, {
5725
5726
  ...other,
5726
5727
  _showSubquery: store.showSubquery,
5728
+ toolbar: subToolbar,
5727
5729
  btnText: __('SqlQueryBuilder.confirm'),
5728
5730
  value: val,
5729
5731
  onOk: newList => {