@asdp/ferryui 0.1.22-dev.9582 → 0.1.22-dev.9610

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/dist/index.d.mts CHANGED
@@ -1733,6 +1733,9 @@ type MANIFEST_ENTITY_TYPE = typeof MANIFEST_ENTITY[keyof typeof MANIFEST_ENTITY]
1733
1733
  interface LoadType {
1734
1734
  id: number;
1735
1735
  name: string;
1736
+ price: number;
1737
+ currency: string;
1738
+ formattedPrice: string;
1736
1739
  unit?: {
1737
1740
  id: string;
1738
1741
  name: string;
@@ -1741,6 +1744,7 @@ interface LoadType {
1741
1744
  declare const HARDCODED_ID: {
1742
1745
  readonly FAQ_ID_PEMESANAN_TIKET: 1;
1743
1746
  readonly COMPANY_ID_LAINNYA: "999999";
1747
+ readonly LOAD_TYPE_ID_LAINNYA: 87;
1744
1748
  };
1745
1749
 
1746
1750
  interface TypeOfServiceChild {
@@ -2023,7 +2027,7 @@ interface ModalFilterTicketProps {
2023
2027
  */
2024
2028
  onPriceRangeChange: (range: [number, number]) => void;
2025
2029
  /**
2026
- * Duration range [min, max] in hours
2030
+ * Duration range [min, max] in minutes
2027
2031
  */
2028
2032
  durationRange: [number, number];
2029
2033
  /**
@@ -2043,14 +2047,14 @@ interface ModalFilterTicketProps {
2043
2047
  */
2044
2048
  labels?: Partial<ModalFilterTicketLabels>;
2045
2049
  /**
2046
- * Optional custom service types
2050
+ * Service types list (from API data)
2047
2051
  */
2048
2052
  serviceTypes?: Array<{
2049
2053
  value: string;
2050
2054
  label: string;
2051
2055
  }>;
2052
2056
  /**
2053
- * Optional custom time slots
2057
+ * Time slots list (from API/Redux data)
2054
2058
  */
2055
2059
  timeSlots?: Array<{
2056
2060
  value: string;
@@ -2058,24 +2062,34 @@ interface ModalFilterTicketProps {
2058
2062
  }>;
2059
2063
  /**
2060
2064
  * Min price for range slider
2061
- * @default 200000
2065
+ * @default 0
2062
2066
  */
2063
2067
  minPrice?: number;
2064
2068
  /**
2065
2069
  * Max price for range slider
2066
- * @default 800000
2070
+ * @default 0
2067
2071
  */
2068
2072
  maxPrice?: number;
2069
2073
  /**
2070
- * Min duration for range slider (hours)
2074
+ * Min duration for range slider (minutes)
2071
2075
  * @default 0
2072
2076
  */
2073
2077
  minDuration?: number;
2074
2078
  /**
2075
- * Max duration for range slider (hours)
2076
- * @default 8
2079
+ * Max duration for range slider (minutes)
2080
+ * @default 0
2077
2081
  */
2078
2082
  maxDuration?: number;
2083
+ /**
2084
+ * Step value for duration range slider
2085
+ * @default 1
2086
+ */
2087
+ durationStep?: number;
2088
+ /**
2089
+ * Whether the filter data is still loading (shows skeleton)
2090
+ * @default false
2091
+ */
2092
+ isLoading?: boolean;
2079
2093
  }
2080
2094
  interface ModalFilterTicketLabels {
2081
2095
  title: string;
@@ -2089,6 +2103,7 @@ interface ModalFilterTicketLabels {
2089
2103
  resetButton: string;
2090
2104
  applyButton: string;
2091
2105
  hourUnit: string;
2106
+ minuteUnit: string;
2092
2107
  currencySymbol: string;
2093
2108
  closeAriaLabel: string;
2094
2109
  }
package/dist/index.d.ts CHANGED
@@ -1733,6 +1733,9 @@ type MANIFEST_ENTITY_TYPE = typeof MANIFEST_ENTITY[keyof typeof MANIFEST_ENTITY]
1733
1733
  interface LoadType {
1734
1734
  id: number;
1735
1735
  name: string;
1736
+ price: number;
1737
+ currency: string;
1738
+ formattedPrice: string;
1736
1739
  unit?: {
1737
1740
  id: string;
1738
1741
  name: string;
@@ -1741,6 +1744,7 @@ interface LoadType {
1741
1744
  declare const HARDCODED_ID: {
1742
1745
  readonly FAQ_ID_PEMESANAN_TIKET: 1;
1743
1746
  readonly COMPANY_ID_LAINNYA: "999999";
1747
+ readonly LOAD_TYPE_ID_LAINNYA: 87;
1744
1748
  };
1745
1749
 
1746
1750
  interface TypeOfServiceChild {
@@ -2023,7 +2027,7 @@ interface ModalFilterTicketProps {
2023
2027
  */
2024
2028
  onPriceRangeChange: (range: [number, number]) => void;
2025
2029
  /**
2026
- * Duration range [min, max] in hours
2030
+ * Duration range [min, max] in minutes
2027
2031
  */
2028
2032
  durationRange: [number, number];
2029
2033
  /**
@@ -2043,14 +2047,14 @@ interface ModalFilterTicketProps {
2043
2047
  */
2044
2048
  labels?: Partial<ModalFilterTicketLabels>;
2045
2049
  /**
2046
- * Optional custom service types
2050
+ * Service types list (from API data)
2047
2051
  */
2048
2052
  serviceTypes?: Array<{
2049
2053
  value: string;
2050
2054
  label: string;
2051
2055
  }>;
2052
2056
  /**
2053
- * Optional custom time slots
2057
+ * Time slots list (from API/Redux data)
2054
2058
  */
2055
2059
  timeSlots?: Array<{
2056
2060
  value: string;
@@ -2058,24 +2062,34 @@ interface ModalFilterTicketProps {
2058
2062
  }>;
2059
2063
  /**
2060
2064
  * Min price for range slider
2061
- * @default 200000
2065
+ * @default 0
2062
2066
  */
2063
2067
  minPrice?: number;
2064
2068
  /**
2065
2069
  * Max price for range slider
2066
- * @default 800000
2070
+ * @default 0
2067
2071
  */
2068
2072
  maxPrice?: number;
2069
2073
  /**
2070
- * Min duration for range slider (hours)
2074
+ * Min duration for range slider (minutes)
2071
2075
  * @default 0
2072
2076
  */
2073
2077
  minDuration?: number;
2074
2078
  /**
2075
- * Max duration for range slider (hours)
2076
- * @default 8
2079
+ * Max duration for range slider (minutes)
2080
+ * @default 0
2077
2081
  */
2078
2082
  maxDuration?: number;
2083
+ /**
2084
+ * Step value for duration range slider
2085
+ * @default 1
2086
+ */
2087
+ durationStep?: number;
2088
+ /**
2089
+ * Whether the filter data is still loading (shows skeleton)
2090
+ * @default false
2091
+ */
2092
+ isLoading?: boolean;
2079
2093
  }
2080
2094
  interface ModalFilterTicketLabels {
2081
2095
  title: string;
@@ -2089,6 +2103,7 @@ interface ModalFilterTicketLabels {
2089
2103
  resetButton: string;
2090
2104
  applyButton: string;
2091
2105
  hourUnit: string;
2106
+ minuteUnit: string;
2092
2107
  currencySymbol: string;
2093
2108
  closeAriaLabel: string;
2094
2109
  }