feat(core): Update LLM applications building support (no-changelog) (#7710)
extracted out of #7336 --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
4a89504d54
commit
117962d473
@@ -16,7 +16,7 @@ export const register = () => {
|
||||
const sizeDifference = (unconnectedPlusSize - unconnectedDiamondWidth) / 2;
|
||||
|
||||
const container = svg.node('g', {
|
||||
style: `--svg-color: var(${endpointInstance.params.color})`,
|
||||
style: `--svg-color: var(--endpoint-svg-color, var(${endpointInstance.params.color}))`,
|
||||
width,
|
||||
height,
|
||||
});
|
||||
|
||||
@@ -46,6 +46,14 @@ export class N8nAddInputEndpoint extends EndpointRepresentation<ComputedN8nAddIn
|
||||
this.instance.unbind(EVENT_ENDPOINT_CLICK, this.fireClickEvent);
|
||||
}
|
||||
|
||||
setError() {
|
||||
this.endpoint.addClass('add-input-endpoint-error');
|
||||
}
|
||||
|
||||
resetError() {
|
||||
this.endpoint.removeClass('add-input-endpoint-error');
|
||||
}
|
||||
|
||||
fireClickEvent = (endpoint: Endpoint) => {
|
||||
if (endpoint === this.endpoint) {
|
||||
this.instance.fire(EVENT_ADD_INPUT_ENDPOINT_CLICK, this.endpoint);
|
||||
|
||||
Reference in New Issue
Block a user