@umbraco-commerce/backoffice 15.0.1 → 15.1.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -476,6 +476,9 @@ declare enum TemplateCategory {
|
|
|
476
476
|
/** @public **/
|
|
477
477
|
export declare const UC_ENTITY_QUICK_ACTION_DEFAULT_KIND_MANIFEST: UcDefaultManifestEntityQuickActionKind;
|
|
478
478
|
|
|
479
|
+
/** @public **/
|
|
480
|
+
export declare const UC_ORDER_LINE_ACTION_DEFAULT_KIND_MANIFEST: UcDefaultManifestOrderLineActionKind;
|
|
481
|
+
|
|
479
482
|
/** @public **/
|
|
480
483
|
export declare const UC_STORE_CONTEXT: UmbContextToken<UcStoreContext, UcStoreContext>;
|
|
481
484
|
|
|
@@ -502,6 +505,9 @@ export declare interface UcAnalyticsWidget extends UmbControllerHostElement {
|
|
|
502
505
|
/** @public **/
|
|
503
506
|
export declare type UcDefaultManifestEntityQuickActionKind = ManifestKind<UcManifestEntityQuickAction> & ManifestBase;
|
|
504
507
|
|
|
508
|
+
/** @public **/
|
|
509
|
+
export declare type UcDefaultManifestOrderLineActionKind = ManifestKind<UcManifestOrderLineAction> & ManifestBase;
|
|
510
|
+
|
|
505
511
|
/** @public **/
|
|
506
512
|
export declare interface UcEntityQuickActionApi extends UmbApi {
|
|
507
513
|
manifest: UcManifestEntityQuickAction;
|
|
@@ -540,6 +546,13 @@ export declare interface UcManifestOrderCollectionProperty extends UcManifestRes
|
|
|
540
546
|
meta: UcMetaOrderCollectionProperty;
|
|
541
547
|
}
|
|
542
548
|
|
|
549
|
+
/** @public **/
|
|
550
|
+
export declare interface UcManifestOrderLineAction extends ManifestElementAndApi<UcOrderLineActionElement, UcOrderLineActionApi> {
|
|
551
|
+
type: 'ucOrderLineAction';
|
|
552
|
+
forEntityTypes: UcOrderEntityTypes[];
|
|
553
|
+
meta: UcMetaOrderLineAction;
|
|
554
|
+
}
|
|
555
|
+
|
|
543
556
|
/** @public **/
|
|
544
557
|
export declare interface UcManifestOrderLineProperty extends UcManifestResolvableOrderProperty<UcMetaOrderLineProperty>, ManifestBase {
|
|
545
558
|
type: 'ucOrderLineProperty';
|
|
@@ -595,6 +608,12 @@ export declare interface UcMetaOrderCollectionProperty extends UcMetaResolvableO
|
|
|
595
608
|
labelConfig?: UmbPropertyEditorConfig | undefined;
|
|
596
609
|
}
|
|
597
610
|
|
|
611
|
+
/** @public **/
|
|
612
|
+
export declare interface UcMetaOrderLineAction {
|
|
613
|
+
label: string;
|
|
614
|
+
icon?: string;
|
|
615
|
+
}
|
|
616
|
+
|
|
598
617
|
/** @public **/
|
|
599
618
|
export declare interface UcMetaOrderLineProperty extends UcMetaResolvableOrderProperty {
|
|
600
619
|
readOnly?: boolean;
|
|
@@ -641,6 +660,23 @@ export declare interface UcMetaStoreMenuItem {
|
|
|
641
660
|
selectable?: boolean;
|
|
642
661
|
}
|
|
643
662
|
|
|
663
|
+
declare type UcOrderEntityTypes = 'uc:cart' | 'uc:order';
|
|
664
|
+
|
|
665
|
+
/** @public **/
|
|
666
|
+
export declare interface UcOrderLineActionApi extends UmbApi {
|
|
667
|
+
manifest: UcManifestOrderLineAction;
|
|
668
|
+
storeId: string;
|
|
669
|
+
orderId: string;
|
|
670
|
+
orderLineId: string;
|
|
671
|
+
execute(): Promise<void>;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** @public **/
|
|
675
|
+
export declare interface UcOrderLineActionElement extends UmbControllerHostElement {
|
|
676
|
+
manifest: UcManifestOrderLineAction;
|
|
677
|
+
api?: UcOrderLineActionApi;
|
|
678
|
+
}
|
|
679
|
+
|
|
644
680
|
/** @public **/
|
|
645
681
|
export declare class UcStoreContext extends UmbContextBase<UcStoreContext> {
|
|
646
682
|
#private;
|