@gomusdev/web-components 4.14.4 → 4.15.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/README.md +18 -0
- package/dist-js/components/order/components/subcomponents/breakdown/items/Coupon.svelte.d.ts +1 -0
- package/dist-js/components/order/components/subcomponents/breakdown/items/Donation.svelte.d.ts +1 -0
- package/dist-js/components/order/components/subcomponents/breakdown/items/Merchandise.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.iife.js +286 -114
- package/dist-js/gomus-webcomponents.js +286 -114
- package/dist-js/gomus-webcomponents.min.iife.js +19 -19
- package/dist-js/gomus-webcomponents.min.js +4593 -4489
- package/dist-js/src/components/order/components/subcomponents/breakdown/items/Coupon.spec.d.ts +1 -0
- package/dist-js/src/components/order/components/subcomponents/breakdown/items/Donation.spec.d.ts +1 -0
- package/dist-js/src/components/order/components/subcomponents/breakdown/items/Merchandise.spec.d.ts +1 -0
- package/dist-js/src/components/order/lib/OrderDetails.spec.d.ts +1 -0
- package/dist-js/src/factories/CouponFactories.d.ts +14 -1
- package/dist-js/src/factories/DonationFactories.d.ts +9 -0
- package/dist-js/src/factories/MerchandiseFactories.d.ts +11 -0
- package/package.json +1 -1
|
@@ -6382,12 +6382,14 @@ createHTML: (html) => {
|
|
|
6382
6382
|
en: {
|
|
6383
6383
|
"quantity.remove": "Remove item",
|
|
6384
6384
|
"quantity.remove.label": "✕",
|
|
6385
|
-
"cart.item.remove": "✕"
|
|
6385
|
+
"cart.item.remove": "✕",
|
|
6386
|
+
"common.table.donation": "Donation"
|
|
6386
6387
|
},
|
|
6387
6388
|
de: {
|
|
6388
6389
|
"quantity.remove": "Artikel entfernen",
|
|
6389
6390
|
"quantity.remove.label": "✕",
|
|
6390
|
-
"cart.item.remove": "✕"
|
|
6391
|
+
"cart.item.remove": "✕",
|
|
6392
|
+
"common.table.donation": "Spende"
|
|
6391
6393
|
}
|
|
6392
6394
|
};
|
|
6393
6395
|
//#endregion
|
|
@@ -13987,6 +13989,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13987
13989
|
}
|
|
13988
13990
|
});
|
|
13989
13991
|
}
|
|
13992
|
+
#fetchId(endpoint, query, path = {}) {
|
|
13993
|
+
return endpoint + JSON.stringify(query) + JSON.stringify(path);
|
|
13994
|
+
}
|
|
13990
13995
|
/**
|
|
13991
13996
|
* Returns a reactive value that will contain the fetched data, no need to await.
|
|
13992
13997
|
*
|
|
@@ -14008,7 +14013,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14008
14013
|
return get$2(this.#data)[dataKey];
|
|
14009
14014
|
}
|
|
14010
14015
|
const query = options.query;
|
|
14011
|
-
const fetchId = endpoint
|
|
14016
|
+
const fetchId = this.#fetchId(endpoint, query, options.path);
|
|
14012
14017
|
const isNotFetchedYet = !this.#fetchStatus[fetchId];
|
|
14013
14018
|
const isCacheExpired = this.#fetchStatus[fetchId]?.fetchedAt < Date.now() - options.cache * 1e3;
|
|
14014
14019
|
if (isNotFetchedYet || isCacheExpired) this.apiGet(endpoint, query, options.path).then((ret) => {
|
|
@@ -14142,7 +14147,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14142
14147
|
}
|
|
14143
14148
|
async apiGet(path, query = {}, pathOptions) {
|
|
14144
14149
|
this.#ensureApi();
|
|
14145
|
-
const fetchId = path
|
|
14150
|
+
const fetchId = this.#fetchId(path, query, pathOptions);
|
|
14146
14151
|
this.#fetchStatus[fetchId] = {
|
|
14147
14152
|
status: "fetching",
|
|
14148
14153
|
fetchedAt: Date.now()
|
|
@@ -14314,7 +14319,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14314
14319
|
var getPersonalizationDetails = createGetDetails(KEY$5);
|
|
14315
14320
|
//#endregion
|
|
14316
14321
|
//#region src/components/annualTicketPersonalization/components/AnnualTicketPersonalization.svelte
|
|
14317
|
-
var root$
|
|
14322
|
+
var root$61 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
|
|
14318
14323
|
var root_1$21 = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
|
|
14319
14324
|
function AnnualTicketPersonalization($$anchor, $$props) {
|
|
14320
14325
|
push($$props, true);
|
|
@@ -14349,7 +14354,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14349
14354
|
reset(li_1);
|
|
14350
14355
|
var node_2 = sibling(li_1, 2);
|
|
14351
14356
|
var consequent = ($$anchor) => {
|
|
14352
|
-
var li_2 = root$
|
|
14357
|
+
var li_2 = root$61();
|
|
14353
14358
|
var a = child(li_2);
|
|
14354
14359
|
var text_2 = child(a, true);
|
|
14355
14360
|
reset(a);
|
|
@@ -15036,7 +15041,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15036
15041
|
}
|
|
15037
15042
|
//#endregion
|
|
15038
15043
|
//#region src/components/forms/ui/generic/Form.svelte
|
|
15039
|
-
var root$
|
|
15044
|
+
var root$60 = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit> </go-submit>`, 3);
|
|
15040
15045
|
function Form($$anchor, $$props) {
|
|
15041
15046
|
push($$props, true);
|
|
15042
15047
|
let formId = prop($$props, "formId", 7), custom = prop($$props, "custom", 7);
|
|
@@ -15082,7 +15087,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15082
15087
|
var fragment = comment();
|
|
15083
15088
|
var node = first_child(fragment);
|
|
15084
15089
|
var consequent = ($$anchor) => {
|
|
15085
|
-
var fragment_1 = root$
|
|
15090
|
+
var fragment_1 = root$60();
|
|
15086
15091
|
var go_submit = sibling(sibling(first_child(fragment_1), 2), 2);
|
|
15087
15092
|
var text = child(go_submit, true);
|
|
15088
15093
|
reset(go_submit);
|
|
@@ -15109,7 +15114,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15109
15114
|
}, [], ["details"]));
|
|
15110
15115
|
//#endregion
|
|
15111
15116
|
//#region src/components/auth/passwordReset/PasswordReset.svelte
|
|
15112
|
-
var root$
|
|
15117
|
+
var root$59 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
15113
15118
|
function PasswordReset($$anchor, $$props) {
|
|
15114
15119
|
push($$props, true);
|
|
15115
15120
|
let custom = prop($$props, "custom", 7, false), redirectUrl = prop($$props, "redirectUrl", 7, "");
|
|
@@ -15153,7 +15158,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15153
15158
|
flushSync();
|
|
15154
15159
|
}
|
|
15155
15160
|
};
|
|
15156
|
-
var go_form = root$
|
|
15161
|
+
var go_form = root$59();
|
|
15157
15162
|
set_custom_element_data(go_form, "formId", "passwordReset");
|
|
15158
15163
|
template_effect(() => set_custom_element_data(go_form, "custom", custom()));
|
|
15159
15164
|
event("submit", go_form, passwordReset);
|
|
@@ -15169,7 +15174,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15169
15174
|
}, [], []));
|
|
15170
15175
|
//#endregion
|
|
15171
15176
|
//#region src/components/auth/setPassword/SetPassword.svelte
|
|
15172
|
-
var root$
|
|
15177
|
+
var root$58 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
15173
15178
|
function SetPassword($$anchor, $$props) {
|
|
15174
15179
|
push($$props, true);
|
|
15175
15180
|
let accessToken = prop($$props, "accessToken", 7, ""), client = prop($$props, "client", 7, ""), uid = prop($$props, "uid", 7, "");
|
|
@@ -15223,7 +15228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15223
15228
|
flushSync();
|
|
15224
15229
|
}
|
|
15225
15230
|
};
|
|
15226
|
-
var go_form = root$
|
|
15231
|
+
var go_form = root$58();
|
|
15227
15232
|
set_custom_element_data(go_form, "formId", "setPassword");
|
|
15228
15233
|
event("submit", go_form, setNewPassword);
|
|
15229
15234
|
append($$anchor, go_form);
|
|
@@ -15475,8 +15480,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15475
15480
|
var getCartDetails = createGetDetails(KEY$3);
|
|
15476
15481
|
//#endregion
|
|
15477
15482
|
//#region src/components/cart/components/itemTitles/Coupon.svelte
|
|
15478
|
-
var root$
|
|
15479
|
-
function Coupon($$anchor, $$props) {
|
|
15483
|
+
var root$57 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span>`);
|
|
15484
|
+
function Coupon$1($$anchor, $$props) {
|
|
15480
15485
|
push($$props, true);
|
|
15481
15486
|
let cartItem = prop($$props, "cartItem", 7);
|
|
15482
15487
|
var $$exports = {
|
|
@@ -15488,17 +15493,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15488
15493
|
flushSync();
|
|
15489
15494
|
}
|
|
15490
15495
|
};
|
|
15491
|
-
var span = root$
|
|
15496
|
+
var span = root$57();
|
|
15492
15497
|
var text = child(span, true);
|
|
15493
15498
|
reset(span);
|
|
15494
15499
|
template_effect(() => set_text(text, cartItem().product.title));
|
|
15495
15500
|
append($$anchor, span);
|
|
15496
15501
|
return pop($$exports);
|
|
15497
15502
|
}
|
|
15498
|
-
create_custom_element(Coupon, { cartItem: {} }, [], [], { mode: "open" });
|
|
15503
|
+
create_custom_element(Coupon$1, { cartItem: {} }, [], [], { mode: "open" });
|
|
15499
15504
|
//#endregion
|
|
15500
15505
|
//#region src/components/cart/components/itemTitles/Event.svelte
|
|
15501
|
-
var root$
|
|
15506
|
+
var root$56 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span><span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
|
|
15502
15507
|
var root_1$20 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"><span class="go-cart-item-title-event-title"> </span><span class="go-cart-item-title-ticket-title"> </span></span><!>`, 1);
|
|
15503
15508
|
function Event$2($$anchor, $$props) {
|
|
15504
15509
|
push($$props, true);
|
|
@@ -15525,7 +15530,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15525
15530
|
reset(span);
|
|
15526
15531
|
var node = sibling(span);
|
|
15527
15532
|
var consequent = ($$anchor) => {
|
|
15528
|
-
var fragment_1 = root$
|
|
15533
|
+
var fragment_1 = root$56();
|
|
15529
15534
|
var span_3 = first_child(fragment_1);
|
|
15530
15535
|
var text_2 = child(span_3, true);
|
|
15531
15536
|
reset(span_3);
|
|
@@ -15551,7 +15556,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15551
15556
|
create_custom_element(Event$2, { cartItem: {} }, [], [], { mode: "open" });
|
|
15552
15557
|
//#endregion
|
|
15553
15558
|
//#region src/components/cart/components/itemTitles/Ticket.svelte
|
|
15554
|
-
var root$
|
|
15559
|
+
var root$55 = /* @__PURE__ */ from_html(`<span class="go-cart-item-subtitle" data-testid="cart-item-subtitle"> </span>`);
|
|
15555
15560
|
var root_1$19 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
|
|
15556
15561
|
var root_2$14 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
|
|
15557
15562
|
var root_3$10 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!> <!>`, 1);
|
|
@@ -15573,7 +15578,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15573
15578
|
reset(span);
|
|
15574
15579
|
var node = sibling(span, 2);
|
|
15575
15580
|
var consequent = ($$anchor) => {
|
|
15576
|
-
var span_1 = root$
|
|
15581
|
+
var span_1 = root$55();
|
|
15577
15582
|
var text_1 = child(span_1, true);
|
|
15578
15583
|
reset(span_1);
|
|
15579
15584
|
template_effect(() => set_text(text_1, cartItem().product.sub_title));
|
|
@@ -15613,7 +15618,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15613
15618
|
create_custom_element(Ticket, { cartItem: {} }, [], [], { mode: "open" });
|
|
15614
15619
|
//#endregion
|
|
15615
15620
|
//#region src/components/cart/components/itemTitles/Tour.svelte
|
|
15616
|
-
var root$
|
|
15621
|
+
var root$54 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
|
|
15617
15622
|
var root_1$18 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
|
|
15618
15623
|
var root_2$13 = /* @__PURE__ */ from_html(`<span class="go-cart-item-custom" data-testid="cart-item-custom"> </span>`);
|
|
15619
15624
|
var root_3$9 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span> <span class="go-cart-item-participants" data-testid="cart-item-participants"> </span> <!> <!>`, 1);
|
|
@@ -15661,7 +15666,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15661
15666
|
reset(span_2);
|
|
15662
15667
|
var node_1 = sibling(span_2, 2);
|
|
15663
15668
|
var consequent = ($$anchor) => {
|
|
15664
|
-
var span_3 = root$
|
|
15669
|
+
var span_3 = root$54();
|
|
15665
15670
|
var text_3 = child(span_3, true);
|
|
15666
15671
|
reset(span_3);
|
|
15667
15672
|
template_effect(() => set_text(text_3, get$2(slot).time));
|
|
@@ -15728,7 +15733,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15728
15733
|
}
|
|
15729
15734
|
//#endregion
|
|
15730
15735
|
//#region src/components/shared/quantityStepper/QuantityStepper.svelte
|
|
15731
|
-
var root$
|
|
15736
|
+
var root$53 = /* @__PURE__ */ from_html(`<div class="go-quantity-stepper" role="group"><button type="button" tabindex="-1"><span aria-hidden="true"> </span></button> <input class="go-quantity-stepper-value" type="text" role="spinbutton" inputmode="numeric" autocomplete="off"/> <button type="button" class="go-quantity-stepper-button go-quantity-stepper-increment" tabindex="-1"><span aria-hidden="true">+</span></button></div>`);
|
|
15732
15737
|
function QuantityStepper($$anchor, $$props) {
|
|
15733
15738
|
const inputId = props_id();
|
|
15734
15739
|
push($$props, true);
|
|
@@ -15882,7 +15887,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15882
15887
|
flushSync();
|
|
15883
15888
|
}
|
|
15884
15889
|
};
|
|
15885
|
-
var div = root$
|
|
15890
|
+
var div = root$53();
|
|
15886
15891
|
var button = child(div);
|
|
15887
15892
|
let classes;
|
|
15888
15893
|
var span = child(button);
|
|
@@ -15962,7 +15967,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15962
15967
|
}
|
|
15963
15968
|
//#endregion
|
|
15964
15969
|
//#region src/components/shared/quantityStepper/QuantityControl.svelte
|
|
15965
|
-
var root$
|
|
15970
|
+
var root$52 = /* @__PURE__ */ from_html(`<option> </option>`);
|
|
15966
15971
|
var root_1$17 = /* @__PURE__ */ from_html(`<select class="go-quantity-select"></select>`);
|
|
15967
15972
|
function QuantityControl($$anchor, $$props) {
|
|
15968
15973
|
push($$props, true);
|
|
@@ -16092,7 +16097,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16092
16097
|
var alternate = ($$anchor) => {
|
|
16093
16098
|
var select = root_1$17();
|
|
16094
16099
|
each(select, 21, () => generateQuantityOptions(min(), max(), { floor: deselectable() ? floor() : min() }), (q) => q.value, ($$anchor, q) => {
|
|
16095
|
-
var option = root$
|
|
16100
|
+
var option = root$52();
|
|
16096
16101
|
var text = child(option, true);
|
|
16097
16102
|
reset(option);
|
|
16098
16103
|
var option_value = {};
|
|
@@ -17977,7 +17982,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17977
17982
|
var purify = createDOMPurify();
|
|
17978
17983
|
//#endregion
|
|
17979
17984
|
//#region src/components/cart/components/SubRow.svelte
|
|
17980
|
-
var root$
|
|
17985
|
+
var root$51 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-description"></span>`);
|
|
17981
17986
|
var root_1$16 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-quantity"> </span>`);
|
|
17982
17987
|
var root_2$12 = /* @__PURE__ */ from_html(`<li><span class="go-sub-ticket-title"> </span> <!> <!></li>`);
|
|
17983
17988
|
function SubRow($$anchor, $$props) {
|
|
@@ -18028,7 +18033,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18028
18033
|
reset(span);
|
|
18029
18034
|
var node = sibling(span, 2);
|
|
18030
18035
|
var consequent = ($$anchor) => {
|
|
18031
|
-
var span_1 = root$
|
|
18036
|
+
var span_1 = root$51();
|
|
18032
18037
|
html$2(span_1, () => purify.sanitize(sub().description), true);
|
|
18033
18038
|
reset(span_1);
|
|
18034
18039
|
append($$anchor, span_1);
|
|
@@ -18115,7 +18120,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18115
18120
|
}
|
|
18116
18121
|
//#endregion
|
|
18117
18122
|
//#region src/components/cart/components/Item.svelte
|
|
18118
|
-
var root$
|
|
18123
|
+
var root$50 = /* @__PURE__ */ from_html(`<s class="go-cart-item-price-original"> </s> <span class="go-cart-item-price-discounted"> </span>`, 1);
|
|
18119
18124
|
var root_1$15 = /* @__PURE__ */ from_html(`<span class="go-cart-item-price-discounted"> </span>`);
|
|
18120
18125
|
var root_2$11 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-participant-count"> </span>`);
|
|
18121
18126
|
var root_3$8 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-voucher-quantity"> </span>`);
|
|
@@ -18204,7 +18209,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18204
18209
|
} });
|
|
18205
18210
|
};
|
|
18206
18211
|
var consequent_2 = ($$anchor) => {
|
|
18207
|
-
Coupon($$anchor, { get cartItem() {
|
|
18212
|
+
Coupon$1($$anchor, { get cartItem() {
|
|
18208
18213
|
return displayItem();
|
|
18209
18214
|
} });
|
|
18210
18215
|
};
|
|
@@ -18223,7 +18228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18223
18228
|
var li_1 = sibling(li, 2);
|
|
18224
18229
|
var node_2 = child(li_1);
|
|
18225
18230
|
var consequent_4 = ($$anchor) => {
|
|
18226
|
-
var fragment_6 = root$
|
|
18231
|
+
var fragment_6 = root$50();
|
|
18227
18232
|
var s = first_child(fragment_6);
|
|
18228
18233
|
var text = child(s, true);
|
|
18229
18234
|
reset(s);
|
|
@@ -18370,7 +18375,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18370
18375
|
}, [], [], { mode: "open" });
|
|
18371
18376
|
//#endregion
|
|
18372
18377
|
//#region src/components/cart/components/CartItems.svelte
|
|
18373
|
-
var root$
|
|
18378
|
+
var root$49 = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove"></li>`);
|
|
18374
18379
|
var root_1$14 = /* @__PURE__ */ from_html(`<li class="go-cart-item"><!></li>`);
|
|
18375
18380
|
var root_2$10 = /* @__PURE__ */ from_html(`<ol data-testid="cart-items"><li class="go-cart-header"><ul><li class="go-cart-header-title"> </li> <li class="go-cart-header-price"> </li> <li class="go-cart-header-count"> </li> <!> <li class="go-cart-header-sum"> </li></ul></li> <!></ol>`);
|
|
18376
18381
|
function CartItems($$anchor, $$props) {
|
|
@@ -18394,7 +18399,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18394
18399
|
reset(li_3);
|
|
18395
18400
|
var node_1 = sibling(li_3, 2);
|
|
18396
18401
|
var consequent = ($$anchor) => {
|
|
18397
|
-
append($$anchor, root$
|
|
18402
|
+
append($$anchor, root$49());
|
|
18398
18403
|
};
|
|
18399
18404
|
if_block(node_1, ($$render) => {
|
|
18400
18405
|
if (!get$2(details).preview) $$render(consequent);
|
|
@@ -18443,7 +18448,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18443
18448
|
customElements.define("go-cart-items", create_custom_element(CartItems, {}, [], []));
|
|
18444
18449
|
//#endregion
|
|
18445
18450
|
//#region src/components/cart/components/CartCoupons.svelte
|
|
18446
|
-
var root$
|
|
18451
|
+
var root$48 = /* @__PURE__ */ from_html(`<li class="go-cart-coupon-remove-cell"><button class="go-cart-remove go-cart-coupon-remove">⨉</button></li>`);
|
|
18447
18452
|
var root_1$13 = /* @__PURE__ */ from_html(`<li><article class="go-cart-coupon-content"><ul><li class="go-cart-coupon-code"> </li> <!></ul></article></li>`);
|
|
18448
18453
|
var root_2$9 = /* @__PURE__ */ from_html(`<ol data-testid="cart-coupons"></ol>`);
|
|
18449
18454
|
function CartCoupons($$anchor, $$props) {
|
|
@@ -18464,7 +18469,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18464
18469
|
reset(li_1);
|
|
18465
18470
|
var node_1 = sibling(li_1, 2);
|
|
18466
18471
|
var consequent = ($$anchor) => {
|
|
18467
|
-
var li_2 = root$
|
|
18472
|
+
var li_2 = root$48();
|
|
18468
18473
|
var button = child(li_2);
|
|
18469
18474
|
reset(li_2);
|
|
18470
18475
|
template_effect(($0) => set_attribute(button, "aria-label", $0), [() => shop.t("cart.coupons.remove")]);
|
|
@@ -18496,7 +18501,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18496
18501
|
customElements.define("go-cart-coupons", create_custom_element(CartCoupons, {}, [], []));
|
|
18497
18502
|
//#endregion
|
|
18498
18503
|
//#region src/components/cart/components/CartTotalAmount.svelte
|
|
18499
|
-
var root$
|
|
18504
|
+
var root$47 = /* @__PURE__ */ from_html(`<span class="go-cart-total-amount" data-testid="cart-total-amount"> </span>`);
|
|
18500
18505
|
function CartTotalAmount($$anchor, $$props) {
|
|
18501
18506
|
push($$props, true);
|
|
18502
18507
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18504,7 +18509,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18504
18509
|
var fragment = comment();
|
|
18505
18510
|
var node = first_child(fragment);
|
|
18506
18511
|
var consequent = ($$anchor) => {
|
|
18507
|
-
var span = root$
|
|
18512
|
+
var span = root$47();
|
|
18508
18513
|
var text = child(span, true);
|
|
18509
18514
|
reset(span);
|
|
18510
18515
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).totalPriceCents)]);
|
|
@@ -18573,7 +18578,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18573
18578
|
} }, [], []));
|
|
18574
18579
|
//#endregion
|
|
18575
18580
|
//#region src/components/cart/components/CartSubtotalAmount.svelte
|
|
18576
|
-
var root$
|
|
18581
|
+
var root$46 = /* @__PURE__ */ from_html(`<span class="go-cart-subtotal-amount" data-testid="cart-subtotal-amount"> </span>`);
|
|
18577
18582
|
function CartSubtotalAmount($$anchor, $$props) {
|
|
18578
18583
|
push($$props, true);
|
|
18579
18584
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18581,7 +18586,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18581
18586
|
var fragment = comment();
|
|
18582
18587
|
var node = first_child(fragment);
|
|
18583
18588
|
var consequent = ($$anchor) => {
|
|
18584
|
-
var span = root$
|
|
18589
|
+
var span = root$46();
|
|
18585
18590
|
var text = child(span, true);
|
|
18586
18591
|
reset(span);
|
|
18587
18592
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).subtotalPriceCents)]);
|
|
@@ -18596,7 +18601,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18596
18601
|
customElements.define("go-cart-subtotal-amount", create_custom_element(CartSubtotalAmount, {}, [], []));
|
|
18597
18602
|
//#endregion
|
|
18598
18603
|
//#region src/components/cart/components/CartDiscountedAmount.svelte
|
|
18599
|
-
var root$
|
|
18604
|
+
var root$45 = /* @__PURE__ */ from_html(`<span class="go-cart-discounted-amount" data-testid="cart-discounted-amount"><span class="go-cart-discounted-amount-sign">−</span> </span>`);
|
|
18600
18605
|
function CartDiscountedAmount($$anchor, $$props) {
|
|
18601
18606
|
push($$props, true);
|
|
18602
18607
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18604,7 +18609,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18604
18609
|
var fragment = comment();
|
|
18605
18610
|
var node = first_child(fragment);
|
|
18606
18611
|
var consequent = ($$anchor) => {
|
|
18607
|
-
var span = root$
|
|
18612
|
+
var span = root$45();
|
|
18608
18613
|
var text = sibling(child(span), 1, true);
|
|
18609
18614
|
reset(span);
|
|
18610
18615
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).discountedAmountCents)]);
|
|
@@ -18848,7 +18853,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18848
18853
|
}
|
|
18849
18854
|
//#endregion
|
|
18850
18855
|
//#region src/components/couponRedemption/CouponRedemption.svelte
|
|
18851
|
-
var root$
|
|
18856
|
+
var root$44 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
18852
18857
|
function CouponRedemption($$anchor, $$props) {
|
|
18853
18858
|
push($$props, true);
|
|
18854
18859
|
Forms.defineForm({
|
|
@@ -18885,7 +18890,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18885
18890
|
return runRedeem(form);
|
|
18886
18891
|
}
|
|
18887
18892
|
var $$exports = { flush };
|
|
18888
|
-
var go_form = root$
|
|
18893
|
+
var go_form = root$44();
|
|
18889
18894
|
set_custom_element_data(go_form, "formId", "couponRedemption");
|
|
18890
18895
|
event("submit", go_form, redeem$1);
|
|
18891
18896
|
append($$anchor, go_form);
|
|
@@ -18941,7 +18946,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18941
18946
|
var goDonation = new GoDonation();
|
|
18942
18947
|
//#endregion
|
|
18943
18948
|
//#region src/components/donations/components/DonationCampaign.svelte
|
|
18944
|
-
var root$
|
|
18949
|
+
var root$43 = /* @__PURE__ */ from_html(`<img alt="logo"/>`);
|
|
18945
18950
|
var root_1$12 = /* @__PURE__ */ from_html(`<div role="button" tabindex="0"><div class="donation-image"><!></div> <div class="donation-info"><p class="donation-info-title"> </p> <p class="donation-info-description"> </p></div></div>`);
|
|
18946
18951
|
function DonationCampaign($$anchor, $$props) {
|
|
18947
18952
|
push($$props, true);
|
|
@@ -18961,7 +18966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18961
18966
|
var div_1 = child(div);
|
|
18962
18967
|
var node = child(div_1);
|
|
18963
18968
|
var consequent = ($$anchor) => {
|
|
18964
|
-
var img = root$
|
|
18969
|
+
var img = root$43();
|
|
18965
18970
|
template_effect(($0) => set_attribute(img, "src", $0), [() => campaign().picture.thumbnail.replace("thumbnail", "article_3x2")]);
|
|
18966
18971
|
append($$anchor, img);
|
|
18967
18972
|
};
|
|
@@ -18994,7 +18999,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18994
18999
|
create_custom_element(DonationCampaign, { campaign: {} }, [], [], { mode: "open" });
|
|
18995
19000
|
//#endregion
|
|
18996
19001
|
//#region src/components/donations/components/DonationSelector.svelte
|
|
18997
|
-
var root$
|
|
19002
|
+
var root$42 = /* @__PURE__ */ from_html(`<button> </button>`);
|
|
18998
19003
|
var root_1$11 = /* @__PURE__ */ from_html(`<form id="donationForm" action="" novalidate=""><div class="donation-custom form-group"><label for="donation-custom-amount"> </label> <input class="form-control" id="donation-custom-amount" type="number" min="1"/></div></form>`);
|
|
18999
19004
|
var root_2$8 = /* @__PURE__ */ from_html(`<div class="donation-selection"><h3> </h3> <div class="donation-options"></div> <!></div>`);
|
|
19000
19005
|
function DonationSelector($$anchor, $$props) {
|
|
@@ -19019,7 +19024,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19019
19024
|
reset(h3);
|
|
19020
19025
|
var div_1 = sibling(h3, 2);
|
|
19021
19026
|
each(div_1, 20, () => goDonation.campaign?.options, (option) => option, ($$anchor, option) => {
|
|
19022
|
-
var button = root$
|
|
19027
|
+
var button = root$42();
|
|
19023
19028
|
let classes;
|
|
19024
19029
|
var text_1 = child(button, true);
|
|
19025
19030
|
reset(button);
|
|
@@ -19063,7 +19068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19063
19068
|
create_custom_element(DonationSelector, {}, [], [], { mode: "open" });
|
|
19064
19069
|
//#endregion
|
|
19065
19070
|
//#region src/components/donations/components/Donations.svelte
|
|
19066
|
-
var root$
|
|
19071
|
+
var root$41 = /* @__PURE__ */ from_html(`<div class="go-donations-list"><!> <!> <div class="donation-actions"><button class="btn btn-default"> </button> <button class="btn btn-primary"> </button></div></div>`);
|
|
19067
19072
|
function Donations($$anchor, $$props) {
|
|
19068
19073
|
push($$props, false);
|
|
19069
19074
|
onMount(() => {
|
|
@@ -19073,7 +19078,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19073
19078
|
var fragment = comment();
|
|
19074
19079
|
var node = first_child(fragment);
|
|
19075
19080
|
var consequent_1 = ($$anchor) => {
|
|
19076
|
-
var div = root$
|
|
19081
|
+
var div = root$41();
|
|
19077
19082
|
var node_1 = child(div);
|
|
19078
19083
|
each(node_1, 1, () => shop?.donations?.campaigns, (campaign) => campaign.id, ($$anchor, campaign) => {
|
|
19079
19084
|
DonationCampaign($$anchor, { get campaign() {
|
|
@@ -24912,7 +24917,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24912
24917
|
"monthFormat",
|
|
24913
24918
|
"yearFormat"
|
|
24914
24919
|
]);
|
|
24915
|
-
var root$
|
|
24920
|
+
var root$40 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
24916
24921
|
function Calendar$1($$anchor, $$props) {
|
|
24917
24922
|
push($$props, true);
|
|
24918
24923
|
let child$18 = prop($$props, "child", 7), children = prop($$props, "children", 7), id = prop($$props, "id", 23, useId), ref = prop($$props, "ref", 15, null), value = prop($$props, "value", 15), onValueChange = prop($$props, "onValueChange", 7, noop), placeholder = prop($$props, "placeholder", 15), onPlaceholderChange = prop($$props, "onPlaceholderChange", 7, noop), weekdayFormat = prop($$props, "weekdayFormat", 7, "narrow"), weekStartsOn = prop($$props, "weekStartsOn", 7), pagedNavigation = prop($$props, "pagedNavigation", 7, false), isDateDisabled = prop($$props, "isDateDisabled", 7, () => false), isDateUnavailable = prop($$props, "isDateUnavailable", 7, () => false), fixedWeeks = prop($$props, "fixedWeeks", 7, false), numberOfMonths = prop($$props, "numberOfMonths", 7, 1), locale = prop($$props, "locale", 7), calendarLabel = prop($$props, "calendarLabel", 7, "Event"), disabled = prop($$props, "disabled", 7, false), readonly = prop($$props, "readonly", 7, false), minValue = prop($$props, "minValue", 7, void 0), maxValue = prop($$props, "maxValue", 7, void 0), preventDeselect = prop($$props, "preventDeselect", 7, false), type = prop($$props, "type", 7), disableDaysOutsideMonth = prop($$props, "disableDaysOutsideMonth", 7, true), initialFocus = prop($$props, "initialFocus", 7, false), maxDays = prop($$props, "maxDays", 7), monthFormat = prop($$props, "monthFormat", 7, "long"), yearFormat = prop($$props, "yearFormat", 7, "numeric"), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$25);
|
|
@@ -25184,7 +25189,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25184
25189
|
append($$anchor, fragment_1);
|
|
25185
25190
|
};
|
|
25186
25191
|
var alternate = ($$anchor) => {
|
|
25187
|
-
var div = root$
|
|
25192
|
+
var div = root$40();
|
|
25188
25193
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25189
25194
|
snippet(child(div), () => children() ?? noop$1, () => rootState.snippetProps);
|
|
25190
25195
|
reset(div);
|
|
@@ -25239,7 +25244,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25239
25244
|
"ref",
|
|
25240
25245
|
"id"
|
|
25241
25246
|
]);
|
|
25242
|
-
var root$
|
|
25247
|
+
var root$39 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
25243
25248
|
function Calendar_day($$anchor, $$props) {
|
|
25244
25249
|
const uid = props_id();
|
|
25245
25250
|
push($$props, true);
|
|
@@ -25294,7 +25299,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25294
25299
|
append($$anchor, fragment_1);
|
|
25295
25300
|
};
|
|
25296
25301
|
var alternate_1 = ($$anchor) => {
|
|
25297
|
-
var div = root$
|
|
25302
|
+
var div = root$39();
|
|
25298
25303
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25299
25304
|
var node_2 = child(div);
|
|
25300
25305
|
var consequent_1 = ($$anchor) => {
|
|
@@ -25339,7 +25344,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25339
25344
|
"ref",
|
|
25340
25345
|
"id"
|
|
25341
25346
|
]);
|
|
25342
|
-
var root$
|
|
25347
|
+
var root$38 = /* @__PURE__ */ from_html(`<table><!></table>`);
|
|
25343
25348
|
function Calendar_grid($$anchor, $$props) {
|
|
25344
25349
|
const uid = props_id();
|
|
25345
25350
|
push($$props, true);
|
|
@@ -25387,7 +25392,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25387
25392
|
append($$anchor, fragment_1);
|
|
25388
25393
|
};
|
|
25389
25394
|
var alternate = ($$anchor) => {
|
|
25390
|
-
var table = root$
|
|
25395
|
+
var table = root$38();
|
|
25391
25396
|
attribute_effect(table, () => ({ ...get$2(mergedProps) }));
|
|
25392
25397
|
snippet(child(table), () => children() ?? noop$1);
|
|
25393
25398
|
reset(table);
|
|
@@ -25418,7 +25423,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25418
25423
|
"ref",
|
|
25419
25424
|
"id"
|
|
25420
25425
|
]);
|
|
25421
|
-
var root$
|
|
25426
|
+
var root$37 = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
|
|
25422
25427
|
function Calendar_grid_body($$anchor, $$props) {
|
|
25423
25428
|
const uid = props_id();
|
|
25424
25429
|
push($$props, true);
|
|
@@ -25466,7 +25471,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25466
25471
|
append($$anchor, fragment_1);
|
|
25467
25472
|
};
|
|
25468
25473
|
var alternate = ($$anchor) => {
|
|
25469
|
-
var tbody = root$
|
|
25474
|
+
var tbody = root$37();
|
|
25470
25475
|
attribute_effect(tbody, () => ({ ...get$2(mergedProps) }));
|
|
25471
25476
|
snippet(child(tbody), () => children() ?? noop$1);
|
|
25472
25477
|
reset(tbody);
|
|
@@ -25499,7 +25504,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25499
25504
|
"date",
|
|
25500
25505
|
"month"
|
|
25501
25506
|
]);
|
|
25502
|
-
var root$
|
|
25507
|
+
var root$36 = /* @__PURE__ */ from_html(`<td><!></td>`);
|
|
25503
25508
|
function Calendar_cell($$anchor, $$props) {
|
|
25504
25509
|
const uid = props_id();
|
|
25505
25510
|
push($$props, true);
|
|
@@ -25570,7 +25575,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25570
25575
|
append($$anchor, fragment_1);
|
|
25571
25576
|
};
|
|
25572
25577
|
var alternate = ($$anchor) => {
|
|
25573
|
-
var td = root$
|
|
25578
|
+
var td = root$36();
|
|
25574
25579
|
attribute_effect(td, () => ({ ...get$2(mergedProps) }));
|
|
25575
25580
|
snippet(child(td), () => children() ?? noop$1, () => cellState.snippetProps);
|
|
25576
25581
|
reset(td);
|
|
@@ -25603,7 +25608,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25603
25608
|
"ref",
|
|
25604
25609
|
"id"
|
|
25605
25610
|
]);
|
|
25606
|
-
var root$
|
|
25611
|
+
var root$35 = /* @__PURE__ */ from_html(`<thead><!></thead>`);
|
|
25607
25612
|
function Calendar_grid_head($$anchor, $$props) {
|
|
25608
25613
|
const uid = props_id();
|
|
25609
25614
|
push($$props, true);
|
|
@@ -25651,7 +25656,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25651
25656
|
append($$anchor, fragment_1);
|
|
25652
25657
|
};
|
|
25653
25658
|
var alternate = ($$anchor) => {
|
|
25654
|
-
var thead = root$
|
|
25659
|
+
var thead = root$35();
|
|
25655
25660
|
attribute_effect(thead, () => ({ ...get$2(mergedProps) }));
|
|
25656
25661
|
snippet(child(thead), () => children() ?? noop$1);
|
|
25657
25662
|
reset(thead);
|
|
@@ -25682,7 +25687,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25682
25687
|
"ref",
|
|
25683
25688
|
"id"
|
|
25684
25689
|
]);
|
|
25685
|
-
var root$
|
|
25690
|
+
var root$34 = /* @__PURE__ */ from_html(`<th><!></th>`);
|
|
25686
25691
|
function Calendar_head_cell($$anchor, $$props) {
|
|
25687
25692
|
const uid = props_id();
|
|
25688
25693
|
push($$props, true);
|
|
@@ -25730,7 +25735,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25730
25735
|
append($$anchor, fragment_1);
|
|
25731
25736
|
};
|
|
25732
25737
|
var alternate = ($$anchor) => {
|
|
25733
|
-
var th = root$
|
|
25738
|
+
var th = root$34();
|
|
25734
25739
|
attribute_effect(th, () => ({ ...get$2(mergedProps) }));
|
|
25735
25740
|
snippet(child(th), () => children() ?? noop$1);
|
|
25736
25741
|
reset(th);
|
|
@@ -25761,7 +25766,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25761
25766
|
"ref",
|
|
25762
25767
|
"id"
|
|
25763
25768
|
]);
|
|
25764
|
-
var root$
|
|
25769
|
+
var root$33 = /* @__PURE__ */ from_html(`<tr><!></tr>`);
|
|
25765
25770
|
function Calendar_grid_row($$anchor, $$props) {
|
|
25766
25771
|
const uid = props_id();
|
|
25767
25772
|
push($$props, true);
|
|
@@ -25809,7 +25814,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25809
25814
|
append($$anchor, fragment_1);
|
|
25810
25815
|
};
|
|
25811
25816
|
var alternate = ($$anchor) => {
|
|
25812
|
-
var tr = root$
|
|
25817
|
+
var tr = root$33();
|
|
25813
25818
|
attribute_effect(tr, () => ({ ...get$2(mergedProps) }));
|
|
25814
25819
|
snippet(child(tr), () => children() ?? noop$1);
|
|
25815
25820
|
reset(tr);
|
|
@@ -25840,7 +25845,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25840
25845
|
"ref",
|
|
25841
25846
|
"id"
|
|
25842
25847
|
]);
|
|
25843
|
-
var root$
|
|
25848
|
+
var root$32 = /* @__PURE__ */ from_html(`<header><!></header>`);
|
|
25844
25849
|
function Calendar_header($$anchor, $$props) {
|
|
25845
25850
|
const uid = props_id();
|
|
25846
25851
|
push($$props, true);
|
|
@@ -25888,7 +25893,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25888
25893
|
append($$anchor, fragment_1);
|
|
25889
25894
|
};
|
|
25890
25895
|
var alternate = ($$anchor) => {
|
|
25891
|
-
var header = root$
|
|
25896
|
+
var header = root$32();
|
|
25892
25897
|
attribute_effect(header, () => ({ ...get$2(mergedProps) }));
|
|
25893
25898
|
snippet(child(header), () => children() ?? noop$1);
|
|
25894
25899
|
reset(header);
|
|
@@ -25919,7 +25924,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25919
25924
|
"ref",
|
|
25920
25925
|
"id"
|
|
25921
25926
|
]);
|
|
25922
|
-
var root$
|
|
25927
|
+
var root$31 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
25923
25928
|
function Calendar_heading($$anchor, $$props) {
|
|
25924
25929
|
const uid = props_id();
|
|
25925
25930
|
push($$props, true);
|
|
@@ -25970,7 +25975,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25970
25975
|
append($$anchor, fragment_1);
|
|
25971
25976
|
};
|
|
25972
25977
|
var alternate_1 = ($$anchor) => {
|
|
25973
|
-
var div = root$
|
|
25978
|
+
var div = root$31();
|
|
25974
25979
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25975
25980
|
var node_2 = child(div);
|
|
25976
25981
|
var consequent_1 = ($$anchor) => {
|
|
@@ -26016,7 +26021,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26016
26021
|
"ref",
|
|
26017
26022
|
"tabindex"
|
|
26018
26023
|
]);
|
|
26019
|
-
var root$
|
|
26024
|
+
var root$30 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
26020
26025
|
function Calendar_next_button($$anchor, $$props) {
|
|
26021
26026
|
const uid = props_id();
|
|
26022
26027
|
push($$props, true);
|
|
@@ -26071,7 +26076,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26071
26076
|
append($$anchor, fragment_1);
|
|
26072
26077
|
};
|
|
26073
26078
|
var alternate = ($$anchor) => {
|
|
26074
|
-
var button = root$
|
|
26079
|
+
var button = root$30();
|
|
26075
26080
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
26076
26081
|
snippet(child(button), () => children() ?? noop$1);
|
|
26077
26082
|
reset(button);
|
|
@@ -26104,7 +26109,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26104
26109
|
"ref",
|
|
26105
26110
|
"tabindex"
|
|
26106
26111
|
]);
|
|
26107
|
-
var root$
|
|
26112
|
+
var root$29 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
26108
26113
|
function Calendar_prev_button($$anchor, $$props) {
|
|
26109
26114
|
const uid = props_id();
|
|
26110
26115
|
push($$props, true);
|
|
@@ -26159,7 +26164,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26159
26164
|
append($$anchor, fragment_1);
|
|
26160
26165
|
};
|
|
26161
26166
|
var alternate = ($$anchor) => {
|
|
26162
|
-
var button = root$
|
|
26167
|
+
var button = root$29();
|
|
26163
26168
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
26164
26169
|
snippet(child(button), () => children() ?? noop$1);
|
|
26165
26170
|
reset(button);
|
|
@@ -26188,7 +26193,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26188
26193
|
"$$host",
|
|
26189
26194
|
"value"
|
|
26190
26195
|
]);
|
|
26191
|
-
var root$
|
|
26196
|
+
var root$28 = /* @__PURE__ */ from_html(`<input/>`);
|
|
26192
26197
|
function Hidden_input($$anchor, $$props) {
|
|
26193
26198
|
push($$props, true);
|
|
26194
26199
|
let value = prop($$props, "value", 15), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$13);
|
|
@@ -26214,7 +26219,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26214
26219
|
var fragment = comment();
|
|
26215
26220
|
var node = first_child(fragment);
|
|
26216
26221
|
var consequent = ($$anchor) => {
|
|
26217
|
-
var input = root$
|
|
26222
|
+
var input = root$28();
|
|
26218
26223
|
attribute_effect(input, () => ({
|
|
26219
26224
|
...get$2(mergedProps),
|
|
26220
26225
|
value: value()
|
|
@@ -26222,7 +26227,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26222
26227
|
append($$anchor, input);
|
|
26223
26228
|
};
|
|
26224
26229
|
var alternate = ($$anchor) => {
|
|
26225
|
-
var input_1 = root$
|
|
26230
|
+
var input_1 = root$28();
|
|
26226
26231
|
attribute_effect(input_1, () => ({ ...get$2(mergedProps) }), void 0, void 0, void 0, void 0, true);
|
|
26227
26232
|
bind_value(input_1, value);
|
|
26228
26233
|
append($$anchor, input_1);
|
|
@@ -28535,7 +28540,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28535
28540
|
"tooltip",
|
|
28536
28541
|
"contentPointerEvents"
|
|
28537
28542
|
]);
|
|
28538
|
-
var root$
|
|
28543
|
+
var root$27 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
28539
28544
|
function Popper_layer_inner($$anchor, $$props) {
|
|
28540
28545
|
push($$props, true);
|
|
28541
28546
|
let popper = prop($$props, "popper", 7), onEscapeKeydown = prop($$props, "onEscapeKeydown", 7), escapeKeydownBehavior = prop($$props, "escapeKeydownBehavior", 7), preventOverflowTextSelection = prop($$props, "preventOverflowTextSelection", 7), id = prop($$props, "id", 7), onPointerDown = prop($$props, "onPointerDown", 7), onPointerUp = prop($$props, "onPointerUp", 7), side = prop($$props, "side", 7), sideOffset = prop($$props, "sideOffset", 7), align = prop($$props, "align", 7), alignOffset = prop($$props, "alignOffset", 7), arrowPadding = prop($$props, "arrowPadding", 7), avoidCollisions = prop($$props, "avoidCollisions", 7), collisionBoundary = prop($$props, "collisionBoundary", 7), collisionPadding = prop($$props, "collisionPadding", 7), sticky = prop($$props, "sticky", 7), hideWhenDetached = prop($$props, "hideWhenDetached", 7), updatePositionStrategy = prop($$props, "updatePositionStrategy", 7), strategy = prop($$props, "strategy", 7), dir = prop($$props, "dir", 7), preventScroll = prop($$props, "preventScroll", 7), wrapperId = prop($$props, "wrapperId", 7), style = prop($$props, "style", 7), onPlaced = prop($$props, "onPlaced", 7), onInteractOutside = prop($$props, "onInteractOutside", 7), onCloseAutoFocus = prop($$props, "onCloseAutoFocus", 7), onOpenAutoFocus = prop($$props, "onOpenAutoFocus", 7), onFocusOutside = prop($$props, "onFocusOutside", 7), interactOutsideBehavior = prop($$props, "interactOutsideBehavior", 7, "close"), loop = prop($$props, "loop", 7), trapFocus = prop($$props, "trapFocus", 7, true), isValidEvent = prop($$props, "isValidEvent", 7, () => false), customAnchor = prop($$props, "customAnchor", 7, null), isStatic = prop($$props, "isStatic", 7, false), enabled = prop($$props, "enabled", 7), ref = prop($$props, "ref", 7), tooltip = prop($$props, "tooltip", 7, false), contentPointerEvents = prop($$props, "contentPointerEvents", 7, "auto"), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$11);
|
|
@@ -28813,7 +28818,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28813
28818
|
const content = ($$anchor, $$arg0) => {
|
|
28814
28819
|
let floatingProps = () => $$arg0?.().props;
|
|
28815
28820
|
let wrapperProps = () => $$arg0?.().wrapperProps;
|
|
28816
|
-
var fragment_1 = root$
|
|
28821
|
+
var fragment_1 = root$27();
|
|
28817
28822
|
var node = first_child(fragment_1);
|
|
28818
28823
|
var consequent = ($$anchor) => {
|
|
28819
28824
|
Scroll_lock($$anchor, { get preventScroll() {
|
|
@@ -31177,7 +31182,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31177
31182
|
"children",
|
|
31178
31183
|
"child"
|
|
31179
31184
|
]);
|
|
31180
|
-
var root$
|
|
31185
|
+
var root$26 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
31181
31186
|
var root_1$10 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
31182
31187
|
function Date_field_input($$anchor, $$props) {
|
|
31183
31188
|
const uid = props_id();
|
|
@@ -31237,7 +31242,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31237
31242
|
append($$anchor, fragment_1);
|
|
31238
31243
|
};
|
|
31239
31244
|
var alternate = ($$anchor) => {
|
|
31240
|
-
var div = root$
|
|
31245
|
+
var div = root$26();
|
|
31241
31246
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
31242
31247
|
snippet(child(div), () => children() ?? noop$1, () => ({ segments: inputState.root.segmentContents }));
|
|
31243
31248
|
reset(div);
|
|
@@ -31270,7 +31275,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31270
31275
|
"children",
|
|
31271
31276
|
"child"
|
|
31272
31277
|
]);
|
|
31273
|
-
var root$
|
|
31278
|
+
var root$25 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
31274
31279
|
function Date_field_label($$anchor, $$props) {
|
|
31275
31280
|
const uid = props_id();
|
|
31276
31281
|
push($$props, true);
|
|
@@ -31318,7 +31323,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31318
31323
|
append($$anchor, fragment_1);
|
|
31319
31324
|
};
|
|
31320
31325
|
var alternate = ($$anchor) => {
|
|
31321
|
-
var div = root$
|
|
31326
|
+
var div = root$25();
|
|
31322
31327
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
31323
31328
|
snippet(child(div), () => children() ?? noop$1);
|
|
31324
31329
|
reset(div);
|
|
@@ -31350,7 +31355,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31350
31355
|
"child",
|
|
31351
31356
|
"part"
|
|
31352
31357
|
]);
|
|
31353
|
-
var root$
|
|
31358
|
+
var root$24 = /* @__PURE__ */ from_html(`<span><!></span>`);
|
|
31354
31359
|
function Date_field_segment($$anchor, $$props) {
|
|
31355
31360
|
const uid = props_id();
|
|
31356
31361
|
push($$props, true);
|
|
@@ -31405,7 +31410,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31405
31410
|
append($$anchor, fragment_1);
|
|
31406
31411
|
};
|
|
31407
31412
|
var alternate = ($$anchor) => {
|
|
31408
|
-
var span = root$
|
|
31413
|
+
var span = root$24();
|
|
31409
31414
|
attribute_effect(span, () => ({ ...get$2(mergedProps) }));
|
|
31410
31415
|
snippet(child(span), () => children() ?? noop$1);
|
|
31411
31416
|
reset(span);
|
|
@@ -32427,7 +32432,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32427
32432
|
"id",
|
|
32428
32433
|
"ref"
|
|
32429
32434
|
]);
|
|
32430
|
-
var root$
|
|
32435
|
+
var root$23 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
32431
32436
|
function Date_picker_calendar($$anchor, $$props) {
|
|
32432
32437
|
const uid = props_id();
|
|
32433
32438
|
push($$props, true);
|
|
@@ -32507,7 +32512,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32507
32512
|
append($$anchor, fragment_1);
|
|
32508
32513
|
};
|
|
32509
32514
|
var alternate = ($$anchor) => {
|
|
32510
|
-
var div = root$
|
|
32515
|
+
var div = root$23();
|
|
32511
32516
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
32512
32517
|
snippet(child(div), () => children() ?? noop$1, () => calendarState.snippetProps);
|
|
32513
32518
|
reset(div);
|
|
@@ -32547,7 +32552,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32547
32552
|
"customAnchor",
|
|
32548
32553
|
"style"
|
|
32549
32554
|
]);
|
|
32550
|
-
var root$
|
|
32555
|
+
var root$22 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
|
|
32551
32556
|
function Popover_content($$anchor, $$props) {
|
|
32552
32557
|
const uid = props_id();
|
|
32553
32558
|
push($$props, true);
|
|
@@ -32682,7 +32687,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32682
32687
|
append($$anchor, fragment_3);
|
|
32683
32688
|
};
|
|
32684
32689
|
var alternate = ($$anchor) => {
|
|
32685
|
-
var div = root$
|
|
32690
|
+
var div = root$22();
|
|
32686
32691
|
attribute_effect(div, () => ({ ...wrapperProps() }));
|
|
32687
32692
|
var div_1 = child(div);
|
|
32688
32693
|
attribute_effect(div_1, () => ({ ...get$2(finalProps) }));
|
|
@@ -32752,7 +32757,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32752
32757
|
append($$anchor, fragment_6);
|
|
32753
32758
|
};
|
|
32754
32759
|
var alternate_1 = ($$anchor) => {
|
|
32755
|
-
var div_2 = root$
|
|
32760
|
+
var div_2 = root$22();
|
|
32756
32761
|
attribute_effect(div_2, () => ({ ...wrapperProps() }));
|
|
32757
32762
|
var div_3 = child(div_2);
|
|
32758
32763
|
attribute_effect(div_3, () => ({ ...get$2(finalProps) }));
|
|
@@ -32883,7 +32888,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32883
32888
|
"openDelay",
|
|
32884
32889
|
"closeDelay"
|
|
32885
32890
|
]);
|
|
32886
|
-
var root$
|
|
32891
|
+
var root$21 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
32887
32892
|
function Popover_trigger($$anchor, $$props) {
|
|
32888
32893
|
const uid = props_id();
|
|
32889
32894
|
push($$props, true);
|
|
@@ -32978,7 +32983,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32978
32983
|
append($$anchor, fragment_2);
|
|
32979
32984
|
};
|
|
32980
32985
|
var alternate = ($$anchor) => {
|
|
32981
|
-
var button = root$
|
|
32986
|
+
var button = root$21();
|
|
32982
32987
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
32983
32988
|
snippet(child(button), () => children() ?? noop$1);
|
|
32984
32989
|
reset(button);
|
|
@@ -33058,7 +33063,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33058
33063
|
}, [], [], { mode: "open" });
|
|
33059
33064
|
//#endregion
|
|
33060
33065
|
//#region src/components/forms/ui/generic/DatePicker.svelte
|
|
33061
|
-
var root$
|
|
33066
|
+
var root$20 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
33062
33067
|
var root_1$9 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
33063
33068
|
function DatePicker_1($$anchor, $$props) {
|
|
33064
33069
|
push($$props, true);
|
|
@@ -33146,7 +33151,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33146
33151
|
{
|
|
33147
33152
|
const children = ($$anchor, $$arg0) => {
|
|
33148
33153
|
let segments = () => $$arg0?.().segments;
|
|
33149
|
-
var fragment_4 = root$
|
|
33154
|
+
var fragment_4 = root$20();
|
|
33150
33155
|
var node_5 = first_child(fragment_4);
|
|
33151
33156
|
each(node_5, 17, segments, index$1, ($$anchor, $$item) => {
|
|
33152
33157
|
let part = () => get$2($$item).part;
|
|
@@ -33197,7 +33202,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33197
33202
|
const children = ($$anchor, $$arg0) => {
|
|
33198
33203
|
let months = () => $$arg0?.().months;
|
|
33199
33204
|
let weekdays = () => $$arg0?.().weekdays;
|
|
33200
|
-
var fragment_8 = root$
|
|
33205
|
+
var fragment_8 = root$20();
|
|
33201
33206
|
var node_10 = first_child(fragment_8);
|
|
33202
33207
|
component(node_10, () => Calendar_header, ($$anchor, DatePicker_Header) => {
|
|
33203
33208
|
DatePicker_Header($$anchor, {
|
|
@@ -33224,7 +33229,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33224
33229
|
component(first_child(fragment_10), () => Calendar_grid, ($$anchor, DatePicker_Grid) => {
|
|
33225
33230
|
DatePicker_Grid($$anchor, {
|
|
33226
33231
|
children: ($$anchor, $$slotProps) => {
|
|
33227
|
-
var fragment_11 = root$
|
|
33232
|
+
var fragment_11 = root$20();
|
|
33228
33233
|
var node_16 = first_child(fragment_11);
|
|
33229
33234
|
component(node_16, () => Calendar_grid_head, ($$anchor, DatePicker_GridHead) => {
|
|
33230
33235
|
DatePicker_GridHead($$anchor, {
|
|
@@ -33352,7 +33357,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33352
33357
|
"inputClass",
|
|
33353
33358
|
"host"
|
|
33354
33359
|
]);
|
|
33355
|
-
var root$
|
|
33360
|
+
var root$19 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
|
|
33356
33361
|
var root_1$8 = /* @__PURE__ */ from_html(` <!>`, 1);
|
|
33357
33362
|
var root_2$7 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
|
|
33358
33363
|
var root_3$7 = /* @__PURE__ */ from_html(`<label><!></label> <textarea></textarea>`, 1);
|
|
@@ -33378,7 +33383,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33378
33383
|
var text = first_child(fragment);
|
|
33379
33384
|
var node = sibling(text);
|
|
33380
33385
|
var consequent = ($$anchor) => {
|
|
33381
|
-
append($$anchor, root$
|
|
33386
|
+
append($$anchor, root$19());
|
|
33382
33387
|
};
|
|
33383
33388
|
if_block(node, ($$render) => {
|
|
33384
33389
|
if (field().required) $$render(consequent);
|
|
@@ -33778,7 +33783,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33778
33783
|
}, [], [], { mode: "open" });
|
|
33779
33784
|
//#endregion
|
|
33780
33785
|
//#region src/components/forms/ui/generic/Field.svelte
|
|
33781
|
-
var root$
|
|
33786
|
+
var root$18 = /* @__PURE__ */ from_html(`<span> </span>`);
|
|
33782
33787
|
var root_1$7 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
33783
33788
|
var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors"></ul>`);
|
|
33784
33789
|
var root_3$6 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
@@ -33861,7 +33866,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33861
33866
|
});
|
|
33862
33867
|
var node_1 = sibling(node, 2);
|
|
33863
33868
|
var consequent = ($$anchor) => {
|
|
33864
|
-
var span = root$
|
|
33869
|
+
var span = root$18();
|
|
33865
33870
|
var text = child(span, true);
|
|
33866
33871
|
reset(span);
|
|
33867
33872
|
template_effect(() => {
|
|
@@ -33917,7 +33922,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33917
33922
|
}, [], ["getField"]));
|
|
33918
33923
|
//#endregion
|
|
33919
33924
|
//#region src/components/forms/ui/generic/AllFields.svelte
|
|
33920
|
-
var root$
|
|
33925
|
+
var root$17 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
|
|
33921
33926
|
function AllFields($$anchor, $$props) {
|
|
33922
33927
|
push($$props, true);
|
|
33923
33928
|
let _details = getDetails$1($$props.$$host);
|
|
@@ -33925,7 +33930,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33925
33930
|
let allFields = /* @__PURE__ */ user_derived(() => get$2(details) ? Forms.getFormFields(get$2(details)?.formId) : []);
|
|
33926
33931
|
var fragment = comment();
|
|
33927
33932
|
each(first_child(fragment), 17, () => get$2(allFields), (field) => field.key, ($$anchor, field) => {
|
|
33928
|
-
var go_field = root$
|
|
33933
|
+
var go_field = root$17();
|
|
33929
33934
|
template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
|
|
33930
33935
|
template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
|
|
33931
33936
|
append($$anchor, go_field);
|
|
@@ -33936,7 +33941,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33936
33941
|
customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], []));
|
|
33937
33942
|
//#endregion
|
|
33938
33943
|
//#region src/components/forms/ui/generic/ErrorsFeedback.svelte
|
|
33939
|
-
var root$
|
|
33944
|
+
var root$16 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
|
|
33940
33945
|
var root_1$6 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
33941
33946
|
var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
|
|
33942
33947
|
var root_3$5 = /* @__PURE__ */ from_html(`<div><p aria-live="assertive" class="sr-only"><!></p> <!> <!></div>`);
|
|
@@ -33974,7 +33979,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33974
33979
|
reset(p);
|
|
33975
33980
|
var node_1 = sibling(p, 2);
|
|
33976
33981
|
var consequent_1 = ($$anchor) => {
|
|
33977
|
-
var p_1 = root$
|
|
33982
|
+
var p_1 = root$16();
|
|
33978
33983
|
var text_1 = child(p_1, true);
|
|
33979
33984
|
reset(p_1);
|
|
33980
33985
|
template_effect(($0) => set_text(text_1, $0), [() => shop.t("forms.errorSummary", { count: get$2(errorsRealtime) })]);
|
|
@@ -34007,9 +34012,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34007
34012
|
customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], []));
|
|
34008
34013
|
//#endregion
|
|
34009
34014
|
//#region src/components/forms/ui/generic/FormFeedback.svelte
|
|
34010
|
-
var root$
|
|
34015
|
+
var root$15 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
|
|
34011
34016
|
function FormFeedback($$anchor, $$props) {
|
|
34012
|
-
var div = root$
|
|
34017
|
+
var div = root$15();
|
|
34013
34018
|
slot(child(div), $$props, "default", {}, null);
|
|
34014
34019
|
reset(div);
|
|
34015
34020
|
append($$anchor, div);
|
|
@@ -34043,7 +34048,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34043
34048
|
} }, [], []));
|
|
34044
34049
|
//#endregion
|
|
34045
34050
|
//#region src/components/forms/ui/generic/SuccessFeedback.svelte
|
|
34046
|
-
var root$
|
|
34051
|
+
var root$14 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
|
|
34047
34052
|
function SuccessFeedback($$anchor, $$props) {
|
|
34048
34053
|
push($$props, true);
|
|
34049
34054
|
const _details = getDetails$1($$props.$$host);
|
|
@@ -34051,7 +34056,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34051
34056
|
var fragment = comment();
|
|
34052
34057
|
var node = first_child(fragment);
|
|
34053
34058
|
var consequent = ($$anchor) => {
|
|
34054
|
-
var div = root$
|
|
34059
|
+
var div = root$14();
|
|
34055
34060
|
let classes;
|
|
34056
34061
|
var text = child(div, true);
|
|
34057
34062
|
reset(div);
|
|
@@ -36538,8 +36543,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36538
36543
|
if (!this.order?.is_valid) return;
|
|
36539
36544
|
switch (item.type) {
|
|
36540
36545
|
case "Event": return `${shop.apiUrl}/api/v4/orders/${this.order.id}/events/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}`;
|
|
36546
|
+
case "Coupon": return `${shop.apiUrl}/api/v4/orders/${this.order.id}/coupons/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}`;
|
|
36541
36547
|
case "Ticket":
|
|
36542
|
-
if (item.attributes.ticket_type === "annual" && !item.attributes.is_voucher) if (configStore.config.urls.annualTicketPersonalizationList
|
|
36548
|
+
if (item.attributes.ticket_type === "annual" && !item.attributes.is_voucher) if (configStore.config.urls.annualTicketPersonalizationList) return configStore.config.urls.annualTicketPersonalizationList(this.token);
|
|
36543
36549
|
else return shop.urls?.annualTicketPersonalizationList(this.token);
|
|
36544
36550
|
else return `${shop.apiUrl}/api/v4/orders/${this.order.id}/tickets/${item.attributes.id}.pdf?locale=${shop.locale}&token=${this.token}&barcode_id=${barcodeId}`;
|
|
36545
36551
|
break;
|
|
@@ -36586,8 +36592,109 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36586
36592
|
type: "String"
|
|
36587
36593
|
} }, [], ["orderDetails"]));
|
|
36588
36594
|
//#endregion
|
|
36595
|
+
//#region src/components/order/components/subcomponents/breakdown/items/Coupon.svelte
|
|
36596
|
+
var root$13 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <br/> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
|
|
36597
|
+
function Coupon($$anchor, $$props) {
|
|
36598
|
+
push($$props, true);
|
|
36599
|
+
let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
|
|
36600
|
+
const valueCents = /* @__PURE__ */ user_derived(() => item().attributes.value_cents > 0 ? item().attributes.value_cents : item().price_cents);
|
|
36601
|
+
var $$exports = {
|
|
36602
|
+
get item() {
|
|
36603
|
+
return item();
|
|
36604
|
+
},
|
|
36605
|
+
set item($$value) {
|
|
36606
|
+
item($$value);
|
|
36607
|
+
flushSync();
|
|
36608
|
+
},
|
|
36609
|
+
get orderDetails() {
|
|
36610
|
+
return orderDetails();
|
|
36611
|
+
},
|
|
36612
|
+
set orderDetails($$value) {
|
|
36613
|
+
orderDetails($$value);
|
|
36614
|
+
flushSync();
|
|
36615
|
+
}
|
|
36616
|
+
};
|
|
36617
|
+
var li = root$13();
|
|
36618
|
+
var article = child(li);
|
|
36619
|
+
var ul = child(article);
|
|
36620
|
+
var li_1 = child(ul);
|
|
36621
|
+
var text = child(li_1, true);
|
|
36622
|
+
reset(li_1);
|
|
36623
|
+
var li_2 = sibling(li_1, 2);
|
|
36624
|
+
var span = child(li_2);
|
|
36625
|
+
var text_1 = child(span, true);
|
|
36626
|
+
reset(span);
|
|
36627
|
+
var a = sibling(span, 4);
|
|
36628
|
+
var text_2 = child(a, true);
|
|
36629
|
+
reset(a);
|
|
36630
|
+
reset(li_2);
|
|
36631
|
+
var li_3 = sibling(li_2, 2);
|
|
36632
|
+
var text_3 = child(li_3, true);
|
|
36633
|
+
reset(li_3);
|
|
36634
|
+
next(2);
|
|
36635
|
+
reset(ul);
|
|
36636
|
+
reset(article);
|
|
36637
|
+
reset(li);
|
|
36638
|
+
template_effect(($0, $1, $2) => {
|
|
36639
|
+
set_text(text, item().attributes.quantity);
|
|
36640
|
+
set_text(text_1, item().attributes.title);
|
|
36641
|
+
set_attribute(a, "href", $0);
|
|
36642
|
+
set_text(text_2, $1);
|
|
36643
|
+
set_text(text_3, $2);
|
|
36644
|
+
}, [
|
|
36645
|
+
() => orderDetails().downloadLink(item()),
|
|
36646
|
+
() => shop.t("common.download"),
|
|
36647
|
+
() => formatCurrency(get$2(valueCents))
|
|
36648
|
+
]);
|
|
36649
|
+
append($$anchor, li);
|
|
36650
|
+
return pop($$exports);
|
|
36651
|
+
}
|
|
36652
|
+
create_custom_element(Coupon, {
|
|
36653
|
+
item: {},
|
|
36654
|
+
orderDetails: {}
|
|
36655
|
+
}, [], [], { mode: "open" });
|
|
36656
|
+
//#endregion
|
|
36657
|
+
//#region src/components/order/components/subcomponents/breakdown/items/Donation.svelte
|
|
36658
|
+
var root$12 = /* @__PURE__ */ from_html(`<li class="go-order-breakdown-donation"><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
|
|
36659
|
+
function Donation($$anchor, $$props) {
|
|
36660
|
+
push($$props, true);
|
|
36661
|
+
let donation = prop($$props, "donation", 7);
|
|
36662
|
+
const campaign = /* @__PURE__ */ user_derived(() => shop.donations?.campaigns?.find((c) => c.id === donation().donation_campaign_id));
|
|
36663
|
+
var $$exports = {
|
|
36664
|
+
get donation() {
|
|
36665
|
+
return donation();
|
|
36666
|
+
},
|
|
36667
|
+
set donation($$value) {
|
|
36668
|
+
donation($$value);
|
|
36669
|
+
flushSync();
|
|
36670
|
+
}
|
|
36671
|
+
};
|
|
36672
|
+
var li = root$12();
|
|
36673
|
+
var article = child(li);
|
|
36674
|
+
var ul = child(article);
|
|
36675
|
+
var li_1 = sibling(child(ul), 2);
|
|
36676
|
+
var span = child(li_1);
|
|
36677
|
+
var text = child(span, true);
|
|
36678
|
+
reset(span);
|
|
36679
|
+
reset(li_1);
|
|
36680
|
+
var li_2 = sibling(li_1, 2);
|
|
36681
|
+
var text_1 = child(li_2, true);
|
|
36682
|
+
reset(li_2);
|
|
36683
|
+
next(2);
|
|
36684
|
+
reset(ul);
|
|
36685
|
+
reset(article);
|
|
36686
|
+
reset(li);
|
|
36687
|
+
template_effect(($0, $1) => {
|
|
36688
|
+
set_text(text, $0);
|
|
36689
|
+
set_text(text_1, $1);
|
|
36690
|
+
}, [() => get$2(campaign)?.name ?? shop.t("common.table.donation"), () => formatCurrency(donation().donation_cents)]);
|
|
36691
|
+
append($$anchor, li);
|
|
36692
|
+
return pop($$exports);
|
|
36693
|
+
}
|
|
36694
|
+
create_custom_element(Donation, { donation: {} }, [], [], { mode: "open" });
|
|
36695
|
+
//#endregion
|
|
36589
36696
|
//#region src/components/order/components/subcomponents/breakdown/items/Event.svelte
|
|
36590
|
-
var root$
|
|
36697
|
+
var root$11 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
|
|
36591
36698
|
var root_1$5 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
|
|
36592
36699
|
var root_2$4 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
36593
36700
|
var root_3$4 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <!> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
|
|
@@ -36619,7 +36726,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36619
36726
|
reset(span);
|
|
36620
36727
|
var node = sibling(span, 2);
|
|
36621
36728
|
var consequent = ($$anchor) => {
|
|
36622
|
-
var fragment = root$
|
|
36729
|
+
var fragment = root$11();
|
|
36623
36730
|
var span_1 = first_child(fragment);
|
|
36624
36731
|
var text_1 = child(span_1, true);
|
|
36625
36732
|
reset(span_1);
|
|
@@ -36688,6 +36795,48 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36688
36795
|
orderDetails: {}
|
|
36689
36796
|
}, [], [], { mode: "open" });
|
|
36690
36797
|
//#endregion
|
|
36798
|
+
//#region src/components/order/components/subcomponents/breakdown/items/Merchandise.svelte
|
|
36799
|
+
var root$10 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
|
|
36800
|
+
function Merchandise($$anchor, $$props) {
|
|
36801
|
+
push($$props, true);
|
|
36802
|
+
let item = prop($$props, "item", 7);
|
|
36803
|
+
var $$exports = {
|
|
36804
|
+
get item() {
|
|
36805
|
+
return item();
|
|
36806
|
+
},
|
|
36807
|
+
set item($$value) {
|
|
36808
|
+
item($$value);
|
|
36809
|
+
flushSync();
|
|
36810
|
+
}
|
|
36811
|
+
};
|
|
36812
|
+
var li = root$10();
|
|
36813
|
+
var article = child(li);
|
|
36814
|
+
var ul = child(article);
|
|
36815
|
+
var li_1 = child(ul);
|
|
36816
|
+
var text = child(li_1, true);
|
|
36817
|
+
reset(li_1);
|
|
36818
|
+
var li_2 = sibling(li_1, 2);
|
|
36819
|
+
var span = child(li_2);
|
|
36820
|
+
var text_1 = child(span, true);
|
|
36821
|
+
reset(span);
|
|
36822
|
+
reset(li_2);
|
|
36823
|
+
var li_3 = sibling(li_2, 2);
|
|
36824
|
+
var text_2 = child(li_3, true);
|
|
36825
|
+
reset(li_3);
|
|
36826
|
+
next(2);
|
|
36827
|
+
reset(ul);
|
|
36828
|
+
reset(article);
|
|
36829
|
+
reset(li);
|
|
36830
|
+
template_effect(($0) => {
|
|
36831
|
+
set_text(text, item().attributes.quantity);
|
|
36832
|
+
set_text(text_1, item().attributes.title);
|
|
36833
|
+
set_text(text_2, $0);
|
|
36834
|
+
}, [() => formatCurrency(item().price_cents)]);
|
|
36835
|
+
append($$anchor, li);
|
|
36836
|
+
return pop($$exports);
|
|
36837
|
+
}
|
|
36838
|
+
create_custom_element(Merchandise, { item: {} }, [], [], { mode: "open" });
|
|
36839
|
+
//#endregion
|
|
36691
36840
|
//#region src/components/order/components/subcomponents/breakdown/items/TicketSale.svelte
|
|
36692
36841
|
var root$9 = /* @__PURE__ */ from_html(`<span class="go-order-item-subtitle" data-testid="order-item-subtitle"> </span>`);
|
|
36693
36842
|
var root_1$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities" data-testid="order-sub-ticket"> </span>`, 1);
|
|
@@ -37019,7 +37168,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37019
37168
|
create_custom_element(Tour, { item: {} }, [], [], { mode: "open" });
|
|
37020
37169
|
//#endregion
|
|
37021
37170
|
//#region src/components/order/components/subcomponents/breakdown/Breakdown.svelte
|
|
37022
|
-
var root$7 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
|
|
37171
|
+
var root$7 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
|
|
37023
37172
|
function Breakdown($$anchor, $$props) {
|
|
37024
37173
|
push($$props, true);
|
|
37025
37174
|
const _orderDetails = getDetails($$props.$$host);
|
|
@@ -37027,7 +37176,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37027
37176
|
let order = /* @__PURE__ */ user_derived(() => get$2(orderDetails)?.order);
|
|
37028
37177
|
var fragment = comment();
|
|
37029
37178
|
var node = first_child(fragment);
|
|
37030
|
-
var
|
|
37179
|
+
var consequent_5 = ($$anchor) => {
|
|
37031
37180
|
var ol = root$7();
|
|
37032
37181
|
var li = child(ol);
|
|
37033
37182
|
var ul = child(li);
|
|
@@ -37072,14 +37221,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37072
37221
|
return get$2(item);
|
|
37073
37222
|
} });
|
|
37074
37223
|
};
|
|
37224
|
+
var consequent_3 = ($$anchor) => {
|
|
37225
|
+
Coupon($$anchor, {
|
|
37226
|
+
get item() {
|
|
37227
|
+
return get$2(item);
|
|
37228
|
+
},
|
|
37229
|
+
get orderDetails() {
|
|
37230
|
+
return get$2(orderDetails);
|
|
37231
|
+
}
|
|
37232
|
+
});
|
|
37233
|
+
};
|
|
37234
|
+
var consequent_4 = ($$anchor) => {
|
|
37235
|
+
Merchandise($$anchor, { get item() {
|
|
37236
|
+
return get$2(item);
|
|
37237
|
+
} });
|
|
37238
|
+
};
|
|
37075
37239
|
if_block(node_2, ($$render) => {
|
|
37076
37240
|
if (get$2(item).type === "Ticket") $$render(consequent);
|
|
37077
37241
|
else if (get$2(item).type === "Event") $$render(consequent_1, 1);
|
|
37078
37242
|
else if (get$2(item).type === "Tour") $$render(consequent_2, 2);
|
|
37243
|
+
else if (get$2(item).type === "Coupon") $$render(consequent_3, 3);
|
|
37244
|
+
else if (get$2(item).type === "Merchandise") $$render(consequent_4, 4);
|
|
37079
37245
|
});
|
|
37080
37246
|
append($$anchor, fragment_1);
|
|
37081
37247
|
});
|
|
37082
|
-
var
|
|
37248
|
+
var node_3 = sibling(node_1, 2);
|
|
37249
|
+
each(node_3, 17, () => get$2(order).donations ?? [], (donation) => donation.id, ($$anchor, donation) => {
|
|
37250
|
+
Donation($$anchor, { get donation() {
|
|
37251
|
+
return get$2(donation);
|
|
37252
|
+
} });
|
|
37253
|
+
});
|
|
37254
|
+
var li_4 = sibling(node_3, 2);
|
|
37083
37255
|
var ul_1 = child(li_4);
|
|
37084
37256
|
var li_5 = sibling(child(ul_1), 4);
|
|
37085
37257
|
var text_3 = child(li_5, true);
|
|
@@ -37102,7 +37274,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37102
37274
|
append($$anchor, ol);
|
|
37103
37275
|
};
|
|
37104
37276
|
if_block(node, ($$render) => {
|
|
37105
|
-
if (get$2(order) && get$2(orderDetails)) $$render(
|
|
37277
|
+
if (get$2(order) && get$2(orderDetails)) $$render(consequent_5);
|
|
37106
37278
|
});
|
|
37107
37279
|
append($$anchor, fragment);
|
|
37108
37280
|
pop();
|