mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-26 12:18:21 +00:00
commit
d2912d3106
5
.github/workflows/stale.yml
vendored
5
.github/workflows/stale.yml
vendored
@ -16,4 +16,7 @@ jobs:
|
|||||||
days-before-issue-stale: 10
|
days-before-issue-stale: 10
|
||||||
days-before-issue-close: 2
|
days-before-issue-close: 2
|
||||||
days-before-pr-stale: 10
|
days-before-pr-stale: 10
|
||||||
days-before-pr-close: 2
|
days-before-pr-close: 2
|
||||||
|
exempt-issue-labels: 'bug,enhancement,good first issue,help wanted,WIP'
|
||||||
|
stale-issue-label: 'stale'
|
||||||
|
stale-pr-label: 'stale'
|
||||||
@ -98,7 +98,7 @@ class Toolbar extends Component<{ observed: OffsetObserver }> {
|
|||||||
const { node } = observed;
|
const { node } = observed;
|
||||||
const actions: ReactNodeArray = [];
|
const actions: ReactNodeArray = [];
|
||||||
node.componentMeta.availableActions.forEach((action) => {
|
node.componentMeta.availableActions.forEach((action) => {
|
||||||
const { important, condition, content, name } = action;
|
const { important = true, condition, content, name } = action;
|
||||||
if (node.isSlot() && (name === 'copy' || name === 'remove')) {
|
if (node.isSlot() && (name === 'copy' || name === 'remove')) {
|
||||||
// FIXME: need this?
|
// FIXME: need this?
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
import { isFormEvent, compatibleLegaoSchema, getNodeSchemaById } from '@alilc/lowcode-utils';
|
import { isFormEvent, compatibleLegaoSchema, getNodeSchemaById } from '@alilc/lowcode-utils';
|
||||||
import { isNodeSchema } from '@alilc/lowcode-types';
|
import { isNodeSchema } from '@alilc/lowcode-types';
|
||||||
|
import { getConvertedExtraKey, getOriginalExtraKey } from '@alilc/lowcode-designer';
|
||||||
|
|
||||||
const utils = {
|
const utils = {
|
||||||
isNodeSchema,
|
isNodeSchema,
|
||||||
isFormEvent,
|
isFormEvent,
|
||||||
compatibleLegaoSchema,
|
compatibleLegaoSchema,
|
||||||
getNodeSchemaById,
|
getNodeSchemaById,
|
||||||
|
getConvertedExtraKey,
|
||||||
|
getOriginalExtraKey,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default utils;
|
export default utils;
|
||||||
Loading…
x
Reference in New Issue
Block a user