@gomusdev/web-components 4.14.5 → 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 +12 -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 +281 -112
- package/dist-js/gomus-webcomponents.js +281 -112
- package/dist-js/gomus-webcomponents.min.iife.js +19 -19
- package/dist-js/gomus-webcomponents.min.js +4501 -4400
- 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
|
|
@@ -14317,7 +14319,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14317
14319
|
var getPersonalizationDetails = createGetDetails(KEY$5);
|
|
14318
14320
|
//#endregion
|
|
14319
14321
|
//#region src/components/annualTicketPersonalization/components/AnnualTicketPersonalization.svelte
|
|
14320
|
-
var root$
|
|
14322
|
+
var root$61 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
|
|
14321
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>`);
|
|
14322
14324
|
function AnnualTicketPersonalization($$anchor, $$props) {
|
|
14323
14325
|
push($$props, true);
|
|
@@ -14352,7 +14354,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14352
14354
|
reset(li_1);
|
|
14353
14355
|
var node_2 = sibling(li_1, 2);
|
|
14354
14356
|
var consequent = ($$anchor) => {
|
|
14355
|
-
var li_2 = root$
|
|
14357
|
+
var li_2 = root$61();
|
|
14356
14358
|
var a = child(li_2);
|
|
14357
14359
|
var text_2 = child(a, true);
|
|
14358
14360
|
reset(a);
|
|
@@ -15039,7 +15041,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15039
15041
|
}
|
|
15040
15042
|
//#endregion
|
|
15041
15043
|
//#region src/components/forms/ui/generic/Form.svelte
|
|
15042
|
-
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);
|
|
15043
15045
|
function Form($$anchor, $$props) {
|
|
15044
15046
|
push($$props, true);
|
|
15045
15047
|
let formId = prop($$props, "formId", 7), custom = prop($$props, "custom", 7);
|
|
@@ -15085,7 +15087,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15085
15087
|
var fragment = comment();
|
|
15086
15088
|
var node = first_child(fragment);
|
|
15087
15089
|
var consequent = ($$anchor) => {
|
|
15088
|
-
var fragment_1 = root$
|
|
15090
|
+
var fragment_1 = root$60();
|
|
15089
15091
|
var go_submit = sibling(sibling(first_child(fragment_1), 2), 2);
|
|
15090
15092
|
var text = child(go_submit, true);
|
|
15091
15093
|
reset(go_submit);
|
|
@@ -15112,7 +15114,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15112
15114
|
}, [], ["details"]));
|
|
15113
15115
|
//#endregion
|
|
15114
15116
|
//#region src/components/auth/passwordReset/PasswordReset.svelte
|
|
15115
|
-
var root$
|
|
15117
|
+
var root$59 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
15116
15118
|
function PasswordReset($$anchor, $$props) {
|
|
15117
15119
|
push($$props, true);
|
|
15118
15120
|
let custom = prop($$props, "custom", 7, false), redirectUrl = prop($$props, "redirectUrl", 7, "");
|
|
@@ -15156,7 +15158,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15156
15158
|
flushSync();
|
|
15157
15159
|
}
|
|
15158
15160
|
};
|
|
15159
|
-
var go_form = root$
|
|
15161
|
+
var go_form = root$59();
|
|
15160
15162
|
set_custom_element_data(go_form, "formId", "passwordReset");
|
|
15161
15163
|
template_effect(() => set_custom_element_data(go_form, "custom", custom()));
|
|
15162
15164
|
event("submit", go_form, passwordReset);
|
|
@@ -15172,7 +15174,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15172
15174
|
}, [], []));
|
|
15173
15175
|
//#endregion
|
|
15174
15176
|
//#region src/components/auth/setPassword/SetPassword.svelte
|
|
15175
|
-
var root$
|
|
15177
|
+
var root$58 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
15176
15178
|
function SetPassword($$anchor, $$props) {
|
|
15177
15179
|
push($$props, true);
|
|
15178
15180
|
let accessToken = prop($$props, "accessToken", 7, ""), client = prop($$props, "client", 7, ""), uid = prop($$props, "uid", 7, "");
|
|
@@ -15226,7 +15228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15226
15228
|
flushSync();
|
|
15227
15229
|
}
|
|
15228
15230
|
};
|
|
15229
|
-
var go_form = root$
|
|
15231
|
+
var go_form = root$58();
|
|
15230
15232
|
set_custom_element_data(go_form, "formId", "setPassword");
|
|
15231
15233
|
event("submit", go_form, setNewPassword);
|
|
15232
15234
|
append($$anchor, go_form);
|
|
@@ -15478,8 +15480,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15478
15480
|
var getCartDetails = createGetDetails(KEY$3);
|
|
15479
15481
|
//#endregion
|
|
15480
15482
|
//#region src/components/cart/components/itemTitles/Coupon.svelte
|
|
15481
|
-
var root$
|
|
15482
|
-
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) {
|
|
15483
15485
|
push($$props, true);
|
|
15484
15486
|
let cartItem = prop($$props, "cartItem", 7);
|
|
15485
15487
|
var $$exports = {
|
|
@@ -15491,17 +15493,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15491
15493
|
flushSync();
|
|
15492
15494
|
}
|
|
15493
15495
|
};
|
|
15494
|
-
var span = root$
|
|
15496
|
+
var span = root$57();
|
|
15495
15497
|
var text = child(span, true);
|
|
15496
15498
|
reset(span);
|
|
15497
15499
|
template_effect(() => set_text(text, cartItem().product.title));
|
|
15498
15500
|
append($$anchor, span);
|
|
15499
15501
|
return pop($$exports);
|
|
15500
15502
|
}
|
|
15501
|
-
create_custom_element(Coupon, { cartItem: {} }, [], [], { mode: "open" });
|
|
15503
|
+
create_custom_element(Coupon$1, { cartItem: {} }, [], [], { mode: "open" });
|
|
15502
15504
|
//#endregion
|
|
15503
15505
|
//#region src/components/cart/components/itemTitles/Event.svelte
|
|
15504
|
-
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);
|
|
15505
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);
|
|
15506
15508
|
function Event$2($$anchor, $$props) {
|
|
15507
15509
|
push($$props, true);
|
|
@@ -15528,7 +15530,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15528
15530
|
reset(span);
|
|
15529
15531
|
var node = sibling(span);
|
|
15530
15532
|
var consequent = ($$anchor) => {
|
|
15531
|
-
var fragment_1 = root$
|
|
15533
|
+
var fragment_1 = root$56();
|
|
15532
15534
|
var span_3 = first_child(fragment_1);
|
|
15533
15535
|
var text_2 = child(span_3, true);
|
|
15534
15536
|
reset(span_3);
|
|
@@ -15554,7 +15556,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15554
15556
|
create_custom_element(Event$2, { cartItem: {} }, [], [], { mode: "open" });
|
|
15555
15557
|
//#endregion
|
|
15556
15558
|
//#region src/components/cart/components/itemTitles/Ticket.svelte
|
|
15557
|
-
var root$
|
|
15559
|
+
var root$55 = /* @__PURE__ */ from_html(`<span class="go-cart-item-subtitle" data-testid="cart-item-subtitle"> </span>`);
|
|
15558
15560
|
var root_1$19 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
|
|
15559
15561
|
var root_2$14 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
|
|
15560
15562
|
var root_3$10 = /* @__PURE__ */ from_html(`<span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!> <!>`, 1);
|
|
@@ -15576,7 +15578,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15576
15578
|
reset(span);
|
|
15577
15579
|
var node = sibling(span, 2);
|
|
15578
15580
|
var consequent = ($$anchor) => {
|
|
15579
|
-
var span_1 = root$
|
|
15581
|
+
var span_1 = root$55();
|
|
15580
15582
|
var text_1 = child(span_1, true);
|
|
15581
15583
|
reset(span_1);
|
|
15582
15584
|
template_effect(() => set_text(text_1, cartItem().product.sub_title));
|
|
@@ -15616,7 +15618,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15616
15618
|
create_custom_element(Ticket, { cartItem: {} }, [], [], { mode: "open" });
|
|
15617
15619
|
//#endregion
|
|
15618
15620
|
//#region src/components/cart/components/itemTitles/Tour.svelte
|
|
15619
|
-
var root$
|
|
15621
|
+
var root$54 = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
|
|
15620
15622
|
var root_1$18 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
|
|
15621
15623
|
var root_2$13 = /* @__PURE__ */ from_html(`<span class="go-cart-item-custom" data-testid="cart-item-custom"> </span>`);
|
|
15622
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);
|
|
@@ -15664,7 +15666,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15664
15666
|
reset(span_2);
|
|
15665
15667
|
var node_1 = sibling(span_2, 2);
|
|
15666
15668
|
var consequent = ($$anchor) => {
|
|
15667
|
-
var span_3 = root$
|
|
15669
|
+
var span_3 = root$54();
|
|
15668
15670
|
var text_3 = child(span_3, true);
|
|
15669
15671
|
reset(span_3);
|
|
15670
15672
|
template_effect(() => set_text(text_3, get$2(slot).time));
|
|
@@ -15731,7 +15733,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15731
15733
|
}
|
|
15732
15734
|
//#endregion
|
|
15733
15735
|
//#region src/components/shared/quantityStepper/QuantityStepper.svelte
|
|
15734
|
-
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>`);
|
|
15735
15737
|
function QuantityStepper($$anchor, $$props) {
|
|
15736
15738
|
const inputId = props_id();
|
|
15737
15739
|
push($$props, true);
|
|
@@ -15885,7 +15887,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15885
15887
|
flushSync();
|
|
15886
15888
|
}
|
|
15887
15889
|
};
|
|
15888
|
-
var div = root$
|
|
15890
|
+
var div = root$53();
|
|
15889
15891
|
var button = child(div);
|
|
15890
15892
|
let classes;
|
|
15891
15893
|
var span = child(button);
|
|
@@ -15965,7 +15967,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15965
15967
|
}
|
|
15966
15968
|
//#endregion
|
|
15967
15969
|
//#region src/components/shared/quantityStepper/QuantityControl.svelte
|
|
15968
|
-
var root$
|
|
15970
|
+
var root$52 = /* @__PURE__ */ from_html(`<option> </option>`);
|
|
15969
15971
|
var root_1$17 = /* @__PURE__ */ from_html(`<select class="go-quantity-select"></select>`);
|
|
15970
15972
|
function QuantityControl($$anchor, $$props) {
|
|
15971
15973
|
push($$props, true);
|
|
@@ -16095,7 +16097,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16095
16097
|
var alternate = ($$anchor) => {
|
|
16096
16098
|
var select = root_1$17();
|
|
16097
16099
|
each(select, 21, () => generateQuantityOptions(min(), max(), { floor: deselectable() ? floor() : min() }), (q) => q.value, ($$anchor, q) => {
|
|
16098
|
-
var option = root$
|
|
16100
|
+
var option = root$52();
|
|
16099
16101
|
var text = child(option, true);
|
|
16100
16102
|
reset(option);
|
|
16101
16103
|
var option_value = {};
|
|
@@ -17980,7 +17982,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17980
17982
|
var purify = createDOMPurify();
|
|
17981
17983
|
//#endregion
|
|
17982
17984
|
//#region src/components/cart/components/SubRow.svelte
|
|
17983
|
-
var root$
|
|
17985
|
+
var root$51 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-description"></span>`);
|
|
17984
17986
|
var root_1$16 = /* @__PURE__ */ from_html(`<span class="go-sub-ticket-quantity"> </span>`);
|
|
17985
17987
|
var root_2$12 = /* @__PURE__ */ from_html(`<li><span class="go-sub-ticket-title"> </span> <!> <!></li>`);
|
|
17986
17988
|
function SubRow($$anchor, $$props) {
|
|
@@ -18031,7 +18033,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18031
18033
|
reset(span);
|
|
18032
18034
|
var node = sibling(span, 2);
|
|
18033
18035
|
var consequent = ($$anchor) => {
|
|
18034
|
-
var span_1 = root$
|
|
18036
|
+
var span_1 = root$51();
|
|
18035
18037
|
html$2(span_1, () => purify.sanitize(sub().description), true);
|
|
18036
18038
|
reset(span_1);
|
|
18037
18039
|
append($$anchor, span_1);
|
|
@@ -18118,7 +18120,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18118
18120
|
}
|
|
18119
18121
|
//#endregion
|
|
18120
18122
|
//#region src/components/cart/components/Item.svelte
|
|
18121
|
-
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);
|
|
18122
18124
|
var root_1$15 = /* @__PURE__ */ from_html(`<span class="go-cart-item-price-discounted"> </span>`);
|
|
18123
18125
|
var root_2$11 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-participant-count"> </span>`);
|
|
18124
18126
|
var root_3$8 = /* @__PURE__ */ from_html(`<span data-testid="cart-item-voucher-quantity"> </span>`);
|
|
@@ -18207,7 +18209,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18207
18209
|
} });
|
|
18208
18210
|
};
|
|
18209
18211
|
var consequent_2 = ($$anchor) => {
|
|
18210
|
-
Coupon($$anchor, { get cartItem() {
|
|
18212
|
+
Coupon$1($$anchor, { get cartItem() {
|
|
18211
18213
|
return displayItem();
|
|
18212
18214
|
} });
|
|
18213
18215
|
};
|
|
@@ -18226,7 +18228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18226
18228
|
var li_1 = sibling(li, 2);
|
|
18227
18229
|
var node_2 = child(li_1);
|
|
18228
18230
|
var consequent_4 = ($$anchor) => {
|
|
18229
|
-
var fragment_6 = root$
|
|
18231
|
+
var fragment_6 = root$50();
|
|
18230
18232
|
var s = first_child(fragment_6);
|
|
18231
18233
|
var text = child(s, true);
|
|
18232
18234
|
reset(s);
|
|
@@ -18373,7 +18375,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18373
18375
|
}, [], [], { mode: "open" });
|
|
18374
18376
|
//#endregion
|
|
18375
18377
|
//#region src/components/cart/components/CartItems.svelte
|
|
18376
|
-
var root$
|
|
18378
|
+
var root$49 = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove"></li>`);
|
|
18377
18379
|
var root_1$14 = /* @__PURE__ */ from_html(`<li class="go-cart-item"><!></li>`);
|
|
18378
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>`);
|
|
18379
18381
|
function CartItems($$anchor, $$props) {
|
|
@@ -18397,7 +18399,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18397
18399
|
reset(li_3);
|
|
18398
18400
|
var node_1 = sibling(li_3, 2);
|
|
18399
18401
|
var consequent = ($$anchor) => {
|
|
18400
|
-
append($$anchor, root$
|
|
18402
|
+
append($$anchor, root$49());
|
|
18401
18403
|
};
|
|
18402
18404
|
if_block(node_1, ($$render) => {
|
|
18403
18405
|
if (!get$2(details).preview) $$render(consequent);
|
|
@@ -18446,7 +18448,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18446
18448
|
customElements.define("go-cart-items", create_custom_element(CartItems, {}, [], []));
|
|
18447
18449
|
//#endregion
|
|
18448
18450
|
//#region src/components/cart/components/CartCoupons.svelte
|
|
18449
|
-
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>`);
|
|
18450
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>`);
|
|
18451
18453
|
var root_2$9 = /* @__PURE__ */ from_html(`<ol data-testid="cart-coupons"></ol>`);
|
|
18452
18454
|
function CartCoupons($$anchor, $$props) {
|
|
@@ -18467,7 +18469,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18467
18469
|
reset(li_1);
|
|
18468
18470
|
var node_1 = sibling(li_1, 2);
|
|
18469
18471
|
var consequent = ($$anchor) => {
|
|
18470
|
-
var li_2 = root$
|
|
18472
|
+
var li_2 = root$48();
|
|
18471
18473
|
var button = child(li_2);
|
|
18472
18474
|
reset(li_2);
|
|
18473
18475
|
template_effect(($0) => set_attribute(button, "aria-label", $0), [() => shop.t("cart.coupons.remove")]);
|
|
@@ -18499,7 +18501,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18499
18501
|
customElements.define("go-cart-coupons", create_custom_element(CartCoupons, {}, [], []));
|
|
18500
18502
|
//#endregion
|
|
18501
18503
|
//#region src/components/cart/components/CartTotalAmount.svelte
|
|
18502
|
-
var root$
|
|
18504
|
+
var root$47 = /* @__PURE__ */ from_html(`<span class="go-cart-total-amount" data-testid="cart-total-amount"> </span>`);
|
|
18503
18505
|
function CartTotalAmount($$anchor, $$props) {
|
|
18504
18506
|
push($$props, true);
|
|
18505
18507
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18507,7 +18509,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18507
18509
|
var fragment = comment();
|
|
18508
18510
|
var node = first_child(fragment);
|
|
18509
18511
|
var consequent = ($$anchor) => {
|
|
18510
|
-
var span = root$
|
|
18512
|
+
var span = root$47();
|
|
18511
18513
|
var text = child(span, true);
|
|
18512
18514
|
reset(span);
|
|
18513
18515
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).totalPriceCents)]);
|
|
@@ -18576,7 +18578,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18576
18578
|
} }, [], []));
|
|
18577
18579
|
//#endregion
|
|
18578
18580
|
//#region src/components/cart/components/CartSubtotalAmount.svelte
|
|
18579
|
-
var root$
|
|
18581
|
+
var root$46 = /* @__PURE__ */ from_html(`<span class="go-cart-subtotal-amount" data-testid="cart-subtotal-amount"> </span>`);
|
|
18580
18582
|
function CartSubtotalAmount($$anchor, $$props) {
|
|
18581
18583
|
push($$props, true);
|
|
18582
18584
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18584,7 +18586,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18584
18586
|
var fragment = comment();
|
|
18585
18587
|
var node = first_child(fragment);
|
|
18586
18588
|
var consequent = ($$anchor) => {
|
|
18587
|
-
var span = root$
|
|
18589
|
+
var span = root$46();
|
|
18588
18590
|
var text = child(span, true);
|
|
18589
18591
|
reset(span);
|
|
18590
18592
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).subtotalPriceCents)]);
|
|
@@ -18599,7 +18601,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18599
18601
|
customElements.define("go-cart-subtotal-amount", create_custom_element(CartSubtotalAmount, {}, [], []));
|
|
18600
18602
|
//#endregion
|
|
18601
18603
|
//#region src/components/cart/components/CartDiscountedAmount.svelte
|
|
18602
|
-
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>`);
|
|
18603
18605
|
function CartDiscountedAmount($$anchor, $$props) {
|
|
18604
18606
|
push($$props, true);
|
|
18605
18607
|
const _details = getCartDetails($$props.$$host);
|
|
@@ -18607,7 +18609,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18607
18609
|
var fragment = comment();
|
|
18608
18610
|
var node = first_child(fragment);
|
|
18609
18611
|
var consequent = ($$anchor) => {
|
|
18610
|
-
var span = root$
|
|
18612
|
+
var span = root$45();
|
|
18611
18613
|
var text = sibling(child(span), 1, true);
|
|
18612
18614
|
reset(span);
|
|
18613
18615
|
template_effect(($0) => set_text(text, $0), [() => formatCurrency(get$2(details).discountedAmountCents)]);
|
|
@@ -18851,7 +18853,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18851
18853
|
}
|
|
18852
18854
|
//#endregion
|
|
18853
18855
|
//#region src/components/couponRedemption/CouponRedemption.svelte
|
|
18854
|
-
var root$
|
|
18856
|
+
var root$44 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
|
|
18855
18857
|
function CouponRedemption($$anchor, $$props) {
|
|
18856
18858
|
push($$props, true);
|
|
18857
18859
|
Forms.defineForm({
|
|
@@ -18888,7 +18890,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18888
18890
|
return runRedeem(form);
|
|
18889
18891
|
}
|
|
18890
18892
|
var $$exports = { flush };
|
|
18891
|
-
var go_form = root$
|
|
18893
|
+
var go_form = root$44();
|
|
18892
18894
|
set_custom_element_data(go_form, "formId", "couponRedemption");
|
|
18893
18895
|
event("submit", go_form, redeem$1);
|
|
18894
18896
|
append($$anchor, go_form);
|
|
@@ -18944,7 +18946,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18944
18946
|
var goDonation = new GoDonation();
|
|
18945
18947
|
//#endregion
|
|
18946
18948
|
//#region src/components/donations/components/DonationCampaign.svelte
|
|
18947
|
-
var root$
|
|
18949
|
+
var root$43 = /* @__PURE__ */ from_html(`<img alt="logo"/>`);
|
|
18948
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>`);
|
|
18949
18951
|
function DonationCampaign($$anchor, $$props) {
|
|
18950
18952
|
push($$props, true);
|
|
@@ -18964,7 +18966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18964
18966
|
var div_1 = child(div);
|
|
18965
18967
|
var node = child(div_1);
|
|
18966
18968
|
var consequent = ($$anchor) => {
|
|
18967
|
-
var img = root$
|
|
18969
|
+
var img = root$43();
|
|
18968
18970
|
template_effect(($0) => set_attribute(img, "src", $0), [() => campaign().picture.thumbnail.replace("thumbnail", "article_3x2")]);
|
|
18969
18971
|
append($$anchor, img);
|
|
18970
18972
|
};
|
|
@@ -18997,7 +18999,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18997
18999
|
create_custom_element(DonationCampaign, { campaign: {} }, [], [], { mode: "open" });
|
|
18998
19000
|
//#endregion
|
|
18999
19001
|
//#region src/components/donations/components/DonationSelector.svelte
|
|
19000
|
-
var root$
|
|
19002
|
+
var root$42 = /* @__PURE__ */ from_html(`<button> </button>`);
|
|
19001
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>`);
|
|
19002
19004
|
var root_2$8 = /* @__PURE__ */ from_html(`<div class="donation-selection"><h3> </h3> <div class="donation-options"></div> <!></div>`);
|
|
19003
19005
|
function DonationSelector($$anchor, $$props) {
|
|
@@ -19022,7 +19024,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19022
19024
|
reset(h3);
|
|
19023
19025
|
var div_1 = sibling(h3, 2);
|
|
19024
19026
|
each(div_1, 20, () => goDonation.campaign?.options, (option) => option, ($$anchor, option) => {
|
|
19025
|
-
var button = root$
|
|
19027
|
+
var button = root$42();
|
|
19026
19028
|
let classes;
|
|
19027
19029
|
var text_1 = child(button, true);
|
|
19028
19030
|
reset(button);
|
|
@@ -19066,7 +19068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19066
19068
|
create_custom_element(DonationSelector, {}, [], [], { mode: "open" });
|
|
19067
19069
|
//#endregion
|
|
19068
19070
|
//#region src/components/donations/components/Donations.svelte
|
|
19069
|
-
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>`);
|
|
19070
19072
|
function Donations($$anchor, $$props) {
|
|
19071
19073
|
push($$props, false);
|
|
19072
19074
|
onMount(() => {
|
|
@@ -19076,7 +19078,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19076
19078
|
var fragment = comment();
|
|
19077
19079
|
var node = first_child(fragment);
|
|
19078
19080
|
var consequent_1 = ($$anchor) => {
|
|
19079
|
-
var div = root$
|
|
19081
|
+
var div = root$41();
|
|
19080
19082
|
var node_1 = child(div);
|
|
19081
19083
|
each(node_1, 1, () => shop?.donations?.campaigns, (campaign) => campaign.id, ($$anchor, campaign) => {
|
|
19082
19084
|
DonationCampaign($$anchor, { get campaign() {
|
|
@@ -24915,7 +24917,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
24915
24917
|
"monthFormat",
|
|
24916
24918
|
"yearFormat"
|
|
24917
24919
|
]);
|
|
24918
|
-
var root$
|
|
24920
|
+
var root$40 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
24919
24921
|
function Calendar$1($$anchor, $$props) {
|
|
24920
24922
|
push($$props, true);
|
|
24921
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);
|
|
@@ -25187,7 +25189,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25187
25189
|
append($$anchor, fragment_1);
|
|
25188
25190
|
};
|
|
25189
25191
|
var alternate = ($$anchor) => {
|
|
25190
|
-
var div = root$
|
|
25192
|
+
var div = root$40();
|
|
25191
25193
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25192
25194
|
snippet(child(div), () => children() ?? noop$1, () => rootState.snippetProps);
|
|
25193
25195
|
reset(div);
|
|
@@ -25242,7 +25244,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25242
25244
|
"ref",
|
|
25243
25245
|
"id"
|
|
25244
25246
|
]);
|
|
25245
|
-
var root$
|
|
25247
|
+
var root$39 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
25246
25248
|
function Calendar_day($$anchor, $$props) {
|
|
25247
25249
|
const uid = props_id();
|
|
25248
25250
|
push($$props, true);
|
|
@@ -25297,7 +25299,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25297
25299
|
append($$anchor, fragment_1);
|
|
25298
25300
|
};
|
|
25299
25301
|
var alternate_1 = ($$anchor) => {
|
|
25300
|
-
var div = root$
|
|
25302
|
+
var div = root$39();
|
|
25301
25303
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25302
25304
|
var node_2 = child(div);
|
|
25303
25305
|
var consequent_1 = ($$anchor) => {
|
|
@@ -25342,7 +25344,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25342
25344
|
"ref",
|
|
25343
25345
|
"id"
|
|
25344
25346
|
]);
|
|
25345
|
-
var root$
|
|
25347
|
+
var root$38 = /* @__PURE__ */ from_html(`<table><!></table>`);
|
|
25346
25348
|
function Calendar_grid($$anchor, $$props) {
|
|
25347
25349
|
const uid = props_id();
|
|
25348
25350
|
push($$props, true);
|
|
@@ -25390,7 +25392,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25390
25392
|
append($$anchor, fragment_1);
|
|
25391
25393
|
};
|
|
25392
25394
|
var alternate = ($$anchor) => {
|
|
25393
|
-
var table = root$
|
|
25395
|
+
var table = root$38();
|
|
25394
25396
|
attribute_effect(table, () => ({ ...get$2(mergedProps) }));
|
|
25395
25397
|
snippet(child(table), () => children() ?? noop$1);
|
|
25396
25398
|
reset(table);
|
|
@@ -25421,7 +25423,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25421
25423
|
"ref",
|
|
25422
25424
|
"id"
|
|
25423
25425
|
]);
|
|
25424
|
-
var root$
|
|
25426
|
+
var root$37 = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
|
|
25425
25427
|
function Calendar_grid_body($$anchor, $$props) {
|
|
25426
25428
|
const uid = props_id();
|
|
25427
25429
|
push($$props, true);
|
|
@@ -25469,7 +25471,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25469
25471
|
append($$anchor, fragment_1);
|
|
25470
25472
|
};
|
|
25471
25473
|
var alternate = ($$anchor) => {
|
|
25472
|
-
var tbody = root$
|
|
25474
|
+
var tbody = root$37();
|
|
25473
25475
|
attribute_effect(tbody, () => ({ ...get$2(mergedProps) }));
|
|
25474
25476
|
snippet(child(tbody), () => children() ?? noop$1);
|
|
25475
25477
|
reset(tbody);
|
|
@@ -25502,7 +25504,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25502
25504
|
"date",
|
|
25503
25505
|
"month"
|
|
25504
25506
|
]);
|
|
25505
|
-
var root$
|
|
25507
|
+
var root$36 = /* @__PURE__ */ from_html(`<td><!></td>`);
|
|
25506
25508
|
function Calendar_cell($$anchor, $$props) {
|
|
25507
25509
|
const uid = props_id();
|
|
25508
25510
|
push($$props, true);
|
|
@@ -25573,7 +25575,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25573
25575
|
append($$anchor, fragment_1);
|
|
25574
25576
|
};
|
|
25575
25577
|
var alternate = ($$anchor) => {
|
|
25576
|
-
var td = root$
|
|
25578
|
+
var td = root$36();
|
|
25577
25579
|
attribute_effect(td, () => ({ ...get$2(mergedProps) }));
|
|
25578
25580
|
snippet(child(td), () => children() ?? noop$1, () => cellState.snippetProps);
|
|
25579
25581
|
reset(td);
|
|
@@ -25606,7 +25608,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25606
25608
|
"ref",
|
|
25607
25609
|
"id"
|
|
25608
25610
|
]);
|
|
25609
|
-
var root$
|
|
25611
|
+
var root$35 = /* @__PURE__ */ from_html(`<thead><!></thead>`);
|
|
25610
25612
|
function Calendar_grid_head($$anchor, $$props) {
|
|
25611
25613
|
const uid = props_id();
|
|
25612
25614
|
push($$props, true);
|
|
@@ -25654,7 +25656,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25654
25656
|
append($$anchor, fragment_1);
|
|
25655
25657
|
};
|
|
25656
25658
|
var alternate = ($$anchor) => {
|
|
25657
|
-
var thead = root$
|
|
25659
|
+
var thead = root$35();
|
|
25658
25660
|
attribute_effect(thead, () => ({ ...get$2(mergedProps) }));
|
|
25659
25661
|
snippet(child(thead), () => children() ?? noop$1);
|
|
25660
25662
|
reset(thead);
|
|
@@ -25685,7 +25687,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25685
25687
|
"ref",
|
|
25686
25688
|
"id"
|
|
25687
25689
|
]);
|
|
25688
|
-
var root$
|
|
25690
|
+
var root$34 = /* @__PURE__ */ from_html(`<th><!></th>`);
|
|
25689
25691
|
function Calendar_head_cell($$anchor, $$props) {
|
|
25690
25692
|
const uid = props_id();
|
|
25691
25693
|
push($$props, true);
|
|
@@ -25733,7 +25735,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25733
25735
|
append($$anchor, fragment_1);
|
|
25734
25736
|
};
|
|
25735
25737
|
var alternate = ($$anchor) => {
|
|
25736
|
-
var th = root$
|
|
25738
|
+
var th = root$34();
|
|
25737
25739
|
attribute_effect(th, () => ({ ...get$2(mergedProps) }));
|
|
25738
25740
|
snippet(child(th), () => children() ?? noop$1);
|
|
25739
25741
|
reset(th);
|
|
@@ -25764,7 +25766,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25764
25766
|
"ref",
|
|
25765
25767
|
"id"
|
|
25766
25768
|
]);
|
|
25767
|
-
var root$
|
|
25769
|
+
var root$33 = /* @__PURE__ */ from_html(`<tr><!></tr>`);
|
|
25768
25770
|
function Calendar_grid_row($$anchor, $$props) {
|
|
25769
25771
|
const uid = props_id();
|
|
25770
25772
|
push($$props, true);
|
|
@@ -25812,7 +25814,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25812
25814
|
append($$anchor, fragment_1);
|
|
25813
25815
|
};
|
|
25814
25816
|
var alternate = ($$anchor) => {
|
|
25815
|
-
var tr = root$
|
|
25817
|
+
var tr = root$33();
|
|
25816
25818
|
attribute_effect(tr, () => ({ ...get$2(mergedProps) }));
|
|
25817
25819
|
snippet(child(tr), () => children() ?? noop$1);
|
|
25818
25820
|
reset(tr);
|
|
@@ -25843,7 +25845,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25843
25845
|
"ref",
|
|
25844
25846
|
"id"
|
|
25845
25847
|
]);
|
|
25846
|
-
var root$
|
|
25848
|
+
var root$32 = /* @__PURE__ */ from_html(`<header><!></header>`);
|
|
25847
25849
|
function Calendar_header($$anchor, $$props) {
|
|
25848
25850
|
const uid = props_id();
|
|
25849
25851
|
push($$props, true);
|
|
@@ -25891,7 +25893,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25891
25893
|
append($$anchor, fragment_1);
|
|
25892
25894
|
};
|
|
25893
25895
|
var alternate = ($$anchor) => {
|
|
25894
|
-
var header = root$
|
|
25896
|
+
var header = root$32();
|
|
25895
25897
|
attribute_effect(header, () => ({ ...get$2(mergedProps) }));
|
|
25896
25898
|
snippet(child(header), () => children() ?? noop$1);
|
|
25897
25899
|
reset(header);
|
|
@@ -25922,7 +25924,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25922
25924
|
"ref",
|
|
25923
25925
|
"id"
|
|
25924
25926
|
]);
|
|
25925
|
-
var root$
|
|
25927
|
+
var root$31 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
25926
25928
|
function Calendar_heading($$anchor, $$props) {
|
|
25927
25929
|
const uid = props_id();
|
|
25928
25930
|
push($$props, true);
|
|
@@ -25973,7 +25975,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
25973
25975
|
append($$anchor, fragment_1);
|
|
25974
25976
|
};
|
|
25975
25977
|
var alternate_1 = ($$anchor) => {
|
|
25976
|
-
var div = root$
|
|
25978
|
+
var div = root$31();
|
|
25977
25979
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
25978
25980
|
var node_2 = child(div);
|
|
25979
25981
|
var consequent_1 = ($$anchor) => {
|
|
@@ -26019,7 +26021,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26019
26021
|
"ref",
|
|
26020
26022
|
"tabindex"
|
|
26021
26023
|
]);
|
|
26022
|
-
var root$
|
|
26024
|
+
var root$30 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
26023
26025
|
function Calendar_next_button($$anchor, $$props) {
|
|
26024
26026
|
const uid = props_id();
|
|
26025
26027
|
push($$props, true);
|
|
@@ -26074,7 +26076,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26074
26076
|
append($$anchor, fragment_1);
|
|
26075
26077
|
};
|
|
26076
26078
|
var alternate = ($$anchor) => {
|
|
26077
|
-
var button = root$
|
|
26079
|
+
var button = root$30();
|
|
26078
26080
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
26079
26081
|
snippet(child(button), () => children() ?? noop$1);
|
|
26080
26082
|
reset(button);
|
|
@@ -26107,7 +26109,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26107
26109
|
"ref",
|
|
26108
26110
|
"tabindex"
|
|
26109
26111
|
]);
|
|
26110
|
-
var root$
|
|
26112
|
+
var root$29 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
26111
26113
|
function Calendar_prev_button($$anchor, $$props) {
|
|
26112
26114
|
const uid = props_id();
|
|
26113
26115
|
push($$props, true);
|
|
@@ -26162,7 +26164,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26162
26164
|
append($$anchor, fragment_1);
|
|
26163
26165
|
};
|
|
26164
26166
|
var alternate = ($$anchor) => {
|
|
26165
|
-
var button = root$
|
|
26167
|
+
var button = root$29();
|
|
26166
26168
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
26167
26169
|
snippet(child(button), () => children() ?? noop$1);
|
|
26168
26170
|
reset(button);
|
|
@@ -26191,7 +26193,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26191
26193
|
"$$host",
|
|
26192
26194
|
"value"
|
|
26193
26195
|
]);
|
|
26194
|
-
var root$
|
|
26196
|
+
var root$28 = /* @__PURE__ */ from_html(`<input/>`);
|
|
26195
26197
|
function Hidden_input($$anchor, $$props) {
|
|
26196
26198
|
push($$props, true);
|
|
26197
26199
|
let value = prop($$props, "value", 15), restProps = /* @__PURE__ */ rest_props($$props, rest_excludes$13);
|
|
@@ -26217,7 +26219,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26217
26219
|
var fragment = comment();
|
|
26218
26220
|
var node = first_child(fragment);
|
|
26219
26221
|
var consequent = ($$anchor) => {
|
|
26220
|
-
var input = root$
|
|
26222
|
+
var input = root$28();
|
|
26221
26223
|
attribute_effect(input, () => ({
|
|
26222
26224
|
...get$2(mergedProps),
|
|
26223
26225
|
value: value()
|
|
@@ -26225,7 +26227,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26225
26227
|
append($$anchor, input);
|
|
26226
26228
|
};
|
|
26227
26229
|
var alternate = ($$anchor) => {
|
|
26228
|
-
var input_1 = root$
|
|
26230
|
+
var input_1 = root$28();
|
|
26229
26231
|
attribute_effect(input_1, () => ({ ...get$2(mergedProps) }), void 0, void 0, void 0, void 0, true);
|
|
26230
26232
|
bind_value(input_1, value);
|
|
26231
26233
|
append($$anchor, input_1);
|
|
@@ -28538,7 +28540,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28538
28540
|
"tooltip",
|
|
28539
28541
|
"contentPointerEvents"
|
|
28540
28542
|
]);
|
|
28541
|
-
var root$
|
|
28543
|
+
var root$27 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
28542
28544
|
function Popper_layer_inner($$anchor, $$props) {
|
|
28543
28545
|
push($$props, true);
|
|
28544
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);
|
|
@@ -28816,7 +28818,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28816
28818
|
const content = ($$anchor, $$arg0) => {
|
|
28817
28819
|
let floatingProps = () => $$arg0?.().props;
|
|
28818
28820
|
let wrapperProps = () => $$arg0?.().wrapperProps;
|
|
28819
|
-
var fragment_1 = root$
|
|
28821
|
+
var fragment_1 = root$27();
|
|
28820
28822
|
var node = first_child(fragment_1);
|
|
28821
28823
|
var consequent = ($$anchor) => {
|
|
28822
28824
|
Scroll_lock($$anchor, { get preventScroll() {
|
|
@@ -31180,7 +31182,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31180
31182
|
"children",
|
|
31181
31183
|
"child"
|
|
31182
31184
|
]);
|
|
31183
|
-
var root$
|
|
31185
|
+
var root$26 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
31184
31186
|
var root_1$10 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
31185
31187
|
function Date_field_input($$anchor, $$props) {
|
|
31186
31188
|
const uid = props_id();
|
|
@@ -31240,7 +31242,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31240
31242
|
append($$anchor, fragment_1);
|
|
31241
31243
|
};
|
|
31242
31244
|
var alternate = ($$anchor) => {
|
|
31243
|
-
var div = root$
|
|
31245
|
+
var div = root$26();
|
|
31244
31246
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
31245
31247
|
snippet(child(div), () => children() ?? noop$1, () => ({ segments: inputState.root.segmentContents }));
|
|
31246
31248
|
reset(div);
|
|
@@ -31273,7 +31275,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31273
31275
|
"children",
|
|
31274
31276
|
"child"
|
|
31275
31277
|
]);
|
|
31276
|
-
var root$
|
|
31278
|
+
var root$25 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
31277
31279
|
function Date_field_label($$anchor, $$props) {
|
|
31278
31280
|
const uid = props_id();
|
|
31279
31281
|
push($$props, true);
|
|
@@ -31321,7 +31323,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31321
31323
|
append($$anchor, fragment_1);
|
|
31322
31324
|
};
|
|
31323
31325
|
var alternate = ($$anchor) => {
|
|
31324
|
-
var div = root$
|
|
31326
|
+
var div = root$25();
|
|
31325
31327
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
31326
31328
|
snippet(child(div), () => children() ?? noop$1);
|
|
31327
31329
|
reset(div);
|
|
@@ -31353,7 +31355,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31353
31355
|
"child",
|
|
31354
31356
|
"part"
|
|
31355
31357
|
]);
|
|
31356
|
-
var root$
|
|
31358
|
+
var root$24 = /* @__PURE__ */ from_html(`<span><!></span>`);
|
|
31357
31359
|
function Date_field_segment($$anchor, $$props) {
|
|
31358
31360
|
const uid = props_id();
|
|
31359
31361
|
push($$props, true);
|
|
@@ -31408,7 +31410,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31408
31410
|
append($$anchor, fragment_1);
|
|
31409
31411
|
};
|
|
31410
31412
|
var alternate = ($$anchor) => {
|
|
31411
|
-
var span = root$
|
|
31413
|
+
var span = root$24();
|
|
31412
31414
|
attribute_effect(span, () => ({ ...get$2(mergedProps) }));
|
|
31413
31415
|
snippet(child(span), () => children() ?? noop$1);
|
|
31414
31416
|
reset(span);
|
|
@@ -32430,7 +32432,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32430
32432
|
"id",
|
|
32431
32433
|
"ref"
|
|
32432
32434
|
]);
|
|
32433
|
-
var root$
|
|
32435
|
+
var root$23 = /* @__PURE__ */ from_html(`<div><!></div>`);
|
|
32434
32436
|
function Date_picker_calendar($$anchor, $$props) {
|
|
32435
32437
|
const uid = props_id();
|
|
32436
32438
|
push($$props, true);
|
|
@@ -32510,7 +32512,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32510
32512
|
append($$anchor, fragment_1);
|
|
32511
32513
|
};
|
|
32512
32514
|
var alternate = ($$anchor) => {
|
|
32513
|
-
var div = root$
|
|
32515
|
+
var div = root$23();
|
|
32514
32516
|
attribute_effect(div, () => ({ ...get$2(mergedProps) }));
|
|
32515
32517
|
snippet(child(div), () => children() ?? noop$1, () => calendarState.snippetProps);
|
|
32516
32518
|
reset(div);
|
|
@@ -32550,7 +32552,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32550
32552
|
"customAnchor",
|
|
32551
32553
|
"style"
|
|
32552
32554
|
]);
|
|
32553
|
-
var root$
|
|
32555
|
+
var root$22 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
|
|
32554
32556
|
function Popover_content($$anchor, $$props) {
|
|
32555
32557
|
const uid = props_id();
|
|
32556
32558
|
push($$props, true);
|
|
@@ -32685,7 +32687,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32685
32687
|
append($$anchor, fragment_3);
|
|
32686
32688
|
};
|
|
32687
32689
|
var alternate = ($$anchor) => {
|
|
32688
|
-
var div = root$
|
|
32690
|
+
var div = root$22();
|
|
32689
32691
|
attribute_effect(div, () => ({ ...wrapperProps() }));
|
|
32690
32692
|
var div_1 = child(div);
|
|
32691
32693
|
attribute_effect(div_1, () => ({ ...get$2(finalProps) }));
|
|
@@ -32755,7 +32757,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32755
32757
|
append($$anchor, fragment_6);
|
|
32756
32758
|
};
|
|
32757
32759
|
var alternate_1 = ($$anchor) => {
|
|
32758
|
-
var div_2 = root$
|
|
32760
|
+
var div_2 = root$22();
|
|
32759
32761
|
attribute_effect(div_2, () => ({ ...wrapperProps() }));
|
|
32760
32762
|
var div_3 = child(div_2);
|
|
32761
32763
|
attribute_effect(div_3, () => ({ ...get$2(finalProps) }));
|
|
@@ -32886,7 +32888,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32886
32888
|
"openDelay",
|
|
32887
32889
|
"closeDelay"
|
|
32888
32890
|
]);
|
|
32889
|
-
var root$
|
|
32891
|
+
var root$21 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
32890
32892
|
function Popover_trigger($$anchor, $$props) {
|
|
32891
32893
|
const uid = props_id();
|
|
32892
32894
|
push($$props, true);
|
|
@@ -32981,7 +32983,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32981
32983
|
append($$anchor, fragment_2);
|
|
32982
32984
|
};
|
|
32983
32985
|
var alternate = ($$anchor) => {
|
|
32984
|
-
var button = root$
|
|
32986
|
+
var button = root$21();
|
|
32985
32987
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
32986
32988
|
snippet(child(button), () => children() ?? noop$1);
|
|
32987
32989
|
reset(button);
|
|
@@ -33061,7 +33063,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33061
33063
|
}, [], [], { mode: "open" });
|
|
33062
33064
|
//#endregion
|
|
33063
33065
|
//#region src/components/forms/ui/generic/DatePicker.svelte
|
|
33064
|
-
var root$
|
|
33066
|
+
var root$20 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
33065
33067
|
var root_1$9 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
33066
33068
|
function DatePicker_1($$anchor, $$props) {
|
|
33067
33069
|
push($$props, true);
|
|
@@ -33149,7 +33151,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33149
33151
|
{
|
|
33150
33152
|
const children = ($$anchor, $$arg0) => {
|
|
33151
33153
|
let segments = () => $$arg0?.().segments;
|
|
33152
|
-
var fragment_4 = root$
|
|
33154
|
+
var fragment_4 = root$20();
|
|
33153
33155
|
var node_5 = first_child(fragment_4);
|
|
33154
33156
|
each(node_5, 17, segments, index$1, ($$anchor, $$item) => {
|
|
33155
33157
|
let part = () => get$2($$item).part;
|
|
@@ -33200,7 +33202,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33200
33202
|
const children = ($$anchor, $$arg0) => {
|
|
33201
33203
|
let months = () => $$arg0?.().months;
|
|
33202
33204
|
let weekdays = () => $$arg0?.().weekdays;
|
|
33203
|
-
var fragment_8 = root$
|
|
33205
|
+
var fragment_8 = root$20();
|
|
33204
33206
|
var node_10 = first_child(fragment_8);
|
|
33205
33207
|
component(node_10, () => Calendar_header, ($$anchor, DatePicker_Header) => {
|
|
33206
33208
|
DatePicker_Header($$anchor, {
|
|
@@ -33227,7 +33229,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33227
33229
|
component(first_child(fragment_10), () => Calendar_grid, ($$anchor, DatePicker_Grid) => {
|
|
33228
33230
|
DatePicker_Grid($$anchor, {
|
|
33229
33231
|
children: ($$anchor, $$slotProps) => {
|
|
33230
|
-
var fragment_11 = root$
|
|
33232
|
+
var fragment_11 = root$20();
|
|
33231
33233
|
var node_16 = first_child(fragment_11);
|
|
33232
33234
|
component(node_16, () => Calendar_grid_head, ($$anchor, DatePicker_GridHead) => {
|
|
33233
33235
|
DatePicker_GridHead($$anchor, {
|
|
@@ -33355,7 +33357,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33355
33357
|
"inputClass",
|
|
33356
33358
|
"host"
|
|
33357
33359
|
]);
|
|
33358
|
-
var root$
|
|
33360
|
+
var root$19 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
|
|
33359
33361
|
var root_1$8 = /* @__PURE__ */ from_html(` <!>`, 1);
|
|
33360
33362
|
var root_2$7 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
|
|
33361
33363
|
var root_3$7 = /* @__PURE__ */ from_html(`<label><!></label> <textarea></textarea>`, 1);
|
|
@@ -33381,7 +33383,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33381
33383
|
var text = first_child(fragment);
|
|
33382
33384
|
var node = sibling(text);
|
|
33383
33385
|
var consequent = ($$anchor) => {
|
|
33384
|
-
append($$anchor, root$
|
|
33386
|
+
append($$anchor, root$19());
|
|
33385
33387
|
};
|
|
33386
33388
|
if_block(node, ($$render) => {
|
|
33387
33389
|
if (field().required) $$render(consequent);
|
|
@@ -33781,7 +33783,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33781
33783
|
}, [], [], { mode: "open" });
|
|
33782
33784
|
//#endregion
|
|
33783
33785
|
//#region src/components/forms/ui/generic/Field.svelte
|
|
33784
|
-
var root$
|
|
33786
|
+
var root$18 = /* @__PURE__ */ from_html(`<span> </span>`);
|
|
33785
33787
|
var root_1$7 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
33786
33788
|
var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors"></ul>`);
|
|
33787
33789
|
var root_3$6 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
@@ -33864,7 +33866,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33864
33866
|
});
|
|
33865
33867
|
var node_1 = sibling(node, 2);
|
|
33866
33868
|
var consequent = ($$anchor) => {
|
|
33867
|
-
var span = root$
|
|
33869
|
+
var span = root$18();
|
|
33868
33870
|
var text = child(span, true);
|
|
33869
33871
|
reset(span);
|
|
33870
33872
|
template_effect(() => {
|
|
@@ -33920,7 +33922,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33920
33922
|
}, [], ["getField"]));
|
|
33921
33923
|
//#endregion
|
|
33922
33924
|
//#region src/components/forms/ui/generic/AllFields.svelte
|
|
33923
|
-
var root$
|
|
33925
|
+
var root$17 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
|
|
33924
33926
|
function AllFields($$anchor, $$props) {
|
|
33925
33927
|
push($$props, true);
|
|
33926
33928
|
let _details = getDetails$1($$props.$$host);
|
|
@@ -33928,7 +33930,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33928
33930
|
let allFields = /* @__PURE__ */ user_derived(() => get$2(details) ? Forms.getFormFields(get$2(details)?.formId) : []);
|
|
33929
33931
|
var fragment = comment();
|
|
33930
33932
|
each(first_child(fragment), 17, () => get$2(allFields), (field) => field.key, ($$anchor, field) => {
|
|
33931
|
-
var go_field = root$
|
|
33933
|
+
var go_field = root$17();
|
|
33932
33934
|
template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
|
|
33933
33935
|
template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
|
|
33934
33936
|
append($$anchor, go_field);
|
|
@@ -33939,7 +33941,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33939
33941
|
customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], []));
|
|
33940
33942
|
//#endregion
|
|
33941
33943
|
//#region src/components/forms/ui/generic/ErrorsFeedback.svelte
|
|
33942
|
-
var root$
|
|
33944
|
+
var root$16 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
|
|
33943
33945
|
var root_1$6 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
33944
33946
|
var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
|
|
33945
33947
|
var root_3$5 = /* @__PURE__ */ from_html(`<div><p aria-live="assertive" class="sr-only"><!></p> <!> <!></div>`);
|
|
@@ -33977,7 +33979,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33977
33979
|
reset(p);
|
|
33978
33980
|
var node_1 = sibling(p, 2);
|
|
33979
33981
|
var consequent_1 = ($$anchor) => {
|
|
33980
|
-
var p_1 = root$
|
|
33982
|
+
var p_1 = root$16();
|
|
33981
33983
|
var text_1 = child(p_1, true);
|
|
33982
33984
|
reset(p_1);
|
|
33983
33985
|
template_effect(($0) => set_text(text_1, $0), [() => shop.t("forms.errorSummary", { count: get$2(errorsRealtime) })]);
|
|
@@ -34010,9 +34012,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34010
34012
|
customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], []));
|
|
34011
34013
|
//#endregion
|
|
34012
34014
|
//#region src/components/forms/ui/generic/FormFeedback.svelte
|
|
34013
|
-
var root$
|
|
34015
|
+
var root$15 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
|
|
34014
34016
|
function FormFeedback($$anchor, $$props) {
|
|
34015
|
-
var div = root$
|
|
34017
|
+
var div = root$15();
|
|
34016
34018
|
slot(child(div), $$props, "default", {}, null);
|
|
34017
34019
|
reset(div);
|
|
34018
34020
|
append($$anchor, div);
|
|
@@ -34046,7 +34048,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34046
34048
|
} }, [], []));
|
|
34047
34049
|
//#endregion
|
|
34048
34050
|
//#region src/components/forms/ui/generic/SuccessFeedback.svelte
|
|
34049
|
-
var root$
|
|
34051
|
+
var root$14 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
|
|
34050
34052
|
function SuccessFeedback($$anchor, $$props) {
|
|
34051
34053
|
push($$props, true);
|
|
34052
34054
|
const _details = getDetails$1($$props.$$host);
|
|
@@ -34054,7 +34056,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34054
34056
|
var fragment = comment();
|
|
34055
34057
|
var node = first_child(fragment);
|
|
34056
34058
|
var consequent = ($$anchor) => {
|
|
34057
|
-
var div = root$
|
|
34059
|
+
var div = root$14();
|
|
34058
34060
|
let classes;
|
|
34059
34061
|
var text = child(div, true);
|
|
34060
34062
|
reset(div);
|
|
@@ -36541,8 +36543,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36541
36543
|
if (!this.order?.is_valid) return;
|
|
36542
36544
|
switch (item.type) {
|
|
36543
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}`;
|
|
36544
36547
|
case "Ticket":
|
|
36545
|
-
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);
|
|
36546
36549
|
else return shop.urls?.annualTicketPersonalizationList(this.token);
|
|
36547
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}`;
|
|
36548
36551
|
break;
|
|
@@ -36589,8 +36592,109 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36589
36592
|
type: "String"
|
|
36590
36593
|
} }, [], ["orderDetails"]));
|
|
36591
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
|
|
36592
36696
|
//#region src/components/order/components/subcomponents/breakdown/items/Event.svelte
|
|
36593
|
-
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);
|
|
36594
36698
|
var root_1$5 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
|
|
36595
36699
|
var root_2$4 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
36596
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>`);
|
|
@@ -36622,7 +36726,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36622
36726
|
reset(span);
|
|
36623
36727
|
var node = sibling(span, 2);
|
|
36624
36728
|
var consequent = ($$anchor) => {
|
|
36625
|
-
var fragment = root$
|
|
36729
|
+
var fragment = root$11();
|
|
36626
36730
|
var span_1 = first_child(fragment);
|
|
36627
36731
|
var text_1 = child(span_1, true);
|
|
36628
36732
|
reset(span_1);
|
|
@@ -36691,6 +36795,48 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
36691
36795
|
orderDetails: {}
|
|
36692
36796
|
}, [], [], { mode: "open" });
|
|
36693
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
|
|
36694
36840
|
//#region src/components/order/components/subcomponents/breakdown/items/TicketSale.svelte
|
|
36695
36841
|
var root$9 = /* @__PURE__ */ from_html(`<span class="go-order-item-subtitle" data-testid="order-item-subtitle"> </span>`);
|
|
36696
36842
|
var root_1$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities" data-testid="order-sub-ticket"> </span>`, 1);
|
|
@@ -37022,7 +37168,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37022
37168
|
create_custom_element(Tour, { item: {} }, [], [], { mode: "open" });
|
|
37023
37169
|
//#endregion
|
|
37024
37170
|
//#region src/components/order/components/subcomponents/breakdown/Breakdown.svelte
|
|
37025
|
-
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>`);
|
|
37026
37172
|
function Breakdown($$anchor, $$props) {
|
|
37027
37173
|
push($$props, true);
|
|
37028
37174
|
const _orderDetails = getDetails($$props.$$host);
|
|
@@ -37030,7 +37176,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37030
37176
|
let order = /* @__PURE__ */ user_derived(() => get$2(orderDetails)?.order);
|
|
37031
37177
|
var fragment = comment();
|
|
37032
37178
|
var node = first_child(fragment);
|
|
37033
|
-
var
|
|
37179
|
+
var consequent_5 = ($$anchor) => {
|
|
37034
37180
|
var ol = root$7();
|
|
37035
37181
|
var li = child(ol);
|
|
37036
37182
|
var ul = child(li);
|
|
@@ -37075,14 +37221,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37075
37221
|
return get$2(item);
|
|
37076
37222
|
} });
|
|
37077
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
|
+
};
|
|
37078
37239
|
if_block(node_2, ($$render) => {
|
|
37079
37240
|
if (get$2(item).type === "Ticket") $$render(consequent);
|
|
37080
37241
|
else if (get$2(item).type === "Event") $$render(consequent_1, 1);
|
|
37081
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);
|
|
37082
37245
|
});
|
|
37083
37246
|
append($$anchor, fragment_1);
|
|
37084
37247
|
});
|
|
37085
|
-
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);
|
|
37086
37255
|
var ul_1 = child(li_4);
|
|
37087
37256
|
var li_5 = sibling(child(ul_1), 4);
|
|
37088
37257
|
var text_3 = child(li_5, true);
|
|
@@ -37105,7 +37274,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37105
37274
|
append($$anchor, ol);
|
|
37106
37275
|
};
|
|
37107
37276
|
if_block(node, ($$render) => {
|
|
37108
|
-
if (get$2(order) && get$2(orderDetails)) $$render(
|
|
37277
|
+
if (get$2(order) && get$2(orderDetails)) $$render(consequent_5);
|
|
37109
37278
|
});
|
|
37110
37279
|
append($$anchor, fragment);
|
|
37111
37280
|
pop();
|