@gomusdev/web-components 1.8.5 → 1.9.0

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.
@@ -15,11 +15,8 @@ export declare class Forms {
15
15
  static setRequiredApiKeys(formId: string, requiredApiKeys: string[]): void;
16
16
  static getRequiredApiKeys(formId: string): string[];
17
17
  static createField(key: string, required: boolean): Field;
18
- static getFormFields(formId: string): {
19
- key: string;
20
- required: boolean;
21
- }[];
22
- static getFieldInit(key: string): FieldInit;
18
+ static getFormFields(formId: string): any;
19
+ static getFieldInit(key: string): any;
23
20
  }
24
21
  /**
25
22
  * Calculates the number of fields that are mounted and have errors.
@@ -1,5 +1,5 @@
1
1
  import { Cart } from '../cart/lib/cart.svelte.ts';
2
- import { TicketGroupDetails } from './subcomponents/tickets/subcomponents/TicketGroup.svelte.ts';
2
+ import { TicketGroupDetails } from './subcomponents/tickets/subcomponents/segment/TicketSegment.svelte.ts';
3
3
  import { CalendarDate } from '@internationalized/date';
4
4
  export type TicketSelectionMode = 'ticket' | 'event' | 'tour';
5
5
  export declare const validTicketSelectionFilters: readonly ["timeslot", "day", "annual"];
@@ -1,11 +1,11 @@
1
- import { TicketSelectionDetails } from '../../../TicketSelectionDetails.svelte.ts';
2
- import { UITicket } from '../../../../../lib/gomusTicket.svelte.ts';
1
+ import { TicketSelectionDetails } from '../../../../TicketSelectionDetails.svelte.ts';
2
+ import { UITicket } from '../../../../../../lib/gomusTicket.svelte.ts';
3
3
  export type TicketGroupType = 'timeslot' | 'annual' | 'custom' | 'day';
4
4
  export declare class TicketGroupDetails {
5
5
  tickets: UITicket[];
6
6
  preCart: {
7
7
  items: {
8
- type: import('../../../../cart/lib/CartItem').OrderItemType;
8
+ type: import('../../../../../cart/lib/CartItem').OrderItemType;
9
9
  item: {
10
10
  type: "annual" | "timeslot" | "day";
11
11
  shop_order: number;
@@ -141,7 +141,7 @@ export declare class TicketGroupDetails {
141
141
  }[];
142
142
  uid: string;
143
143
  readonly nonEmptyItems: {
144
- type: import('../../../../cart/lib/CartItem').OrderItemType;
144
+ type: import('../../../../../cart/lib/CartItem').OrderItemType;
145
145
  item: {
146
146
  type: "annual" | "timeslot" | "day";
147
147
  shop_order: number;
@@ -304,9 +304,9 @@ export declare class TicketGroupDetails {
304
304
  };
305
305
  readonly totalFormatted: string;
306
306
  clearItems(): void;
307
- deleteItem(item: import('../../../../cart/lib/CartItem').CartItem): void;
308
- addItem(item: import('../../../../cart/lib/CartItem').CartItem): void;
309
- addItems(items: import('../../../../cart/lib/CartItem').CartItem[]): void;
307
+ deleteItem(item: import('../../../../../cart/lib/CartItem').CartItem): void;
308
+ addItem(item: import('../../../../../cart/lib/CartItem').CartItem): void;
309
+ addItems(items: import('../../../../../cart/lib/CartItem').CartItem[]): void;
310
310
  };
311
311
  filters: TicketGroupType;
312
312
  ticketSelectionDetails: TicketSelectionDetails | undefined;
@@ -1,7 +1,7 @@
1
1
  import { ConfigOptions } from './defaultConfig.ts';
2
2
  declare class Config {
3
3
  private options;
4
- get config(): Readonly<Required<ConfigOptions>>;
4
+ get config(): any;
5
5
  defineConfig(options: ConfigOptions): this;
6
6
  }
7
7
  export declare const go: Config;