gotrip-fx-transaction-form 1.0.287-dev → 1.0.288-dev

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/index.js CHANGED
@@ -120883,10 +120883,18 @@ const Fat = () => {
120883
120883
  wr,
120884
120884
  {
120885
120885
  size: "sm",
120886
- colorScheme: "blue",
120886
+ bg: "blue.700",
120887
+ color: "white",
120888
+ borderRadius: "0.25rem",
120887
120889
  onClick: () => void Sr(),
120888
120890
  loading: J,
120889
120891
  disabled: !!se || !oe.trim() || J || it,
120892
+ _hover: {
120893
+ bg: "blue.800"
120894
+ },
120895
+ _active: {
120896
+ bg: "blue.900"
120897
+ },
120890
120898
  children: "Áp dụng"
120891
120899
  }
120892
120900
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.287-dev",
3
+ "version": "1.0.288-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -1,4 +1,7 @@
1
1
  import { EOrderPaymentType } from '../types/enum';
2
+ import { EApprovalStatus } from '../types/insurance';
3
+ export declare function getPaymentTypeLabel(paymentType?: EOrderPaymentType | string): string;
4
+ export declare function getApprovalStatusLabel(approvalBypassed?: boolean, approvalStatus?: EApprovalStatus | string | null): string;
2
5
  export declare function getOrderPaymentStatusShortLabel(params: {
3
6
  paymentTypeApplied?: EOrderPaymentType;
4
7
  paidAmount?: number;
@@ -1,4 +1,5 @@
1
1
  import { ESimPackageDataLimitTimeframe, ESimPackageDataLimitUnit, ESimPackageValidityType, ETransactionType } from '../types/response.dto';
2
+ export declare const getTransactionStatusLabel: (status?: string) => string;
2
3
  export declare const getTransactionType: (type: ETransactionType) => ETransactionType.STUDY | "Du học" | "Kinh doanh" | "Du lịch" | "Du lịch (Nhóm)" | "Di trú";
3
4
  export declare const formatDataLimit: (dataLimit: number, dataLimitUnit: ESimPackageDataLimitUnit, dataLimitTimeframe: ESimPackageDataLimitTimeframe) => string;
4
5
  export declare const formatValidity: (validityPeriod: number, validityType: ESimPackageValidityType) => string;