@gingkoo/pandora-metabase 1.0.90 → 1.0.91

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.
@@ -507,10 +507,12 @@ var SelectFilterColumn = function SelectFilterColumn(_ref) {
507
507
  setRhsVal([{
508
508
  type: _types.AtomsTypeEnum.INPUT_STRING,
509
509
  val: (0, _dayjs["default"])(val).format('YYYY-MM-DD HH:mm')
510
- }, {
511
- type: _types.AtomsTypeEnum.INPUT_STRING,
512
- val: (0, _dayjs["default"])(val).format('YYYY-MM-DD HH:mm')
513
- }]);
510
+ }
511
+ // {
512
+ // type: AtomsTypeEnum.INPUT_STRING,
513
+ // val: moment(val).format('YYYY-MM-DD HH:mm'),
514
+ // },
515
+ ]);
514
516
  } else {
515
517
  setRhsVal([{
516
518
  val: '',
@@ -1021,7 +1021,8 @@ var FormulaList = (0, _react.forwardRef)(function (props, ref) {
1021
1021
  }), (0, _jsxRuntime.jsxs)("div", {
1022
1022
  style: {
1023
1023
  maxHeight: '700px',
1024
- overflow: 'auto'
1024
+ overflow: 'auto',
1025
+ wordBreak: 'break-word'
1025
1026
  },
1026
1027
  children: [previewMode === 'diff' && (0, _jsxRuntime.jsx)(_diffViewer["default"], {
1027
1028
  oldCode: oldCode,
@@ -186,7 +186,8 @@
186
186
  -webkit-box-align: center;
187
187
  align-items: center;
188
188
  cursor: pointer;
189
- height: 36px;
189
+ min-height: 36px;
190
+ word-break: break-word;
190
191
  // &-OPERATOR {
191
192
  // // 操作符
192
193
  // background-color: var(--link-5);
@@ -498,10 +498,12 @@ var SelectFilterColumn = function SelectFilterColumn(_ref) {
498
498
  setRhsVal([{
499
499
  type: AtomsTypeEnum.INPUT_STRING,
500
500
  val: moment(val).format('YYYY-MM-DD HH:mm')
501
- }, {
502
- type: AtomsTypeEnum.INPUT_STRING,
503
- val: moment(val).format('YYYY-MM-DD HH:mm')
504
- }]);
501
+ }
502
+ // {
503
+ // type: AtomsTypeEnum.INPUT_STRING,
504
+ // val: moment(val).format('YYYY-MM-DD HH:mm'),
505
+ // },
506
+ ]);
505
507
  } else {
506
508
  setRhsVal([{
507
509
  val: '',
@@ -1013,7 +1013,8 @@ var FormulaList = forwardRef(function (props, ref) {
1013
1013
  }), _jsxs("div", {
1014
1014
  style: {
1015
1015
  maxHeight: '700px',
1016
- overflow: 'auto'
1016
+ overflow: 'auto',
1017
+ wordBreak: 'break-word'
1017
1018
  },
1018
1019
  children: [previewMode === 'diff' && _jsx(DiffViewer, {
1019
1020
  oldCode: oldCode,
@@ -186,7 +186,8 @@
186
186
  -webkit-box-align: center;
187
187
  align-items: center;
188
188
  cursor: pointer;
189
- height: 36px;
189
+ min-height: 36px;
190
+ word-break: break-word;
190
191
  // &-OPERATOR {
191
192
  // // 操作符
192
193
  // background-color: var(--link-5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "1.0.90",
3
+ "version": "1.0.91",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",
@@ -27,7 +27,7 @@
27
27
  "react-dom": "^17.0.0 || ^18.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@gingkoo/pandora": "1.2.20-alpha.2",
30
+ "@gingkoo/pandora": "1.2.20-alpha.3",
31
31
  "@gingkoo/pandora-hooks": "1.0.5",
32
32
  "@gingkoo/pandora-icons": "0.0.1-alpha.28",
33
33
  "@types/diff": "^8.0.0",