chore: format all frontend files (#430)

This commit is contained in:
tecvan
2025-07-31 23:15:48 +08:00
committed by GitHub
parent 8b078ff013
commit 6995cec404
8787 changed files with 11975 additions and 10924 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { LINE_OFFSET } from '../../../constants/lines';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { FlowRendererRegistry } from '@flowgram-adapter/free-layout-editor';

View File

@@ -13,12 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
// import { domUtils } from '@flowgram-adapter/common';
import { type FlowSelectorBoundsLayerOptions } from '@flowgram-adapter/free-layout-editor';
import { SelectionService, useService } from '@flowgram-adapter/free-layout-editor';
import {
SelectionService,
useService,
} from '@flowgram-adapter/free-layout-editor';
import { getSelectionBounds } from '../../utils/selection-utils';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import styles from './index.module.less';

View File

@@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import ReactDOM from 'react-dom';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import classNames from 'classnames';
import { Tooltip } from '@coze-arch/coze-design';
import { useService } from '@flowgram-adapter/free-layout-editor';
import {
usePlaygroundReadonlyState,
@@ -27,6 +26,7 @@ import {
WorkflowLinesManager,
type WorkflowPortEntity,
} from '@flowgram-adapter/free-layout-editor';
import { Tooltip } from '@coze-arch/coze-design';
import { PORT_BG_CLASS_NAME } from '../../constants/points';
import { Warning } from './warning';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import classNames from 'classnames';