@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.
- package/dist-js/components/forms/lib/Forms.svelte.d.ts +2 -5
- package/dist-js/components/ticketSelection/TicketSelectionDetails.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/{TicketGroup.svelte.d.ts → segment/TicketSegment.svelte.d.ts} +7 -7
- package/dist-js/config/config.d.ts +1 -1
- package/dist-js/gomus-webcomponents.iife.js +12097 -9399
- package/dist-js/gomus-webcomponents.js +11625 -8927
- package/package.json +32 -37
- /package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/{GroupBody.svelte.d.ts → segment/Body.svelte.d.ts} +0 -0
- /package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/{GroupSum.svelte.d.ts → segment/Sum.svelte.d.ts} +0 -0
|
@@ -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
|
-
|
|
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/
|
|
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 '
|
|
2
|
-
import { UITicket } from '
|
|
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('
|
|
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('
|
|
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('
|
|
308
|
-
addItem(item: import('
|
|
309
|
-
addItems(items: import('
|
|
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;
|