Skip to main content

Interface: OptionSetsObservers

Properties

blockGroups

blockGroups: Observable<BlockGroupWithStatus[]>

List of all block groups with added info about actually selected options


blocks

blocks: Observable<PreparedBlock[]>

List of blocks for currently selected product. Should be used for regular products and if only 1 product selected at modular. All hidden options are filtered out


imageWidgetActiveBlock

imageWidgetActiveBlock: Observable<Nullable<ImageWidgetBlock>>

Active/opened Image/Texture Upload widget data. Used to differentiate to which block selected images from library should be applied.


imageWidgetImages

imageWidgetImages: Observable<Nullable<ImageWidgetImage[]>>

List of images at library for current customer/product


imageWidgetIsLibraryOpen

imageWidgetIsLibraryOpen: Observable<boolean>

If true Image/Texture Upload widget Library modal is opened


imageWidgetSelectedImage

imageWidgetSelectedImage: Observable<Nullable<string>>

ID of selected image for currently active block (if any)


imageWidgetUploadingImages

imageWidgetUploadingImages: Observable<boolean>

If true, we are uploading image for logos library


imageWidgetUploadingPrintOnDemand

imageWidgetUploadingPrintOnDemand: Observable<boolean>

If true, we are uploading image for print on demand widget result


multiBlocks

multiBlocks: Observable<MultiBlocks>

List of shared blocks for all selected products. Should be used if more than 1 product selected at modular.


selectedOptions

selectedOptions: Observable<Record<string, SelectedOptions>>

List of actually selected options