@bit-sun/business-component 2.1.1-alpha.25 → 2.1.1-alpha.26

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.
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
+ import './index.less';
2
3
  declare const JsonQueryTable: React.NamedExoticComponent<object>;
3
4
  export default JsonQueryTable;
package/dist/index.esm.js CHANGED
@@ -30362,7 +30362,7 @@ var FieldsSettingsTable = (function (props) {
30362
30362
  })), fieldsModify.visible && /*#__PURE__*/React.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
30363
30363
  });
30364
30364
 
30365
- var css_248z$p = ".customFieldsDrawer :global .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer :global .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer :global .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer :global .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
30365
+ var css_248z$p = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
30366
30366
  styleInject(css_248z$p);
30367
30367
 
30368
30368
  function iterFileds(fields) {
@@ -30670,7 +30670,7 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
30670
30670
  onClose: function onClose() {
30671
30671
  return setVisible(false);
30672
30672
  },
30673
- className: css_248z$p.customFieldsDrawer
30673
+ className: 'customFieldsDrawer'
30674
30674
  }, /*#__PURE__*/React.createElement("div", {
30675
30675
  ref: styleRef
30676
30676
  }), isEmpty(moduleParams) ? /*#__PURE__*/React.createElement("div", {
package/dist/index.js CHANGED
@@ -30380,7 +30380,7 @@ var FieldsSettingsTable = (function (props) {
30380
30380
  })), fieldsModify.visible && /*#__PURE__*/React__default['default'].createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
30381
30381
  });
30382
30382
 
30383
- var css_248z$p = ".customFieldsDrawer :global .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer :global .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer :global .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer :global .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
30383
+ var css_248z$p = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
30384
30384
  styleInject(css_248z$p);
30385
30385
 
30386
30386
  function iterFileds(fields) {
@@ -30688,7 +30688,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
30688
30688
  onClose: function onClose() {
30689
30689
  return setVisible(false);
30690
30690
  },
30691
- className: css_248z$p.customFieldsDrawer
30691
+ className: 'customFieldsDrawer'
30692
30692
  }, /*#__PURE__*/React__default['default'].createElement("div", {
30693
30693
  ref: styleRef
30694
30694
  }), _.isEmpty(moduleParams) ? /*#__PURE__*/React__default['default'].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.1.1-alpha.25",
3
+ "version": "2.1.1-alpha.26",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1,19 +1,17 @@
1
1
 
2
2
 
3
3
  .customFieldsDrawer{
4
- :global {
5
- .ant-col-8{
6
- flex: 0 0 100%!important;
7
- max-width: 100%!important;
8
- }
9
- .ant-form-item{
10
- margin-bottom: 0!important;
11
- }
12
- .ant-form{
13
- margin-bottom: 15px;
14
- }
15
- .sula-template-query-table-fields-wrapper{
16
- align-items: center;
17
- }
4
+ .ant-col-8{
5
+ flex: 0 0 100%!important;
6
+ max-width: 100%!important;
7
+ }
8
+ .ant-form-item{
9
+ margin-bottom: 0!important;
10
+ }
11
+ .ant-form{
12
+ margin-bottom: 15px;
13
+ }
14
+ .sula-template-query-table-fields-wrapper{
15
+ align-items: center;
18
16
  }
19
17
  }
@@ -7,7 +7,7 @@ import Editor from './jsonEditor';
7
7
  import axios from 'axios';
8
8
  import FieldsSettingsTable from './components/FieldsSettingsTable';
9
9
  import { isEmpty } from "lodash"
10
- import style from './index.less';
10
+ import './index.less';
11
11
 
12
12
  function iterFileds (fields) {
13
13
  let filedsValue = [];
@@ -291,7 +291,7 @@ const JsonQueryTable = React.memo(props => {
291
291
 
292
292
  return (
293
293
  <div>
294
- <Drawer visible={visible} width={800} onClose={() => setVisible(false)} className={style.customFieldsDrawer}>
294
+ <Drawer visible={visible} width={800} onClose={() => setVisible(false)} className={'customFieldsDrawer'}>
295
295
  <div ref={styleRef}>
296
296
 
297
297
  </div>