@bfwk/property-editor
Advanced tools
Comparing version 0.6.28 to 0.6.29
@@ -6,8 +6,9 @@ # Change Log | ||
## [0.6.28](https://github.com/salesforce/builder-framework/compare/v0.6.27...v0.6.28) (2021-06-10) | ||
## [0.6.29](https://github.com/salesforce/builder-framework/compare/v0.6.28...v0.6.29) (2021-06-14) | ||
### Features | ||
### Bug Fixes | ||
* array editor @W-7849390 ([#82](https://github.com/salesforce/builder-framework/issues/82)) ([0ac7731](https://github.com/salesforce/builder-framework/commit/0ac7731fb23aa8b42cad439e8c2d4639f84a36b6)) | ||
* ensure common setup won't mix up new/old type systems @W-9368470 ([#93](https://github.com/salesforce/builder-framework/issues/93)) ([4b1ba22](https://github.com/salesforce/builder-framework/commit/4b1ba225b992a9d6d349fe7073d1c9902dcc6674)) | ||
* initial errors for stateful property sheet @W-7849390 ([#95](https://github.com/salesforce/builder-framework/issues/95)) ([bb492c7](https://github.com/salesforce/builder-framework/commit/bb492c7b88682ca4eacd85f19404c123ff49d449)) | ||
@@ -14,0 +15,0 @@ |
import { ComponentDefinition, ComponentResolver, LWCComponentInstance } from '@lcem/declarative-ui-generator'; | ||
import { DeclarativeTypeMap, EditorOverride, ViewMetadataSchema } from '@lcem/canonical-ui-metadata-schema'; | ||
import { DeclarativeTypeMap, Renderers, ViewMetadataSchema } from '@lcem/canonical-ui-metadata-schema'; | ||
import { Json, ValidatorFormatExtension } from '@lcem/declarative-type-validator'; | ||
@@ -23,3 +23,3 @@ import { InstrumentationService } from '@bfwk/instrumentation'; | ||
private readonly infoComponents; | ||
constructor(schema: Json, properties: Properties | undefined, propertyEditorMap: PropertyEditorMap, instrumentationService: InstrumentationService, dependencyMapBuilder: DependencyMapBuilder, initialState: PropertyState, basePropertySheetItemVisitor: BasePropertySheetItemVisitor, validationCallback: ValueValidationCallback<any>, valueChangeCallback: ValueMayHaveChangedCallback<any>, errorMessages: ErrorMessageMap, renderers: EditorOverride, validatorFormatExtensions: ValidatorFormatExtension[], getPropertyValueValidity?: PropertyValueValidityGetter, referenceMap?: DeclarativeTypeMap); | ||
constructor(schema: Json, properties: Properties | undefined, propertyEditorMap: PropertyEditorMap, instrumentationService: InstrumentationService, dependencyMapBuilder: DependencyMapBuilder, initialState: PropertyState, basePropertySheetItemVisitor: BasePropertySheetItemVisitor, validationCallback: ValueValidationCallback<any>, valueChangeCallback: ValueMayHaveChangedCallback<any>, errorMessages: ErrorMessageMap, renderers: Renderers, validatorFormatExtensions: ValidatorFormatExtension[], getPropertyValueValidity?: PropertyValueValidityGetter, referenceMap?: DeclarativeTypeMap); | ||
resolve(component: ViewMetadataSchema): ComponentDefinition<LWCComponentInstance> | null; | ||
@@ -26,0 +26,0 @@ getPropertyEditors(): PropertyEditor<any>[]; |
@@ -12,7 +12,13 @@ import { BasePropertySheet } from './base-property-sheet'; | ||
import { PropertyValueValidityGetter } from './resolver/property-sheet-control-resolver'; | ||
/** | ||
* This is a property sheet that maintains the state of the property values. | ||
* Errors, however, are still stateless due to the limitation that | ||
* property sheets doesn't emit detailed errors of the property value changes. | ||
* | ||
* */ | ||
export declare class StatefulPropertySheet extends BasePropertySheet { | ||
protected state: any; | ||
private state; | ||
constructor(validationService: PropertyValidationService, errorHandler: ErrorHandler, instrumentationService: InstrumentationService, publishEvent: PublishEvent, propertySheetDescriptionProvider: PropertySheetDescriptionProvider, initialState: PropertyState, propertyEditorMap: PropertyEditorMap, errorMessages: ErrorMessageMap, featureSet: FeatureSet, auraPropertyEditorWrapper: FullyQualifiedName, getPropertyValueValidity?: PropertyValueValidityGetter, builderSpecificData?: any); | ||
protected getState(): any; | ||
} | ||
export declare function createStatefulPropertySheetFactory(value: any, errors: any, callback: (newValue: any) => void): PropertySheetFactory; | ||
export declare function createStatefulPropertySheetFactory(callback: (newValue: any) => void): PropertySheetFactory; |
{ | ||
"name": "@bfwk/property-editor", | ||
"version": "0.6.28", | ||
"version": "0.6.29", | ||
"description": "LBF Property Editor", | ||
@@ -33,13 +33,13 @@ "type": "module", | ||
"dependencies": { | ||
"@bfwk/data-service": "0.6.28", | ||
"@bfwk/error-handler": "0.6.28", | ||
"@bfwk/expression-completion": "0.6.28", | ||
"@bfwk/instrumentation": "0.6.28", | ||
"@bfwk/pub-sub": "0.6.28", | ||
"@bfwk/store": "0.6.28", | ||
"@bfwk/utils": "0.6.28", | ||
"@lcem/canonical-ui-metadata-schema": "0.6.11", | ||
"@lcem/declarative-type-validator": "0.6.11", | ||
"@lcem/declarative-ui-generator": "0.6.11", | ||
"@lcem/unified-experience-model": "0.6.11", | ||
"@bfwk/data-service": "0.6.29", | ||
"@bfwk/error-handler": "0.6.29", | ||
"@bfwk/expression-completion": "0.6.29", | ||
"@bfwk/instrumentation": "0.6.29", | ||
"@bfwk/pub-sub": "0.6.29", | ||
"@bfwk/store": "0.6.29", | ||
"@bfwk/utils": "0.6.29", | ||
"@lcem/canonical-ui-metadata-schema": "0.6.13", | ||
"@lcem/declarative-type-validator": "0.6.13", | ||
"@lcem/declarative-ui-generator": "0.6.13", | ||
"@lcem/unified-experience-model": "0.6.13", | ||
"@lwc/wire-service": "1.17.6" | ||
@@ -46,0 +46,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
564110
12718
+ Added@bfwk/command@0.6.29(transitive)
+ Added@bfwk/data-service@0.6.29(transitive)
+ Added@bfwk/error-handler@0.6.29(transitive)
+ Added@bfwk/expression-completion@0.6.29(transitive)
+ Added@bfwk/instrumentation@0.6.29(transitive)
+ Added@bfwk/pub-sub@0.6.29(transitive)
+ Added@bfwk/store@0.6.29(transitive)
+ Added@bfwk/utils@0.6.29(transitive)
+ Added@lcem/canonical-ui-metadata-schema@0.6.13(transitive)
+ Added@lcem/declarative-type-validator@0.6.13(transitive)
+ Added@lcem/declarative-ui-generator@0.6.13(transitive)
+ Added@lcem/unified-experience-model@0.6.13(transitive)
- Removed@bfwk/command@0.6.28(transitive)
- Removed@bfwk/data-service@0.6.28(transitive)
- Removed@bfwk/error-handler@0.6.28(transitive)
- Removed@bfwk/expression-completion@0.6.28(transitive)
- Removed@bfwk/instrumentation@0.6.28(transitive)
- Removed@bfwk/pub-sub@0.6.28(transitive)
- Removed@bfwk/store@0.6.28(transitive)
- Removed@bfwk/utils@0.6.28(transitive)
- Removed@lcem/canonical-ui-metadata-schema@0.6.11(transitive)
- Removed@lcem/declarative-type-validator@0.6.11(transitive)
- Removed@lcem/declarative-ui-generator@0.6.11(transitive)
- Removed@lcem/unified-experience-model@0.6.11(transitive)
Updated@bfwk/data-service@0.6.29
Updated@bfwk/error-handler@0.6.29
Updated@bfwk/instrumentation@0.6.29
Updated@bfwk/pub-sub@0.6.29
Updated@bfwk/store@0.6.29
Updated@bfwk/utils@0.6.29