tickera-angular-components 0.0.1-dev.73 → 0.0.1-dev.74

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/i18n/en.json CHANGED
@@ -90,7 +90,8 @@
90
90
  },
91
91
  "itemType": {
92
92
  "PRODUCT": "Product",
93
- "TICKET": "Ticket"
93
+ "TICKET": "Ticket",
94
+ "GIFT_BOND": "Gift bond"
94
95
  }
95
96
  }
96
97
  }
package/i18n/es.json CHANGED
@@ -90,7 +90,8 @@
90
90
  },
91
91
  "itemType": {
92
92
  "PRODUCT": "Producto",
93
- "TICKET": "Entrada"
93
+ "TICKET": "Entrada",
94
+ "GIFT_BOND": "Bono de regalo"
94
95
  }
95
96
  }
96
97
  }
package/index.d.ts CHANGED
@@ -1076,29 +1076,29 @@ interface Order extends Auditable {
1076
1076
  order_items_quantity?: number;
1077
1077
  transactions: Transaction[];
1078
1078
  sub_total: number;
1079
- discount_amount: number;
1079
+ discount_amount: number | null;
1080
1080
  total: number;
1081
- sub_total_discounted: number;
1081
+ sub_total_discounted: number | null;
1082
1082
  total_discounted: number;
1083
- service_fee: number;
1084
- service_fee_discounted: number;
1085
- coupon: Coupon;
1086
- coupon_snapshot: Record<string, any>;
1083
+ service_fee: number | null;
1084
+ service_fee_discounted: number | null;
1085
+ coupon: Coupon | null;
1086
+ coupon_snapshot: Record<string, any> | null;
1087
1087
  status: OrderStatus;
1088
- show_snapshot: Record<string, any>;
1089
- performance_snapshot: Record<string, any>;
1090
- payment_method: PaymentMethod;
1088
+ show_snapshot: Record<string, any> | null;
1089
+ performance_snapshot: Record<string, any> | null;
1090
+ payment_method: PaymentMethod | null;
1091
1091
  terms_accepted: boolean;
1092
1092
  data_processing_accepted: boolean;
1093
- billing_info: Record<string, any>;
1094
- corporate_bond_code_snapshot: Record<string, any>;
1095
- gift_bond_snapshot: Record<string, any>;
1093
+ billing_info: Record<string, any> | null;
1094
+ corporate_bond_code_snapshot: Record<string, any> | null;
1095
+ gift_bond_snapshot: Record<string, any> | null;
1096
1096
  corporate_bond_code: CorporateBondCode | null;
1097
1097
  corporate_bond_code_id: number | null;
1098
1098
  gift_bond: GiftBond | null;
1099
1099
  gift_bond_id: number | null;
1100
- comments: string;
1101
- address_notes: string;
1100
+ comments: string | null;
1101
+ address_notes: string | null;
1102
1102
  mercado_pago_preference_id: string;
1103
1103
  created_by: number;
1104
1104
  created_by_type: CreatorType;
@@ -3401,9 +3401,12 @@ declare class OrderItemsComponent {
3401
3401
  protected get orderItems(): Order['order_items'];
3402
3402
  protected get products(): Order['order_items'];
3403
3403
  protected get tickets(): Order['order_items'];
3404
+ protected get giftBonds(): Order['order_items'];
3405
+ protected get showActionColumn(): boolean;
3404
3406
  protected itemTotal(quantity: number, price: number): number;
3405
3407
  protected hasDiscount(): boolean;
3406
3408
  protected get totals(): {
3409
+ giftBonds: number;
3407
3410
  products: number;
3408
3411
  tickets: number;
3409
3412
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickera-angular-components",
3
- "version": "0.0.1-dev.73",
3
+ "version": "0.0.1-dev.74",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {