mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
refactor: move translations and logging to new core (#36929)
This commit is contained in:
committed by
GitHub
parent
0294c30c9e
commit
e9b6791ffb
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
import { useCallback, useMemo } from 'react';
|
||||
import { MinusSquareOutlined, PlusSquareOutlined } from '@ant-design/icons';
|
||||
import { t } from '@apache-superset/core';
|
||||
import {
|
||||
AdhocMetric,
|
||||
BinaryQueryObjectFilterClause,
|
||||
@@ -31,7 +32,6 @@ import {
|
||||
isFeatureEnabled,
|
||||
isPhysicalColumn,
|
||||
NumberFormatter,
|
||||
t,
|
||||
} from '@superset-ui/core';
|
||||
import { styled, useTheme } from '@apache-superset/core/ui';
|
||||
import { aggregatorTemplates, PivotTable, sortAs } from './react-pivottable';
|
||||
|
||||
@@ -23,13 +23,13 @@ import {
|
||||
getStandardizedControls,
|
||||
sharedControls,
|
||||
} from '@superset-ui/chart-controls';
|
||||
import { t } from '@apache-superset/core';
|
||||
import {
|
||||
ensureIsArray,
|
||||
isAdhocColumn,
|
||||
isPhysicalColumn,
|
||||
QueryFormMetric,
|
||||
SMART_DATE_ID,
|
||||
t,
|
||||
validateNonEmpty,
|
||||
} from '@superset-ui/core';
|
||||
import { MetricsLayoutEnum } from '../types';
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { t } from '@apache-superset/core';
|
||||
import {
|
||||
Behavior,
|
||||
ChartMetadata,
|
||||
ChartPlugin,
|
||||
ChartProps,
|
||||
QueryFormData,
|
||||
t,
|
||||
} from '@superset-ui/core';
|
||||
import buildQuery from './buildQuery';
|
||||
import controlPanel from './controlPanel';
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
|
||||
import { Component } from 'react';
|
||||
import { t, safeHtmlSpan } from '@superset-ui/core';
|
||||
import { safeHtmlSpan } from '@superset-ui/core';
|
||||
import { t } from '@apache-superset/core/ui';
|
||||
import PropTypes from 'prop-types';
|
||||
import { PivotData, flatKey } from './utilities';
|
||||
import { Styles } from './Styles';
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import PropTypes from 'prop-types';
|
||||
import { t } from '@superset-ui/core';
|
||||
import { t } from '@apache-superset/core/ui';
|
||||
|
||||
const addSeparators = function (nStr, thousandsSep, decimalSep) {
|
||||
const x = String(nStr).split('.');
|
||||
|
||||
Reference in New Issue
Block a user