New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bfwk/editor

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfwk/editor - npm Package Compare versions

Comparing version 0.8.22 to 0.8.23

4

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [0.8.22](https://github.com/salesforce/builder-framework/compare/v0.8.21...v0.8.22) (2022-04-21)
## [0.8.23](https://github.com/salesforce/builder-framework/compare/v0.8.22...v0.8.23) (2022-05-17)

@@ -12,3 +12,3 @@

* **ruleBuilder:** Interaction issues for complex nested components @W-10874733 [@testfix](https://github.com/testfix)@ ([#441](https://github.com/salesforce/builder-framework/issues/441)) ([e32f3da](https://github.com/salesforce/builder-framework/commit/e32f3da275ad729c153b25e5a4a18ca8581b3584))
* coupled selectedId with selectedPropertySheet @W-10818724 ([#452](https://github.com/salesforce/builder-framework/issues/452)) ([bd040c7](https://github.com/salesforce/builder-framework/commit/bd040c743f89954a82053acc47f16ba4f985844c))

@@ -15,0 +15,0 @@

@@ -674,4 +674,3 @@ import { createStore } from '@bfwk/store-redux';

if (!type && this.defaultPropertySheetNodeId) {
this.selectedId = this.defaultPropertySheetNodeId;
await this.emitSelectedPropertySheet();
await this.emitSelectedPropertySheet(this.defaultPropertySheetNodeId);
}

@@ -724,8 +723,5 @@ else if (type && this.visiblePropertySheet) {

}
if (payload.id) {
this.selectedId = payload.id;
}
else {
this.selectedId = this.defaultPropertySheetNodeId;
}
const selectedId = payload.id
? payload.id
: this.defaultPropertySheetNodeId;
const getNodesSelector = this.documentModel.getSelector(GET_NODES_SELECTOR);

@@ -736,5 +732,5 @@ if (!getNodesSelector ||

}
await this.emitSelectedPropertySheet();
await this.emitSelectedPropertySheet(selectedId);
this.selectObservableCreator.emit({
id: this.selectedId,
id: selectedId,
});

@@ -790,11 +786,12 @@ }

}
async emitSelectedPropertySheet() {
const type = this.getNodeIdentifier(this.documentModel, this.selectedId);
async emitSelectedPropertySheet(selectedId) {
const type = this.getNodeIdentifier(this.documentModel, selectedId);
const { propertySheetClass, propertySheetUi } = this.getPropertySheetMap().get(type) ||
this.getDefaultPropertySheetConfig();
this.extendedPropertyState = await this.getExtendedPropertyState(this.documentModel, this.selectedId);
this.extendedPropertyState = await this.getExtendedPropertyState(this.documentModel, selectedId);
const data = Object.assign({}, this.builderSpecificData || {}, (await this.buildData(type)) || {}, {
contexts: new Map(Object.entries(await this.getContexts())),
});
this.eventSheet = await this.createExtendedEventSheet(this.getNodeIdentifier(this.documentModel, this.selectedId), this.extendedPropertyState.eventState);
this.eventSheet = await this.createExtendedEventSheet(this.getNodeIdentifier(this.documentModel, selectedId), this.extendedPropertyState.eventState);
this.selectedId = selectedId;
if (propertySheetClass === 'MetadataDrivenPropertySheet') {

@@ -801,0 +798,0 @@ this.selectedPropertySheet = this.createMetadataDrivenPropertySheet(this.toCapturePropertySheetLabel(this, this.getPropertySheetDescriptionProvider(type)), this.extendedPropertyState.propertyState, data);

@@ -65,3 +65,3 @@ import { BasePropertySheetContainer, PropertySheet, PropertySheetDescription, PropertySheetDescriptionProvider, PropertySheetUiDefinition, PropertyState, PropertyValidationService } from '@bfwk/property-editor';

getInitialStateForComponent(componentId?: string): Promise<PropertyState | undefined>;
protected emitSelectedPropertySheet(): Promise<void>;
protected emitSelectedPropertySheet(selectedId: Guid): Promise<void>;
private toCapturePropertySheetLabel;

@@ -68,0 +68,0 @@ protected createEventSheet(description: PropertySheetDescription, initialState: DINode[]): Promise<EventSheet>;

{
"name": "@bfwk/editor",
"version": "0.8.22",
"version": "0.8.23",
"description": "LBF Editor",

@@ -32,19 +32,19 @@ "type": "module",

"dependencies": {
"@bfwk/baas": "0.8.22",
"@bfwk/canvas": "0.8.22",
"@bfwk/command": "0.8.22",
"@bfwk/data-service": "0.8.22",
"@bfwk/di-editor": "0.8.22",
"@bfwk/document-model": "0.8.22",
"@bfwk/dp-editor": "0.8.22",
"@bfwk/elements-palette": "0.8.22",
"@bfwk/error-handler": "0.8.22",
"@bfwk/instrumentation": "0.8.22",
"@bfwk/property-editor": "0.8.22",
"@bfwk/pub-sub": "0.8.22",
"@bfwk/sf-selector": "0.8.22",
"@bfwk/store": "0.8.22",
"@bfwk/store-redux": "0.8.22",
"@bfwk/undo-redo": "0.8.22",
"@bfwk/utils": "0.8.22",
"@bfwk/baas": "0.8.23",
"@bfwk/canvas": "0.8.23",
"@bfwk/command": "0.8.23",
"@bfwk/data-service": "0.8.23",
"@bfwk/di-editor": "0.8.23",
"@bfwk/document-model": "0.8.23",
"@bfwk/dp-editor": "0.8.23",
"@bfwk/elements-palette": "0.8.23",
"@bfwk/error-handler": "0.8.23",
"@bfwk/instrumentation": "0.8.23",
"@bfwk/property-editor": "0.8.23",
"@bfwk/pub-sub": "0.8.23",
"@bfwk/sf-selector": "0.8.23",
"@bfwk/store": "0.8.23",
"@bfwk/store-redux": "0.8.23",
"@bfwk/undo-redo": "0.8.23",
"@bfwk/utils": "0.8.23",
"@lwc/wire-service": "2.11.3"

@@ -51,0 +51,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc