2022-08-12 04:22:08 -07:00
|
|
|
import Vue from 'vue';
|
|
|
|
import N8nActionBox from '../components/N8nActionBox';
|
2022-09-26 06:25:19 -07:00
|
|
|
import N8nActionDropdown from '../components/N8nActionDropdown';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nActionToggle from '../components/N8nActionToggle';
|
2022-12-06 07:51:46 -08:00
|
|
|
import N8nAlert from '../components/N8nAlert';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nAvatar from '../components/N8nAvatar';
|
2022-11-15 09:20:54 -08:00
|
|
|
import N8nBadge from '../components/N8nBadge';
|
|
|
|
import N8nBlockUi from '../components/N8nBlockUi';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nButton from '../components/N8nButton';
|
|
|
|
import { N8nElButton } from '../components/N8nButton/overrides';
|
|
|
|
import N8nCallout from '../components/N8nCallout';
|
|
|
|
import N8nCard from '../components/N8nCard';
|
|
|
|
import N8nFormBox from '../components/N8nFormBox';
|
|
|
|
import N8nFormInputs from '../components/N8nFormInputs';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nHeading from '../components/N8nHeading';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nIcon from '../components/N8nIcon';
|
|
|
|
import N8nIconButton from '../components/N8nIconButton';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nInfoAccordion from '../components/N8nInfoAccordion';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nInfoTip from '../components/N8nInfoTip';
|
2022-09-21 01:20:29 -07:00
|
|
|
import { default as N8nInput } from '../components/N8nInput';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nInputLabel from '../components/N8nInputLabel';
|
|
|
|
import N8nInputNumber from '../components/N8nInputNumber';
|
|
|
|
import N8nLink from '../components/N8nLink';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nLoading from '../components/N8nLoading';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nMarkdown from '../components/N8nMarkdown';
|
|
|
|
import N8nMenu from '../components/N8nMenu';
|
|
|
|
import N8nMenuItem from '../components/N8nMenuItem';
|
feat(editor): Node creator actions (#4696)
* WIP: Node Actions List UI
* WIP: Recommended Actions and preseting of fields
* WIP: Resource category
* :art: Moved actions categorisation to the server
* :label: Add missing INodeAction type
* :sparkles: Improve SSR categorisation, fix adding of mixed actions
* :recycle: Refactor CategorizedItems to composition api, style fixes
* WIP: Adding multiple nodes
* :recycle: Refactor rest of the NodeCreator component to composition API, conver globalLinkActions to composable
* :sparkles: Allow actions dragging, fix search and refactor passing of actions to categorized items
* :lipstick: Fix node actions title
* Migrate to the pinia store, add posthog feature and various fixes
* :bug: Fix filtering of trigger actions when not merged
* fix: N8N-5439 — Do not use simple node item when at NodeHelperPanel root
* :bug: Design review fixes
* :bug: Fix disabling of merged actions
* Fix trigger root filtering
* :sparkles: Allow for custom node actions parser, introduce hubspot parser
* :bug: Fix initial node params validation, fix position of second added node
* :bug: Introduce operations category, removed canvas node names overrride, fix API actions display and prevent dragging of action nodes
* :sparkles: Prevent NDV auto-open feature flag
* :bug: Inject recommened action for trigger nodes without actions
* Refactored NodeCreatorNode to Storybook, change filtering of merged nodes for the trigger helper panel, minor fixes
* Improve rendering of app nodes and animation
* Cleanup, any only enable accordion transition on triggerhelperpanel
* Hide node creator scrollbars in Firefox
* Minor styles fixes
* Do not copy the array in rendering method
* Removed unused props
* Fix memory leak
* Fix categorisation of regular nodes with a single resource
* Implement telemetry calls for node actions
* Move categorization to FE
* Fix client side actions categorisation
* Skip custom action show
* Only load tooltip for NodeIcon if necessary
* Fix lodash startCase import
* Remove lodash.startcase
* Cleanup
* Fix node creator autofocus on "tab"
* Prevent posthog getFeatureFlag from crashing
* Debugging preview env search issues
* Remove logs
* Make sure the pre-filled params are update not overwritten
* Get rid of transition in itemiterator
* WIP: Rough version of NodeActions keyboard navigation, replace nodeCreator composable with Pinia store module
* Rewrite to add support for ActionItem to ItemIterator and make CategorizedItems accept items props
* Fix category item counter & cleanup
* Add APIHint to actions search no-result, clean up NodeCreatorNode
* Improve node actions no results message
* Remove logging, fix filtering of recommended placeholder category
* Remove unused NodeActions component and node merging feature falg
* Do not show regular nodes without actions
* Make sure to add manual trigger when adding http node via actions hint
* Fixed api hint footer line height
* Prevent pointer-events od NodeIcon img and remove "this" from template
* Address PR points
* Fix e2e specs
* Make sure canvas ia loaded
* Make sure canvas ia loaded before opening nodeCreator in e2e spec
* Fix flaky workflows tags e2e getter
* Imrpove node creator click outside UX, add manual node to regular nodes added from trigger panel
* Add manual trigger node if dragging regular from trigger panel
2022-12-09 01:56:36 -08:00
|
|
|
import N8nNodeCreatorNode from '../components/N8nNodeCreatorNode';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nNodeIcon from '../components/N8nNodeIcon';
|
|
|
|
import N8nNotice from '../components/N8nNotice';
|
|
|
|
import N8nOption from '../components/N8nOption';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nPopover from '../components/N8nPopover';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nPulse from '../components/N8nPulse';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nRadioButtons from '../components/N8nRadioButtons';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nSelect from '../components/N8nSelect';
|
|
|
|
import N8nSpinner from '../components/N8nSpinner';
|
|
|
|
import N8nSticky from '../components/N8nSticky';
|
|
|
|
import N8nTabs from '../components/N8nTabs';
|
|
|
|
import N8nTag from '../components/N8nTag';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nTags from '../components/N8nTags';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nText from '../components/N8nText';
|
|
|
|
import N8nTooltip from '../components/N8nTooltip';
|
2022-08-24 05:47:42 -07:00
|
|
|
import N8nTree from '../components/N8nTree';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nUserInfo from '../components/N8nUserInfo';
|
2022-08-12 04:22:08 -07:00
|
|
|
import N8nUserSelect from '../components/N8nUserSelect';
|
2022-09-21 01:20:29 -07:00
|
|
|
import N8nUsersList from '../components/N8nUsersList';
|
2022-09-22 08:41:15 -07:00
|
|
|
import N8nResizeWrapper from '../components/N8nResizeWrapper';
|
2023-01-26 23:51:32 -08:00
|
|
|
import N8nRecycleScroller from '../components/N8nRecycleScroller';
|
2022-08-12 04:22:08 -07:00
|
|
|
|
|
|
|
export default {
|
2022-11-15 09:20:54 -08:00
|
|
|
install: (app: typeof Vue) => {
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-info-accordion', N8nInfoAccordion);
|
|
|
|
app.component('n8n-action-box', N8nActionBox);
|
2022-09-26 06:25:19 -07:00
|
|
|
app.component('n8n-action-dropdown', N8nActionDropdown);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-action-toggle', N8nActionToggle);
|
2022-12-06 07:51:46 -08:00
|
|
|
app.component('n8n-alert', N8nAlert);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-avatar', N8nAvatar);
|
2022-09-21 01:20:29 -07:00
|
|
|
app.component('n8n-badge', N8nBadge);
|
2022-10-31 10:59:53 -07:00
|
|
|
app.component('n8n-block-ui', N8nBlockUi);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-button', N8nButton);
|
|
|
|
app.component('el-button', N8nElButton);
|
|
|
|
app.component('n8n-callout', N8nCallout);
|
|
|
|
app.component('n8n-card', N8nCard);
|
|
|
|
app.component('n8n-form-box', N8nFormBox);
|
|
|
|
app.component('n8n-form-inputs', N8nFormInputs);
|
|
|
|
app.component('n8n-icon', N8nIcon);
|
|
|
|
app.component('n8n-icon-button', N8nIconButton);
|
|
|
|
app.component('n8n-info-tip', N8nInfoTip);
|
|
|
|
app.component('n8n-input', N8nInput);
|
|
|
|
app.component('n8n-input-label', N8nInputLabel);
|
|
|
|
app.component('n8n-input-number', N8nInputNumber);
|
|
|
|
app.component('n8n-loading', N8nLoading);
|
|
|
|
app.component('n8n-heading', N8nHeading);
|
|
|
|
app.component('n8n-link', N8nLink);
|
|
|
|
app.component('n8n-markdown', N8nMarkdown);
|
|
|
|
app.component('n8n-menu', N8nMenu);
|
|
|
|
app.component('n8n-menu-item', N8nMenuItem);
|
feat(editor): Node creator actions (#4696)
* WIP: Node Actions List UI
* WIP: Recommended Actions and preseting of fields
* WIP: Resource category
* :art: Moved actions categorisation to the server
* :label: Add missing INodeAction type
* :sparkles: Improve SSR categorisation, fix adding of mixed actions
* :recycle: Refactor CategorizedItems to composition api, style fixes
* WIP: Adding multiple nodes
* :recycle: Refactor rest of the NodeCreator component to composition API, conver globalLinkActions to composable
* :sparkles: Allow actions dragging, fix search and refactor passing of actions to categorized items
* :lipstick: Fix node actions title
* Migrate to the pinia store, add posthog feature and various fixes
* :bug: Fix filtering of trigger actions when not merged
* fix: N8N-5439 — Do not use simple node item when at NodeHelperPanel root
* :bug: Design review fixes
* :bug: Fix disabling of merged actions
* Fix trigger root filtering
* :sparkles: Allow for custom node actions parser, introduce hubspot parser
* :bug: Fix initial node params validation, fix position of second added node
* :bug: Introduce operations category, removed canvas node names overrride, fix API actions display and prevent dragging of action nodes
* :sparkles: Prevent NDV auto-open feature flag
* :bug: Inject recommened action for trigger nodes without actions
* Refactored NodeCreatorNode to Storybook, change filtering of merged nodes for the trigger helper panel, minor fixes
* Improve rendering of app nodes and animation
* Cleanup, any only enable accordion transition on triggerhelperpanel
* Hide node creator scrollbars in Firefox
* Minor styles fixes
* Do not copy the array in rendering method
* Removed unused props
* Fix memory leak
* Fix categorisation of regular nodes with a single resource
* Implement telemetry calls for node actions
* Move categorization to FE
* Fix client side actions categorisation
* Skip custom action show
* Only load tooltip for NodeIcon if necessary
* Fix lodash startCase import
* Remove lodash.startcase
* Cleanup
* Fix node creator autofocus on "tab"
* Prevent posthog getFeatureFlag from crashing
* Debugging preview env search issues
* Remove logs
* Make sure the pre-filled params are update not overwritten
* Get rid of transition in itemiterator
* WIP: Rough version of NodeActions keyboard navigation, replace nodeCreator composable with Pinia store module
* Rewrite to add support for ActionItem to ItemIterator and make CategorizedItems accept items props
* Fix category item counter & cleanup
* Add APIHint to actions search no-result, clean up NodeCreatorNode
* Improve node actions no results message
* Remove logging, fix filtering of recommended placeholder category
* Remove unused NodeActions component and node merging feature falg
* Do not show regular nodes without actions
* Make sure to add manual trigger when adding http node via actions hint
* Fixed api hint footer line height
* Prevent pointer-events od NodeIcon img and remove "this" from template
* Address PR points
* Fix e2e specs
* Make sure canvas ia loaded
* Make sure canvas ia loaded before opening nodeCreator in e2e spec
* Fix flaky workflows tags e2e getter
* Imrpove node creator click outside UX, add manual node to regular nodes added from trigger panel
* Add manual trigger node if dragging regular from trigger panel
2022-12-09 01:56:36 -08:00
|
|
|
app.component('n8n-node-creator-node', N8nNodeCreatorNode);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-node-icon', N8nNodeIcon);
|
|
|
|
app.component('n8n-notice', N8nNotice);
|
|
|
|
app.component('n8n-option', N8nOption);
|
2022-09-21 01:20:29 -07:00
|
|
|
app.component('n8n-popover', N8nPopover);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-pulse', N8nPulse);
|
|
|
|
app.component('n8n-select', N8nSelect);
|
|
|
|
app.component('n8n-spinner', N8nSpinner);
|
|
|
|
app.component('n8n-sticky', N8nSticky);
|
|
|
|
app.component('n8n-radio-buttons', N8nRadioButtons);
|
|
|
|
app.component('n8n-tags', N8nTags);
|
|
|
|
app.component('n8n-tabs', N8nTabs);
|
|
|
|
app.component('n8n-tag', N8nTag);
|
|
|
|
app.component('n8n-text', N8nText);
|
|
|
|
app.component('n8n-tooltip', N8nTooltip);
|
2022-09-21 01:20:29 -07:00
|
|
|
app.component('n8n-user-info', N8nUserInfo);
|
2022-08-24 05:47:42 -07:00
|
|
|
app.component('n8n-tree', N8nTree);
|
2022-08-12 04:22:08 -07:00
|
|
|
app.component('n8n-users-list', N8nUsersList);
|
|
|
|
app.component('n8n-user-select', N8nUserSelect);
|
2022-09-22 08:41:15 -07:00
|
|
|
app.component('n8n-resize-wrapper', N8nResizeWrapper);
|
2023-01-26 23:51:32 -08:00
|
|
|
app.component('n8n-recycle-scroller', N8nRecycleScroller);
|
2022-08-12 04:22:08 -07:00
|
|
|
},
|
|
|
|
};
|