mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
* feat(data-vi): allow to set auto refresh interval for charts * feat(data-vi): allow to add refresh button and set auto refresh interval * fix: build * fix: bug * chore: optimize global auto refresh * chore: remove console.log * fix: remove console log
26 lines
732 B
TypeScript
26 lines
732 B
TypeScript
/**
|
|
* This file is part of the NocoBase (R) project.
|
|
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
* Authors: NocoBase Team.
|
|
*
|
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
*/
|
|
|
|
import { SchemaInitializer } from '@nocobase/client';
|
|
import { lang } from '../locale';
|
|
import { RefreshActionInitializer } from './RefreshAction';
|
|
|
|
export const chartActionsInitializer = new SchemaInitializer({
|
|
name: 'chart:configureActions',
|
|
title: lang('Configure actions'),
|
|
icon: 'SettingOutlined',
|
|
items: [
|
|
{
|
|
name: 'refresh',
|
|
title: lang('Refresh'),
|
|
Component: RefreshActionInitializer,
|
|
},
|
|
],
|
|
});
|